balkan-orgchart-react-community 9.1.86 → 9.1.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.umd.js CHANGED
@@ -1,4 +1,192 @@
1
- (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MyReactLib={},e.React,e.jsxRuntime))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:r(s(e)),l(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)))(t);var u=function(e,t){var n=this;Object.defineProperty(this,`element`,{get(){return e?e.querySelector(`[data-boc-content]`):null},set(e){n.mainElement=e}}),Object.defineProperty(this,`mainElement`,{get(){return e},set(t){e=t,e&&(e.innerHTML=`
1
+ (function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react`),require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.MyReactLib={},e.React,e.jsxRuntime))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e};t=((e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e)))(t);var d=l((e=>{var t=require(`react`),n=require(`react-dom`);function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=Symbol.for(`react.transitional.element`),a=Symbol.for(`react.portal`),o=Symbol.for(`react.fragment`),s=Symbol.for(`react.strict_mode`),c=Symbol.for(`react.profiler`),l=Symbol.for(`react.consumer`),u=Symbol.for(`react.context`),d=Symbol.for(`react.forward_ref`),f=Symbol.for(`react.suspense`),p=Symbol.for(`react.suspense_list`),m=Symbol.for(`react.memo`),h=Symbol.for(`react.lazy`),g=Symbol.for(`react.scope`),_=Symbol.for(`react.activity`),v=Symbol.for(`react.legacy_hidden`),y=Symbol.for(`react.memo_cache_sentinel`),b=Symbol.for(`react.view_transition`),x=Symbol.iterator;function S(e){return typeof e!=`object`||!e?null:(e=x&&e[x]||e[`@@iterator`],typeof e==`function`?e:null)}var C=Array.isArray;function w(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var T=Object.assign,E=Object.prototype.hasOwnProperty,D=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),O={},k={};function A(e){return E.call(k,e)?!0:E.call(O,e)?!1:D.test(e)?k[e]=!0:(O[e]=!0,!1)}var j=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),M=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),N=/["'&<>]/;function P(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=N.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`&quot;`;break;case 38:t=`&amp;`;break;case 39:t=`&#x27;`;break;case 60:t=`&lt;`;break;case 62:t=`&gt;`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var F=/([A-Z])/g,I=/^ms-/,L=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function R(e){return L.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},B=ee.d;ee.d={f:B.f,r:B.r,D:Ze,C:Qe,L:$e,m:et,X:nt,S:tt,M:rt};var V=[],ne=null,re=/(<\/|<)(s)(cript)/gi;function ie(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function H(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function U(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ae(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return U(2,null,r|1,null);case`select`:return U(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return U(4,null,r,null);case`picture`:return U(2,null,r|2,null);case`math`:return U(5,null,r,null);case`foreignObject`:return U(2,null,r,null);case`table`:return U(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return U(7,null,r,null);case`colgroup`:return U(9,null,r,null);case`tr`:return U(8,null,r,null);case`head`:if(2>e.insertionMode)return U(3,null,r,null);break;case`html`:if(e.insertionMode===0)return U(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?U(2,null,r,null):e.tagScope===r?e:U(e.insertionMode,e.selectedValue,r,null)}function W(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function oe(e,t){return t.tagScope&32&&(e.instructions|=128),U(t.insertionMode,t.selectedValue,t.tagScope|12,W(t.viewTransition))}function G(e,t){e=W(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),U(t.insertionMode,t.selectedValue,n,e)}var se=new Map;function ce(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=P(i);a=P((``+a).trim())}else o=se.get(i),o===void 0&&(o=P(i.replace(F,`-$1`).toLowerCase().replace(I,`-ms-`)),se.set(i,o)),a=typeof a==`number`?a===0||j.has(i)?``+a:a+`px`:P((``+a).trim());n?(n=!1,e.push(` style="`,o,`:`,a)):e.push(`;`,o,`:`,a)}}n||e.push(`"`)}function le(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`)}function ue(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(` `,t,`="`,P(n),`"`)}var de=P(`javascript:throw new Error('React form unexpectedly submitted.')`);function fe(e,t){this.push(`<input type="hidden"`),pe(e),ue(this,`name`,t),ue(this,`value`,e),this.push(`/>`)}function pe(e){if(typeof e!=`string`)throw Error(r(480))}function me(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(pe),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function he(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=me(t,r);l===null?(e.push(` `,`formAction`,`="`,de,`"`),o=a=i=r=s=null,ve(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&K(e,`name`,s),r!=null&&K(e,`formAction`,r),i!=null&&K(e,`formEncType`,i),a!=null&&K(e,`formMethod`,a),o!=null&&K(e,`formTarget`,o),c}function K(e,t,n){switch(t){case`className`:ue(e,`class`,n);break;case`tabIndex`:ue(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ue(e,t,n);break;case`style`:ce(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=R(``+n),e.push(` `,t,`="`,P(n),`"`);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:le(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=R(``+n),e.push(` `,`xlink:href`,`="`,P(n),`"`);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,P(n),`"`);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`=""`);break;case`capture`:case`download`:!0===n?e.push(` `,t,`=""`):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(` `,t,`="`,P(n),`"`);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(` `,t,`="`,P(n),`"`);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(` `,t,`="`,P(n),`"`);break;case`xlinkActuate`:ue(e,`xlink:actuate`,n);break;case`xlinkArcrole`:ue(e,`xlink:arcrole`,n);break;case`xlinkRole`:ue(e,`xlink:role`,n);break;case`xlinkShow`:ue(e,`xlink:show`,n);break;case`xlinkTitle`:ue(e,`xlink:title`,n);break;case`xlinkType`:ue(e,`xlink:type`,n);break;case`xmlBase`:ue(e,`xml:base`,n);break;case`xmlLang`:ue(e,`xml:lang`,n);break;case`xmlSpace`:ue(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=M.get(t)||t,A(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(` `,t,`="`,P(n),`"`)}}}function ge(e,t,n){if(t!=null){if(n!=null)throw Error(r(60));if(typeof t!=`object`||!(`__html`in t))throw Error(r(61));t=t.__html,t!=null&&e.push(``+t)}}function _e(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}function ve(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Je(r,e),r.push(`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)):r.unshift(t.startInlineScript,`>`,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,`<\/script>`)}}function ye(e,t){for(var n in e.push(De(`link`)),t)if(E.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:K(e,n,i)}}return e.push(`/>`),null}var be=/(<\/|<)(s)(tyle)/gi;function xe(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function Se(e,t,n){for(var i in e.push(De(n)),t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:K(e,i,a)}}return e.push(`/>`),null}function Ce(e,t){e.push(De(`title`));var n=null,r=null,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(`>`),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(P(``+t)),ge(e,r,n),e.push(Ae(`title`)),null}function q(e,t){e.push(De(`script`));var n=null,r=null,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(`>`),ge(e,r,n),typeof n==`string`&&e.push((``+n).replace(re,ie)),e.push(Ae(`script`)),null}function J(e,t,n){e.push(De(n));var r=n=null,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(`>`),ge(e,r,n),n}function we(e,t,n){e.push(De(n));var r=n=null,i;for(i in t)if(E.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:K(e,i,a)}}return e.push(`>`),ge(e,r,n),typeof n==`string`?(e.push(P(n)),null):n}var Te=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee=new Map;function De(e){var t=Ee.get(e);if(t===void 0){if(!Te.test(e))throw Error(r(65,e));t=`<`+e,Ee.set(e,t)}return t}function Oe(e,t,n,i,a,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(De(`a`));var u=null,d=null,f;for(f in n)if(E.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?ue(e,`href`,``):K(e,f,p);break;default:K(e,f,p)}}if(e.push(`>`),ge(e,d,u),typeof u==`string`){e.push(P(u));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:e.push(De(`select`));var h=null,g=null,_;for(_ in n)if(E.call(n,_)){var v=n[_];if(v!=null)switch(_){case`children`:h=v;break;case`dangerouslySetInnerHTML`:g=v;break;case`defaultValue`:case`value`:break;default:K(e,_,v)}}return e.push(`>`),ge(e,g,h),h;case`option`:var y=c.selectedValue;e.push(De(`option`));var b=null,x=null,S=null,w=null,D;for(D in n)if(E.call(n,D)){var O=n[D];if(O!=null)switch(D){case`children`:b=O;break;case`selected`:S=O;break;case`dangerouslySetInnerHTML`:w=O;break;case`value`:x=O;default:K(e,D,O)}}if(y!=null){var k=x===null?_e(b):``+x;if(C(y)){for(var j=0;j<y.length;j++)if(``+y[j]===k){e.push(` selected=""`);break}}else ``+y===k&&e.push(` selected=""`)}else S&&e.push(` selected=""`);return e.push(`>`),ge(e,w,b),b;case`textarea`:e.push(De(`textarea`));var M=null,N=null,F=null,I;for(I in n)if(E.call(n,I)){var L=n[I];if(L!=null)switch(I){case`children`:F=L;break;case`value`:M=L;break;case`defaultValue`:N=L;break;case`dangerouslySetInnerHTML`:throw Error(r(91));default:K(e,I,L)}}if(M===null&&N!==null&&(M=N),e.push(`>`),F!=null){if(M!=null)throw Error(r(92));if(C(F)){if(1<F.length)throw Error(r(93));M=``+F[0]}M=``+F}return typeof M==`string`&&M[0]===`
2
+ `&&e.push(`
3
+ `),M!==null&&e.push(P(``+M)),null;case`input`:e.push(De(`input`));var z=null,ee=null,te=null,B=null,ne=null,re=null,ie=null,H=null,U=null,ae;for(ae in n)if(E.call(n,ae)){var W=n[ae];if(W!=null)switch(ae){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`input`));case`name`:z=W;break;case`formAction`:ee=W;break;case`formEncType`:te=W;break;case`formMethod`:B=W;break;case`formTarget`:ne=W;break;case`defaultChecked`:U=W;break;case`defaultValue`:ie=W;break;case`checked`:H=W;break;case`value`:re=W;break;default:K(e,ae,W)}}var oe=he(e,i,a,ee,te,B,ne,z);return H===null?U!==null&&le(e,`checked`,U):le(e,`checked`,H),re===null?ie!==null&&K(e,`value`,ie):K(e,`value`,re),e.push(`/>`),oe?.forEach(fe,e),null;case`button`:e.push(De(`button`));var G=null,se=null,pe=null,Te=null,Ee=null,Oe=null,ke=null,je;for(je in n)if(E.call(n,je)){var Me=n[je];if(Me!=null)switch(je){case`children`:G=Me;break;case`dangerouslySetInnerHTML`:se=Me;break;case`name`:pe=Me;break;case`formAction`:Te=Me;break;case`formEncType`:Ee=Me;break;case`formMethod`:Oe=Me;break;case`formTarget`:ke=Me;break;default:K(e,je,Me)}}var Ne=he(e,i,a,Te,Ee,Oe,ke,pe);if(e.push(`>`),Ne?.forEach(fe,e),ge(e,se,G),typeof G==`string`){e.push(P(G));var Pe=null}else Pe=G;return Pe;case`form`:e.push(De(`form`));var Fe=null,Ie=null,Le=null,Re=null,ze=null,Be=null,Ve;for(Ve in n)if(E.call(n,Ve)){var He=n[Ve];if(He!=null)switch(Ve){case`children`:Fe=He;break;case`dangerouslySetInnerHTML`:Ie=He;break;case`action`:Le=He;break;case`encType`:Re=He;break;case`method`:ze=He;break;case`target`:Be=He;break;default:K(e,Ve,He)}}var Y=null,Ue=null;if(typeof Le==`function`){var We=me(i,Le);We===null?(e.push(` `,`action`,`="`,de,`"`),Be=ze=Re=Le=null,ve(i,a)):(Le=We.action||``,Re=We.encType,ze=We.method,Be=We.target,Y=We.data,Ue=We.name)}if(Le!=null&&K(e,`action`,Le),Re!=null&&K(e,`encType`,Re),ze!=null&&K(e,`method`,ze),Be!=null&&K(e,`target`,Be),e.push(`>`),Ue!==null&&(e.push(`<input type="hidden"`),ue(e,`name`,Ue),e.push(`/>`),Y?.forEach(fe,e)),ge(e,Ie,Fe),typeof Fe==`string`){e.push(P(Fe));var X=null}else X=Fe;return X;case`menuitem`:for(var Ge in e.push(De(`menuitem`)),n)if(E.call(n,Ge)){var Z=n[Ge];if(Z!=null)switch(Ge){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(400));default:K(e,Ge,Z)}}return e.push(`>`),null;case`object`:e.push(De(`object`));var Ke=null,qe=null,Je;for(Je in n)if(E.call(n,Je)){var Ye=n[Je];if(Ye!=null)switch(Je){case`children`:Ke=Ye;break;case`dangerouslySetInnerHTML`:qe=Ye;break;case`data`:var Xe=R(``+Ye);if(Xe===``)break;e.push(` `,`data`,`="`,P(Xe),`"`);break;default:K(e,Je,Ye)}}if(e.push(`>`),ge(e,qe,Ke),typeof Ke==`string`){e.push(P(Ke));var Q=null}else Q=Ke;return Q;case`title`:var Ze=c.tagScope&1,Qe=c.tagScope&4;if(c.insertionMode===4||Ze||n.itemProp!=null)var $e=Ce(e,n);else Qe?$e=null:(Ce(a.hoistableChunks,n),$e=void 0);return $e;case`link`:var et=c.tagScope&1,tt=c.tagScope&4,nt=n.rel,rt=n.href,ot=n.precedence;if(c.insertionMode===4||et||n.itemProp!=null||typeof nt!=`string`||typeof rt!=`string`||rt===``){ye(e,n);var st=null}else if(n.rel===`stylesheet`)if(typeof ot!=`string`||n.disabled!=null||n.onLoad||n.onError)st=ye(e,n);else{var ct=a.styles.get(ot),lt=i.styleResources.hasOwnProperty(rt)?i.styleResources[rt]:void 0;if(lt!==null){i.styleResources[rt]=null,ct||(ct={precedence:P(ot),rules:[],hrefs:[],sheets:new Map},a.styles.set(ot,ct));var ut={state:0,props:T({},n,{"data-precedence":n.precedence,precedence:null})};if(lt){lt.length===2&&it(ut.props,lt);var dt=a.preloads.stylesheets.get(rt);dt&&0<dt.length?dt.length=0:ut.state=1}ct.sheets.set(rt,ut),s&&s.stylesheets.add(ut)}else if(ct){var ft=ct.sheets.get(rt);ft&&s&&s.stylesheets.add(ft)}l&&e.push(`<!-- -->`),st=null}else n.onLoad||n.onError?st=ye(e,n):(l&&e.push(`<!-- -->`),st=tt?null:ye(a.hoistableChunks,n));return st;case`script`:var pt=c.tagScope&1,mt=n.async;if(typeof n.src!=`string`||!n.src||!mt||typeof mt==`function`||typeof mt==`symbol`||n.onLoad||n.onError||c.insertionMode===4||pt||n.itemProp!=null)var ht=q(e,n);else{var gt=n.src;if(n.type===`module`)var _t=i.moduleScriptResources,vt=a.preloads.moduleScripts;else _t=i.scriptResources,vt=a.preloads.scripts;var yt=_t.hasOwnProperty(gt)?_t[gt]:void 0;if(yt!==null){_t[gt]=null;var bt=n;if(yt){yt.length===2&&(bt=T({},n),it(bt,yt));var xt=vt.get(gt);xt&&(xt.length=0)}var St=[];a.scripts.add(St),q(St,bt)}l&&e.push(`<!-- -->`),ht=null}return ht;case`style`:var Ct=c.tagScope&1,wt=n.precedence,Tt=n.href,Et=n.nonce;if(c.insertionMode===4||Ct||n.itemProp!=null||typeof wt!=`string`||typeof Tt!=`string`||Tt===``){e.push(De(`style`));var Dt=null,Ot=null,kt;for(kt in n)if(E.call(n,kt)){var At=n[kt];if(At!=null)switch(kt){case`children`:Dt=At;break;case`dangerouslySetInnerHTML`:Ot=At;break;default:K(e,kt,At)}}e.push(`>`);var jt=Array.isArray(Dt)?2>Dt.length?Dt[0]:null:Dt;typeof jt!=`function`&&typeof jt!=`symbol`&&jt!=null&&e.push((``+jt).replace(be,xe)),ge(e,Ot,Dt),e.push(Ae(`style`));var Mt=null}else{var Nt=a.styles.get(wt);if((i.styleResources.hasOwnProperty(Tt)?i.styleResources[Tt]:void 0)!==null){i.styleResources[Tt]=null,Nt||(Nt={precedence:P(wt),rules:[],hrefs:[],sheets:new Map},a.styles.set(wt,Nt));var Pt=a.nonce.style;if(!Pt||Pt===Et){Nt.hrefs.push(P(Tt));var Ft=Nt.rules,It=null,Lt=null,Rt;for(Rt in n)if(E.call(n,Rt)){var zt=n[Rt];if(zt!=null)switch(Rt){case`children`:It=zt;break;case`dangerouslySetInnerHTML`:Lt=zt}}var Bt=Array.isArray(It)?2>It.length?It[0]:null:It;typeof Bt!=`function`&&typeof Bt!=`symbol`&&Bt!=null&&Ft.push((``+Bt).replace(be,xe)),ge(Ft,Lt,It)}}Nt&&s&&s.styles.add(Nt),l&&e.push(`<!-- -->`),Mt=void 0}return Mt;case`meta`:var Vt=c.tagScope&1,Ht=c.tagScope&4;if(c.insertionMode===4||Vt||n.itemProp!=null)var Ut=Se(e,n,`meta`);else l&&e.push(`<!-- -->`),Ut=Ht?null:typeof n.charSet==`string`?Se(a.charsetChunks,n,`meta`):n.name===`viewport`?Se(a.viewportChunks,n,`meta`):Se(a.hoistableChunks,n,`meta`);return Ut;case`listing`:case`pre`:e.push(De(t));var Wt=null,Gt=null,$;for($ in n)if(E.call(n,$)){var Kt=n[$];if(Kt!=null)switch($){case`children`:Wt=Kt;break;case`dangerouslySetInnerHTML`:Gt=Kt;break;default:K(e,$,Kt)}}if(e.push(`>`),Gt!=null){if(Wt!=null)throw Error(r(60));if(typeof Gt!=`object`||!(`__html`in Gt))throw Error(r(61));var qt=Gt.__html;qt!=null&&(typeof qt==`string`&&0<qt.length&&qt[0]===`
4
+ `?e.push(`
5
+ `,qt):e.push(``+qt))}return typeof Wt==`string`&&Wt[0]===`
6
+ `&&e.push(`
7
+ `),Wt;case`img`:var Jt=c.tagScope&3,Yt=n.src,Xt=n.srcSet;if(!(n.loading===`lazy`||!Yt&&!Xt||typeof Yt!=`string`&&Yt!=null||typeof Xt!=`string`&&Xt!=null||n.fetchPriority===`low`||Jt)&&(typeof Yt!=`string`||Yt[4]!==`:`||Yt[0]!==`d`&&Yt[0]!==`D`||Yt[1]!==`a`&&Yt[1]!==`A`||Yt[2]!==`t`&&Yt[2]!==`T`||Yt[3]!==`a`&&Yt[3]!==`A`)&&(typeof Xt!=`string`||Xt[4]!==`:`||Xt[0]!==`d`&&Xt[0]!==`D`||Xt[1]!==`a`&&Xt[1]!==`A`||Xt[2]!==`t`&&Xt[2]!==`T`||Xt[3]!==`a`&&Xt[3]!==`A`)){s!==null&&c.tagScope&64&&(s.suspenseyImages=!0);var Zt=typeof n.sizes==`string`?n.sizes:void 0,Qt=Xt?Xt+`
8
+ `+(Zt||``):Yt,$t=a.preloads.images,en=$t.get(Qt);if(en)(n.fetchPriority===`high`||10>a.highImagePreloads.size)&&($t.delete(Qt),a.highImagePreloads.add(en));else if(!i.imageResources.hasOwnProperty(Qt)){i.imageResources[Qt]=V;var tn=n.crossOrigin,nn=typeof tn==`string`?tn===`use-credentials`?tn:``:void 0,rn=a.headers,an;rn&&0<rn.remainingCapacity&&typeof n.srcSet!=`string`&&(n.fetchPriority===`high`||500>rn.highImagePreloads.length)&&(an=at(Yt,`image`,{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:nn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(rn.remainingCapacity-=an.length+2))?(a.resets.image[Qt]=V,rn.highImagePreloads&&(rn.highImagePreloads+=`, `),rn.highImagePreloads+=an):(en=[],ye(en,{rel:`preload`,as:`image`,href:Xt?void 0:Yt,imageSrcSet:Xt,imageSizes:Zt,crossOrigin:nn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority===`high`||10>a.highImagePreloads.size?a.highImagePreloads.add(en):(a.bulkPreloads.add(en),$t.set(Qt,en)))}}return Se(e,n,`img`);case`base`:case`area`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`param`:case`source`:case`track`:case`wbr`:return Se(e,n,t);case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:break;case`head`:if(2>c.insertionMode){var on=o||a.preamble;if(on.headChunks)throw Error(r(545,"`<head>`"));o!==null&&e.push(`<!--head-->`),on.headChunks=[];var sn=J(on.headChunks,n,`head`)}else sn=we(e,n,`head`);return sn;case`body`:if(2>c.insertionMode){var cn=o||a.preamble;if(cn.bodyChunks)throw Error(r(545,"`<body>`"));o!==null&&e.push(`<!--body-->`),cn.bodyChunks=[];var ln=J(cn.bodyChunks,n,`body`)}else ln=we(e,n,`body`);return ln;case`html`:if(c.insertionMode===0){var un=o||a.preamble;if(un.htmlChunks)throw Error(r(545,"`<html>`"));o!==null&&e.push(`<!--html-->`),un.htmlChunks=[``];var dn=J(un.htmlChunks,n,`html`)}else dn=we(e,n,`html`);return dn;default:if(t.indexOf(`-`)!==-1){e.push(De(t));var fn=null,pn=null,mn;for(mn in n)if(E.call(n,mn)){var hn=n[mn];if(hn!=null){var gn=mn;switch(mn){case`children`:fn=hn;break;case`dangerouslySetInnerHTML`:pn=hn;break;case`style`:ce(e,hn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`className`:gn=`class`;default:if(A(mn)&&typeof hn!=`function`&&typeof hn!=`symbol`&&!1!==hn){if(!0===hn)hn=``;else if(typeof hn==`object`)continue;e.push(` `,gn,`="`,P(hn),`"`)}}}}return e.push(`>`),ge(e,pn,fn),fn}}return we(e,n,t)}var ke=new Map;function Ae(e){var t=ke.get(e);return t===void 0&&(t=`</`+e+`>`,ke.set(e,t)),t}function je(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function Me(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return n<t.length?(n=t[n],t.length=0,e.push(n)):!0}function Ne(e,t,n){if(e.push(`<!--$?--><template id="`),n===null)throw Error(r(395));return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push(`"></template>`)}function Pe(e,t,n,i){switch(n.insertionMode){case 0:case 1:case 3:case 2:return e.push(`<div hidden id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 4:return e.push(`<svg aria-hidden="true" style="display:none" id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 5:return e.push(`<math aria-hidden="true" style="display:none" id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 6:return e.push(`<table hidden id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 7:return e.push(`<table hidden><tbody id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 8:return e.push(`<table hidden><tr id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);case 9:return e.push(`<table hidden><colgroup id="`),e.push(t.segmentPrefix),t=i.toString(16),e.push(t),e.push(`">`);default:throw Error(r(397))}}function Fe(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return e.push(`</div>`);case 4:return e.push(`</svg>`);case 5:return e.push(`</math>`);case 6:return e.push(`</table>`);case 7:return e.push(`</tbody></table>`);case 8:return e.push(`</tr></table>`);case 9:return e.push(`</colgroup></table>`);default:throw Error(r(397))}}var Ie=/[<\u2028\u2029]/g;function Le(e){return JSON.stringify(e).replace(Ie,function(e){switch(e){case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}var Re=/[&><\u2028\u2029]/g;function ze(e){return JSON.stringify(e).replace(Re,function(e){switch(e){case`&`:return`\\u0026`;case`>`:return`\\u003e`;case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}var Be=!1,Ve=!0;function He(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(this.push(ne.startInlineStyle),this.push(` media="not all" data-precedence="`),this.push(e.precedence),this.push(`" data-href="`);r<n.length-1;r++)this.push(n[r]),this.push(` `);for(this.push(n[r]),this.push(`">`),r=0;r<t.length;r++)this.push(t[r]);Ve=this.push(`</style>`),Be=!0,t.length=0,n.length=0}}function Y(e){return e.state===2?!1:Be=!0}function Ue(e,t,n){return Be=!1,Ve=!0,ne=n,t.styles.forEach(He,e),ne=null,t.stylesheets.forEach(Y),Be&&(n.stylesToHoist=!0),Ve}function We(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}var X=[];function Ge(e){ye(X,e.props);for(var t=0;t<X.length;t++)this.push(X[t]);X.length=0,e.state=2}function Z(e){var t=0<e.sheets.size;e.sheets.forEach(Ge,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(ne.startInlineStyle),this.push(` data-precedence="`),this.push(e.precedence),e=0,r.length){for(this.push(`" data-href="`);e<r.length-1;e++)this.push(r[e]),this.push(` `);this.push(r[e])}for(this.push(`">`),e=0;e<n.length;e++)this.push(n[e]);this.push(`</style>`),n.length=0,r.length=0}}function Ke(e){if(e.state===0){e.state=1;var t=e.props;for(ye(X,{rel:`preload`,as:`style`,href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<X.length;e++)this.push(X[e]);X.length=0}}function qe(e){e.sheets.forEach(Ke,this),e.sheets.clear()}function Je(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(` id="`,P(`_`+t.idPrefix+`R_`),`"`))}function Ye(e,t){e.push(`[`);var n=`[`;t.stylesheets.forEach(function(t){if(t.state!==2)if(t.state===3)e.push(n),t=ze(``+t.props.href),e.push(t),e.push(`]`),n=`,[`;else{e.push(n);var i=t.props[`data-precedence`],a=t.props,o=R(``+t.props.href);for(var s in o=ze(o),e.push(o),i=``+i,e.push(`,`),i=ze(i),e.push(i),a)if(E.call(a,s)&&(i=a[s],i!=null))switch(s){case`href`:case`rel`:case`precedence`:case`data-precedence`:break;case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:Xe(e,s,i)}e.push(`]`),n=`,[`,t.state=3}}),e.push(`]`)}function Xe(e,t,n){var r=t.toLowerCase();switch(typeof n){case`function`:case`symbol`:return}switch(t){case`innerHTML`:case`dangerouslySetInnerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`style`:case`ref`:return;case`className`:r=`class`,t=``+n;break;case`hidden`:if(!1===n)return;t=``;break;case`src`:case`href`:n=R(n),t=``+n;break;default:if(2<t.length&&(t[0]===`o`||t[0]===`O`)&&(t[1]===`n`||t[1]===`N`)||!A(t))return;t=``+n}e.push(`,`),r=ze(r),e.push(r),e.push(`,`),r=ze(t),e.push(r)}function Q(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Ze(e){var t=An||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=null,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+(``+e).replace(ot,st)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],ye(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}Tr(t)}}else B.D(e)}function Qe(e,t){var n=An||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=null,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+(``+e).replace(ot,st)+`>; rel=preconnect`,typeof t==`string`){var c=(``+t).replace(ct,lt);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=null,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],ye(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}Tr(n)}}else B.C(e,t)}function $e(e,t,n){var r=An||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
9
+ `+(s||``):e;if(i.imageResources.hasOwnProperty(l))return;i.imageResources[l]=V,i=a.headers;var u;i&&0<i.remainingCapacity&&typeof o!=`string`&&c===`high`&&(u=at(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.image[l]=V,i.highImagePreloads&&(i.highImagePreloads+=`, `),i.highImagePreloads+=u):(i=[],ye(i,T({rel:`preload`,href:o?void 0:e,as:t},n)),c===`high`?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(l,i)));break;case`style`:if(i.styleResources.hasOwnProperty(e))return;o=[],ye(o,T({rel:`preload`,href:e,as:t},n)),i.styleResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?V:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case`script`:if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),ye(o,T({rel:`preload`,href:e,as:t},n)),i.scriptResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?V:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if(o=i.unknownResources[t],o.hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;if(o[e]=V,(i=a.headers)&&0<i.remainingCapacity&&t===`font`&&(l=at(e,t,n),0<=(i.remainingCapacity-=l.length+2)))a.resets.font[e]=V,i.fontPreloads&&(i.fontPreloads+=`, `),i.fontPreloads+=l;else switch(i=[],e=T({rel:`preload`,href:e,as:t},n),ye(i,e),t){case`font`:a.fontPreloads.add(i);break;default:a.bulkPreloads.add(i)}}Tr(r)}}else B.L(e,t,n)}function et(e,t){var n=An||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&typeof t.as==`string`?t.as:`script`;switch(a){case`script`:if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!=`string`&&typeof t.integrity!=`string`?V:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a);break;default:if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=V}ye(a,T({rel:`modulepreload`,href:e},t)),i.bulkPreloads.add(a),Tr(n)}}else B.m(e,t)}function tt(e,t,n){var r=An||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t||=`default`;var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;s!==null&&(i.styleResources[e]=null,o||(o={precedence:P(t),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:0,props:T({rel:`stylesheet`,href:e,"data-precedence":t},n)},s&&(s.length===2&&it(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),o.sheets.set(e,t),Tr(r))}}else B.S(e,t,n)}function nt(e,t){var n=An||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;a!==null&&(r.scriptResources[e]=null,t=T({src:e,async:!0},t),a&&(a.length===2&&it(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),q(e,t),Tr(n))}}else B.X(e,t)}function rt(e,t){var n=An||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;a!==null&&(r.moduleScriptResources[e]=null,t=T({src:e,type:`module`,async:!0},t),a&&(a.length===2&&it(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),q(e,t),Tr(n))}}else B.M(e,t)}function it(e,t){e.crossOrigin??=t[0],e.integrity??=t[1]}function at(e,t,n){for(var r in e=(``+e).replace(ot,st),t=(``+t).replace(ct,lt),t=`<`+e+`>; rel=preload; as="`+t+`"`,n)E.call(n,r)&&(e=n[r],typeof e==`string`&&(t+=`; `+r.toLowerCase()+`="`+(``+e).replace(ct,lt)+`"`));return t}var ot=/[<>\r\n]/g;function st(e){switch(e){case`<`:return`%3C`;case`>`:return`%3E`;case`
10
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}var ct=/["';,\r\n]/g;function lt(e){switch(e){case`"`:return`%22`;case`'`:return`%27`;case`;`:return`%3B`;case`,`:return`%2C`;case`
11
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function ut(e){this.styles.add(e)}function dt(e){this.stylesheets.add(e)}function ft(e,t){t.styles.forEach(ut,e),t.stylesheets.forEach(dt,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function pt(e,t){var n=e.idPrefix,r=[],i=e.bootstrapScriptContent,a=e.bootstrapScripts,o=e.bootstrapModules;i!==void 0&&(r.push(`<script`),Je(r,e),r.push(`>`,(``+i).replace(re,ie),`<\/script>`)),i=n+`P:`;var s=n+`S:`;n+=`B:`;var c=new Set,l=new Set,u=new Set,d=new Map,f=new Set,p=new Set,m=new Set,h={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(a!==void 0)for(var g=0;g<a.length;g++){var _=a[g],v,y=void 0,b=void 0,x={rel:`preload`,as:`script`,fetchPriority:`low`,nonce:void 0};typeof _==`string`?x.href=v=_:(x.href=v=_.src,x.integrity=b=typeof _.integrity==`string`?_.integrity:void 0,x.crossOrigin=y=typeof _==`string`||_.crossOrigin==null?void 0:_.crossOrigin===`use-credentials`?`use-credentials`:``),_=e;var S=v;_.scriptResources[S]=null,_.moduleScriptResources[S]=null,_=[],ye(_,x),f.add(_),r.push(`<script src="`,P(v),`"`),typeof b==`string`&&r.push(` integrity="`,P(b),`"`),typeof y==`string`&&r.push(` crossorigin="`,P(y),`"`),Je(r,e),r.push(` async=""><\/script>`)}if(o!==void 0)for(a=0;a<o.length;a++)x=o[a],y=v=void 0,b={rel:`modulepreload`,fetchPriority:`low`,nonce:void 0},typeof x==`string`?b.href=g=x:(b.href=g=x.src,b.integrity=y=typeof x.integrity==`string`?x.integrity:void 0,b.crossOrigin=v=typeof x==`string`||x.crossOrigin==null?void 0:x.crossOrigin===`use-credentials`?`use-credentials`:``),x=e,_=g,x.scriptResources[_]=null,x.moduleScriptResources[_]=null,x=[],ye(x,b),f.add(x),r.push(`<script type="module" src="`,P(g),`"`),typeof y==`string`&&r.push(` integrity="`,P(y),`"`),typeof v==`string`&&r.push(` crossorigin="`,P(v),`"`),Je(r,e),r.push(` async=""><\/script>`);return{placeholderPrefix:i,segmentPrefix:s,boundaryPrefix:n,startInlineScript:`<script`,startInlineStyle:`<style`,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:c,fontPreloads:l,highImagePreloads:u,styles:d,bootstrapScripts:f,scripts:p,bulkPreloads:m,preloads:h,nonce:{script:void 0,style:void 0},stylesToHoist:!1,generateStaticMarkup:t}}function mt(e,t,n,r){return n.generateStaticMarkup?(e.push(P(t)),!1):(t===``?e=r:(r&&e.push(`<!-- -->`),e.push(P(t)),e=!0),e)}function ht(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push(`<!-- -->`)}var gt=Function.prototype.bind,_t=Symbol.for(`react.client.reference`);function vt(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===_t?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case o:return`Fragment`;case c:return`Profiler`;case s:return`StrictMode`;case f:return`Suspense`;case p:return`SuspenseList`;case _:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case a:return`Portal`;case u:return e.displayName||`Context`;case l:return(e._context.displayName||`Context`)+`.Consumer`;case d:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case m:return t=e.displayName||null,t===null?vt(e.type)||`Memo`:t;case h:t=e._payload,e=e._init;try{return vt(e(t))}catch{}}return null}var yt={},bt=null;function xt(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(r(401))}else{if(n===null)throw Error(r(401));xt(e,n)}t.context._currentValue2=t.value}}function St(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&St(e)}function Ct(e){var t=e.parent;t!==null&&Ct(t),e.context._currentValue2=e.value}function wt(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(r(402));e.depth===t.depth?xt(e,t):wt(e,t)}function Tt(e,t){var n=t.parent;if(n===null)throw Error(r(402));e.depth===n.depth?xt(e,n):Tt(e,n),t.context._currentValue2=t.value}function Et(e){var t=bt;t!==e&&(t===null?Ct(e):e===null?St(t):t.depth===e.depth?xt(t,e):t.depth>e.depth?wt(t,e):Tt(t,e),bt=e)}var Dt={enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},Ot={id:1,overflow:``};function kt(e,t,n){var r=e.id;e=e.overflow;var i=32-At(r)-1;r&=~(1<<i),n+=1;var a=32-At(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-At(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}var At=Math.clz32?Math.clz32:Nt,jt=Math.log,Mt=Math.LN2;function Nt(e){return e>>>=0,e===0?32:31-(jt(e)/Mt|0)|0}function Pt(){}var Ft=Error(r(460));function It(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Pt,Pt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason;default:switch(typeof t.status==`string`?t.then(Pt,Pt):(e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason}throw Lt=t,Ft}}var Lt=null;function Rt(){if(Lt===null)throw Error(r(459));var e=Lt;return Lt=null,e}function zt(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Bt=typeof Object.is==`function`?Object.is:zt,Vt=null,Ht=null,Ut=null,Wt=null,Gt=null,$=null,Kt=!1,qt=!1,Jt=0,Yt=0,Xt=-1,Zt=0,Qt=null,$t=null,en=0;function tn(){if(Vt===null)throw Error(r(321));return Vt}function nn(){if(0<en)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function rn(){return $===null?Gt===null?(Kt=!1,Gt=$=nn()):(Kt=!0,$=Gt):$.next===null?(Kt=!1,$=$.next=nn()):(Kt=!0,$=$.next),$}function an(){var e=Qt;return Qt=null,e}function on(){Wt=Ut=Ht=Vt=null,qt=!1,Gt=null,en=0,$=$t=null}function sn(e,t){return typeof t==`function`?t(e):t}function cn(e,t,n){if(Vt=tn(),$=rn(),Kt){var r=$.queue;if(t=r.dispatch,$t!==null&&(n=$t.get(r),n!==void 0)){$t.delete(r),r=$.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return $.memoizedState=r,[r,t]}return[$.memoizedState,t]}return e=e===sn?typeof t==`function`?t():t:n===void 0?t:n(t),$.memoizedState=e,e=$.queue={last:null,dispatch:null},e=e.dispatch=un.bind(null,Vt,e),[$.memoizedState,e]}function ln(e,t){if(Vt=tn(),$=rn(),t=t===void 0?null:t,$!==null){var n=$.memoizedState;if(n!==null&&t!==null){var r=n[1];a:if(r===null)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!Bt(t[i],r[i])){r=!1;break a}r=!0}if(r)return n[0]}}return e=e(),$.memoizedState=[e,t],e}function un(e,t,n){if(25<=en)throw Error(r(301));if(e===Vt)if(qt=!0,e={action:n,next:null},$t===null&&($t=new Map),n=$t.get(t),n===void 0)$t.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function dn(){throw Error(r(440))}function fn(){throw Error(r(394))}function pn(){throw Error(r(479))}function mn(e,t,n){tn();var r=Yt++,i=Ut;if(typeof e.$$FORM_ACTION==`function`){var a=null,o=Wt;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(i!==null&&typeof s==`function`){var c=i[1];s.call(e,i[2],i[3])&&(a=n===void 0?`k`+w(JSON.stringify([o,null,r]),0):`p`+n,c===a&&(Xt=r,t=i[0]))}var l=e.bind(null,t);return e=function(e){l(e)},typeof l.$$FORM_ACTION==`function`&&(e.$$FORM_ACTION=function(e){e=l.$$FORM_ACTION(e),n!==void 0&&(n+=``,e.action=n);var t=e.data;return t&&(a===null&&(a=n===void 0?`k`+w(JSON.stringify([o,null,r]),0):`p`+n),t.append(`$ACTION_KEY`,a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function hn(e){var t=Zt;return Zt+=1,Qt===null&&(Qt=[]),It(Qt,e,t)}function gn(){throw Error(r(393))}var _n={readContext:function(e){return e._currentValue2},use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return hn(e);if(e.$$typeof===u)return e._currentValue2}throw Error(r(438,String(e)))},useContext:function(e){return tn(),e._currentValue2},useMemo:ln,useReducer:cn,useRef:function(e){Vt=tn(),$=rn();var t=$.memoizedState;return t===null?(e={current:e},$.memoizedState=e):t},useState:function(e){return cn(sn,e)},useInsertionEffect:Pt,useLayoutEffect:Pt,useCallback:function(e,t){return ln(function(){return e},t)},useImperativeHandle:Pt,useEffect:Pt,useDebugValue:Pt,useDeferredValue:function(e,t){return tn(),t===void 0?e:t},useTransition:function(){return tn(),[!1,fn]},useId:function(){var e=Ht.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-At(e)-1)).toString(32)+t;var n=vn;if(n===null)throw Error(r(404));return t=Jt++,e=`_`+n.idPrefix+`R_`+e,0<t&&(e+=`H`+t.toString(32)),e+`_`},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(r(407));return n()},useOptimistic:function(e){return tn(),[e,pn]},useActionState:mn,useFormState:mn,useHostTransitionStatus:function(){return tn(),te},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=y;return t},useCacheRefresh:function(){return gn},useEffectEvent:function(){return dn}},vn=null,yn={getCacheForType:function(){throw Error(r(248))},cacheSignal:function(){throw Error(r(248))}},bn,xn;function Sn(e){if(bn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);bn=t&&t[1]||``,xn=-1<e.stack.indexOf(`
12
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
13
+ `+bn+e+xn}var Cn=!1;function wn(e,t){if(!e||Cn)return``;Cn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
14
+ `),l=s.split(`
15
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
16
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Cn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Sn(n):``}function Tn(e){if(typeof e==`string`)return Sn(e);if(typeof e==`function`)return e.prototype&&e.prototype.isReactComponent?wn(e,!0):wn(e,!1);if(typeof e==`object`&&e){switch(e.$$typeof){case d:return wn(e.render,!1);case m:return wn(e.type,!1);case h:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Sn(`Lazy`)}return Tn(e)}if(typeof e.name==`string`){a:{n=e.name,t=e.env;var r=e.debugLocation;if(r!=null&&(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith(`Error: react-stack-top-frame
17
+ `)&&(r=r.slice(29)),e=r.indexOf(`
18
+ `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf(`react_stack_bottom_frame`),e!==-1&&(e=r.lastIndexOf(`
19
+ `,e)),e=e===-1?``:r=r.slice(0,e),r=e.lastIndexOf(`
20
+ `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
21
+ `+e;break a}n=Sn(n+(t?` [`+t+`]`:``))}return n}}switch(e){case p:return Sn(`SuspenseList`);case f:return Sn(`Suspense`)}return``}function En(e,t){return(500<t.byteSize||!1)&&t.contentPreamble===null}function Dn(e){if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var t=e.environmentName;e=[e].slice(0),typeof e[0]==`string`?e.splice(0,1,`[%s] `+e[0],` `+t+` `):e.splice(0,0,`[%s]`,` `+t+` `),e.unshift(console),t=gt.apply(console.error,e),t()}else console.error(e);return null}function On(e,t,n,r,i,a,o,s,c,l,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=i===void 0?Dn:i,this.onPostpone=l===void 0?Pt:l,this.onAllReady=a===void 0?Pt:a,this.onShellReady=o===void 0?Pt:o,this.onShellError=s===void 0?Pt:s,this.onFatalError=c===void 0?Pt:c,this.formState=u===void 0?null:u}function kn(e,t,n,r,i,a,o,s,c,l,u,d){return t=new On(t,n,r,i,a,o,s,c,l,u,d),n=Fn(t,0,null,r,!1,!1),n.parentFlushed=!0,e=Nn(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Ot,null,null),In(e),t.pingedTasks.push(e),t}var An=null;function jn(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,pr(e))}function Mn(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Q(),fallbackState:Q(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&ft(n.contentState,e)),n}function Nn(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,p!==null&&p.pendingTasks++;var h={replay:null,node:n,childIndex:r,ping:function(){return jn(e,h)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:c,keyPath:l,formatContext:u,context:d,treeContext:f,row:p,componentStack:m,thenableState:t};return c.add(h),h}function Pn(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.allPendingTasks++,a===null?e.pendingRootTasks++:a.pendingTasks++,f!==null&&f.pendingTasks++,n.pendingTasks++;var m={replay:n,node:r,childIndex:i,ping:function(){return jn(e,m)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:c,formatContext:l,context:u,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(m),m}function Fn(e,t,n,r,i,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function In(e){var t=e.node;if(typeof t==`object`&&t)switch(t.$$typeof){case i:e.componentStack={parent:e.componentStack,type:t.type}}}function Ln(e){return e===null?null:{parent:e.parent,type:`Suspense Fallback`}}function Rn(e){var t={};return e&&Object.defineProperty(t,`componentStack`,{configurable:!0,enumerable:!0,get:function(){try{var n=``,r=e;do n+=Tn(r.type),r=r.parent;while(r);var i=n}catch(e){i=`
22
+ Error generating stack: `+e.message+`
23
+ `+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function zn(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function Bn(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,e.destination.destroy(t))}function Vn(e,t){Hn(e,t.next,t.hoistables)}function Hn(e,t,n){for(;t!==null;){n!==null&&(ft(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&ft(a.contentState,n),fr(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Un(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||En(e,a)){r=!1;break}}r&&Hn(e,t,t.hoistables)}}function Wn(e){var t={pendingTasks:1,boundaries:null,hoistables:Q(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function Gn(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=Wn(c),t.treeContext=kt(o,n,d);var p=l[d];typeof p==`number`?(Yn(e,t,p,f,d),delete l[d]):ir(e,t,f,d),--c.pendingTasks===0&&Vn(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=Wn(c),t.treeContext=kt(o,n,u),ir(e,t,d,u),--c.pendingTasks===0&&Vn(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=Wn(c),t.treeContext=kt(o,n,i),ir(e,t,l,i),--c.pendingTasks===0&&Vn(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=Wn(c),t.treeContext=kt(o,n,d),p=Fn(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{ir(e,t,f,d),ht(p.chunks,e.renderState,p.lastPushedText,p.textEmbedded),p.status=1,--c.pendingTasks===0&&Vn(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function Kn(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Vt={},Ht=t,Ut=e,Wt=n,Yt=Jt=0,Xt=-1,Zt=0,Qt=o,e=r(i,a);qt;)qt=!1,Yt=Jt=0,Xt=-1,Zt=0,en+=1,$=null,e=r(i,a);return on(),e}function qn(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(`<!--F!-->`):c.push(`<!--F-->`)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=kt(n,1,0),ir(e,t,r,-1),t.treeContext=n):s?ir(e,t,r,-1):Xn(e,t,r,-1),t.keyPath=a}function Jn(e,t,n,i,a,y){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var x=a;if(`ref`in a)for(var w in x={},a)w!==`ref`&&(x[w]=a[w]);var E=i.defaultProps;if(E)for(var D in x===a&&(x=T({},x,a)),E)x[D]===void 0&&(x[D]=E[D]);a=x,x=yt,E=i.contextType,typeof E==`object`&&E&&(x=E._currentValue2),x=new i(a,x);var O=x.state===void 0?null:x.state;if(x.updater=Dt,x.props=a,x.state=O,E={queue:[],replace:!1},x._reactInternals=E,y=i.contextType,x.context=typeof y==`object`&&y?y._currentValue2:yt,y=i.getDerivedStateFromProps,typeof y==`function`&&(y=y(a,O),O=y==null?O:T({},O,y),x.state=O),typeof i.getDerivedStateFromProps!=`function`&&typeof x.getSnapshotBeforeUpdate!=`function`&&(typeof x.UNSAFE_componentWillMount==`function`||typeof x.componentWillMount==`function`))if(i=x.state,typeof x.componentWillMount==`function`&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount==`function`&&x.UNSAFE_componentWillMount(),i!==x.state&&Dt.enqueueReplaceState(x,x.state,null),E.queue!==null&&0<E.queue.length)if(i=E.queue,y=E.replace,E.queue=null,E.replace=!1,y&&i.length===1)x.state=i[0];else{for(E=y?i[0]:x.state,O=!0,y=y?1:0;y<i.length;y++)D=i[y],D=typeof D==`function`?D.call(x,E,a,void 0):D,D!=null&&(O?(O=!1,E=T({},E,D)):T(E,D));x.state=E}else E.queue=null;if(i=x.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a}else{if(i=Kn(e,t,n,i,a,void 0),e.status===12)throw null;qn(e,t,n,i,Jt!==0,Yt,Xt)}else if(typeof i==`string`)if(x=t.blockedSegment,x===null)x=a.children,E=t.formatContext,O=t.keyPath,t.formatContext=ae(E,i,a),t.keyPath=n,ir(e,t,x,-1),t.formatContext=E,t.keyPath=O;else{if(O=Oe(x.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,x.lastPushedText),x.lastPushedText=!1,E=t.formatContext,y=t.keyPath,t.keyPath=n,(t.formatContext=ae(E,i,a)).insertionMode===3){n=Fn(e,0,null,t.formatContext,!1,!1),x.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ir(e,t,O,-1),ht(n.chunks,e.renderState,n.lastPushedText,n.textEmbedded),n.status=1}finally{t.blockedSegment=x}}else ir(e,t,O,-1);t.formatContext=E,t.keyPath=y;a:{switch(t=x.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=E.insertionMode){e.hasBody=!0;break a}break;case`html`:if(E.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=E.insertionMode)break a}t.push(Ae(i))}x.lastPushedText=!1}else{switch(i){case v:case s:case c:case o:i=t.keyPath,t.keyPath=n,Xn(e,t,a.children,-1),t.keyPath=i;return;case _:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,ir(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(e.renderState.generateStaticMarkup||i.chunks.push(`<!--&-->`),i.lastPushedText=!1,x=t.keyPath,t.keyPath=n,ir(e,t,a.children,-1),t.keyPath=x,e.renderState.generateStaticMarkup||i.chunks.push(`<!--/&-->`),i.lastPushedText=!1);return;case p:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(C(i)){Gn(e,t,n,i,a);break a}if((x=S(i))&&(x=x.call(i))){if(E=x.next(),!E.done){do E=x.next();while(!E.done);Gn(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,x=t.row,E=t.row=Wn(null),E.boundaries=[],E.together=!0,t.keyPath=n,Xn(e,t,i,-1),--E.pendingTasks===0&&Vn(e,E),t.keyPath=a,t.row=x,x!==null&&0<E.pendingTasks&&(x.pendingTasks++,E.next=x)):(a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a)}return;case b:case g:throw Error(r(343));case f:a:if(t.replay!==null){i=t.keyPath,x=t.formatContext,E=t.row,t.keyPath=n,t.formatContext=G(e.resumableState,x),t.row=null,n=a.children;try{ir(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=x,t.row=E}}else{i=t.keyPath,y=t.formatContext;var k=t.row,A=t.blockedBoundary;D=t.blockedPreamble;var j=t.hoistableState;w=t.blockedSegment;var M=a.fallback;a=a.children;var N=new Set,P=Mn(e,t.row,N,null,null);e.trackedPostpones!==null&&(P.trackedContentKeyPath=n);var F=Fn(e,w.chunks.length,P,t.formatContext,!1,!1);w.children.push(F),w.lastPushedText=!1;var I=Fn(e,0,null,t.formatContext,!1,!1);if(I.parentFlushed=!0,e.trackedPostpones!==null){x=t.componentStack,E=[n[0],`Suspense Fallback`,n[2]],O=[E[1],E[2],[],null],e.trackedPostpones.workingMap.set(E,O),P.trackedFallbackNode=O,t.blockedSegment=F,t.blockedPreamble=P.fallbackPreamble,t.keyPath=E,t.formatContext=oe(e.resumableState,y),t.componentStack=Ln(x),F.status=6;try{ir(e,t,M,-1),ht(F.chunks,e.renderState,F.lastPushedText,F.textEmbedded),F.status=1}catch(t){throw F.status=e.status===12?3:4,t}finally{t.blockedSegment=w,t.blockedPreamble=D,t.keyPath=i,t.formatContext=y}t=Nn(e,null,a,-1,P,I,P.contentPreamble,P.contentState,t.abortSet,n,G(e.resumableState,t.formatContext),t.context,t.treeContext,null,x),In(t),e.pingedTasks.push(t)}else{t.blockedBoundary=P,t.blockedPreamble=P.contentPreamble,t.hoistableState=P.contentState,t.blockedSegment=I,t.keyPath=n,t.formatContext=G(e.resumableState,y),t.row=null,I.status=6;try{if(ir(e,t,a,-1),ht(I.chunks,e.renderState,I.lastPushedText,I.textEmbedded),I.status=1,dr(P,I),P.pendingTasks===0&&P.status===0){if(P.status=1,!En(e,P)){k!==null&&--k.pendingTasks===0&&Vn(e,k),e.pendingRootTasks===0&&t.blockedPreamble&&gr(e);break a}}else k!==null&&k.together&&Un(e,k)}catch(n){P.status=4,e.status===12?(I.status=3,x=e.fatalError):(I.status=4,x=n),E=Rn(t.componentStack),O=zn(e,x,E),P.errorDigest=O,tr(e,P)}finally{t.blockedBoundary=A,t.blockedPreamble=D,t.hoistableState=j,t.blockedSegment=w,t.keyPath=i,t.formatContext=y,t.row=k}t=Nn(e,null,M,-1,A,F,P.fallbackPreamble,P.fallbackState,N,[n[0],`Suspense Fallback`,n[2]],oe(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ln(t.componentStack)),In(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(M in x={},a)M!==`ref`&&(x[M]=a[M]);else x=a;i=Kn(e,t,n,i.render,x,y),qn(e,t,n,i,Jt!==0,Yt,Xt);return;case m:Jn(e,t,n,i.type,a,y);return;case u:if(E=a.children,x=t.keyPath,a=a.value,O=i._currentValue2,i._currentValue2=a,y=bt,bt=i={parent:y,depth:y===null?0:y.depth+1,context:i,parentValue:O,value:a},t.context=i,t.keyPath=n,Xn(e,t,E,-1),e=bt,e===null)throw Error(r(403));e.context._currentValue2=e.parentValue,e=bt=e.parent,t.context=e,t.keyPath=x;return;case l:a=a.children,i=a(i._context._currentValue2),a=t.keyPath,t.keyPath=n,Xn(e,t,i,-1),t.keyPath=a;return;case h:if(x=i._init,i=x(i._payload),e.status===12)throw null;Jn(e,t,n,i,a,y);return}throw Error(r(130,i==null?i:typeof i,``))}}function Yn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Fn(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ir(e,t,r,i),s.status=1,o===null?e.completedRootSegment=s:(dr(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Xn(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Yn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,In(t),Zn(e,t),t.componentStack=n)}function Zn(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var d=n===void 0?null:n,p=vt(s),m=c??(o===-1?0:o);if(c=[t.keyPath,p,m],t.replay!==null)a:{var g=t.replay;for(o=g.nodes,n=0;n<o.length;n++){var _=o[n];if(m===_[1]){if(_.length===4){if(p!==null&&p!==_[0])throw Error(r(490,_[0],p));var v=_[2];p=_[3],m=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(Jn(e,t,c,s,l,d),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Ft||typeof r.then==`function`))throw t.node===m?t.replay=g:o.splice(n,1),r;t.replay.pendingTasks--,l=Rn(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=zn(c,s,l),or(c,e,v,p,s,l)}t.replay=g}else{if(s!==f)throw Error(r(490,`Suspense`,vt(s)||`Unknown`));b:{g=void 0,s=_[5],d=_[2],p=_[3],m=_[4]===null?[]:_[4][2],_=_[4]===null?null:_[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,w=t.replay,T=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=Mn(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=G(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(ir(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=Rn(t.componentStack),g=zn(e,n,v),l.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=T,t.hoistableState=E,t.replay=w,t.keyPath=y,t.formatContext=b,t.row=x}v=Pn(e,null,{nodes:m,slots:_,pendingTasks:0},O,-1,T,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],oe(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ln(t.componentStack)),In(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else Jn(e,t,c,s,l,d);return;case a:throw Error(r(257));case h:if(v=n._init,n=v(n._payload),e.status===12)throw null;Xn(e,t,n,o);return}if(C(n)){Qn(e,t,n,o);return}if((v=S(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);Qn(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,Xn(e,t,hn(n),o);if(n.$$typeof===u)return Xn(e,t,n._currentValue2,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=mt(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=mt(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function Qn(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(Qn(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Ft||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Rn(t.componentStack);var u=t.blockedBoundary,d=r;n=zn(e,d,n),or(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=kt(o,s,i),u=c[i],typeof u==`number`?(Yn(e,t,u,l,i),delete c[i]):ir(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=kt(o,s,c),ir(e,t,i,c);t.treeContext=o,t.keyPath=a}function $n(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Or(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function er(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=$n(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Or(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Or(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function tr(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function nr(e,t,n){return Pn(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function rr(e,t,n){var r=t.blockedSegment,i=Fn(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Nn(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ir(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return Xn(e,t,n,r)}catch(u){if(on(),n=u===Ft?Rt():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Ft?an():null,e=nr(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Et(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Ft?an():null,n=nr(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Et(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return Xn(e,t,n,r)}catch(r){if(on(),l.children.length=u,l.chunks.length=d,n=r===Ft?Rt():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Ft?an():null,e=rr(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Et(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Ft?an():null,l=rr(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Et(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Et(a),n}function ar(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,fr(this,t,e.row,n))}function or(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)or(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Mn(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function sr(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Rn(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,zn(t,n,a),er(t,r,e,i),fr(t,null,e.row,i)):(zn(t,n,a),Bn(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=zn(t,n,a),or(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&lr(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return zn(t,n,a),er(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return sr(e,t,n)}),r.fallbackAbortableTasks.clear(),fr(t,r,e.row,i);r.status=4,i=zn(t,n,a),r.status=4,r.errorDigest=i,tr(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&Vn(t,i),r.fallbackAbortableTasks.forEach(function(e){return sr(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Vn(t,e),t.allPendingTasks--,t.allPendingTasks===0&&ur(t)}function cr(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=at(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=V,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:V;else break b}}r(a?{Link:a}:{})}}}catch(t){zn(e,t,{})}}function lr(e){e.trackedPostpones===null&&cr(e,!0),e.trackedPostpones===null&&gr(e),e.onShellError=Pt,e=e.onShellReady,e()}function ur(e){cr(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),gr(e),e=e.onAllReady,e()}function dr(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||dr(e,n)}else e.completedSegments.push(t)}function fr(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?Vn(e,n):n.together&&Un(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&lr(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&dr(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&ft(n.hoistables,t.contentState),En(e,t)||(t.fallbackAbortableTasks.forEach(ar,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Vn(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&gr(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];$n(e,n,o),fr(e,o,null,null)}}--t.pendingTasks===0&&Vn(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(dr(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Un(e,t);e.allPendingTasks===0&&ur(e)}function pr(e){if(e.status!==14&&e.status!==13){var t=bt,n=z.H;z.H=_n;var i=z.A;z.A=yn;var a=An;An=e;var o=vn;vn=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){Et(l.context);try{if(typeof l.replay.slots==`number`?Yn(f,l,l.replay.slots,l.node,l.childIndex):Zn(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),fr(f,l.blockedBoundary,l.row,null)}catch(e){on();var p=e===Ft?Rt():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Ft?an():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Rn(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=zn(g,v,h),or(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&lr(f),f.allPendingTasks--,f.allPendingTasks===0&&ur(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Et(l.context);var x=g.children.length,S=g.chunks.length;try{Zn(u,l),ht(g.chunks,u.renderState,g.lastPushedText,g.textEmbedded),l.abortSet.delete(l),g.status=1,fr(u,l.blockedBoundary,l.row,g)}catch(e){on(),g.children.length=x,g.chunks.length=S;var C=e===Ft?Rt():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Rn(l.componentStack);l.abortSet.delete(l),zn(u,C,T),er(u,w,l,g),fr(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Ft?an():null;var E=l.ping;C.then(E,E)}else{var D=Rn(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&Vn(u,k),u.allPendingTasks--,f=zn(u,C,D),O===null)Bn(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,tr(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&Vn(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&gr(u)}u.allPendingTasks===0&&ur(u)}}}}s.splice(0,c),e.destination!==null&&wr(e,e.destination)}catch(t){zn(e,t,{}),Bn(e,t)}finally{vn=o,z.H=n,z.A=i,n===_n&&Et(t),An=a}}}function mr(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=hr(e,t.children[i],n)||r;return r}function hr(e,t,n){var i=t.boundary;if(i===null)return mr(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(je(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return mr(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return je(e.renderState,o),mr(e,t,n);default:return!0}}function gr(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=hr(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function _r(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push(`<template id="`),t.push(e.placeholderPrefix),e=i.toString(16),t.push(e),t.push(`"></template>`);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)t.push(o[s]);a=yr(e,t,a,i)}for(;s<o.length-1;s++)t.push(o[s]);return s<o.length&&(a=t.push(o[s])),a;case 3:return!0;default:throw Error(r(390))}}var vr=0;function yr(e,t,n,i){var a=n.boundary;if(a===null)return _r(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;return o!==null&&--o.pendingTasks===0&&Vn(e,o),e.renderState.generateStaticMarkup||(a=a.errorDigest,t.push(`<!--$!-->`),t.push(`<template`),a&&(t.push(` data-dgst="`),a=P(a),t.push(a),t.push(`"`)),t.push(`></template>`)),_r(e,t,n,i),e=e.renderState.generateStaticMarkup?!0:t.push(`<!--/$-->`),e}if(a.status!==1)return a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Ne(t,e.renderState,a.rootSegmentID),i&&ft(i,a.fallbackState),_r(e,t,n,i),t.push(`<!--/$-->`);if(!Cr&&En(e,a)&&vr+a.byteSize>e.progressiveChunkSize)return a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Ne(t,e.renderState,a.rootSegmentID),_r(e,t,n,i),t.push(`<!--/$-->`);if(vr+=a.byteSize,i&&ft(i,a.contentState),n=a.row,n!==null&&En(e,a)&&--n.pendingTasks===0&&Vn(e,n),e.renderState.generateStaticMarkup||t.push(`<!--$-->`),n=a.completedSegments,n.length!==1)throw Error(r(391));return yr(e,t,n[0],i),e=e.renderState.generateStaticMarkup?!0:t.push(`<!--/$-->`),e}function br(e,t,n,r){return Pe(t,e.renderState,n.parentFormatContext,n.id),yr(e,t,n,r),Fe(t,n.parentFormatContext)}function xr(e,t,n){vr=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Sr(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&En(e,n)&&--r.pendingTasks===0&&Vn(e,r),Ue(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(`>`),a?(!(r.instructions&4)&&(r.instructions|=4,t.push(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`)),!(r.instructions&2)&&(r.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
24
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),r.instructions&8?t.push(`$RR("`):(r.instructions|=8,t.push(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
25
+ "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
26
+ "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`))):(!(r.instructions&2)&&(r.instructions|=2,t.push(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
27
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`)),t.push(`$RC("`)),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push(`","`),t.push(e.segmentPrefix),t.push(r),a?(t.push(`",`),Ye(t,n)):t.push(`"`),n=t.push(`)<\/script>`),Me(t,e)&&n}function Sr(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return br(e,t,i,a)}return o===n.rootSegmentID?br(e,t,i,a):(br(e,t,i,a),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(`>`),n.instructions&1?t.push(`$RS("`):(n.instructions|=1,t.push(`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`)),t.push(e.segmentPrefix),o=o.toString(16),t.push(o),t.push(`","`),t.push(e.placeholderPrefix),t.push(o),t=t.push(`")<\/script>`),t)}var Cr=!1;function wr(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;vr=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)t.push(c[u]);if(l)for(u=0;u<l.length;u++)t.push(l[u]);else{var d=De(`head`);t.push(d),t.push(`>`)}}else if(l)for(u=0;u<l.length;u++)t.push(l[u]);var f=o.charsetChunks;for(u=0;u<f.length;u++)t.push(f[u]);f.length=0,o.preconnects.forEach(We,t),o.preconnects.clear();var p=o.viewportChunks;for(u=0;u<p.length;u++)t.push(p[u]);p.length=0,o.fontPreloads.forEach(We,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(We,t),o.highImagePreloads.clear(),ne=o,o.styles.forEach(Z,t),ne=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(We,t),o.scripts.forEach(We,t),o.scripts.clear(),o.bulkPreloads.forEach(We,t),o.bulkPreloads.clear(),a.instructions|=32;var h=o.hoistableChunks;for(u=0;u<h.length;u++)t.push(h[u]);for(a=h.length=0;a<i.length;a++){var g=i[a];for(o=0;o<g.length;o++)yr(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=Ae(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);yr(e,t,r,null),e.completedRootSegment=null;var x=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var S=e.resumableState;if(!(S.instructions&64)){if(S.instructions|=64,t.push(x.startInlineScript),!(S.instructions&32)){S.instructions|=32;var C=`_`+S.idPrefix+`R_`;t.push(` id="`);var w=P(C);t.push(w),t.push(`"`)}t.push(`>`),t.push(`requestAnimationFrame(function(){$RT=performance.now()});`),t.push(`<\/script>`)}}Me(t,x)}var T=e.renderState;r=0;var E=T.viewportChunks;for(r=0;r<E.length;r++)t.push(E[r]);E.length=0,T.preconnects.forEach(We,t),T.preconnects.clear(),T.fontPreloads.forEach(We,t),T.fontPreloads.clear(),T.highImagePreloads.forEach(We,t),T.highImagePreloads.clear(),T.styles.forEach(qe,t),T.scripts.forEach(We,t),T.scripts.clear(),T.bulkPreloads.forEach(We,t),T.bulkPreloads.clear();var D=T.hoistableChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0;var O=e.clientRenderedBoundaries;for(n=0;n<O.length;n++){var k=O[n];T=t;var A=e.resumableState,j=e.renderState,M=k.rootSegmentID,N=k.errorDigest;T.push(j.startInlineScript),T.push(`>`),A.instructions&4?T.push(`$RX("`):(A.instructions|=4,T.push(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`)),T.push(j.boundaryPrefix);var F=M.toString(16);if(T.push(F),T.push(`"`),N){T.push(`,`);var I=Le(N||``);T.push(I)}var L=T.push(`)<\/script>`);if(!L){e.destination=null,n++,O.splice(0,n);return}}O.splice(0,n);var R=e.completedBoundaries;for(n=0;n<R.length;n++)if(!xr(e,t,R[n])){e.destination=null,n++,R.splice(0,n);return}R.splice(0,n),Cr=!0;var z=e.partialBoundaries;for(n=0;n<z.length;n++){var ee=z[n];a:{O=e,k=t,vr=ee.byteSize;var te=ee.completedSegments;for(L=0;L<te.length;L++)if(!Sr(O,k,ee,te[L])){L++,te.splice(0,L);var B=!1;break a}te.splice(0,L);var V=ee.row;V!==null&&V.together&&ee.pendingTasks===1&&(V.pendingTasks===1?Hn(O,V,V.hoistables):V.pendingTasks--),B=Ue(k,ee.contentState,O.renderState)}if(!B){e.destination=null,n++,z.splice(0,n);return}}z.splice(0,n),Cr=!1;var re=e.completedBoundaries;for(n=0;n<re.length;n++)if(!xr(e,t,re[n])){e.destination=null,n++,re.splice(0,n);return}re.splice(0,n)}}finally{Cr=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(z=Ae(`body`),t.push(z)),n.hasHtml&&(n=Ae(`html`),t.push(n)),e.status=14,t.push(null),e.destination=null)}}function Tr(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?wr(e,t):e.flushScheduled=!1}}function Er(e,t){if(e.status===13)e.status=14,t.destroy(e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{wr(e,t)}catch(t){zn(e,t,{}),Bn(e,t)}}}function Dr(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return sr(t,e,i)}),n.clear()}e.destination!==null&&wr(e,e.destination)}catch(t){zn(e,t,{}),Bn(e,t)}}function Or(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Or(i,t[0],n)),i[2].push(e)}}function kr(){}function Ar(e,t,n,i){var a=!1,o=null,s=``,c=!1;if(t=H(t?t.identifierPrefix:void 0),e=kn(e,t,pt(t,n),U(0,null,0,null),1/0,kr,void 0,function(){c=!0},void 0,void 0,void 0),e.flushScheduled=e.destination!==null,pr(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&cr(e,e.pendingRootTasks===0),Dr(e,i),Er(e,{push:function(e){return e!==null&&(s+=e),!0},destroy:function(e){a=!0,o=e}}),a&&o!==i)throw o;if(!c)throw Error(r(426));return s}e.renderToStaticMarkup=function(e,t){return Ar(e,t,!0,`The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.renderToString=function(e,t){return Ar(e,t,!1,`The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.version=`19.2.4`})),f=l((e=>{var t=require(`react`),n=require(`react-dom`);function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=Symbol.for(`react.transitional.element`),a=Symbol.for(`react.portal`),o=Symbol.for(`react.fragment`),s=Symbol.for(`react.strict_mode`),c=Symbol.for(`react.profiler`),l=Symbol.for(`react.consumer`),u=Symbol.for(`react.context`),d=Symbol.for(`react.forward_ref`),f=Symbol.for(`react.suspense`),p=Symbol.for(`react.suspense_list`),m=Symbol.for(`react.memo`),h=Symbol.for(`react.lazy`),g=Symbol.for(`react.scope`),_=Symbol.for(`react.activity`),v=Symbol.for(`react.legacy_hidden`),y=Symbol.for(`react.memo_cache_sentinel`),b=Symbol.for(`react.view_transition`),x=Symbol.iterator;function S(e){return typeof e!=`object`||!e?null:(e=x&&e[x]||e[`@@iterator`],typeof e==`function`?e:null)}var C=Array.isArray;function w(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}var T=new MessageChannel,E=[];T.port1.onmessage=function(){var e=E.shift();e&&e()};function D(e){E.push(e),T.port2.postMessage(null)}function O(e){setTimeout(function(){throw e})}var k=Promise,A=typeof queueMicrotask==`function`?queueMicrotask:function(e){k.resolve(null).then(e).catch(O)},j=null,M=0;function N(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<M&&(e.enqueue(new Uint8Array(j.buffer,0,M)),j=new Uint8Array(2048),M=0),e.enqueue(t);else{var n=j.length-M;n<t.byteLength&&(n===0?e.enqueue(j):(j.set(t.subarray(0,n),M),e.enqueue(j),t=t.subarray(n)),j=new Uint8Array(2048),M=0),j.set(t,M),M+=t.byteLength}}function P(e,t){return N(e,t),!0}function F(e){j&&0<M&&(e.enqueue(new Uint8Array(j.buffer,0,M)),j=null,M=0)}var I=new TextEncoder;function L(e){return I.encode(e)}function R(e){return I.encode(e)}function z(e){return e.byteLength}function ee(e,t){typeof e.error==`function`?e.error(t):e.close()}var te=Object.assign,B=Object.prototype.hasOwnProperty,V=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),ne={},re={};function ie(e){return B.call(re,e)?!0:B.call(ne,e)?!1:V.test(e)?re[e]=!0:(ne[e]=!0,!1)}var H=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),U=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),ae=/["'&<>]/;function W(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;e=``+e;var t=ae.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`&quot;`;break;case 38:t=`&amp;`;break;case 39:t=`&#x27;`;break;case 60:t=`&lt;`;break;case 62:t=`&gt;`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}var oe=/([A-Z])/g,G=/^ms-/,se=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ce(e){return se.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}var le=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},fe=ue.d;ue.d={f:fe.f,r:fe.r,D:sr,C:cr,L:lr,m:ur,X:fr,S:dr,M:pr};var pe=[],me=null;R(`"></template>`);var he=R(`<script`),K=R(`<\/script>`),ge=R(`<script src="`),_e=R(`<script type="module" src="`),ve=R(` nonce="`),ye=R(` integrity="`),be=R(` crossorigin="`),xe=R(` async=""><\/script>`),Se=R(`<style`),Ce=/(<\/|<)(s)(cript)/gi;function q(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}var J=R(`<script type="importmap">`),we=R(`<\/script>`);function Te(e,t,n,r,i,a){n=typeof t==`string`?t:t&&t.script;var o=n===void 0?he:R(`<script nonce="`+W(n)+`"`),s=typeof t==`string`?void 0:t&&t.style,c=s===void 0?Se:R(`<style nonce="`+W(s)+`"`),l=e.idPrefix,u=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(d!==void 0&&(u.push(o),$n(u,e),u.push(Q,L((``+d).replace(Ce,q)),K)),d=[],r!==void 0&&(d.push(J),d.push(L((``+JSON.stringify(r)).replace(Ce,q))),d.push(we)),r=i?{preconnects:``,fontPreloads:``,highImagePreloads:``,remainingCapacity:2+(typeof a==`number`?a:2e3)}:null,i={placeholderPrefix:R(l+`P:`),segmentPrefix:R(l+`S:`),boundaryPrefix:R(l+`B:`),startInlineScript:o,startInlineStyle:c,preamble:De(),externalRuntimeScript:null,bootstrapChunks:u,importMapChunks:d,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},f!==void 0)for(r=0;r<f.length;r++)l=f[r],s=o=void 0,c={rel:`preload`,as:`script`,fetchPriority:`low`,nonce:t},typeof l==`string`?c.href=a=l:(c.href=a=l.src,c.integrity=s=typeof l.integrity==`string`?l.integrity:void 0,c.crossOrigin=o=typeof l==`string`||l.crossOrigin==null?void 0:l.crossOrigin===`use-credentials`?`use-credentials`:``),l=e,d=a,l.scriptResources[d]=null,l.moduleScriptResources[d]=null,l=[],at(l,c),i.bootstrapScripts.add(l),u.push(ge,L(W(a)),Y),n&&u.push(ve,L(W(n)),Y),typeof s==`string`&&u.push(ye,L(W(s)),Y),typeof o==`string`&&u.push(be,L(W(o)),Y),$n(u,e),u.push(xe);if(p!==void 0)for(t=0;t<p.length;t++)s=p[t],a=r=void 0,o={rel:`modulepreload`,fetchPriority:`low`,nonce:n},typeof s==`string`?o.href=f=s:(o.href=f=s.src,o.integrity=a=typeof s.integrity==`string`?s.integrity:void 0,o.crossOrigin=r=typeof s==`string`||s.crossOrigin==null?void 0:s.crossOrigin===`use-credentials`?`use-credentials`:``),s=e,c=f,s.scriptResources[c]=null,s.moduleScriptResources[c]=null,s=[],at(s,o),i.bootstrapScripts.add(s),u.push(_e,L(W(f)),Y),n&&u.push(ve,L(W(n)),Y),typeof a==`string`&&u.push(ye,L(W(a)),Y),typeof r==`string`&&u.push(be,L(W(r)),Y),$n(u,e),u.push(xe);return i}function Ee(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function De(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function Oe(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function ke(e){return Oe(e===`http://www.w3.org/2000/svg`?4:e===`http://www.w3.org/1998/Math/MathML`?5:0,null,0,null)}function Ae(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return Oe(2,null,r|1,null);case`select`:return Oe(2,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return Oe(4,null,r,null);case`picture`:return Oe(2,null,r|2,null);case`math`:return Oe(5,null,r,null);case`foreignObject`:return Oe(2,null,r,null);case`table`:return Oe(6,null,r,null);case`thead`:case`tbody`:case`tfoot`:return Oe(7,null,r,null);case`colgroup`:return Oe(9,null,r,null);case`tr`:return Oe(8,null,r,null);case`head`:if(2>e.insertionMode)return Oe(3,null,r,null);break;case`html`:if(e.insertionMode===0)return Oe(1,null,r,null)}return 6<=e.insertionMode||2>e.insertionMode?Oe(2,null,r,null):e.tagScope===r?e:Oe(e.insertionMode,e.selectedValue,r,null)}function je(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function Me(e,t){return t.tagScope&32&&(e.instructions|=128),Oe(t.insertionMode,t.selectedValue,t.tagScope|12,je(t.viewTransition))}function Ne(e,t){e=je(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),Oe(t.insertionMode,t.selectedValue,n,e)}var Pe=R(`<!-- -->`);function Fe(e,t,n,r){return t===``?r:(r&&e.push(Pe),e.push(L(W(t))),!0)}var Ie=new Map,Le=R(` style="`),Re=R(`:`),ze=R(`;`);function Be(e,t){if(typeof t!=`object`)throw Error(r(62));var n=!0,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null&&typeof a!=`boolean`&&a!==``){if(i.indexOf(`--`)===0){var o=L(W(i));a=L(W((``+a).trim()))}else o=Ie.get(i),o===void 0&&(o=R(W(i.replace(oe,`-$1`).toLowerCase().replace(G,`-ms-`))),Ie.set(i,o)),a=typeof a==`number`?a===0||H.has(i)?L(``+a):L(a+`px`):L(W((``+a).trim()));n?(n=!1,e.push(Le,o,Re,a)):e.push(ze,o,Re,a)}}n||e.push(Y)}var Ve=R(` `),He=R(`="`),Y=R(`"`),Ue=R(`=""`);function We(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),Ue)}function X(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(Ve,L(t),He,L(W(n)),Y)}var Ge=R(W(`javascript:throw new Error('React form unexpectedly submitted.')`)),Z=R(`<input type="hidden"`);function Ke(e,t){this.push(Z),qe(e),X(this,`name`,t),X(this,`value`,e),this.push(Ze)}function qe(e){if(typeof e!=`string`)throw Error(r(480))}function Je(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(qe),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e}}return null}function Ye(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){var l=Je(t,r);l===null?(e.push(Ve,L(`formAction`),He,Ge,Y),o=a=i=r=s=null,nt(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&Xe(e,`name`,s),r!=null&&Xe(e,`formAction`,r),i!=null&&Xe(e,`formEncType`,i),a!=null&&Xe(e,`formMethod`,a),o!=null&&Xe(e,`formTarget`,o),c}function Xe(e,t,n){switch(t){case`className`:X(e,`class`,n);break;case`tabIndex`:X(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:X(e,t,n);break;case`style`:Be(e,n);break;case`src`:case`href`:if(n===``)break;case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=ce(``+n),e.push(Ve,L(t),He,L(W(n)),Y);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:We(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;n=ce(``+n),e.push(Ve,L(`xlink:href`),He,L(W(n)),Y);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),He,L(W(n)),Y);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),Ue);break;case`capture`:case`download`:!0===n?e.push(Ve,L(t),Ue):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(Ve,L(t),He,L(W(n)),Y);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(Ve,L(t),He,L(W(n)),Y);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(Ve,L(t),He,L(W(n)),Y);break;case`xlinkActuate`:X(e,`xlink:actuate`,n);break;case`xlinkArcrole`:X(e,`xlink:arcrole`,n);break;case`xlinkRole`:X(e,`xlink:role`,n);break;case`xlinkShow`:X(e,`xlink:show`,n);break;case`xlinkTitle`:X(e,`xlink:title`,n);break;case`xlinkType`:X(e,`xlink:type`,n);break;case`xmlBase`:X(e,`xml:base`,n);break;case`xmlLang`:X(e,`xml:lang`,n);break;case`xmlSpace`:X(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=U.get(t)||t,ie(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(Ve,L(t),He,L(W(n)),Y)}}}var Q=R(`>`),Ze=R(`/>`);function Qe(e,t,n){if(t!=null){if(n!=null)throw Error(r(60));if(typeof t!=`object`||!(`__html`in t))throw Error(r(61));t=t.__html,t!=null&&e.push(L(``+t))}}function $e(e){var n=``;return t.Children.forEach(e,function(e){e!=null&&(n+=e)}),n}var et=R(` selected=""`),tt=R(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`);function nt(e,t){if(!(e.instructions&16)){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),$n(r,e),r.push(Q,tt,K)):r.unshift(t.startInlineScript,Q,tt,K)}}var rt=R(`<!--F!-->`),it=R(`<!--F-->`);function at(e,t){for(var n in e.push(yt(`link`)),t)if(B.call(t,n)){var i=t[n];if(i!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:Xe(e,n,i)}}return e.push(Ze),null}var ot=/(<\/|<)(s)(tyle)/gi;function st(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function ct(e,t,n){for(var i in e.push(yt(n)),t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,n));default:Xe(e,i,a)}}return e.push(Ze),null}function lt(e,t){e.push(yt(`title`));var n=null,r=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(L(W(``+t))),Qe(e,r,n),e.push(Ct(`title`)),null}var ut=R(`<!--head-->`),dt=R(`<!--body-->`),ft=R(`<!--html-->`);function pt(e,t){e.push(yt(`script`));var n=null,r=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),typeof n==`string`&&e.push(L((``+n).replace(Ce,q))),e.push(Ct(`script`)),null}function mt(e,t,n){e.push(yt(n));var r=n=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),n}function ht(e,t,n){e.push(yt(n));var r=n=null,i;for(i in t)if(B.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:Xe(e,i,a)}}return e.push(Q),Qe(e,r,n),typeof n==`string`?(e.push(L(W(n))),null):n}var gt=R(`
28
+ `),_t=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,vt=new Map;function yt(e){var t=vt.get(e);if(t===void 0){if(!_t.test(e))throw Error(r(65,e));t=R(`<`+e),vt.set(e,t)}return t}var bt=R(`<!DOCTYPE html>`);function xt(e,t,n,i,a,o,s,c,l){switch(t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(yt(`a`));var u=null,d=null,f;for(f in n)if(B.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?X(e,`href`,``):Xe(e,f,p);break;default:Xe(e,f,p)}}if(e.push(Q),Qe(e,d,u),typeof u==`string`){e.push(L(W(u)));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:e.push(yt(`select`));var h=null,g=null,_;for(_ in n)if(B.call(n,_)){var v=n[_];if(v!=null)switch(_){case`children`:h=v;break;case`dangerouslySetInnerHTML`:g=v;break;case`defaultValue`:case`value`:break;default:Xe(e,_,v)}}return e.push(Q),Qe(e,g,h),h;case`option`:var y=c.selectedValue;e.push(yt(`option`));var b=null,x=null,S=null,w=null,T;for(T in n)if(B.call(n,T)){var E=n[T];if(E!=null)switch(T){case`children`:b=E;break;case`selected`:S=E;break;case`dangerouslySetInnerHTML`:w=E;break;case`value`:x=E;default:Xe(e,T,E)}}if(y!=null){var D=x===null?$e(b):``+x;if(C(y)){for(var O=0;O<y.length;O++)if(``+y[O]===D){e.push(et);break}}else ``+y===D&&e.push(et)}else S&&e.push(et);return e.push(Q),Qe(e,w,b),b;case`textarea`:e.push(yt(`textarea`));var k=null,A=null,j=null,M;for(M in n)if(B.call(n,M)){var N=n[M];if(N!=null)switch(M){case`children`:j=N;break;case`value`:k=N;break;case`defaultValue`:A=N;break;case`dangerouslySetInnerHTML`:throw Error(r(91));default:Xe(e,M,N)}}if(k===null&&A!==null&&(k=A),e.push(Q),j!=null){if(k!=null)throw Error(r(92));if(C(j)){if(1<j.length)throw Error(r(93));k=``+j[0]}k=``+j}return typeof k==`string`&&k[0]===`
29
+ `&&e.push(gt),k!==null&&e.push(L(W(``+k))),null;case`input`:e.push(yt(`input`));var P=null,F=null,I=null,R=null,z=null,ee=null,V=null,ne=null,re=null,H;for(H in n)if(B.call(n,H)){var U=n[H];if(U!=null)switch(H){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`input`));case`name`:P=U;break;case`formAction`:F=U;break;case`formEncType`:I=U;break;case`formMethod`:R=U;break;case`formTarget`:z=U;break;case`defaultChecked`:re=U;break;case`defaultValue`:V=U;break;case`checked`:ne=U;break;case`value`:ee=U;break;default:Xe(e,H,U)}}var ae=Ye(e,i,a,F,I,R,z,P);return ne===null?re!==null&&We(e,`checked`,re):We(e,`checked`,ne),ee===null?V!==null&&Xe(e,`value`,V):Xe(e,`value`,ee),e.push(Ze),ae?.forEach(Ke,e),null;case`button`:e.push(yt(`button`));var oe=null,G=null,se=null,le=null,ue=null,de=null,fe=null,me;for(me in n)if(B.call(n,me)){var he=n[me];if(he!=null)switch(me){case`children`:oe=he;break;case`dangerouslySetInnerHTML`:G=he;break;case`name`:se=he;break;case`formAction`:le=he;break;case`formEncType`:ue=he;break;case`formMethod`:de=he;break;case`formTarget`:fe=he;break;default:Xe(e,me,he)}}var K=Ye(e,i,a,le,ue,de,fe,se);if(e.push(Q),K?.forEach(Ke,e),Qe(e,G,oe),typeof oe==`string`){e.push(L(W(oe)));var ge=null}else ge=oe;return ge;case`form`:e.push(yt(`form`));var _e=null,ve=null,ye=null,be=null,xe=null,Se=null,Ce;for(Ce in n)if(B.call(n,Ce)){var q=n[Ce];if(q!=null)switch(Ce){case`children`:_e=q;break;case`dangerouslySetInnerHTML`:ve=q;break;case`action`:ye=q;break;case`encType`:be=q;break;case`method`:xe=q;break;case`target`:Se=q;break;default:Xe(e,Ce,q)}}var J=null,we=null;if(typeof ye==`function`){var Te=Je(i,ye);Te===null?(e.push(Ve,L(`action`),He,Ge,Y),Se=xe=be=ye=null,nt(i,a)):(ye=Te.action||``,be=Te.encType,xe=Te.method,Se=Te.target,J=Te.data,we=Te.name)}if(ye!=null&&Xe(e,`action`,ye),be!=null&&Xe(e,`encType`,be),xe!=null&&Xe(e,`method`,xe),Se!=null&&Xe(e,`target`,Se),e.push(Q),we!==null&&(e.push(Z),X(e,`name`,we),e.push(Ze),J?.forEach(Ke,e)),Qe(e,ve,_e),typeof _e==`string`){e.push(L(W(_e)));var Ee=null}else Ee=_e;return Ee;case`menuitem`:for(var De in e.push(yt(`menuitem`)),n)if(B.call(n,De)){var Oe=n[De];if(Oe!=null)switch(De){case`children`:case`dangerouslySetInnerHTML`:throw Error(r(400));default:Xe(e,De,Oe)}}return e.push(Q),null;case`object`:e.push(yt(`object`));var ke=null,Ae=null,je;for(je in n)if(B.call(n,je)){var Me=n[je];if(Me!=null)switch(je){case`children`:ke=Me;break;case`dangerouslySetInnerHTML`:Ae=Me;break;case`data`:var Ne=ce(``+Me);if(Ne===``)break;e.push(Ve,L(`data`),He,L(W(Ne)),Y);break;default:Xe(e,je,Me)}}if(e.push(Q),Qe(e,Ae,ke),typeof ke==`string`){e.push(L(W(ke)));var Fe=null}else Fe=ke;return Fe;case`title`:var Ie=c.tagScope&1,Le=c.tagScope&4;if(c.insertionMode===4||Ie||n.itemProp!=null)var Re=lt(e,n);else Le?Re=null:(lt(a.hoistableChunks,n),Re=void 0);return Re;case`link`:var ze=c.tagScope&1,Ue=c.tagScope&4,qe=n.rel,tt=n.href,rt=n.precedence;if(c.insertionMode===4||ze||n.itemProp!=null||typeof qe!=`string`||typeof tt!=`string`||tt===``){at(e,n);var it=null}else if(n.rel===`stylesheet`)if(typeof rt!=`string`||n.disabled!=null||n.onLoad||n.onError)it=at(e,n);else{var _t=a.styles.get(rt),vt=i.styleResources.hasOwnProperty(tt)?i.styleResources[tt]:void 0;if(vt!==null){i.styleResources[tt]=null,_t||(_t={precedence:L(W(rt)),rules:[],hrefs:[],sheets:new Map},a.styles.set(rt,_t));var xt={state:0,props:te({},n,{"data-precedence":n.precedence,precedence:null})};if(vt){vt.length===2&&mr(xt.props,vt);var St=a.preloads.stylesheets.get(tt);St&&0<St.length?St.length=0:xt.state=1}_t.sheets.set(tt,xt),s&&s.stylesheets.add(xt)}else if(_t){var wt=_t.sheets.get(tt);wt&&s&&s.stylesheets.add(wt)}l&&e.push(Pe),it=null}else n.onLoad||n.onError?it=at(e,n):(l&&e.push(Pe),it=Ue?null:at(a.hoistableChunks,n));return it;case`script`:var Tt=c.tagScope&1,Et=n.async;if(typeof n.src!=`string`||!n.src||!Et||typeof Et==`function`||typeof Et==`symbol`||n.onLoad||n.onError||c.insertionMode===4||Tt||n.itemProp!=null)var Dt=pt(e,n);else{var Ot=n.src;if(n.type===`module`)var kt=i.moduleScriptResources,At=a.preloads.moduleScripts;else kt=i.scriptResources,At=a.preloads.scripts;var jt=kt.hasOwnProperty(Ot)?kt[Ot]:void 0;if(jt!==null){kt[Ot]=null;var Mt=n;if(jt){jt.length===2&&(Mt=te({},n),mr(Mt,jt));var Nt=At.get(Ot);Nt&&(Nt.length=0)}var Pt=[];a.scripts.add(Pt),pt(Pt,Mt)}l&&e.push(Pe),Dt=null}return Dt;case`style`:var Ft=c.tagScope&1,It=n.precedence,Lt=n.href,Rt=n.nonce;if(c.insertionMode===4||Ft||n.itemProp!=null||typeof It!=`string`||typeof Lt!=`string`||Lt===``){e.push(yt(`style`));var zt=null,Bt=null,Vt;for(Vt in n)if(B.call(n,Vt)){var Ht=n[Vt];if(Ht!=null)switch(Vt){case`children`:zt=Ht;break;case`dangerouslySetInnerHTML`:Bt=Ht;break;default:Xe(e,Vt,Ht)}}e.push(Q);var Ut=Array.isArray(zt)?2>zt.length?zt[0]:null:zt;typeof Ut!=`function`&&typeof Ut!=`symbol`&&Ut!=null&&e.push(L((``+Ut).replace(ot,st))),Qe(e,Bt,zt),e.push(Ct(`style`));var Wt=null}else{var Gt=a.styles.get(It);if((i.styleResources.hasOwnProperty(Lt)?i.styleResources[Lt]:void 0)!==null){i.styleResources[Lt]=null,Gt||(Gt={precedence:L(W(It)),rules:[],hrefs:[],sheets:new Map},a.styles.set(It,Gt));var $=a.nonce.style;if(!$||$===Rt){Gt.hrefs.push(L(W(Lt)));var Kt=Gt.rules,qt=null,Jt=null,Yt;for(Yt in n)if(B.call(n,Yt)){var Xt=n[Yt];if(Xt!=null)switch(Yt){case`children`:qt=Xt;break;case`dangerouslySetInnerHTML`:Jt=Xt}}var Zt=Array.isArray(qt)?2>qt.length?qt[0]:null:qt;typeof Zt!=`function`&&typeof Zt!=`symbol`&&Zt!=null&&Kt.push(L((``+Zt).replace(ot,st))),Qe(Kt,Jt,qt)}}Gt&&s&&s.styles.add(Gt),l&&e.push(Pe),Wt=void 0}return Wt;case`meta`:var Qt=c.tagScope&1,$t=c.tagScope&4;if(c.insertionMode===4||Qt||n.itemProp!=null)var en=ct(e,n,`meta`);else l&&e.push(Pe),en=$t?null:typeof n.charSet==`string`?ct(a.charsetChunks,n,`meta`):n.name===`viewport`?ct(a.viewportChunks,n,`meta`):ct(a.hoistableChunks,n,`meta`);return en;case`listing`:case`pre`:e.push(yt(t));var tn=null,nn=null,rn;for(rn in n)if(B.call(n,rn)){var an=n[rn];if(an!=null)switch(rn){case`children`:tn=an;break;case`dangerouslySetInnerHTML`:nn=an;break;default:Xe(e,rn,an)}}if(e.push(Q),nn!=null){if(tn!=null)throw Error(r(60));if(typeof nn!=`object`||!(`__html`in nn))throw Error(r(61));var on=nn.__html;on!=null&&(typeof on==`string`&&0<on.length&&on[0]===`
30
+ `?e.push(gt,L(on)):e.push(L(``+on)))}return typeof tn==`string`&&tn[0]===`
31
+ `&&e.push(gt),tn;case`img`:var sn=c.tagScope&3,cn=n.src,ln=n.srcSet;if(!(n.loading===`lazy`||!cn&&!ln||typeof cn!=`string`&&cn!=null||typeof ln!=`string`&&ln!=null||n.fetchPriority===`low`||sn)&&(typeof cn!=`string`||cn[4]!==`:`||cn[0]!==`d`&&cn[0]!==`D`||cn[1]!==`a`&&cn[1]!==`A`||cn[2]!==`t`&&cn[2]!==`T`||cn[3]!==`a`&&cn[3]!==`A`)&&(typeof ln!=`string`||ln[4]!==`:`||ln[0]!==`d`&&ln[0]!==`D`||ln[1]!==`a`&&ln[1]!==`A`||ln[2]!==`t`&&ln[2]!==`T`||ln[3]!==`a`&&ln[3]!==`A`)){s!==null&&c.tagScope&64&&(s.suspenseyImages=!0);var un=typeof n.sizes==`string`?n.sizes:void 0,dn=ln?ln+`
32
+ `+(un||``):cn,fn=a.preloads.images,pn=fn.get(dn);if(pn)(n.fetchPriority===`high`||10>a.highImagePreloads.size)&&(fn.delete(dn),a.highImagePreloads.add(pn));else if(!i.imageResources.hasOwnProperty(dn)){i.imageResources[dn]=pe;var mn=n.crossOrigin,hn=typeof mn==`string`?mn===`use-credentials`?mn:``:void 0,gn=a.headers,_n;gn&&0<gn.remainingCapacity&&typeof n.srcSet!=`string`&&(n.fetchPriority===`high`||500>gn.highImagePreloads.length)&&(_n=hr(cn,`image`,{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:hn,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(gn.remainingCapacity-=_n.length+2))?(a.resets.image[dn]=pe,gn.highImagePreloads&&(gn.highImagePreloads+=`, `),gn.highImagePreloads+=_n):(pn=[],at(pn,{rel:`preload`,as:`image`,href:ln?void 0:cn,imageSrcSet:ln,imageSizes:un,crossOrigin:hn,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority===`high`||10>a.highImagePreloads.size?a.highImagePreloads.add(pn):(a.bulkPreloads.add(pn),fn.set(dn,pn)))}}return ct(e,n,`img`);case`base`:case`area`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`param`:case`source`:case`track`:case`wbr`:return ct(e,n,t);case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:break;case`head`:if(2>c.insertionMode){var vn=o||a.preamble;if(vn.headChunks)throw Error(r(545,"`<head>`"));o!==null&&e.push(ut),vn.headChunks=[];var yn=mt(vn.headChunks,n,`head`)}else yn=ht(e,n,`head`);return yn;case`body`:if(2>c.insertionMode){var bn=o||a.preamble;if(bn.bodyChunks)throw Error(r(545,"`<body>`"));o!==null&&e.push(dt),bn.bodyChunks=[];var xn=mt(bn.bodyChunks,n,`body`)}else xn=ht(e,n,`body`);return xn;case`html`:if(c.insertionMode===0){var Sn=o||a.preamble;if(Sn.htmlChunks)throw Error(r(545,"`<html>`"));o!==null&&e.push(ft),Sn.htmlChunks=[bt];var Cn=mt(Sn.htmlChunks,n,`html`)}else Cn=ht(e,n,`html`);return Cn;default:if(t.indexOf(`-`)!==-1){e.push(yt(t));var wn=null,Tn=null,En;for(En in n)if(B.call(n,En)){var Dn=n[En];if(Dn!=null){var On=En;switch(En){case`children`:wn=Dn;break;case`dangerouslySetInnerHTML`:Tn=Dn;break;case`style`:Be(e,Dn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`className`:On=`class`;default:if(ie(En)&&typeof Dn!=`function`&&typeof Dn!=`symbol`&&!1!==Dn){if(!0===Dn)Dn=``;else if(typeof Dn==`object`)continue;e.push(Ve,L(On),He,L(W(Dn)),Y)}}}}return e.push(Q),Qe(e,Tn,wn),wn}}return ht(e,n,t)}var St=new Map;function Ct(e){var t=St.get(e);return t===void 0&&(t=R(`</`+e+`>`),St.set(e,t)),t}function wt(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function Tt(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)N(e,t[n]);return n<t.length?(n=t[n],t.length=0,P(e,n)):!0}var Et=R(`requestAnimationFrame(function(){$RT=performance.now()});`),Dt=R(`<template id="`),Ot=R(`"></template>`),kt=R(`<!--&-->`),At=R(`<!--/&-->`),jt=R(`<!--$-->`),Mt=R(`<!--$?--><template id="`),Nt=R(`"></template>`),Pt=R(`<!--$!-->`),Ft=R(`<!--/$-->`),It=R(`<template`),Lt=R(`"`),Rt=R(` data-dgst="`);R(` data-msg="`),R(` data-stck="`),R(` data-cstck="`);var zt=R(`></template>`);function Bt(e,t,n){if(N(e,Mt),n===null)throw Error(r(395));return N(e,t.boundaryPrefix),N(e,L(n.toString(16))),P(e,Nt)}var Vt=R(`<div hidden id="`),Ht=R(`">`),Ut=R(`</div>`),Wt=R(`<svg aria-hidden="true" style="display:none" id="`),Gt=R(`">`),$=R(`</svg>`),Kt=R(`<math aria-hidden="true" style="display:none" id="`),qt=R(`">`),Jt=R(`</math>`),Yt=R(`<table hidden id="`),Xt=R(`">`),Zt=R(`</table>`),Qt=R(`<table hidden><tbody id="`),$t=R(`">`),en=R(`</tbody></table>`),tn=R(`<table hidden><tr id="`),nn=R(`">`),rn=R(`</tr></table>`),an=R(`<table hidden><colgroup id="`),on=R(`">`),sn=R(`</colgroup></table>`);function cn(e,t,n,i){switch(n.insertionMode){case 0:case 1:case 3:case 2:return N(e,Vt),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,Ht);case 4:return N(e,Wt),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,Gt);case 5:return N(e,Kt),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,qt);case 6:return N(e,Yt),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,Xt);case 7:return N(e,Qt),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,$t);case 8:return N(e,tn),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,nn);case 9:return N(e,an),N(e,t.segmentPrefix),N(e,L(i.toString(16))),P(e,on);default:throw Error(r(397))}}function ln(e,t){switch(t.insertionMode){case 0:case 1:case 3:case 2:return P(e,Ut);case 4:return P(e,$);case 5:return P(e,Jt);case 6:return P(e,Zt);case 7:return P(e,en);case 8:return P(e,rn);case 9:return P(e,sn);default:throw Error(r(397))}}var un=R(`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`),dn=R(`$RS("`),fn=R(`","`),pn=R(`")<\/script>`);R(`<template data-rsi="" data-sid="`),R(`" data-pid="`);var mn=R(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
33
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`);L(`$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),
34
+ H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z=
35
+ document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=
36
+ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);`);var hn=R(`$RC("`),gn=R(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
37
+ "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
38
+ "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),_n=R(`$RR("`),vn=R(`","`),yn=R(`",`),bn=R(`"`),xn=R(`)<\/script>`);R(`<template data-rci="" data-bid="`),R(`<template data-rri="" data-bid="`),R(`" data-sid="`),R(`" data-sty="`);var Sn=R(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`),Cn=R(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`),wn=R(`$RX("`),Tn=R(`"`),En=R(`,`),Dn=R(`)<\/script>`);R(`<template data-rxi="" data-bid="`),R(`" data-dgst="`),R(`" data-msg="`),R(`" data-stck="`),R(`" data-cstck="`);var On=/[<\u2028\u2029]/g;function kn(e){return JSON.stringify(e).replace(On,function(e){switch(e){case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}var An=/[&><\u2028\u2029]/g;function jn(e){return JSON.stringify(e).replace(An,function(e){switch(e){case`&`:return`\\u0026`;case`>`:return`\\u003e`;case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}var Mn=R(` media="not all" data-precedence="`),Nn=R(`" data-href="`),Pn=R(`">`),Fn=R(`</style>`),In=!1,Ln=!0;function Rn(e){var t=e.rules,n=e.hrefs,r=0;if(n.length){for(N(this,me.startInlineStyle),N(this,Mn),N(this,e.precedence),N(this,Nn);r<n.length-1;r++)N(this,n[r]),N(this,Kn);for(N(this,n[r]),N(this,Pn),r=0;r<t.length;r++)N(this,t[r]);Ln=P(this,Fn),In=!0,t.length=0,n.length=0}}function zn(e){return e.state===2?!1:In=!0}function Bn(e,t,n){return In=!1,Ln=!0,me=n,t.styles.forEach(Rn,e),me=null,t.stylesheets.forEach(zn),In&&(n.stylesToHoist=!0),Ln}function Vn(e){for(var t=0;t<e.length;t++)N(this,e[t]);e.length=0}var Hn=[];function Un(e){at(Hn,e.props);for(var t=0;t<Hn.length;t++)N(this,Hn[t]);Hn.length=0,e.state=2}var Wn=R(` data-precedence="`),Gn=R(`" data-href="`),Kn=R(` `),qn=R(`">`),Jn=R(`</style>`);function Yn(e){var t=0<e.sheets.size;e.sheets.forEach(Un,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(N(this,me.startInlineStyle),N(this,Wn),N(this,e.precedence),e=0,r.length){for(N(this,Gn);e<r.length-1;e++)N(this,r[e]),N(this,Kn);N(this,r[e])}for(N(this,qn),e=0;e<n.length;e++)N(this,n[e]);N(this,Jn),n.length=0,r.length=0}}function Xn(e){if(e.state===0){e.state=1;var t=e.props;for(at(Hn,{rel:`preload`,as:`style`,href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Hn.length;e++)N(this,Hn[e]);Hn.length=0}}function Zn(e){e.sheets.forEach(Xn,this),e.sheets.clear()}R(`<link rel="expect" href="#`),R(`" blocking="render"/>`);var Qn=R(` id="`);function $n(e,t){!(t.instructions&32)&&(t.instructions|=32,e.push(Qn,L(W(`_`+t.idPrefix+`R_`)),Y))}var er=R(`[`),tr=R(`,[`),nr=R(`,`),rr=R(`]`);function ir(e,t){N(e,er);var n=er;t.stylesheets.forEach(function(t){if(t.state!==2)if(t.state===3)N(e,n),N(e,L(jn(``+t.props.href))),N(e,rr),n=tr;else{N(e,n);var i=t.props[`data-precedence`],a=t.props;for(var o in N(e,L(jn(ce(``+t.props.href)))),i=``+i,N(e,nr),N(e,L(jn(i))),a)if(B.call(a,o)&&(i=a[o],i!=null))switch(o){case`href`:case`rel`:case`precedence`:case`data-precedence`:break;case`children`:case`dangerouslySetInnerHTML`:throw Error(r(399,`link`));default:ar(e,o,i)}N(e,rr),n=tr,t.state=3}}),N(e,rr)}function ar(e,t,n){var r=t.toLowerCase();switch(typeof n){case`function`:case`symbol`:return}switch(t){case`innerHTML`:case`dangerouslySetInnerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`style`:case`ref`:return;case`className`:r=`class`,t=``+n;break;case`hidden`:if(!1===n)return;t=``;break;case`src`:case`href`:n=ce(n),t=``+n;break;default:if(2<t.length&&(t[0]===`o`||t[0]===`O`)&&(t[1]===`n`||t[1]===`N`)||!ie(t))return;t=``+n}N(e,nr),N(e,L(jn(r))),N(e,nr),N(e,L(jn(t)))}function or(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function sr(e){var t=Vi||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=null,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+(``+e).replace(gr,_r)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=null,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],at(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}Ra(t)}}else fe.D(e)}function cr(e,t){var n=Vi||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=null,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+(``+e).replace(gr,_r)+`>; rel=preconnect`,typeof t==`string`){var c=(``+t).replace(vr,yr);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=null,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],at(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}Ra(n)}}else fe.C(e,t)}function lr(e,t,n){var r=Vi||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
39
+ `+(s||``):e;if(i.imageResources.hasOwnProperty(l))return;i.imageResources[l]=pe,i=a.headers;var u;i&&0<i.remainingCapacity&&typeof o!=`string`&&c===`high`&&(u=hr(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.image[l]=pe,i.highImagePreloads&&(i.highImagePreloads+=`, `),i.highImagePreloads+=u):(i=[],at(i,te({rel:`preload`,href:o?void 0:e,as:t},n)),c===`high`?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(l,i)));break;case`style`:if(i.styleResources.hasOwnProperty(e))return;o=[],at(o,te({rel:`preload`,href:e,as:t},n)),i.styleResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?pe:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case`script`:if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),at(o,te({rel:`preload`,href:e,as:t},n)),i.scriptResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?pe:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if(o=i.unknownResources[t],o.hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;if(o[e]=pe,(i=a.headers)&&0<i.remainingCapacity&&t===`font`&&(l=hr(e,t,n),0<=(i.remainingCapacity-=l.length+2)))a.resets.font[e]=pe,i.fontPreloads&&(i.fontPreloads+=`, `),i.fontPreloads+=l;else switch(i=[],e=te({rel:`preload`,href:e,as:t},n),at(i,e),t){case`font`:a.fontPreloads.add(i);break;default:a.bulkPreloads.add(i)}}Ra(r)}}else fe.L(e,t,n)}function ur(e,t){var n=Vi||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&typeof t.as==`string`?t.as:`script`;switch(a){case`script`:if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!=`string`&&typeof t.integrity!=`string`?pe:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a);break;default:if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=pe}at(a,te({rel:`modulepreload`,href:e},t)),i.bulkPreloads.add(a),Ra(n)}}else fe.m(e,t)}function dr(e,t,n){var r=Vi||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t||=`default`;var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;s!==null&&(i.styleResources[e]=null,o||(o={precedence:L(W(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:0,props:te({rel:`stylesheet`,href:e,"data-precedence":t},n)},s&&(s.length===2&&mr(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=1),o.sheets.set(e,t),Ra(r))}}else fe.S(e,t,n)}function fr(e,t){var n=Vi||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;a!==null&&(r.scriptResources[e]=null,t=te({src:e,async:!0},t),a&&(a.length===2&&mr(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),pt(e,t),Ra(n))}}else fe.X(e,t)}function pr(e,t){var n=Vi||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;a!==null&&(r.moduleScriptResources[e]=null,t=te({src:e,type:`module`,async:!0},t),a&&(a.length===2&&mr(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),pt(e,t),Ra(n))}}else fe.M(e,t)}function mr(e,t){e.crossOrigin??=t[0],e.integrity??=t[1]}function hr(e,t,n){for(var r in e=(``+e).replace(gr,_r),t=(``+t).replace(vr,yr),t=`<`+e+`>; rel=preload; as="`+t+`"`,n)B.call(n,r)&&(e=n[r],typeof e==`string`&&(t+=`; `+r.toLowerCase()+`="`+(``+e).replace(vr,yr)+`"`));return t}var gr=/[<>\r\n]/g;function _r(e){switch(e){case`<`:return`%3C`;case`>`:return`%3E`;case`
40
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}var vr=/["';,\r\n]/g;function yr(e){switch(e){case`"`:return`%22`;case`'`:return`%27`;case`;`:return`%3B`;case`,`:return`%2C`;case`
41
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function br(e){this.styles.add(e)}function xr(e){this.stylesheets.add(e)}function Sr(e,t){t.styles.forEach(br,e),t.stylesheets.forEach(xr,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Cr(e){return 0<e.stylesheets.size||e.suspenseyImages}var wr=Function.prototype.bind,Tr=Symbol.for(`react.client.reference`);function Er(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Tr?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case o:return`Fragment`;case c:return`Profiler`;case s:return`StrictMode`;case f:return`Suspense`;case p:return`SuspenseList`;case _:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case a:return`Portal`;case u:return e.displayName||`Context`;case l:return(e._context.displayName||`Context`)+`.Consumer`;case d:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case m:return t=e.displayName||null,t===null?Er(e.type)||`Memo`:t;case h:t=e._payload,e=e._init;try{return Er(e(t))}catch{}}return null}var Dr={},Or=null;function kr(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(r(401))}else{if(n===null)throw Error(r(401));kr(e,n)}t.context._currentValue=t.value}}function Ar(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&Ar(e)}function jr(e){var t=e.parent;t!==null&&jr(t),e.context._currentValue=e.value}function Mr(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(r(402));e.depth===t.depth?kr(e,t):Mr(e,t)}function Nr(e,t){var n=t.parent;if(n===null)throw Error(r(402));e.depth===n.depth?kr(e,n):Nr(e,n),t.context._currentValue=t.value}function Pr(e){var t=Or;t!==e&&(t===null?jr(e):e===null?Ar(t):t.depth===e.depth?kr(t,e):t.depth>e.depth?Mr(t,e):Nr(t,e),Or=e)}var Fr={enqueueSetState:function(e,t){e=e._reactInternals,e.queue!==null&&e.queue.push(t)},enqueueReplaceState:function(e,t){e=e._reactInternals,e.replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}},Ir={id:1,overflow:``};function Lr(e,t,n){var r=e.id;e=e.overflow;var i=32-Rr(r)-1;r&=~(1<<i),n+=1;var a=32-Rr(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-Rr(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}var Rr=Math.clz32?Math.clz32:Vr,zr=Math.log,Br=Math.LN2;function Vr(e){return e>>>=0,e===0?32:31-(zr(e)/Br|0)|0}function Hr(){}var Ur=Error(r(460));function Wr(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Hr,Hr),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason;default:switch(typeof t.status==`string`?t.then(Hr,Hr):(e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason}throw Gr=t,Ur}}var Gr=null;function Kr(){if(Gr===null)throw Error(r(459));var e=Gr;return Gr=null,e}function qr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Jr=typeof Object.is==`function`?Object.is:qr,Yr=null,Xr=null,Zr=null,Qr=null,$r=null,ei=null,ti=!1,ni=!1,ri=0,ii=0,ai=-1,oi=0,si=null,ci=null,li=0;function ui(){if(Yr===null)throw Error(r(321));return Yr}function di(){if(0<li)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function fi(){return ei===null?$r===null?(ti=!1,$r=ei=di()):(ti=!0,ei=$r):ei.next===null?(ti=!1,ei=ei.next=di()):(ti=!0,ei=ei.next),ei}function pi(){var e=si;return si=null,e}function mi(){Qr=Zr=Xr=Yr=null,ni=!1,$r=null,li=0,ei=ci=null}function hi(e,t){return typeof t==`function`?t(e):t}function gi(e,t,n){if(Yr=ui(),ei=fi(),ti){var r=ei.queue;if(t=r.dispatch,ci!==null&&(n=ci.get(r),n!==void 0)){ci.delete(r),r=ei.memoizedState;do r=e(r,n.action),n=n.next;while(n!==null);return ei.memoizedState=r,[r,t]}return[ei.memoizedState,t]}return e=e===hi?typeof t==`function`?t():t:n===void 0?t:n(t),ei.memoizedState=e,e=ei.queue={last:null,dispatch:null},e=e.dispatch=vi.bind(null,Yr,e),[ei.memoizedState,e]}function _i(e,t){if(Yr=ui(),ei=fi(),t=t===void 0?null:t,ei!==null){var n=ei.memoizedState;if(n!==null&&t!==null){var r=n[1];a:if(r===null)r=!1;else{for(var i=0;i<r.length&&i<t.length;i++)if(!Jr(t[i],r[i])){r=!1;break a}r=!0}if(r)return n[0]}}return e=e(),ei.memoizedState=[e,t],e}function vi(e,t,n){if(25<=li)throw Error(r(301));if(e===Yr)if(ni=!0,e={action:n,next:null},ci===null&&(ci=new Map),n=ci.get(t),n===void 0)ci.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function yi(){throw Error(r(440))}function bi(){throw Error(r(394))}function xi(){throw Error(r(479))}function Si(e,t,n){ui();var r=ii++,i=Zr;if(typeof e.$$FORM_ACTION==`function`){var a=null,o=Qr;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(i!==null&&typeof s==`function`){var c=i[1];s.call(e,i[2],i[3])&&(a=n===void 0?`k`+w(JSON.stringify([o,null,r]),0):`p`+n,c===a&&(ai=r,t=i[0]))}var l=e.bind(null,t);return e=function(e){l(e)},typeof l.$$FORM_ACTION==`function`&&(e.$$FORM_ACTION=function(e){e=l.$$FORM_ACTION(e),n!==void 0&&(n+=``,e.action=n);var t=e.data;return t&&(a===null&&(a=n===void 0?`k`+w(JSON.stringify([o,null,r]),0):`p`+n),t.append(`$ACTION_KEY`,a)),e}),[t,e,!1]}var u=e.bind(null,t);return[t,function(e){u(e)},!1]}function Ci(e){var t=oi;return oi+=1,si===null&&(si=[]),Wr(si,e,t)}function wi(){throw Error(r(393))}var Ti={readContext:function(e){return e._currentValue},use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Ci(e);if(e.$$typeof===u)return e._currentValue}throw Error(r(438,String(e)))},useContext:function(e){return ui(),e._currentValue},useMemo:_i,useReducer:gi,useRef:function(e){Yr=ui(),ei=fi();var t=ei.memoizedState;return t===null?(e={current:e},ei.memoizedState=e):t},useState:function(e){return gi(hi,e)},useInsertionEffect:Hr,useLayoutEffect:Hr,useCallback:function(e,t){return _i(function(){return e},t)},useImperativeHandle:Hr,useEffect:Hr,useDebugValue:Hr,useDeferredValue:function(e,t){return ui(),t===void 0?e:t},useTransition:function(){return ui(),[!1,bi]},useId:function(){var e=Xr.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-Rr(e)-1)).toString(32)+t;var n=Ei;if(n===null)throw Error(r(404));return t=ri++,e=`_`+n.idPrefix+`R_`+e,0<t&&(e+=`H`+t.toString(32)),e+`_`},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(r(407));return n()},useOptimistic:function(e){return ui(),[e,xi]},useActionState:Si,useFormState:Si,useHostTransitionStatus:function(){return ui(),de},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=y;return t},useCacheRefresh:function(){return wi},useEffectEvent:function(){return yi}},Ei=null,Di={getCacheForType:function(){throw Error(r(248))},cacheSignal:function(){throw Error(r(248))}},Oi,ki;function Ai(e){if(Oi===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Oi=t&&t[1]||``,ki=-1<e.stack.indexOf(`
42
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
43
+ `+Oi+e+ki}var ji=!1;function Mi(e,t){if(!e||ji)return``;ji=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
44
+ `),l=s.split(`
45
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
46
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{ji=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Ai(n):``}function Ni(e){if(typeof e==`string`)return Ai(e);if(typeof e==`function`)return e.prototype&&e.prototype.isReactComponent?Mi(e,!0):Mi(e,!1);if(typeof e==`object`&&e){switch(e.$$typeof){case d:return Mi(e.render,!1);case m:return Mi(e.type,!1);case h:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Ai(`Lazy`)}return Ni(e)}if(typeof e.name==`string`){a:{n=e.name,t=e.env;var r=e.debugLocation;if(r!=null&&(e=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=r.stack,Error.prepareStackTrace=e,r.startsWith(`Error: react-stack-top-frame
47
+ `)&&(r=r.slice(29)),e=r.indexOf(`
48
+ `),e!==-1&&(r=r.slice(e+1)),e=r.indexOf(`react_stack_bottom_frame`),e!==-1&&(e=r.lastIndexOf(`
49
+ `,e)),e=e===-1?``:r=r.slice(0,e),r=e.lastIndexOf(`
50
+ `),e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1)){n=`
51
+ `+e;break a}n=Ai(n+(t?` [`+t+`]`:``))}return n}}switch(e){case p:return Ai(`SuspenseList`);case f:return Ai(`Suspense`)}return``}function Pi(e,t){return(500<t.byteSize||Cr(t.contentState))&&t.contentPreamble===null}function Fi(e){if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var t=e.environmentName;e=[e].slice(0),typeof e[0]==`string`?e.splice(0,1,`%c%s%c `+e[0],`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``):e.splice(0,0,`%c%s%c`,`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``),e.unshift(console),t=wr.apply(console.error,e),t()}else console.error(e);return null}function Ii(e,t,n,r,i,a,o,s,c,l,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=i===void 0?Fi:i,this.onPostpone=l===void 0?Hr:l,this.onAllReady=a===void 0?Hr:a,this.onShellReady=o===void 0?Hr:o,this.onShellError=s===void 0?Hr:s,this.onFatalError=c===void 0?Hr:c,this.formState=u===void 0?null:u}function Li(e,t,n,r,i,a,o,s,c,l,u,d){return t=new Ii(t,n,r,i,a,o,s,c,l,u,d),n=Ki(t,0,null,r,!1,!1),n.parentFlushed=!0,e=Wi(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,Ir,null,null),qi(e),t.pingedTasks.push(e),t}function Ri(e,t,n,r,i,a,o,s,c,l,u){return e=Li(e,t,n,r,i,a,o,s,c,l,u,void 0),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function zi(e,t,n,r,i,a,o,s,c){return n=new Ii(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,i,a,o,s,c,null),n.nextSegmentId=t.nextSegmentId,typeof t.replaySlots==`number`?(r=Ki(n,0,null,t.rootFormatContext,!1,!1),r.parentFlushed=!0,e=Wi(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,Ir,null,null),qi(e),n.pingedTasks.push(e),n):(e=Gi(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,Ir,null,null),qi(e),n.pingedTasks.push(e),n)}function Bi(e,t,n,r,i,a,o,s,c){return e=zi(e,t,n,r,i,a,o,s,c),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}var Vi=null;function Hi(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,e.trackedPostpones!==null||e.status===10?A(function(){return Ta(e)}):D(function(){return Ta(e)}))}function Ui(e,t,n,r,i){return n={status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:or(),fallbackState:or(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&Sr(n.contentState,e)),n}function Wi(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,p!==null&&p.pendingTasks++;var h={replay:null,node:n,childIndex:r,ping:function(){return Hi(e,h)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:c,keyPath:l,formatContext:u,context:d,treeContext:f,row:p,componentStack:m,thenableState:t};return c.add(h),h}function Gi(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.allPendingTasks++,a===null?e.pendingRootTasks++:a.pendingTasks++,f!==null&&f.pendingTasks++,n.pendingTasks++;var m={replay:n,node:r,childIndex:i,ping:function(){return Hi(e,m)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:c,formatContext:l,context:u,treeContext:d,row:f,componentStack:p,thenableState:t};return s.add(m),m}function Ki(e,t,n,r,i,a){return{status:0,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function qi(e){var t=e.node;if(typeof t==`object`&&t)switch(t.$$typeof){case i:e.componentStack={parent:e.componentStack,type:t.type}}}function Ji(e){return e===null?null:{parent:e.parent,type:`Suspense Fallback`}}function Yi(e){var t={};return e&&Object.defineProperty(t,`componentStack`,{configurable:!0,enumerable:!0,get:function(){try{var n=``,r=e;do n+=Ni(r.type),r=r.parent;while(r);var i=n}catch(e){i=`
52
+ Error generating stack: `+e.message+`
53
+ `+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Xi(e,t,n){if(e=e.onError,t=e(t,n),t==null||typeof t==`string`)return t}function Zi(e,t){var n=e.onShellError,r=e.onFatalError;n(t),r(t),e.destination===null?(e.status=13,e.fatalError=t):(e.status=14,ee(e.destination,t))}function Qi(e,t){$i(e,t.next,t.hoistables)}function $i(e,t,n){for(;t!==null;){n!==null&&(Sr(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&Sr(a.contentState,n),wa(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function ea(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||Pi(e,a)){r=!1;break}}r&&$i(e,t,t.hoistables)}}function ta(e){var t={pendingTasks:1,boundaries:null,hoistables:or(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function na(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row;t.keyPath=n,n=r.length;var c=null;if(t.replay!==null){var l=t.replay.slots;if(typeof l==`object`&&l)for(var u=0;u<n;u++){var d=i!==`backwards`&&i!==`unstable_legacy-backwards`?u:n-1-u,f=r[d];t.row=c=ta(c),t.treeContext=Lr(o,n,d);var p=l[d];typeof p==`number`?(oa(e,t,p,f,d),delete l[d]):ha(e,t,f,d),--c.pendingTasks===0&&Qi(e,c)}else for(l=0;l<n;l++)u=i!==`backwards`&&i!==`unstable_legacy-backwards`?l:n-1-l,d=r[u],t.row=c=ta(c),t.treeContext=Lr(o,n,u),ha(e,t,d,u),--c.pendingTasks===0&&Qi(e,c)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)l=r[i],t.row=c=ta(c),t.treeContext=Lr(o,n,i),ha(e,t,l,i),--c.pendingTasks===0&&Qi(e,c);else{for(i=t.blockedSegment,l=i.children.length,u=i.chunks.length,d=n-1;0<=d;d--){f=r[d],t.row=c=ta(c),t.treeContext=Lr(o,n,d),p=Ki(e,u,null,t.formatContext,d===0?i.lastPushedText:!0,!0),i.children.splice(l,0,p),t.blockedSegment=p;try{ha(e,t,f,d),p.lastPushedText&&p.textEmbedded&&p.chunks.push(Pe),p.status=1,Ca(e,t.blockedBoundary,p),--c.pendingTasks===0&&Qi(e,c)}catch(t){throw p.status=e.status===12?3:4,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&c!==null&&0<c.pendingTasks&&(s.pendingTasks++,c.next=s),t.treeContext=o,t.row=s,t.keyPath=a}function ra(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Yr={},Xr=t,Zr=e,Qr=n,ii=ri=0,ai=-1,oi=0,si=o,e=r(i,a);ni;)ni=!1,ii=ri=0,ai=-1,oi=0,li+=1,ei=null,e=r(i,a);return mi(),e}function ia(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(rt):c.push(it)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=Lr(n,1,0),ha(e,t,r,-1),t.treeContext=n):s?ha(e,t,r,-1):sa(e,t,r,-1),t.keyPath=a}function aa(e,t,n,i,a,y){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var x=a;if(`ref`in a)for(var w in x={},a)w!==`ref`&&(x[w]=a[w]);var T=i.defaultProps;if(T)for(var E in x===a&&(x=te({},x,a)),T)x[E]===void 0&&(x[E]=T[E]);a=x,x=Dr,T=i.contextType,typeof T==`object`&&T&&(x=T._currentValue),x=new i(a,x);var D=x.state===void 0?null:x.state;if(x.updater=Fr,x.props=a,x.state=D,T={queue:[],replace:!1},x._reactInternals=T,y=i.contextType,x.context=typeof y==`object`&&y?y._currentValue:Dr,y=i.getDerivedStateFromProps,typeof y==`function`&&(y=y(a,D),D=y==null?D:te({},D,y),x.state=D),typeof i.getDerivedStateFromProps!=`function`&&typeof x.getSnapshotBeforeUpdate!=`function`&&(typeof x.UNSAFE_componentWillMount==`function`||typeof x.componentWillMount==`function`))if(i=x.state,typeof x.componentWillMount==`function`&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount==`function`&&x.UNSAFE_componentWillMount(),i!==x.state&&Fr.enqueueReplaceState(x,x.state,null),T.queue!==null&&0<T.queue.length)if(i=T.queue,y=T.replace,T.queue=null,T.replace=!1,y&&i.length===1)x.state=i[0];else{for(T=y?i[0]:x.state,D=!0,y=y?1:0;y<i.length;y++)E=i[y],E=typeof E==`function`?E.call(x,T,a,void 0):E,E!=null&&(D?(D=!1,T=te({},T,E)):te(T,E));x.state=T}else T.queue=null;if(i=x.render(),e.status===12)throw null;a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a}else{if(i=ra(e,t,n,i,a,void 0),e.status===12)throw null;ia(e,t,n,i,ri!==0,ii,ai)}else if(typeof i==`string`)if(x=t.blockedSegment,x===null)x=a.children,T=t.formatContext,D=t.keyPath,t.formatContext=Ae(T,i,a),t.keyPath=n,ha(e,t,x,-1),t.formatContext=T,t.keyPath=D;else{if(D=xt(x.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,x.lastPushedText),x.lastPushedText=!1,T=t.formatContext,y=t.keyPath,t.keyPath=n,(t.formatContext=Ae(T,i,a)).insertionMode===3){n=Ki(e,0,null,t.formatContext,!1,!1),x.preambleChildren.push(n),t.blockedSegment=n;try{n.status=6,ha(e,t,D,-1),n.lastPushedText&&n.textEmbedded&&n.chunks.push(Pe),n.status=1,Ca(e,t.blockedBoundary,n)}finally{t.blockedSegment=x}}else ha(e,t,D,-1);t.formatContext=T,t.keyPath=y;a:{switch(t=x.chunks,e=e.resumableState,i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(1>=T.insertionMode){e.hasBody=!0;break a}break;case`html`:if(T.insertionMode===0){e.hasHtml=!0;break a}break;case`head`:if(1>=T.insertionMode)break a}t.push(Ct(i))}x.lastPushedText=!1}else{switch(i){case v:case s:case c:case o:i=t.keyPath,t.keyPath=n,sa(e,t,a.children,-1),t.keyPath=i;return;case _:i=t.blockedSegment,i===null?a.mode!==`hidden`&&(i=t.keyPath,t.keyPath=n,ha(e,t,a.children,-1),t.keyPath=i):a.mode!==`hidden`&&(i.chunks.push(kt),i.lastPushedText=!1,x=t.keyPath,t.keyPath=n,ha(e,t,a.children,-1),t.keyPath=x,i.chunks.push(At),i.lastPushedText=!1);return;case p:a:{if(i=a.children,a=a.revealOrder,a===`forwards`||a===`backwards`||a===`unstable_legacy-backwards`){if(C(i)){na(e,t,n,i,a);break a}if((x=S(i))&&(x=x.call(i))){if(T=x.next(),!T.done){do T=x.next();while(!T.done);na(e,t,n,i,a)}break a}}a===`together`?(a=t.keyPath,x=t.row,T=t.row=ta(null),T.boundaries=[],T.together=!0,t.keyPath=n,sa(e,t,i,-1),--T.pendingTasks===0&&Qi(e,T),t.keyPath=a,t.row=x,x!==null&&0<T.pendingTasks&&(x.pendingTasks++,T.next=x)):(a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a)}return;case b:case g:throw Error(r(343));case f:a:if(t.replay!==null){i=t.keyPath,x=t.formatContext,T=t.row,t.keyPath=n,t.formatContext=Ne(e.resumableState,x),t.row=null,n=a.children;try{ha(e,t,n,-1)}finally{t.keyPath=i,t.formatContext=x,t.row=T}}else{i=t.keyPath,y=t.formatContext;var O=t.row;E=t.blockedBoundary,w=t.blockedPreamble;var k=t.hoistableState,A=t.blockedSegment,j=a.fallback;a=a.children;var M=new Set,N=2>t.formatContext.insertionMode?Ui(e,t.row,M,De(),De()):Ui(e,t.row,M,null,null);e.trackedPostpones!==null&&(N.trackedContentKeyPath=n);var P=Ki(e,A.chunks.length,N,t.formatContext,!1,!1);A.children.push(P),A.lastPushedText=!1;var F=Ki(e,0,null,t.formatContext,!1,!1);if(F.parentFlushed=!0,e.trackedPostpones!==null){x=t.componentStack,T=[n[0],`Suspense Fallback`,n[2]],D=[T[1],T[2],[],null],e.trackedPostpones.workingMap.set(T,D),N.trackedFallbackNode=D,t.blockedSegment=P,t.blockedPreamble=N.fallbackPreamble,t.keyPath=T,t.formatContext=Me(e.resumableState,y),t.componentStack=Ji(x),P.status=6;try{ha(e,t,j,-1),P.lastPushedText&&P.textEmbedded&&P.chunks.push(Pe),P.status=1,Ca(e,E,P)}catch(t){throw P.status=e.status===12?3:4,t}finally{t.blockedSegment=A,t.blockedPreamble=w,t.keyPath=i,t.formatContext=y}t=Wi(e,null,a,-1,N,F,N.contentPreamble,N.contentState,t.abortSet,n,Ne(e.resumableState,t.formatContext),t.context,t.treeContext,null,x),qi(t),e.pingedTasks.push(t)}else{t.blockedBoundary=N,t.blockedPreamble=N.contentPreamble,t.hoistableState=N.contentState,t.blockedSegment=F,t.keyPath=n,t.formatContext=Ne(e.resumableState,y),t.row=null,F.status=6;try{if(ha(e,t,a,-1),F.lastPushedText&&F.textEmbedded&&F.chunks.push(Pe),F.status=1,Ca(e,N,F),Sa(N,F),N.pendingTasks===0&&N.status===0){if(N.status=1,!Pi(e,N)){O!==null&&--O.pendingTasks===0&&Qi(e,O),e.pendingRootTasks===0&&t.blockedPreamble&&Oa(e);break a}}else O!==null&&O.together&&ea(e,O)}catch(n){N.status=4,e.status===12?(F.status=3,x=e.fatalError):(F.status=4,x=n),T=Yi(t.componentStack),D=Xi(e,x,T),N.errorDigest=D,fa(e,N)}finally{t.blockedBoundary=E,t.blockedPreamble=w,t.hoistableState=k,t.blockedSegment=A,t.keyPath=i,t.formatContext=y,t.row=O}t=Wi(e,null,j,-1,E,P,N.fallbackPreamble,N.fallbackState,M,[n[0],`Suspense Fallback`,n[2]],Me(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ji(t.componentStack)),qi(t),e.pingedTasks.push(t)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case d:if(`ref`in a)for(A in x={},a)A!==`ref`&&(x[A]=a[A]);else x=a;i=ra(e,t,n,i.render,x,y),ia(e,t,n,i,ri!==0,ii,ai);return;case m:aa(e,t,n,i.type,a,y);return;case u:if(T=a.children,x=t.keyPath,a=a.value,D=i._currentValue,i._currentValue=a,y=Or,Or=i={parent:y,depth:y===null?0:y.depth+1,context:i,parentValue:D,value:a},t.context=i,t.keyPath=n,sa(e,t,T,-1),e=Or,e===null)throw Error(r(403));e.context._currentValue=e.parentValue,e=Or=e.parent,t.context=e,t.keyPath=x;return;case l:a=a.children,i=a(i._context._currentValue),a=t.keyPath,t.keyPath=n,sa(e,t,i,-1),t.keyPath=a;return;case h:if(x=i._init,i=x(i._payload),e.status===12)throw null;aa(e,t,n,i,a,y);return}throw Error(r(130,i==null?i:typeof i,``))}}function oa(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Ki(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,ha(e,t,r,i),s.status=1,Ca(e,o,s),o===null?e.completedRootSegment=s:(Sa(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function sa(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?oa(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,qi(t),ca(e,t),t.componentStack=n)}function ca(e,t){var n=t.node,o=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case i:var s=n.type,c=n.key,l=n.props;n=l.ref;var d=n===void 0?null:n,p=Er(s),m=c??(o===-1?0:o);if(c=[t.keyPath,p,m],t.replay!==null)a:{var g=t.replay;for(o=g.nodes,n=0;n<o.length;n++){var _=o[n];if(m===_[1]){if(_.length===4){if(p!==null&&p!==_[0])throw Error(r(490,_[0],p));var v=_[2];p=_[3],m=t.node,t.replay={nodes:v,slots:p,pendingTasks:1};try{if(aa(e,t,c,s,l,d),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Ur||typeof r.then==`function`))throw t.node===m?t.replay=g:o.splice(n,1),r;t.replay.pendingTasks--,l=Yi(t.componentStack),c=e,e=t.blockedBoundary,s=r,l=Xi(c,s,l),_a(c,e,v,p,s,l)}t.replay=g}else{if(s!==f)throw Error(r(490,`Suspense`,Er(s)||`Unknown`));b:{g=void 0,s=_[5],d=_[2],p=_[3],m=_[4]===null?[]:_[4][2],_=_[4]===null?null:_[4][3];var y=t.keyPath,b=t.formatContext,x=t.row,w=t.replay,T=t.blockedBoundary,E=t.hoistableState,D=l.children,O=l.fallback,k=new Set;l=2>t.formatContext.insertionMode?Ui(e,t.row,k,De(),De()):Ui(e,t.row,k,null,null),l.parentFlushed=!0,l.rootSegmentID=s,t.blockedBoundary=l,t.hoistableState=l.contentState,t.keyPath=c,t.formatContext=Ne(e.resumableState,b),t.row=null,t.replay={nodes:d,slots:p,pendingTasks:1};try{if(ha(e,t,D,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));if(t.replay.pendingTasks--,l.pendingTasks===0&&l.status===0){l.status=1,e.completedBoundaries.push(l);break b}}catch(n){l.status=4,v=Yi(t.componentStack),g=Xi(e,n,v),l.errorDigest=g,t.replay.pendingTasks--,e.clientRenderedBoundaries.push(l)}finally{t.blockedBoundary=T,t.hoistableState=E,t.replay=w,t.keyPath=y,t.formatContext=b,t.row=x}v=Gi(e,null,{nodes:m,slots:_,pendingTasks:0},O,-1,T,l.fallbackState,k,[c[0],`Suspense Fallback`,c[2]],Me(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Ji(t.componentStack)),qi(v),e.pingedTasks.push(v)}}o.splice(n,1);break a}}}else aa(e,t,c,s,l,d);return;case a:throw Error(r(257));case h:if(v=n._init,n=v(n._payload),e.status===12)throw null;sa(e,t,n,o);return}if(C(n)){la(e,t,n,o);return}if((v=S(n))&&(v=v.call(n))){if(n=v.next(),!n.done){l=[];do l.push(n.value),n=v.next();while(!n.done);la(e,t,l,o)}return}if(typeof n.then==`function`)return t.thenableState=null,sa(e,t,Ci(n),o);if(n.$$typeof===u)return sa(e,t,n._currentValue,o);throw o=Object.prototype.toString.call(n),Error(r(31,o===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:o))}typeof n==`string`?(o=t.blockedSegment,o!==null&&(o.lastPushedText=Fe(o.chunks,n,e.renderState,o.lastPushedText))):(typeof n==`number`||typeof n==`bigint`)&&(o=t.blockedSegment,o!==null&&(o.lastPushedText=Fe(o.chunks,``+n,e.renderState,o.lastPushedText)))}}function la(e,t,n,i){var a=t.keyPath;if(i!==-1&&(t.keyPath=[t.keyPath,`Fragment`,i],t.replay!==null)){for(var o=t.replay,s=o.nodes,c=0;c<s.length;c++){var l=s[c];if(l[1]===i){i=l[2],l=l[3],t.replay={nodes:i,slots:l,pendingTasks:1};try{if(la(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(r(488));t.replay.pendingTasks--}catch(r){if(typeof r==`object`&&r&&(r===Ur||typeof r.then==`function`))throw r;t.replay.pendingTasks--,n=Yi(t.componentStack);var u=t.blockedBoundary,d=r;n=Xi(e,d,n),_a(e,u,i,l,d,n)}t.replay=o,s.splice(c,1);break}}t.keyPath=a;return}if(o=t.treeContext,s=n.length,t.replay!==null&&(c=t.replay.slots,typeof c==`object`&&c)){for(i=0;i<s;i++)l=n[i],t.treeContext=Lr(o,s,i),u=c[i],typeof u==`number`?(oa(e,t,u,l,i),delete c[i]):ha(e,t,l,i);t.treeContext=o,t.keyPath=a;return}for(c=0;c<s;c++)i=n[c],t.treeContext=Lr(o,s,c),ha(e,t,i,c);t.treeContext=o,t.keyPath=a}function ua(e,t,n){if(n.status=5,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(r(486));var i=n.trackedFallbackNode,a=[],o=t.workingMap.get(e);return o===void 0?(n=[e[1],e[2],a,null,i,n.rootSegmentID],t.workingMap.set(e,n),Va(n,e[0],t),n):(o[4]=i,o[5]=n.rootSegmentID,o)}function da(e,t,n,i){i.status=5;var a=n.keyPath,o=n.blockedBoundary;if(o===null)i.id=e.nextSegmentId++,t.rootSlots=i.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=5);else{if(o!==null&&o.status===0){var s=ua(e,t,o);if(o.trackedContentKeyPath===a&&n.childIndex===-1){i.id===-1&&(i.id=i.parentFlushed?o.rootSegmentID:e.nextSegmentId++),s[3]=i.id;return}}if(i.id===-1&&(i.id=i.parentFlushed&&o!==null?o.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)a===null?t.rootSlots=i.id:(n=t.workingMap.get(a),n===void 0?(n=[a[1],a[2],[],i.id],Va(n,a[0],t)):n[3]=i.id);else{if(a===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(r(491))}else if(o=t.workingMap,s=o.get(a),s===void 0)e={},s=[a[1],a[2],[],e],o.set(a,s),Va(s,a[0],t);else if(e=s[3],e===null)e=s[3]={};else if(typeof e==`number`)throw Error(r(491));e[n.childIndex]=i.id}}}function fa(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function pa(e,t,n){return Gi(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ma(e,t,n){var r=t.blockedSegment,i=Ki(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Wi(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack)}function ha(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.blockedSegment;if(l===null){l=t.replay;try{return sa(e,t,n,r)}catch(u){if(mi(),n=u===Ur?Kr():u,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=u===Ur?pi():null,e=pa(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Pr(a);return}if(n.message===`Maximum call stack size exceeded`){n=u===Ur?pi():null,n=pa(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=l,Pr(a);return}}}}else{var u=l.children.length,d=l.chunks.length;try{return sa(e,t,n,r)}catch(r){if(mi(),l.children.length=u,l.chunks.length=d,n=r===Ur?Kr():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){l=n,n=r===Ur?pi():null,e=ma(e,t,n).ping,l.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Pr(a);return}if(n.message===`Maximum call stack size exceeded`){l=r===Ur?pi():null,l=ma(e,t,l),e.pingedTasks.push(l),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,Pr(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Pr(a),n}function ga(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=3,wa(this,t,e.row,n))}function _a(e,t,n,i,a,o){for(var s=0;s<n.length;s++){var c=n[s];if(c.length===4)_a(e,t,c[2],c[3],a,o);else{c=c[5];var l=e,u=o,d=Ui(l,null,new Set,null,null);d.parentFlushed=!0,d.rootSegmentID=c,d.status=4,d.errorDigest=u,d.parentFlushed&&l.clientRenderedBoundaries.push(d)}}if(n.length=0,i!==null){if(t===null)throw Error(r(487));if(t.status!==4&&(t.status=4,t.errorDigest=o,t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof i==`object`)for(var f in i)delete i[f]}}function va(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=3}var a=Yi(e.componentStack);if(r===null){if(t.status!==13&&t.status!==14){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Xi(t,n,a),da(t,r,e,i),wa(t,null,e.row,i)):(Xi(t,n,a),Zi(t,n));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Xi(t,n,a),_a(t,null,r.nodes,r.slots,n,i)),t.pendingRootTasks--,t.pendingRootTasks===0&&ba(t)}}else{var o=t.trackedPostpones;if(r.status!==4){if(o!==null&&i!==null)return Xi(t,n,a),da(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return va(e,t,n)}),r.fallbackAbortableTasks.clear(),wa(t,r,e.row,i);r.status=4,i=Xi(t,n,a),r.status=4,r.errorDigest=i,fa(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,i=r.row,i!==null&&--i.pendingTasks===0&&Qi(t,i),r.fallbackAbortableTasks.forEach(function(e){return va(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Qi(t,e),t.allPendingTasks--,t.allPendingTasks===0&&xa(t)}function ya(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=hr(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=pe,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:pe;else break b}}r(a?{Link:a}:{})}}}catch(t){Xi(e,t,{})}}function ba(e){e.trackedPostpones===null&&ya(e,!0),e.trackedPostpones===null&&Oa(e),e.onShellError=Hr,e=e.onShellReady,e()}function xa(e){ya(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==5),Oa(e),e=e.onAllReady,e()}function Sa(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==1&&n.status!==3&&n.status!==4||Sa(e,n)}else e.completedSegments.push(t)}function Ca(e,t,n){if(z!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function wa(e,t,n,i){if(n!==null&&(--n.pendingTasks===0?Qi(e,n):n.together&&ea(e,n)),e.allPendingTasks--,t===null){if(i!==null&&i.parentFlushed){if(e.completedRootSegment!==null)throw Error(r(389));e.completedRootSegment=i}e.pendingRootTasks--,e.pendingRootTasks===0&&ba(e)}else if(t.pendingTasks--,t.status!==4)if(t.pendingTasks===0){if(t.status===0&&(t.status=1),i!==null&&i.parentFlushed&&(i.status===1||i.status===3)&&Sa(t,i),t.parentFlushed&&e.completedBoundaries.push(t),t.status===1)n=t.row,n!==null&&Sr(n.hoistables,t.contentState),Pi(e,t)||(t.fallbackAbortableTasks.forEach(ga,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Qi(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&Oa(e);else if(t.status===5&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var a=t.next;if(a!==null&&(i=a.boundaries,i!==null))for(a.boundaries=null,a=0;a<i.length;a++){var o=i[a];ua(e,n,o),wa(e,o,null,null)}}--t.pendingTasks===0&&Qi(e,t)}}else i===null||!i.parentFlushed||i.status!==1&&i.status!==3||(Sa(t,i),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&ea(e,t);e.allPendingTasks===0&&xa(e)}function Ta(e){if(e.status!==14&&e.status!==13){var t=Or,n=le.H;le.H=Ti;var i=le.A;le.A=Di;var a=Vi;Vi=e;var o=Ei;Ei=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=s[c],u=e,d=l.blockedSegment;if(d===null){var f=u;if(l.replay.pendingTasks!==0){Pr(l.context);try{if(typeof l.replay.slots==`number`?oa(f,l,l.replay.slots,l.node,l.childIndex):ca(f,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(r(488));l.replay.pendingTasks--,l.abortSet.delete(l),wa(f,l.blockedBoundary,l.row,null)}catch(e){mi();var p=e===Ur?Kr():e;if(typeof p==`object`&&p&&typeof p.then==`function`){var m=l.ping;p.then(m,m),l.thenableState=e===Ur?pi():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var h=Yi(l.componentStack);u=void 0;var g=f,_=l.blockedBoundary,v=f.status===12?f.fatalError:p,y=l.replay.nodes,b=l.replay.slots;u=Xi(g,v,h),_a(g,_,y,b,v,u),f.pendingRootTasks--,f.pendingRootTasks===0&&ba(f),f.allPendingTasks--,f.allPendingTasks===0&&xa(f)}}}}else if(f=void 0,g=d,g.status===0){g.status=6,Pr(l.context);var x=g.children.length,S=g.chunks.length;try{ca(u,l),g.lastPushedText&&g.textEmbedded&&g.chunks.push(Pe),l.abortSet.delete(l),g.status=1,Ca(u,l.blockedBoundary,g),wa(u,l.blockedBoundary,l.row,g)}catch(e){mi(),g.children.length=x,g.chunks.length=S;var C=e===Ur?Kr():u.status===12?u.fatalError:e;if(u.status===12&&u.trackedPostpones!==null){var w=u.trackedPostpones,T=Yi(l.componentStack);l.abortSet.delete(l),Xi(u,C,T),da(u,w,l,g),wa(u,l.blockedBoundary,l.row,g)}else if(typeof C==`object`&&C&&typeof C.then==`function`){g.status=0,l.thenableState=e===Ur?pi():null;var E=l.ping;C.then(E,E)}else{var D=Yi(l.componentStack);l.abortSet.delete(l),g.status=4;var O=l.blockedBoundary,k=l.row;if(k!==null&&--k.pendingTasks===0&&Qi(u,k),u.allPendingTasks--,f=Xi(u,C,D),O===null)Zi(u,C);else if(O.pendingTasks--,O.status!==4){O.status=4,O.errorDigest=f,fa(u,O);var A=O.row;A!==null&&--A.pendingTasks===0&&Qi(u,A),O.parentFlushed&&u.clientRenderedBoundaries.push(O),u.pendingRootTasks===0&&u.trackedPostpones===null&&O.contentPreamble!==null&&Oa(u)}u.allPendingTasks===0&&xa(u)}}}}s.splice(0,c),e.destination!==null&&Ia(e,e.destination)}catch(t){Xi(e,t,{}),Zi(e,t)}finally{Ei=o,le.H=n,le.A=i,n===Ti&&Pr(t),Vi=a}}}function Ea(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=Da(e,t.children[i],n)||r;return r}function Da(e,t,n){var i=t.boundary;if(i===null)return Ea(e,t,n);var a=i.contentPreamble,o=i.fallbackPreamble;if(a===null||o===null)return!1;switch(i.status){case 1:if(wt(e.renderState,a),e.byteSize+=i.byteSize,t=i.completedSegments[0],!t)throw Error(r(391));return Ea(e,t,n);case 5:if(e.trackedPostpones!==null)return!0;case 4:if(t.status===1)return wt(e.renderState,o),Ea(e,t,n);default:return!0}}function Oa(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=Da(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function ka(e,t,n,i){switch(n.parentFlushed=!0,n.status){case 0:n.id=e.nextSegmentId++;case 5:return i=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,N(t,Dt),N(t,e.placeholderPrefix),e=L(i.toString(16)),N(t,e),P(t,Ot);case 1:n.status=2;var a=!0,o=n.chunks,s=0;n=n.children;for(var c=0;c<n.length;c++){for(a=n[c];s<a.index;s++)N(t,o[s]);a=ja(e,t,a,i)}for(;s<o.length-1;s++)N(t,o[s]);return s<o.length&&(a=P(t,o[s])),a;case 3:return!0;default:throw Error(r(390))}}var Aa=0;function ja(e,t,n,i){var a=n.boundary;if(a===null)return ka(e,t,n,i);if(a.parentFlushed=!0,a.status===4){var o=a.row;o!==null&&--o.pendingTasks===0&&Qi(e,o),a=a.errorDigest,P(t,Pt),N(t,It),a&&(N(t,Rt),N(t,L(W(a))),N(t,Lt)),P(t,zt),ka(e,t,n,i)}else if(a.status!==1)a.status===0&&(a.rootSegmentID=e.nextSegmentId++),0<a.completedSegments.length&&e.partialBoundaries.push(a),Bt(t,e.renderState,a.rootSegmentID),i&&Sr(i,a.fallbackState),ka(e,t,n,i);else if(!Fa&&Pi(e,a)&&(Aa+a.byteSize>e.progressiveChunkSize||Cr(a.contentState)))a.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(a),Bt(t,e.renderState,a.rootSegmentID),ka(e,t,n,i);else{if(Aa+=a.byteSize,i&&Sr(i,a.contentState),n=a.row,n!==null&&Pi(e,a)&&--n.pendingTasks===0&&Qi(e,n),P(t,jt),n=a.completedSegments,n.length!==1)throw Error(r(391));ja(e,t,n[0],i)}return P(t,Ft)}function Ma(e,t,n,r){return cn(t,e.renderState,n.parentFormatContext,n.id),ja(e,t,n,r),ln(t,n.parentFormatContext)}function Na(e,t,n){Aa=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Pa(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&Pi(e,n)&&--r.pendingTasks===0&&Qi(e,r),Bn(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,N(t,e.startInlineScript),N(t,Q),a?(!(r.instructions&4)&&(r.instructions|=4,N(t,Sn)),!(r.instructions&2)&&(r.instructions|=2,N(t,mn)),r.instructions&8?N(t,_n):(r.instructions|=8,N(t,gn))):(!(r.instructions&2)&&(r.instructions|=2,N(t,mn)),N(t,hn)),r=L(i.toString(16)),N(t,e.boundaryPrefix),N(t,r),N(t,vn),N(t,e.segmentPrefix),N(t,r),a?(N(t,yn),ir(t,n)):N(t,bn),n=P(t,xn),Tt(t,e)&&n}function Pa(e,t,n,i){if(i.status===2)return!0;var a=n.contentState,o=i.id;if(o===-1){if((i.id=n.rootSegmentID)===-1)throw Error(r(392));return Ma(e,t,i,a)}return o===n.rootSegmentID?Ma(e,t,i,a):(Ma(e,t,i,a),n=e.resumableState,e=e.renderState,N(t,e.startInlineScript),N(t,Q),n.instructions&1?N(t,dn):(n.instructions|=1,N(t,un)),N(t,e.segmentPrefix),o=L(o.toString(16)),N(t,o),N(t,fn),N(t,e.placeholderPrefix),N(t,o),t=P(t,pn),t)}var Fa=!1;function Ia(e,t){j=new Uint8Array(2048),M=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===5)return;var i=e.completedPreambleSegments;if(i===null)return;Aa=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)N(t,c[u]);if(l)for(u=0;u<l.length;u++)N(t,l[u]);else N(t,yt(`head`)),N(t,Q)}else if(l)for(u=0;u<l.length;u++)N(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)N(t,d[u]);d.length=0,o.preconnects.forEach(Vn,t),o.preconnects.clear();var f=o.viewportChunks;for(u=0;u<f.length;u++)N(t,f[u]);f.length=0,o.fontPreloads.forEach(Vn,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Vn,t),o.highImagePreloads.clear(),me=o,o.styles.forEach(Yn,t),me=null;var p=o.importMapChunks;for(u=0;u<p.length;u++)N(t,p[u]);p.length=0,o.bootstrapScripts.forEach(Vn,t),o.scripts.forEach(Vn,t),o.scripts.clear(),o.bulkPreloads.forEach(Vn,t),o.bulkPreloads.clear(),c||l||(a.instructions|=32);var m=o.hoistableChunks;for(u=0;u<m.length;u++)N(t,m[u]);for(a=m.length=0;a<i.length;a++){var h=i[a];for(o=0;o<h.length;o++)ja(e,t,h[o],null)}var g=e.renderState.preamble,_=g.headChunks;(g.htmlChunks||_)&&N(t,Ct(`head`));var v=g.bodyChunks;if(v)for(i=0;i<v.length;i++)N(t,v[i]);ja(e,t,r,null),e.completedRootSegment=null;var y=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var b=e.resumableState;if(!(b.instructions&64)){if(b.instructions|=64,N(t,y.startInlineScript),!(b.instructions&32)){b.instructions|=32;var x=`_`+b.idPrefix+`R_`;N(t,Qn),N(t,L(W(x))),N(t,Y)}N(t,Q),N(t,Et),P(t,K)}}Tt(t,y)}var S=e.renderState;r=0;var C=S.viewportChunks;for(r=0;r<C.length;r++)N(t,C[r]);C.length=0,S.preconnects.forEach(Vn,t),S.preconnects.clear(),S.fontPreloads.forEach(Vn,t),S.fontPreloads.clear(),S.highImagePreloads.forEach(Vn,t),S.highImagePreloads.clear(),S.styles.forEach(Zn,t),S.scripts.forEach(Vn,t),S.scripts.clear(),S.bulkPreloads.forEach(Vn,t),S.bulkPreloads.clear();var w=S.hoistableChunks;for(r=0;r<w.length;r++)N(t,w[r]);w.length=0;var T=e.clientRenderedBoundaries;for(n=0;n<T.length;n++){var E=T[n];S=t;var D=e.resumableState,O=e.renderState,k=E.rootSegmentID,A=E.errorDigest;N(S,O.startInlineScript),N(S,Q),D.instructions&4?N(S,wn):(D.instructions|=4,N(S,Cn)),N(S,O.boundaryPrefix),N(S,L(k.toString(16))),N(S,Tn),A&&(N(S,En),N(S,L(kn(A||``))));var I=P(S,Dn);if(!I){e.destination=null,n++,T.splice(0,n);return}}T.splice(0,n);var R=e.completedBoundaries;for(n=0;n<R.length;n++)if(!Na(e,t,R[n])){e.destination=null,n++,R.splice(0,n);return}R.splice(0,n),F(t),j=new Uint8Array(2048),M=0,Fa=!0;var z=e.partialBoundaries;for(n=0;n<z.length;n++){var ee=z[n];a:{T=e,E=t,Aa=ee.byteSize;var te=ee.completedSegments;for(I=0;I<te.length;I++)if(!Pa(T,E,ee,te[I])){I++,te.splice(0,I);var B=!1;break a}te.splice(0,I);var V=ee.row;V!==null&&V.together&&ee.pendingTasks===1&&(V.pendingTasks===1?$i(T,V,V.hoistables):V.pendingTasks--),B=Bn(E,ee.contentState,T.renderState)}if(!B){e.destination=null,n++,z.splice(0,n);return}}z.splice(0,n),Fa=!1;var ne=e.completedBoundaries;for(n=0;n<ne.length;n++)if(!Na(e,t,ne[n])){e.destination=null,n++,ne.splice(0,n);return}ne.splice(0,n)}}finally{Fa=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&N(t,Ct(`body`)),n.hasHtml&&N(t,Ct(`html`)),F(t),e.status=14,t.close(),e.destination=null):F(t)}}function La(e){e.flushScheduled=e.destination!==null,A(function(){return Ta(e)}),D(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&ya(e,e.pendingRootTasks===0)})}function Ra(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,D(function(){var t=e.destination;t?Ia(e,t):e.flushScheduled=!1}))}function za(e,t){if(e.status===13)e.status=14,ee(t,e.fatalError);else if(e.status!==14&&e.destination===null){e.destination=t;try{Ia(e,t)}catch(t){Xi(e,t,{}),Zi(e,t)}}}function Ba(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var i=t===void 0?Error(r(432)):typeof t==`object`&&t&&typeof t.then==`function`?Error(r(530)):t;e.fatalError=i,n.forEach(function(t){return va(t,e,i)}),n.clear()}e.destination!==null&&Ia(e,e.destination)}catch(t){Xi(e,t,{}),Zi(e,t)}}function Va(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Va(i,t[0],n)),i[2].push(e)}}function Ha(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==5&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=0}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Ua(){var e=t.version;if(e!==`19.2.4`)throw Error(r(527,e,`19.2.4`))}Ua(),Ua(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=Ee(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=Ri(e,o,Te(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){za(s,e)},cancel:function(e){s.destination=null,Ba(s,e)}},{highWaterMark:0});e={postponed:Ha(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)Ba(s,c.reason);else{var l=function(){Ba(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}La(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=Ee(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Li(e,l,Te(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),ke(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){za(u,e)},cancel:function(e){u.destination=null,Ba(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)Ba(u,d.reason);else{var f=function(){Ba(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}La(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=zi(e,t,Te(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){za(c,e)},cancel:function(e){c.destination=null,Ba(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)Ba(c,l.reason);else{var u=function(){Ba(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}La(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Bi(e,t,Te(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){za(a,e)},cancel:function(e){a.destination=null,Ba(a,e)}},{highWaterMark:0});e={postponed:Ha(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)Ba(a,o.reason);else{var s=function(){Ba(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}La(a)})},e.version=`19.2.4`})),p=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function n(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function r(e){return typeof e!=`object`||!e?null:(e=Kn&&e[Kn]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e){return e=Object.prototype.toString.call(e),e.slice(8,e.length-1)}function a(e){var t=JSON.stringify(e);return`"`+e+`"`===t?e:t}function o(e){switch(typeof e){case`string`:return JSON.stringify(10>=e.length?e:e.slice(0,10)+`...`);case`object`:return qn(e)?`[...]`:e!==null&&e.$$typeof===Xn?`client`:(e=i(e),e===`Object`?`{...}`:e);case`function`:return e.$$typeof===Xn?`client`:(e=e.displayName||e.name)?`function `+e:`function`;default:return String(e)}}function s(e){if(typeof e==`string`)return e;switch(e){case Ln:return`Suspense`;case Rn:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case In:return s(e.render);case zn:return s(e.type);case Bn:var t=e._payload;e=e._init;try{return s(e(t))}catch{}}return``}function c(e,t){var n=i(e);if(n!==`Object`&&n!==`Array`)return n;var r=-1,l=0;if(qn(e))if(Yn.has(e)){var u=Yn.get(e);n=`<`+s(u)+`>`;for(var d=0;d<e.length;d++){var f=e[d];f=typeof f==`string`?f:typeof f==`object`&&f?`{`+c(f)+`}`:`{`+o(f)+`}`,``+d===t?(r=n.length,l=f.length,n+=f):n=15>f.length&&40>n.length+f.length?n+f:n+`{...}`}n+=`</`+s(u)+`>`}else{for(n=`[`,u=0;u<e.length;u++)0<u&&(n+=`, `),d=e[u],d=typeof d==`object`&&d?c(d):o(d),``+u===t?(r=n.length,l=d.length,n+=d):n=10>d.length&&40>n.length+d.length?n+d:n+`...`;n+=`]`}else if(e.$$typeof===kn)n=`<`+s(e.type)+`/>`;else{if(e.$$typeof===Xn)return`client`;if(Jn.has(e)){for(n=Jn.get(e),n=`<`+(s(n)||`...`),u=Object.keys(e),d=0;d<u.length;d++){n+=` `,f=u[d],n+=a(f)+`=`;var p=e[f],m=f===t&&typeof p==`object`&&p?c(p):o(p);typeof p!=`string`&&(m=`{`+m+`}`),f===t?(r=n.length,l=m.length,n+=m):n=10>m.length&&40>n.length+m.length?n+m:n+`...`}n+=`>`}else{for(n=`{`,u=Object.keys(e),d=0;d<u.length;d++)0<d&&(n+=`, `),f=u[d],n+=a(f)+`: `,p=e[f],p=typeof p==`object`&&p?c(p):o(p),f===t?(r=n.length,l=p.length,n+=p):n=10>p.length&&40>n.length+p.length?n+p:n+`...`;n+=`}`}}return t===void 0?n:-1<r&&0<l?(e=` `.repeat(r)+`^`.repeat(l),`
54
+ `+n+`
55
+ `+e):`
56
+ `+n}function l(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}function u(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function d(e){try{return f(e),!1}catch{return!0}}function f(e){return``+e}function p(e,t){if(d(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,u(e)),f(e)}function m(e,t){if(d(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,u(e)),f(e)}function h(e){if(d(e))return console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,u(e)),f(e)}function g(e){return Qn.call(tr,e)?!0:Qn.call(er,e)?!1:$n.test(e)?tr[e]=!0:(er[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function _(e,t){ir[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function v(e,t){if(Qn.call(or,t)&&or[t])return!0;if(cr.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=ar.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),or[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),or[t]=!0}if(sr.test(t)){if(e=t.toLowerCase(),e=ar.hasOwnProperty(e)?e:null,e==null)return or[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),or[t]=!0)}return!0}function y(e,t){var n=[],r;for(r in t)v(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function b(e,t,n,r){if(Qn.call(dr,t)&&dr[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`),dr[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),dr[t]=!0;if(fr.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),dr[t]=!0}else if(fr.test(t))return pr.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),dr[t]=!0;if(mr.test(t)||hr.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),dr[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),dr[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),dr[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),dr[t]=!0;if(ur.hasOwnProperty(i)){if(i=ur[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),dr[t]=!0}else if(t!==i)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),dr[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
57
+
58
+ If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
59
+
60
+ If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),dr[t]=!0)}case`function`:case`symbol`:return dr[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),dr[t]=!0}}return!0}function x(e,t,n){var r=[],i;for(i in t)b(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function S(e){return e.replace(vr,function(e,t){return t.toUpperCase()})}function C(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;h(e),e=``+e;var t=wr.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`&quot;`;break;case 38:t=`&amp;`;break;case 39:t=`&#x27;`;break;case 60:t=`&lt;`;break;case 62:t=`&gt;`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}function w(e){return Dr.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function T(e){return h(e),(``+e).replace(Ur,n)}function E(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:Mr,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function D(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function O(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return D(qr,null,r|1,null);case`select`:return D(qr,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return D(Yr,null,r,null);case`picture`:return D(qr,null,r|2,null);case`math`:return D(Xr,null,r,null);case`foreignObject`:return D(qr,null,r,null);case`table`:return D(Zr,null,r,null);case`thead`:case`tbody`:case`tfoot`:return D(Qr,null,r,null);case`colgroup`:return D(ei,null,r,null);case`tr`:return D($r,null,r,null);case`head`:if(e.insertionMode<qr)return D(Jr,null,r,null);break;case`html`:if(e.insertionMode===Gr)return D(Kr,null,r,null)}return e.insertionMode>=Zr||e.insertionMode<qr?D(qr,null,r,null):e.tagScope===r?e:D(e.insertionMode,e.selectedValue,r,null)}function k(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function A(e,t){return t.tagScope&32&&(e.instructions|=128),D(t.insertionMode,t.selectedValue,t.tagScope|12,k(t.viewTransition))}function j(e,t){e=k(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),D(t.insertionMode,t.selectedValue,n,e)}function M(e,t){if(typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var n=!0,r;for(r in t)if(Qn.call(t,r)){var i=t[r];if(i!=null&&typeof i!=`boolean`&&i!==``){if(r.indexOf(`--`)===0){var a=C(r);m(i,r),i=C((``+i).trim())}else{a=r;var o=i;if(-1<a.indexOf(`-`)){var s=a;br.hasOwnProperty(s)&&br[s]||(br[s]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,s,S(s.replace(_r,`ms-`))))}else if(gr.test(a))s=a,br.hasOwnProperty(s)&&br[s]||(br[s]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,s,s.charAt(0).toUpperCase()+s.slice(1)));else if(yr.test(o)){s=a;var c=o;xr.hasOwnProperty(c)&&xr[c]||(xr[c]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(yr,``)))}typeof o==`number`&&(isNaN(o)?Sr||(Sr=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(o)||Cr||(Cr=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a))),a=r,o=ti.get(a),o===void 0?(o=C(a.replace(Tr,`-$1`).toLowerCase().replace(Er,`-ms-`)),ti.set(a,o),a=o):a=o,typeof i==`number`?i=i===0||nr.has(r)?``+i:i+`px`:(m(i,r),i=C((``+i).trim()))}n?(n=!1,e.push(ni,a,ri,i)):e.push(ii,a,ri,i)}}n||e.push(si)}function N(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(ai,t,ci)}function P(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(ai,t,oi,C(n),si)}function F(e,t){this.push(`<input type="hidden"`),I(e),P(this,`name`,t),P(this,`value`,e),this.push(di)}function I(e){if(typeof e!=`string`)throw Error(`File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.`)}function L(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(I),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e;console.error(`Failed to serialize an action for progressive enhancement:
61
+ %s`,e)}}return null}function R(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||bi||(bi=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i===null&&a===null||Si||(Si=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),o===null||xi||(xi=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`));var l=L(t,r);l===null?(e.push(ai,`formAction`,oi,li,si),o=a=i=r=s=null,V(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&z(e,`name`,s),r!=null&&z(e,`formAction`,r),i!=null&&z(e,`formEncType`,i),a!=null&&z(e,`formMethod`,a),o!=null&&z(e,`formTarget`,o),c}function z(e,t,n){switch(t){case`className`:P(e,`class`,n);break;case`tabIndex`:P(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:P(e,t,n);break;case`style`:M(e,n);break;case`src`:case`href`:if(n===``){console.error(t===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,t,t);break}case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;p(n,t),n=w(``+n),e.push(ai,t,oi,C(n),si);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:N(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;p(n,t),n=w(``+n),e.push(ai,`xlink:href`,oi,C(n),si);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(ai,t,oi,C(n),si);break;case`inert`:n!==``||Wr[t]||(Wr[t]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",t));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(ai,t,ci);break;case`capture`:case`download`:!0===n?e.push(ai,t,ci):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(ai,t,oi,C(n),si);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(ai,t,oi,C(n),si);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(ai,t,oi,C(n),si);break;case`xlinkActuate`:P(e,`xlink:actuate`,n);break;case`xlinkArcrole`:P(e,`xlink:arcrole`,n);break;case`xlinkRole`:P(e,`xlink:role`,n);break;case`xlinkShow`:P(e,`xlink:show`,n);break;case`xlinkTitle`:P(e,`xlink:title`,n);break;case`xlinkType`:P(e,`xlink:type`,n);break;case`xmlBase`:P(e,`xml:base`,n);break;case`xmlLang`:P(e,`xml:lang`,n);break;case`xmlSpace`:P(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=rr.get(t)||t,g(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(ai,t,oi,C(n),si)}}}function ee(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!=`object`||!(`__html`in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&(h(t),e.push(``+t))}}function te(e,t){var n=e[t];n!=null&&(n=qn(n),e.multiple&&!n?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!e.multiple&&n&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t))}function B(e){var t=``;return Dn.Children.forEach(e,function(e){e!=null&&(t+=e,gi||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||(gi=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}function V(e,t){if((e.instructions&16)===Mr){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Se(r,e),r.push(ui,Ci,Hr)):r.unshift(t.startInlineScript,ui,Ci,Hr)}}function ne(e,t){for(var n in e.push(oe(`link`)),t)if(Qn.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:z(e,n,r)}}return e.push(di),null}function re(e){return h(e),(``+e).replace(wi,t)}function ie(e,t,n){for(var r in e.push(oe(n)),t)if(Qn.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:z(e,r,i)}}return e.push(di),null}function H(e,t){e.push(oe(`title`));var n=null,r=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(C(``+t)),ee(e,r,n),e.push(se(`title`)),null}function U(e,t){e.push(oe(`script`));var n=null,r=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),n!=null&&typeof n!=`string`&&(t=typeof n==`number`?`a number for children`:Array.isArray(n)?`an array for children`:`something unexpected for children`,console.error(`A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.`,t)),ee(e,r,n),typeof n==`string`&&e.push(T(n)),e.push(se(`script`)),null}function ae(e,t,n){e.push(oe(n));var r=n=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),ee(e,r,n),n}function W(e,t,n){e.push(oe(n));var r=n=null,i;for(i in t)if(Qn.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:z(e,i,a)}}return e.push(ui),ee(e,r,n),typeof n==`string`?(e.push(C(n)),null):n}function oe(e){var t=Di.get(e);if(t===void 0){if(!Ei.test(e))throw Error(`Invalid tag: `+e);t=`<`+e,Di.set(e,t)}return t}function G(e,t,n,r,i,a,o,s,c){y(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||lr||(lr=!0,t===`select`&&n.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));b:if(t.indexOf(`-`)===-1)var l=!1;else switch(t){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:l=!1;break b;default:l=!0}switch(l||typeof n.is==`string`||x(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),s.insertionMode!==Yr&&s.insertionMode!==Xr&&t.indexOf(`-`)===-1&&t.toLowerCase()!==t&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,t),t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(oe(`a`));var u=null,d=null,f;for(f in n)if(Qn.call(n,f)){var m=n[f];if(m!=null)switch(f){case`children`:u=m;break;case`dangerouslySetInnerHTML`:d=m;break;case`href`:m===``?P(e,`href`,``):z(e,f,m);break;default:z(e,f,m)}}if(e.push(ui),ee(e,d,u),typeof u==`string`){e.push(C(u));var v=null}else v=u;return v;case`g`:case`p`:case`li`:break;case`select`:_(`select`,n),te(n,`value`),te(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||mi||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),mi=!0),e.push(oe(`select`));var b=null,S=null,T;for(T in n)if(Qn.call(n,T)){var E=n[T];if(E!=null)switch(T){case`children`:b=E;break;case`dangerouslySetInnerHTML`:S=E;break;case`defaultValue`:case`value`:break;default:z(e,T,E)}}return e.push(ui),ee(e,S,b),b;case`option`:var D=s.selectedValue;e.push(oe(`option`));var O=null,k=null,A=null,j=null,I;for(I in n)if(Qn.call(n,I)){var G=n[I];if(G!=null)switch(I){case`children`:O=G;break;case`selected`:A=G,vi||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:j=G;break;case`value`:k=G;default:z(e,I,G)}}if(D!=null){if(k!==null){p(k,`value`);var ce=``+k}else j===null||_i||(_i=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),ce=B(O);if(qn(D)){for(var le=0;le<D.length;le++)if(p(D[le],`value`),``+D[le]===ce){e.push(` selected=""`);break}}else p(D,`select.value`),``+D===ce&&e.push(` selected=""`)}else A&&e.push(` selected=""`);return e.push(ui),ee(e,j,O),O;case`textarea`:_(`textarea`,n),n.value===void 0||n.defaultValue===void 0||hi||(console.error(`Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`),hi=!0),e.push(oe(`textarea`));var ue=null,de=null,fe=null,pe;for(pe in n)if(Qn.call(n,pe)){var me=n[pe];if(me!=null)switch(pe){case`children`:fe=me;break;case`value`:ue=me;break;case`defaultValue`:de=me;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:z(e,pe,me)}}if(ue===null&&de!==null&&(ue=de),e.push(ui),fe!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),ue!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(qn(fe)){if(1<fe.length)throw Error(`<textarea> can only have at most one child.`);h(fe[0]),ue=``+fe[0]}h(fe),ue=``+fe}return typeof ue==`string`&&ue[0]===`
62
+ `&&e.push(Ti),ue!==null&&(p(ue,`value`),e.push(C(``+ue))),null;case`input`:_(`input`,n),e.push(oe(`input`));var he=null,K=null,ge=null,_e=null,ve=null,ye=null,be=null,xe=null,Se=null,Ce;for(Ce in n)if(Qn.call(n,Ce)){var q=n[Ce];if(q!=null)switch(Ce){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:he=q;break;case`formAction`:K=q;break;case`formEncType`:ge=q;break;case`formMethod`:_e=q;break;case`formTarget`:ve=q;break;case`defaultChecked`:Se=q;break;case`defaultValue`:be=q;break;case`checked`:xe=q;break;case`value`:ye=q;break;default:z(e,Ce,q)}}K===null||n.type===`image`||n.type===`submit`||yi||(yi=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var J=R(e,r,i,K,ge,_e,ve,he);return xe===null||Se===null||pi||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),pi=!0),ye===null||be===null||fi||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),fi=!0),xe===null?Se!==null&&N(e,`checked`,Se):N(e,`checked`,xe),ye===null?be!==null&&z(e,`value`,be):z(e,`value`,ye),e.push(di),J?.forEach(F,e),null;case`button`:e.push(oe(`button`));var we=null,De=null,Oe=null,ke=null,Ae=null,je=null,Me=null,Ne;for(Ne in n)if(Qn.call(n,Ne)){var Pe=n[Ne];if(Pe!=null)switch(Ne){case`children`:we=Pe;break;case`dangerouslySetInnerHTML`:De=Pe;break;case`name`:Oe=Pe;break;case`formAction`:ke=Pe;break;case`formEncType`:Ae=Pe;break;case`formMethod`:je=Pe;break;case`formTarget`:Me=Pe;break;default:z(e,Ne,Pe)}}ke===null||n.type==null||n.type===`submit`||yi||(yi=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Fe=R(e,r,i,ke,Ae,je,Me,Oe);if(e.push(ui),Fe?.forEach(F,e),ee(e,De,we),typeof we==`string`){e.push(C(we));var Ie=null}else Ie=we;return Ie;case`form`:e.push(oe(`form`));var Le=null,Re=null,ze=null,Be=null,Ve=null,He=null,Y;for(Y in n)if(Qn.call(n,Y)){var Ue=n[Y];if(Ue!=null)switch(Y){case`children`:Le=Ue;break;case`dangerouslySetInnerHTML`:Re=Ue;break;case`action`:ze=Ue;break;case`encType`:Be=Ue;break;case`method`:Ve=Ue;break;case`target`:He=Ue;break;default:z(e,Y,Ue)}}var We=null,X=null;if(typeof ze==`function`){Be===null&&Ve===null||Si||(Si=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),He===null||xi||(xi=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`));var Ge=L(r,ze);Ge===null?(e.push(ai,`action`,oi,li,si),He=Ve=Be=ze=null,V(r,i)):(ze=Ge.action||``,Be=Ge.encType,Ve=Ge.method,He=Ge.target,We=Ge.data,X=Ge.name)}if(ze!=null&&z(e,`action`,ze),Be!=null&&z(e,`encType`,Be),Ve!=null&&z(e,`method`,Ve),He!=null&&z(e,`target`,He),e.push(ui),X!==null&&(e.push(`<input type="hidden"`),P(e,`name`,X),e.push(di),We?.forEach(F,e)),ee(e,Re,Le),typeof Le==`string`){e.push(C(Le));var Z=null}else Z=Le;return Z;case`menuitem`:for(var Ke in e.push(oe(`menuitem`)),n)if(Qn.call(n,Ke)){var qe=n[Ke];if(qe!=null)switch(Ke){case`children`:case`dangerouslySetInnerHTML`:throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:z(e,Ke,qe)}}return e.push(ui),null;case`object`:e.push(oe(`object`));var Je=null,Ye=null,Xe;for(Xe in n)if(Qn.call(n,Xe)){var Q=n[Xe];if(Q!=null)switch(Xe){case`children`:Je=Q;break;case`dangerouslySetInnerHTML`:Ye=Q;break;case`data`:p(Q,`data`);var Ze=w(``+Q);if(Ze===``){console.error(`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,Xe,Xe);break}e.push(ai,`data`,oi,C(Ze),si);break;default:z(e,Xe,Q)}}if(e.push(ui),ee(e,Ye,Je),typeof Je==`string`){e.push(C(Je));var Qe=null}else Qe=Je;return Qe;case`title`:var $e=s.tagScope&1,et=s.tagScope&4;if(Qn.call(n,`children`)){var tt=n.children,nt=Array.isArray(tt)?2>tt.length?tt[0]:null:tt;Array.isArray(tt)&&1<tt.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",tt.length):typeof nt==`function`||typeof nt==`symbol`?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof nt==`function`?`a Function`:`a Sybmol`):nt&&nt.toString==={}.toString&&(nt.$$typeof==null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."))}if(s.insertionMode===Yr||$e||n.itemProp!=null)var rt=H(e,n);else et?rt=null:(H(i.hoistableChunks,n),rt=void 0);return rt;case`link`:var it=s.tagScope&1,at=s.tagScope&4,ot=n.rel,st=n.href,ct=n.precedence;if(s.insertionMode===Yr||it||n.itemProp!=null||typeof ot!=`string`||typeof st!=`string`||st===``){ot===`stylesheet`&&typeof n.precedence==`string`&&(typeof st==`string`&&st||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',st===null?"`null`":st===void 0?"`undefined`":st===``?`an empty string`:`something with type "`+typeof st+`"`)),ne(e,n);var lt=null}else if(n.rel===`stylesheet`)if(typeof ct!=`string`||n.disabled!=null||n.onLoad||n.onError){if(typeof ct==`string`){if(n.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(n.onLoad||n.onError){var ut=n.onLoad&&n.onError?"`onLoad` and `onError` props":n.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',ut,ut)}}lt=ne(e,n)}else{var dt=i.styles.get(ct),ft=r.styleResources.hasOwnProperty(st)?r.styleResources[st]:void 0;if(ft!==zr){r.styleResources[st]=zr,dt||(dt={precedence:C(ct),rules:[],hrefs:[],sheets:new Map},i.styles.set(ct,dt));var pt={state:Ja,props:Zn({},n,{"data-precedence":n.precedence,precedence:null})};if(ft){ft.length===2&&Te(pt.props,ft);var mt=i.preloads.stylesheets.get(st);mt&&0<mt.length?mt.length=0:pt.state=Ya}dt.sheets.set(st,pt),o&&o.stylesheets.add(pt)}else if(dt){var ht=dt.sheets.get(st);ht&&o&&o.stylesheets.add(ht)}c&&e.push(`<!-- -->`),lt=null}else n.onLoad||n.onError?lt=ne(e,n):(c&&e.push(`<!-- -->`),lt=at?null:ne(i.hoistableChunks,n));return lt;case`script`:var gt=s.tagScope&1,_t=n.async;if(typeof n.src!=`string`||!n.src||!_t||typeof _t==`function`||typeof _t==`symbol`||n.onLoad||n.onError||s.insertionMode===Yr||gt||n.itemProp!=null)var vt=U(e,n);else{var yt=n.src;if(n.type===`module`)var bt=r.moduleScriptResources,xt=i.preloads.moduleScripts;else bt=r.scriptResources,xt=i.preloads.scripts;var St=bt.hasOwnProperty(yt)?bt[yt]:void 0;if(St!==zr){bt[yt]=zr;var Ct=n;if(St){St.length===2&&(Ct=Zn({},n),Te(Ct,St));var wt=xt.get(yt);wt&&(wt.length=0)}var Tt=[];i.scripts.add(Tt),U(Tt,Ct)}c&&e.push(`<!-- -->`),vt=null}return vt;case`style`:var Et=s.tagScope&1;if(Qn.call(n,`children`)){var Dt=n.children,Ot=Array.isArray(Dt)?2>Dt.length?Dt[0]:null:Dt;(typeof Ot==`function`||typeof Ot==`symbol`||Array.isArray(Ot))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof Ot==`function`?`a Function`:typeof Ot==`symbol`?`a Sybmol`:`an Array`)}var kt=n.precedence,At=n.href,jt=n.nonce;if(s.insertionMode===Yr||Et||n.itemProp!=null||typeof kt!=`string`||typeof At!=`string`||At===``){e.push(oe(`style`));var Mt=null,Nt=null,Pt;for(Pt in n)if(Qn.call(n,Pt)){var Ft=n[Pt];if(Ft!=null)switch(Pt){case`children`:Mt=Ft;break;case`dangerouslySetInnerHTML`:Nt=Ft;break;default:z(e,Pt,Ft)}}e.push(ui);var It=Array.isArray(Mt)?2>Mt.length?Mt[0]:null:Mt;typeof It!=`function`&&typeof It!=`symbol`&&It!=null&&e.push(re(It)),ee(e,Nt,Mt),e.push(se(`style`));var Lt=null}else{At.includes(` `)&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',At);var Rt=i.styles.get(kt),zt=r.styleResources.hasOwnProperty(At)?r.styleResources[At]:void 0;if(zt!==zr){r.styleResources[At]=zr,zt&&console.error(`React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.`,At),Rt||(Rt={precedence:C(kt),rules:[],hrefs:[],sheets:new Map},i.styles.set(kt,Rt));var Bt=i.nonce.style;if(Bt&&Bt!==jt)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',kt,jt,Bt);else{!Bt&&jt&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',kt,jt),Rt.hrefs.push(C(At));var Vt=Rt.rules,Ht=null,Ut=null,Wt;for(Wt in n)if(Qn.call(n,Wt)){var Gt=n[Wt];if(Gt!=null)switch(Wt){case`children`:Ht=Gt;break;case`dangerouslySetInnerHTML`:Ut=Gt}}var $=Array.isArray(Ht)?2>Ht.length?Ht[0]:null:Ht;typeof $!=`function`&&typeof $!=`symbol`&&$!=null&&Vt.push(re($)),ee(Vt,Ut,Ht)}}Rt&&o&&o.styles.add(Rt),c&&e.push(`<!-- -->`),Lt=void 0}return Lt;case`meta`:var Kt=s.tagScope&1,qt=s.tagScope&4;if(s.insertionMode===Yr||Kt||n.itemProp!=null)var Jt=ie(e,n,`meta`);else c&&e.push(`<!-- -->`),Jt=qt?null:typeof n.charSet==`string`?ie(i.charsetChunks,n,`meta`):n.name===`viewport`?ie(i.viewportChunks,n,`meta`):ie(i.hoistableChunks,n,`meta`);return Jt;case`listing`:case`pre`:e.push(oe(t));var Yt=null,Xt=null,Zt;for(Zt in n)if(Qn.call(n,Zt)){var Qt=n[Zt];if(Qt!=null)switch(Zt){case`children`:Yt=Qt;break;case`dangerouslySetInnerHTML`:Xt=Qt;break;default:z(e,Zt,Qt)}}if(e.push(ui),Xt!=null){if(Yt!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Xt!=`object`||!(`__html`in Xt))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var $t=Xt.__html;$t!=null&&(typeof $t==`string`&&0<$t.length&&$t[0]===`
63
+ `?e.push(Ti,$t):(h($t),e.push(``+$t)))}return typeof Yt==`string`&&Yt[0]===`
64
+ `&&e.push(Ti),Yt;case`img`:var en=s.tagScope&3,tn=n.src,nn=n.srcSet;if(!(n.loading===`lazy`||!tn&&!nn||typeof tn!=`string`&&tn!=null||typeof nn!=`string`&&nn!=null||n.fetchPriority===`low`||en)&&(typeof tn!=`string`||tn[4]!==`:`||tn[0]!==`d`&&tn[0]!==`D`||tn[1]!==`a`&&tn[1]!==`A`||tn[2]!==`t`&&tn[2]!==`T`||tn[3]!==`a`&&tn[3]!==`A`)&&(typeof nn!=`string`||nn[4]!==`:`||nn[0]!==`d`&&nn[0]!==`D`||nn[1]!==`a`&&nn[1]!==`A`||nn[2]!==`t`&&nn[2]!==`T`||nn[3]!==`a`&&nn[3]!==`A`)){o!==null&&s.tagScope&64&&(o.suspenseyImages=!0);var rn=typeof n.sizes==`string`?n.sizes:void 0,an=nn?nn+`
65
+ `+(rn||``):tn,on=i.preloads.images,sn=on.get(an);if(sn)(n.fetchPriority===`high`||10>i.highImagePreloads.size)&&(on.delete(an),i.highImagePreloads.add(sn));else if(!r.imageResources.hasOwnProperty(an)){r.imageResources[an]=Br;var cn=n.crossOrigin,ln=typeof cn==`string`?cn===`use-credentials`?cn:``:void 0,un=i.headers,dn;un&&0<un.remainingCapacity&&typeof n.srcSet!=`string`&&(n.fetchPriority===`high`||500>un.highImagePreloads.length)&&(dn=Ee(tn,`image`,{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:ln,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(un.remainingCapacity-=dn.length+2))?(i.resets.image[an]=Br,un.highImagePreloads&&(un.highImagePreloads+=`, `),un.highImagePreloads+=dn):(sn=[],ne(sn,{rel:`preload`,as:`image`,href:nn?void 0:tn,imageSrcSet:nn,imageSizes:rn,crossOrigin:ln,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority===`high`||10>i.highImagePreloads.size?i.highImagePreloads.add(sn):(i.bulkPreloads.add(sn),on.set(an,sn)))}}return ie(e,n,`img`);case`base`:case`area`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`param`:case`source`:case`track`:case`wbr`:return ie(e,n,t);case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:break;case`head`:if(s.insertionMode<qr){var fn=a||i.preamble;if(fn.headChunks)throw Error("The `<head>` tag may only be rendered once.");a!==null&&e.push(`<!--head-->`),fn.headChunks=[];var pn=ae(fn.headChunks,n,`head`)}else pn=W(e,n,`head`);return pn;case`body`:if(s.insertionMode<qr){var mn=a||i.preamble;if(mn.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");a!==null&&e.push(`<!--body-->`),mn.bodyChunks=[];var hn=ae(mn.bodyChunks,n,`body`)}else hn=W(e,n,`body`);return hn;case`html`:if(s.insertionMode===Gr){var gn=a||i.preamble;if(gn.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");a!==null&&e.push(`<!--html-->`),gn.htmlChunks=[eo];var _n=ae(gn.htmlChunks,n,`html`)}else _n=W(e,n,`html`);return _n;default:if(t.indexOf(`-`)!==-1){e.push(oe(t));var vn=null,yn=null,bn;for(bn in n)if(Qn.call(n,bn)){var xn=n[bn];if(xn!=null){var Sn=bn;switch(bn){case`children`:vn=xn;break;case`dangerouslySetInnerHTML`:yn=xn;break;case`style`:M(e,xn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`className`:Sn=`class`;default:if(g(bn)&&typeof xn!=`function`&&typeof xn!=`symbol`&&!1!==xn){if(!0===xn)xn=``;else if(typeof xn==`object`)continue;e.push(ai,Sn,oi,C(xn),si)}}}}return e.push(ui),ee(e,yn,vn),vn}}return W(e,n,t)}function se(e){var t=Oi.get(e);return t===void 0&&(t=`</`+e+`>`,Oi.set(e,t)),t}function ce(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function le(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)e.push(t[n]);return n<t.length?(n=t[n],t.length=0,e.push(n)):!0}function ue(e,t,n){if(e.push(Ni),n===null)throw Error(`An ID must have been assigned before we can complete the boundary.`);return e.push(t.boundaryPrefix),t=n.toString(16),e.push(t),e.push(Pi)}function de(e,t,n,r){switch(n.insertionMode){case Gr:case Kr:case Jr:case qr:return e.push(Wi),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(Gi);case Yr:return e.push(qi),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(Ji);case Xr:return e.push(Xi),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(Zi);case Zr:return e.push($i),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(ea);case Qr:return e.push(na),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(ra);case $r:return e.push(aa),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(oa);case ei:return e.push(ca),e.push(t.segmentPrefix),t=r.toString(16),e.push(t),e.push(la);default:throw Error(`Unknown insertion mode. This is a bug in React.`)}}function fe(e,t){switch(t.insertionMode){case Gr:case Kr:case Jr:case qr:return e.push(Ki);case Yr:return e.push(Yi);case Xr:return e.push(Qi);case Zr:return e.push(ta);case Qr:return e.push(ia);case $r:return e.push(sa);case ei:return e.push(ua);default:throw Error(`Unknown insertion mode. This is a bug in React.`)}}function pe(e){return JSON.stringify(e).replace(ka,function(e){switch(e){case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}function me(e){return JSON.stringify(e).replace(Aa,function(e){switch(e){case`&`:return`\\u0026`;case`>`:return`\\u003e`;case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}function he(e){var t=e.rules,n=e.hrefs;0<t.length&&n.length===0&&console.error(`React expected to have at least one href for an a hoistable style but found none. This is a bug in React.`);var r=0;if(n.length){for(this.push(Vr.startInlineStyle),this.push(ja),this.push(e.precedence),this.push(Ma);r<n.length-1;r++)this.push(n[r]),this.push(Ba);for(this.push(n[r]),this.push(Na),r=0;r<t.length;r++)this.push(t[r]);Ia=this.push(Pa),Fa=!0,t.length=0,n.length=0}}function K(e){return e.state===Xa?!1:Fa=!0}function ge(e,t,n){return Fa=!1,Ia=!0,Vr=n,t.styles.forEach(he,e),Vr=null,t.stylesheets.forEach(K),Fa&&(n.stylesToHoist=!0),Ia}function _e(e){for(var t=0;t<e.length;t++)this.push(e[t]);e.length=0}function ve(e){ne(La,e.props);for(var t=0;t<La.length;t++)this.push(La[t]);La.length=0,e.state=Xa}function ye(e){var t=0<e.sheets.size;e.sheets.forEach(ve,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(this.push(Vr.startInlineStyle),this.push(Ra),this.push(e.precedence),e=0,r.length){for(this.push(za);e<r.length-1;e++)this.push(r[e]),this.push(Ba);this.push(r[e])}for(this.push(Va),e=0;e<n.length;e++)this.push(n[e]);this.push(Ha),n.length=0,r.length=0}}function be(e){if(e.state===Ja){e.state=Ya;var t=e.props;for(ne(La,{rel:`preload`,as:`style`,href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<La.length;e++)this.push(La[e]);La.length=0}}function xe(e){e.sheets.forEach(be,this),e.sheets.clear()}function Se(e,t){(t.instructions&Lr)===Mr&&(t.instructions|=Lr,e.push(Ua,C(`_`+t.idPrefix+`R_`),si))}function Ce(e,t){e.push(Wa);var n=Wa;t.stylesheets.forEach(function(t){if(t.state!==Xa)if(t.state===Za)e.push(n),t=t.props.href,p(t,`href`),t=me(``+t),e.push(t),e.push(qa),n=Ga;else{e.push(n);var r=t.props[`data-precedence`],i=t.props,a=w(``+t.props.href);for(var o in a=me(a),e.push(a),p(r,`precedence`),r=``+r,e.push(Ka),r=me(r),e.push(r),i)if(Qn.call(i,o)&&(r=i[o],r!=null))switch(o){case`href`:case`rel`:case`precedence`:case`data-precedence`:break;case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:q(e,o,r)}e.push(qa),n=Ga,t.state=Za}}),e.push(qa)}function q(e,t,n){var r=t.toLowerCase();switch(typeof n){case`function`:case`symbol`:return}switch(t){case`innerHTML`:case`dangerouslySetInnerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`style`:case`ref`:return;case`className`:r=`class`,p(n,r),t=``+n;break;case`hidden`:if(!1===n)return;t=``;break;case`src`:case`href`:n=w(n),p(n,r),t=``+n;break;default:if(2<t.length&&(t[0]===`o`||t[0]===`O`)&&(t[1]===`n`||t[1]===`N`)||!g(t))return;p(n,r),t=``+n}e.push(Ka),r=me(r),e.push(r),e.push(Ka),r=me(t),e.push(r)}function J(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function we(e,t,n,r){(e.scriptResources.hasOwnProperty(n)||e.moduleScriptResources.hasOwnProperty(n))&&console.error(`Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue`,n),e.scriptResources[n]=zr,e.moduleScriptResources[n]=zr,e=[],ne(e,r),t.bootstrapScripts.add(e)}function Te(e,t){e.crossOrigin??=t[0],e.integrity??=t[1]}function Ee(e,t,n){for(var r in e=De(e),t=ke(t,`as`),t=`<`+e+`>; rel=preload; as="`+t+`"`,n)Qn.call(n,r)&&(e=n[r],typeof e==`string`&&(t+=`; `+r.toLowerCase()+`="`+ke(e,r)+`"`));return t}function De(e){return p(e,`href`),(``+e).replace(Qa,Oe)}function Oe(e){switch(e){case`<`:return`%3C`;case`>`:return`%3E`;case`
66
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function ke(e,t){return d(e)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",t,u(e)),f(e)),(``+e).replace($a,Ae)}function Ae(e){switch(e){case`"`:return`%22`;case`'`:return`%27`;case`;`:return`%3B`;case`,`:return`%2C`;case`
67
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function je(e){this.styles.add(e)}function Me(e){this.stylesheets.add(e)}function Ne(e,t){t.styles.forEach(je,e),t.stylesheets.forEach(Me,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Pe(e,t){var n=e.idPrefix,r=[],i=e.bootstrapScriptContent,a=e.bootstrapScripts,o=e.bootstrapModules;if(i!==void 0&&(r.push(`<script`),Se(r,e),r.push(ui,T(i),Hr)),n={placeholderPrefix:n+`P:`,segmentPrefix:n+`S:`,boundaryPrefix:n+`B:`,startInlineScript:`<script`,startInlineStyle:`<style`,preamble:{htmlChunks:null,headChunks:null,bodyChunks:null},externalRuntimeScript:null,bootstrapChunks:r,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:void 0,style:void 0},hoistableState:null,stylesToHoist:!1},a!==void 0)for(i=0;i<a.length;i++){var s=a[i],c,l=void 0,u=void 0,d={rel:`preload`,as:`script`,fetchPriority:`low`,nonce:void 0};typeof s==`string`?d.href=c=s:(d.href=c=s.src,d.integrity=u=typeof s.integrity==`string`?s.integrity:void 0,d.crossOrigin=l=typeof s==`string`||s.crossOrigin==null?void 0:s.crossOrigin===`use-credentials`?`use-credentials`:``),we(e,n,c,d),r.push(`<script src="`,C(c),si),typeof u==`string`&&r.push(` integrity="`,C(u),si),typeof l==`string`&&r.push(` crossorigin="`,C(l),si),Se(r,e),r.push(` async=""><\/script>`)}if(o!==void 0)for(a=0;a<o.length;a++)i=o[a],l=c=void 0,u={rel:`modulepreload`,fetchPriority:`low`,nonce:void 0},typeof i==`string`?u.href=s=i:(u.href=s=i.src,u.integrity=l=typeof i.integrity==`string`?i.integrity:void 0,u.crossOrigin=c=typeof i==`string`||i.crossOrigin==null?void 0:i.crossOrigin===`use-credentials`?`use-credentials`:``),we(e,n,s,u),r.push(`<script type="module" src="`,C(s),si),typeof l==`string`&&r.push(` integrity="`,C(l),si),typeof c==`string`&&r.push(` crossorigin="`,C(c),si),Se(r,e),r.push(` async=""><\/script>`);return{placeholderPrefix:n.placeholderPrefix,segmentPrefix:n.segmentPrefix,boundaryPrefix:n.boundaryPrefix,startInlineScript:n.startInlineScript,startInlineStyle:n.startInlineStyle,preamble:n.preamble,externalRuntimeScript:n.externalRuntimeScript,bootstrapChunks:n.bootstrapChunks,importMapChunks:n.importMapChunks,onHeaders:n.onHeaders,headers:n.headers,resets:n.resets,charsetChunks:n.charsetChunks,viewportChunks:n.viewportChunks,hoistableChunks:n.hoistableChunks,preconnects:n.preconnects,fontPreloads:n.fontPreloads,highImagePreloads:n.highImagePreloads,styles:n.styles,bootstrapScripts:n.bootstrapScripts,scripts:n.scripts,bulkPreloads:n.bulkPreloads,preloads:n.preloads,nonce:n.nonce,stylesToHoist:n.stylesToHoist,generateStaticMarkup:t}}function Fe(e,t,n,r){return n.generateStaticMarkup?(e.push(C(t)),!1):(t===``?e=r:(r&&e.push(`<!-- -->`),e.push(C(t)),e=!0),e)}function Ie(e,t,n,r){t.generateStaticMarkup||n&&r&&e.push(`<!-- -->`)}function Le(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===no?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case jn:return`Fragment`;case Nn:return`Profiler`;case Mn:return`StrictMode`;case Ln:return`Suspense`;case Rn:return`SuspenseList`;case Hn:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case An:return`Portal`;case Fn:return e.displayName||`Context`;case Pn:return(e._context.displayName||`Context`)+`.Consumer`;case In:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case zn:return t=e.displayName||null,t===null?Le(e.type)||`Memo`:t;case Bn:t=e._payload,e=e._init;try{return Le(e(t))}catch{}}return null}function Re(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(`The stacks must reach the root at the same time. This is a bug in React.`)}else{if(n===null)throw Error(`The stacks must reach the root at the same time. This is a bug in React.`);Re(e,n)}t.context._currentValue2=t.value}}function ze(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&ze(e)}function Be(e){var t=e.parent;t!==null&&Be(t),e.context._currentValue2=e.value}function Ve(e,t){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(`The depth must equal at least at zero before reaching the root. This is a bug in React.`);e.depth===t.depth?Re(e,t):Ve(e,t)}function He(e,t){var n=t.parent;if(n===null)throw Error(`The depth must equal at least at zero before reaching the root. This is a bug in React.`);e.depth===n.depth?Re(e,n):He(e,n),t.context._currentValue2=t.value}function Y(e){var t=ao;t!==e&&(t===null?Be(e):e===null?ze(t):t.depth===e.depth?Re(t,e):t.depth>e.depth?Ve(t,e):He(t,e),ao=e)}function Ue(e){if(e!==null&&typeof e!=`function`){var t=String(e);_o.has(t)||(_o.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function We(e,t){e=(e=e.constructor)&&Le(e)||`ReactClass`;var n=e+`.`+t;oo[n]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
68
+
69
+ Please check the code for the %s component.`,t,e),oo[n]=!0)}function X(e,t,n){var r=e.id;e=e.overflow;var i=32-bo(r)-1;r&=~(1<<i),n+=1;var a=32-bo(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-bo(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}function Ge(e){return e>>>=0,e===0?32:31-(xo(e)/So|0)|0}function Z(){}function Ke(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Z,Z),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason;default:switch(typeof t.status==`string`?t.then(Z,Z):(e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason}throw wo=t,Co}}function qe(){if(wo===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=wo;return wo=null,e}function Je(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Ye(){if(Eo===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
70
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
71
+ 2. You might be breaking the Rules of Hooks
72
+ 3. You might have more than one copy of React in the same app
73
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Vo&&console.error(`Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`),Eo}function Xe(){if(0<Bo)throw Error(`Rendered more hooks than during the previous render`);return{memoizedState:null,queue:null,next:null}}function Q(){return jo===null?Ao===null?(Mo=!1,Ao=jo=Xe()):(Mo=!0,jo=Ao):jo.next===null?(Mo=!1,jo=jo.next=Xe()):(Mo=!0,jo=jo.next),jo}function Ze(){var e=Ro;return Ro=null,e}function Qe(){Vo=!1,ko=Oo=Do=Eo=null,No=!1,Ao=null,Bo=0,jo=zo=null}function $e(e){return Vo&&console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`),e._currentValue2}function et(e,t){return typeof t==`function`?t(e):t}function tt(e,t,n){if(e!==et&&(Ho=`useReducer`),Eo=Ye(),jo=Q(),Mo){if(n=jo.queue,t=n.dispatch,zo!==null){var r=zo.get(n);if(r!==void 0){zo.delete(n),n=jo.memoizedState;do{var i=r.action;Vo=!0,n=e(n,i),Vo=!1,r=r.next}while(r!==null);return jo.memoizedState=n,[n,t]}}return[jo.memoizedState,t]}return Vo=!0,e=e===et?typeof t==`function`?t():t:n===void 0?t:n(t),Vo=!1,jo.memoizedState=e,e=jo.queue={last:null,dispatch:null},e=e.dispatch=rt.bind(null,Eo,e),[jo.memoizedState,e]}function nt(e,t){if(Eo=Ye(),jo=Q(),t=t===void 0?null:t,jo!==null){var n=jo.memoizedState;if(n!==null&&t!==null){a:{var r=n[1];if(r===null)console.error(`%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,Ho),r=!1;else{t.length!==r.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
74
+
75
+ Previous: %s
76
+ Incoming: %s`,Ho,`[`+t.join(`, `)+`]`,`[`+r.join(`, `)+`]`);for(var i=0;i<r.length&&i<t.length;i++)if(!To(t[i],r[i])){r=!1;break a}r=!0}}if(r)return n[0]}}return Vo=!0,e=e(),Vo=!1,jo.memoizedState=[e,t],e}function rt(e,t,n){if(25<=Bo)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(e===Eo)if(No=!0,e={action:n,next:null},zo===null&&(zo=new Map),n=zo.get(t),n===void 0)zo.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function it(){throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`)}function at(){throw Error(`startTransition cannot be called during server rendering.`)}function ot(){throw Error(`Cannot update optimistic state while rendering.`)}function st(e,t,n){Ye();var r=Fo++,i=Oo;if(typeof e.$$FORM_ACTION==`function`){var a=null,o=ko;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(i!==null&&typeof s==`function`){var c=i[1];s.call(e,i[2],i[3])&&(a=n===void 0?`k`+l(JSON.stringify([o,null,r]),0):`p`+n,c===a&&(Io=r,t=i[0]))}var u=e.bind(null,t);return e=function(e){u(e)},typeof u.$$FORM_ACTION==`function`&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),n!==void 0&&(p(n,`target`),n+=``,e.action=n);var t=e.data;return t&&(a===null&&(a=n===void 0?`k`+l(JSON.stringify([o,null,r]),0):`p`+n),t.append(`$ACTION_KEY`,a)),e}),[t,e,!1]}var d=e.bind(null,t);return[t,function(e){d(e)},!1]}function ct(e){var t=Lo;return Lo+=1,Ro===null&&(Ro=[]),Ke(Ro,e,t)}function lt(){throw Error(`Cache cannot be refreshed during server rendering.`)}function ut(){}function dt(){if(qo===0){Jo=console.log,Yo=console.info,Xo=console.warn,Zo=console.error,Qo=console.group,$o=console.groupCollapsed,es=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ut,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}qo++}function ft(){if(qo--,qo===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Zn({},e,{value:Jo}),info:Zn({},e,{value:Yo}),warn:Zn({},e,{value:Xo}),error:Zn({},e,{value:Zo}),group:Zn({},e,{value:Qo}),groupCollapsed:Zn({},e,{value:$o}),groupEnd:Zn({},e,{value:es})})}0>qo&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function pt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
77
+ `)&&(e=e.slice(29)),t=e.indexOf(`
78
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
79
+ `,t)),t!==-1)e=e.slice(0,t);else return``;return e}function mt(e){if(ts===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ts=t&&t[1]||``,ns=-1<e.stack.indexOf(`
80
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
81
+ `+ts+e+ns}function ht(e,t){if(!e||rs)return``;var n=is.get(e);if(n!==void 0)return n;rs=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=Or.H,Or.H=null,dt();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
82
+ `),u=c.split(`
83
+ `);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
84
+ `+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&is.set(e,d),d}while(1<=a&&0<=o);break}}}finally{rs=!1,Or.H=r,ft(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?mt(l):``,typeof e==`function`&&is.set(e,l),l}function gt(e){if(typeof e==`string`)return mt(e);if(typeof e==`function`)return e.prototype&&e.prototype.isReactComponent?ht(e,!0):ht(e,!1);if(typeof e==`object`&&e){switch(e.$$typeof){case In:return ht(e.render,!1);case zn:return ht(e.type,!1);case Bn:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return mt(`Lazy`)}return gt(e)}if(typeof e.name==`string`){a:{if(n=e.name,t=e.env,e=e.debugLocation,e!=null){e=pt(e);var r=e.lastIndexOf(`
85
+ `);if(e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1){n=`
86
+ `+e;break a}}n=mt(n+(t?` [`+t+`]`:``))}return n}}switch(e){case Rn:return mt(`SuspenseList`);case Ln:return mt(`Suspense`)}return``}function _t(e,t){return(500<t.byteSize||!1)&&t.contentPreamble===null}function vt(e){if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var t=e.environmentName;e=[e].slice(0),typeof e[0]==`string`?e.splice(0,1,`[%s] `+e[0],` `+t+` `):e.splice(0,0,`[%s]`,` `+t+` `),e.unshift(console),t=to.apply(console.error,e),t()}else console.error(e);return null}function yt(e,t,n,r,i,a,o,s,c,l,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=i===void 0?vt:i,this.onPostpone=l===void 0?Z:l,this.onAllReady=a===void 0?Z:a,this.onShellReady=o===void 0?Z:o,this.onShellError=s===void 0?Z:s,this.onFatalError=c===void 0?Z:c,this.formState=u===void 0?null:u,this.didWarnForKey=null}function bt(e,t,n,r,i,a,o,s,c,l,u,d){var f=ps();return 1e3<f-ds&&(Or.recentlyCreatedOwnerStacks=0,ds=f),t=new yt(t,n,r,i,a,o,s,c,l,u,d),n=Tt(t,0,null,r,!1,!1),n.parentFlushed=!0,e=Ct(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,yo,null,null,ro,null),kt(e),t.pingedTasks.push(e),t}function xt(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,un(e))}function St(e,t,n,r,i){return n={status:gs,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:J(),fallbackState:J(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&Ne(n.contentState,e)),n}function Ct(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,p!==null&&p.pendingTasks++;var _={replay:null,node:n,childIndex:r,ping:function(){return xt(e,_)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:c,keyPath:l,formatContext:u,context:d,treeContext:f,row:p,componentStack:m,thenableState:t};return _.debugTask=g,c.add(_),_}function wt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){e.allPendingTasks++,a===null?e.pendingRootTasks++:a.pendingTasks++,f!==null&&f.pendingTasks++,n.pendingTasks++;var g={replay:n,node:r,childIndex:i,ping:function(){return xt(e,g)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:c,formatContext:l,context:u,treeContext:d,row:f,componentStack:p,thenableState:t};return g.debugTask=h,s.add(g),g}function Tt(e,t,n,r,i,a){return{status:gs,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function Et(){if(Go===null||Go.componentStack===null)return``;var e=Go.componentStack;try{var t=``;if(typeof e.type==`string`)t+=mt(e.type);else if(typeof e.type==`function`){if(!e.owner){var n=t,r=e.type,i=r?r.displayName||r.name:``,a=i?mt(i):``;t=n+a}}else e.owner||(t+=gt(e.type));for(;e;)n=null,e.debugStack==null?(a=e,a.stack!=null&&(n=typeof a.stack==`string`?a.stack:a.stack=pt(a.stack))):n=pt(e.debugStack),(e=e.owner)&&n&&(t+=`
87
+ `+n);var o=t}catch(e){o=`
88
+ Error generating stack: `+e.message+`
89
+ `+e.stack}return o}function Dt(e,t){if(t!=null)for(var n=t.length-1;0<=n;n--){var r=t[n];if(typeof r.name==`string`||typeof r.time==`number`)break;if(r.awaited!=null){var i=r.debugStack==null?r.awaited:r;if(i.debugStack!==void 0){e.componentStack={parent:e.componentStack,type:r,owner:i.owner,stack:i.debugStack},e.debugTask=i.debugTask;break}}}}function Ot(e,t){if(t!=null)for(var n=0;n<t.length;n++){var r=t[n];typeof r.name==`string`&&r.debugStack!==void 0&&(e.componentStack={parent:e.componentStack,type:r,owner:r.owner,stack:r.debugStack},e.debugTask=r.debugTask)}}function kt(e){var t=e.node;if(typeof t==`object`&&t)switch(t.$$typeof){case kn:var n=t.type,r=t._owner,i=t._debugStack;Ot(e,t._debugInfo),e.debugTask=t._debugTask,e.componentStack={parent:e.componentStack,type:n,owner:r,stack:i};break;case Bn:Ot(e,t._debugInfo);break;default:typeof t.then==`function`&&Ot(e,t._debugInfo)}}function At(e){return e===null?null:{parent:e.parent,type:`Suspense Fallback`,owner:e.owner,stack:e.stack}}function jt(e){var t={};return e&&Object.defineProperty(t,`componentStack`,{configurable:!0,enumerable:!0,get:function(){try{var n=``,r=e;do n+=gt(r.type),r=r.parent;while(r);var i=n}catch(e){i=`
90
+ Error generating stack: `+e.message+`
91
+ `+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Mt(e,t,n,r,i){e.errorDigest=t,n instanceof Error?(t=String(n.message),n=String(n.stack)):(t=typeof n==`object`&&n?c(n):String(n),n=null),i=i?`Switched to client rendering because the server rendering aborted due to:
92
+
93
+ `:`Switched to client rendering because the server rendering errored:
94
+
95
+ `,e.errorMessage=i+t,e.errorStack=n===null?null:i+n,e.errorComponentStack=r.componentStack}function Nt(e,t,n,r){if(e=e.onError,t=r?r.run(e.bind(null,t,n)):e(t,n),t!=null&&typeof t!=`string`)console.error(`onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead`,typeof t);else return t}function Pt(e,t,n,r){n=e.onShellError;var i=e.onFatalError;r?(r.run(n.bind(null,t)),r.run(i.bind(null,t))):(n(t),i(t)),e.destination===null?(e.status=13,e.fatalError=t):(e.status=Ss,e.destination.destroy(t))}function Ft(e,t){It(e,t.next,t.hoistables)}function It(e,t,n){for(;t!==null;){n!==null&&(Ne(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&Ne(a.contentState,n),ln(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Lt(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||_t(e,a)){r=!1;break}}r&&It(e,t,t.hoistables)}}function Rt(e){var t={pendingTasks:1,boundaries:null,hoistables:J(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function zt(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row,c=t.componentStack,l=t.debugTask;Ot(t,t.node.props.children._debugInfo),t.keyPath=n,n=r.length;var u=null;if(t.replay!==null){var d=t.replay.slots;if(typeof d==`object`&&d)for(var f=0;f<n;f++){var p=i!==`backwards`&&i!==`unstable_legacy-backwards`?f:n-1-f,m=r[p];t.row=u=Rt(u),t.treeContext=X(o,n,p);var h=d[p];typeof h==`number`?(Ut(e,t,h,m,p),delete d[p]):en(e,t,m,p),--u.pendingTasks===0&&Ft(e,u)}else for(d=0;d<n;d++)f=i!==`backwards`&&i!==`unstable_legacy-backwards`?d:n-1-d,p=r[f],qt(e,t,p),t.row=u=Rt(u),t.treeContext=X(o,n,f),en(e,t,p,f),--u.pendingTasks===0&&Ft(e,u)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)d=r[i],qt(e,t,d),t.row=u=Rt(u),t.treeContext=X(o,n,i),en(e,t,d,i),--u.pendingTasks===0&&Ft(e,u);else{for(i=t.blockedSegment,d=i.children.length,f=i.chunks.length,p=n-1;0<=p;p--){m=r[p],t.row=u=Rt(u),t.treeContext=X(o,n,p),h=Tt(e,f,null,t.formatContext,p===0?i.lastPushedText:!0,!0),i.children.splice(d,0,h),t.blockedSegment=h,qt(e,t,m);try{en(e,t,m,p),Ie(h.chunks,e.renderState,h.lastPushedText,h.textEmbedded),h.status=_s,--u.pendingTasks===0&&Ft(e,u)}catch(t){throw h.status=e.status===12?ys:bs,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&u!==null&&0<u.pendingTasks&&(s.pendingTasks++,u.next=s),t.treeContext=o,t.row=s,t.keyPath=a,t.componentStack=c,t.debugTask=l}function Bt(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,Eo={},Do=t,Oo=e,ko=n,Vo=!1,Fo=Po=0,Io=-1,Lo=0,Ro=o,e=os(r,i,a);No;)No=!1,Fo=Po=0,Io=-1,Lo=0,Bo+=1,jo=null,e=r(i,a);return Qe(),e}function Vt(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(`<!--F!-->`):c.push(`<!--F-->`)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=X(n,1,0),en(e,t,r,-1),t.treeContext=n):s?en(e,t,r,-1):$(e,t,r,-1),t.keyPath=a}function Ht(e,t,n,i,a,o){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var s=a;if(`ref`in a)for(var c in s={},a)c!==`ref`&&(s[c]=a[c]);var l=i.defaultProps;if(l)for(var u in s===a&&(s=Zn({},s,a)),l)s[u]===void 0&&(s[u]=l[u]);var d=s,f=ro,p=i.contextType;if(`contextType`in i&&p!==null&&(p===void 0||p.$$typeof!==Fn)&&!go.has(i)){go.add(i);var m=p===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof p==`object`?p.$$typeof===Pn?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(p).join(`, `)+`}.`:` However, it is set to a `+typeof p+`.`;console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,Le(i)||`Component`,m)}typeof p==`object`&&p&&(f=p._currentValue2);var h=new i(d,f);if(typeof i.getDerivedStateFromProps==`function`&&(h.state===null||h.state===void 0)){var g=Le(i)||`Component`;co.has(g)||(co.add(g),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",g,h.state===null?`null`:`undefined`,g))}if(typeof i.getDerivedStateFromProps==`function`||typeof h.getSnapshotBeforeUpdate==`function`){var _=null,v=null,y=null;if(typeof h.componentWillMount==`function`&&!0!==h.componentWillMount.__suppressDeprecationWarning?_=`componentWillMount`:typeof h.UNSAFE_componentWillMount==`function`&&(_=`UNSAFE_componentWillMount`),typeof h.componentWillReceiveProps==`function`&&!0!==h.componentWillReceiveProps.__suppressDeprecationWarning?v=`componentWillReceiveProps`:typeof h.UNSAFE_componentWillReceiveProps==`function`&&(v=`UNSAFE_componentWillReceiveProps`),typeof h.componentWillUpdate==`function`&&!0!==h.componentWillUpdate.__suppressDeprecationWarning?y=`componentWillUpdate`:typeof h.UNSAFE_componentWillUpdate==`function`&&(y=`UNSAFE_componentWillUpdate`),_!==null||v!==null||y!==null){var b=Le(i)||`Component`,x=typeof i.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;uo.has(b)||(uo.add(b),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
96
+
97
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
98
+
99
+ The above lifecycles should be removed. Learn more about this warning here:
100
+ https://react.dev/link/unsafe-component-lifecycles`,b,x,_===null?``:`
101
+ `+_,v===null?``:`
102
+ `+v,y===null?``:`
103
+ `+y))}}var S=Le(i)||`Component`;h.render||(i.prototype&&typeof i.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!h.getInitialState||h.getInitialState.isReactClassApproved||h.state||console.error(`getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,S),h.getDefaultProps&&!h.getDefaultProps.isReactClassApproved&&console.error(`getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,S),h.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,S),i.childContextTypes&&!ho.has(i)&&(ho.add(i),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,S)),i.contextTypes&&!mo.has(i)&&(mo.add(i),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,S)),typeof h.componentShouldUpdate==`function`&&console.error(`%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,S),i.prototype&&i.prototype.isPureReactComponent&&h.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,Le(i)||`A pure component`),typeof h.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,S),typeof h.componentDidReceiveProps==`function`&&console.error(`%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,S),typeof h.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,S),typeof h.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,S);var C=h.props!==d;h.props!==void 0&&C&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),h.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,S,S),typeof h.getSnapshotBeforeUpdate!=`function`||typeof h.componentDidUpdate==`function`||lo.has(i)||(lo.add(i),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,Le(i))),typeof h.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,S),typeof h.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,S),typeof i.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,S);var w=h.state;w&&(typeof w!=`object`||qn(w))&&console.error(`%s.state: must be set to an object or null`,S),typeof h.getChildContext==`function`&&typeof i.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,S);var T=h.state===void 0?null:h.state;h.updater=vo,h.props=d,h.state=T;var E={queue:[],replace:!1};h._reactInternals=E;var D=i.contextType;if(h.context=typeof D==`object`&&D?D._currentValue2:ro,h.state===d){var k=Le(i)||`Component`;fo.has(k)||(fo.add(k),console.error(`%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,k))}var M=i.getDerivedStateFromProps;if(typeof M==`function`){var N=M(d,T);if(N===void 0){var P=Le(i)||`Component`;po.has(P)||(po.add(P),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,P))}h.state=N==null?T:Zn({},T,N)}if(typeof i.getDerivedStateFromProps!=`function`&&typeof h.getSnapshotBeforeUpdate!=`function`&&(typeof h.UNSAFE_componentWillMount==`function`||typeof h.componentWillMount==`function`)){var F=h.state;if(typeof h.componentWillMount==`function`){if(!0!==h.componentWillMount.__suppressDeprecationWarning){var I=Le(i)||`Unknown`;so[I]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
104
+
105
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
106
+
107
+ Please update the following components: %s`,I),so[I]=!0)}h.componentWillMount()}if(typeof h.UNSAFE_componentWillMount==`function`&&h.UNSAFE_componentWillMount(),F!==h.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,Le(i)||`Component`),vo.enqueueReplaceState(h,h.state,null)),E.queue!==null&&0<E.queue.length){var L=E.queue,R=E.replace;if(E.queue=null,E.replace=!1,R&&L.length===1)h.state=L[0];else{for(var z=R?L[0]:h.state,ee=!0,te=R?1:0;te<L.length;te++){var B=L[te],V=typeof B==`function`?B.call(h,z,d,void 0):B;V!=null&&(ee?(ee=!1,z=Zn({},z,V)):Zn(z,V))}h.state=z}}else E.queue=null}var ne=cs(h);if(e.status===12)throw null;h.props!==d&&(Os||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Le(i)||`a component`),Os=!0);var re=t.keyPath;t.keyPath=n,$(e,t,ne,-1),t.keyPath=re}else{if(i.prototype&&typeof i.prototype.render==`function`){var ie=Le(i)||`Unknown`;ws[ie]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,ie,ie),ws[ie]=!0)}var H=Bt(e,t,n,i,a,void 0);if(e.status===12)throw null;var U=Po!==0,ae=Fo,W=Io;if(i.contextTypes){var oe=Le(i)||`Unknown`;Ts[oe]||(Ts[oe]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,oe))}if(i&&i.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
108
+ %s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var ce=Le(i)||`Unknown`;Ds[ce]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,ce),Ds[ce]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var le=Le(i)||`Unknown`;Es[le]||(console.error(`%s: Function components do not support contextType.`,le),Es[le]=!0)}Vt(e,t,n,H,U,ae,W)}else if(typeof i==`string`){var ue=t.blockedSegment;if(ue===null){var de=a.children,fe=t.formatContext,pe=t.keyPath;t.formatContext=O(fe,i,a),t.keyPath=n,en(e,t,de,-1),t.formatContext=fe,t.keyPath=pe}else{var me=G(ue.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,ue.lastPushedText);ue.lastPushedText=!1;var he=t.formatContext,K=t.keyPath;if(t.keyPath=n,(t.formatContext=O(he,i,a)).insertionMode===Jr){var ge=Tt(e,0,null,t.formatContext,!1,!1);ue.preambleChildren.push(ge),t.blockedSegment=ge;try{ge.status=6,en(e,t,me,-1),Ie(ge.chunks,e.renderState,ge.lastPushedText,ge.textEmbedded),ge.status=_s}finally{t.blockedSegment=ue}}else en(e,t,me,-1);t.formatContext=he,t.keyPath=K;a:{var _e=ue.chunks,ve=e.resumableState;switch(i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(he.insertionMode<=Kr){ve.hasBody=!0;break a}break;case`html`:if(he.insertionMode===Gr){ve.hasHtml=!0;break a}break;case`head`:if(he.insertionMode<=Kr)break a}_e.push(se(i))}ue.lastPushedText=!1}}else{switch(i){case Un:case Mn:case Nn:case jn:var ye=t.keyPath;t.keyPath=n,$(e,t,a.children,-1),t.keyPath=ye;return;case Hn:var be=t.blockedSegment;if(be===null){if(a.mode!==`hidden`){var xe=t.keyPath;t.keyPath=n,en(e,t,a.children,-1),t.keyPath=xe}}else if(a.mode!==`hidden`){e.renderState.generateStaticMarkup||be.chunks.push(`<!--&-->`),be.lastPushedText=!1;var Se=t.keyPath;t.keyPath=n,en(e,t,a.children,-1),t.keyPath=Se,e.renderState.generateStaticMarkup||be.chunks.push(`<!--/&-->`),be.lastPushedText=!1}return;case Rn:a:{var Ce=a.children,q=a.revealOrder;if(q===`forwards`||q===`backwards`||q===`unstable_legacy-backwards`){if(qn(Ce)){zt(e,t,n,Ce,q);break a}var J=r(Ce);if(J){var we=J.call(Ce);if(we){Gt(t,Ce,-1,we,J);var Te=we.next();if(!Te.done){var Ee=[];do Ee.push(Te.value),Te=we.next();while(!Te.done);zt(e,t,n,Ce,q)}break a}}}if(q===`together`){var De=t.keyPath,Oe=t.row,ke=t.row=Rt(null);ke.boundaries=[],ke.together=!0,t.keyPath=n,$(e,t,Ce,-1),--ke.pendingTasks===0&&Ft(e,ke),t.keyPath=De,t.row=Oe,Oe!==null&&0<ke.pendingTasks&&(Oe.pendingTasks++,ke.next=Oe)}else{var Ae=t.keyPath;t.keyPath=n,$(e,t,Ce,-1),t.keyPath=Ae}}return;case Gn:case Vn:throw Error(`ReactDOMServer does not yet support scope components.`);case Ln:a:if(t.replay!==null){var je=t.keyPath,Me=t.formatContext,Ne=t.row;t.keyPath=n,t.formatContext=j(e.resumableState,Me),t.row=null;var Pe=a.children;try{en(e,t,Pe,-1)}finally{t.keyPath=je,t.formatContext=Me,t.row=Ne}}else{var Fe=t.keyPath,Re=t.formatContext,ze=t.row,Be=t.blockedBoundary,Ve=t.blockedPreamble,He=t.hoistableState,Y=t.blockedSegment,Ue=a.fallback,We=a.children,X=new Set,Ge=St(e,t.row,X,null,null);e.trackedPostpones!==null&&(Ge.trackedContentKeyPath=n);var Z=Tt(e,Y.chunks.length,Ge,t.formatContext,!1,!1);Y.children.push(Z),Y.lastPushedText=!1;var Ke=Tt(e,0,null,t.formatContext,!1,!1);if(Ke.parentFlushed=!0,e.trackedPostpones!==null){var qe=t.componentStack,Je=[n[0],`Suspense Fallback`,n[2]],Ye=[Je[1],Je[2],[],null];e.trackedPostpones.workingMap.set(Je,Ye),Ge.trackedFallbackNode=Ye,t.blockedSegment=Z,t.blockedPreamble=Ge.fallbackPreamble,t.keyPath=Je,t.formatContext=A(e.resumableState,Re),t.componentStack=At(qe),Z.status=6;try{en(e,t,Ue,-1),Ie(Z.chunks,e.renderState,Z.lastPushedText,Z.textEmbedded),Z.status=_s}catch(t){throw Z.status=e.status===12?ys:bs,t}finally{t.blockedSegment=Y,t.blockedPreamble=Ve,t.keyPath=Fe,t.formatContext=Re}var Xe=Ct(e,null,We,-1,Ge,Ke,Ge.contentPreamble,Ge.contentState,t.abortSet,n,j(e.resumableState,t.formatContext),t.context,t.treeContext,null,qe,ro,t.debugTask);kt(Xe),e.pingedTasks.push(Xe)}else{t.blockedBoundary=Ge,t.blockedPreamble=Ge.contentPreamble,t.hoistableState=Ge.contentState,t.blockedSegment=Ke,t.keyPath=n,t.formatContext=j(e.resumableState,Re),t.row=null,Ke.status=6;try{if(en(e,t,We,-1),Ie(Ke.chunks,e.renderState,Ke.lastPushedText,Ke.textEmbedded),Ke.status=_s,cn(Ge,Ke),Ge.pendingTasks===0&&Ge.status===gs){if(Ge.status=_s,!_t(e,Ge)){ze!==null&&--ze.pendingTasks===0&&Ft(e,ze),e.pendingRootTasks===0&&t.blockedPreamble&&pn(e);break a}}else ze!==null&&ze.together&&Lt(e,ze)}catch(n){if(Ge.status=hs,e.status===12){Ke.status=ys;var Q=e.fatalError}else Ke.status=bs,Q=n;var Ze=jt(t.componentStack);Mt(Ge,Nt(e,Q,Ze,t.debugTask),Q,Ze,!1),Zt(e,Ge)}finally{t.blockedBoundary=Be,t.blockedPreamble=Ve,t.hoistableState=He,t.blockedSegment=Y,t.keyPath=Fe,t.formatContext=Re,t.row=ze}var Qe=Ct(e,null,Ue,-1,Be,Z,Ge.fallbackPreamble,Ge.fallbackState,X,[n[0],`Suspense Fallback`,n[2]],A(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,At(t.componentStack),ro,t.debugTask);kt(Qe),e.pingedTasks.push(Qe)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case In:if(`ref`in a){var $e={};for(var et in a)et!==`ref`&&($e[et]=a[et])}else $e=a;Vt(e,t,n,Bt(e,t,n,i.render,$e,o),Po!==0,Fo,Io);return;case zn:Ht(e,t,n,i.type,a,o);return;case Fn:var tt=a.value,nt=a.children,rt=t.context,it=t.keyPath,at=i._currentValue2;i._currentValue2=tt,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==io&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=io;var ot=ao,st={parent:ot,depth:ot===null?0:ot.depth+1,context:i,parentValue:at,value:tt};ao=st,t.context=st,t.keyPath=n,$(e,t,nt,-1);var ct=ao;if(ct===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);ct.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),ct.context._currentValue2=ct.parentValue,i._currentRenderer2!==void 0&&i._currentRenderer2!==null&&i._currentRenderer2!==io&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer2=io,t.context=ao=ct.parent,t.keyPath=it,rt!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case Pn:var lt=i._context,ut=a.children;typeof ut!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`);var dt=ut(lt._currentValue2),ft=t.keyPath;t.keyPath=n,$(e,t,dt,-1),t.keyPath=ft;return;case Bn:var pt=us(i);if(e.status===12)throw null;Ht(e,t,n,pt,a,o);return}var mt=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(mt+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+((i==null?i:typeof i)+`.`+mt))}}function Ut(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Tt(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,en(e,t,r,i),s.status=_s,o===null?e.completedRootSegment=s:(cn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function Wt(e,t,n,r,i,a,o,s,c,l){a=l.nodes;for(var u=0;u<a.length;u++){var d=a[u];if(i===d[1]){if(d.length===4){if(r!==null&&r!==d[0])throw Error(`Expected the resume to render <`+d[0]+`> in this slot but instead it rendered <`+r+`>. The tree doesn't match so React will fallback to client rendering.`);var f=d[2];r=d[3],i=t.node,t.replay={nodes:f,slots:r,pendingTasks:1};try{if(Ht(e,t,n,o,s,c),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(d){if(typeof d==`object`&&d&&(d===Co||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=jt(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=Nt(s,n,o,t.debugTask),nn(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==Ln)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(Le(o)||`Unknown`)+`>. The tree doesn't match so React will fallback to client rendering.`);a:{l=void 0,r=d[5],o=d[2],c=d[3],i=d[4]===null?[]:d[4][2],d=d[4]===null?null:d[4][3];var p=t.keyPath,m=t.formatContext,h=t.row,g=t.replay,_=t.blockedBoundary,v=t.hoistableState,y=s.children,b=s.fallback,x=new Set;s=St(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=j(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if(en(e,t,y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===gs){s.status=_s,e.completedBoundaries.push(s);break a}}catch(n){s.status=hs,f=jt(t.componentStack),l=Nt(e,n,f,t.debugTask),Mt(s,l,n,f,!1),t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=_,t.hoistableState=v,t.replay=g,t.keyPath=p,t.formatContext=m,t.row=h}s=wt(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],A(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,At(t.componentStack),ro,t.debugTask),kt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function Gt(e,t,n,r,i){r===t?(n!==-1||e.componentStack===null||typeof e.componentStack.type!=`function`||Object.prototype.toString.call(e.componentStack.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(r)!==`[object Generator]`)&&(ks||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),ks=!0):t.entries!==i||As||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),As=!0)}function $(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?Ut(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,kt(t),Kt(e,t),t.componentStack=n,t.debugTask=r)}function Kt(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case kn:var a=n.type,o=n.key;n=n.props;var s=n.ref;s=s===void 0?null:s;var c=t.debugTask,l=Le(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(Ht.bind(null,e,t,u,a,n,s)):Ht(e,t,u,a,n,s):c?c.run(Wt.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):Wt(e,t,u,l,o,i,a,n,s,t.replay);return;case An:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case Bn:if(a=us(n),e.status===12)throw null;$(e,t,a,i);return}if(qn(n)){Jt(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(Gt(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);Jt(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,$(e,t,ct(n),i);if(n.$$typeof===Fn)return $(e,t,n._currentValue2,i);throw e=Object.prototype.toString.call(n),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`)}typeof n==`string`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=Fe(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=Fe(t.chunks,``+n,e.renderState,t.lastPushedText))):(typeof n==`function`&&(e=n.displayName||n.name||`Component`,console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.`,e,e)),typeof n==`symbol`&&console.error(`Symbols are not valid as a React child.
109
+ %s`,String(n)))}}function qt(e,t,n){if(typeof n==`object`&&n&&(n.$$typeof===kn||n.$$typeof===An)&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=e.didWarnForKey;if(r??=e.didWarnForKey=new WeakSet,e=t.componentStack,e!==null&&!r.has(e)){r.add(e);var i=Le(n.type);r=n._owner;var a=e.owner;if(e=``,a&&a.type!==void 0){var o=Le(a.type);o&&(e=`
110
+
111
+ Check the render method of \``+o+"`.")}e||i&&(e=`
112
+
113
+ Check the top-level render call using <`+i+`>.`),i=``,r!=null&&a!==r&&(a=null,r.type===void 0?typeof r.name==`string`&&(a=r.name):a=Le(r.type),a&&(i=` It was passed a child from `+a+`.`)),r=t.componentStack,t.componentStack={parent:t.componentStack,type:n.type,owner:n._owner,stack:n._debugStack},console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,e,i),t.componentStack=r}}}function Jt(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(Ot(t,t.node._debugInfo),r!==-1&&(t.keyPath=[t.keyPath,`Fragment`,r],t.replay!==null)){for(var s=t.replay,c=s.nodes,l=0;l<c.length;l++){var u=c[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(Jt(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(i){if(typeof i==`object`&&i&&(i===Co||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=jt(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=Nt(e,f,d,t.debugTask),nn(e,n,r,p,f,u,d,!1)}t.replay=s,c.splice(l,1);break}}t.keyPath=i,t.componentStack=a,t.debugTask=o;return}if(s=t.treeContext,c=n.length,t.replay!==null&&(l=t.replay.slots,typeof l==`object`&&l)){for(r=0;r<c;r++)u=n[r],t.treeContext=X(s,c,r),f=l[r],typeof f==`number`?(Ut(e,t,f,u,r),delete l[r]):en(e,t,u,r);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o;return}for(l=0;l<c;l++)r=n[l],qt(e,t,r),t.treeContext=X(s,c,l),en(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function Yt(e,t,n){if(n.status=xs,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(`It should not be possible to postpone at the root. This is a bug in React.`);var r=n.trackedFallbackNode,i=[],a=t.workingMap.get(e);return a===void 0?(n=[e[1],e[2],i,null,r,n.rootSegmentID],t.workingMap.set(e,n),wn(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function Xt(e,t,n,r){r.status=xs;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=xs);else{if(a!==null&&a.status===gs){var o=Yt(e,t,a);if(a.trackedContentKeyPath===i&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),o[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&a!==null?a.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)i===null?t.rootSlots=r.id:(n=t.workingMap.get(i),n===void 0?(n=[i[1],i[2],[],r.id],wn(n,i[0],t)):n[3]=r.id);else{if(i===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`)}else if(a=t.workingMap,o=a.get(i),o===void 0)e={},o=[i[1],i[2],[],e],a.set(i,o),wn(o,i[0],t);else if(e=o[3],e===null)e=o[3]={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`);e[n.childIndex]=r.id}}}function Zt(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function Qt(e,t,n){return wt(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,ro,t.debugTask)}function $t(e,t,n){var r=t.blockedSegment,i=Tt(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Ct(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,ro,t.debugTask)}function en(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.debugTask,u=t.blockedSegment;if(u===null){u=t.replay;try{return $(e,t,n,r)}catch(d){if(Qe(),n=d===Co?qe():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===Co?Ze():null,e=Qt(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,Y(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===Co?Ze():null,n=Qt(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,Y(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return $(e,t,n,r)}catch(r){if(Qe(),u.children.length=d,u.chunks.length=f,n=r===Co?qe():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===Co?Ze():null,e=$t(e,t,n).ping,u.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,Y(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===Co?Ze():null,u=$t(e,t,u),e.pingedTasks.push(u),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,Y(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Y(a),n}function tn(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=ys,ln(this,t,e.row,n))}function nn(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)nn(e,t,l[2],l[3],i,a,o,s);else{var u=e;l=l[5];var d=i,f=a,p=o,m=s,h=St(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=hs,Mt(h,f,d,p,m),h.parentFlushed&&u.clientRenderedBoundaries.push(h)}}if(n.length=0,r!==null){if(t===null)throw Error(`We should not have any resumable nodes in the shell. This is a bug in React.`);if(t.status!==hs&&(t.status=hs,Mt(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function rn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=ys}var a=jt(e.componentStack),o=e.node;if(typeof o==`object`&&o&&Dt(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==Ss){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,Nt(t,n,a,e.debugTask),Xt(t,r,e,i),ln(t,null,e.row,i)):(Nt(t,n,a,e.debugTask),Pt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=Nt(t,n,a,null),nn(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&on(t)}}else{if(o=t.trackedPostpones,r.status!==hs){if(o!==null&&i!==null)return Nt(t,n,a,e.debugTask),Xt(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return rn(e,t,n)}),r.fallbackAbortableTasks.clear(),ln(t,r,e.row,i);r.status=hs,i=Nt(t,n,a,e.debugTask),r.status=hs,Mt(r,i,n,a,!0),Zt(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Ft(t,a),r.fallbackAbortableTasks.forEach(function(e){return rn(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Ft(t,e),t.allPendingTasks--,t.allPendingTasks===0&&sn(t)}function an(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=Ee(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=Br,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:Br;else break b}}r(a?{Link:a}:{})}}}catch(t){Nt(e,t,{},null)}}function on(e){e.trackedPostpones===null&&an(e,!0),e.trackedPostpones===null&&pn(e),e.onShellError=Z,e=e.onShellReady,e()}function sn(e){an(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==xs),pn(e),e=e.onAllReady,e()}function cn(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==_s&&n.status!==ys&&n.status!==bs||cn(e,n)}else e.completedSegments.push(t)}function ln(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Ft(e,n):n.together&&Lt(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error(`There can only be one root segment. This is a bug in React.`);e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&on(e)}else if(t.pendingTasks--,t.status!==hs)if(t.pendingTasks===0){if(t.status===gs&&(t.status=_s),r!==null&&r.parentFlushed&&(r.status===_s||r.status===ys)&&cn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===_s)n=t.row,n!==null&&Ne(n.hoistables,t.contentState),_t(e,t)||(t.fallbackAbortableTasks.forEach(tn,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Ft(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&pn(e);else if(t.status===xs&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var i=t.next;if(i!==null&&(r=i.boundaries,r!==null))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];Yt(e,n,a),ln(e,a,null,null)}}--t.pendingTasks===0&&Ft(e,t)}}else r===null||!r.parentFlushed||r.status!==_s&&r.status!==ys||(cn(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Lt(e,t);e.allPendingTasks===0&&sn(e)}function un(e){if(e.status!==Ss&&e.status!==13){var t=ao,n=Or.H;Or.H=Uo;var r=Or.A;Or.A=Ko;var i=Cs;Cs=e;var a=Or.getCurrentStack;Or.getCurrentStack=Et;var o=Wo;Wo=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=e,u=s[c],d=u.blockedSegment;if(d===null){var f=void 0,p=l;if(l=u,l.replay.pendingTasks!==0){Y(l.context),f=Go,Go=l;try{if(typeof l.replay.slots==`number`?Ut(p,l,l.replay.slots,l.node,l.childIndex):Kt(p,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);l.replay.pendingTasks--,l.abortSet.delete(l),ln(p,l.blockedBoundary,l.row,null)}catch(e){Qe();var m=e===Co?qe():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===Co?Ze():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=jt(l.componentStack),_=void 0,v=p,y=l.blockedBoundary,b=p.status===12?p.fatalError:m,x=g,S=l.replay.nodes,C=l.replay.slots;_=Nt(v,b,x,l.debugTask),nn(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&on(p),p.allPendingTasks--,p.allPendingTasks===0&&sn(p)}}finally{Go=f}}}else if(p=f=void 0,_=u,v=d,v.status===gs){v.status=6,Y(_.context),p=Go,Go=_;var w=v.children.length,T=v.chunks.length;try{Kt(l,_),Ie(v.chunks,l.renderState,v.lastPushedText,v.textEmbedded),_.abortSet.delete(_),v.status=_s,ln(l,_.blockedBoundary,_.row,v)}catch(e){Qe(),v.children.length=w,v.chunks.length=T;var E=e===Co?qe():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=jt(_.componentStack);_.abortSet.delete(_),Nt(l,E,O,_.debugTask),Xt(l,D,_,v),ln(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=gs,_.thenableState=e===Co?Ze():null;var k=_.ping;E.then(k,k)}else{var A=jt(_.componentStack);_.abortSet.delete(_),v.status=bs;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Ft(l,M),l.allPendingTasks--,f=Nt(l,E,A,N),j===null)Pt(l,E,A,N);else if(j.pendingTasks--,j.status!==hs){j.status=hs,Mt(j,f,E,A,!1),Zt(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Ft(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&pn(l)}l.allPendingTasks===0&&sn(l)}}finally{Go=p}}}s.splice(0,c),e.destination!==null&&yn(e,e.destination)}catch(t){s={},Nt(e,t,s,null),Pt(e,t,s,null)}finally{Wo=o,Or.H=n,Or.A=r,Or.getCurrentStack=a,n===Uo&&Y(t),Cs=i}}}function dn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=fn(e,t.children[i],n)||r;return r}function fn(e,t,n){var r=t.boundary;if(r===null)return dn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case _s:if(ce(e.renderState,i),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return dn(e,t,n);case xs:if(e.trackedPostpones!==null)return!0;case hs:if(t.status===_s)return ce(e.renderState,a),dn(e,t,n);default:return!0}}function pn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=fn(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function mn(e,t,n,r){switch(n.parentFlushed=!0,n.status){case gs:n.id=e.nextSegmentId++;case xs:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,t.push(Ai),t.push(e.placeholderPrefix),e=r.toString(16),t.push(e),t.push(ji);case _s:n.status=vs;var i=!0,a=n.chunks,o=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];o<i.index;o++)t.push(a[o]);i=hn(e,t,i,r)}for(;o<a.length-1;o++)t.push(a[o]);return o<a.length&&(i=t.push(a[o])),i;case ys:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function hn(e,t,n,r){var i=n.boundary;if(i===null)return mn(e,t,n,r);if(i.parentFlushed=!0,i.status===hs){var a=i.row;if(a!==null&&--a.pendingTasks===0&&Ft(e,a),!e.renderState.generateStaticMarkup){var o=i.errorDigest,s=i.errorMessage;a=i.errorStack,i=i.errorComponentStack,t.push(Fi),t.push(Li),o&&(t.push(zi),o=C(o),t.push(o),t.push(Ri)),s&&(t.push(Bi),s=C(s),t.push(s),t.push(Ri)),a&&(t.push(Vi),a=C(a),t.push(a),t.push(Ri)),i&&(t.push(Hi),a=C(i),t.push(a),t.push(Ri)),t.push(Ui)}return mn(e,t,n,r),e=e.renderState.generateStaticMarkup?!0:t.push(Ii),e}if(i.status!==_s)return i.status===gs&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),r&&Ne(r,i.fallbackState),mn(e,t,n,r),t.push(Ii);if(!Ms&&_t(e,i)&&js+i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),ue(t,e.renderState,i.rootSegmentID),mn(e,t,n,r),t.push(Ii);if(js+=i.byteSize,r&&Ne(r,i.contentState),n=i.row,n!==null&&_t(e,i)&&--n.pendingTasks===0&&Ft(e,n),e.renderState.generateStaticMarkup||t.push(Mi),n=i.completedSegments,n.length!==1)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return hn(e,t,n[0],r),e=e.renderState.generateStaticMarkup?!0:t.push(Ii),e}function gn(e,t,n,r){return de(t,e.renderState,n.parentFormatContext,n.id),hn(e,t,n,r),fe(t,n.parentFormatContext)}function _n(e,t,n){js=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)vn(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&_t(e,n)&&--r.pendingTasks===0&&Ft(e,r),ge(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,t.push(e.startInlineScript),t.push(ui),a?((r.instructions&Fr)===Mr&&(r.instructions|=Fr,t.push(Ca)),(r.instructions&Pr)===Mr&&(r.instructions|=Pr,t.push(ha)),(r.instructions&Ir)===Mr?(r.instructions|=Ir,t.push(_a)):t.push(va)):((r.instructions&Pr)===Mr&&(r.instructions|=Pr,t.push(ha)),t.push(ga)),r=i.toString(16),t.push(e.boundaryPrefix),t.push(r),t.push(ya),t.push(e.segmentPrefix),t.push(r),a?(t.push(ba),Ce(t,n)):t.push(xa),n=t.push(Sa),le(t,e)&&n}function vn(e,t,n,r){if(r.status===vs)return!0;var i=n.contentState,a=r.id;if(a===-1){if((r.id=n.rootSegmentID)===-1)throw Error(`A root segment ID must have been assigned by now. This is a bug in React.`);return gn(e,t,r,i)}return a===n.rootSegmentID?gn(e,t,r,i):(gn(e,t,r,i),n=e.resumableState,e=e.renderState,t.push(e.startInlineScript),t.push(ui),(n.instructions&Nr)===Mr?(n.instructions|=Nr,t.push(da)):t.push(fa),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push(pa),t.push(e.placeholderPrefix),t.push(a),t=t.push(ma),t)}function yn(e,t){try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===xs)return;var i=e.completedPreambleSegments;if(i===null)return;js=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)t.push(c[u]);if(l)for(u=0;u<l.length;u++)t.push(l[u]);else{var d=oe(`head`);t.push(d),t.push(ui)}}else if(l)for(u=0;u<l.length;u++)t.push(l[u]);var f=o.charsetChunks;for(u=0;u<f.length;u++)t.push(f[u]);f.length=0,o.preconnects.forEach(_e,t),o.preconnects.clear();var p=o.viewportChunks;for(u=0;u<p.length;u++)t.push(p[u]);p.length=0,o.fontPreloads.forEach(_e,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(_e,t),o.highImagePreloads.clear(),Vr=o,o.styles.forEach(ye,t),Vr=null;var m=o.importMapChunks;for(u=0;u<m.length;u++)t.push(m[u]);m.length=0,o.bootstrapScripts.forEach(_e,t),o.scripts.forEach(_e,t),o.scripts.clear(),o.bulkPreloads.forEach(_e,t),o.bulkPreloads.clear(),a.instructions|=Lr;var h=o.hoistableChunks;for(u=0;u<h.length;u++)t.push(h[u]);for(a=h.length=0;a<i.length;a++){var g=i[a];for(o=0;o<g.length;o++)hn(e,t,g[o],null)}var _=e.renderState.preamble,v=_.headChunks;if(_.htmlChunks||v){var y=se(`head`);t.push(y)}var b=_.bodyChunks;if(b)for(i=0;i<b.length;i++)t.push(b[i]);hn(e,t,r,null),e.completedRootSegment=null;var x=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var S=e.resumableState;if((S.instructions&Rr)===Mr){if(S.instructions|=Rr,t.push(x.startInlineScript),(S.instructions&Lr)===Mr){S.instructions|=Lr;var w=`_`+S.idPrefix+`R_`;t.push(Ua);var T=C(w);t.push(T),t.push(si)}t.push(ui),t.push(ki),t.push(Hr)}}le(t,x)}var E=e.renderState;r=0;var D=E.viewportChunks;for(r=0;r<D.length;r++)t.push(D[r]);D.length=0,E.preconnects.forEach(_e,t),E.preconnects.clear(),E.fontPreloads.forEach(_e,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(_e,t),E.highImagePreloads.clear(),E.styles.forEach(xe,t),E.scripts.forEach(_e,t),E.scripts.clear(),E.bulkPreloads.forEach(_e,t),E.bulkPreloads.clear();var O=E.hoistableChunks;for(r=0;r<O.length;r++)t.push(O[r]);O.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var A=k[n];E=t;var j=e.resumableState,M=e.renderState,N=A.rootSegmentID,P=A.errorDigest,F=A.errorMessage,I=A.errorStack,L=A.errorComponentStack;E.push(M.startInlineScript),E.push(ui),(j.instructions&Fr)===Mr?(j.instructions|=Fr,E.push(wa)):E.push(Ta),E.push(M.boundaryPrefix);var R=N.toString(16);if(E.push(R),E.push(Ea),P||F||I||L){E.push(Da);var z=pe(P||``);E.push(z)}if(F||I||L){E.push(Da);var ee=pe(F||``);E.push(ee)}if(I||L){E.push(Da);var te=pe(I||``);E.push(te)}if(L){E.push(Da);var B=pe(L);E.push(B)}var V=E.push(Oa);if(!V){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var ne=e.completedBoundaries;for(n=0;n<ne.length;n++)if(!_n(e,t,ne[n])){e.destination=null,n++,ne.splice(0,n);return}ne.splice(0,n),Ms=!0;var re=e.partialBoundaries;for(n=0;n<re.length;n++){a:{k=e,A=t;var ie=re[n];js=ie.byteSize;var H=ie.completedSegments;for(V=0;V<H.length;V++)if(!vn(k,A,ie,H[V])){V++,H.splice(0,V);var U=!1;break a}H.splice(0,V);var ae=ie.row;ae!==null&&ae.together&&ie.pendingTasks===1&&(ae.pendingTasks===1?It(k,ae,ae.hoistables):ae.pendingTasks--),U=ge(A,ie.contentState,k.renderState)}if(!U){e.destination=null,n++,re.splice(0,n);return}}re.splice(0,n),Ms=!1;var W=e.completedBoundaries;for(n=0;n<W.length;n++)if(!_n(e,t,W[n])){e.destination=null,n++,W.splice(0,n);return}W.splice(0,n)}}finally{Ms=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&(re=se(`body`),t.push(re)),n.hasHtml&&(n=se(`html`),t.push(n)),e.abortableTasks.size!==0&&console.error(`There was still abortable task at the root when we closed. This is a bug in React.`),e.status=Ss,t.push(null),e.destination=null)}}function bn(e){e.flushScheduled=e.destination!==null,un(e),e.status===10&&(e.status=11),e.trackedPostpones===null&&an(e,e.pendingRootTasks===0)}function xn(e){if(!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null){e.flushScheduled=!0;var t=e.destination;t?yn(e,t):e.flushScheduled=!1}}function Sn(e,t){if(e.status===13)e.status=Ss,t.destroy(e.fatalError);else if(e.status!==Ss&&e.destination===null){e.destination=t;try{yn(e,t)}catch(n){t={},Nt(e,n,t,null),Pt(e,n,t,null)}}}function Cn(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error(`The render was aborted by the server without a reason.`):typeof t==`object`&&t&&typeof t.then==`function`?Error(`The render was aborted by the server with a promise.`):t;e.fatalError=r,n.forEach(function(t){var n=Go,i=Or.getCurrentStack;Go=t,Or.getCurrentStack=Et;try{rn(t,e,r)}finally{Go=n,Or.getCurrentStack=i}}),n.clear()}e.destination!==null&&yn(e,e.destination)}catch(n){t={},Nt(e,n,t,null),Pt(e,n,t,null)}}function wn(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),wn(i,t[0],n)),i[2].push(e)}}function Tn(){}function En(e,t,n,r){var i=!1,a=null,o=``,s=!1;if(t=E(t?t.identifierPrefix:void 0),e=bt(e,t,Pe(t,n),D(Gr,null,0,null),1/0,Tn,void 0,function(){s=!0},void 0,void 0,void 0),bn(e),Cn(e,r),Sn(e,{push:function(e){return e!==null&&(o+=e),!0},destroy:function(e){i=!0,a=e}}),i&&a!==r)throw a;if(!s)throw Error(`A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.`);return o}var Dn=require(`react`),On=require(`react-dom`),kn=Symbol.for(`react.transitional.element`),An=Symbol.for(`react.portal`),jn=Symbol.for(`react.fragment`),Mn=Symbol.for(`react.strict_mode`),Nn=Symbol.for(`react.profiler`),Pn=Symbol.for(`react.consumer`),Fn=Symbol.for(`react.context`),In=Symbol.for(`react.forward_ref`),Ln=Symbol.for(`react.suspense`),Rn=Symbol.for(`react.suspense_list`),zn=Symbol.for(`react.memo`),Bn=Symbol.for(`react.lazy`),Vn=Symbol.for(`react.scope`),Hn=Symbol.for(`react.activity`),Un=Symbol.for(`react.legacy_hidden`),Wn=Symbol.for(`react.memo_cache_sentinel`),Gn=Symbol.for(`react.view_transition`),Kn=Symbol.iterator,qn=Array.isArray,Jn=new WeakMap,Yn=new WeakMap,Xn=Symbol.for(`react.client.reference`),Zn=Object.assign,Qn=Object.prototype.hasOwnProperty,$n=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),er={},tr={},nr=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),rr=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),ir={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ar={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},or={},sr=RegExp(`^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),cr=RegExp(`^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),lr=!1,ur={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},dr={},fr=/^on./,pr=/^on[^A-Z]/,mr=RegExp(`^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),hr=RegExp(`^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),gr=/^(?:webkit|moz|o)[A-Z]/,_r=/^-ms-/,vr=/-(.)/g,yr=/;\s*$/,br={},xr={},Sr=!1,Cr=!1,wr=/["'&<>]/,Tr=/([A-Z])/g,Er=/^ms-/,Dr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Or=Dn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,kr=On.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ar=Object.freeze({pending:!1,data:null,method:null,action:null}),jr=kr.d;kr.d={f:jr.f,r:jr.r,D:function(e){var t=Cs||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=zr,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+De(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=zr,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],ne(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}xn(t)}}else jr.D(e)},C:function(e,t){var n=Cs||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=zr,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+De(e)+`>; rel=preconnect`,typeof t==`string`){var c=ke(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=zr,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],ne(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}xn(n)}}else jr.C(e,t)},L:function(e,t,n){var r=Cs||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
114
+ `+(s||``):e;if(i.imageResources.hasOwnProperty(l))return;i.imageResources[l]=Br,i=a.headers;var u;i&&0<i.remainingCapacity&&typeof o!=`string`&&c===`high`&&(u=Ee(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.image[l]=Br,i.highImagePreloads&&(i.highImagePreloads+=`, `),i.highImagePreloads+=u):(i=[],ne(i,Zn({rel:`preload`,href:o?void 0:e,as:t},n)),c===`high`?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(l,i)));break;case`style`:if(i.styleResources.hasOwnProperty(e))return;o=[],ne(o,Zn({rel:`preload`,href:e,as:t},n)),i.styleResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?Br:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case`script`:if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),ne(o,Zn({rel:`preload`,href:e,as:t},n)),i.scriptResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?Br:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if(o=i.unknownResources[t],o.hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;if(o[e]=Br,(i=a.headers)&&0<i.remainingCapacity&&t===`font`&&(l=Ee(e,t,n),0<=(i.remainingCapacity-=l.length+2)))a.resets.font[e]=Br,i.fontPreloads&&(i.fontPreloads+=`, `),i.fontPreloads+=l;else switch(i=[],e=Zn({rel:`preload`,href:e,as:t},n),ne(i,e),t){case`font`:a.fontPreloads.add(i);break;default:a.bulkPreloads.add(i)}}xn(r)}}else jr.L(e,t,n)},m:function(e,t){var n=Cs||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&typeof t.as==`string`?t.as:`script`;switch(a){case`script`:if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!=`string`&&typeof t.integrity!=`string`?Br:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a);break;default:if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=Br}ne(a,Zn({rel:`modulepreload`,href:e},t)),i.bulkPreloads.add(a),xn(n)}}else jr.m(e,t)},X:function(e,t){var n=Cs||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;a!==zr&&(r.scriptResources[e]=zr,t=Zn({src:e,async:!0},t),a&&(a.length===2&&Te(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),U(e,t),xn(n))}}else jr.X(e,t)},S:function(e,t,n){var r=Cs||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t||=`default`;var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;s!==zr&&(i.styleResources[e]=zr,o||(o={precedence:C(t),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:Ja,props:Zn({rel:`stylesheet`,href:e,"data-precedence":t},n)},s&&(s.length===2&&Te(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=Ya),o.sheets.set(e,t),xn(r))}}else jr.S(e,t,n)},M:function(e,t){var n=Cs||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;a!==zr&&(r.moduleScriptResources[e]=zr,t=Zn({src:e,type:`module`,async:!0},t),a&&(a.length===2&&Te(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),U(e,t),xn(n))}}else jr.M(e,t)}};var Mr=0,Nr=1,Pr=2,Fr=4,Ir=8,Lr=32,Rr=64,zr=null,Br=[];Object.freeze(Br);var Vr=null,Hr=`<\/script>`,Ur=/(<\/|<)(s)(cript)/gi,Wr={},Gr=0,Kr=1,qr=2,Jr=3,Yr=4,Xr=5,Zr=6,Qr=7,$r=8,ei=9,ti=new Map,ni=` style="`,ri=`:`,ii=`;`,ai=` `,oi=`="`,si=`"`,ci=`=""`,li=C(`javascript:throw new Error('React form unexpectedly submitted.')`),ui=`>`,di=`/>`,fi=!1,pi=!1,mi=!1,hi=!1,gi=!1,_i=!1,vi=!1,yi=!1,bi=!1,xi=!1,Si=!1,Ci=`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,wi=/(<\/|<)(s)(tyle)/gi,Ti=`
115
+ `,Ei=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Di=new Map,Oi=new Map,ki=`requestAnimationFrame(function(){$RT=performance.now()});`,Ai=`<template id="`,ji=`"></template>`,Mi=`<!--$-->`,Ni=`<!--$?--><template id="`,Pi=`"></template>`,Fi=`<!--$!-->`,Ii=`<!--/$-->`,Li=`<template`,Ri=`"`,zi=` data-dgst="`,Bi=` data-msg="`,Vi=` data-stck="`,Hi=` data-cstck="`,Ui=`></template>`,Wi=`<div hidden id="`,Gi=`">`,Ki=`</div>`,qi=`<svg aria-hidden="true" style="display:none" id="`,Ji=`">`,Yi=`</svg>`,Xi=`<math aria-hidden="true" style="display:none" id="`,Zi=`">`,Qi=`</math>`,$i=`<table hidden id="`,ea=`">`,ta=`</table>`,na=`<table hidden><tbody id="`,ra=`">`,ia=`</tbody></table>`,aa=`<table hidden><tr id="`,oa=`">`,sa=`</tr></table>`,ca=`<table hidden><colgroup id="`,la=`">`,ua=`</colgroup></table>`,da=`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`,fa=`$RS("`,pa=`","`,ma=`")<\/script>`,ha=`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
116
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`,ga=`$RC("`,_a=`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
117
+ "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
118
+ "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`,va=`$RR("`,ya=`","`,ba=`",`,xa=`"`,Sa=`)<\/script>`,Ca=`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`,wa=`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`,Ta=`$RX("`,Ea=`"`,Da=`,`,Oa=`)<\/script>`,ka=/[<\u2028\u2029]/g,Aa=/[&><\u2028\u2029]/g,ja=` media="not all" data-precedence="`,Ma=`" data-href="`,Na=`">`,Pa=`</style>`,Fa=!1,Ia=!0,La=[],Ra=` data-precedence="`,za=`" data-href="`,Ba=` `,Va=`">`,Ha=`</style>`,Ua=` id="`,Wa=`[`,Ga=`,[`,Ka=`,`,qa=`]`,Ja=0,Ya=1,Xa=2,Za=3,Qa=/[<>\r\n]/g,$a=/["';,\r\n]/g,eo=``,to=Function.prototype.bind,no=Symbol.for(`react.client.reference`),ro={};Object.freeze(ro);var io={},ao=null,oo={},so={},co=new Set,lo=new Set,uo=new Set,fo=new Set,po=new Set,mo=new Set,ho=new Set,go=new Set,_o=new Set,vo={enqueueSetState:function(e,t,n){var r=e._reactInternals;r.queue===null?We(e,`setState`):(r.queue.push(t),n!=null&&Ue(n))},enqueueReplaceState:function(e,t,n){e=e._reactInternals,e.replace=!0,e.queue=[t],n!=null&&Ue(n)},enqueueForceUpdate:function(e,t){e._reactInternals.queue===null?We(e,`forceUpdate`):t!=null&&Ue(t)}},yo={id:1,overflow:``},bo=Math.clz32?Math.clz32:Ge,xo=Math.log,So=Math.LN2,Co=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),wo=null,To=typeof Object.is==`function`?Object.is:Je,Eo=null,Do=null,Oo=null,ko=null,Ao=null,jo=null,Mo=!1,No=!1,Po=0,Fo=0,Io=-1,Lo=0,Ro=null,zo=null,Bo=0,Vo=!1,Ho,Uo={readContext:$e,use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ct(e);if(e.$$typeof===Fn)return $e(e)}throw Error(`An unsupported type was passed to use(): `+String(e))},useContext:function(e){return Ho=`useContext`,Ye(),e._currentValue2},useMemo:nt,useReducer:tt,useRef:function(e){Eo=Ye(),jo=Q();var t=jo.memoizedState;return t===null?(e={current:e},Object.seal(e),jo.memoizedState=e):t},useState:function(e){return Ho=`useState`,tt(et,e)},useInsertionEffect:Z,useLayoutEffect:Z,useCallback:function(e,t){return nt(function(){return e},t)},useImperativeHandle:Z,useEffect:Z,useDebugValue:Z,useDeferredValue:function(e,t){return Ye(),t===void 0?e:t},useTransition:function(){return Ye(),[!1,at]},useId:function(){var e=Do.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-bo(e)-1)).toString(32)+t;var n=Wo;if(n===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component.`);return t=Po++,e=`_`+n.idPrefix+`R_`+e,0<t&&(e+=`H`+t.toString(32)),e+`_`},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);return n()},useOptimistic:function(e){return Ye(),[e,ot]},useActionState:st,useFormState:st,useHostTransitionStatus:function(){return Ye(),Ar},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=Wn;return t},useCacheRefresh:function(){return lt},useEffectEvent:function(){return it}},Wo=null,Go=null,Ko={getCacheForType:function(){throw Error(`Not implemented.`)},cacheSignal:function(){throw Error(`Not implemented.`)},getOwner:function(){return Go===null?null:Go.componentStack}},qo=0,Jo,Yo,Xo,Zo,Qo,$o,es;ut.__reactDisabledLog=!0;var ts,ns,rs=!1,is=new(typeof WeakMap==`function`?WeakMap:Map),as={react_stack_bottom_frame:function(e,t,n){return e(t,n)}},os=as.react_stack_bottom_frame.bind(as),ss={react_stack_bottom_frame:function(e){return e.render()}},cs=ss.react_stack_bottom_frame.bind(ss),ls={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},us=ls.react_stack_bottom_frame.bind(ls),ds=0;if(typeof performance==`object`&&typeof performance.now==`function`)var fs=performance,ps=function(){return fs.now()};else{var ms=Date;ps=function(){return ms.now()}}var hs=4,gs=0,_s=1,vs=2,ys=3,bs=4,xs=5,Ss=14,Cs=null,ws={},Ts={},Es={},Ds={},Os=!1,ks=!1,As=!1,js=0,Ms=!1;e.renderToStaticMarkup=function(e,t){return En(e,t,!0,`The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.renderToString=function(e,t){return En(e,t,!1,`The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server`)},e.version=`19.2.4`})()})),m=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e,t,n,r){return``+t+(n===`s`?`\\73 `:`\\53 `)+r}function n(e,t,n,r){return``+t+(n===`s`?`\\u0073`:`\\u0053`)+r}function r(e){return typeof e!=`object`||!e?null:(e=cr&&e[cr]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e){return e=Object.prototype.toString.call(e),e.slice(8,e.length-1)}function a(e){var t=JSON.stringify(e);return`"`+e+`"`===t?e:t}function o(e){switch(typeof e){case`string`:return JSON.stringify(10>=e.length?e:e.slice(0,10)+`...`);case`object`:return lr(e)?`[...]`:e!==null&&e.$$typeof===fr?`client`:(e=i(e),e===`Object`?`{...}`:e);case`function`:return e.$$typeof===fr?`client`:(e=e.displayName||e.name)?`function `+e:`function`;default:return String(e)}}function s(e){if(typeof e==`string`)return e;switch(e){case $n:return`Suspense`;case er:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case Qn:return s(e.render);case tr:return s(e.type);case nr:var t=e._payload;e=e._init;try{return s(e(t))}catch{}}return``}function c(e,t){var n=i(e);if(n!==`Object`&&n!==`Array`)return n;var r=-1,l=0;if(lr(e))if(dr.has(e)){var u=dr.get(e);n=`<`+s(u)+`>`;for(var d=0;d<e.length;d++){var f=e[d];f=typeof f==`string`?f:typeof f==`object`&&f?`{`+c(f)+`}`:`{`+o(f)+`}`,``+d===t?(r=n.length,l=f.length,n+=f):n=15>f.length&&40>n.length+f.length?n+f:n+`{...}`}n+=`</`+s(u)+`>`}else{for(n=`[`,u=0;u<e.length;u++)0<u&&(n+=`, `),d=e[u],d=typeof d==`object`&&d?c(d):o(d),``+u===t?(r=n.length,l=d.length,n+=d):n=10>d.length&&40>n.length+d.length?n+d:n+`...`;n+=`]`}else if(e.$$typeof===Gn)n=`<`+s(e.type)+`/>`;else{if(e.$$typeof===fr)return`client`;if(ur.has(e)){for(n=ur.get(e),n=`<`+(s(n)||`...`),u=Object.keys(e),d=0;d<u.length;d++){n+=` `,f=u[d],n+=a(f)+`=`;var p=e[f],m=f===t&&typeof p==`object`&&p?c(p):o(p);typeof p!=`string`&&(m=`{`+m+`}`),f===t?(r=n.length,l=m.length,n+=m):n=10>m.length&&40>n.length+m.length?n+m:n+`...`}n+=`>`}else{for(n=`{`,u=Object.keys(e),d=0;d<u.length;d++)0<d&&(n+=`, `),f=u[d],n+=a(f)+`: `,p=e[f],p=typeof p==`object`&&p?c(p):o(p),f===t?(r=n.length,l=p.length,n+=p):n=10>p.length&&40>n.length+p.length?n+p:n+`...`;n+=`}`}}return t===void 0?n:-1<r&&0<l?(e=` `.repeat(r)+`^`.repeat(l),`
119
+ `+n+`
120
+ `+e):`
121
+ `+n}function l(e,t){var n=e.length&3,r=e.length-n,i=t;for(t=0;t<r;){var a=e.charCodeAt(t)&255|(e.charCodeAt(++t)&255)<<8|(e.charCodeAt(++t)&255)<<16|(e.charCodeAt(++t)&255)<<24;++t,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,a=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,i=5*(i&65535)+((5*(i>>>16)&65535)<<16)&4294967295,i=(i&65535)+27492+(((i>>>16)+58964&65535)<<16)}switch(a=0,n){case 3:a^=(e.charCodeAt(t+2)&255)<<16;case 2:a^=(e.charCodeAt(t+1)&255)<<8;case 1:a^=e.charCodeAt(t)&255,a=3432918353*(a&65535)+((3432918353*(a>>>16)&65535)<<16)&4294967295,a=a<<15|a>>>17,i^=461845907*(a&65535)+((461845907*(a>>>16)&65535)<<16)&4294967295}return i^=e.length,i^=i>>>16,i=2246822507*(i&65535)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(i&65535)+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^i>>>16)>>>0}function u(e){mr.push(e),pr.port2.postMessage(null)}function d(e){setTimeout(function(){throw e})}function f(e,t){if(t.byteLength!==0)if(2048<t.byteLength)0<vr&&(e.enqueue(new Uint8Array(_r.buffer,0,vr)),_r=new Uint8Array(2048),vr=0),e.enqueue(t);else{var n=_r.length-vr;n<t.byteLength&&(n===0?e.enqueue(_r):(_r.set(t.subarray(0,n),vr),e.enqueue(_r),t=t.subarray(n)),_r=new Uint8Array(2048),vr=0),_r.set(t,vr),vr+=t.byteLength}}function p(e,t){return f(e,t),!0}function m(e){_r&&0<vr&&(e.enqueue(new Uint8Array(_r.buffer,0,vr)),_r=null,vr=0)}function h(e){return yr.encode(e)}function g(e){return e=yr.encode(e),2048<e.byteLength&&console.error(`precomputed chunks must be smaller than the view size configured for this host. This is a bug in React.`),e}function _(e){return e.byteLength}function v(e,t){typeof e.error==`function`?e.error(t):e.close()}function y(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function b(e){try{return x(e),!1}catch{return!0}}function x(e){return``+e}function S(e,t){if(b(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,y(e)),x(e)}function C(e,t){if(b(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,y(e)),x(e)}function w(e){if(b(e))return console.error(`The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.`,y(e)),x(e)}function T(e){return xr.call(wr,e)?!0:xr.call(Cr,e)?!1:Sr.test(e)?wr[e]=!0:(Cr[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function E(e,t){Dr[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e===`select`?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function D(e,t){if(xr.call(kr,t)&&kr[t])return!0;if(jr.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Or.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),kr[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),kr[t]=!0}if(Ar.test(t)){if(e=t.toLowerCase(),e=Or.hasOwnProperty(e)?e:null,e==null)return kr[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),kr[t]=!0)}return!0}function O(e,t){var n=[],r;for(r in t)D(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function k(e,t,n,r){if(xr.call(Pr,t)&&Pr[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`onfocusout`)return console.error(`React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.`),Pr[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Pr[t]=!0;if(Fr.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Pr[t]=!0}else if(Fr.test(t))return Ir.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Pr[t]=!0;if(Lr.test(t)||Rr.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Pr[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Pr[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Pr[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Pr[t]=!0;if(Nr.hasOwnProperty(i)){if(i=Nr[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),Pr[t]=!0}else if(t!==i)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,i),Pr[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
122
+
123
+ If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
124
+
125
+ If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),Pr[t]=!0)}case`function`:case`symbol`:return Pr[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),Pr[t]=!0}}return!0}function A(e,t,n){var r=[],i;for(i in t)k(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function j(e){return e.replace(Vr,function(e,t){return t.toUpperCase()})}function M(e){if(typeof e==`boolean`||typeof e==`number`||typeof e==`bigint`)return``+e;w(e),e=``+e;var t=qr.exec(e);if(t){var n=``,r,i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=`&quot;`;break;case 38:t=`&amp;`;break;case 39:t=`&#x27;`;break;case 60:t=`&lt;`;break;case 62:t=`&gt;`;break;default:continue}i!==r&&(n+=e.slice(i,r)),i=r+1,n+=t}e=i===r?n:n+e.slice(i,r)}return e}function N(e){return Xr.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function P(e){return w(e),(``+e).replace(bi,n)}function F(e,t,n,r,i,a){n=typeof t==`string`?t:t&&t.script;var o=n===void 0?di:g(`<script nonce="`+M(n)+`"`),s=typeof t==`string`?void 0:t&&t.style,c=s===void 0?yi:g(`<style nonce="`+M(s)+`"`),l=e.idPrefix,u=[],d=e.bootstrapScriptContent,f=e.bootstrapScripts,p=e.bootstrapModules;if(d!==void 0&&(u.push(o),Ne(u,e),u.push(Gi,h(P(d)),fi)),d=[],r!==void 0&&(d.push(xi),d.push(h(P(JSON.stringify(r)))),d.push(Si)),i&&typeof a==`number`&&0>=a&&console.error("React expected a positive non-zero `maxHeadersLength` option but found %s instead. When using the `onHeaders` option you may supply an optional `maxHeadersLength` option as well however, when setting this value to zero or less no headers will be captured.",a===0?`zero`:a),r=i?{preconnects:``,fontPreloads:``,highImagePreloads:``,remainingCapacity:2+(typeof a==`number`?a:2e3)}:null,i={placeholderPrefix:g(l+`P:`),segmentPrefix:g(l+`S:`),boundaryPrefix:g(l+`B:`),startInlineScript:o,startInlineStyle:c,preamble:L(),externalRuntimeScript:null,bootstrapChunks:u,importMapChunks:d,onHeaders:i,headers:r,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:{script:n,style:s},hoistableState:null,stylesToHoist:!1},f!==void 0)for(r=0;r<f.length;r++)a=f[r],c=s=void 0,l={rel:`preload`,as:`script`,fetchPriority:`low`,nonce:t},typeof a==`string`?l.href=o=a:(l.href=o=a.src,l.integrity=c=typeof a.integrity==`string`?a.integrity:void 0,l.crossOrigin=s=typeof a==`string`||a.crossOrigin==null?void 0:a.crossOrigin===`use-credentials`?`use-credentials`:``),Le(e,i,o,l),u.push(pi,h(M(o)),Vi),n&&u.push(hi,h(M(n)),Vi),typeof c==`string`&&u.push(gi,h(M(c)),Vi),typeof s==`string`&&u.push(_i,h(M(s)),Vi),Ne(u,e),u.push(vi);if(p!==void 0)for(t=0;t<p.length;t++)f=p[t],o=a=void 0,s={rel:`modulepreload`,fetchPriority:`low`,nonce:n},typeof f==`string`?s.href=r=f:(s.href=r=f.src,s.integrity=o=typeof f.integrity==`string`?f.integrity:void 0,s.crossOrigin=a=typeof f==`string`||f.crossOrigin==null?void 0:f.crossOrigin===`use-credentials`?`use-credentials`:``),Le(e,i,r,s),u.push(mi,h(M(r)),Vi),n&&u.push(hi,h(M(n)),Vi),typeof o==`string`&&u.push(gi,h(M(o)),Vi),typeof a==`string`&&u.push(_i,h(M(a)),Vi),Ne(u,e),u.push(vi);return i}function I(e,t,n,r,i){return{idPrefix:e===void 0?``:e,nextFormID:0,streamingFormat:0,bootstrapScriptContent:n,bootstrapScripts:r,bootstrapModules:i,instructions:ti,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function L(){return{htmlChunks:null,headChunks:null,bodyChunks:null}}function R(e,t,n,r){return{insertionMode:e,selectedValue:t,tagScope:n,viewTransition:r}}function z(e){return R(e===`http://www.w3.org/2000/svg`?Oi:e===`http://www.w3.org/1998/Math/MathML`?ki:wi,null,0,null)}function ee(e,t,n){var r=e.tagScope&-25;switch(t){case`noscript`:return R(Ei,null,r|1,null);case`select`:return R(Ei,n.value==null?n.defaultValue:n.value,r,null);case`svg`:return R(Oi,null,r,null);case`picture`:return R(Ei,null,r|2,null);case`math`:return R(ki,null,r,null);case`foreignObject`:return R(Ei,null,r,null);case`table`:return R(Ai,null,r,null);case`thead`:case`tbody`:case`tfoot`:return R(ji,null,r,null);case`colgroup`:return R(Ni,null,r,null);case`tr`:return R(Mi,null,r,null);case`head`:if(e.insertionMode<Ei)return R(Di,null,r,null);break;case`html`:if(e.insertionMode===wi)return R(Ti,null,r,null)}return e.insertionMode>=Ai||e.insertionMode<Ei?R(Ei,null,r,null):e.tagScope===r?e:R(e.insertionMode,e.selectedValue,r,null)}function te(e){return e===null?null:{update:e.update,enter:`none`,exit:`none`,share:e.update,name:e.autoName,autoName:e.autoName,nameIdx:0}}function B(e,t){return t.tagScope&32&&(e.instructions|=128),R(t.insertionMode,t.selectedValue,t.tagScope|12,te(t.viewTransition))}function V(e,t){e=te(t.viewTransition);var n=t.tagScope|16;return e!==null&&e.share!==`none`&&(n|=64),R(t.insertionMode,t.selectedValue,n,e)}function ne(e,t,n,r){return t===``?r:(r&&e.push(Pi),e.push(h(M(t))),!0)}function re(e,t){if(typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var n=!0,r;for(r in t)if(xr.call(t,r)){var i=t[r];if(i!=null&&typeof i!=`boolean`&&i!==``){if(r.indexOf(`--`)===0){var a=h(M(r));C(i,r),i=h(M((``+i).trim()))}else{a=r;var o=i;if(-1<a.indexOf(`-`)){var s=a;Ur.hasOwnProperty(s)&&Ur[s]||(Ur[s]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,s,j(s.replace(Br,`ms-`))))}else if(zr.test(a))s=a,Ur.hasOwnProperty(s)&&Ur[s]||(Ur[s]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,s,s.charAt(0).toUpperCase()+s.slice(1)));else if(Hr.test(o)){s=a;var c=o;Wr.hasOwnProperty(c)&&Wr[c]||(Wr[c]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Hr,``)))}typeof o==`number`&&(isNaN(o)?Gr||(Gr=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",a)):isFinite(o)||Kr||(Kr=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",a))),a=r,o=Fi.get(a),o===void 0?(o=g(M(a.replace(Jr,`-$1`).toLowerCase().replace(Yr,`-ms-`))),Fi.set(a,o),a=o):a=o,typeof i==`number`?i=i===0||Tr.has(r)?h(``+i):h(i+`px`):(C(i,r),i=h(M((``+i).trim())))}n?(n=!1,e.push(Ii,a,Li,i)):e.push(Ri,a,Li,i)}}n||e.push(Vi)}function ie(e,t,n){n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(zi,h(t),Hi)}function H(e,t,n){typeof n!=`function`&&typeof n!=`symbol`&&typeof n!=`boolean`&&e.push(zi,h(t),Bi,h(M(n)),Vi)}function U(e,t){this.push(Wi),ae(e),H(this,`name`,t),H(this,`value`,e),this.push(Ki)}function ae(e){if(typeof e!=`string`)throw Error(`File/Blob fields are not yet supported in progressive forms. Will fallback to client hydration.`)}function W(e,t){if(typeof t.$$FORM_ACTION==`function`){var n=e.nextFormID++;e=e.idPrefix+n;try{var r=t.$$FORM_ACTION(e);return r&&r.data?.forEach(ae),r}catch(e){if(typeof e==`object`&&e&&typeof e.then==`function`)throw e;console.error(`Failed to serialize an action for progressive enhancement:
126
+ %s`,e)}}return null}function oe(e,t,n,r,i,a,o,s){var c=null;if(typeof r==`function`){s===null||ta||(ta=!0,console.error(`Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.`)),i===null&&a===null||ra||(ra=!0,console.error(`Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.`)),o===null||na||(na=!0,console.error(`Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window.`));var l=W(t,r);l===null?(e.push(zi,h(`formAction`),Bi,Ui,Vi),o=a=i=r=s=null,ue(t,n)):(s=l.name,r=l.action||``,i=l.encType,a=l.method,o=l.target,c=l.data)}return s!=null&&G(e,`name`,s),r!=null&&G(e,`formAction`,r),i!=null&&G(e,`formEncType`,i),a!=null&&G(e,`formMethod`,a),o!=null&&G(e,`formTarget`,o),c}function G(e,t,n){switch(t){case`className`:H(e,`class`,n);break;case`tabIndex`:H(e,`tabindex`,n);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:H(e,t,n);break;case`style`:re(e,n);break;case`src`:case`href`:if(n===``){console.error(t===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,t,t);break}case`action`:case`formAction`:if(n==null||typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;S(n,t),n=N(``+n),e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`autoFocus`:case`multiple`:case`muted`:ie(e,t.toLowerCase(),n);break;case`xlinkHref`:if(typeof n==`function`||typeof n==`symbol`||typeof n==`boolean`)break;S(n,t),n=N(``+n),e.push(zi,h(`xlink:href`),Bi,h(M(n)),Vi);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:typeof n!=`function`&&typeof n!=`symbol`&&e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`inert`:n!==``||Ci[t]||(Ci[t]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",t));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(zi,h(t),Hi);break;case`capture`:case`download`:!0===n?e.push(zi,h(t),Hi):!1!==n&&typeof n!=`function`&&typeof n!=`symbol`&&e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`cols`:case`rows`:case`size`:case`span`:typeof n!=`function`&&typeof n!=`symbol`&&!isNaN(n)&&1<=n&&e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`rowSpan`:case`start`:typeof n==`function`||typeof n==`symbol`||isNaN(n)||e.push(zi,h(t),Bi,h(M(n)),Vi);break;case`xlinkActuate`:H(e,`xlink:actuate`,n);break;case`xlinkArcrole`:H(e,`xlink:arcrole`,n);break;case`xlinkRole`:H(e,`xlink:role`,n);break;case`xlinkShow`:H(e,`xlink:show`,n);break;case`xlinkTitle`:H(e,`xlink:title`,n);break;case`xlinkType`:H(e,`xlink:type`,n);break;case`xmlBase`:H(e,`xml:base`,n);break;case`xmlLang`:H(e,`xml:lang`,n);break;case`xmlSpace`:H(e,`xml:space`,n);break;default:if((!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`)&&(t=Er.get(t)||t,T(t))){switch(typeof n){case`function`:case`symbol`:return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`)return}e.push(zi,h(t),Bi,h(M(n)),Vi)}}}function se(e,t,n){if(t!=null){if(n!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!=`object`||!(`__html`in t))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");t=t.__html,t!=null&&(w(t),e.push(h(``+t)))}}function ce(e,t){var n=e[t];n!=null&&(n=lr(n),e.multiple&&!n?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!e.multiple&&n&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t))}function le(e){var t=``;return Un.Children.forEach(e,function(e){e!=null&&(t+=e,Zi||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||(Zi=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}function ue(e,t){if((e.instructions&16)===ti){e.instructions|=16;var n=t.preamble,r=t.bootstrapChunks;(n.htmlChunks||n.headChunks)&&r.length===0?(r.push(t.startInlineScript),Ne(r,e),r.push(Gi,aa,fi)):r.unshift(t.startInlineScript,Gi,aa,fi)}}function de(e,t){for(var n in e.push(_e(`link`)),t)if(xr.call(t,n)){var r=t[n];if(r!=null)switch(n){case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:G(e,n,r)}}return e.push(Ki),null}function fe(e){return w(e),(``+e).replace(ca,t)}function pe(e,t,n){for(var r in e.push(_e(n)),t)if(xr.call(t,r)){var i=t[r];if(i!=null)switch(r){case`children`:case`dangerouslySetInnerHTML`:throw Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:G(e,r,i)}}return e.push(Ki),null}function me(e,t){e.push(_e(`title`));var n=null,r=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),t=Array.isArray(n)?2>n.length?n[0]:null:n,typeof t!=`function`&&typeof t!=`symbol`&&t!=null&&e.push(h(M(``+t))),se(e,r,n),e.push(ye(`title`)),null}function he(e,t){e.push(_e(`script`));var n=null,r=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),n!=null&&typeof n!=`string`&&(t=typeof n==`number`?`a number for children`:Array.isArray(n)?`an array for children`:`something unexpected for children`,console.error(`A script element was rendered with %s. If script element has children it must be a single string. Consider using dangerouslySetInnerHTML or passing a plain string as children.`,t)),se(e,r,n),typeof n==`string`&&e.push(h(P(n))),e.push(ye(`script`)),null}function K(e,t,n){e.push(_e(n));var r=n=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),se(e,r,n),n}function ge(e,t,n){e.push(_e(n));var r=n=null,i;for(i in t)if(xr.call(t,i)){var a=t[i];if(a!=null)switch(i){case`children`:n=a;break;case`dangerouslySetInnerHTML`:r=a;break;default:G(e,i,a)}}return e.push(Gi),se(e,r,n),typeof n==`string`?(e.push(h(M(n))),null):n}function _e(e){var t=ma.get(e);if(t===void 0){if(!pa.test(e))throw Error(`Invalid tag: `+e);t=g(`<`+e),ma.set(e,t)}return t}function ve(e,t,n,r,i,a,o,s,c){O(t,n),t!==`input`&&t!==`textarea`&&t!==`select`||n==null||n.value!==null||Mr||(Mr=!0,t===`select`&&n.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));b:if(t.indexOf(`-`)===-1)var l=!1;else switch(t){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:l=!1;break b;default:l=!0}switch(l||typeof n.is==`string`||A(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),s.insertionMode!==Oi&&s.insertionMode!==ki&&t.indexOf(`-`)===-1&&t.toLowerCase()!==t&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,t),t){case`div`:case`span`:case`svg`:case`path`:break;case`a`:e.push(_e(`a`));var u=null,d=null,f;for(f in n)if(xr.call(n,f)){var p=n[f];if(p!=null)switch(f){case`children`:u=p;break;case`dangerouslySetInnerHTML`:d=p;break;case`href`:p===``?H(e,`href`,``):G(e,f,p);break;default:G(e,f,p)}}if(e.push(Gi),se(e,d,u),typeof u==`string`){e.push(h(M(u)));var m=null}else m=u;return m;case`g`:case`p`:case`li`:break;case`select`:E(`select`,n),ce(n,`value`),ce(n,`defaultValue`),n.value===void 0||n.defaultValue===void 0||Yi||(console.error(`Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components`),Yi=!0),e.push(_e(`select`));var g=null,_=null,v;for(v in n)if(xr.call(n,v)){var y=n[v];if(y!=null)switch(v){case`children`:g=y;break;case`dangerouslySetInnerHTML`:_=y;break;case`defaultValue`:case`value`:break;default:G(e,v,y)}}return e.push(Gi),se(e,_,g),g;case`option`:var b=s.selectedValue;e.push(_e(`option`));var x=null,C=null,D=null,k=null,j;for(j in n)if(xr.call(n,j)){var P=n[j];if(P!=null)switch(j){case`children`:x=P;break;case`selected`:D=P,$i||=(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),!0);break;case`dangerouslySetInnerHTML`:k=P;break;case`value`:C=P;default:G(e,j,P)}}if(b!=null){if(C!==null){S(C,`value`);var F=``+C}else k===null||Qi||(Qi=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")),F=le(x);if(lr(b)){for(var I=0;I<b.length;I++)if(S(b[I],`value`),``+b[I]===F){e.push(ia);break}}else S(b,`select.value`),``+b===F&&e.push(ia)}else D&&e.push(ia);return e.push(Gi),se(e,k,x),x;case`textarea`:E(`textarea`,n),n.value===void 0||n.defaultValue===void 0||Xi||(console.error(`Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components`),Xi=!0),e.push(_e(`textarea`));var L=null,R=null,z=null,ee;for(ee in n)if(xr.call(n,ee)){var te=n[ee];if(te!=null)switch(ee){case`children`:z=te;break;case`value`:L=te;break;case`defaultValue`:R=te;break;case`dangerouslySetInnerHTML`:throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:G(e,ee,te)}}if(L===null&&R!==null&&(L=R),e.push(Gi),z!=null){if(console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),L!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(lr(z)){if(1<z.length)throw Error(`<textarea> can only have at most one child.`);w(z[0]),L=``+z[0]}w(z),L=``+z}return typeof L==`string`&&L[0]===`
127
+ `&&e.push(fa),L!==null&&(S(L,`value`),e.push(h(M(``+L)))),null;case`input`:E(`input`,n),e.push(_e(`input`));var B=null,V=null,ne=null,ae=null,ve=null,be=null,xe=null,Se=null,Ce=null,q;for(q in n)if(xr.call(n,q)){var J=n[q];if(J!=null)switch(q){case`children`:case`dangerouslySetInnerHTML`:throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case`name`:B=J;break;case`formAction`:V=J;break;case`formEncType`:ne=J;break;case`formMethod`:ae=J;break;case`formTarget`:ve=J;break;case`defaultChecked`:Ce=J;break;case`defaultValue`:xe=J;break;case`checked`:Se=J;break;case`value`:be=J;break;default:G(e,q,J)}}V===null||n.type===`image`||n.type===`submit`||ea||(ea=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`));var we=oe(e,r,i,V,ne,ae,ve,B);return Se===null||Ce===null||Ji||(console.error(`%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),Ji=!0),be===null||xe===null||qi||(console.error(`%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components`,`A component`,n.type),qi=!0),Se===null?Ce!==null&&ie(e,`checked`,Ce):ie(e,`checked`,Se),be===null?xe!==null&&G(e,`value`,xe):G(e,`value`,be),e.push(Ki),we?.forEach(U,e),null;case`button`:e.push(_e(`button`));var Te=null,Ee=null,De=null,Oe=null,ke=null,Ae=null,je=null,Me;for(Me in n)if(xr.call(n,Me)){var Ne=n[Me];if(Ne!=null)switch(Me){case`children`:Te=Ne;break;case`dangerouslySetInnerHTML`:Ee=Ne;break;case`name`:De=Ne;break;case`formAction`:Oe=Ne;break;case`formEncType`:ke=Ne;break;case`formMethod`:Ae=Ne;break;case`formTarget`:je=Ne;break;default:G(e,Me,Ne)}}Oe===null||n.type==null||n.type===`submit`||ea||(ea=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`));var Pe=oe(e,r,i,Oe,ke,Ae,je,De);if(e.push(Gi),Pe?.forEach(U,e),se(e,Ee,Te),typeof Te==`string`){e.push(h(M(Te)));var Fe=null}else Fe=Te;return Fe;case`form`:e.push(_e(`form`));var Ie=null,Le=null,Be=null,Ve=null,He=null,Y=null,Ue;for(Ue in n)if(xr.call(n,Ue)){var We=n[Ue];if(We!=null)switch(Ue){case`children`:Ie=We;break;case`dangerouslySetInnerHTML`:Le=We;break;case`action`:Be=We;break;case`encType`:Ve=We;break;case`method`:He=We;break;case`target`:Y=We;break;default:G(e,Ue,We)}}var X=null,Ge=null;if(typeof Be==`function`){Ve===null&&He===null||ra||(ra=!0,console.error(`Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.`)),Y===null||na||(na=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`));var Z=W(r,Be);Z===null?(e.push(zi,h(`action`),Bi,Ui,Vi),Y=He=Ve=Be=null,ue(r,i)):(Be=Z.action||``,Ve=Z.encType,He=Z.method,Y=Z.target,X=Z.data,Ge=Z.name)}if(Be!=null&&G(e,`action`,Be),Ve!=null&&G(e,`encType`,Ve),He!=null&&G(e,`method`,He),Y!=null&&G(e,`target`,Y),e.push(Gi),Ge!==null&&(e.push(Wi),H(e,`name`,Ge),e.push(Ki),X?.forEach(U,e)),se(e,Le,Ie),typeof Ie==`string`){e.push(h(M(Ie)));var Ke=null}else Ke=Ie;return Ke;case`menuitem`:for(var qe in e.push(_e(`menuitem`)),n)if(xr.call(n,qe)){var Je=n[qe];if(Je!=null)switch(qe){case`children`:case`dangerouslySetInnerHTML`:throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:G(e,qe,Je)}}return e.push(Gi),null;case`object`:e.push(_e(`object`));var Ye=null,Xe=null,Q;for(Q in n)if(xr.call(n,Q)){var Ze=n[Q];if(Ze!=null)switch(Q){case`children`:Ye=Ze;break;case`dangerouslySetInnerHTML`:Xe=Ze;break;case`data`:S(Ze,`data`);var Qe=N(``+Ze);if(Qe===``){console.error(`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,Q,Q);break}e.push(zi,h(`data`),Bi,h(M(Qe)),Vi);break;default:G(e,Q,Ze)}}if(e.push(Gi),se(e,Xe,Ye),typeof Ye==`string`){e.push(h(M(Ye)));var $e=null}else $e=Ye;return $e;case`title`:var et=s.tagScope&1,tt=s.tagScope&4;if(xr.call(n,`children`)){var nt=n.children,rt=Array.isArray(nt)?2>nt.length?nt[0]:null:nt;Array.isArray(nt)&&1<nt.length?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be common to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",nt.length):typeof rt==`function`||typeof rt==`symbol`?console.error("React expect children of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value.",typeof rt==`function`?`a Function`:`a Sybmol`):rt&&rt.toString==={}.toString&&(rt.$$typeof==null?console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that does not implement a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value. Using the default `toString` method available on every object is almost certainly an error. Consider whether the `children` of this <title> is an object in error and change it to a string or number value if so. Otherwise implement a `toString` method that React can use to produce a valid <title>."):console.error("React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an object that appears to be a React element which never implements a suitable `toString` method. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert children of <title> tags to a single string value which is why rendering React elements is not supported. If the `children` of <title> is a React Component try moving the <title> tag into that component. If the `children` of <title> is some HTML markup change it to be Text only to be valid HTML."))}if(s.insertionMode===Oi||et||n.itemProp!=null)var it=me(e,n);else tt?it=null:(me(i.hoistableChunks,n),it=void 0);return it;case`link`:var at=s.tagScope&1,ot=s.tagScope&4,st=n.rel,ct=n.href,lt=n.precedence;if(s.insertionMode===Oi||at||n.itemProp!=null||typeof st!=`string`||typeof ct!=`string`||ct===``){st===`stylesheet`&&typeof n.precedence==`string`&&(typeof ct==`string`&&ct||console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and expected the `href` prop to be a non-empty string but ecountered %s instead. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop ensure there is a non-empty string `href` prop as well, otherwise remove the `precedence` prop.',ct===null?"`null`":ct===void 0?"`undefined`":ct===``?`an empty string`:`something with type "`+typeof ct+`"`)),de(e,n);var ut=null}else if(n.rel===`stylesheet`)if(typeof lt!=`string`||n.disabled!=null||n.onLoad||n.onError){if(typeof lt==`string`){if(n.disabled!=null)console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and a `disabled` prop. The presence of the `disabled` prop indicates an intent to manage the stylesheet active state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the `disabled` prop, otherwise remove the `precedence` prop.');else if(n.onLoad||n.onError){var dt=n.onLoad&&n.onError?"`onLoad` and `onError` props":n.onLoad?"`onLoad` prop":"`onError` prop";console.error('React encountered a `<link rel="stylesheet" .../>` with a `precedence` prop and %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',dt,dt)}}ut=de(e,n)}else{var ft=i.styles.get(lt),pt=r.styleResources.hasOwnProperty(ct)?r.styleResources[ct]:void 0;if(pt!==ci){r.styleResources[ct]=ci,ft||(ft={precedence:h(M(lt)),rules:[],hrefs:[],sheets:new Map},i.styles.set(lt,ft));var mt={state:zo,props:br({},n,{"data-precedence":n.precedence,precedence:null})};if(pt){pt.length===2&&Re(mt.props,pt);var ht=i.preloads.stylesheets.get(ct);ht&&0<ht.length?ht.length=0:mt.state=Bo}ft.sheets.set(ct,mt),o&&o.stylesheets.add(mt)}else if(ft){var gt=ft.sheets.get(ct);gt&&o&&o.stylesheets.add(gt)}c&&e.push(Pi),ut=null}else n.onLoad||n.onError?ut=de(e,n):(c&&e.push(Pi),ut=ot?null:de(i.hoistableChunks,n));return ut;case`script`:var _t=s.tagScope&1,vt=n.async;if(typeof n.src!=`string`||!n.src||!vt||typeof vt==`function`||typeof vt==`symbol`||n.onLoad||n.onError||s.insertionMode===Oi||_t||n.itemProp!=null)var yt=he(e,n);else{var bt=n.src;if(n.type===`module`)var xt=r.moduleScriptResources,St=i.preloads.moduleScripts;else xt=r.scriptResources,St=i.preloads.scripts;var Ct=xt.hasOwnProperty(bt)?xt[bt]:void 0;if(Ct!==ci){xt[bt]=ci;var wt=n;if(Ct){Ct.length===2&&(wt=br({},n),Re(wt,Ct));var Tt=St.get(bt);Tt&&(Tt.length=0)}var Et=[];i.scripts.add(Et),he(Et,wt)}c&&e.push(Pi),yt=null}return yt;case`style`:var Dt=s.tagScope&1;if(xr.call(n,`children`)){var Ot=n.children,kt=Array.isArray(Ot)?2>Ot.length?Ot[0]:null:Ot;(typeof kt==`function`||typeof kt==`symbol`||Array.isArray(kt))&&console.error("React expect children of <style> tags to be a string, number, or object with a `toString` method but found %s instead. In browsers style Elements can only have `Text` Nodes as children.",typeof kt==`function`?`a Function`:typeof kt==`symbol`?`a Sybmol`:`an Array`)}var At=n.precedence,jt=n.href,Mt=n.nonce;if(s.insertionMode===Oi||Dt||n.itemProp!=null||typeof At!=`string`||typeof jt!=`string`||jt===``){e.push(_e(`style`));var Nt=null,Pt=null,Ft;for(Ft in n)if(xr.call(n,Ft)){var It=n[Ft];if(It!=null)switch(Ft){case`children`:Nt=It;break;case`dangerouslySetInnerHTML`:Pt=It;break;default:G(e,Ft,It)}}e.push(Gi);var Lt=Array.isArray(Nt)?2>Nt.length?Nt[0]:null:Nt;typeof Lt!=`function`&&typeof Lt!=`symbol`&&Lt!=null&&e.push(h(fe(Lt))),se(e,Pt,Nt),e.push(ye(`style`));var Rt=null}else{jt.includes(` `)&&console.error('React expected the `href` prop for a <style> tag opting into hoisting semantics using the `precedence` prop to not have any spaces but ecountered spaces instead. using spaces in this prop will cause hydration of this style to fail on the client. The href for the <style> where this ocurred is "%s".',jt);var zt=i.styles.get(At),Bt=r.styleResources.hasOwnProperty(jt)?r.styleResources[jt]:void 0;if(Bt!==ci){r.styleResources[jt]=ci,Bt&&console.error(`React encountered a hoistable style tag for the same href as a preload: "%s". When using a style tag to inline styles you should not also preload it as a stylsheet.`,jt),zt||(zt={precedence:h(M(At)),rules:[],hrefs:[],sheets:new Map},i.styles.set(At,zt));var Vt=i.nonce.style;if(Vt&&Vt!==Mt)console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include rules if the nonce matches the style nonce "%s" that was included with this render.',At,Mt,Vt);else{!Vt&&Mt&&console.error('React encountered a style tag with `precedence` "%s" and `nonce` "%s". When React manages style rules using `precedence` it will only include a nonce attributes if you also provide the same style nonce value as a render option.',At,Mt),zt.hrefs.push(h(M(jt)));var Ht=zt.rules,Ut=null,Wt=null,Gt;for(Gt in n)if(xr.call(n,Gt)){var $=n[Gt];if($!=null)switch(Gt){case`children`:Ut=$;break;case`dangerouslySetInnerHTML`:Wt=$}}var Kt=Array.isArray(Ut)?2>Ut.length?Ut[0]:null:Ut;typeof Kt!=`function`&&typeof Kt!=`symbol`&&Kt!=null&&Ht.push(h(fe(Kt))),se(Ht,Wt,Ut)}}zt&&o&&o.styles.add(zt),c&&e.push(Pi),Rt=void 0}return Rt;case`meta`:var qt=s.tagScope&1,Jt=s.tagScope&4;if(s.insertionMode===Oi||qt||n.itemProp!=null)var Yt=pe(e,n,`meta`);else c&&e.push(Pi),Yt=Jt?null:typeof n.charSet==`string`?pe(i.charsetChunks,n,`meta`):n.name===`viewport`?pe(i.viewportChunks,n,`meta`):pe(i.hoistableChunks,n,`meta`);return Yt;case`listing`:case`pre`:e.push(_e(t));var Xt=null,Zt=null,Qt;for(Qt in n)if(xr.call(n,Qt)){var $t=n[Qt];if($t!=null)switch(Qt){case`children`:Xt=$t;break;case`dangerouslySetInnerHTML`:Zt=$t;break;default:G(e,Qt,$t)}}if(e.push(Gi),Zt!=null){if(Xt!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof Zt!=`object`||!(`__html`in Zt))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");var en=Zt.__html;en!=null&&(typeof en==`string`&&0<en.length&&en[0]===`
128
+ `?e.push(fa,h(en)):(w(en),e.push(h(``+en))))}return typeof Xt==`string`&&Xt[0]===`
129
+ `&&e.push(fa),Xt;case`img`:var tn=s.tagScope&3,nn=n.src,rn=n.srcSet;if(!(n.loading===`lazy`||!nn&&!rn||typeof nn!=`string`&&nn!=null||typeof rn!=`string`&&rn!=null||n.fetchPriority===`low`||tn)&&(typeof nn!=`string`||nn[4]!==`:`||nn[0]!==`d`&&nn[0]!==`D`||nn[1]!==`a`&&nn[1]!==`A`||nn[2]!==`t`&&nn[2]!==`T`||nn[3]!==`a`&&nn[3]!==`A`)&&(typeof rn!=`string`||rn[4]!==`:`||rn[0]!==`d`&&rn[0]!==`D`||rn[1]!==`a`&&rn[1]!==`A`||rn[2]!==`t`&&rn[2]!==`T`||rn[3]!==`a`&&rn[3]!==`A`)){o!==null&&s.tagScope&64&&(o.suspenseyImages=!0);var an=typeof n.sizes==`string`?n.sizes:void 0,on=rn?rn+`
130
+ `+(an||``):nn,sn=i.preloads.images,cn=sn.get(on);if(cn)(n.fetchPriority===`high`||10>i.highImagePreloads.size)&&(sn.delete(on),i.highImagePreloads.add(cn));else if(!r.imageResources.hasOwnProperty(on)){r.imageResources[on]=li;var ln=n.crossOrigin,un=typeof ln==`string`?ln===`use-credentials`?ln:``:void 0,dn=i.headers,fn;dn&&0<dn.remainingCapacity&&typeof n.srcSet!=`string`&&(n.fetchPriority===`high`||500>dn.highImagePreloads.length)&&(fn=ze(nn,`image`,{imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:un,integrity:n.integrity,nonce:n.nonce,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.refererPolicy}),0<=(dn.remainingCapacity-=fn.length+2))?(i.resets.image[on]=li,dn.highImagePreloads&&(dn.highImagePreloads+=`, `),dn.highImagePreloads+=fn):(cn=[],de(cn,{rel:`preload`,as:`image`,href:rn?void 0:nn,imageSrcSet:rn,imageSizes:an,crossOrigin:un,integrity:n.integrity,type:n.type,fetchPriority:n.fetchPriority,referrerPolicy:n.referrerPolicy}),n.fetchPriority===`high`||10>i.highImagePreloads.size?i.highImagePreloads.add(cn):(i.bulkPreloads.add(cn),sn.set(on,cn)))}}return pe(e,n,`img`);case`base`:case`area`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`param`:case`source`:case`track`:case`wbr`:return pe(e,n,t);case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:break;case`head`:if(s.insertionMode<Ei){var pn=a||i.preamble;if(pn.headChunks)throw Error("The `<head>` tag may only be rendered once.");a!==null&&e.push(la),pn.headChunks=[];var mn=K(pn.headChunks,n,`head`)}else mn=ge(e,n,`head`);return mn;case`body`:if(s.insertionMode<Ei){var hn=a||i.preamble;if(hn.bodyChunks)throw Error("The `<body>` tag may only be rendered once.");a!==null&&e.push(ua),hn.bodyChunks=[];var gn=K(hn.bodyChunks,n,`body`)}else gn=ge(e,n,`body`);return gn;case`html`:if(s.insertionMode===wi){var _n=a||i.preamble;if(_n.htmlChunks)throw Error("The `<html>` tag may only be rendered once.");a!==null&&e.push(da),_n.htmlChunks=[ha];var vn=K(_n.htmlChunks,n,`html`)}else vn=ge(e,n,`html`);return vn;default:if(t.indexOf(`-`)!==-1){e.push(_e(t));var yn=null,bn=null,xn;for(xn in n)if(xr.call(n,xn)){var Sn=n[xn];if(Sn!=null){var Cn=xn;switch(xn){case`children`:yn=Sn;break;case`dangerouslySetInnerHTML`:bn=Sn;break;case`style`:re(e,Sn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`ref`:break;case`className`:Cn=`class`;default:if(T(xn)&&typeof Sn!=`function`&&typeof Sn!=`symbol`&&!1!==Sn){if(!0===Sn)Sn=``;else if(typeof Sn==`object`)continue;e.push(zi,h(Cn),Bi,h(M(Sn)),Vi)}}}}return e.push(Gi),se(e,bn,yn),yn}}return ge(e,n,t)}function ye(e){var t=ga.get(e);return t===void 0&&(t=g(`</`+e+`>`),ga.set(e,t)),t}function be(e,t){e=e.preamble,e.htmlChunks===null&&t.htmlChunks&&(e.htmlChunks=t.htmlChunks),e.headChunks===null&&t.headChunks&&(e.headChunks=t.headChunks),e.bodyChunks===null&&t.bodyChunks&&(e.bodyChunks=t.bodyChunks)}function xe(e,t){t=t.bootstrapChunks;for(var n=0;n<t.length-1;n++)f(e,t[n]);return n<t.length?(n=t[n],t.length=0,p(e,n)):!0}function Se(e,t,n){if(f(e,Ca),n===null)throw Error(`An ID must have been assigned before we can complete the boundary.`);return f(e,t.boundaryPrefix),f(e,h(n.toString(16))),p(e,wa)}function Ce(e,t,n,r){switch(n.insertionMode){case wi:case Ti:case Di:case Ei:return f(e,Pa),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,Fa);case Oi:return f(e,La),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,Ra);case ki:return f(e,Ba),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,Va);case Ai:return f(e,Ua),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,Wa);case ji:return f(e,Ka),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,qa);case Mi:return f(e,Ya),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,Xa);case Ni:return f(e,Qa),f(e,t.segmentPrefix),f(e,h(r.toString(16))),p(e,$a);default:throw Error(`Unknown insertion mode. This is a bug in React.`)}}function q(e,t){switch(t.insertionMode){case wi:case Ti:case Di:case Ei:return p(e,Ia);case Oi:return p(e,za);case ki:return p(e,Ha);case Ai:return p(e,Ga);case ji:return p(e,Ja);case Mi:return p(e,Za);case Ni:return p(e,eo);default:throw Error(`Unknown insertion mode. This is a bug in React.`)}}function J(e){return JSON.stringify(e).replace(bo,function(e){switch(e){case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}function we(e){return JSON.stringify(e).replace(xo,function(e){switch(e){case`&`:return`\\u0026`;case`>`:return`\\u003e`;case`<`:return`\\u003c`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:throw Error(`escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}})}function Te(e){var t=e.rules,n=e.hrefs;0<t.length&&n.length===0&&console.error(`React expected to have at least one href for an a hoistable style but found none. This is a bug in React.`);var r=0;if(n.length){for(f(this,ui.startInlineStyle),f(this,So),f(this,e.precedence),f(this,Co);r<n.length-1;r++)f(this,n[r]),f(this,jo);for(f(this,n[r]),f(this,wo),r=0;r<t.length;r++)f(this,t[r]);Do=p(this,To),Eo=!0,t.length=0,n.length=0}}function Ee(e){return e.state===Vo?!1:Eo=!0}function De(e,t,n){return Eo=!1,Do=!0,ui=n,t.styles.forEach(Te,e),ui=null,t.stylesheets.forEach(Ee),Eo&&(n.stylesToHoist=!0),Do}function Oe(e){for(var t=0;t<e.length;t++)f(this,e[t]);e.length=0}function ke(e){de(Oo,e.props);for(var t=0;t<Oo.length;t++)f(this,Oo[t]);Oo.length=0,e.state=Vo}function Ae(e){var t=0<e.sheets.size;e.sheets.forEach(ke,this),e.sheets.clear();var n=e.rules,r=e.hrefs;if(!t||r.length){if(f(this,ui.startInlineStyle),f(this,ko),f(this,e.precedence),e=0,r.length){for(f(this,Ao);e<r.length-1;e++)f(this,r[e]),f(this,jo);f(this,r[e])}for(f(this,Mo),e=0;e<n.length;e++)f(this,n[e]);f(this,No),n.length=0,r.length=0}}function je(e){if(e.state===zo){e.state=Bo;var t=e.props;for(de(Oo,{rel:`preload`,as:`style`,href:e.props.href,crossOrigin:t.crossOrigin,fetchPriority:t.fetchPriority,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy}),e=0;e<Oo.length;e++)f(this,Oo[e]);Oo.length=0}}function Me(e){e.sheets.forEach(je,this),e.sheets.clear()}function Ne(e,t){(t.instructions&oi)===ti&&(t.instructions|=oi,e.push(Po,h(M(`_`+t.idPrefix+`R_`)),Vi))}function Pe(e,t){f(e,Fo);var n=Fo;t.stylesheets.forEach(function(t){if(t.state!==Vo)if(t.state===Ho)f(e,n),t=t.props.href,S(t,`href`),f(e,h(we(``+t))),f(e,Ro),n=Io;else{f(e,n);var r=t.props[`data-precedence`],i=t.props;for(var a in f(e,h(we(N(``+t.props.href)))),S(r,`precedence`),r=``+r,f(e,Lo),f(e,h(we(r))),i)if(xr.call(i,a)&&(r=i[a],r!=null))switch(a){case`href`:case`rel`:case`precedence`:case`data-precedence`:break;case`children`:case`dangerouslySetInnerHTML`:throw Error("link is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Fe(e,a,r)}f(e,Ro),n=Io,t.state=Ho}}),f(e,Ro)}function Fe(e,t,n){var r=t.toLowerCase();switch(typeof n){case`function`:case`symbol`:return}switch(t){case`innerHTML`:case`dangerouslySetInnerHTML`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`style`:case`ref`:return;case`className`:r=`class`,S(n,r),t=``+n;break;case`hidden`:if(!1===n)return;t=``;break;case`src`:case`href`:n=N(n),S(n,r),t=``+n;break;default:if(2<t.length&&(t[0]===`o`||t[0]===`O`)&&(t[1]===`n`||t[1]===`N`)||!T(t))return;S(n,r),t=``+n}f(e,Lo),f(e,h(we(r))),f(e,Lo),f(e,h(we(t)))}function Ie(){return{styles:new Set,stylesheets:new Set,suspenseyImages:!1}}function Le(e,t,n,r){(e.scriptResources.hasOwnProperty(n)||e.moduleScriptResources.hasOwnProperty(n))&&console.error(`Internal React Error: React expected bootstrap script or module with src "%s" to not have been preloaded already. please file an issue`,n),e.scriptResources[n]=ci,e.moduleScriptResources[n]=ci,e=[],de(e,r),t.bootstrapScripts.add(e)}function Re(e,t){e.crossOrigin??=t[0],e.integrity??=t[1]}function ze(e,t,n){for(var r in e=Be(e),t=He(t,`as`),t=`<`+e+`>; rel=preload; as="`+t+`"`,n)xr.call(n,r)&&(e=n[r],typeof e==`string`&&(t+=`; `+r.toLowerCase()+`="`+He(e,r)+`"`));return t}function Be(e){return S(e,`href`),(``+e).replace(Uo,Ve)}function Ve(e){switch(e){case`<`:return`%3C`;case`>`:return`%3E`;case`
131
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function He(e,t){return b(e)&&(console.error("The provided `%s` option is an unsupported type %s. This value must be coerced to a string before using it here.",t,y(e)),x(e)),(``+e).replace(Wo,Y)}function Y(e){switch(e){case`"`:return`%22`;case`'`:return`%27`;case`;`:return`%3B`;case`,`:return`%2C`;case`
132
+ `:return`%0A`;case`\r`:return`%0D`;default:throw Error(`escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React`)}}function Ue(e){this.styles.add(e)}function We(e){this.stylesheets.add(e)}function X(e,t){t.styles.forEach(Ue,e),t.stylesheets.forEach(We,e),t.suspenseyImages&&(e.suspenseyImages=!0)}function Ge(e){return 0<e.stylesheets.size||e.suspenseyImages}function Z(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Ko?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case qn:return`Fragment`;case Yn:return`Profiler`;case Jn:return`StrictMode`;case $n:return`Suspense`;case er:return`SuspenseList`;case ir:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case Kn:return`Portal`;case Zn:return e.displayName||`Context`;case Xn:return(e._context.displayName||`Context`)+`.Consumer`;case Qn:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case tr:return t=e.displayName||null,t===null?Z(e.type)||`Memo`:t;case nr:t=e._payload,e=e._init;try{return Z(e(t))}catch{}}return null}function Ke(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var n=t.parent;if(e===null){if(n!==null)throw Error(`The stacks must reach the root at the same time. This is a bug in React.`)}else{if(n===null)throw Error(`The stacks must reach the root at the same time. This is a bug in React.`);Ke(e,n)}t.context._currentValue=t.value}}function qe(e){e.context._currentValue=e.parentValue,e=e.parent,e!==null&&qe(e)}function Je(e){var t=e.parent;t!==null&&Je(t),e.context._currentValue=e.value}function Ye(e,t){if(e.context._currentValue=e.parentValue,e=e.parent,e===null)throw Error(`The depth must equal at least at zero before reaching the root. This is a bug in React.`);e.depth===t.depth?Ke(e,t):Ye(e,t)}function Xe(e,t){var n=t.parent;if(n===null)throw Error(`The depth must equal at least at zero before reaching the root. This is a bug in React.`);e.depth===n.depth?Ke(e,n):Xe(e,n),t.context._currentValue=t.value}function Q(e){var t=Yo;t!==e&&(t===null?Je(e):e===null?qe(t):t.depth===e.depth?Ke(t,e):t.depth>e.depth?Ye(t,e):Xe(t,e),Yo=e)}function Ze(e){if(e!==null&&typeof e!=`function`){var t=String(e);os.has(t)||(os.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Qe(e,t){e=(e=e.constructor)&&Z(e)||`ReactClass`;var n=e+`.`+t;Xo[n]||(console.error(`Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
133
+
134
+ Please check the code for the %s component.`,t,e),Xo[n]=!0)}function $e(e,t,n){var r=e.id;e=e.overflow;var i=32-ls(r)-1;r&=~(1<<i),n+=1;var a=32-ls(t)+i;if(30<a){var o=i-i%5;return a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,{id:1<<32-ls(t)+i|n<<i|r,overflow:a+e}}return{id:1<<a|n<<i|r,overflow:e}}function et(e){return e>>>=0,e===0?32:31-(us(e)/ds|0)|0}function tt(){}function nt(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(tt,tt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason;default:switch(typeof t.status==`string`?t.then(tt,tt):(e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})),t.status){case`fulfilled`:return t.value;case`rejected`:throw t.reason}throw ps=t,fs}}function rt(){if(ps===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=ps;return ps=null,e}function it(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function at(){if(hs===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
135
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
136
+ 2. You might be breaking the Rules of Hooks
137
+ 3. You might have more than one copy of React in the same app
138
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`);return As&&console.error(`Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks`),hs}function ot(){if(0<ks)throw Error(`Rendered more hooks than during the previous render`);return{memoizedState:null,queue:null,next:null}}function st(){return bs===null?ys===null?(xs=!1,ys=bs=ot()):(xs=!0,bs=ys):bs.next===null?(xs=!1,bs=bs.next=ot()):(xs=!0,bs=bs.next),bs}function ct(){var e=Ds;return Ds=null,e}function lt(){As=!1,vs=_s=gs=hs=null,Ss=!1,ys=null,ks=0,bs=Os=null}function ut(e){return As&&console.error(`Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().`),e._currentValue}function dt(e,t){return typeof t==`function`?t(e):t}function ft(e,t,n){if(e!==dt&&(js=`useReducer`),hs=at(),bs=st(),xs){if(n=bs.queue,t=n.dispatch,Os!==null){var r=Os.get(n);if(r!==void 0){Os.delete(n),n=bs.memoizedState;do{var i=r.action;As=!0,n=e(n,i),As=!1,r=r.next}while(r!==null);return bs.memoizedState=n,[n,t]}}return[bs.memoizedState,t]}return As=!0,e=e===dt?typeof t==`function`?t():t:n===void 0?t:n(t),As=!1,bs.memoizedState=e,e=bs.queue={last:null,dispatch:null},e=e.dispatch=mt.bind(null,hs,e),[bs.memoizedState,e]}function pt(e,t){if(hs=at(),bs=st(),t=t===void 0?null:t,bs!==null){var n=bs.memoizedState;if(n!==null&&t!==null){a:{var r=n[1];if(r===null)console.error(`%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`,js),r=!1;else{t.length!==r.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
139
+
140
+ Previous: %s
141
+ Incoming: %s`,js,`[`+t.join(`, `)+`]`,`[`+r.join(`, `)+`]`);for(var i=0;i<r.length&&i<t.length;i++)if(!ms(t[i],r[i])){r=!1;break a}r=!0}}if(r)return n[0]}}return As=!0,e=e(),As=!1,bs.memoizedState=[e,t],e}function mt(e,t,n){if(25<=ks)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(e===hs)if(Ss=!0,e={action:n,next:null},Os===null&&(Os=new Map),n=Os.get(t),n===void 0)Os.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function ht(){throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`)}function gt(){throw Error(`startTransition cannot be called during server rendering.`)}function _t(){throw Error(`Cannot update optimistic state while rendering.`)}function vt(e,t,n){at();var r=ws++,i=_s;if(typeof e.$$FORM_ACTION==`function`){var a=null,o=vs;i=i.formState;var s=e.$$IS_SIGNATURE_EQUAL;if(i!==null&&typeof s==`function`){var c=i[1];s.call(e,i[2],i[3])&&(a=n===void 0?`k`+l(JSON.stringify([o,null,r]),0):`p`+n,c===a&&(Ts=r,t=i[0]))}var u=e.bind(null,t);return e=function(e){u(e)},typeof u.$$FORM_ACTION==`function`&&(e.$$FORM_ACTION=function(e){e=u.$$FORM_ACTION(e),n!==void 0&&(S(n,`target`),n+=``,e.action=n);var t=e.data;return t&&(a===null&&(a=n===void 0?`k`+l(JSON.stringify([o,null,r]),0):`p`+n),t.append(`$ACTION_KEY`,a)),e}),[t,e,!1]}var d=e.bind(null,t);return[t,function(e){d(e)},!1]}function yt(e){var t=Es;return Es+=1,Ds===null&&(Ds=[]),nt(Ds,e,t)}function bt(){throw Error(`Cache cannot be refreshed during server rendering.`)}function xt(){}function St(){if(Is===0){Ls=console.log,Rs=console.info,zs=console.warn,Bs=console.error,Vs=console.group,Hs=console.groupCollapsed,Us=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Is++}function Ct(){if(Is--,Is===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:br({},e,{value:Ls}),info:br({},e,{value:Rs}),warn:br({},e,{value:zs}),error:br({},e,{value:Bs}),group:br({},e,{value:Vs}),groupCollapsed:br({},e,{value:Hs}),groupEnd:br({},e,{value:Us})})}0>Is&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function wt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
142
+ `)&&(e=e.slice(29)),t=e.indexOf(`
143
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
144
+ `,t)),t!==-1)e=e.slice(0,t);else return``;return e}function Tt(e){if(Ws===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ws=t&&t[1]||``,Gs=-1<e.stack.indexOf(`
145
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
146
+ `+Ws+e+Gs}function Et(e,t){if(!e||Ks)return``;var n=qs.get(e);if(n!==void 0)return n;Ks=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=Zr.H,Zr.H=null,St();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
147
+ `),u=c.split(`
148
+ `);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
149
+ `+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&qs.set(e,d),d}while(1<=a&&0<=o);break}}}finally{Ks=!1,Zr.H=r,Ct(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?Tt(l):``,typeof e==`function`&&qs.set(e,l),l}function Dt(e){if(typeof e==`string`)return Tt(e);if(typeof e==`function`)return e.prototype&&e.prototype.isReactComponent?Et(e,!0):Et(e,!1);if(typeof e==`object`&&e){switch(e.$$typeof){case Qn:return Et(e.render,!1);case tr:return Et(e.type,!1);case nr:var t=e,n=t._payload;t=t._init;try{e=t(n)}catch{return Tt(`Lazy`)}return Dt(e)}if(typeof e.name==`string`){a:{if(n=e.name,t=e.env,e=e.debugLocation,e!=null){e=wt(e);var r=e.lastIndexOf(`
150
+ `);if(e=r===-1?e:e.slice(r+1),e.indexOf(n)!==-1){n=`
151
+ `+e;break a}}n=Tt(n+(t?` [`+t+`]`:``))}return n}}switch(e){case er:return Tt(`SuspenseList`);case $n:return Tt(`Suspense`)}return``}function Ot(){var e=nc();1e3<e-ec&&(Zr.recentlyCreatedOwnerStacks=0,ec=e)}function kt(e,t){return(500<t.byteSize||Ge(t.contentState))&&t.contentPreamble===null}function At(e){if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var t=e.environmentName;e=[e].slice(0),typeof e[0]==`string`?e.splice(0,1,`%c%s%c `+e[0],`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``):e.splice(0,0,`%c%s%c`,`background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px`,` `+t+` `,``),e.unshift(console),t=Go.apply(console.error,e),t()}else console.error(e);return null}function jt(e,t,n,r,i,a,o,s,c,l,u){var d=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=e,this.renderState=t,this.rootFormatContext=n,this.progressiveChunkSize=r===void 0?12800:r,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.byteSize=0,this.abortableTasks=d,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=i===void 0?At:i,this.onPostpone=l===void 0?tt:l,this.onAllReady=a===void 0?tt:a,this.onShellReady=o===void 0?tt:o,this.onShellError=s===void 0?tt:s,this.onFatalError=c===void 0?tt:c,this.formState=u===void 0?null:u,this.didWarnForKey=null}function Mt(e,t,n,r,i,a,o,s,c,l,u,d){return Ot(),t=new jt(t,n,r,i,a,o,s,c,l,u,d),n=Bt(t,0,null,r,!1,!1),n.parentFlushed=!0,e=Rt(t,null,e,-1,null,n,null,null,t.abortableTasks,null,r,null,cs,null,null,qo,null),Wt(e),t.pingedTasks.push(e),t}function Nt(e,t,n,r,i,a,o,s,c,l,u){return e=Mt(e,t,n,r,i,a,o,s,c,l,u,void 0),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function Pt(e,t,n,r,i,a,o,s,c){return Ot(),n=new jt(t.resumableState,n,t.rootFormatContext,t.progressiveChunkSize,r,i,a,o,s,c,null),n.nextSegmentId=t.nextSegmentId,typeof t.replaySlots==`number`?(r=Bt(n,0,null,t.rootFormatContext,!1,!1),r.parentFlushed=!0,e=Rt(n,null,e,-1,null,r,null,null,n.abortableTasks,null,t.rootFormatContext,null,cs,null,null,qo,null),Wt(e),n.pingedTasks.push(e),n):(e=zt(n,null,{nodes:t.replayNodes,slots:t.replaySlots,pendingTasks:0},e,-1,null,null,n.abortableTasks,null,t.rootFormatContext,null,cs,null,null,qo,null),Wt(e),n.pingedTasks.push(e),n)}function Ft(e,t,n,r,i,a,o,s,c){return e=Pt(e,t,n,r,i,a,o,s,c),e.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},e}function It(e,t){e.pingedTasks.push(t),e.pingedTasks.length===1&&(e.flushScheduled=e.destination!==null,e.trackedPostpones!==null||e.status===10?gr(function(){return En(e)}):u(function(){return En(e)}))}function Lt(e,t,n,r,i){return n={status:ac,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,row:t,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null,contentState:Ie(),fallbackState:Ie(),contentPreamble:r,fallbackPreamble:i,trackedContentKeyPath:null,trackedFallbackNode:null,errorMessage:null,errorStack:null,errorComponentStack:null},t!==null&&(t.pendingTasks++,r=t.boundaries,r!==null&&(e.allPendingTasks++,n.pendingTasks++,r.push(n)),e=t.inheritedHoistables,e!==null&&X(n.contentState,e)),n}function Rt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g){e.allPendingTasks++,i===null?e.pendingRootTasks++:i.pendingTasks++,p!==null&&p.pendingTasks++;var _={replay:null,node:n,childIndex:r,ping:function(){return It(e,_)},blockedBoundary:i,blockedSegment:a,blockedPreamble:o,hoistableState:s,abortSet:c,keyPath:l,formatContext:u,context:d,treeContext:f,row:p,componentStack:m,thenableState:t};return _.debugTask=g,c.add(_),_}function zt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h){e.allPendingTasks++,a===null?e.pendingRootTasks++:a.pendingTasks++,f!==null&&f.pendingTasks++,n.pendingTasks++;var g={replay:n,node:r,childIndex:i,ping:function(){return It(e,g)},blockedBoundary:a,blockedSegment:null,blockedPreamble:null,hoistableState:o,abortSet:s,keyPath:c,formatContext:l,context:u,treeContext:d,row:f,componentStack:p,thenableState:t};return g.debugTask=h,s.add(g),g}function Bt(e,t,n,r,i,a){return{status:ac,parentFlushed:!1,id:-1,index:t,chunks:[],children:[],preambleChildren:[],parentFormatContext:r,boundary:n,lastPushedText:i,textEmbedded:a}}function Vt(){if(Ps===null||Ps.componentStack===null)return``;var e=Ps.componentStack;try{var t=``;if(typeof e.type==`string`)t+=Tt(e.type);else if(typeof e.type==`function`){if(!e.owner){var n=t,r=e.type,i=r?r.displayName||r.name:``,a=i?Tt(i):``;t=n+a}}else e.owner||(t+=Dt(e.type));for(;e;)n=null,e.debugStack==null?(a=e,a.stack!=null&&(n=typeof a.stack==`string`?a.stack:a.stack=wt(a.stack))):n=wt(e.debugStack),(e=e.owner)&&n&&(t+=`
152
+ `+n);var o=t}catch(e){o=`
153
+ Error generating stack: `+e.message+`
154
+ `+e.stack}return o}function Ht(e,t){if(t!=null)for(var n=t.length-1;0<=n;n--){var r=t[n];if(typeof r.name==`string`||typeof r.time==`number`)break;if(r.awaited!=null){var i=r.debugStack==null?r.awaited:r;if(i.debugStack!==void 0){e.componentStack={parent:e.componentStack,type:r,owner:i.owner,stack:i.debugStack},e.debugTask=i.debugTask;break}}}}function Ut(e,t){if(t!=null)for(var n=0;n<t.length;n++){var r=t[n];typeof r.name==`string`&&r.debugStack!==void 0&&(e.componentStack={parent:e.componentStack,type:r,owner:r.owner,stack:r.debugStack},e.debugTask=r.debugTask)}}function Wt(e){var t=e.node;if(typeof t==`object`&&t)switch(t.$$typeof){case Gn:var n=t.type,r=t._owner,i=t._debugStack;Ut(e,t._debugInfo),e.debugTask=t._debugTask,e.componentStack={parent:e.componentStack,type:n,owner:r,stack:i};break;case nr:Ut(e,t._debugInfo);break;default:typeof t.then==`function`&&Ut(e,t._debugInfo)}}function Gt(e){return e===null?null:{parent:e.parent,type:`Suspense Fallback`,owner:e.owner,stack:e.stack}}function $(e){var t={};return e&&Object.defineProperty(t,`componentStack`,{configurable:!0,enumerable:!0,get:function(){try{var n=``,r=e;do n+=Dt(r.type),r=r.parent;while(r);var i=n}catch(e){i=`
155
+ Error generating stack: `+e.message+`
156
+ `+e.stack}return Object.defineProperty(t,`componentStack`,{value:i}),i}}),t}function Kt(e,t,n,r,i){e.errorDigest=t,n instanceof Error?(t=String(n.message),n=String(n.stack)):(t=typeof n==`object`&&n?c(n):String(n),n=null),i=i?`Switched to client rendering because the server rendering aborted due to:
157
+
158
+ `:`Switched to client rendering because the server rendering errored:
159
+
160
+ `,e.errorMessage=i+t,e.errorStack=n===null?null:i+n,e.errorComponentStack=r.componentStack}function qt(e,t,n,r){if(e=e.onError,t=r?r.run(e.bind(null,t,n)):e(t,n),t!=null&&typeof t!=`string`)console.error(`onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "%s" instead`,typeof t);else return t}function Jt(e,t,n,r){n=e.onShellError;var i=e.onFatalError;r?(r.run(n.bind(null,t)),r.run(i.bind(null,t))):(n(t),i(t)),e.destination===null?(e.status=13,e.fatalError=t):(e.status=dc,v(e.destination,t))}function Yt(e,t){Xt(e,t.next,t.hoistables)}function Xt(e,t,n){for(;t!==null;){n!==null&&(X(t.hoistables,n),t.inheritedHoistables=n);var r=t.boundaries;if(r!==null){t.boundaries=null;for(var i=0;i<r.length;i++){var a=r[i];n!==null&&X(a.contentState,n),Tn(e,a,null,null)}}if(t.pendingTasks--,0<t.pendingTasks)break;n=t.hoistables,t=t.next}}function Zt(e,t){var n=t.boundaries;if(n!==null&&t.pendingTasks===n.length){for(var r=!0,i=0;i<n.length;i++){var a=n[i];if(a.pendingTasks!==1||a.parentFlushed||kt(e,a)){r=!1;break}}r&&Xt(e,t,t.hoistables)}}function Qt(e){var t={pendingTasks:1,boundaries:null,hoistables:Ie(),inheritedHoistables:null,together:!1,next:null};return e!==null&&0<e.pendingTasks&&(t.pendingTasks++,t.boundaries=[],e.next=t),t}function $t(e,t,n,r,i){var a=t.keyPath,o=t.treeContext,s=t.row,c=t.componentStack,l=t.debugTask;Ut(t,t.node.props.children._debugInfo),t.keyPath=n,n=r.length;var u=null;if(t.replay!==null){var d=t.replay.slots;if(typeof d==`object`&&d)for(var f=0;f<n;f++){var p=i!==`backwards`&&i!==`unstable_legacy-backwards`?f:n-1-f,m=r[p];t.row=u=Qt(u),t.treeContext=$e(o,n,p);var h=d[p];typeof h==`number`?(rn(e,t,h,m,p),delete d[p]):gn(e,t,m,p),--u.pendingTasks===0&&Yt(e,u)}else for(d=0;d<n;d++)f=i!==`backwards`&&i!==`unstable_legacy-backwards`?d:n-1-d,p=r[f],ln(e,t,p),t.row=u=Qt(u),t.treeContext=$e(o,n,f),gn(e,t,p,f),--u.pendingTasks===0&&Yt(e,u)}else if(i!==`backwards`&&i!==`unstable_legacy-backwards`)for(i=0;i<n;i++)d=r[i],ln(e,t,d),t.row=u=Qt(u),t.treeContext=$e(o,n,i),gn(e,t,d,i),--u.pendingTasks===0&&Yt(e,u);else{for(i=t.blockedSegment,d=i.children.length,f=i.chunks.length,p=n-1;0<=p;p--){m=r[p],t.row=u=Qt(u),t.treeContext=$e(o,n,p),h=Bt(e,f,null,t.formatContext,p===0?i.lastPushedText:!0,!0),i.children.splice(d,0,h),t.blockedSegment=h,ln(e,t,m);try{gn(e,t,m,p),h.lastPushedText&&h.textEmbedded&&h.chunks.push(Pi),h.status=oc,wn(e,t.blockedBoundary,h),--u.pendingTasks===0&&Yt(e,u)}catch(t){throw h.status=e.status===12?cc:lc,t}}t.blockedSegment=i,i.lastPushedText=!1}s!==null&&u!==null&&0<u.pendingTasks&&(s.pendingTasks++,u.next=s),t.treeContext=o,t.row=s,t.keyPath=a,t.componentStack=c,t.debugTask=l}function en(e,t,n,r,i,a){var o=t.thenableState;for(t.thenableState=null,hs={},gs=t,_s=e,vs=n,As=!1,ws=Cs=0,Ts=-1,Es=0,Ds=o,e=Ys(r,i,a);Ss;)Ss=!1,ws=Cs=0,Ts=-1,Es=0,ks+=1,bs=null,e=r(i,a);return lt(),e}function tn(e,t,n,r,i,a,o){var s=!1;if(a!==0&&e.formState!==null){var c=t.blockedSegment;if(c!==null){s=!0,c=c.chunks;for(var l=0;l<a;l++)l===o?c.push(oa):c.push(sa)}}a=t.keyPath,t.keyPath=n,i?(n=t.treeContext,t.treeContext=$e(n,1,0),gn(e,t,r,-1),t.treeContext=n):s?gn(e,t,r,-1):sn(e,t,r,-1),t.keyPath=a}function nn(e,t,n,i,a,o){if(typeof i==`function`)if(i.prototype&&i.prototype.isReactComponent){var s=a;if(`ref`in a)for(var c in s={},a)c!==`ref`&&(s[c]=a[c]);var l=i.defaultProps;if(l)for(var u in s===a&&(s=br({},s,a)),l)s[u]===void 0&&(s[u]=l[u]);var d=s,f=qo,p=i.contextType;if(`contextType`in i&&p!==null&&(p===void 0||p.$$typeof!==Zn)&&!as.has(i)){as.add(i);var m=p===void 0?` However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.`:typeof p==`object`?p.$$typeof===Xn?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(p).join(`, `)+`}.`:` However, it is set to a `+typeof p+`.`;console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,Z(i)||`Component`,m)}typeof p==`object`&&p&&(f=p._currentValue);var h=new i(d,f);if(typeof i.getDerivedStateFromProps==`function`&&(h.state===null||h.state===void 0)){var g=Z(i)||`Component`;Qo.has(g)||(Qo.add(g),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",g,h.state===null?`null`:`undefined`,g))}if(typeof i.getDerivedStateFromProps==`function`||typeof h.getSnapshotBeforeUpdate==`function`){var _=null,v=null,y=null;if(typeof h.componentWillMount==`function`&&!0!==h.componentWillMount.__suppressDeprecationWarning?_=`componentWillMount`:typeof h.UNSAFE_componentWillMount==`function`&&(_=`UNSAFE_componentWillMount`),typeof h.componentWillReceiveProps==`function`&&!0!==h.componentWillReceiveProps.__suppressDeprecationWarning?v=`componentWillReceiveProps`:typeof h.UNSAFE_componentWillReceiveProps==`function`&&(v=`UNSAFE_componentWillReceiveProps`),typeof h.componentWillUpdate==`function`&&!0!==h.componentWillUpdate.__suppressDeprecationWarning?y=`componentWillUpdate`:typeof h.UNSAFE_componentWillUpdate==`function`&&(y=`UNSAFE_componentWillUpdate`),_!==null||v!==null||y!==null){var b=Z(i)||`Component`,x=typeof i.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;es.has(b)||(es.add(b),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
161
+
162
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
163
+
164
+ The above lifecycles should be removed. Learn more about this warning here:
165
+ https://react.dev/link/unsafe-component-lifecycles`,b,x,_===null?``:`
166
+ `+_,v===null?``:`
167
+ `+v,y===null?``:`
168
+ `+y))}}var S=Z(i)||`Component`;h.render||(i.prototype&&typeof i.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!h.getInitialState||h.getInitialState.isReactClassApproved||h.state||console.error(`getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?`,S),h.getDefaultProps&&!h.getDefaultProps.isReactClassApproved&&console.error(`getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.`,S),h.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,S),i.childContextTypes&&!is.has(i)&&(is.add(i),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,S)),i.contextTypes&&!rs.has(i)&&(rs.add(i),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,S)),typeof h.componentShouldUpdate==`function`&&console.error(`%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.`,S),i.prototype&&i.prototype.isPureReactComponent&&h.shouldComponentUpdate!==void 0&&console.error(`%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.`,Z(i)||`A pure component`),typeof h.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,S),typeof h.componentDidReceiveProps==`function`&&console.error(`%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().`,S),typeof h.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,S),typeof h.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,S);var C=h.props!==d;h.props!==void 0&&C&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),h.defaultProps&&console.error(`Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.`,S,S),typeof h.getSnapshotBeforeUpdate!=`function`||typeof h.componentDidUpdate==`function`||$o.has(i)||($o.add(i),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,Z(i))),typeof h.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,S),typeof h.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,S),typeof i.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,S);var w=h.state;w&&(typeof w!=`object`||lr(w))&&console.error(`%s.state: must be set to an object or null`,S),typeof h.getChildContext==`function`&&typeof i.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,S);var T=h.state===void 0?null:h.state;h.updater=ss,h.props=d,h.state=T;var E={queue:[],replace:!1};h._reactInternals=E;var D=i.contextType;if(h.context=typeof D==`object`&&D?D._currentValue:qo,h.state===d){var O=Z(i)||`Component`;ts.has(O)||(ts.add(O),console.error(`%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.`,O))}var k=i.getDerivedStateFromProps;if(typeof k==`function`){var A=k(d,T);if(A===void 0){var j=Z(i)||`Component`;ns.has(j)||(ns.add(j),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,j))}h.state=A==null?T:br({},T,A)}if(typeof i.getDerivedStateFromProps!=`function`&&typeof h.getSnapshotBeforeUpdate!=`function`&&(typeof h.UNSAFE_componentWillMount==`function`||typeof h.componentWillMount==`function`)){var M=h.state;if(typeof h.componentWillMount==`function`){if(!0!==h.componentWillMount.__suppressDeprecationWarning){var N=Z(i)||`Unknown`;Zo[N]||(console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
169
+
170
+ * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
171
+
172
+ Please update the following components: %s`,N),Zo[N]=!0)}h.componentWillMount()}if(typeof h.UNSAFE_componentWillMount==`function`&&h.UNSAFE_componentWillMount(),M!==h.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,Z(i)||`Component`),ss.enqueueReplaceState(h,h.state,null)),E.queue!==null&&0<E.queue.length){var P=E.queue,F=E.replace;if(E.queue=null,E.replace=!1,F&&P.length===1)h.state=P[0];else{for(var I=F?P[0]:h.state,R=!0,z=F?1:0;z<P.length;z++){var te=P[z],ne=typeof te==`function`?te.call(h,I,d,void 0):te;ne!=null&&(R?(R=!1,I=br({},I,ne)):br(I,ne))}h.state=I}}else E.queue=null}var re=Zs(h);if(e.status===12)throw null;h.props!==d&&(_c||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Z(i)||`a component`),_c=!0);var ie=t.keyPath;t.keyPath=n,sn(e,t,re,-1),t.keyPath=ie}else{if(i.prototype&&typeof i.prototype.render==`function`){var H=Z(i)||`Unknown`;pc[H]||(console.error(`The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.`,H,H),pc[H]=!0)}var U=en(e,t,n,i,a,void 0);if(e.status===12)throw null;var ae=Cs!==0,W=ws,oe=Ts;if(i.contextTypes){var G=Z(i)||`Unknown`;mc[G]||(mc[G]=!0,console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)`,G))}if(i&&i.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
173
+ %s.childContextTypes = ...`,i.displayName||i.name||`Component`),typeof i.getDerivedStateFromProps==`function`){var se=Z(i)||`Unknown`;gc[se]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,se),gc[se]=!0)}if(typeof i.contextType==`object`&&i.contextType!==null){var ce=Z(i)||`Unknown`;hc[ce]||(console.error(`%s: Function components do not support contextType.`,ce),hc[ce]=!0)}tn(e,t,n,U,ae,W,oe)}else if(typeof i==`string`){var le=t.blockedSegment;if(le===null){var ue=a.children,de=t.formatContext,fe=t.keyPath;t.formatContext=ee(de,i,a),t.keyPath=n,gn(e,t,ue,-1),t.formatContext=de,t.keyPath=fe}else{var pe=ve(le.chunks,i,a,e.resumableState,e.renderState,t.blockedPreamble,t.hoistableState,t.formatContext,le.lastPushedText);le.lastPushedText=!1;var me=t.formatContext,he=t.keyPath;if(t.keyPath=n,(t.formatContext=ee(me,i,a)).insertionMode===Di){var K=Bt(e,0,null,t.formatContext,!1,!1);le.preambleChildren.push(K),t.blockedSegment=K;try{K.status=6,gn(e,t,pe,-1),K.lastPushedText&&K.textEmbedded&&K.chunks.push(Pi),K.status=oc,wn(e,t.blockedBoundary,K)}finally{t.blockedSegment=le}}else gn(e,t,pe,-1);t.formatContext=me,t.keyPath=he;a:{var ge=le.chunks,_e=e.resumableState;switch(i){case`title`:case`style`:case`script`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`img`:case`input`:case`keygen`:case`link`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:break a;case`body`:if(me.insertionMode<=Ti){_e.hasBody=!0;break a}break;case`html`:if(me.insertionMode===wi){_e.hasHtml=!0;break a}break;case`head`:if(me.insertionMode<=Ti)break a}ge.push(ye(i))}le.lastPushedText=!1}}else{switch(i){case ar:case Jn:case Yn:case qn:var be=t.keyPath;t.keyPath=n,sn(e,t,a.children,-1),t.keyPath=be;return;case ir:var xe=t.blockedSegment;if(xe===null){if(a.mode!==`hidden`){var Se=t.keyPath;t.keyPath=n,gn(e,t,a.children,-1),t.keyPath=Se}}else if(a.mode!==`hidden`){xe.chunks.push(ba),xe.lastPushedText=!1;var Ce=t.keyPath;t.keyPath=n,gn(e,t,a.children,-1),t.keyPath=Ce,xe.chunks.push(xa),xe.lastPushedText=!1}return;case er:a:{var q=a.children,J=a.revealOrder;if(J===`forwards`||J===`backwards`||J===`unstable_legacy-backwards`){if(lr(q)){$t(e,t,n,q,J);break a}var we=r(q);if(we){var Te=we.call(q);if(Te){on(t,q,-1,Te,we);var Ee=Te.next();if(!Ee.done){var De=[];do De.push(Ee.value),Ee=Te.next();while(!Ee.done);$t(e,t,n,q,J)}break a}}}if(J===`together`){var Oe=t.keyPath,ke=t.row,Ae=t.row=Qt(null);Ae.boundaries=[],Ae.together=!0,t.keyPath=n,sn(e,t,q,-1),--Ae.pendingTasks===0&&Yt(e,Ae),t.keyPath=Oe,t.row=ke,ke!==null&&0<Ae.pendingTasks&&(ke.pendingTasks++,Ae.next=ke)}else{var je=t.keyPath;t.keyPath=n,sn(e,t,q,-1),t.keyPath=je}}return;case sr:case rr:throw Error(`ReactDOMServer does not yet support scope components.`);case $n:a:if(t.replay!==null){var Me=t.keyPath,Ne=t.formatContext,Pe=t.row;t.keyPath=n,t.formatContext=V(e.resumableState,Ne),t.row=null;var Fe=a.children;try{gn(e,t,Fe,-1)}finally{t.keyPath=Me,t.formatContext=Ne,t.row=Pe}}else{var Ie=t.keyPath,Le=t.formatContext,Re=t.row,ze=t.blockedBoundary,Be=t.blockedPreamble,Ve=t.hoistableState,He=t.blockedSegment,Y=a.fallback,Ue=a.children,We=new Set,X=t.formatContext.insertionMode<Ei?Lt(e,t.row,We,L(),L()):Lt(e,t.row,We,null,null);e.trackedPostpones!==null&&(X.trackedContentKeyPath=n);var Ge=Bt(e,He.chunks.length,X,t.formatContext,!1,!1);He.children.push(Ge),He.lastPushedText=!1;var Ke=Bt(e,0,null,t.formatContext,!1,!1);if(Ke.parentFlushed=!0,e.trackedPostpones!==null){var qe=t.componentStack,Je=[n[0],`Suspense Fallback`,n[2]],Ye=[Je[1],Je[2],[],null];e.trackedPostpones.workingMap.set(Je,Ye),X.trackedFallbackNode=Ye,t.blockedSegment=Ge,t.blockedPreamble=X.fallbackPreamble,t.keyPath=Je,t.formatContext=B(e.resumableState,Le),t.componentStack=Gt(qe),Ge.status=6;try{gn(e,t,Y,-1),Ge.lastPushedText&&Ge.textEmbedded&&Ge.chunks.push(Pi),Ge.status=oc,wn(e,ze,Ge)}catch(t){throw Ge.status=e.status===12?cc:lc,t}finally{t.blockedSegment=He,t.blockedPreamble=Be,t.keyPath=Ie,t.formatContext=Le}var Xe=Rt(e,null,Ue,-1,X,Ke,X.contentPreamble,X.contentState,t.abortSet,n,V(e.resumableState,t.formatContext),t.context,t.treeContext,null,qe,qo,t.debugTask);Wt(Xe),e.pingedTasks.push(Xe)}else{t.blockedBoundary=X,t.blockedPreamble=X.contentPreamble,t.hoistableState=X.contentState,t.blockedSegment=Ke,t.keyPath=n,t.formatContext=V(e.resumableState,Le),t.row=null,Ke.status=6;try{if(gn(e,t,Ue,-1),Ke.lastPushedText&&Ke.textEmbedded&&Ke.chunks.push(Pi),Ke.status=oc,wn(e,X,Ke),Cn(X,Ke),X.pendingTasks===0&&X.status===ac){if(X.status=oc,!kt(e,X)){Re!==null&&--Re.pendingTasks===0&&Yt(e,Re),e.pendingRootTasks===0&&t.blockedPreamble&&kn(e);break a}}else Re!==null&&Re.together&&Zt(e,Re)}catch(n){if(X.status=ic,e.status===12){Ke.status=cc;var Q=e.fatalError}else Ke.status=lc,Q=n;var Ze=$(t.componentStack);Kt(X,qt(e,Q,Ze,t.debugTask),Q,Ze,!1),pn(e,X)}finally{t.blockedBoundary=ze,t.blockedPreamble=Be,t.hoistableState=Ve,t.blockedSegment=He,t.keyPath=Ie,t.formatContext=Le,t.row=Re}var Qe=Rt(e,null,Y,-1,ze,Ge,X.fallbackPreamble,X.fallbackState,We,[n[0],`Suspense Fallback`,n[2]],B(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Gt(t.componentStack),qo,t.debugTask);Wt(Qe),e.pingedTasks.push(Qe)}}return}if(typeof i==`object`&&i)switch(i.$$typeof){case Qn:if(`ref`in a){var $e={};for(var et in a)et!==`ref`&&($e[et]=a[et])}else $e=a;tn(e,t,n,en(e,t,n,i.render,$e,o),Cs!==0,ws,Ts);return;case tr:nn(e,t,n,i.type,a,o);return;case Zn:var tt=a.value,nt=a.children,rt=t.context,it=t.keyPath,at=i._currentValue;i._currentValue=tt,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Jo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Jo;var ot=Yo,st={parent:ot,depth:ot===null?0:ot.depth+1,context:i,parentValue:at,value:tt};Yo=st,t.context=st,t.keyPath=n,sn(e,t,nt,-1);var ct=Yo;if(ct===null)throw Error(`Tried to pop a Context at the root of the app. This is a bug in React.`);ct.context!==i&&console.error(`The parent context is not the expected context. This is probably a bug in React.`),ct.context._currentValue=ct.parentValue,i._currentRenderer!==void 0&&i._currentRenderer!==null&&i._currentRenderer!==Jo&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),i._currentRenderer=Jo,t.context=Yo=ct.parent,t.keyPath=it,rt!==t.context&&console.error(`Popping the context provider did not return back to the original snapshot. This is a bug in React.`);return;case Xn:var lt=i._context,ut=a.children;typeof ut!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`);var dt=ut(lt._currentValue),ft=t.keyPath;t.keyPath=n,sn(e,t,dt,-1),t.keyPath=ft;return;case nr:var pt=$s(i);if(e.status===12)throw null;nn(e,t,n,pt,a,o);return}var mt=``;throw(i===void 0||typeof i==`object`&&i&&Object.keys(i).length===0)&&(mt+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+((i==null?i:typeof i)+`.`+mt))}}function rn(e,t,n,r,i){var a=t.replay,o=t.blockedBoundary,s=Bt(e,0,null,t.formatContext,!1,!1);s.id=n,s.parentFlushed=!0;try{t.replay=null,t.blockedSegment=s,gn(e,t,r,i),s.status=oc,wn(e,o,s),o===null?e.completedRootSegment=s:(Cn(o,s),o.parentFlushed&&e.partialBoundaries.push(o))}finally{t.replay=a,t.blockedSegment=null}}function an(e,t,n,r,i,a,o,s,c,l){a=l.nodes;for(var u=0;u<a.length;u++){var d=a[u];if(i===d[1]){if(d.length===4){if(r!==null&&r!==d[0])throw Error(`Expected the resume to render <`+d[0]+`> in this slot but instead it rendered <`+r+`>. The tree doesn't match so React will fallback to client rendering.`);var f=d[2];r=d[3],i=t.node,t.replay={nodes:f,slots:r,pendingTasks:1};try{if(nn(e,t,n,o,s,c),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(d){if(typeof d==`object`&&d&&(d===fs||typeof d.then==`function`))throw t.node===i?t.replay=l:a.splice(u,1),d;t.replay.pendingTasks--,o=$(t.componentStack),s=e,e=t.blockedBoundary,n=d,c=r,r=qt(s,n,o,t.debugTask),vn(s,e,f,c,n,r,o,!1)}t.replay=l}else{if(o!==$n)throw Error(`Expected the resume to render <Suspense> in this slot but instead it rendered <`+(Z(o)||`Unknown`)+`>. The tree doesn't match so React will fallback to client rendering.`);a:{l=void 0,r=d[5],o=d[2],c=d[3],i=d[4]===null?[]:d[4][2],d=d[4]===null?null:d[4][3];var p=t.keyPath,m=t.formatContext,h=t.row,g=t.replay,_=t.blockedBoundary,v=t.hoistableState,y=s.children,b=s.fallback,x=new Set;s=t.formatContext.insertionMode<Ei?Lt(e,t.row,x,L(),L()):Lt(e,t.row,x,null,null),s.parentFlushed=!0,s.rootSegmentID=r,t.blockedBoundary=s,t.hoistableState=s.contentState,t.keyPath=n,t.formatContext=V(e.resumableState,m),t.row=null,t.replay={nodes:o,slots:c,pendingTasks:1};try{if(gn(e,t,y,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);if(t.replay.pendingTasks--,s.pendingTasks===0&&s.status===ac){s.status=oc,e.completedBoundaries.push(s);break a}}catch(n){s.status=ic,f=$(t.componentStack),l=qt(e,n,f,t.debugTask),Kt(s,l,n,f,!1),t.replay.pendingTasks--,e.clientRenderedBoundaries.push(s)}finally{t.blockedBoundary=_,t.hoistableState=v,t.replay=g,t.keyPath=p,t.formatContext=m,t.row=h}s=zt(e,null,{nodes:i,slots:d,pendingTasks:0},b,-1,_,s.fallbackState,x,[n[0],`Suspense Fallback`,n[2]],B(e.resumableState,t.formatContext),t.context,t.treeContext,t.row,Gt(t.componentStack),qo,t.debugTask),Wt(s),e.pingedTasks.push(s)}}a.splice(u,1);break}}}function on(e,t,n,r,i){r===t?(n!==-1||e.componentStack===null||typeof e.componentStack.type!=`function`||Object.prototype.toString.call(e.componentStack.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(r)!==`[object Generator]`)&&(vc||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),vc=!0):t.entries!==i||yc||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),yc=!0)}function sn(e,t,n,r){t.replay!==null&&typeof t.replay.slots==`number`?rn(e,t,t.replay.slots,n,r):(t.node=n,t.childIndex=r,n=t.componentStack,r=t.debugTask,Wt(t),cn(e,t),t.componentStack=n,t.debugTask=r)}function cn(e,t){var n=t.node,i=t.childIndex;if(n!==null){if(typeof n==`object`){switch(n.$$typeof){case Gn:var a=n.type,o=n.key;n=n.props;var s=n.ref;s=s===void 0?null:s;var c=t.debugTask,l=Z(a);o??=i===-1?0:i;var u=[t.keyPath,l,o];t.replay===null?c?c.run(nn.bind(null,e,t,u,a,n,s)):nn(e,t,u,a,n,s):c?c.run(an.bind(null,e,t,u,l,o,i,a,n,s,t.replay)):an(e,t,u,l,o,i,a,n,s,t.replay);return;case Kn:throw Error(`Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.`);case nr:if(a=$s(n),e.status===12)throw null;sn(e,t,a,i);return}if(lr(n)){un(e,t,n,i);return}if((o=r(n))&&(a=o.call(n))){if(on(t,n,i,a,o),n=a.next(),!n.done){o=[];do o.push(n.value),n=a.next();while(!n.done);un(e,t,o,i)}return}if(typeof n.then==`function`)return t.thenableState=null,sn(e,t,yt(n),i);if(n.$$typeof===Zn)return sn(e,t,n._currentValue,i);throw e=Object.prototype.toString.call(n),Error(`Objects are not valid as a React child (found: `+(e===`[object Object]`?`object with keys {`+Object.keys(n).join(`, `)+`}`:e)+`). If you meant to render a collection of children, use an array instead.`)}typeof n==`string`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=ne(t.chunks,n,e.renderState,t.lastPushedText))):typeof n==`number`||typeof n==`bigint`?(t=t.blockedSegment,t!==null&&(t.lastPushedText=ne(t.chunks,``+n,e.renderState,t.lastPushedText))):(typeof n==`function`&&(e=n.displayName||n.name||`Component`,console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.`,e,e)),typeof n==`symbol`&&console.error(`Symbols are not valid as a React child.
174
+ %s`,String(n)))}}function ln(e,t,n){if(typeof n==`object`&&n&&(n.$$typeof===Gn||n.$$typeof===Kn)&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=e.didWarnForKey;if(r??=e.didWarnForKey=new WeakSet,e=t.componentStack,e!==null&&!r.has(e)){r.add(e);var i=Z(n.type);r=n._owner;var a=e.owner;if(e=``,a&&a.type!==void 0){var o=Z(a.type);o&&(e=`
175
+
176
+ Check the render method of \``+o+"`.")}e||i&&(e=`
177
+
178
+ Check the top-level render call using <`+i+`>.`),i=``,r!=null&&a!==r&&(a=null,r.type===void 0?typeof r.name==`string`&&(a=r.name):a=Z(r.type),a&&(i=` It was passed a child from `+a+`.`)),r=t.componentStack,t.componentStack={parent:t.componentStack,type:n.type,owner:n._owner,stack:n._debugStack},console.error(`Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.`,e,i),t.componentStack=r}}}function un(e,t,n,r){var i=t.keyPath,a=t.componentStack,o=t.debugTask;if(Ut(t,t.node._debugInfo),r!==-1&&(t.keyPath=[t.keyPath,`Fragment`,r],t.replay!==null)){for(var s=t.replay,c=s.nodes,l=0;l<c.length;l++){var u=c[l];if(u[1]===r){r=u[2],u=u[3],t.replay={nodes:r,slots:u,pendingTasks:1};try{if(un(e,t,n,-1),t.replay.pendingTasks===1&&0<t.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);t.replay.pendingTasks--}catch(i){if(typeof i==`object`&&i&&(i===fs||typeof i.then==`function`))throw i;t.replay.pendingTasks--;var d=$(t.componentStack);n=t.blockedBoundary;var f=i,p=u;u=qt(e,f,d,t.debugTask),vn(e,n,r,p,f,u,d,!1)}t.replay=s,c.splice(l,1);break}}t.keyPath=i,t.componentStack=a,t.debugTask=o;return}if(s=t.treeContext,c=n.length,t.replay!==null&&(l=t.replay.slots,typeof l==`object`&&l)){for(r=0;r<c;r++)u=n[r],t.treeContext=$e(s,c,r),f=l[r],typeof f==`number`?(rn(e,t,f,u,r),delete l[r]):gn(e,t,u,r);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o;return}for(l=0;l<c;l++)r=n[l],ln(e,t,r),t.treeContext=$e(s,c,l),gn(e,t,r,l);t.treeContext=s,t.keyPath=i,t.componentStack=a,t.debugTask=o}function dn(e,t,n){if(n.status=uc,n.rootSegmentID=e.nextSegmentId++,e=n.trackedContentKeyPath,e===null)throw Error(`It should not be possible to postpone at the root. This is a bug in React.`);var r=n.trackedFallbackNode,i=[],a=t.workingMap.get(e);return a===void 0?(n=[e[1],e[2],i,null,r,n.rootSegmentID],t.workingMap.set(e,n),Bn(n,e[0],t),n):(a[4]=r,a[5]=n.rootSegmentID,a)}function fn(e,t,n,r){r.status=uc;var i=n.keyPath,a=n.blockedBoundary;if(a===null)r.id=e.nextSegmentId++,t.rootSlots=r.id,e.completedRootSegment!==null&&(e.completedRootSegment.status=uc);else{if(a!==null&&a.status===ac){var o=dn(e,t,a);if(a.trackedContentKeyPath===i&&n.childIndex===-1){r.id===-1&&(r.id=r.parentFlushed?a.rootSegmentID:e.nextSegmentId++),o[3]=r.id;return}}if(r.id===-1&&(r.id=r.parentFlushed&&a!==null?a.rootSegmentID:e.nextSegmentId++),n.childIndex===-1)i===null?t.rootSlots=r.id:(n=t.workingMap.get(i),n===void 0?(n=[i[1],i[2],[],r.id],Bn(n,i[0],t)):n[3]=r.id);else{if(i===null){if(e=t.rootSlots,e===null)e=t.rootSlots={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`)}else if(a=t.workingMap,o=a.get(i),o===void 0)e={},o=[i[1],i[2],[],e],a.set(i,o),Bn(o,i[0],t);else if(e=o[3],e===null)e=o[3]={};else if(typeof e==`number`)throw Error(`It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React.`);e[n.childIndex]=r.id}}}function pn(e,t){e=e.trackedPostpones,e!==null&&(t=t.trackedContentKeyPath,t!==null&&(t=e.workingMap.get(t),t!==void 0&&(t.length=4,t[2]=[],t[3]=null)))}function mn(e,t,n){return zt(e,n,t.replay,t.node,t.childIndex,t.blockedBoundary,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,qo,t.debugTask)}function hn(e,t,n){var r=t.blockedSegment,i=Bt(e,r.chunks.length,null,t.formatContext,r.lastPushedText,!0);return r.children.push(i),r.lastPushedText=!1,Rt(e,n,t.node,t.childIndex,t.blockedBoundary,i,t.blockedPreamble,t.hoistableState,t.abortSet,t.keyPath,t.formatContext,t.context,t.treeContext,t.row,t.componentStack,qo,t.debugTask)}function gn(e,t,n,r){var i=t.formatContext,a=t.context,o=t.keyPath,s=t.treeContext,c=t.componentStack,l=t.debugTask,u=t.blockedSegment;if(u===null){u=t.replay;try{return sn(e,t,n,r)}catch(d){if(lt(),n=d===fs?rt():d,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){r=d===fs?ct():null,e=mn(e,t,r).ping,n.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,Q(a);return}if(n.message===`Maximum call stack size exceeded`){n=d===fs?ct():null,n=mn(e,t,n),e.pingedTasks.push(n),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.replay=u,t.debugTask=l,Q(a);return}}}}else{var d=u.children.length,f=u.chunks.length;try{return sn(e,t,n,r)}catch(r){if(lt(),u.children.length=d,u.chunks.length=f,n=r===fs?rt():r,e.status!==12&&typeof n==`object`&&n){if(typeof n.then==`function`){u=n,n=r===fs?ct():null,e=hn(e,t,n).ping,u.then(e,e),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,Q(a);return}if(n.message===`Maximum call stack size exceeded`){u=r===fs?ct():null,u=hn(e,t,u),e.pingedTasks.push(u),t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,t.componentStack=c,t.debugTask=l,Q(a);return}}}}throw t.formatContext=i,t.context=a,t.keyPath=o,t.treeContext=s,Q(a),n}function _n(e){var t=e.blockedBoundary,n=e.blockedSegment;n!==null&&(n.status=cc,Tn(this,t,e.row,n))}function vn(e,t,n,r,i,a,o,s){for(var c=0;c<n.length;c++){var l=n[c];if(l.length===4)vn(e,t,l[2],l[3],i,a,o,s);else{var u=e;l=l[5];var d=i,f=a,p=o,m=s,h=Lt(u,null,new Set,null,null);h.parentFlushed=!0,h.rootSegmentID=l,h.status=ic,Kt(h,f,d,p,m),h.parentFlushed&&u.clientRenderedBoundaries.push(h)}}if(n.length=0,r!==null){if(t===null)throw Error(`We should not have any resumable nodes in the shell. This is a bug in React.`);if(t.status!==ic&&(t.status=ic,Kt(t,a,i,o,s),t.parentFlushed&&e.clientRenderedBoundaries.push(t)),typeof r==`object`)for(var g in r)delete r[g]}}function yn(e,t,n){var r=e.blockedBoundary,i=e.blockedSegment;if(i!==null){if(i.status===6)return;i.status=cc}var a=$(e.componentStack),o=e.node;if(typeof o==`object`&&o&&Ht(e,o._debugInfo),r===null){if(t.status!==13&&t.status!==dc){if(r=e.replay,r===null){t.trackedPostpones!==null&&i!==null?(r=t.trackedPostpones,qt(t,n,a,e.debugTask),fn(t,r,e,i),Tn(t,null,e.row,i)):(qt(t,n,a,e.debugTask),Jt(t,n,a,e.debugTask));return}r.pendingTasks--,r.pendingTasks===0&&0<r.nodes.length&&(i=qt(t,n,a,null),vn(t,null,r.nodes,r.slots,n,i,a,!0)),t.pendingRootTasks--,t.pendingRootTasks===0&&xn(t)}}else{if(o=t.trackedPostpones,r.status!==ic){if(o!==null&&i!==null)return qt(t,n,a,e.debugTask),fn(t,o,e,i),r.fallbackAbortableTasks.forEach(function(e){return yn(e,t,n)}),r.fallbackAbortableTasks.clear(),Tn(t,r,e.row,i);r.status=ic,i=qt(t,n,a,e.debugTask),r.status=ic,Kt(r,i,n,a,!0),pn(t,r),r.parentFlushed&&t.clientRenderedBoundaries.push(r)}r.pendingTasks--,a=r.row,a!==null&&--a.pendingTasks===0&&Yt(t,a),r.fallbackAbortableTasks.forEach(function(e){return yn(e,t,n)}),r.fallbackAbortableTasks.clear()}e=e.row,e!==null&&--e.pendingTasks===0&&Yt(t,e),t.allPendingTasks--,t.allPendingTasks===0&&Sn(t)}function bn(e,t){try{var n=e.renderState,r=n.onHeaders;if(r){var i=n.headers;if(i){n.headers=null;var a=i.preconnects;if(i.fontPreloads&&(a&&(a+=`, `),a+=i.fontPreloads),i.highImagePreloads&&(a&&(a+=`, `),a+=i.highImagePreloads),!t){var o=n.styles.values(),s=o.next();b:for(;0<i.remainingCapacity&&!s.done;s=o.next())for(var c=s.value.sheets.values(),l=c.next();0<i.remainingCapacity&&!l.done;l=c.next()){var u=l.value,d=u.props,f=d.href,p=u.props,m=ze(p.href,`style`,{crossOrigin:p.crossOrigin,integrity:p.integrity,nonce:p.nonce,type:p.type,fetchPriority:p.fetchPriority,referrerPolicy:p.referrerPolicy,media:p.media});if(0<=(i.remainingCapacity-=m.length+2))n.resets.style[f]=li,a&&(a+=`, `),a+=m,n.resets.style[f]=typeof d.crossOrigin==`string`||typeof d.integrity==`string`?[d.crossOrigin,d.integrity]:li;else break b}}r(a?{Link:a}:{})}}}catch(t){qt(e,t,{},null)}}function xn(e){e.trackedPostpones===null&&bn(e,!0),e.trackedPostpones===null&&kn(e),e.onShellError=tt,e=e.onShellReady,e()}function Sn(e){bn(e,e.trackedPostpones===null?!0:e.completedRootSegment===null||e.completedRootSegment.status!==uc),kn(e),e=e.onAllReady,e()}function Cn(e,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null&&t.children[0].id===-1){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status!==oc&&n.status!==cc&&n.status!==lc||Cn(e,n)}else e.completedSegments.push(t)}function wn(e,t,n){if(_!==null){n=n.chunks;for(var r=0,i=0;i<n.length;i++)r+=n[i].byteLength;t===null?e.byteSize+=r:t.byteSize+=r}}function Tn(e,t,n,r){if(n!==null&&(--n.pendingTasks===0?Yt(e,n):n.together&&Zt(e,n)),e.allPendingTasks--,t===null){if(r!==null&&r.parentFlushed){if(e.completedRootSegment!==null)throw Error(`There can only be one root segment. This is a bug in React.`);e.completedRootSegment=r}e.pendingRootTasks--,e.pendingRootTasks===0&&xn(e)}else if(t.pendingTasks--,t.status!==ic)if(t.pendingTasks===0){if(t.status===ac&&(t.status=oc),r!==null&&r.parentFlushed&&(r.status===oc||r.status===cc)&&Cn(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.status===oc)n=t.row,n!==null&&X(n.hoistables,t.contentState),kt(e,t)||(t.fallbackAbortableTasks.forEach(_n,e),t.fallbackAbortableTasks.clear(),n!==null&&--n.pendingTasks===0&&Yt(e,n)),e.pendingRootTasks===0&&e.trackedPostpones===null&&t.contentPreamble!==null&&kn(e);else if(t.status===uc&&(t=t.row,t!==null)){if(e.trackedPostpones!==null){n=e.trackedPostpones;var i=t.next;if(i!==null&&(r=i.boundaries,r!==null))for(i.boundaries=null,i=0;i<r.length;i++){var a=r[i];dn(e,n,a),Tn(e,a,null,null)}}--t.pendingTasks===0&&Yt(e,t)}}else r===null||!r.parentFlushed||r.status!==oc&&r.status!==cc||(Cn(t,r),t.completedSegments.length===1&&t.parentFlushed&&e.partialBoundaries.push(t)),t=t.row,t!==null&&t.together&&Zt(e,t);e.allPendingTasks===0&&Sn(e)}function En(e){if(e.status!==dc&&e.status!==13){var t=Yo,n=Zr.H;Zr.H=Ms;var r=Zr.A;Zr.A=Fs;var i=fc;fc=e;var a=Zr.getCurrentStack;Zr.getCurrentStack=Vt;var o=Ns;Ns=e.resumableState;try{var s=e.pingedTasks,c;for(c=0;c<s.length;c++){var l=e,u=s[c],d=u.blockedSegment;if(d===null){var f=void 0,p=l;if(l=u,l.replay.pendingTasks!==0){Q(l.context),f=Ps,Ps=l;try{if(typeof l.replay.slots==`number`?rn(p,l,l.replay.slots,l.node,l.childIndex):cn(p,l),l.replay.pendingTasks===1&&0<l.replay.nodes.length)throw Error(`Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering.`);l.replay.pendingTasks--,l.abortSet.delete(l),Tn(p,l.blockedBoundary,l.row,null)}catch(e){lt();var m=e===fs?rt():e;if(typeof m==`object`&&m&&typeof m.then==`function`){var h=l.ping;m.then(h,h),l.thenableState=e===fs?ct():null}else{l.replay.pendingTasks--,l.abortSet.delete(l);var g=$(l.componentStack),_=void 0,v=p,y=l.blockedBoundary,b=p.status===12?p.fatalError:m,x=g,S=l.replay.nodes,C=l.replay.slots;_=qt(v,b,x,l.debugTask),vn(v,y,S,C,b,_,x,!1),p.pendingRootTasks--,p.pendingRootTasks===0&&xn(p),p.allPendingTasks--,p.allPendingTasks===0&&Sn(p)}}finally{Ps=f}}}else if(p=f=void 0,_=u,v=d,v.status===ac){v.status=6,Q(_.context),p=Ps,Ps=_;var w=v.children.length,T=v.chunks.length;try{cn(l,_),v.lastPushedText&&v.textEmbedded&&v.chunks.push(Pi),_.abortSet.delete(_),v.status=oc,wn(l,_.blockedBoundary,v),Tn(l,_.blockedBoundary,_.row,v)}catch(e){lt(),v.children.length=w,v.chunks.length=T;var E=e===fs?rt():l.status===12?l.fatalError:e;if(l.status===12&&l.trackedPostpones!==null){var D=l.trackedPostpones,O=$(_.componentStack);_.abortSet.delete(_),qt(l,E,O,_.debugTask),fn(l,D,_,v),Tn(l,_.blockedBoundary,_.row,v)}else if(typeof E==`object`&&E&&typeof E.then==`function`){v.status=ac,_.thenableState=e===fs?ct():null;var k=_.ping;E.then(k,k)}else{var A=$(_.componentStack);_.abortSet.delete(_),v.status=lc;var j=_.blockedBoundary,M=_.row,N=_.debugTask;if(M!==null&&--M.pendingTasks===0&&Yt(l,M),l.allPendingTasks--,f=qt(l,E,A,N),j===null)Jt(l,E,A,N);else if(j.pendingTasks--,j.status!==ic){j.status=ic,Kt(j,f,E,A,!1),pn(l,j);var P=j.row;P!==null&&--P.pendingTasks===0&&Yt(l,P),j.parentFlushed&&l.clientRenderedBoundaries.push(j),l.pendingRootTasks===0&&l.trackedPostpones===null&&j.contentPreamble!==null&&kn(l)}l.allPendingTasks===0&&Sn(l)}}finally{Ps=p}}}s.splice(0,c),e.destination!==null&&Fn(e,e.destination)}catch(t){s={},qt(e,t,s,null),Jt(e,t,s,null)}finally{Ns=o,Zr.H=n,Zr.A=r,Zr.getCurrentStack=a,n===Ms&&Q(t),fc=i}}}function Dn(e,t,n){t.preambleChildren.length&&n.push(t.preambleChildren);for(var r=!1,i=0;i<t.children.length;i++)r=On(e,t.children[i],n)||r;return r}function On(e,t,n){var r=t.boundary;if(r===null)return Dn(e,t,n);var i=r.contentPreamble,a=r.fallbackPreamble;if(i===null||a===null)return!1;switch(r.status){case oc:if(be(e.renderState,i),e.byteSize+=r.byteSize,t=r.completedSegments[0],!t)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);return Dn(e,t,n);case uc:if(e.trackedPostpones!==null)return!0;case ic:if(t.status===oc)return be(e.renderState,a),Dn(e,t,n);default:return!0}}function kn(e){if(e.completedRootSegment&&e.completedPreambleSegments===null){var t=[],n=e.byteSize,r=On(e,e.completedRootSegment,t),i=e.renderState.preamble;!1===r||i.headChunks&&i.bodyChunks?e.completedPreambleSegments=t:e.byteSize=n}}function An(e,t,n,r){switch(n.parentFlushed=!0,n.status){case ac:n.id=e.nextSegmentId++;case uc:return r=n.id,n.lastPushedText=!1,n.textEmbedded=!1,e=e.renderState,f(t,va),f(t,e.placeholderPrefix),e=h(r.toString(16)),f(t,e),p(t,ya);case oc:n.status=sc;var i=!0,a=n.chunks,o=0;n=n.children;for(var s=0;s<n.length;s++){for(i=n[s];o<i.index;o++)f(t,a[o]);i=jn(e,t,i,r)}for(;o<a.length-1;o++)f(t,a[o]);return o<a.length&&(i=p(t,a[o])),i;case cc:return!0;default:throw Error(`Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.`)}}function jn(e,t,n,r){var i=n.boundary;if(i===null)return An(e,t,n,r);if(i.parentFlushed=!0,i.status===ic){var a=i.row;a!==null&&--a.pendingTasks===0&&Yt(e,a),a=i.errorDigest;var o=i.errorMessage,s=i.errorStack;i=i.errorComponentStack,p(t,Ta),f(t,Da),a&&(f(t,ka),f(t,h(M(a))),f(t,Oa)),o&&(f(t,Aa),f(t,h(M(o))),f(t,Oa)),s&&(f(t,ja),f(t,h(M(s))),f(t,Oa)),i&&(f(t,Ma),f(t,h(M(i))),f(t,Oa)),p(t,Na),An(e,t,n,r)}else if(i.status!==oc)i.status===ac&&(i.rootSegmentID=e.nextSegmentId++),0<i.completedSegments.length&&e.partialBoundaries.push(i),Se(t,e.renderState,i.rootSegmentID),r&&X(r,i.fallbackState),An(e,t,n,r);else if(!xc&&kt(e,i)&&(bc+i.byteSize>e.progressiveChunkSize||Ge(i.contentState)))i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),Se(t,e.renderState,i.rootSegmentID),An(e,t,n,r);else{if(bc+=i.byteSize,r&&X(r,i.contentState),n=i.row,n!==null&&kt(e,i)&&--n.pendingTasks===0&&Yt(e,n),p(t,Sa),n=i.completedSegments,n.length!==1)throw Error(`A previously unvisited boundary must have exactly one root segment. This is a bug in React.`);jn(e,t,n[0],r)}return p(t,Ea)}function Mn(e,t,n,r){return Ce(t,e.renderState,n.parentFormatContext,n.id),jn(e,t,n,r),q(t,n.parentFormatContext)}function Nn(e,t,n){bc=n.byteSize;for(var r=n.completedSegments,i=0;i<r.length;i++)Pn(e,t,n,r[i]);r.length=0,r=n.row,r!==null&&kt(e,n)&&--r.pendingTasks===0&&Yt(e,r),De(t,n.contentState,e.renderState),r=e.resumableState,e=e.renderState,i=n.rootSegmentID,n=n.contentState;var a=e.stylesToHoist;return e.stylesToHoist=!1,f(t,e.startInlineScript),f(t,Gi),a?((r.instructions&ii)===ti&&(r.instructions|=ii,f(t,mo)),(r.instructions&ri)===ti&&(r.instructions|=ri,f(t,ao)),(r.instructions&ai)===ti?(r.instructions|=ai,f(t,so)):f(t,co)):((r.instructions&ri)===ti&&(r.instructions|=ri,f(t,ao)),f(t,oo)),r=h(i.toString(16)),f(t,e.boundaryPrefix),f(t,r),f(t,lo),f(t,e.segmentPrefix),f(t,r),a?(f(t,uo),Pe(t,n)):f(t,fo),n=p(t,po),xe(t,e)&&n}function Pn(e,t,n,r){if(r.status===sc)return!0;var i=n.contentState,a=r.id;if(a===-1){if((r.id=n.rootSegmentID)===-1)throw Error(`A root segment ID must have been assigned by now. This is a bug in React.`);return Mn(e,t,r,i)}return a===n.rootSegmentID?Mn(e,t,r,i):(Mn(e,t,r,i),n=e.resumableState,e=e.renderState,f(t,e.startInlineScript),f(t,Gi),(n.instructions&ni)===ti?(n.instructions|=ni,f(t,to)):f(t,no),f(t,e.segmentPrefix),a=h(a.toString(16)),f(t,a),f(t,ro),f(t,e.placeholderPrefix),f(t,a),t=p(t,io),t)}function Fn(e,t){_r=new Uint8Array(2048),vr=0;try{if(!(0<e.pendingRootTasks)){var n,r=e.completedRootSegment;if(r!==null){if(r.status===uc)return;var i=e.completedPreambleSegments;if(i===null)return;bc=e.byteSize;var a=e.resumableState,o=e.renderState,s=o.preamble,c=s.htmlChunks,l=s.headChunks,u;if(c){for(u=0;u<c.length;u++)f(t,c[u]);if(l)for(u=0;u<l.length;u++)f(t,l[u]);else f(t,_e(`head`)),f(t,Gi)}else if(l)for(u=0;u<l.length;u++)f(t,l[u]);var d=o.charsetChunks;for(u=0;u<d.length;u++)f(t,d[u]);d.length=0,o.preconnects.forEach(Oe,t),o.preconnects.clear();var g=o.viewportChunks;for(u=0;u<g.length;u++)f(t,g[u]);g.length=0,o.fontPreloads.forEach(Oe,t),o.fontPreloads.clear(),o.highImagePreloads.forEach(Oe,t),o.highImagePreloads.clear(),ui=o,o.styles.forEach(Ae,t),ui=null;var _=o.importMapChunks;for(u=0;u<_.length;u++)f(t,_[u]);_.length=0,o.bootstrapScripts.forEach(Oe,t),o.scripts.forEach(Oe,t),o.scripts.clear(),o.bulkPreloads.forEach(Oe,t),o.bulkPreloads.clear(),c||l||(a.instructions|=oi);var v=o.hoistableChunks;for(u=0;u<v.length;u++)f(t,v[u]);for(a=v.length=0;a<i.length;a++){var y=i[a];for(o=0;o<y.length;o++)jn(e,t,y[o],null)}var b=e.renderState.preamble,x=b.headChunks;(b.htmlChunks||x)&&f(t,ye(`head`));var S=b.bodyChunks;if(S)for(i=0;i<S.length;i++)f(t,S[i]);jn(e,t,r,null),e.completedRootSegment=null;var C=e.renderState;if(e.allPendingTasks!==0||e.clientRenderedBoundaries.length!==0||e.completedBoundaries.length!==0||e.trackedPostpones!==null&&(e.trackedPostpones.rootNodes.length!==0||e.trackedPostpones.rootSlots!==null)){var w=e.resumableState;if((w.instructions&si)===ti){if(w.instructions|=si,f(t,C.startInlineScript),(w.instructions&oi)===ti){w.instructions|=oi;var T=`_`+w.idPrefix+`R_`;f(t,Po),f(t,h(M(T))),f(t,Vi)}f(t,Gi),f(t,_a),p(t,fi)}}xe(t,C)}var E=e.renderState;r=0;var D=E.viewportChunks;for(r=0;r<D.length;r++)f(t,D[r]);D.length=0,E.preconnects.forEach(Oe,t),E.preconnects.clear(),E.fontPreloads.forEach(Oe,t),E.fontPreloads.clear(),E.highImagePreloads.forEach(Oe,t),E.highImagePreloads.clear(),E.styles.forEach(Me,t),E.scripts.forEach(Oe,t),E.scripts.clear(),E.bulkPreloads.forEach(Oe,t),E.bulkPreloads.clear();var O=E.hoistableChunks;for(r=0;r<O.length;r++)f(t,O[r]);O.length=0;var k=e.clientRenderedBoundaries;for(n=0;n<k.length;n++){var A=k[n];E=t;var j=e.resumableState,N=e.renderState,P=A.rootSegmentID,F=A.errorDigest,I=A.errorMessage,L=A.errorStack,R=A.errorComponentStack;f(E,N.startInlineScript),f(E,Gi),(j.instructions&ii)===ti?(j.instructions|=ii,f(E,ho)):f(E,go),f(E,N.boundaryPrefix),f(E,h(P.toString(16))),f(E,_o),(F||I||L||R)&&(f(E,vo),f(E,h(J(F||``)))),(I||L||R)&&(f(E,vo),f(E,h(J(I||``)))),(L||R)&&(f(E,vo),f(E,h(J(L||``)))),R&&(f(E,vo),f(E,h(J(R))));var z=p(E,yo);if(!z){e.destination=null,n++,k.splice(0,n);return}}k.splice(0,n);var ee=e.completedBoundaries;for(n=0;n<ee.length;n++)if(!Nn(e,t,ee[n])){e.destination=null,n++,ee.splice(0,n);return}ee.splice(0,n),m(t),_r=new Uint8Array(2048),vr=0,xc=!0;var te=e.partialBoundaries;for(n=0;n<te.length;n++){a:{k=e,A=t;var B=te[n];bc=B.byteSize;var V=B.completedSegments;for(z=0;z<V.length;z++)if(!Pn(k,A,B,V[z])){z++,V.splice(0,z);var ne=!1;break a}V.splice(0,z);var re=B.row;re!==null&&re.together&&B.pendingTasks===1&&(re.pendingTasks===1?Xt(k,re,re.hoistables):re.pendingTasks--),ne=De(A,B.contentState,k.renderState)}if(!ne){e.destination=null,n++,te.splice(0,n);return}}te.splice(0,n),xc=!1;var ie=e.completedBoundaries;for(n=0;n<ie.length;n++)if(!Nn(e,t,ie[n])){e.destination=null,n++,ie.splice(0,n);return}ie.splice(0,n)}}finally{xc=!1,e.allPendingTasks===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0?(e.flushScheduled=!1,n=e.resumableState,n.hasBody&&f(t,ye(`body`)),n.hasHtml&&f(t,ye(`html`)),m(t),e.abortableTasks.size!==0&&console.error(`There was still abortable task at the root when we closed. This is a bug in React.`),e.status=dc,t.close(),e.destination=null):m(t)}}function In(e){e.flushScheduled=e.destination!==null,gr(function(){return En(e)}),u(function(){e.status===10&&(e.status=11),e.trackedPostpones===null&&bn(e,e.pendingRootTasks===0)})}function Ln(e){!1===e.flushScheduled&&e.pingedTasks.length===0&&e.destination!==null&&(e.flushScheduled=!0,u(function(){var t=e.destination;t?Fn(e,t):e.flushScheduled=!1}))}function Rn(e,t){if(e.status===13)e.status=dc,v(t,e.fatalError);else if(e.status!==dc&&e.destination===null){e.destination=t;try{Fn(e,t)}catch(n){t={},qt(e,n,t,null),Jt(e,n,t,null)}}}function zn(e,t){(e.status===11||e.status===10)&&(e.status=12);try{var n=e.abortableTasks;if(0<n.size){var r=t===void 0?Error(`The render was aborted by the server without a reason.`):typeof t==`object`&&t&&typeof t.then==`function`?Error(`The render was aborted by the server with a promise.`):t;e.fatalError=r,n.forEach(function(t){var n=Ps,i=Zr.getCurrentStack;Ps=t,Zr.getCurrentStack=Vt;try{yn(t,e,r)}finally{Ps=n,Zr.getCurrentStack=i}}),n.clear()}e.destination!==null&&Fn(e,e.destination)}catch(n){t={},qt(e,n,t,null),Jt(e,n,t,null)}}function Bn(e,t,n){if(t===null)n.rootNodes.push(e);else{var r=n.workingMap,i=r.get(t);i===void 0&&(i=[t[1],t[2],[],null],r.set(t,i),Bn(i,t[0],n)),i[2].push(e)}}function Vn(e){var t=e.trackedPostpones;if(t===null||t.rootNodes.length===0&&t.rootSlots===null)return e.trackedPostpones=null;if(e.completedRootSegment===null||e.completedRootSegment.status!==uc&&e.completedPreambleSegments!==null){var n=e.nextSegmentId,r=t.rootSlots,i=e.resumableState;i.bootstrapScriptContent=void 0,i.bootstrapScripts=void 0,i.bootstrapModules=void 0}else{n=0,r=-1,i=e.resumableState;var a=e.renderState;i.nextFormID=0,i.hasBody=!1,i.hasHtml=!1,i.unknownResources={font:a.resets.font},i.dnsResources=a.resets.dns,i.connectResources=a.resets.connect,i.imageResources=a.resets.image,i.styleResources=a.resets.style,i.scriptResources={},i.moduleUnknownResources={},i.moduleScriptResources={},i.instructions=ti}return{nextSegmentId:n,rootFormatContext:e.rootFormatContext,progressiveChunkSize:e.progressiveChunkSize,resumableState:e.resumableState,replayNodes:t.rootNodes,replaySlots:r}}function Hn(){var e=Un.version;if(e!==`19.2.4`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
179
+ - react: `+(e+`
180
+ - react-dom: 19.2.4
181
+ Learn more: https://react.dev/warnings/version-mismatch`))}var Un=require(`react`),Wn=require(`react-dom`),Gn=Symbol.for(`react.transitional.element`),Kn=Symbol.for(`react.portal`),qn=Symbol.for(`react.fragment`),Jn=Symbol.for(`react.strict_mode`),Yn=Symbol.for(`react.profiler`),Xn=Symbol.for(`react.consumer`),Zn=Symbol.for(`react.context`),Qn=Symbol.for(`react.forward_ref`),$n=Symbol.for(`react.suspense`),er=Symbol.for(`react.suspense_list`),tr=Symbol.for(`react.memo`),nr=Symbol.for(`react.lazy`),rr=Symbol.for(`react.scope`),ir=Symbol.for(`react.activity`),ar=Symbol.for(`react.legacy_hidden`),or=Symbol.for(`react.memo_cache_sentinel`),sr=Symbol.for(`react.view_transition`),cr=Symbol.iterator,lr=Array.isArray,ur=new WeakMap,dr=new WeakMap,fr=Symbol.for(`react.client.reference`),pr=new MessageChannel,mr=[];pr.port1.onmessage=function(){var e=mr.shift();e&&e()};var hr=Promise,gr=typeof queueMicrotask==`function`?queueMicrotask:function(e){hr.resolve(null).then(e).catch(d)},_r=null,vr=0,yr=new TextEncoder,br=Object.assign,xr=Object.prototype.hasOwnProperty,Sr=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Cr={},wr={},Tr=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `)),Er=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Dr={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Or={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},kr={},Ar=RegExp(`^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),jr=RegExp(`^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Mr=!1,Nr={accept:`accept`,acceptcharset:`acceptCharset`,"accept-charset":`acceptCharset`,accesskey:`accessKey`,action:`action`,allowfullscreen:`allowFullScreen`,alt:`alt`,as:`as`,async:`async`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autocorrect:`autoCorrect`,autofocus:`autoFocus`,autoplay:`autoPlay`,autosave:`autoSave`,capture:`capture`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,challenge:`challenge`,charset:`charSet`,checked:`checked`,children:`children`,cite:`cite`,class:`className`,classid:`classID`,classname:`className`,cols:`cols`,colspan:`colSpan`,content:`content`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,controls:`controls`,controlslist:`controlsList`,coords:`coords`,crossorigin:`crossOrigin`,dangerouslysetinnerhtml:`dangerouslySetInnerHTML`,data:`data`,datetime:`dateTime`,default:`default`,defaultchecked:`defaultChecked`,defaultvalue:`defaultValue`,defer:`defer`,dir:`dir`,disabled:`disabled`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`,download:`download`,draggable:`draggable`,enctype:`encType`,enterkeyhint:`enterKeyHint`,fetchpriority:`fetchPriority`,for:`htmlFor`,form:`form`,formmethod:`formMethod`,formaction:`formAction`,formenctype:`formEncType`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,headers:`headers`,height:`height`,hidden:`hidden`,high:`high`,href:`href`,hreflang:`hrefLang`,htmlfor:`htmlFor`,httpequiv:`httpEquiv`,"http-equiv":`httpEquiv`,icon:`icon`,id:`id`,imagesizes:`imageSizes`,imagesrcset:`imageSrcSet`,inert:`inert`,innerhtml:`innerHTML`,inputmode:`inputMode`,integrity:`integrity`,is:`is`,itemid:`itemID`,itemprop:`itemProp`,itemref:`itemRef`,itemscope:`itemScope`,itemtype:`itemType`,keyparams:`keyParams`,keytype:`keyType`,kind:`kind`,label:`label`,lang:`lang`,list:`list`,loop:`loop`,low:`low`,manifest:`manifest`,marginwidth:`marginWidth`,marginheight:`marginHeight`,max:`max`,maxlength:`maxLength`,media:`media`,mediagroup:`mediaGroup`,method:`method`,min:`min`,minlength:`minLength`,multiple:`multiple`,muted:`muted`,name:`name`,nomodule:`noModule`,nonce:`nonce`,novalidate:`noValidate`,open:`open`,optimum:`optimum`,pattern:`pattern`,placeholder:`placeholder`,playsinline:`playsInline`,poster:`poster`,preload:`preload`,profile:`profile`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rel:`rel`,required:`required`,reversed:`reversed`,role:`role`,rows:`rows`,rowspan:`rowSpan`,sandbox:`sandbox`,scope:`scope`,scoped:`scoped`,scrolling:`scrolling`,seamless:`seamless`,selected:`selected`,shape:`shape`,size:`size`,sizes:`sizes`,span:`span`,spellcheck:`spellCheck`,src:`src`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,start:`start`,step:`step`,style:`style`,summary:`summary`,tabindex:`tabIndex`,target:`target`,title:`title`,type:`type`,usemap:`useMap`,value:`value`,width:`width`,wmode:`wmode`,wrap:`wrap`,about:`about`,accentheight:`accentHeight`,"accent-height":`accentHeight`,accumulate:`accumulate`,additive:`additive`,alignmentbaseline:`alignmentBaseline`,"alignment-baseline":`alignmentBaseline`,allowreorder:`allowReorder`,alphabetic:`alphabetic`,amplitude:`amplitude`,arabicform:`arabicForm`,"arabic-form":`arabicForm`,ascent:`ascent`,attributename:`attributeName`,attributetype:`attributeType`,autoreverse:`autoReverse`,azimuth:`azimuth`,basefrequency:`baseFrequency`,baselineshift:`baselineShift`,"baseline-shift":`baselineShift`,baseprofile:`baseProfile`,bbox:`bbox`,begin:`begin`,bias:`bias`,by:`by`,calcmode:`calcMode`,capheight:`capHeight`,"cap-height":`capHeight`,clip:`clip`,clippath:`clipPath`,"clip-path":`clipPath`,clippathunits:`clipPathUnits`,cliprule:`clipRule`,"clip-rule":`clipRule`,color:`color`,colorinterpolation:`colorInterpolation`,"color-interpolation":`colorInterpolation`,colorinterpolationfilters:`colorInterpolationFilters`,"color-interpolation-filters":`colorInterpolationFilters`,colorprofile:`colorProfile`,"color-profile":`colorProfile`,colorrendering:`colorRendering`,"color-rendering":`colorRendering`,contentscripttype:`contentScriptType`,contentstyletype:`contentStyleType`,cursor:`cursor`,cx:`cx`,cy:`cy`,d:`d`,datatype:`datatype`,decelerate:`decelerate`,descent:`descent`,diffuseconstant:`diffuseConstant`,direction:`direction`,display:`display`,divisor:`divisor`,dominantbaseline:`dominantBaseline`,"dominant-baseline":`dominantBaseline`,dur:`dur`,dx:`dx`,dy:`dy`,edgemode:`edgeMode`,elevation:`elevation`,enablebackground:`enableBackground`,"enable-background":`enableBackground`,end:`end`,exponent:`exponent`,externalresourcesrequired:`externalResourcesRequired`,fill:`fill`,fillopacity:`fillOpacity`,"fill-opacity":`fillOpacity`,fillrule:`fillRule`,"fill-rule":`fillRule`,filter:`filter`,filterres:`filterRes`,filterunits:`filterUnits`,floodopacity:`floodOpacity`,"flood-opacity":`floodOpacity`,floodcolor:`floodColor`,"flood-color":`floodColor`,focusable:`focusable`,fontfamily:`fontFamily`,"font-family":`fontFamily`,fontsize:`fontSize`,"font-size":`fontSize`,fontsizeadjust:`fontSizeAdjust`,"font-size-adjust":`fontSizeAdjust`,fontstretch:`fontStretch`,"font-stretch":`fontStretch`,fontstyle:`fontStyle`,"font-style":`fontStyle`,fontvariant:`fontVariant`,"font-variant":`fontVariant`,fontweight:`fontWeight`,"font-weight":`fontWeight`,format:`format`,from:`from`,fx:`fx`,fy:`fy`,g1:`g1`,g2:`g2`,glyphname:`glyphName`,"glyph-name":`glyphName`,glyphorientationhorizontal:`glyphOrientationHorizontal`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,glyphorientationvertical:`glyphOrientationVertical`,"glyph-orientation-vertical":`glyphOrientationVertical`,glyphref:`glyphRef`,gradienttransform:`gradientTransform`,gradientunits:`gradientUnits`,hanging:`hanging`,horizadvx:`horizAdvX`,"horiz-adv-x":`horizAdvX`,horizoriginx:`horizOriginX`,"horiz-origin-x":`horizOriginX`,ideographic:`ideographic`,imagerendering:`imageRendering`,"image-rendering":`imageRendering`,in2:`in2`,in:`in`,inlist:`inlist`,intercept:`intercept`,k1:`k1`,k2:`k2`,k3:`k3`,k4:`k4`,k:`k`,kernelmatrix:`kernelMatrix`,kernelunitlength:`kernelUnitLength`,kerning:`kerning`,keypoints:`keyPoints`,keysplines:`keySplines`,keytimes:`keyTimes`,lengthadjust:`lengthAdjust`,letterspacing:`letterSpacing`,"letter-spacing":`letterSpacing`,lightingcolor:`lightingColor`,"lighting-color":`lightingColor`,limitingconeangle:`limitingConeAngle`,local:`local`,markerend:`markerEnd`,"marker-end":`markerEnd`,markerheight:`markerHeight`,markermid:`markerMid`,"marker-mid":`markerMid`,markerstart:`markerStart`,"marker-start":`markerStart`,markerunits:`markerUnits`,markerwidth:`markerWidth`,mask:`mask`,maskcontentunits:`maskContentUnits`,maskunits:`maskUnits`,mathematical:`mathematical`,mode:`mode`,numoctaves:`numOctaves`,offset:`offset`,opacity:`opacity`,operator:`operator`,order:`order`,orient:`orient`,orientation:`orientation`,origin:`origin`,overflow:`overflow`,overlineposition:`overlinePosition`,"overline-position":`overlinePosition`,overlinethickness:`overlineThickness`,"overline-thickness":`overlineThickness`,paintorder:`paintOrder`,"paint-order":`paintOrder`,panose1:`panose1`,"panose-1":`panose1`,pathlength:`pathLength`,patterncontentunits:`patternContentUnits`,patterntransform:`patternTransform`,patternunits:`patternUnits`,pointerevents:`pointerEvents`,"pointer-events":`pointerEvents`,points:`points`,pointsatx:`pointsAtX`,pointsaty:`pointsAtY`,pointsatz:`pointsAtZ`,popover:`popover`,popovertarget:`popoverTarget`,popovertargetaction:`popoverTargetAction`,prefix:`prefix`,preservealpha:`preserveAlpha`,preserveaspectratio:`preserveAspectRatio`,primitiveunits:`primitiveUnits`,property:`property`,r:`r`,radius:`radius`,refx:`refX`,refy:`refY`,renderingintent:`renderingIntent`,"rendering-intent":`renderingIntent`,repeatcount:`repeatCount`,repeatdur:`repeatDur`,requiredextensions:`requiredExtensions`,requiredfeatures:`requiredFeatures`,resource:`resource`,restart:`restart`,result:`result`,results:`results`,rotate:`rotate`,rx:`rx`,ry:`ry`,scale:`scale`,security:`security`,seed:`seed`,shaperendering:`shapeRendering`,"shape-rendering":`shapeRendering`,slope:`slope`,spacing:`spacing`,specularconstant:`specularConstant`,specularexponent:`specularExponent`,speed:`speed`,spreadmethod:`spreadMethod`,startoffset:`startOffset`,stddeviation:`stdDeviation`,stemh:`stemh`,stemv:`stemv`,stitchtiles:`stitchTiles`,stopcolor:`stopColor`,"stop-color":`stopColor`,stopopacity:`stopOpacity`,"stop-opacity":`stopOpacity`,strikethroughposition:`strikethroughPosition`,"strikethrough-position":`strikethroughPosition`,strikethroughthickness:`strikethroughThickness`,"strikethrough-thickness":`strikethroughThickness`,string:`string`,stroke:`stroke`,strokedasharray:`strokeDasharray`,"stroke-dasharray":`strokeDasharray`,strokedashoffset:`strokeDashoffset`,"stroke-dashoffset":`strokeDashoffset`,strokelinecap:`strokeLinecap`,"stroke-linecap":`strokeLinecap`,strokelinejoin:`strokeLinejoin`,"stroke-linejoin":`strokeLinejoin`,strokemiterlimit:`strokeMiterlimit`,"stroke-miterlimit":`strokeMiterlimit`,strokewidth:`strokeWidth`,"stroke-width":`strokeWidth`,strokeopacity:`strokeOpacity`,"stroke-opacity":`strokeOpacity`,suppresscontenteditablewarning:`suppressContentEditableWarning`,suppresshydrationwarning:`suppressHydrationWarning`,surfacescale:`surfaceScale`,systemlanguage:`systemLanguage`,tablevalues:`tableValues`,targetx:`targetX`,targety:`targetY`,textanchor:`textAnchor`,"text-anchor":`textAnchor`,textdecoration:`textDecoration`,"text-decoration":`textDecoration`,textlength:`textLength`,textrendering:`textRendering`,"text-rendering":`textRendering`,to:`to`,transform:`transform`,transformorigin:`transformOrigin`,"transform-origin":`transformOrigin`,typeof:`typeof`,u1:`u1`,u2:`u2`,underlineposition:`underlinePosition`,"underline-position":`underlinePosition`,underlinethickness:`underlineThickness`,"underline-thickness":`underlineThickness`,unicode:`unicode`,unicodebidi:`unicodeBidi`,"unicode-bidi":`unicodeBidi`,unicoderange:`unicodeRange`,"unicode-range":`unicodeRange`,unitsperem:`unitsPerEm`,"units-per-em":`unitsPerEm`,unselectable:`unselectable`,valphabetic:`vAlphabetic`,"v-alphabetic":`vAlphabetic`,values:`values`,vectoreffect:`vectorEffect`,"vector-effect":`vectorEffect`,version:`version`,vertadvy:`vertAdvY`,"vert-adv-y":`vertAdvY`,vertoriginx:`vertOriginX`,"vert-origin-x":`vertOriginX`,vertoriginy:`vertOriginY`,"vert-origin-y":`vertOriginY`,vhanging:`vHanging`,"v-hanging":`vHanging`,videographic:`vIdeographic`,"v-ideographic":`vIdeographic`,viewbox:`viewBox`,viewtarget:`viewTarget`,visibility:`visibility`,vmathematical:`vMathematical`,"v-mathematical":`vMathematical`,vocab:`vocab`,widths:`widths`,wordspacing:`wordSpacing`,"word-spacing":`wordSpacing`,writingmode:`writingMode`,"writing-mode":`writingMode`,x1:`x1`,x2:`x2`,x:`x`,xchannelselector:`xChannelSelector`,xheight:`xHeight`,"x-height":`xHeight`,xlinkactuate:`xlinkActuate`,"xlink:actuate":`xlinkActuate`,xlinkarcrole:`xlinkArcrole`,"xlink:arcrole":`xlinkArcrole`,xlinkhref:`xlinkHref`,"xlink:href":`xlinkHref`,xlinkrole:`xlinkRole`,"xlink:role":`xlinkRole`,xlinkshow:`xlinkShow`,"xlink:show":`xlinkShow`,xlinktitle:`xlinkTitle`,"xlink:title":`xlinkTitle`,xlinktype:`xlinkType`,"xlink:type":`xlinkType`,xmlbase:`xmlBase`,"xml:base":`xmlBase`,xmllang:`xmlLang`,"xml:lang":`xmlLang`,xmlns:`xmlns`,"xml:space":`xmlSpace`,xmlnsxlink:`xmlnsXlink`,"xmlns:xlink":`xmlnsXlink`,xmlspace:`xmlSpace`,y1:`y1`,y2:`y2`,y:`y`,ychannelselector:`yChannelSelector`,z:`z`,zoomandpan:`zoomAndPan`},Pr={},Fr=/^on./,Ir=/^on[^A-Z]/,Lr=RegExp(`^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Rr=RegExp(`^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),zr=/^(?:webkit|moz|o)[A-Z]/,Br=/^-ms-/,Vr=/-(.)/g,Hr=/;\s*$/,Ur={},Wr={},Gr=!1,Kr=!1,qr=/["'&<>]/,Jr=/([A-Z])/g,Yr=/^ms-/,Xr=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Zr=Un.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qr=Wn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$r=Object.freeze({pending:!1,data:null,method:null,action:null}),ei=Qr.d;Qr.d={f:ei.f,r:ei.r,D:function(e){var t=fc||null;if(t){var n=t.resumableState,r=t.renderState;if(typeof e==`string`&&e){if(!n.dnsResources.hasOwnProperty(e)){n.dnsResources[e]=ci,n=r.headers;var i,a;(a=n&&0<n.remainingCapacity)&&(a=(i=`<`+Be(e)+`>; rel=dns-prefetch`,0<=(n.remainingCapacity-=i.length+2))),a?(r.resets.dns[e]=ci,n.preconnects&&(n.preconnects+=`, `),n.preconnects+=i):(i=[],de(i,{href:e,rel:`dns-prefetch`}),r.preconnects.add(i))}Ln(t)}}else ei.D(e)},C:function(e,t){var n=fc||null;if(n){var r=n.resumableState,i=n.renderState;if(typeof e==`string`&&e){var a=t===`use-credentials`?`credentials`:typeof t==`string`?`anonymous`:`default`;if(!r.connectResources[a].hasOwnProperty(e)){r.connectResources[a][e]=ci,r=i.headers;var o,s;if(s=r&&0<r.remainingCapacity){if(s=`<`+Be(e)+`>; rel=preconnect`,typeof t==`string`){var c=He(t,`crossOrigin`);s+=`; crossorigin="`+c+`"`}s=(o=s,0<=(r.remainingCapacity-=o.length+2))}s?(i.resets.connect[a][e]=ci,r.preconnects&&(r.preconnects+=`, `),r.preconnects+=o):(a=[],de(a,{rel:`preconnect`,href:e,crossOrigin:t}),i.preconnects.add(a))}Ln(n)}}else ei.C(e,t)},L:function(e,t,n){var r=fc||null;if(r){var i=r.resumableState,a=r.renderState;if(t&&e){switch(t){case`image`:if(n)var o=n.imageSrcSet,s=n.imageSizes,c=n.fetchPriority;var l=o?o+`
182
+ `+(s||``):e;if(i.imageResources.hasOwnProperty(l))return;i.imageResources[l]=li,i=a.headers;var u;i&&0<i.remainingCapacity&&typeof o!=`string`&&c===`high`&&(u=ze(e,t,n),0<=(i.remainingCapacity-=u.length+2))?(a.resets.image[l]=li,i.highImagePreloads&&(i.highImagePreloads+=`, `),i.highImagePreloads+=u):(i=[],de(i,br({rel:`preload`,href:o?void 0:e,as:t},n)),c===`high`?a.highImagePreloads.add(i):(a.bulkPreloads.add(i),a.preloads.images.set(l,i)));break;case`style`:if(i.styleResources.hasOwnProperty(e))return;o=[],de(o,br({rel:`preload`,href:e,as:t},n)),i.styleResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?li:[n.crossOrigin,n.integrity],a.preloads.stylesheets.set(e,o),a.bulkPreloads.add(o);break;case`script`:if(i.scriptResources.hasOwnProperty(e))return;o=[],a.preloads.scripts.set(e,o),a.bulkPreloads.add(o),de(o,br({rel:`preload`,href:e,as:t},n)),i.scriptResources[e]=!n||typeof n.crossOrigin!=`string`&&typeof n.integrity!=`string`?li:[n.crossOrigin,n.integrity];break;default:if(i.unknownResources.hasOwnProperty(t)){if(o=i.unknownResources[t],o.hasOwnProperty(e))return}else o={},i.unknownResources[t]=o;if(o[e]=li,(i=a.headers)&&0<i.remainingCapacity&&t===`font`&&(l=ze(e,t,n),0<=(i.remainingCapacity-=l.length+2)))a.resets.font[e]=li,i.fontPreloads&&(i.fontPreloads+=`, `),i.fontPreloads+=l;else switch(i=[],e=br({rel:`preload`,href:e,as:t},n),de(i,e),t){case`font`:a.fontPreloads.add(i);break;default:a.bulkPreloads.add(i)}}Ln(r)}}else ei.L(e,t,n)},m:function(e,t){var n=fc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=t&&typeof t.as==`string`?t.as:`script`;switch(a){case`script`:if(r.moduleScriptResources.hasOwnProperty(e))return;a=[],r.moduleScriptResources[e]=!t||typeof t.crossOrigin!=`string`&&typeof t.integrity!=`string`?li:[t.crossOrigin,t.integrity],i.preloads.moduleScripts.set(e,a);break;default:if(r.moduleUnknownResources.hasOwnProperty(a)){var o=r.unknownResources[a];if(o.hasOwnProperty(e))return}else o={},r.moduleUnknownResources[a]=o;a=[],o[e]=li}de(a,br({rel:`modulepreload`,href:e},t)),i.bulkPreloads.add(a),Ln(n)}}else ei.m(e,t)},X:function(e,t){var n=fc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.scriptResources.hasOwnProperty(e)?r.scriptResources[e]:void 0;a!==ci&&(r.scriptResources[e]=ci,t=br({src:e,async:!0},t),a&&(a.length===2&&Re(t,a),e=i.preloads.scripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),he(e,t),Ln(n))}}else ei.X(e,t)},S:function(e,t,n){var r=fc||null;if(r){var i=r.resumableState,a=r.renderState;if(e){t||=`default`;var o=a.styles.get(t),s=i.styleResources.hasOwnProperty(e)?i.styleResources[e]:void 0;s!==ci&&(i.styleResources[e]=ci,o||(o={precedence:h(M(t)),rules:[],hrefs:[],sheets:new Map},a.styles.set(t,o)),t={state:zo,props:br({rel:`stylesheet`,href:e,"data-precedence":t},n)},s&&(s.length===2&&Re(t.props,s),(a=a.preloads.stylesheets.get(e))&&0<a.length?a.length=0:t.state=Bo),o.sheets.set(e,t),Ln(r))}}else ei.S(e,t,n)},M:function(e,t){var n=fc||null;if(n){var r=n.resumableState,i=n.renderState;if(e){var a=r.moduleScriptResources.hasOwnProperty(e)?r.moduleScriptResources[e]:void 0;a!==ci&&(r.moduleScriptResources[e]=ci,t=br({src:e,type:`module`,async:!0},t),a&&(a.length===2&&Re(t,a),e=i.preloads.moduleScripts.get(e))&&(e.length=0),e=[],i.scripts.add(e),he(e,t),Ln(n))}}else ei.M(e,t)}};var ti=0,ni=1,ri=2,ii=4,ai=8,oi=32,si=64,ci=null,li=[];Object.freeze(li);var ui=null;g(`"></template>`);var di=g(`<script`),fi=g(`<\/script>`),pi=g(`<script src="`),mi=g(`<script type="module" src="`),hi=g(` nonce="`),gi=g(` integrity="`),_i=g(` crossorigin="`),vi=g(` async=""><\/script>`),yi=g(`<style`),bi=/(<\/|<)(s)(cript)/gi,xi=g(`<script type="importmap">`),Si=g(`<\/script>`),Ci={},wi=0,Ti=1,Ei=2,Di=3,Oi=4,ki=5,Ai=6,ji=7,Mi=8,Ni=9,Pi=g(`<!-- -->`),Fi=new Map,Ii=g(` style="`),Li=g(`:`),Ri=g(`;`),zi=g(` `),Bi=g(`="`),Vi=g(`"`),Hi=g(`=""`),Ui=g(M(`javascript:throw new Error('React form unexpectedly submitted.')`)),Wi=g(`<input type="hidden"`),Gi=g(`>`),Ki=g(`/>`),qi=!1,Ji=!1,Yi=!1,Xi=!1,Zi=!1,Qi=!1,$i=!1,ea=!1,ta=!1,na=!1,ra=!1,ia=g(` selected=""`),aa=g(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`),oa=g(`<!--F!-->`),sa=g(`<!--F-->`),ca=/(<\/|<)(s)(tyle)/gi,la=g(`<!--head-->`),ua=g(`<!--body-->`),da=g(`<!--html-->`),fa=g(`
183
+ `),pa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ma=new Map,ha=g(`<!DOCTYPE html>`),ga=new Map,_a=g(`requestAnimationFrame(function(){$RT=performance.now()});`),va=g(`<template id="`),ya=g(`"></template>`),ba=g(`<!--&-->`),xa=g(`<!--/&-->`),Sa=g(`<!--$-->`),Ca=g(`<!--$?--><template id="`),wa=g(`"></template>`),Ta=g(`<!--$!-->`),Ea=g(`<!--/$-->`),Da=g(`<template`),Oa=g(`"`),ka=g(` data-dgst="`),Aa=g(` data-msg="`),ja=g(` data-stck="`),Ma=g(` data-cstck="`),Na=g(`></template>`),Pa=g(`<div hidden id="`),Fa=g(`">`),Ia=g(`</div>`),La=g(`<svg aria-hidden="true" style="display:none" id="`),Ra=g(`">`),za=g(`</svg>`),Ba=g(`<math aria-hidden="true" style="display:none" id="`),Va=g(`">`),Ha=g(`</math>`),Ua=g(`<table hidden id="`),Wa=g(`">`),Ga=g(`</table>`),Ka=g(`<table hidden><tbody id="`),qa=g(`">`),Ja=g(`</tbody></table>`),Ya=g(`<table hidden><tr id="`),Xa=g(`">`),Za=g(`</tr></table>`),Qa=g(`<table hidden><colgroup id="`),$a=g(`">`),eo=g(`</colgroup></table>`),to=g(`$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("`),no=g(`$RS("`),ro=g(`","`),io=g(`")<\/script>`);g(`<template data-rsi="" data-sid="`),g(`" data-pid="`);var ao=g(`$RB=[];$RV=function(a){$RT=performance.now();for(var b=0;b<a.length;b+=2){var c=a[b],e=a[b+1];null!==e.parentNode&&e.parentNode.removeChild(e);var f=c.parentNode;if(f){var g=c.previousSibling,h=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===h)break;else h--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||h++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;e.firstChild;)f.insertBefore(e.firstChild,c);g.data="$";g._reactRetry&&requestAnimationFrame(g._reactRetry)}}a.length=0};
184
+ $RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(a,b),2===$RB.length&&("number"!==typeof $RT?requestAnimationFrame($RV.bind(null,$RB)):(a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:$RT+300-a)))):b.parentNode.removeChild(b)};`);h(`$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),
185
+ H=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll('img[src]:not([loading="lazy"])'))}}}if(B){var z=
186
+ document.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=
187
+ performance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);`);var oo=g(`$RC("`),so=g(`$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=
188
+ "stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=
189
+ "$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("`),co=g(`$RR("`),lo=g(`","`),uo=g(`",`),fo=g(`"`),po=g(`)<\/script>`);g(`<template data-rci="" data-bid="`),g(`<template data-rri="" data-bid="`),g(`" data-sid="`),g(`" data-sty="`);var mo=g(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};`),ho=g(`$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("`),go=g(`$RX("`),_o=g(`"`),vo=g(`,`),yo=g(`)<\/script>`);g(`<template data-rxi="" data-bid="`),g(`" data-dgst="`),g(`" data-msg="`),g(`" data-stck="`),g(`" data-cstck="`);var bo=/[<\u2028\u2029]/g,xo=/[&><\u2028\u2029]/g,So=g(` media="not all" data-precedence="`),Co=g(`" data-href="`),wo=g(`">`),To=g(`</style>`),Eo=!1,Do=!0,Oo=[],ko=g(` data-precedence="`),Ao=g(`" data-href="`),jo=g(` `),Mo=g(`">`),No=g(`</style>`);g(`<link rel="expect" href="#`),g(`" blocking="render"/>`);var Po=g(` id="`),Fo=g(`[`),Io=g(`,[`),Lo=g(`,`),Ro=g(`]`),zo=0,Bo=1,Vo=2,Ho=3,Uo=/[<>\r\n]/g,Wo=/["';,\r\n]/g,Go=Function.prototype.bind,Ko=Symbol.for(`react.client.reference`),qo={};Object.freeze(qo);var Jo={},Yo=null,Xo={},Zo={},Qo=new Set,$o=new Set,es=new Set,ts=new Set,ns=new Set,rs=new Set,is=new Set,as=new Set,os=new Set,ss={enqueueSetState:function(e,t,n){var r=e._reactInternals;r.queue===null?Qe(e,`setState`):(r.queue.push(t),n!=null&&Ze(n))},enqueueReplaceState:function(e,t,n){e=e._reactInternals,e.replace=!0,e.queue=[t],n!=null&&Ze(n)},enqueueForceUpdate:function(e,t){e._reactInternals.queue===null?Qe(e,`forceUpdate`):t!=null&&Ze(t)}},cs={id:1,overflow:``},ls=Math.clz32?Math.clz32:et,us=Math.log,ds=Math.LN2,fs=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),ps=null,ms=typeof Object.is==`function`?Object.is:it,hs=null,gs=null,_s=null,vs=null,ys=null,bs=null,xs=!1,Ss=!1,Cs=0,ws=0,Ts=-1,Es=0,Ds=null,Os=null,ks=0,As=!1,js,Ms={readContext:ut,use:function(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return yt(e);if(e.$$typeof===Zn)return ut(e)}throw Error(`An unsupported type was passed to use(): `+String(e))},useContext:function(e){return js=`useContext`,at(),e._currentValue},useMemo:pt,useReducer:ft,useRef:function(e){hs=at(),bs=st();var t=bs.memoizedState;return t===null?(e={current:e},Object.seal(e),bs.memoizedState=e):t},useState:function(e){return js=`useState`,ft(dt,e)},useInsertionEffect:tt,useLayoutEffect:tt,useCallback:function(e,t){return pt(function(){return e},t)},useImperativeHandle:tt,useEffect:tt,useDebugValue:tt,useDeferredValue:function(e,t){return at(),t===void 0?e:t},useTransition:function(){return at(),[!1,gt]},useId:function(){var e=gs.treeContext,t=e.overflow;e=e.id,e=(e&~(1<<32-ls(e)-1)).toString(32)+t;var n=Ns;if(n===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component.`);return t=Cs++,e=`_`+n.idPrefix+`R_`+e,0<t&&(e+=`H`+t.toString(32)),e+`_`},useSyncExternalStore:function(e,t,n){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);return n()},useOptimistic:function(e){return at(),[e,_t]},useActionState:vt,useFormState:vt,useHostTransitionStatus:function(){return at(),$r},useMemoCache:function(e){for(var t=Array(e),n=0;n<e;n++)t[n]=or;return t},useCacheRefresh:function(){return bt},useEffectEvent:function(){return ht}},Ns=null,Ps=null,Fs={getCacheForType:function(){throw Error(`Not implemented.`)},cacheSignal:function(){throw Error(`Not implemented.`)},getOwner:function(){return Ps===null?null:Ps.componentStack}},Is=0,Ls,Rs,zs,Bs,Vs,Hs,Us;xt.__reactDisabledLog=!0;var Ws,Gs,Ks=!1,qs=new(typeof WeakMap==`function`?WeakMap:Map),Js={react_stack_bottom_frame:function(e,t,n){return e(t,n)}},Ys=Js.react_stack_bottom_frame.bind(Js),Xs={react_stack_bottom_frame:function(e){return e.render()}},Zs=Xs.react_stack_bottom_frame.bind(Xs),Qs={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},$s=Qs.react_stack_bottom_frame.bind(Qs),ec=0;if(typeof performance==`object`&&typeof performance.now==`function`)var tc=performance,nc=function(){return tc.now()};else{var rc=Date;nc=function(){return rc.now()}}var ic=4,ac=0,oc=1,sc=2,cc=3,lc=4,uc=5,dc=14,fc=null,pc={},mc={},hc={},gc={},_c=!1,vc=!1,yc=!1,bc=0,xc=!1;Hn(),Hn(),e.prerender=function(e,t){return new Promise(function(n,r){var i=t?t.onHeaders:void 0,a;i&&(a=function(e){i(new Headers(e))});var o=I(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),s=Nt(e,o,F(o,void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,a,t?t.maxHeadersLength:void 0),z(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Rn(s,e)},cancel:function(e){s.destination=null,zn(s,e)}},{highWaterMark:0});e={postponed:Vn(s),prelude:e},n(e)},void 0,void 0,r,t?t.onPostpone:void 0);if(t&&t.signal){var c=t.signal;if(c.aborted)zn(s,c.reason);else{var l=function(){zn(s,c.reason),c.removeEventListener(`abort`,l)};c.addEventListener(`abort`,l)}}In(s)})},e.renderToReadableStream=function(e,t){return new Promise(function(n,r){var i,a,o=new Promise(function(e,t){a=e,i=t}),s=t?t.onHeaders:void 0,c;s&&(c=function(e){s(new Headers(e))});var l=I(t?t.identifierPrefix:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),u=Mt(e,l,F(l,t?t.nonce:void 0,t?t.unstable_externalRuntimeSrc:void 0,t?t.importMap:void 0,c,t?t.maxHeadersLength:void 0),z(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Rn(u,e)},cancel:function(e){u.destination=null,zn(u,e)}},{highWaterMark:0});e.allReady=o,n(e)},function(e){o.catch(function(){}),r(e)},i,t?t.onPostpone:void 0,t?t.formState:void 0);if(t&&t.signal){var d=t.signal;if(d.aborted)zn(u,d.reason);else{var f=function(){zn(u,d.reason),d.removeEventListener(`abort`,f)};d.addEventListener(`abort`,f)}}In(u)})},e.resume=function(e,t,n){return new Promise(function(r,i){var a,o,s=new Promise(function(e,t){o=e,a=t}),c=Pt(e,t,F(t.resumableState,n?n.nonce:void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,o,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Rn(c,e)},cancel:function(e){c.destination=null,zn(c,e)}},{highWaterMark:0});e.allReady=s,r(e)},function(e){s.catch(function(){}),i(e)},a,n?n.onPostpone:void 0);if(n&&n.signal){var l=n.signal;if(l.aborted)zn(c,l.reason);else{var u=function(){zn(c,l.reason),l.removeEventListener(`abort`,u)};l.addEventListener(`abort`,u)}}In(c)})},e.resumeAndPrerender=function(e,t,n){return new Promise(function(r,i){var a=Ft(e,t,F(t.resumableState,void 0,void 0,void 0,void 0,void 0),n?n.onError:void 0,function(){var e=new ReadableStream({type:`bytes`,pull:function(e){Rn(a,e)},cancel:function(e){a.destination=null,zn(a,e)}},{highWaterMark:0});e={postponed:Vn(a),prelude:e},r(e)},void 0,void 0,i,n?n.onPostpone:void 0);if(n&&n.signal){var o=n.signal;if(o.aborted)zn(a,o.reason);else{var s=function(){zn(a,o.reason),o.removeEventListener(`abort`,s)};o.addEventListener(`abort`,s)}}In(a)})},e.version=`19.2.4`})()}));l((e=>{var t,n;process.env.NODE_ENV===`production`?(t=d(),n=f()):(t=p(),n=m()),e.version=t.version,e.renderToString=t.renderToString,e.renderToStaticMarkup=t.renderToStaticMarkup,e.renderToReadableStream=n.renderToReadableStream,e.resume=n.resume}))();var h=function(e,t){var n=this;Object.defineProperty(this,`element`,{get(){return e?e.querySelector(`[data-boc-content]`):null},set(e){n.mainElement=e}}),Object.defineProperty(this,`mainElement`,{get(){return e},set(t){e=t,e&&(e.innerHTML=`
2
190
  <style>
3
191
  .boc-dark, .boc-light{ display: flex; }
4
192
  [data-boc-left]{ display: none; }
@@ -13,114 +201,114 @@
13
201
  <div data-boc-left></div>
14
202
  <div data-boc-right>
15
203
  <div data-boc-content></div>
16
- </div>`)}}),Object.defineProperty(this,`leftElement`,{get(){return e.querySelector(`[data-boc-left]`)}}),n.init(e,t)};u.prototype.init=function(e,t){if(e&&!this._initCalled){this._initCalled=!0,(typeof e==`string`||e instanceof String)&&(e=document.querySelector(e)),this.element=e;var n=this;if(this.config=u.mergeDeep(u._defaultConfig(t),t),this._layoutConfigs={base:{orientation:this.config.orientation,levelSeparation:this.config.levelSeparation,mixedHierarchyNodesSeparation:this.config.mixedHierarchyNodesSeparation,assistantSeparation:this.config.assistantSeparation,subtreeSeparation:this.config.subtreeSeparation,siblingSeparation:this.config.siblingSeparation,layout:this.config.layout,columns:this.config.columns,collapse:this.config.collapse,partnerNodeSeparation:this.config.partnerNodeSeparation}},this.config.tags)for(var r in this.config.tags){var i=this.config.tags[r];i.subTreeConfig!=null&&(this._layoutConfigs[r]={orientation:i.subTreeConfig.orientation==null?this.config.orientation:i.subTreeConfig.orientation,levelSeparation:i.subTreeConfig.levelSeparation==null?this.config.levelSeparation:i.subTreeConfig.levelSeparation,mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation==null?this.config.mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation,assistantSeparation:i.subTreeConfig.assistantSeparation==null?this.config.assistantSeparation:i.subTreeConfig.assistantSeparation,subtreeSeparation:i.subTreeConfig.subtreeSeparation==null?this.config.subtreeSeparation:i.subTreeConfig.subtreeSeparation,siblingSeparation:i.subTreeConfig.siblingSeparation==null?this.config.siblingSeparation:i.subTreeConfig.siblingSeparation,layout:i.subTreeConfig.layout==null?this.config.layout:i.subTreeConfig.layout,columns:i.subTreeConfig.columns==null?this.config.columns:i.subTreeConfig.columns,collapse:i.subTreeConfig.collapse==null?this.config.collapse:i.subTreeConfig.collapse,partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation==null?this.config.partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation,template:i.subTreeConfig.template})}this._event_id=u._guid(),u._validateConfig(this.config)&&(this._vScroll={},this.config.ui||(this.ui=u.ui),this.config.editUI?this.editUI=this.config.editUI:this.editUI=new u.editUI,this.editUI.init(this),this.config.filterUI?this.filterUI=this.config.filterUI:this.filterUI=new u.filterUI,this.filterUI.init(this),this.manager=new u.manager(this),this._ai=new u._ai(this),this.config.searchUI?this.searchUI=this.config.searchUI:this.searchUI=new u.searchUI,this.config.aiUI?this.aiUI=this.config.aiUI:this.aiUI=new u.aiUI,this.config.orgScribeUI?this.orgScribeUI=this.config.orgScribeUI:this.orgScribeUI=new u.orgScribeUI,this.config.powerPointPreviewUI?this.powerPointPreviewUI=this.config.powerPointPreviewUI:this.powerPointPreviewUI=new u.exportUI(`pptx`),this.config.pdfPreviewUI?this.pdfPreviewUI=this.config.pdfPreviewUI:this.pdfPreviewUI=new u.exportUI(`pdf`),this.config.svgPreviewUI?this.svgPreviewUI=this.config.svgPreviewUI:this.svgPreviewUI=new u.exportUI(`svg`),this.config.pngPreviewUI?this.pngPreviewUI=this.config.pngPreviewUI:this.pngPreviewUI=new u.exportUI(`png`),this.config.nodeMenuUI?this.nodeMenuUI=this.config.nodeMenuUI:this.nodeMenuUI=new u.menuUI,this.nodeMenuUI.init(this,this.config.nodeMenu),this.config.nodeCircleMenuUI?this.nodeCircleMenuUI=this.config.nodeCircleMenuUI:this.nodeCircleMenuUI=new u.circleMenuUI,this.nodeCircleMenuUI.init(this,this.config.nodeCircleMenu),this.config.nodeContextMenuUI?this.nodeContextMenuUI=this.config.nodeContextMenuUI:this.nodeContextMenuUI=new u.menuUI,this.nodeContextMenuUI.init(this,this.config.nodeContextMenu),this.config.controlsUI?this.controlsUI=this.config.controlsUI:this.controlsUI=new u.controlsUI,this.config.toolbarUI?this.toolbarUI=this.config.toolbarUI:this.toolbarUI=new u.toolbarUI,this.config.notifierUI?this.notifierUI=this.config.notifierUI:this.notifierUI=new u.notifierUI,this.notifierUI.init(this),this.config.menuUI?this.menuUI=this.config.menuUI:this.menuUI=new u.menuUI,this.menuUI.init(this,this.config.menu),this.config.xScrollUI||(this.xScrollUI=new u.xScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,u.action.xScroll)})),this.config.yScrollUI||(this.yScrollUI=new u.yScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,u.action.xScroll)})),this.config.undoRedoUI?this.undoRedoUI=this.config.undoRedoUI:this.undoRedoUI=new u.undoRedoUI,this.mainElement.classList.add(`boc-`+this.config.mode),this._gragStartedId=null,this._timeout=null,this._touch=null,this._initialized=!1,this._loaded=!1,this._moveInterval=null,this._movePosition=null,this.response=null,this.nodes=null,this.isVisible=null,this._connectorLines={x:{},y:{}},u._intersectionObserver(this.element,function(e){n.isVisible=e,u.events.publish(`visibility-change`,[n])!==!1&&u.LAZY_LOADING&&n.isVisible&&(n._loaded?n._draw(!1,u.action.update):(n._setInitialSizeIfNotSet(),n._draw(!1,u.action.init)))}),this._resizeObserver=new ResizeObserver(e=>{for(let t of e){let{width:e,height:r}=t.contentRect;n._resizeHandler(e,r)}}),this._resizeObserver.observe(this.element))}},u.prototype.load=function(e,t){var n=this;return this.config.nodes=e,this._draw(!1,u.action.init,void 0,function(){n.filterUI.update(),t&&t()}),this},u.prototype.loadXML=function(e,t){var n=u._xml2json(e);return this.load(n,t)},u.prototype.getXML=function(){return u._json2xml(this.config.nodes)},u.prototype.on=function(e,t){return u.events.on(e,t,this._event_id),this},u.prototype.removeListener=function(e,t){return u.events.remove(e,t,this._event_id)},u.prototype.draw=function(e,t,n){e??=u.action.update,this._draw(!1,e,t,n)},u.prototype._draw=function(e,t,n,r){var i=this;if(!(u.LAZY_LOADING&&!this.isVisible)){if(!u.LAZY_LOADING&&!this._initialized&&(this._setInitialSizeIfNotSet(),this.width()==0||this.height()==0)){console.error(`Cannot load the chart with size 0! If you are using the OrgChart within tabs set OrgChart.LAZY_LOADING to true! `);return}this._hideBeforeAnimationCompleted=!1;var a=t==u.action.init?null:this.getViewBox();this.manager.read(e,this.width(),this.height(),a,t,n,function(e){if(!i.notifierUI.show(e.notif)){t!=u.action.exporting&&(i.nodes=e.nodes,i.visibleNodeIds=e.visibleNodeIds,i.roots=e.roots),i._connectorLines={x:{},y:{}},i.editUI.fields=e.allFields;var a={defs:``};u.events.publish(`renderdefs`,[i,a]);var o=i.ui.defs(a.defs),s=i.getScale(e.viewBox);o+=i.ui.pointer(i.config,t,s);var c=i.getViewBox(),l=e.viewBox,a={content:o,res:e};u.events.publish(`prerender`,[i,a]),o=a.content;var d=[];if(u.RENDER_LINKS_BEFORE_NODES)for(var f=0;f<e.visibleNodeIds.length;f++){var p=e.nodes[e.visibleNodeIds[f]];u.getRootOf(p).stParent?d.push(p.id):o+=i.ui.link(p,i,s,e.bordersByRootIdAndLevel,e.nodes,t)}for(var f=0;f<e.visibleNodeIds.length;f++){var p=e.nodes[e.visibleNodeIds[f]],m=i._get(p.id);if(u.RENDER_LINKS_BEFORE_NODES&&d.includes(p.id)&&(o+=i.ui.link(p,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),p.isTreeListItem||(o+=i.ui.node(p,m,e.animations,i.config,void 0,void 0,void 0,t,s,i)),!p.min&&p.treeList){var h=function(n){if(!p.treeList.pinnedIds.includes(n.id)){var r=i._get(n.id);o+=i.ui.node(n,r,e.animations,i.config,void 0,void 0,void 0,t,s,i),o+=i.ui.expandCollapseBtn(i,n,r,i.config,i._layoutConfigs,t,s)}for(var a of n.children)h(a)},g=u.randomId();o+=`<clipPath id="treelist_${g}">
17
- <rect rx="10" ry="10" x="${p.x+p.padding[3]}" y="${p.y+p.padding[0]}" width="${p.w-p.padding[1]-p.padding[3]}" height="${p.h-p.padding[2]-p.padding[0]}">
18
- </clipPath><g clip-path="url(#treelist_${g})"><g data-treelist-content="${p.id}" transform="matrix(1,0,0,1,0,-${p.treeList.scrollTop})">`;for(var _ of p.stChildren)h(_);for(var v of p.treeList.pinnedIds){var y=i.getNode(v),b=i._get(v);o+=i.ui.node(y,b,e.animations,i.config,void 0,void 0,void 0,t,s,i,!0),o+=i.ui.expandCollapseBtn(i,y,b,i.config,i._layoutConfigs,t,s)}var{thumbHeight:x,thumbPosition:S,scrollBarDisplay:C}=u._treeListGetTumbPositionFromScrollTop(p);o+=`</g>
204
+ </div>`)}}),Object.defineProperty(this,`leftElement`,{get(){return e.querySelector(`[data-boc-left]`)}}),n.init(e,t)};h.prototype.init=function(e,t){if(e&&!this._initCalled){this._initCalled=!0,(typeof e==`string`||e instanceof String)&&(e=document.querySelector(e)),this.element=e;var n=this;if(this.config=h.mergeDeep(h._defaultConfig(t),t),this._layoutConfigs={base:{orientation:this.config.orientation,levelSeparation:this.config.levelSeparation,mixedHierarchyNodesSeparation:this.config.mixedHierarchyNodesSeparation,assistantSeparation:this.config.assistantSeparation,subtreeSeparation:this.config.subtreeSeparation,siblingSeparation:this.config.siblingSeparation,layout:this.config.layout,columns:this.config.columns,collapse:this.config.collapse,partnerNodeSeparation:this.config.partnerNodeSeparation}},this.config.tags)for(var r in this.config.tags){var i=this.config.tags[r];i.subTreeConfig!=null&&(this._layoutConfigs[r]={orientation:i.subTreeConfig.orientation==null?this.config.orientation:i.subTreeConfig.orientation,levelSeparation:i.subTreeConfig.levelSeparation==null?this.config.levelSeparation:i.subTreeConfig.levelSeparation,mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation==null?this.config.mixedHierarchyNodesSeparation:i.subTreeConfig.mixedHierarchyNodesSeparation,assistantSeparation:i.subTreeConfig.assistantSeparation==null?this.config.assistantSeparation:i.subTreeConfig.assistantSeparation,subtreeSeparation:i.subTreeConfig.subtreeSeparation==null?this.config.subtreeSeparation:i.subTreeConfig.subtreeSeparation,siblingSeparation:i.subTreeConfig.siblingSeparation==null?this.config.siblingSeparation:i.subTreeConfig.siblingSeparation,layout:i.subTreeConfig.layout==null?this.config.layout:i.subTreeConfig.layout,columns:i.subTreeConfig.columns==null?this.config.columns:i.subTreeConfig.columns,collapse:i.subTreeConfig.collapse==null?this.config.collapse:i.subTreeConfig.collapse,partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation==null?this.config.partnerNodeSeparation:i.subTreeConfig.partnerNodeSeparation,template:i.subTreeConfig.template})}this._event_id=h._guid(),h._validateConfig(this.config)&&(this._vScroll={},this.config.ui||(this.ui=h.ui),this.config.editUI?this.editUI=this.config.editUI:this.editUI=new h.editUI,this.editUI.init(this),this.config.filterUI?this.filterUI=this.config.filterUI:this.filterUI=new h.filterUI,this.filterUI.init(this),this.manager=new h.manager(this),this._ai=new h._ai(this),this.config.searchUI?this.searchUI=this.config.searchUI:this.searchUI=new h.searchUI,this.config.aiUI?this.aiUI=this.config.aiUI:this.aiUI=new h.aiUI,this.config.orgScribeUI?this.orgScribeUI=this.config.orgScribeUI:this.orgScribeUI=new h.orgScribeUI,this.config.powerPointPreviewUI?this.powerPointPreviewUI=this.config.powerPointPreviewUI:this.powerPointPreviewUI=new h.exportUI(`pptx`),this.config.pdfPreviewUI?this.pdfPreviewUI=this.config.pdfPreviewUI:this.pdfPreviewUI=new h.exportUI(`pdf`),this.config.svgPreviewUI?this.svgPreviewUI=this.config.svgPreviewUI:this.svgPreviewUI=new h.exportUI(`svg`),this.config.pngPreviewUI?this.pngPreviewUI=this.config.pngPreviewUI:this.pngPreviewUI=new h.exportUI(`png`),this.config.nodeMenuUI?this.nodeMenuUI=this.config.nodeMenuUI:this.nodeMenuUI=new h.menuUI,this.nodeMenuUI.init(this,this.config.nodeMenu),this.config.nodeCircleMenuUI?this.nodeCircleMenuUI=this.config.nodeCircleMenuUI:this.nodeCircleMenuUI=new h.circleMenuUI,this.nodeCircleMenuUI.init(this,this.config.nodeCircleMenu),this.config.nodeContextMenuUI?this.nodeContextMenuUI=this.config.nodeContextMenuUI:this.nodeContextMenuUI=new h.menuUI,this.nodeContextMenuUI.init(this,this.config.nodeContextMenu),this.config.controlsUI?this.controlsUI=this.config.controlsUI:this.controlsUI=new h.controlsUI,this.config.toolbarUI?this.toolbarUI=this.config.toolbarUI:this.toolbarUI=new h.toolbarUI,this.config.notifierUI?this.notifierUI=this.config.notifierUI:this.notifierUI=new h.notifierUI,this.notifierUI.init(this),this.config.menuUI?this.menuUI=this.config.menuUI:this.menuUI=new h.menuUI,this.menuUI.init(this,this.config.menu),this.config.xScrollUI||(this.xScrollUI=new h.xScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,h.action.xScroll)})),this.config.yScrollUI||(this.yScrollUI=new h.yScrollUI(this.element,this.config,function(){return{boundary:n.response.boundary,scale:n.getScale(),viewBox:n.getViewBox(),padding:n.config.padding}},function(e){n.setViewBox(e)},function(){n._draw(!0,h.action.xScroll)})),this.config.undoRedoUI?this.undoRedoUI=this.config.undoRedoUI:this.undoRedoUI=new h.undoRedoUI,this.mainElement.classList.add(`boc-`+this.config.mode),this._gragStartedId=null,this._timeout=null,this._touch=null,this._initialized=!1,this._loaded=!1,this._moveInterval=null,this._movePosition=null,this.response=null,this.nodes=null,this.isVisible=null,this._connectorLines={x:{},y:{}},h._intersectionObserver(this.element,function(e){n.isVisible=e,h.events.publish(`visibility-change`,[n])!==!1&&h.LAZY_LOADING&&n.isVisible&&(n._loaded?n._draw(!1,h.action.update):(n._setInitialSizeIfNotSet(),n._draw(!1,h.action.init)))}),this._resizeObserver=new ResizeObserver(e=>{for(let t of e){let{width:e,height:r}=t.contentRect;n._resizeHandler(e,r)}}),this._resizeObserver.observe(this.element))}},h.prototype.load=function(e,t){var n=this;return this.config.nodes=e,this._draw(!1,h.action.init,void 0,function(){n.filterUI.update(),t&&t()}),this},h.prototype.loadXML=function(e,t){var n=h._xml2json(e);return this.load(n,t)},h.prototype.getXML=function(){return h._json2xml(this.config.nodes)},h.prototype.on=function(e,t){return h.events.on(e,t,this._event_id),this},h.prototype.removeListener=function(e,t){return h.events.remove(e,t,this._event_id)},h.prototype.draw=function(e,t,n){e??=h.action.update,this._draw(!1,e,t,n)},h.prototype._draw=function(e,t,n,r){var i=this;if(!(h.LAZY_LOADING&&!this.isVisible)){if(!h.LAZY_LOADING&&!this._initialized&&(this._setInitialSizeIfNotSet(),this.width()==0||this.height()==0)){console.error(`Cannot load the chart with size 0! If you are using the OrgChart within tabs set OrgChart.LAZY_LOADING to true! `);return}this._hideBeforeAnimationCompleted=!1;var a=t==h.action.init?null:this.getViewBox();this.manager.read(e,this.width(),this.height(),a,t,n,function(e){if(!i.notifierUI.show(e.notif)){t!=h.action.exporting&&(i.nodes=e.nodes,i.visibleNodeIds=e.visibleNodeIds,i.roots=e.roots),i._connectorLines={x:{},y:{}},i.editUI.fields=e.allFields;var a={defs:``};h.events.publish(`renderdefs`,[i,a]);var o=i.ui.defs(a.defs),s=i.getScale(e.viewBox);o+=i.ui.pointer(i.config,t,s);var c=i.getViewBox(),l=e.viewBox,a={content:o,res:e};h.events.publish(`prerender`,[i,a]),o=a.content;var u=[];if(h.RENDER_LINKS_BEFORE_NODES)for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]];h.getRootOf(f).stParent?u.push(f.id):o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)}for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]],p=i._get(f.id);if(h.RENDER_LINKS_BEFORE_NODES&&u.includes(f.id)&&(o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),f.isTreeListItem||(o+=i.ui.node(f,p,e.animations,i.config,void 0,void 0,void 0,t,s,i)),!f.min&&f.treeList){var m=function(n){if(!f.treeList.pinnedIds.includes(n.id)){var r=i._get(n.id);o+=i.ui.node(n,r,e.animations,i.config,void 0,void 0,void 0,t,s,i),o+=i.ui.expandCollapseBtn(i,n,r,i.config,i._layoutConfigs,t,s)}for(var a of n.children)m(a)},g=h.randomId();o+=`<clipPath id="treelist_${g}">
205
+ <rect rx="10" ry="10" x="${f.x+f.padding[3]}" y="${f.y+f.padding[0]}" width="${f.w-f.padding[1]-f.padding[3]}" height="${f.h-f.padding[2]-f.padding[0]}">
206
+ </clipPath><g clip-path="url(#treelist_${g})"><g data-treelist-content="${f.id}" transform="matrix(1,0,0,1,0,-${f.treeList.scrollTop})">`;for(var _ of f.stChildren)m(_);for(var v of f.treeList.pinnedIds){var y=i.getNode(v),b=i._get(v);o+=i.ui.node(y,b,e.animations,i.config,void 0,void 0,void 0,t,s,i,!0),o+=i.ui.expandCollapseBtn(i,y,b,i.config,i._layoutConfigs,t,s)}var{thumbHeight:x,thumbPosition:S,scrollBarDisplay:C}=h._treeListGetTumbPositionFromScrollTop(f);o+=`</g>
19
207
 
20
208
 
21
- <rect style="display: ${C}" data-treelist-scroll="${p.id}" class="boc-scroll" x="${p.x+p.w-p.padding[1]-u.TREELIST_SCROLLBAR_WIDTH}" y="${p.y+p.padding[0]}" width="${u.TREELIST_SCROLLBAR_WIDTH}" height="${p.h-p.padding[2]-p.padding[0]}"></rect>
22
- <rect style="display: ${C}" data-treelist-thumb="${p.id}" class="boc-scroll-thumb" x="${p.x+p.w-p.padding[1]-u.TREELIST_SCROLLBAR_WIDTH}" y="${S}" width="${u.TREELIST_SCROLLBAR_WIDTH}" height="${x}"></rect>
209
+ <rect style="display: ${C}" data-treelist-scroll="${f.id}" class="boc-scroll" x="${f.x+f.w-f.padding[1]-h.TREELIST_SCROLLBAR_WIDTH}" y="${f.y+f.padding[0]}" width="${h.TREELIST_SCROLLBAR_WIDTH}" height="${f.h-f.padding[2]-f.padding[0]}"></rect>
210
+ <rect style="display: ${C}" data-treelist-thumb="${f.id}" class="boc-scroll-thumb" x="${f.x+f.w-f.padding[1]-h.TREELIST_SCROLLBAR_WIDTH}" y="${S}" width="${h.TREELIST_SCROLLBAR_WIDTH}" height="${x}"></rect>
23
211
 
24
- </g>`}}for(var f=0;f<e.visibleNodeIds.length;f++){var p=e.nodes[e.visibleNodeIds[f]],m=i._get(p.id);p.isTreeListItem||(u.RENDER_LINKS_BEFORE_NODES||(o+=i.ui.link(p,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),o+=i.ui.expandCollapseBtn(i,p,m,i.config,i._layoutConfigs,t,s))}var a={content:o,res:e};if(u.events.publish(`render`,[i,a]),o=a.content,e=a.res,o+=i.ui.lonely(i.config),t===u.action.exporting){var w=e.boundary,T=w.maxX-w.minX,E=w.maxY-w.minY,D=i.ui.svg(T,E,[w.minX,w.minY,T,E],i.config,o,s);r.call(i,D,e);return}(t===u.action.centernode||t===u.action.insert||t===u.action.expand||t===u.action.collapse||t===u.action.update)&&(l=c),t===u.action.init&&c!=null&&(l=c),t===u.action.centerNode&&c!=null&&(l=c),i.response=e,i._lastSize={width:i.width(),height:i.height()};var D=i.ui.svg(`100%`,`100%`,l,i.config,o);if(!i._initialized)i.element.innerHTML=i.ui.css()+D+i.ui.menuButton(i.config)+i.ui.aiButton(i.config),i._attachEventHandlers(),i.xScrollUI.create(i.width(),i.config.padding),i.xScrollUI.setPosition(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.create(i.height(),i.config.padding),i.yScrollUI.setPosition(),i.yScrollUI.addListener(i.getSvg()),i.config.enableSearch&&i.searchUI.init(i),i.aiUI.init(i),i.orgScribeUI.init(i),i.powerPointPreviewUI.init(i),i.pdfPreviewUI.init(i),i.svgPreviewUI.init(i),i.pngPreviewUI.init(i),i.toolbarUI.init(i,i.config.toolbar),i.undoRedoUI.init(i),i.controlsUI.init(i);else{var O=i.getSvg(),k=O.parentNode;k.removeChild(O),k.insertAdjacentHTML(`afterbegin`,D),i._attachEventHandlers(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.addListener(i.getSvg()),i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}var A=!1,j=i.response.animations;if(j[0].length>0){i._hideBeforeAnimation(j[0].length);for(var f=0;f<j[0].length;f++)j[0][f]=i.getNodeElement(j[0][f]);u.animate(j[0],j[1],j[2],i.config.anim.duration,i.config.anim.func,function(){A||=(r&&r.call(i),u.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)})}t===u.action.centerNode?u.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration,i.config.anim.func,function(){i.ripple(n.options.rippleId),A||=(r&&r.call(i),u.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)},function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}):c&&i.response&&(c[0]!=i.response.viewBox[0]||c[1]!=i.response.viewBox[1]||c[2]!=i.response.viewBox[2]||c[3]!=i.response.viewBox[3])&&(t===u.action.insert||t===u.action.expand||t===u.action.collapse||t===u.action.update||t===u.action.init)?u.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration*2,i.config.anim.func,function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition(),A||=(r&&r.call(i),u.events.publish(`redraw`,[i]),!0)}):j[0].length==0&&(A||=(r&&r.call(i),u.events.publish(`redraw`,[i]),!0)),i._initialized||(i._initialized=!0,i.filterUI.update(),i._ai.setContext(),u.events.publish(`init`,[i])),!i._loaded&&e&&e.nodes&&Object.keys(e.nodes).length&&(i._loaded=!0)}},function(e){u.events.publish(`ready`,[i,e])})}},u.prototype._setInitialSizeIfNotSet=function(){this.mainElement.style.overflow=`hidden`,this.mainElement.style.position=`relative`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`100%`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`700px`)),this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`100%`,this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`700px`))},u.prototype.width=function(){return this.element.offsetWidth},u.prototype.height=function(){return this.element.offsetHeight},u.prototype.getViewBox=function(){var e=this.getSvg();return u._getViewBox(e)},u.prototype.setViewBox=function(e){this.getSvg().setAttribute(`viewBox`,e.toString())},u.prototype.getScale=function(e){return e||=this.getViewBox(),u.getScale(e,this.width(),this.height(),this.config.scaleInitial,this.config.scaleMax,this.config.scaleMin)},u.prototype.setScale=function(e){e>this.config.scaleMax&&(e=this.config.scaleMax),e<this.config.scaleMin&&(e=this.config.scaleMin);var t=this.getViewBox().slice(0),n=this.width(),r=this.height(),i=n/t[2],a=r/t[3],o=i>a?a:i,s=t,c=t[2],l=t[3];return t[2]/=e/o,t[3]/=e/o,t[0]=s[0]-(t[2]-c)/2,t[1]=s[1]-(t[3]-l)/2,this.setViewBox(t),u.events.publish(`redraw`,[this]),e},u.prototype.ripple=function(e,t,n){var r=this.getNode(e);if(r!=null){var i=this.getNodeElement(e);if(i!=null){var a=this.getScale(),o=r.w/2,s=r.h/2;if(t!==void 0&&n!==void 0){var c=i.getBoundingClientRect();o=t/a-c.left/a,s=n/a-c.top/a}var l=r.w,d=r.h,f=l-o>o?l-o:o,p=d-s>s?d-s:s;f=f,p=p;var m=f>p?f:p,h=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),g=document.createElementNS(`http://www.w3.org/2000/svg`,`clipPath`),_=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`),v=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`),y=u.randomId();g.setAttribute(`id`,y);var b={ripple:u.t(r.templateName,r.min,this.getScale()).ripple,node:r};u.events.publish(`ripple`,[this,b]),_.setAttribute(`x`,b.ripple.rect?b.ripple.rect.x:0),_.setAttribute(`y`,b.ripple.rect?b.ripple.rect.y:0),_.setAttribute(`width`,b.ripple.rect?b.ripple.rect.width:r.w),_.setAttribute(`height`,b.ripple.rect?b.ripple.rect.height:r.h),_.setAttribute(`rx`,b.ripple.radius),_.setAttribute(`ry`,b.ripple.radius),v.setAttribute(`clip-path`,`url(#`+y+`)`),v.setAttribute(`cx`,o),v.setAttribute(`cy`,s),v.setAttribute(`r`,0),v.setAttribute(`fill`,b.ripple.color),v.setAttribute(`class`,`boc-ripple`),g.appendChild(_),h.appendChild(g),h.appendChild(v),i.appendChild(h),u.animate(v,{r:0,opacity:1},{r:m,opacity:0},500,u.anim.outPow,function(){i.removeChild(h)})}}},u.prototype.centerOutNodes=function(e){if(this._centerInNodes){var t=JSON.parse(this._centerInNodes);this._centerInNodes=null;var n=this;this._centerInNodesTimeout=u.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:t},300,this.config.anim.func,function(){n.draw(u.action.update,null,function(){e&&e.call(n)})})}},u.prototype.centerInNodes=function(e,t){var n=this.getViewBox();this._centerInNodes||=JSON.stringify(n);var r=2**53-1,i=-(2**53-1),a=2**53-1,o=-(2**53-1);for(var s of e)s.y<r&&(r=s.y),s.y+s.h>i&&(i=s.y+s.h),s.x<a&&(a=s.x),s.x+s.w>o&&(o=s.x+s.w);var c=o-a,l=i-r,d=c/(c+this.config.padding*2),f=l/(l+this.config.padding*2),p=d>f?f:d;p>this.config.scaleMax&&(p=this.config.scaleMax),p<this.config.scaleMin&&(p=this.config.scaleMin);var m=[50,50],h=this.width(),g=this.height(),d=h/n[2],f=g/n[3],_=d>f?f:d,v=n,y=n[2],b=n[3];n[2]/=p/_,n[3]/=p/_,n[0]=v[0]-(n[2]-y)/(100/m[0]),n[1]=v[1]-(n[3]-b)/(100/m[1]),n[0]=a-(h/p-c)/2,n[1]=r-(g/p-l)/2;var x=this;this._centerInNodesTimeout&&=(clearTimeout(this._centerInNodesTimeout),null),this._centerInNodesTimeout=u.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:n},300,this.config.anim.func,function(){x.draw(u.action.update,null,function(){t&&t.call(x)})})},u.prototype.center=function(e,t,n){var r,i,a=e,o=!0,s=!0;t&&t.parentState!=null&&(r=t.parentState),t&&t.childrenState!=null&&(i=t.childrenState),t&&t.rippleId!=null&&(a=t.rippleId),t&&t.vertical!=null&&(o=t.vertical),t&&t.horizontal!=null&&(s=t.horizontal);var c={parentState:r,childrenState:i,rippleId:a,vertical:o,horizontal:s};this._draw(!1,u.action.centerNode,{id:e,options:c},n)},u.prototype.fit=function(e){this.config.scaleInitial=u.match.boundary,this._draw(!0,u.action.init,{method:`fit`},e)},u.prototype.fitIfOutside=function(e){this.config.scaleInitial=u.match.boundaryIfOutside,this._draw(!0,u.action.init,{method:`fit`},e)},u.prototype.toggleFullScreen=function(){var e=document.querySelector(`[`+u.attr.tlbr+`r='fullScreen']`);document.fullscreenElement==this.element||document.webkitFullscreenElement==this.element||document.mozFullScreenElement==this.element||document.msFullscreenElement==this.element?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),e&&(e.innerHTML=u.toolbarUI.openFullScreenIcon)):(this.element.requestFullscreen?this.element.requestFullscreen():this.element.mozRequestFullScreen?this.element.mozRequestFullScreen():this.element.webkitRequestFullscreen?this.element.webkitRequestFullscreen():this.element.msRequestFullscreen&&this.element.msRequestFullscreen(),e&&(e.innerHTML=u.toolbarUI.closeFullScreenIcon))},u.prototype.getNode=function(e){return this.nodes[e]},u.prototype.setLayout=function(e,t){t||=`base`,this._layoutConfigs[t].layout=e,t==`base`&&(this.config.layout=e),this._draw(!1,u.action.update)},u.prototype.setOrientation=function(e,t,n){var r=this;t||=`base`,this._layoutConfigs[t].orientation=e,t==`base`&&(this.config.orientation=e),this._draw(!1,u.action.update,void 0,function(){r.getScale(),u._moveToBoundaryArea(r.getSvg(),r.getViewBox(),r.response.boundary,function(){r._draw(!0,u.action.pan),n&&n()})})},u.prototype.search=function(e,t,n){return u.isNEU(t)&&(t=this.searchUI._searchFields),u.isNEU(n)&&(n=t),u._search.search(this.config.nodes,e,t,n,this.config.searchDisplayField,this.config.searchFieldsWeight,this.searchUI._searchFieldsAbbreviation)},u.prototype._hideBeforeAnimation=function(e){if(this._hideBeforeAnimationCompleted!=1&&!(e&&e<u.ANIM_THRESHOLD)){var t=this.element.getElementsByTagName(`text`);if(t.length>u.TEXT_THRESHOLD)for(var n=0;n<t.length;n++)t[n].style.display=`none`;var r=this.element.getElementsByTagName(`image`);if(r.length>u.IMAGES_THRESHOLD)for(var n=0;n<r.length;n++)r[n].style.display=`none`;var i=this.element.querySelectorAll(`[`+u.attr.link_id+`]`);if(i.length>u.LINKS_THRESHOLD)for(var n=0;n<i.length;n++)i[n].style.display=`none`;var a=this.element.querySelectorAll(`[`+u.attr.control_expcoll_id+`]`);if(a.length>u.BUTTONS_THRESHOLD)for(var n=0;n<a.length;n++)a[n].style.display=`none`;var o=this.element.querySelectorAll(`[`+u.attr.control_up_id+`]`);if(o.length>u.BUTTONS_THRESHOLD)for(var n=0;n<o.length;n++)o[n].style.display=`none`;this._hideBeforeAnimationCompleted=!0}},u.prototype._showAfterAnimation=function(){for(var e=this.element.getElementsByTagName(`text`),t=0;t<e.length;t++)e[t].style.display=``;for(var n=this.element.getElementsByTagName(`image`),t=0;t<n.length;t++)n[t].style.display=``;for(var r=this.element.querySelectorAll(`[`+u.attr.link_id+`]`),t=0;t<r.length;t++)r[t].style.display=``;for(var i=this.element.querySelectorAll(`[`+u.attr.control_expcoll_id+`]`),t=0;t<i.length;t++)i[t].style.display=``;for(var a=this.element.querySelectorAll(`[`+u.attr.control_up_id+`]`),t=0;t<a.length;t++)a[t].style.display=``;this._hideBeforeAnimationCompleted=!1},u.prototype.isChild=function(e,t){for(var n=this.getNode(t);n;){if(n.id==e)return!0;n=n.parent?n.parent:n.stParent}return!1},u.prototype.getCollapsedIds=function(e){for(var t=[],n=0;n<e.childrenIds.length;n++){var r=this.getNode(e.childrenIds[n]);r.collapsed==1&&t.push(r.id)}return t},u.prototype.stateToUrl=function(){if(this.manager.state){var e={};return e.exp=this.manager.state.exp.join(`*`),e.min=this.manager.state.min.join(`*`),e.adjustify=this.manager.state.adjustify.x+`*`+this.manager.state.adjustify.y,e.scale=this.manager.state.scale,e.y=this.manager.state.x,e.x=this.manager.state.y,new URLSearchParams(e).toString()}return``},u.prototype.generateId=function(){for(;;){var e=`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4);if(this.nodes==null||!this.nodes.hasOwnProperty(e))return e}},u.prototype.moveNodesToVisibleArea=function(e,t){for(var n=this,r=this.roots[0],i=this.getSvg(),a=this.getViewBox(),o=null,s=null,c=null,l=null,d=0;d<e.length;d++){var f=this.nodes[e[d]];f.x!=null&&f.y!=null&&((o===null||o<f.x+f.w)&&(o=f.x+f.w),(s===null||s<f.y+f.h)&&(s=f.y+f.h),(c===null||c>f.x)&&(c=f.x),(l===null||l>f.y)&&(l=f.y))}if(!(o==null||s==null||c==null||l==null)){var p=this.width(),m=this.height(),h=o-c+this.config.padding*2,g=s-l+this.config.padding*2,_=p/h,v=m/g,y=_>v?v:_,b=Math.ceil(p/y),x=Math.ceil(m/y),h=0,g=0;if(b-this.config.padding*2>=o-c)h=(o+c)/2-b/2;else switch(h=r.x-b/2+u.manager._getNodeWidth(r,this.config)/2,this.config.orientation){case u.orientation.right:case u.orientation.right_top:h=-(b/2-(c-o)/2),h<this.config.padding-b&&(h=this.config.padding-b);break;case u.orientation.left:case u.orientation.bottom_left:case u.orientation.top_left:case u.orientation.left_top:h=-(b/2-(o-c)/2),h>-this.config.padding&&(h=-this.config.padding);break}if(x-this.config.padding*2>=s-l)g=(s+l)/2-x/2;else switch(g=-(x/2-(s-l)/2),g>-this.config.padding&&(g=-this.config.padding),this.config.orientation){case u.orientation.bottom:case u.orientation.bottom_left:g=-(x/2-(l-s)/2),g<this.config.padding-x&&(g=this.config.padding-x);break;case u.orientation.left:case u.orientation.right:g=r.y-x/2+u.manager._getNodeWidth(r,this.config)/2;break}var S=[h,g,b,x];a[0]!==S[0]||a[1]!==S[1]?u.animate(i,{viewBox:a},{viewBox:S},this.config.anim.duration,this.config.anim.func,function(){n.draw(u.action.update,void 0,t)}):t&&t()}},u.prototype._nodeHasHiddenParent=function(e){return!e.parent&&!u.isNEU(e.pid)&&this.getNode(e.pid)},u.prototype.destroy=function(){this._initCalled=!1,this._resizeObserver.unobserve(this.element),u.events.removeForEventId(this._event_id),this.element.innerHTML=null},u.prototype.canUpdateLink=function(e,t){if(t==null||t==null||e==null||e==null||e==t)return!1;var n=this.getNode(t),r=this.getNode(e);return n&&r&&(n.isPartner||n.hasPartners&&r.isAssistant||n.hasAssistants&&r.isPartner)?!1:!this.isChild(e,t)},u.prototype._canUpdateLink=u.prototype.canUpdateLink,u.prototype.updateNode=function(e,t,n,r){if(e){var i=this,a=this.get(e.id);if(n===!0&&u.events.publish(`update`,[this,a,e])===!1)return!1;this.update(e),this._ai.setContext(),u.events.publish(`updated`,[this]),this.filterUI.update();var o=this.getNode(e.id),s=o.pid;s??=o.stpid,this._draw(!1,u.action.update,{id:s},function(){r||i.ripple(e.id),t&&t()})}},u.prototype.update=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e.id){this._putInUndoStack(),this.clearRedo(),this.config.nodes[t]=e;break}return this},u.prototype.removeNode=function(e,t,n){if(!this.canRemove(e))return!1;var r=this._getNewPidsAndStpidsForIds(e);return n===!0&&u.events.publish(`remove`,[this,e,r])===!1?!1:(this.remove(e),this._ai.setContext(),u.events.publish(`updated`,[this]),this.filterUI.update(),this._draw(!1,u.action.update,null,function(){t&&t()}),!0)},u.prototype.remove=function(e){var t=this.get(e);if(t){this._putInUndoStack(),this.clearRedo();for(var n=this.config.nodes.length-1;n>=0;n--)(this.config.nodes[n].pid==e||this.config.nodes[n].stpid==e)&&(this.config.nodes[n].pid=t.pid,this.config.nodes[n].stpid=t.stpid),this.config.nodes[n].id==e&&this.config.nodes.splice(n,1)}return this},u.prototype._getNewPidsAndStpidsForIds=function(e){var t=this.get(e),n={},r={};if(t)for(var i=this.config.nodes.length-1;i>=0;i--)this.config.nodes[i].pid==e?n[this.config.nodes[i].id]=t.pid:this.config.nodes[i].stpid==e&&(r[this.config.nodes[i].id]=t.stpid);return{newPidsForIds:n,newStpidsForIds:r}},u.prototype.addNode=function(e,t,n){var r=this;if(n===!0&&u.events.publish(`add`,[this,e])===!1)return!1;this.add(e),this._ai.setContext(),u.events.publish(`updated`,[this]),this.filterUI.update(),r._draw(!1,u.action.insert,{id:e.pid,insertedNodeId:e.id},function(){r.ripple(e.id),t&&t()})},u.prototype.add=function(e){if(e.id??console.error(`Call addNode without id`),this._putInUndoStack(),this.clearRedo(),this.config.movable&&!u.isNEU(e.pid)){var t=this._get(e.pid);t&&(t.movex!=null&&(e.movex=t.movex),t.movey!=null&&(e.movey=t.movey))}return this.config.nodes.push(e),this},u.prototype.replaceIds=function(e,t){this._replaceIds(e),this._draw(!1,u.action.update,void 0,t)},u.prototype._replaceIds=function(e){for(var t=function(t){for(var n=0;n<t.length;n++){var r=t[n];for(var i in e){var a=e[i];r.from==i&&(r.from=a),r.to==i&&(r.to=a)}}},n=0;n<this.config.nodes.length;n++){var r=this.config.nodes[n];for(var i in e){var a=e[i];r.id==i&&(r.id=a),r.pid==i&&(r.pid=a),r.stpid==i&&(r.stpid=a),r.ppid==i&&(r.ppid=a)}}if(Array.isArray(this.config.roots))for(var n=0;n<this.config.roots.length;n++)u.isNEU(e[this.config.roots[n]])||(this.config.roots[n]=e[this.config.roots[n]]);if(this.nodes){for(var o in this.nodes)if(!u.isNEU(e[o])){var a=e[o],s=this.nodes[o];s.id=a,this.nodes[a]=s}}if(this.manager.oldNodes){for(var o in this.manager.oldNodes)if(!u.isNEU(e[o])){var a=e[o],s=this.manager.oldNodes[o];s.id=a,this.manager.oldNodes[a]=s}}if(this.roots){for(var o in this.roots)if(!u.isNEU(e[o])){var a=e[o],s=this.roots[o];s.id=a,this.roots[a]=s}}t(this.config.clinks),t(this.config.slinks),t(this.config.groupDottedLines),t(this.config.dottedLines)},u.prototype._get=function(e){var t=this.__get(e);if(t)return t;if((this.config.groupDottedLines.length||this.config.dottedLines.length)&&!u.isNEU(e)&&typeof e==`string`&&(e.indexOf(`balkan_group_dotted_`)!=-1||e.indexOf(`balkan_dotted_`)!=-1)){e=e.replace(`balkan_group_dotted_`,``),e=e.replace(`balkan_dotted_`,``);var n=e.indexOf(`_balkan_id_`);if(e=e.substring(n+11),t=this.__get(e),t)return t}return null},u.prototype.__get=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e)return this.config.nodes[t];return null},u.prototype.get=function(e){var t=this._get(e);return t==null?null:JSON.parse(JSON.stringify(t))},u.prototype.canRemove=function(e){var t=this.getNode(e);return!(!t||t.hasPartners||t.hasAssistants)},u===void 0&&(u={}),u.animate=function(e,t,n,r,i,a,o){var s=10,c=1,l=1,d=r/s+1,f;document.getElementsByTagName(`g`),Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);function p(){for(var p=0;p<e.length;p++)for(var m in n[p]){var h=u._arrayContains([`top`,`left`,`right`,`bottom`,`width`,`height`],m.toLowerCase())?`px`:``;switch(m.toLowerCase()){case`d`:var g=i((l*s-s)/r)*(n[p][m][0]-t[p][m][0])+t[p][m][0],_=i((l*s-s)/r)*(n[p][m][1]-t[p][m][1])+t[p][m][1];e[p].setAttribute(`d`,e[p].getAttribute(`d`)+` L`+g+` `+_);break;case`r`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].setAttribute(`r`,v);break;case`x1`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].setAttribute(`x1`,v);break;case`x2`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].setAttribute(`x2`,v);break;case`y1`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].setAttribute(`y1`,v);break;case`y2`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].setAttribute(`y2`,v);break;case`scrolltop`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].scrollTop=v;break;case`rotate3d`:if(n[p][m]){var y=t[p][m],b=n[p][m],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[p].style.transform=`rotate3d(`+x.toString()+`deg)`}break;case`transform`:if(n[p][m]){var y=t[p][m],b=n[p][m],x=[0,0,0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[p].hasAttribute(`transform`)?e[p].setAttribute(`transform`,`matrix(`+x.toString()+`)`):e[p].style.transform=`matrix(`+x.toString()+`)`}break;case`viewbox`:if(n[p][m]){var y=t[p][m],b=n[p][m],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[p].setAttribute(`viewBox`,x.toString())}break;case`margin`:if(n[p][m]){var y=t[p][m],b=n[p][m],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];for(var C=``,S=0;S<x.length;S++)C+=parseInt(x[S])+`px `;e[p]&&e[p].style&&(e[p].style[m]=C)}break;case`scrolly`:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p].scrollTo(0,v);break;default:var v=i((l*s-s)/r)*(n[p][m]-t[p][m])+t[p][m];e[p]&&e[p].style&&(e[p].style[m]=v+h);break}}if(o){var v=i((l*s-s)/r);o(v)}l+=c,l>d+1&&(clearInterval(f),a&&a(e))}return f=setInterval(p,s),f},u.anim={},u.anim.inPow=function(e){return e<0?0:e>1?1:e**2},u.anim.outPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;var n=t%2==0?-1:1;return n*((e-1)**t+n)},u.anim.inOutPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;if(e*=2,e<1)return u.anim.inPow(e,t)/2;var n=t%2==0?-1:1;return n/2*((e-2)**t+n*2)},u.anim.inSin=function(e){return e<0?0:e>1?1:-Math.cos(Math.PI/2*e)+1},u.anim.outSin=function(e){return e<0?0:e>1?1:Math.sin(Math.PI/2*e)},u.anim.inOutSin=function(e){return e<0?0:e>1?1:-.5*(Math.cos(Math.PI*e)-1)},u.anim.inExp=function(e){return e<0?0:e>1?1:2**(10*(e-1))},u.anim.outExp=function(e){return e<0?0:e>1?1:-(2**(-10*e))+1},u.anim.inOutExp=function(e){return e<0?0:e>1?1:e<.5?.5*2**(10*(2*e-1)):.5*(-(2**(10*(-2*e+1)))+2)},u.anim.inCirc=function(e){return e<0?0:e>1?1:-(Math.sqrt(1-e*e)-1)},u.anim.outCirc=function(e){return e<0?0:e>1?1:Math.sqrt(1-(e-1)*(e-1))},u.anim.inOutCirc=function(e){return e<0?0:e>1?1:e<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(2*e-2)*(2*e-2))+1)},u.anim.rebound=function(e){return e<0?0:e>1?1:e<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-1.5/2.75)*(e-1.5/2.75)+.75):e<2.5/2.75?1-(7.5625*(e-2.25/2.75)*(e-2.25/2.75)+.9375):1-(7.5625*(e-2.625/2.75)*(e-2.625/2.75)+.984375)},u.anim.inBack=function(e){return e<0?0:e>1?1:e*e*(2.70158*e-1.70158)},u.anim.outBack=function(e){return e<0?0:e>1?1:(e-1)*(e-1)*(2.70158*(e-1)+1.70158)+1},u.anim.inOutBack=function(e){return e<0?0:e>1?1:e<.5?.5*(4*e*e*(3.5949*2*e-2.5949)):.5*((2*e-2)*(2*e-2)*(3.5949*(2*e-2)+2.5949)+2)},u.anim.impulse=function(e){var t=2*e;return t*Math.exp(1-t)},u.anim.expPulse=function(e){return Math.exp(-2*e**2)},u===void 0&&(u={}),u.prototype._attachEventHandlers=function(e){if(this.config.interactive){var e=this.getSvg(),t=this;e.addEventListener(`touchstart`,function(e){e.preventDefault(),t._globalMouseDownHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`mousedown`,function(e){t._globalMouseDownHandler.apply(t,[this,e])},{passive:!0}),e.addEventListener(`contextmenu`,function(e){t._globalContextHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`dblclick`,function(e){t._globalDbClickHandler.apply(t,[this,e])},{passive:!0}),this.config.mouseScrool!=u.action.none&&e.addEventListener(`wheel`,function(e){t._mouseScrollHandler.apply(t,[this,e])},{passive:!1});var n=this.getMenuButton();n&&n.addEventListener(`click`,function(e){t._menuClickHandler.apply(t,[this,e])})}},u===void 0&&(u={}),u.VERSION=`9.1.86`,u.orientation={},u.orientation.top=0,u.orientation.bottom=1,u.orientation.right=2,u.orientation.left=3,u.orientation.top_left=4,u.orientation.bottom_left=5,u.orientation.right_top=6,u.orientation.left_top=7,u.anchor={top_right:`top_right`,right_top:`right_top`,bottom_right:`bottom_right`,right_bottom:`right_bottom`,top_left:`top_left`,left_top:`left_top`,bottom_left:`bottom_left`,left_bottom:`left_bottom`,top:`top`,bottom:`bottom`,left:`left`,right:`right`},u.align={},u.align.center=u.CENTER=8,u.align.orientation=u.ORIENTATION=9,u.attr={},u.attr.l=`data-l`,u.attr.id=`data-id`,u.attr.sl=`data-sl`,u.attr.lbl=`data-lbl`,u.attr.val=`data-val`,u.attr.tlbr=`data-tlbr`,u.attr.item=`data-item`,u.attr.layout=`data-layout`,u.attr.node_id=`data-n-id`,u.attr.link_id=`data-l-id`,u.attr.field_name=`data-f-name`,u.attr.c_link_to=`data-c-l-to`,u.attr.c_link_from=`data-c-l-from`,u.attr.s_link_to=`data-s-l-to`,u.attr.s_link_from=`data-s-l-from`,u.attr.control_add=`data-ctrl-add`,u.attr.control_expcoll_id=`data-ctrl-ec-id`,u.attr.control_up_id=`data-ctrl-up-id`,u.attr.control_export_menu=`data-ctrl-menu`,u.attr.control_node_menu_id=`data-ctrl-n-menu-id`,u.attr.control_node_circle_menu_id=`data-ctrl-n-c-menu-id`,u.attr.control_node_circle_menu_name=`data-ctrl-n-c-menu-name`,u.attr.control_node_circle_menu_wrraper_id=`data-ctrl-n-c-menu-wrapper-id`,u.attr.width=`data-width`,u.attr.text_overflow=`data-text-overflow`,u.ID=`id`,u.PID=`pid`,u.STPID=`stpid`,u.TAGS=`tags`,u.NODES=`nodes`,u.ELASTIC=`elastic`,u.ASSISTANT=`Assistant`,u.action={},u.action.expand=0,u.action.collapse=1,u.action.maximize=101,u.action.minimize=102,u.action.expandCollapse=501,u.action.edit=1,u.action.zoom=2,u.action.ctrlZoom=22,u.action.scroll=41,u.action.xScroll=3,u.action.yScroll=4,u.action.none=5,u.action.init=6,u.action.update=7,u.action.move=70,u.action.pan=8,u.action.centerNode=9,u.action.resize=10,u.action.insert=11,u.action.insertfirst=12,u.action.details=13,u.action.exporting=14,u.none=400001,u.scroll={},u.scroll.visible=!0,u.scroll.smooth=12,u.scroll.speed=120,u.scroll.safari={smooth:12,speed:250},u.match={},u.match.height=100001,u.match.width=100002,u.match.boundary=100003,u.match.boundaryIfOutside=100004,u.match.none=1,u.movable={},u.movable.node=`node`,u.movable.tree=`tree`,u.movable.detachTree=`detachTree`,u.layout={},u.layout.normal=u.normal=0,u.layout.mixed=u.mixed=1,u.layout.tree=u.tree=2,u.layout.treeLeftOffset=u.treeLeftOffset=3,u.layout.treeRightOffset=u.treeRightOffset=4,u.layout.treeLeft=5,u.layout.treeRight=6,u.layout.grid=-1,u.layout.treeList=-2,u.nodeOpenTag=`<g `+u.attr.node_id+`="{id}" style="opacity: {opacity}" transform="matrix(1,0,0,1,{x},{y})" class="{class}" `+u.attr.sl+`="{sl}" `+u.attr.l+`="{level}" {lcn}>`,u.linkOpenTag=`<g `+u.attr.link_id+`="[{id}][{child-id}]" class="{class}">`,u.expcollOpenTag=`<g `+u.attr.control_expcoll_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,u.upOpenTag=`<g `+u.attr.control_up_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,u.linkFieldsOpenTag=`<g transform="matrix(1,0,0,1,{x},{y}) rotate({rotate})">`,u.grCloseTag=`</g>`,u.A5={width:420,height:595},u.A4={width:595,height:842},u.A3={width:842,height:1191},u.A2={width:1191,height:1684},u.A1={width:1684,height:2384},u.Letter={width:612,height:791},u.Legal={width:612,height:1009},u.Legal={width:612,height:1009},u.Widescreen={width:720,height:1280},u.Standard={width:720,height:960},u.COLLAPSE_PARENT_NEIGHBORS=1,u.COLLAPSE_SUB_CHILDRENS=2,u.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED=3,u.TEXT_THRESHOLD=4e3,u.IMAGES_THRESHOLD=1e3,u.LINKS_THRESHOLD=2e3,u.BUTTONS_THRESHOLD=700,u.ANIM_THRESHOLD=500,u.IT_IS_LONELY_HERE=`<g transform="translate(-100, 0)" style="cursor:pointer;" `+u.attr.control_add+`="control-add"><text fill="#039be5">{link}</text></g>`,u.RES={},u.IT_IS_LONELY_HERE_LINK=u.RES.IT_IS_LONELY_HERE_LINK=`It's lonely here, add your first node`,u.FIRE_DRAG_NOT_CLICK_IF_MOVE=3,u.STRING_TAGS=!1,u.MAX_NODES_MESS=`The trial has expired or 200 nodes limit was reached! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,u.OFFLINE_MESS=`The evaluation version requires internet connection! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,u.SEARCH_PLACEHOLDER=`Search... type ? to get help.`,u.SEARCH_HELP_SYMBOL=`?`,u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE=!1,u.SEARCH_RESULT_LIMIT=10,u.IMPORT_MESSAGE=`Choose the columns (fields) in your data file that contain the required information.`,u.FIXED_POSITION_ON_CLICK=!1,u.RENDER_LINKS_BEFORE_NODES=!1,u.RENDER_CLINKS_BEFORE_NODES=!1,u.MIXED_LAYOUT_ALL_NODES=!1,u.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN=!1,u.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN=1,u.LINK_ROUNDED_CORNERS=5,u.MOVE_STEP=5,u.CLINK_CURVE=1,u.MAX_DEPTH=200,u.SCALE_FACTOR=1.44,u.LAZY_LOADING_FACTOR=`auto`,u.LAZY_LOADING=!0,u.ARRAY_FIELDS=[`tags`],u.CSV_DELIMITER=`,`,u.EDITFORM_CLOSE_BTN=`<svg data-edit-from-close class="boc-edit-form-close"><path style="fill:#ffffff;" d="M21.205,5.007c-0.429-0.444-1.143-0.444-1.587,0c-0.429,0.429-0.429,1.143,0,1.571l8.047,8.047H1.111 C0.492,14.626,0,15.118,0,15.737c0,0.619,0.492,1.127,1.111,1.127h26.554l-8.047,8.032c-0.429,0.444-0.429,1.159,0,1.587 c0.444,0.444,1.159,0.444,1.587,0l9.952-9.952c0.444-0.429,0.444-1.143,0-1.571L21.205,5.007z"></path></svg>`,u.ESCAPE_HTML=!1,u.VERTICAL_CHILDREN_ASSISTANT=!1,u.EXPORT_PAGES_CUT_NODES=!1,u.RESET_MOVABLE_ONEXPANDCOLLAPSE=!1,u.FILTER_ALPHABETICALLY=!0,u.SERVER_PREFIX=`.azurewebsites.net/api/you-see-this-request-because-it-is-trial-version-of-orgchartjs`,u.FUNC_URL_NAME=`func-url-orgchartjs`,u.MINIMUM_SYMBOLS_IN_SEARCH_INPUT=1,u.AI_SYSTEM_MESSAGES=[],u.ORGSCRIBE_OFFSET=` `,u.TREELIST_WHEEL_STEP=`auto`,u.TREELIST_SCROLLBAR_WIDTH=10,u.CONVERT_IMAGES_TO_BASE64_BEFORE_EXPORT=!1,u.REQUEST_CUSTOM_HEADERS={},u.SLINK_GAP=7,u._intersects=function(e,t,n){var r=e.x-n.siblingSeparation/4,i=e.y,a=e.x+e.w+n.siblingSeparation/4,o=e.y;switch(n.orientation){case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:r=e.x,i=e.y-n.siblingSeparation/4,a=e.x,o=e.y+e.h+n.siblingSeparation/4;break}var s=t.p,c=t.q,l=t.r,d=t.s,f=(a-r)*(d-c)-(l-s)*(o-i),p,m;return f===0?!1:(m=((d-c)*(l-r)+(s-l)*(d-i))/f,p=((i-o)*(l-r)+(a-r)*(d-i))/f,0<m&&m<1&&0<p&&p<1)},u._addPoint=function(e,t,n,r,i){switch(n.orientation){case u.orientation.top:case u.orientation.top_left:return u._addPointTop(e,t,n,r,i);case u.orientation.bottom:case u.orientation.bottom_left:return u._addPointBottom(e,t,n,r,i);case u.orientation.left:case u.orientation.left_top:return u._addPointLeft(e,t,n,r,i);case u.orientation.right:case u.orientation.right_top:return u._addPointRight(e,t,n,r,i)}},u._addPointTop=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y-n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},u._addPointBottom=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y+e.h+n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},u._addPointLeft=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x-n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},u._addPointRight=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x+e.w+n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},u._addConnectorLines=function(e,t){u._addConnectorLine(e,{x1:t.xa,y1:t.ya,x2:t.xb,y2:t.yb}),u._addConnectorLine(e,{x1:t.xb,y1:t.yb,x2:t.xc,y2:t.yc}),u._addConnectorLine(e,{x1:t.xc,y1:t.yc,x2:t.xd,y2:t.yd})},u._addConnectorLine=function(e,t){if(t.x1==t.x2){if(e.x[t.x1]||(e.x[t.x1]=[]),t.y1>t.y2){var n=t.y1;t.y1=t.y2,t.y2=n}e.x[t.x1].push({y1:t.y1,y2:t.y2})}if(t.y1==t.y2){if(e.y[t.y1]||(e.y[t.y1]=[]),t.x1>t.x2){var r=t.x1;t.x1=t.x2,t.x2=r}e.y[t.y1].push({x1:t.x1,x2:t.x2})}},u._addLineToPath=function(e,t,n){return u._avoidOverlapping(t,n),e.push([n.x1,n.y1]),e.push([n.x2,n.y2]),u._addConnectorLine(t,n),n},u._slinkRemoveUnusedPoints=function(e){for(var t=e.length-2;t>=1;t--){var n=e[t-1],r=e[t],i=e[t+1];(r[0]==n[0]&&r[0]==i[0]||r[1]==n[1]&&r[1]==i[1])&&e.splice(t,1)}},u._slinkAvoidOverlaping=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){r==u.orientation.top||r==u.orientation.top_left?n==`left`?o[0]-=u.SLINK_GAP:n==`right`&&(o[0]+=u.SLINK_GAP):(r==u.orientation.bottom||r==u.orientation.bottom_left)&&(n==`right`?o[0]+=u.SLINK_GAP:n==`left`&&(o[0]-=u.SLINK_GAP)),c=!1;break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}var d=!0;if(a[1]==o[1]&&a[0]>=o[0]&&(d=!1),d&&a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){a[0]>=o[0]||(r==u.orientation.top||r==u.orientation.top_left?o[1]-=u.SLINK_GAP:(r==u.orientation.bottom||r==u.orientation.bottom_left)&&(o[1]+=u.SLINK_GAP),c=!1);break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}d&&u._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},u._slinkAvoidOverlapingSecond=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[1]==a[1]){for(var s=e.y[a[1]];s;){var c=!0;for(var l of s)if(l.x1<=i[0]&&l.x2>=i[0]||l.x1<=a[0]&&l.x2>=a[0]){i[0]>=a[0]?(n==u.orientation.top||n==u.orientation.top_left?a[1]-=u.SLINK_GAP:(n==u.orientation.bottom||n==u.orientation.bottom_left)&&(a[1]+=u.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.y[a[1]]}i[1]=a[1]}o||u._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},u._slinkAvoidOverlaping2=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){r==u.orientation.left||r==u.orientation.left_top?n==`top`?o[1]-=u.SLINK_GAP:n==`bottom`&&(o[1]+=u.SLINK_GAP):(r==u.orientation.right||r==u.orientation.right_top)&&(n==`bottom`?o[1]+=u.SLINK_GAP:n==`top`&&(o[1]-=u.SLINK_GAP)),c=!1;break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}var d=!0;if(a[0]==o[0]&&a[1]>=o[1]&&(d=!1),d&&a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){a[1]>=o[1]||(r==u.orientation.left||r==u.orientation.left_top?o[0]-=u.SLINK_GAP:(r==u.orientation.right||r==u.orientation.right_top)&&(o[0]+=u.SLINK_GAP),c=!1);break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}d&&u._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},u._slinkAvoidOverlapingSecond2=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[0]==a[0]){for(var s=e.x[a[0]];s;){var c=!0;for(var l of s)if(l.y1<=i[1]&&l.y2>=i[1]||l.y1<=a[1]&&l.y2>=a[1]){i[1]>=a[1]?(n==u.orientation.left||n==u.orientation.left_top?a[0]-=u.SLINK_GAP:(n==u.orientation.right||n==u.orientation.right_top)&&(a[0]+=u.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.x[a[0]]}i[0]=a[0]}o||u._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},u.prototype.getSvg=function(){return this.element.querySelector(`svg`)},u.prototype.getPointerElement=function(){return this.element.querySelector(`g[data-pointer]`)},u.prototype.getNodeElement=function(e){return this.element.querySelector(`[`+u.attr.node_id+`='`+e+`']`)},u.prototype.getMenuButton=function(){return this.element.querySelector(`[`+u.attr.control_export_menu+`]`)},u.notifierUI=function(){},u.notifierUI.prototype.init=function(e){this.obj=e},u.notifierUI.prototype.show=function(e,t){if(e==null)return!1;e==1&&(e=u.MAX_NODES_MESS,t=`#FFCA28`),e==2&&(e=u.OFFLINE_MESS,t=`#FFCA28`);var n=document.createElement(`div`);n.innerHTML=e,Object.assign(n.style,{position:`absolute`,"background-color":t,color:`#ffffff`,padding:`15px`,"border-radius":`40px`,opacity:0,overflow:`hidden`,"white-space":`nowrap`,"text-align":`center`}),this.obj.element.appendChild(n);var r=this.obj.width()/2-n.offsetWidth/2,i=this.obj.height()/2-n.offsetHeight/2;n.style.left=r+`px`,n.style.top=i+`px`;var a=n.offsetWidth;return n.style.width=`20px`,u.animate(n,{opacity:0,width:10},{opacity:1,width:a},this.obj.config.anim.duration,this.obj.config.anim.func),!0},u===void 0&&(u={}),u.icon={},u.icon.png_export=u.icon.png_preview=u.icon.pngpreview=u.icon.png=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
212
+ </g>`}}for(var d=0;d<e.visibleNodeIds.length;d++){var f=e.nodes[e.visibleNodeIds[d]],p=i._get(f.id);f.isTreeListItem||(h.RENDER_LINKS_BEFORE_NODES||(o+=i.ui.link(f,i,s,e.bordersByRootIdAndLevel,e.nodes,t)),o+=i.ui.expandCollapseBtn(i,f,p,i.config,i._layoutConfigs,t,s))}var a={content:o,res:e};if(h.events.publish(`render`,[i,a]),o=a.content,e=a.res,o+=i.ui.lonely(i.config),t===h.action.exporting){var w=e.boundary,T=w.maxX-w.minX,E=w.maxY-w.minY,D=i.ui.svg(T,E,[w.minX,w.minY,T,E],i.config,o,s);r.call(i,D,e);return}(t===h.action.centernode||t===h.action.insert||t===h.action.expand||t===h.action.collapse||t===h.action.update)&&(l=c),t===h.action.init&&c!=null&&(l=c),t===h.action.centerNode&&c!=null&&(l=c),i.response=e,i._lastSize={width:i.width(),height:i.height()};var D=i.ui.svg(`100%`,`100%`,l,i.config,o);if(!i._initialized)i.element.innerHTML=i.ui.css()+D+i.ui.menuButton(i.config)+i.ui.aiButton(i.config),i._attachEventHandlers(),i.xScrollUI.create(i.width(),i.config.padding),i.xScrollUI.setPosition(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.create(i.height(),i.config.padding),i.yScrollUI.setPosition(),i.yScrollUI.addListener(i.getSvg()),i.config.enableSearch&&i.searchUI.init(i),i.aiUI.init(i),i.orgScribeUI.init(i),i.powerPointPreviewUI.init(i),i.pdfPreviewUI.init(i),i.svgPreviewUI.init(i),i.pngPreviewUI.init(i),i.toolbarUI.init(i,i.config.toolbar),i.undoRedoUI.init(i),i.controlsUI.init(i);else{var O=i.getSvg(),k=O.parentNode;k.removeChild(O),k.insertAdjacentHTML(`afterbegin`,D),i._attachEventHandlers(),i.xScrollUI.addListener(i.getSvg()),i.yScrollUI.addListener(i.getSvg()),i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}var A=!1,j=i.response.animations;if(j[0].length>0){i._hideBeforeAnimation(j[0].length);for(var d=0;d<j[0].length;d++)j[0][d]=i.getNodeElement(j[0][d]);h.animate(j[0],j[1],j[2],i.config.anim.duration,i.config.anim.func,function(){A||=(r&&r.call(i),h.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)})}t===h.action.centerNode?h.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration,i.config.anim.func,function(){i.ripple(n.options.rippleId),A||=(r&&r.call(i),h.events.publish(`redraw`,[i]),i._showAfterAnimation(),!0)},function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition()}):c&&i.response&&(c[0]!=i.response.viewBox[0]||c[1]!=i.response.viewBox[1]||c[2]!=i.response.viewBox[2]||c[3]!=i.response.viewBox[3])&&(t===h.action.insert||t===h.action.expand||t===h.action.collapse||t===h.action.update||t===h.action.init)?h.animate(i.getSvg(),{viewbox:c},{viewbox:i.response.viewBox},i.config.anim.duration*2,i.config.anim.func,function(){i.xScrollUI.setPosition(),i.yScrollUI.setPosition(),A||=(r&&r.call(i),h.events.publish(`redraw`,[i]),!0)}):j[0].length==0&&(A||=(r&&r.call(i),h.events.publish(`redraw`,[i]),!0)),i._initialized||(i._initialized=!0,i.filterUI.update(),i._ai.setContext(),h.events.publish(`init`,[i])),!i._loaded&&e&&e.nodes&&Object.keys(e.nodes).length&&(i._loaded=!0)}},function(e){h.events.publish(`ready`,[i,e])})}},h.prototype._setInitialSizeIfNotSet=function(){this.mainElement.style.overflow=`hidden`,this.mainElement.style.position=`relative`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`100%`,this.mainElement.offsetHeight==0&&(this.mainElement.style.height=`700px`)),this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`100%`,this.mainElement.offsetWidth==0&&(this.mainElement.style.width=`700px`))},h.prototype.width=function(){return this.element.offsetWidth},h.prototype.height=function(){return this.element.offsetHeight},h.prototype.getViewBox=function(){var e=this.getSvg();return h._getViewBox(e)},h.prototype.setViewBox=function(e){this.getSvg().setAttribute(`viewBox`,e.toString())},h.prototype.getScale=function(e){return e||=this.getViewBox(),h.getScale(e,this.width(),this.height(),this.config.scaleInitial,this.config.scaleMax,this.config.scaleMin)},h.prototype.setScale=function(e){e>this.config.scaleMax&&(e=this.config.scaleMax),e<this.config.scaleMin&&(e=this.config.scaleMin);var t=this.getViewBox().slice(0),n=this.width(),r=this.height(),i=n/t[2],a=r/t[3],o=i>a?a:i,s=t,c=t[2],l=t[3];return t[2]/=e/o,t[3]/=e/o,t[0]=s[0]-(t[2]-c)/2,t[1]=s[1]-(t[3]-l)/2,this.setViewBox(t),h.events.publish(`redraw`,[this]),e},h.prototype.ripple=function(e,t,n){var r=this.getNode(e);if(r!=null){var i=this.getNodeElement(e);if(i!=null){var a=this.getScale(),o=r.w/2,s=r.h/2;if(t!==void 0&&n!==void 0){var c=i.getBoundingClientRect();o=t/a-c.left/a,s=n/a-c.top/a}var l=r.w,u=r.h,d=l-o>o?l-o:o,f=u-s>s?u-s:s;d=d,f=f;var p=d>f?d:f,m=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),g=document.createElementNS(`http://www.w3.org/2000/svg`,`clipPath`),_=document.createElementNS(`http://www.w3.org/2000/svg`,`rect`),v=document.createElementNS(`http://www.w3.org/2000/svg`,`circle`),y=h.randomId();g.setAttribute(`id`,y);var b={ripple:h.t(r.templateName,r.min,this.getScale()).ripple,node:r};h.events.publish(`ripple`,[this,b]),_.setAttribute(`x`,b.ripple.rect?b.ripple.rect.x:0),_.setAttribute(`y`,b.ripple.rect?b.ripple.rect.y:0),_.setAttribute(`width`,b.ripple.rect?b.ripple.rect.width:r.w),_.setAttribute(`height`,b.ripple.rect?b.ripple.rect.height:r.h),_.setAttribute(`rx`,b.ripple.radius),_.setAttribute(`ry`,b.ripple.radius),v.setAttribute(`clip-path`,`url(#`+y+`)`),v.setAttribute(`cx`,o),v.setAttribute(`cy`,s),v.setAttribute(`r`,0),v.setAttribute(`fill`,b.ripple.color),v.setAttribute(`class`,`boc-ripple`),g.appendChild(_),m.appendChild(g),m.appendChild(v),i.appendChild(m),h.animate(v,{r:0,opacity:1},{r:p,opacity:0},500,h.anim.outPow,function(){i.removeChild(m)})}}},h.prototype.centerOutNodes=function(e){if(this._centerInNodes){var t=JSON.parse(this._centerInNodes);this._centerInNodes=null;var n=this;this._centerInNodesTimeout=h.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:t},300,this.config.anim.func,function(){n.draw(h.action.update,null,function(){e&&e.call(n)})})}},h.prototype.centerInNodes=function(e,t){var n=this.getViewBox();this._centerInNodes||=JSON.stringify(n);var r=2**53-1,i=-(2**53-1),a=2**53-1,o=-(2**53-1);for(var s of e)s.y<r&&(r=s.y),s.y+s.h>i&&(i=s.y+s.h),s.x<a&&(a=s.x),s.x+s.w>o&&(o=s.x+s.w);var c=o-a,l=i-r,u=c/(c+this.config.padding*2),d=l/(l+this.config.padding*2),f=u>d?d:u;f>this.config.scaleMax&&(f=this.config.scaleMax),f<this.config.scaleMin&&(f=this.config.scaleMin);var p=[50,50],m=this.width(),g=this.height(),u=m/n[2],d=g/n[3],_=u>d?d:u,v=n,y=n[2],b=n[3];n[2]/=f/_,n[3]/=f/_,n[0]=v[0]-(n[2]-y)/(100/p[0]),n[1]=v[1]-(n[3]-b)/(100/p[1]),n[0]=a-(m/f-c)/2,n[1]=r-(g/f-l)/2;var x=this;this._centerInNodesTimeout&&=(clearTimeout(this._centerInNodesTimeout),null),this._centerInNodesTimeout=h.animate(this.getSvg(),{viewBox:this.getViewBox()},{viewBox:n},300,this.config.anim.func,function(){x.draw(h.action.update,null,function(){t&&t.call(x)})})},h.prototype.center=function(e,t,n){var r,i,a=e,o=!0,s=!0;t&&t.parentState!=null&&(r=t.parentState),t&&t.childrenState!=null&&(i=t.childrenState),t&&t.rippleId!=null&&(a=t.rippleId),t&&t.vertical!=null&&(o=t.vertical),t&&t.horizontal!=null&&(s=t.horizontal);var c={parentState:r,childrenState:i,rippleId:a,vertical:o,horizontal:s};this._draw(!1,h.action.centerNode,{id:e,options:c},n)},h.prototype.fit=function(e){this.config.scaleInitial=h.match.boundary,this._draw(!0,h.action.init,{method:`fit`},e)},h.prototype.fitIfOutside=function(e){this.config.scaleInitial=h.match.boundaryIfOutside,this._draw(!0,h.action.init,{method:`fit`},e)},h.prototype.toggleFullScreen=function(){var e=document.querySelector(`[`+h.attr.tlbr+`r='fullScreen']`);document.fullscreenElement==this.element||document.webkitFullscreenElement==this.element||document.mozFullScreenElement==this.element||document.msFullscreenElement==this.element?(document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),e&&(e.innerHTML=h.toolbarUI.openFullScreenIcon)):(this.element.requestFullscreen?this.element.requestFullscreen():this.element.mozRequestFullScreen?this.element.mozRequestFullScreen():this.element.webkitRequestFullscreen?this.element.webkitRequestFullscreen():this.element.msRequestFullscreen&&this.element.msRequestFullscreen(),e&&(e.innerHTML=h.toolbarUI.closeFullScreenIcon))},h.prototype.getNode=function(e){return this.nodes[e]},h.prototype.setLayout=function(e,t){t||=`base`,this._layoutConfigs[t].layout=e,t==`base`&&(this.config.layout=e),this._draw(!1,h.action.update)},h.prototype.setOrientation=function(e,t,n){var r=this;t||=`base`,this._layoutConfigs[t].orientation=e,t==`base`&&(this.config.orientation=e),this._draw(!1,h.action.update,void 0,function(){r.getScale(),h._moveToBoundaryArea(r.getSvg(),r.getViewBox(),r.response.boundary,function(){r._draw(!0,h.action.pan),n&&n()})})},h.prototype.search=function(e,t,n){return h.isNEU(t)&&(t=this.searchUI._searchFields),h.isNEU(n)&&(n=t),h._search.search(this.config.nodes,e,t,n,this.config.searchDisplayField,this.config.searchFieldsWeight,this.searchUI._searchFieldsAbbreviation)},h.prototype._hideBeforeAnimation=function(e){if(this._hideBeforeAnimationCompleted!=1&&!(e&&e<h.ANIM_THRESHOLD)){var t=this.element.getElementsByTagName(`text`);if(t.length>h.TEXT_THRESHOLD)for(var n=0;n<t.length;n++)t[n].style.display=`none`;var r=this.element.getElementsByTagName(`image`);if(r.length>h.IMAGES_THRESHOLD)for(var n=0;n<r.length;n++)r[n].style.display=`none`;var i=this.element.querySelectorAll(`[`+h.attr.link_id+`]`);if(i.length>h.LINKS_THRESHOLD)for(var n=0;n<i.length;n++)i[n].style.display=`none`;var a=this.element.querySelectorAll(`[`+h.attr.control_expcoll_id+`]`);if(a.length>h.BUTTONS_THRESHOLD)for(var n=0;n<a.length;n++)a[n].style.display=`none`;var o=this.element.querySelectorAll(`[`+h.attr.control_up_id+`]`);if(o.length>h.BUTTONS_THRESHOLD)for(var n=0;n<o.length;n++)o[n].style.display=`none`;this._hideBeforeAnimationCompleted=!0}},h.prototype._showAfterAnimation=function(){for(var e=this.element.getElementsByTagName(`text`),t=0;t<e.length;t++)e[t].style.display=``;for(var n=this.element.getElementsByTagName(`image`),t=0;t<n.length;t++)n[t].style.display=``;for(var r=this.element.querySelectorAll(`[`+h.attr.link_id+`]`),t=0;t<r.length;t++)r[t].style.display=``;for(var i=this.element.querySelectorAll(`[`+h.attr.control_expcoll_id+`]`),t=0;t<i.length;t++)i[t].style.display=``;for(var a=this.element.querySelectorAll(`[`+h.attr.control_up_id+`]`),t=0;t<a.length;t++)a[t].style.display=``;this._hideBeforeAnimationCompleted=!1},h.prototype.isChild=function(e,t){for(var n=this.getNode(t);n;){if(n.id==e)return!0;n=n.parent?n.parent:n.stParent}return!1},h.prototype.getCollapsedIds=function(e){for(var t=[],n=0;n<e.childrenIds.length;n++){var r=this.getNode(e.childrenIds[n]);r.collapsed==1&&t.push(r.id)}return t},h.prototype.stateToUrl=function(){if(this.manager.state){var e={};return e.exp=this.manager.state.exp.join(`*`),e.min=this.manager.state.min.join(`*`),e.adjustify=this.manager.state.adjustify.x+`*`+this.manager.state.adjustify.y,e.scale=this.manager.state.scale,e.y=this.manager.state.x,e.x=this.manager.state.y,new URLSearchParams(e).toString()}return``},h.prototype.generateId=function(){for(;;){var e=`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4);if(this.nodes==null||!this.nodes.hasOwnProperty(e))return e}},h.prototype.moveNodesToVisibleArea=function(e,t){for(var n=this,r=this.roots[0],i=this.getSvg(),a=this.getViewBox(),o=null,s=null,c=null,l=null,u=0;u<e.length;u++){var d=this.nodes[e[u]];d.x!=null&&d.y!=null&&((o===null||o<d.x+d.w)&&(o=d.x+d.w),(s===null||s<d.y+d.h)&&(s=d.y+d.h),(c===null||c>d.x)&&(c=d.x),(l===null||l>d.y)&&(l=d.y))}if(!(o==null||s==null||c==null||l==null)){var f=this.width(),p=this.height(),m=o-c+this.config.padding*2,g=s-l+this.config.padding*2,_=f/m,v=p/g,y=_>v?v:_,b=Math.ceil(f/y),x=Math.ceil(p/y),m=0,g=0;if(b-this.config.padding*2>=o-c)m=(o+c)/2-b/2;else switch(m=r.x-b/2+h.manager._getNodeWidth(r,this.config)/2,this.config.orientation){case h.orientation.right:case h.orientation.right_top:m=-(b/2-(c-o)/2),m<this.config.padding-b&&(m=this.config.padding-b);break;case h.orientation.left:case h.orientation.bottom_left:case h.orientation.top_left:case h.orientation.left_top:m=-(b/2-(o-c)/2),m>-this.config.padding&&(m=-this.config.padding);break}if(x-this.config.padding*2>=s-l)g=(s+l)/2-x/2;else switch(g=-(x/2-(s-l)/2),g>-this.config.padding&&(g=-this.config.padding),this.config.orientation){case h.orientation.bottom:case h.orientation.bottom_left:g=-(x/2-(l-s)/2),g<this.config.padding-x&&(g=this.config.padding-x);break;case h.orientation.left:case h.orientation.right:g=r.y-x/2+h.manager._getNodeWidth(r,this.config)/2;break}var S=[m,g,b,x];a[0]!==S[0]||a[1]!==S[1]?h.animate(i,{viewBox:a},{viewBox:S},this.config.anim.duration,this.config.anim.func,function(){n.draw(h.action.update,void 0,t)}):t&&t()}},h.prototype._nodeHasHiddenParent=function(e){return!e.parent&&!h.isNEU(e.pid)&&this.getNode(e.pid)},h.prototype.destroy=function(){this._initCalled=!1,this._resizeObserver.unobserve(this.element),h.events.removeForEventId(this._event_id),this.element.innerHTML=null},h.prototype.canUpdateLink=function(e,t){if(t==null||t==null||e==null||e==null||e==t)return!1;var n=this.getNode(t),r=this.getNode(e);return n&&r&&(n.isPartner||n.hasPartners&&r.isAssistant||n.hasAssistants&&r.isPartner)?!1:!this.isChild(e,t)},h.prototype._canUpdateLink=h.prototype.canUpdateLink,h.prototype.updateNode=function(e,t,n,r){if(e){var i=this,a=this.get(e.id);if(n===!0&&h.events.publish(`update`,[this,a,e])===!1)return!1;this.update(e),this._ai.setContext(),h.events.publish(`updated`,[this]),this.filterUI.update();var o=this.getNode(e.id),s=o.pid;s??=o.stpid,this._draw(!1,h.action.update,{id:s},function(){r||i.ripple(e.id),t&&t()})}},h.prototype.update=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e.id){this._putInUndoStack(),this.clearRedo(),this.config.nodes[t]=e;break}return this},h.prototype.removeNode=function(e,t,n){if(!this.canRemove(e))return!1;var r=this._getNewPidsAndStpidsForIds(e);return n===!0&&h.events.publish(`remove`,[this,e,r])===!1?!1:(this.remove(e),this._ai.setContext(),h.events.publish(`updated`,[this]),this.filterUI.update(),this._draw(!1,h.action.update,null,function(){t&&t()}),!0)},h.prototype.remove=function(e){var t=this.get(e);if(t){this._putInUndoStack(),this.clearRedo();for(var n=this.config.nodes.length-1;n>=0;n--)(this.config.nodes[n].pid==e||this.config.nodes[n].stpid==e)&&(this.config.nodes[n].pid=t.pid,this.config.nodes[n].stpid=t.stpid),this.config.nodes[n].id==e&&this.config.nodes.splice(n,1)}return this},h.prototype._getNewPidsAndStpidsForIds=function(e){var t=this.get(e),n={},r={};if(t)for(var i=this.config.nodes.length-1;i>=0;i--)this.config.nodes[i].pid==e?n[this.config.nodes[i].id]=t.pid:this.config.nodes[i].stpid==e&&(r[this.config.nodes[i].id]=t.stpid);return{newPidsForIds:n,newStpidsForIds:r}},h.prototype.addNode=function(e,t,n){var r=this;if(n===!0&&h.events.publish(`add`,[this,e])===!1)return!1;this.add(e),this._ai.setContext(),h.events.publish(`updated`,[this]),this.filterUI.update(),r._draw(!1,h.action.insert,{id:e.pid,insertedNodeId:e.id},function(){r.ripple(e.id),t&&t()})},h.prototype.add=function(e){if(e.id??console.error(`Call addNode without id`),this._putInUndoStack(),this.clearRedo(),this.config.movable&&!h.isNEU(e.pid)){var t=this._get(e.pid);t&&(t.movex!=null&&(e.movex=t.movex),t.movey!=null&&(e.movey=t.movey))}return this.config.nodes.push(e),this},h.prototype.replaceIds=function(e,t){this._replaceIds(e),this._draw(!1,h.action.update,void 0,t)},h.prototype._replaceIds=function(e){for(var t=function(t){for(var n=0;n<t.length;n++){var r=t[n];for(var i in e){var a=e[i];r.from==i&&(r.from=a),r.to==i&&(r.to=a)}}},n=0;n<this.config.nodes.length;n++){var r=this.config.nodes[n];for(var i in e){var a=e[i];r.id==i&&(r.id=a),r.pid==i&&(r.pid=a),r.stpid==i&&(r.stpid=a),r.ppid==i&&(r.ppid=a)}}if(Array.isArray(this.config.roots))for(var n=0;n<this.config.roots.length;n++)h.isNEU(e[this.config.roots[n]])||(this.config.roots[n]=e[this.config.roots[n]]);if(this.nodes){for(var o in this.nodes)if(!h.isNEU(e[o])){var a=e[o],s=this.nodes[o];s.id=a,this.nodes[a]=s}}if(this.manager.oldNodes){for(var o in this.manager.oldNodes)if(!h.isNEU(e[o])){var a=e[o],s=this.manager.oldNodes[o];s.id=a,this.manager.oldNodes[a]=s}}if(this.roots){for(var o in this.roots)if(!h.isNEU(e[o])){var a=e[o],s=this.roots[o];s.id=a,this.roots[a]=s}}t(this.config.clinks),t(this.config.slinks),t(this.config.groupDottedLines),t(this.config.dottedLines)},h.prototype._get=function(e){var t=this.__get(e);if(t)return t;if((this.config.groupDottedLines.length||this.config.dottedLines.length)&&!h.isNEU(e)&&typeof e==`string`&&(e.indexOf(`balkan_group_dotted_`)!=-1||e.indexOf(`balkan_dotted_`)!=-1)){e=e.replace(`balkan_group_dotted_`,``),e=e.replace(`balkan_dotted_`,``);var n=e.indexOf(`_balkan_id_`);if(e=e.substring(n+11),t=this.__get(e),t)return t}return null},h.prototype.__get=function(e){for(var t=0;t<this.config.nodes.length;t++)if(this.config.nodes[t].id==e)return this.config.nodes[t];return null},h.prototype.get=function(e){var t=this._get(e);return t==null?null:JSON.parse(JSON.stringify(t))},h.prototype.canRemove=function(e){var t=this.getNode(e);return!(!t||t.hasPartners||t.hasAssistants)},h===void 0&&(h={}),h.animate=function(e,t,n,r,i,a,o){var s=10,c=1,l=1,u=r/s+1,d;document.getElementsByTagName(`g`),Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),Array.isArray(n)||(n=[n]);function f(){for(var f=0;f<e.length;f++)for(var p in n[f]){var m=h._arrayContains([`top`,`left`,`right`,`bottom`,`width`,`height`],p.toLowerCase())?`px`:``;switch(p.toLowerCase()){case`d`:var g=i((l*s-s)/r)*(n[f][p][0]-t[f][p][0])+t[f][p][0],_=i((l*s-s)/r)*(n[f][p][1]-t[f][p][1])+t[f][p][1];e[f].setAttribute(`d`,e[f].getAttribute(`d`)+` L`+g+` `+_);break;case`r`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`r`,v);break;case`x1`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x1`,v);break;case`x2`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`x2`,v);break;case`y1`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y1`,v);break;case`y2`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].setAttribute(`y2`,v);break;case`scrolltop`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTop=v;break;case`rotate3d`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].style.transform=`rotate3d(`+x.toString()+`deg)`}break;case`transform`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].hasAttribute(`transform`)?e[f].setAttribute(`transform`,`matrix(`+x.toString()+`)`):e[f].style.transform=`matrix(`+x.toString()+`)`}break;case`viewbox`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];e[f].setAttribute(`viewBox`,x.toString())}break;case`margin`:if(n[f][p]){var y=t[f][p],b=n[f][p],x=[0,0,0,0];for(var S in y)x[S]=i((l*s-s)/r)*(b[S]-y[S])+y[S];for(var C=``,S=0;S<x.length;S++)C+=parseInt(x[S])+`px `;e[f]&&e[f].style&&(e[f].style[p]=C)}break;case`scrolly`:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f].scrollTo(0,v);break;default:var v=i((l*s-s)/r)*(n[f][p]-t[f][p])+t[f][p];e[f]&&e[f].style&&(e[f].style[p]=v+m);break}}if(o){var v=i((l*s-s)/r);o(v)}l+=c,l>u+1&&(clearInterval(d),a&&a(e))}return d=setInterval(f,s),d},h.anim={},h.anim.inPow=function(e){return e<0?0:e>1?1:e**2},h.anim.outPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;var n=t%2==0?-1:1;return n*((e-1)**t+n)},h.anim.inOutPow=function(e){var t=2;if(e<0)return 0;if(e>1)return 1;if(e*=2,e<1)return h.anim.inPow(e,t)/2;var n=t%2==0?-1:1;return n/2*((e-2)**t+n*2)},h.anim.inSin=function(e){return e<0?0:e>1?1:-Math.cos(Math.PI/2*e)+1},h.anim.outSin=function(e){return e<0?0:e>1?1:Math.sin(Math.PI/2*e)},h.anim.inOutSin=function(e){return e<0?0:e>1?1:-.5*(Math.cos(Math.PI*e)-1)},h.anim.inExp=function(e){return e<0?0:e>1?1:2**(10*(e-1))},h.anim.outExp=function(e){return e<0?0:e>1?1:-(2**(-10*e))+1},h.anim.inOutExp=function(e){return e<0?0:e>1?1:e<.5?.5*2**(10*(2*e-1)):.5*(-(2**(10*(-2*e+1)))+2)},h.anim.inCirc=function(e){return e<0?0:e>1?1:-(Math.sqrt(1-e*e)-1)},h.anim.outCirc=function(e){return e<0?0:e>1?1:Math.sqrt(1-(e-1)*(e-1))},h.anim.inOutCirc=function(e){return e<0?0:e>1?1:e<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(2*e-2)*(2*e-2))+1)},h.anim.rebound=function(e){return e<0?0:e>1?1:e<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-1.5/2.75)*(e-1.5/2.75)+.75):e<2.5/2.75?1-(7.5625*(e-2.25/2.75)*(e-2.25/2.75)+.9375):1-(7.5625*(e-2.625/2.75)*(e-2.625/2.75)+.984375)},h.anim.inBack=function(e){return e<0?0:e>1?1:e*e*(2.70158*e-1.70158)},h.anim.outBack=function(e){return e<0?0:e>1?1:(e-1)*(e-1)*(2.70158*(e-1)+1.70158)+1},h.anim.inOutBack=function(e){return e<0?0:e>1?1:e<.5?.5*(4*e*e*(3.5949*2*e-2.5949)):.5*((2*e-2)*(2*e-2)*(3.5949*(2*e-2)+2.5949)+2)},h.anim.impulse=function(e){var t=2*e;return t*Math.exp(1-t)},h.anim.expPulse=function(e){return Math.exp(-2*e**2)},h===void 0&&(h={}),h.prototype._attachEventHandlers=function(e){if(this.config.interactive){var e=this.getSvg(),t=this;e.addEventListener(`touchstart`,function(e){e.preventDefault(),t._globalMouseDownHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`mousedown`,function(e){t._globalMouseDownHandler.apply(t,[this,e])},{passive:!0}),e.addEventListener(`contextmenu`,function(e){t._globalContextHandler.apply(t,[this,e])},{passive:!1}),e.addEventListener(`dblclick`,function(e){t._globalDbClickHandler.apply(t,[this,e])},{passive:!0}),this.config.mouseScrool!=h.action.none&&e.addEventListener(`wheel`,function(e){t._mouseScrollHandler.apply(t,[this,e])},{passive:!1});var n=this.getMenuButton();n&&n.addEventListener(`click`,function(e){t._menuClickHandler.apply(t,[this,e])})}},h===void 0&&(h={}),h.VERSION=`9.1.101`,h.orientation={},h.orientation.top=0,h.orientation.bottom=1,h.orientation.right=2,h.orientation.left=3,h.orientation.top_left=4,h.orientation.bottom_left=5,h.orientation.right_top=6,h.orientation.left_top=7,h.anchor={top_right:`top_right`,right_top:`right_top`,bottom_right:`bottom_right`,right_bottom:`right_bottom`,top_left:`top_left`,left_top:`left_top`,bottom_left:`bottom_left`,left_bottom:`left_bottom`,top:`top`,bottom:`bottom`,left:`left`,right:`right`},h.align={},h.align.center=h.CENTER=8,h.align.orientation=h.ORIENTATION=9,h.attr={},h.attr.l=`data-l`,h.attr.id=`data-id`,h.attr.sl=`data-sl`,h.attr.lbl=`data-lbl`,h.attr.val=`data-val`,h.attr.tlbr=`data-tlbr`,h.attr.item=`data-item`,h.attr.layout=`data-layout`,h.attr.node_id=`data-n-id`,h.attr.link_id=`data-l-id`,h.attr.field_name=`data-f-name`,h.attr.c_link_to=`data-c-l-to`,h.attr.c_link_from=`data-c-l-from`,h.attr.s_link_to=`data-s-l-to`,h.attr.s_link_from=`data-s-l-from`,h.attr.control_add=`data-ctrl-add`,h.attr.control_expcoll_id=`data-ctrl-ec-id`,h.attr.control_up_id=`data-ctrl-up-id`,h.attr.control_export_menu=`data-ctrl-menu`,h.attr.control_node_menu_id=`data-ctrl-n-menu-id`,h.attr.control_node_circle_menu_id=`data-ctrl-n-c-menu-id`,h.attr.control_node_circle_menu_name=`data-ctrl-n-c-menu-name`,h.attr.control_node_circle_menu_wrraper_id=`data-ctrl-n-c-menu-wrapper-id`,h.attr.width=`data-width`,h.attr.text_overflow=`data-text-overflow`,h.ID=`id`,h.PID=`pid`,h.STPID=`stpid`,h.TAGS=`tags`,h.NODES=`nodes`,h.ELASTIC=`elastic`,h.ASSISTANT=`Assistant`,h.action={},h.action.expand=0,h.action.collapse=1,h.action.maximize=101,h.action.minimize=102,h.action.expandCollapse=501,h.action.edit=1,h.action.zoom=2,h.action.ctrlZoom=22,h.action.scroll=41,h.action.xScroll=3,h.action.yScroll=4,h.action.none=5,h.action.init=6,h.action.update=7,h.action.move=70,h.action.pan=8,h.action.centerNode=9,h.action.resize=10,h.action.insert=11,h.action.insertfirst=12,h.action.details=13,h.action.exporting=14,h.none=400001,h.scroll={},h.scroll.visible=!0,h.scroll.smooth=12,h.scroll.speed=120,h.scroll.safari={smooth:12,speed:250},h.match={},h.match.height=100001,h.match.width=100002,h.match.boundary=100003,h.match.boundaryIfOutside=100004,h.match.none=1,h.movable={},h.movable.node=`node`,h.movable.tree=`tree`,h.movable.detachTree=`detachTree`,h.layout={},h.layout.normal=h.normal=0,h.layout.mixed=h.mixed=1,h.layout.tree=h.tree=2,h.layout.treeLeftOffset=h.treeLeftOffset=3,h.layout.treeRightOffset=h.treeRightOffset=4,h.layout.treeLeft=5,h.layout.treeRight=6,h.layout.grid=-1,h.layout.treeList=-2,h.nodeOpenTag=`<g `+h.attr.node_id+`="{id}" style="opacity: {opacity}" transform="matrix(1,0,0,1,{x},{y})" class="{class}" `+h.attr.sl+`="{sl}" `+h.attr.l+`="{level}" {lcn}>`,h.linkOpenTag=`<g `+h.attr.link_id+`="[{id}][{child-id}]" class="{class}">`,h.expcollOpenTag=`<g `+h.attr.control_expcoll_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,h.upOpenTag=`<g `+h.attr.control_up_id+`="{id}" transform="matrix(1,0,0,1,{x},{y})" style="cursor:pointer;">`,h.linkFieldsOpenTag=`<g transform="matrix(1,0,0,1,{x},{y}) rotate({rotate})">`,h.grCloseTag=`</g>`,h.A5={width:420,height:595},h.A4={width:595,height:842},h.A3={width:842,height:1191},h.A2={width:1191,height:1684},h.A1={width:1684,height:2384},h.Letter={width:612,height:791},h.Legal={width:612,height:1009},h.Legal={width:612,height:1009},h.Widescreen={width:720,height:1280},h.Standard={width:720,height:960},h.COLLAPSE_PARENT_NEIGHBORS=1,h.COLLAPSE_SUB_CHILDRENS=2,h.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED=3,h.TEXT_THRESHOLD=4e3,h.IMAGES_THRESHOLD=1e3,h.LINKS_THRESHOLD=2e3,h.BUTTONS_THRESHOLD=700,h.ANIM_THRESHOLD=500,h.IT_IS_LONELY_HERE=`<g transform="translate(-100, 0)" style="cursor:pointer;" `+h.attr.control_add+`="control-add"><text fill="#039be5">{link}</text></g>`,h.RES={},h.IT_IS_LONELY_HERE_LINK=h.RES.IT_IS_LONELY_HERE_LINK=`It's lonely here, add your first node`,h.FIRE_DRAG_NOT_CLICK_IF_MOVE=3,h.STRING_TAGS=!1,h.MAX_NODES_MESS=`The trial has expired or 200 nodes limit was reached! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,h.OFFLINE_MESS=`The evaluation version requires internet connection! <br /><a style='color: #039BE5;' target='_blank' href='https://balkan.app/OrgChartJS/Docs/Evaluation'>See more</a>`,h.SEARCH_PLACEHOLDER=`Search... type ? to get help.`,h.SEARCH_HELP_SYMBOL=`?`,h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE=!1,h.SEARCH_RESULT_LIMIT=10,h.IMPORT_MESSAGE=`Choose the columns (fields) in your data file that contain the required information.`,h.FIXED_POSITION_ON_CLICK=!1,h.RENDER_LINKS_BEFORE_NODES=!1,h.RENDER_CLINKS_BEFORE_NODES=!1,h.MIXED_LAYOUT_ALL_NODES=!1,h.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN=!1,h.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN=1,h.LINK_ROUNDED_CORNERS=5,h.MOVE_STEP=5,h.CLINK_CURVE=1,h.MAX_DEPTH=200,h.SCALE_FACTOR=1.44,h.LAZY_LOADING_FACTOR=`auto`,h.LAZY_LOADING=!0,h.ARRAY_FIELDS=[`tags`],h.CSV_DELIMITER=`,`,h.EDITFORM_CLOSE_BTN=`<svg data-edit-from-close class="boc-edit-form-close"><path style="fill:#ffffff;" d="M21.205,5.007c-0.429-0.444-1.143-0.444-1.587,0c-0.429,0.429-0.429,1.143,0,1.571l8.047,8.047H1.111 C0.492,14.626,0,15.118,0,15.737c0,0.619,0.492,1.127,1.111,1.127h26.554l-8.047,8.032c-0.429,0.444-0.429,1.159,0,1.587 c0.444,0.444,1.159,0.444,1.587,0l9.952-9.952c0.444-0.429,0.444-1.143,0-1.571L21.205,5.007z"></path></svg>`,h.ESCAPE_HTML=!1,h.VERTICAL_CHILDREN_ASSISTANT=!1,h.EXPORT_PAGES_CUT_NODES=!1,h.RESET_MOVABLE_ONEXPANDCOLLAPSE=!1,h.FILTER_ALPHABETICALLY=!0,h.SERVER_PREFIX=`.azurewebsites.net/api/you-see-this-request-because-it-is-trial-version-of-orgchartjs`,h.FUNC_URL_NAME=`func-url-orgchartjs`,h.MINIMUM_SYMBOLS_IN_SEARCH_INPUT=1,h.AI_SYSTEM_MESSAGES=[],h.ORGSCRIBE_OFFSET=` `,h.TREELIST_WHEEL_STEP=`auto`,h.TREELIST_SCROLLBAR_WIDTH=10,h.CONVERT_IMAGES_TO_BASE64_BEFORE_EXPORT=!1,h.REQUEST_CUSTOM_HEADERS={},h.SLINK_GAP=7,h._intersects=function(e,t,n){var r=e.x-n.siblingSeparation/4,i=e.y,a=e.x+e.w+n.siblingSeparation/4,o=e.y;switch(n.orientation){case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:r=e.x,i=e.y-n.siblingSeparation/4,a=e.x,o=e.y+e.h+n.siblingSeparation/4;break}var s=t.p,c=t.q,l=t.r,u=t.s,d=(a-r)*(u-c)-(l-s)*(o-i),f,p;return d===0?!1:(p=((u-c)*(l-r)+(s-l)*(u-i))/d,f=((i-o)*(l-r)+(a-r)*(u-i))/d,0<p&&p<1&&0<f&&f<1)},h._addPoint=function(e,t,n,r,i){switch(n.orientation){case h.orientation.top:case h.orientation.top_left:return h._addPointTop(e,t,n,r,i);case h.orientation.bottom:case h.orientation.bottom_left:return h._addPointBottom(e,t,n,r,i);case h.orientation.left:case h.orientation.left_top:return h._addPointLeft(e,t,n,r,i);case h.orientation.right:case h.orientation.right_top:return h._addPointRight(e,t,n,r,i)}},h._addPointTop=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y-n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},h._addPointBottom=function(e,t,n,r,i){var a,o,s;return i==`left`?a=e.leftNeighbor?e.x+(e.leftNeighbor.x+e.leftNeighbor.w-e.x)/2:e.x-n.siblingSeparation/2:i==`right`&&(a=e.rightNeighbor?e.x+e.w+(e.rightNeighbor.x-(e.x+e.w))/2:e.x+e.w+n.siblingSeparation/2),t.push([a,t[t.length-1][1]]),t.push([a,e.y+e.h+n.levelSeparation/3]),o=t[t.length-1][1],s=a,r.p=a,r.q=o,r.r=s,r},h._addPointLeft=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x-n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},h._addPointRight=function(e,t,n,r,i){var a=t[t.length-1][0],o;i==`bottom`?o=e.rightNeighbor?e.y+e.h+(e.rightNeighbor.y-(e.y+e.h))/2:e.y+e.h+n.siblingSeparation/2:i==`top`&&(o=e.leftNeighbor?e.y+(e.leftNeighbor.y+e.leftNeighbor.h-e.y)/2:e.y-n.siblingSeparation/2),t.push([t[t.length-1][0],o]),t.push([e.x+e.w+n.levelSeparation/3,o]),a=t[t.length-1][0];var s=o;return r.p=a,r.q=o,r.s=s,r},h._addConnectorLines=function(e,t){h._addConnectorLine(e,{x1:t.xa,y1:t.ya,x2:t.xb,y2:t.yb}),h._addConnectorLine(e,{x1:t.xb,y1:t.yb,x2:t.xc,y2:t.yc}),h._addConnectorLine(e,{x1:t.xc,y1:t.yc,x2:t.xd,y2:t.yd})},h._addConnectorLine=function(e,t){if(t.x1==t.x2){if(e.x[t.x1]||(e.x[t.x1]=[]),t.y1>t.y2){var n=t.y1;t.y1=t.y2,t.y2=n}e.x[t.x1].push({y1:t.y1,y2:t.y2})}if(t.y1==t.y2){if(e.y[t.y1]||(e.y[t.y1]=[]),t.x1>t.x2){var r=t.x1;t.x1=t.x2,t.x2=r}e.y[t.y1].push({x1:t.x1,x2:t.x2})}},h._addLineToPath=function(e,t,n){return h._avoidOverlapping(t,n),e.push([n.x1,n.y1]),e.push([n.x2,n.y2]),h._addConnectorLine(t,n),n},h._slinkRemoveUnusedPoints=function(e){for(var t=e.length-2;t>=1;t--){var n=e[t-1],r=e[t],i=e[t+1];(r[0]==n[0]&&r[0]==i[0]||r[1]==n[1]&&r[1]==i[1])&&e.splice(t,1)}},h._slinkAvoidOverlaping=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){r==h.orientation.top||r==h.orientation.top_left?n==`left`?o[0]-=h.SLINK_GAP:n==`right`&&(o[0]+=h.SLINK_GAP):(r==h.orientation.bottom||r==h.orientation.bottom_left)&&(n==`right`?o[0]+=h.SLINK_GAP:n==`left`&&(o[0]-=h.SLINK_GAP)),c=!1;break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}var u=!0;if(a[1]==o[1]&&a[0]>=o[0]&&(u=!1),u&&a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){a[0]>=o[0]||(r==h.orientation.top||r==h.orientation.top_left?o[1]-=h.SLINK_GAP:(r==h.orientation.bottom||r==h.orientation.bottom_left)&&(o[1]+=h.SLINK_GAP),c=!1);break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}u&&h._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},h._slinkAvoidOverlapingSecond=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[1]==a[1]){for(var s=e.y[a[1]];s;){var c=!0;for(var l of s)if(l.x1<=i[0]&&l.x2>=i[0]||l.x1<=a[0]&&l.x2>=a[0]){i[0]>=a[0]?(n==h.orientation.top||n==h.orientation.top_left?a[1]-=h.SLINK_GAP:(n==h.orientation.bottom||n==h.orientation.bottom_left)&&(a[1]+=h.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.y[a[1]]}i[1]=a[1]}o||h._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},h._slinkAvoidOverlaping2=function(e,t,n,r){for(var i=1;i<t.length;i++){var a=t[i-1],o=t[i];if(a[1]==o[1]){for(var s=e.y[o[1]];s;){var c=!0;for(var l of s)if(l.x1<=a[0]&&l.x2>=a[0]||l.x1<=o[0]&&l.x2>=o[0]){r==h.orientation.left||r==h.orientation.left_top?n==`top`?o[1]-=h.SLINK_GAP:n==`bottom`&&(o[1]+=h.SLINK_GAP):(r==h.orientation.right||r==h.orientation.right_top)&&(n==`bottom`?o[1]+=h.SLINK_GAP:n==`top`&&(o[1]-=h.SLINK_GAP)),c=!1;break}if(c)break;s=e.y[o[1]]}a[1]=o[1]}var u=!0;if(a[0]==o[0]&&a[1]>=o[1]&&(u=!1),u&&a[0]==o[0]){for(var s=e.x[o[0]];s;){var c=!0;for(var l of s)if(l.y1<=a[1]&&l.y2>=a[1]||l.y1<=o[1]&&l.y2>=o[1]){a[1]>=o[1]||(r==h.orientation.left||r==h.orientation.left_top?o[0]-=h.SLINK_GAP:(r==h.orientation.right||r==h.orientation.right_top)&&(o[0]+=h.SLINK_GAP),c=!1);break}if(c)break;s=e.x[o[0]]}a[0]=o[0]}u&&h._addConnectorLine(e,{x1:a[0],y1:a[1],x2:o[0],y2:o[1]})}},h._slinkAvoidOverlapingSecond2=function(e,t,n){for(var r=1;r<t.length;r++){var i=t[r-1],a=t[r],o=!1;if(i[0]==a[0]){for(var s=e.x[a[0]];s;){var c=!0;for(var l of s)if(l.y1<=i[1]&&l.y2>=i[1]||l.y1<=a[1]&&l.y2>=a[1]){i[1]>=a[1]?(n==h.orientation.left||n==h.orientation.left_top?a[0]-=h.SLINK_GAP:(n==h.orientation.right||n==h.orientation.right_top)&&(a[0]+=h.SLINK_GAP),c=!1):o=!0;break}if(c)break;s=e.x[a[0]]}i[0]=a[0]}o||h._addConnectorLine(e,{x1:i[0],y1:i[1],x2:a[0],y2:a[1]})}},h.prototype.getSvg=function(){return this.element.querySelector(`svg`)},h.prototype.getPointerElement=function(){return this.element.querySelector(`g[data-pointer]`)},h.prototype.getNodeElement=function(e){return this.element.querySelector(`[`+h.attr.node_id+`='`+e+`']`)},h.prototype.getMenuButton=function(){return this.element.querySelector(`[`+h.attr.control_export_menu+`]`)},h.notifierUI=function(){},h.notifierUI.prototype.init=function(e){this.obj=e},h.notifierUI.prototype.show=function(e,t){if(e==null)return!1;e==1&&(e=h.MAX_NODES_MESS,t=`#FFCA28`),e==2&&(e=h.OFFLINE_MESS,t=`#FFCA28`);var n=document.createElement(`div`);n.innerHTML=e,Object.assign(n.style,{position:`absolute`,"background-color":t,color:`#ffffff`,padding:`15px`,"border-radius":`40px`,opacity:0,overflow:`hidden`,"white-space":`nowrap`,"text-align":`center`}),this.obj.element.appendChild(n);var r=this.obj.width()/2-n.offsetWidth/2,i=this.obj.height()/2-n.offsetHeight/2;n.style.left=r+`px`,n.style.top=i+`px`;var a=n.offsetWidth;return n.style.width=`20px`,h.animate(n,{opacity:0,width:10},{opacity:1,width:a},this.obj.config.anim.duration,this.obj.config.anim.func),!0},h===void 0&&(h={}),h.icon={},h.icon.png_export=h.icon.png_preview=h.icon.pngpreview=h.icon.png=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
25
213
  <path fill="${n}" d="M146.747,276.708c0-13.998-9.711-22.352-26.887-22.352c-6.99,0-11.726,0.675-14.204,1.355v44.927 c2.932,0.676,6.539,0.896,11.52,0.896C135.449,301.546,146.747,292.28,146.747,276.708z"/>
26
214
  <path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M234.344,335.86v45.831h-31.601V229.524h40.184 l31.611,55.759c9.025,16.031,18.064,34.983,24.825,52.154h0.675c-2.257-20.103-2.933-40.643-2.933-63.44v-44.473h31.614v152.167 h-36.117l-32.516-58.703c-9.049-16.253-18.971-35.892-26.438-53.727l-0.665,0.222C233.906,289.58,234.344,311.027,234.344,335.86z M71.556,381.691V231.56c10.613-1.804,25.516-3.159,46.506-3.159c21.215,0,36.353,4.061,46.509,12.192 c9.698,7.673,16.255,20.313,16.255,35.219c0,14.897-4.959,27.549-13.999,36.123c-11.738,11.063-29.123,16.031-49.441,16.031 c-4.522,0-8.593-0.231-11.736-0.675v54.411H71.556V381.691z M453.601,523.353H97.2V419.302h356.4V523.353z M485.652,374.688 c-10.61,3.607-30.713,8.585-50.805,8.585c-27.759,0-47.872-7.003-61.857-20.545c-13.995-13.1-21.684-32.97-21.452-55.318 c0.222-50.569,37.03-79.463,86.917-79.463c19.644,0,34.783,3.829,42.219,7.446l-7.214,27.543c-8.369-3.617-18.752-6.55-35.458-6.55 c-28.656,0-50.341,16.256-50.341,49.22c0,31.382,19.649,49.892,47.872,49.892c7.895,0,14.218-0.901,16.934-2.257v-31.835h-23.493 v-26.869h56.679V374.688z"/>
27
- </svg>`},u.icon.pdf_export=u.icon.pdf_preview=u.icon.pdfpreview=u.icon.pdf=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
215
+ </svg>`},h.icon.pdf_export=h.icon.pdf_preview=h.icon.pdfpreview=h.icon.pdf=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
28
216
  <path fill="${n}" d="M160.381,282.225c0-14.832-10.299-23.684-28.474-23.684c-7.414,0-12.437,0.715-15.071,1.432V307.6 c3.114,0.707,6.942,0.949,12.192,0.949C148.419,308.549,160.381,298.74,160.381,282.225z"/>
29
217
  <path fill="${n}" d="M272.875,259.019c-8.145,0-13.397,0.717-16.519,1.435v105.523c3.116,0.729,8.142,0.729,12.69,0.729 c33.017,0.231,54.554-17.946,54.554-56.474C323.842,276.719,304.215,259.019,272.875,259.019z"/>
30
218
  <path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M362.359,309.023c0,30.876-11.243,52.165-26.82,65.333 c-16.971,14.117-42.82,20.814-74.396,20.814c-18.9,0-32.297-1.197-41.401-2.389V234.365c13.399-2.149,30.878-3.346,49.304-3.346 c30.612,0,50.478,5.508,66.039,17.226C351.828,260.69,362.359,280.547,362.359,309.023z M80.7,393.499V234.365 c11.241-1.904,27.042-3.346,49.296-3.346c22.491,0,38.527,4.308,49.291,12.928c10.292,8.131,17.215,21.534,17.215,37.328 c0,15.799-5.25,29.198-14.829,38.285c-12.442,11.728-30.865,16.996-52.407,16.996c-4.778,0-9.1-0.243-12.435-0.723v57.67H80.7 V393.499z M453.601,523.353H97.2V419.302h356.4V523.353z M484.898,262.127h-61.989v36.851h57.913v29.674h-57.913v64.848h-36.593 V232.216h98.582V262.127z"/>
31
- </svg>`},u.icon.svg_export=u.icon.svg_preview=u.icon.svg=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
219
+ </svg>`},h.icon.svg_export=h.icon.svg_preview=h.icon.svg=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
32
220
  <path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.398-0.063-0.799-0.116-1.202c-0.021-2.534-0.827-5.023-2.562-6.995L366.325,3.694 c-0.032-0.031-0.063-0.042-0.085-0.076c-0.633-0.707-1.371-1.295-2.151-1.804c-0.231-0.155-0.464-0.285-0.706-0.419 c-0.676-0.369-1.393-0.675-2.131-0.896c-0.2-0.056-0.38-0.138-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.873v160.545 c0,17.043,13.824,30.87,30.873,30.87h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87v-160.54C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.513c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M338.871,225.672L284.545,386.96h-42.591 l-51.69-161.288h39.967l19.617,68.196c5.508,19.143,10.531,37.567,14.36,57.67h0.717c4.061-19.385,9.089-38.527,14.592-56.953 l20.585-68.918h38.77V225.672z M68.458,379.54l7.415-30.153c9.811,5.021,24.888,10.051,40.439,10.051 c16.751,0,25.607-6.935,25.607-17.465c0-10.052-7.662-15.795-27.05-22.734c-26.8-9.328-44.263-24.168-44.263-47.611 c0-27.524,22.971-48.579,61.014-48.579c18.188,0,31.591,3.823,41.159,8.131l-8.126,29.437c-6.465-3.116-17.945-7.657-33.745-7.657 c-15.791,0-23.454,7.183-23.454,15.552c0,10.296,9.089,14.842,29.917,22.731c28.468,10.536,41.871,25.365,41.871,48.094 c0,27.042-20.812,50.013-65.09,50.013C95.731,389.349,77.538,384.571,68.458,379.54z M453.601,523.353H97.2V419.302h356.4V523.353z M488.911,379.54c-11.243,3.823-32.537,9.103-53.831,9.103c-29.437,0-50.73-7.426-65.57-21.779 c-14.839-13.875-22.971-34.942-22.738-58.625c0.253-53.604,39.255-84.235,92.137-84.235c20.81,0,36.852,4.073,44.74,7.896 l-7.657,29.202c-8.859-3.829-19.849-6.95-37.567-6.95c-30.396,0-53.357,17.233-53.357,52.173c0,33.265,20.81,52.882,50.73,52.882 c8.375,0,15.072-0.96,17.94-2.395v-33.745h-24.875v-28.471h60.049V379.54L488.911,379.54z" />
33
- </svg>`},u.icon.csv_export=u.icon.csv=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 548.29 548.291" x="${r}" y="${i}">'
221
+ </svg>`},h.icon.csv_export=h.icon.csv=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 548.29 548.291" x="${r}" y="${i}">'
34
222
  <path fill="${n}" d="M486.2,196.121h-13.164V132.59c0-0.399-0.064-0.795-0.116-1.2c-0.021-2.52-0.824-5-2.551-6.96L364.656,3.677 c-0.031-0.034-0.064-0.044-0.085-0.075c-0.629-0.707-1.364-1.292-2.141-1.796c-0.231-0.157-0.462-0.286-0.704-0.419 c-0.672-0.365-1.386-0.672-2.121-0.893c-0.199-0.052-0.377-0.134-0.576-0.188C358.229,0.118,357.4,0,356.562,0H96.757 C84.893,0,75.256,9.649,75.256,21.502v174.613H62.093c-16.972,0-30.733,13.756-30.733,30.73v159.81 c0,16.966,13.761,30.736,30.733,30.736h13.163V526.79c0,11.854,9.637,21.501,21.501,21.501h354.777 c11.853,0,21.502-9.647,21.502-21.501V417.392H486.2c16.966,0,30.729-13.764,30.729-30.731v-159.81 C516.93,209.872,503.166,196.121,486.2,196.121z M96.757,21.502h249.053v110.006c0,5.94,4.818,10.751,10.751,10.751h94.973v53.861 H96.757V21.502z M258.618,313.18c-26.68-9.291-44.063-24.053-44.063-47.389c0-27.404,22.861-48.368,60.733-48.368 c18.107,0,31.447,3.811,40.968,8.107l-8.09,29.3c-6.43-3.107-17.862-7.632-33.59-7.632c-15.717,0-23.339,7.149-23.339,15.485 c0,10.247,9.047,14.769,29.78,22.632c28.341,10.479,41.681,25.239,41.681,47.874c0,26.909-20.721,49.786-64.792,49.786 c-18.338,0-36.449-4.776-45.497-9.77l7.38-30.016c9.772,5.014,24.775,10.006,40.264,10.006c16.671,0,25.488-6.908,25.488-17.396 C285.536,325.789,277.909,320.078,258.618,313.18z M69.474,302.692c0-54.781,39.074-85.269,87.654-85.269 c18.822,0,33.113,3.811,39.549,7.149l-7.392,28.816c-7.38-3.084-17.632-5.939-30.491-5.939c-28.822,0-51.206,17.375-51.206,53.099 c0,32.158,19.051,52.4,51.456,52.4c10.947,0,23.097-2.378,30.241-5.238l5.483,28.346c-6.672,3.34-21.674,6.919-41.208,6.919 C98.06,382.976,69.474,348.424,69.474,302.692z M451.534,520.962H96.757v-103.57h354.777V520.962z M427.518,380.583h-42.399 l-51.45-160.536h39.787l19.526,67.894c5.479,19.046,10.479,37.386,14.299,57.397h0.709c4.048-19.298,9.045-38.352,14.526-56.693 l20.487-68.598h38.599L427.518,380.583z" />'
35
- </svg>`},u.icon.json_export=u.icon.json=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 32 32" x="${r}" y="${i}">
223
+ </svg>`},h.icon.json_export=h.icon.json=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 32 32" x="${r}" y="${i}">
36
224
  <polygon fill="${n}" points="31 11 31 21 29 21 27 15 27 21 25 21 25 11 27 11 29 17 29 11 31 11"/>
37
225
  <path fill="${n}" d="M21.3335,21h-2.667A1.6684,1.6684,0,0,1,17,19.3335v-6.667A1.6684,1.6684,0,0,1,18.6665,11h2.667A1.6684,1.6684,0,0,1,23,12.6665v6.667A1.6684,1.6684,0,0,1,21.3335,21ZM19,19h2V13H19Z"/>
38
226
  <path fill="${n}" d="M13.3335,21H9V19h4V17H11a2.002,2.002,0,0,1-2-2V12.6665A1.6684,1.6684,0,0,1,10.6665,11H15v2H11v2h2a2.002,2.002,0,0,1,2,2v2.3335A1.6684,1.6684,0,0,1,13.3335,21Z"/>
39
227
  <path fill="${n}" d="M5.3335,21H2.6665A1.6684,1.6684,0,0,1,1,19.3335V17H3v2H5V11H7v8.3335A1.6684,1.6684,0,0,1,5.3335,21Z"/>
40
228
  <rect fill="${n}" id="_Transparent_Rectangle_" data-name="&lt;Transparent Rectangle&gt;" style="fill: none;" width="32" height="32"/>'
41
- </svg>`},u.icon.excel=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
229
+ </svg>`},h.icon.excel=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
42
230
  <path fill="${n}" d="M9.29289 1.29289C9.48043 1.10536 9.73478 1 10 1H18C19.6569 1 21 2.34315 21 4V9C21 9.55228 20.5523 10 20 10C19.4477 10 19 9.55228 19 9V4C19 3.44772 18.5523 3 18 3H11V8C11 8.55228 10.5523 9 10 9H5V20C5 20.5523 5.44772 21 6 21H7C7.55228 21 8 21.4477 8 22C8 22.5523 7.55228 23 7 23H6C4.34315 23 3 21.6569 3 20V8C3 7.73478 3.10536 7.48043 3.29289 7.29289L9.29289 1.29289ZM6.41421 7H9V4.41421L6.41421 7ZM19 12C19.5523 12 20 12.4477 20 13V19H23C23.5523 19 24 19.4477 24 20C24 20.5523 23.5523 21 23 21H19C18.4477 21 18 20.5523 18 20V13C18 12.4477 18.4477 12 19 12ZM11.8137 12.4188C11.4927 11.9693 10.8682 11.8653 10.4188 12.1863C9.96935 12.5073 9.86526 13.1318 10.1863 13.5812L12.2711 16.5L10.1863 19.4188C9.86526 19.8682 9.96935 20.4927 10.4188 20.8137C10.8682 21.1347 11.4927 21.0307 11.8137 20.5812L13.5 18.2205L15.1863 20.5812C15.5073 21.0307 16.1318 21.1347 16.5812 20.8137C17.0307 20.4927 17.1347 19.8682 16.8137 19.4188L14.7289 16.5L16.8137 13.5812C17.1347 13.1318 17.0307 12.5073 16.5812 12.1863C16.1318 11.8653 15.5073 11.9693 15.1863 12.4188L13.5 14.7795L11.8137 12.4188Z" fill="#000000"/>
43
- </svg>`},u.icon.pp_export=u.icon.pp_preview=u.icon.pppreview=u.icon.powerpoint=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
231
+ </svg>`},h.icon.pp_export=h.icon.pp_preview=h.icon.pppreview=h.icon.powerpoint=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
44
232
  <path fill="${n}" d="M10 1C9.73478 1 9.48043 1.10536 9.29289 1.29289L3.29289 7.29289C3.10536 7.48043 3 7.73478 3 8V20C3 21.6569 4.34315 23 6 23H11C11.5523 23 12 22.5523 12 22C12 21.4477 11.5523 21 11 21H6C5.44772 21 5 20.5523 5 20V9H10C10.5523 9 11 8.55228 11 8V3H18C18.5523 3 19 3.44772 19 4V9C19 9.55228 19.4477 10 20 10C20.5523 10 21 9.55228 21 9V4C21 2.34315 19.6569 1 18 1H10ZM9 7H6.41421L9 4.41421V7ZM15 12C14.4477 12 14 12.4477 14 13V17V20C14 20.5523 14.4477 21 15 21C15.5523 21 16 20.5523 16 20V18H19C20.6569 18 22 16.6569 22 15C22 13.3431 20.6569 12 19 12H15ZM19 16H16V14H19C19.5523 14 20 14.4477 20 15C20 15.5523 19.5523 16 19 16Z" fill="#000000"/>
45
- </svg>`},u.icon.edit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 528.899 528.899" x="${r}" y="${i}">
233
+ </svg>`},h.icon.edit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 528.899 528.899" x="${r}" y="${i}">
46
234
  <path fill="${n}" d="M328.883,89.125l107.59,107.589l-272.34,272.34L56.604,361.465L328.883,89.125z M518.113,63.177l-47.981-47.981 c-18.543-18.543-48.653-18.543-67.259,0l-45.961,45.961l107.59,107.59l53.611-53.611 C532.495,100.753,532.495,77.559,518.113,63.177z M0.3,512.69c-1.958,8.812,5.998,16.708,14.811,14.565l119.891-29.069 L27.473,390.597L0.3,512.69z" />'
47
- </svg>`},u.icon.details=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
235
+ </svg>`},h.icon.details=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
48
236
  <path fill="${n}" d="M447.933,103.629c-0.034-3.076-1.224-6.09-3.485-8.352L352.683,3.511c-0.004-0.004-0.007-0.005-0.011-0.008 C350.505,1.338,347.511,0,344.206,0H89.278C75.361,0,64.04,11.32,64.04,25.237v461.525c0,13.916,11.32,25.237,25.237,25.237 h333.444c13.916,0,25.237-11.32,25.237-25.237V103.753C447.96,103.709,447.937,103.672,447.933,103.629z M356.194,40.931 l50.834,50.834h-49.572c-0.695,0-1.262-0.567-1.262-1.262V40.931z M423.983,486.763c0,0.695-0.566,1.261-1.261,1.261H89.278 c-0.695,0-1.261-0.566-1.261-1.261V25.237c0-0.695,0.566-1.261,1.261-1.261h242.94v66.527c0,13.916,11.322,25.239,25.239,25.239 h66.527V486.763z"/>
49
237
  <path fill="${n}" d="M362.088,164.014H149.912c-6.62,0-11.988,5.367-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.368,11.988-11.988C374.076,169.381,368.707,164.014,362.088,164.014z"/>
50
238
  <path fill="${n}" d="M362.088,236.353H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.62,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.368,11.988-11.988C374.076,241.721,368.707,236.353,362.088,236.353z"/>
51
239
  <path fill="${n}" d="M362.088,308.691H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988h212.175 c6.62,0,11.988-5.367,11.988-11.988C374.076,314.06,368.707,308.691,362.088,308.691z"/>
52
240
  <path fill="${n}" d="M256,381.031H149.912c-6.62,0-11.988,5.368-11.988,11.988c0,6.621,5.368,11.988,11.988,11.988H256 c6.62,0,11.988-5.367,11.988-11.988C267.988,386.398,262.62,381.031,256,381.031z"/>
53
- </svg>`},u.icon.remove=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 900.5 900.5" x="${r}" y="${i}">
241
+ </svg>`},h.icon.remove=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 900.5 900.5" x="${r}" y="${i}">
54
242
  <path fill="${n}" d="M176.415,880.5c0,11.046,8.954,20,20,20h507.67c11.046,0,20-8.954,20-20V232.487h-547.67V880.5L176.415,880.5z M562.75,342.766h75v436.029h-75V342.766z M412.75,342.766h75v436.029h-75V342.766z M262.75,342.766h75v436.029h-75V342.766z"/>
55
243
  <path fill="${n}" d="M618.825,91.911V20c0-11.046-8.954-20-20-20h-297.15c-11.046,0-20,8.954-20,20v71.911v12.5v12.5H141.874 c-11.046,0-20,8.954-20,20v50.576c0,11.045,8.954,20,20,20h34.541h547.67h34.541c11.046,0,20-8.955,20-20v-50.576 c0-11.046-8.954-20-20-20H618.825v-12.5V91.911z M543.825,112.799h-187.15v-8.389v-12.5V75h187.15v16.911v12.5V112.799z"/>
56
- </svg>`},u.icon.add=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 922 922" x="${r}" y="${i}">
244
+ </svg>`},h.icon.add=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 922 922" x="${r}" y="${i}">
57
245
  <path fill="${n}" d="M922,453V81c0-11.046-8.954-20-20-20H410c-11.045,0-20,8.954-20,20v149h318c24.812,0,45,20.187,45,45v198h149 C913.046,473.001,922,464.046,922,453z" />
58
246
  <path fill="${n}" d="M557,667.001h151c11.046,0,20-8.954,20-20v-174v-198c0-11.046-8.954-20-20-20H390H216c-11.045,0-20,8.954-20,20v149h194 h122c24.812,0,45,20.187,45,45v4V667.001z" />
59
247
  <path fill="${n}" d="M0,469v372c0,11.046,8.955,20,20,20h492c11.046,0,20-8.954,20-20V692v-12.501V667V473v-4c0-11.046-8.954-20-20-20H390H196 h-12.5H171H20C8.955,449,0,457.955,0,469z" />
60
- </svg>`},u.icon.search=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 485.213 485.213" x="${r}" y="${i}">
248
+ </svg>`},h.icon.search=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 485.213 485.213" x="${r}" y="${i}">
61
249
  <path fill="${n}" d="M471.882,407.567L360.567,296.243c-16.586,25.795-38.536,47.734-64.331,64.321l111.324,111.324 c17.772,17.768,46.587,17.768,64.321,0C489.654,454.149,489.654,425.334,471.882,407.567z" />
62
250
  <path fill="${n}" d="M363.909,181.955C363.909,81.473,282.44,0,181.956,0C81.474,0,0.001,81.473,0.001,181.955s81.473,181.951,181.955,181.951 C282.44,363.906,363.909,282.437,363.909,181.955z M181.956,318.416c-75.252,0-136.465-61.208-136.465-136.46 c0-75.252,61.213-136.465,136.465-136.465c75.25,0,136.468,61.213,136.468,136.465 C318.424,257.208,257.206,318.416,181.956,318.416z" />
63
251
  <path fill="${n}" d="M75.817,181.955h30.322c0-41.803,34.014-75.814,75.816-75.814V75.816C123.438,75.816,75.817,123.437,75.817,181.955z" />
64
- </svg>`},u.icon.xml_export=u.icon.xml=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
252
+ </svg>`},h.icon.xml_export=h.icon.xml=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 550.801 550.801" x="${r}" y="${i}">
65
253
  <path fill="${n}" d="M488.426,197.019H475.2v-63.816c0-0.401-0.063-0.799-0.116-1.205c-0.021-2.534-0.827-5.023-2.562-6.992L366.325,3.691 c-0.032-0.031-0.063-0.042-0.085-0.073c-0.633-0.707-1.371-1.298-2.151-1.804c-0.231-0.158-0.464-0.287-0.706-0.422 c-0.676-0.366-1.393-0.675-2.131-0.896c-0.2-0.053-0.38-0.135-0.58-0.19C359.87,0.119,359.037,0,358.193,0H97.2 c-11.918,0-21.6,9.693-21.6,21.601v175.413H62.377c-17.049,0-30.873,13.818-30.873,30.87v160.542 c0,17.044,13.824,30.876,30.873,30.876h13.224V529.2c0,11.907,9.682,21.601,21.6,21.601h356.4c11.907,0,21.6-9.693,21.6-21.601 V419.302h13.226c17.044,0,30.871-13.827,30.871-30.87V227.89C519.297,210.838,505.47,197.019,488.426,197.019z M97.2,21.605 h250.193v110.51c0,5.967,4.841,10.8,10.8,10.8h95.407v54.108H97.2V21.605z M369.531,374.53h-32.058l-2.156-55.519 c-0.644-17.434-1.298-38.518-1.298-59.611h-0.633c-4.514,18.516-10.547,39.166-16.137,56.162l-17.645,56.601h-25.618 l-15.494-56.157c-4.725-16.996-9.671-37.658-13.123-56.6h-0.43c-0.854,19.585-1.508,41.961-2.586,60.038l-2.576,55.086h-30.343 l9.26-145.035h43.677l14.207,48.421c4.517,16.774,9.041,34.847,12.258,51.843h0.654c4.081-16.77,9.038-35.923,13.774-52.064 l15.493-48.199h42.82L369.531,374.53z M69.992,374.53l41.955-73.385l-40.444-71.65h37.655l12.688,26.465 c4.316,8.828,7.533,15.928,10.99,24.092h0.422c3.438-9.242,6.23-15.694,9.893-24.092l12.274-26.465h37.434l-40.89,70.796 l43.044,74.239h-37.866l-13.134-26.257c-5.376-10.108-8.817-17.639-12.909-26.04h-0.433c-3.009,8.401-6.674,15.932-11.19,26.04 l-12.042,26.257H69.992z M453.601,523.353H97.2V419.302h356.4V523.353z M485.325,374.53h-90.608V229.495h32.933v117.497h57.682 v27.538H485.325z"/>
66
- </svg>`},u.icon.visio_export=u.icon.visio=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
254
+ </svg>`},h.icon.visio_export=h.icon.visio=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 24 24" x="${r}" y="${i}">
67
255
  <path fill="${n}" d="M24 7.609v9.556q0 .424-.302.726-.303.303-.726.303h-5.19q-.072 1.149-.556 2.135-.484.986-1.264 1.717-.78.732-1.803 1.15-1.022.417-2.159.417-1.016 0-1.96-.35-.943-.352-1.705-.969-.762-.617-1.295-1.47-.532-.852-.713-1.856H1.028q-.423 0-.726-.303Q0 18.363 0 17.94V7.609q0-.424.302-.726.303-.302.726-.302h5.238q-.072-.182-.072-.387 0-.424.302-.726L11.274.69q.303-.303.726-.303t.726.303l4.778 4.778q.302.302.302.726 0 .205-.072.387h5.238q.423 0 .726.302.302.302.302.726zM12 2.153l-4.04 4.04.387.388h3.012q.423 0 .726.302.302.302.302.726v2.238l3.653-3.653zM7.161 16.84l3.085-8.13H8.238q-.508 1.489-1.028 2.952-.52 1.464-1.004 2.964-.496-1.488-.992-2.958-.496-1.47-1.004-2.957H2.153l3.037 8.129zM12 22.065q.883 0 1.657-.333t1.355-.913q.58-.581.913-1.355.333-.774.333-1.658 0-.81-.302-1.548-.303-.738-.823-1.318-.52-.581-1.228-.944-.707-.363-1.518-.423v4.367q0 .423-.302.725-.303.303-.726.303H7.923q.206.677.593 1.246.387.568.92.98.532.41 1.185.64.653.23 1.379.23zm10.452-5.42V8.13h-6.158q-.133.133-.441.454-.309.32-.714.725-.405.406-.847.853-.441.448-.828.823-.387.375-.684.641-.296.266-.393.302v.097q.968.036 1.845.411t1.578.998q.702.623 1.186 1.446t.677 1.766Z"/>
68
- </svg>`},u.icon.link=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512.092 512.092" x="${r}" y="${i}">
256
+ </svg>`},h.icon.link=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512.092 512.092" x="${r}" y="${i}">
69
257
  <path fill="${n}" d="M312.453,199.601c-6.066-6.102-12.792-11.511-20.053-16.128c-19.232-12.315-41.59-18.859-64.427-18.859 c-31.697-0.059-62.106,12.535-84.48,34.987L34.949,308.23c-22.336,22.379-34.89,52.7-34.91,84.318 c-0.042,65.98,53.41,119.501,119.39,119.543c31.648,0.11,62.029-12.424,84.395-34.816l89.6-89.6 c1.628-1.614,2.537-3.816,2.524-6.108c-0.027-4.713-3.87-8.511-8.583-8.484h-3.413c-18.72,0.066-37.273-3.529-54.613-10.581 c-3.195-1.315-6.867-0.573-9.301,1.877l-64.427,64.512c-20.006,20.006-52.442,20.006-72.448,0 c-20.006-20.006-20.006-52.442,0-72.448l108.971-108.885c19.99-19.965,52.373-19.965,72.363,0 c13.472,12.679,34.486,12.679,47.957,0c5.796-5.801,9.31-13.495,9.899-21.675C322.976,216.108,319.371,206.535,312.453,199.601z" />
70
258
  <path fill="${n}" d="M477.061,34.993c-46.657-46.657-122.303-46.657-168.96,0l-89.515,89.429c-2.458,2.47-3.167,6.185-1.792,9.387 c1.359,3.211,4.535,5.272,8.021,5.205h3.157c18.698-0.034,37.221,3.589,54.528,10.667c3.195,1.315,6.867,0.573,9.301-1.877 l64.256-64.171c20.006-20.006,52.442-20.006,72.448,0c20.006,20.006,20.006,52.442,0,72.448l-80.043,79.957l-0.683,0.768 l-27.989,27.819c-19.99,19.965-52.373,19.965-72.363,0c-13.472-12.679-34.486-12.679-47.957,0 c-5.833,5.845-9.35,13.606-9.899,21.845c-0.624,9.775,2.981,19.348,9.899,26.283c9.877,9.919,21.433,18.008,34.133,23.893 c1.792,0.853,3.584,1.536,5.376,2.304c1.792,0.768,3.669,1.365,5.461,2.048c1.792,0.683,3.669,1.28,5.461,1.792l5.035,1.365 c3.413,0.853,6.827,1.536,10.325,2.133c4.214,0.626,8.458,1.025,12.715,1.195h5.973h0.512l5.12-0.597 c1.877-0.085,3.84-0.512,6.059-0.512h2.901l5.888-0.853l2.731-0.512l4.949-1.024h0.939c20.961-5.265,40.101-16.118,55.381-31.403 l108.629-108.629C523.718,157.296,523.718,81.65,477.061,34.993z" />
71
- </svg>`},u.icon.happy=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
259
+ </svg>`},h.icon.happy=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
72
260
  <path fill="${n}" d="M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,480 C132.288,480,32,379.712,32,256S132.288,32,256,32s224,100.288,224,224S379.712,480,256,480z"/>
73
261
  <path fill="${n}" d="M176,176c17.673,0,32,14.327,32,32h32c0-35.346-28.654-64-64-64c-35.346,0-64,28.654-64,64h32 C144,190.327,158.327,176,176,176z"/>
74
262
  <path fill="${n}" d="M336,144c-35.346,0-64,28.654-64,64h32c0-17.673,14.327-32,32-32c17.673,0,32,14.327,32,32h32 C400,172.654,371.346,144,336,144z"/>
75
263
  <path fill="${n}" d="M256,368c-53.019,0-96-42.981-96-96h-32c0,70.692,57.308,128,128,128s128-57.308,128-128h-32 C352,325.019,309.019,368,256,368z"/>
76
- </svg>`},u.icon.sad=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
264
+ </svg>`},h.icon.sad=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" viewBox="0 0 512 512" x="${r}" y="${i}">
77
265
  <path fill="${n}" d="M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,480 C132.288,480,32,379.712,32,256S132.288,32,256,32s224,100.288,224,224S379.712,480,256,480z"/>
78
266
  <path fill="${n}" d="M336,192c-17.673,0-32-14.327-32-32h-32c0,35.346,28.654,64,64,64c35.346,0,64-28.654,64-64h-32 C368,177.673,353.673,192,336,192z"/>
79
267
  <path fill="${n}" d="M176,224c35.346,0,64-28.654,64-64h-32c0,17.673-14.327,32-32,32s-32-14.327-32-32h-32C112,195.346,140.654,224,176,224z "/>
80
268
  <path fill="${n}" d="M256,256c-70.692,0-128,57.308-128,128h32c0-53.019,42.981-96,96-96s96,42.981,96,96h32C384,313.308,326.692,256,256,256 z"/>
81
- </svg>`},u.icon.share=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
269
+ </svg>`},h.icon.share=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
82
270
  <path fill="${n}" d="M406,332c-29.641,0-55.761,14.581-72.167,36.755L191.99,296.124c2.355-8.027,4.01-16.346,4.01-25.124
83
271
  c0-11.906-2.441-23.225-6.658-33.636l148.445-89.328C354.307,167.424,378.589,180,406,180c49.629,0,90-40.371,90-90
84
272
  c0-49.629-40.371-90-90-90c-49.629,0-90,40.371-90,90c0,11.437,2.355,22.286,6.262,32.358l-148.887,89.59
85
273
  C156.869,193.136,132.937,181,106,181c-49.629,0-90,40.371-90,90c0,49.629,40.371,90,90,90c30.13,0,56.691-15.009,73.035-37.806
86
274
  l141.376,72.395C317.807,403.995,316,412.75,316,422c0,49.629,40.371,90,90,90c49.629,0,90-40.371,90-90
87
275
  C496,372.371,455.629,332,406,332z"/>
88
- </svg>`},u.icon.user=function(e,t,n,r,i){return u.isNEU(r)&&(r=0),u.isNEU(i)&&(i=0),`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
276
+ </svg>`},h.icon.user=function(e,t,n,r,i){return h.isNEU(r)&&(r=0),h.isNEU(i)&&(i=0),`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
89
277
  <path fill="${n}" d="M12 11.796C14.7189 11.796 16.9231 9.60308 16.9231 6.89801C16.9231 4.19294 14.7189 2.00005 12 2.00005C9.28106 2.00005 7.07692 4.19294 7.07692 6.89801C7.07692 9.60308 9.28106 11.796 12 11.796Z" fill="#030D45"/>
90
278
  <path fill="${n}" d="M14.5641 13.8369H9.4359C6.46154 13.8369 4 16.2859 4 19.245C4 19.9593 4.30769 20.5716 4.92308 20.8777C5.84615 21.3879 7.89744 22.0001 12 22.0001C16.1026 22.0001 18.1538 21.3879 19.0769 20.8777C19.5897 20.5716 20 19.9593 20 19.245C20 16.1838 17.5385 13.8369 14.5641 13.8369Z" fill="#030D45"/>
91
- </svg>`},u.icon.close=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
279
+ </svg>`},h.icon.close=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 512 512">
92
280
  <path fill="${n}" d="m256 0c-141.49 0-256 114.5-256 256 0 141.49 114.5 256 256 256 141.49 0 256-114.5 256-256 0-141.49-114.5-256-256-256zm-12.284 317.397-58.121 58.132c-6.565 6.553-15.283 10.166-24.557 10.166-19.196 0-34.734-15.526-34.734-34.734 0-9.274 3.612-17.992 10.166-24.557l58.132-58.121c6.785-6.784 6.785-17.783 0-24.568l-58.132-58.121c-6.553-6.565-10.166-15.283-10.166-24.557 0-19.196 15.526-34.734 34.734-34.734 9.274 0 17.992 3.613 24.557 10.166l58.121 58.132c6.785 6.773 17.784 6.773 24.568 0l58.121-58.132c6.565-6.553 15.283-10.166 24.557-10.166 19.196 0 34.734 15.526 34.734 34.734 0 9.274-3.612 17.992-10.166 24.557l-58.132 58.121c-6.785 6.784-6.785 17.783 0 24.568l58.132 58.121c6.553 6.565 10.166 15.283 10.166 24.557 0 19.196-15.526 34.734-34.734 34.734-9.274 0-17.992-3.613-24.557-10.166l-58.121-58.132c-6.784-6.784-17.784-6.773-24.568 0z"/>
93
- </svg>`},u.icon.undo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
281
+ </svg>`},h.icon.undo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
94
282
  <path fill-rule="evenodd" clip-rule="evenodd" fill="${n}" d="M3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.7141 22 12C22 7.28598 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447ZM9.25871 7.97395C9.56308 7.693 9.58205 7.21851 9.3011 6.91414C9.02015 6.60978 8.54565 6.5908 8.24129 6.87175L5.99129 8.94867C5.83748 9.09065 5.75 9.29045 5.75 9.49977C5.75 9.7091 5.83748 9.9089 5.99129 10.0509L8.24129 12.1278C8.54565 12.4088 9.02015 12.3898 9.3011 12.0854C9.58205 11.781 9.56308 11.3065 9.25871 11.0256L8.41824 10.2498H14.0385C14.7376 10.2498 15.2069 10.2506 15.5652 10.2862C15.9116 10.3205 16.0724 10.3813 16.1787 10.4501C16.3272 10.5461 16.4537 10.6726 16.5497 10.8211C16.6184 10.9274 16.6793 11.0882 16.7136 11.4345C16.7491 11.7929 16.75 12.2622 16.75 12.9613C16.75 13.6604 16.7491 14.1298 16.7136 14.4881C16.6793 14.8344 16.6185 14.9952 16.5497 15.1015C16.4537 15.2501 16.3272 15.3765 16.1787 15.4726C16.0724 15.5413 15.9116 15.6021 15.5652 15.6365C15.2069 15.672 14.7376 15.6729 14.0385 15.6729H9.5C9.08579 15.6729 8.75 16.0086 8.75 16.4229C8.75 16.8371 9.08579 17.1729 9.5 17.1729H14.0758C14.7279 17.1729 15.2721 17.1729 15.7133 17.1291C16.1748 17.0834 16.6038 16.9839 16.9931 16.7322C17.3199 16.5209 17.5981 16.2427 17.8094 15.916C18.0611 15.5266 18.1605 15.0976 18.2063 14.6361C18.25 14.195 18.25 13.6508 18.25 12.9987V12.924C18.25 12.2718 18.25 11.7276 18.2063 11.2865C18.1605 10.825 18.0611 10.396 17.8093 10.0067C17.5981 9.6799 17.3199 9.40169 16.9931 9.19042C16.6038 8.9387 16.1748 8.83927 15.7133 8.7935C15.2721 8.74975 14.7279 8.74976 14.0758 8.74977L8.41824 8.74977L9.25871 7.97395Z" />
95
283
  <rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
96
- </svg>`},u.icon.redo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
284
+ </svg>`},h.icon.redo=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
97
285
  <path fill="#f9f9f9" fill-rule="evenodd" clip-rule="evenodd" fill="${n}" d="M3.46447 3.46447C2 4.92893 2 7.28595 2 12C2 16.714 2 19.0711 3.46447 20.5355C4.92893 22 7.28595 22 12 22C16.714 22 19.0711 22 20.5355 20.5355C22 19.0711 22 16.7141 22 12C22 7.28598 22 4.92893 20.5355 3.46447C19.0711 2 16.714 2 12 2C7.28595 2 4.92893 2 3.46447 3.46447ZM15.7587 6.87273C15.4543 6.59177 14.9799 6.61075 14.6989 6.91512C14.4179 7.21948 14.4369 7.69398 14.7413 7.97493L15.5818 8.75075H9.96155C7.63558 8.75075 5.75 10.6363 5.75 12.9623C5.75 15.2883 7.63557 17.1738 9.96154 17.1738H14.5C14.9142 17.1738 15.25 16.838 15.25 16.4238C15.25 16.0096 14.9142 15.6738 14.5 15.6738H9.96154C8.464 15.6738 7.25 14.4598 7.25 12.9623C7.25 11.4647 8.464 10.2508 9.96155 10.2508H15.5818L14.7413 11.0266C14.4369 11.3075 14.4179 11.782 14.6989 12.0864C14.9799 12.3908 15.4543 12.4097 15.7587 12.1288L18.0087 10.0519C18.1625 9.90987 18.25 9.71007 18.25 9.50075C18.25 9.29143 18.1625 9.09163 18.0087 8.94965L15.7587 6.87273Z"/>
98
286
  <rect style="opacity: 0" x="2" y="2" width="20" height="20"></rect>
99
- </svg>`},u.icon.send=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
287
+ </svg>`},h.icon.send=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24" >
100
288
  <path fill="none" stroke="${n}" stroke-width="2" d="M10.3009 13.6949L20.102 3.89742M10.5795 14.1355L12.8019 18.5804C13.339 19.6545 13.6075 20.1916 13.9458 20.3356C14.2394 20.4606 14.575 20.4379 14.8492 20.2747C15.1651 20.0866 15.3591 19.5183 15.7472 18.3818L19.9463 6.08434C20.2845 5.09409 20.4535 4.59896 20.3378 4.27142C20.2371 3.98648 20.013 3.76234 19.7281 3.66167C19.4005 3.54595 18.9054 3.71502 17.9151 4.05315L5.61763 8.2523C4.48114 8.64037 3.91289 8.83441 3.72478 9.15032C3.56153 9.42447 3.53891 9.76007 3.66389 10.0536C3.80791 10.3919 4.34498 10.6605 5.41912 11.1975L9.86397 13.42C10.041 13.5085 10.1295 13.5527 10.2061 13.6118C10.2742 13.6643 10.3352 13.7253 10.3876 13.7933C10.4468 13.87 10.491 13.9585 10.5795 14.1355Z" />
101
- </svg>`},u.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
289
+ </svg>`},h.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
102
290
  <line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
103
291
  <line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
104
- </svg>`},u.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
292
+ </svg>`},h.icon.x=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 24 24">
105
293
  <line x1="0" y1="0" x2="24" y2="24" stroke-width="3" stroke="${n}"></line>
106
294
  <line x1="24" y1="0" x2="0" y2="24" stroke-width="3" stroke="${n}"></line>
107
- </svg>`},u.icon.fit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 128 128">
295
+ </svg>`},h.icon.fit=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 128 128">
108
296
  <path fill="${n}" d="M 58.1875 4.90625 C 29.957889 4.90625 6.9375 27.957888 6.9375 56.1875 C 6.9375 84.417111 29.957889 107.4375 58.1875 107.4375 C 69.752492 107.4375 80.436703 103.56785 89.03125 97.0625 L 108.59375 120.4375 A 7.0007 7.0007 0 1 0 119.3125 111.4375 L 98.96875 87.15625 C 105.53731 78.538312 109.4375 67.814416 109.4375 56.1875 C 109.4375 27.957888 86.417111 4.90625 58.1875 4.90625 z M 58.1875 18.875 C 78.850949 18.875 95.4375 35.52405 95.4375 56.1875 C 95.4375 76.850949 78.850949 93.4375 58.1875 93.4375 C 37.524051 93.4375 20.9375 76.850949 20.9375 56.1875 C 20.9375 35.52405 37.524051 18.875 58.1875 18.875 z M 33.125 31.09375 L 33.125 36.40625 L 33.125 75.90625 L 33.125 81.21875 L 38.4375 81.21875 L 77.9375 81.21875 L 83.25 81.21875 L 83.25 75.90625 L 83.25 36.40625 L 83.25 31.09375 L 77.9375 31.09375 L 38.4375 31.09375 L 33.125 31.09375 z M 43.78125 41.75 L 72.59375 41.75 L 72.59375 70.5625 L 43.78125 70.5625 L 43.78125 41.75 z "/>
109
- </svg>`},u.icon.expand_all=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32">
297
+ </svg>`},h.icon.expand_all=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32">
110
298
  <path fill="${n}" d="M13.816 5.989l-7.785 0.046 0.003 7.735 2.59-2.591 3.454 3.454 2.665-2.665-3.453-3.454 2.526-2.525zM12.079 17.35l-3.454 3.455-2.59-2.592-0.003 7.799 7.785-0.018-2.526-2.525 3.454-3.453-2.666-2.666zM19.922 14.633l3.453-3.454 2.59 2.591 0.004-7.735-7.785-0.046 2.526 2.525-3.454 3.454 2.666 2.665zM23.375 20.805l-3.453-3.455-2.666 2.666 3.454 3.453-2.526 2.525 7.785 0.018-0.004-7.799-2.59 2.592z"></path>
111
- </svg>`},u.icon.full_screen=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 48 48">
299
+ </svg>`},h.icon.full_screen=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 48 48">
112
300
  <rect width="48" height="48" fill="${n}" fill-opacity="0.01"/>
113
301
  <path fill="none" d="M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16" stroke="${n}" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
114
302
  <rect x="24" y="24" width="20" height="16" rx="2" fill="none" stroke="${n}" stroke-width="4" stroke-linejoin="round"/>
115
- </svg>`},u.icon.zoom_in=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32" >
303
+ </svg>`},h.icon.zoom_in=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 32 32" >
116
304
  <g sketch:type="MSLayerGroup" transform="translate(-362.000000, -1037.000000)" fill="${n}">
117
305
  <path d="M390,1049 L382,1049 L382,1041 C382,1038.79 380.209,1037 378,1037 C375.791,1037 374,1038.79 374,1041 L374,1049 L366,1049 C363.791,1049 362,1050.79 362,1053 C362,1055.21 363.791,1057 366,1057 L374,1057 L374,1065 C374,1067.21 375.791,1069 378,1069 C380.209,1069 382,1067.21 382,1065 L382,1057 L390,1057 C392.209,1057 394,1055.21 394,1053 C394,1050.79 392.209,1049 390,1049" id="plus" sketch:type="MSShapeGroup"></path>
118
306
  </g>
119
- </svg>`},u.icon.zoom_out=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 -12 32 32" >
307
+ </svg>`},h.icon.zoom_out=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 -12 32 32" >
120
308
  <g id="Icon-Set-Filled" sketch:type="MSLayerGroup" transform="translate(-414.000000, -1049.000000)" fill="${n}">
121
309
  <path d="M442,1049 L418,1049 C415.791,1049 414,1050.79 414,1053 C414,1055.21 415.791,1057 418,1057 L442,1057 C444.209,1057 446,1055.21 446,1053 C446,1050.79 444.209,1049 442,1049" id="minus" sketch:type="MSShapeGroup"></path>
122
310
  </g>
123
- </svg>`},u.icon.layout_normal=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
311
+ </svg>`},h.icon.layout_normal=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
124
312
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
125
313
  <rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
126
314
  <rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
@@ -128,7 +316,7 @@
128
316
  <line stroke="${n}" x1="32" x2="88" y1="35" y2="35" stroke-width="1"></line>
129
317
  <line stroke="${n}" x1="32" x2="32" y1="35" y2="41" stroke-width="1"></line>
130
318
  <line stroke="${n}" x1="88" x2="88" y1="35" y2="41" stroke-width="1"></line>
131
- </svg>`},u.icon.layout_right_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
319
+ </svg>`},h.icon.layout_right_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
132
320
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
133
321
  <rect fill="${n}" x="40" y="41" width="50" height="27"></rect>
134
322
  <rect fill="${n}" x="40" y="73" width="50" height="27"></rect>
@@ -137,7 +325,7 @@
137
325
  <line stroke="${n}" x1="35" x2="35" y1="35" y2="86" stroke-width="1"></line>
138
326
  <line stroke="${n}" x1="35" x2="40" y1="86" y2="86" stroke-width="1"></line>
139
327
  <line stroke="${n}" x1="35" x2="40" y1="54" y2="54" stroke-width="1"></line>
140
- </svg>`},u.icon.layout_left_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
328
+ </svg>`},h.icon.layout_left_offset=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
141
329
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
142
330
  <rect fill="${n}" x="30" y="41" width="50" height="27"></rect>
143
331
  <rect fill="${n}" x="30" y="73" width="50" height="27"></rect>
@@ -146,20 +334,20 @@
146
334
  <line stroke="${n}" x1="85" x2="85" y1="35" y2="86" stroke-width="1"></line>
147
335
  <line stroke="${n}" x1="80" x2="85" y1="86" y2="86" stroke-width="1"></line>
148
336
  <line stroke="${n}" x1="80" x2="85" y1="54" y2="54" stroke-width="1"></line>
149
- </svg>`},u.icon.layout_mixed=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
337
+ </svg>`},h.icon.layout_mixed=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
150
338
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
151
339
  <rect fill="${n}" x="35" y="41" width="50" height="27"></rect>
152
340
  <rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
153
341
  <line stroke="${n}" x1="60" x2="60" y1="27" y2="41" stroke-width="1"></line>
154
342
  <line stroke="${n}" x1="60" x2="60" y1="68" y2="73" stroke-width="1"></line>
155
- </svg>`},u.icon.layout_tree=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
343
+ </svg>`},h.icon.layout_tree=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
156
344
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
157
345
  <rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
158
346
  <rect fill="${n}" x="35" y="73" width="50" height="27"></rect>
159
347
  <rect fill="${n}" x="63" y="41" width="50" height="27"></rect>
160
348
  <line stroke="${n}" x1="60" x2="60" y1="27" y2="73" stroke-width="1"></line>
161
349
  <line stroke="${n}" x1="57" x2="63" y1="54" y2="54" stroke-width="1"></line>
162
- </svg>`},u.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
350
+ </svg>`},h.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
163
351
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
164
352
  <rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
165
353
  <rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
@@ -172,7 +360,7 @@
172
360
  <line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
173
361
  <line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
174
362
  <line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
175
- </svg>`},u.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
363
+ </svg>`},h.icon.layout_grid=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 110 100">
176
364
  <rect fill="${n}" x="35" y="0" width="50" height="27"></rect>
177
365
  <rect fill="${n}" x="7" y="41" width="50" height="27"></rect>
178
366
  <rect fill="${n}" x="7" y="73" width="50" height="27"></rect>
@@ -185,16 +373,16 @@
185
373
  <line stroke="${n}" x1="88" x2="88" y1="71" y2="73" stroke-width="1"></line>
186
374
  <line stroke="${n}" x1="32" x2="32" y1="39" y2="41" stroke-width="1"></line>
187
375
  <line stroke="${n}" x1="88" x2="88" y1="39" y2="41" stroke-width="1"></line>
188
- </svg>`},u.icon.cursor=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 16 16" >
376
+ </svg>`},h.icon.cursor=function(e,t,n,r,i){return r??=0,i??=0,`<svg width="${e}" height="${t}" x="${r}" y="${i}" viewBox="0 0 16 16" >
189
377
  <path d="M8 3V0H6V3H8Z" fill="${n}"/>
190
378
  <path d="M0.792893 2.20711L3.29289 4.70711L4.70711 3.29289L2.20711 0.792893L0.792893 2.20711Z" fill="${n}"/>
191
379
  <path d="M6 5L5 6.00001L8 15H10L10.7172 12.1314L14.2929 15.7071L15.7071 14.2929L12.1314 10.7172L15 10V8L6 5Z" fill="${n}"/>
192
380
  <path d="M0 6H3V8H0V6Z" fill="${n}"/>
193
- </svg>`},u===void 0&&(u={}),u.events=(function(){var e={};return{on:function(t,n,r){Array.isArray(e[t])||(e[t]=[]),e[t].push({listener:n,event_id:r})},removeAll:function(t){Array.isArray(e[t])||(e[t]=[]),e[t]=[]},remove:function(t,n,r){var i=!1;if(e[t]&&Array.isArray(e[t])&&e[t].length>0)for(var a=e[t].length-1;a>=0;a--)(!u.isNEU(r)&&!u.isNEU(n)&&e[t][a].event_id==r&&e[t][a].listener==n||!u.isNEU(r)&&u.isNEU(n)&&e[t][a].event_id==r||u.isNEU(r)&&!u.isNEU(n)&&e[t][a].listener==n||u.isNEU(r)&&u.isNEU(n))&&(e[t].splice(a,1),i=!0);return i},has:function(t,n){if(e[t]&&Array.isArray(e[t])&&e[t].length>0){if(u.isNEU(n))return!0;for(var r=0;r<e[t].length;r++)if(e[t][r].event_id==n)return!0}return!1},removeForEventId:function(t){for(var n in e)if(Array.isArray(e[n]))for(var r=e[n].length-1;r>=0;r--)e[n][r].event_id==t&&e[n].splice(r,1)},publish:function(t,n){if(e[t]){for(var r=[],i=0;i<e[t].length;i++){var a=e[t][i];(a.event_id==null||a.event_id==n[0]._event_id)&&r.push(a.listener)}if(r.length>0){for(var o=!0,i=0;i<r.length&&(n.length==1?o=r[i](n[0])&&o:n.length==2?o=r[i](n[0],n[1])&&o:n.length==3?o=r[i](n[0],n[1],n[2])&&o:n.length==4?o=r[i](n[0],n[1],n[2],n[3])&&o:n.length==5&&(o=r[i](n[0],n[1],n[2],n[3],n[4])&&o),o!==!1);i++);return o}}}}})(),u.prototype.expand=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,u.action.expand,r,n)},u.prototype.collapse=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,u.action.collapse,r,n)},u.prototype.expandCollapse=function(e,t,n,r){this._treeListExpandCollapseHandler(e),this._resetMovableNodes(),Array.isArray(t)||(t=[]),Array.isArray(n)||(n=[]);var i={id:e,expandIds:t,collapseIds:n,ids:t.concat(n)};this._draw(!1,u.action.collapse,i,r)},u.prototype.changeRoots=function(e,t,n){this.config.roots=t;var r={id:e,changeRoots:t};this._draw(!1,u.action.update,r,n)},u.prototype._resetMovableNodes=function(){if(u.RESET_MOVABLE_ONEXPANDCOLLAPSE&&this.config.movable!=null){for(var e=!1,t=0;t<this.config.nodes.length;t++){var n=this.config.nodes[t];n.movex!=null&&(n.movex=0,e=!0),n.movey!=null&&(n.movey=0,e=!0)}e&&(this._ai.setContext(),u.events.publish(`updated`,[this]))}},u.prototype.maximize=function(e,t,n,r){var i=this,a={id:e,options:{}};u.isNEU(a.id)&&(a.id=this.roots[0].id,a.all=!0),a.options.horizontal=!1,a.options.vertical=!1,t&&(a.options.horizontal=t),n&&(a.options.vertical=n),this._draw(!1,u.action.maximize,a,function(){i.ripple(e),r&&r()})},u.prototype.minimize=function(e,t){var n=this,r={id:e};u.isNEU(r.id)&&(r.id=this.roots[0].id,r.all=!0),this._draw(!1,u.action.minimize,r,function(){n.ripple(e),t&&t()})},u.prototype._expCollHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this.getNode(e),n=this.getCollapsedIds(t);if(n.length){var r=u.events.publish(`expcollclick`,[this,!1,e,n]);if(r===!1)return!1;this.expand(e,n,!1)}else{var r=u.events.publish(`expcollclick`,[this,!0,e,t.childrenIds]);if(r===!1)return!1;this.collapse(e,t.childrenIds,!1)}},u.prototype._upHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this._upHandlerCreateArgs(e);if(u.events.publish(`up-click`,[this,t])===!1)return!1;this.changeRoots(t.id,t.roots,!1)},u.prototype._upHandlerCreateArgs=function(e){var t=this.getNode(e),n=Object.assign([],this.config.roots),r=this.getNode(t.pid),i;if(r&&(i=r),i){if(Array.isArray(n)){var a=n.indexOf(t.id);a!=-1&&n.splice(a,1)}else n=[];n.push(i.id)}return{id:t.id,roots:n}},String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e,`g`),t)}),String.prototype.endsWith||(String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}),String.prototype.splice||(String.prototype.splice=function(e,t,n){return this.slice(0,e)+n+this.slice(e+Math.abs(t))}),String.prototype.insert||(String.prototype.insert=function(e,t){return e>0?this.substring(0,e)+t+this.substr(e):t+this}),Array.prototype.unique||Object.defineProperty(Array.prototype,`unique`,{value:function(){for(var e=this.concat(),t=0;t<e.length;++t)for(var n=t+1;n<e.length;++n)e[t]===e[n]&&e.splice(n--,1);return e},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.has||Object.defineProperty(Array.prototype,`has`,{value:function(e){for(var t=0;t<this.length;t++)if(this[t]==e)return!0;return!1},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.compare||Object.defineProperty(Array.prototype,`compare`,{value:function(e){if(this.length!=e.length)return!1;for(var t=0;t<this.length;t++)if(!e.has(this[t]))return!1;return!0},writable:!0,configurable:!0,enumerable:!1}),Object.assign||Object.defineProperty(Object,`assign`,{value:function(e,t){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(i!=null)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n},writable:!0,configurable:!0}),u.prototype._globalMouseDownHandler=function(e,t){var n={move:`mousemove`,up:`mouseup`,leave:`mouseleave`};t.type.indexOf(`touch`)!=-1&&(t.touches.length==1?this._touch={x:t.touches[0].clientX,y:t.touches[0].clientY}:this._touch=null,n={move:`touchmove`,up:`touchend`,touchstart:`touchstart`}),this._treeListUpdateInterval&&=(clearInterval(this._treeListUpdateInterval),null);for(var r=null,i=t.target;i!=e&&!i.hasAttribute(u.attr.control_node_menu_id)&&!i.hasAttribute(u.attr.control_node_circle_menu_id);){if(i.hasAttribute){var a=null;i.hasAttribute(u.attr.node_id)?a=this.getNode(i.getAttribute(u.attr.node_id)):i.hasAttribute(u.attr.control_expcoll_id)?a=this.getNode(i.getAttribute(u.attr.control_expcoll_id)):(i.hasAttribute(u.attr.control_node_menu_id)||i.hasAttribute(u.attr.control_node_menu_id))&&(a=this.getNode(i.getAttribute(u.attr.control_node_menu_id))),r||=u._getScrollableTreeListNodeInTouchEnabledDevice(a)}if(i.hasAttribute(u.attr.node_id)&&!r&&(this.config.enableDragDrop||this.config.movable)){if(t.touches==null||t.touches.length<=1){this._nodeMouseDownHandler(i,t,n);return}}else if(i.hasAttribute(u.attr.control_node_circle_menu_name)){if(t.stopPropagation(),t.touches==null||t.touches.length<=1){this._nodeCircleNodeMenuItemMouseDownHandler(e,i,t,n);return}}else if(i.hasAttribute(`data-treelist-thumb`)&&(t.stopPropagation(),t.touches==null||t.touches.length<=1)){this._treeListThumbMouseDownHandler(i,t,n);return}i=i.parentNode}t.stopPropagation(),this._mouseDownHandler(e,t,n,r)},u.prototype._globalContextHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(u.attr.node_id)){var r=n.getAttribute(u.attr.node_id),i=this.getNode(r);this._nodeContextHandler(i.id,t);return}n=n.parentNode}},u.prototype._nodeContextHandler=function(e,t){t.preventDefault(),u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var n=this.get(e),r=null;if(n!=null&&Array.isArray(n.tags))for(var i=0;i<n.tags.length;i++){var a=n.tags[i];this.config.tags[a]&&this.config.tags[a].nodeContextMenu&&(r=this.config.tags[a].nodeContextMenu)}var o=this.element.getBoundingClientRect(),s=t.clientX-o.left,c=t.clientY-o.top;this.nodeContextMenuUI.show(s,c,e,null,r)},u.prototype._globalDbClickHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(u.attr.node_id)){var r=n.getAttribute(u.attr.node_id),i=this.getNode(r);this._nodeDbClickHandler(i.id,t);return}n=n.parentNode}},u.prototype._mouseScrollHandler=function(e,t){for(var n=!1,r=t.target,i=null;r&&r.hasAttribute&&!r.hasAttribute(`data-n-id`)&&!r.hasAttribute(`data-ctrl-ec-id`);)r=r.parentNode;if(r.hasAttribute&&r.hasAttribute(`data-n-id`)){var a=r.getAttribute(`data-n-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}if(r.hasAttribute&&r.hasAttribute(`data-ctrl-ec-id`)){var a=r.getAttribute(`data-ctrl-ec-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}t.ctrlKey&&(n=!1),n?this.__mouseScrollHandlerTreeList(i,t):this.__mouseScrollHandler(this.getSvg(),t)},u.prototype.__mouseScrollHandler=function(e,t){if(t.ctrlKey){if(this.config.mouseScrool==u.action.zoom)return}else if(this.config.mouseScrool==u.action.ctrlZoom||this.config.mouseScrool!=u.action.zoom)return;if(t.preventDefault(),!navigator.hardwareConcurrency||navigator.hardwareConcurrency<9){let r=t.deltaY/1e3;r=Math.abs(r)<.1?.1*t.deltaY/Math.abs(t.deltaY):r;var n=u._centerPointInPercent(e,t.clientX,t.clientY);this.zoom(1-r,n)}else{var r=this,i=!1,a=this.config.zoom.speed,o=this.config.zoom.smooth,s=0,c=this.getScale(),n=u._centerPointInPercent(e,t.clientX,t.clientY);function f(){i=!0;var e=(s-c)/o;e>0?e++:e--,c+=e,r.zoom(1-e/12/50,n),parseInt(c)==parseInt(s)?i=!1:l(f)}var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,20)}}();t.preventDefault();var d=t.delta||t.wheelDelta;d===void 0&&(d=-t.detail),d=Math.max(-1,Math.min(1,d)),s+=-d*a,i||f()}},u.prototype._nodeCircleNodeMenuItemMouseDownHandler=function(e,t,n,r){var i=t.parentNode.getAttribute(u.attr.control_node_circle_menu_wrraper_id),a=t.getAttribute(u.attr.control_node_circle_menu_name),o=this.nodeCircleMenuUI._menu[a];if(!o.draggable){this._clickHandler(e,n);return}var s=this,c=u._getClientXY(n),l=this.getNode(i);t._dragEventFired=!1;var d=s.getScale(),f=null,p=null;document.body.style.mozUserSelect=document.body.style.webkitUserSelect=document.body.style.userSelect=`none`;var m=this.getSvg(),h={x:c.x,y:c.y},g=function(e){for(;e&&!e.hasAttribute(u.attr.control_node_circle_menu_wrraper_id);)e=e.parentNode;if(!e){console.error(`cannot find parent`+u.attr.control_node_circle_menu_wrraper_id);return}var t=u._getTransform(e);return{x:t[4],y:t[5]}},_=t.cloneNode(!0);m.insertBefore(_,m.firstChild);var v=u._getTransform(_),y=v[4],b=v[5],x=g(t);_.setAttribute(`transform`,`matrix(1,0,0,1,`+(y+x.x)+`,`+(b+x.y)+`)`),_.style.opacity=.7;var S=function(e,t){if(e!=null){t.classList.remove(`boc-drag-over`);for(var n=u.getStParentNodes(s.getNode(f)),r=0;r<n.length;r++){var i=s.getNodeElement(n[r].id);i&&(i.style.opacity=1)}}},C=function(e){if(h){var n=u._getClientXY(e),r=e.target;u.isMobile()&&(r=document.elementFromPoint(n.x,n.y)),n.x+=x.x*d,n.y+=x.y*d;var i=u._getOffsetXY(s.element,e),c={left:s.width()-(i.x+s.config.padding)<0,right:i.x-s.config.padding<0,up:s.height()-(i.y+s.config.padding)<0,down:i.y-s.config.padding<0};if(c.left||c.right||c.up||c.down){m.classList&&(m.classList.remove(`boc-cursor-grab`),m.classList.add(`boc-cursor-move`),m.classList.remove(`boc-cursor-nodrop`),m.classList.remove(`boc-cursor-copy`));var l=v[4],g=v[5],C=h.x,T=h.y,E=n.x,D=n.y;s.moveStart(c,function(e){v[4]=l+e.x,v[5]=g+e.y,h.x=C-e.xWithoutScale,h.y=T-e.yWithoutScale,n.x=E-e.xWithoutScale,n.y=D-e.yWithoutScale,_.setAttribute(`transform`,`matrix(`+v.toString()+`)`)})}else{for(s.moveEnd(),m.classList&&(m.classList.add(`boc-cursor-grab`),m.classList.remove(`boc-cursor-move`),m.classList.remove(`boc-cursor-nodrop`),m.classList.remove(`boc-cursor-copy`)),S(f,p),f=null,p=null;r!=null&&r!=m;){if(r.hasAttribute&&r.hasAttribute(u.attr.node_id)){var O=r.getAttribute(u.attr.node_id);f=O,p=r;break}r=r.parentNode}if(f!=null){p.classList.add(`boc-drag-over`);for(var k=s.getNode(f),A=u.getStParentNodes(k),j=0;j<A.length;j++){var M=s.getNodeElement(A[j].id);M&&(M.style.opacity=.1)}m.classList.remove(`boc-cursor-grab`),m.classList.remove(`boc-cursor-move`),m.classList.add(`boc-cursor-copy`),m.classList.remove(`boc-cursor-nodrop`)}var N=(n.x-h.x)/d,P=(n.y-h.y)/d;v[4]=y+N,v[5]=b+P,!t._dragEventFired&&(Math.abs(n.x-h.x)>u.FIRE_DRAG_NOT_CLICK_IF_MOVE||Math.abs(n.y-h.y)>u.FIRE_DRAG_NOT_CLICK_IF_MOVE)&&(s._gragStartedId=t.parentNode.getAttribute(u.attr.control_node_circle_menu_wrraper_id),u.events.publish(`drag`,[s.nodeCircleMenuUI,{from:O,menuItem:o,menuItemName:a}])===!1&&w(),t._dragEventFired=!0),_.setAttribute(`transform`,`matrix(`+v.toString()+`)`)}}},w=function(e){if(s.moveEnd(),m.classList&&(m.classList.remove(`boc-cursor-grab`),m.classList.remove(`boc-cursor-move`),m.classList.remove(`boc-cursor-nodrop`),m.classList.remove(`boc-cursor-copy`)),m.removeEventListener(r.move,C),m.removeEventListener(r.up,w),r.leave&&m.removeEventListener(r.leave,w),l.id==f||f==null){m.removeChild(_),s._gragStartedId=null,t._dragEventFired&&u.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,menuItemName:a,menuItem:o,event:e}]);return}var n=s.getNode(f);u.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,to:n.id,menuItem:o,menuItemName:a,event:e}]),S(f,p),m.removeChild(_),s._gragStartedId=null};m.addEventListener(r.move,C),m.addEventListener(r.up,w),r.leave&&m.addEventListener(r.leave,w)},u.prototype._nodeMouseDownHandler=function(e,t,n){var r=e.getAttribute(u.attr.node_id),i=this.getNode(r);this.config.movable&&!u.getRootOf(i).stParent?this._movableHandler(e,t,n):this.config.enableDragDrop&&this._dragDropHandler(e,t,n)},u.prototype._resizeHandler=function(e,t){if(this.isVisible&&!(e==0||t==0)){var n=this.getViewBox();if(n){n=n.slice(0);var r=e/n[2],i=t/n[3];Math.abs(this._lastSize.width-e)>Math.abs(this._lastSize.height-t)?n[3]=t/r:n[2]=e/i,this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),this.setViewBox(n),this.xScrollUI.create(e),this.yScrollUI.create(t),this._draw(!0,u.action.resize)}}},u.prototype._nodeDbClickHandler=function(e,t){if(u.events.publish(`dbclick`,[this,this.get(e)])===!1)return!1;this._commonClickHandler(e,t,this.config.nodeMouseDbClick)},u.prototype._nodeClickHandler=function(e,t){if(u.events.publish(`click`,[this,{node:this.getNode(e),event:t}])===!1)return!1;if(this.powerPointPreviewUI.isVisible()&&this.powerPointPreviewUI.selectedPage!=null){this.powerPointPreviewUI.selectedPage.content=void 0,this.powerPointPreviewUI.selectedPage.nodeId=e,this.powerPointPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pdfPreviewUI.isVisible()&&this.pdfPreviewUI.selectedPage!=null){this.pdfPreviewUI.selectedPage.content=void 0,this.pdfPreviewUI.selectedPage.nodeId=e,this.pdfPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.svgPreviewUI.isVisible()&&this.svgPreviewUI.selectedPage!=null){this.svgPreviewUI.selectedPage.content=void 0,this.svgPreviewUI.selectedPage.nodeId=e,this.svgPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pngPreviewUI.isVisible()&&this.pngPreviewUI.selectedPage!=null){this.pngPreviewUI.selectedPage.content=void 0,this.pngPreviewUI.selectedPage.nodeId=e,this.pngPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}var n=this.getNodeElement(e);if(n&&n._dragEventFired){n._dragEventFired=!1;return}this._commonClickHandler(e,t,this.config.nodeMouseClick)},u.prototype._nodeCircleMenuItemClickHandler=function(e,t){var n=e.parentNode.getAttribute(u.attr.control_node_circle_menu_wrraper_id),r=e.getAttribute(u.attr.control_node_circle_menu_name),i=this.nodeCircleMenuUI._menu[r];u.events.publish(`click`,[this.nodeCircleMenuUI,{nodeId:n,menuItemName:r,menuItem:i,event:t}])},u.prototype._nodeCircleMenuClickHandler=function(e){if(u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.menuUI.hide(),this.nodeContextMenuUI.isVisible())this.nodeContextMenuUI.hide();else{var t=this.getNode(e),n=null;if(Array.isArray(t.tags))for(var r=0;r<t.tags.length;r++){var i=t.tags[r];this.config.tags[i]&&this.config.tags[i].nodeCircleMenu&&(n=this.config.tags[i].nodeCircleMenu)}this.nodeCircleMenuUI.show(e,n)}},u.prototype._commonClickHandler=function(e,t,n){if(u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),n==u.action.expandCollapse&&this.toggleExpandCollapse(e,t),n==u.action.edit){var r=this.getNode(e);r&&(this.editUI.show(r.id),this.ripple(r.id,t.clientX,t.clientY))}if(n==u.action.details){var r=this.getNode(e);r&&(this.editUI.show(r.id,!0),this.ripple(r.id,t.clientX,t.clientY))}},u.prototype._menuHandlerMouseDownHandler=function(e,t){t.stopPropagation(),t.preventDefault()},u.prototype._nodeMenuClickHandler=function(e,t,n){u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var r=this.getNode(e),i=null;if(Array.isArray(r.tags))for(var a=0;a<r.tags.length;a++){var o=r.tags[a];this.config.tags[o]&&this.config.tags[o].nodeMenu&&(i=this.config.tags[o].nodeMenu)}this.nodeMenuUI.showStickIn(t,e,null,i)},u.prototype._menuClickHandler=function(e,t){t.stopPropagation(),t.preventDefault(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.show(e.offsetLeft,e.offsetTop)},u.prototype._lonelyButtonHandler=function(){var e={id:this.generateId()};this.addNode(e,null,!0)!==!1&&this.center(e.id)},u.prototype.toggleExpandCollapse=function(e,t){var n=this.getNode(e),r=this.getCollapsedIds(n);if(r.length){var i=u.events.publish(`expcollclick`,[this,!1,e,r]);if(i===!1)return!1;this.expand(e,r,!1)}else{var i=u.events.publish(`expcollclick`,[this,!0,e,n.childrenIds]);if(i===!1)return!1;this.collapse(e,n.childrenIds,!1)}t&&this.ripple(n.id,t.clientX,t.clientY)},u.prototype._clickHandler=function(e,t){if(!(t.button>0)){for(var n=t.target;n!=e;){if(n.hasAttribute(u.attr.control_expcoll_id)){var r=n.getAttribute(u.attr.control_expcoll_id),i=this.getNode(r);this._expCollHandler(i.id);return}if(n.hasAttribute(u.attr.node_id)){var r=n.getAttribute(u.attr.node_id),i=this.getNode(r);this._nodeClickHandler(i.id,t);return}if(n.hasAttribute(u.attr.control_node_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(u.attr.control_node_menu_id),i=this.getNode(r);this._nodeMenuClickHandler(i.id,n,t);return}if(n.hasAttribute(u.attr.control_node_circle_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(u.attr.control_node_circle_menu_id);this._nodeCircleMenuClickHandler(r);return}if(n.hasAttribute(u.attr.control_node_circle_menu_name)){t.stopPropagation(),this._nodeCircleMenuItemClickHandler(n,t);return}if(n.hasAttribute(u.attr.control_add)){this._lonelyButtonHandler();return}if(n.hasAttribute(u.attr.control_up_id)){var r=n.getAttribute(u.attr.control_up_id);t.stopPropagation(),t.preventDefault(),this._upHandler(r);return}if(n.hasAttribute(u.attr.c_link_from)){u.events.publish(`clink-click`,[this,{from:n.getAttribute(u.attr.c_link_from),to:n.getAttribute(u.attr.c_link_to),event:t}]);return}if(n.hasAttribute(u.attr.s_link_from)){u.events.publish(`slink-click`,[this,{from:n.getAttribute(u.attr.s_link_from),to:n.getAttribute(u.attr.s_link_to),event:t}]);return}if(n.hasAttribute(`data-ctrl-n-dotted-close`)){var r=n.getAttribute(`data-ctrl-n-dotted-close`);this.minimize(r);return}if(n.hasAttribute(`data-ctrl-n-dotted-open`)){var r=n.getAttribute(`data-ctrl-n-dotted-open`);this.maximize(r);return}n=n.parentNode}u.events.publish(`canvas-click`,[this,{event:t}])}},u.prototype._mouseDownHandler=function(e,t,n,r){var i=this;u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide();var a=this.getViewBox(),o=this.getScale(),s=u._getClientTouchesXY(t,0),c=u._getClientTouchesXY(t,1),l={diffX:0,diffY:0,x0:s.x,y0:s.y,type:this.config.enablePan?`pan`:`pan-not-enabled`,viewBoxLeft:a[0],viewBoxTop:a[1],time:Date.now()};t.touches&&t.touches.length>1&&(l.type=`pinch`,l.dist=Math.sqrt((s.x-c.x)*(s.x-c.x)+(s.y-c.y)*(s.y-c.y)));var d=null;if(r){var f=r.stChildren[0].lcn?r.stChildren[0].lcn:`base`;d=i.manager.layoutConfigs[f],l.scrollTop=r.treeList.scrollTop}var p=0,m=function(e){var t=u._getClientTouchesXY(e,0);if(l&&l.type==`pan`){clearTimeout(i._timeout),l.diffX=t.x-l.x0,l.diffY=t.y-l.y0,p=Math.max(Math.abs(l.diffY),Math.abs(l.diffX));var n=-(l.diffY/o)+l.viewBoxTop,s=-(l.diffX/o)+l.viewBoxLeft;p>3&&(r?(r.treeList.scrollTop=l.scrollTop-l.diffY/o,i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdate(r,d)):(i._hideBeforeAnimation(),i._changeCursorOnPanStart(a,o,e),i._move(n,s,a)))}else if(l&&l.type==`pinch`){var c=u._getClientTouchesXY(e,1),f=Math.sqrt((t.x-c.x)*(t.x-c.x)+(t.y-c.y)*(t.y-c.y)),m=1+(f-l.dist)/(l.dist/100)/100;l.dist=f;var h=u._pinchMiddlePointInPercent(i.element,i.width(),i.height(),e);i.zoom(m,h)}},h=function(t){if(p<3&&l.type!=`pinch`&&(t.touches==null||t.touches.length<=1))i._clickHandler(e,t);else if(l.type==`pan`&&r){var a=Date.now()-l.time,o=Math.abs(p/a);if(o>.5){var s=r.treeList.scrollTop,c=s+o*400*(l.diffY>0?-1:1),f=r.stChildren[0].h;c=Math.round(c/f)*f,c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=u.animate(null,{},{},1500,u.anim.outExp,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,d.orientation)}))}else{var s=r.treeList.scrollTop,f=r.stChildren[0].h,c=Math.round(r.treeList.scrollTop/f)*f;c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=u.animate(null,{},{},200,u.anim.outSin,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,d.orientation)}))}}else l.type==`pan`&&!r&&p>10&&i._draw(!0,u.action.pan);l.type==`pan`&&!r&&i._changeCursorOnPanEnd(),l=null,e.removeEventListener(n.move,m),e.removeEventListener(n.up,h),n.leave&&e.removeEventListener(n.leave,h),n.touchstart&&e.removeEventListener(n.touchstart,h)};e.addEventListener(n.move,m,{passive:!0}),e.addEventListener(n.up,h),n.leave&&e.addEventListener(n.leave,h),n.touchstart&&e.addEventListener(n.touchstart,h,{passive:!0})},u.prototype._changeCursorOnPanStart=function(e,t,n){var r=this.getPointerElement();if(r){var i=u._getOffsetXY(this.element,n),a=i.x/t+e[0]-16/t,o=i.y/t+e[1]-16/t;r.style.display=`inherit`,r.setAttribute(`transform`,`matrix(0,0,0,0,`+a+`,`+o+`)`),u.animate(r,{transform:[0,0,0,0,a,o],opacity:0},{transform:[1/t,0,0,1/t,a,o],opacity:1},300,u.anim.outBack)}else this.element.style.cursor=`move`},u.prototype._changeCursorOnPanEnd=function(){var e=this.getPointerElement();e?e.style.display=`none`:this.element.style.cursor=`initial`},u.prototype._move=function(e,t,n){n[0]=t,n[1]=e,this.setViewBox(n),this.xScrollUI.setPosition(),this.yScrollUI.setPosition()},u.prototype.moveStart=function(e,t,n,r){if(!e){console.error(`movePosition parameter not defined`);return}if(this._moveInterval)return;var i=this,a=this.getViewBox().slice(0),o=this.getScale(),s=0,c=0,l=10,d=1,f=1;u.isNEU(n)&&(n=u.anim.inSin),u.isNEU(r)&&(r=3e3);function p(){var p={x:0,y:0,xWithoutScale:0,yWithoutScale:0};e.left?(s++,p.x=s*u.MOVE_STEP/o,p.xWithoutScale=s*u.MOVE_STEP):e.right&&(s++,p.x=-(s*u.MOVE_STEP)/o,p.xWithoutScale=-(s*u.MOVE_STEP)),e.up?(c++,p.y=c*u.MOVE_STEP/o,p.yWithoutScale=c*u.MOVE_STEP):e.down&&(c++,p.y=-(c*u.MOVE_STEP)/o,p.yWithoutScale=-(c*u.MOVE_STEP));var m=n((f*l-l)/r);p.x*=m,p.xWithoutScale*=m,p.y*=m,p.yWithoutScale*=m,i.setViewBox([a[0]+p.x,a[1]+p.y,a[2],a[3]]),t&&t(p),f+=d}this._moveInterval=setInterval(p,l)},u.prototype.moveEnd=function(){this._moveInterval&&=(clearInterval(this._moveInterval),null)},u===void 0&&(u={}),u.node=function(e,t,n,r){this.templateName=r,this.id=e,this.pid=t,this.children=[],this.childrenIds=[],this.parent=null,this.stpid=null,this.stParent=null,this.stChildren=[],this.stChildrenIds=[],this.tags=n,this.childCount=0,this.collapsedChildCount=0,this.deepCollapsedChildCount=0,this.deepChildCount=0,this.tags||=[]},u===void 0&&(u={}),u.idb={version:1,dbName:`BALKAN`,tableName:`orgchart-js`,keyPath:`id`},u.idb.db=null,u.idb._open=function(e){if(u._browser().msie){e&&e(!1);return}if((navigator.userAgent.toLowerCase().indexOf(`safari`)>0||navigator.userAgent.toLowerCase().indexOf(`firefox`)>0)&&window.location!==window.parent.location){e&&e(!1);return}if(!window.indexedDB){console.error(`Your browser doesn't support a stable version of IndexedDB.`),e&&e(!1);return}if(u.idb.db!=null){e&&e(!0);return}var t=indexedDB.open(u.idb.dbName,u.idb.version);t.onerror=function(t){console.error(`Cannot open database!`),e&&e(!1)},t.onsuccess=function(t){u.idb.db=t.target.result,e&&e(!0)},t.onupgradeneeded=function(e){var t=e.target.result;t.objectStoreNames.contains(u.idb.tableName)&&t.deleteObjectStore(u.idb.tableName),t.createObjectStore(u.idb.tableName,{keyPath:u.idb.keyPath})}},u.idb.read=function(e,t){u.idb._open(function(n){if(n){var r=u.idb.db.transaction([u.idb.tableName]).objectStore(u.idb.tableName).get(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.result?t&&t(!0,r.result):t&&t(null)}}else t&&t(!1)})},u.idb.write=function(e,t){u.idb.read(e.id,function(n){if(n==null){var r=u.idb.db.transaction([u.idb.tableName],`readwrite`).objectStore(u.idb.tableName).add(e);r.onerror=function(e){console.error(`Unable to add data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(n)})},u.idb.put=function(e,t){u.idb._open(function(n){if(n){var r=u.idb.db.transaction([u.idb.tableName],`readwrite`).objectStore(u.idb.tableName).put(e);r.onerror=function(e){console.error(`Unable to put data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(!1)})},u.idb.delete=function(e,t){u.idb._open(function(n){if(n){var r=u.idb.db.transaction([u.idb.tableName],`readwrite`).objectStore(u.idb.tableName).delete(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.error?t&&t(!1):t&&t(!0)}}else t&&t(!1)})},u===void 0&&(u={}),u.manager=function(e){this.config=e.config,this.layoutConfigs=e._layoutConfigs,this.visibleNodeIds=[],this.viewBox=null,this.action=null,this.actionParams=null,this.nodes={},this.oldNodes={},this.maxX=null,this.maxY=null,this.minX=null,this.minY=null,this.bordersByRootIdAndLevel=null,this.roots=null,this.state=null,this.vbIsInitializedFromState=!1,this.rootList=[],this.instance=e,this._fixAdjustForExport={x:0,y:0}},u.manager.prototype.read=function(e,t,n,r,i,a,o,s){var c=this;u.state._get(this.config.state,t,n,function(l){c.state=l,c.action=i,c.actionParams=a,i!=u.action.init||!c.state||a&&a.method&&a.method==`fit`?(c.viewBox=r,c.vbIsInitializedFromState=!1):(c.viewBox=c.state.vb,c.vbIsInitializedFromState=!0,Array.isArray(c.state.roots)&&(c.config.roots=c.state.roots));var d=c.maxX,f=c.maxY,p=c.minX,m=c.minY,h=c.bordersByRootIdAndLevel,g=c.roots,_=c.nodes;if(!e)_?c.oldNodes=_:c.oldNodes=null,c._read(function(e){d=e.maxX,f=e.maxY,p=e.minX,m=e.minY,h=e.bordersByRootIdAndLevel,g=e.roots,_=e.nodes;var r=u.manager._getResponse(t,n,c.visibleNodeIds,c.config,d,f,p,m,c.viewBox,g,c.action,c.actionParams,_,c.oldNodes,c.vbIsInitializedFromState);r.notif=e.limit,r.roots=g,r.bordersByRootIdAndLevel=h,r.adjustify=e.adjustify,i!=u.action.exporting&&(c.maxX=d,c.maxY=f,c.minX=p,c.minY=m,c.roots=g,c.nodes=_,c.visibleNodeIds=r.visibleNodeIds,c.bordersByRootIdAndLevel=h,c.rootList=e.rootList),o(r)},s);else{var v=u.manager._getResponse(t,n,c.visibleNodeIds,c.config,d,f,p,m,c.viewBox,g,c.action,c.actionParams,_,c.oldNodes,c.vbIsInitializedFromState);i!=u.action.exporting&&(c.maxX=d,c.maxY=f,c.minX=p,c.minY=m,c.roots=g,c.nodes=_,c.visibleNodeIds=v.visibleNodeIds),v.bordersByRootIdAndLevel=h,v.roots=g,v.adjustify={x:0,y:0},c.state&&(v.adjustify=c.state.adjustify),o(v)}})},u.manager.prototype._read=function(e,t){var n=this,r=u.manager._createNodes(this.instance);t(r);var i=r.nodes,a=r.roots,o=u.remote;o??=u.local,o._setPositions(a,n.layoutConfigs,function(t){var o=u.manager._doNotChangePositionOfClickedNodeIfAny(a,i,n.action,n.actionParams,n.oldNodes,n.config.orientation);n.state&&n.action==u.action.init&&(o=n.state.adjustify),n.action==u.action.exporting?o=n._fixAdjustForExport:n._fixAdjustForExport=o;for(var s={minX:null,minY:null,maxX:null,maxY:null},c={},l=[],d=0;d<a.length;d++)u.manager._setMinMaxXYAdjustifyIterate(a[d],a[d],s,0,c,o,n.config.orientation,l);for(var d=0;d<a.length;d++)u.manager._setChildCountPropsIterate(a[d],i);for(var f in l)for(var p in l[f]){var m=c[f][p],h=l[f][p];m.minX==null&&m.minY==null&&m.maxX==null&&m.maxY==null&&u._setMinMaxXY(h,m,!0)}e({minX:s.minX,minY:s.minY,maxX:s.maxX,maxY:s.maxY,bordersByRootIdAndLevel:c,nodes:i,roots:a,rootList:r.rootList,limit:t,adjustify:o})},i)},u===void 0&&(u={}),u.manager._initDinamicNode=function(e,t,n){t&&(e.lcn=t),n&&(e.isAssistant=!0);var r=u.t(e.templateName);e.w=r&&r.size?r.size[0]:0,e.h=r&&r.size?r.size[1]:0,e.isSplit=e.templateName==`split`,e.isMirror=e.templateName==`mirror`,e.isSubLevel=e.templateName==`subLevel`},u.manager._setCollpasedProperty=function(e,t,n,r,i,a,o,s){if(e.collapsed==null&&t.collapse&&t.collapse.allChildren?e.collapsed=!0:e.collapsed??=!1,i==u.action.expand&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!1),i==u.action.collapse&&(n.expandIds||n.collapseIds)?n.expandIds&&n.expandIds.indexOf(e.id)!=-1?e.collapsed=!1:n.collapseIds&&n.collapseIds.indexOf(e.id)!=-1&&(e.collapsed=!0):i==u.action.collapse&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!0),i==u.action.expand&&n.ids==`all`&&(e.collapsed=!1),i==u.action.exporting&&(!u.isNEU(n.parentLevels)||!u.isNEU(n.childLevels))&&n.id!=null){if(n.id!=null&&(!u.isNEU(n.parentLevels)||!u.isNEU(n.childLevels))){var c=s[n.id];if(c==e)e.collapsed=!1;else{for(var l=!1,d=-1,f=!1,p=-1;c;){if(d++,c==e){l=!0;break}c=s[c.pid]}c=s[n.id];for(var m=s[e.id];m;){if(p++,m==c){f=!0;break}m=s[m.pid]}n.parentLevels!=null&&l&&d<=n.parentLevels||n.childLevels!=null&&f&&p<=n.childLevels||f&&n.expandChildren?e.collapsed=!1:e.collapsed=!0}}}else i==u.action.exporting&&n.expandChildren&&(e.collapsed=!1);i==u.action.init&&o!=null?e.collapsed=!o.exp.has(e.id):i==u.action.init?e.tags.indexOf(`left-partner`)!=-1||e.tags.indexOf(`right-partner`)!=-1||e.tags.indexOf(`partner`)!=-1||e.parentPartner?e.collapsed=t.collapse&&a>=t.collapse.level&&r.indexOf(e.id)==-1:e.collapsed=t.collapse&&a>=t.collapse.level-1&&r.indexOf(e.id)==-1:i==u.action.centerNode||i==u.action.insert||i==u.action.expand||i==u.action.collapse?r.has(e.id)&&(e.collapsed=!1):i==u.action.update&&n&&n.changeRoots&&n.changeRoots.has(e.id)&&(e.collapsed=!1)},u.manager._initNode=function(e,t,n,r,i,a,o){var s=o.manager.config,c=o.manager.layoutConfigs,l=o.manager.action,d=o.manager.actionParams,f=o.manager.state,p=c[n||`base`];e.parent??u.manager._setCollpasedProperty(e,p,d,i,l,r-1,f,t);for(var m=0;m<e.childrenIds.length;m++){var h=t[e.childrenIds[m]];if(u.manager._setCollpasedProperty(h,p,d,i,l,r,f,t),h.collapsed)e.collapsedChildCount++;else{if(h.parent=e,h.ppid!=null){var g=t[h.ppid];g&&(h.parentPartner=g)}(h.tags.indexOf(`left-partner`)!=-1||h.tags.indexOf(`right-partner`)!=-1||h.tags.indexOf(`partner`)!=-1||h.parentPartner)&&a.indexOf(e.id)==-1&&a.push(e.id),e.children.push(h)}}if(l==u.action.minimize&&!e.min?(d.all||d.id==e.id)&&(e.min=!0):l==u.action.maximize&&e.min===!0?(d.all||d.id==e.id)&&(e.min=!1):l==u.action.exporting&&d.min===!1?e.min=!1:l==u.action.init&&f!=null&&(e.min=f.min.has(e.id)),!e.min&&(!e.tags||!e.tags.has(`filter`)))for(var m=0;m<e.stChildrenIds.length;m++){var h=t[e.stChildrenIds[m]];h.stParent=e,e.stChildren.push(h)}r!=null&&(e.level=r),n&&(e.lcn=n);var _=u._getSubLevels(e.tags,s.tags);_>0&&(e.subLevels=_),e.tags.indexOf(`assistant`)!=-1&&e.parent!=null&&(e.isAssistant=!0),p.layout==u.layout.treeList&&(e.isTreeListItem=!0),p.template&&s.template==e.templateName&&(e.templateName=p.template);var v=u.t(e.templateName,e.min);if(e.w=v&&v.size?v.size[0]:0,e.h=v&&v.size?v.size[1]:0,e.padding=v&&v.padding?v.padding:[0,0,0,0],e.isTreeListItem&&e.stParent&&e.stParent.treeList==null){var y=u.t(e.stParent.templateName,e.stParent.min);e.stParent.treeList={pinnedIds:[],scrollTop:0,scrollTopMax:0,maxHeight:y.treeListMaxHeight}}var b={node:e};u.events.publish(`node-initialized`,[o,b])},u.manager._iterate=function(e,t,n,r,i,a,o,s,c,l,d,f){var p=f.manager.layoutConfigs;if(u.manager._initNode(t,n,c,r,l,d,f),t.isAssistant&&(a[t.pid]||(a[t.pid]=[]),a[t.pid].push(t.id)),t.subLevels>0&&o.push(t.id),u.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN&&!t.isAssistant&&t.parent){if(t.parent&&t.parent.children.length&&t.parent.children[t.parent.children.length-1]==t){for(var m=[],h=0,g=0,_=0;_<t.parent.children.length;_++){var v=t.parent.children[_];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.children.length==0?m.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&g++:h++}(u.MIXED_LAYOUT_ALL_NODES&&m.length>1&&m.length==t.parent.children.length-h-g||!u.MIXED_LAYOUT_ALL_NODES&&m.length>1)&&(s[t.pid]=m)}}else if(!t.isAssistant&&t.childrenIds.length==0&&t.parent&&!s[t.pid]){for(var m=[],h=0,g=0,_=0;_<t.parent.children.length;_++){var v=t.parent.children[_];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.childrenIds.length==0?m.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&g++:h++}(u.MIXED_LAYOUT_ALL_NODES&&m.length>u.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&m.length==t.parent.childrenIds.length-h-g||!u.MIXED_LAYOUT_ALL_NODES&&m.length>u.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)&&(s[t.pid]=m)}t.stChildren.length&&(e.stContainerNodes||=[],e.stContainerNodes.push(t));for(var y=0;y<t.stChildren.length;y++){for(var b=``,_=0;_<t.tags.length;_++)if(p[t.tags[_]]){b=t.tags[_];break}i.push(t.stChildren[y].id),u.manager._iterate(e,t.stChildren[y],n,0,i,a,o,s,b,l,d,f)}r++;for(var y=0;y<t.children.length;y++)t.isTreeListItem&&(t.children[y].isTreeListItem=t.isTreeListItem),u.manager._iterate(e,t.children[y],n,r,i,a,o,s,c,l,d,f)},u.manager.__createNodes=function(e,t,n,r,i,a,o,s){for(var c=[],l=u._addDottedLines(n),d=0;d<l.length;d++){var f=l[d],p=u.STRING_TAGS?f.tags?f.tags.split(`,`):[]:Array.isArray(f.tags)?f.tags.slice(0):[];s.filterUI.addFilterTag(f)&&p.unshift(`filter`);var m=s.searchUI.addMatchTag(f.id);m===!0?p.unshift(`match`):m===!1&&p.unshift(`no-match`);var h=u._getTemplate(p,n.tags,n.template),g=new u.node(f.id,f.pid,p,h);u.isNEU(f.ppid)||(g.ppid=f.ppid),u.isNEU(f.stpid)||(g.stpid=f.stpid),f.movex!=null&&(g.movex=f.movex),f.movey!=null&&(g.movey=f.movey),e[f.id]=g,c.push(f.id)}if(n.orderBy!=null){var _=u.manager._getOrderSortArray(n.orderBy);c.sort(function(e,t){var n,r;for(var i of l)if(i.id==e&&(n=i),i.id==t&&(r=i),n&&r)break;for(var a=0;a<_.length;a++){var o=n[_[a].field],s=r[_[a].field],c=o,u=s;if(c??=``,u??=``,typeof c==`string`&&typeof u==`string`){var d=c.localeCompare(u);if(_[a].desc&&(d*=-1),d!==0)return d}else{var d=o<s?-1:o>s?1:0;if(_[a].desc&&(d*=-1),d!==0)return d}}})}for(var d=0;d<c.length;d++){var v=c[d],g=e[v],y=a?a[v]:null,b=e[g.stpid],x=e[g.pid];if(b||(g.stpid=null),x||(g.pid=null),b){var S=a?a[b.id]:null;S&&(b.min=S.min),b.stChildrenIds.push(g.id)}else x?(y&&(g.collapsed=y.collapsed,g.min=y.min,g.treeList=y.treeList),x.childrenIds.push(g.id)):(y&&(g.collapsed=y.collapsed,g.min=y.min,g.treeList=y.treeList),t.push(g),o.push(g.id));r==u.action.init&&(g.min=u._getMin(g,n))}},u.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs,r=e.manager.action,i=e.manager.actionParams,a=e.manager.oldNodes,o=e.manager.state,s={},c=[],l=[];if(u.manager.__createNodes(s,c,t,r,i,a,l,e),t.roots!=null){c=[];for(var d=0;d<t.roots.length;d++){var f=s[t.roots[d]];if(f&&r==u.action.centerNode){for(var p=f;p.pid!=null||p.stpid!=null;)p=p.pid==null&&p.stpid!=null?s[p.stpid]:s[p.pid];for(var m=s[i.id];(m.pid!=null||m.stpid!=null)&&m!=f;)m=m.pid==null&&m.stpid!=null?s[m.stpid]:s[m.pid];p==m&&(f=p)}if(f){for(var h=!1,g=0;g<c.length;g++)if(c[g].id==f.id){h=!0;break}if(!h){if(!u.isNEU(f.pid)){var _=s[f.pid],v=_.childrenIds.indexOf(f.id);v>-1&&_.childrenIds.splice(v,1)}c.push(f)}}}t.roots=[];for(var d=0;d<c.length;d++)t.roots.push(c[d].id)}if(r==u.action.exporting&&i.id!=null)if(i.parentLevels){for(var _=s[i.id],y=0;y<i.parentLevels&&s[_.pid];)y++,_=s[_.pid];_.pid=null,c=[_]}else{var b=s[i.id];b&&(b.pid=null,c=[b])}var x=[];if(r==u.action.init&&t.expand&&t.expand.nodes&&o==null)for(var d=0;d<t.expand.nodes.length;d++){var b=s[t.expand.nodes[d]];for(t.expand.allChildren===!0&&u.manager._addExpandedNodeIdsIterate(b,s,x);b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid]}else if(r==u.action.expand&&i.ids&&i.ids!=`all`||r==u.action.collapse&&i&&i.expandIds)for(var S=r==u.action.expand?i.ids:i.expandIds,d=0;d<S.length;d++)for(var b=s[S[d]],_=s[b.pid];_;)x.push(_.id),_.pid==null&&_.stpid!=null?(_=s[_.stpid],_.min=!1):_=s[_.pid];else if(r==u.action.centerNode){for(var C=u._getCenterNodeFromParams(s,i);C;){if(x.push(C.id),i.options.parentState===u.COLLAPSE_PARENT_NEIGHBORS&&C)for(var d=0;d<C.childrenIds.length;d++){var w=s[C.childrenIds[d]];w.collapsed=!0}if(C.pid==null&&C.stpid!=null){if(C=s[C.stpid],C.min=!1,C.tags){var v=C.tags.indexOf(`filter`);v!=-1&&(C.tags.splice(v,1),e.filterUI._removeFilter(C.id))}}else C=s[C.pid]}if(C=u._getCenterNodeFromParams(s,i),i.options.childrenState===u.COLLAPSE_SUB_CHILDRENS)for(var d=0;d<C.childrenIds.length;d++){var T=s[C.childrenIds[d]];T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}if(i.options.parentState===u.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED){var _=s[C.pid];if(_)for(var d=0;d<_.childrenIds.length;d++){var T=s[_.childrenIds[d]];if(T!=C){T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}}}}else if(r==u.action.insert)for(var b=s[i.insertedNodeId];b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid];for(var O=[],k={},A=[],j={},M=[],d=0;d<c.length;d++)u.manager._iterate(c[d],c[d],s,0,O,k,A,j,``,x,M,e);if(r==u.action.collapse&&i&&Array.isArray(i.expandIds)&&Array.isArray(i.collapseIds))for(var d=0;d<i.ids.length;d++)if(i.expandIds.has(i.collapseIds[d]))console.error(`id ${i.collapseIds[d]} exist in both collapseIds and expandIds`);else{var b=s[i.collapseIds[d]];b&&(b.collapsed=!0)}for(var d=c.length-1;d>=0;d--)c[d].collapsed&&c.splice(d,1);for(var d=0;d<M.length;d++){for(var b=s[M[d]],N=[],P=[],F=[],I={},ee=0,L=0,R=0,te=[],ne=[],E=0;E<b.children.length;E++){var w=b.children[E];w.isAssistant?N.push(w.id):w.tags.indexOf(`right-partner`)==-1?w.tags.indexOf(`left-partner`)==-1?w.tags.indexOf(`partner`)!=-1&&!(ee%2)?(w.isPartner=1,w.children=[],P.push(w.id),ee++):w.tags.indexOf(`partner`)!=-1&&ee%2?(w.isPartner=2,w.children=[],F.push(w.id),ee++):w.parentPartner?(I[w.parentPartner.id]||(I[w.parentPartner.id]=[]),I[w.parentPartner.id].push(w.id)):N.push(w.id):(w.isPartner=2,w.children=[],F.push(w.id)):(w.isPartner=1,w.children=[],P.push(w.id))}b.children=[];for(var re=[],E=0;E<P.length;E++){var w=s[P[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var ie=0;ie<w.childrenIds.length;ie++)re.push(w.childrenIds[ie])}for(var ae=[],E=0;E<F.length;E++){var w=s[F[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var ie=0;ie<w.childrenIds.length;ie++)ae.push(w.childrenIds[ie])}for(var E=0;E<ae.length;E++){var w=s[ae[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.children.push(w))}for(var E=F.length-1;E>=0;E--)if(I[F[E]])for(var g=0;g<I[F[E]].length;g++)b.children.push(s[I[F[E]][g]]),L++,ne.indexOf(F[E])==-1&&ne.push(F[E]);for(var E=0;E<N.length;E++){var w=s[N[E]];b.children.push(w)}for(var E=0;E<P.length;E++)if(I[P[E]])for(var g=0;g<I[P[E]].length;g++)b.children.push(s[I[P[E]][g]]),R++,te.indexOf(P[E])==-1&&te.push(P[E]);for(var E=0;E<re.length;E++){var w=s[re[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.children.push(w))}b.partnerSeparation=Math.max(ne.length,te.length)*t.partnerChildrenSplitSeparation+t.minPartnerSeparation,!N.length&&L&&!R?b.hasPartners=2:!N.length&&!L&&R?b.hasPartners=3:!N.length&&L==1&&R==1?b.hasPartners=4:!N.length&&!L&&!R?b.hasPartners=5:N.length&&!L&&!R?b.hasPartners=6:N.length&&(L||R)?b.hasPartners=7:b.hasPartners=1}for(var d=0;d<A.length;d++)for(var b=s[A[d]],oe=b.lcn?b.lcn:`base`,se=n[oe],E=0;E<b.subLevels;E++){var z=new u.node(b.id+`_sub_level_index_`+E,b.pid,[],`subLevel`);u.manager._initDinamicNode(z,b.lcn);var _=b.parent;if(_){b.movex!=null&&(z.movex=b.movex),b.movey!=null&&(z.movey=b.movey);var v=_.children.indexOf(b);v>-1&&(_.children.splice(v,1),_.children.splice(v,0,z)),z.children.push(b),z.parent=_,b.parent=z,s[z.id]=z}}for(var B in k){var _=s[B];_.hasAssistants=!0;var z=new u.node(_.id+`_split_assitant_0`,_.id,[`assistant`],`split`);_.movex!=null&&(z.movex=_.movex),_.movey!=null&&(z.movey=_.movey),u.manager._initDinamicNode(z,_.lcn,!0),s[z.id]=z;for(var V=[],E=_.children.length-1;E>=0;E--){var w=_.children[E];w.isAssistant?(w.parent=null,_.children.splice(E,1),V.splice(0,0,w.id)):w.isPartner||(w.parent&&j[w.parent.id]&&z&&w.parent.id!=z.id&&(Object.defineProperty(j,z.id,Object.getOwnPropertyDescriptor(j,w.parent.id)),delete j[w.parent.id]),w.parent=z,z.children.unshift(w),_.children.splice(E,1))}if(V.length%2){var ce=s[V[V.length-1]],H=new u.node(ce.id+`_mirror`,_.pid,[],`mirror`);u.manager._initDinamicNode(H,ce.lcn,!0),H.isAssistant=!0,H.w=ce.w,H.h=ce.h,s[H.id]=H,V.splice(V.length-1,0,H.id)}for(var le=1,E=V.length-1;E>=0;E--)if(E%2&&E!=V.length-1){var U=new u.node(_.id+`_split_assitant_`+le,_.pid,[],`split`);u.manager._initDinamicNode(U,_.lcn,!0),_.movex!=null&&(U.movex=_.movex),_.movey!=null&&(U.movey=_.movey),s[U.id]=U,V.splice(E,0,U.id),le++}else E%2&&V.splice(E,0,z.id);for(var E=0;E<V.length;E+=3){var W=null;W=E==0?_:s[V[E-2]];var ue=s[V[E]],de=s[V[E+1]],fe=s[V[E+2]];ue.parent=W,de.parent=W,fe.parent=W,W.children.push(ue),W.children.push(de),W.children.push(fe)}}var pe=!1;for(var me in n){var se=n[me];if(se.layout!=0){pe=!0;break}}var he=u.events.has(`node-layout`,e._event_id);if(pe||he){var G={nodes:s,config:t,action:r,actionParams:i};if(A.length){var ge=!1;for(var B in j){for(var S=j[B],d=0;d<S.length;d++){var b=s[S[d]];if(b.subLevels){ge=!0;break}}if(ge)break}if(ge){var _e={},ve={},ye={};for(var B in j)for(var S=j[B],be=!1,K=null,d=0;d<S.length;d++){var q=S[d];(K===null||A.has(q))&&(K=s[q].parent.id,!be&&!u.isNEU(s[q].subLevels)&&(be=s[q].subLevels>0)),_e[K]||(_e[K]=[]),_e[K].push(q),be&&(ye[K]=B,ve[K]||(ve[K]=[]),ve[K].push(q))}for(var B in j={},ve)if(ve[B].length>u.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)for(var xe=ye[B],d=s[xe].children.length-1;d>=0;d--){var w=s[xe].children[d];ve[B].has(w.id)&&s[xe].children.splice(d,1)}for(var B in _e)_e[B].length>u.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&(j[B]=_e[B])}}for(var B in j){for(var _=s[B],J=_;J.isSplit;)J=s[J.pid];for(;J.isSubLevel;)J=s[J.pid];var oe=_.lcn?_.lcn:`base`,se=n[oe];if(se.layout!=0||he){G.pnode=_,G.layout=se.layout,G.layoutGridColumns=t.layoutGridColumns,G.childrenIds=j[B],G.lastChildrenPidIds=j,G.subLevels=0,G.layouts=[],u.events.publish(`node-layout`,[e,G]),u.events.publish(`layout`,[G]),G.layouts.length||G.layouts.push({layout:G.layout,childrenIds:G.childrenIds,subLevels:G.subLevels,layoutGridColumns:G.layoutGridColumns});for(var Y=0;Y<G.layouts.length;Y++){var X=G.layouts[Y];for(u.isNEU(X.subLevels)&&(X.subLevels=0),u.isNEU(X.layout)&&(X.layout=se.layout),_=s[B],J=_;J.isSplit;)J=s[J.pid];for(;J.isSubLevel;)J=s[J.pid];for(var Z=_,E=0;E<X.subLevels;E++){var z=new u.node(Y+`_sublevel_layout_`+E,Z.id,[],`subLevel`);u.manager._initDinamicNode(z,Z.lcn),z.parent=Z,Z.children.push(z),s[z.id]=z,Z=z}if(X.subLevels){for(var E=0;E<X.childrenIds.length;E++){var w=s[X.childrenIds[E]],v=_.children.indexOf(w);v!=-1&&_.children.splice(v,1),w.parent=Z,Z.children.push(w)}_=Z}if(X.layout==u.layout.grid&&X.childrenIds.length>2){X.layoutGridColumns==`dynamic`&&(X.layoutGridColumns=u._getDynamicGridCoulumns(X.childrenIds.length));for(var Se=_.id,d=_.children.length-1;d>=0;d--)for(var E=0;E<X.childrenIds.length;E++){var q=X.childrenIds[E];if(_.children[d].id==q){_.children.splice(d,1);break}}var Q=X.layoutGridColumns;Q%2!=0&&Q>2&&Q--;for(var d=0;d<X.childrenIds.length;d+=Q)for(var Ce=null,E=0;E<Q;E++){var we=d+Q>=X.childrenIds.length;if(X.childrenIds.length-1<d+E)break;var q=X.childrenIds[d+E],w=s[q];w.parent=s[Se],s[Se].children.push(w),we||(Q/2-1==E&&(Ce=new u.node(X.childrenIds[d+E-1]+`_grid_pseudo_node_`+X.childrenIds[d+E+1],Se,[],`subLevel`),u.manager._initDinamicNode(Ce,_.lcn),Ce.parent=s[Se],s[Se].children.push(Ce),s[Ce.id]=Ce),Q-1==E&&(Se=Ce.id))}}if(X.layout==u.layout.mixed)for(var Te=X.childrenIds,d=Te.length-1;d>=0;d--){var w=s[Te[d]];_=w.parent,w.layout=u.layout.mixed;for(var E=_.children.length-1;E>=0;E--)if(w.id==_.children[E].id){_.children.splice(E,1);break}if(d>0){var Ee=s[Te[d-1]];w.parent=Ee,w.layout=u.layout.mixed,Ee.children.push(w)}else _.children.push(w)}else if(X.layout>1){var z=new u.node(Y+`_`+_.id+`_split_0`,J.id,[],`split`);_.movex!=null&&(z.movex=_.movex),_.movey!=null&&(z.movey=_.movey),u.manager._initDinamicNode(z,_.lcn),s[z.id]=z,z.layout=X.layout;for(var $=[],d=X.childrenIds.length-1;d>=0;d--){for(var w=s[X.childrenIds[d]],E=0;E<_.children.length;E++)_.children[E].id==w.id&&_.children.splice(E,1);if(w.parent=null,w.layout=X.layout,(X.layout==u.layout.treeRightOffset||X.layout==u.layout.treeRight)&&$.splice(0,0,w.id),X.layout>2){var De=new u.node(Y+`_`+w.id+`_mirror`,J.id,[],`mirror`);u.manager._initDinamicNode(De,w.lcn),De.layout=X.layout,s[De.id]=De,$.splice(0,0,De.id)}X.layout!=u.layout.treeRightOffset&&X.layout!=u.layout.treeRight&&$.splice(0,0,w.id)}for(var le=1,E=$.length-1;E>=0;E--)if(E%2&&E!=$.length-1){var U=new u.node(Y+`_`+_.id+`_split_`+le,J.id,[],`split`);u.manager._initDinamicNode(U,_.lcn),_.movex!=null&&(U.movex=_.movex),_.movey!=null&&(U.movey=_.movey),U.layout=X.layout,s[U.id]=U,$.splice(E,0,U.id),le++}else E%2&&$.splice(E,0,z.id);for(var E=0;E<$.length;E+=3){var W=null;E==0&&(W=_);var ue=s[$[E]],de=s[$[E+1]],fe=s[$[E+2]];E!=0&&(W=s[$[E-3]]),E!=0&&!de&&(W=s[$[E-2]]),ue.parent=W,W.children.push(ue),de&&(E!=0&&(W=s[$[E-2]]),de.parent=W,W.children.push(de)),fe&&(E!=0&&(W=s[$[E-1]]),fe.parent=W,W.children.push(fe))}}}}}}if(u.VERTICAL_CHILDREN_ASSISTANT)for(var d=0;d<c.length;d++)u.manager._verticalAssistantIterate(c[d],s);var G={nodes:s,roots:c};return u.events.publish(`nodes-initialized`,[e,G]),{nodes:G.nodes,roots:G.roots,rootList:l}},u.manager._getOrderSortArray=function(e){if(typeof e==`string`)return[{field:e,desc:!1}];if(Array.isArray(e)){var t=[];for(var n of e)typeof n==`string`?t.push({field:n,desc:!1}):e instanceof Object?t.push(n):console.error(`Unseported orderBy value!`);return t}else if(e instanceof Object)return[e];else console.error(`Unseported orderBy value!`)},u.manager._getNodeWidth=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h}return 0},u.manager._isVisible=function(e,t,n,r,i,a,o){var s=0;if(u.LAZY_LOADING_FACTOR==`auto`){var c=a/i*2,l=o/i*2;s=Math.ceil(c>l?c:l)}else s=u.LAZY_LOADING_FACTOR/i;if(!(e.x==null||e.y==null)){if(u._getLazyLoading(t)&&r!==u.action.exporting){function t(e,t){var n=e.x,r=e.y,i=e.w,a=e.h,o=t[0]-s,c=t[2]+s+t[0],l=t[1]-s,u=t[3]+s+t[1],d=n+i>o&&c>n;return d&&=r+a>l&&u>r,d}if(t(e,n))return!0;for(var d=0;d<e.children.length;d++)if(t(e.children[d],n))return!0;return!1}return!0}},u.manager.getAllFields=function(e){var t=[u.TAGS];for(var n in e.nodeBinding)t.push(e.nodeBinding[n]);for(var n=0;n<e.nodes.length;n++)for(var r in e.nodes[n])r!==u.ID&&r!==u.TAGS&&r!==u.NODES&&r!==u.PID&&r!==u.STPID&&r!==`movex`&&r!==`movey`&&(e.nodeBinding[r]||t.has(r)||t.push(r));return t},u.manager._getMostDeepChild=function(e){if(!e)return;var t=e;function n(e){e.sl>t.sl&&(t=e);for(var r=0;r<e.children.length;r++)n(e.children[r])}return n(e),t},u.manager._getResponse=function(e,t,n,r,i,a,o,s,c,l,d,f,p,m,h){var g=l[0],_=[],v={top:null,left:null,bottom:null,right:null,minX:null,maxX:null,minY:null,maxY:null},y=[[],[],[]],b=i-o+r.padding*2,x=a-s+r.padding*2,S=u.getScale(c,e,t,r.scaleInitial,r.scaleMax,r.scaleMin,b,x);if(v.top=s-r.padding,v.left=o-r.padding,v.bottom=a+r.padding-t/S,v.right=i+r.padding-e/S,v.maxX=i,v.minX=o,v.maxY=a,v.minY=s,l.length==0||c==null&&!h&&r.align==u.CENTER){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;if(C-r.padding*2>=i-o)switch(T=(i+o)/2-C/2,r.orientation){case u.orientation.right:case u.orientation.right_top:T=(o-i)/2-C/2;break}else switch(T=g.x-C/2+u.manager._getNodeWidth(g,r)/2,r.orientation){case u.orientation.right:case u.orientation.right_top:T=-(C/2-(o-i)/2),T<r.padding-C&&(T=r.padding-C);break;case u.orientation.left:case u.orientation.bottom_left:case u.orientation.top_left:case u.orientation.left_top:T=-(C/2-(i-o)/2),T>-r.padding&&(T=-r.padding);break}if(w-r.padding*2>=a-s)switch(E=(a+s)/2-w/2,r.orientation){case u.orientation.bottom:case u.orientation.bottom_left:E=(s-a)/2-w/2;break}else switch(E=-(w/2-(a-s)/2),E>-r.padding&&(E=-r.padding),r.orientation){case u.orientation.bottom:case u.orientation.bottom_left:E=-(w/2-(s-a)/2),E<r.padding-w&&(E=r.padding-w);break;case u.orientation.left:case u.orientation.right:E=g.y-w/2+u.manager._getNodeWidth(g,r)/2;break}c=[T,E,C,w]}else if(c==null&&!h&&r.align==u.ORIENTATION){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;switch(r.orientation){case u.orientation.top:T=g.x-C/2+u.manager._getNodeWidth(g,r)/2,E=-r.padding;break;case u.orientation.bottom:T=g.x-C/2+u.manager._getNodeWidth(g,r)/2,E=r.padding-w;break;case u.orientation.left:T=-r.padding,E=g.y-w/2+u.manager._getNodeWidth(g,r)/2;break;case u.orientation.right:T=r.padding-C,E=g.y-w/2+u.manager._getNodeWidth(g,r)/2;break;case u.orientation.top_left:T=-r.padding,E=-r.padding;break;case u.orientation.right_top:T=r.padding-C,E=-r.padding;break;case u.orientation.left_top:T=-r.padding,E=-r.padding;break;case u.orientation.bottom_left:T=-r.padding,E=r.padding-w;break}c=[T,E,C,w]}if(d==u.action.centerNode||d==u.action.maximize){var D=u._getCenterNodeFromParams(p,f);f.options.horizontal==1&&(c[0]=D.x+D.w/2-c[2]/2),f.options.vertical==1&&(c[1]=D.y+D.h/2-c[3]/2)}if(d==u.action.insert||d==u.action.expand||d==u.action.collapse||d==u.action.update||d==u.action.centerNode){var O=null;if(d==u.action.insert&&f&&f.insertedNodeId!=null&&f.insertedNodeId!=null)O=p[f.insertedNodeId];else if(d==u.action.update&&f&&f.visId!=null&&f.visId!=null)O=p[f.visId];else if((d==u.action.expand||d==u.action.collapse)&&f&&f.id!=null&&f.id!=null)O=p[f.id],O=u.manager._getMostDeepChild(O);else if(d==u.action.centerNode){switch(r.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:f.options.vertical||(O=p[f.id]);break;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:f.options.horizontal||(O=p[f.id]);break}O&&=u.manager._getMostDeepChild(O)}if(!u.FIXED_POSITION_ON_CLICK&&O){if(O.isTreeListItem){for(;!O.stParent;)O=O.parent;O=O.stParent}switch(r.orientation){case u.orientation.top:case u.orientation.top_left:var k=O.y+O.h-c[3]+r.padding;c[1]<k&&(c[1]=k);break;case u.orientation.bottom:case u.orientation.bottom_left:var k=O.y-r.padding;c[1]>k&&(c[1]=k);break;case u.orientation.right:case u.orientation.right_top:var k=O.x-r.padding;c[0]>k&&(c[0]=k);break;case u.orientation.left:case u.orientation.left_top:var k=O.x+O.w-c[2]+r.padding;c[0]<k&&(c[0]=k);break}}}for(var A=0;A<l.length;A++)u.manager._iterate2(l[A],p,r,c,d,f,_,m,n,y,S,e,t);return{animations:y,boundary:v,viewBox:c,visibleNodeIds:_,nodes:p,allFields:u.manager.getAllFields(r)}},u.manager._iterate2=function(e,t,n,r,i,a,o,s,c,l,d,f,p){if(u.manager._isVisible(e,n,r,i,d,f,p)){o.push(e.id);var m=null;if((i==u.action.expand||i==u.action.collapse||i==u.action.maximize)&&s&&s[e.id]&&a.method==`expandCollapseToLevel`){var h=s[e.id];if(m={x:h.x,y:h.y},h){m={x:h.x,y:h.y};for(var g=e,_=null;g!=null;)s[g.id]&&s[g.id].collapsed&&(_=g),g=g.parent;_&&_.parent&&(m={x:_.parent.x,y:_.parent.y})}var v=t[a.id];if(v){for(var g=e.parent;g!=null;)g=g.parent;g&&(m={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if((i==u.action.expand||i==u.action.collapse)&&s&&s[e.id]){var h=s[e.id];if(m={x:h.x,y:h.y},a.ids==`all`&&h){m={x:h.x,y:h.y};for(var g=e,_=null;g!=null;)s[g.id]&&s[g.id].collapsed&&(_=g),g=g.parent;_&&_.parent&&(m={x:_.parent.x,y:_.parent.y})}var v=t[a.id];if(v){for(var g=e.parent;g!=null&&a.ids.indexOf(e.id)==-1&&a.ids.indexOf(g.id)==-1;)g=g.parent;g&&(m={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if(i==u.action.centerNode&&s&&s[e.id]){var h=s[e.id];h.x!=null&&h.y!=null&&(m={x:h.x,y:h.y});var y=u._getCenterNodeFromParams(t,a);if(y&&y==e){var g=e.parent;g&&g.id==a.id&&(m={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==u.action.maximize&&s&&s[e.id]){var h=s[e.id];h.x!=null&&h.y!=null&&(m={x:h.x,y:h.y});var y=u._getCenterNodeFromParams(t,a);if(y&&y==e){var g=e.parent;g&&g.id==a.id&&(m={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==u.action.minimize&&s&&s[e.id]){var h=s[e.id];m={x:h.x,y:h.y}}else if(i==u.action.insert&&a&&a.insertedNodeId==e.id&&e.parent)m={x:e.parent.x,y:e.parent.y};else if((i==u.action.update||i==u.action.insert)&&s){var h=s[e.id];if((!h||u.isNEU(h.x)&&u.isNEU(h.y))&&a){var v=t[a.id];if(v){for(var g=v;g&&g.id==e.id;)g=g.parent;g&&(m={x:v.x,y:v.y})}}else h&&(m={x:h.x,y:h.y})}else i!==u.action.exporting&&i!==u.action.init&&c.indexOf(e.id)==-1&&(l[0].push(e.id),l[1].push({opacity:0}),l[2].push({opacity:1}));m!=null&&m.x!=null&&m.y!=null&&(m.x!=e.x||m.y!=e.y)&&!(a&&a.dragNodeIdList&&a.dragNodeIdList.indexOf(e.id)!=-1)&&!e.isSplit&&(l[0].push(e.id),l[1].push({transform:[1,0,0,1,m.x,m.y]}),l[2].push({transform:[1,0,0,1,e.x,e.y]}))}for(var b=0;b<e.stChildren.length;b++)u.manager._iterate2(e.stChildren[b],t,n,r,i,a,o,s,c,l,d,f,p);for(var b=0;b<e.children.length;b++)u.manager._iterate2(e.children[b],t,n,r,i,a,o,s,c,l,d,f,p)},u.manager._addExpandedNodeIdsIterate=function(e,t,n){for(var r=0;r<e.childrenIds.length;r++)n.push(e.childrenIds[r]),u.manager._addExpandedNodeIdsIterate(t[e.childrenIds[r]],t,n)},u.manager._setChildCountPropsIterate=function(e,t){e.w===void 0&&(e.collapsedChildCount=e.childrenIds.length),e.deepChildCount=e.childCount=e.childrenIds.length,e.deepCollapsedChildCount=e.collapsedChildCount;for(var n=t[e.pid];n;)n.deepCollapsedChildCount+=e.collapsedChildCount,n.deepChildCount+=e.childCount,n=t[n.pid];for(var r of e.stChildrenIds)u.manager._setChildCountPropsIterate(t[r],t);for(var r of e.childrenIds)u.manager._setChildCountPropsIterate(t[r],t)},u.manager._setMinMaxXYAdjustifyIterate=function(e,t,n,r,i,a,o,s){e.x+=a.x,e.y+=a.y;for(var c of e.stChildren)u.manager._setMinMaxXYAdjustifyIterate(c,c,n,0,i,a,o,s);e.isPartner?e.sl=r-1:e.sl=r,i[t.id]??(i[t.id]={}),i[t.id][e.sl]??(i[t.id][e.sl]={minX:null,minY:null,maxX:null,maxY:null}),e.layout?(s[t.id]??(s[t.id]={}),s[t.id][e.sl]??(s[t.id][e.sl]=e)):u._setMinMaxXY(e,i[t.id][e.sl],!0),e.movex!=null&&(e.x+=e.movex),e.movey!=null&&(e.y+=e.movey),u._setMinMaxXY(e,n,!0),r++;for(var c of e.children)u.manager._setMinMaxXYAdjustifyIterate(c,t,n,r,i,a,o,s)},u.manager._doNotChangePositionOfClickedNodeIfAny=function(e,t,n,r,i,a){if(n!=u.action.expand&&n!=u.action.collapse&&n!=u.action.minimize&&n!=u.action.maximize&&n!=u.action.centerNode&&n!=u.action.update&&n!=u.action.insert)return{x:0,y:0};if(n==u.action.update&&(!r||r.id==null)){if(!e||!e.length)return{x:0,y:0};r={id:e[0].id}}if(r.id==null)return{x:0,y:0};var o=r.id;(n==u.action.minimize&&t[o].parent||n==u.action.maximize&&t[o].parent)&&(o=t[o].pid);var s=t[o],c=i[o];if(!c)return{x:0,y:0};var l=c.movex==null?0:c.movex,d=c.movey==null?0:c.movey,f={x:(c.x?c.x-l:0)-s.x,y:(c.y?c.y-d:0)-s.y};return s&&s.isTreeListItem?{x:0,y:0}:f},u.manager._verticalAssistantIterate=function(e,t){for(var n=0;n<e.stChildren.length;n++)u.manager._verticalAssistantIterate(e.stChildren[n],t);if(e.children.length==3)u.manager._verticalAssistantIterate(e.children[0],t),u.manager._verticalAssistantIterate(e.children[2],t),u.manager._verticalAssistantIterate(e.children[1],t);else for(var n=0;n<e.children.length;n++)u.manager._verticalAssistantIterate(e.children[n],t);if(e.isAssistant&&e.isSplit&&e.children.length){for(var r=e.parent.children[0],i=e.parent.children[2],a=e.parent;!a.hasAssistants;)a=a.parent;var o={max:0},s={max:0};u.manager._verticalAssistantLevelCountIterate(r,0,o),u.manager._verticalAssistantLevelCountIterate(i,0,s);for(var c=Math.max(o.max,s.max),l=[],n=0;n<c;n++){var d=new u.node(e.parent.id+`_split_assitant_level_`+n,e.pid,[],`subLevel`);u.manager._initDinamicNode(d,e.lcn,!0),a.movex!=null&&(d.movex=a.movex),a.movey!=null&&(d.movey=a.movey),n>0&&(l[n-1].children.push(d),d.parent=l[n-1]),t[d.id]=d,l.push(d)}if(l.length){for(var f=l[l.length-1],p=l[0],m=e.children.length-1;m>=0;m--){var h=e.children[m];f.children.unshift(h),h.parent=f,e.children.splice(m,1)}e.children.push(p),p.parent=e}}},u.manager._verticalAssistantLevelCountIterate=function(e,t,n){n.max<t&&(n.max=t),t++;for(var r=0;r<e.children.length;r++)u.manager._verticalAssistantLevelCountIterate(e.children[r],t,n)},u._addDottedLines=function(e){var t=e.nodes;if((e.groupDottedLines.length||e.dottedLines.length)&&(t=JSON.parse(JSON.stringify(t))),e.groupDottedLines.length)for(var n=[],r=0;r<e.groupDottedLines.length;r++){var i=e.groupDottedLines[r];i.rootId??=i.to;var a=`balkan_group_dotted_${i.rootId}`;if(!n.has(a)){for(var o=0;o<t.length;o++)if(t[o].id==i.rootId){var s=JSON.parse(JSON.stringify(t[o]));s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=void 0,s.stpid=t[o].id,t.push(s),n.push(a),t[o].tags||(t[o].tags=[]),t[o].tags.push(`group-dotted-lines`),t[o].tags.push(`group-dotted-lines-`+a);break}}for(var o=0;o<t.length;o++)if(t[o].id==i.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=`balkan_group_dotted_${i.rootId}_balkan_id_${i.to}`,s.tags){var c=s.tags.indexOf(`group-dotted-lines`);c!=-1&&s.tags.splice(c,1)}if(s.tags||=[],s.tags.push(`boc-dotted-connector`),i.tags)for(var l=0;l<i.tags.length;l++)s.tags.push(i.tags[l]);t.push(s);break}}if(e.dottedLines.length)for(var r=0;r<e.dottedLines.length;r++){var u=e.dottedLines[r];u.rootId??=u.to;for(var o=0;o<t.length;o++)if(t[o].id==u.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_dotted_${u.rootId}_balkan_id_${t[o].id}`,u.rootId==u.to?s.pid=u.to:s.pid=`balkan_dotted_${u.rootId}_balkan_id_${u.to}`,s.tags||=[],s.tags.push(`boc-dotted-connector`),u.tags)for(var l=0;l<u.tags.length;l++)s.tags.push(u.tags[l]);t.push(s);break}}return t},u===void 0&&(u={}),u.templates={},u.templates.base={defs:``,size:[250,120],expandCollapseSize:30,linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},assistanseLink:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="2px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} {xd},{yd} L{xe},{ye}"/>`,svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,node:`<rect x="0" y="0" height="120" width="250" fill="none" stroke-width="1" stroke="#aeaeae" rx="7" ry="7"></rect>`,plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
381
+ </svg>`},h===void 0&&(h={}),h.events=(function(){var e={};return{on:function(t,n,r){Array.isArray(e[t])||(e[t]=[]),e[t].push({listener:n,event_id:r})},removeAll:function(t){Array.isArray(e[t])||(e[t]=[]),e[t]=[]},remove:function(t,n,r){var i=!1;if(e[t]&&Array.isArray(e[t])&&e[t].length>0)for(var a=e[t].length-1;a>=0;a--)(!h.isNEU(r)&&!h.isNEU(n)&&e[t][a].event_id==r&&e[t][a].listener==n||!h.isNEU(r)&&h.isNEU(n)&&e[t][a].event_id==r||h.isNEU(r)&&!h.isNEU(n)&&e[t][a].listener==n||h.isNEU(r)&&h.isNEU(n))&&(e[t].splice(a,1),i=!0);return i},has:function(t,n){if(e[t]&&Array.isArray(e[t])&&e[t].length>0){if(h.isNEU(n))return!0;for(var r=0;r<e[t].length;r++)if(e[t][r].event_id==n)return!0}return!1},removeForEventId:function(t){for(var n in e)if(Array.isArray(e[n]))for(var r=e[n].length-1;r>=0;r--)e[n][r].event_id==t&&e[n].splice(r,1)},publish:function(t,n){if(e[t]){for(var r=[],i=0;i<e[t].length;i++){var a=e[t][i];(a.event_id==null||a.event_id==n[0]._event_id)&&r.push(a.listener)}if(r.length>0){for(var o=!0,i=0;i<r.length&&(n.length==1?o=r[i](n[0])&&o:n.length==2?o=r[i](n[0],n[1])&&o:n.length==3?o=r[i](n[0],n[1],n[2])&&o:n.length==4?o=r[i](n[0],n[1],n[2],n[3])&&o:n.length==5&&(o=r[i](n[0],n[1],n[2],n[3],n[4])&&o),o!==!1);i++);return o}}}}})(),h.prototype.expand=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,h.action.expand,r,n)},h.prototype.collapse=function(e,t,n){this._treeListExpandCollapseHandler(e),this._resetMovableNodes();var r={id:e,ids:t};this._draw(!1,h.action.collapse,r,n)},h.prototype.expandCollapse=function(e,t,n,r){this._treeListExpandCollapseHandler(e),this._resetMovableNodes(),Array.isArray(t)||(t=[]),Array.isArray(n)||(n=[]);var i={id:e,expandIds:t,collapseIds:n,ids:t.concat(n)};this._draw(!1,h.action.collapse,i,r)},h.prototype.changeRoots=function(e,t,n){this.config.roots=t;var r={id:e,changeRoots:t};this._draw(!1,h.action.update,r,n)},h.prototype._resetMovableNodes=function(){if(h.RESET_MOVABLE_ONEXPANDCOLLAPSE&&this.config.movable!=null){for(var e=!1,t=0;t<this.config.nodes.length;t++){var n=this.config.nodes[t];n.movex!=null&&(n.movex=0,e=!0),n.movey!=null&&(n.movey=0,e=!0)}e&&(this._ai.setContext(),h.events.publish(`updated`,[this]))}},h.prototype.maximize=function(e,t,n,r){var i=this,a={id:e,options:{}};h.isNEU(a.id)&&(a.id=this.roots[0].id,a.all=!0),a.options.horizontal=!1,a.options.vertical=!1,t&&(a.options.horizontal=t),n&&(a.options.vertical=n),this._draw(!1,h.action.maximize,a,function(){i.ripple(e),r&&r()})},h.prototype.minimize=function(e,t){var n=this,r={id:e};h.isNEU(r.id)&&(r.id=this.roots[0].id,r.all=!0),this._draw(!1,h.action.minimize,r,function(){n.ripple(e),t&&t()})},h.prototype._expCollHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this.getNode(e),n=this.getCollapsedIds(t);if(n.length){var r=h.events.publish(`expcollclick`,[this,!1,e,n]);if(r===!1)return!1;this.expand(e,n,!1)}else{var r=h.events.publish(`expcollclick`,[this,!0,e,t.childrenIds]);if(r===!1)return!1;this.collapse(e,t.childrenIds,!1)}},h.prototype._upHandler=function(e){this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var t=this._upHandlerCreateArgs(e);if(h.events.publish(`up-click`,[this,t])===!1)return!1;this.changeRoots(t.id,t.roots,!1)},h.prototype._upHandlerCreateArgs=function(e){var t=this.getNode(e),n=Object.assign([],this.config.roots),r=this.getNode(t.pid),i;if(r&&(i=r),i){if(Array.isArray(n)){var a=n.indexOf(t.id);a!=-1&&n.splice(a,1)}else n=[];n.push(i.id)}return{id:t.id,roots:n}},String.prototype.replaceAll||(String.prototype.replaceAll=function(e,t){return this.replace(new RegExp(e,`g`),t)}),String.prototype.endsWith||(String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1}),String.prototype.splice||(String.prototype.splice=function(e,t,n){return this.slice(0,e)+n+this.slice(e+Math.abs(t))}),String.prototype.insert||(String.prototype.insert=function(e,t){return e>0?this.substring(0,e)+t+this.substr(e):t+this}),Array.prototype.unique||Object.defineProperty(Array.prototype,`unique`,{value:function(){for(var e=this.concat(),t=0;t<e.length;++t)for(var n=t+1;n<e.length;++n)e[t]===e[n]&&e.splice(n--,1);return e},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.has||Object.defineProperty(Array.prototype,`has`,{value:function(e){for(var t=0;t<this.length;t++)if(this[t]==e)return!0;return!1},writable:!0,configurable:!0,enumerable:!1}),Array.prototype.compare||Object.defineProperty(Array.prototype,`compare`,{value:function(e){if(this.length!=e.length)return!1;for(var t=0;t<this.length;t++)if(!e.has(this[t]))return!1;return!0},writable:!0,configurable:!0,enumerable:!1}),Object.assign||Object.defineProperty(Object,`assign`,{value:function(e,t){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(i!=null)for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])}return n},writable:!0,configurable:!0}),h.prototype._globalMouseDownHandler=function(e,t){var n={move:`mousemove`,up:`mouseup`,leave:`mouseleave`};t.type.indexOf(`touch`)!=-1&&(t.touches.length==1?this._touch={x:t.touches[0].clientX,y:t.touches[0].clientY}:this._touch=null,n={move:`touchmove`,up:`touchend`,touchstart:`touchstart`}),this._treeListUpdateInterval&&=(clearInterval(this._treeListUpdateInterval),null);for(var r=null,i=t.target;i!=e&&!i.hasAttribute(h.attr.control_node_menu_id)&&!i.hasAttribute(h.attr.control_node_circle_menu_id);){if(i.hasAttribute){var a=null;i.hasAttribute(h.attr.node_id)?a=this.getNode(i.getAttribute(h.attr.node_id)):i.hasAttribute(h.attr.control_expcoll_id)?a=this.getNode(i.getAttribute(h.attr.control_expcoll_id)):(i.hasAttribute(h.attr.control_node_menu_id)||i.hasAttribute(h.attr.control_node_menu_id))&&(a=this.getNode(i.getAttribute(h.attr.control_node_menu_id))),r||=h._getScrollableTreeListNodeInTouchEnabledDevice(a)}if(i.hasAttribute(h.attr.node_id)&&!r&&(this.config.enableDragDrop||this.config.movable)){if(t.touches==null||t.touches.length<=1){this._nodeMouseDownHandler(i,t,n);return}}else if(i.hasAttribute(h.attr.control_node_circle_menu_name)){if(t.stopPropagation(),t.touches==null||t.touches.length<=1){this._nodeCircleNodeMenuItemMouseDownHandler(e,i,t,n);return}}else if(i.hasAttribute(`data-treelist-thumb`)&&(t.stopPropagation(),t.touches==null||t.touches.length<=1)){this._treeListThumbMouseDownHandler(i,t,n);return}i=i.parentNode}t.stopPropagation(),this._mouseDownHandler(e,t,n,r)},h.prototype._globalContextHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(h.attr.node_id)){var r=n.getAttribute(h.attr.node_id),i=this.getNode(r);this._nodeContextHandler(i.id,t);return}n=n.parentNode}},h.prototype._nodeContextHandler=function(e,t){t.preventDefault(),h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var n=this.get(e),r=null;if(n!=null&&Array.isArray(n.tags))for(var i=0;i<n.tags.length;i++){var a=n.tags[i];this.config.tags[a]&&this.config.tags[a].nodeContextMenu&&(r=this.config.tags[a].nodeContextMenu)}var o=this.element.getBoundingClientRect(),s=t.clientX-o.left,c=t.clientY-o.top;this.nodeContextMenuUI.show(s,c,e,null,r)},h.prototype._globalDbClickHandler=function(e,t){for(var n=t.target;n!=e;){if(n.hasAttribute(h.attr.node_id)){var r=n.getAttribute(h.attr.node_id),i=this.getNode(r);this._nodeDbClickHandler(i.id,t);return}n=n.parentNode}},h.prototype._mouseScrollHandler=function(e,t){for(var n=!1,r=t.target,i=null;r&&r.hasAttribute&&!r.hasAttribute(`data-n-id`)&&!r.hasAttribute(`data-ctrl-ec-id`);)r=r.parentNode;if(r.hasAttribute&&r.hasAttribute(`data-n-id`)){var a=r.getAttribute(`data-n-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}if(r.hasAttribute&&r.hasAttribute(`data-ctrl-ec-id`)){var a=r.getAttribute(`data-ctrl-ec-id`);i=this.getNode(a),i.isTreeListItem&&(n=!0)}t.ctrlKey&&(n=!1),n?this.__mouseScrollHandlerTreeList(i,t):this.__mouseScrollHandler(this.getSvg(),t)},h.prototype.__mouseScrollHandler=function(e,t){if(t.ctrlKey){if(this.config.mouseScrool==h.action.zoom)return}else if(this.config.mouseScrool==h.action.ctrlZoom||this.config.mouseScrool!=h.action.zoom)return;if(t.preventDefault(),!navigator.hardwareConcurrency||navigator.hardwareConcurrency<9){let r=t.deltaY/1e3;r=Math.abs(r)<.1?.1*t.deltaY/Math.abs(t.deltaY):r;var n=h._centerPointInPercent(e,t.clientX,t.clientY);this.zoom(1-r,n)}else{var r=this,i=!1,a=this.config.zoom.speed,o=this.config.zoom.smooth,s=0,c=this.getScale(),n=h._centerPointInPercent(e,t.clientX,t.clientY);function d(){i=!0;var e=(s-c)/o;e>0?e++:e--,c+=e,r.zoom(1-e/12/50,n),parseInt(c)==parseInt(s)?i=!1:l(d)}var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,20)}}();t.preventDefault();var u=t.delta||t.wheelDelta;u===void 0&&(u=-t.detail),u=Math.max(-1,Math.min(1,u)),s+=-u*a,i||d()}},h.prototype._nodeCircleNodeMenuItemMouseDownHandler=function(e,t,n,r){var i=t.parentNode.getAttribute(h.attr.control_node_circle_menu_wrraper_id),a=t.getAttribute(h.attr.control_node_circle_menu_name),o=this.nodeCircleMenuUI._menu[a];if(!o.draggable){this._clickHandler(e,n);return}var s=this,c=h._getClientXY(n),l=this.getNode(i);t._dragEventFired=!1;var u=s.getScale(),d=null,f=null;document.body.style.mozUserSelect=document.body.style.webkitUserSelect=document.body.style.userSelect=`none`;var p=this.getSvg(),m={x:c.x,y:c.y},g=function(e){for(;e&&!e.hasAttribute(h.attr.control_node_circle_menu_wrraper_id);)e=e.parentNode;if(!e){console.error(`cannot find parent`+h.attr.control_node_circle_menu_wrraper_id);return}var t=h._getTransform(e);return{x:t[4],y:t[5]}},_=t.cloneNode(!0);p.insertBefore(_,p.firstChild);var v=h._getTransform(_),y=v[4],b=v[5],x=g(t);_.setAttribute(`transform`,`matrix(1,0,0,1,`+(y+x.x)+`,`+(b+x.y)+`)`),_.style.opacity=.7;var S=function(e,t){if(e!=null){t.classList.remove(`boc-drag-over`);for(var n=h.getStParentNodes(s.getNode(d)),r=0;r<n.length;r++){var i=s.getNodeElement(n[r].id);i&&(i.style.opacity=1)}}},C=function(e){if(m){var n=h._getClientXY(e),r=e.target;h.isMobile()&&(r=document.elementFromPoint(n.x,n.y)),n.x+=x.x*u,n.y+=x.y*u;var i=h._getOffsetXY(s.element,e),c={left:s.width()-(i.x+s.config.padding)<0,right:i.x-s.config.padding<0,up:s.height()-(i.y+s.config.padding)<0,down:i.y-s.config.padding<0};if(c.left||c.right||c.up||c.down){p.classList&&(p.classList.remove(`boc-cursor-grab`),p.classList.add(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`));var l=v[4],g=v[5],C=m.x,T=m.y,E=n.x,D=n.y;s.moveStart(c,function(e){v[4]=l+e.x,v[5]=g+e.y,m.x=C-e.xWithoutScale,m.y=T-e.yWithoutScale,n.x=E-e.xWithoutScale,n.y=D-e.yWithoutScale,_.setAttribute(`transform`,`matrix(`+v.toString()+`)`)})}else{for(s.moveEnd(),p.classList&&(p.classList.add(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`)),S(d,f),d=null,f=null;r!=null&&r!=p;){if(r.hasAttribute&&r.hasAttribute(h.attr.node_id)){var O=r.getAttribute(h.attr.node_id);d=O,f=r;break}r=r.parentNode}if(d!=null){f.classList.add(`boc-drag-over`);for(var k=s.getNode(d),A=h.getStParentNodes(k),j=0;j<A.length;j++){var M=s.getNodeElement(A[j].id);M&&(M.style.opacity=.1)}p.classList.remove(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.add(`boc-cursor-copy`),p.classList.remove(`boc-cursor-nodrop`)}var N=(n.x-m.x)/u,P=(n.y-m.y)/u;v[4]=y+N,v[5]=b+P,!t._dragEventFired&&(Math.abs(n.x-m.x)>h.FIRE_DRAG_NOT_CLICK_IF_MOVE||Math.abs(n.y-m.y)>h.FIRE_DRAG_NOT_CLICK_IF_MOVE)&&(s._gragStartedId=t.parentNode.getAttribute(h.attr.control_node_circle_menu_wrraper_id),h.events.publish(`drag`,[s.nodeCircleMenuUI,{from:O,menuItem:o,menuItemName:a}])===!1&&w(),t._dragEventFired=!0),_.setAttribute(`transform`,`matrix(`+v.toString()+`)`)}}},w=function(e){if(s.moveEnd(),p.classList&&(p.classList.remove(`boc-cursor-grab`),p.classList.remove(`boc-cursor-move`),p.classList.remove(`boc-cursor-nodrop`),p.classList.remove(`boc-cursor-copy`)),p.removeEventListener(r.move,C),p.removeEventListener(r.up,w),r.leave&&p.removeEventListener(r.leave,w),l.id==d||d==null){p.removeChild(_),s._gragStartedId=null,t._dragEventFired&&h.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,menuItemName:a,menuItem:o,event:e}]);return}var n=s.getNode(d);h.events.publish(`drop`,[s.nodeCircleMenuUI,{from:l.id,to:n.id,menuItem:o,menuItemName:a,event:e}]),S(d,f),p.removeChild(_),s._gragStartedId=null};p.addEventListener(r.move,C),p.addEventListener(r.up,w),r.leave&&p.addEventListener(r.leave,w)},h.prototype._nodeMouseDownHandler=function(e,t,n){var r=e.getAttribute(h.attr.node_id),i=this.getNode(r);this.config.movable&&!h.getRootOf(i).stParent?this._movableHandler(e,t,n):this.config.enableDragDrop&&this._dragDropHandler(e,t,n)},h.prototype._resizeHandler=function(e,t){if(this.isVisible&&!(e==0||t==0)){var n=this.getViewBox();if(n){n=n.slice(0);var r=e/n[2],i=t/n[3];Math.abs(this._lastSize.width-e)>Math.abs(this._lastSize.height-t)?n[3]=t/r:n[2]=e/i,this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),this.setViewBox(n),this.xScrollUI.create(e),this.yScrollUI.create(t),this._draw(!0,h.action.resize)}}},h.prototype._nodeDbClickHandler=function(e,t){if(h.events.publish(`dbclick`,[this,this.get(e)])===!1)return!1;this._commonClickHandler(e,t,this.config.nodeMouseDbClick)},h.prototype._nodeClickHandler=function(e,t){if(h.events.publish(`click`,[this,{node:this.getNode(e),event:t}])===!1)return!1;if(this.powerPointPreviewUI.isVisible()&&this.powerPointPreviewUI.selectedPage!=null){this.powerPointPreviewUI.selectedPage.content=void 0,this.powerPointPreviewUI.selectedPage.nodeId=e,this.powerPointPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pdfPreviewUI.isVisible()&&this.pdfPreviewUI.selectedPage!=null){this.pdfPreviewUI.selectedPage.content=void 0,this.pdfPreviewUI.selectedPage.nodeId=e,this.pdfPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.svgPreviewUI.isVisible()&&this.svgPreviewUI.selectedPage!=null){this.svgPreviewUI.selectedPage.content=void 0,this.svgPreviewUI.selectedPage.nodeId=e,this.svgPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}if(this.pngPreviewUI.isVisible()&&this.pngPreviewUI.selectedPage!=null){this.pngPreviewUI.selectedPage.content=void 0,this.pngPreviewUI.selectedPage.nodeId=e,this.pngPreviewUI.refresh(e),this.ripple(e,t.clientX,t.clientY);return}var n=this.getNodeElement(e);if(n&&n._dragEventFired){n._dragEventFired=!1;return}this._commonClickHandler(e,t,this.config.nodeMouseClick)},h.prototype._nodeCircleMenuItemClickHandler=function(e,t){var n=e.parentNode.getAttribute(h.attr.control_node_circle_menu_wrraper_id),r=e.getAttribute(h.attr.control_node_circle_menu_name),i=this.nodeCircleMenuUI._menu[r];h.events.publish(`click`,[this.nodeCircleMenuUI,{nodeId:n,menuItemName:r,menuItem:i,event:t}])},h.prototype._nodeCircleMenuClickHandler=function(e){if(h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.menuUI.hide(),this.nodeContextMenuUI.isVisible())this.nodeContextMenuUI.hide();else{var t=this.getNode(e),n=null;if(Array.isArray(t.tags))for(var r=0;r<t.tags.length;r++){var i=t.tags[r];this.config.tags[i]&&this.config.tags[i].nodeCircleMenu&&(n=this.config.tags[i].nodeCircleMenu)}this.nodeCircleMenuUI.show(e,n)}},h.prototype._commonClickHandler=function(e,t,n){if(h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide(),n==h.action.expandCollapse&&this.toggleExpandCollapse(e,t),n==h.action.edit){var r=this.getNode(e);r&&(this.editUI.show(r.id),this.ripple(r.id,t.clientX,t.clientY))}if(n==h.action.details){var r=this.getNode(e);r&&(this.editUI.show(r.id,!0),this.ripple(r.id,t.clientX,t.clientY))}},h.prototype._menuHandlerMouseDownHandler=function(e,t){t.stopPropagation(),t.preventDefault()},h.prototype._nodeMenuClickHandler=function(e,t,n){h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide(),this.nodeCircleMenuUI.hide();var r=this.getNode(e),i=null;if(Array.isArray(r.tags))for(var a=0;a<r.tags.length;a++){var o=r.tags[a];this.config.tags[o]&&this.config.tags[o].nodeMenu&&(i=this.config.tags[o].nodeMenu)}this.nodeMenuUI.showStickIn(t,e,null,i)},h.prototype._menuClickHandler=function(e,t){t.stopPropagation(),t.preventDefault(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.show(e.offsetLeft,e.offsetTop)},h.prototype._lonelyButtonHandler=function(){var e={id:this.generateId()};this.addNode(e,null,!0)!==!1&&this.center(e.id)},h.prototype.toggleExpandCollapse=function(e,t){var n=this.getNode(e),r=this.getCollapsedIds(n);if(r.length){var i=h.events.publish(`expcollclick`,[this,!1,e,r]);if(i===!1)return!1;this.expand(e,r,!1)}else{var i=h.events.publish(`expcollclick`,[this,!0,e,n.childrenIds]);if(i===!1)return!1;this.collapse(e,n.childrenIds,!1)}t&&this.ripple(n.id,t.clientX,t.clientY)},h.prototype._clickHandler=function(e,t){if(!(t.button>0)){for(var n=t.target;n!=e;){if(n.hasAttribute(h.attr.control_expcoll_id)){var r=n.getAttribute(h.attr.control_expcoll_id),i=this.getNode(r);this._expCollHandler(i.id);return}if(n.hasAttribute(h.attr.node_id)){var r=n.getAttribute(h.attr.node_id),i=this.getNode(r);this._nodeClickHandler(i.id,t);return}if(n.hasAttribute(h.attr.control_node_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(h.attr.control_node_menu_id),i=this.getNode(r);this._nodeMenuClickHandler(i.id,n,t);return}if(n.hasAttribute(h.attr.control_node_circle_menu_id)){t.stopPropagation(),t.preventDefault();var r=n.getAttribute(h.attr.control_node_circle_menu_id);this._nodeCircleMenuClickHandler(r);return}if(n.hasAttribute(h.attr.control_node_circle_menu_name)){t.stopPropagation(),this._nodeCircleMenuItemClickHandler(n,t);return}if(n.hasAttribute(h.attr.control_add)){this._lonelyButtonHandler();return}if(n.hasAttribute(h.attr.control_up_id)){var r=n.getAttribute(h.attr.control_up_id);t.stopPropagation(),t.preventDefault(),this._upHandler(r);return}if(n.hasAttribute(h.attr.c_link_from)){h.events.publish(`clink-click`,[this,{from:n.getAttribute(h.attr.c_link_from),to:n.getAttribute(h.attr.c_link_to),event:t}]);return}if(n.hasAttribute(h.attr.s_link_from)){h.events.publish(`slink-click`,[this,{from:n.getAttribute(h.attr.s_link_from),to:n.getAttribute(h.attr.s_link_to),event:t}]);return}if(n.hasAttribute(`data-ctrl-n-dotted-close`)){var r=n.getAttribute(`data-ctrl-n-dotted-close`);this.minimize(r);return}if(n.hasAttribute(`data-ctrl-n-dotted-open`)){var r=n.getAttribute(`data-ctrl-n-dotted-open`);this.maximize(r);return}n=n.parentNode}h.events.publish(`canvas-click`,[this,{event:t}])}},h.prototype._mouseDownHandler=function(e,t,n,r){var i=this;h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&this.searchUI.hide(),this.nodeMenuUI.hide(),this.nodeContextMenuUI.hide(),this.menuUI.hide();var a=this.getViewBox(),o=this.getScale(),s=h._getClientTouchesXY(t,0),c=h._getClientTouchesXY(t,1),l={diffX:0,diffY:0,x0:s.x,y0:s.y,type:this.config.enablePan?`pan`:`pan-not-enabled`,viewBoxLeft:a[0],viewBoxTop:a[1],time:Date.now()};t.touches&&t.touches.length>1&&(l.type=`pinch`,l.dist=Math.sqrt((s.x-c.x)*(s.x-c.x)+(s.y-c.y)*(s.y-c.y)));var u=null;if(r){var d=r.stChildren[0].lcn?r.stChildren[0].lcn:`base`;u=i.manager.layoutConfigs[d],l.scrollTop=r.treeList.scrollTop}var f=0,p=function(e){var t=h._getClientTouchesXY(e,0);if(l&&l.type==`pan`){clearTimeout(i._timeout),l.diffX=t.x-l.x0,l.diffY=t.y-l.y0,f=Math.max(Math.abs(l.diffY),Math.abs(l.diffX));var n=-(l.diffY/o)+l.viewBoxTop,s=-(l.diffX/o)+l.viewBoxLeft;f>3&&(r?(r.treeList.scrollTop=l.scrollTop-l.diffY/o,i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdate(r,u)):(i._hideBeforeAnimation(),i._changeCursorOnPanStart(a,o,e),i._move(n,s,a)))}else if(l&&l.type==`pinch`){var c=h._getClientTouchesXY(e,1),d=Math.sqrt((t.x-c.x)*(t.x-c.x)+(t.y-c.y)*(t.y-c.y)),p=1+(d-l.dist)/(l.dist/100)/100;l.dist=d;var m=h._pinchMiddlePointInPercent(i.element,i.width(),i.height(),e);i.zoom(p,m)}},m=function(t){if(f<3&&l.type!=`pinch`&&(t.touches==null||t.touches.length<=1))i._clickHandler(e,t);else if(l.type==`pan`&&r){var a=Date.now()-l.time,o=Math.abs(f/a);if(o>.5){var s=r.treeList.scrollTop,c=s+o*400*(l.diffY>0?-1:1),d=r.stChildren[0].h;c=Math.round(c/d)*d,c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=h.animate(null,{},{},1500,h.anim.outExp,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,u.orientation)}))}else{var s=r.treeList.scrollTop,d=r.stChildren[0].h,c=Math.round(r.treeList.scrollTop/d)*d;c!=s&&(i._treeListUpdateInterval&&=(clearInterval(i._treeListUpdateInterval),null),i._treeListUpdateInterval=h.animate(null,{},{},200,h.anim.outSin,function(){},function(e){r.treeList.scrollTop=e*(c-s)+s,i._treeListUpdate(r,u.orientation)}))}}else l.type==`pan`&&!r&&f>10&&i._draw(!0,h.action.pan);l.type==`pan`&&!r&&i._changeCursorOnPanEnd(),l=null,e.removeEventListener(n.move,p),e.removeEventListener(n.up,m),n.leave&&e.removeEventListener(n.leave,m),n.touchstart&&e.removeEventListener(n.touchstart,m)};e.addEventListener(n.move,p,{passive:!0}),e.addEventListener(n.up,m),n.leave&&e.addEventListener(n.leave,m),n.touchstart&&e.addEventListener(n.touchstart,m,{passive:!0})},h.prototype._changeCursorOnPanStart=function(e,t,n){var r=this.getPointerElement();if(r){var i=h._getOffsetXY(this.element,n),a=i.x/t+e[0]-16/t,o=i.y/t+e[1]-16/t;r.style.display=`inherit`,r.setAttribute(`transform`,`matrix(0,0,0,0,`+a+`,`+o+`)`),h.animate(r,{transform:[0,0,0,0,a,o],opacity:0},{transform:[1/t,0,0,1/t,a,o],opacity:1},300,h.anim.outBack)}else this.element.style.cursor=`move`},h.prototype._changeCursorOnPanEnd=function(){var e=this.getPointerElement();e?e.style.display=`none`:this.element.style.cursor=`initial`},h.prototype._move=function(e,t,n){n[0]=t,n[1]=e,this.setViewBox(n),this.xScrollUI.setPosition(),this.yScrollUI.setPosition()},h.prototype.moveStart=function(e,t,n,r){if(!e){console.error(`movePosition parameter not defined`);return}if(this._moveInterval)return;var i=this,a=this.getViewBox().slice(0),o=this.getScale(),s=0,c=0,l=10,u=1,d=1;h.isNEU(n)&&(n=h.anim.inSin),h.isNEU(r)&&(r=3e3);function f(){var f={x:0,y:0,xWithoutScale:0,yWithoutScale:0};e.left?(s++,f.x=s*h.MOVE_STEP/o,f.xWithoutScale=s*h.MOVE_STEP):e.right&&(s++,f.x=-(s*h.MOVE_STEP)/o,f.xWithoutScale=-(s*h.MOVE_STEP)),e.up?(c++,f.y=c*h.MOVE_STEP/o,f.yWithoutScale=c*h.MOVE_STEP):e.down&&(c++,f.y=-(c*h.MOVE_STEP)/o,f.yWithoutScale=-(c*h.MOVE_STEP));var p=n((d*l-l)/r);f.x*=p,f.xWithoutScale*=p,f.y*=p,f.yWithoutScale*=p,i.setViewBox([a[0]+f.x,a[1]+f.y,a[2],a[3]]),t&&t(f),d+=u}this._moveInterval=setInterval(f,l)},h.prototype.moveEnd=function(){this._moveInterval&&=(clearInterval(this._moveInterval),null)},h===void 0&&(h={}),h.node=function(e,t,n,r){this.templateName=r,this.id=e,this.pid=t,this.children=[],this.childrenIds=[],this.parent=null,this.stpid=null,this.stParent=null,this.stChildren=[],this.stChildrenIds=[],this.tags=n,this.childCount=0,this.collapsedChildCount=0,this.deepCollapsedChildCount=0,this.deepChildCount=0,this.tags||=[]},h===void 0&&(h={}),h.idb={version:1,dbName:`BALKAN`,tableName:`orgchart-js`,keyPath:`id`},h.idb.db=null,h.idb._open=function(e){if(h._browser().msie){e&&e(!1);return}if((navigator.userAgent.toLowerCase().indexOf(`safari`)>0||navigator.userAgent.toLowerCase().indexOf(`firefox`)>0)&&window.location!==window.parent.location){e&&e(!1);return}if(!window.indexedDB){console.error(`Your browser doesn't support a stable version of IndexedDB.`),e&&e(!1);return}if(h.idb.db!=null){e&&e(!0);return}var t=indexedDB.open(h.idb.dbName,h.idb.version);t.onerror=function(t){console.error(`Cannot open database!`),e&&e(!1)},t.onsuccess=function(t){h.idb.db=t.target.result,e&&e(!0)},t.onupgradeneeded=function(e){var t=e.target.result;t.objectStoreNames.contains(h.idb.tableName)&&t.deleteObjectStore(h.idb.tableName),t.createObjectStore(h.idb.tableName,{keyPath:h.idb.keyPath})}},h.idb.read=function(e,t){h.idb._open(function(n){if(n){var r=h.idb.db.transaction([h.idb.tableName]).objectStore(h.idb.tableName).get(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.result?t&&t(!0,r.result):t&&t(null)}}else t&&t(!1)})},h.idb.write=function(e,t){h.idb.read(e.id,function(n){if(n==null){var r=h.idb.db.transaction([h.idb.tableName],`readwrite`).objectStore(h.idb.tableName).add(e);r.onerror=function(e){console.error(`Unable to add data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(n)})},h.idb.put=function(e,t){h.idb._open(function(n){if(n){var r=h.idb.db.transaction([h.idb.tableName],`readwrite`).objectStore(h.idb.tableName).put(e);r.onerror=function(e){console.error(`Unable to put data to database!`),t&&t(!1)},r.onsuccess=function(e){t&&t(!0)}}else t&&t(!1)})},h.idb.delete=function(e,t){h.idb._open(function(n){if(n){var r=h.idb.db.transaction([h.idb.tableName],`readwrite`).objectStore(h.idb.tableName).delete(e);r.onerror=function(e){console.error(`Unable to retrieve data from database!`),t&&t(!1)},r.onsuccess=function(e){r.error?t&&t(!1):t&&t(!0)}}else t&&t(!1)})},h===void 0&&(h={}),h.manager=function(e){this.config=e.config,this.layoutConfigs=e._layoutConfigs,this.visibleNodeIds=[],this.viewBox=null,this.action=null,this.actionParams=null,this.nodes={},this.oldNodes={},this.maxX=null,this.maxY=null,this.minX=null,this.minY=null,this.bordersByRootIdAndLevel=null,this.roots=null,this.state=null,this.vbIsInitializedFromState=!1,this.rootList=[],this.instance=e,this._fixAdjustForExport={x:0,y:0}},h.manager.prototype.read=function(e,t,n,r,i,a,o,s){var c=this;h.state._get(this.config.state,t,n,function(l){c.state=l,c.action=i,c.actionParams=a,i!=h.action.init||!c.state||a&&a.method&&a.method==`fit`?(c.viewBox=r,c.vbIsInitializedFromState=!1):(c.viewBox=c.state.vb,c.vbIsInitializedFromState=!0,Array.isArray(c.state.roots)&&(c.config.roots=c.state.roots));var u=c.maxX,d=c.maxY,f=c.minX,p=c.minY,m=c.bordersByRootIdAndLevel,g=c.roots,_=c.nodes;if(!e)_?c.oldNodes=_:c.oldNodes=null,c._read(function(e){u=e.maxX,d=e.maxY,f=e.minX,p=e.minY,m=e.bordersByRootIdAndLevel,g=e.roots,_=e.nodes;var r=h.manager._getResponse(t,n,c.visibleNodeIds,c.config,u,d,f,p,c.viewBox,g,c.action,c.actionParams,_,c.oldNodes,c.vbIsInitializedFromState);r.notif=e.limit,r.roots=g,r.bordersByRootIdAndLevel=m,r.adjustify=e.adjustify,i!=h.action.exporting&&(c.maxX=u,c.maxY=d,c.minX=f,c.minY=p,c.roots=g,c.nodes=_,c.visibleNodeIds=r.visibleNodeIds,c.bordersByRootIdAndLevel=m,c.rootList=e.rootList),o(r)},s);else{var v=h.manager._getResponse(t,n,c.visibleNodeIds,c.config,u,d,f,p,c.viewBox,g,c.action,c.actionParams,_,c.oldNodes,c.vbIsInitializedFromState);i!=h.action.exporting&&(c.maxX=u,c.maxY=d,c.minX=f,c.minY=p,c.roots=g,c.nodes=_,c.visibleNodeIds=v.visibleNodeIds),v.bordersByRootIdAndLevel=m,v.roots=g,v.adjustify={x:0,y:0},c.state&&(v.adjustify=c.state.adjustify),o(v)}})},h.manager.prototype._read=function(e,t){var n=this,r=h.manager._createNodes(this.instance);t(r);var i=r.nodes,a=r.roots,o=h.remote;o??=h.local,o._setPositions(a,n.layoutConfigs,function(t){var o=h.manager._doNotChangePositionOfClickedNodeIfAny(a,i,n.action,n.actionParams,n.oldNodes,n.config.orientation);n.state&&n.action==h.action.init&&(o=n.state.adjustify),n.action==h.action.exporting?o=n._fixAdjustForExport:n._fixAdjustForExport=o;for(var s={minX:null,minY:null,maxX:null,maxY:null},c={},l=[],u=0;u<a.length;u++)h.manager._setMinMaxXYAdjustifyIterate(a[u],a[u],s,0,c,o,n.config.orientation,l);for(var u=0;u<a.length;u++)h.manager._setChildCountPropsIterate(a[u],i);for(var d in l)for(var f in l[d]){var p=c[d][f],m=l[d][f];p.minX==null&&p.minY==null&&p.maxX==null&&p.maxY==null&&h._setMinMaxXY(m,p,!0)}e({minX:s.minX,minY:s.minY,maxX:s.maxX,maxY:s.maxY,bordersByRootIdAndLevel:c,nodes:i,roots:a,rootList:r.rootList,limit:t,adjustify:o})},i)},h===void 0&&(h={}),h.manager._initDinamicNode=function(e,t,n){t&&(e.lcn=t),n&&(e.isAssistant=!0);var r=h.t(e.templateName);e.w=r&&r.size?r.size[0]:0,e.h=r&&r.size?r.size[1]:0,e.isSplit=e.templateName==`split`,e.isMirror=e.templateName==`mirror`,e.isSubLevel=e.templateName==`subLevel`},h.manager._setCollpasedProperty=function(e,t,n,r,i,a,o,s){if(e.collapsed==null&&t.collapse&&t.collapse.allChildren?e.collapsed=!0:e.collapsed??=!1,i==h.action.expand&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!1),i==h.action.collapse&&(n.expandIds||n.collapseIds)?n.expandIds&&n.expandIds.indexOf(e.id)!=-1?e.collapsed=!1:n.collapseIds&&n.collapseIds.indexOf(e.id)!=-1&&(e.collapsed=!0):i==h.action.collapse&&n.ids.indexOf(e.id)!=-1&&(e.collapsed=!0),i==h.action.expand&&n.ids==`all`&&(e.collapsed=!1),i==h.action.exporting&&(!h.isNEU(n.parentLevels)||!h.isNEU(n.childLevels))&&n.id!=null){if(n.id!=null&&(!h.isNEU(n.parentLevels)||!h.isNEU(n.childLevels))){var c=s[n.id];if(c==e)e.collapsed=!1;else{for(var l=!1,u=-1,d=!1,f=-1;c;){if(u++,c==e){l=!0;break}c=s[c.pid]}c=s[n.id];for(var p=s[e.id];p;){if(f++,p==c){d=!0;break}p=s[p.pid]}n.parentLevels!=null&&l&&u<=n.parentLevels||n.childLevels!=null&&d&&f<=n.childLevels||d&&n.expandChildren?e.collapsed=!1:e.collapsed=!0}}}else i==h.action.exporting&&n.expandChildren&&(e.collapsed=!1);i==h.action.init&&o!=null?e.collapsed=!o.exp.has(e.id):i==h.action.init?e.tags.indexOf(`left-partner`)!=-1||e.tags.indexOf(`right-partner`)!=-1||e.tags.indexOf(`partner`)!=-1||e.parentPartner?e.collapsed=t.collapse&&a>=t.collapse.level&&r.indexOf(e.id)==-1:e.collapsed=t.collapse&&a>=t.collapse.level-1&&r.indexOf(e.id)==-1:i==h.action.centerNode||i==h.action.insert||i==h.action.expand||i==h.action.collapse?r.has(e.id)&&(e.collapsed=!1):i==h.action.update&&n&&n.changeRoots&&n.changeRoots.has(e.id)&&(e.collapsed=!1)},h.manager._initNode=function(e,t,n,r,i,a,o){var s=o.manager.config,c=o.manager.layoutConfigs,l=o.manager.action,u=o.manager.actionParams,d=o.manager.state,f=c[n||`base`];e.parent??h.manager._setCollpasedProperty(e,f,u,i,l,r-1,d,t);for(var p=0;p<e.childrenIds.length;p++){var m=t[e.childrenIds[p]];if(h.manager._setCollpasedProperty(m,f,u,i,l,r,d,t),m.collapsed)e.collapsedChildCount++;else{if(m.parent=e,m.ppid!=null){var g=t[m.ppid];g&&(m.parentPartner=g)}(m.tags.indexOf(`left-partner`)!=-1||m.tags.indexOf(`right-partner`)!=-1||m.tags.indexOf(`partner`)!=-1||m.parentPartner)&&a.indexOf(e.id)==-1&&a.push(e.id),e.children.push(m)}}if(l==h.action.minimize&&!e.min?(u.all||u.id==e.id)&&(e.min=!0):l==h.action.maximize&&e.min===!0?(u.all||u.id==e.id)&&(e.min=!1):l==h.action.exporting&&u.min===!1?e.min=!1:l==h.action.init&&d!=null&&(e.min=d.min.has(e.id)),!e.min&&(!e.tags||!e.tags.has(`filter`)))for(var p=0;p<e.stChildrenIds.length;p++){var m=t[e.stChildrenIds[p]];m.stParent=e,e.stChildren.push(m)}r!=null&&(e.level=r),n&&(e.lcn=n);var _=h._getSubLevels(e.tags,s.tags);_>0&&(e.subLevels=_),e.tags.indexOf(`assistant`)!=-1&&e.parent!=null&&(e.isAssistant=!0),f.layout==h.layout.treeList&&(e.isTreeListItem=!0),f.template&&s.template==e.templateName&&(e.templateName=f.template);var v=h.t(e.templateName,e.min);if(e.w=v&&v.size?v.size[0]:0,e.h=v&&v.size?v.size[1]:0,e.padding=v&&v.padding?v.padding:[0,0,0,0],e.isTreeListItem&&e.stParent&&e.stParent.treeList==null){var y=h.t(e.stParent.templateName,e.stParent.min);e.stParent.treeList={pinnedIds:[],scrollTop:0,scrollTopMax:0,maxHeight:y.treeListMaxHeight}}var b={node:e};h.events.publish(`node-initialized`,[o,b])},h.manager._iterate=function(e,t,n,r,i,a,o,s,c,l,u,d){var f=d.manager.layoutConfigs;if(h.manager._initNode(t,n,c,r,l,u,d),t.isAssistant&&(a[t.pid]||(a[t.pid]=[]),a[t.pid].push(t.id)),t.subLevels>0&&o.push(t.id),h.MIXED_LAYOUT_FOR_NODES_WITH_COLLAPSED_CHILDREN&&!t.isAssistant&&t.parent){if(t.parent&&t.parent.children.length&&t.parent.children[t.parent.children.length-1]==t){for(var p=[],m=0,g=0,_=0;_<t.parent.children.length;_++){var v=t.parent.children[_];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.children.length==0?p.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&g++:m++}(h.MIXED_LAYOUT_ALL_NODES&&p.length>1&&p.length==t.parent.children.length-m-g||!h.MIXED_LAYOUT_ALL_NODES&&p.length>1)&&(s[t.pid]=p)}}else if(!t.isAssistant&&t.childrenIds.length==0&&t.parent&&!s[t.pid]){for(var p=[],m=0,g=0,_=0;_<t.parent.children.length;_++){var v=t.parent.children[_];v.tags.indexOf(`partner`)==-1&&v.tags.indexOf(`left-partner`)==-1&&v.tags.indexOf(`right-partner`)==-1&&v.tags.indexOf(`assistant`)==-1&&v.childrenIds.length==0?p.push(v.id):v.tags.indexOf(`assistant`)==-1?(v.tags.indexOf(`partner`)!=-1||v.tags.indexOf(`left-partner`)!=-1||v.tags.indexOf(`right-partner`)!=-1)&&g++:m++}(h.MIXED_LAYOUT_ALL_NODES&&p.length>h.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&p.length==t.parent.childrenIds.length-m-g||!h.MIXED_LAYOUT_ALL_NODES&&p.length>h.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)&&(s[t.pid]=p)}t.stChildren.length&&(e.stContainerNodes||=[],e.stContainerNodes.push(t));for(var y=0;y<t.stChildren.length;y++){for(var b=``,_=0;_<t.tags.length;_++)if(f[t.tags[_]]){b=t.tags[_];break}i.push(t.stChildren[y].id),h.manager._iterate(e,t.stChildren[y],n,0,i,a,o,s,b,l,u,d)}r++;for(var y=0;y<t.children.length;y++)t.isTreeListItem&&(t.children[y].isTreeListItem=t.isTreeListItem),h.manager._iterate(e,t.children[y],n,r,i,a,o,s,c,l,u,d)},h.manager.__createNodes=function(e,t,n,r,i,a,o,s){for(var c=[],l=h._addDottedLines(n),u=0;u<l.length;u++){var d=l[u],f=h.STRING_TAGS?d.tags?d.tags.split(`,`):[]:Array.isArray(d.tags)?d.tags.slice(0):[];s.filterUI.addFilterTag(d)&&f.unshift(`filter`);var p=s.searchUI.addMatchTag(d.id);p===!0?f.unshift(`match`):p===!1&&f.unshift(`no-match`);var m=h._getTemplate(f,n.tags,n.template);d&&d.template&&(m=d.template);var g=new h.node(d.id,d.pid,f,m);h.isNEU(d.ppid)||(g.ppid=d.ppid),h.isNEU(d.stpid)||(g.stpid=d.stpid),d.movex!=null&&(g.movex=d.movex),d.movey!=null&&(g.movey=d.movey),e[d.id]=g,c.push(d.id)}if(n.orderBy!=null){var _=h.manager._getOrderSortArray(n.orderBy);c.sort(function(e,t){var n,r;for(var i of l)if(i.id==e&&(n=i),i.id==t&&(r=i),n&&r)break;for(var a=0;a<_.length;a++){var o=n[_[a].field],s=r[_[a].field],c=o,u=s;if(c??=``,u??=``,typeof c==`string`&&typeof u==`string`){var d=c.localeCompare(u);if(_[a].desc&&(d*=-1),d!==0)return d}else{var d=o<s?-1:o>s?1:0;if(_[a].desc&&(d*=-1),d!==0)return d}}})}for(var u=0;u<c.length;u++){var v=c[u],g=e[v],y=a?a[v]:null,b=e[g.stpid],x=e[g.pid];if(b||(g.stpid=null),x||(g.pid=null),b){var S=a?a[b.id]:null;S&&(b.min=S.min),b.stChildrenIds.push(g.id)}else x?(y&&(g.collapsed=y.collapsed,g.min=y.min,g.treeList=y.treeList),x.childrenIds.push(g.id)):(y&&(g.collapsed=y.collapsed,g.min=y.min,g.treeList=y.treeList),t.push(g),o.push(g.id));r==h.action.init&&(g.min=h._getMin(g,n))}},h.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs,r=e.manager.action,i=e.manager.actionParams,a=e.manager.oldNodes,o=e.manager.state,s={},c=[],l=[];if(h.manager.__createNodes(s,c,t,r,i,a,l,e),t.roots!=null){c=[];for(var u=0;u<t.roots.length;u++){var d=s[t.roots[u]];if(d&&r==h.action.centerNode){for(var f=d;f.pid!=null||f.stpid!=null;)f=f.pid==null&&f.stpid!=null?s[f.stpid]:s[f.pid];for(var p=s[i.id];(p.pid!=null||p.stpid!=null)&&p!=d;)p=p.pid==null&&p.stpid!=null?s[p.stpid]:s[p.pid];f==p&&(d=f)}if(d){for(var m=!1,g=0;g<c.length;g++)if(c[g].id==d.id){m=!0;break}if(!m){if(!h.isNEU(d.pid)){var _=s[d.pid],v=_.childrenIds.indexOf(d.id);v>-1&&_.childrenIds.splice(v,1)}c.push(d)}}}t.roots=[];for(var u=0;u<c.length;u++)t.roots.push(c[u].id)}if(r==h.action.exporting&&i.id!=null)if(i.parentLevels){for(var _=s[i.id],y=0;y<i.parentLevels&&s[_.pid];)y++,_=s[_.pid];_.pid=null,c=[_]}else{var b=s[i.id];b&&(b.pid=null,c=[b])}var x=[];if(r==h.action.init&&t.expand&&t.expand.nodes&&o==null)for(var u=0;u<t.expand.nodes.length;u++){var b=s[t.expand.nodes[u]];for(t.expand.allChildren===!0&&h.manager._addExpandedNodeIdsIterate(b,s,x);b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid]}else if(r==h.action.expand&&i.ids&&i.ids!=`all`||r==h.action.collapse&&i&&i.expandIds)for(var S=r==h.action.expand?i.ids:i.expandIds,u=0;u<S.length;u++)for(var b=s[S[u]],_=s[b.pid];_;)x.push(_.id),_.pid==null&&_.stpid!=null?(_=s[_.stpid],_.min=!1):_=s[_.pid];else if(r==h.action.centerNode){for(var C=h._getCenterNodeFromParams(s,i);C;){if(x.push(C.id),i.options.parentState===h.COLLAPSE_PARENT_NEIGHBORS&&C)for(var u=0;u<C.childrenIds.length;u++){var w=s[C.childrenIds[u]];w.collapsed=!0}if(C.pid==null&&C.stpid!=null){if(C=s[C.stpid],C.min=!1,C.tags){var v=C.tags.indexOf(`filter`);v!=-1&&(C.tags.splice(v,1),e.filterUI._removeFilter(C.id))}}else C=s[C.pid]}if(C=h._getCenterNodeFromParams(s,i),i.options.childrenState===h.COLLAPSE_SUB_CHILDRENS)for(var u=0;u<C.childrenIds.length;u++){var T=s[C.childrenIds[u]];T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}if(i.options.parentState===h.COLLAPSE_PARENT_SUB_CHILDREN_EXCEPT_CLICKED){var _=s[C.pid];if(_)for(var u=0;u<_.childrenIds.length;u++){var T=s[_.childrenIds[u]];if(T!=C){T.collapsed=!1;for(var E=0;E<T.childrenIds.length;E++){var D=s[T.childrenIds[E]];D.collapsed=!0}}}}}else if(r==h.action.insert)for(var b=s[i.insertedNodeId];b;)x.push(b.id),b.pid==null&&b.stpid!=null?(b=s[b.stpid],b.min=!1):b=s[b.pid];for(var O=[],k={},A=[],j={},M=[],u=0;u<c.length;u++)h.manager._iterate(c[u],c[u],s,0,O,k,A,j,``,x,M,e);if(r==h.action.collapse&&i&&Array.isArray(i.expandIds)&&Array.isArray(i.collapseIds))for(var u=0;u<i.ids.length;u++)if(i.expandIds.has(i.collapseIds[u]))console.error(`id ${i.collapseIds[u]} exist in both collapseIds and expandIds`);else{var b=s[i.collapseIds[u]];b&&(b.collapsed=!0)}for(var u=c.length-1;u>=0;u--)c[u].collapsed&&c.splice(u,1);for(var u=0;u<M.length;u++){for(var b=s[M[u]],N=[],P=[],F=[],I={},L=0,R=0,z=0,ee=[],te=[],E=0;E<b.children.length;E++){var w=b.children[E];w.isAssistant?N.push(w.id):w.tags.indexOf(`right-partner`)==-1?w.tags.indexOf(`left-partner`)==-1?w.tags.indexOf(`partner`)!=-1&&!(L%2)?(w.isPartner=1,w.children=[],P.push(w.id),L++):w.tags.indexOf(`partner`)!=-1&&L%2?(w.isPartner=2,w.children=[],F.push(w.id),L++):w.parentPartner?(I[w.parentPartner.id]||(I[w.parentPartner.id]=[]),I[w.parentPartner.id].push(w.id)):N.push(w.id):(w.isPartner=2,w.children=[],F.push(w.id)):(w.isPartner=1,w.children=[],P.push(w.id))}b.children=[];for(var B=[],E=0;E<P.length;E++){var w=s[P[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)B.push(w.childrenIds[V])}for(var ne=[],E=0;E<F.length;E++){var w=s[F[E]];I[w.id]?b.children.push(w):b.children.splice(0,0,w);for(var V=0;V<w.childrenIds.length;V++)ne.push(w.childrenIds[V])}for(var E=0;E<ne.length;E++){var w=s[ne[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.children.push(w))}for(var E=F.length-1;E>=0;E--)if(I[F[E]])for(var g=0;g<I[F[E]].length;g++)b.children.push(s[I[F[E]][g]]),R++,te.indexOf(F[E])==-1&&te.push(F[E]);for(var E=0;E<N.length;E++){var w=s[N[E]];b.children.push(w)}for(var E=0;E<P.length;E++)if(I[P[E]])for(var g=0;g<I[P[E]].length;g++)b.children.push(s[I[P[E]][g]]),z++,ee.indexOf(P[E])==-1&&ee.push(P[E]);for(var E=0;E<B.length;E++){var w=s[B[E]];w.collapsed||(w.parentPartner=w.parent,w.parent=b,w.isChildOfPartner=!0,b.children.push(w))}b.partnerSeparation=Math.max(te.length,ee.length)*t.partnerChildrenSplitSeparation+t.minPartnerSeparation,!N.length&&R&&!z?b.hasPartners=2:!N.length&&!R&&z?b.hasPartners=3:!N.length&&R==1&&z==1?b.hasPartners=4:!N.length&&!R&&!z?b.hasPartners=5:N.length&&!R&&!z?b.hasPartners=6:N.length&&(R||z)?b.hasPartners=7:b.hasPartners=1}for(var u=0;u<A.length;u++)for(var b=s[A[u]],re=b.lcn?b.lcn:`base`,ie=n[re],E=0;E<b.subLevels;E++){var H=new h.node(b.id+`_sub_level_index_`+E,b.pid,[],`subLevel`);h.manager._initDinamicNode(H,b.lcn);var _=b.parent;if(_){b.movex!=null&&(H.movex=b.movex),b.movey!=null&&(H.movey=b.movey);var v=_.children.indexOf(b);v>-1&&(_.children.splice(v,1),_.children.splice(v,0,H)),H.children.push(b),H.parent=_,b.parent=H,s[H.id]=H}}for(var U in k){var _=s[U];_.hasAssistants=!0;var H=new h.node(_.id+`_split_assitant_0`,_.id,[`assistant`],`split`);_.movex!=null&&(H.movex=_.movex),_.movey!=null&&(H.movey=_.movey),h.manager._initDinamicNode(H,_.lcn,!0),s[H.id]=H;for(var ae=[],E=_.children.length-1;E>=0;E--){var w=_.children[E];w.isAssistant?(w.parent=null,_.children.splice(E,1),ae.splice(0,0,w.id)):w.isPartner||(w.parent&&j[w.parent.id]&&H&&w.parent.id!=H.id&&(Object.defineProperty(j,H.id,Object.getOwnPropertyDescriptor(j,w.parent.id)),delete j[w.parent.id]),w.parent=H,H.children.unshift(w),_.children.splice(E,1))}if(ae.length%2){var W=s[ae[ae.length-1]],oe=new h.node(W.id+`_mirror`,_.pid,[],`mirror`);h.manager._initDinamicNode(oe,W.lcn,!0),oe.isAssistant=!0,oe.w=W.w,oe.h=W.h,s[oe.id]=oe,ae.splice(ae.length-1,0,oe.id)}for(var G=1,E=ae.length-1;E>=0;E--)if(E%2&&E!=ae.length-1){var se=new h.node(_.id+`_split_assitant_`+G,_.pid,[],`split`);h.manager._initDinamicNode(se,_.lcn,!0),_.movex!=null&&(se.movex=_.movex),_.movey!=null&&(se.movey=_.movey),s[se.id]=se,ae.splice(E,0,se.id),G++}else E%2&&ae.splice(E,0,H.id);for(var E=0;E<ae.length;E+=3){var ce=null;ce=E==0?_:s[ae[E-2]];var le=s[ae[E]],ue=s[ae[E+1]],de=s[ae[E+2]];le.parent=ce,ue.parent=ce,de.parent=ce,ce.children.push(le),ce.children.push(ue),ce.children.push(de)}}var fe=!1;for(var pe in n){var ie=n[pe];if(ie.layout!=0){fe=!0;break}}var me=h.events.has(`node-layout`,e._event_id);if(fe||me){var he={nodes:s,config:t,action:r,actionParams:i};if(A.length){var K=!1;for(var U in j){for(var S=j[U],u=0;u<S.length;u++){var b=s[S[u]];if(b.subLevels){K=!0;break}}if(K)break}if(K){var ge={},_e={},ve={};for(var U in j)for(var S=j[U],ye=!1,be=null,u=0;u<S.length;u++){var xe=S[u];(be===null||A.has(xe))&&(be=s[xe].parent.id,!ye&&!h.isNEU(s[xe].subLevels)&&(ye=s[xe].subLevels>0)),ge[be]||(ge[be]=[]),ge[be].push(xe),ye&&(ve[be]=U,_e[be]||(_e[be]=[]),_e[be].push(xe))}for(var U in j={},_e)if(_e[U].length>h.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN)for(var Se=ve[U],u=s[Se].children.length-1;u>=0;u--){var w=s[Se].children[u];_e[U].has(w.id)&&s[Se].children.splice(u,1)}for(var U in ge)ge[U].length>h.MIXED_LAYOUT_IF_NUMBER_OF_CHILDREN_IS_MORE_THEN&&(j[U]=ge[U])}}for(var U in j){for(var _=s[U],Ce=_;Ce.isSplit;)Ce=s[Ce.pid];for(;Ce.isSubLevel;)Ce=s[Ce.pid];var re=_.lcn?_.lcn:`base`,ie=n[re];if(ie.layout!=0||me){he.pnode=_,he.layout=ie.layout,he.layoutGridColumns=t.layoutGridColumns,he.childrenIds=j[U],he.lastChildrenPidIds=j,he.subLevels=0,he.layouts=[],h.events.publish(`node-layout`,[e,he]),h.events.publish(`layout`,[he]),he.layouts.length||he.layouts.push({layout:he.layout,childrenIds:he.childrenIds,subLevels:he.subLevels,layoutGridColumns:he.layoutGridColumns});for(var q=0;q<he.layouts.length;q++){var J=he.layouts[q];for(h.isNEU(J.subLevels)&&(J.subLevels=0),h.isNEU(J.layout)&&(J.layout=ie.layout),_=s[U],Ce=_;Ce.isSplit;)Ce=s[Ce.pid];for(;Ce.isSubLevel;)Ce=s[Ce.pid];for(var we=_,E=0;E<J.subLevels;E++){var H=new h.node(q+`_sublevel_layout_`+E,we.id,[],`subLevel`);h.manager._initDinamicNode(H,we.lcn),H.parent=we,we.children.push(H),s[H.id]=H,we=H}if(J.subLevels){for(var E=0;E<J.childrenIds.length;E++){var w=s[J.childrenIds[E]],v=_.children.indexOf(w);v!=-1&&_.children.splice(v,1),w.parent=we,we.children.push(w)}_=we}if(J.layout==h.layout.grid&&J.childrenIds.length>2){J.layoutGridColumns==`dynamic`&&(J.layoutGridColumns=h._getDynamicGridCoulumns(J.childrenIds.length));for(var Te=_.id,u=_.children.length-1;u>=0;u--)for(var E=0;E<J.childrenIds.length;E++){var xe=J.childrenIds[E];if(_.children[u].id==xe){_.children.splice(u,1);break}}var Ee=J.layoutGridColumns;Ee%2!=0&&Ee>2&&Ee--;for(var u=0;u<J.childrenIds.length;u+=Ee)for(var De=null,E=0;E<Ee;E++){var Oe=u+Ee>=J.childrenIds.length;if(J.childrenIds.length-1<u+E)break;var xe=J.childrenIds[u+E],w=s[xe];w.parent=s[Te],s[Te].children.push(w),Oe||(Ee/2-1==E&&(De=new h.node(J.childrenIds[u+E-1]+`_grid_pseudo_node_`+J.childrenIds[u+E+1],Te,[],`subLevel`),h.manager._initDinamicNode(De,_.lcn),De.parent=s[Te],s[Te].children.push(De),s[De.id]=De),Ee-1==E&&(Te=De.id))}}if(J.layout==h.layout.mixed)for(var ke=J.childrenIds,u=ke.length-1;u>=0;u--){var w=s[ke[u]];_=w.parent,w.layout=h.layout.mixed;for(var E=_.children.length-1;E>=0;E--)if(w.id==_.children[E].id){_.children.splice(E,1);break}if(u>0){var Ae=s[ke[u-1]];w.parent=Ae,w.layout=h.layout.mixed,Ae.children.push(w)}else _.children.push(w)}else if(J.layout>1){var H=new h.node(q+`_`+_.id+`_split_0`,Ce.id,[],`split`);_.movex!=null&&(H.movex=_.movex),_.movey!=null&&(H.movey=_.movey),h.manager._initDinamicNode(H,_.lcn),s[H.id]=H,H.layout=J.layout;for(var je=[],u=J.childrenIds.length-1;u>=0;u--){for(var w=s[J.childrenIds[u]],E=0;E<_.children.length;E++)_.children[E].id==w.id&&_.children.splice(E,1);if(w.parent=null,w.layout=J.layout,(J.layout==h.layout.treeRightOffset||J.layout==h.layout.treeRight)&&je.splice(0,0,w.id),J.layout>2){var Me=new h.node(q+`_`+w.id+`_mirror`,Ce.id,[],`mirror`);h.manager._initDinamicNode(Me,w.lcn),Me.layout=J.layout,s[Me.id]=Me,je.splice(0,0,Me.id)}J.layout!=h.layout.treeRightOffset&&J.layout!=h.layout.treeRight&&je.splice(0,0,w.id)}for(var G=1,E=je.length-1;E>=0;E--)if(E%2&&E!=je.length-1){var se=new h.node(q+`_`+_.id+`_split_`+G,Ce.id,[],`split`);h.manager._initDinamicNode(se,_.lcn),_.movex!=null&&(se.movex=_.movex),_.movey!=null&&(se.movey=_.movey),se.layout=J.layout,s[se.id]=se,je.splice(E,0,se.id),G++}else E%2&&je.splice(E,0,H.id);for(var E=0;E<je.length;E+=3){var ce=null;E==0&&(ce=_);var le=s[je[E]],ue=s[je[E+1]],de=s[je[E+2]];E!=0&&(ce=s[je[E-3]]),E!=0&&!ue&&(ce=s[je[E-2]]),le.parent=ce,ce.children.push(le),ue&&(E!=0&&(ce=s[je[E-2]]),ue.parent=ce,ce.children.push(ue)),de&&(E!=0&&(ce=s[je[E-1]]),de.parent=ce,ce.children.push(de))}}}}}}if(h.VERTICAL_CHILDREN_ASSISTANT)for(var u=0;u<c.length;u++)h.manager._verticalAssistantIterate(c[u],s);var he={nodes:s,roots:c};return h.events.publish(`nodes-initialized`,[e,he]),{nodes:he.nodes,roots:he.roots,rootList:l}},h.manager._getOrderSortArray=function(e){if(typeof e==`string`)return[{field:e,desc:!1}];if(Array.isArray(e)){var t=[];for(var n of e)typeof n==`string`?t.push({field:n,desc:!1}):e instanceof Object?t.push(n):console.error(`Unseported orderBy value!`);return t}else if(e instanceof Object)return[e];else console.error(`Unseported orderBy value!`)},h.manager._getNodeWidth=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h}return 0},h.manager._isVisible=function(e,t,n,r,i,a,o){var s=0;if(h.LAZY_LOADING_FACTOR==`auto`){var c=a/i*2,l=o/i*2;s=Math.ceil(c>l?c:l)}else s=h.LAZY_LOADING_FACTOR/i;if(!(e.x==null||e.y==null)){if(h._getLazyLoading(t)&&r!==h.action.exporting){function t(e,t){var n=e.x,r=e.y,i=e.w,a=e.h,o=t[0]-s,c=t[2]+s+t[0],l=t[1]-s,u=t[3]+s+t[1],d=n+i>o&&c>n;return d&&=r+a>l&&u>r,d}if(t(e,n))return!0;for(var u=0;u<e.children.length;u++)if(t(e.children[u],n))return!0;return!1}return!0}},h.manager.getAllFields=function(e){var t=[h.TAGS];for(var n in e.nodeBinding)t.push(e.nodeBinding[n]);for(var n=0;n<e.nodes.length;n++)for(var r in e.nodes[n])r!==h.ID&&r!==h.TAGS&&r!==h.NODES&&r!==h.PID&&r!==h.STPID&&r!==`movex`&&r!==`movey`&&(e.nodeBinding[r]||t.has(r)||t.push(r));return t},h.manager._getMostDeepChild=function(e){if(!e)return;var t=e;function n(e){e.sl>t.sl&&(t=e);for(var r=0;r<e.children.length;r++)n(e.children[r])}return n(e),t},h.manager._getResponse=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m){var g=l[0],_=[],v={top:null,left:null,bottom:null,right:null,minX:null,maxX:null,minY:null,maxY:null},y=[[],[],[]],b=i-o+r.padding*2,x=a-s+r.padding*2,S=h.getScale(c,e,t,r.scaleInitial,r.scaleMax,r.scaleMin,b,x);if(v.top=s-r.padding,v.left=o-r.padding,v.bottom=a+r.padding-t/S,v.right=i+r.padding-e/S,v.maxX=i,v.minX=o,v.maxY=a,v.minY=s,l.length==0||c==null&&!m&&r.align==h.CENTER){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;if(C-r.padding*2>=i-o)switch(T=(i+o)/2-C/2,r.orientation){case h.orientation.right:case h.orientation.right_top:T=(o-i)/2-C/2;break}else switch(T=g.x-C/2+h.manager._getNodeWidth(g,r)/2,r.orientation){case h.orientation.right:case h.orientation.right_top:T=-(C/2-(o-i)/2),T<r.padding-C&&(T=r.padding-C);break;case h.orientation.left:case h.orientation.bottom_left:case h.orientation.top_left:case h.orientation.left_top:T=-(C/2-(i-o)/2),T>-r.padding&&(T=-r.padding);break}if(w-r.padding*2>=a-s)switch(E=(a+s)/2-w/2,r.orientation){case h.orientation.bottom:case h.orientation.bottom_left:E=(s-a)/2-w/2;break}else switch(E=-(w/2-(a-s)/2),E>-r.padding&&(E=-r.padding),r.orientation){case h.orientation.bottom:case h.orientation.bottom_left:E=-(w/2-(s-a)/2),E<r.padding-w&&(E=r.padding-w);break;case h.orientation.left:case h.orientation.right:E=g.y-w/2+h.manager._getNodeWidth(g,r)/2;break}c=[T,E,C,w]}else if(c==null&&!m&&r.align==h.ORIENTATION){var C=Math.ceil(e/S),w=Math.ceil(t/S),T=0,E=0;switch(r.orientation){case h.orientation.top:T=g.x-C/2+h.manager._getNodeWidth(g,r)/2,E=-r.padding;break;case h.orientation.bottom:T=g.x-C/2+h.manager._getNodeWidth(g,r)/2,E=r.padding-w;break;case h.orientation.left:T=-r.padding,E=g.y-w/2+h.manager._getNodeWidth(g,r)/2;break;case h.orientation.right:T=r.padding-C,E=g.y-w/2+h.manager._getNodeWidth(g,r)/2;break;case h.orientation.top_left:T=-r.padding,E=-r.padding;break;case h.orientation.right_top:T=r.padding-C,E=-r.padding;break;case h.orientation.left_top:T=-r.padding,E=-r.padding;break;case h.orientation.bottom_left:T=-r.padding,E=r.padding-w;break}c=[T,E,C,w]}if(u==h.action.centerNode||u==h.action.maximize){var D=h._getCenterNodeFromParams(f,d);d.options.horizontal==1&&(c[0]=D.x+D.w/2-c[2]/2),d.options.vertical==1&&(c[1]=D.y+D.h/2-c[3]/2)}if(u==h.action.insert||u==h.action.expand||u==h.action.collapse||u==h.action.update||u==h.action.centerNode){var O=null;if(u==h.action.insert&&d&&d.insertedNodeId!=null&&d.insertedNodeId!=null)O=f[d.insertedNodeId];else if(u==h.action.update&&d&&d.visId!=null&&d.visId!=null)O=f[d.visId];else if((u==h.action.expand||u==h.action.collapse)&&d&&d.id!=null&&d.id!=null)O=f[d.id],O=h.manager._getMostDeepChild(O);else if(u==h.action.centerNode){switch(r.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:d.options.vertical||(O=f[d.id]);break;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:d.options.horizontal||(O=f[d.id]);break}O&&=h.manager._getMostDeepChild(O)}if(!h.FIXED_POSITION_ON_CLICK&&O){if(O.isTreeListItem){for(;!O.stParent;)O=O.parent;O=O.stParent}switch(r.orientation){case h.orientation.top:case h.orientation.top_left:var k=O.y+O.h-c[3]+r.padding;c[1]<k&&(c[1]=k);break;case h.orientation.bottom:case h.orientation.bottom_left:var k=O.y-r.padding;c[1]>k&&(c[1]=k);break;case h.orientation.right:case h.orientation.right_top:var k=O.x-r.padding;c[0]>k&&(c[0]=k);break;case h.orientation.left:case h.orientation.left_top:var k=O.x+O.w-c[2]+r.padding;c[0]<k&&(c[0]=k);break}}}for(var A=0;A<l.length;A++)h.manager._iterate2(l[A],f,r,c,u,d,_,p,n,y,S,e,t);return{animations:y,boundary:v,viewBox:c,visibleNodeIds:_,nodes:f,allFields:h.manager.getAllFields(r)}},h.manager._iterate2=function(e,t,n,r,i,a,o,s,c,l,u,d,f){if(h.manager._isVisible(e,n,r,i,u,d,f)){o.push(e.id);var p=null;if((i==h.action.expand||i==h.action.collapse||i==h.action.maximize)&&s&&s[e.id]&&a.method==`expandCollapseToLevel`){var m=s[e.id];if(p={x:m.x,y:m.y},m){p={x:m.x,y:m.y};for(var g=e,_=null;g!=null;)s[g.id]&&s[g.id].collapsed&&(_=g),g=g.parent;_&&_.parent&&(p={x:_.parent.x,y:_.parent.y})}var v=t[a.id];if(v){for(var g=e.parent;g!=null;)g=g.parent;g&&(p={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if((i==h.action.expand||i==h.action.collapse)&&s&&s[e.id]){var m=s[e.id];if(p={x:m.x,y:m.y},a.ids==`all`&&m){p={x:m.x,y:m.y};for(var g=e,_=null;g!=null;)s[g.id]&&s[g.id].collapsed&&(_=g),g=g.parent;_&&_.parent&&(p={x:_.parent.x,y:_.parent.y})}var v=t[a.id];if(v){for(var g=e.parent;g!=null&&a.ids.indexOf(e.id)==-1&&a.ids.indexOf(g.id)==-1;)g=g.parent;g&&(p={x:v.x+v.w/2-e.w/2,y:v.y+v.h/2-e.h/2})}}else if(i==h.action.centerNode&&s&&s[e.id]){var m=s[e.id];m.x!=null&&m.y!=null&&(p={x:m.x,y:m.y});var y=h._getCenterNodeFromParams(t,a);if(y&&y==e){var g=e.parent;g&&g.id==a.id&&(p={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==h.action.maximize&&s&&s[e.id]){var m=s[e.id];m.x!=null&&m.y!=null&&(p={x:m.x,y:m.y});var y=h._getCenterNodeFromParams(t,a);if(y&&y==e){var g=e.parent;g&&g.id==a.id&&(p={x:y.x+y.w/2-e.w/2,y:y.y+y.h/2-e.h/2})}}else if(i==h.action.minimize&&s&&s[e.id]){var m=s[e.id];p={x:m.x,y:m.y}}else if(i==h.action.insert&&a&&a.insertedNodeId==e.id&&e.parent)p={x:e.parent.x,y:e.parent.y};else if((i==h.action.update||i==h.action.insert)&&s){var m=s[e.id];if((!m||h.isNEU(m.x)&&h.isNEU(m.y))&&a){var v=t[a.id];if(v){for(var g=v;g&&g.id==e.id;)g=g.parent;g&&(p={x:v.x,y:v.y})}}else m&&(p={x:m.x,y:m.y})}else i!==h.action.exporting&&i!==h.action.init&&c.indexOf(e.id)==-1&&(l[0].push(e.id),l[1].push({opacity:0}),l[2].push({opacity:1}));p!=null&&p.x!=null&&p.y!=null&&(p.x!=e.x||p.y!=e.y)&&!(a&&a.dragNodeIdList&&a.dragNodeIdList.indexOf(e.id)!=-1)&&!e.isSplit&&(l[0].push(e.id),l[1].push({transform:[1,0,0,1,p.x,p.y]}),l[2].push({transform:[1,0,0,1,e.x,e.y]}))}for(var b=0;b<e.stChildren.length;b++)h.manager._iterate2(e.stChildren[b],t,n,r,i,a,o,s,c,l,u,d,f);for(var b=0;b<e.children.length;b++)h.manager._iterate2(e.children[b],t,n,r,i,a,o,s,c,l,u,d,f)},h.manager._addExpandedNodeIdsIterate=function(e,t,n){for(var r=0;r<e.childrenIds.length;r++)n.push(e.childrenIds[r]),h.manager._addExpandedNodeIdsIterate(t[e.childrenIds[r]],t,n)},h.manager._setChildCountPropsIterate=function(e,t){e.w===void 0&&(e.collapsedChildCount=e.childrenIds.length),e.deepChildCount=e.childCount=e.childrenIds.length,e.deepCollapsedChildCount=e.collapsedChildCount;for(var n=t[e.pid];n;)n.deepCollapsedChildCount+=e.collapsedChildCount,n.deepChildCount+=e.childCount,n=t[n.pid];for(var r of e.stChildrenIds)h.manager._setChildCountPropsIterate(t[r],t);for(var r of e.childrenIds)h.manager._setChildCountPropsIterate(t[r],t)},h.manager._setMinMaxXYAdjustifyIterate=function(e,t,n,r,i,a,o,s){e.x+=a.x,e.y+=a.y;for(var c of e.stChildren)h.manager._setMinMaxXYAdjustifyIterate(c,c,n,0,i,a,o,s);e.isPartner?e.sl=r-1:e.sl=r,i[t.id]??(i[t.id]={}),i[t.id][e.sl]??(i[t.id][e.sl]={minX:null,minY:null,maxX:null,maxY:null}),e.layout?(s[t.id]??(s[t.id]={}),s[t.id][e.sl]??(s[t.id][e.sl]=e)):h._setMinMaxXY(e,i[t.id][e.sl],!0),e.movex!=null&&(e.x+=e.movex),e.movey!=null&&(e.y+=e.movey),h._setMinMaxXY(e,n,!0),r++;for(var c of e.children)h.manager._setMinMaxXYAdjustifyIterate(c,t,n,r,i,a,o,s)},h.manager._doNotChangePositionOfClickedNodeIfAny=function(e,t,n,r,i,a){if(n!=h.action.expand&&n!=h.action.collapse&&n!=h.action.minimize&&n!=h.action.maximize&&n!=h.action.centerNode&&n!=h.action.update&&n!=h.action.insert)return{x:0,y:0};if(n==h.action.update&&(!r||r.id==null)){if(!e||!e.length)return{x:0,y:0};r={id:e[0].id}}if(r.id==null)return{x:0,y:0};var o=r.id;(n==h.action.minimize&&t[o].parent||n==h.action.maximize&&t[o].parent)&&(o=t[o].pid);var s=t[o],c=i[o];if(!c)return{x:0,y:0};var l=c.movex==null?0:c.movex,u=c.movey==null?0:c.movey,d={x:(c.x?c.x-l:0)-s.x,y:(c.y?c.y-u:0)-s.y};return s&&s.isTreeListItem?{x:0,y:0}:d},h.manager._verticalAssistantIterate=function(e,t){for(var n=0;n<e.stChildren.length;n++)h.manager._verticalAssistantIterate(e.stChildren[n],t);if(e.children.length==3)h.manager._verticalAssistantIterate(e.children[0],t),h.manager._verticalAssistantIterate(e.children[2],t),h.manager._verticalAssistantIterate(e.children[1],t);else for(var n=0;n<e.children.length;n++)h.manager._verticalAssistantIterate(e.children[n],t);if(e.isAssistant&&e.isSplit&&e.children.length){for(var r=e.parent.children[0],i=e.parent.children[2],a=e.parent;!a.hasAssistants;)a=a.parent;var o={max:0},s={max:0};h.manager._verticalAssistantLevelCountIterate(r,0,o),h.manager._verticalAssistantLevelCountIterate(i,0,s);for(var c=Math.max(o.max,s.max),l=[],n=0;n<c;n++){var u=new h.node(e.parent.id+`_split_assitant_level_`+n,e.pid,[],`subLevel`);h.manager._initDinamicNode(u,e.lcn,!0),a.movex!=null&&(u.movex=a.movex),a.movey!=null&&(u.movey=a.movey),n>0&&(l[n-1].children.push(u),u.parent=l[n-1]),t[u.id]=u,l.push(u)}if(l.length){for(var d=l[l.length-1],f=l[0],p=e.children.length-1;p>=0;p--){var m=e.children[p];d.children.unshift(m),m.parent=d,e.children.splice(p,1)}e.children.push(f),f.parent=e}}},h.manager._verticalAssistantLevelCountIterate=function(e,t,n){n.max<t&&(n.max=t),t++;for(var r=0;r<e.children.length;r++)h.manager._verticalAssistantLevelCountIterate(e.children[r],t,n)},h._addDottedLines=function(e){var t=e.nodes;if((e.groupDottedLines.length||e.dottedLines.length)&&(t=JSON.parse(JSON.stringify(t))),e.groupDottedLines.length)for(var n=[],r=0;r<e.groupDottedLines.length;r++){var i=e.groupDottedLines[r];i.rootId??=i.to;var a=`balkan_group_dotted_${i.rootId}`;if(!n.has(a)){for(var o=0;o<t.length;o++)if(t[o].id==i.rootId){var s=JSON.parse(JSON.stringify(t[o]));s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=void 0,s.stpid=t[o].id,t.push(s),n.push(a),t[o].tags||(t[o].tags=[]),t[o].tags.push(`group-dotted-lines`),t[o].tags.push(`group-dotted-lines-`+a);break}}for(var o=0;o<t.length;o++)if(t[o].id==i.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_group_dotted_${i.rootId}_balkan_id_${t[o].id}`,s.pid=`balkan_group_dotted_${i.rootId}_balkan_id_${i.to}`,s.tags){var c=s.tags.indexOf(`group-dotted-lines`);c!=-1&&s.tags.splice(c,1)}if(s.tags||=[],s.tags.push(`boc-dotted-connector`),i.tags)for(var l=0;l<i.tags.length;l++)s.tags.push(i.tags[l]);t.push(s);break}}if(e.dottedLines.length)for(var r=0;r<e.dottedLines.length;r++){var u=e.dottedLines[r];u.rootId??=u.to;for(var o=0;o<t.length;o++)if(t[o].id==u.from){var s=JSON.parse(JSON.stringify(t[o]));if(s.id=`balkan_dotted_${u.rootId}_balkan_id_${t[o].id}`,u.rootId==u.to?s.pid=u.to:s.pid=`balkan_dotted_${u.rootId}_balkan_id_${u.to}`,s.tags||=[],s.tags.push(`boc-dotted-connector`),u.tags)for(var l=0;l<u.tags.length;l++)s.tags.push(u.tags[l]);t.push(s);break}}return t},h===void 0&&(h={}),h.templates={},h.templates.base={defs:``,size:[250,120],expandCollapseSize:30,linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,node:`<rect x="0" y="0" height="120" width="250" fill="none" stroke-width="1" stroke="#aeaeae" rx="7" ry="7"></rect>`,plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
194
382
  <text text-anchor="middle" style="font-size: 14px;cursor:pointer;" fill="#aeaeae" x="15" y="21">${e.deepCollapsedChildCount}</text></g>`},minus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
195
- <line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},nodeMenuButton:`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,105)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`,menuButton:`<div style="user-select:none;position:absolute;right:{p}px;top:{p}px; width:30px;height:50px;cursor:pointer;" `+u.attr.control_export_menu+`=""><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"></div>`,img_0:`<clipPath id="{randId}"><circle cx="60" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="20" y="20" width="80" height="80"></image>`,link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+u.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},u.templates.ana={defs:``,size:[250,120],linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},expandCollapseSize:30,svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,assistanseLink:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="2px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} {xd},{yd} L{xe},{ye}"/>`,node:function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
383
+ <line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},nodeMenuButton:`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,105)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`,menuButton:`<div style="user-select:none;position:absolute;right:{p}px;top:{p}px; width:30px;height:50px;cursor:pointer;" `+h.attr.control_export_menu+`=""><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"><hr style="background-color: #7A7A7A; height: 3px; border: none;"></div>`,img_0:`<clipPath id="{randId}"><circle cx="60" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="20" y="20" width="80" height="80"></image>`,link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+h.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},h.templates.ana={defs:``,size:[250,120],linkAdjuster:{fromX:0,fromY:0,toX:0,toY:0},ripple:{radius:0,color:`#e6e6e6`,rect:null},expandCollapseSize:30,svg:`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,link:`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,node:function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},plus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
196
384
  <text text-anchor="middle" style="font-size: 14px;cursor:pointer;" fill="#aeaeae" x="15" y="21">${e.deepCollapsedChildCount}</text></g>`},minus:function(e,t,n,r,i){var a=r.mode==`dark`?`#1E1E1E`:`#ffffff`;return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="${a}" stroke="#aeaeae" stroke-width="1"></circle>
197
- <line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},up:`<rect x="20" y="-25" width="30" height="17" fill="#aeaeae" rx="3" ry="3"></rect><line x1="35" x2="35" y1="0" y2="-8" stroke="#aeaeae" stroke-width="1"></line>`,nodeMenuButton:function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},menuButton:u.templates.base.menuButton,img_0:function(e,t,n,r,i){var a=50,o=30,s=40,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+u.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,field_0:function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="${e.h-25}" text-anchor="middle"></text>`,e.w-20,1)},field_1:function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w-20}" y="30" text-anchor="end"></text>`,e.w-120,3)},padding:[75,5,50,5],editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},u.templates.split=Object.assign({},u.templates.ana),u.templates.split.size=[10,10],u.templates.split.node=`<circle cx="5" cy="5" r="5" fill="none" stroke-width="1" stroke="#aeaeae"></circle>`,u.templates.split.field_0=``,u.templates.split.field_1=``,u.templates.split.img_0=``,u.templates.dot=Object.assign({},u.templates.split),u.templates.group=Object.assign({},u.templates.ana),u.templates.group.size=[250,120],u.templates.group.padding=[50,20,35,20],u.templates.group.node=`<rect rx="50" ry="50" x="0" y="0" height="{h}" width="{w}" fill="#f2f2f2" stroke-width="0"></rect>`,u.templates.group.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,u.templates.group.nodeMenuButton=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,{ew},25)"><g transform="matrix(1,0,0,1,-22,-8)"><rect x="0" y="0" fill="red" fill-opacity="0" width="18" height="22"></rect><line x1="0" y1="2" x2="9" y2="2" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="9" x2="18" y2="9" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="16" x2="22" y2="16" stroke="#aeaeae" stroke-width="1"></line></g></g>`,u.templates.group.field_0=`<text `+u.attr.width+`="230" style="font-size: 18px;" fill="#aeaeae" x="{cw}" y="30" text-anchor="middle">{val}</text>`,u.templates.group.field_1=``,u.templates.group.ripple={radius:50,color:`#aeaeae`},u.templates.invisibleGroup=Object.assign({},u.templates.group),u.templates.invisibleGroup.node=``,u.templates.invisibleGroup.padding=[0,0,0,0],u.templates.invisibleGroup.field_0=``,u.templates.invisibleGroup.nodeMenuButton=``,u.templates.mirror={linkAdjuster:{},link:``,node:``,nodeMenuButton:``,size:[0,0]},u.templates.ula=Object.assign({},u.templates.ana),u.templates.ula.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="100" y="55"></text>`,e.w-105,1)},u.templates.ula.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text data-text-overflow="multiline" style="font-size: 14px;" fill="#afafaf" x="100" y="76"></text>`,e.w-105,3)},u.templates.ula.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#aeaeae"></rect><line x1="0" y1="0" x2="${e.w}" y2="0" stroke-width="2" stroke="#039BE5"></line>`},u.templates.ula.img_0=function(e,t,n,r,i){var a=50,o=60,s=40,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.ula.menu=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,12)" `+u.attr.control_node_menu_id+`="{id}"><rect x="-4" y="-10" fill="#ffffff" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#039BE5"></circle><circle cx="7" cy="0" r="2" fill="#039BE5"></circle><circle cx="14" cy="0" r="2" fill="#039BE5"></circle></g>`,u.templates.ula.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},u.templates.ula.padding=[110,1,1,1],u.templates.olivia=Object.assign({},u.templates.ana),u.templates.olivia.defs=`<style>
385
+ <line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#aeaeae"></line></g>`},up:`<rect x="20" y="-25" width="30" height="17" fill="#aeaeae" rx="3" ry="3"></rect><line x1="35" x2="35" y1="0" y2="-8" stroke="#aeaeae" stroke-width="1"></line>`,nodeMenuButton:function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},menuButton:h.templates.base.menuButton,img_0:function(e,t,n,r,i){var a=50,o=30,s=40,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},link_field_0:`<text text-anchor="middle" fill="#aeaeae" `+h.attr.width+`="290" x="0" y="0" style="font-size:10px;">{val}</text>`,field_0:function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="${e.h-25}" text-anchor="middle"></text>`,e.w-20,1)},field_1:function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w-20}" y="30" text-anchor="end"></text>`,e.w-120,3)},padding:[75,5,50,5],editFormHeaderColor:`#039BE5`,treeListMaxHeight:500},h.templates.split=Object.assign({},h.templates.ana),h.templates.split.size=[10,10],h.templates.split.node=`<circle cx="5" cy="5" r="5" fill="none" stroke-width="1" stroke="#aeaeae"></circle>`,h.templates.split.field_0=``,h.templates.split.field_1=``,h.templates.split.img_0=``,h.templates.dot=Object.assign({},h.templates.split),h.templates.group=Object.assign({},h.templates.ana),h.templates.group.size=[250,120],h.templates.group.padding=[50,20,35,20],h.templates.group.node=`<rect rx="50" ry="50" x="0" y="0" height="{h}" width="{w}" fill="#f2f2f2" stroke-width="0"></rect>`,h.templates.group.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,h.templates.group.nodeMenuButton=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,{ew},25)"><g transform="matrix(1,0,0,1,-22,-8)"><rect x="0" y="0" fill="red" fill-opacity="0" width="18" height="22"></rect><line x1="0" y1="2" x2="9" y2="2" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="9" x2="18" y2="9" stroke="#aeaeae" stroke-width="1"></line><line x1="0" y1="16" x2="22" y2="16" stroke="#aeaeae" stroke-width="1"></line></g></g>`,h.templates.group.field_0=`<text `+h.attr.width+`="230" style="font-size: 18px;" fill="#aeaeae" x="{cw}" y="30" text-anchor="middle">{val}</text>`,h.templates.group.field_1=``,h.templates.group.ripple={radius:50,color:`#aeaeae`},h.templates.invisibleGroup=Object.assign({},h.templates.group),h.templates.invisibleGroup.node=``,h.templates.invisibleGroup.padding=[0,0,0,0],h.templates.invisibleGroup.field_0=``,h.templates.invisibleGroup.nodeMenuButton=``,h.templates.mirror={linkAdjuster:{},link:``,node:``,nodeMenuButton:``,size:[0,0]},h.templates.ula=Object.assign({},h.templates.ana),h.templates.ula.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="100" y="55"></text>`,e.w-105,1)},h.templates.ula.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text data-text-overflow="multiline" style="font-size: 14px;" fill="#afafaf" x="100" y="76"></text>`,e.w-105,3)},h.templates.ula.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#aeaeae"></rect><line x1="0" y1="0" x2="${e.w}" y2="0" stroke-width="2" stroke="#039BE5"></line>`},h.templates.ula.img_0=function(e,t,n,r,i){var a=50,o=60,s=40,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.ula.menu=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,225,12)" `+h.attr.control_node_menu_id+`="{id}"><rect x="-4" y="-10" fill="#ffffff" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#039BE5"></circle><circle cx="7" cy="0" r="2" fill="#039BE5"></circle><circle cx="14" cy="0" r="2" fill="#039BE5"></circle></g>`,h.templates.ula.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},h.templates.ula.padding=[110,1,1,1],h.templates.olivia=Object.assign({},h.templates.ana),h.templates.olivia.defs=`<style>
198
386
  #olivia_gradient {
199
387
  --color-stop-1: #ffffff;
200
388
  --color-stop-2: #eeeeee;
@@ -217,20 +405,20 @@
217
405
  --opacity-stop: 1;
218
406
  }
219
407
  </style>
220
- <linearGradient id="olivia_gradient" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="var(--color-stop-1)" stop-opacity="var(--opacity-stop)"/><stop offset="100%" stop-color="var(--color-stop-2)" stop-opacity="var(--opacity-stop)" /></linearGradient>`,u.templates.olivia.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text class="olivia-f0" x="100" y="55"></text>`,e.w-105,1)},u.templates.olivia.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text class="olivia-f1" x="100" y="76"></text>`,e.w-105,3)},u.templates.olivia.node=function(e,t,n,r){return`<rect fill="url(#olivia_gradient)" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},u.templates.olivia.img_0=`<clipPath id="{randId}"><circle cx="50" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="10" y="20" width="80" height="80" ></image>`,u.templates.olivia.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},u.templates.olivia.padding=[110,15,30,15],u.templates.belinda=Object.assign({},u.templates.ana),u.templates.belinda.size=[180,180],u.templates.belinda.ripple={radius:90,color:`#e6e6e6`,rect:null},u.templates.belinda.node=function(e,t,n,r){return`<circle cx="${e.w/2}" cy="${e.h/2}" r="${e.w/2}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></circle>`},u.templates.belinda.img_0=function(e,t,n,r,i){var a=e.w/2,o=45,s=40,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.belinda.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+15}"></text>`,e.w-10,1)},u.templates.belinda.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+35}"></text>`,e.w-20,2)},u.templates.belinda.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,u.templates.belinda.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w/2-11},5)"><rect x="0" y="0" fill="#000000" fill-opacity="0" width="22" height="22"></rect><line stroke-width="2" stroke="#000" x1="0" y1="3" x2="22" y2="3"></line><line stroke-width="2" stroke="#000" x1="0" y1="9" x2="22" y2="9"></line><line stroke-width="2" stroke="#000" x1="0" y1="15" x2="22" y2="15"></line></g>`},u.templates.rony=Object.assign({},u.templates.ana),u.templates.rony.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="background-color:#E8E8E8;display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,u.templates.rony.defs=`<filter id="{randId}" x="0" y="0" width="200%" height="200%"><feOffset result="offOut" in="SourceAlpha" dx="5" dy="5"></feOffset><feGaussianBlur result="blurOut" in="offOut" stdDeviation="5"></feGaussianBlur><feBlend in="SourceGraphic" in2="blurOut" mode="normal"></feBlend></filter>`,u.templates.rony.size=[180,250],u.templates.rony.ripple={color:`#F57C00`,radius:5,rect:null},u.templates.rony.padding=[250,0,30,0],u.templates.rony.img_0=function(e,t,n,r,i){var a=e.w/2,o=160,s=60,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.rony.node=function(e,t,n,r){return`<rect filter="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="0" rx="10" ry="10"></rect>'`},u.templates.rony.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="40" text-anchor="middle"></text>`,e.w-15,1)},u.templates.rony.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#F57C00" x="${e.w/2}" y="60" text-anchor="middle"></text>`,e.w-15,3)},u.templates.rony.field_2=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#FFCA28" x="${e.w/2}" y="80" text-anchor="middle"></text>`,e.w-15,1)},u.templates.rony.link=`<path stroke="#039BE5" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,u.templates.rony.plus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line></g>`},u.templates.rony.minus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line></g>`},u.templates.rony.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},u.templates.mery=Object.assign({},u.templates.ana),u.templates.mery.ripple={color:`#e6e6e6`,radius:50,rect:null},u.templates.mery.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#686868" rx="50" ry="50"></rect><rect x="0" y="${e.h/2-15}" height="30" width="${e.w}" fill="#039BE5" stroke-width="1"></rect>`},u.templates.mery.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,u.templates.mery.img_0=function(e,t,n,r,i){var a=e.w/2,o=e.h/2,s=24,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.mery.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2-30}" text-anchor="middle"></text>`,e.w-30,1)},u.templates.mery.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2+40}" text-anchor="middle"></text>`,e.w-30,1)},u.templates.mery.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h/2})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},u.templates.polina=Object.assign({},u.templates.ana),u.templates.polina.size=[300,80],u.templates.polina.padding=[80,15,30,15],u.templates.polina.ripple={color:`#e6e6e6`,radius:40,rect:null},u.templates.polina.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="40" ry="40"></rect>`},u.templates.polina.img_0=`<clipPath id="{randId}"><circle cx="40" cy="40" r="35"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="0" y="0" width="80" height="80"></image>`,u.templates.polina.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="80" y="30" text-anchor="start"></text>`,e.w-90,1)},u.templates.polina.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="80" y="55" text-anchor="start"></text>`,e.w-90,1)},u.templates.polina.link=`<path stroke="#686868" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,u.templates.polina.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-15},33)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="0" cy="7" r="2" fill="#ffffff"></circle><circle cx="0" cy="14" r="2" fill="#ffffff"></circle></g>`},u.templates.mila=Object.assign({},u.templates.ana),u.templates.mila.padding=[60,15,120,15],u.templates.mila.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></rect><rect x="-5" y="${e.h-50}" height="30" width="${e.w+10}" fill="#ffffff" stroke-width="1" stroke="#039BE5"></rect><line x1="-5" x2="0" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/><line x1="${e.w+5}" x2="${e.w}" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/>`},u.templates.mila.img_0=function(e,t,n,r,i){return`<image preserveAspectRatio="xMidYMid slice" xlink:href="${i}" x="20" y="${e.h-115}" width="64" height="64"></image>`},u.templates.mila.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h-28}" text-anchor="middle"></text>`,e.w-10,1)},u.templates.mila.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-10})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},u.templates.diva=Object.assign({},u.templates.ana),u.templates.diva.size=[200,170],u.templates.diva.padding=[160,10,30,10],u.templates.diva.node=function(e,t,n,r){return`<rect x="0" y="80" height="${e.h-80}" width="${e.w}" fill="#039BE5"></rect><circle cx="${e.w/2}" cy="50" fill="#ffffff" r="50" stroke="#039BE5" stroke-width="2"></circle>`},u.templates.diva.img_0=function(e,t,n,r,i){var a=e.w/2,o=50,s=45,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.diva.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="125" text-anchor="middle"></text>`,e.w-15,1)},u.templates.diva.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w/2}" y="145" text-anchor="middle"></text>`,e.w-15,1)},u.templates.diva.pointer=`<g data-pointer="pointer" transform="matrix(0,0,0,0,100,100)"><radialGradient id="pointerGradient"><stop stop-color="#ffffff" offset="0" /><stop stop-color="#039BE5" offset="1" /></radialGradient><circle cx="16" cy="16" r="16" stroke-width="1" stroke="#acacac" fill="url(#pointerGradient)"></circle></g>`,u.templates.diva.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-30}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},u.templates.luba=Object.assign({},u.templates.ana),u.templates.luba.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;background-color: #2E2E2E;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,u.templates.luba.defs=`<linearGradient id="{randId}" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#646464;stop-opacity:1" /><stop offset="100%" style="stop-color:#363636;stop-opacity:1" /></linearGradient>`,u.templates.luba.node=function(e,t,n,r){return`<rect fill="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},u.templates.luba.padding=[70,10,60,10],u.templates.luba.img_0=function(e,t,n,r,i){var a=50,o=25,s=40,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.luba.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#aeaeae"></circle><circle cx="7" cy="0" r="2" fill="#aeaeae"></circle><circle cx="14" cy="0" r="2" fill="#aeaeae"></circle></g>`},u.templates.luba.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#aeaeae" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-15,1)},u.templates.luba.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 14px;" fill="#aeaeae" x="${e.w-10}" y="30" text-anchor="end"></text>`,e.w-110,1)},u.templates.luba.plus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line><line x1="18" y1="4" x2="18" y2="32" stroke-width="1" stroke="#aeaeae"></line>`,u.templates.luba.minus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line>`,u.templates.luba.expandCollapseSize=36,u.templates.isla=Object.assign({},u.templates.ana),u.templates.isla.defs=`<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="isla-shadow"><feOffset dx="0" dy="4" in="SourceAlpha" result="shadowOffsetOuter1" /><feGaussianBlur stdDeviation="10" in="shadowOffsetOuter1" result="shadowBlurOuter1" /><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0" in="shadowBlurOuter1" type="matrix" result="shadowMatrixOuter1" /><feMerge><feMergeNode in="shadowMatrixOuter1" /><feMergeNode in="SourceGraphic" /></feMerge></filter>`,u.templates.isla.size=[180,120],u.templates.isla.padding=[70,1,60,1],u.templates.isla.node=function(e,t,n,r){return`<rect filter="url(#isla-shadow)" x="0" y="20" rx="10" ry="10" height="${e.h-20}" width="${e.w}" fill="#FFF" stroke-width="1" stroke="#039BE5" ></rect><rect x="25" y="${e.h-45}" rx="10" ry="10" height="20" width="${e.w-50}" fill="#039BE5" stroke-width="3" stroke="#039BE5"></rect><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect><circle stroke="#FFCA28" stroke-width="3" fill="none" cx="${e.w/2}" cy="12" r="8"></circle><path d="M${e.w/2-15},34 C${e.w/2-15},17 ${e.w/2+15},17 ${e.w/2+15},34" stroke="#FFCA28" stroke-width="3" fill="none"></path>`},u.templates.isla.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 12px;" fill="#fff" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-60,1)},u.templates.isla.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 13px;" fill="#039BE5" x="${e.w/2}" y="64" text-anchor="middle"></text>`,e.w-20,1)},u.templates.isla.img_0=``,u.templates.isla.img_0=function(e,t,n,r,i){var a=u.randomId();return`<clipPath id="${a}"><rect filter="url(#isla-shadow)" fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="${e.w/2-20}" y="0" width="40" height="40"></image>`},u.templates.isla.minus=`<circle cx="15" cy="15" r="15" fill="#F57C00" stroke="#F57C00" stroke-width="1"></circle><line x1="8" y1="15" x2="22" y2="15" stroke-width="1" stroke="#ffffff"></line>`,u.templates.isla.plus=`<circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line>`,u.templates.isla.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w/2-7},45)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},u.templates.isla.ripple={radius:0,color:`#F57C00`,rect:{x:0,y:20,width:180,height:100}},u.templates.deborah=Object.assign({},u.templates.polina),u.templates.deborah.size=[150,150],u.templates.deborah.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="15" ry="15"></rect>`},u.templates.deborah.img_0=function(e,t,n,r,i){var a=u.randomId();return`<clipPath id="${a}"><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="5" y="5" rx="15" ry="15" width="${e.w-10}" height="${e.h-10}"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="5" y="5" width="${e.w-10}" height="${e.h-10}"></image><rect x="3" y="5" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect><rect x="3" y="${e.h-35}" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect>`},u.templates.deborah.field_0=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="15" y="25" text-anchor="start"></text>`,e.w-25,1)},u.templates.deborah.field_1=function(e,t,n,r,i){return u.wrapText(i,`<text style="font-size: 11px;" fill="#ffffff" x="15" y="${e.h-15}" text-anchor="start"></text>`,e.w-45,1)},u.templates.deborah.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-20})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},u.templates.subLevel=Object.assign({},u.templates.base),u.templates.subLevel.size=[0,0],u.templates.subLevel.node=``,u.templates.subLevel.plus=``,u.templates.subLevel.minus=``,u.templates.subLevel.nodeMenuButton=``,u.templates.group_dotted_lines=Object.assign({},u.templates.group),u.templates.group_dotted_lines.size=[250,120],u.templates.group_dotted_lines.padding=[50,20,35,20],u.templates.group_dotted_lines.link=`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,u.templates.group_dotted_lines.node=`<rect rx="5" ry="5" x="0" y="0" height="{h}" width="{w}" fill="#e5e5e5" stroke-width="0"></rect>`,u.templates.group_dotted_lines.nodeGroupDottedCloseButton=`<g transform="matrix(1,0,0,1,{ew},0)"><circle cx="0.5" cy="21.5" r="12" fill="#F57C00"></circle>`+u.icon.close(25,25,`#fff`,-13,8)+`</g>`,u.templates.group_dotted_lines.field_0=`<text data-width="230" style="font-size: 18px;" fill="#F57C00" x="20" y="30" text-anchor="start">Dotted Lines</text>`,u.templates.group_dotted_lines.field_1=``,u.templates.group_dotted_lines.img_0=``,u.templates.group_dotted_lines.ripple.radius=5,u.templates.group_dotted_lines.min=Object.assign({},u.templates.olivia),u.templates.group_dotted_lines.min.nodeGroupDottedOpenButton=`<g transform="matrix(1,0,0,1,220,10)"><rect x="0" y="0" width="22" height="22" stroke="#aeaeae" stroke-width="1" fill="#ffffff" rx="5" ry="5"></rect><text x="11" y="16" text-anchor="middle" style="font-size: 14px;" fill="#2A292E">{children-total-count}</text><rect x="0" y="0" width="22" height="22" style="opacity: 0" stroke="#aeaeae" stroke-width="1" fill="red" rx="5" ry="5"></rect></g>`,u.templates.clara=Object.assign({},u.templates.ana),u.templates.clara.size=[180,210],u.templates.clara.padding=[80,7,7,7],u.templates.clara.img_0=function(e,t,n,r,i){var a=50,o=30,s=40;e.stChildren.length||(s=60,a=e.w/2,o=70);var c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.clara.treeListMaxHeight=387,u.templates.clara.field_0=function(e,t,n,r,i){var a=65,o=e.w/2,s=`middle`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=160,c=e.w-20),u.wrapText(i,`<text style="font-size: 20px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},u.templates.clara.field_1=function(e,t,n,r,i){var a=35,o=e.w-15,s=`end`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=180,c=e.w-20),u.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},u.templates.clara.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-35}, 2)">
408
+ <linearGradient id="olivia_gradient" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="var(--color-stop-1)" stop-opacity="var(--opacity-stop)"/><stop offset="100%" stop-color="var(--color-stop-2)" stop-opacity="var(--opacity-stop)" /></linearGradient>`,h.templates.olivia.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text class="olivia-f0" x="100" y="55"></text>`,e.w-105,1)},h.templates.olivia.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text class="olivia-f1" x="100" y="76"></text>`,e.w-105,3)},h.templates.olivia.node=function(e,t,n,r){return`<rect fill="url(#olivia_gradient)" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},h.templates.olivia.img_0=`<clipPath id="{randId}"><circle cx="50" cy="60" r="40"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="10" y="20" width="80" height="80" ></image>`,h.templates.olivia.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="7" cy="0" r="2" fill="#AEAEAE"></circle><circle cx="14" cy="0" r="2" fill="#AEAEAE"></circle></g>`},h.templates.olivia.padding=[110,15,30,15],h.templates.belinda=Object.assign({},h.templates.ana),h.templates.belinda.size=[180,180],h.templates.belinda.ripple={radius:90,color:`#e6e6e6`,rect:null},h.templates.belinda.node=function(e,t,n,r){return`<circle cx="${e.w/2}" cy="${e.h/2}" r="${e.w/2}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></circle>`},h.templates.belinda.img_0=function(e,t,n,r,i){var a=e.w/2,o=45,s=40,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.belinda.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+15}"></text>`,e.w-10,1)},h.templates.belinda.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" text-anchor="middle" fill="#ffffff" x="${e.w/2}" y="${e.h/2+35}"></text>`,e.w-20,2)},h.templates.belinda.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}"/>`,h.templates.belinda.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w/2-11},5)"><rect x="0" y="0" fill="#000000" fill-opacity="0" width="22" height="22"></rect><line stroke-width="2" stroke="#000" x1="0" y1="3" x2="22" y2="3"></line><line stroke-width="2" stroke="#000" x1="0" y1="9" x2="22" y2="9"></line><line stroke-width="2" stroke="#000" x1="0" y1="15" x2="22" y2="15"></line></g>`},h.templates.rony=Object.assign({},h.templates.ana),h.templates.rony.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="background-color:#E8E8E8;display:block;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,h.templates.rony.defs=`<filter id="{randId}" x="0" y="0" width="200%" height="200%"><feOffset result="offOut" in="SourceAlpha" dx="5" dy="5"></feOffset><feGaussianBlur result="blurOut" in="offOut" stdDeviation="5"></feGaussianBlur><feBlend in="SourceGraphic" in2="blurOut" mode="normal"></feBlend></filter>`,h.templates.rony.size=[180,250],h.templates.rony.ripple={color:`#F57C00`,radius:5,rect:null},h.templates.rony.padding=[250,0,30,0],h.templates.rony.img_0=function(e,t,n,r,i){var a=e.w/2,o=160,s=60,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.rony.node=function(e,t,n,r){return`<rect filter="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="0" rx="10" ry="10"></rect>'`},h.templates.rony.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="40" text-anchor="middle"></text>`,e.w-15,1)},h.templates.rony.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#F57C00" x="${e.w/2}" y="60" text-anchor="middle"></text>`,e.w-15,3)},h.templates.rony.field_2=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#FFCA28" x="${e.w/2}" y="80" text-anchor="middle"></text>`,e.w-15,1)},h.templates.rony.link=`<path stroke="#039BE5" stroke-width="1px" fill="none" d="M{xa},{ya} {xb},{yb} {xc},{yc} L{xd},{yd}"/>`,h.templates.rony.plus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line></g>`},h.templates.rony.minus=function(e,t,n,r,i){return`<g transform="matrix(1,0,0,1,${i.x-15},${i.y-15})"><circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line></g>`},h.templates.rony.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},h.templates.mery=Object.assign({},h.templates.ana),h.templates.mery.ripple={color:`#e6e6e6`,radius:50,rect:null},h.templates.mery.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#ffffff" stroke-width="1" stroke="#686868" rx="50" ry="50"></rect><rect x="0" y="${e.h/2-15}" height="30" width="${e.w}" fill="#039BE5" stroke-width="1"></rect>`},h.templates.mery.link=`<path stroke="#aeaeae" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,h.templates.mery.img_0=function(e,t,n,r,i){var a=e.w/2,o=e.h/2,s=24,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.mery.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2-30}" text-anchor="middle"></text>`,e.w-30,1)},h.templates.mery.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#039BE5" x="${e.w/2}" y="${e.h/2+40}" text-anchor="middle"></text>`,e.w-30,1)},h.templates.mery.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25}, ${e.h/2})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},h.templates.polina=Object.assign({},h.templates.ana),h.templates.polina.size=[300,80],h.templates.polina.padding=[80,15,30,15],h.templates.polina.ripple={color:`#e6e6e6`,radius:40,rect:null},h.templates.polina.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="40" ry="40"></rect>`},h.templates.polina.img_0=`<clipPath id="{randId}"><circle cx="40" cy="40" r="35"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#{randId})" xlink:href="{val}" x="0" y="0" width="80" height="80"></image>`,h.templates.polina.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="80" y="30" text-anchor="start"></text>`,e.w-90,1)},h.templates.polina.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="80" y="55" text-anchor="start"></text>`,e.w-90,1)},h.templates.polina.link=`<path stroke="#686868" stroke-width="1px" fill="none" d="M{xa},{ya} C{xb},{yb} {xc},{yc} {xd},{yd}" />`,h.templates.polina.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-15},33)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="0" cy="7" r="2" fill="#ffffff"></circle><circle cx="0" cy="14" r="2" fill="#ffffff"></circle></g>`},h.templates.mila=Object.assign({},h.templates.ana),h.templates.mila.padding=[60,15,120,15],h.templates.mila.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae"></rect><rect x="-5" y="${e.h-50}" height="30" width="${e.w+10}" fill="#ffffff" stroke-width="1" stroke="#039BE5"></rect><line x1="-5" x2="0" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/><line x1="${e.w+5}" x2="${e.w}" y1="${e.h-20}" y2="${e.h-15}" stroke-width="1" stroke="#039BE5"/>`},h.templates.mila.img_0=function(e,t,n,r,i){return`<image preserveAspectRatio="xMidYMid slice" xlink:href="${i}" x="20" y="${e.h-115}" width="64" height="64"></image>`},h.templates.mila.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#039BE5" x="${e.w/2}" y="${e.h-28}" text-anchor="middle"></text>`,e.w-10,1)},h.templates.mila.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-10})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},h.templates.diva=Object.assign({},h.templates.ana),h.templates.diva.size=[200,170],h.templates.diva.padding=[160,10,30,10],h.templates.diva.node=function(e,t,n,r){return`<rect x="0" y="80" height="${e.h-80}" width="${e.w}" fill="#039BE5"></rect><circle cx="${e.w/2}" cy="50" fill="#ffffff" r="50" stroke="#039BE5" stroke-width="2"></circle>`},h.templates.diva.img_0=function(e,t,n,r,i){var a=e.w/2,o=50,s=45,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.diva.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="${e.w/2}" y="125" text-anchor="middle"></text>`,e.w-15,1)},h.templates.diva.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${e.w/2}" y="145" text-anchor="middle"></text>`,e.w-15,1)},h.templates.diva.pointer=`<g data-pointer="pointer" transform="matrix(0,0,0,0,100,100)"><radialGradient id="pointerGradient"><stop stop-color="#ffffff" offset="0" /><stop stop-color="#039BE5" offset="1" /></radialGradient><circle cx="16" cy="16" r="16" stroke-width="1" stroke="#acacac" fill="url(#pointerGradient)"></circle></g>`,h.templates.diva.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-30}, ${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},h.templates.luba=Object.assign({},h.templates.ana),h.templates.luba.svg=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:block;background-color: #2E2E2E;" width="{w}" height="{h}" viewBox="{viewBox}">{content}</svg>`,h.templates.luba.defs=`<linearGradient id="{randId}" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:#646464;stop-opacity:1" /><stop offset="100%" style="stop-color:#363636;stop-opacity:1" /></linearGradient>`,h.templates.luba.node=function(e,t,n,r){return`<rect fill="url(#{randId})" x="0" y="0" height="${e.h}" width="${e.w}" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},h.templates.luba.padding=[70,10,60,10],h.templates.luba.img_0=function(e,t,n,r,i){var a=50,o=25,s=40,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.luba.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w-25},${e.h-15})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#aeaeae"></circle><circle cx="7" cy="0" r="2" fill="#aeaeae"></circle><circle cx="14" cy="0" r="2" fill="#aeaeae"></circle></g>`},h.templates.luba.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#aeaeae" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-15,1)},h.templates.luba.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 14px;" fill="#aeaeae" x="${e.w-10}" y="30" text-anchor="end"></text>`,e.w-110,1)},h.templates.luba.plus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line><line x1="18" y1="4" x2="18" y2="32" stroke-width="1" stroke="#aeaeae"></line>`,h.templates.luba.minus=`<rect x="0" y="0" width="36" height="36" rx="12" ry="12" fill="#2E2E2E" stroke="#aeaeae" stroke-width="1"></rect><line x1="4" y1="18" x2="32" y2="18" stroke-width="1" stroke="#aeaeae"></line>`,h.templates.luba.expandCollapseSize=36,h.templates.isla=Object.assign({},h.templates.ana),h.templates.isla.defs=`<filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="isla-shadow"><feOffset dx="0" dy="4" in="SourceAlpha" result="shadowOffsetOuter1" /><feGaussianBlur stdDeviation="10" in="shadowOffsetOuter1" result="shadowBlurOuter1" /><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0" in="shadowBlurOuter1" type="matrix" result="shadowMatrixOuter1" /><feMerge><feMergeNode in="shadowMatrixOuter1" /><feMergeNode in="SourceGraphic" /></feMerge></filter>`,h.templates.isla.size=[180,120],h.templates.isla.padding=[70,1,60,1],h.templates.isla.node=function(e,t,n,r){return`<rect filter="url(#isla-shadow)" x="0" y="20" rx="10" ry="10" height="${e.h-20}" width="${e.w}" fill="#FFF" stroke-width="1" stroke="#039BE5" ></rect><rect x="25" y="${e.h-45}" rx="10" ry="10" height="20" width="${e.w-50}" fill="#039BE5" stroke-width="3" stroke="#039BE5"></rect><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect><circle stroke="#FFCA28" stroke-width="3" fill="none" cx="${e.w/2}" cy="12" r="8"></circle><path d="M${e.w/2-15},34 C${e.w/2-15},17 ${e.w/2+15},17 ${e.w/2+15},34" stroke="#FFCA28" stroke-width="3" fill="none"></path>`},h.templates.isla.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 12px;" fill="#fff" x="${e.w/2}" y="${e.h-30}" text-anchor="middle"></text>`,e.w-60,1)},h.templates.isla.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 13px;" fill="#039BE5" x="${e.w/2}" y="64" text-anchor="middle"></text>`,e.w-20,1)},h.templates.isla.img_0=``,h.templates.isla.img_0=function(e,t,n,r,i){var a=h.randomId();return`<clipPath id="${a}"><rect filter="url(#isla-shadow)" fill="#ffffff" stroke="#039BE5" stroke-width="1" x="${e.w/2-20}" y="0" rx="13" ry="13" width="40" height="40"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="${e.w/2-20}" y="0" width="40" height="40"></image>`},h.templates.isla.minus=`<circle cx="15" cy="15" r="15" fill="#F57C00" stroke="#F57C00" stroke-width="1"></circle><line x1="8" y1="15" x2="22" y2="15" stroke-width="1" stroke="#ffffff"></line>`,h.templates.isla.plus=`<circle cx="15" cy="15" r="15" fill="#ffffff" stroke="#039BE5" stroke-width="1"></circle><line x1="4" y1="15" x2="26" y2="15" stroke-width="1" stroke="#039BE5"></line><line x1="15" y1="4" x2="15" y2="26" stroke-width="1" stroke="#039BE5"></line>`,h.templates.isla.nodeMenuButton=function(e,t,n,r){return`<g transform="matrix(1,0,0,1,${e.w/2-7},45)"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#F57C00"></circle><circle cx="7" cy="0" r="2" fill="#F57C00"></circle><circle cx="14" cy="0" r="2" fill="#F57C00"></circle></g>`},h.templates.isla.ripple={radius:0,color:`#F57C00`,rect:{x:0,y:20,width:180,height:100}},h.templates.deborah=Object.assign({},h.templates.polina),h.templates.deborah.size=[150,150],h.templates.deborah.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#686868" rx="15" ry="15"></rect>`},h.templates.deborah.img_0=function(e,t,n,r,i){var a=h.randomId();return`<clipPath id="${a}"><rect fill="#ffffff" stroke="#039BE5" stroke-width="1" x="5" y="5" rx="15" ry="15" width="${e.w-10}" height="${e.h-10}"></rect></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${a})" xlink:href="${i}" x="5" y="5" width="${e.w-10}" height="${e.h-10}"></image><rect x="3" y="5" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect><rect x="3" y="${e.h-35}" height="30" width="${e.w-6}" fill="#039BE5" opacity="0.5" rx="3" ry="3"></rect>`},h.templates.deborah.field_0=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 18px;" fill="#ffffff" x="15" y="25" text-anchor="start"></text>`,e.w-25,1)},h.templates.deborah.field_1=function(e,t,n,r,i){return h.wrapText(i,`<text style="font-size: 11px;" fill="#ffffff" x="15" y="${e.h-15}" text-anchor="start"></text>`,e.w-45,1)},h.templates.deborah.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1,${e.w-25},${e.h-20})"><rect x="-4" y="-10" fill="#000000" fill-opacity="0" width="22" height="22"></rect><circle cx="0" cy="0" r="2" fill="#ffffff"></circle><circle cx="7" cy="0" r="2" fill="#ffffff"></circle><circle cx="14" cy="0" r="2" fill="#ffffff"></circle></g>`},h.templates.subLevel=Object.assign({},h.templates.base),h.templates.subLevel.size=[0,0],h.templates.subLevel.node=``,h.templates.subLevel.plus=``,h.templates.subLevel.minus=``,h.templates.subLevel.nodeMenuButton=``,h.templates.group_dotted_lines=Object.assign({},h.templates.group),h.templates.group_dotted_lines.size=[250,120],h.templates.group_dotted_lines.padding=[50,20,35,20],h.templates.group_dotted_lines.link=`<path stroke-linejoin="round" stroke="#aeaeae" stroke-width="1px" fill="none" d="{rounded}" />`,h.templates.group_dotted_lines.node=`<rect rx="5" ry="5" x="0" y="0" height="{h}" width="{w}" fill="#e5e5e5" stroke-width="0"></rect>`,h.templates.group_dotted_lines.nodeGroupDottedCloseButton=`<g transform="matrix(1,0,0,1,{ew},0)"><circle cx="0.5" cy="21.5" r="12" fill="#F57C00"></circle>`+h.icon.close(25,25,`#fff`,-13,8)+`</g>`,h.templates.group_dotted_lines.field_0=`<text data-width="230" style="font-size: 18px;" fill="#F57C00" x="20" y="30" text-anchor="start">Dotted Lines</text>`,h.templates.group_dotted_lines.field_1=``,h.templates.group_dotted_lines.img_0=``,h.templates.group_dotted_lines.ripple.radius=5,h.templates.group_dotted_lines.min=Object.assign({},h.templates.olivia),h.templates.group_dotted_lines.min.nodeGroupDottedOpenButton=`<g transform="matrix(1,0,0,1,220,10)"><rect x="0" y="0" width="22" height="22" stroke="#aeaeae" stroke-width="1" fill="#ffffff" rx="5" ry="5"></rect><text x="11" y="16" text-anchor="middle" style="font-size: 14px;" fill="#2A292E">{children-total-count}</text><rect x="0" y="0" width="22" height="22" style="opacity: 0" stroke="#aeaeae" stroke-width="1" fill="red" rx="5" ry="5"></rect></g>`,h.templates.clara=Object.assign({},h.templates.ana),h.templates.clara.size=[180,210],h.templates.clara.padding=[80,7,7,7],h.templates.clara.img_0=function(e,t,n,r,i){var a=50,o=30,s=40;e.stChildren.length||(s=60,a=e.w/2,o=70);var c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.clara.treeListMaxHeight=387,h.templates.clara.field_0=function(e,t,n,r,i){var a=65,o=e.w/2,s=`middle`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=160,c=e.w-20),h.wrapText(i,`<text style="font-size: 20px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},h.templates.clara.field_1=function(e,t,n,r,i){var a=35,o=e.w-15,s=`end`,c=e.w-100;return e.stChildren.length||(s=`middle`,o=e.w/2,a=180,c=e.w-20),h.wrapText(i,`<text style="font-size: 14px;" fill="#ffffff" x="${o}" y="${a}" text-anchor="${s}"></text>`,c,1)},h.templates.clara.nodeMenuButton=function(e,t,n,r){return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-35}, 2)">
221
409
  <rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
222
410
  <circle cy="13" cx="6" r="2" fill="#fff"></circle>
223
411
  <circle cy="13" cx="13" r="2" fill="#fff"></circle>
224
412
  <circle cy="13" cx="20" r="2" fill="#fff"></circle>
225
- </g>`},u.templates.clara.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},u.templates.treeListItem=Object.assign({},u.templates.ana),u.templates.treeListItem.size=[350,60],u.templates.treeListItem.field_0=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return u.wrapText(i,`<text fill="${o}" x="${a}" y="27" style="font-size:16px;"></text>`,e.w-a-70,1)},u.templates.treeListItem.field_1=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return u.wrapText(i,`<text fill="${o}" x="${a}" y="47" style="font-size:12px;"></text>`,e.w-a-70,1)},u.templates.treeListItem.img_0=function(e,t,n,r,i){var a=e.w-55,o=e.h/2,s=e.h/2-4,c=u.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},u.templates.treeListItem.expandCollapseSize=24,u.templates.treeListItem.plus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><text x="6" style="font-size: 10px;" fill="${o}" y="15.5" text-anchor="end">${e.deepCollapsedChildCount}</text><path fill="${o}" d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},u.templates.treeListItem.minus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><path fill="${o}" d="M7.42,8.59L12,13.17L16.59,8.59L18,10L12,16L6,10L7.42,8.59Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},u.templates.treeListItem.nodeMenuButton=function(e,t,n,r){var i=r.mode==`dark`?`#ccc`:`#757575`;return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-36}, ${e.h/2-13})">
413
+ </g>`},h.templates.clara.node=function(e,t,n,r){return`<rect x="0" y="0" height="${e.h}" width="${e.w}" fill="#039BE5" stroke-width="1" stroke="#aeaeae" rx="10" ry="10"></rect>`},h.templates.treeListItem=Object.assign({},h.templates.ana),h.templates.treeListItem.size=[350,60],h.templates.treeListItem.field_0=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return h.wrapText(i,`<text fill="${o}" x="${a}" y="27" style="font-size:16px;"></text>`,e.w-a-70,1)},h.templates.treeListItem.field_1=function(e,t,n,r,i){var a=e.level*n.expandCollapseSize+45,o=r.mode==`dark`?`#ccc`:`#757575`;return h.wrapText(i,`<text fill="${o}" x="${a}" y="47" style="font-size:12px;"></text>`,e.w-a-70,1)},h.templates.treeListItem.img_0=function(e,t,n,r,i){var a=e.w-55,o=e.h/2,s=e.h/2-4,c=h.randomId();return`<clipPath id="${c}"><circle cx="${a}" cy="${o}" r="${s}"></circle></clipPath><image preserveAspectRatio="xMidYMid slice" clip-path="url(#${c})" xlink:href="${i}" x="${a-s}" y="${o-s}" width="${s*2}" height="${s*2}" ></image>`},h.templates.treeListItem.expandCollapseSize=24,h.templates.treeListItem.plus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><text x="6" style="font-size: 10px;" fill="${o}" y="15.5" text-anchor="end">${e.deepCollapsedChildCount}</text><path fill="${o}" d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},h.templates.treeListItem.minus=function(e,t,n,r){var i=n.expandCollapseSize/2+e.level*n.expandCollapseSize,a=e.h/2;a-=n.expandCollapseSize/2;var o=r.mode==`dark`?`#ccc`:`#757575`;return`<g transform="matrix(1,0,0,1,${i},${a})"><path fill="${o}" d="M7.42,8.59L12,13.17L16.59,8.59L18,10L12,16L6,10L7.42,8.59Z" /><rect style="opacity: 0" x="-3" y="-3" width="30" height="30"></rect></g>`},h.templates.treeListItem.nodeMenuButton=function(e,t,n,r){var i=r.mode==`dark`?`#ccc`:`#757575`;return`<g style="cursor:pointer;" transform="matrix(1,0,0,1, ${e.w-36}, ${e.h/2-13})">
226
414
  <rect x="0" y="0" fill="red" style="opacity: 0;" width="26" height="26"></rect>
227
415
  <circle cx="13" cy="6" r="2" fill="${i}"></circle>
228
416
  <circle cx="13" cy="13" r="2" fill="${i}"></circle>
229
417
  <circle cx="13" cy="20" r="2" fill="${i}"></circle>
230
- </g>`},u.templates.treeListItem.node=function(e,t,n,r){var i=``,a=`#FFFFFF`;if(e.isTreeListItem&&!e.stParent||e.isTreeListItem&&e.stParent&&e.stParent.stChildren[0]!=e){var o=`#E0E0E0`;r.mode==`dark`&&(o=`#444444`),i=`<line stroke="${o}" stroke-width="1" x1="0" x2="${e.w}" y1="0" y2="0"></line>`}return r.mode==`dark`&&(a=`#252526`),`<rect fill="${a}" x="0" y="0" height="${e.h}" width="${e.w}" rx="0" ry="0" ></rect>${i}`},u.ui={_defsIds:{},defs:function(e){var t=``;for(var n in u.templates){var r=u.templates[n];r.defs&&(u.ui._defsIds[n]=u.randomId(),t+=r.defs.replaceAll(`{randId}`,u.ui._defsIds[n]))}return`<defs>`+t+e+`</defs>`},lonely:function(e){return!e.nodes||!e.nodes.length?u.IT_IS_LONELY_HERE.replace(`{link}`,u.RES.IT_IS_LONELY_HERE_LINK):``},pointer:function(e,t,n){if(t===u.action.exporting)return``;var r=u.t(e.template,!1,n).pointer;return r||=``,r},aiButton:function(e){return e.enableAI?`<div data-boc-ai-button class="boc-ai-button">AI</div>`:``},node:function(e,t,n,r,i,a,o,s,c,l,d){var f=u.t(e.templateName,e.min,c),p=``;typeof f.node==`function`?p=f.node(e,t,f,r):u.isNEU(f.node)||(p=f.node,p&&=p.replaceAll(`{w}`,e.w).replaceAll(`{h}`,e.h)),f.defs&&(p=p.replaceAll(`{randId}`,u.ui._defsIds[e.templateName])),o??=r.nodeBinding;var m={node:e,data:t};for(var h in o){var g=o[h],_;t&&(_=t[g]),_??=e[g],m.element=f[h],m.value=_;var v=!1;typeof m.element==`function`&&(v=!0,m.element=m.element(e,t,f,r,m.value));var y=u._lblIsImg(r,h);if(m.name=g,m.field=h,u.events.publish(`field`,[l,m])!==!1&&m.value!=null&&m.value!=null&&m.element!=null){if(v)p+=m.element;else if(!y||y&&!u.isNEU(m.value)){if(!y&&typeof m.value==`string`){var b=m.element;b&&=b.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2),m.value=u.wrapText(m.value,b)}var x=m.element.replace(`{val}`,m.value);x=x.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2).replaceAll(`{randId}`,u.randomId()).replaceAll(`{randId2}`,u.randomId()),p+=x}}}var S=u._getPosition(n,e,i,a),C=`node`;Array.isArray(e.tags)&&e.tags.length&&(C+=` `+e.tags.join(` `)),e.layout&&(C+=` tree-layout`),d&&(C+=` treelist-pinned`);var w=``;e.lcn&&(w=`lcn="`+e.lcn+`"`);var T=u.nodeOpenTag.replace(`{lcn}`,w).replace(`{id}`,e.id).replace(`{class}`,C).replace(`{sl}`,e.sl).replace(`{level}`,e.level).replace(`{x}`,S.x).replace(`{y}`,S.y),E=u._getOpacity(n,e);return T=T.replace(`{opacity}`,E),p+=u.ui.nodeBtns(r,e,t,s,f,l),p=T+p+u.grCloseTag,p},nodeBtns:function(e,t,n,r,i,a){var o=``;return e.nodeMenu!=null&&!t.isSplit&&r!==u.action.exporting&&(typeof i.nodeMenuButton==`function`?o+=i.nodeMenuButton(t,n,i,e):u.isNEU(i.nodeMenuButton)||(o+=i.nodeMenuButton.replace(`{id}`,t.id).replace(`{cw}`,t.w/2).replace(`{ch}`,t.h/2).replace(`{ew}`,t.w-(t.padding?t.padding[1]:0)).replace(`{eh}`,t.h-(t.padding?t.padding[2]:0)))),o&&=`<g style="cursor:pointer;" ${u.attr.control_node_menu_id}="${t.id}">${o}</g>`,e.nodeCircleMenu!=null&&!t.isSplit&&r!==u.action.exporting&&(u.isNEU(i.nodeCircleMenuButton)||(o+=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,`+i.nodeCircleMenuButton.x+`,`+i.nodeCircleMenuButton.y+`)" `+u.attr.control_node_circle_menu_id+`="`+t.id+`"><circle cx="0" cy="0" fill="`+i.nodeCircleMenuButton.color+`" r="`+i.nodeCircleMenuButton.radius+`" stroke-width="1" stroke="`+i.nodeCircleMenuButton.stroke+`"></circle><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="-6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="-6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="0" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="0" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line></g>`)),o},expandCollapseBtn:function(e,t,n,r,i,a,o){var s=``;if(a!==u.action.exporting&&!t.isSplit){var c=i[t.lcn?t.lcn:`base`],l=u.t(t.templateName,t.min,o);if(t.childrenIds.length>0){if(t.hasPartners){for(var d=!1,f=0;f<t.childrenIds.length;f++){var p=e.getNode(t.childrenIds[f]);p&&!p.parentPartner&&!p.isPartner&&(d=!0)}if(!d)return``}var m=u._getDefailtPositionForExpandCollpase(c,t),h={x:m.x+t.x-l.expandCollapseSize/2,y:m.y+t.y-l.expandCollapseSize/2},g=e.getCollapsedIds(t);g.length?(typeof l.plus==`function`?(s+=u.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.plus(t,n,l,r,m)):(s+=u.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,h.x).replace(`{y}`,h.y),s+=l.plus),s+=u.grCloseTag):(typeof l.minus==`function`?(s+=u.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.minus(t,n,l,r,m)):(s+=u.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,h.x).replace(`{y}`,h.y),s+=l.minus),s+=u.grCloseTag),(g.length&&typeof l.plus!=`function`||!g.length&&typeof l.minus!=`function`)&&(s.indexOf(`{collapsed-children-count}`)!=-1&&(s=s.replace(`{collapsed-children-count}`,t.collapsedChildCount)),s.indexOf(`{collapsed-children-total-count}`)!=-1&&(s=s.replace(`{collapsed-children-total-count}`,t.deepCollapsedChildCount)),s.indexOf(`{children-count}`)!=-1&&(s=s.replace(`{children-count}`,t.childCount)),s.indexOf(`{children-total-count}`)!=-1&&(s=s.replace(`{children-total-count}`,t.deepChildCount)))}e._nodeHasHiddenParent(t)&&(s+=u.upOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.up,s+=u.grCloseTag)}var _={html:s,node:t};return u.events.publish(`renderbuttons`,[e,_]),_.html},link:function(e,t,n,r,i,a,o){var s=e.lcn?e.lcn:`base`,c=t._layoutConfigs[s],l=u.t(e.templateName,e.min,n),d=[],f=[],p=0,m=c.levelSeparation/2;e.layout>0&&(m=c.mixedHierarchyNodesSeparation/2);var h=0,g=u.getRootOf(e).id,_=r[g][e.sl],v=void 0;if(e.hasPartners){v={ids:[],indexes:{},ppnodes:{},lastLeft:null,firstRight:null,maxSidePartnersWithChildren:0,rightIds:[],leftIds:[],partnerChildrenSplitSeparation:t.config.partnerChildrenSplitSeparation};for(var y=0;y<e.children.length;y++){var b=e.children[y];b.parentPartner?(v.ppnodes[b.id]=b.parentPartner,v.ids.push(b.id),b.parentPartner.isPartner==1?(v.rightIds.indexOf(b.parentPartner.id)==-1&&v.rightIds.push(b.parentPartner.id),v.indexes[b.id]=v.rightIds.indexOf(b.parentPartner.id),v.firstRight||=b):b.parentPartner.isPartner==2&&(v.leftIds.indexOf(b.parentPartner.id)==-1&&v.leftIds.push(b.parentPartner.id),v.indexes[b.id]=v.leftIds.indexOf(b.parentPartner.id),v.lastLeft=b)):b.isPartner||(v.lastLeft=b,v.firstRight||=b)}v.maxSidePartnersWithChildren=Math.max(v.leftIds.length,v.rightIds.length),h=v.maxSidePartnersWithChildren==0?t.config.minPartnerSeparation/2:t.config.minPartnerSeparation/2+v.partnerChildrenSplitSeparation*v.maxSidePartnersWithChildren+v.partnerChildrenSplitSeparation/2}for(var y=0;y<e.children.length;y++){var b=e.children[y],x=r[g][b.sl],S={xa:0,ya:0,xb:0,yb:0,xc:0,yc:0,xd:0,yd:0,x:0,y:0,rotate:0};l=u.t(b.templateName,b.min,n);var C=l.link;if(b.isChildOfPartner)switch(c.orientation){case u.orientation.top:case u.orientation.top_left:var w=b.layout==1?void 0:x.minY-(x.minY-_.maxY)/2;S=u.ui._linkTopToBottom(b.parentPartner,b,l,m,w,t);break;case u.orientation.bottom:case u.orientation.bottom_left:var w=b.layout==1?void 0:x.maxY-(x.maxY-_.minY)/2;S=u.ui._linkBottomToTop(b.parentPartner,b,l,m,w,t);break;case u.orientation.right:case u.orientation.right_top:var w=b.layout==1?void 0:x.maxX-(x.maxX-_.minX)/2;S=u.ui._linkRightToLeft(b.parentPartner,b,l,m,w,t);break;case u.orientation.left:case u.orientation.left_top:var w=b.layout==1?void 0:x.minX-(x.minX-_.maxX)/2;S=u.ui._linkLeftToRight(b.parentPartner,b,l,m,w,t);break}else if(v&&v.ids.indexOf(b.id)!=-1)switch(c.orientation){case u.orientation.top:case u.orientation.top_left:S=u.ui._linkPpTop(v,e,b,x,_,l);break;case u.orientation.bottom:case u.orientation.bottom_left:S=u.ui._linkPpBottom(v,e,b,x,_,l);break;case u.orientation.right:case u.orientation.right_top:S=u.ui._linkPpRight(v,e,b,x,_,l);break;case u.orientation.left:case u.orientation.left_top:S=u.ui._linkPpLeft(v,e,b,x,_,l);break}else{var T=b.isAssistant&&b.rightNeighbor&&b.rightNeighbor.isAssistant&&b.parent==b.rightNeighbor.parent,E=b.isAssistant&&b.leftNeighbor&&b.leftNeighbor.isAssistant&&b.parent==b.leftNeighbor.parent;if((T||b.layout>1)&&b.rightNeighbor&&b.rightNeighbor.isSplit)switch(c.orientation){case u.orientation.top:case u.orientation.top_left:S=u.ui._linkRightToLeft(b.rightNeighbor,b,l,m);break;case u.orientation.bottom:case u.orientation.bottom_left:S=u.ui._linkRightToLeft(b.rightNeighbor,b,l,m);break;case u.orientation.right:case u.orientation.right_top:S=u.ui._linkBottomToTop(b.rightNeighbor,b,l,m);break;case u.orientation.left:case u.orientation.left_top:S=u.ui._linkBottomToTop(b.rightNeighbor,b,l,m);break}else if((E||b.layout>1)&&b.leftNeighbor&&b.leftNeighbor.isSplit)switch(c.orientation){case u.orientation.top:case u.orientation.top_left:S=u.ui._linkLeftToRight(b.leftNeighbor,b,l,m,t);break;case u.orientation.bottom:case u.orientation.bottom_left:S=u.ui._linkLeftToRight(b.leftNeighbor,b,l,m,t);break;case u.orientation.right:case u.orientation.right_top:S=u.ui._linkTopToBottom(b.leftNeighbor,b,l,m,t);break;case u.orientation.left:case u.orientation.left_top:S=u.ui._linkTopToBottom(b.leftNeighbor,b,l,m,t);break}else switch(c.orientation){case u.orientation.top:case u.orientation.top_left:if(b.isPartner==1)S=u.ui._linkLeftToRight(e,b,l,h);else if(b.isPartner==2)S=u.ui._linkRightToLeft(e,b,l,h);else{var w=b.layout==1?void 0:x.minY-(x.minY-_.maxY)/2;S=u.ui._linkTopToBottom(e,b,l,m,w,t)}break;case u.orientation.bottom:case u.orientation.bottom_left:if(b.isPartner==1)S=u.ui._linkLeftToRight(e,b,l,h);else if(b.isPartner==2)S=u.ui._linkRightToLeft(e,b,l,h);else{var w=b.layout==1?void 0:x.maxY-(x.maxY-_.minY)/2;S=u.ui._linkBottomToTop(e,b,l,m,w,t)}break;case u.orientation.right:case u.orientation.right_top:if(b.isPartner==1)S=u.ui._linkTopToBottom(e,b,l,h);else if(b.isPartner==2)S=u.ui._linkBottomToTop(e,b,l,h);else{var w=b.layout==1?void 0:x.maxX-(x.maxX-_.minX)/2;S=u.ui._linkRightToLeft(e,b,l,m,w,t)}break;case u.orientation.left:case u.orientation.left_top:if(b.isPartner==1)S=u.ui._linkTopToBottom(e,b,l,h);else if(b.isPartner==2)S=u.ui._linkBottomToTop(e,b,l,h);else{var w=b.layout==1?void 0:x.minX-(x.minX-_.maxX)/2;S=u.ui._linkLeftToRight(e,b,l,m,w,t)}break}}var D,O=u.ui._draggableLinkPath(t,e,b,S,m,c.orientation);if(O)D=O,C=C.replaceAll(`{rounded}`,O).replaceAll(`{edge}`,O).replaceAll(`{curve}`,D);else if(C.indexOf(`{rounded}`)!=-1)if(S.xa==S.xb&&S.xa==S.xc&&S.xa==S.xd||S.ya==S.yb&&S.ya==S.yc&&S.ya==S.yd)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.xa-S.xd)<=u.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xc)<=u.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xb)<=u.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xa+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.ya-S.yd)<=u.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yc)<=u.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yb)<=u.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.ya,C=C.replaceAll(`{rounded}`,D);else{var k=u.ui._roundedEdge(S.xa,S.ya,S.xb,S.yb,S.xc,S.yc),A=u.ui._roundedEdge(S.xb,S.yb,S.xc,S.yc,S.xd,S.yd);D=`M`+k.x1+`,`+k.y1+` `+k.x2+`,`+k.y2+` Q`+k.qx1+`,`+k.qy1+` `+k.qx2+`,`+k.qy2+` L`+A.x2+`,`+A.y2+` Q`+A.qx1+`,`+A.qy1+` `+A.qx2+`,`+A.qy2+` L`+A.x3+`,`+A.y3,C=C.replaceAll(`{rounded}`,D)}else C.indexOf(`{edge}`)==-1?C.indexOf(`{curve}`)==-1?(D=C.replaceAll(`{xa}`,S.xa).replaceAll(`{ya}`,S.ya).replaceAll(`{xb}`,S.xb).replaceAll(`{yb}`,S.yb).replaceAll(`{xc}`,S.xc).replaceAll(`{yc}`,S.yc).replaceAll(`{xd}`,S.xd).replaceAll(`{yd}`,S.yd),C=D):(D=`M`+S.xa+`,`+S.ya+` C`+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` `+S.xd+`,`+S.yd,C=C.replaceAll(`{curve}`,D)):(D=`M`+S.xa+`,`+S.ya+` `+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{edge}`,D));d.push(u.linkOpenTag.replaceAll(`{id}`,e.id).replaceAll(`{class}`,`link `+b.tags.join(` `)).replaceAll(`{child-id}`,b.id));var j={node:e,cnode:b,p:S,html:C,action:a};u.events.publish(`render-link`,[t,j]),d.push(j.html),o&&f.push({id:e.id,childId:b.id,html:j.html});var M=``;for(var N in t.config.linkBinding){var P=t.config.linkBinding[N],F=t._get(b.id);F&&(j.value=F[P],j.element=l[N],j.name=P,u.events.publish(`label`,[t,j])!==!1&&!u.isNEU(j.value)&&!u.isNEU(j.element)&&(M+=j.element.replace(`{val}`,j.value)))}if(M!=``){var I=S.x,ee=S.y;b.movey!=null&&(ee+=b.movey),M=u.linkFieldsOpenTag.replace(`{x}`,I).replace(`{y}`,ee).replace(`{rotate}`,p)+M+u.grCloseTag,d.push(M)}d.push(u.grCloseTag)}return o?f:d.join(``)},svg:function(e,t,n,r,i,a){return u.t(r.template,!1,a).svg.replace(`{w}`,e).replace(`{h}`,t).replace(`{viewBox}`,n).replace(`{randId}`,u.ui._defsIds[r.template]).replace(`{mode}`,r.mode).replace(`{template}`,r.template).replace(`{content}`,function(){return i})},menuButton:function(e){return e.menu==null?``:u.t(e.template,!1).menuButton.replaceAll(`{p}`,e.padding)},_roundedEdge:function(e,t,n,r,i,a){var o=u.LINK_ROUNDED_CORNERS,s,c,l,d=0;return e==n&&e==i||t==r&&t==a?(s=l=n,c=d=r):(e!=i&&n==i&&(s=l=n,c=r,t<a?d=r+o:t>a&&(d=r-o)),e<i&&n==i?n-=o:e>i&&n==i&&(n+=o),t!=a&&r==a&&(s=n,c=d=r,e<i?l=n+o:e>i&&(l=n-o)),t<a&&r==a?r-=o:t>a&&r==a&&(r+=o)),{x1:e,y1:t,x2:n,y2:r,x3:i,y3:a,qx1:s,qy1:c,qx2:l,qy2:d}},_linkTopToBottom:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+e.h+n.linkAdjuster.toY,p=d=t.x+t.w/2+n.linkAdjuster.fromX,m=t.y+n.linkAdjuster.fromY,c=o,l=f=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y+e.rightNeighbor.h+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?m:t.templateName==`split`?s+r:i??m-r,h=d,g=u.isNEU(t.parentPartner)?f+16:f;var v={xa:o,ya:s,xb:c,yb:l,xc:d,yc:f,xd:p,yd:m,x:h,y:g,rotate:_};return a&&u._addConnectorLines(a._connectorLines,v),v},_linkBottomToTop:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+n.linkAdjuster.toY,p=d=t.x+t.w/2+n.linkAdjuster.fromX,m=t.y+t.h+n.linkAdjuster.fromY,c=o,l=f=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?m:t.templateName==`split`?s-r:i??m+r,h=d,g=f-14;var v={xa:o,ya:s,xb:c,yb:l,xc:d,yc:f,xd:p,yd:m,x:h,y:g,rotate:_};return a&&u._addConnectorLines(a._connectorLines,v),v},_linkRightToLeft:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0;o=e.x+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,p=t.x+t.w+n.linkAdjuster.fromX,m=f=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?o-r:i??p+r,h=d-16,g=f,_=90;var v={xa:o,ya:s,xb:c,yb:l,xc:d,yc:f,xd:p,yd:m,x:h,y:g,rotate:_};return a&&u._addConnectorLines(a._connectorLines,v),v},_linkLeftToRight:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,d=0,f=0,p=0,m=0,h=0,g=0,_=0;o=e.x+e.w+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,p=t.x+n.linkAdjuster.fromX,m=f=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x+e.rightNeighbor.w+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?o+r:i??p-r,h=d+14,g=f,_=270;var v={xa:o,ya:s,xb:c,yb:l,xc:d,yc:f,xd:p,yd:m,x:h,y:g,rotate:_};return a&&u._addConnectorLines(a._connectorLines,v),v},_linkPpTop:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.minY-(r.minY-i.maxY)/2,l=(r.minY-i.maxY)/e.maxSidePartnersWithChildren/4,d=u.ui.__linkPpBottomTop(e,t,n,c,l,o),f=d.x;return c=d.mid,u.ui._linkTopToBottom({x:f,y:s,w:0,h:0},n,a,0,c)},_linkPpBottom:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.maxY-(r.maxY-i.minY)/2,l=(r.maxY-i.minY)/e.maxSidePartnersWithChildren/4,d=u.ui.__linkPpBottomTop(e,t,n,c,l,o),f=d.x;return c=d.mid,u.ui._linkBottomToTop({x:f,y:s,w:0,h:0},n,a,0,c)},_linkPpLeft:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.minX-(r.minX-i.maxX)/2,c=(r.minX-i.maxX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,d=u.ui.__linkPpLeftRight(e,t,n,s,c,o),f=d.y;return s=d.mid,u.ui._linkLeftToRight({x:l,y:f,w:0,h:0},n,a,0,s)},_linkPpRight:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.maxX-(r.maxX-i.minX)/2,c=(r.maxX-i.minX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,d=u.ui.__linkPpLeftRight(e,t,n,s,c,o),f=d.y;return s=d.mid,u.ui._linkRightToLeft({x:l,y:f,w:0,h:0},n,a,0,s)},__linkPpBottomTop:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.x-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.x+e.lastLeft.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.x+a.w+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.x+e.firstRight.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{x:o,mid:r}},__linkPpLeftRight:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.y-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.y+e.lastLeft.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.y+a.h+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.y+e.firstRight.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{y:o,mid:r}},_draggableLinkPath:function(e,t,n,r,i,a){if(n.isSubLevel||t.isSubLevel||n.leftNeighbor&&n.leftNeighbor.isSplit||n.rightNeighbor&&n.rightNeighbor.isSplit||n.isPartner||n.isAssistant)return null;if(u._isMoved(n)&&!u._isMoved(t)){var o,s,c=[];switch(a){case u.orientation.top:case u.orientation.top_left:if(r.yb+i/2<r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case u.orientation.bottom:case u.orientation.bottom_left:if(r.yb-i/2>r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case u.orientation.right:case u.orientation.right_top:if(r.xb-i/2>r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case u.orientation.left:case u.orientation.left_top:if(r.xb+i/2<r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}switch(a){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:var c=[];c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return u.roundPathCorners(c,u.LINK_ROUNDED_CORNERS,!1)}else if(!u._isMoved(n)&&u._isMoved(t)){var o,s,l=!1,c=[];switch(a){case u.orientation.top:case u.orientation.top_left:if(r.ya+i/2>r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i;else if(r.yb+i/2<r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case u.orientation.bottom:case u.orientation.bottom_left:if(r.ya-i/2<r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i;else if(r.yb-i/2>r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case u.orientation.right:case u.orientation.right_top:if(r.xa-i/2<r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i;else if(r.xb-i/2>r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case u.orientation.left:case u.orientation.left_top:if(r.xa+i/2>r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i;else if(r.xb+i/2<r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}if(l)switch(a){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yc]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,r.xc,s]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break}else switch(a){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return u.roundPathCorners(c,u.LINK_ROUNDED_CORNERS,!1)}else if(u._isMoved(n)&&u._isMoved(t)){var c=[];switch(a){case u.orientation.top:case u.orientation.top_left:if(r.ya+i>r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i,d=n.y-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,d]),c.push([`L`,r.xc,d]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y+t.h+i]),c.push([`L`,r.xc,t.y+t.h+i]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.bottom:case u.orientation.bottom_left:if(r.ya-i<r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i,d=n.y+n.h+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,d]),c.push([`L`,r.xc,d]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y-i]),c.push([`L`,r.xc,t.y-i]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.right:case u.orientation.right_top:if(r.xa-i<r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i,f=n.x+n.w+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,f,s]),c.push([`L`,f,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x-i,r.ya]),c.push([`L`,t.x-i,r.yc]),c.push([`L`,r.xd,r.yd]);break;case u.orientation.left:case u.orientation.left_top:if(r.xa+i>r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i,f=n.x-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,f,s]),c.push([`L`,f,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x+t.w+i,r.ya]),c.push([`L`,t.x+t.w+i,r.yc]),c.push([`L`,r.xd,r.yd]);break}return u.roundPathCorners(c,u.LINK_ROUNDED_CORNERS,!1)}return null}},u===void 0&&(u={}),u._validateConfig=function(e){if(!e)console.error(`config is not defined`);else return!0;return!1},u._arrayContains=function(e,t){if(e&&Array.isArray(e)){for(var n=e.length;n--;)if(e[n]===t)return!0}return!1},u._interceptions=function(e,t){if(!e||!t)return[];var n=[];if(Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)e[r]==t[i]&&n.push(e[r]);else if(Array.isArray(e)&&!Array.isArray(t))for(var r in e)for(var i in t)e[r]==i&&n.push(e[r]);else if(!Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)r==t[i]&&n.push(t[i]);return n},u._getTags=function(e){return e.tags&&!Array.isArray(e.tags)?e.tags.split(`,`):e.tags&&Array.isArray(e.tags)?e.tags:[]},u._centerPointInPercent=function(e,t,n){var r=e.getBoundingClientRect(),i=t-r.left,a=n-r.top;return[i/(r.width/100),a/(r.height/100)]},u._trim=function(e){return e.replace(/^\s+|\s+$/g,``)},u._getTransform=function(e){var t=e.getAttribute(`transform`);return t=t.replace(`matrix`,``).replace(`(`,``).replace(`)`,``),u._browser().msie&&(t=t.replace(/ /g,`,`)),t=u._trim(t),t=`[`+t+`]`,t=JSON.parse(t),t},u.getScale=function(e,t,n,r,i,a,o,s){var c=1;if(!e&&(r===u.match.boundary||r===u.match.boundaryIfOutside)){var l=t/o,d=n/s;c=l>d?d:l,r===u.match.boundaryIfOutside&&c>1&&(c=1)}else if(!e&&r===u.match.width)c=t/o;else if(!e&&r===u.match.height)c=n/s;else if(!e)c=r;else{var l=t/e[2],d=n/e[3];c=l>d?d:l}return c&&c>i&&(c=i),c&&c<a&&(c=a),c},u.isObject=function(e){return e&&typeof e==`object`&&!Array.isArray(e)&&e!==null&&e.constructor&&e.constructor.name.toLowerCase()==`object`},u.fileUploadDialog=function(e){var t=document.createElement(`INPUT`);t.setAttribute(`type`,`file`),t.style.display=`none`,t.onchange=function(){var t=this.files[0];e(t)},document.body.appendChild(t),t.click()},u.mergeDeep=function(e,t){if(u.isObject(e)&&u.isObject(t))for(var n in t)u.isObject(t[n])?(e[n]||Object.assign(e,{[n]:{}}),u.mergeDeep(e[n],t[n])):Object.assign(e,{[n]:t[n]});return e},u._lblIsImg=function(e,t){return!!(e.nodeBinding&&typeof t==`string`&&t.indexOf(`img`)!=-1&&e.nodeBinding[t])},u._getFistImgField=function(e){if(e.nodeBinding){for(var t in e.nodeBinding)if(t.indexOf(`img`)!=-1)return e.nodeBinding[t]}return!1},u._fieldIsImg=function(e,t){if(e.nodeBinding){for(var n in e.nodeBinding)if(e.nodeBinding[n]==t)return u._lblIsImg(e,n)}return!1},u._guid=function(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return e()+e()+`-`+e()+`-`+e()+`-`+e()+`-`+e()+e()+e()},u.htmlRipple=function(e){var t=document.createElement(`style`);t.type=`text/css`,t.innerHTML=` .boc-ripple-container {position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .boc-ripple-container span {transform: scale(0);border-radius:100%;position:absolute;opacity:0.75;background-color:#fff;animation: boc-ripple 1000ms; }@-moz-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-webkit-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-o-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}`,document.head.appendChild(t);var n=function(e,t){var n=void 0;return function(){var r,i=this;return r=arguments,clearTimeout(n),n=setTimeout(function(){return e.apply(i,r)},t)}},r=function(t){var n,r=this,i=document.createElement(`span`),a=r.offsetWidth,o,s,c;return n=r.getBoundingClientRect(),s=t.pageX-n.left-a/2,c=t.pageY-n.top-a/2,o=`top:`+c+`px; left: `+s+`px; height: `+a+`px; width: `+a+`px;`,e.rippleContainer.appendChild(i),i.setAttribute(`style`,o)},i=function(){for(;this.rippleContainer.firstChild;)this.rippleContainer.removeChild(this.rippleContainer.firstChild)},a=document.createElement(`div`);a.className=`boc-ripple-container`,e.addEventListener(`mousedown`,r),e.addEventListener(`mouseup`,n(i,2e3)),e.rippleContainer=a,e.appendChild(a)},u._moveToBoundaryArea=function(e,t,n,r){var i=t.slice(0);t[0]<n.left&&t[0]<n.right&&(i[0]=n.left>n.right?n.right:n.left),t[0]>n.right&&t[0]>n.left&&(i[0]=n.left>n.right?n.left:n.right),t[1]<n.top&&t[1]<n.bottom&&(i[1]=n.top>n.bottom?n.bottom:n.top),t[1]>n.bottom&&t[1]>n.top&&(i[1]=n.top>n.bottom?n.top:n.bottom),t[0]!==i[0]||t[1]!==i[1]?u.animate(e,{viewBox:t},{viewBox:i},300,u.anim.outPow,function(){r&&r()}):r&&r()},u.randomId=function(){return`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4)},u._getClientXY=function(e){if(e.type.indexOf(`touch`)!=-1){if(e.changedTouches.length)return{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}}else return{x:e.clientX,y:e.clientY}},u._getClientTouchesXY=function(e,t){return e.type.indexOf(`touch`)==-1?{x:e.clientX,y:e.clientY}:e.touches.length<t+1?{x:null,y:null}:{x:e.touches[t].clientX,y:e.touches[t].clientY}},u._getOffset=function(e,t){e&&(t.x+=e.offsetLeft,t.y+=e.offsetTop,u._getOffset(e.offsetParent,t))},u._getTopLeft=function(e){var t={x:0,y:0};return u._getOffset(e,t),t},u._getOffsetXY=function(e,t){if(t.type.indexOf(`touch`)!=-1){if(t.touches.length){var n=u._getTopLeft(e);return{x:t.touches[0].pageX-n.x,y:t.touches[0].pageY-n.y}}else if(t.changedTouches.length){var n=u._getTopLeft(e);return isNaN(n.x)||isNaN(n.y)?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.changedTouches[0].pageX-n.x,y:t.changedTouches[0].pageY-n.y}}}else return{x:t.offsetX,y:t.offsetY}},u._pinchMiddlePointInPercent=function(e,t,n,r){var i=u._getTopLeft(e),a=r.touches[0].pageX-i.x,o=r.touches[0].pageY-i.y,s=r.touches[1].pageX-i.x,c=r.touches[1].pageY-i.y;return[((a-s)/2+s)/(t/100),((o-c)/2+c)/(n/100)]},u._browser=function(){var e=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(` OPR/`)>=0,t=typeof InstallTrigger<`u`,n=/constructor/i.test(window.HTMLElement)||(function(e){return e.toString()===`[object SafariRemoteNotification]`})(!window.safari||window.safari!==void 0&&safari.pushNotification),r=!!document.documentMode,i=!r&&!!window.StyleMedia,a=!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime);return{opera:e,firefox:t,safari:n,msie:r,edge:i,chrome:a,blink:(a||e)&&!!window.CSS}},u._menuPosition=function(e,t,n){var r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),a=t.getBoundingClientRect(),o=r.left-i.left,s=r.top-i.top;return r.top+a.height>i.top+i.height&&(s-=a.height),r.left-a.width<i.left&&(o+=a.width),{x:o,y:s}},u._getTemplate=function(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=t[e[r]];if(i&&i.template)return i.template}return n},u._getMin=function(e,t){if(e.tags&&e.tags.length&&t.tags)for(var n=0;n<e.tags.length;n++){var r=t.tags[e.tags[n]];if(r&&r.min===!0)return!0}return t.min},u._getSubLevels=function(e,t){if(e&&e.length)for(var n=0;n<e.length;n++){var r=t[e[n]];if(r&&r.subLevels)return r.subLevels}return 0},u._isHTML=function(e){var t=new DOMParser().parseFromString(e,`text/html`);return Array.from(t.body.childNodes).some(e=>e.nodeType===1)},u._getTestDiv=function(){var e=document.getElementById(`orgchart_js_test_div`);return e||(e=document.createElement(`div`),e.id=`orgchart_js_test_div`,e.style.position=`fixed`,e.style.top=`-10000px`,e.style.left=`-10000px`,document.body.appendChild(e)),e},u._getLabelSize=function(e){var t=u._getTestDiv();return t.innerHTML=`<svg>`+e+`</svg>`,t.querySelector(`text`).getBoundingClientRect()},u.wrapText=function(e,t,n,r){if(n!=null&&r!=null)return u._lineClamp(t,e,n,r);var i=t,a=i.toLowerCase();if(a.indexOf(`<text`)==-1||a.indexOf(u.attr.width)==-1||a.indexOf(`foreignobject`)!=-1||i.indexOf(u.attr.width)==-1||u.ESCAPE_HTML&&typeof str==`string`&&u._isHTML(e))return u._escapeHtml(e);if(!u.ESCAPE_HTML&&u._isHTML(e))return e;var o=u._getTestDiv();i=i.replaceAll(`{cw}`,0),o.innerHTML=`<svg>`+i+`</svg>`;var s=new DOMParser().parseFromString(i,`text/xml`).getElementsByTagName(`text`)[0],c=parseFloat(s.getAttribute(`x`)),l=parseFloat(s.getAttribute(`y`)),d=s.getAttribute(`text-anchor`),n=s.getAttribute(u.attr.width),f=s.getAttribute(u.attr.text_overflow),p=`http://www.w3.org/2000/svg`,m=o.getElementsByTagName(`svg`)[0].getElementsByTagName(`text`)[0],r,h;f||=`ellipsis`;var g=f.split(`-`);if(g.length>1&&(r=parseInt(f.split(`-`)[1]),g.length>2&&g[2]==`ellipsis`&&(h=!0)),!n)return u._escapeHtml(e);if(n=parseFloat(n),c||=0,l||=0,c||(d=`start`),f==`ellipsis`){m.removeChild(m.firstChild),m.textContent=e;for(var _=m.getComputedTextLength(),v=2;_>n;)m.textContent=e.substring(0,e.length-v),m.textContent+=`...`,_=m.getComputedTextLength(),v++;return v>2?`<title>${u._escapeHtml(e)}</title>${m.textContent}`:u._escapeHtml(e)}else if(f.indexOf(`multiline`)!=-1){var y=e.split(` `),b=m.getBBox().height;m.textContent=``;var x=document.createElementNS(p,`tspan`),S=document.createTextNode(y[0]);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l),x.setAttributeNS(null,`text-anchor`,d),x.appendChild(S),m.appendChild(x);for(var v=1,C=1,w=!1,T=1;T<y.length;T++){var E=x.firstChild.data.length;if(x.firstChild.data+=` `+y[T],x.getComputedTextLength()>n){if(x.firstChild.data=x.firstChild.data.slice(0,E),C++,r&&C>r){if(h&&m.children.length==r){var D=m.children[r-1].textContent;m.children[r-1].textContent=D.substring(0,D.length-3)+`...`,w=!0}break}var x=document.createElementNS(p,`tspan`);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l+b*v),x.setAttributeNS(null,`text-anchor`,d),S=document.createTextNode(y[T]),x.appendChild(S),m.appendChild(x),v++}}var O=``;if(m.innerHTML!=null)O=m.innerHTML,m.innerHTML=``;else{for(var k=``,T=m.childNodes.length-1;T>=0;T--)k=XMLSerializer().serializeToString(m.childNodes[T])+k,m.removeChild(m.childNodes[T]);O=k}return w?`<title>${u._escapeHtml(e)}</title>${O}`:O}},u._downloadFile=function(e,t,n,r,i){var a=new Blob([t],{type:e});if(r==1){var o=URL.createObjectURL(a);window.open(o,`_blank`).focus()}else if(navigator.msSaveBlob)navigator.msSaveBlob(a,n);else{var s=document.createElement(`a`);if(s.download!==void 0){var o=URL.createObjectURL(a);s.setAttribute(`href`,o);var c=n;c.toLowerCase().endsWith(i.toLowerCase())||(c=c+`.`+i),s.setAttribute(`download`,c),s.style.visibility=`hidden`,document.body.appendChild(s),s.click(),document.body.removeChild(s)}}},u._getPosition=function(e,t,n,r){var i={x:t.x,y:t.y};if(n!=null&&(i.x=n),r!=null&&(i.y=n),e&&e.length==3){var a=e[0].indexOf(t.id);a!=-1&&e[1][a].transform!=null&&(n??(i.x=e[1][a].transform[4]),r??(i.y=e[1][a].transform[5]))}return i},u._getOpacity=function(e,t){var n=1;if(e&&e.length==3){var r=e[0].indexOf(t.id);r!=-1&&e[1][r].opacity!=null&&(n=e[1][r].opacity)}return n},u.t=function(e,t,n){var r=u.templates[e];r??console.error(`Template "${e}" does not exist!`);var i=null;if(n!=null&&r.scaleLessThen){var a=[];for(var o in r.scaleLessThen){var s=parseFloat(o);n<s&&a.push(s)}if(a.length>0){a.sort(function(e,t){return e-t});var c=r.scaleLessThen[a[0]];for(var l in c)i??=Object.assign({},r),i[l]=c[l]}}return t?i==null?r.min?r.min:r:i.min?i.min:i:i??r},u.setNodeSize=function(e){var t=u.t(e.templateName,e.min);e.w=t&&t.size?t.size[0]:0,e.h=t&&t.size?t.size[1]:0},u._imgs2base64=function(e,t,n,r){var i=e.getElementsByTagName(t),a=i.length;a==0&&r();for(var o=0;o<a;o++)(function(){var e=o,t=i[e];u._getDataUri(t.getAttribute(n),function(i){i.success&&t.setAttribute(n,i.result),e==a-1&&r()})})()},u._getDataUri=function(e,t){if(e.indexOf(`base64`)!=-1)t({success:!1});else{var n=new XMLHttpRequest;n.open(`GET`,e),n.responseType=`blob`,n.onload=function(){n.status===200?r.readAsDataURL(n.response):n.status===404&&t({success:!1,result:n.status})};var r=new FileReader;r.onloadend=function(){t({success:!0,result:r.result})},n.send()}},u._convertStringToArray=function(e,t){return u.ARRAY_FIELDS.indexOf(e)==-1?t:u.isNEU(t)?[]:t.split(`,`)},u._convertArrayToString=function(e){return!u.isNEU(e)&&Array.isArray(e)?e.join():e},u._csvToArray=function(e,t){t||=u.CSV_DELIMITER;for(var n=RegExp(`(\\`+t+`|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\`+t+`\\r\\n]*))`,`gi`),r=[[]],i=null;i=n.exec(e);){var a=i[1];a.length&&a!==t&&r.push([]);var o=i[2]?i[2].replace(RegExp(`""`,`g`),`"`):i[3];r[r.length-1].push(o)}return r},u._json2xml=function(e){for(var t=document.implementation.createDocument(``,``,null),n=t.createElement(`nodes`),r=0;r<e.length;r++){var i=t.createElement(`node`),a=e[r];for(var o in a){var s=a[o];i.setAttribute(o,u._convertArrayToString(s))}n.appendChild(i)}return t.appendChild(n),`<?xml version="1.0" encoding="utf-8" ?>`+new XMLSerializer().serializeToString(t.documentElement)},u._xml2json=function(e){for(var t=new DOMParser().parseFromString(e,`text/xml`).getElementsByTagName(`node`),n=[],r=0;r<t.length;r++){for(var i=t[r],a={},o=0;o<i.attributes.length;o++){var s=i.attributes[o];a[s.name]=u._convertStringToArray(s.name,s.value)}n.push(a)}return n},u.convertNodesToCsv=function(e){return u._json2csv(e)},u._json2csv=function(e){for(var t=[],n=function(e){for(var n=``,r=0;r<t.length;r++){var i=t[r]==`reportsTo`?null:e[t[r]]==null?``:e[t[r]];i instanceof Date&&(i=i.toLocaleString()),i=i===null?``:i.toString();var a=i.replace(/"/g,`""`),o=RegExp(`("|;|
231
- )`,`g`);a.search(o)>=0&&(a=`"`+a+`"`),r>0&&(n+=u.CSV_DELIMITER),n+=a}return n+`
232
- `},r=``,i=0;i<e.length;i++)for(var a in e[i])u._arrayContains(t,a)||(t.push(a),r+=a+u.CSV_DELIMITER);r=r.substring(0,r.length-1),r+=`
233
- `;for(var i=0;i<e.length;i++)r+=n(e[i]);return r=r.substring(0,r.length-1),r},u.accentFold=function(e){return e=e.toString().toLowerCase(),e.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])/g,function(e,t,n,r,i,a,o,s,c,l,u){if(t)return`a`;if(n)return`c`;if(r)return`e`;if(i)return`i`;if(a)return`n`;if(o)return`o`;if(s)return`s`;if(c)return`u`;if(l)return`y`;if(u)return`ae`})},u.copy=function(e){if(typeof e!=`object`||!e||`isActiveClone`in e)return e;if(e instanceof Date)var t=new e.constructor;else var t=e.constructor();for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e.isActiveClone=null,t[n]=u.copy(e[n]),delete e.isActiveClone);return t},u._getScrollSensitivity=function(){var e=u._browser();return e.msie&&u.scroll.ie?u.scroll.ie:e.edge&&u.scroll.edge?u.scroll.edge:e.safari&&u.scroll.safari?u.scroll.safari:e.chrome&&u.scroll.chrome?u.scroll.chrome:e.firefox&&u.scroll.firefox?u.scroll.firefox:e.opera&&u.scroll.opera?u.scroll.opera:{smooth:u.scroll.smooth,speed:u.scroll.speed}},u.isMobile=function(){let e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e),n=navigator.platform===`MacIntel`&&navigator.maxTouchPoints>1;return t||n},u._isTouchDevice=function(){return navigator.maxTouchPoints>0},u.isTrial=function(){return u.remote!==void 0},u.childrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++)e.nodes[t.childrenIds[r]]&&n++;return n},u.childrenTotalCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&(n++,n+=u.childrenTotalCount(e,i))}return n},u.collapsedChildrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&i.collapsed===!0&&n++}return n},u.collapsedChildrenTotalCount=function(e,t,n){for(var r=0,i=0;i<t.childrenIds.length;i++){var a=e.nodes[t.childrenIds[i]];a&&((n||a.collapsed===!0)&&r++,r+=u.collapsedChildrenTotalCount(e,a,!0))}return r},u._setMinMaxXY=function(e,t,n){n&&e.isTreeListItem||((t.minX==null||e.x!=null&&e.x<t.minX)&&(t.minX=e.x),(t.minY==null||e.y!=null&&e.y<t.minY)&&(t.minY=e.y),(t.maxX==null||e.x!=null&&e.x+e.w>t.maxX)&&(t.maxX=e.x+e.w),(t.maxY==null||e.y!=null&&e.y+e.h>t.maxY)&&(t.maxY=e.y+e.h))},u.getStParentNodes=function(e,t){for(t||=[];e.parent;)e=e.parent;return e.stParent&&(t.push(e.stParent),u.getStParentNodes(e.stParent,t)),t},u.getRootOf=function(e){for(;e&&e.parent;)e=e.parent;return e},u._getViewBox=function(e){var t=null;return e?(t=e.getAttribute(`viewBox`),t=`[`+t+`]`,t=t.replace(/\ /g,`,`),t=JSON.parse(t),t):null},u.isNEU=function(e){return e==null||e===``},u.gradientCircleForDefs=function(e,t,n,r){Array.isArray(t)||(t=[t,t,t,t,t,t]);function i(e,t,n,r){var i=(r-90)*Math.PI/180;return{x:e+n*Math.cos(i),y:t+n*Math.sin(i)}}function a(e,t,n,r,a){var o=i(e,t,n,a),s=i(e,t,n,r),c=a-r<=180?`0`:`1`;return[`M`,o.x,o.y,`A`,n,n,0,c,0,s.x,s.y].join(` `)}return`<linearGradient id="${e}_linearColors1" x1="0" y1="0" x2="1" y2="1">
418
+ </g>`},h.templates.treeListItem.node=function(e,t,n,r){var i=``,a=`#FFFFFF`;if(e.isTreeListItem&&!e.stParent||e.isTreeListItem&&e.stParent&&e.stParent.stChildren[0]!=e){var o=`#E0E0E0`;r.mode==`dark`&&(o=`#444444`),i=`<line stroke="${o}" stroke-width="1" x1="0" x2="${e.w}" y1="0" y2="0"></line>`}return r.mode==`dark`&&(a=`#252526`),`<rect fill="${a}" x="0" y="0" height="${e.h}" width="${e.w}" rx="0" ry="0" ></rect>${i}`},h.ui={_defsIds:{},defs:function(e){var t=``;for(var n in h.templates){var r=h.templates[n];r.defs&&(h.ui._defsIds[n]=h.randomId(),t+=r.defs.replaceAll(`{randId}`,h.ui._defsIds[n]))}return`<defs>`+t+e+`</defs>`},lonely:function(e){return!e.nodes||!e.nodes.length?h.IT_IS_LONELY_HERE.replace(`{link}`,h.RES.IT_IS_LONELY_HERE_LINK):``},pointer:function(e,t,n){if(t===h.action.exporting)return``;var r=h.t(e.template,!1,n).pointer;return r||=``,r},aiButton:function(e){return e.enableAI?`<div data-boc-ai-button class="boc-ai-button">AI</div>`:``},node:function(e,t,n,r,i,a,o,s,c,l,u){var d=h.t(e.templateName,e.min,c),f=``;typeof d.node==`function`?f=d.node(e,t,d,r):h.isNEU(d.node)||(f=d.node,f&&=f.replaceAll(`{w}`,e.w).replaceAll(`{h}`,e.h)),d.defs&&(f=f.replaceAll(`{randId}`,h.ui._defsIds[e.templateName])),o??=r.nodeBinding;var p={node:e,data:t};for(var m in o){var g=o[m],_;t&&(_=t[g]),_??=e[g],p.element=d[m],p.value=_;var v=!1;typeof p.element==`function`&&(v=!0,p.element=p.element(e,t,d,r,p.value));var y=h._lblIsImg(r,m);if(p.name=g,p.field=m,h.events.publish(`field`,[l,p])!==!1&&p.value!=null&&p.value!=null&&p.element!=null){if(v)f+=p.element;else if(!y||y&&!h.isNEU(p.value)){if(!y&&typeof p.value==`string`){var b=p.element;b&&=b.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2),p.value=h.wrapText(p.value,b)}var x=p.element.replace(`{val}`,p.value);x=x.replaceAll(`{ew}`,e.w-(e.padding?e.padding[1]:0)).replaceAll(`{cw}`,e.w/2).replaceAll(`{randId}`,h.randomId()).replaceAll(`{randId2}`,h.randomId()),f+=x}}}var S=h._getPosition(n,e,i,a),C=`node`;Array.isArray(e.tags)&&e.tags.length&&(C+=` `+e.tags.join(` `)),e.layout&&(C+=` tree-layout`),u&&(C+=` treelist-pinned`);var w=``;e.lcn&&(w=`lcn="`+e.lcn+`"`);var T=h.nodeOpenTag.replace(`{lcn}`,w).replace(`{id}`,e.id).replace(`{class}`,C).replace(`{sl}`,e.sl).replace(`{level}`,e.level).replace(`{x}`,S.x).replace(`{y}`,S.y),E=h._getOpacity(n,e);return T=T.replace(`{opacity}`,E),f+=h.ui.nodeBtns(r,e,t,s,d,l),f=T+f+h.grCloseTag,f},nodeBtns:function(e,t,n,r,i,a){var o=``;return e.nodeMenu!=null&&!t.isSplit&&r!==h.action.exporting&&(typeof i.nodeMenuButton==`function`?o+=i.nodeMenuButton(t,n,i,e):h.isNEU(i.nodeMenuButton)||(o+=i.nodeMenuButton.replace(`{id}`,t.id).replace(`{cw}`,t.w/2).replace(`{ch}`,t.h/2).replace(`{ew}`,t.w-(t.padding?t.padding[1]:0)).replace(`{eh}`,t.h-(t.padding?t.padding[2]:0)))),o&&=`<g style="cursor:pointer;" ${h.attr.control_node_menu_id}="${t.id}">${o}</g>`,e.nodeCircleMenu!=null&&!t.isSplit&&r!==h.action.exporting&&(h.isNEU(i.nodeCircleMenuButton)||(o+=`<g style="cursor:pointer;" transform="matrix(1,0,0,1,`+i.nodeCircleMenuButton.x+`,`+i.nodeCircleMenuButton.y+`)" `+h.attr.control_node_circle_menu_id+`="`+t.id+`"><circle cx="0" cy="0" fill="`+i.nodeCircleMenuButton.color+`" r="`+i.nodeCircleMenuButton.radius+`" stroke-width="1" stroke="`+i.nodeCircleMenuButton.stroke+`"></circle><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="-6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="-6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="0" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="0" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line><line x1="-`+i.nodeCircleMenuButton.radius/2+`" y1="6" x2="`+i.nodeCircleMenuButton.radius/2+`" y2="6" stroke-width="2" stroke="`+i.nodeCircleMenuButton.stroke+`"></line></g>`)),o},expandCollapseBtn:function(e,t,n,r,i,a,o){var s=``;if(a!==h.action.exporting&&!t.isSplit){var c=i[t.lcn?t.lcn:`base`],l=h.t(t.templateName,t.min,o);if(t.childrenIds.length>0){if(t.hasPartners){for(var u=!1,d=0;d<t.childrenIds.length;d++){var f=e.getNode(t.childrenIds[d]);f&&!f.parentPartner&&!f.isPartner&&(u=!0)}if(!u)return``}var p=h._getDefailtPositionForExpandCollpase(c,t),m={x:p.x+t.x-l.expandCollapseSize/2,y:p.y+t.y-l.expandCollapseSize/2},g=e.getCollapsedIds(t);g.length?(typeof l.plus==`function`?(s+=h.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.plus(t,n,l,r,p)):(s+=h.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.plus),s+=h.grCloseTag):(typeof l.minus==`function`?(s+=h.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.minus(t,n,l,r,p)):(s+=h.expcollOpenTag.replace(`{id}`,t.id).replace(`{x}`,m.x).replace(`{y}`,m.y),s+=l.minus),s+=h.grCloseTag),(g.length&&typeof l.plus!=`function`||!g.length&&typeof l.minus!=`function`)&&(s.indexOf(`{collapsed-children-count}`)!=-1&&(s=s.replace(`{collapsed-children-count}`,t.collapsedChildCount)),s.indexOf(`{collapsed-children-total-count}`)!=-1&&(s=s.replace(`{collapsed-children-total-count}`,t.deepCollapsedChildCount)),s.indexOf(`{children-count}`)!=-1&&(s=s.replace(`{children-count}`,t.childCount)),s.indexOf(`{children-total-count}`)!=-1&&(s=s.replace(`{children-total-count}`,t.deepChildCount)))}e._nodeHasHiddenParent(t)&&(s+=h.upOpenTag.replace(`{id}`,t.id).replace(`{x}`,t.x).replace(`{y}`,t.y),s+=l.up,s+=h.grCloseTag)}var _={html:s,node:t};return h.events.publish(`renderbuttons`,[e,_]),_.html},link:function(e,t,n,r,i,a,o){var s=e.lcn?e.lcn:`base`,c=t._layoutConfigs[s],l=h.t(e.templateName,e.min,n),u=[],d=[],f=0,p=c.levelSeparation/2;e.layout>0&&(p=c.mixedHierarchyNodesSeparation/2);var m=0,g=h.getRootOf(e).id,_=r[g][e.sl],v=void 0;if(e.hasPartners){v={ids:[],indexes:{},ppnodes:{},lastLeft:null,firstRight:null,maxSidePartnersWithChildren:0,rightIds:[],leftIds:[],partnerChildrenSplitSeparation:t.config.partnerChildrenSplitSeparation};for(var y=0;y<e.children.length;y++){var b=e.children[y];b.parentPartner?(v.ppnodes[b.id]=b.parentPartner,v.ids.push(b.id),b.parentPartner.isPartner==1?(v.rightIds.indexOf(b.parentPartner.id)==-1&&v.rightIds.push(b.parentPartner.id),v.indexes[b.id]=v.rightIds.indexOf(b.parentPartner.id),v.firstRight||=b):b.parentPartner.isPartner==2&&(v.leftIds.indexOf(b.parentPartner.id)==-1&&v.leftIds.push(b.parentPartner.id),v.indexes[b.id]=v.leftIds.indexOf(b.parentPartner.id),v.lastLeft=b)):b.isPartner||(v.lastLeft=b,v.firstRight||=b)}v.maxSidePartnersWithChildren=Math.max(v.leftIds.length,v.rightIds.length),m=v.maxSidePartnersWithChildren==0?t.config.minPartnerSeparation/2:t.config.minPartnerSeparation/2+v.partnerChildrenSplitSeparation*v.maxSidePartnersWithChildren+v.partnerChildrenSplitSeparation/2}for(var y=0;y<e.children.length;y++){var b=e.children[y],x=r[g][b.sl],S={xa:0,ya:0,xb:0,yb:0,xc:0,yc:0,xd:0,yd:0,x:0,y:0,rotate:0};l=h.t(b.templateName,b.min,n);var C=l.link;if(b.isChildOfPartner)switch(c.orientation){case h.orientation.top:case h.orientation.top_left:var w=b.layout==1?void 0:x.minY-(x.minY-_.maxY)/2;S=h.ui._linkTopToBottom(b.parentPartner,b,l,p,w,t);break;case h.orientation.bottom:case h.orientation.bottom_left:var w=b.layout==1?void 0:x.maxY-(x.maxY-_.minY)/2;S=h.ui._linkBottomToTop(b.parentPartner,b,l,p,w,t);break;case h.orientation.right:case h.orientation.right_top:var w=b.layout==1?void 0:x.maxX-(x.maxX-_.minX)/2;S=h.ui._linkRightToLeft(b.parentPartner,b,l,p,w,t);break;case h.orientation.left:case h.orientation.left_top:var w=b.layout==1?void 0:x.minX-(x.minX-_.maxX)/2;S=h.ui._linkLeftToRight(b.parentPartner,b,l,p,w,t);break}else if(v&&v.ids.indexOf(b.id)!=-1)switch(c.orientation){case h.orientation.top:case h.orientation.top_left:S=h.ui._linkPpTop(v,e,b,x,_,l);break;case h.orientation.bottom:case h.orientation.bottom_left:S=h.ui._linkPpBottom(v,e,b,x,_,l);break;case h.orientation.right:case h.orientation.right_top:S=h.ui._linkPpRight(v,e,b,x,_,l);break;case h.orientation.left:case h.orientation.left_top:S=h.ui._linkPpLeft(v,e,b,x,_,l);break}else{var T=b.isAssistant&&b.rightNeighbor&&b.rightNeighbor.isAssistant&&b.parent==b.rightNeighbor.parent,E=b.isAssistant&&b.leftNeighbor&&b.leftNeighbor.isAssistant&&b.parent==b.leftNeighbor.parent;if((T||b.layout>1)&&b.rightNeighbor&&b.rightNeighbor.isSplit)switch(c.orientation){case h.orientation.top:case h.orientation.top_left:S=h.ui._linkRightToLeft(b.rightNeighbor,b,l,p);break;case h.orientation.bottom:case h.orientation.bottom_left:S=h.ui._linkRightToLeft(b.rightNeighbor,b,l,p);break;case h.orientation.right:case h.orientation.right_top:S=h.ui._linkBottomToTop(b.rightNeighbor,b,l,p);break;case h.orientation.left:case h.orientation.left_top:S=h.ui._linkBottomToTop(b.rightNeighbor,b,l,p);break}else if((E||b.layout>1)&&b.leftNeighbor&&b.leftNeighbor.isSplit)switch(c.orientation){case h.orientation.top:case h.orientation.top_left:S=h.ui._linkLeftToRight(b.leftNeighbor,b,l,p,t);break;case h.orientation.bottom:case h.orientation.bottom_left:S=h.ui._linkLeftToRight(b.leftNeighbor,b,l,p,t);break;case h.orientation.right:case h.orientation.right_top:S=h.ui._linkTopToBottom(b.leftNeighbor,b,l,p,t);break;case h.orientation.left:case h.orientation.left_top:S=h.ui._linkTopToBottom(b.leftNeighbor,b,l,p,t);break}else switch(c.orientation){case h.orientation.top:case h.orientation.top_left:if(b.isPartner==1)S=h.ui._linkLeftToRight(e,b,l,m);else if(b.isPartner==2)S=h.ui._linkRightToLeft(e,b,l,m);else{var w=b.layout==1?void 0:x.minY-(x.minY-_.maxY)/2;S=h.ui._linkTopToBottom(e,b,l,p,w,t)}break;case h.orientation.bottom:case h.orientation.bottom_left:if(b.isPartner==1)S=h.ui._linkLeftToRight(e,b,l,m);else if(b.isPartner==2)S=h.ui._linkRightToLeft(e,b,l,m);else{var w=b.layout==1?void 0:x.maxY-(x.maxY-_.minY)/2;S=h.ui._linkBottomToTop(e,b,l,p,w,t)}break;case h.orientation.right:case h.orientation.right_top:if(b.isPartner==1)S=h.ui._linkTopToBottom(e,b,l,m);else if(b.isPartner==2)S=h.ui._linkBottomToTop(e,b,l,m);else{var w=b.layout==1?void 0:x.maxX-(x.maxX-_.minX)/2;S=h.ui._linkRightToLeft(e,b,l,p,w,t)}break;case h.orientation.left:case h.orientation.left_top:if(b.isPartner==1)S=h.ui._linkTopToBottom(e,b,l,m);else if(b.isPartner==2)S=h.ui._linkBottomToTop(e,b,l,m);else{var w=b.layout==1?void 0:x.minX-(x.minX-_.maxX)/2;S=h.ui._linkLeftToRight(e,b,l,p,w,t)}break}}var D,O=h.ui._draggableLinkPath(t,e,b,S,p,c.orientation);if(O)D=O,C=C.replaceAll(`{rounded}`,O).replaceAll(`{edge}`,O).replaceAll(`{curve}`,D);else if(C.indexOf(`{rounded}`)!=-1)if(S.xa==S.xb&&S.xa==S.xc&&S.xa==S.xd||S.ya==S.yb&&S.ya==S.yc&&S.ya==S.yd)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.xa-S.xd)<=h.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xc)<=h.LINK_ROUNDED_CORNERS&&Math.abs(S.xa-S.xb)<=h.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xa+`,`+S.yd,C=C.replaceAll(`{rounded}`,D);else if(Math.abs(S.ya-S.yd)<=h.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yc)<=h.LINK_ROUNDED_CORNERS&&Math.abs(S.ya-S.yb)<=h.LINK_ROUNDED_CORNERS)D=`M`+S.xa+`,`+S.ya+` L`+S.xd+`,`+S.ya,C=C.replaceAll(`{rounded}`,D);else{var k=h.ui._roundedEdge(S.xa,S.ya,S.xb,S.yb,S.xc,S.yc),A=h.ui._roundedEdge(S.xb,S.yb,S.xc,S.yc,S.xd,S.yd);D=`M`+k.x1+`,`+k.y1+` `+k.x2+`,`+k.y2+` Q`+k.qx1+`,`+k.qy1+` `+k.qx2+`,`+k.qy2+` L`+A.x2+`,`+A.y2+` Q`+A.qx1+`,`+A.qy1+` `+A.qx2+`,`+A.qy2+` L`+A.x3+`,`+A.y3,C=C.replaceAll(`{rounded}`,D)}else C.indexOf(`{edge}`)==-1?C.indexOf(`{curve}`)==-1?(D=C.replaceAll(`{xa}`,S.xa).replaceAll(`{ya}`,S.ya).replaceAll(`{xb}`,S.xb).replaceAll(`{yb}`,S.yb).replaceAll(`{xc}`,S.xc).replaceAll(`{yc}`,S.yc).replaceAll(`{xd}`,S.xd).replaceAll(`{yd}`,S.yd),C=D):(D=`M`+S.xa+`,`+S.ya+` C`+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` `+S.xd+`,`+S.yd,C=C.replaceAll(`{curve}`,D)):(D=`M`+S.xa+`,`+S.ya+` `+S.xb+`,`+S.yb+` `+S.xc+`,`+S.yc+` L`+S.xd+`,`+S.yd,C=C.replaceAll(`{edge}`,D));u.push(h.linkOpenTag.replaceAll(`{id}`,e.id).replaceAll(`{class}`,`link `+b.tags.join(` `)).replaceAll(`{child-id}`,b.id));var j={node:e,cnode:b,p:S,html:C,action:a};h.events.publish(`render-link`,[t,j]),u.push(j.html),o&&d.push({id:e.id,childId:b.id,html:j.html});var M=``;for(var N in t.config.linkBinding){var P=t.config.linkBinding[N],F=t._get(b.id);F&&(j.value=F[P],j.element=l[N],j.name=P,h.events.publish(`label`,[t,j])!==!1&&!h.isNEU(j.value)&&!h.isNEU(j.element)&&(M+=j.element.replace(`{val}`,j.value)))}if(M!=``){var I=S.x,L=S.y;b.movey!=null&&(L+=b.movey),M=h.linkFieldsOpenTag.replace(`{x}`,I).replace(`{y}`,L).replace(`{rotate}`,f)+M+h.grCloseTag,u.push(M)}u.push(h.grCloseTag)}return o?d:u.join(``)},svg:function(e,t,n,r,i,a){return h.t(r.template,!1,a).svg.replace(`{w}`,e).replace(`{h}`,t).replace(`{viewBox}`,n).replace(`{randId}`,h.ui._defsIds[r.template]).replace(`{mode}`,r.mode).replace(`{template}`,r.template).replace(`{content}`,function(){return i})},menuButton:function(e){return e.menu==null?``:h.t(e.template,!1).menuButton.replaceAll(`{p}`,e.padding)},_roundedEdge:function(e,t,n,r,i,a){var o=h.LINK_ROUNDED_CORNERS,s,c,l,u=0;return e==n&&e==i||t==r&&t==a?(s=l=n,c=u=r):(e!=i&&n==i&&(s=l=n,c=r,t<a?u=r+o:t>a&&(u=r-o)),e<i&&n==i?n-=o:e>i&&n==i&&(n+=o),t!=a&&r==a&&(s=n,c=u=r,e<i?l=n+o:e>i&&(l=n-o)),t<a&&r==a?r-=o:t>a&&r==a&&(r+=o)),{x1:e,y1:t,x2:n,y2:r,x3:i,y3:a,qx1:s,qy1:c,qx2:l,qy2:u}},_linkTopToBottom:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,g=0,_=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+e.h+n.linkAdjuster.toY,f=u=t.x+t.w/2+n.linkAdjuster.fromX,p=t.y+n.linkAdjuster.fromY,c=o,l=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y+e.rightNeighbor.h+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?s+r:i??p-r,m=u,g=h.isNEU(t.parentPartner)?d+16:d;var v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:g,rotate:_};return a&&h._addConnectorLines(a._connectorLines,v),v},_linkBottomToTop:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,g=0,_=0;o=e.x+e.w/2+n.linkAdjuster.toX,s=e.y+n.linkAdjuster.toY,f=u=t.x+t.w/2+n.linkAdjuster.fromX,p=t.y+t.h+n.linkAdjuster.fromY,c=o,l=d=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.y-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?p:t.templateName==`split`?s-r:i??p+r,m=u,g=d-14;var v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:g,rotate:_};return a&&h._addConnectorLines(a._connectorLines,v),v},_linkRightToLeft:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,g=0,_=0;o=e.x+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,f=t.x+t.w+n.linkAdjuster.fromX,p=d=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=u=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x-r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?f:t.templateName==`split`?o-r:i??f+r,m=u-16,g=d,_=90;var v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:g,rotate:_};return a&&h._addConnectorLines(a._connectorLines,v),v},_linkLeftToRight:function(e,t,n,r,i,a){var o=0,s=0,c=0,l=0,u=0,d=0,f=0,p=0,m=0,g=0,_=0;o=e.x+e.w+n.linkAdjuster.toX,s=e.y+e.h/2+n.linkAdjuster.toY,f=t.x+n.linkAdjuster.fromX,p=d=t.y+t.h/2+n.linkAdjuster.fromY,l=s,c=u=e.rightNeighbor&&e.rightNeighbor.isAssistant&&t.templateName==`split`?e.rightNeighbor.x+e.rightNeighbor.w+r:e.templateName==`split`&&(t.isAssistant||t.layout>1)?f:t.templateName==`split`?o+r:i??f-r,m=u+14,g=d,_=270;var v={xa:o,ya:s,xb:c,yb:l,xc:u,yc:d,xd:f,yd:p,x:m,y:g,rotate:_};return a&&h._addConnectorLines(a._connectorLines,v),v},_linkPpTop:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.minY-(r.minY-i.maxY)/2,l=(r.minY-i.maxY)/e.maxSidePartnersWithChildren/4,u=h.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,h.ui._linkTopToBottom({x:d,y:s,w:0,h:0},n,a,0,c)},_linkPpBottom:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=o.y+o.h/2,c=r.maxY-(r.maxY-i.minY)/2,l=(r.maxY-i.minY)/e.maxSidePartnersWithChildren/4,u=h.ui.__linkPpBottomTop(e,t,n,c,l,o),d=u.x;return c=u.mid,h.ui._linkBottomToTop({x:d,y:s,w:0,h:0},n,a,0,c)},_linkPpLeft:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.minX-(r.minX-i.maxX)/2,c=(r.minX-i.maxX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,u=h.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,h.ui._linkLeftToRight({x:l,y:d,w:0,h:0},n,a,0,s)},_linkPpRight:function(e,t,n,r,i,a){var o=e.ppnodes[n.id],s=r.maxX-(r.maxX-i.minX)/2,c=(r.maxX-i.minX)/e.maxSidePartnersWithChildren/4,l=o.x+o.w/2,u=h.ui.__linkPpLeftRight(e,t,n,s,c,o),d=u.y;return s=u.mid,h.ui._linkRightToLeft({x:l,y:d,w:0,h:0},n,a,0,s)},__linkPpBottomTop:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.x-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.x+e.lastLeft.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.x+a.w+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.x+e.firstRight.w/2?o<n.x+n.w/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.x+n.w/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{x:o,mid:r}},__linkPpLeftRight:function(e,t,n,r,i,a){var o=0;return a.isPartner==1?(o=a.y-t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.rightIds.length-1)*e.partnerChildrenSplitSeparation/2,e.lastLeft&&o<e.lastLeft.y+e.lastLeft.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.rightIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.rightIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i):a.isPartner==2&&(o=a.y+a.h+t.partnerSeparation/2+e.indexes[n.id]*e.partnerChildrenSplitSeparation-(e.leftIds.length-1)*e.partnerChildrenSplitSeparation/2,e.firstRight&&o>e.firstRight.y+e.firstRight.h/2?o<n.y+n.h/2?r-=(e.indexes[n.id]+1)*i:r-=(e.leftIds.length-e.indexes[n.id])*i:o<n.y+n.h/2?r+=(e.leftIds.length-e.indexes[n.id])*i:r+=(e.indexes[n.id]+1)*i),{y:o,mid:r}},_draggableLinkPath:function(e,t,n,r,i,a){if(n.isSubLevel||t.isSubLevel||n.leftNeighbor&&n.leftNeighbor.isSplit||n.rightNeighbor&&n.rightNeighbor.isSplit||n.isPartner||n.isAssistant)return null;if(h._isMoved(n)&&!h._isMoved(t)){var o,s,c=[];switch(a){case h.orientation.top:case h.orientation.top_left:if(r.yb+i/2<r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case h.orientation.bottom:case h.orientation.bottom_left:if(r.yb-i/2>r.yd)return null;o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case h.orientation.right:case h.orientation.right_top:if(r.xb-i/2>r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case h.orientation.left:case h.orientation.left_top:if(r.xb+i/2<r.xd)return null;s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}switch(a){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:var c=[];c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return h.roundPathCorners(c,h.LINK_ROUNDED_CORNERS,!1)}else if(!h._isMoved(n)&&h._isMoved(t)){var o,s,l=!1,c=[];switch(a){case h.orientation.top:case h.orientation.top_left:if(r.ya+i/2>r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i;else if(r.yb+i/2<r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y-i/2;break;case h.orientation.bottom:case h.orientation.bottom_left:if(r.ya-i/2<r.yb)l=!0,o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i;else if(r.yb-i/2>r.yd)return null;else o=r.xa<r.xd?n.x-i/2:n.x+n.w+i/2,s=n.y+n.h+i/2;break;case h.orientation.right:case h.orientation.right_top:if(r.xa-i/2<r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i;else if(r.xb-i/2>r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x+n.w+i/2;break;case h.orientation.left:case h.orientation.left_top:if(r.xa+i/2>r.xb)l=!0,s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i;else if(r.xb+i/2<r.xd)return null;else s=r.ya<r.yd?n.y-i/2:n.y+n.h+i/2,o=n.x-i/2;break}if(l)switch(a){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yc]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,r.xc,s]),c.push([`L`,r.xc,r.yc]),c.push([`L`,r.xd,r.yd]);break}else switch(a){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,o,r.yb]),c.push([`L`,o,s]),c.push([`L`,r.xd,s]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xb,r.yb]),c.push([`L`,r.xb,s]),c.push([`L`,o,s]),c.push([`L`,o,r.yd]),c.push([`L`,r.xd,r.yd]);break}return h.roundPathCorners(c,h.LINK_ROUNDED_CORNERS,!1)}else if(h._isMoved(n)&&h._isMoved(t)){var c=[];switch(a){case h.orientation.top:case h.orientation.top_left:if(r.ya+i>r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y+t.h+i,u=n.y-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,u]),c.push([`L`,r.xc,u]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y+t.h+i]),c.push([`L`,r.xc,t.y+t.h+i]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.bottom:case h.orientation.bottom_left:if(r.ya-i<r.yd){var o=r.xa<r.xd?t.x+t.w+i/2:t.x-i/2,s=t.y-i,u=n.y+n.h+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,s]),c.push([`L`,o,s]),c.push([`L`,o,u]),c.push([`L`,r.xc,u]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,r.xa,t.y-i]),c.push([`L`,r.xc,t.y-i]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.right:case h.orientation.right_top:if(r.xa-i<r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x-i,d=n.x+n.w+i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,d,s]),c.push([`L`,d,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x-i,r.ya]),c.push([`L`,t.x-i,r.yc]),c.push([`L`,r.xd,r.yd]);break;case h.orientation.left:case h.orientation.left_top:if(r.xa+i>r.xd){var s=r.ya<r.yd?t.y+t.h+i/2:t.y-i/2,o=t.x+t.w+i,d=n.x-i;c.push([`M`,r.xa,r.ya]),c.push([`L`,o,r.ya]),c.push([`L`,o,s]),c.push([`L`,d,s]),c.push([`L`,d,r.yc]),c.push([`L`,r.xd,r.yd])}else c.push([`M`,r.xa,r.ya]),c.push([`L`,t.x+t.w+i,r.ya]),c.push([`L`,t.x+t.w+i,r.yc]),c.push([`L`,r.xd,r.yd]);break}return h.roundPathCorners(c,h.LINK_ROUNDED_CORNERS,!1)}return null}},h===void 0&&(h={}),h._validateConfig=function(e){if(!e)console.error(`config is not defined`);else return!0;return!1},h._arrayContains=function(e,t){if(e&&Array.isArray(e)){for(var n=e.length;n--;)if(e[n]===t)return!0}return!1},h._interceptions=function(e,t){if(!e||!t)return[];var n=[];if(Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)e[r]==t[i]&&n.push(e[r]);else if(Array.isArray(e)&&!Array.isArray(t))for(var r in e)for(var i in t)e[r]==i&&n.push(e[r]);else if(!Array.isArray(e)&&Array.isArray(t))for(var r in e)for(var i in t)r==t[i]&&n.push(t[i]);return n},h._getTags=function(e){return e.tags&&!Array.isArray(e.tags)?e.tags.split(`,`):e.tags&&Array.isArray(e.tags)?e.tags:[]},h._centerPointInPercent=function(e,t,n){var r=e.getBoundingClientRect(),i=t-r.left,a=n-r.top;return[i/(r.width/100),a/(r.height/100)]},h._trim=function(e){return e.replace(/^\s+|\s+$/g,``)},h._getTransform=function(e){var t=e.getAttribute(`transform`);return t=t.replace(`matrix`,``).replace(`(`,``).replace(`)`,``),h._browser().msie&&(t=t.replace(/ /g,`,`)),t=h._trim(t),t=`[`+t+`]`,t=JSON.parse(t),t},h.getScale=function(e,t,n,r,i,a,o,s){var c=1;if(!e&&(r===h.match.boundary||r===h.match.boundaryIfOutside)){var l=t/o,u=n/s;c=l>u?u:l,r===h.match.boundaryIfOutside&&c>1&&(c=1)}else if(!e&&r===h.match.width)c=t/o;else if(!e&&r===h.match.height)c=n/s;else if(!e)c=r;else{var l=t/e[2],u=n/e[3];c=l>u?u:l}return c&&c>i&&(c=i),c&&c<a&&(c=a),c},h.isObject=function(e){return e&&typeof e==`object`&&!Array.isArray(e)&&e!==null&&e.constructor&&e.constructor.name.toLowerCase()==`object`},h.fileUploadDialog=function(e){var t=document.createElement(`INPUT`);t.setAttribute(`type`,`file`),t.style.display=`none`,t.onchange=function(){var t=this.files[0];e(t)},document.body.appendChild(t),t.click()},h.mergeDeep=function(e,t){if(h.isObject(e)&&h.isObject(t))for(var n in t)h.isObject(t[n])?(e[n]||Object.assign(e,{[n]:{}}),h.mergeDeep(e[n],t[n])):Object.assign(e,{[n]:t[n]});return e},h._lblIsImg=function(e,t){return!!(e.nodeBinding&&typeof t==`string`&&t.indexOf(`img`)!=-1&&e.nodeBinding[t])},h._getFistImgField=function(e){if(e.nodeBinding){for(var t in e.nodeBinding)if(t.indexOf(`img`)!=-1)return e.nodeBinding[t]}return!1},h._fieldIsImg=function(e,t){if(e.nodeBinding){for(var n in e.nodeBinding)if(e.nodeBinding[n]==t)return h._lblIsImg(e,n)}return!1},h._guid=function(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return e()+e()+`-`+e()+`-`+e()+`-`+e()+`-`+e()+e()+e()},h.htmlRipple=function(e){var t=document.createElement(`style`);t.type=`text/css`,t.innerHTML=` .boc-ripple-container {position: absolute; top: 0; right: 0; bottom: 0; left: 0; } .boc-ripple-container span {transform: scale(0);border-radius:100%;position:absolute;opacity:0.75;background-color:#fff;animation: boc-ripple 1000ms; }@-moz-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-webkit-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@-o-keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}@keyframes boc-ripple {to {opacity: 0;transform: scale(2);}}`,document.head.appendChild(t);var n=function(e,t){var n=void 0;return function(){var r,i=this;return r=arguments,clearTimeout(n),n=setTimeout(function(){return e.apply(i,r)},t)}},r=function(t){var n,r=this,i=document.createElement(`span`),a=r.offsetWidth,o,s,c;return n=r.getBoundingClientRect(),s=t.pageX-n.left-a/2,c=t.pageY-n.top-a/2,o=`top:`+c+`px; left: `+s+`px; height: `+a+`px; width: `+a+`px;`,e.rippleContainer.appendChild(i),i.setAttribute(`style`,o)},i=function(){for(;this.rippleContainer.firstChild;)this.rippleContainer.removeChild(this.rippleContainer.firstChild)},a=document.createElement(`div`);a.className=`boc-ripple-container`,e.addEventListener(`mousedown`,r),e.addEventListener(`mouseup`,n(i,2e3)),e.rippleContainer=a,e.appendChild(a)},h._moveToBoundaryArea=function(e,t,n,r){var i=t.slice(0);t[0]<n.left&&t[0]<n.right&&(i[0]=n.left>n.right?n.right:n.left),t[0]>n.right&&t[0]>n.left&&(i[0]=n.left>n.right?n.left:n.right),t[1]<n.top&&t[1]<n.bottom&&(i[1]=n.top>n.bottom?n.bottom:n.top),t[1]>n.bottom&&t[1]>n.top&&(i[1]=n.top>n.bottom?n.top:n.bottom),t[0]!==i[0]||t[1]!==i[1]?h.animate(e,{viewBox:t},{viewBox:i},300,h.anim.outPow,function(){r&&r()}):r&&r()},h.randomId=function(){return`_`+(`0000`+(Math.random()*36**4|0).toString(36)).slice(-4)},h._getClientXY=function(e){if(e.type.indexOf(`touch`)!=-1){if(e.changedTouches.length)return{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}}else return{x:e.clientX,y:e.clientY}},h._getClientTouchesXY=function(e,t){return e.type.indexOf(`touch`)==-1?{x:e.clientX,y:e.clientY}:e.touches.length<t+1?{x:null,y:null}:{x:e.touches[t].clientX,y:e.touches[t].clientY}},h._getOffset=function(e,t){e&&(t.x+=e.offsetLeft,t.y+=e.offsetTop,h._getOffset(e.offsetParent,t))},h._getTopLeft=function(e){var t={x:0,y:0};return h._getOffset(e,t),t},h._getOffsetXY=function(e,t){if(t.type.indexOf(`touch`)!=-1){if(t.touches.length){var n=h._getTopLeft(e);return{x:t.touches[0].pageX-n.x,y:t.touches[0].pageY-n.y}}else if(t.changedTouches.length){var n=h._getTopLeft(e);return isNaN(n.x)||isNaN(n.y)?{x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY}:{x:t.changedTouches[0].pageX-n.x,y:t.changedTouches[0].pageY-n.y}}}else return{x:t.offsetX,y:t.offsetY}},h._pinchMiddlePointInPercent=function(e,t,n,r){var i=h._getTopLeft(e),a=r.touches[0].pageX-i.x,o=r.touches[0].pageY-i.y,s=r.touches[1].pageX-i.x,c=r.touches[1].pageY-i.y;return[((a-s)/2+s)/(t/100),((o-c)/2+c)/(n/100)]},h._browser=function(){var e=!!window.opr&&!!window.opr.addons||!!window.opera||navigator.userAgent.indexOf(` OPR/`)>=0,t=typeof InstallTrigger<`u`,n=/constructor/i.test(window.HTMLElement)||(function(e){return e.toString()===`[object SafariRemoteNotification]`})(!window.safari||window.safari!==void 0&&safari.pushNotification),r=!!document.documentMode,i=!r&&!!window.StyleMedia,a=!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime);return{opera:e,firefox:t,safari:n,msie:r,edge:i,chrome:a,blink:(a||e)&&!!window.CSS}},h._menuPosition=function(e,t,n){var r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),a=t.getBoundingClientRect(),o=r.left-i.left,s=r.top-i.top;return r.top+a.height>i.top+i.height&&(s-=a.height),r.left-a.width<i.left&&(o+=a.width),{x:o,y:s}},h._getTemplate=function(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++){var i=t[e[r]];if(i&&i.template)return i.template}return n},h._getMin=function(e,t){if(e.tags&&e.tags.length&&t.tags)for(var n=0;n<e.tags.length;n++){var r=t.tags[e.tags[n]];if(r&&r.min===!0)return!0}return t.min},h._getSubLevels=function(e,t){if(e&&e.length)for(var n=0;n<e.length;n++){var r=t[e[n]];if(r&&r.subLevels)return r.subLevels}return 0},h._isHTML=function(e){var t=new DOMParser().parseFromString(e,`text/html`);return Array.from(t.body.childNodes).some(e=>e.nodeType===1)},h._getTestDiv=function(){var e=document.getElementById(`orgchart_js_test_div`);return e||(e=document.createElement(`div`),e.id=`orgchart_js_test_div`,e.style.position=`fixed`,e.style.top=`-10000px`,e.style.left=`-10000px`,document.body.appendChild(e)),e},h._getLabelSize=function(e){var t=h._getTestDiv();return t.innerHTML=`<svg>`+e+`</svg>`,t.querySelector(`text`).getBoundingClientRect()},h.wrapText=function(e,t,n,r){if(n!=null&&r!=null)return h._lineClamp(t,e,n,r);var i=t,a=i.toLowerCase();if(a.indexOf(`<text`)==-1||a.indexOf(h.attr.width)==-1||a.indexOf(`foreignobject`)!=-1||i.indexOf(h.attr.width)==-1||h.ESCAPE_HTML&&typeof str==`string`&&h._isHTML(e))return h._escapeHtml(e);if(!h.ESCAPE_HTML&&h._isHTML(e))return e;var o=h._getTestDiv();i=i.replaceAll(`{cw}`,0),o.innerHTML=`<svg>`+i+`</svg>`;var s=new DOMParser().parseFromString(i,`text/xml`).getElementsByTagName(`text`)[0],c=parseFloat(s.getAttribute(`x`)),l=parseFloat(s.getAttribute(`y`)),u=s.getAttribute(`text-anchor`),n=s.getAttribute(h.attr.width),d=s.getAttribute(h.attr.text_overflow),f=`http://www.w3.org/2000/svg`,p=o.getElementsByTagName(`svg`)[0].getElementsByTagName(`text`)[0],r,m;d||=`ellipsis`;var g=d.split(`-`);if(g.length>1&&(r=parseInt(d.split(`-`)[1]),g.length>2&&g[2]==`ellipsis`&&(m=!0)),!n)return h._escapeHtml(e);if(n=parseFloat(n),c||=0,l||=0,c||(u=`start`),d==`ellipsis`){p.removeChild(p.firstChild),p.textContent=e;for(var _=p.getComputedTextLength(),v=2;_>n;)p.textContent=e.substring(0,e.length-v),p.textContent+=`...`,_=p.getComputedTextLength(),v++;return v>2?`<title>${h._escapeHtml(e)}</title>${p.textContent}`:h._escapeHtml(e)}else if(d.indexOf(`multiline`)!=-1){var y=e.split(` `),b=p.getBBox().height;p.textContent=``;var x=document.createElementNS(f,`tspan`),S=document.createTextNode(y[0]);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l),x.setAttributeNS(null,`text-anchor`,u),x.appendChild(S),p.appendChild(x);for(var v=1,C=1,w=!1,T=1;T<y.length;T++){var E=x.firstChild.data.length;if(x.firstChild.data+=` `+y[T],x.getComputedTextLength()>n){if(x.firstChild.data=x.firstChild.data.slice(0,E),C++,r&&C>r){if(m&&p.children.length==r){var D=p.children[r-1].textContent;p.children[r-1].textContent=D.substring(0,D.length-3)+`...`,w=!0}break}var x=document.createElementNS(f,`tspan`);x.setAttributeNS(null,`x`,c),x.setAttributeNS(null,`y`,l+b*v),x.setAttributeNS(null,`text-anchor`,u),S=document.createTextNode(y[T]),x.appendChild(S),p.appendChild(x),v++}}var O=``;if(p.innerHTML!=null)O=p.innerHTML,p.innerHTML=``;else{for(var k=``,T=p.childNodes.length-1;T>=0;T--)k=XMLSerializer().serializeToString(p.childNodes[T])+k,p.removeChild(p.childNodes[T]);O=k}return w?`<title>${h._escapeHtml(e)}</title>${O}`:O}},h._downloadFile=function(e,t,n,r,i){var a=new Blob([t],{type:e});if(r==1){var o=URL.createObjectURL(a);window.open(o,`_blank`).focus()}else if(navigator.msSaveBlob)navigator.msSaveBlob(a,n);else{var s=document.createElement(`a`);if(s.download!==void 0){var o=URL.createObjectURL(a);s.setAttribute(`href`,o);var c=n;c.toLowerCase().endsWith(i.toLowerCase())||(c=c+`.`+i),s.setAttribute(`download`,c),s.style.visibility=`hidden`,document.body.appendChild(s),s.click(),document.body.removeChild(s)}}},h._getPosition=function(e,t,n,r){var i={x:t.x,y:t.y};if(n!=null&&(i.x=n),r!=null&&(i.y=n),e&&e.length==3){var a=e[0].indexOf(t.id);a!=-1&&e[1][a].transform!=null&&(n??(i.x=e[1][a].transform[4]),r??(i.y=e[1][a].transform[5]))}return i},h._getOpacity=function(e,t){var n=1;if(e&&e.length==3){var r=e[0].indexOf(t.id);r!=-1&&e[1][r].opacity!=null&&(n=e[1][r].opacity)}return n},h.t=function(e,t,n){var r=h.templates[e];r??console.error(`Template "${e}" does not exist!`);var i=null;if(n!=null&&r.scaleLessThen){var a=[];for(var o in r.scaleLessThen){var s=parseFloat(o);n<s&&a.push(s)}if(a.length>0){a.sort(function(e,t){return e-t});var c=r.scaleLessThen[a[0]];for(var l in c)i??=Object.assign({},r),i[l]=c[l]}}return t?i==null?r.min?r.min:r:i.min?i.min:i:i??r},h.setNodeSize=function(e){var t=h.t(e.templateName,e.min);e.w=t&&t.size?t.size[0]:0,e.h=t&&t.size?t.size[1]:0},h._imgs2base64=function(e,t,n,r){var i=e.getElementsByTagName(t),a=i.length;a==0&&r();for(var o=0;o<a;o++)(function(){var e=o,t=i[e];h._getDataUri(t.getAttribute(n),function(i){i.success&&t.setAttribute(n,i.result),e==a-1&&r()})})()},h._getDataUri=function(e,t){if(e.indexOf(`base64`)!=-1)t({success:!1});else{var n=new XMLHttpRequest;n.open(`GET`,e),n.responseType=`blob`,n.onload=function(){n.status===200?r.readAsDataURL(n.response):n.status===404&&t({success:!1,result:n.status})};var r=new FileReader;r.onloadend=function(){t({success:!0,result:r.result})},n.send()}},h._convertStringToArray=function(e,t){return h.ARRAY_FIELDS.indexOf(e)==-1?t:h.isNEU(t)?[]:t.split(`,`)},h._convertArrayToString=function(e){return!h.isNEU(e)&&Array.isArray(e)?e.join():e},h._csvToArray=function(e,t){t||=h.CSV_DELIMITER;for(var n=RegExp(`(\\`+t+`|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\`+t+`\\r\\n]*))`,`gi`),r=[[]],i=null;i=n.exec(e);){var a=i[1];a.length&&a!==t&&r.push([]);var o=i[2]?i[2].replace(RegExp(`""`,`g`),`"`):i[3];r[r.length-1].push(o)}return r},h._json2xml=function(e){for(var t=document.implementation.createDocument(``,``,null),n=t.createElement(`nodes`),r=0;r<e.length;r++){var i=t.createElement(`node`),a=e[r];for(var o in a){var s=a[o];i.setAttribute(o,h._convertArrayToString(s))}n.appendChild(i)}return t.appendChild(n),`<?xml version="1.0" encoding="utf-8" ?>`+new XMLSerializer().serializeToString(t.documentElement)},h._xml2json=function(e){for(var t=new DOMParser().parseFromString(e,`text/xml`).getElementsByTagName(`node`),n=[],r=0;r<t.length;r++){for(var i=t[r],a={},o=0;o<i.attributes.length;o++){var s=i.attributes[o];a[s.name]=h._convertStringToArray(s.name,s.value)}n.push(a)}return n},h.convertNodesToCsv=function(e){return h._json2csv(e)},h._json2csv=function(e){for(var t=[],n=function(e){for(var n=``,r=0;r<t.length;r++){var i=t[r]==`reportsTo`?null:e[t[r]]==null?``:e[t[r]];i instanceof Date&&(i=i.toLocaleString()),i=i===null?``:i.toString();var a=i.replace(/"/g,`""`),o=RegExp(`("|;|
419
+ )`,`g`);a.search(o)>=0&&(a=`"`+a+`"`),r>0&&(n+=h.CSV_DELIMITER),n+=a}return n+`
420
+ `},r=``,i=0;i<e.length;i++)for(var a in e[i])h._arrayContains(t,a)||(t.push(a),r+=a+h.CSV_DELIMITER);r=r.substring(0,r.length-1),r+=`
421
+ `;for(var i=0;i<e.length;i++)r+=n(e[i]);return r=r.substring(0,r.length-1),r},h.accentFold=function(e){return e=e.toString().toLowerCase(),e.replace(/([àáâãäå])|([ç])|([èéêë])|([ìíîï])|([ñ])|([òóôõöø])|([ß])|([ùúûü])|([ÿ])|([æ])/g,function(e,t,n,r,i,a,o,s,c,l,u){if(t)return`a`;if(n)return`c`;if(r)return`e`;if(i)return`i`;if(a)return`n`;if(o)return`o`;if(s)return`s`;if(c)return`u`;if(l)return`y`;if(u)return`ae`})},h.copy=function(e){if(typeof e!=`object`||!e||`isActiveClone`in e)return e;if(e instanceof Date)var t=new e.constructor;else var t=e.constructor();for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e.isActiveClone=null,t[n]=h.copy(e[n]),delete e.isActiveClone);return t},h._getScrollSensitivity=function(){var e=h._browser();return e.msie&&h.scroll.ie?h.scroll.ie:e.edge&&h.scroll.edge?h.scroll.edge:e.safari&&h.scroll.safari?h.scroll.safari:e.chrome&&h.scroll.chrome?h.scroll.chrome:e.firefox&&h.scroll.firefox?h.scroll.firefox:e.opera&&h.scroll.opera?h.scroll.opera:{smooth:h.scroll.smooth,speed:h.scroll.speed}},h.isMobile=function(){let e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e),n=navigator.platform===`MacIntel`&&navigator.maxTouchPoints>1;return t||n},h._isTouchDevice=function(){return navigator.maxTouchPoints>0},h.isTrial=function(){return h.remote!==void 0},h.childrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++)e.nodes[t.childrenIds[r]]&&n++;return n},h.childrenTotalCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&(n++,n+=h.childrenTotalCount(e,i))}return n},h.collapsedChildrenCount=function(e,t){for(var n=0,r=0;r<t.childrenIds.length;r++){var i=e.nodes[t.childrenIds[r]];i&&i.collapsed===!0&&n++}return n},h.collapsedChildrenTotalCount=function(e,t,n){for(var r=0,i=0;i<t.childrenIds.length;i++){var a=e.nodes[t.childrenIds[i]];a&&((n||a.collapsed===!0)&&r++,r+=h.collapsedChildrenTotalCount(e,a,!0))}return r},h._setMinMaxXY=function(e,t,n){n&&e.isTreeListItem||((t.minX==null||e.x!=null&&e.x<t.minX)&&(t.minX=e.x),(t.minY==null||e.y!=null&&e.y<t.minY)&&(t.minY=e.y),(t.maxX==null||e.x!=null&&e.x+e.w>t.maxX)&&(t.maxX=e.x+e.w),(t.maxY==null||e.y!=null&&e.y+e.h>t.maxY)&&(t.maxY=e.y+e.h))},h.getStParentNodes=function(e,t){for(t||=[];e.parent;)e=e.parent;return e.stParent&&(t.push(e.stParent),h.getStParentNodes(e.stParent,t)),t},h.getRootOf=function(e){for(;e&&e.parent;)e=e.parent;return e},h._getViewBox=function(e){var t=null;return e?(t=e.getAttribute(`viewBox`),t=`[`+t+`]`,t=t.replace(/\ /g,`,`),t=JSON.parse(t),t):null},h.isNEU=function(e){return e==null||e===``},h.gradientCircleForDefs=function(e,t,n,r){Array.isArray(t)||(t=[t,t,t,t,t,t]);function i(e,t,n,r){var i=(r-90)*Math.PI/180;return{x:e+n*Math.cos(i),y:t+n*Math.sin(i)}}function a(e,t,n,r,a){var o=i(e,t,n,a),s=i(e,t,n,r),c=a-r<=180?`0`:`1`;return[`M`,o.x,o.y,`A`,n,n,0,c,0,s.x,s.y].join(` `)}return`<linearGradient id="${e}_linearColors1" x1="0" y1="0" x2="1" y2="1">
234
422
  <stop offset="0%" stop-color="${t[0]}"></stop>
235
423
  <stop offset="100%" stop-color="${t[1]}"></stop>
236
424
  </linearGradient>
@@ -261,15 +449,15 @@
261
449
  <path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors4)" d="${a(n,n,n,180,240)}" />
262
450
  <path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors5)" d="${a(n,n,n,240,300)}" />
263
451
  <path stroke-width="${r}" fill="none" stroke="url(#${e}_linearColors6)" d="${a(n,n,n,300,1)}"/>
264
- </g>`},u._intersectionObserver=function(e,t){typeof IntersectionObserver==`function`?new IntersectionObserver(function(e,n){e.forEach(function(e){var n=e.intersectionRatio>0;e.intersectionRatio==0&&(n=e.isIntersecting),t(n)})}).observe(e):t(!0)},u.convertCsvToNodes=function(e){for(var t=u._csvToArray(e),n=t[0],r=[],i=1;i<t.length;i++){for(var a={},o=0;o<t[i].length;o++){var s=n[o],c=t[i][o];a[n[o]]=u._convertStringToArray(s,c)}a.id.trim()!=``&&r.push(a)}return r},u._escapeHtml=function(e){return u.ESCAPE_HTML&&typeof e==`string`?e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#039;`):e},u._escapeDoubleQuotes=function(e){return typeof e==`string`?e.replace(/"/g,`&quot;`):e},u._escapeGreaterLessSign=function(e){return typeof e==`string`?e.replace(/</g,`&lt;`).replace(/>/g,`&gt;`):e},u.roundPathCorners=function(e,t,n){function r(e,t,n){var r=t.x-e.x,a=t.y-e.y,o=Math.sqrt(r*r+a*a);return i(e,t,Math.min(1,n/o))}function i(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function a(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function o(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}Array.isArray(e)||(e=e.split(/[,\s]/).reduce(function(e,t){var n=t.match(`([a-zA-Z])(.+)`);return n?(e.push(n[1]),e.push(n[2])):e.push(t),e},[]),e=e.reduce(function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e},[]));var s=[];if(e.length>1){var c=o(e[0]),l=null;e[e.length-1][0]==`Z`&&e[0].length>2&&(l=[`L`,c.x,c.y],e[e.length-1]=l),s.push(e[0]);for(var u=1;u<e.length;u++){var d=s[s.length-1],f=e[u],p=f==l?e[1]:e[u+1];if(p&&d&&d.length>2&&f[0]==`L`&&p.length>2&&p[0]==`L`){var m=o(d),h=o(f),g=o(p),_,v;n?(_=i(h,d.origPoint||m,t),v=i(h,p.origPoint||g,t)):(_=r(h,m,t),v=r(h,g,t)),a(f,_),f.origPoint=h,s.push(f);var y=i(_,h,.5),b=i(h,v,.5),x=[`C`,y.x,y.y,b.x,b.y,v.x,v.y];x.origPoint=h,s.push(x)}else s.push(f)}if(l){var S=o(s[s.length-1]);s.push([`Z`]),a(s[0],S)}}else s=e;return s.reduce(function(e,t){return e+t.join(` `)+` `},``)},u._isMoved=function(e){return e.movex!=null||e.movey!=null},u._getDynamicGridCoulumns=function(e){for(var t=1;t<e&&(e/t,!(e/t-t<=0));t++);return t%2!=0&&t>2&&t--,t},u._getLazyLoading=function(e){var t=e.lazyLoading;return t==`auto`&&(t=!!(e&&e.nodes&&e.nodes.length>700)),t},u._getSvgAttributes=function(e){let t=/width="([\d.]+)"/,n=/height="([\d.]+)"/,r=/x="([\d.]+)"/,i=/y="([\d.]+)"/,a=/viewBox="([^"]+)"/,o=e.match(t),s=e.match(n),c=e.match(r),l=e.match(i),u=e.match(a),d=o?parseFloat(o[1]):0,f=s?parseFloat(s[1]):0,p=c?parseFloat(c[1]):0,m=l?parseFloat(l[1]):0,h=[0,0,0,0];return u&&(h=u[1],h=JSON.parse(`[${h}]`)),{width:d,height:f,viewBox:h,x:p,y:m}},u._setSvgAttributes=function(e,t){var n=t.x,r=t.y,i=t.width,a=t.height,o=t.viewBox.join(`,`);let s=e.match(/<svg\s+([^>]*?)>/);if(!s)return e;let c=s[0],l=s[1],u=(e,t,n)=>{if(n==null)return e;let r=RegExp(`\\s*${t}="[^"]*"`,`i`),i=` ${t}="${n}"`;return e.match(r)?e.replace(r,i):e+i};l=u(l,`x`,n),l=u(l,`y`,r),l=u(l,`width`,i),l=u(l,`height`,a),l=u(l,`viewBox`,o);let d=`<svg ${l}>`;return e.replace(c,d)},u._convertTextToNodes=function(e,t){let n=e.split(/\r?\n/).filter(e=>e.trim()!==``),r=[],i=1,a=[];for(let e of n){let n=0;for(;e.startsWith(t);)e=e.slice(t.length),n++;if(e=e.trim(),!e)continue;let o=e.match(/^\[([^\]]+)](.*)$/);if(o){let e=o[1].trim(),t=o[2].trim();a.length>0&&(a[a.length-1][e]=t);continue}let s=e.match(/^([^\(]+)\(([^)]+)\)$/),c,l=[];s?(c=s[1].trim(),l=s[2].split(`,`).map(e=>e.trim())):c=e;let u=n===0?null:a[n-1].id,d={id:i++,pid:u,name:c,tags:l};a[n]=d,a.length=n+1,r.push(d)}return r},u._convertFromNodesToText=function(e,t){let n={},r=[];e.forEach(e=>{n[e.id]={...e,children:[]}}),e.forEach(e=>{e.pid&&n[e.pid]?n[e.pid].children.push(n[e.id]):r.push(n[e.id])});function i(e,n){let r=t.repeat(n),a=r+e.name;Array.isArray(e.tags)&&e.tags.length>0&&(a+=`(`+e.tags.join(`,`)+`)`),a+=`
452
+ </g>`},h._intersectionObserver=function(e,t){typeof IntersectionObserver==`function`?new IntersectionObserver(function(e,n){e.forEach(function(e){var n=e.intersectionRatio>0;e.intersectionRatio==0&&(n=e.isIntersecting),t(n)})}).observe(e):t(!0)},h.convertCsvToNodes=function(e){for(var t=h._csvToArray(e),n=t[0],r=[],i=1;i<t.length;i++){for(var a={},o=0;o<t[i].length;o++){var s=n[o],c=t[i][o];a[n[o]]=h._convertStringToArray(s,c)}a.id.trim()!=``&&r.push(a)}return r},h._escapeHtml=function(e){return h.ESCAPE_HTML&&typeof e==`string`?e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#039;`):e},h._escapeDoubleQuotes=function(e){return typeof e==`string`?e.replace(/"/g,`&quot;`):e},h._escapeGreaterLessSign=function(e){return typeof e==`string`?e.replace(/</g,`&lt;`).replace(/>/g,`&gt;`):e},h.roundPathCorners=function(e,t,n){function r(e,t,n){var r=t.x-e.x,a=t.y-e.y,o=Math.sqrt(r*r+a*a);return i(e,t,Math.min(1,n/o))}function i(e,t,n){return{x:e.x+(t.x-e.x)*n,y:e.y+(t.y-e.y)*n}}function a(e,t){e.length>2&&(e[e.length-2]=t.x,e[e.length-1]=t.y)}function o(e){return{x:parseFloat(e[e.length-2]),y:parseFloat(e[e.length-1])}}Array.isArray(e)||(e=e.split(/[,\s]/).reduce(function(e,t){var n=t.match(`([a-zA-Z])(.+)`);return n?(e.push(n[1]),e.push(n[2])):e.push(t),e},[]),e=e.reduce(function(e,t){return parseFloat(t)==t&&e.length?e[e.length-1].push(t):e.push([t]),e},[]));var s=[];if(e.length>1){var c=o(e[0]),l=null;e[e.length-1][0]==`Z`&&e[0].length>2&&(l=[`L`,c.x,c.y],e[e.length-1]=l),s.push(e[0]);for(var u=1;u<e.length;u++){var d=s[s.length-1],f=e[u],p=f==l?e[1]:e[u+1];if(p&&d&&d.length>2&&f[0]==`L`&&p.length>2&&p[0]==`L`){var m=o(d),h=o(f),g=o(p),_,v;n?(_=i(h,d.origPoint||m,t),v=i(h,p.origPoint||g,t)):(_=r(h,m,t),v=r(h,g,t)),a(f,_),f.origPoint=h,s.push(f);var y=i(_,h,.5),b=i(h,v,.5),x=[`C`,y.x,y.y,b.x,b.y,v.x,v.y];x.origPoint=h,s.push(x)}else s.push(f)}if(l){var S=o(s[s.length-1]);s.push([`Z`]),a(s[0],S)}}else s=e;return s.reduce(function(e,t){return e+t.join(` `)+` `},``)},h._isMoved=function(e){return e.movex!=null||e.movey!=null},h._getDynamicGridCoulumns=function(e){for(var t=1;t<e&&(e/t,!(e/t-t<=0));t++);return t%2!=0&&t>2&&t--,t},h._getLazyLoading=function(e){var t=e.lazyLoading;return t==`auto`&&(t=!!(e&&e.nodes&&e.nodes.length>700)),t},h._getSvgAttributes=function(e){let t=/width="([\d.]+)"/,n=/height="([\d.]+)"/,r=/x="([\d.]+)"/,i=/y="([\d.]+)"/,a=/viewBox="([^"]+)"/,o=e.match(t),s=e.match(n),c=e.match(r),l=e.match(i),u=e.match(a),d=o?parseFloat(o[1]):0,f=s?parseFloat(s[1]):0,p=c?parseFloat(c[1]):0,m=l?parseFloat(l[1]):0,h=[0,0,0,0];return u&&(h=u[1],h=JSON.parse(`[${h}]`)),{width:d,height:f,viewBox:h,x:p,y:m}},h._setSvgAttributes=function(e,t){var n=t.x,r=t.y,i=t.width,a=t.height,o=t.viewBox.join(`,`);let s=e.match(/<svg\s+([^>]*?)>/);if(!s)return e;let c=s[0],l=s[1],u=(e,t,n)=>{if(n==null)return e;let r=RegExp(`\\s*${t}="[^"]*"`,`i`),i=` ${t}="${n}"`;return e.match(r)?e.replace(r,i):e+i};l=u(l,`x`,n),l=u(l,`y`,r),l=u(l,`width`,i),l=u(l,`height`,a),l=u(l,`viewBox`,o);let d=`<svg ${l}>`;return e.replace(c,d)},h._convertTextToNodes=function(e,t){let n=e.split(/\r?\n/).filter(e=>e.trim()!==``),r=[],i=1,a=[];for(let e of n){let n=0;for(;e.startsWith(t);)e=e.slice(t.length),n++;if(e=e.trim(),!e)continue;let o=e.match(/^\[([^\]]+)](.*)$/);if(o){let e=o[1].trim(),t=o[2].trim();a.length>0&&(a[a.length-1][e]=t);continue}let s=e.match(/^([^\(]+)\(([^)]+)\)$/),c,l=[];s?(c=s[1].trim(),l=s[2].split(`,`).map(e=>e.trim())):c=e;let u=n===0?null:a[n-1].id,d={id:i++,pid:u,name:c,tags:l};a[n]=d,a.length=n+1,r.push(d)}return r},h._convertFromNodesToText=function(e,t){let n={},r=[];e.forEach(e=>{n[e.id]={...e,children:[]}}),e.forEach(e=>{e.pid&&n[e.pid]?n[e.pid].children.push(n[e.id]):r.push(n[e.id])});function i(e,n){let r=t.repeat(n),a=r+e.name;Array.isArray(e.tags)&&e.tags.length>0&&(a+=`(`+e.tags.join(`,`)+`)`),a+=`
265
453
  `;for(let t of Object.keys(e))[`id`,`pid`,`name`,`children`,`tags`].includes(t)||(a+=r+`[`+t+`]`+e[t]+`
266
- `);for(let t of e.children)a+=i(t,n+1);return a}return r.map(e=>i(e,0)).join(``).trim()},u._onClickHandler=function(e,t,n,r,i){var a;if(n===void 0)if(t===`add`){var o={id:e.generateId(),pid:r};e.addNode(o,null,!0)}else if(t===`edit`){var s=e.getNode(r);e.editUI.show(s.id)}else if(t===`details`){var s=e.getNode(r);e.editUI.show(s.id,!0)}else if(t===`remove`)e.removeNode(r,null,!0);else if(t===`svg_export`||t===`svg`){var c={};u.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToSVG(c)}else if(t===`pdf_export`||t===`pdf`){var c={};u.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPDF(c)}else if(t===`png_export`||t===`png`){var c={};u.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPNG(c)}else if(t===`visio_export`||t===`visio`)e.exportToVisio({nodeId:r});else if(t===`pp_export`||t===`powerpoint`)e.exportToPowerPoint();else if(t===`pp_preview`||t===`pppreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.powerPointPreviewUI.show(c)}else if(t===`pdf_preview`||t===`pdfpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pdfPreviewUI.show(c)}else if(t===`svg_preview`||t===`svgpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.svgPreviewUI.show(c)}else if(t===`png_preview`||t===`pngpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pngPreviewUI.show(c)}else t===`csv_export`||t===`csv`?e.exportToCSV({nodeId:r}):t===`xml_export`||t===`xml`?e.exportToXML({nodeId:r}):t===`json_export`||t===`json`?e.exportToJSON({nodeId:r}):t===`fit`?e.fit():t===`expand_all`?e.expand(null,`all`):t===`full_screen`?e.toggleFullScreen():t===`zoom_in`?e.zoom(!0,null,!0):t===`zoom_out`||t===`zoom_out`?e.zoom(!1,null,!0):t===`layout_mixed`?e.setLayout(u.layout.mixed):t===`layout_normal`?e.setLayout(u.layout.normal):t===`layout_right_offset`?e.setLayout(u.layout.treeRightOffset):t===`layout_left_offset`?e.setLayout(u.layout.treeLeftOffset):t===`layout_tree`?e.setLayout(u.layout.tree):t===`layout_grid`&&e.setLayout(u.layout.grid);else a=n.call(e,r,i);return a},u._isSVG=function(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t.startsWith(`<svg`)||!t.endsWith(`</svg>`))return!1;try{let e=new DOMParser().parseFromString(t,`image/svg+xml`);return e.querySelector(`parsererror`)?!1:e.documentElement.nodeName.toLowerCase()===`svg`}catch{return!1}},u._treeListAdjustToSTNodePostition=function(e,t){for(var n of e)n.y+=t.y+t.padding[0],n.x+=t.x+t.padding[3],u._treeListAdjustToSTNodePostition(n.children,t)},u._treeListSetProps=function(e,t){var n=-e.treeList.scrollTop,r={nodesByLevels:[],lastNode:null,y:0};e.treeList.pinnedIds=[],u._treeListIterate(e.stChildren,r,-1);var i=r.lastNode.y+r.lastNode.h-0-(e.treeList.maxHeight-e.padding[0]-e.padding[2]);n>0||i<0?n=0:n!=0&&n*-1>i&&(n=-i);for(var a=r.nodesByLevels.length-1;a>=0;a--)for(var o=r.nodesByLevels[a],s=o.length-1;s>=0;s--){for(var c=o[s],l=c.y,d=0,f=c.parent;f&&(d+=f.h,f.parent);)f=f.parent;if(c.children.length&&c.y+n<=d){l=-n+d;var p=o[s+1];if(p&&p.y<l+c.h&&(l=p.y-c.h),f){var m=e.stChildren.indexOf(f);if(e.stChildren.length>m+1){var h=e.stChildren[m+1];h.y<l+c.h&&(l=h.y-c.h)}}}c.y!=l&&e.treeList.pinnedIds.push(c.id),c.y=l,c.x=0}if(t==u.orientation.bottom){var g=r.lastNode.y+r.lastNode.h;for(var a of r.nodesByLevels)for(var c of a)c.y=g-c.y-c.h}e.treeList.scrollTop=-n,e.treeList.scrollTopMax=i},u._treeListIterate=function(e,t,n){n++;for(var r of e)r.y=t.y,t.y+=r.h,t.nodesByLevels[n]||(t.nodesByLevels[n]=[]),t.nodesByLevels[n].push(r),t.lastNode=r,u._treeListIterate(r.children,t,n)},u._treeListGetTumbPositionFromScrollTop=function(e){var t=e.h-e.padding[0]-e.padding[2],n=t/((e.treeList.scrollTopMax+t)/100),r=t/100*n,i=t-r,a=-e.treeList.scrollTop/(e.treeList.scrollTopMax/100),o=e.y+e.padding[0]+i/-100*a,s=`initial`;return(isNaN(r)||isNaN(o)||r<0||n>100)&&(s=`none`,r=0,o=0),{thumbHeight:r,thumbPosition:o,scrollBarDisplay:s}},u._treeListGetScrollTopFromTumbPosition=function(e,t,n){var r=e.h-e.padding[0]-e.padding[2]-t,i=(n-(e.y+e.padding[0]))/r*100/100*e.treeList.scrollTopMax;return(isNaN(i)||i<0)&&(i=0),i>e.treeList.scrollTopMax&&(i=e.treeList.scrollTopMax),i},u._getCenterNodeFromParams=function(e,t){var n=e[t.id];if(n){if(n.isTreeListItem){for(;!n.stParent;)n=n.parent;n=n.stParent}return n}return null},u._getScrollTopForNode=function(e,t){var n={nodesByLevels:[],lastNode:null,y:0};u._treeListIterate(e.stChildren,n,-1);var r=null;for(var i of n.nodesByLevels){for(var a of i)if(a.id==t){r=a;break}if(r)break}if(!r)return e.treeList.scrollTop;for(var o=0,s=r.parent;s&&(o+=s.h,s.parent);)s=s.parent;var c=e.padding[0],l=e.padding[2],d=e.treeList.maxHeight-c-l,f=n.lastNode.y+n.lastNode.h-d;f<0&&(f=0);var p=e.treeList.scrollTop,m=r.y-o,h=r.y+r.h-d,g=p;return r.y<p+o?g=m:r.y+r.h>p+d&&(g=r.h>d-o?m:h),g<0?g=0:g>f&&(g=f),g},u._getDefailtPositionForExpandCollpase=function(e,t){var n={x:0,y:0};switch(e.orientation){case u.orientation.top:case u.orientation.top_left:n.x=t.w/2,n.y=t.h;break;case u.orientation.bottom:case u.orientation.bottom_left:n.x=t.w/2,n.y=0;break;case u.orientation.right:case u.orientation.right_top:n.x=0,n.y=t.h/2;break;case u.orientation.left:case u.orientation.left_top:n.x=t.w,n.y=t.h/2;break}return n},u._measureCache={svg:null,text:null},u._getMeasureElement=function(){if(u._measureCache.svg)return u._measureCache.text;let e=`http://www.w3.org/2000/svg`;return u._measureCache.svg=document.createElementNS(e,`svg`),u._measureCache.svg.id=`orgchart_js_test__measure`,u._measureCache.svg.style.cssText=`position:absolute;top:-9999px;visibility:hidden;white-space:pre;`,u._measureCache.text=document.createElementNS(e,`text`),u._measureCache.svg.appendChild(u._measureCache.text),document.body.appendChild(u._measureCache.svg),u._measureCache.text},u._lineClamp=function(e,t,n,r){if(t===void 0||t==null)return``;typeof t!=`string`&&(t=t.toString()),t=u._escapeHtml(t);let i=/(\w+(?:-\w+)?)="([^"]*)"/g,a={},o;for(;(o=i.exec(e))!==null;)a[o[1]]=o[2];let s=u._getMeasureElement();s.textContent=``;for(let[e,t]of Object.entries(a))e!==`x`&&e!==`y`&&s.setAttribute(e,t);let c=e=>(s.textContent=e,s.getComputedTextLength()),l=t.split(` `),d=[],f=``,p=0;for(;p<l.length&&d.length<r;){let e=l[p],t=f?f+` `+e:e;if(c(t)<=n)f=t,p++;else if(f===``){let t=0,r=e.length,i=1;for(;t<=r;){let a=t+r>>1;c(e.slice(0,a))<=n?(i=a,t=a+1):r=a-1}d.push(e.slice(0,i)),l[p]=e.slice(i)}else d.push(f),f=``}f&&d.length<r&&d.push(f);let m=p<l.length||p===l.length&&l[p-1]===``&&t.endsWith(` `);if(m&&d.length>0){let e=d[d.length-1],t=0,r=e.length,i=``;for(;t<=r;){let a=Math.floor((t+r)/2),o=e.substring(0,a)+`...`;c(o)<=n?(i=o,t=a+1):r=a-1}d[d.length-1]=i}let h=` x="${a.x||`0`}"`,g=d.length===1?d[0]:d.map((e,t)=>`<tspan${h} dy="${t===0?0:`1.2em`}">${e}</tspan>`).join(``);return`<text${Object.entries(a).map(([e,t])=>` ${e}="${t}"`).join(``)}>${m?`<title>${t}</title>`:``}${g}</text>`},u._getScrollableTreeListNodeInTouchEnabledDevice=function(e){if(!e||!e.isTreeListItem||!u._isTouchDevice())return null;var t=u.getRootOf(e).stParent,{thumbHeight:n,thumbPosition:r,scrollBarDisplay:i}=u._treeListGetTumbPositionFromScrollTop(t);return i==`none`?null:t},u._convertImagesToBase64=async function(e){let t=new DOMParser;return await Promise.all(e.map(async e=>{let n=t.parseFromString(e,`image/svg+xml`),r=n.querySelectorAll(`image`);for(let e of r){let t=e.getAttribute(`href`)||e.getAttribute(`xlink:href`);if(t&&!t.startsWith(`data:`))try{let n=parseFloat(e.getAttribute(`width`))||0,r=parseFloat(e.getAttribute(`height`))||0;if(n>0&&r>0){let i=await u._resizeAndConvert(t,n,r);e.setAttribute(`href`,i),e.removeAttributeNS(`http://www.w3.org/1999/xlink`,`href`)}}catch(e){console.error(`Failed to process image:`,t,e)}}return new XMLSerializer().serializeToString(n)}))},u._resizeAndConvert=function(e,t,n){return new Promise((r,i)=>{let a=new Image;a.crossOrigin=`anonymous`,a.onload=()=>{let e=document.createElement(`canvas`),i=e.getContext(`2d`),o=Math.min(t/a.width,n/a.height),s=a.width*o,c=a.height*o;e.width=s,e.height=c,i.drawImage(a,0,0,s,c),r(e.toDataURL(`image/png`))},a.onerror=i,a.src=e})},u.prototype.zoom=function(e,t,n,r){var i=this.getViewBox().slice(0),a=i,o=i[2],s=i[3];e===!0?(i[2]/=u.SCALE_FACTOR,i[3]/=u.SCALE_FACTOR):e===!1?(i[2]*=u.SCALE_FACTOR,i[3]*=u.SCALE_FACTOR):(i[2]/=e,i[3]/=e),t||=[50,50],i[0]=a[0]-(i[2]-o)/(100/t[0]),i[1]=a[1]-(i[3]-s)/(100/t[1]);var c=this.getScale(i);if(i[2]=this.width()/c,i[3]=this.height()/c,e===!0&&c<this.config.scaleMax||e===!1&&c>this.config.scaleMin||e!=0&&e!=1&&c<this.config.scaleMax&&c>this.config.scaleMin){this._hideBeforeAnimation();var l=this;n?(clearTimeout(l._timeout),u.animate(this.getSvg(),{viewbox:this.getViewBox()},{viewbox:i},this.config.anim.duration,this.config.anim.func,function(){clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,u.action.zoom,null,r)},500)})):(this.setViewBox(i),clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,u.action.zoom,null,r)},500))}},u._ai=function(e){this.instance=e,this.sessionId=null},u._ai.prototype.prompt=function(e,t){var n=this;e=e.trim(),e&&(this.sessionId?n._prompt([{Role:`user`,Text:e}],t):this.setContext(function(){n._prompt([{Role:`user`,Text:e}],t)}))},u._ai.prototype._prompt=function(e,t){var n=this,r=[];for(var i of u.AI_SYSTEM_MESSAGES)r.push({Role:`system`,Text:i});var a=this.instance.config.serverUrl+`/OrgChartJSAI/Prompt?client_messages=${encodeURIComponent(JSON.stringify(e))}&system_messages=${encodeURIComponent(JSON.stringify(r))}&sessionId=${this.sessionId}`;let o=new EventSource(a);o.onmessage=function(e){var r=JSON.parse(e.data),i=``;r.kind==`end`&&o.close(),r.kind==`text`&&(i+=r.text,t&&t(r.text)),r.kind==`assistant-message-with-tools`?n.toolCalls(r.message,t):r.kind==`error`&&console.error(r.text)},o.onerror=function(e){console.error(e),o.close()}},u._ai.prototype.setContext=function(e){if(this.instance&&this.instance.config.enableAI&&this.instance.aiUI.canSetContext){this.sessionId=this.instance._event_id;var t=this.instance.config.serverUrl+`/OrgChartJSAI/SetContext`,n=this.instance.config.aiChatTools.slice();for(var r of n)r.functionParameters??=null,r.functionParameters=JSON.stringify(r.functionParameters);fetch(t,{method:`post`,headers:{"Content-Type":`application/json`,"x-request-type":`ajax`},body:JSON.stringify({context:this.instance.config.nodes,sessionId:this.sessionId,chatTools:n})}).then(function(){e&&e()}).catch(function(e){console.error(e)})}},u._ai.prototype.toolCalls=function(e,t){var n=this,r={toolCalls:e.ToolCalls};u.events.publish(`ai-tool-calls`,[this.instance,r]);var i=[],a=[],o=[],s=[],c=[],l=null,d=null,f=null,p=null,m=null;for(var h of r.toolCalls)h.FunctionResult??(h.FunctionName==`removeNode`?i.push(h):h.FunctionName==`addNode`?a.push(h):h.FunctionName==`updateNode`?o.push(h):h.FunctionName==`select`?s.push(h):h.FunctionName==`deselect`?c.push(h):h.FunctionName==`exportToPDF`?l=h:h.FunctionName==`changeTemplate`?d=h:h.FunctionName==`addSlink`?f=h:h.FunctionName==`removeSlink`?p=h:h.FunctionName==`fit`&&(m=h));var g=!1;if(d&&(g=!0,h.FunctionResult=`ok`,this.instance.config.template=h.FunctionArguments.templateName),f){var _=this.instance.getNode(h.FunctionArguments.employeeId1),v=this.instance.getNode(h.FunctionArguments.employeeId2);!_||!v||_==v?h.FunctionResult=`Cannot add link between ${h.FunctionArguments.employeeId1} and ${h.FunctionArguments.employeeId2}`:(g=!0,this.instance.addSlink(_.id,v.id),h.FunctionResult=`ok`)}if(p){var _=this.instance.getNode(h.FunctionArguments.employeeId1),v=this.instance.getNode(h.FunctionArguments.employeeId2);!_||!v||_==v?h.FunctionResult=`Cannot remove link between ${h.FunctionArguments.employeeId1} and ${h.FunctionArguments.employeeId2}`:(g=!0,this.instance.removeSlink(_.id,v.id),h.FunctionResult=`ok`)}m&&(this.instance.fit(),g=!1);for(var h of i)g=!0,h.FunctionResult=`ok`,this.instance.remove(h.FunctionArguments.id);for(var h of a){g=!0,h.FunctionResult=`ok`;var y=JSON.parse(JSON.stringify(h.FunctionArguments));y.isAssistant&&(y.tags=[`assistant`]),delete y.isAssistant,u.isNEU(y.id)&&(y.id=this.instance.generateId()),this.instance.add(y)}for(var h of o){g=!0,h.FunctionResult=`ok`;var y=this.instance.get(h.FunctionArguments.id);for(var b in h.FunctionArguments)b!=`id`&&h.FunctionArguments[b]!=null&&(y[b]=h.FunctionArguments[b]);this.instance.update(y)}for(var h of s){h.FunctionResult=`ok`;for(var x of h.FunctionArguments.ids){var S=h.FunctionArguments.color;S||=`#FFCA28`;var C=this.instance.getNodeElement(x).firstChild;C&&(C.style.stroke=h.FunctionArguments.color,C.style.strokeWidth=5)}}var w=function(){for(var e of c)if(e.FunctionResult=`ok`,e.FunctionArguments.ids)for(var t of e.FunctionArguments.ids){var r=n.instance.getNodeElement(t).firstChild;r&&(r.style.stroke=`#aeaeae`,r.style.strokeWidth=1)}else g=!0};g?(this.setContext(),this.instance.draw(u.action.update,void 0,w)):w();var T=function(){var e=[];for(var i of r.toolCalls)e.push({Role:`tool`,Text:i.FunctionResult,Id:i.Id});n._prompt(e,t)};l?this.chartInstance.exportToPDF({},function(){h.FunctionResult=`ok`,u._downloadFile(`application/pdf`,response,`OrgChart.pdf`,!1,`pdf`),T()}):T()},u.aiUI=function(){this.instance=null,this.interval=null,this.canSetContext=!1,this.element=null,this.inputElement=null,this.btnSendElement=null,this.messagesElement=null,Object.defineProperty(this,`width`,{get(){return this.isVisible()?this.element.offsetWidth:0}})},u.aiUI.title=`AI for OrgChart JS`,u.aiUI.prototype.init=function(e){this.instance=e;var t=this,n=this.instance.element.querySelector(`[data-boc-ai-button]`);n&&n.addEventListener(`click`,function(e){t.show()})},u.aiUI.prototype.isVisible=function(){return!(!this.element||this.element.style.display==`none`)},u.aiUI.prototype.show=function(e,t){this.instance.pdfPreviewUI.hide(),this.instance.svgPreviewUI.hide(),this.instance.pngPreviewUI.hide(),this.instance.powerPointPreviewUI.hide(),this.instance.aiUI.hide(),this.instance.orgScribeUI.hide(),this._create(),this.element.style.display=``,this.canSetContext||(this.canSetContext=!0,this.instance._ai.setContext());var n=this;t||(this.timeout&&clearInterval(this.interval),this.interval=u.animate(this.element,{opacity:0},{opacity:1},300,u.anim.outSin,function(){e||n.inputElement.focus()}))},u.aiUI.prototype._create=function(){if(!this.element){var e=this,t=`inp_`+this.instance.generateId();this.element=document.createElement(`div`),this.element.setAttribute(`data-boc-ai-form`,``),this.element.style.opacity=0,this.element.classList.add(`boc-ai-form`),this.element.classList.add(this.instance.config.mode),this.element.innerHTML=`<div class="boc-ai-container">
267
- <div data-boc-ai-close class="boc-ai-close">${u.icon.x(20,20,`#aeaeae`)}</div>
454
+ `);for(let t of e.children)a+=i(t,n+1);return a}return r.map(e=>i(e,0)).join(``).trim()},h._onClickHandler=function(e,t,n,r,i){var a;if(n===void 0)if(t===`add`){var o={id:e.generateId(),pid:r};e.addNode(o,null,!0)}else if(t===`edit`){var s=e.getNode(r);e.editUI.show(s.id)}else if(t===`details`){var s=e.getNode(r);e.editUI.show(s.id,!0)}else if(t===`remove`)e.removeNode(r,null,!0);else if(t===`svg_export`||t===`svg`){var c={};h.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToSVG(c)}else if(t===`pdf_export`||t===`pdf`){var c={};h.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPDF(c)}else if(t===`png_export`||t===`png`){var c={};h.isNEU(r)||(c.pages=[{nodeId:r}]),e.exportToPNG(c)}else if(t===`visio_export`||t===`visio`)e.exportToVisio({nodeId:r});else if(t===`pp_export`||t===`powerpoint`)e.exportToPowerPoint();else if(t===`pp_preview`||t===`pppreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.powerPointPreviewUI.show(c)}else if(t===`pdf_preview`||t===`pdfpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pdfPreviewUI.show(c)}else if(t===`svg_preview`||t===`svgpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.svgPreviewUI.show(c)}else if(t===`png_preview`||t===`pngpreview`){var c={parentLevels:0,childLevels:1,expandChildren:!1,pages:[{parentLevels:null,childLevels:null,expandChildren:!0,nodeId:e.roots[0].id}]};r!=null&&(c.expandChildren=!1,c.pages[0].nodeId=r),e.pngPreviewUI.show(c)}else t===`csv_export`||t===`csv`?e.exportToCSV({nodeId:r}):t===`xml_export`||t===`xml`?e.exportToXML({nodeId:r}):t===`json_export`||t===`json`?e.exportToJSON({nodeId:r}):t===`fit`?e.fit():t===`expand_all`?e.expand(null,`all`):t===`full_screen`?e.toggleFullScreen():t===`zoom_in`?e.zoom(!0,null,!0):t===`zoom_out`||t===`zoom_out`?e.zoom(!1,null,!0):t===`layout_mixed`?e.setLayout(h.layout.mixed):t===`layout_normal`?e.setLayout(h.layout.normal):t===`layout_right_offset`?e.setLayout(h.layout.treeRightOffset):t===`layout_left_offset`?e.setLayout(h.layout.treeLeftOffset):t===`layout_tree`?e.setLayout(h.layout.tree):t===`layout_grid`&&e.setLayout(h.layout.grid);else a=n.call(e,r,i);return a},h._isSVG=function(e){if(typeof e!=`string`)return!1;let t=e.trim();if(!t.startsWith(`<svg`)||!t.endsWith(`</svg>`))return!1;try{let e=new DOMParser().parseFromString(t,`image/svg+xml`);return e.querySelector(`parsererror`)?!1:e.documentElement.nodeName.toLowerCase()===`svg`}catch{return!1}},h._treeListAdjustToSTNodePostition=function(e,t){for(var n of e)n.y+=t.y+t.padding[0],n.x+=t.x+t.padding[3],h._treeListAdjustToSTNodePostition(n.children,t)},h._treeListSetProps=function(e,t){var n=-e.treeList.scrollTop,r={nodesByLevels:[],lastNode:null,y:0};e.treeList.pinnedIds=[],h._treeListIterate(e.stChildren,r,-1);var i=r.lastNode.y+r.lastNode.h-0-(e.treeList.maxHeight-e.padding[0]-e.padding[2]);n>0||i<0?n=0:n!=0&&n*-1>i&&(n=-i);for(var a=r.nodesByLevels.length-1;a>=0;a--)for(var o=r.nodesByLevels[a],s=o.length-1;s>=0;s--){for(var c=o[s],l=c.y,u=0,d=c.parent;d&&(u+=d.h,d.parent);)d=d.parent;if(c.children.length&&c.y+n<=u){l=-n+u;var f=o[s+1];if(f&&f.y<l+c.h&&(l=f.y-c.h),d){var p=e.stChildren.indexOf(d);if(e.stChildren.length>p+1){var m=e.stChildren[p+1];m.y<l+c.h&&(l=m.y-c.h)}}}c.y!=l&&e.treeList.pinnedIds.push(c.id),c.y=l,c.x=0}if(t==h.orientation.bottom){var g=r.lastNode.y+r.lastNode.h;for(var a of r.nodesByLevels)for(var c of a)c.y=g-c.y-c.h}e.treeList.scrollTop=-n,e.treeList.scrollTopMax=i},h._treeListIterate=function(e,t,n){n++;for(var r of e)r.y=t.y,t.y+=r.h,t.nodesByLevels[n]||(t.nodesByLevels[n]=[]),t.nodesByLevels[n].push(r),t.lastNode=r,h._treeListIterate(r.children,t,n)},h._treeListGetTumbPositionFromScrollTop=function(e){var t=e.h-e.padding[0]-e.padding[2],n=t/((e.treeList.scrollTopMax+t)/100),r=t/100*n,i=t-r,a=-e.treeList.scrollTop/(e.treeList.scrollTopMax/100),o=e.y+e.padding[0]+i/-100*a,s=`initial`;return(isNaN(r)||isNaN(o)||r<0||n>100)&&(s=`none`,r=0,o=0),{thumbHeight:r,thumbPosition:o,scrollBarDisplay:s}},h._treeListGetScrollTopFromTumbPosition=function(e,t,n){var r=e.h-e.padding[0]-e.padding[2]-t,i=(n-(e.y+e.padding[0]))/r*100/100*e.treeList.scrollTopMax;return(isNaN(i)||i<0)&&(i=0),i>e.treeList.scrollTopMax&&(i=e.treeList.scrollTopMax),i},h._getCenterNodeFromParams=function(e,t){var n=e[t.id];if(n){if(n.isTreeListItem){for(;!n.stParent;)n=n.parent;n=n.stParent}return n}return null},h._getScrollTopForNode=function(e,t){var n={nodesByLevels:[],lastNode:null,y:0};h._treeListIterate(e.stChildren,n,-1);var r=null;for(var i of n.nodesByLevels){for(var a of i)if(a.id==t){r=a;break}if(r)break}if(!r)return e.treeList.scrollTop;for(var o=0,s=r.parent;s&&(o+=s.h,s.parent);)s=s.parent;var c=e.padding[0],l=e.padding[2],u=e.treeList.maxHeight-c-l,d=n.lastNode.y+n.lastNode.h-u;d<0&&(d=0);var f=e.treeList.scrollTop,p=r.y-o,m=r.y+r.h-u,g=f;return r.y<f+o?g=p:r.y+r.h>f+u&&(g=r.h>u-o?p:m),g<0?g=0:g>d&&(g=d),g},h._getDefailtPositionForExpandCollpase=function(e,t){var n={x:0,y:0};switch(e.orientation){case h.orientation.top:case h.orientation.top_left:n.x=t.w/2,n.y=t.h;break;case h.orientation.bottom:case h.orientation.bottom_left:n.x=t.w/2,n.y=0;break;case h.orientation.right:case h.orientation.right_top:n.x=0,n.y=t.h/2;break;case h.orientation.left:case h.orientation.left_top:n.x=t.w,n.y=t.h/2;break}return n},h._measureCache={svg:null,text:null},h._getMeasureElement=function(){if(h._measureCache.svg)return h._measureCache.text;let e=`http://www.w3.org/2000/svg`;return h._measureCache.svg=document.createElementNS(e,`svg`),h._measureCache.svg.id=`orgchart_js_test__measure`,h._measureCache.svg.style.cssText=`position:absolute;top:-9999px;visibility:hidden;white-space:pre;`,h._measureCache.text=document.createElementNS(e,`text`),h._measureCache.svg.appendChild(h._measureCache.text),document.body.appendChild(h._measureCache.svg),h._measureCache.text},h._lineClamp=function(e,t,n,r){if(t===void 0||t==null)return``;typeof t!=`string`&&(t=t.toString()),t=h._escapeHtml(t);let i=/(\w+(?:-\w+)?)="([^"]*)"/g,a={},o;for(;(o=i.exec(e))!==null;)a[o[1]]=o[2];let s=h._getMeasureElement();s.textContent=``;for(let[e,t]of Object.entries(a))e!==`x`&&e!==`y`&&s.setAttribute(e,t);let c=e=>(s.textContent=e,s.getComputedTextLength()),l=t.split(` `),u=[],d=``,f=0;for(;f<l.length&&u.length<r;){let e=l[f],t=d?d+` `+e:e;if(c(t)<=n)d=t,f++;else if(d===``){let t=0,r=e.length,i=1;for(;t<=r;){let a=t+r>>1;c(e.slice(0,a))<=n?(i=a,t=a+1):r=a-1}u.push(e.slice(0,i)),l[f]=e.slice(i)}else u.push(d),d=``}d&&u.length<r&&u.push(d);let p=f<l.length||f===l.length&&l[f-1]===``&&t.endsWith(` `);if(p&&u.length>0){let e=u[u.length-1],t=0,r=e.length,i=``;for(;t<=r;){let a=Math.floor((t+r)/2),o=e.substring(0,a)+`...`;c(o)<=n?(i=o,t=a+1):r=a-1}u[u.length-1]=i}let m=` x="${a.x||`0`}"`,g=u.length===1?u[0]:u.map((e,t)=>`<tspan${m} dy="${t===0?0:`1.2em`}">${e}</tspan>`).join(``);return`<text${Object.entries(a).map(([e,t])=>` ${e}="${t}"`).join(``)}>${p?`<title>${t}</title>`:``}${g}</text>`},h._getScrollableTreeListNodeInTouchEnabledDevice=function(e){if(!e||!e.isTreeListItem||!h._isTouchDevice())return null;var t=h.getRootOf(e).stParent,{thumbHeight:n,thumbPosition:r,scrollBarDisplay:i}=h._treeListGetTumbPositionFromScrollTop(t);return i==`none`?null:t},h._convertImagesToBase64=async function(e){let t=new DOMParser;return await Promise.all(e.map(async e=>{let n=t.parseFromString(e,`image/svg+xml`),r=n.querySelectorAll(`image`);for(let e of r){let t=e.getAttribute(`href`)||e.getAttribute(`xlink:href`);if(t&&!t.startsWith(`data:`))try{let n=parseFloat(e.getAttribute(`width`))||0,r=parseFloat(e.getAttribute(`height`))||0;if(n>0&&r>0){let i=await h._resizeAndConvert(t,n,r);e.setAttribute(`href`,i),e.removeAttributeNS(`http://www.w3.org/1999/xlink`,`href`)}}catch(e){console.error(`Failed to process image:`,t,e)}}return new XMLSerializer().serializeToString(n)}))},h._resizeAndConvert=function(e,t,n){return new Promise((r,i)=>{let a=new Image;a.crossOrigin=`anonymous`,a.onload=()=>{let e=document.createElement(`canvas`),i=e.getContext(`2d`),o=Math.min(t/a.width,n/a.height),s=a.width*o,c=a.height*o;e.width=s,e.height=c,i.drawImage(a,0,0,s,c),r(e.toDataURL(`image/png`))},a.onerror=i,a.src=e})},h.prototype.zoom=function(e,t,n,r){var i=this.getViewBox().slice(0),a=i,o=i[2],s=i[3];e===!0?(i[2]/=h.SCALE_FACTOR,i[3]/=h.SCALE_FACTOR):e===!1?(i[2]*=h.SCALE_FACTOR,i[3]*=h.SCALE_FACTOR):(i[2]/=e,i[3]/=e),t||=[50,50],i[0]=a[0]-(i[2]-o)/(100/t[0]),i[1]=a[1]-(i[3]-s)/(100/t[1]);var c=this.getScale(i);if(i[2]=this.width()/c,i[3]=this.height()/c,e===!0&&c<this.config.scaleMax||e===!1&&c>this.config.scaleMin||e!=0&&e!=1&&c<this.config.scaleMax&&c>this.config.scaleMin){this._hideBeforeAnimation();var l=this;n?(clearTimeout(l._timeout),h.animate(this.getSvg(),{viewbox:this.getViewBox()},{viewbox:i},this.config.anim.duration,this.config.anim.func,function(){clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,h.action.zoom,null,r)},500)})):(this.setViewBox(i),clearTimeout(l._timeout),l._timeout=setTimeout(function(){l._draw(!0,h.action.zoom,null,r)},500))}},h._ai=function(e){this.instance=e,this.sessionId=null},h._ai.prototype.prompt=function(e,t){var n=this;e=e.trim(),e&&(this.sessionId?n._prompt([{Role:`user`,Text:e}],t):this.setContext(function(){n._prompt([{Role:`user`,Text:e}],t)}))},h._ai.prototype._prompt=function(e,t){var n=this,r=[];for(var i of h.AI_SYSTEM_MESSAGES)r.push({Role:`system`,Text:i});var a=this.instance.config.serverUrl+`/OrgChartJSAI/Prompt?client_messages=${encodeURIComponent(JSON.stringify(e))}&system_messages=${encodeURIComponent(JSON.stringify(r))}&sessionId=${this.sessionId}`;let o=new EventSource(a);o.onmessage=function(e){var r=JSON.parse(e.data),i=``;r.kind==`end`&&o.close(),r.kind==`text`&&(i+=r.text,t&&t(r.text)),r.kind==`assistant-message-with-tools`?n.toolCalls(r.message,t):r.kind==`error`&&console.error(r.text)},o.onerror=function(e){console.error(e),o.close()}},h._ai.prototype.setContext=function(e){if(this.instance&&this.instance.config.enableAI&&this.instance.aiUI.canSetContext){this.sessionId=this.instance._event_id;var t=this.instance.config.serverUrl+`/OrgChartJSAI/SetContext`,n=this.instance.config.aiChatTools.slice();for(var r of n)r.functionParameters??=null,r.functionParameters=JSON.stringify(r.functionParameters);fetch(t,{method:`post`,headers:{"Content-Type":`application/json`,"x-request-type":`ajax`},body:JSON.stringify({context:this.instance.config.nodes,sessionId:this.sessionId,chatTools:n})}).then(function(){e&&e()}).catch(function(e){console.error(e)})}},h._ai.prototype.toolCalls=function(e,t){var n=this,r={toolCalls:e.ToolCalls};h.events.publish(`ai-tool-calls`,[this.instance,r]);var i=[],a=[],o=[],s=[],c=[],l=null,u=null,d=null,f=null,p=null;for(var m of r.toolCalls)m.FunctionResult??(m.FunctionName==`removeNode`?i.push(m):m.FunctionName==`addNode`?a.push(m):m.FunctionName==`updateNode`?o.push(m):m.FunctionName==`select`?s.push(m):m.FunctionName==`deselect`?c.push(m):m.FunctionName==`exportToPDF`?l=m:m.FunctionName==`changeTemplate`?u=m:m.FunctionName==`addSlink`?d=m:m.FunctionName==`removeSlink`?f=m:m.FunctionName==`fit`&&(p=m));var g=!1;if(u&&(g=!0,m.FunctionResult=`ok`,this.instance.config.template=m.FunctionArguments.templateName),d){var _=this.instance.getNode(m.FunctionArguments.employeeId1),v=this.instance.getNode(m.FunctionArguments.employeeId2);!_||!v||_==v?m.FunctionResult=`Cannot add link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(g=!0,this.instance.addSlink(_.id,v.id),m.FunctionResult=`ok`)}if(f){var _=this.instance.getNode(m.FunctionArguments.employeeId1),v=this.instance.getNode(m.FunctionArguments.employeeId2);!_||!v||_==v?m.FunctionResult=`Cannot remove link between ${m.FunctionArguments.employeeId1} and ${m.FunctionArguments.employeeId2}`:(g=!0,this.instance.removeSlink(_.id,v.id),m.FunctionResult=`ok`)}p&&(this.instance.fit(),g=!1);for(var m of i)g=!0,m.FunctionResult=`ok`,this.instance.remove(m.FunctionArguments.id);for(var m of a){g=!0,m.FunctionResult=`ok`;var y=JSON.parse(JSON.stringify(m.FunctionArguments));y.isAssistant&&(y.tags=[`assistant`]),delete y.isAssistant,h.isNEU(y.id)&&(y.id=this.instance.generateId()),this.instance.add(y)}for(var m of o){g=!0,m.FunctionResult=`ok`;var y=this.instance.get(m.FunctionArguments.id);for(var b in m.FunctionArguments)b!=`id`&&m.FunctionArguments[b]!=null&&(y[b]=m.FunctionArguments[b]);this.instance.update(y)}for(var m of s){m.FunctionResult=`ok`;for(var x of m.FunctionArguments.ids){var S=m.FunctionArguments.color;S||=`#FFCA28`;var C=this.instance.getNodeElement(x).firstChild;C&&(C.style.stroke=m.FunctionArguments.color,C.style.strokeWidth=5)}}var w=function(){for(var e of c)if(e.FunctionResult=`ok`,e.FunctionArguments.ids)for(var t of e.FunctionArguments.ids){var r=n.instance.getNodeElement(t).firstChild;r&&(r.style.stroke=`#aeaeae`,r.style.strokeWidth=1)}else g=!0};g?(this.setContext(),this.instance.draw(h.action.update,void 0,w)):w();var T=function(){var e=[];for(var i of r.toolCalls)e.push({Role:`tool`,Text:i.FunctionResult,Id:i.Id});n._prompt(e,t)};l?this.chartInstance.exportToPDF({},function(){m.FunctionResult=`ok`,h._downloadFile(`application/pdf`,response,`OrgChart.pdf`,!1,`pdf`),T()}):T()},h.aiUI=function(){this.instance=null,this.interval=null,this.canSetContext=!1,this.element=null,this.inputElement=null,this.btnSendElement=null,this.messagesElement=null,Object.defineProperty(this,`width`,{get(){return this.isVisible()?this.element.offsetWidth:0}})},h.aiUI.title=`AI for OrgChart JS`,h.aiUI.prototype.init=function(e){this.instance=e;var t=this,n=this.instance.element.querySelector(`[data-boc-ai-button]`);n&&n.addEventListener(`click`,function(e){t.show()})},h.aiUI.prototype.isVisible=function(){return!(!this.element||this.element.style.display==`none`)},h.aiUI.prototype.show=function(e,t){this.instance.pdfPreviewUI.hide(),this.instance.svgPreviewUI.hide(),this.instance.pngPreviewUI.hide(),this.instance.powerPointPreviewUI.hide(),this.instance.aiUI.hide(),this.instance.orgScribeUI.hide(),this._create(),this.element.style.display=``,this.canSetContext||(this.canSetContext=!0,this.instance._ai.setContext());var n=this;t||(this.timeout&&clearInterval(this.interval),this.interval=h.animate(this.element,{opacity:0},{opacity:1},300,h.anim.outSin,function(){e||n.inputElement.focus()}))},h.aiUI.prototype._create=function(){if(!this.element){var e=this,t=`inp_`+this.instance.generateId();this.element=document.createElement(`div`),this.element.setAttribute(`data-boc-ai-form`,``),this.element.style.opacity=0,this.element.classList.add(`boc-ai-form`),this.element.classList.add(this.instance.config.mode),this.element.innerHTML=`<div class="boc-ai-container">
455
+ <div data-boc-ai-close class="boc-ai-close">${h.icon.x(20,20,`#aeaeae`)}</div>
268
456
  <div class="boc-ai-middle boc-ai-start">
269
457
  <div data-boc-ai-messages class="boc-ai-messages">
270
458
  <img src="https://orgchartjs.balkan.app/logo.svg">&nbsp;
271
459
  <span>
272
- ${u.aiUI.title}
460
+ ${h.aiUI.title}
273
461
  </span>
274
462
  </div>
275
463
  </div>
@@ -278,10 +466,10 @@
278
466
  <label for="${t}">Message OrgChart</label>
279
467
  <input maxlength="256" id="${t}" name="${t}" type="text" value="" autocomplete="off">
280
468
  <div data-boc-ai-send class="boc-ai-send">
281
- ${u.icon.send(20,20,`#aeaeae`)}
469
+ ${h.icon.send(20,20,`#aeaeae`)}
282
470
  </div>
283
471
  </div>
284
472
 
285
473
  </div>
286
- </div>`,this.instance.leftElement.appendChild(this.element),this.instance.leftElement.style.display=`block`,u.input.init(this.element);var n=this.instance.leftElement.querySelector(`[data-boc-ai-close] svg`);n&&n.addEventListener(`click`,function(t){e.hide()}),this.inputElement=this.element.querySelector(`#`+t),this.btnSendElement=this.inputElement.parentNode.querySelector(`[data-boc-ai-send]`),this.messagesElement=this.element.querySelector(`[data-boc-ai-messages]`),this.inputElement.addEventListener(`input`,function(e){this.value?this.parentNode.querySelector(`.boc-ai-send`).classList.add(`boc-ai-send-cansend`):this.parentNode.querySelector(`.boc-ai-send`).classList.remove(`boc-ai-send-cansend`)}),this.element.querySelector(`[data-boc-ai-send]`).addEventListener(`click`,function(t){e.sendUserInput()}),this.inputElement.addEventListener(`keyup`,function(t){var n=window.event?window.event:t;switch(e.canSetContext||(e.canSetContext=!0,e.instance._ai.setContext()),n.key){case`Enter`:e.sendUserInput();break;case`ArrowUp`:var r=u.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=r.length-1:i--,i==-1&&(i=r.length-1),e.inputElement.value=r[i]}break;case`ArrowDown`:var r=u.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=0:i++,i==r.length&&(i=0),e.inputElement.value=r[i]}break;default:}})}},u.aiUI.prototype.addUserMessage=function(e){this.btnSendElement.classList.remove(`boc-ai-send-cansend`);var t=this.element.querySelector(`.boc-ai-start`);t&&(t.classList.remove(`boc-ai-start`),this.messagesElement.innerHTML=``);var n=document.createElement(`div`);n.classList.add(`boc-ai-user-message`),n.innerHTML=`<span class="boc-inner-user-message">${e}</span>`,this.messagesElement.appendChild(n)},u.aiUI.prototype.hide=function(){this.instance.leftElement.style.display=`none`,this.element&&=(this.element.parentNode.removeChild(this.element),null)},u.aiUI.prototype.sendUserInput=function(){var e=this;u.aiUI._addSuggestion(this.inputElement.value),this.addUserMessage(this.inputElement.value);var t=document.createElement(`div`);t.classList.add(`boc-ai-assistant-message`);var n=document.createElement(`span`);n.classList.add(`boc-inner-assistant-message`),t.appendChild(n),this.messagesElement.appendChild(t);var r=``;this.instance._ai.prompt(this.inputElement.value,function(t){r+=t,n.innerHTML=marked.parse(r);var i=e.element.querySelector(`.boc-ai-middle`);i.scrollTo(0,i.scrollHeight)}),this.inputElement.value=``},u.aiUI._addSuggestion=function(e){e=e.trim();var t=u.aiUI._getSuggestions(),n=t.indexOf(e);n!=-1&&t.splice(n,1),t.push(e),localStorage.setItem(`suggestions`,JSON.stringify(t))},u.aiUI._getSuggestions=function(){var e=localStorage.getItem(`suggestions`);return e=e?JSON.parse(e):[],e},u===void 0&&(u={}),u.events.on(`init`,function(e,t){if(e.config.keyNavigation&&(window.addEventListener(`keydown`,function(){e._windowKeyDownHandler.apply(e,[this,arguments[0]])}),u.isNEU(e._keyNavigationActiveNodeId)&&e.roots&&e.roots.length)){var n=e.roots[0].id;u.isNEU(e.config.keyNavigation.focusId)||(n=e.config.keyNavigation.focusId),e._keyNavigationActiveNodeId=n,e.center(e._keyNavigationActiveNodeId)}}),u.prototype._windowKeyDownHandler=function(e,t){for(var n=t.target,r=null;n&&n!=this.element;){if(n.hasAttribute&&n.hasAttribute(u.attr.node_id)){r=n.getAttribute(u.attr.node_id);break}n=n.parentNode}if(n){var i=r?this.getNode(r):null,a={node:i,data:r?this.get(r):null,event:t};if(u.events.publish(`key-down`,[this,a])!==!1&&i){if(t.code==`KeyF`)this.searchUI.find(``);else if(t.code==`ArrowRight`||i.isAssistant&&t.code==`ArrowDown`||i.isPartner&&t.code==`ArrowDown`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s++,s<o.childrenIds.length){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowLeft`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s--,s>=0){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowUp`){var o=this.getNode(i.pid);if(o){var c=o.id;if(i.isAssistant||o.hasAssistants||i.isPartner||o.hasPartners){var s=o.childrenIds.indexOf(i.id);s--,s>=0&&(c=o.childrenIds[s])}this._keyNavigationActiveNodeId=c,this.center(c)}}else if(t.code==`ArrowDown`)i.childrenIds.length&&(this._keyNavigationActiveNodeId=i.childrenIds[0],this.center(i.childrenIds[0]));else if(t.code==`Space`){var l=n.getAttribute(u.attr.node_id);this.toggleExpandCollapse(l,t);return}}}},u.events.on(`redraw`,function(e,t){e.config.keyNavigation&&u._keyNavigation(e)}),u.events.on(`click`,function(e,t){e.config&&e.config.keyNavigation&&(e._keyNavigationActiveNodeId=t.node.id,e.center(t.node.id))}),u._keyNavigation=function(e){var t=e.element.querySelector(`:focus`);if(t&&t.parentElement&&t.parentElement.hasAttribute(u.attr.node_id)){var n=t.parentElement,r=t,i=r.querySelector(`title`);i&&i.parentNode.removeChild(i),r.removeAttribute(`tabindex`)}if(!u.isNEU(e._keyNavigationActiveNodeId)){var n=e.getNodeElement(e._keyNavigationActiveNodeId);if(!(!n||!n.children.length)){var r=n.children[0];r.setAttribute(`tabindex`,2);var a={text:``,id:e._keyNavigationActiveNodeId};if(u.events.publish(`screen-reader-text`,[e,a]),!u.isNEU(a.text)){var i=document.createElementNS(`http://www.w3.org/2000/svg`,`title`);i.innerHTML=a.text,r.appendChild(i)}u.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&e.searchUI.hide(),r.focus()}}},u.ui.css=function(){return`<style data-boc-styles>.boc-ai-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-ai-form{color:#aeaeae}.boc-light .boc-ai-form{color:#757575}.boc-ai-messages{font-size:16px}@media screen and (max-width:500px){.boc-ai-form{width:100%}}.boc-dark .boc-ai-form{background-color:#252526}.boc-light .boc-ai-form{background-color:#fff}.boc-ai-button{font-size:32px;position:absolute;top:20px;left:20px;cursor:pointer;padding:12px;border-radius:50%;user-select:none}.boc-dark .boc-ai-button{color:#aeaeae}.boc-light .boc-ai-button{color:#757575}.boc-ai-button:hover{color:#fff;background-color:#039be5}.boc-ai-container{padding:0 14px;display:grid;grid-template-rows:40px auto 80px;gap:10px;height:100%}.boc-ai-container .boc-input input{padding-right:50px}.boc-ai-close{text-align:end;margin-top:20px}.boc-ai-close svg{cursor:pointer}.boc-ai-start{text-align:center;display:flex;justify-content:center;align-items:center;user-select:none}.boc-ai-start span{font-weight:700;font-size:32px;font:"Segoe UI",Arial,sans-serif;background:linear-gradient(90deg,#039be5 28%,#f57c00,#ffca28);color:transparent!important;background-clip:text;display:inline-block;padding:10px 0}.boc-ai-send.boc-ai-send-cansend{cursor:pointer;background-color:#039be5}.boc-ai-send.boc-ai-send-cansend:hover{background-color:#f57c00}.boc-ai-send.boc-ai-send-cansend:active{background-color:#ffca28}.boc-ai-send{background-color:transparent;position:absolute;right:7px;top:7px;width:38px;height:38px;border-radius:50%;text-align:center;background-repeat:no-repeat;background-position:center;background-size:20px 20px}.boc-ai-send svg{display:block;margin:auto;height:100%}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.boc-ai-middle{overflow-y:auto}.boc-ai-middle::-webkit-scrollbar{display:none}.boc-button{background-color:#039be5;cursor:pointer;width:calc(100%);height:50px;color:#fff;padding-top:5px;padding-left:7px;padding-right:7px;text-align:center;text-transform:uppercase;border:1px solid #3fc0ff;display:inline-block;border-radius:5px}.boc-button.orange{background-color:#f57c00;border:1px solid #ffa03e}.boc-button.yellow{background-color:#ffca28;border:1px solid #ffdf7c}.boc-button.lower{text-transform:unset}.boc-button.transparent{background-color:transparent}.boc-button:hover{background-color:#35afea}.boc-button.orange:hover{background-color:#f79632}.boc-button.yellow:hover{background-color:#ffd452}.boc-button:active{transform:matrix(.98,0,0,.98,0,0)}.boc-button-icon{text-align:initial;cursor:pointer;margin-bottom:15px;color:#039be5}.boc-dark .boc-button-icon:hover{background-color:#2d2d2d}.boc-light .boc-button-icon:hover{background-color:#ececec}.boc-button-icon>img{height:24px;width:24px;vertical-align:middle;padding:7px}.boc-button:focus{outline:0}.boc-button-icon>img{filter:invert(46%) sepia(66%) saturate(2530%) hue-rotate(171deg) brightness(95%) contrast(98%)}.boc-light .boc-button.transparent{color:#039be5}.boc-light .boc-button.transparent:hover{color:#fff}.boc-button-loading{background-color:transparent;cursor:pointer;width:calc(100% - 2px);height:50px;color:#fff;text-align:center;text-transform:uppercase;border:1px solid #027cb7;display:inline-block;display:flex;justify-content:center;align-items:center;display:none}.boc-button-loading .boc-loading-dots div{margin:0 10px}.boc-link-boc-button{position:absolute;right:10px;top:-1px}@media screen and (max-width:1000px){.boc-link-boc-button{right:50px}}[data-boc-input-disabled] .boc-link-boc-button{display:none}[dir=rtl] .boc-link-boc-button{left:10px;right:unset}.boc-img-button{width:48px;height:48px;cursor:pointer;border-radius:50%;background-color:#039be5;background-repeat:no-repeat;background-size:24px 24px;background-position:center center;margin:3px;display:inline-block}.boc-img-button:hover{background-color:#f57c00}.boc-checkbox{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.boc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.boc-checkbox-checkmark{position:absolute;top:0;left:0;height:25px;width:25px;border-radius:5px}.boc-dark [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-dark [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark,.boc-light [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-light [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#aeaeae!important}[data-boc-input-disabled].boc-checkbox{cursor:default}[dir=rtl] .boc-checkbox-checkmark{right:0}[dir=rtl] .boc-checkbox{padding-left:unset;padding-right:35px}.boc-dark .boc-checkbox-checkmark{background-color:#333;border:1px solid #5b5b5b}.boc-light .boc-checkbox-checkmark{background-color:#fff;border:1px solid #c7c7c7}.boc-dark .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#3c3c3c}.boc-light .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#f8f9f9}.boc-dark .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-light .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-checkbox-checkmark:after{content:"";position:absolute;display:none}.boc-checkbox input:checked~.boc-checkbox-checkmark:after{display:block}.boc-checkbox .boc-checkbox-checkmark:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.boc-controls{display:flex;gap:7px;position:absolute}.boc-controls-top{left:unset;top:15px;right:50%;bottom:unset;transform:translateX(50%);flex-direction:row}.boc-controls-bottom{left:unset;top:unset;right:50%;bottom:15px;transform:translateX(50%);flex-direction:row}.boc-controls-left{left:15px;top:50%;right:unset;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-right{left:unset;top:50%;right:15px;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-bottom_right,.boc-controls-right_bottom{left:unset;top:unset;right:15px;bottom:15px;flex-direction:row}.boc-controls-right_bottom{flex-direction:column}.boc-controls-right_top,.boc-controls-top_right{left:unset;top:15px;right:15px;bottom:unset;flex-direction:row}.boc-controls-right_top{flex-direction:column}.boc-controls-bottom_left,.boc-controls-left_bottom{left:15px;top:unset;right:unset;bottom:15px;flex-direction:row}.boc-controls-left_bottom{flex-direction:column}.boc-controls-left_top,.boc-controls-top_left{left:15px;top:15px;right:unset;bottom:unset;flex-direction:row}.boc-controls-left_top{flex-direction:column}.boc-controls [data-control-id] svg{display:block;margin:0 auto}.boc-controls [data-control-id]{display:flex;align-items:center;cursor:pointer;width:60px;height:60px;border-radius:30px;box-shadow:0 4px 30px rgba(0,0,0,.1);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.boc-light .boc-controls [data-control-id]{background:rgba(255,255,255,.2);border:1px solid #c7c7c7}.boc-dark .boc-controls [data-control-id]{background:rgba(30,30,30,.2);border:1px solid #5b5b5b}.boc-controls [data-control-id]:hover{background-color:#0074e8}.boc-controls [data-control-id]:hover svg{filter:brightness(0) invert(1)}.boc-controls [data-control-id].boc-control-selected{background-color:#0074e8}.boc-controls [data-control-id].boc-control-selected svg{filter:brightness(0) invert(1)}.boc-filter{user-select:none}.boc-light .boc-filter{color:#757575}.boc-dark .boc-filter{color:#ccc}.boc-filter>div>div{display:inline-block;padding:3px 10px;cursor:pointer}.boc-filter-menu fieldset,.boc-filter>div,.filter-field-selected{border-radius:5px}.boc-filter-menu fieldset{overflow-y:auto;max-height:300px}.boc-filter>div.boc-filter-menu{padding:10px}.boc-light .boc-filter>div.boc-filter-menu,.boc-light .filter-field-selected{background-color:#f8f9f9}.boc-dark .boc-filter>div.boc-filter-menu,.boc-dark .filter-field-selected{background-color:#3c3c3c}.boc-light .boc-filter>div{background-color:#eee}.boc-dark .boc-filter>div{background-color:#333}.boc-form-perspective{transform-style:preserve-3d;perspective:500px;position:absolute;top:32px}.boc-form{box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;padding:14px;transform-origin:top center;user-select:none;display:none;position:relative;max-height:calc(100vh - 100px);overflow-y:auto;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.boc-form-bottom{border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:5px;border-top-right-radius:5px}.boc-form .separator{margin:0 10px}@media screen and (max-width:1000px){.boc-form-perspective{min-width:100%;max-height:calc(100% - 32px);left:unset!important;right:unset!important;transform:none!important}.boc-form .set{max-height:calc(100vh - 74px)}.boc-form-fieldset{max-width:unset!important}}.boc-light .boc-form .separator{border-bottom:1px solid #c7c7c7}.boc-dark .boc-form .separator{border-bottom:1px solid #5b5b5b}.boc-light .boc-form{background-color:#fff}.boc-dark .boc-form{background-color:#252526}.boc-item{padding:6px 12px 6px 12px;display:flex;flex-direction:row}.boc-light .boc-form .boc-item.selected,.boc-light .boc-form .boc-item:hover{background-color:#0074e8;color:#fff}.boc-dark .boc-form .boc-item.selected,.boc-dark .boc-form .boc-item:hover{background-color:#094771;color:#fff}.boc-item.selected img,.boc-item:hover img{filter:invert(100%)}.boc-item.selected img{visibility:visible!important}.boc-form-fieldset{display:flex;flex-wrap:wrap;margin:0!important}.boc-form-field{flex:1 0 21%;margin:3px;min-width:200px}.boc-form-field-100{flex:1 0 96%;margin:3px;min-width:200px}.boc-input{position:relative}.boc-input>input,.boc-input>select{height:50px;padding:18px 10px 2px 9px;width:100%;box-sizing:border-box;border-style:solid;border-width:1px}.boc-input select{height:50px;padding:20px 5px 4px 5px}[data-boc-input-disabled].boc-input>input,[data-boc-input-disabled].boc-input>select{border-color:transparent!important}.boc-light [data-boc-input-disabled]>input,.boc-light [data-boc-input-disabled]>select{background-color:#fff!important}.boc-dark [data-boc-input-disabled]>input,.boc-dark [data-boc-input-disabled]>select{background-color:#252526!important}[data-boc-input-disabled]>select{appearance:none;padding-left:8px}.boc-input>label{display:inline-block;position:absolute;padding-left:10px;padding-right:10px;color:#acacac;cursor:text;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1 ease-out;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:initial;text-align:initial;white-space:nowrap}.boc-input>label{top:12px;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 14px)}.boc-input>label.focused,.boc-input>label.hasval{top:-1px}.boc-input>input,.boc-input>select{outline:0;border-radius:5px}.boc-dark .boc-input>label.focused,.boc-light .boc-input>label.focused{color:#039be5}.boc-dark .boc-input>input,.boc-dark .boc-input>select{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-input>input,.boc-light .boc-input>select{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-light .boc-input>input:focus,.boc-light .boc-input>select:focus{border-color:#039be5;background-color:#f8f9f9}.boc-dark .boc-input>input:focus,.boc-dark .boc-input>select:focus{border-color:#039be5;background-color:#3c3c3c}.boc-dark .boc-input>input.boc-validation-error,.boc-dark .boc-input>select.boc-validation-error,.boc-light .boc-input>input.boc-validation-error,.boc-light .boc-input>select.boc-validation-error{border-color:#ca2a2a}.boc-dark .boc-validation-error-message,.boc-light .boc-validation-error-message{color:#ca2a2a}.boc-input select.multiple{height:initial}.boc-link{color:#039be5;cursor:pointer;text-decoration:underline}.boc-link:hover{color:#f57c00}.boc-dark ::-webkit-scrollbar,.boc-light ::-webkit-scrollbar{width:15px;height:15px}.boc-dark ::-webkit-scrollbar-corner{background:#1e1e1e}.boc-dark ::-webkit-scrollbar-track{background:#1e1e1e;border-left:1px solid #333;border-top:1px solid #333}.boc-dark ::-webkit-scrollbar-thumb{background:#424242}.boc-dark ::-webkit-scrollbar-thumb:hover{background:#4f4f4f}.boc-dark ::-webkit-scrollbar-thumb:active{background:#5e5e5e}.boc-light ::-webkit-scrollbar-corner{background:#fff}.boc-light ::-webkit-scrollbar-track{background:#fff;border-left:1px solid #ddd;border-top:1px solid #ddd}.boc-light ::-webkit-scrollbar-thumb{background:#c1c1c1}.boc-light ::-webkit-scrollbar-thumb:hover{background:#929292}.boc-light ::-webkit-scrollbar-thumb:active{background:#666}.boc-edit-form{position:fixed;top:0;right:0;height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:1000px){.boc-edit-form{width:100%}}.boc-dark .boc-edit-form{background-color:#252526}.boc-light .boc-edit-form{background-color:#fff}.boc-edit-form-header{height:200px;text-align:center;border-radius:10px}.export-service .boc-edit-form-header{border-radius:unset}.boc-edit-form-title{color:#fff;margin:0;padding:14px 17px 7px 17px}.boc-edit-form-avatar{border-radius:50%;width:150px;height:150px;position:absolute;top:75px;border:5px solid #fff;left:50%;transform:translateX(-50%);background-color:#cacaca;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0}.boc-edit-form-close{position:absolute;right:14px;top:14px;width:34px;height:34px;cursor:pointer}.boc-edit-form-fields{flex-grow:1;overflow-y:auto;overflow-x:hidden}.boc-edit-form-fields-inner{margin:0 7px 20px 7px}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.dark .boc-inner-user-message{background-color:#333}.light .boc-inner-user-message{background-color:#f9f9f9}.boc-export-form{box-shadow:rgba(0,0,0,.2) 0 -6px 6px 0,rgba(0,0,0,.19) 0 -13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-export-form{color:#aeaeae;background-color:#252526}.boc-light .boc-export-form{color:#757575;background-color:#eee}@media screen and (max-width:500px){.boc-export-form{width:100%}}.boc-export-container{display:grid;grid-template-rows:40px auto;gap:10px;height:100%}.boc-export-page{width:100%;border:1px solid #aeaeae;display:flex;justify-content:center;align-items:center;user-select:none;position:relative}.boc-export-selected{border:1px solid #ffca28}.boc-export-middle{overflow-y:auto;overflow-x:hidden;padding:0 3px 0 0;margin-bottom:10px}.boc-export-btns-inner{padding-top:14px;display:flex;justify-content:space-between}.boc-export-left{justify-content:flex-start}.boc-export-right{justify-content:flex-end}.boc-export-left,.boc-export-right{user-select:none}.boc-export-select{position:absolute;top:0;left:0;text-align:center;width:100%}.boc-export-child-buttons{position:absolute;bottom:7px;left:7px;display:none}.boc-export-page:hover .boc-export-child-buttons{display:initial}.boc-export-parent-buttons{position:absolute;top:7px;left:7px;display:none}.boc-export-page:hover .boc-export-parent-buttons{display:initial}.boc-export-remove-buttons{position:absolute;bottom:7px;right:7px;display:none}.boc-export-page:hover .boc-export-remove-buttons{display:initial}.boc-export-child-buttons button,.boc-export-parent-buttons button{width:23px}.boc-export-profiletree-buttons{position:absolute;top:7px;right:7px;display:none}.boc-export-page:hover .boc-export-profiletree-buttons{display:initial}.boc-export-middle-inner{display:grid;gap:10px;margin:0 10px}.boc-export-btns-inner{margin:0 10px}.boc-chart-menu{opacity:0;display:inline-block;position:absolute;text-align:left;user-select:none;min-width:270px;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0,rgba(0,0,0,.19) 0 6px 20px 0;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif;border-radius:10px}.boc-chart-menu>div:hover img{filter:invert(100%)}.boc-chart-menu [data-item]{text-align:start;padding:7px 10px}.boc-dark .boc-chart-menu [data-item]{background-color:#252526;color:#acacac;border-bottom:1px solid #333}.boc-dark .boc-chart-menu [data-item]:hover{background-color:#094771!important;color:#fff!important}.boc-dark .boc-chart-menu [data-item]:hover svg{filter:brightness(0) invert(1)}.boc-light .boc-chart-menu [data-item]{background-color:#fff;color:#333;border-bottom:1px solid #c7c7c7}.boc-light .boc-chart-menu [data-item]:hover{background-color:#0074e8!important;color:#fff!important}.boc-light .boc-chart-menu [data-item]:hover svg{filter:brightness(0) invert(1)}.boc-chart-menu [data-item] svg{vertical-align:middle}.boc-chart-menu [data-item]:first-child{border-top-left-radius:7px;border-top-right-radius:7px}.boc-chart-menu [data-item]:last-child{border-bottom-width:0;border-bottom-style:none;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.boc-orgscribe-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:500px){.boc-orgscribe-form{width:100%}}.boc-dark .boc-orgscribe-form{background-color:#252526}.boc-light .boc-orgscribe-form{background-color:#fff}.boc-orgscribe-container{padding:0 14px;display:grid;grid-template-rows:40px auto 10px;gap:10px;height:100%}.boc-orgscribe-container .boc-input input{padding-right:50px}.boc-orgscribe-close{text-align:end;margin-top:20px}.boc-orgscribe-close svg{cursor:pointer}.boc-orgscribe-txt{width:100%;height:100%;box-sizing:border-box;border-style:solid;border-width:1px;outline:0;border-radius:5px;font-size:24px}.boc-dark .boc-orgscribe-txt{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-orgscribe-txt{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-search{position:absolute}@media screen and (max-width:500px){.boc-search{width:calc(100% - 30px);left:15px}}.boc-search .boc-input{margin-bottom:0}.boc-search-input{color:#7a7a7a;width:100%;border:none;outline:0;padding-top:10px;padding-right:47px}.boc-search-image-td{width:43px}.boc-search-text-td{padding-inline-end:7px;line-height:15px;text-align:start}.boc-search table{box-shadow:rgba(0,0,0,.2) 0 4px 8px 0,rgba(0,0,0,.19) 0 6px 20px 0;margin:0 3.5px 0 3.5px;width:calc(100% - 7px);border-radius:7px}.boc-search table tr:first-child td:first-child{border-top-left-radius:7px}.boc-search table tr:first-child td:last-child{border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:first-child{border-top-left-radius:unset;border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:last-child{border-top-right-radius:unset;border-top-left-radius:7px}.boc-search table tr:last-child td:first-child{border-bottom-left-radius:7px}.boc-search table tr:last-child td:last-child{border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:first-child{border-bottom-left-radius:unset;border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:last-child{border-bottom-right-radius:unset;border-bottom-left-radius:7px}.boc-dark .boc-search table{background-color:#252526;color:#acacac}.boc-search [data-search-item-id]{cursor:pointer}.boc-search-photo{margin:7px 7px 0 7px;width:32px;height:32px;background-size:cover;background-position:top center;border-radius:50%;display:inline-block;border:1px solid #8c8c8c}.boc-search [data-search-item-id]:hover .boc-link{color:#ffca28}.boc-search [data-search-item-id]:hover .boc-link:hover{color:#f57c00}.boc-dark .boc-search [data-search-item-id] td{border-top:1px solid #333}.boc-dark .boc-search [data-search-item-id]:hover,.boc-dark .boc-search [data-selected=yes]{background-color:#094771;color:#fff}.boc-light .boc-search table{background-color:#fff;color:#333}.boc-light .boc-search [data-search-item-id] td{border-top:1px solid #c7c7c7}.boc-light .boc-search [data-search-item-id]:hover,.boc-light .boc-search [data-selected=yes]{background-color:#0074e8;color:#fff}.boc-search [data-search-item-id]:first-child td{border-top:unset}.boc-ripple-container{position:absolute;top:0;right:0;bottom:0;left:0}.boc-drag-over rect{opacity:.5}.boc-ripple-container span{transform:scale(0);border-radius:100%;position:absolute;opacity:.75;background-color:#fff;animation:boc-ripple 1s}@-moz-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-webkit-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-o-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@keyframes boc-ripple{to{opacity:0;transform:scale(2)}}.boc-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.boc-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.boc-slider.round{border-radius:24px}.boc-slider.round:before{border-radius:50%}svg text:hover{cursor:default}svg.boc-cursor-grab,svg.boc-cursor-grab text:hover{cursor:grab}svg.boc-cursor-nodrop,svg.boc-cursor-nodrop text:hover{cursor:no-drop}svg.boc-cursor-copy,svg.boc-cursor-copy text:hover{cursor:copy}svg.boc-cursor-move,svg.boc-cursor-move text:hover{cursor:move}#boc-close-btn:focus,#boc-close-btn:hover{color:#000;text-decoration:none;cursor:pointer}#boc-id-select:focus{outline:.5px solid #aeaeae}#boc-sampleDialog #title:hover{cursor:default;background:gray}.boc-light{background-color:#fff;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark{background-color:#1e1e1e;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark input,.boc-dark select,.boc-light input,.boc-light select{font:16px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark h1,.boc-light h1{font-size:30px;line-height:1}.boc-light [data-boc-content]::backdrop{background-color:#fff}.boc-dark [data-boc-content]::backdrop{background-color:#1e1e1e}.boc-dark text,.boc-light text{user-select:none}.boc-edit-form{position:absolute;border-radius:10px}.export-service .boc-edit-form{border-radius:unset}.boc-dark .boc-edit-form{color:#acacac}.boc-light .boc-edit-form{color:#333}.boc-dark ::-webkit-calendar-picker-indicator{filter:invert(70%)}.boc-light ::-webkit-calendar-picker-indicator{filter:invert(50%)}.boc-edit-form-instruments{margin:42px 10px 0 10px;text-align:center;min-height:70px}.boc-img-button svg{position:relative;top:12px}.boc-light .boc-toolbar-container svg circle,.boc-light .boc-toolbar-container svg line,.boc-light .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg circle,.boc-dark .boc-toolbar-container svg line,.boc-dark .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg rect{fill:#252526!important}.boc-dark .boc-toolbar-container [data-tlbr=minus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-bottom:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr=plus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-top:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr]>svg{border:1px solid #5b5b5b!important;background-color:#252526!important}.boc-toolbar-layout{height:123px;padding-top:20px;position:absolute;width:100%;left:"0";bottom:"-145px"}.boc-light .boc-toolbar-layout{border-top:1px solid #c7c7c7;background-color:#f9f9f9}.boc-dark .boc-toolbar-layout{border-top:1px solid #5b5b5b;background-color:#2b2b2b}.boc-dotted-connector path{stroke-dasharray:7}.boc-undo-redo{position:absolute;top:23px;left:23px}@media screen and (max-width:500px){.boc-undo-redo{position:absolute;top:83px;left:23px}}.boc-light .boc-undo-redo path{fill:#cacaca}.boc-dark .boc-undo-redo path{fill:#5b5b5b}.boc-light .boc-undo-redo .boc-ur-clickable path{fill:#9c9c9c}.boc-dark .boc-undo-redo .boc-ur-clickable path{fill:#8c8c8c}.boc-undo-redo .boc-ur-clickable rect{cursor:pointer}.boc-undo-redo>span{position:relative;display:inline-block;user-select:none}.boc-undo-redo .boc-undo-i{left:-6px;top:-6px}.boc-undo-redo .boc-redo-i{right:-6px;bottom:6px}.boc-undo-redo>span>span{color:#fff;position:absolute;display:inline-block;min-width:20px;min-height:20px;border-radius:50%;line-height:20px;text-align:center;padding:1px;user-select:none;cursor:pointer}.boc-light .boc-undo-redo>span>span{background-color:#9c9c9c}.boc-dark .boc-undo-redo>span>span{background-color:#8c8c8c}.boc-dark .treelist-pinned{filter:brightness(1.2)}.boc-light .treelist-pinned{filter:brightness(.9)}.boc-light .boc-scroll{fill:#fff}.boc-light .boc-scroll-thumb{fill:#c1c1c1}.boc-light .boc-scroll-thumb:hover{fill:#929292}.boc-dark .boc-scroll{fill:#1e1e1e}.boc-dark .boc-scroll-thumb{fill:#424242}.boc-dark .boc-scroll-thumb:hover{fill:#4f4f4f}</style>`},u.input={},u.input._timeout=null,u.input.initWithTimeout=function(){u.input._timeout&&(clearTimeout(u.input._timeout),u.input._timeout=null),u.input._timeout=setTimeout(u.input.init,200)},u.input.init=function(e){for(var t=e?e.querySelectorAll(`[data-boc-input]`):document.querySelectorAll(`[data-boc-input]`),n=0;n<t.length;n++){var r=t[n],i=null;r.type&&r.type.toLowerCase()==`hidden`&&(i=r),i||=r.querySelector(`input`),i||=r.querySelector(`select`);var a=r.querySelector(`label`);a&&(i.value||i.type==`select-one`&&i.selectedOptions&&i.selectedOptions.length&&i.selectedOptions[0].value==``&&i.selectedOptions[0].innerHTML)&&a.classList.add(`hasval`),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`focus`,function(){this.classList.remove(`boc-validation-error`);var e=this.parentNode.querySelector(`label`);e.classList.add(`focused`);var t=e.querySelector(`.boc-validation-error-message`);t&&t.parentNode.removeChild(t)}),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`blur`,function(){u.input.blurHandler(this)})}},u.input.blurHandler=function(e){var t=e.parentNode.querySelector(`label`);t.classList.remove(`focused`),e.value||e.type==`date`?t.classList.add(`hasval`):t.classList.remove(`hasval`)},u.input.validate=function(e){var t=null;e.type&&e.type.toLowerCase()==`hidden`&&(t=e),t||=e.querySelector(`input`),t||=e.querySelector(`select`);var n=e.querySelector(`label`);if(t.classList.remove(`boc-validation-error`),n){var r=n.querySelector(`.boc-validation-error-message`);r&&r.parentNode.removeChild(r)}!t.selectedOptions&&t.value&&(t.value=t.value.trim());var i=e.getAttribute(`data-v-required`),a=e.getAttribute(`data-v-password`),o=e.getAttribute(`data-v-email`),s=e.getAttribute(`data-v-emails`);return i&&t.value==``?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+i+`</span>`,t.classList.add(`boc-validation-error`),!1):a&&!u.input.validatePassword(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+a+`</span>`,t.classList.add(`boc-validation-error`),!1):o&&!u.input.isValidEmail(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+o+`</span>`,t.classList.add(`boc-validation-error`),!1):s&&!u.input.isValidEmails(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+s+`</span>`,t.classList.add(`boc-validation-error`),!1):!0},u.input.validateAndGetData=function(e){for(var t=e.querySelectorAll(`[data-boc-input]`),n=!0,r=0;r<t.length;r++){var i=t[r];u.input.validate(i)||(n=!1)}return n?u.input.getData(e):!1},u.input.getData=function(e){for(var t=e.querySelectorAll(`[data-binding]`),n={},r=0;r<t.length;r++){var i=t[r],a=i.getAttribute(`data-binding`);if(i.type.toLowerCase()==`checkbox`)n[a]=i.checked;else if(i.selectedOptions&&i.hasAttribute(`multiple`)){var o=i.selectedOptions;n[a]=Array.from(o).map(({value:e})=>e)}else n[a]=i.value}return n},u.input.validatePassword=function(e){return e&&=e.trim(),e.length<5||e.length>18?!1:e.indexOf(` `)==-1},u.input.isValidEmails=function(e){if(e)for(var t=e.split(`,`),n=0;n<t.length;n++){var r=t[n].trim();if(!u.input.isValidEmail(r))return!1}return!0},u.input.isValidEmail=function(e){return e&&=e.trim(),/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},u===void 0&&(u={}),u.prototype.onField=function(e){return this.on(`field`,function(t,n){return e.call(t,n)})},u.prototype.onInit=function(e){return this.on(`init`,function(t){return e.call(t)})},u.prototype.onRedraw=function(e){return this.on(`redraw`,function(t){return e.call(t)})},u.prototype.onUpdateNode=function(e){return this.on(`update`,function(t,n,r){var i={oldData:n,newData:r};return e.call(t,i)})},u.prototype.onUpdated=function(e){return this.on(`updated`,function(t){return e.call(t)})},u.prototype.onRemoveNode=function(e){return this.on(`remove`,function(t,n,r){var i={id:n,newPidsAndStpidsForIds:r};return e.call(t,i)})},u.prototype.onAddNode=function(e){return this.on(`add`,function(t,n){var r={data:n};return e.call(t,r)})},u.prototype.onDrop=function(e){return this.on(`drop`,function(t,n,r,i,a){var o={dragId:n,dropId:r,dragNodeElement:i,event:a};return e.call(t,o)})},u.prototype.onDrag=function(e){return this.on(`drag`,function(t,n,r,i){var a={dragId:n,event:r,nodeIds:i};return e.call(t,a)})},u.prototype.onExpandCollapseButtonClick=u.prototype.onExpandCollpaseButtonClick=function(e){return this.on(`expcollclick`,function(t,n,r,i){var a={collapsing:n,id:r,ids:i};return e.call(t,a)})},u.prototype.onExportStart=function(e){return this.on(`exportstart`,function(t,n){return e.call(t,n)})},u.prototype.onExportEnd=function(e){return this.on(`exportend`,function(t,n){return e.call(t,n)})},u.prototype.onNodeClick=function(e){return this.on(`click`,function(t,n){return e.call(t,n)})},u.prototype.onCanvasClick=function(e){return this.on(`canvas-click`,function(t,n){return e.call(t,n)})},u.prototype.onNodeDoubleClick=function(e){return this.on(`dbclick`,function(t,n){var r={data:n};return e.call(t,r)})},u.prototype.onAIToolCalls=function(e){return this.on(`ai-tool-calls`,function(t,n){return e.call(t,n)})},u.prototype._dragDropHandler=function(e,t,n){},u.prototype._movableHandler=function(e,t,n){},u===void 0&&(u={}),u._communityMessages=[],u._communityAlert=function(){var e=[];for(var t of u._communityMessages)e.includes(t)||e.push(t);if(e.length){var n=`The following methods and options are not supported in Community Edition:\n\n${e.join(`
287
- `)} \n\nDownload the Trial Edition if you want to use the features above.`;alert(n)}},u._communityMethod=function(e){u._communityMessages.push(e+` [method]`)},u.manager._community_createNodes=u.manager._createNodes,u.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs;return u._checkForUnsuportedFeatures(t,n),u.manager._community_createNodes(e)},u._checkForUnsuportedFeatures=function(e,t){for(var n of e.nodes){if(n.tags){var r=n.tags.indexOf(`assistant`);r>-1&&(u._communityMessages.push(`assistant [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`partner`),r>-1&&(u._communityMessages.push(`partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`left-partner`),r>-1&&(u._communityMessages.push(`left-partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`right-partner`),r>-1&&(u._communityMessages.push(`right-partner [tag]`),n.tags.splice(r,1))}u.isNEU(n.stpid)||(u._communityMessages.push(`stpid [property]`),n.stpid=void 0)}for(var i in e.slinks&&e.slinks.length&&(u._communityMessages.push(`slinks [option]`),e.slinks=[]),e.clinks&&e.clinks.length&&(u._communityMessages.push(`clinks [option]`),e.clinks=[]),t){var a=t[i];a.layout!=u.layout.normal&&(u._communityMessages.push(`layout [option]`),a.layout=u.layout.normal)}},u.events.on(`init`,function(e,t){setTimeout(u._communityAlert,500)}),u._defaultConfig=function(e){for(var t of[`enableDragDrop`,`enableSearch`,`enableAI`,`keyNavigation`,`miniMap`,`controls`,`nodeMenu`,`nodeCircleMenu`,`nodeContextMenu`,`menu`,`toolbar`,`showXScroll`,`showYScroll`,`searchFields`,`searchDisplayField`,`searchFieldsWeight`,`searchFieldsAbbreviation`,`movable`,`serverUrl`,`state`,`editForm`,`showYScroll`,`showYScroll`,`filterBy`,`undoRedoStorageName`])e[t]&&u._communityMessages.push(t+` [option]`);return{interactive:!0,mode:`light`,lazyLoading:`auto`,enableDragDrop:!1,enableSearch:!1,enableAI:!1,enablePan:!0,keyNavigation:!1,miniMap:!1,controls:null,nodeMenu:null,nodeCircleMenu:null,nodeContextMenu:null,menu:null,toolbar:!1,nodeMouseClick:u.action.none,nodeMouseDbClick:u.action.none,mouseScrool:u.action.ctrlZoom,showXScroll:!1,showYScroll:!1,template:`ana`,tags:{},min:!1,nodeBinding:{},linkBinding:{},searchFields:null,searchDisplayField:null,searchFieldsWeight:null,searchFieldsAbbreviation:null,nodes:[],clinks:[],slinks:[],backdrops:[],groupDottedLines:[],dottedLines:[],undoRedoStorageName:null,levelSeparation:60,siblingSeparation:20,subtreeSeparation:40,backdropSeparation:15,mixedHierarchyNodesSeparation:15,assistantSeparation:100,minPartnerSeparation:50,partnerChildrenSplitSeparation:20,partnerNodeSeparation:15,columns:10,padding:30,orientation:u.orientation.top,layout:u.layout.normal,layoutGridColumns:`dynamic`,scaleInitial:u.match.boundaryIfOutside,movable:null,scaleMin:.1,scaleMax:5,orderBy:null,editUI:null,aiUI:null,orgScribeUI:null,powerPointPreviewUI:null,pdfPreviewUI:null,svgPreviewUI:null,pngPreviewUI:null,filterUI:null,searchUI:null,xScrollUI:null,yScrollUI:null,nodeMenuUI:null,controlsUI:null,nodeCircleMenuUI:null,nodeContextMenuUI:null,toolbarUI:null,notifierUI:null,menuUI:null,undoRedoUI:null,exportUrl:null,serverUrl:null,aiChatTools:[],collapse:{},expand:{},align:u.CENTER,UI:null,anim:{func:u.anim.outPow,duration:200},zoom:{speed:120,smooth:12},roots:null,state:null,editForm:null}},u.prototype.__mouseScrollHandlerTreeList=function(){},u.prototype._treeListUpdate=function(){},u.prototype._treeListIterate2=function(){},u.prototype._treeListSetPositions=function(){},u.prototype._treeListThumbMouseDownHandler=function(){},u.prototype._treeListExpandCollapseHandler=function(e){},u===void 0&&(u={}),u.local={},u.local._setPositions=function(e,t,n){u.local._walk(e,t),n()},u.local._walk=function(e,t){for(var n={minX:null,minY:null,maxX:null,maxY:null},r=[],i=[],a=0;a<e.length;a++){var o=u.local._getConfig(e[a],t);u.local._firstWalk(e[a],0,r,i,o)}for(var a=0;a<e.length;a++){var o=u.local._getConfig(e[a],t);u.local._secondWalk(e[a],0,0,0,r,n,o)}},u.local._firstWalk=function(e,t,n,r,i){var a=null;if(e.x=0,e.y=0,e._prelim=0,e._modifier=0,e.leftNeighbor=null,e.rightNeighbor=null,u.local._setLevelMaxNodeHeight(e,t,n,i),u.local._setNeighbors(e,t,r),!u.local._hasChildren(e)||t==u.MAX_DEPTH)if(a=u.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+u.local._nodeWithPartnersSize(a,i)+o}else e._prelim=0;else{for(var s of e.children)u.local._firstWalk(s,t+1,n,r,i);var c=u.local._fChild(e),l=e.children[e.children.length-1],d=c._prelim+(l._prelim-c._prelim)/2+u.local._leftMidPoint(l,i);if(d-=u.local._mid(e,i),a=u.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+u.local._nodeWithPartnersSize(a,i)+o,e._modifier=e._prelim-d,u.local._apportion(e,t,n,i)}else i.orientation<=3?e._prelim=d:e._prelim=0}},u.local._secondWalk=function(e,t,n,r,i,a,o){if(t<=u.MAX_DEPTH){var s=e._prelim+n,c=r,l=0,d=0;switch(l=i[t],d=u.local._getNodeHeight(e,o),e.x=s,e.y=c,o.orientation){case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:var f=e.x;e.x=e.y,e.y=f;break}switch(o.orientation){case u.orientation.bottom:case u.orientation.bottom_left:e.y=-e.y-d;break;case u.orientation.right:case u.orientation.right_top:e.x=-e.x-d;break}if(u._setMinMaxXY(e,a,!0),e.children!=0){var p=o.levelSeparation;u.local._secondWalk(e.children[0],t+1,n+e._modifier,r+l+p,i,a,o)}var m=u.local._getRightSibling(e);m!=null&&u.local._secondWalk(m,t,n,r,i,a,o)}},u.local._lastWalk=function(e,t,n,r,i){e.x+=t+i[3]-r.minX,e.y+=n+i[0]-r.minY;for(var a of e.children)u.local._lastWalk(a,t,n,r,i)},u.local._apportion=function(e,t,n,r){for(var i=u.local._fChild(e),a=i.leftNeighbor,o=1,s=u.MAX_DEPTH-t;i!=null&&a!=null&&o<=s;){for(var c=0,l=0,d=i,f=a,p=0;p<o;p++)d=d.parent,f=f.parent,c+=d._modifier,l+=f._modifier;var m=r.subtreeSeparation;e.leftNeighbor&&e.parent==e.leftNeighbor.parent&&typeof e.leftNeighbor.id==`string`&&e.leftNeighbor.id.indexOf(`_sublevel_layout_`)!=-1&&(m=r.subtreeSeparation);var h=a._prelim+l+u.local._nodeWithPartnersSize(a,r)+m-(i._prelim+c);if(h>0){for(var g=e,_=0;g!=null&&g!=f;g=u.local._getLeftSibling(g))_++;if(g!=null){var v=e,y=h/_;for(typeof v.id==`string`&&v.id.indexOf(`_grid_pseudo_node_`)!=-1&&(y=0);v!=f;v=u.local._getLeftSibling(v))v._prelim+=h,v._modifier+=h,h-=y}}o++,i=u.local._hasChildren(i)?u.local._fChild(i):u.local._getLeftmost(e,0,o),i!=null&&(a=i.leftNeighbor)}},u.local._mixedTreeHeight=function(e){e.size+=u.local._getNodeHeight(e.node,e.config)+e.config.mixedHierarchyNodesSeparation;for(var t=0;t<e.node.children.length;t++)e.node=e.node.children[t],u.local._mixedTreeHeight(e)},u.local._setLevelMaxNodeHeight=function(e,t,n,r){n[t]??(n[t]=0);var i=u.local._getNodeHeight(e,r);n[t]<i&&(n[t]=i)},u.local._setNeighbors=function(e,t,n){n[t]&&n[t].id===e.id||(e.leftNeighbor=n[t],e.leftNeighbor!=null&&(e.leftNeighbor.rightNeighbor=e),n[t]=e)},u.local._nodeWithPartnersSize=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h}return 0},u.local._size=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h}return 0},u.local._leftMidPoint=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w/2;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h/2}return 0},u.local._rightMidPoint=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w/2;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h/2}return 0},u.local._mid=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.w/2;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.h/2}return 0},u.local._getNodeHeight=function(e,t){switch(t.orientation){case u.orientation.top:case u.orientation.top_left:case u.orientation.bottom:case u.orientation.bottom_left:return e.h;case u.orientation.right:case u.orientation.right_top:case u.orientation.left:case u.orientation.left_top:return e.w}return 0},u.local._getLeftSibling=function(e){return e.leftNeighbor!=null&&e.leftNeighbor.parent==e.parent?e.leftNeighbor:null},u.local._getRightSibling=function(e){return e.rightNeighbor!=null&&e.rightNeighbor.parent==e.parent?e.rightNeighbor:null},u.local._getLeftmost=function(e,t,n){if(t>=n)return e;if(!u.local._hasChildren(e))return null;for(var r of e.children){var i=u.local._getLeftmost(r,t+1,n);if(i!=null)return i}return null},u.local._fChild=function(e){return e.children[0]},u.local._hasChildren=function(e){for(var t=0;t<e.children.length;t++)return!0;return!1},u.local._getConfig=function(e,t){return t[e.lcn?e.lcn:`base`]},u.editUI=function(){},u.editUI.prototype.init=function(){},u.editUI.prototype.on=function(e,t){return u._communityMethod(`editUI.on`),this},u.editUI.prototype.show=function(e,t,n){u._communityMethod(`editUI.show`)},u.editUI.prototype.setAvatar=function(e){u._communityMethod(`editUI.setAvatar`)},u.editUI.prototype.hide=function(e){},u.menuUI=function(){},u.menuUI.prototype.init=function(){},u.menuUI.prototype.showStickIn=function(){u._communityMethod(`menuUI.showStickIn`)},u.menuUI.prototype.show=function(){u._communityMethod(`menuUI.show`)},u.menuUI.prototype.isVisible=function(){u._communityMethod(`menuUI.isVisible`)},u.menuUI.prototype.hide=function(){},u.menuUI.prototype.on=function(){u._communityMethod(`menuUI.on`)},u.controlsUI=function(){},u.controlsUI.prototype.init=function(){},u.controlsUI.prototype.show=function(){u._communityMethod(`controlsUI.show`)},u.controlsUI.prototype.hide=function(){u._communityMethod(`controlsUI.hide`)},u.circleMenuUI=function(){},u.circleMenuUI.prototype.init=function(){},u.circleMenuUI.prototype.show=function(){u._communityMethod(`circleMenuUI.show`)},u.circleMenuUI.prototype.isVisible=function(){u._communityMethod(`circleMenuUI.isVisible`)},u.circleMenuUI.prototype.hide=function(){},u.circleMenuUI.prototype.on=function(){return u._communityMethod(`circleMenuUI.on`),this},u.toolbarUI=function(){},u.toolbarUI.expandAllIcon=``,u.toolbarUI.fitIcon=``,u.toolbarUI.openFullScreenIcon=``,u.toolbarUI.closeFullScreenIcon=``,u.toolbarUI.zoomInIcon=``,u.toolbarUI.zoomOutIcon=``,u.toolbarUI.layoutIcon=``,u.toolbarUI.prototype.init=function(){},u.toolbarUI.prototype.showLayout=function(){},u.toolbarUI.prototype.hideLayout=function(){},u.prototype.importCSV=function(){u._communityMethod(`importCSV`)},u.prototype.importXML=function(){u._communityMethod(`importXML`)},u.searchUI=function(){},u.searchUI.prototype.init=function(e){},u.searchUI.prototype._enterHandler=function(){u._communityMethod(`searchUI._enterHandler`)},u.searchUI.prototype.find=function(e){u._communityMethod(`searchUI.find`)},u.searchUI.prototype.addMatchTag=function(e){},u.searchUI.prototype.__search=function(){},u.searchUI.prototype._search=function(){},u.searchUI.prototype.helpView=function(){u._communityMethod(`searchUI.helpView`)},u.searchUI.createItem=function(e,t,n,r){u._communityMethod(`searchUI.createItem`)},u.searchUI.prototype.hide=function(){u._communityMethod(`searchUI.hide`)},u.searchUI.prototype.on=function(e,t){return u._communityMethod(`searchUI.on`),this},u.xScrollUI=function(e,t,n,r,i){this.config=t},u.xScrollUI.prototype.addListener=function(e){},u.xScrollUI.prototype.create=function(e){},u.xScrollUI.prototype.setPosition=function(){},u.yScrollUI=function(e,t,n,r,i){this.config=t},u.yScrollUI.prototype.addListener=function(e){},u.yScrollUI.prototype.create=function(e){},u.yScrollUI.prototype.setPosition=function(){},u===void 0&&(u={}),u.clinkLabelPosition=function(){},u.clinkCurve=function(){},u.prototype.addClink=function(){return u._communityMethod(`addClink`),this},u.prototype.removeClink=function(){return u._communityMethod(`removeClink`),this},u.clinkTemplates={},u.clinkTemplates.orange={defs:``,link:``,label:``},u.clinkTemplates.blue={defs:``,link:``,label:``},u.clinkTemplates.yellow={defs:``,link:``,label:``},u===void 0&&(u={}),u.prototype._slinks=function(){u._communityMethod(`_slinks`)},u.prototype.addSlink=function(){return u._communityMethod(`addSlink`),this},u.prototype.removeSlink=function(e,t){return u._communityMethod(`removeSlink`),this},u.slinkTemplates={},u.slinkTemplates.orange={defs:``,link:``,label:``,labelPosition:``},u.slinkTemplates.blue={defs:``,link:``,label:``,labelPosition:``},u.slinkTemplates.yellow={defs:``,link:``,label:``,labelPosition:``},u.orgScribeUI=function(){},u.orgScribeUI.prototype.init=function(e){},u.orgScribeUI.prototype.isVisible=function(){u._communityMethod(`orgScribeUI.isVisible`)},u.orgScribeUI.prototype.show=function(e,t){u._communityMethod(`orgScribeUI.show`)},u.orgScribeUI.prototype.hide=function(){u._communityMethod(`orgScribeUI.hide`)},u===void 0&&(u={}),u.prototype.undo=function(e){u._communityMethod(`undo`)},u.prototype.redo=function(e){u._communityMethod(`redo`)},u.prototype.clearRedo=function(){},u.prototype.clearUndo=function(){u._communityMethod(`clearUndo`)},u.prototype.undoStepsCount=function(){u._communityMethod(`undoStepsCount`)},u.prototype.redoStepsCount=function(){u._communityMethod(`redoStepsCount`)},u.prototype._putInUndoStack=function(){},u.prototype._putInRedoStack=function(){},u===void 0&&(u={}),u.undoRedoUI=function(){},u.undoRedoUI.prototype.init=function(e){},u.undoRedoUI.prototype.refresh=function(){u._communityMethod(`undoRedoUI.refresh`)},u.undoRedoUI.prototype.on=function(e,t){return u._communityMethod(`undoRedoUI.on`),this},u.undoRedoUI.prototype.onChange=function(e){u._communityMethod(`undoRedoUI.onChange`)},u.miniMap={},u.miniMap.colors=[],u.miniMap.selectorBackgroundColor=``,u.miniMap.backgroundColor=``,u.miniMap.focusStroke=``,u.miniMap.opacity=0,u.miniMap.border=``,u.miniMap.width=0,u.miniMap.height=0,u.miniMap.padding=0,u.miniMap.position={top:void 0,left:void 0,right:void 0,bottom:void 0},u.miniMap.draggable=!0,u.state={},u.state._buildStateNames=function(e){return{paramScale:e+`-scale`,paramX:e+`-x`,paramY:e+`-y`,paramExp:e+`-exp`,paramMin:e+`-min`,paramRoots:e+`-roots`,paramAdjustify:e+`-adjustify`}},u.state._put=function(e,t,n,r,i,a,o,s){},u.state._get=function(e,t,n,r){r(null)},u.state.clear=function(e){},u._search={},u._search.search=function(){u._communityMethod(`searchUI.search`)},u._search.addNodeToResult=function(){u._communityMethod(`searchUI.addNodeToResult`)},u._search.searchAndComputeScore=function(){u._communityMethod(`searchUI.searchAndComputeScore`)},u._search.searchIndexesOf=function(){u._communityMethod(`searchUI.searchIndexesOf`)},u.filterUI=function(){},u.filterUI.prototype.init=function(e){},u.filterUI.prototype.addFilterTag=function(e){},u.filterUI.prototype.show=function(e){u._communityMethod(`filterUI.show`)},u.filterUI.prototype.hide=function(){},u.filterUI.prototype._removeFilter=function(e){},u.filterUI.prototype.update=function(){},u.filterUI.prototype.on=function(e,t){u._communityMethod(`filterUI.on`)},u.filterUI.textFilterBy=``,u.filterUI.all=``,u.prototype.exportToPDFProfile=function(){u._communityMethod(`exportToPDFProfile`)},u.prototype.exportToVisio=function(){u._communityMethod(`exportToVisio`)},u.prototype.exportToPDF=function(){u._communityMethod(`exportToPDF`)},u.prototype.exportToPNG=function(){u._communityMethod(`exportToPNG`)},u.prototype.exportToSVG=function(){u._communityMethod(`exportToSVG`)},u.prototype.exportToPowerPoint=function(){u._communityMethod(`exportToPowerPoint`)},u.exportUI=function(){},u.exportUI.prototype.init=function(){},u.exportUI.prototype.show=function(e){u._communityMethod(`exportUI.show`)},u.exportUI.prototype.isVisible=function(){u._communityMethod(`exportUI.isVisible`)},u.exportUI.prototype.hide=function(){},u.exportUI.prototype.refresh=function(){u._communityMethod(`exportUI.refresh`)},u.exportUI.prototype.toggleLanscape=function(){u._communityMethod(`exportUI.toggleLanscape`)},u.exportUI.prototype.addPage=function(){u._communityMethod(`exportUI.addPage`)},u.exportUI.prototype.removePage=function(){u._communityMethod(`exportUI.removePage`)},u.exportUI.prototype.toggelePrintTreeOrProfile=function(){u._communityMethod(`exportUI.toggelePrintTreeOrProfile`)},u.exportUI.prototype.selectPage=function(e){u._communityMethod(`exportUI.selectPage`)};var d=u,f={divToEmployees:function(e){let t=[],n=1;function r(e,i){let a=n++,o={id:a};i!==void 0&&(o.pid=i),Array.from(e.attributes).forEach(e=>{let t=e.name.replace(`data-`,``),n=e.value;t===`assistant`||t===`partner`?n===`true`&&(o.tags||=[],o.tags.push(t)):o[t]=n}),t.push(o),Array.from(e.children).forEach(e=>{r(e,a)})}return Array.from(e.children).forEach(e=>r(e)),t}},p=function({children:e,title:t,name:r,photo:i,assistant:a,partner:o,...s}){return(0,n.jsx)(`div`,{...Object.keys(s).reduce((e,t)=>(e[`data-${t}`]=s[t],e),{}),"data-title":t,"data-name":r,"data-photo":i,"data-assistant":a,"data-partner":o,children:e})},m=(0,t.forwardRef)((e,r)=>{let i=(0,t.useRef)(null),a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(i.current&&!a.current){let t=f.divToEmployees(i.current),n=e?.data;t&&!n&&(n=t);let o={...e,nodes:n},s=new d(i.current,o);a.current=s,typeof r==`function`?r(s):r&&(r.current=s),e.onUpdateNode&&s.onUpdateNode(e.onUpdateNode)}},[]),(0,t.useEffect)(()=>{a.current&&e.data&&e.data.length>0&&a.current.load(e.data)},[e.data]),(0,n.jsx)(`div`,{ref:i,style:{width:`100%`,height:`600px`,...e?.style},children:e?.children})});e.Employee=p,e.OrgChartReact=m});
474
+ </div>`,this.instance.leftElement.appendChild(this.element),this.instance.leftElement.style.display=`block`,h.input.init(this.element);var n=this.instance.leftElement.querySelector(`[data-boc-ai-close] svg`);n&&n.addEventListener(`click`,function(t){e.hide()}),this.inputElement=this.element.querySelector(`#`+t),this.btnSendElement=this.inputElement.parentNode.querySelector(`[data-boc-ai-send]`),this.messagesElement=this.element.querySelector(`[data-boc-ai-messages]`),this.inputElement.addEventListener(`input`,function(e){this.value?this.parentNode.querySelector(`.boc-ai-send`).classList.add(`boc-ai-send-cansend`):this.parentNode.querySelector(`.boc-ai-send`).classList.remove(`boc-ai-send-cansend`)}),this.element.querySelector(`[data-boc-ai-send]`).addEventListener(`click`,function(t){e.sendUserInput()}),this.inputElement.addEventListener(`keyup`,function(t){var n=window.event?window.event:t;switch(e.canSetContext||(e.canSetContext=!0,e.instance._ai.setContext()),n.key){case`Enter`:e.sendUserInput();break;case`ArrowUp`:var r=h.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=r.length-1:i--,i==-1&&(i=r.length-1),e.inputElement.value=r[i]}break;case`ArrowDown`:var r=h.aiUI._getSuggestions();if(r.length){var i=r.indexOf(e.inputElement.value);i==-1?i=0:i++,i==r.length&&(i=0),e.inputElement.value=r[i]}break;default:}})}},h.aiUI.prototype.addUserMessage=function(e){this.btnSendElement.classList.remove(`boc-ai-send-cansend`);var t=this.element.querySelector(`.boc-ai-start`);t&&(t.classList.remove(`boc-ai-start`),this.messagesElement.innerHTML=``);var n=document.createElement(`div`);n.classList.add(`boc-ai-user-message`),n.innerHTML=`<span class="boc-inner-user-message">${e}</span>`,this.messagesElement.appendChild(n)},h.aiUI.prototype.hide=function(){this.instance.leftElement.style.display=`none`,this.element&&=(this.element.parentNode.removeChild(this.element),null)},h.aiUI.prototype.sendUserInput=function(){var e=this;h.aiUI._addSuggestion(this.inputElement.value),this.addUserMessage(this.inputElement.value);var t=document.createElement(`div`);t.classList.add(`boc-ai-assistant-message`);var n=document.createElement(`span`);n.classList.add(`boc-inner-assistant-message`),t.appendChild(n),this.messagesElement.appendChild(t);var r=``;this.instance._ai.prompt(this.inputElement.value,function(t){r+=t,n.innerHTML=marked.parse(r);var i=e.element.querySelector(`.boc-ai-middle`);i.scrollTo(0,i.scrollHeight)}),this.inputElement.value=``},h.aiUI._addSuggestion=function(e){e=e.trim();var t=h.aiUI._getSuggestions(),n=t.indexOf(e);n!=-1&&t.splice(n,1),t.push(e),localStorage.setItem(`suggestions`,JSON.stringify(t))},h.aiUI._getSuggestions=function(){var e=localStorage.getItem(`suggestions`);return e=e?JSON.parse(e):[],e},h===void 0&&(h={}),h.events.on(`init`,function(e,t){if(e.config.keyNavigation&&(window.addEventListener(`keydown`,function(){e._windowKeyDownHandler.apply(e,[this,arguments[0]])}),h.isNEU(e._keyNavigationActiveNodeId)&&e.roots&&e.roots.length)){var n=e.roots[0].id;h.isNEU(e.config.keyNavigation.focusId)||(n=e.config.keyNavigation.focusId),e._keyNavigationActiveNodeId=n,e.center(e._keyNavigationActiveNodeId)}}),h.prototype._windowKeyDownHandler=function(e,t){for(var n=t.target,r=null;n&&n!=this.element;){if(n.hasAttribute&&n.hasAttribute(h.attr.node_id)){r=n.getAttribute(h.attr.node_id);break}n=n.parentNode}if(n){var i=r?this.getNode(r):null,a={node:i,data:r?this.get(r):null,event:t};if(h.events.publish(`key-down`,[this,a])!==!1&&i){if(t.code==`KeyF`)this.searchUI.find(``);else if(t.code==`ArrowRight`||i.isAssistant&&t.code==`ArrowDown`||i.isPartner&&t.code==`ArrowDown`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s++,s<o.childrenIds.length){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowLeft`){var o=this.getNode(i.pid);if(o){var s=o.childrenIds.indexOf(i.id);if(s--,s>=0){var c=o.childrenIds[s];this._keyNavigationActiveNodeId=c,this.center(c)}}}else if(t.code==`ArrowUp`){var o=this.getNode(i.pid);if(o){var c=o.id;if(i.isAssistant||o.hasAssistants||i.isPartner||o.hasPartners){var s=o.childrenIds.indexOf(i.id);s--,s>=0&&(c=o.childrenIds[s])}this._keyNavigationActiveNodeId=c,this.center(c)}}else if(t.code==`ArrowDown`)i.childrenIds.length&&(this._keyNavigationActiveNodeId=i.childrenIds[0],this.center(i.childrenIds[0]));else if(t.code==`Space`){var l=n.getAttribute(h.attr.node_id);this.toggleExpandCollapse(l,t);return}}}},h.events.on(`redraw`,function(e,t){e.config.keyNavigation&&h._keyNavigation(e)}),h.events.on(`click`,function(e,t){e.config&&e.config.keyNavigation&&(e._keyNavigationActiveNodeId=t.node.id,e.center(t.node.id))}),h._keyNavigation=function(e){var t=e.element.querySelector(`:focus`);if(t&&t.parentElement&&t.parentElement.hasAttribute(h.attr.node_id)){var n=t.parentElement,r=t,i=r.querySelector(`title`);i&&i.parentNode.removeChild(i),r.removeAttribute(`tabindex`)}if(!h.isNEU(e._keyNavigationActiveNodeId)){var n=e.getNodeElement(e._keyNavigationActiveNodeId);if(!(!n||!n.children.length)){var r=n.children[0];r.setAttribute(`tabindex`,2);var a={text:``,id:e._keyNavigationActiveNodeId};if(h.events.publish(`screen-reader-text`,[e,a]),!h.isNEU(a.text)){var i=document.createElementNS(`http://www.w3.org/2000/svg`,`title`);i.innerHTML=a.text,r.appendChild(i)}h.SEARCH_CLOSE_RESULT_ON_ESCAPE_OR_CLICKOUTSIDE&&e.searchUI.hide(),r.focus()}}},h.ui.css=function(){return`<style data-boc-styles>.boc-ai-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-ai-form{color:#aeaeae}.boc-light .boc-ai-form{color:#757575}.boc-ai-messages{font-size:16px}@media screen and (max-width:500px){.boc-ai-form{width:100%}}.boc-dark .boc-ai-form{background-color:#252526}.boc-light .boc-ai-form{background-color:#fff}.boc-ai-button{font-size:32px;position:absolute;top:20px;left:20px;cursor:pointer;padding:12px;border-radius:50%;user-select:none}.boc-dark .boc-ai-button{color:#aeaeae}.boc-light .boc-ai-button{color:#757575}.boc-ai-button:hover{color:#fff;background-color:#039be5}.boc-ai-container{padding:0 14px;display:grid;grid-template-rows:40px auto 80px;gap:10px;height:100%}.boc-ai-container .boc-input input{padding-right:50px}.boc-ai-close{text-align:end;margin-top:20px}.boc-ai-close svg{cursor:pointer}.boc-ai-start{text-align:center;display:flex;justify-content:center;align-items:center;user-select:none}.boc-ai-start span{font-weight:700;font-size:32px;font:"Segoe UI",Arial,sans-serif;background:linear-gradient(90deg,#039be5 28%,#f57c00,#ffca28);color:transparent!important;background-clip:text;display:inline-block;padding:10px 0}.boc-ai-send.boc-ai-send-cansend{cursor:pointer;background-color:#039be5}.boc-ai-send.boc-ai-send-cansend:hover{background-color:#f57c00}.boc-ai-send.boc-ai-send-cansend:active{background-color:#ffca28}.boc-ai-send{background-color:transparent;position:absolute;right:7px;top:7px;width:38px;height:38px;border-radius:50%;text-align:center;background-repeat:no-repeat;background-position:center;background-size:20px 20px}.boc-ai-send svg{display:block;margin:auto;height:100%}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.boc-ai-middle{overflow-y:auto}.boc-ai-middle::-webkit-scrollbar{display:none}.boc-button{background-color:#039be5;cursor:pointer;width:calc(100%);height:50px;color:#fff;padding-top:5px;padding-left:7px;padding-right:7px;text-align:center;text-transform:uppercase;border:1px solid #3fc0ff;display:inline-block;border-radius:5px}.boc-button.orange{background-color:#f57c00;border:1px solid #ffa03e}.boc-button.yellow{background-color:#ffca28;border:1px solid #ffdf7c}.boc-button.lower{text-transform:unset}.boc-button.transparent{background-color:transparent}.boc-button:hover{background-color:#35afea}.boc-button.orange:hover{background-color:#f79632}.boc-button.yellow:hover{background-color:#ffd452}.boc-button:active{transform:matrix(.98,0,0,.98,0,0)}.boc-button-icon{text-align:initial;cursor:pointer;margin-bottom:15px;color:#039be5}.boc-dark .boc-button-icon:hover{background-color:#2d2d2d}.boc-light .boc-button-icon:hover{background-color:#ececec}.boc-button-icon>img{height:24px;width:24px;vertical-align:middle;padding:7px}.boc-button:focus{outline:0}.boc-button-icon>img{filter:invert(46%) sepia(66%) saturate(2530%) hue-rotate(171deg) brightness(95%) contrast(98%)}.boc-light .boc-button.transparent{color:#039be5}.boc-light .boc-button.transparent:hover{color:#fff}.boc-button-loading{background-color:transparent;cursor:pointer;width:calc(100% - 2px);height:50px;color:#fff;text-align:center;text-transform:uppercase;border:1px solid #027cb7;display:inline-block;display:flex;justify-content:center;align-items:center;display:none}.boc-button-loading .boc-loading-dots div{margin:0 10px}.boc-link-boc-button{position:absolute;right:10px;top:-1px}@media screen and (max-width:1000px){.boc-link-boc-button{right:50px}}[data-boc-input-disabled] .boc-link-boc-button{display:none}[dir=rtl] .boc-link-boc-button{left:10px;right:unset}.boc-img-button{width:48px;height:48px;cursor:pointer;border-radius:50%;background-color:#039be5;background-repeat:no-repeat;background-size:24px 24px;background-position:center center;margin:3px;display:inline-block}.boc-img-button:hover{background-color:#f57c00}.boc-checkbox{display:block;position:relative;padding-left:35px;margin-bottom:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.boc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.boc-checkbox-checkmark{position:absolute;top:0;left:0;height:25px;width:25px;border-radius:5px}.boc-dark [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-dark [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark,.boc-light [data-boc-input-disabled] .boc-checkbox-checkmark,.boc-light [data-boc-input-disabled].boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#aeaeae!important}[data-boc-input-disabled].boc-checkbox{cursor:default}[dir=rtl] .boc-checkbox-checkmark{right:0}[dir=rtl] .boc-checkbox{padding-left:unset;padding-right:35px}.boc-dark .boc-checkbox-checkmark{background-color:#333;border:1px solid #5b5b5b}.boc-light .boc-checkbox-checkmark{background-color:#fff;border:1px solid #c7c7c7}.boc-dark .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#3c3c3c}.boc-light .boc-checkbox:hover input~.boc-checkbox-checkmark{background-color:#f8f9f9}.boc-dark .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-light .boc-checkbox input:checked~.boc-checkbox-checkmark{background-color:#039be5}.boc-checkbox-checkmark:after{content:"";position:absolute;display:none}.boc-checkbox input:checked~.boc-checkbox-checkmark:after{display:block}.boc-checkbox .boc-checkbox-checkmark:after{left:9px;top:5px;width:5px;height:10px;border:solid #fff;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.boc-controls{display:flex;gap:7px;position:absolute}.boc-controls-top{left:unset;top:15px;right:50%;bottom:unset;transform:translateX(50%);flex-direction:row}.boc-controls-bottom{left:unset;top:unset;right:50%;bottom:15px;transform:translateX(50%);flex-direction:row}.boc-controls-left{left:15px;top:50%;right:unset;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-right{left:unset;top:50%;right:15px;bottom:unset;transform:translateY(-50%);flex-direction:column}.boc-controls-bottom_right,.boc-controls-right_bottom{left:unset;top:unset;right:15px;bottom:15px;flex-direction:row}.boc-controls-right_bottom{flex-direction:column}.boc-controls-right_top,.boc-controls-top_right{left:unset;top:15px;right:15px;bottom:unset;flex-direction:row}.boc-controls-right_top{flex-direction:column}.boc-controls-bottom_left,.boc-controls-left_bottom{left:15px;top:unset;right:unset;bottom:15px;flex-direction:row}.boc-controls-left_bottom{flex-direction:column}.boc-controls-left_top,.boc-controls-top_left{left:15px;top:15px;right:unset;bottom:unset;flex-direction:row}.boc-controls-left_top{flex-direction:column}.boc-controls [data-control-id] svg{display:block;margin:0 auto}.boc-controls [data-control-id]{display:flex;align-items:center;cursor:pointer;width:60px;height:60px;border-radius:30px;box-shadow:0 4px 30px rgba(0,0,0,.1);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.boc-light .boc-controls [data-control-id]{background:rgba(255,255,255,.2);border:1px solid #c7c7c7}.boc-dark .boc-controls [data-control-id]{background:rgba(30,30,30,.2);border:1px solid #5b5b5b}.boc-controls [data-control-id]:hover{background-color:#0074e8}.boc-controls [data-control-id]:hover svg{filter:brightness(0) invert(1)}.boc-controls [data-control-id].boc-control-selected{background-color:#0074e8}.boc-controls [data-control-id].boc-control-selected svg{filter:brightness(0) invert(1)}.boc-filter{user-select:none}.boc-light .boc-filter{color:#757575}.boc-dark .boc-filter{color:#ccc}.boc-filter>div>div{display:inline-block;padding:3px 10px;cursor:pointer}.boc-filter-menu fieldset,.boc-filter>div,.filter-field-selected{border-radius:5px}.boc-filter-menu fieldset{overflow-y:auto;max-height:300px}.boc-filter>div.boc-filter-menu{padding:10px}.boc-light .boc-filter>div.boc-filter-menu,.boc-light .filter-field-selected{background-color:#f8f9f9}.boc-dark .boc-filter>div.boc-filter-menu,.boc-dark .filter-field-selected{background-color:#3c3c3c}.boc-light .boc-filter>div{background-color:#eee}.boc-dark .boc-filter>div{background-color:#333}.boc-form-perspective{transform-style:preserve-3d;perspective:500px;position:absolute;top:32px}.boc-form{box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;padding:14px;transform-origin:top center;user-select:none;display:none;position:relative;max-height:calc(100vh - 100px);overflow-y:auto;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.boc-form-bottom{border-bottom-left-radius:unset;border-bottom-right-radius:unset;border-top-left-radius:5px;border-top-right-radius:5px}.boc-form .separator{margin:0 10px}@media screen and (max-width:1000px){.boc-form-perspective{min-width:100%;max-height:calc(100% - 32px);left:unset!important;right:unset!important;transform:none!important}.boc-form .set{max-height:calc(100vh - 74px)}.boc-form-fieldset{max-width:unset!important}}.boc-light .boc-form .separator{border-bottom:1px solid #c7c7c7}.boc-dark .boc-form .separator{border-bottom:1px solid #5b5b5b}.boc-light .boc-form{background-color:#fff}.boc-dark .boc-form{background-color:#252526}.boc-item{padding:6px 12px 6px 12px;display:flex;flex-direction:row}.boc-light .boc-form .boc-item.selected,.boc-light .boc-form .boc-item:hover{background-color:#0074e8;color:#fff}.boc-dark .boc-form .boc-item.selected,.boc-dark .boc-form .boc-item:hover{background-color:#094771;color:#fff}.boc-item.selected img,.boc-item:hover img{filter:invert(100%)}.boc-item.selected img{visibility:visible!important}.boc-form-fieldset{display:flex;flex-wrap:wrap;margin:0!important}.boc-form-field{flex:1 0 21%;margin:3px;min-width:200px}.boc-form-field-100{flex:1 0 96%;margin:3px;min-width:200px}.boc-input{position:relative}.boc-input>input,.boc-input>select{height:50px;padding:18px 10px 2px 9px;width:100%;box-sizing:border-box;border-style:solid;border-width:1px}.boc-input select{height:50px;padding:20px 5px 4px 5px}[data-boc-input-disabled].boc-input>input,[data-boc-input-disabled].boc-input>select{border-color:transparent!important}.boc-light [data-boc-input-disabled]>input,.boc-light [data-boc-input-disabled]>select{background-color:#fff!important}.boc-dark [data-boc-input-disabled]>input,.boc-dark [data-boc-input-disabled]>select{background-color:#252526!important}[data-boc-input-disabled]>select{appearance:none;padding-left:8px}.boc-input>label{display:inline-block;position:absolute;padding-left:10px;padding-right:10px;color:#acacac;cursor:text;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1 ease-out;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:initial;text-align:initial;white-space:nowrap}.boc-input>label{top:12px;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 14px)}.boc-input>label.focused,.boc-input>label.hasval{top:-1px}.boc-input>input,.boc-input>select{outline:0;border-radius:5px}.boc-dark .boc-input>label.focused,.boc-light .boc-input>label.focused{color:#039be5}.boc-dark .boc-input>input,.boc-dark .boc-input>select{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-input>input,.boc-light .boc-input>select{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-light .boc-input>input:focus,.boc-light .boc-input>select:focus{border-color:#039be5;background-color:#f8f9f9}.boc-dark .boc-input>input:focus,.boc-dark .boc-input>select:focus{border-color:#039be5;background-color:#3c3c3c}.boc-dark .boc-input>input.boc-validation-error,.boc-dark .boc-input>select.boc-validation-error,.boc-light .boc-input>input.boc-validation-error,.boc-light .boc-input>select.boc-validation-error{border-color:#ca2a2a}.boc-dark .boc-validation-error-message,.boc-light .boc-validation-error-message{color:#ca2a2a}.boc-input select.multiple{height:initial}.boc-link{color:#039be5;cursor:pointer;text-decoration:underline}.boc-link:hover{color:#f57c00}.boc-dark ::-webkit-scrollbar,.boc-light ::-webkit-scrollbar{width:15px;height:15px}.boc-dark ::-webkit-scrollbar-corner{background:#1e1e1e}.boc-dark ::-webkit-scrollbar-track{background:#1e1e1e;border-left:1px solid #333;border-top:1px solid #333}.boc-dark ::-webkit-scrollbar-thumb{background:#424242}.boc-dark ::-webkit-scrollbar-thumb:hover{background:#4f4f4f}.boc-dark ::-webkit-scrollbar-thumb:active{background:#5e5e5e}.boc-light ::-webkit-scrollbar-corner{background:#fff}.boc-light ::-webkit-scrollbar-track{background:#fff;border-left:1px solid #ddd;border-top:1px solid #ddd}.boc-light ::-webkit-scrollbar-thumb{background:#c1c1c1}.boc-light ::-webkit-scrollbar-thumb:hover{background:#929292}.boc-light ::-webkit-scrollbar-thumb:active{background:#666}.boc-edit-form{position:fixed;top:0;right:0;height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:1000px){.boc-edit-form{width:100%}}.boc-dark .boc-edit-form{background-color:#252526}.boc-light .boc-edit-form{background-color:#fff}.boc-edit-form-header{height:200px;text-align:center;border-radius:10px}.export-service .boc-edit-form-header{border-radius:unset}.boc-edit-form-title{color:#fff;margin:0;padding:14px 17px 7px 17px}.boc-edit-form-avatar{border-radius:50%;width:150px;height:150px;position:absolute;top:75px;border:5px solid #fff;left:50%;transform:translateX(-50%);background-color:#cacaca;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0}.boc-edit-form-close{position:absolute;right:14px;top:14px;width:34px;height:34px;cursor:pointer}.boc-edit-form-fields{flex-grow:1;overflow-y:auto;overflow-x:hidden}.boc-edit-form-fields-inner{margin:0 7px 20px 7px}.boc-ai-user-message{text-align:end;margin:14px 0}.boc-inner-user-message{padding:7px;border-radius:7px;display:inline-block}.dark .boc-inner-user-message{background-color:#333}.light .boc-inner-user-message{background-color:#f9f9f9}.boc-export-form{box-shadow:rgba(0,0,0,.2) 0 -6px 6px 0,rgba(0,0,0,.19) 0 -13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}.boc-dark .boc-export-form{color:#aeaeae;background-color:#252526}.boc-light .boc-export-form{color:#757575;background-color:#eee}@media screen and (max-width:500px){.boc-export-form{width:100%}}.boc-export-container{display:grid;grid-template-rows:40px auto;gap:10px;height:100%}.boc-export-page{width:100%;border:1px solid #aeaeae;display:flex;justify-content:center;align-items:center;user-select:none;position:relative}.boc-export-selected{border:1px solid #ffca28}.boc-export-middle{overflow-y:auto;overflow-x:hidden;padding:0 3px 0 0;margin-bottom:10px}.boc-export-btns-inner{padding-top:14px;display:flex;justify-content:space-between}.boc-export-left{justify-content:flex-start}.boc-export-right{justify-content:flex-end}.boc-export-left,.boc-export-right{user-select:none}.boc-export-select{position:absolute;top:0;left:0;text-align:center;width:100%}.boc-export-child-buttons{position:absolute;bottom:7px;left:7px;display:none}.boc-export-page:hover .boc-export-child-buttons{display:initial}.boc-export-parent-buttons{position:absolute;top:7px;left:7px;display:none}.boc-export-page:hover .boc-export-parent-buttons{display:initial}.boc-export-remove-buttons{position:absolute;bottom:7px;right:7px;display:none}.boc-export-page:hover .boc-export-remove-buttons{display:initial}.boc-export-child-buttons button,.boc-export-parent-buttons button{width:23px}.boc-export-profiletree-buttons{position:absolute;top:7px;right:7px;display:none}.boc-export-page:hover .boc-export-profiletree-buttons{display:initial}.boc-export-middle-inner{display:grid;gap:10px;margin:0 10px}.boc-export-btns-inner{margin:0 10px}.boc-chart-menu{opacity:0;display:inline-block;position:absolute;text-align:left;user-select:none;min-width:270px;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0,rgba(0,0,0,.19) 0 6px 20px 0;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif;border-radius:10px}.boc-chart-menu>div:hover img{filter:invert(100%)}.boc-chart-menu [data-item]{text-align:start;padding:7px 10px}.boc-dark .boc-chart-menu [data-item]{background-color:#252526;color:#acacac;border-bottom:1px solid #333}.boc-dark .boc-chart-menu [data-item]:hover{background-color:#094771!important;color:#fff!important}.boc-dark .boc-chart-menu [data-item]:hover svg{filter:brightness(0) invert(1)}.boc-light .boc-chart-menu [data-item]{background-color:#fff;color:#333;border-bottom:1px solid #c7c7c7}.boc-light .boc-chart-menu [data-item]:hover{background-color:#0074e8!important;color:#fff!important}.boc-light .boc-chart-menu [data-item]:hover svg{filter:brightness(0) invert(1)}.boc-chart-menu [data-item] svg{vertical-align:middle}.boc-chart-menu [data-item]:first-child{border-top-left-radius:7px;border-top-right-radius:7px}.boc-chart-menu [data-item]:last-child{border-bottom-width:0;border-bottom-style:none;border-bottom-left-radius:7px;border-bottom-right-radius:7px}.boc-orgscribe-form{height:100%;width:100%;box-shadow:rgba(0,0,0,.2) 0 6px 6px 0,rgba(0,0,0,.19) 0 13px 20px 0;display:flex;flex-direction:column;height:100%;width:400px}@media screen and (max-width:500px){.boc-orgscribe-form{width:100%}}.boc-dark .boc-orgscribe-form{background-color:#252526}.boc-light .boc-orgscribe-form{background-color:#fff}.boc-orgscribe-container{padding:0 14px;display:grid;grid-template-rows:40px auto 10px;gap:10px;height:100%}.boc-orgscribe-container .boc-input input{padding-right:50px}.boc-orgscribe-close{text-align:end;margin-top:20px}.boc-orgscribe-close svg{cursor:pointer}.boc-orgscribe-txt{width:100%;height:100%;box-sizing:border-box;border-style:solid;border-width:1px;outline:0;border-radius:5px;font-size:24px}.boc-dark .boc-orgscribe-txt{color:#ccc;background-color:#333;border-color:#5b5b5b}.boc-light .boc-orgscribe-txt{color:#757575;background-color:#fff;border-color:#c7c7c7}.boc-search{position:absolute}@media screen and (max-width:500px){.boc-search{width:calc(100% - 30px);left:15px}}.boc-search .boc-input{margin-bottom:0}.boc-search-input{color:#7a7a7a;width:100%;border:none;outline:0;padding-top:10px;padding-right:47px}.boc-search-image-td{width:43px}.boc-search-text-td{padding-inline-end:7px;line-height:15px;text-align:start}.boc-search table{box-shadow:rgba(0,0,0,.2) 0 4px 8px 0,rgba(0,0,0,.19) 0 6px 20px 0;margin:0 3.5px 0 3.5px;width:calc(100% - 7px);border-radius:7px}.boc-search table tr:first-child td:first-child{border-top-left-radius:7px}.boc-search table tr:first-child td:last-child{border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:first-child{border-top-left-radius:unset;border-top-right-radius:7px}[dir=rtl] .boc-search table tr:first-child td:last-child{border-top-right-radius:unset;border-top-left-radius:7px}.boc-search table tr:last-child td:first-child{border-bottom-left-radius:7px}.boc-search table tr:last-child td:last-child{border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:first-child{border-bottom-left-radius:unset;border-bottom-right-radius:7px}[dir=rtl] .boc-search table tr:last-child td:last-child{border-bottom-right-radius:unset;border-bottom-left-radius:7px}.boc-dark .boc-search table{background-color:#252526;color:#acacac}.boc-search [data-search-item-id]{cursor:pointer}.boc-search-photo{margin:7px 7px 0 7px;width:32px;height:32px;background-size:cover;background-position:top center;border-radius:50%;display:inline-block;border:1px solid #8c8c8c}.boc-search [data-search-item-id]:hover .boc-link{color:#ffca28}.boc-search [data-search-item-id]:hover .boc-link:hover{color:#f57c00}.boc-dark .boc-search [data-search-item-id] td{border-top:1px solid #333}.boc-dark .boc-search [data-search-item-id]:hover,.boc-dark .boc-search [data-selected=yes]{background-color:#094771;color:#fff}.boc-light .boc-search table{background-color:#fff;color:#333}.boc-light .boc-search [data-search-item-id] td{border-top:1px solid #c7c7c7}.boc-light .boc-search [data-search-item-id]:hover,.boc-light .boc-search [data-selected=yes]{background-color:#0074e8;color:#fff}.boc-search [data-search-item-id]:first-child td{border-top:unset}.boc-ripple-container{position:absolute;top:0;right:0;bottom:0;left:0}.boc-drag-over rect{opacity:.5}.boc-ripple-container span{transform:scale(0);border-radius:100%;position:absolute;opacity:.75;background-color:#fff;animation:boc-ripple 1s}@-moz-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-webkit-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@-o-keyframes boc-ripple{to{opacity:0;transform:scale(2)}}@keyframes boc-ripple{to{opacity:0;transform:scale(2)}}.boc-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.boc-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.boc-slider.round{border-radius:24px}.boc-slider.round:before{border-radius:50%}svg text:hover{cursor:default}svg.boc-cursor-grab,svg.boc-cursor-grab text:hover{cursor:grab}svg.boc-cursor-nodrop,svg.boc-cursor-nodrop text:hover{cursor:no-drop}svg.boc-cursor-copy,svg.boc-cursor-copy text:hover{cursor:copy}svg.boc-cursor-move,svg.boc-cursor-move text:hover{cursor:move}#boc-close-btn:focus,#boc-close-btn:hover{color:#000;text-decoration:none;cursor:pointer}#boc-id-select:focus{outline:.5px solid #aeaeae}#boc-sampleDialog #title:hover{cursor:default;background:gray}.boc-light{background-color:#fff;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark{background-color:#1e1e1e;font:13px/28px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark input,.boc-dark select,.boc-light input,.boc-light select{font:16px Helvetica,"Segoe UI",Arial,sans-serif}.boc-dark h1,.boc-light h1{font-size:30px;line-height:1}.boc-light [data-boc-content]::backdrop{background-color:#fff}.boc-dark [data-boc-content]::backdrop{background-color:#1e1e1e}.boc-dark text,.boc-light text{user-select:none}.boc-edit-form{position:absolute;border-radius:10px}.export-service .boc-edit-form{border-radius:unset}.boc-dark .boc-edit-form{color:#acacac}.boc-light .boc-edit-form{color:#333}.boc-dark ::-webkit-calendar-picker-indicator{filter:invert(70%)}.boc-light ::-webkit-calendar-picker-indicator{filter:invert(50%)}.boc-edit-form-instruments{margin:42px 10px 0 10px;text-align:center;min-height:70px}.boc-img-button svg{position:relative;top:12px}.boc-light .boc-toolbar-container svg circle,.boc-light .boc-toolbar-container svg line,.boc-light .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg circle,.boc-dark .boc-toolbar-container svg line,.boc-dark .boc-toolbar-container svg path{stroke:#8c8c8c!important}.boc-dark .boc-toolbar-container svg rect{fill:#252526!important}.boc-dark .boc-toolbar-container [data-tlbr=minus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-bottom:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr=plus] svg{border-left:1px solid #5b5b5b!important;border-right:1px solid #5b5b5b!important;border-top:1px solid #5b5b5b!important}.boc-dark .boc-toolbar-container [data-tlbr]>svg{border:1px solid #5b5b5b!important;background-color:#252526!important}.boc-toolbar-layout{height:123px;padding-top:20px;position:absolute;width:100%;left:"0";bottom:"-145px"}.boc-light .boc-toolbar-layout{border-top:1px solid #c7c7c7;background-color:#f9f9f9}.boc-dark .boc-toolbar-layout{border-top:1px solid #5b5b5b;background-color:#2b2b2b}.boc-dotted-connector path{stroke-dasharray:7}.boc-undo-redo{position:absolute;top:23px;left:23px}@media screen and (max-width:500px){.boc-undo-redo{position:absolute;top:83px;left:23px}}.boc-light .boc-undo-redo path{fill:#cacaca}.boc-dark .boc-undo-redo path{fill:#5b5b5b}.boc-light .boc-undo-redo .boc-ur-clickable path{fill:#9c9c9c}.boc-dark .boc-undo-redo .boc-ur-clickable path{fill:#8c8c8c}.boc-undo-redo .boc-ur-clickable rect{cursor:pointer}.boc-undo-redo>span{position:relative;display:inline-block;user-select:none}.boc-undo-redo .boc-undo-i{left:-6px;top:-6px}.boc-undo-redo .boc-redo-i{right:-6px;bottom:6px}.boc-undo-redo>span>span{color:#fff;position:absolute;display:inline-block;min-width:20px;min-height:20px;border-radius:50%;line-height:20px;text-align:center;padding:1px;user-select:none;cursor:pointer}.boc-light .boc-undo-redo>span>span{background-color:#9c9c9c}.boc-dark .boc-undo-redo>span>span{background-color:#8c8c8c}.boc-dark .treelist-pinned{filter:brightness(1.2)}.boc-light .treelist-pinned{filter:brightness(.9)}.boc-light .boc-scroll{fill:#fff}.boc-light .boc-scroll-thumb{fill:#c1c1c1}.boc-light .boc-scroll-thumb:hover{fill:#929292}.boc-dark .boc-scroll{fill:#1e1e1e}.boc-dark .boc-scroll-thumb{fill:#424242}.boc-dark .boc-scroll-thumb:hover{fill:#4f4f4f}</style>`},h.input={},h.input._timeout=null,h.input.initWithTimeout=function(){h.input._timeout&&(clearTimeout(h.input._timeout),h.input._timeout=null),h.input._timeout=setTimeout(h.input.init,200)},h.input.init=function(e){for(var t=e?e.querySelectorAll(`[data-boc-input]`):document.querySelectorAll(`[data-boc-input]`),n=0;n<t.length;n++){var r=t[n],i=null;r.type&&r.type.toLowerCase()==`hidden`&&(i=r),i||=r.querySelector(`input`),i||=r.querySelector(`select`);var a=r.querySelector(`label`);a&&(i.value||i.type==`select-one`&&i.selectedOptions&&i.selectedOptions.length&&i.selectedOptions[0].value==``&&i.selectedOptions[0].innerHTML)&&a.classList.add(`hasval`),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`focus`,function(){this.classList.remove(`boc-validation-error`);var e=this.parentNode.querySelector(`label`);e.classList.add(`focused`);var t=e.querySelector(`.boc-validation-error-message`);t&&t.parentNode.removeChild(t)}),i.type.toLowerCase()!=`checkbox`&&i.addEventListener(`blur`,function(){h.input.blurHandler(this)})}},h.input.blurHandler=function(e){var t=e.parentNode.querySelector(`label`);t.classList.remove(`focused`),e.value||e.type==`date`?t.classList.add(`hasval`):t.classList.remove(`hasval`)},h.input.validate=function(e){var t=null;e.type&&e.type.toLowerCase()==`hidden`&&(t=e),t||=e.querySelector(`input`),t||=e.querySelector(`select`);var n=e.querySelector(`label`);if(t.classList.remove(`boc-validation-error`),n){var r=n.querySelector(`.boc-validation-error-message`);r&&r.parentNode.removeChild(r)}!t.selectedOptions&&t.value&&(t.value=t.value.trim());var i=e.getAttribute(`data-v-required`),a=e.getAttribute(`data-v-password`),o=e.getAttribute(`data-v-email`),s=e.getAttribute(`data-v-emails`);return i&&t.value==``?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+i+`</span>`,t.classList.add(`boc-validation-error`),!1):a&&!h.input.validatePassword(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+a+`</span>`,t.classList.add(`boc-validation-error`),!1):o&&!h.input.isValidEmail(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+o+`</span>`,t.classList.add(`boc-validation-error`),!1):s&&!h.input.isValidEmails(t.value)?(n.innerHTML+=`<span class="boc-validation-error-message">&nbsp;`+s+`</span>`,t.classList.add(`boc-validation-error`),!1):!0},h.input.validateAndGetData=function(e){for(var t=e.querySelectorAll(`[data-boc-input]`),n=!0,r=0;r<t.length;r++){var i=t[r];h.input.validate(i)||(n=!1)}return n?h.input.getData(e):!1},h.input.getData=function(e){for(var t=e.querySelectorAll(`[data-binding]`),n={},r=0;r<t.length;r++){var i=t[r],a=i.getAttribute(`data-binding`);if(i.type.toLowerCase()==`checkbox`)n[a]=i.checked;else if(i.selectedOptions&&i.hasAttribute(`multiple`)){var o=i.selectedOptions;n[a]=Array.from(o).map(({value:e})=>e)}else n[a]=i.value}return n},h.input.validatePassword=function(e){return e&&=e.trim(),e.length<5||e.length>18?!1:e.indexOf(` `)==-1},h.input.isValidEmails=function(e){if(e)for(var t=e.split(`,`),n=0;n<t.length;n++){var r=t[n].trim();if(!h.input.isValidEmail(r))return!1}return!0},h.input.isValidEmail=function(e){return e&&=e.trim(),/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},h===void 0&&(h={}),h.prototype.onField=function(e){return this.on(`field`,function(t,n){return e.call(t,n)})},h.prototype.onInit=function(e){return this.on(`init`,function(t){return e.call(t)})},h.prototype.onRedraw=function(e){return this.on(`redraw`,function(t){return e.call(t)})},h.prototype.onUpdateNode=function(e){return this.on(`update`,function(t,n,r){var i={oldData:n,newData:r};return e.call(t,i)})},h.prototype.onUpdated=function(e){return this.on(`updated`,function(t){return e.call(t)})},h.prototype.onRemoveNode=function(e){return this.on(`remove`,function(t,n,r){var i={id:n,newPidsAndStpidsForIds:r};return e.call(t,i)})},h.prototype.onAddNode=function(e){return this.on(`add`,function(t,n){var r={data:n};return e.call(t,r)})},h.prototype.onDrop=function(e){return this.on(`drop`,function(t,n,r,i,a){var o={dragId:n,dropId:r,dragNodeElement:i,event:a};return e.call(t,o)})},h.prototype.onDrag=function(e){return this.on(`drag`,function(t,n,r,i){var a={dragId:n,event:r,nodeIds:i};return e.call(t,a)})},h.prototype.onExpandCollapseButtonClick=h.prototype.onExpandCollpaseButtonClick=function(e){return this.on(`expcollclick`,function(t,n,r,i){var a={collapsing:n,id:r,ids:i};return e.call(t,a)})},h.prototype.onExportStart=function(e){return this.on(`exportstart`,function(t,n){return e.call(t,n)})},h.prototype.onExportEnd=function(e){return this.on(`exportend`,function(t,n){return e.call(t,n)})},h.prototype.onNodeClick=function(e){return this.on(`click`,function(t,n){return e.call(t,n)})},h.prototype.onCanvasClick=function(e){return this.on(`canvas-click`,function(t,n){return e.call(t,n)})},h.prototype.onNodeDoubleClick=function(e){return this.on(`dbclick`,function(t,n){var r={data:n};return e.call(t,r)})},h.prototype.onAIToolCalls=function(e){return this.on(`ai-tool-calls`,function(t,n){return e.call(t,n)})},h.prototype._dragDropHandler=function(e,t,n){},h.prototype._movableHandler=function(e,t,n){},h===void 0&&(h={}),h._communityMessages=[],h._communityAlert=function(){var e=[];for(var t of h._communityMessages)e.includes(t)||e.push(t);if(e.length){var n=`The following methods and options are not supported in Community Edition:\n\n${e.join(`
475
+ `)} \n\nDownload the Trial Edition if you want to use the features above.`;alert(n)}},h._communityMethod=function(e){h._communityMessages.push(e+` [method]`)},h.manager._community_createNodes=h.manager._createNodes,h.manager._createNodes=function(e){var t=e.manager.config,n=e.manager.layoutConfigs;return h._checkForUnsuportedFeatures(t,n),h.manager._community_createNodes(e)},h._checkForUnsuportedFeatures=function(e,t){for(var n of e.nodes){if(n.tags){var r=n.tags.indexOf(`assistant`);r>-1&&(h._communityMessages.push(`assistant [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`partner`),r>-1&&(h._communityMessages.push(`partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`left-partner`),r>-1&&(h._communityMessages.push(`left-partner [tag]`),n.tags.splice(r,1)),r=n.tags.indexOf(`right-partner`),r>-1&&(h._communityMessages.push(`right-partner [tag]`),n.tags.splice(r,1))}h.isNEU(n.stpid)||(h._communityMessages.push(`stpid [property]`),n.stpid=void 0)}for(var i in e.slinks&&e.slinks.length&&(h._communityMessages.push(`slinks [option]`),e.slinks=[]),e.clinks&&e.clinks.length&&(h._communityMessages.push(`clinks [option]`),e.clinks=[]),t){var a=t[i];a.layout!=h.layout.normal&&(h._communityMessages.push(`layout [option]`),a.layout=h.layout.normal)}},h.events.on(`init`,function(e,t){setTimeout(h._communityAlert,500)}),h._defaultConfig=function(e){for(var t of[`enableDragDrop`,`enableSearch`,`enableAI`,`keyNavigation`,`miniMap`,`controls`,`nodeMenu`,`nodeCircleMenu`,`nodeContextMenu`,`menu`,`toolbar`,`showXScroll`,`showYScroll`,`searchFields`,`searchDisplayField`,`searchFieldsWeight`,`searchFieldsAbbreviation`,`movable`,`serverUrl`,`state`,`editForm`,`showYScroll`,`showYScroll`,`filterBy`,`undoRedoStorageName`])e[t]&&h._communityMessages.push(t+` [option]`);return{interactive:!0,mode:`light`,lazyLoading:`auto`,enableDragDrop:!1,enableSearch:!1,enableAI:!1,enablePan:!0,keyNavigation:!1,miniMap:!1,controls:null,nodeMenu:null,nodeCircleMenu:null,nodeContextMenu:null,menu:null,toolbar:!1,nodeMouseClick:h.action.none,nodeMouseDbClick:h.action.none,mouseScrool:h.action.ctrlZoom,showXScroll:!1,showYScroll:!1,template:`ana`,tags:{},min:!1,nodeBinding:{},linkBinding:{},searchFields:null,searchDisplayField:null,searchFieldsWeight:null,searchFieldsAbbreviation:null,nodes:[],clinks:[],slinks:[],backdrops:[],groupDottedLines:[],dottedLines:[],undoRedoStorageName:null,levelSeparation:60,siblingSeparation:20,subtreeSeparation:40,backdropSeparation:15,mixedHierarchyNodesSeparation:15,assistantSeparation:100,minPartnerSeparation:50,partnerChildrenSplitSeparation:20,partnerNodeSeparation:15,columns:10,padding:30,orientation:h.orientation.top,layout:h.layout.normal,layoutGridColumns:`dynamic`,scaleInitial:h.match.boundaryIfOutside,movable:null,scaleMin:.1,scaleMax:5,orderBy:null,editUI:null,aiUI:null,orgScribeUI:null,powerPointPreviewUI:null,pdfPreviewUI:null,svgPreviewUI:null,pngPreviewUI:null,filterUI:null,searchUI:null,xScrollUI:null,yScrollUI:null,nodeMenuUI:null,controlsUI:null,nodeCircleMenuUI:null,nodeContextMenuUI:null,toolbarUI:null,notifierUI:null,menuUI:null,undoRedoUI:null,exportUrl:null,serverUrl:null,aiChatTools:[],collapse:{},expand:{},align:h.CENTER,UI:null,anim:{func:h.anim.outPow,duration:200},zoom:{speed:120,smooth:12},roots:null,state:null,editForm:null}},h.prototype.__mouseScrollHandlerTreeList=function(){},h.prototype._treeListUpdate=function(){},h.prototype._treeListIterate2=function(){},h.prototype._treeListSetPositions=function(){},h.prototype._treeListThumbMouseDownHandler=function(){},h.prototype._treeListExpandCollapseHandler=function(e){},h===void 0&&(h={}),h.local={},h.local._setPositions=function(e,t,n){h.local._walk(e,t),n()},h.local._walk=function(e,t){for(var n={minX:null,minY:null,maxX:null,maxY:null},r=[],i=[],a=0;a<e.length;a++){var o=h.local._getConfig(e[a],t);h.local._firstWalk(e[a],0,r,i,o)}for(var a=0;a<e.length;a++){var o=h.local._getConfig(e[a],t);h.local._secondWalk(e[a],0,0,0,r,n,o)}},h.local._firstWalk=function(e,t,n,r,i){var a=null;if(e.x=0,e.y=0,e._prelim=0,e._modifier=0,e.leftNeighbor=null,e.rightNeighbor=null,h.local._setLevelMaxNodeHeight(e,t,n,i),h.local._setNeighbors(e,t,r),!h.local._hasChildren(e)||t==h.MAX_DEPTH)if(a=h.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+h.local._nodeWithPartnersSize(a,i)+o}else e._prelim=0;else{for(var s of e.children)h.local._firstWalk(s,t+1,n,r,i);var c=h.local._fChild(e),l=e.children[e.children.length-1],u=c._prelim+(l._prelim-c._prelim)/2+h.local._leftMidPoint(l,i);if(u-=h.local._mid(e,i),a=h.local._getLeftSibling(e),a!=null){var o=i.siblingSeparation;e._prelim=a._prelim+h.local._nodeWithPartnersSize(a,i)+o,e._modifier=e._prelim-u,h.local._apportion(e,t,n,i)}else i.orientation<=3?e._prelim=u:e._prelim=0}},h.local._secondWalk=function(e,t,n,r,i,a,o){if(t<=h.MAX_DEPTH){var s=e._prelim+n,c=r,l=0,u=0;switch(l=i[t],u=h.local._getNodeHeight(e,o),e.x=s,e.y=c,o.orientation){case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:var d=e.x;e.x=e.y,e.y=d;break}switch(o.orientation){case h.orientation.bottom:case h.orientation.bottom_left:e.y=-e.y-u;break;case h.orientation.right:case h.orientation.right_top:e.x=-e.x-u;break}if(h._setMinMaxXY(e,a,!0),e.children!=0){var f=o.levelSeparation;h.local._secondWalk(e.children[0],t+1,n+e._modifier,r+l+f,i,a,o)}var p=h.local._getRightSibling(e);p!=null&&h.local._secondWalk(p,t,n,r,i,a,o)}},h.local._lastWalk=function(e,t,n,r,i){e.x+=t+i[3]-r.minX,e.y+=n+i[0]-r.minY;for(var a of e.children)h.local._lastWalk(a,t,n,r,i)},h.local._apportion=function(e,t,n,r){for(var i=h.local._fChild(e),a=i.leftNeighbor,o=1,s=h.MAX_DEPTH-t;i!=null&&a!=null&&o<=s;){for(var c=0,l=0,u=i,d=a,f=0;f<o;f++)u=u.parent,d=d.parent,c+=u._modifier,l+=d._modifier;var p=r.subtreeSeparation;e.leftNeighbor&&e.parent==e.leftNeighbor.parent&&typeof e.leftNeighbor.id==`string`&&e.leftNeighbor.id.indexOf(`_sublevel_layout_`)!=-1&&(p=r.subtreeSeparation);var m=a._prelim+l+h.local._nodeWithPartnersSize(a,r)+p-(i._prelim+c);if(m>0){for(var g=e,_=0;g!=null&&g!=d;g=h.local._getLeftSibling(g))_++;if(g!=null){var v=e,y=m/_;for(typeof v.id==`string`&&v.id.indexOf(`_grid_pseudo_node_`)!=-1&&(y=0);v!=d;v=h.local._getLeftSibling(v))v._prelim+=m,v._modifier+=m,m-=y}}o++,i=h.local._hasChildren(i)?h.local._fChild(i):h.local._getLeftmost(e,0,o),i!=null&&(a=i.leftNeighbor)}},h.local._mixedTreeHeight=function(e){e.size+=h.local._getNodeHeight(e.node,e.config)+e.config.mixedHierarchyNodesSeparation;for(var t=0;t<e.node.children.length;t++)e.node=e.node.children[t],h.local._mixedTreeHeight(e)},h.local._setLevelMaxNodeHeight=function(e,t,n,r){n[t]??(n[t]=0);var i=h.local._getNodeHeight(e,r);n[t]<i&&(n[t]=i)},h.local._setNeighbors=function(e,t,n){n[t]&&n[t].id===e.id||(e.leftNeighbor=n[t],e.leftNeighbor!=null&&(e.leftNeighbor.rightNeighbor=e),n[t]=e)},h.local._nodeWithPartnersSize=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h}return 0},h.local._size=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h}return 0},h.local._leftMidPoint=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w/2;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h/2}return 0},h.local._rightMidPoint=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w/2;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h/2}return 0},h.local._mid=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.w/2;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.h/2}return 0},h.local._getNodeHeight=function(e,t){switch(t.orientation){case h.orientation.top:case h.orientation.top_left:case h.orientation.bottom:case h.orientation.bottom_left:return e.h;case h.orientation.right:case h.orientation.right_top:case h.orientation.left:case h.orientation.left_top:return e.w}return 0},h.local._getLeftSibling=function(e){return e.leftNeighbor!=null&&e.leftNeighbor.parent==e.parent?e.leftNeighbor:null},h.local._getRightSibling=function(e){return e.rightNeighbor!=null&&e.rightNeighbor.parent==e.parent?e.rightNeighbor:null},h.local._getLeftmost=function(e,t,n){if(t>=n)return e;if(!h.local._hasChildren(e))return null;for(var r of e.children){var i=h.local._getLeftmost(r,t+1,n);if(i!=null)return i}return null},h.local._fChild=function(e){return e.children[0]},h.local._hasChildren=function(e){for(var t=0;t<e.children.length;t++)return!0;return!1},h.local._getConfig=function(e,t){return t[e.lcn?e.lcn:`base`]},h.editUI=function(){},h.editUI.prototype.init=function(){},h.editUI.prototype.on=function(e,t){return h._communityMethod(`editUI.on`),this},h.editUI.prototype.show=function(e,t,n){h._communityMethod(`editUI.show`)},h.editUI.prototype.setAvatar=function(e){h._communityMethod(`editUI.setAvatar`)},h.editUI.prototype.hide=function(e){},h.menuUI=function(){},h.menuUI.prototype.init=function(){},h.menuUI.prototype.showStickIn=function(){h._communityMethod(`menuUI.showStickIn`)},h.menuUI.prototype.show=function(){h._communityMethod(`menuUI.show`)},h.menuUI.prototype.isVisible=function(){h._communityMethod(`menuUI.isVisible`)},h.menuUI.prototype.hide=function(){},h.menuUI.prototype.on=function(){h._communityMethod(`menuUI.on`)},h.controlsUI=function(){},h.controlsUI.prototype.init=function(){},h.controlsUI.prototype.show=function(){h._communityMethod(`controlsUI.show`)},h.controlsUI.prototype.hide=function(){h._communityMethod(`controlsUI.hide`)},h.circleMenuUI=function(){},h.circleMenuUI.prototype.init=function(){},h.circleMenuUI.prototype.show=function(){h._communityMethod(`circleMenuUI.show`)},h.circleMenuUI.prototype.isVisible=function(){h._communityMethod(`circleMenuUI.isVisible`)},h.circleMenuUI.prototype.hide=function(){},h.circleMenuUI.prototype.on=function(){return h._communityMethod(`circleMenuUI.on`),this},h.toolbarUI=function(){},h.toolbarUI.expandAllIcon=``,h.toolbarUI.fitIcon=``,h.toolbarUI.openFullScreenIcon=``,h.toolbarUI.closeFullScreenIcon=``,h.toolbarUI.zoomInIcon=``,h.toolbarUI.zoomOutIcon=``,h.toolbarUI.layoutIcon=``,h.toolbarUI.prototype.init=function(){},h.toolbarUI.prototype.showLayout=function(){},h.toolbarUI.prototype.hideLayout=function(){},h.prototype.importCSV=function(){h._communityMethod(`importCSV`)},h.prototype.importXML=function(){h._communityMethod(`importXML`)},h.searchUI=function(){},h.searchUI.prototype.init=function(e){},h.searchUI.prototype._enterHandler=function(){h._communityMethod(`searchUI._enterHandler`)},h.searchUI.prototype.find=function(e){h._communityMethod(`searchUI.find`)},h.searchUI.prototype.addMatchTag=function(e){},h.searchUI.prototype.__search=function(){},h.searchUI.prototype._search=function(){},h.searchUI.prototype.helpView=function(){h._communityMethod(`searchUI.helpView`)},h.searchUI.createItem=function(e,t,n,r){h._communityMethod(`searchUI.createItem`)},h.searchUI.prototype.hide=function(){h._communityMethod(`searchUI.hide`)},h.searchUI.prototype.on=function(e,t){return h._communityMethod(`searchUI.on`),this},h.xScrollUI=function(e,t,n,r,i){this.config=t},h.xScrollUI.prototype.addListener=function(e){},h.xScrollUI.prototype.create=function(e){},h.xScrollUI.prototype.setPosition=function(){},h.yScrollUI=function(e,t,n,r,i){this.config=t},h.yScrollUI.prototype.addListener=function(e){},h.yScrollUI.prototype.create=function(e){},h.yScrollUI.prototype.setPosition=function(){},h===void 0&&(h={}),h.clinkLabelPosition=function(){},h.clinkCurve=function(){},h.prototype.addClink=function(){return h._communityMethod(`addClink`),this},h.prototype.removeClink=function(){return h._communityMethod(`removeClink`),this},h.clinkTemplates={},h.clinkTemplates.orange={defs:``,link:``,label:``},h.clinkTemplates.blue={defs:``,link:``,label:``},h.clinkTemplates.yellow={defs:``,link:``,label:``},h===void 0&&(h={}),h.prototype._slinks=function(){h._communityMethod(`_slinks`)},h.prototype.addSlink=function(){return h._communityMethod(`addSlink`),this},h.prototype.removeSlink=function(e,t){return h._communityMethod(`removeSlink`),this},h.slinkTemplates={},h.slinkTemplates.orange={defs:``,link:``,label:``,labelPosition:``},h.slinkTemplates.blue={defs:``,link:``,label:``,labelPosition:``},h.slinkTemplates.yellow={defs:``,link:``,label:``,labelPosition:``},h.orgScribeUI=function(){},h.orgScribeUI.prototype.init=function(e){},h.orgScribeUI.prototype.isVisible=function(){h._communityMethod(`orgScribeUI.isVisible`)},h.orgScribeUI.prototype.show=function(e,t){h._communityMethod(`orgScribeUI.show`)},h.orgScribeUI.prototype.hide=function(){h._communityMethod(`orgScribeUI.hide`)},h===void 0&&(h={}),h.prototype.undo=function(e){h._communityMethod(`undo`)},h.prototype.redo=function(e){h._communityMethod(`redo`)},h.prototype.clearRedo=function(){},h.prototype.clearUndo=function(){h._communityMethod(`clearUndo`)},h.prototype.undoStepsCount=function(){h._communityMethod(`undoStepsCount`)},h.prototype.redoStepsCount=function(){h._communityMethod(`redoStepsCount`)},h.prototype._putInUndoStack=function(){},h.prototype._putInRedoStack=function(){},h===void 0&&(h={}),h.undoRedoUI=function(){},h.undoRedoUI.prototype.init=function(e){},h.undoRedoUI.prototype.refresh=function(){h._communityMethod(`undoRedoUI.refresh`)},h.undoRedoUI.prototype.on=function(e,t){return h._communityMethod(`undoRedoUI.on`),this},h.undoRedoUI.prototype.onChange=function(e){h._communityMethod(`undoRedoUI.onChange`)},h.miniMap={},h.miniMap.colors=[],h.miniMap.selectorBackgroundColor=``,h.miniMap.backgroundColor=``,h.miniMap.focusStroke=``,h.miniMap.opacity=0,h.miniMap.border=``,h.miniMap.width=0,h.miniMap.height=0,h.miniMap.padding=0,h.miniMap.position={top:void 0,left:void 0,right:void 0,bottom:void 0},h.miniMap.draggable=!0,h.state={},h.state._buildStateNames=function(e){return{paramScale:e+`-scale`,paramX:e+`-x`,paramY:e+`-y`,paramExp:e+`-exp`,paramMin:e+`-min`,paramRoots:e+`-roots`,paramAdjustify:e+`-adjustify`}},h.state._put=function(e,t,n,r,i,a,o,s){},h.state._get=function(e,t,n,r){r(null)},h.state.clear=function(e){},h._search={},h._search.search=function(){h._communityMethod(`searchUI.search`)},h._search.addNodeToResult=function(){h._communityMethod(`searchUI.addNodeToResult`)},h._search.searchAndComputeScore=function(){h._communityMethod(`searchUI.searchAndComputeScore`)},h._search.searchIndexesOf=function(){h._communityMethod(`searchUI.searchIndexesOf`)},h.filterUI=function(){},h.filterUI.prototype.init=function(e){},h.filterUI.prototype.addFilterTag=function(e){},h.filterUI.prototype.show=function(e){h._communityMethod(`filterUI.show`)},h.filterUI.prototype.hide=function(){},h.filterUI.prototype._removeFilter=function(e){},h.filterUI.prototype.update=function(){},h.filterUI.prototype.on=function(e,t){h._communityMethod(`filterUI.on`)},h.filterUI.textFilterBy=``,h.filterUI.all=``,h.prototype.exportToPDFProfile=function(){h._communityMethod(`exportToPDFProfile`)},h.prototype.exportToVisio=function(){h._communityMethod(`exportToVisio`)},h.prototype.exportToPDF=function(){h._communityMethod(`exportToPDF`)},h.prototype.exportToPNG=function(){h._communityMethod(`exportToPNG`)},h.prototype.exportToSVG=function(){h._communityMethod(`exportToSVG`)},h.prototype.exportToPowerPoint=function(){h._communityMethod(`exportToPowerPoint`)},h.exportUI=function(){},h.exportUI.prototype.init=function(){},h.exportUI.prototype.show=function(e){h._communityMethod(`exportUI.show`)},h.exportUI.prototype.isVisible=function(){h._communityMethod(`exportUI.isVisible`)},h.exportUI.prototype.hide=function(){},h.exportUI.prototype.refresh=function(){h._communityMethod(`exportUI.refresh`)},h.exportUI.prototype.toggleLanscape=function(){h._communityMethod(`exportUI.toggleLanscape`)},h.exportUI.prototype.addPage=function(){h._communityMethod(`exportUI.addPage`)},h.exportUI.prototype.removePage=function(){h._communityMethod(`exportUI.removePage`)},h.exportUI.prototype.toggelePrintTreeOrProfile=function(){h._communityMethod(`exportUI.toggelePrintTreeOrProfile`)},h.exportUI.prototype.selectPage=function(e){h._communityMethod(`exportUI.selectPage`)};var g=h,_={camelToKebab:function(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()},kebabToCamel:function(e){return e.replace(/-([a-z0-9])/g,(e,t)=>t.toUpperCase())},divToEmployees:function(e){let t=[],n=1;function r(e,i){let a=n++,o={id:a};i!==void 0&&(o.pid=i),Array.from(e.attributes).forEach(e=>{let t=e.name.replace(`data-`,``),n=_.kebabToCamel(t),r=e.value;n===`assistant`||n===`partner`?r===`true`&&(o.tags||=[],o.tags.push(n)):o[n]=r}),t.push(o),Array.from(e.children).forEach(e=>{r(e,a)})}return Array.from(e.children).forEach(e=>r(e)),t}},v=function({children:e,title:t,name:r,photo:i,assistant:a,partner:o,template:s,...c}){return(0,n.jsx)(`div`,{...Object.keys(c).reduce((e,t)=>{let n=_.camelToKebab(t);return e[`data-${n}`]=c[t],e},{}),"data-title":t,"data-name":r,"data-photo":i,"data-assistant":a,"data-partner":o,"data-template":s,children:e})},y=(0,t.forwardRef)((e,r)=>{let i=(0,t.useRef)(null),a=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(i.current&&!a.current){let t=_.divToEmployees(i.current),n=e?.data;t&&!n&&(n=t);let o={...e,nodes:n},s=new g(i.current,o);a.current=s,typeof r==`function`?r(s):r&&(r.current=s),e.onUpdateNode&&s.onUpdateNode(e.onUpdateNode),e.onUpdated&&s.onUpdated(e.onUpdated),e.onRemoveNode&&s.onRemoveNode(e.onRemoveNode),e.onAddNode&&s.onAddNode(e.onAddNode),e.onDrag&&s.onDrag(e.onDrag),e.onDrop&&s.onDrop(e.onDrop),e.onInit&&s.onInit(e.onInit),e.onRedraw&&s.onRedraw(e.onRedraw),e.onExpandCollapseButtonClick&&s.onExpandCollapseButtonClick(e.onExpandCollapseButtonClick),e.onExportStart&&s.onExportStart(e.onExportStart),e.onExportEnd&&s.onExportEnd(e.onExportEnd),e.onNodeClick&&s.onNodeClick(e.onNodeClick),e.onCanvasClick&&s.onCanvasClick(e.onCanvasClick),e.onAIToolCalls&&s.onAIToolCalls(e.onAIToolCalls),e.onNodeDoubleClick&&s.onNodeDoubleClick(e.onNodeDoubleClick)}},[]),(0,t.useEffect)(()=>{a.current&&e.data&&e.data.length>0&&a.current.load(e.data)},[e.data]),(0,n.jsx)(`div`,{ref:i,style:{width:`100%`,height:`100%`,...e?.style},children:e?.children})});e.Employee=v,e.OrgChartReact=y});