vendor: 6,316 bytes, lines 1-9
1var $q=Object.defineProperty;var jq=(e,t,n)=>t in e?$q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ut=(e,t,n)=>(jq(e,typeof t!="symbol"?t+"":t,n),n);function zq(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ro=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _n(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var KH={exports:{}},FB={},WH={exports:{}},gn={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var gv=Symbol.for("react.element"),Vq=Symbol.for("react.portal"),Kq=Symbol.for("react.fragment"),Wq=Symbol.for("react.strict_mode"),Gq=Symbol.for("react.profiler"),Yq=Symbol.for("react.provider"),qq=Symbol.for("react.context"),Zq=Symbol.for("react.forward_ref"),Xq=Symbol.for("react.suspense"),Jq=Symbol.for("react.memo"),eZ=Symbol.for("react.lazy"),QR=Symbol.iterator;function tZ(e){return e===null||typeof e!="object"?null:(e=QR&&e[QR]||e["@@iterator"],typeof e=="function"?e:null)}var GH={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},YH=Object.assign,qH={};function cp(e,t,n){this.props=e,this.context=t,this.refs=qH,this.updater=n||GH}cp.prototype.isReactComponent={};cp.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cp.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ZH(){}ZH.prototype=cp.prototype;function nk(e,t,n){this.props=e,this.context=t,this.refs=qH,this.updater=n||GH}var rk=nk.prototype=new ZH;rk.constructor=nk;YH(rk,cp.prototype);rk.isPureReactComponent=!0;var HR=Array.isArray,XH=Object.prototype.hasOwnProperty,ik={current:null},JH={key:!0,ref:!0,__self:!0,__source:!0};function e3(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)XH.call(t,r)&&!JH.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:gv,type:e,key:o,ref:a,props:i,_owner:ik.current}}function nZ(e,t){return{$$typeof:gv,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ok(e){return typeof e=="object"&&e!==null&&e.$$typeof===gv}function rZ(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $R=/\/+/g;function h1(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rZ(""+e.key):t.toString(36)}function n0(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case gv:case Vq:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+h1(a,0):r,HR(i)?(n="",e!=null&&(n=e.replace($R,"$&/")+"/"),n0(i,t,n,"",function(u){return u})):i!=null&&(ok(i)&&(i=nZ(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace($R,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",HR(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+h1(o,s);a+=n0(o,t,n,l,i)}else if(l=tZ(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+h1(o,s++),a+=n0(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function k_(e,t,n){if(e==null)return e;var r=[],i=0;return n0(e,r,"","",function(o){return t.call(n,o,i++)}),r}function iZ(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var lo={current:null},r0={transition:null},oZ={ReactCurrentDispatcher:lo,ReactCurrentBatchConfig:r0,ReactCurrentOwner:ik};gn.Children={map:k_,forEach:function(e,t,n){k_(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k_(e,function(){t++}),t},toArray:function(e){return k_(e,function(t){return t})||[]},only:function(e){if(!ok(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};gn.Component=cp;gn.Fragment=Kq;gn.Profiler=Gq;gn.PureComponent=nk;gn.StrictMode=Wq;gn.Suspense=Xq;
vendor: 4,362 bytes, lines 9-17
9gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oZ;gn.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=YH({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=ik.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)XH.call(t,l)&&!JH.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:gv,type:e.type,key:i,ref:o,props:r,_owner:a}};gn.createContext=function(e){return e={$$typeof:qq,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Yq,_context:e},e.Consumer=e};gn.createElement=e3;gn.createFactory=function(e){var t=e3.bind(null,e);return t.type=e,t};gn.createRef=function(){return{current:null}};gn.forwardRef=function(e){return{$$typeof:Zq,render:e}};gn.isValidElement=ok;gn.lazy=function(e){return{$$typeof:eZ,_payload:{_status:-1,_result:e},_init:iZ}};gn.memo=function(e,t){return{$$typeof:Jq,type:e,compare:t===void 0?null:t}};gn.startTransition=function(e){var t=r0.transition;r0.transition={};try{e()}finally{r0.transition=t}};gn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};gn.useCallback=function(e,t){return lo.current.useCallback(e,t)};gn.useContext=function(e){return lo.current.useContext(e)};gn.useDebugValue=function(){};gn.useDeferredValue=function(e){return lo.current.useDeferredValue(e)};gn.useEffect=function(e,t){return lo.current.useEffect(e,t)};gn.useId=function(){return lo.current.useId()};gn.useImperativeHandle=function(e,t,n){return lo.current.useImperativeHandle(e,t,n)};gn.useInsertionEffect=function(e,t){return lo.current.useInsertionEffect(e,t)};gn.useLayoutEffect=function(e,t){return lo.current.useLayoutEffect(e,t)};gn.useMemo=function(e,t){return lo.current.useMemo(e,t)};gn.useReducer=function(e,t,n){return lo.current.useReducer(e,t,n)};gn.useRef=function(e){return lo.current.useRef(e)};gn.useState=function(e){return lo.current.useState(e)};gn.useSyncExternalStore=function(e,t,n){return lo.current.useSyncExternalStore(e,t,n)};gn.useTransition=function(){return lo.current.useTransition()};gn.version="18.2.0";WH.exports=gn;var k=WH.exports;const lt=uc(k),dS=zq({__proto__:null,default:lt},[k]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var aZ=k,sZ=Symbol.for("react.element"),lZ=Symbol.for("react.fragment"),AZ=Object.prototype.hasOwnProperty,uZ=aZ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cZ={key:!0,ref:!0,__self:!0,__source:!0};function t3(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)AZ.call(t,r)&&!cZ.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:sZ,type:e,key:o,ref:a,props:i,_owner:uZ.current}}FB.Fragment=lZ;FB.jsx=t3;FB.jsxs=t3;KH.exports=FB;var w=KH.exports;var fZ={exports:{}},oo="top",fa="bottom",da="right",ao="left",TB="auto",fp=[oo,fa,da,ao],Qf="start",Nh="end",n3="clippingParents",ak="viewport",th="popper",r3="reference",hS=fp.reduce(function(e,t){return e.concat([t+"-"+Qf,t+"-"+Nh])},[]),sk=[].concat(fp,[TB]).reduce(function(e,t){return e.concat([t,t+"-"+Qf,t+"-"+Nh])},[]),i3="beforeRead",o3="read",a3="afterRead",s3="beforeMain",l3="main",A3="afterMain",u3="beforeWrite",c3="write",f3="afterWrite",d3=[i3,o3,a3,s3,l3,A3,u3,c3,f3];function bl(e){return e?(e.nodeName||"").toLowerCase():null}function ha(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Hf(e){var t=ha(e).Element;return e instanceof t||e instanceof Element}function Ga(e){var t=ha(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function lk(e){if(typeof ShadowRoot>"u")return!1;var t=ha(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function dZ(e){var t=e.state;
vendor: 17,069 bytes, line 17
17Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Ga(o)||!bl(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function hZ(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!Ga(i)||!bl(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Ak={name:"applyStyles",enabled:!0,phase:"write",fn:dZ,effect:hZ,requires:["computeStyles"]};function vl(e){return e.split("-")[0]}var If=Math.max,Cw=Math.min,Mh=Math.round;function pS(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function h3(){return!/^((?!chrome|android).)*safari/i.test(pS())}function Qh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ga(e)&&(i=e.offsetWidth>0&&Mh(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Mh(r.height)/e.offsetHeight||1);var a=Hf(e)?ha(e):window,s=a.visualViewport,l=!h3()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,f=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,g=r.height/o;return{width:d,height:g,top:f,right:u+d,bottom:f+g,left:u,x:u,y:f}}function uk(e){var t=Qh(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function p3(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&lk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function kA(e){return ha(e).getComputedStyle(e)}function pZ(e){return["table","td","th"].indexOf(bl(e))>=0}function cc(e){return((Hf(e)?e.ownerDocument:e.document)||window.document).documentElement}function OB(e){return bl(e)==="html"?e:e.assignedSlot||e.parentNode||(lk(e)?e.host:null)||cc(e)}function jR(e){return!Ga(e)||kA(e).position==="fixed"?null:e.offsetParent}function gZ(e){var t=/firefox/i.test(pS()),n=/Trident/i.test(pS());if(n&&Ga(e)){var r=kA(e);if(r.position==="fixed")return null}var i=OB(e);for(lk(i)&&(i=i.host);Ga(i)&&["html","body"].indexOf(bl(i))<0;){var o=kA(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function mv(e){for(var t=ha(e),n=jR(e);n&&pZ(n)&&kA(n).position==="static";)n=jR(n);return n&&(bl(n)==="html"||bl(n)==="body"&&kA(n).position==="static")?t:n||gZ(e)||t}function ck(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zg(e,t,n){return If(e,Cw(t,n))}function mZ(e,t,n){var r=Zg(e,t,n);return r>n?n:r}function g3(){return{top:0,right:0,bottom:0,left:0}}function m3(e){return Object.assign({},g3(),e)}function v3(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var vZ=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,m3(typeof t!="number"?t:v3(t,fp))};function _Z(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=vl(n.placement),l=ck(s),u=[ao,da].indexOf(s)>=0,f=u?"height":"width";if(!(!o||!a)){var d=vZ(i.padding,n),g=uk(o),m=l==="y"?oo:ao,v=l==="y"?fa:da,y=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],x=a[l]-n.rects.reference[l],C=mv(o),b=C?l==="y"?C.clientHeight||0:C.clientWidth||0:0,E=y/2-x/2,T=d[m],D=b-g[f]-d[v],I=b/2-g[f]/2+E,U=Zg(T,I,D),H=l;n.modifiersData[r]=(t={},t[H]=U,t.centerOffset=U-I,t)}}function yZ(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||p3(t.elements.popper,i)&&(t.elements.arrow=i))}const _3={name:"arrow",enabled:!0,phase:"main",fn:_Z,effect:yZ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hh(e){return e.split("-")[1]}var wZ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function bZ(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Mh(n*i)/i||0,y:Mh(r*i)/i||0}}function zR(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,d=e.isFixed,g=a.x,m=g===void 0?0:g,v=a.y,y=v===void 0?0:v,x=typeof f=="function"?f({x:m,y}):{x:m,y};m=x.x,y=x.y;var C=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),E=ao,T=oo,D=window;if(u){var I=mv(n),U="clientHeight",H="clientWidth";if(I===ha(n)&&(I=cc(n),kA(I).position!=="static"&&s==="absolute"&&(U="scrollHeight",H="scrollWidth")),I=I,i===oo||(i===ao||i===da)&&o===Nh){T=fa;var V=d&&I===D&&D.visualViewport?D.visualViewport.height:I[U];y-=V-r.height,y*=l?1:-1}if(i===ao||(i===oo||i===fa)&&o===Nh){E=da;var j=d&&I===D&&D.visualViewport?D.visualViewport.width:I[H];m-=j-r.width,m*=l?1:-1}}var z=Object.assign({position:s},u&&wZ),q=f===!0?bZ({x:m,y},ha(n)):{x:m,y};if(m=q.x,y=q.y,l){var Z;return Object.assign({},z,(Z={},Z[T]=b?"0":"",Z[E]=C?"0":"",Z.transform=(D.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",Z))}return Object.assign({},z,(t={},t[T]=b?y+"px":"",t[E]=C?m+"px":"",t.transform="",t))}function BZ(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:vl(t.placement),variation:Hh(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zR(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zR(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const fk={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BZ,data:{}};var I_={passive:!0};function CZ(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=ha(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(f){f.addEventListener("scroll",n.update,I_)}),s&&l.addEventListener("resize",n.update,I_),function(){o&&u.forEach(function(f){f.removeEventListener("scroll",n.update,I_)}),s&&l.removeEventListener("resize",n.update,I_)}}const dk={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:CZ,data:{}};var xZ={left:"right",right:"left",bottom:"top",top:"bottom"};function i0(e){return e.replace(/left|right|bottom|top/g,function(t){return xZ[t]})}var EZ={start:"end",end:"start"};function VR(e){return e.replace(/start|end/g,function(t){return EZ[t]})}function hk(e){var t=ha(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function pk(e){return Qh(cc(e)).left+hk(e).scrollLeft}function SZ(e,t){var n=ha(e),r=cc(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=h3();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+pk(e),y:l}}function FZ(e){var t,n=cc(e),r=hk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=If(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=If(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+pk(e),l=-r.scrollTop;return kA(i||n).direction==="rtl"&&(s+=If(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function gk(e){var t=kA(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function y3(e){return["html","body","#document"].indexOf(bl(e))>=0?e.ownerDocument.body:Ga(e)&&gk(e)?e:y3(OB(e))}function Xg(e,t){var n;t===void 0&&(t=[]);var r=y3(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=ha(r),a=i?[o].concat(o.visualViewport||[],gk(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(Xg(OB(a)))}function gS(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function TZ(e,t){var n=Qh(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function KR(e,t,n){return t===ak?gS(SZ(e,n)):Hf(t)?TZ(t,n):gS(FZ(cc(e)))}function OZ(e){var t=Xg(OB(e)),n=["absolute","fixed"].indexOf(kA(e).position)>=0,r=n&&Ga(e)?mv(e):e;return Hf(r)?t.filter(function(i){return Hf(i)&&p3(i,r)&&bl(i)!=="body"}):[]}function kZ(e,t,n,r){var i=t==="clippingParents"?OZ(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var f=KR(e,u,r);return l.top=If(f.top,l.top),l.right=Cw(f.right,l.right),l.bottom=Cw(f.bottom,l.bottom),l.left=If(f.left,l.left),l},KR(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function w3(e){var t=e.reference,n=e.element,r=e.placement,i=r?vl(r):null,o=r?Hh(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case oo:l={x:a,y:t.y-n.height};break;case fa:l={x:a,y:t.y+t.height};break;case da:l={x:t.x+t.width,y:s};break;case ao:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?ck(i):null;if(u!=null){var f=u==="y"?"height":"width";switch(o){case Qf:l[u]=l[u]-(t[f]/2-n[f]/2);break;case Nh:l[u]=l[u]+(t[f]/2-n[f]/2);break}}return l}function $h(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?n3:s,u=n.rootBoundary,f=u===void 0?ak:u,d=n.elementContext,g=d===void 0?th:d,m=n.altBoundary,v=m===void 0?!1:m,y=n.padding,x=y===void 0?0:y,C=m3(typeof x!="number"?x:v3(x,fp)),b=g===th?r3:th,E=e.rects.popper,T=e.elements[v?b:g],D=kZ(Hf(T)?T:T.contextElement||cc(e.elements.popper),l,f,a),I=Qh(e.elements.reference),U=w3({reference:I,element:E,strategy:"absolute",placement:i}),H=gS(Object.assign({},E,U)),V=g===th?H:I,j={top:D.top-V.top+C.top,bottom:V.bottom-D.bottom+C.bottom,left:D.left-V.left+C.left,right:V.right-D.right+C.right},z=e.modifiersData.offset;if(g===th&&z){var q=z[i];Object.keys(j).forEach(function(Z){var ae=[da,fa].indexOf(Z)>=0?1:-1,G=[oo,fa].indexOf(Z)>=0?"y":"x";j[Z]+=q[G]*ae})}return j}function IZ(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?sk:l,f=Hh(r),d=f?s?hS:hS.filter(function(v){return Hh(v)===f}):fp,g=d.filter(function(v){return u.indexOf(v)>=0});g.length===0&&(g=d);var m=g.reduce(function(v,y){return v[y]=$h(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[vl(y)],v},{});return Object.keys(m).sort(function(v,y){return m[v]-m[y]})}function LZ(e){if(vl(e)===TB)return[];var t=i0(e);return[VR(e),t,VR(t)]}function DZ(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,f=n.boundary,d=n.rootBoundary,g=n.altBoundary,m=n.flipVariations,v=m===void 0?!0:m,y=n.allowedAutoPlacements,x=t.options.placement,C=vl(x),b=C===x,E=l||(b||!v?[i0(x)]:LZ(x)),T=[x].concat(E).reduce(function(te,J){return te.concat(vl(J)===TB?IZ(t,{placement:J,boundary:f,rootBoundary:d,padding:u,flipVariations:v,allowedAutoPlacements:y}):J)},[]),D=t.rects.reference,I=t.rects.popper,U=new Map,H=!0,V=T[0],j=0;j<T.length;j++){var z=T[j],q=vl(z),Z=Hh(z)===Qf,ae=[oo,fa].indexOf(q)>=0,G=ae?"width":"height",ee=$h(t,{placement:z,boundary:f,rootBoundary:d,altBoundary:g,padding:u}),re=ae?Z?da:ao:Z?fa:oo;D[G]>I[G]&&(re=i0(re));var X=i0(re),ge=[];if(o&&ge.push(ee[q]<=0),s&&ge.push(ee[re]<=0,ee[X]<=0),ge.every(function(te){return te})){V=z,H=!1;break}U.set(z,ge)}if(H)for(var N=v?3:1,pe=function(J){var oe=T.find(function(_e){var ce=U.get(_e);if(ce)return ce.slice(0,J).every(function(fe){return fe})});if(oe)return V=oe,"break"},W=N;W>0;W--){var P=pe(W);if(P==="break")break}t.placement!==V&&(t.modifiersData[r]._skip=!0,t.placement=V,t.reset=!0)}}const b3={name:"flip",enabled:!0,phase:"main",fn:DZ,requiresIfExists:["offset"],data:{_skip:!1}};function WR(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function GR(e){return[oo,da,fa,ao].some(function(t){return e[t]>=0})}function RZ(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=$h(t,{elementContext:"reference"}),s=$h(t,{altBoundary:!0}),l=WR(a,r),u=WR(s,i,o),f=GR(l),d=GR(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const B3={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RZ};function PZ(e,t,n){var r=vl(e),i=[ao,oo].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[ao,da].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function UZ(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=sk.reduce(function(f,d){return f[d]=PZ(d,t.rects,o),f},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const C3={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:UZ};function NZ(e){var t=e.state,n=e.name;t.modifiersData[n]=w3({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const mk={name:"popperOffsets",enabled:!0,phase:"read",fn:NZ,data:{}};function MZ(e){return e==="x"?"y":"x"}function QZ(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,f=n.altBoundary,d=n.padding,g=n.tether,m=g===void 0?!0:g,v=n.tetherOffset,y=v===void 0?0:v,x=$h(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:f}),C=vl(t.placement),b=Hh(t.placement),E=!b,T=ck(C),D=MZ(T),I=t.modifiersData.popperOffsets,U=t.rects.reference,H=t.rects.popper,V=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,j=typeof V=="number"?{mainAxis:V,altAxis:V}:Object.assign({mainAxis:0,altAxis:0},V),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(I){if(o){var Z,ae=T==="y"?oo:ao,G=T==="y"?fa:da,ee=T==="y"?"height":"width",re=I[T],X=re+x[ae],ge=re-x[G],N=m?-H[ee]/2:0,pe=b===Qf?U[ee]:H[ee],W=b===Qf?-H[ee]:-U[ee],P=t.elements.arrow,te=m&&P?uk(P):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:g3(),oe=J[ae],_e=J[G],ce=Zg(0,U[ee],te[ee]),fe=E?U[ee]/2-N-ce-oe-j.mainAxis:pe-ce-oe-j.mainAxis,we=E?-U[ee]/2+N+ce+_e+j.mainAxis:W+ce+_e+j.mainAxis,Ae=t.elements.arrow&&mv(t.elements.arrow),Pe=Ae?T==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,ke=(Z=z==null?void 0:z[T])!=null?Z:0,$e=re+fe-ke-Pe,Xe=re+we-ke,gt=Zg(m?Cw(X,$e):X,re,m?If(ge,Xe):ge);I[T]=gt,q[T]=gt-re}if(s){var mt,At=T==="x"?oo:ao,on=T==="x"?fa:da,je=I[D],Rt=D==="y"?"height":"width",Fn=je+x[At],Tn=je-x[on],In=[oo,ao].indexOf(C)!==-1,Kn=(mt=z==null?void 0:z[D])!=null?mt:0,Lr=In?Fn:je-U[Rt]-H[Rt]-Kn+j.altAxis,Ee=In?je+U[Rt]+H[Rt]-Kn-j.altAxis:Tn,Qe=m&&In?mZ(Lr,je,Ee):Zg(m?Lr:Fn,je,m?Ee:Tn);I[D]=Qe,q[D]=Qe-je}t.modifiersData[r]=q}}const x3={name:"preventOverflow",enabled:!0,phase:"main",fn:QZ,requiresIfExists:["offset"]};function HZ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function $Z(e){return e===ha(e)||!Ga(e)?hk(e):HZ(e)}function jZ(e){var t=e.getBoundingClientRect(),n=Mh(t.width)/e.offsetWidth||1,r=Mh(t.height)/e.offsetHeight||1;return n!==1||r!==1}function zZ(e,t,n){n===void 0&&(n=!1);var r=Ga(t),i=Ga(t)&&jZ(t),o=cc(t),a=Qh(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((bl(t)!=="body"||gk(o))&&(s=$Z(t)),Ga(t)?(l=Qh(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=pk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function VZ(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function KZ(e){var t=VZ(e);return d3.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function WZ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}
vendor: 4,427 bytes, lines 17-21
17function GZ(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var YR={placement:"bottom",modifiers:[],strategy:"absolute"};function qR(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function kB(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,o=i===void 0?YR:i;return function(s,l,u){u===void 0&&(u=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},YR,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],g=!1,m={state:f,setOptions:function(C){var b=typeof C=="function"?C(f.options):C;y(),f.options=Object.assign({},o,f.options,b),f.scrollParents={reference:Hf(s)?Xg(s):s.contextElement?Xg(s.contextElement):[],popper:Xg(l)};var E=KZ(GZ([].concat(r,f.options.modifiers)));return f.orderedModifiers=E.filter(function(T){return T.enabled}),v(),m.update()},forceUpdate:function(){if(!g){var C=f.elements,b=C.reference,E=C.popper;if(qR(b,E)){f.rects={reference:zZ(b,mv(E),f.options.strategy==="fixed"),popper:uk(E)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(j){return f.modifiersData[j.name]=Object.assign({},j.data)});for(var T=0;T<f.orderedModifiers.length;T++){if(f.reset===!0){f.reset=!1,T=-1;continue}var D=f.orderedModifiers[T],I=D.fn,U=D.options,H=U===void 0?{}:U,V=D.name;typeof I=="function"&&(f=I({state:f,options:H,name:V,instance:m})||f)}}}},update:WZ(function(){return new Promise(function(x){m.forceUpdate(),x(f)})}),destroy:function(){y(),g=!0}};if(!qR(s,l))return m;m.setOptions(u).then(function(x){!g&&u.onFirstUpdate&&u.onFirstUpdate(x)});function v(){f.orderedModifiers.forEach(function(x){var C=x.name,b=x.options,E=b===void 0?{}:b,T=x.effect;if(typeof T=="function"){var D=T({state:f,name:C,instance:m,options:E}),I=function(){};d.push(D||I)}})}function y(){d.forEach(function(x){return x()}),d=[]}return m}}var YZ=kB(),qZ=[dk,mk,fk,Ak],ZZ=kB({defaultModifiers:qZ}),XZ=[dk,mk,fk,Ak,C3,b3,x3,_3,B3],JZ=kB({defaultModifiers:XZ});const eX=Object.freeze(Object.defineProperty({__proto__:null,afterMain:A3,afterRead:a3,afterWrite:f3,applyStyles:Ak,arrow:_3,auto:TB,basePlacements:fp,beforeMain:s3,beforeRead:i3,beforeWrite:u3,bottom:fa,clippingParents:n3,computeStyles:fk,createPopper:JZ,createPopperBase:YZ,createPopperLite:ZZ,detectOverflow:$h,end:Nh,eventListeners:dk,flip:b3,hide:B3,left:ao,main:l3,modifierPhases:d3,offset:C3,placements:sk,popper:th,popperGenerator:kB,popperOffsets:mk,preventOverflow:x3,read:o3,reference:r3,right:da,start:Qf,top:oo,variationPlacements:hS,viewport:ak,write:c3},Symbol.toStringTag,{value:"Module"})),tX=_n(eX);/*! 18 * Bootstrap v5.3.7 (https://getbootstrap.com/) 19 * Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 20 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 21 */(function(e,t){(function(n,r){e.exports=r(tX)})(ro,function(n){function r(ne){const S=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(ne){for(const Q in ne)if(Q!=="default"){const se=Object.getOwnPropertyDescriptor(ne,Q);Object.defineProperty(S,Q,se.get?se:{enumerable:!0,get:()=>ne[Q]})}}return S.default=ne,Object.freeze(S)}const i=r(n),o=new Map,a={set(ne,S,Q){o.has(ne)||o.set(ne,new Map);const se=o.get(ne);if(!se.has(S)&&se.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(se.keys())[0]}.`);return}se.set(S,Q)},get(ne,S){return o.has(ne)&&o.get(ne).get(S)||null},remove(ne,S){if(!o.has(ne))return;const Q=o.get(ne);Q.delete(S),Q.size===0&&o.delete(ne)}},s=1e6,l=1e3,u="transitionend",f=ne=>(ne&&window.CSS&&window.CSS.escape&&(ne=ne.replace(/#([^\s"#']+)/g,(S,Q)=>`#${CSS.escape(Q)}`)),ne),d=ne=>ne==null?`${ne}`:Object.prototype.toString.call(ne).match(/\s([a-z]+)/i)[1].toLowerCase(),g=ne=>{do ne+=Math.floor(Math.random()*s);while(document.getElementById(ne));return ne},m=ne=>{if(!ne)return 0;let{transitionDuration:S,transitionDelay:Q}=window.getComputedStyle(ne);const se=Number.parseFloat(S),Oe=Number.parseFloat(Q);return!se&&!Oe?0:(S=S.split(",")[0],Q=Q.split(",")[0],(Number.parseFloat(S)+Number.parseFloat(Q)
vendor: 9,774 bytes, line 21
21)*l)},v=ne=>{ne.dispatchEvent(new Event(u))},y=ne=>!ne||typeof ne!="object"?!1:(typeof ne.jquery<"u"&&(ne=ne[0]),typeof ne.nodeType<"u"),x=ne=>y(ne)?ne.jquery?ne[0]:ne:typeof ne=="string"&&ne.length>0?document.querySelector(f(ne)):null,C=ne=>{if(!y(ne)||ne.getClientRects().length===0)return!1;const S=getComputedStyle(ne).getPropertyValue("visibility")==="visible",Q=ne.closest("details:not([open])");if(!Q)return S;if(Q!==ne){const se=ne.closest("summary");if(se&&se.parentNode!==Q||se===null)return!1}return S},b=ne=>!ne||ne.nodeType!==Node.ELEMENT_NODE||ne.classList.contains("disabled")?!0:typeof ne.disabled<"u"?ne.disabled:ne.hasAttribute("disabled")&&ne.getAttribute("disabled")!=="false",E=ne=>{if(!document.documentElement.attachShadow)return null;if(typeof ne.getRootNode=="function"){const S=ne.getRootNode();return S instanceof ShadowRoot?S:null}return ne instanceof ShadowRoot?ne:ne.parentNode?E(ne.parentNode):null},T=()=>{},D=ne=>{ne.offsetHeight},I=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,U=[],H=ne=>{document.readyState==="loading"?(U.length||document.addEventListener("DOMContentLoaded",()=>{for(const S of U)S()}),U.push(ne)):ne()},V=()=>document.documentElement.dir==="rtl",j=ne=>{H(()=>{const S=I();if(S){const Q=ne.NAME,se=S.fn[Q];S.fn[Q]=ne.jQueryInterface,S.fn[Q].Constructor=ne,S.fn[Q].noConflict=()=>(S.fn[Q]=se,ne.jQueryInterface)}})},z=(ne,S=[],Q=ne)=>typeof ne=="function"?ne.call(...S):Q,q=(ne,S,Q=!0)=>{if(!Q){z(ne);return}const se=5,Oe=m(S)+se;let Ye=!1;const Ge=({target:Mt})=>{Mt===S&&(Ye=!0,S.removeEventListener(u,Ge),z(ne))};S.addEventListener(u,Ge),setTimeout(()=>{Ye||v(S)},Oe)},Z=(ne,S,Q,se)=>{const Oe=ne.length;let Ye=ne.indexOf(S);return Ye===-1?!Q&&se?ne[Oe-1]:ne[0]:(Ye+=Q?1:-1,se&&(Ye=(Ye+Oe)%Oe),ne[Math.max(0,Math.min(Ye,Oe-1))])},ae=/[^.]*(?=\..*)\.|.*/,G=/\..*/,ee=/::\d+$/,re={};let X=1;const ge={mouseenter:"mouseover",mouseleave:"mouseout"},N=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function pe(ne,S){return S&&`${S}::${X++}`||ne.uidEvent||X++}function W(ne){const S=pe(ne);return ne.uidEvent=S,re[S]=re[S]||{},re[S]}function P(ne,S){return function Q(se){return Pe(se,{delegateTarget:ne}),Q.oneOff&&Ae.off(ne,se.type,S),S.apply(ne,[se])}}function te(ne,S,Q){return function se(Oe){const Ye=ne.querySelectorAll(S);for(let{target:Ge}=Oe;Ge&&Ge!==this;Ge=Ge.parentNode)for(const Mt of Ye)if(Mt===Ge)return Pe(Oe,{delegateTarget:Ge}),se.oneOff&&Ae.off(ne,Oe.type,S,Q),Q.apply(Ge,[Oe])}}function J(ne,S,Q=null){return Object.values(ne).find(se=>se.callable===S&&se.delegationSelector===Q)}function oe(ne,S,Q){const se=typeof S=="string",Oe=se?Q:S||Q;let Ye=we(ne);return N.has(Ye)||(Ye=ne),[se,Oe,Ye]}function _e(ne,S,Q,se,Oe){if(typeof S!="string"||!ne)return;let[Ye,Ge,Mt]=oe(S,Q,se);S in ge&&(Ge=(Yp=>function(nA){if(!nA.relatedTarget||nA.relatedTarget!==nA.delegateTarget&&!nA.delegateTarget.contains(nA.relatedTarget))return Yp.call(this,nA)})(Ge));const yi=W(ne),vo=yi[Mt]||(yi[Mt]={}),Wr=J(vo,Ge,Ye?Q:null);if(Wr){Wr.oneOff=Wr.oneOff&&Oe;return}const Li=pe(Ge,S.replace(ae,"")),Jo=Ye?te(ne,Q,Ge):P(ne,Ge);Jo.delegationSelector=Ye?Q:null,Jo.callable=Ge,Jo.oneOff=Oe,Jo.uidEvent=Li,vo[Li]=Jo,ne.addEventListener(Mt,Jo,Ye)}function ce(ne,S,Q,se,Oe){const Ye=J(S[Q],se,Oe);Ye&&(ne.removeEventListener(Q,Ye,!!Oe),delete S[Q][Ye.uidEvent])}function fe(ne,S,Q,se){const Oe=S[Q]||{};for(const[Ye,Ge]of Object.entries(Oe))Ye.includes(se)&&ce(ne,S,Q,Ge.callable,Ge.delegationSelector)}function we(ne){return ne=ne.replace(G,""),ge[ne]||ne}const Ae={on(ne,S,Q,se){_e(ne,S,Q,se,!1)},one(ne,S,Q,se){_e(ne,S,Q,se,!0)},off(ne,S,Q,se){if(typeof S!="string"||!ne)return;const[Oe,Ye,Ge]=oe(S,Q,se),Mt=Ge!==S,yi=W(ne),vo=yi[Ge]||{},Wr=S.startsWith(".");if(typeof Ye<"u"){if(!Object.keys(vo).length)return;ce(ne,yi,Ge,Ye,Oe?Q:null);return}if(Wr)for(const Li of Object.keys(yi))fe(ne,yi,Li,S.slice(1));for(const[Li,Jo]of Object.entries(vo)){const Id=Li.replace(ee,"");(!Mt||S.includes(Id))&&ce(ne,yi,Ge,Jo.callable,Jo.delegationSelector)}},trigger(ne,S,Q){if(typeof S!="string"||!ne)return null;const se=I(),Oe=we(S),Ye=S!==Oe;let Ge=null,Mt=!0,yi=!0,vo=!1;Ye&&se&&(Ge=se.Event(S,Q),se(ne).trigger(Ge),Mt=!Ge.isPropagationStopped(),yi=!Ge.isImmediatePropagationStopped(),vo=Ge.isDefaultPrevented());const Wr=Pe(new Event(S,{bubbles:Mt,cancelable:!0}),Q);return vo&&Wr.preventDefault(),yi&&ne.dispatchEvent(Wr),Wr.defaultPrevented&&Ge&&Ge.preventDefault(),Wr}};function Pe(ne,S={}){for(const[Q,se]of Object.entries(S))try{ne[Q]=se}catch{Object.defineProperty(ne,Q,{configurable:!0,get(){return se}})}return ne}function ke(ne){if(ne==="true")return!0;if(ne==="false")return!1;if(ne===Number(ne).toString())return Number(ne);if(ne===""||ne==="null")return null;if(typeof ne!="string")return ne;try{return JSON.parse(decodeURIComponent(ne))}catch{return ne}}function $e(ne){return ne.replace(/[A-Z]/g,S=>`-${S.toLowerCase()}`)}const Xe={setDataAttribute(ne,S,Q){ne.setAttribute(`data-bs-${$e(S)}`,Q)},removeDataAttribute(ne,S){ne.removeAttribute(`data-bs-${$e(S)}`)},getDataAttributes(ne){if(!ne)return{};const S={},Q=Object.keys(ne.dataset).filter(se=>se.startsWith("bs")&&!se.startsWith("bsConfig"));for(const se of Q){let Oe=se.replace(/^bs/,"");Oe=Oe.charAt(0).toLowerCase()+Oe.slice(1),S[Oe]=ke(ne.dataset[se])}return S},getDataAttribute(ne,S){return ke(ne.getAttribute(`data-bs-${$e(S)}`))}};class gt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(S){return S=this._mergeConfigObj(S),S=this._configAfterMerge(S),this._typeCheckConfig(S),S}_configAfterMerge(S){return S}_mergeConfigObj(S,Q){const se=y(Q)?Xe.getDataAttribute(Q,"config"):{};return{...this.constructor.Default,...typeof se=="object"?se:{},...y(Q)?Xe.getDataAttributes(Q):{},...typeof S=="object"?S:{}}}_typeCheckConfig(S,Q=this.constructor.DefaultType){for(const[se,Oe]of Object.entries(Q)){const Ye=S[se],Ge=y(Ye)?"element":d(Ye);if(!new RegExp(Oe).test(Ge))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${se}" provided type "${Ge}" but expected type "${Oe}".`)}}}const mt="5.3.7";class At extends gt{constructor(S,Q){super(),S=x(S),S&&(this._element=S,this._config=this._getConfig(Q),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),Ae.off(this._element,this.constructor.EVENT_KEY);for(const S of Object.getOwnPropertyNames(this))this[S]=null}_queueCallback(S,Q,se=!0){q(S,Q,se)}_getConfig(S){return S=this._mergeConfigObj(S,this._element),S=this._configAfterMerge(S),this._typeCheckConfig(S),S}static getInstance(S){return a.get(x(S),this.DATA_KEY)}static getOrCreateInstance(S,Q={}){return this.getInstance(S)||new this(S,typeof Q=="object"?Q:null)}static get VERSION(){return mt}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(S){return`${S}${this.EVENT_KEY}`}}const on=ne=>{let S=ne.getAttribute("data-bs-target");if(!S||S==="#"){let Q=ne.getAttribute("href");if(!Q||!Q.includes("#")&&!Q.startsWith("."))return null;Q.includes("#")&&!Q.startsWith("#")&&(Q=`#${Q.split("#")[1]}`),S=Q&&Q!=="#"?Q.trim():null}return S?S.split(",").map(Q=>f(Q)).join(","):null},je={find(ne,S=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(S,ne))},findOne(ne,S=document.documentElement){return Element.prototype.querySelector.call(S,ne)},children(ne,S){return[].concat(...ne.children).filter(Q=>Q.matches(S))},parents(ne,S){const Q=[];let se=ne.parentNode.closest(S);for(;se;)Q.push(se),se=se.parentNode.closest(S);return Q},prev(ne,S){let Q=ne.previousElementSibling;for(;Q;){if(Q.matches(S))return[Q];Q=Q.previousElementSibling}return[]},next(ne,S){let Q=ne.nextElementSibling;for(;Q;){if(Q.matches(S))return[Q];Q=Q.nextElementSibling}return[]},focusableChildren(ne){const S=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(Q=>`${Q}:not([tabindex^="-"])`).join(",");return this.find(S,ne).filter(Q=>!b(Q)&&C(Q))},getSelectorFromElement(ne){const S=on(ne);return S&&je.findOne(S)?S:null},getElementFromSelector(ne){const S=on(ne);return S?je.findOne(S):null},getMultipleElementsFromSelector(ne){const S=on(ne);return S?je.find(S):[]}},Rt=(ne,S="hide")=>{const Q=`click.dismiss${ne.EVENT_KEY}`,se=ne.NAME;Ae.on(document,Q,`[data-bs-dismiss="${se}"]`,function(Oe){if(["A","AREA"].includes(this.tagName)&&Oe.preventDefault(),b(this))return;const Ye=je.getElementFromSelector(this)||this.closest(`.${se}`);ne.getOrCreateInstance(Ye)[S]()})},Fn="alert",In=".bs.alert",Kn=`close${In}`,Lr=`closed${In}`,Ee="fade",Qe="show";class rt extends At{static get NAME(){return Fn}close(){if(Ae.trigger(this._element,Kn).defaultPrevented)return;this._element.classList.remove(Qe);const Q=this._element.classList.contains(Ee);this._queueCallback(()=>this._destroyElement(),this._element,Q)}_destroyElement(){this._element.remove(),Ae.trigger(this._element,Lr),this.dispose()}static jQueryInterface(S){return this.each(function(){const Q=rt.getOrCreateInstance(this);if(typeof S=="string"){if(Q[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method n
21amed "${S}"`);Q[S](this)}})}}Rt(rt,"close"),j(rt);const bt="button",Un=".bs.button",Xn=".data-api",Cn="active",me='[data-bs-toggle="button"]',he=`click${Un}${Xn}`;class Fe extends At{static get NAME(){return bt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Cn))}static jQueryInterface(S){return this.each(function(){const Q=Fe.getOrCreateInstance(this);S==="toggle"&&Q[S]()})}}Ae.on(document,he,me,ne=>{ne.preventDefault();const S=ne.target.closest(me);Fe.getOrCreateInstance(S).toggle()}),j(Fe);const Ce="swipe",Se=".bs.swipe",Ie=`touchstart${Se}`,st=`touchmove${Se}`,at=`touchend${Se}`,dt=`pointerdown${Se}`,it=`pointerup${Se}`,tn="touch",Jn="pen",Ct="pointer-event",ft=40,kt={endCallback:null,leftCallback:null,rightCallback:null},Me={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ue extends gt{constructor(S,Q){super(),this._element=S,!(!S||!Ue.isSupported())&&(this._config=this._getConfig(Q),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return kt}static get DefaultType(){return Me}static get NAME(){return Ce}dispose(){Ae.off(this._element,Se)}_start(S){if(!this._supportPointerEvents){this._deltaX=S.touches[0].clientX;return}this._eventIsPointerPenTouch(S)&&(this._deltaX=S.clientX)}_end(S){this._eventIsPointerPenTouch(S)&&(this._deltaX=S.clientX-this._deltaX),this._handleSwipe(),z(this._config.endCallback)}_move(S){this._deltaX=S.touches&&S.touches.length>1?0:S.touches[0].clientX-this._deltaX}_handleSwipe(){const S=Math.abs(this._deltaX);if(S<=ft)return;const Q=S/this._deltaX;this._deltaX=0,Q&&z(Q>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ae.on(this._element,dt,S=>this._start(S)),Ae.on(this._element,it,S=>this._end(S)),this._element.classList.add(Ct)):(Ae.on(this._element,Ie,S=>this._start(S)),Ae.on(this._element,st,S=>this._move(S)),Ae.on(this._element,at,S=>this._end(S)))}_eventIsPointerPenTouch(S){return this._supportPointerEvents&&(S.pointerType===Jn||S.pointerType===tn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const be="carousel",Ze=".bs.carousel",ze=".data-api",Lt="ArrowLeft",Tt="ArrowRight",an=500,Ki="next",ki="prev",os="left",uo="right",ld=`slide${Ze}`,Ec=`slid${Ze}`,Tp=`keydown${Ze}`,Op=`mouseenter${Ze}`,kp=`mouseleave${Ze}`,Ad=`dragstart${Ze}`,jA=`load${Ze}${ze}`,zA=`click${Ze}${ze}`,Ll="carousel",VA="active",Ip="slide",Lp="carousel-item-end",ud="carousel-item-start",KA="carousel-item-next",Ms="carousel-item-prev",Sc=".active",Fc=".carousel-item",Dl=Sc+Fc,dn=".carousel-item img",jn=".carousel-indicators",Rl="[data-bs-slide], [data-bs-slide-to]",as='[data-bs-ride="carousel"]',ba={[Lt]:uo,[Tt]:os},Tc={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ut={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class wn extends At{constructor(S,Q){super(S,Q),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=je.findOne(jn,this._element),this._addEventListeners(),this._config.ride===Ll&&this.cycle()}static get Default(){return Tc}static get DefaultType(){return Ut}static get NAME(){return be}next(){this._slide(Ki)}nextWhenVisible(){!document.hidden&&C(this._element)&&this.next()}prev(){this._slide(ki)}pause(){this._isSliding&&v(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Ae.one(this._element,Ec,()=>this.cycle());return}this.cycle()}}to(S){const Q=this._getItems();if(S>Q.length-1||S<0)return;if(this._isSliding){Ae.one(this._element,Ec,()=>this.to(S));return}const se=this._getItemIndex(this._getActive());if(se===S)return;const Oe=S>se?Ki:ki;this._slide(Oe,Q[S])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(S){return S.defaultInterval=S.interval,S}_addEventListeners(){this._config.keyboard&&Ae.on(this._element,Tp,S=>
vendor: 9,332 bytes, line 21
21this._keydown(S)),this._config.pause==="hover"&&(Ae.on(this._element,Op,()=>this.pause()),Ae.on(this._element,kp,()=>this._maybeEnableCycle())),this._config.touch&&Ue.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const se of je.find(dn,this._element))Ae.on(se,Ad,Oe=>Oe.preventDefault());const Q={leftCallback:()=>this._slide(this._directionToOrder(os)),rightCallback:()=>this._slide(this._directionToOrder(uo)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),an+this._config.interval))}};this._swipeHelper=new Ue(this._element,Q)}_keydown(S){if(/input|textarea/i.test(S.target.tagName))return;const Q=ba[S.key];Q&&(S.preventDefault(),this._slide(this._directionToOrder(Q)))}_getItemIndex(S){return this._getItems().indexOf(S)}_setActiveIndicatorElement(S){if(!this._indicatorsElement)return;const Q=je.findOne(Sc,this._indicatorsElement);Q.classList.remove(VA),Q.removeAttribute("aria-current");const se=je.findOne(`[data-bs-slide-to="${S}"]`,this._indicatorsElement);se&&(se.classList.add(VA),se.setAttribute("aria-current","true"))}_updateInterval(){const S=this._activeElement||this._getActive();if(!S)return;const Q=Number.parseInt(S.getAttribute("data-bs-interval"),10);this._config.interval=Q||this._config.defaultInterval}_slide(S,Q=null){if(this._isSliding)return;const se=this._getActive(),Oe=S===Ki,Ye=Q||Z(this._getItems(),se,Oe,this._config.wrap);if(Ye===se)return;const Ge=this._getItemIndex(Ye),Mt=Id=>Ae.trigger(this._element,Id,{relatedTarget:Ye,direction:this._orderToDirection(S),from:this._getItemIndex(se),to:Ge});if(Mt(ld).defaultPrevented||!se||!Ye)return;const vo=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ge),this._activeElement=Ye;const Wr=Oe?ud:Lp,Li=Oe?KA:Ms;Ye.classList.add(Li),D(Ye),se.classList.add(Wr),Ye.classList.add(Wr);const Jo=()=>{Ye.classList.remove(Wr,Li),Ye.classList.add(VA),se.classList.remove(VA,Li,Wr),this._isSliding=!1,Mt(Ec)};this._queueCallback(Jo,se,this._isAnimated()),vo&&this.cycle()}_isAnimated(){return this._element.classList.contains(Ip)}_getActive(){return je.findOne(Dl,this._element)}_getItems(){return je.find(Fc,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(S){return V()?S===os?ki:Ki:S===os?Ki:ki}_orderToDirection(S){return V()?S===ki?os:uo:S===ki?uo:os}static jQueryInterface(S){return this.each(function(){const Q=wn.getOrCreateInstance(this,S);if(typeof S=="number"){Q.to(S);return}if(typeof S=="string"){if(Q[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method named "${S}"`);Q[S]()}})}}Ae.on(document,zA,Rl,function(ne){const S=je.getElementFromSelector(this);if(!S||!S.classList.contains(Ll))return;ne.preventDefault();const Q=wn.getOrCreateInstance(S),se=this.getAttribute("data-bs-slide-to");if(se){Q.to(se),Q._maybeEnableCycle();return}if(Xe.getDataAttribute(this,"slide")==="next"){Q.next(),Q._maybeEnableCycle();return}Q.prev(),Q._maybeEnableCycle()}),Ae.on(window,jA,()=>{const ne=je.find(as);for(const S of ne)wn.getOrCreateInstance(S)}),j(wn);const WA="collapse",Dr=".bs.collapse",cd=".data-api",Qs=`show${Dr}`,ss=`shown${Dr}`,ar=`hide${Dr}`,zo=`hidden${Dr}`,ls=`click${Dr}${cd}`,Ii="show",Vo="collapse",Ko="collapsing",kc="collapsed",GA=`:scope .${Vo} .${Vo}`,Pl="collapse-horizontal",YA="width",qA="height",ZA=".collapse.show, .collapse.collapsing",XA='[data-bs-toggle="collapse"]',Ic={parent:null,toggle:!0},fd={parent:"(null|element)",toggle:"boolean"};class xt extends At{constructor(S,Q){super(S,Q),this._isTransitioning=!1,this._triggerArray=[];const se=je.find(XA);for(const Oe of se){const Ye=je.getSelectorFromElement(Oe),Ge=je.find(Ye).filter(Mt=>Mt===this._element);Ye!==null&&Ge.length&&this._triggerArray.push(Oe)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Ic}static get DefaultType(){return fd}static get NAME(){return WA}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let S=[];if(this._config.parent&&(S=this._getFirstLevelChildren(ZA).filter(Mt=>Mt!==this._element).map(Mt=>xt.getOrCreateInstance(Mt,{toggle:!1}))),S.length&&S[0]._isTransitioning||Ae.trigger(this._element,Qs).defaultPrevented)return;for(const Mt of S)Mt.hide();const se=this._getDimension();this._element.classList.remove(Vo),this._element.classList.add(Ko),this._element.style[se]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const Oe=()=>{this._isTransitioning=!1,this._element.classList.remove(Ko),this._element.classList.add(Vo,Ii),this._element.style[se]="",Ae.trigger(this._element,ss)},Ge=`scroll${se[0].toUpperCase()+se.slice(1)}`;this._queueCallback(Oe,this._element,!0),this._element.style[se]=`${this._element[Ge]}px`}hide(){if(this._isTransitioning||!this._isShown()||Ae.trigger(this._element,ar).defaultPrevented)return;const Q=this._getDimension();this._element.style[Q]=`${this._element.getBoundingClientRect()[Q]}px`,D(this._element),this._element.classList.add(Ko),this._element.classList.remove(Vo,Ii);for(const Oe of this._triggerArray){const Ye=je.getElementFromSelector(Oe);Ye&&!this._isShown(Ye)&&this._addAriaAndCollapsedClass([Oe],!1)}this._isTransitioning=!0;const se=()=>{this._isTransitioning=!1,this._element.classList.remove(Ko),this._element.classList.add(Vo),Ae.trigger(this._element,zo)};this._element.style[Q]="",this._queueCallback(se,this._element,!0)}_isShown(S=this._element){return S.classList.contains(Ii)}_configAfterMerge(S){return S.toggle=!!S.toggle,S.parent=x(S.parent),S}_getDimension(){return this._element.classList.contains(Pl)?YA:qA}_initializeChildren(){if(!this._config.parent)return;const S=this._getFirstLevelChildren(XA);for(const Q of S){const se=je.getElementFromSelector(Q);se&&this._addAriaAndCollapsedClass([Q],this._isShown(se))}}_getFirstLevelChildren(S){const Q=je.find(GA,this._config.parent);return je.find(S,this._config.parent).filter(se=>!Q.includes(se))}_addAriaAndCollapsedClass(S,Q){if(S.length)for(const se of S)se.classList.toggle(kc,!Q),se.setAttribute("aria-expanded",Q)}static jQueryInterface(S){const Q={};return typeof S=="string"&&/show|hide/.test(S)&&(Q.toggle=!1),this.each(function(){const se=xt.getOrCreateInstance(this,Q);if(typeof S=="string"){if(typeof se[S]>"u")throw new TypeError(`No method named "${S}"`);se[S]()}})}}Ae.on(document,ls,XA,function(ne){(ne.target.tagName==="A"||ne.delegateTarget&&ne.delegateTarget.tagName==="A")&&ne.preventDefault();for(const S of je.getMultipleElementsFromSelector(this))xt.getOrCreateInstance(S,{toggle:!1}).toggle()}),j(xt);const Wi="dropdown",Ba=".bs.dropdown",As=".data-api",Lc="Escape",JA="Tab",us="ArrowUp",eu="ArrowDown",Ul=2,Nt=`hide${Ba}`,hn=`hidden${Ba}`,dd=`show${Ba}`,hd=`shown${Ba}`,pd=`click${Ba}${As}`,Dc=`keydown${Ba}${As}`,Rc=`keyup${Ba}${As}`,Hs="show",Pc="dropup",nn="dropend",Rr="dropstart",di="dropup-center",Gi="dropdown-center",Wo='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Uc=`${Wo}.${Hs}`,Pr=".dropdown-menu",gd=".navbar",Nc=".navbar-nav",md=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",vd=V()?"top-end":"top-start",tu=V()?"top-start":"top-end",_d=V()?"bottom-end":"bottom-start",er=V()?"bottom-start":"bottom-end",Dp=V()?"left-start":"right-start",hi=V()?"right-start":"left-start",Ca="top",Mc="bottom",Go={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$s={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pi extends At{constructor(S,Q){super(S,Q),this._popper=null,this._parent=this._element.parentNode,this._menu=je.next(this._element,Pr)[0]||je.prev(this._element,Pr)[0]||je.findOne(Pr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Go}static get DefaultType(){return $s}static get NAME(){return Wi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(b(this._element)||this._isShown())return;const S={relatedTarget:this._element};if(!Ae.trigger(this._element,dd,S).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Nc))for(const se of[].concat(...document.body.children))Ae.on(se,"mouseover",T);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Hs),this._element.classList.add(Hs),Ae.trigger(this._element,hd,S)}}hide(){if(b(this._element)||!this._isShown())return;const S={relatedTarget:this._element};this._completeHide(S)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(S){if(!Ae.trigger(this._element,Nt,S).defaultPrevented){if("ontouchstart"in document.documentElement)for(const se of[].concat(...document.body.children))Ae.off(se,"mouseover",T);this._popper&&this._popper.destroy(),this._menu.classList.remove(Hs),this._element.classList.remove(Hs),this._element.setAttribute("aria-expanded","fal
21se"),Xe.removeDataAttribute(this._menu,"popper"),Ae.trigger(this._element,hn,S),this._element.focus()}}_getConfig(S){if(S=super._getConfig(S),typeof S.reference=="object"&&!y(S.reference)&&typeof S.reference.getBoundingClientRect!="function")throw new TypeError(`${Wi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return S}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let S=this._element;this._config.reference==="parent"?S=this._parent:y(this._config.reference)?S=x(this._config.reference):typeof this._config.reference=="object"&&(S=this._config.reference);const Q=this._getPopperConfig();this._popper=i.createPopper(S,this._menu,Q)}_isShown(){return this._menu.classList.contains(Hs)}_getPlacement(){const S=this._parent;if(S.classList.contains(nn))return Dp;if(S.classList.contains(Rr))return hi;if(S.classList.contains(di))return Ca;if(S.classList.contains(Gi))return Mc;const Q=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return S.classList.contains(Pc)?Q?tu:vd:Q?er:_d}_detectNavbar(){return this._element.closest(gd)!==null}_getOffset(){const{offset:S}=this._config;return typeof S=="string"?S.split(",").map(Q=>Number.parseInt(Q,10)):typeof S=="function"?Q=>S(Q,this._element):S}_getPopperConfig(){const S={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Xe.setDataAttribute(this._menu,"popper","static"),S.modifiers=[{name:"applyStyles",enabled:!1}]),{...S,...z(this._config.popperConfig,[void 0,S])}}_selectMenuItem({key:S,target:Q}){const se=je.find(md,this._menu).filter(Oe=>C(Oe));se.length&&Z(se,Q,S===eu,!se.includes(Q)).focus()}static jQueryInterface(S){return this.each(function(){const Q=pi.getOrCreateInstance(this,S);if(typeof S=="string"){if(typeof Q[S]>"u")throw new TypeError(`No method named "${S}"`);Q[S]()}})}static clearMenus(S){if(S.button===Ul||S.type==="keyup"&&S.key!==JA)return;const Q=je.find(Uc);for(const se of Q){const Oe=pi.getInstance(se);if(!Oe||Oe._config.autoClose===!1)continue;const Ye=S.composedPath(),Ge=Ye.includes(Oe._menu);if(Ye.includes(Oe._element)||Oe._config.autoClose==="inside"&&!Ge||Oe._config.autoClose==="outside"&&Ge||Oe._menu.contains(S.target)&&(S.type==="keyup"&&S.key===JA||/input|select|option|textarea|form/i.test(S.target.tagName)))continue;const Mt={relatedTarget:Oe._element};S.type==="click"&&(Mt.clickEvent=S),Oe._completeHide(Mt)}}static dataApiKeydownHandler(S){const Q=/input|textarea/i.test(S.target.tagName),se=S.key===Lc,Oe=[us,eu].includes(S.key);if(!Oe&&!se||Q&&!se)return;S.preventDefault();const Ye=this.matches(Wo)?this:je.prev(this,Wo)[0]||je.next(this,Wo)[0]||je.findOne(Wo,S.delegateTarget.parentNode),Ge=pi.getOrCreateInstance(Ye);if(Oe){S.stopPropagation(),Ge.show(),Ge._selectMenuItem(S);return}Ge._isShown()&&(S.stopPropagation(),Ge.hide(),Ye.focus())}}Ae.on(document,Dc,Wo,pi.dataApiKeydownHandler),Ae.on(document,Dc,Pr,pi.dataApiKeydownHandler),Ae.on(document,pd,pi.clearMenus),Ae.on(document,Rc,pi.clearMenus),Ae.on(document,pd,Wo,function(ne){ne.preventDefault(),pi.getOrCreateInstance(this).toggle()}),j(pi);const Ln="backdrop",Yo="fade",nu="show",yd=`mousedown.bs.${Ln}`,Nl={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Rp={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Qc extends gt{constructor(S){super(),this._config=this._getConfig(S),this._isAppended=!1,this._element=null}static get Default(){return Nl}static get DefaultType(){return Rp}static get NAME(){return Ln}show(S){if(!this._config.isVisible){z(S);return}this._append();const Q=this._getElement();this._config.isAnimated&&D(Q),Q.classList.add(nu),this._emulateAnimation(()=>{z(S)})}hide(S){if(!this._config.isVisible){z(S);return}this._getElement().classList.remove(nu),this._emulateAnimation(()=>{this.dispose(),z(S)})}dispose(){this._isAppended&&(Ae.off(this._element,yd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const S=document.createElement("div");S.className=this._config.className,this._config.isAnimated&&S.classList.add(Yo),this._element=S}return this._element}_configAfterMerge(S){return S.rootElement=x(S.rootElement),S}_append(){if(this._isAppended)return;const S=this._getElement();this._config.rootElement.append(S),Ae.on(S,yd,()=>{z(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(S){q(S,this._getElement(),this._config.isAnimated)}}const wd="focustrap",gi=".bs.focustrap",js=`focusin${gi}`,Ml=`keydown.tab${gi}`,mi="Tab",Hc="forward",Ql="backward",$c={autofocus:!0,trapElement:null},iu={autofocus:"boolean",trapElement:"element"};class ou extends gt{constructor(S){super(),this._config=this._getConfig(S),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return $c}static get DefaultType(){return iu}static get NAME(){return wd}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ae.off(document,gi),Ae.on(document,js,S=>this._handleFocusin(S)),Ae.on(document,Ml,S=>this._handleKeydown(S)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ae.off(document,gi))}_handleFocusin(S){const{trapElement:Q}=this._config;if(S.target===document||S.target===Q||Q.contains(S.target))return;const se=je.focusableChildren(Q);se.length===0?Q.focus():this._lastTabNavDirection===Ql?se[se.length-1].focus():se[0].focus()}
vendor: 25,271 bytes, line 21
21_handleKeydown(S){S.key===mi&&(this._lastTabNavDirection=S.shiftKey?Ql:Hc)}}const au=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",su=".sticky-top",Hl="padding-right",jc="margin-right";class Mn{constructor(){this._element=document.body}getWidth(){const S=document.documentElement.clientWidth;return Math.abs(window.innerWidth-S)}hide(){const S=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Hl,Q=>Q+S),this._setElementAttributes(au,Hl,Q=>Q+S),this._setElementAttributes(su,jc,Q=>Q-S)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Hl),this._resetElementAttributes(au,Hl),this._resetElementAttributes(su,jc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(S,Q,se){const Oe=this.getWidth(),Ye=Ge=>{if(Ge!==this._element&&window.innerWidth>Ge.clientWidth+Oe)return;this._saveInitialAttribute(Ge,Q);const Mt=window.getComputedStyle(Ge).getPropertyValue(Q);Ge.style.setProperty(Q,`${se(Number.parseFloat(Mt))}px`)};this._applyManipulationCallback(S,Ye)}_saveInitialAttribute(S,Q){const se=S.style.getPropertyValue(Q);se&&Xe.setDataAttribute(S,Q,se)}_resetElementAttributes(S,Q){const se=Oe=>{const Ye=Xe.getDataAttribute(Oe,Q);if(Ye===null){Oe.style.removeProperty(Q);return}Xe.removeDataAttribute(Oe,Q),Oe.style.setProperty(Q,Ye)};this._applyManipulationCallback(S,se)}_applyManipulationCallback(S,Q){if(y(S)){Q(S);return}for(const se of je.find(S,this._element))Q(se)}}const xa="modal",sr=".bs.modal",bd=".data-api",zs="Escape",Pp=`hide${sr}`,$l=`hidePrevented${sr}`,zc=`hidden${sr}`,jl=`show${sr}`,Vs=`shown${sr}`,Ea=`resize${sr}`,Au=`click.dismiss${sr}`,Vc=`mousedown.dismiss${sr}`,uu=`keydown.dismiss${sr}`,Sa=`click${sr}${bd}`,vi="modal-open",Up="fade",cs="show",Kc="modal-static",oi=".modal.show",ai=".modal-dialog",Wc=".modal-body",Gc='[data-bs-toggle="modal"]',cu={backdrop:!0,focus:!0,keyboard:!0},Yc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class co extends At{constructor(S,Q){super(S,Q),this._dialog=je.findOne(ai,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Mn,this._addEventListeners()}static get Default(){return cu}static get DefaultType(){return Yc}static get NAME(){return xa}toggle(S){return this._isShown?this.hide():this.show(S)}show(S){this._isShown||this._isTransitioning||Ae.trigger(this._element,jl,{relatedTarget:S}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(vi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(S)))}hide(){!this._isShown||this._isTransitioning||Ae.trigger(this._element,Pp).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(cs),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ae.off(window,sr),Ae.off(this._dialog,sr),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Qc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ou({trapElement:this._element})}_showElement(S){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const Q=je.findOne(Wc,this._dialog);Q&&(Q.scrollTop=0),D(this._element),this._element.classList.add(cs);const se=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ae.trigger(this._element,Vs,{relatedTarget:S})};this._queueCallback(se,this._dialog,this._isAnimated())}_addEventListeners(){Ae.on(this._element,uu,S=>{if(S.key===zs){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ae.on(window,Ea,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ae.on(this._element,Vc,S=>{Ae.one(this._element,Au,Q=>{if(!(this._element!==S.target||this._element!==Q.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(vi),this._resetAdjustments(),this._scrollBar.reset(),Ae.trigger(this._element,zc)})}_isAnimated(){return this._element.classList.contains(Up)}_triggerBackdropTransition(){if(Ae.trigger(this._element,$l).defaultPrevented)return;const Q=this._element.scrollHeight>document.documentElement.clientHeight,se=this._element.style.overflowY;se==="hidden"||this._element.classList.contains(Kc)||(Q||(this._element.style.overflowY="hidden"),this._element.classList.add(Kc),this._queueCallback(()=>{this._element.classList.remove(Kc),this._queueCallback(()=>{this._element.style.overflowY=se},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const S=this._element.scrollHeight>document.documentElement.clientHeight,Q=this._scrollBar.getWidth(),se=Q>0;if(se&&!S){const Oe=V()?"paddingLeft":"paddingRight";this._element.style[Oe]=`${Q}px`}if(!se&&S){const Oe=V()?"paddingRight":"paddingLeft";this._element.style[Oe]=`${Q}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(S,Q){return this.each(function(){const se=co.getOrCreateInstance(this,S);if(typeof S=="string"){if(typeof se[S]>"u")throw new TypeError(`No method named "${S}"`);se[S](Q)}})}}Ae.on(document,Sa,Gc,function(ne){const S=je.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&ne.preventDefault(),Ae.one(S,jl,Oe=>{Oe.defaultPrevented||Ae.one(S,zc,()=>{C(this)&&this.focus()})});const Q=je.findOne(oi);Q&&co.getInstance(Q).hide(),co.getOrCreateInstance(S).toggle(this)}),Rt(co),j(co);const Ks="offcanvas",de=".bs.offcanvas",Te=".data-api",xe=`load${de}${Te}`,nt="Escape",Ot="show",sn="showing",fr="hiding",xn="offcanvas-backdrop",fu=".offcanvas.show",fo=`show${de}`,Jr=`shown${de}`,du=`hide${de}`,zl=`hidePrevented${de}`,fs=`hidden${de}`,Vl=`resize${de}`,hu=`click${de}${Te}`,ln=`keydown.dismiss${de}`,Np='[data-bs-toggle="offcanvas"]',ds={backdrop:!0,keyboard:!0,scroll:!1},Kl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ho extends At{constructor(S,Q){super(S,Q),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ds}static get DefaultType(){return Kl}static get NAME(){return Ks}toggle(S){return this._isShown?this.hide():this.show(S)}show(S){if(this._isShown||Ae.trigger(this._element,fo,{relatedTarget:S}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Mn().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(sn);const se=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Ot),this._element.classList.remove(sn),Ae.trigger(this._element,Jr,{relatedTarget:S})};this._queueCallback(se,this._element,!0)}hide(){if(!this._isShown||Ae.trigger(this._element,du).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(fr),this._backdrop.hide();const Q=()=>{this._element.classList.remove(Ot,fr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Mn().reset(),Ae.trigger(this._element,fs)};this._queueCallback(Q,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const S=()=>{if(this._config.backdrop==="static"){Ae.trigger(this._element,zl);return}this.hide()},Q=!!this._config.backdrop;return new Qc({className:xn,isVisible:Q,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:Q?S:null})}_initializeFocusTrap(){return new ou({trapElement:this._element})}_addEventListeners(){Ae.on(this._element,ln,S=>{if(S.key===nt){if(this._config.keyboard){this.hide();return}Ae.trigger(this._element,zl)}})}static jQueryInterface(S){return this.each(function(){const Q=ho.getOrCreateInstance(this,S);if(typeof S=="string"){if(Q[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method named "${S}"`);Q[S](this)}})}}Ae.on(document,hu,Np,function(ne){const S=je.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&ne.preventDefault(),b(this))return;Ae.one(S,fs,()=>{C(this)&&this.focus()});const Q=je.findOne(fu);Q&&Q!==S&&ho.getInstance(Q).hide(),ho.getOrCreateInstance(S).toggle(this)}),Ae.on(window,xe,()=>{for(const ne of je.find(fu))ho.getOrCreateInstance(ne).show()}),Ae.on(window,Vl,()=>{for(const ne of je.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(ne).position!=="fixed"&&ho.getOrCreateInstance(ne).hide()}),Rt(ho),j(ho);const po={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Ta=(ne,S)=>{const Q=ne.nodeName.toLowerCase();return S.includes(Q)?Wl.has(Q)?!!qo.test(ne.nodeValue):!0:S.filter(se=>se instanceof RegExp).some(se=>se.test(Q))};function Bd(ne,S,Q){if(!ne.length)return ne;if(Q&&typeof Q=="function")return Q(ne);const Oe=new window.DOMParser().parseFromString(ne,"text/html"),Ye=[].concat(...Oe.body.querySelectorAll("*"));for(const Ge of Ye){const Mt=Ge.nodeName.toLowerCase();if(!Object.keys(S).includes(Mt)){Ge.remove();continue}const yi=[].concat(...Ge.attributes),vo=[].concat(S["*"]||[],S[Mt]||[]);for(const Wr of yi)Ta(Wr,vo)||Ge.removeAttribute(Wr.nodeName)}return Oe.body.innerHTML}const hs="TemplateFactory",Ws={allowList:po,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},qc={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Gl={entry:"(string|element|function|null)",selector:"(string|element)"};class Cd extends gt{constructor(S){super(),this._config=this._getConfig(S)}static get Default(){return Ws}static get DefaultType(){return qc}static get NAME(){return hs}getContent(){return Object.values(this._config.content).map(S=>this._resolvePossibleFunction(S)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(S){return this._checkContent(S),this._config.content={...this._config.content,...S},this}toHtml(){const S=document.createElement("div");S.innerHTML=this._maybeSanitize(this._config.template);for(const[Oe,Ye]of Object.entries(this._config.content))this._setContent(S,Ye,Oe);const Q=S.children[0],se=this._resolvePossibleFunction(this._config.extraClass);return se&&Q.classList.add(...se.split(" ")),Q}_typeCheckConfig(S){super._typeCheckConfig(S),this._checkContent(S.content)}_checkContent(S){for(const[Q,se]of Object.entries(S))super._typeCheckConfig({selector:Q,entry:se},Gl)}_setContent(S,Q,se){const Oe=je.findOne(se,S);if(Oe){if(Q=this._resolvePossibleFunction(Q),!Q){Oe.remove();return}if(y(Q)){this._putElementInTemplate(x(Q),Oe);return}if(this._config.html){Oe.innerHTML=this._maybeSanitize(Q);return}Oe.textContent=Q}}_maybeSanitize(S){return this._config.sanitize?Bd(S,this._config.allowList,this._config.sanitizeFn):S}_resolvePossibleFunction(S){return z(S,[void 0,this])}_putElementInTemplate(S,Q){if(this._config.html){Q.innerHTML="",Q.append(S);return}Q.textContent=S.textContent}}const Gs="tooltip",Oa=new Set(["sanitize","allowList","sanitizeFn"]),ps="fade",xd="modal",Yl="show",Mp=".tooltip-inner",Ys=`.${xd}`,qs="hide.bs.modal",gs="hover",A="focus",h="click",_="manual",F="hide",R="hidden",$="show",le="shown",ye="inserted",Be="click",Ne="focusin",et="focusout",yt="mouseenter",Qt="mouseleave",dr={AUTO:"auto",TOP:"top",RIGHT:V()?"left":"right",BOTTOM:"bottom",LEFT:V()?"right":"left"},tr={allowList:po,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Kr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Wn extends At{constructor(S,Q){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(S,Q),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return tr}static get DefaultType(){return Kr}static get NAME(){return Gs}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Ae.off(this._element.closest(Ys),qs,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const S=Ae.trigger(this._element,this.constructor.eventName($)),se=(E(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(S.defaultPrevented||!se)return;this._disposePopper();const Oe=this._getTipElement();this._element.setAttribute("aria-describedby",Oe.getAttribute("id"));const{container:Ye}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Ye.append(Oe),Ae.trigger(this._element,this.constructor.eventName(ye))),this._popper=this._createPopper(Oe),Oe.classList.add(Yl),"ontouchstart"in document.documentElement)for(const Mt of[].concat(...document.body.children))Ae.on(Mt,"mouseover",T);const Ge=()=>{Ae.trigger(this._element,this.constructor.eventName(le)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ge,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ae.trigger(this._element,this.constructor.eventName(F)).defaultPrevented)return;if(this._getTipElement().classList.remove(Yl),"ontouchstart"in document.documentElement)for(const Oe of[].concat(...document.body.children))Ae.off(Oe,"mouseover",T);this._activeTrigger[h]=!1,this._activeTrigger[A]=!1,this._activeTrigger[gs]=!1,this._isHovered=null;const se=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ae.trigger(this._element,this.constructor.eventName(R)))};this._queueCallback(se,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(S){const Q=this._getTemplateFactory(S).toHtml();if(!Q)return null;Q.classList.remove(ps,Yl),Q.classList.add(`bs-${this.constructor.NAME}-auto`);const se=g(this.constructor.NAME).toString();return Q.setAttribute("id",se),this._isAnimated()&&Q.classList.add(ps),Q}setContent(S){this._newContent=S,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(S){return this._templateFactory?this._templateFactory.changeContent(S):this._templateFactory=new Cd({...this._config,content:S,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Mp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(S){return this.constructor.getOrCreateInstance(S.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ps)}_isShown(){return this.tip&&this.tip.classList.contains(Yl)}_createPopper(S){const Q=z(this._config.placement,[this,S,this._element]),se=dr[Q.toUpperCase()];return i.createPopper(this._element,S,this._getPopperConfig(se))}_getOffset(){const{offset:S}=this._config;return typeof S=="string"?S.split(",").map(Q=>Number.parseInt(Q,10)):typeof S=="function"?Q=>S(Q,this._element):S}_resolvePossibleFunction(S){return z(S,[this._element,this._element])}_getPopperConfig(S){const Q={placement:S,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:se=>{this._getTipElement().setAttribute("data-popper-placement",se.state.placement)}}]};return{...Q,...z(this._config.popperConfig,[void 0,Q])}}_setListeners(){const S=this._config.trigger.split(" ");for(const Q of S)if(Q==="click")Ae.on(this._element,this.constructor.eventName(Be),this._config.selector,se=>{const Oe=this._initializeOnDelegatedTarget(se);Oe._activeTrigger[h]=!(Oe._isShown()&&Oe._activeTrigger[h]),Oe.toggle()});else if(Q!==_){const se=Q===gs?this.constructor.eventName(yt):this.constructor.eventName(Ne),Oe=Q===gs?this.constructor.eventName(Qt):this.constructor.eventName(et);Ae.on(this._element,se,this._config.selector,Ye=>{const Ge=this._initializeOnDelegatedTarget(Ye);Ge._activeTrigger[Ye.type==="focusin"?A:gs]=!0,Ge._enter()}),Ae.on(this._element,Oe,this._config.selector,Ye=>{const Ge=this._initializeOnDelegatedTarget(Ye);Ge._activeTrigger[Ye.type==="focusout"?A:gs]=Ge._element.contains(Ye.relatedTarget),Ge._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ae.on(this._element.closest(Ys),qs,this._hideModalHandler)}_fixTitle(){const S=this._element.getAttribute("title");S&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",S),this._element.setAttribute("data-bs-original-title",S),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(S,Q){clearTimeout(this._timeout),this._timeout=setTimeout(S,Q)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(S){const Q=Xe.getDataAttributes(this._element);for(const se of Object.keys(Q))Oa.has(se)&&delete Q[se];return S={...Q,...typeof S=="object"&&S?S:{}},S=this._mergeConfigObj(S),S=this._configAfterMerge(S),this._typeCheckConfig(S),S}_configAfterMerge(S){return S.container=S.container===!1?document.body:x(S.container),typeof S.delay=="number"&&(S.delay={show:S.delay,hide:S.delay}),typeof S.title=="number"&&(S.title=S.title.toString()),typeof S.content=="number"&&(S.content=S.content.toString()),S}_getDelegateConfig(){const S={};for(const[Q,se]of Object.entries(this._config))this.constructor.Default[Q]!==se&&(S[Q]=se);return S.selector=!1,S.trigger="manual",S}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(S){return this.each(function(){const Q=Wn.getOrCreateInstance(this,S);if(typeof S=="string"){if(typeof Q[S]>"u")throw new TypeError(`No method named "${S}"`);Q[S]()}})}}j(Wn);const Yi="popover",Qp=".popover-header",Hp=".popover-body",$p={...Wn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},Ed={...Wn.DefaultType,content:"(null|string|element|function)"};class pu extends Wn{static get Default(){return $p}static get DefaultType(){return Ed}static get NAME(){return Yi}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Qp]:this._getTitle(),[Hp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(S){return this.each(function(){const Q=pu.getOrCreateInstance(this,S);if(typeof S=="string"){if(typeof Q[S]>"u")throw new TypeError(`No method named "${S}"`);Q[S]()}})}}j(pu);const ql="scrollspy",ms=".bs.scrollspy",K=".data-api",Zs=`activate${ms}`,Zl=`click${ms}`,si=`load${ms}${K}`,Yt="dropdown-item",Xs="active",fx='[data-bs-spy="scroll"]',jp="[href]",Xl=".nav, .list-group",r_=".nav-link",dx=`${r_}, .nav-item > ${r_}, .list-group-item`,hx=".dropdown",vs=".dropdown-toggle",px={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gx={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zc extends At{constructor(S,Q){super(S,Q),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return px}static get DefaultType(){return gx}static get NAME(){return ql}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const S of this._observableSections.values())this._observer.observe(S)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(S){return S.target=x(S.target)||document.body,S.rootMargin=S.offset?`${S.offset}px 0px -30%`:S.rootMargin,typeof S.threshold=="string"&&(S.threshold=S.threshold.split(",").map(Q=>Number.parseFloat(Q))),S}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Ae.off(this._config.target,Zl),Ae.on(this._config.target,Zl,jp,S=>{const Q=this._observableSections.get(S.target.hash);if(Q){S.preventDefault();const se=this._rootElement||window,Oe=Q.offsetTop-this._element.offsetTop;if(se.scrollTo){se.scrollTo({top:Oe,behavior:"smooth"});return}se.scrollTop=Oe}}))}_getNewObserver(){const S={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(Q=>this._observerCallback(Q),S)}_observerCallback(S){const Q=Ge=>this._targetLinks.get(`#${Ge.target.id}`),se=Ge=>{this._previousScrollData.visibleEntryTop=Ge.target.offsetTop,this._process(Q(Ge))},Oe=(this._rootElement||document.documentElement).scrollTop,Ye=Oe>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=Oe;for(const Ge of S){if(!Ge.isIntersecting){this._activeTarget=null,this._clearActiveClass(Q(Ge));continue}const Mt=Ge.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Ye&&Mt){if(se(Ge),!Oe)return;continue}!Ye&&!Mt&&se(Ge)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const S=je.find(jp,this._config.target);for(const Q of S){if(!Q.hash||b(Q))continue;const se=je.findOne(decodeURI(Q.hash),this._element);C(se)&&(this._targetLinks.set(decodeURI(Q.hash),Q),this._observableSections.set(Q.hash,se))}}_process(S){this._activeTarget!==S&&(this._clearActiveClass(this._config.target),this._activeTarget=S,S.classList.add(Xs),this._activateParents(S),Ae.trigger(this._element,Zs,{relatedTarget:S}))}_activateParents(S){if(S.classList.contains(Yt)){je.findOne(vs,S.closest(hx)).classList.add(Xs);return}for(const Q of je.parents(S,Xl))for(const se of je.prev(Q,dx))se.classList.add(Xs)}_clearActiveClass(S){S.classList.remove(Xs);const Q=je.find(`${jp}.${Xs}`,S);for(const se of Q)se.classList.remove(Xs)}static jQueryInterface(S){return this.each(function(){const Q=Zc.getOrCreateInstance(this,S);if(typeof S=="string"){if(Q[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method n
21amed "${S}"`);Q[S]()}})}}Ae.on(window,si,()=>{for(const ne of je.find(fx))Zc.getOrCreateInstance(ne)}),j(Zc);const mx="tab",_i=".bs.tab",vx=`hide${_i}`,_x=`hidden${_i}`,yx=`show${_i}`,wx=`shown${_i}`,bx=`click${_i}`,Jl=`keydown${_i}`,Bx=`load${_i}`,Cx="ArrowLeft",go="ArrowRight",xx="ArrowUp",i_="ArrowDown",zp="Home",o_="End",eA="active",Vp="fade",Sd="show",Ex="dropdown",a_=".dropdown-toggle",Kp=".dropdown-menu",tA=`:not(${a_})`,Fd='.list-group, .nav, [role="tablist"]',Sx=".nav-item, .list-group-item",s_=`.nav-link${tA}, .list-group-item${tA}, [role="tab"]${tA}`,l_='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Zo=`${s_}, ${l_}`,Wp=`.${eA}[data-bs-toggle="tab"], .${eA}[data-bs-toggle="pill"], .${eA}[data-bs-toggle="list"]`;class qi extends At{constructor(S){super(S),this._parent=this._element.closest(Fd),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ae.on(this._element,Jl,Q=>this._keydown(Q)))}static get NAME(){return mx}show(){const S=this._element;if(this._elemIsActive(S))return;const Q=this._getActiveElem(),se=Q?Ae.trigger(Q,vx,{relatedTarget:S}):null;Ae.trigger(S,yx,{relatedTarget:Q}).defaultPrevented||se&&se.defaultPrevented||(this._deactivate(Q,S),this._activate(S,Q))}_activate(S,Q){if(!S)return;S.classList.add(eA),this._activate(je.getElementFromSelector(S));const se=()=>{if(S.getAttribute("role")!=="tab"){S.classList.add(Sd);return}S.removeAttribute("tabindex"),S.setAttribute("aria-selected",!0),this._toggleDropDown(S,!0),Ae.trigger(S,wx,{relatedTarget:Q})};this._queueCallback(se,S,S.classList.contains(Vp))}_deactivate(S,Q){if(!S)return;S.classList.remove(eA),S.blur(),this._deactivate(je.getElementFromSelector(S));const se=()=>{if(S.getAttribute("role")!=="tab"){S.classList.remove(Sd);return}S.setAttribute("aria-selected",!1),S.setAttribute("tabindex","-1"),this._toggleDropDown(S,!1),Ae.trigger(S,_x,{relatedTarget:Q})};this._queueCallback(se,S,S.classList.contains(Vp))}_keydown(S){if(![Cx,go,xx,i_,zp,o_].includes(S.key))return;S.stopPropagation(),S.preventDefault();const Q=this._getChildren().filter(Oe=>!b(Oe));let se;if([zp,o_].includes(S.key))se=Q[S.key===zp?0:Q.length-1];else{const Oe=[go,i_].includes(S.key);se=Z(Q,S.target,Oe,!0)}se&&(se.focus({preventScroll:!0}),qi.getOrCreateInstance(se).show())}_getChildren(){return je.find(Zo,this._parent)}_getActiveElem(){return this._getChildren().find(S=>this._elemIsActive(S))||null}_setInitialAttributes(S,Q){this._setAttributeIfNotExists(S,"role","tablist");for(const se of Q)this._setInitialAttributesOnChild(se)}_setInitialAttributesOnChild(S){S=this._getInnerElement(S);const Q=this._elemIsActive(S),se=this._getOuterElement(S);S.setAttribute("aria-selected",Q),se!==S&&this._setAttributeIfNotExists(se,"role","presentation"),Q||S.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(S,"role","tab"),this._setInitialAttributesOnTargetPanel(S)}_setInitialAttributesOnTargetPanel(S){const Q=je.getElementFromSelector(S);Q&&(this._setAttributeIfNotExists(Q,"role","tabpanel"),S.id&&this._setAttributeIfNotExists(Q,"aria-labelledby",`${S.id}`))}_toggleDropDown(S,Q){const se=this._getOuterElement(S);if(!se.classList.contains(Ex))return;const Oe=(Ye,Ge)=>{const Mt=je.findOne(Ye,se);Mt&&Mt.classList.toggle(Ge,Q)};Oe(a_,eA),Oe(Kp,Sd),se.setAttribute("aria-expanded",Q)}_setAttributeIfNotExists(S,Q,se){S.hasAttribute(Q)||S.setAttribute(Q,se)}_elemIsActive(S){return S.classList.contains(eA)}_getInnerElement(S){return S.matches(Zo)?S:je.findOne(Zo,S)}_getOuterElement(S){return S.closest(Sx)||S}static jQueryInterface(S){return this.each(function(){const Q=qi.getOrCreateInstance(this);if(typeof S=="string"){if(Q[S]===void 0||S.startsWith("_")||S==="constructor")throw new TypeError(`No method named "${S}"`);Q[S]()}})}}Ae.on(document,bx,l_,function(ne){["A","AREA"].includes(this.tagName)&&ne.preventDefault(),!b(this)&&qi.getOrCreateInstance(this).show()}),Ae.on(window,Bx,()=>{for(const ne of je.find(Wp))qi.getOrCreateInstance(ne)}),j(qi);const mo="toast",_s=".bs.toast",A_=`mouseover${_s}`,Xc=`mouseout${_s}`,Js=`focusin${_s}`,u_=`focusout${_s}`,Fx=`hide${_s}`,Td=`hidden${_s}`,Tx=`show${_s}`,c_=`shown${_s}`,ei="fade",Od="hide",Jc="show",Zi="showing",Gp={animation:"boolean",autohide:"boolean",delay:"number"},kd={animation:!0,autohide:!0,delay:5e3};class Xo extends At{constructor(S,Q){super(S,Q),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return kd}static get DefaultType(){return Gp}static get NAME(){return mo}show(){if(Ae.trigger(this._element,Tx).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(ei);const Q=()=>{this._element.classList.remove(Zi),Ae.trigger(this._element,c_),this._maybeScheduleHide()};this._element.classList.remove(Od),D(this._element),this._element.classList.add(Jc,Zi),this._queueCallback(Q,this._element,this._config.animation)}
vendor: 12,561 bytes, lines 21-38
21hide(){if(!this.isShown()||Ae.trigger(this._element,Fx).defaultPrevented)return;const Q=()=>{this._element.classList.add(Od),this._element.classList.remove(Zi,Jc),Ae.trigger(this._element,Td)};this._element.classList.add(Zi),this._queueCallback(Q,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Jc),super.dispose()}isShown(){return this._element.classList.contains(Jc)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(S,Q){switch(S.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=Q;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=Q;break}}if(Q){this._clearTimeout();return}const se=S.relatedTarget;this._element===se||this._element.contains(se)||this._maybeScheduleHide()}_setListeners(){Ae.on(this._element,A_,S=>this._onInteraction(S,!0)),Ae.on(this._element,Xc,S=>this._onInteraction(S,!1)),Ae.on(this._element,Js,S=>this._onInteraction(S,!0)),Ae.on(this._element,u_,S=>this._onInteraction(S,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(S){return this.each(function(){const Q=Xo.getOrCreateInstance(this,S);if(typeof S=="string"){if(typeof Q[S]>"u")throw new TypeError(`No method named "${S}"`);Q[S](this)}})}}return Rt(Xo),j(Xo),{Alert:rt,Button:Fe,Carousel:wn,Collapse:xt,Dropdown:pi,Modal:co,Offcanvas:ho,Popover:pu,ScrollSpy:Zc,Tab:qi,Toast:Xo,Tooltip:Wn}})})(fZ);var mS={},E3={exports:{}},va={},S3={exports:{}},F3={};/** 22 * @license React 23 * scheduler.production.min.js 24 * 25 * Copyright (c) Facebook, Inc. and its affiliates. 26 * 27 * This source code is licensed under the MIT license found in the 28 * LICENSE file in the root directory of this source tree. 29 */(function(e){function t(X,ge){var N=X.length;X.push(ge);e:for(;0<N;){var pe=N-1>>>1,W=X[pe];if(0<i(W,ge))X[pe]=ge,X[N]=W,N=pe;else break e}}function n(X){return X.length===0?null:X[0]}function r(X){if(X.length===0)return null;var ge=X[0],N=X.pop();if(N!==ge){X[0]=N;e:for(var pe=0,W=X.length,P=W>>>1;pe<P;){var te=2*(pe+1)-1,J=X[te],oe=te+1,_e=X[oe];if(0>i(J,N))oe<W&&0>i(_e,J)?(X[pe]=_e,X[oe]=N,pe=oe):(X[pe]=J,X[te]=N,pe=te);else if(oe<W&&0>i(_e,N))X[pe]=_e,X[oe]=N,pe=oe;else break e}}return ge}function i(X,ge){var N=X.sortIndex-ge.sortIndex;return N!==0?N:X.id-ge.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],f=1,d=null,g=3,m=!1,v=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(X){for(var ge=n(u);ge!==null;){if(ge.callback===null)r(u);else if(ge.startTime<=X)r(u),ge.sortIndex=ge.expirationTime,t(l,ge);else break;ge=n(u)}}function T(X){if(y=!1,E(X),!v)if(n(l)!==null)v=!0,ee(D);else{var ge=n(u);ge!==null&&re(T,ge.startTime-X)}}function D(X,ge){v=!1,y&&(y=!1,C(H),H=-1),m=!0;var N=g;try{for(E(ge),d=n(l);d!==null&&(!(d.expirationTime>ge)||X&&!z());){var pe=d.callback;if(typeof pe=="function"){d.callback=null,g=d.priorityLevel;var W=pe(d.expirationTime<=ge);ge=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(l)&&r(l),E(ge)}else r(l);d=n(l)}if(d!==null)var P=!0;else{var te=n(u);te!==null&&re(T,te.startTime-ge),P=!1}return P}finally{d=null,g=N,m=!1}}var I=!1,U=null,H=-1,V=5,j=-1;function z(){return!(e.unstable_now()-j<V)}function q(){if(U!==null){var X=e.unstable_now();j=X;var ge=!0;try{ge=U(!0,X)}finally{ge?Z():(I=!1,U=null)}}else I=!1}var Z;if(typeof b=="function")Z=function(){b(q)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,G=ae.port2;ae.port1.onmessage=q,Z=function(){G.postMessage(null)}}else Z=function(){x(q,0)};function ee(X){U=X,I||(I=!0,Z())}function re(X,ge){H=x(function(){X(e.unstable_now())},ge)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(X){X.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,ee(D))},e.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<X?Math.floor(1e3/X):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(X){switch(g){case 1:case 2:case 3:var ge=3;break;default:ge=g}var N=g;g=ge;try{return X()}finally{g=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(X,ge){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var N=g;g=X;try{return ge()}finally{g=N}},e.unstable_scheduleCallback=function(X,ge,N){var pe=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?pe+N:pe):N=pe,X){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=N+W,X={id:f++,callback:ge,priorityLevel:X,startTime:N,expirationTime:W,sortIndex:-1},N>pe?(X.sortIndex=N,t(u,X),n(l)===null&&X===n(u)&&(y?(C(H),H=-1):y=!0,re(T,N-pe))):(X.sortIndex=W,t(l,X),v||m||(v=!0,ee(D))),X},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(X){var ge=g;return function(){var N=g;g=ge;try{return X.apply(this,arguments)}finally{g=N}}}})(F3);S3.exports=F3;var nX=S3.exports;/** 30 * @license React 31 * react-dom.production.min.js 32 * 33 * Copyright (c) Facebook, Inc. and its affiliates. 34 * 35 * This source code is licensed under the MIT license found in the 36 * LICENSE file in the root directory of this source tree. 37 */var T3=k,pa=nX;function Ke(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;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 O3=new Set,Rm={};function ed(e,t){jh(e,t),jh(e+"Capture",t)}function jh(e,t){for(Rm[e]=t,e=0;e<t.length;e++)O3.add(t[e])}var IA=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vS=Object.prototype.hasOwnProperty,rX=/^[: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]*$/,ZR={},XR={};function iX(e){return vS.call(XR,e)?!0:vS.call(ZR,e)?!1:rX.test(e)?XR[e]=!0:(ZR[e]=!0,!1)}function oX(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function aX(e,t,n,r){if(t===null||typeof t>"u"||oX(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ao(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Oi={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Oi[e]=new Ao(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Oi[t]=new Ao(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Oi[e]=new Ao(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Oi[e]=new Ao(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Oi[e]=new Ao(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Oi[e]=new Ao(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Oi[e]=new Ao(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Oi[e]=new Ao(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Oi[e]=new Ao(e,5,!1,e.toLowerCase(),null,!1,!1)});var vk=/[\-:]([a-z])/g;function _k(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vk,_k);Oi[t]=new Ao(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vk,_k);Oi[t]=new Ao(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vk,_k);Oi[t]=new Ao(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Oi[e]=new Ao(e,1,!1,e.toLowerCase(),null,!1,!1)});Oi.xlinkHref=new Ao("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Oi[e]=new Ao(e,1,!1,e.toLowerCase(),null,!0,!0)});function yk(e,t,n,r){var i=Oi.hasOwnProperty(t)?Oi[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(aX(t,n,i,r)&&(n=null),r||i===null?iX(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var NA=T3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,L_=Symbol.for("react.element"),lh=Symbol.for("react.portal"),Ah=Symbol.for("react.fragment"),wk=Symbol.for("react.strict_mode"),_S=Symbol.for("react.profiler"),k3=Symbol.for("react.provider"),I3=Symbol.for("react.context"),bk=Symbol.for("react.forward_ref"),yS=Symbol.for("react.suspense"),wS=Symbol.for("react.suspense_list"),Bk=Symbol.for("react.memo"),Su=Symbol.for("react.lazy"),L3=Symbol.for("react.offscreen"),JR=Symbol.iterator;function tg(e){return e===null||typeof e!="object"?null:(e=JR&&e[JR]||e["@@iterator"],typeof e=="function"?e:null)}var Cr=Object.assign,p1;function kg(e){if(p1===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);p1=t&&t[1]||""}return` 38`+p1+e}var g1=!1;function m1(e,t){if(!e||g1)return"";g1=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,499 bytes, lines 38-41
38catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 39`),o=r.stack.split(` 40`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=` 41`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{g1=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?kg(e):""}function sX(e){switch(e.tag){case 5:return kg(e.type);case 16:return kg("Lazy");case 13:return kg("Suspense");case 19:return kg("SuspenseList");case 0:case 2:case 15:return e=m1(e.type,!1),e;case 11:return e=m1(e.type.render,!1),e;case 1:return e=m1(e.type,!0),e;default:return""}}function bS(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ah:return"Fragment";case lh:return"Portal";case _S:return"Profiler";case wk:return"StrictMode";case yS:return"Suspense";case wS:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case I3:return(e.displayName||"Context")+".Consumer";case k3:return(e._context.displayName||"Context")+".Provider";case bk:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bk:return t=e.displayName||null,t!==null?t:bS(e.type)||"Memo";case Su:t=e._payload,e=e._init;try{return bS(e(t))}catch{}}return null}function lX(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return bS(t);case 8:return t===wk?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rc(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function D3(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function AX(e){var t=D3(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function D_(e){e._valueTracker||(e._valueTracker=AX(e))}function R3(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=D3(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xw(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function BS(e,t){var n=t.checked;return Cr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function eP(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rc(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function P3(e,t){t=t.checked,t!=null&&yk(e,"checked",t,!1)}function CS(e,t){P3(e,t);var n=rc(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xS(e,t.type,n):t.hasOwnProperty("defaultValue")&&xS(e,t.type,rc(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tP(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xS(e,t,n){(t!=="number"||xw(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ig=Array.isArray;function Eh(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rc(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function ES(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Ke(91));return Cr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nP(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Ke(92));
vendor: 12,694 bytes, line 41
41if(Ig(n)){if(1<n.length)throw Error(Ke(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rc(n)}}function U3(e,t){var n=rc(t.value),r=rc(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function rP(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function N3(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function SS(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?N3(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var R_,M3=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(R_=R_||document.createElement("div"),R_.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=R_.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pm(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Jg={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},uX=["Webkit","ms","Moz","O"];Object.keys(Jg).forEach(function(e){uX.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jg[t]=Jg[e]})});function Q3(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Jg.hasOwnProperty(e)&&Jg[e]?(""+t).trim():t+"px"}function H3(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Q3(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var cX=Cr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function FS(e,t){if(t){if(cX[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ke(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ke(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ke(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ke(62))}}function TS(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var OS=null;function Ck(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kS=null,Sh=null,Fh=null;function iP(e){if(e=yv(e)){if(typeof kS!="function")throw Error(Ke(280));var t=e.stateNode;t&&(t=PB(t),kS(e.stateNode,e.type,t))}}function $3(e){Sh?Fh?Fh.push(e):Fh=[e]:Sh=e}function j3(){if(Sh){var e=Sh,t=Fh;if(Fh=Sh=null,iP(e),t)for(e=0;e<t.length;e++)iP(t[e])}}function z3(e,t){return e(t)}function V3(){}var v1=!1;function K3(e,t,n){if(v1)return e(t,n);v1=!0;try{return z3(e,t,n)}finally{v1=!1,(Sh!==null||Fh!==null)&&(V3(),j3())}}function Um(e,t){var n=e.stateNode;if(n===null)return null;var r=PB(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Ke(231,t,typeof n));return n}var IS=!1;if(IA)try{var ng={};Object.defineProperty(ng,"passive",{get:function(){IS=!0}}),window.addEventListener("test",ng,ng),window.removeEventListener("test",ng,ng)}catch{IS=!1}function fX(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var em=!1,Ew=null,Sw=!1,LS=null,dX={onError:function(e){em=!0,Ew=e}};function hX(e,t,n,r,i,o,a,s,l){em=!1,Ew=null,fX.apply(dX,arguments)}function pX(e,t,n,r,i,o,a,s,l){if(hX.apply(this,arguments),em){if(em){var u=Ew;em=!1,Ew=null}else throw Error(Ke(198));Sw||(Sw=!0,LS=u)}}function td(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function W3(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function oP(e){if(td(e)!==e)throw Error(Ke(188))}function gX(e){var t=e.alternate;if(!t){if(t=td(e),t===null)throw Error(Ke(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return oP(i),e;if(o===r)return oP(i),t;o=o.sibling}throw Error(Ke(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a)throw Error(Ke(189))}}if(n.alternate!==r)throw Error(Ke(190))}if(n.tag!==3)throw Error(Ke(188));return n.stateNode.current===n?e:t}function G3(e){return e=gX(e),e!==null?Y3(e):null}function Y3(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Y3(e);if(t!==null)return t;e=e.sibling}return null}var q3=pa.unstable_scheduleCallback,aP=pa.unstable_cancelCallback,mX=pa.unstable_shouldYield,vX=pa.unstable_requestPaint,Hr=pa.unstable_now,_X=pa.unstable_getCurrentPriorityLevel,xk=pa.unstable_ImmediatePriority,Z3=pa.unstable_UserBlockingPriority,Fw=pa.unstable_NormalPriority,yX=pa.unstable_LowPriority,X3=pa.unstable_IdlePriority,IB=null,_l=null;function wX(e){if(_l&&typeof _l.onCommitFiberRoot=="function")try{_l.onCommitFiberRoot(IB,e,void 0,(e.current.flags&128)===128)}catch{}}var ks=Math.clz32?Math.clz32:CX,bX=Math.log,BX=Math.LN2;function CX(e){return e>>>=0,e===0?32:31-(bX(e)/BX|0)|0}var P_=64,U_=4194304;function Lg(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tw(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Lg(s):(o&=a,o!==0&&(r=Lg(o)))}else a=n&~i,a!==0?r=Lg(a):o!==0&&(r=Lg(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ks(t),i=1<<n,r|=e[n],t&=~i;return r}function xX(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function EX(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-ks(o),s=1<<a,l=i[a];l===-1?(!(s&n)||s&r)&&(i[a]=xX(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}function DS(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function J3(){var e=P_;return P_<<=1,!(P_&4194240)&&(P_=64),e}function _1(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vv(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ks(t),e[t]=n}function SX(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ks(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ek(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ks(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Hn=0;function e$(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var t$,Sk,n$,r$,i$,RS=!1,N_=[],zu=null,Vu=null,Ku=null,Nm=new Map,Mm=new Map,Iu=[],FX="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function sP(e,t){switch(e){case"focusin":case"focusout":zu=null;break;case"dragenter":case"dragleave":Vu=null;break;case"mouseover":case"mouseout":Ku=null;break;case"pointerover":case"pointerout":Nm.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mm.delete(t.pointerId)}}function rg(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=yv(t),t!==null&&Sk(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function TX(e,t,n,r,i){switch(t){case"focusin":return zu=rg(zu,e,t,n,r,i),!0;case"dragenter":return Vu=rg(Vu,e,t,n,r,i),!0;case"mouseover":return Ku=rg(Ku,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Nm.set(o,rg(Nm.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Mm.set(o,rg(Mm.get(o)||null,e,t,n,r,i)),!0}return!1}function o$(e){var t=Ef(e.target);if(t!==null){var n=td(t);if(n!==null){if(t=n.tag,t===13){if(t=W3(n),t!==null){e.blockedOn=t,i$(e.priority,function(){n$(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function o0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=PS(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);OS=r,n.target.dispatchEvent(r),OS=null}else return t=yv(n),t!==null&&Sk(t),e.blockedOn=n,!1;t.shift()}return!0}function lP(e,t,n){o0(e)&&n.delete(t)}function OX(){RS=!1,zu!==null&&o0(zu)&&(zu=null),Vu!==null&&o0(Vu)&&(Vu=null),Ku!==null&&o0(Ku)&&(Ku=null),Nm.forEach(lP),Mm.forEach(lP)}function ig(e,t){e.blockedOn===t&&(e.blockedOn=null,RS||(RS=!0,pa.unstable_scheduleCallback(pa.unstable_NormalPriority,OX)))}function Qm(e){function t(i){return ig(i,e)}if(0<N_.length){ig(N_[0],e);for(var n=1;n<N_.length;n++){var r=N_[n];r.blockedOn===e&&(r.blockedOn=null)}}for(zu!==null&&ig(zu,e),Vu!==null&&ig(Vu,e),Ku!==null&&ig(Ku,e),Nm.forEach(t),Mm.forEach(t),n=0;n<Iu.length;n++)r=Iu[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Iu.length&&(n=Iu[0],n.blockedOn===null);)o$(n),n.blockedOn===null&&Iu.shift()}var Th=NA.ReactCurrentBatchConfig,Ow=!0;function kX(e,t,n,r){var i=Hn,o=Th.transition;Th.transition=null;try{Hn=1,Fk(e,t,n,r)}finally{Hn=i,Th.transition=o}}function IX(e,t,n,r){var i=Hn,o=Th.transition;Th.transition=null;try{Hn=4,Fk(e,t,n,r)}finally{Hn=i,Th.transition=o}}function Fk(e,t,n,r){if(Ow){var i=PS(e,t,n,r);if(i===null)T1(e,t,r,kw,n),sP(e,r);else if(TX(i,e,t,n,r))r.stopPropagation();else if(sP(e,r),t&4&&-1<FX.indexOf(e)){for(;i!==null;){var o=yv(i);if(o!==null&&t$(o),o=PS(e,t,n,r),o===null&&T1(e,t,r,kw,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else T1(e,t,r,null,n)}}var kw=null;function PS(e,t,n,r){if(kw=null,e=Ck(r),e=Ef(e),e!==null)if(t=td(e),t===null)e=null;else if(n=t.tag,n===13){if(e=W3(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return kw=e,null}
vendor: 4,373 bytes, line 41
41function a$(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_X()){case xk:return 1;case Z3:return 4;case Fw:case yX:return 16;case X3:return 536870912;default:return 16}default:return 16}}var Ru=null,Tk=null,a0=null;function s$(){if(a0)return a0;var e,t=Tk,n=t.length,r,i="value"in Ru?Ru.value:Ru.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return a0=i.slice(e,1<r?1-r:void 0)}function s0(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function M_(){return!0}function AP(){return!1}function _a(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?M_:AP,this.isPropagationStopped=AP,this}return Cr(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=M_)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=M_)},persist:function(){},isPersistent:M_}),t}var dp={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ok=_a(dp),_v=Cr({},dp,{view:0,detail:0}),LX=_a(_v),y1,w1,og,LB=Cr({},_v,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kk,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==og&&(og&&e.type==="mousemove"?(y1=e.screenX-og.screenX,w1=e.screenY-og.screenY):w1=y1=0,og=e),y1)},movementY:function(e){return"movementY"in e?e.movementY:w1}}),uP=_a(LB),DX=Cr({},LB,{dataTransfer:0}),RX=_a(DX),PX=Cr({},_v,{relatedTarget:0}),b1=_a(PX),UX=Cr({},dp,{animationName:0,elapsedTime:0,pseudoElement:0}),NX=_a(UX),MX=Cr({},dp,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),QX=_a(MX),HX=Cr({},dp,{data:0}),cP=_a(HX),$X={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jX={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},zX={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function VX(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zX[e])?!!t[e]:!1}function kk(){return VX}var KX=Cr({},_v,{key:function(e){if(e.key){var t=$X[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,048 bytes, line 41
41return e.type==="keypress"?(e=s0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?jX[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kk,charCode:function(e){return e.type==="keypress"?s0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?s0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),WX=_a(KX),GX=Cr({},LB,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fP=_a(GX),YX=Cr({},_v,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kk}),qX=_a(YX),ZX=Cr({},dp,{propertyName:0,elapsedTime:0,pseudoElement:0}),XX=_a(ZX),JX=Cr({},LB,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),eJ=_a(JX),tJ=[9,13,27,32],Ik=IA&&"CompositionEvent"in window,tm=null;IA&&"documentMode"in document&&(tm=document.documentMode);var nJ=IA&&"TextEvent"in window&&!tm,l$=IA&&(!Ik||tm&&8<tm&&11>=tm),dP=String.fromCharCode(32),hP=!1;function A$(e,t){switch(e){case"keyup":return tJ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u$(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var uh=!1;function rJ(e,t){switch(e){case"compositionend":return u$(t);case"keypress":return t.which!==32?null:(hP=!0,dP);case"textInput":return e=t.data,e===dP&&hP?null:e;default:return null}}function iJ(e,t){if(uh)return e==="compositionend"||!Ik&&A$(e,t)?(e=s$(),a0=Tk=Ru=null,uh=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return l$&&t.locale!=="ko"?null:t.data;default:return null}}var oJ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pP(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!oJ[e.type]:t==="textarea"}function c$(e,t,n,r){$3(r),t=Iw(t,"onChange"),0<t.length&&(n=new Ok("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nm=null,Hm=null;function aJ(e){b$(e,0)}function DB(e){var t=dh(e);if(R3(t))return e}function sJ(e,t){if(e==="change")return t}var f$=!1;if(IA){var B1;if(IA){var C1="oninput"in document;if(!C1){var gP=document.createElement("div");gP.setAttribute("oninput","return;"),C1=typeof gP.oninput=="function"}B1=C1}else B1=!1;f$=B1&&(!document.documentMode||9<document.documentMode)}function mP(){nm&&(nm.detachEvent("onpropertychange",d$),Hm=nm=null)}function d$(e){if(e.propertyName==="value"&&DB(Hm)){var t=[];c$(t,Hm,e,Ck(e)),K3(aJ,t)}}function lJ(e,t,n){e==="focusin"?(mP(),nm=t,Hm=n,nm.attachEvent("onpropertychange",d$)):e==="focusout"&&mP()}function AJ(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return DB(Hm)}function uJ(e,t){if(e==="click")return DB(t)}function cJ(e,t){if(e==="input"||e==="change")return DB(t)}function fJ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Rs=typeof Object.is=="function"?Object.is:fJ;function $m(e,t){if(Rs(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!vS.call(t,i)||!Rs(e[i],t[i]))return!1}return!0}function vP(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _P(e,t){var n=vP(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=vP(n)}}function h$(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?h$(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function p$(){for(var e=window,t=xw();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xw(e.document)}return t}function Lk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function dJ(e){var t=p$(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&h$(n.ownerDocument.documentElement,n)){if(r!==null&&Lk(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=_P(n,o);var a=_P(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hJ=IA&&"documentMode"in document&&11>=document.documentMode,ch=null,US=null,rm=null,NS=!1;function yP(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;NS||ch==null||ch!==xw(r)||(r=ch,"selectionStart"in r&&Lk(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 41
41sNode:r.focusNode,focusOffset:r.focusOffset}),rm&&$m(rm,r)||(rm=r,r=Iw(US,"onSelect"),0<r.length&&(t=new Ok("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ch)))}function Q_(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fh={animationend:Q_("Animation","AnimationEnd"),animationiteration:Q_("Animation","AnimationIteration"),animationstart:Q_("Animation","AnimationStart"),transitionend:Q_("Transition","TransitionEnd")},x1={},g$={};IA&&(g$=document.createElement("div").style,"AnimationEvent"in window||(delete fh.animationend.animation,delete fh.animationiteration.animation,delete fh.animationstart.animation),"TransitionEvent"in window||delete fh.transitionend.transition);function RB(e){if(x1[e])return x1[e];if(!fh[e])return e;var t=fh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in g$)return x1[e]=t[n];return e}var m$=RB("animationend"),v$=RB("animationiteration"),_$=RB("animationstart"),y$=RB("transitionend"),w$=new Map,wP="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function fc(e,t){w$.set(e,t),ed(t,[e])}for(var E1=0;E1<wP.length;E1++){var S1=wP[E1],pJ=S1.toLowerCase(),gJ=S1[0].toUpperCase()+S1.slice(1);fc(pJ,"on"+gJ)}fc(m$,"onAnimationEnd");fc(v$,"onAnimationIteration");fc(_$,"onAnimationStart");fc("dblclick","onDoubleClick");fc("focusin","onFocus");fc("focusout","onBlur");fc(y$,"onTransitionEnd");jh("onMouseEnter",["mouseout","mouseover"]);jh("onMouseLeave",["mouseout","mouseover"]);jh("onPointerEnter",["pointerout","pointerover"]);jh("onPointerLeave",["pointerout","pointerover"]);ed("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ed("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ed("onBeforeInput",["compositionend","keypress","textInput","paste"]);ed("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ed("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ed("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dg="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mJ=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dg));function bP(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,pX(r,t,void 0,e),e.currentTarget=null}function b$(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;bP(i,s,u),o=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;bP(i,s,u),o=l}}}if(Sw)throw e=LS,Sw=!1,LS=null,e}function lr(e,t){var n=t[jS];n===void 0&&(n=t[jS]=new Set);var r=e+"__bubble";n.has(r)||(B$(t,e,2,!1),n.add(r))}function F1(e,t,n){var r=0;t&&(r|=4),B$(n,e,r,t)}var H_="_reactListening"+Math.random().toString(36).slice(2);function jm(e){if(!e[H_]){e[H_]=!0,O3.forEach(function(n){n!=="selectionchange"&&(mJ.has(n)||F1(n,!1,e),F1(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[H_]||(t[H_]=!0,F1("selectionchange",!1,t))}}function B$(e,t,n,r){switch(a$(t)){case 1:var i=kX;break;case 4:i=IX;break;default:i=Fk}n=i.bind(null,t,n,e),i=void 0,!IS||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function T1(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;
vendor: 6,964 bytes, lines 41-42
41if(s===i||s.nodeType===8&&s.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;a=a.return}for(;s!==null;){if(a=Ef(s),a===null)return;if(l=a.tag,l===5||l===6){r=o=a;continue e}s=s.parentNode}}r=r.return}K3(function(){var u=o,f=Ck(n),d=[];e:{var g=w$.get(e);if(g!==void 0){var m=Ok,v=e;switch(e){case"keypress":if(s0(n)===0)break e;case"keydown":case"keyup":m=WX;break;case"focusin":v="focus",m=b1;break;case"focusout":v="blur",m=b1;break;case"beforeblur":case"afterblur":m=b1;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=uP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=RX;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=qX;break;case m$:case v$:case _$:m=NX;break;case y$:m=XX;break;case"scroll":m=LX;break;case"wheel":m=eJ;break;case"copy":case"cut":case"paste":m=QX;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=fP}var y=(t&4)!==0,x=!y&&e==="scroll",C=y?g!==null?g+"Capture":null:g;y=[];for(var b=u,E;b!==null;){E=b;var T=E.stateNode;if(E.tag===5&&T!==null&&(E=T,C!==null&&(T=Um(b,C),T!=null&&y.push(zm(b,T,E)))),x)break;b=b.return}0<y.length&&(g=new m(g,v,null,n,f),d.push({event:g,listeners:y}))}}if(!(t&7)){e:{if(g=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",g&&n!==OS&&(v=n.relatedTarget||n.fromElement)&&(Ef(v)||v[LA]))break e;if((m||g)&&(g=f.window===f?f:(g=f.ownerDocument)?g.defaultView||g.parentWindow:window,m?(v=n.relatedTarget||n.toElement,m=u,v=v?Ef(v):null,v!==null&&(x=td(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=u),m!==v)){if(y=uP,T="onMouseLeave",C="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(y=fP,T="onPointerLeave",C="onPointerEnter",b="pointer"),x=m==null?g:dh(m),E=v==null?g:dh(v),g=new y(T,b+"leave",m,n,f),g.target=x,g.relatedTarget=E,T=null,Ef(f)===u&&(y=new y(C,b+"enter",v,n,f),y.target=E,y.relatedTarget=x,T=y),x=T,m&&v)t:{for(y=m,C=v,b=0,E=y;E;E=Nd(E))b++;for(E=0,T=C;T;T=Nd(T))E++;for(;0<b-E;)y=Nd(y),b--;for(;0<E-b;)C=Nd(C),E--;for(;b--;){if(y===C||C!==null&&y===C.alternate)break t;y=Nd(y),C=Nd(C)}y=null}else y=null;m!==null&&BP(d,g,m,y,!1),v!==null&&x!==null&&BP(d,x,v,y,!0)}}e:{if(g=u?dh(u):window,m=g.nodeName&&g.nodeName.toLowerCase(),m==="select"||m==="input"&&g.type==="file")var D=sJ;else if(pP(g))if(f$)D=cJ;else{D=AJ;var I=lJ}else(m=g.nodeName)&&m.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(D=uJ);if(D&&(D=D(e,u))){c$(d,D,n,f);break e}I&&I(e,g,u),e==="focusout"&&(I=g._wrapperState)&&I.controlled&&g.type==="number"&&xS(g,"number",g.value)}switch(I=u?dh(u):window,e){case"focusin":(pP(I)||I.contentEditable==="true")&&(ch=I,US=u,rm=null);break;case"focusout":rm=US=ch=null;break;case"mousedown":NS=!0;break;case"contextmenu":case"mouseup":case"dragend":NS=!1,yP(d,n,f);break;case"selectionchange":if(hJ)break;case"keydown":case"keyup":yP(d,n,f)}var U;if(Ik)e:{switch(e){case"compositionstart":var H="onCompositionStart";break e;case"compositionend":H="onCompositionEnd";break e;case"compositionupdate":H="onCompositionUpdate";break e}H=void 0}else uh?A$(e,n)&&(H="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(H="onCompositionStart");H&&(l$&&n.locale!=="ko"&&(uh||H!=="onCompositionStart"?H==="onCompositionEnd"&&uh&&(U=s$()):(Ru=f,Tk="value"in Ru?Ru.value:Ru.textContent,uh=!0)),I=Iw(u,H),0<I.length&&(H=new cP(H,e,null,n,f),d.push({event:H,listeners:I}),U?H.data=U:(U=u$(n),U!==null&&(H.data=U)))),(U=nJ?rJ(e,n):iJ(e,n))&&(u=Iw(u,"onBeforeInput"),0<u.length&&(f=new cP("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=U))}b$(d,t)})}function zm(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Iw(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Um(e,n),o!=null&&r.unshift(zm(e,o,i)),o=Um(e,t),o!=null&&r.push(zm(e,o,i))),e=e.return}return r}function Nd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function BP(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,i?(l=Um(n,o),l!=null&&a.unshift(zm(n,l,s))):i||(l=Um(n,o),l!=null&&a.push(zm(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var vJ=/\r\n?/g,_J=/\u0000|\uFFFD/g;function CP(e){return(typeof e=="string"?e:""+e).replace(vJ,` 42`).replace(_J,"")}function $_(e,t,n){if(t=CP(t),CP(e)!==t&&n)throw Error(Ke(425))}function Lw(){}var MS=null,QS=null;function HS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $S=typeof setTimeout=="function"?setTimeout:void 0,yJ=typeof clearTimeout=="function"?clearTimeout:void 0,xP=typeof Promise=="function"?Promise:void 0,wJ=typeof queueMicrotask=="function"?queueMicrotask:typeof xP<"u"?function(e){return xP.resolve(null).then(e).catch(bJ)}:$S;function bJ(e){setTimeout(function(){throw e})}function O1(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Qm(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Qm(t)}function Wu(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function EP(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var hp=Math.random().toString(36).slice(2),fl="__reactFiber$"+hp,Vm="__reactProps$"+hp,LA="__reactContainer$"+hp,jS="__reactEvents$"+hp,BJ="__reactListeners$"+hp,CJ="__reactHandles$"+hp;function Ef(e){var t=e[fl];if(t)return t;for(var n=e.parentNode;n;){if(t=n[LA]||n[fl]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=EP(e);e!==null;){if(n=e[fl])return n;e=EP(e)}return t}e=n,n=e.parentNode}return null}function yv(e){return e=e[fl]||e[LA],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function dh(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Ke(33))}function PB(e){return e[Vm]||null}var zS=[],hh=-1;function dc(e){return{current:e}}function ur(e){0>hh||(e.current=zS[hh],zS[hh]=null,hh--)}function ir(e,t){hh++,zS[hh]=e.current,e.current=t}var ic={},ji=dc(ic),No=dc(!1),$f=ic;function zh(e,t){var n=e.type.contextTypes;if(!n)return ic;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;
vendor: 7,540 bytes, line 42
42for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Mo(e){return e=e.childContextTypes,e!=null}function Dw(){ur(No),ur(ji)}function SP(e,t,n){if(ji.current!==ic)throw Error(Ke(168));ir(ji,t),ir(No,n)}function C$(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Ke(108,lX(e)||"Unknown",i));return Cr({},n,r)}function Rw(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ic,$f=ji.current,ir(ji,e),ir(No,No.current),!0}function FP(e,t,n){var r=e.stateNode;if(!r)throw Error(Ke(169));n?(e=C$(e,t,$f),r.__reactInternalMemoizedMergedChildContext=e,ur(No),ur(ji),ir(ji,e)):ur(No),ir(No,n)}var vA=null,UB=!1,k1=!1;function x$(e){vA===null?vA=[e]:vA.push(e)}function xJ(e){UB=!0,x$(e)}function hc(){if(!k1&&vA!==null){k1=!0;var e=0,t=Hn;try{var n=vA;for(Hn=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}vA=null,UB=!1}catch(i){throw vA!==null&&(vA=vA.slice(e+1)),q3(xk,hc),i}finally{Hn=t,k1=!1}}return null}var ph=[],gh=0,Pw=null,Uw=0,Qa=[],Ha=0,jf=null,yA=1,wA="";function gf(e,t){ph[gh++]=Uw,ph[gh++]=Pw,Pw=e,Uw=t}function E$(e,t,n){Qa[Ha++]=yA,Qa[Ha++]=wA,Qa[Ha++]=jf,jf=e;var r=yA;e=wA;var i=32-ks(r)-1;r&=~(1<<i),n+=1;var o=32-ks(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,yA=1<<32-ks(t)+i|n<<i|r,wA=o+e}else yA=1<<o|n<<i|r,wA=e}function Dk(e){e.return!==null&&(gf(e,1),E$(e,1,0))}function Rk(e){for(;e===Pw;)Pw=ph[--gh],ph[gh]=null,Uw=ph[--gh],ph[gh]=null;for(;e===jf;)jf=Qa[--Ha],Qa[Ha]=null,wA=Qa[--Ha],Qa[Ha]=null,yA=Qa[--Ha],Qa[Ha]=null}var ua=null,Aa=null,gr=!1,Ts=null;function S$(e,t){var n=za(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function TP(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ua=e,Aa=Wu(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ua=e,Aa=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=jf!==null?{id:yA,overflow:wA}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=za(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ua=e,Aa=null,!0):!1;default:return!1}}function VS(e){return(e.mode&1)!==0&&(e.flags&128)===0}function KS(e){if(gr){var t=Aa;if(t){var n=t;if(!TP(e,t)){if(VS(e))throw Error(Ke(418));t=Wu(n.nextSibling);var r=ua;t&&TP(e,t)?S$(r,n):(e.flags=e.flags&-4097|2,gr=!1,ua=e)}}else{if(VS(e))throw Error(Ke(418));e.flags=e.flags&-4097|2,gr=!1,ua=e}}}function OP(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ua=e}function j_(e){if(e!==ua)return!1;if(!gr)return OP(e),gr=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!HS(e.type,e.memoizedProps)),t&&(t=Aa)){if(VS(e))throw F$(),Error(Ke(418));for(;t;)S$(e,t),t=Wu(t.nextSibling)}if(OP(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ke(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Aa=Wu(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Aa=null}}else Aa=ua?Wu(e.stateNode.nextSibling):null;return!0}function F$(){for(var e=Aa;e;)e=Wu(e.nextSibling)}function Vh(){Aa=ua=null,gr=!1}function Pk(e){Ts===null?Ts=[e]:Ts.push(e)}var EJ=NA.ReactCurrentBatchConfig;function Ss(e,t){if(e&&e.defaultProps){t=Cr({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Nw=dc(null),Mw=null,mh=null,Uk=null;function Nk(){Uk=mh=Mw=null}function Mk(e){var t=Nw.current;ur(Nw),e._currentValue=t}function WS(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Oh(e,t){Mw=e,Uk=mh=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Do=!0),e.firstContext=null)}function Za(e){var t=e._currentValue;if(Uk!==e)if(e={context:e,memoizedValue:t,next:null},mh===null){if(Mw===null)throw Error(Ke(308));mh=e,Mw.dependencies={lanes:0,firstContext:e}}else mh=mh.next=e;return t}var Sf=null;function Qk(e){Sf===null?Sf=[e]:Sf.push(e)}function T$(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Qk(t)):(n.next=i.next,i.next=n),t.interleaved=n,DA(e,r)}function DA(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Fu=!1;function Hk(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function O$(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function EA(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gu(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Bn&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,DA(e,n)}return i=r.interleaved,i===null?(t.next=t,Qk(r)):(t.next=i.next,i.next=t),r.interleaved=t,DA(e,n)}function l0(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ek(e,n)}}function kP(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qw(e,t,n,r){var i=e.updateQueue;Fu=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?o=u:a.next=u,a=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==a&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;a=0,f=u=l=null,s=o;do{var g=s.lane,m=s.eventTime;if((r&g)===g){f!==null&&(f=f.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,y=s;switch(g=t,m=n,y.tag){case 1:if(v=y.payload,typeof v=="function"){d=v.call(m,d,g);break e}d=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=y.payload,g=typeof v=="function"?v.call(m,d,g):v,g==null)break e;d=Cr({},d,g);break e;case 2:Fu=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=i.effects,g===null?i.effects=[s]:g.push(s))}else m={eventTime:m,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=m,l=d):f=f.next=m,a|=g;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;g=s,s=g.next,g.next=null,i.lastBaseUpdate=g,i.shared.pending=null}}while(1);if(f===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Vf|=a,e.lanes=a,e.memoizedState=d}}function IP(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;
vendor: 4,612 bytes, line 42
42if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(Ke(191,i));i.call(r)}}}var k$=new T3.Component().refs;function GS(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Cr({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var NB={isMounted:function(e){return(e=e._reactInternals)?td(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=so(),i=qu(e),o=EA(r,i);o.payload=t,n!=null&&(o.callback=n),t=Gu(e,o,i),t!==null&&(Is(t,e,i,r),l0(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=so(),i=qu(e),o=EA(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Gu(e,o,i),t!==null&&(Is(t,e,i,r),l0(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=so(),r=qu(e),i=EA(n,r);i.tag=2,t!=null&&(i.callback=t),t=Gu(e,i,r),t!==null&&(Is(t,e,r,n),l0(t,e,r))}};function LP(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!$m(n,r)||!$m(i,o):!0}function I$(e,t,n){var r=!1,i=ic,o=t.contextType;return typeof o=="object"&&o!==null?o=Za(o):(i=Mo(t)?$f:ji.current,r=t.contextTypes,o=(r=r!=null)?zh(e,i):ic),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=NB,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function DP(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&NB.enqueueReplaceState(t,t.state,null)}function YS(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=k$,Hk(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Za(o):(o=Mo(t)?$f:ji.current,i.context=zh(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(GS(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&NB.enqueueReplaceState(i,i.state,null),Qw(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function ag(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(Ke(309));var r=n.stateNode}if(!r)throw Error(Ke(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=i.refs;s===k$&&(s=i.refs={}),a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(Ke(284));if(!n._owner)throw Error(Ke(290,e))}return e}function z_(e,t){throw e=Object.prototype.toString.call(t),Error(Ke(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function RP(e){var t=e._init;return t(e._payload)}function L$(e){function t(C,b){if(e){var E=C.deletions;E===null?(C.deletions=[b],C.flags|=16):E.push(b)}}function n(C,b){if(!e)return null;for(;b!==null;)t(C,b),b=b.sibling;return null}function r(C,b){for(C=new Map;b!==null;)b.key!==null?C.set(b.key,b):C.set(b.index,b),b=b.sibling;return C}function i(C,b){return C=Zu(C,b),C.index=0,C.sibling=null,C}function o(C,b,E){return C.index=E,e?(E=C.alternate,E!==null?(E=E.index,E<b?(C.flags|=2,b):E):(C.flags|=2,b)):(C.flags|=1048576,b)}function a(C){return e&&C.alternate===null&&(C.flags|=2),C}function s(C,b,E,T){return b===null||b.tag!==6?(b=N1(E,C.mode,T),b.return=C,b):(b=i(b,E),b.return=C,b)}function l(C,b,E,T){var D=E.type;return D===Ah?f(C,b,E.props.children,T,E.key):b!==null&&(b.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Su&&RP(D)===b.type)?(T=i(b,E.props),T.ref=ag(C,b,E),T.return=C,T):(T=h0(E.type,E.key,E.props,null,C.mode,T),T.ref=ag(C,b,E),T.return=C,T)}function u(C,b,E,T){return b===null||b.tag!==4||b.stateNode.containerInfo!==E.containerInfo||b.stateNode.implementation!==E.implementation?(b=M1(E,C.mode,T),b.return=C,b):(b=i(b,E.children||[]),b.return=C,b)}function f(C,b,E,T,D){return b===null||b.tag!==7?(b=Df(E,C.mode,T,D),b.return=C,b):(b=i(b,E),b.return=C,b)}function d(C,b,E){if(typeof b=="string"&&b!==""||typeof b=="number")return b=N1(""+b,C.mode,E),b.return=C,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case L_:return E=h0(b.type,b.key,b.props,null,C.mode,E),E.ref=ag
vendor: 24,882 bytes, lines 42-44
42(C,null,b),E.return=C,E;case lh:return b=M1(b,C.mode,E),b.return=C,b;case Su:var T=b._init;return d(C,T(b._payload),E)}if(Ig(b)||tg(b))return b=Df(b,C.mode,E,null),b.return=C,b;z_(C,b)}return null}function g(C,b,E,T){var D=b!==null?b.key:null;if(typeof E=="string"&&E!==""||typeof E=="number")return D!==null?null:s(C,b,""+E,T);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case L_:return E.key===D?l(C,b,E,T):null;case lh:return E.key===D?u(C,b,E,T):null;case Su:return D=E._init,g(C,b,D(E._payload),T)}if(Ig(E)||tg(E))return D!==null?null:f(C,b,E,T,null);z_(C,E)}return null}function m(C,b,E,T,D){if(typeof T=="string"&&T!==""||typeof T=="number")return C=C.get(E)||null,s(b,C,""+T,D);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case L_:return C=C.get(T.key===null?E:T.key)||null,l(b,C,T,D);case lh:return C=C.get(T.key===null?E:T.key)||null,u(b,C,T,D);case Su:var I=T._init;return m(C,b,E,I(T._payload),D)}if(Ig(T)||tg(T))return C=C.get(E)||null,f(b,C,T,D,null);z_(b,T)}return null}function v(C,b,E,T){for(var D=null,I=null,U=b,H=b=0,V=null;U!==null&&H<E.length;H++){U.index>H?(V=U,U=null):V=U.sibling;var j=g(C,U,E[H],T);if(j===null){U===null&&(U=V);break}e&&U&&j.alternate===null&&t(C,U),b=o(j,b,H),I===null?D=j:I.sibling=j,I=j,U=V}if(H===E.length)return n(C,U),gr&&gf(C,H),D;if(U===null){for(;H<E.length;H++)U=d(C,E[H],T),U!==null&&(b=o(U,b,H),I===null?D=U:I.sibling=U,I=U);return gr&&gf(C,H),D}for(U=r(C,U);H<E.length;H++)V=m(U,C,H,E[H],T),V!==null&&(e&&V.alternate!==null&&U.delete(V.key===null?H:V.key),b=o(V,b,H),I===null?D=V:I.sibling=V,I=V);return e&&U.forEach(function(z){return t(C,z)}),gr&&gf(C,H),D}function y(C,b,E,T){var D=tg(E);if(typeof D!="function")throw Error(Ke(150));if(E=D.call(E),E==null)throw Error(Ke(151));for(var I=D=null,U=b,H=b=0,V=null,j=E.next();U!==null&&!j.done;H++,j=E.next()){U.index>H?(V=U,U=null):V=U.sibling;var z=g(C,U,j.value,T);if(z===null){U===null&&(U=V);break}e&&U&&z.alternate===null&&t(C,U),b=o(z,b,H),I===null?D=z:I.sibling=z,I=z,U=V}if(j.done)return n(C,U),gr&&gf(C,H),D;if(U===null){for(;!j.done;H++,j=E.next())j=d(C,j.value,T),j!==null&&(b=o(j,b,H),I===null?D=j:I.sibling=j,I=j);return gr&&gf(C,H),D}for(U=r(C,U);!j.done;H++,j=E.next())j=m(U,C,H,j.value,T),j!==null&&(e&&j.alternate!==null&&U.delete(j.key===null?H:j.key),b=o(j,b,H),I===null?D=j:I.sibling=j,I=j);return e&&U.forEach(function(q){return t(C,q)}),gr&&gf(C,H),D}function x(C,b,E,T){if(typeof E=="object"&&E!==null&&E.type===Ah&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case L_:e:{for(var D=E.key,I=b;I!==null;){if(I.key===D){if(D=E.type,D===Ah){if(I.tag===7){n(C,I.sibling),b=i(I,E.props.children),b.return=C,C=b;break e}}else if(I.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Su&&RP(D)===I.type){n(C,I.sibling),b=i(I,E.props),b.ref=ag(C,I,E),b.return=C,C=b;break e}n(C,I);break}else t(C,I);I=I.sibling}E.type===Ah?(b=Df(E.props.children,C.mode,T,E.key),b.return=C,C=b):(T=h0(E.type,E.key,E.props,null,C.mode,T),T.ref=ag(C,b,E),T.return=C,C=T)}return a(C);case lh:e:{for(I=E.key;b!==null;){if(b.key===I)if(b.tag===4&&b.stateNode.containerInfo===E.containerInfo&&b.stateNode.implementation===E.implementation){n(C,b.sibling),b=i(b,E.children||[]),b.return=C,C=b;break e}else{n(C,b);break}else t(C,b);b=b.sibling}b=M1(E,C.mode,T),b.return=C,C=b}return a(C);case Su:return I=E._init,x(C,b,I(E._payload),T)}if(Ig(E))return v(C,b,E,T);if(tg(E))return y(C,b,E,T);z_(C,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,b!==null&&b.tag===6?(n(C,b.sibling),b=i(b,E),b.return=C,C=b):(n(C,b),b=N1(E,C.mode,T),b.return=C,C=b),a(C)):n(C,b)}return x}var Kh=L$(!0),D$=L$(!1),wv={},yl=dc(wv),Km=dc(wv),Wm=dc(wv);function Ff(e){if(e===wv)throw Error(Ke(174));return e}function $k(e,t){switch(ir(Wm,t),ir(Km,e),ir(yl,wv),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:SS(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=SS(t,e)}ur(yl),ir(yl,t)}function Wh(){ur(yl),ur(Km),ur(Wm)}function R$(e){Ff(Wm.current);var t=Ff(yl.current),n=SS(t,e.type);t!==n&&(ir(Km,e),ir(yl,n))}function jk(e){Km.current===e&&(ur(yl),ur(Km))}var yr=dc(0);function Hw(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var I1=[];function zk(){for(var e=0;e<I1.length;e++)I1[e]._workInProgressVersionPrimary=null;I1.length=0}var A0=NA.ReactCurrentDispatcher,L1=NA.ReactCurrentBatchConfig,zf=0,Br=null,ti=null,ci=null,$w=!1,im=!1,Gm=0,SJ=0;function Ri(){throw Error(Ke(321))}function Vk(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rs(e[n],t[n]))return!1;return!0}function Kk(e,t,n,r,i,o){if(zf=o,Br=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,A0.current=e===null||e.memoizedState===null?kJ:IJ,e=n(r,i),im){o=0;do{if(im=!1,Gm=0,25<=o)throw Error(Ke(301));o+=1,ci=ti=null,t.updateQueue=null,A0.current=LJ,e=n(r,i)}while(im)}if(A0.current=jw,t=ti!==null&&ti.next!==null,zf=0,ci=ti=Br=null,$w=!1,t)throw Error(Ke(300));return e}function Wk(){var e=Gm!==0;return Gm=0,e}function ll(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ci===null?Br.memoizedState=ci=e:ci=ci.next=e,ci}function Xa(){if(ti===null){var e=Br.alternate;e=e!==null?e.memoizedState:null}else e=ti.next;var t=ci===null?Br.memoizedState:ci.next;if(t!==null)ci=t,ti=e;else{if(e===null)throw Error(Ke(310));ti=e,e={memoizedState:ti.memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},ci===null?Br.memoizedState=ci=e:ci=ci.next=e}return ci}function Ym(e,t){return typeof t=="function"?t(e):t}function D1(e){var t=Xa(),n=t.queue;if(n===null)throw Error(Ke(311));n.lastRenderedReducer=e;var r=ti,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=a=null,l=null,u=o;do{var f=u.lane;if((zf&f)===f)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,a=r):l=l.next=d,Br.lanes|=f,Vf|=f}u=u.next}while(u!==null&&u!==o);l===null?a=r:l.next=s,Rs(r,t.memoizedState)||(Do=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Br.lanes|=o,Vf|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function R1(e){var t=Xa(),n=t.queue;if(n===null)throw Error(Ke(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Rs(o,t.memoizedState)||(Do=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function P$(){}function U$(e,t){var n=Br,r=Xa(),i=t(),o=!Rs(r.memoizedState,i);if(o&&(r.memoizedState=i,Do=!0),r=r.queue,Gk(Q$.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ci!==null&&ci.memoizedState.tag&1){if(n.flags|=2048,qm(9,M$.bind(null,n,r,i,t),void 0,null),fi===null)throw Error(Ke(349));zf&30||N$(n,t,i)}return i}function N$(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Br.updateQueue,t===null?(t={lastEffect:null,stores:null},Br.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function M$(e,t,n,r){t.value=n,t.getSnapshot=r,H$(t)&&$$(e)}function Q$(e,t,n){return n(function(){H$(t)&&$$(e)})}function H$(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Rs(e,n)}catch{return!0}}function $$(e){var t=DA(e,1);t!==null&&Is(t,e,1,-1)}function PP(e){var t=ll();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ym,lastRenderedState:e},t.queue=e,e=e.dispatch=OJ.bind(null,Br,e),[t.memoizedState,e]}function qm(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Br.updateQueue,t===null?(t={lastEffect:null,stores:null},Br.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function j$(){return Xa().memoizedState}function u0(e,t,n,r){var i=ll();Br.flags|=e,i.memoizedState=qm(1|t,n,void 0,r===void 0?null:r)}function MB(e,t,n,r){var i=Xa();r=r===void 0?null:r;var o=void 0;if(ti!==null){var a=ti.memoizedState;if(o=a.destroy,r!==null&&Vk(r,a.deps)){i.memoizedState=qm(t,n,o,r);return}}Br.flags|=e,i.memoizedState=qm(1|t,n,o,r)}function UP(e,t){return u0(8390656,8,e,t)}function Gk(e,t){return MB(2048,8,e,t)}function z$(e,t){return MB(4,2,e,t)}function V$(e,t){return MB(4,4,e,t)}function K$(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function W$(e,t,n){return n=n!=null?n.concat([e]):null,MB(4,4,K$.bind(null,t,e),n)}function Yk(){}function G$(e,t){var n=Xa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vk(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Y$(e,t){var n=Xa();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Vk(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function q$(e,t,n){return zf&21?(Rs(n,t)||(n=J3(),Br.lanes|=n,Vf|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Do=!0),e.memoizedState=n)}function FJ(e,t){var n=Hn;Hn=n!==0&&4>n?n:4,e(!0);var r=L1.transition;L1.transition={};try{e(!1),t()}finally{Hn=n,L1.transition=r}}function Z$(){return Xa().memoizedState}function TJ(e,t,n){var r=qu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},X$(e))J$(t,n);else if(n=T$(e,t,n,r),n!==null){var i=so();Is(n,e,r,i),e5(n,t,r)}}function OJ(e,t,n){var r=qu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(X$(e))J$(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Rs(s,a)){var l=t.interleaved;l===null?(i.next=i,Qk(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=T$(e,t,i,r),n!==null&&(i=so(),Is(n,e,r,i),e5(n,t,r))}}function X$(e){var t=e.alternate;return e===Br||t!==null&&t===Br}function J$(e,t){im=$w=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function e5(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ek(e,n)}}var jw={readContext:Za,useCallback:Ri,useContext:Ri,useEffect:Ri,useImperativeHandle:Ri,useInsertionEffect:Ri,useLayoutEffect:Ri,useMemo:Ri,useReducer:Ri,useRef:Ri,useState:Ri,useDebugValue:Ri,useDeferredValue:Ri,useTransition:Ri,useMutableSource:Ri,useSyncExternalStore:Ri,useId:Ri,unstable_isNewReconciler:!1},kJ={readContext:Za,useCallback:function(e,t){return ll().memoizedState=[e,t===void 0?null:t],e},useContext:Za,useEffect:UP,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,u0(4194308,4,K$.bind(null,t,e),n)},useLayoutEffect:function(e,t){return u0(4194308,4,e,t)},useInsertionEffect:function(e,t){return u0(4,2,e,t)},useMemo:function(e,t){var n=ll();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ll();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=TJ.bind(null,Br,e),[r.memoizedState,e]},useRef:function(e){var t=ll();return e={current:e},t.memoizedState=e},useState:PP,useDebugValue:Yk,useDeferredValue:function(e){return ll().memoizedState=e},useTransition:function(){var e=PP(!1),t=e[0];return e=FJ.bind(null,e[1]),ll().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Br,i=ll();if(gr){if(n===void 0)throw Error(Ke(407));n=n()}else{if(n=t(),fi===null)throw Error(Ke(349));zf&30||N$(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,UP(Q$.bind(null,r,o,e),[e]),r.flags|=2048,qm(9,M$.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ll(),t=fi.identifierPrefix;if(gr){var n=wA,r=yA;n=(r&~(1<<32-ks(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gm++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=SJ++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},IJ={readContext:Za,useCallback:G$,useContext:Za,useEffect:Gk,useImperativeHandle:W$,useInsertionEffect:z$,useLayoutEffect:V$,useMemo:Y$,useReducer:D1,useRef:j$,useState:function(){return D1(Ym)},useDebugValue:Yk,useDeferredValue:function(e){var t=Xa();return q$(t,ti.memoizedState,e)},useTransition:function(){var e=D1(Ym)[0],t=Xa().memoizedState;return[e,t]},useMutableSource:P$,useSyncExternalStore:U$,useId:Z$,unstable_isNewReconciler:!1},LJ={readContext:Za,useCallback:G$,useContext:Za,useEffect:Gk,useImperativeHandle:W$,useInsertionEffect:z$,useLayoutEffect:V$,useMemo:Y$,useReducer:R1,useRef:j$,useState:function(){return R1(Ym)},useDebugValue:Yk,useDeferredValue:function(e){var t=Xa();return ti===null?t.memoizedState=e:q$(t,ti.memoizedState,e)},useTransition:function(){var e=R1(Ym)[0],t=Xa().memoizedState;return[e,t]},useMutableSource:P$,useSyncExternalStore:U$,useId:Z$,unstable_isNewReconciler:!1};function Gh(e,t){try{var n="",r=t;do n+=sX(r),r=r.return;while(r);var i=n}catch(o){i=` 43Error generating stack: `+o.message+` 44`+o.stack}return{value:e,source:t,stack:i,digest:null}}function P1(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function qS(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var DJ=typeof WeakMap=="function"?WeakMap:Map;function t5(e,t,n){n=EA(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vw||(Vw=!0,aF=r),qS(e,t)},n}function n5(e,t,n){n=EA(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){qS(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){qS(e,t),typeof r!="function"&&(Yu===null?Yu=new Set([this]):Yu.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function NP(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new DJ;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=GJ.bind(null,e,t,n),t.then(e,e))}function MP(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function QP(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=EA(-1,1),t.tag=2,Gu(n,t,1))),n.lanes|=1),e)}var RJ=NA.ReactCurrentOwner,Do=!1;function no(e,t,n,r){t.child=e===null?D$(t,null,n,r):Kh(t,e.child,n,r)}function HP(e,t,n,r,i){n=n.render;var o=t.ref;return Oh(t,i),r=Kk(e,t,n,r,o,i),n=Wk(),e!==null&&!Do?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,RA(e,t,i)):(gr&&n&&Dk(t),t.flags|=1,no(e,t,r,i),t.child)}function $P(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!rI(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,r5(e,t,o,r,i)):(e=h0(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:$m,n(a,r)&&e.ref===t.ref)return RA(e,t,i)}return t.flags|=1,e=Zu(o,r),e.ref=t.ref,e.return=t,t.child=e}function r5(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if($m(o,r)&&e.ref===t.ref)if(Do=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Do=!0);else return t.lanes=e.lanes,RA(e,t,i)}return ZS(e,t,n,r,i)}function i5(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ir(_h,sa),sa|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ir(_h,sa),sa|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,ir(_h,sa),sa|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,ir(_h,sa),sa|=r;return no(e,t,i,n),t.child}function o5(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ZS(e,t,n,r,i){var o=Mo(n)?$f:ji.current;return o=zh(t,o),Oh(t,i),n=Kk(e,t,n,r,o,i),r=Wk(),e!==null&&!Do?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,RA(e,t,i)):(gr&&r&&Dk(t),t.flags|=1,no(e,t,n,i),t.child)}function jP(e,t,n,r,i){if(Mo(n)){var o=!0;Rw(t)}else o=!1;if(Oh(t,i),t.stateNode===null)c0(e,t),I$(t,n,r),YS(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Za(u):(u=Mo(n)?$f:ji.current,u=zh(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&DP(t,a,r,u),Fu=!1;var g=t.memoizedState;a.state=g,Qw(t,r,a,i),l=t.memoizedState,s!==r||g!==l||No.current||Fu?(typeof f=="function"&&(GS(t,n,f,r),l=t.memoizedState),(s=Fu||LP(t,n,s,r,g,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,O$(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ss(t.type,s),a.props=u,d=t.pendingProps,g=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Za(l):(l=Mo(n)?$f:ji.current,l=zh(t,l));var m=n.getDerivedStateFromProps;(f=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||g!==l)&&DP(t,a,r,l),Fu=!1,g=t.memoizedState,a.state=g,Qw(t,r,a,i);var v=t.memoizedState;s!==d||g!==v||No.current||Fu?(typeof m=="function"&&(GS(t,n,m,r),v=t.memoizedState),(u=Fu||LP(t,n,u,r,g,v,l)||!1)?(f||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),r=!1)}return XS(e,t,n,r,o,i)}function XS(e,t,n,r,i,o){o5(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&FP(t,n,!1),RA(e,t,o);r=t.stateNode,RJ.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Kh(t,e.child,null,o),t.child=Kh(t,null,s,o)):no(e,t,s,o),t.memoizedState=r.state,i&&FP(t,n,!0),t.child}function a5(e){var t=e.stateNode;t.pendingContext?SP(e,t.pendingContext,t.pendingContext!==t.context):t.context&&SP(e,t.context,!1),$k(e,t.containerInfo)}function zP(e,t,n,r,i){return Vh(),Pk(i),t.flags|=256,no(e,t,n,r),t.child}var JS={dehydrated:null,treeContext:null,retryLane:0};function eF(e){return{baseLanes:e,cachePool:null,transitions:null}}function s5(e,t,n){var r=t.pendingProps,i=yr.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),ir(yr,i&1),e===null)return KS(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=$B(a,r,0,null),e=Df(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=eF(n),t.memoizedState=JS,e):qk(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return PJ(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Zu(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Zu(s,o):(o=Df(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?eF(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=JS,r}return o=e.child,e=o.sibling,r=Zu(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function qk(e,t){return t=$B({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function V_(e,t,n,r){return r!==null&&Pk(r),Kh(t,e.child,null,n),e=qk(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function PJ(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=P1(Error(Ke(422))),V_(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=$B({mode:"visible",children:r.children},i,0,null),o=Df(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Kh(t,e.child,null,a),t.child.memoizedState=eF(a),t.memoizedState=JS,o);if(!(t.mode&1))return V_(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(Ke(419)),r=P1(o,r,void 0),V_(e,t,a,r)}if(s=(a&e.childLanes)!==0,Do||s){if(r=fi,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,DA(e,i),Is(r,e,i,-1))}return nI(),r=P1(Error(Ke(421))),V_(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=YJ.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Aa=Wu(i.nextSibling),ua=t,gr=!0,Ts=null,e!==null&&(Qa[Ha++]=yA,Qa[Ha++]=wA,Qa[Ha++]=jf,yA=e.id,wA=e.overflow,jf=t),t=qk(t,r.children),t.flags|=4096,t)}function VP(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),WS(e.return,t,n)}function U1(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function l5(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(no(e,t,r.children,n),r=yr.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&VP(e,n,t);else if(e.tag===19)VP(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ir(yr,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Hw(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),U1(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Hw(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}U1(t,!0,n,null,o);break;case"together":U1(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function c0(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function RA(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vf|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Ke(153));
vendor: 5,452 bytes, line 44
44if(t.child!==null){for(e=t.child,n=Zu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Zu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function UJ(e,t,n){switch(t.tag){case 3:a5(t),Vh();break;case 5:R$(t);break;case 1:Mo(t.type)&&Rw(t);break;case 4:$k(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ir(Nw,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ir(yr,yr.current&1),t.flags|=128,null):n&t.child.childLanes?s5(e,t,n):(ir(yr,yr.current&1),e=RA(e,t,n),e!==null?e.sibling:null);ir(yr,yr.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return l5(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ir(yr,yr.current),r)break;return null;case 22:case 23:return t.lanes=0,i5(e,t,n)}return RA(e,t,n)}var A5,tF,u5,c5;A5=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};tF=function(){};u5=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ff(yl.current);var o=null;switch(n){case"input":i=BS(e,i),r=BS(e,r),o=[];break;case"select":i=Cr({},i,{value:void 0}),r=Cr({},r,{value:void 0}),o=[];break;case"textarea":i=ES(e,i),r=ES(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Lw)}FS(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Rm.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Rm.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&lr("scroll",e),o||s===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};c5=function(e,t,n,r){n!==r&&(t.flags|=4)};function sg(e,t){if(!gr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Pi(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function NJ(e,t,n){var r=t.pendingProps;switch(Rk(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pi(t),null;case 1:return Mo(t.type)&&Dw(),Pi(t),null;case 3:return r=t.stateNode,Wh(),ur(No),ur(ji),zk(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(j_(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ts!==null&&(AF(Ts),Ts=null))),tF(e,t),Pi(t),null;case 5:jk(t);var i=Ff(Wm.current);if(n=t.type,e!==null&&t.stateNode!=null)u5(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Ke(166));return Pi(t),null}if(e=Ff(yl.current),j_(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[fl]=t,r[Vm]=o,e=(t.mode&1)!==0,n){case"dialog":lr("cancel",r),lr("close",r);break;case"iframe":case"object":case"embed":lr("load",r);break;case"video":case"audio":for(i=0;i<Dg.length;i++)lr(Dg[i],r);break;case"source":lr("error",r);break;case"img":case"image":case"link":lr("error",r),lr("load",r);break;case"details":lr("toggle",r);break;case"input":eP(r,o),lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},lr("invalid",r);break;case"textarea":nP(r,o),lr("invalid",r)}FS(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&$_(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&$_(r.textContent,s,e),i=["children",""+s]):Rm.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&lr("scroll",r)}switch(n){case"input":D_(r),tP(r,o,!0);break;case"textarea":D_(r),rP(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Lw)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=N3(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
44",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[fl]=t,e[Vm]=r,A5(e,t,!1,!1),t.stateNode=e;e:{switch(a=TS(n,r),n){case"dialog":lr("cancel",e),lr("close",e),i=r;break;case"iframe":case"object":case"embed":lr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Dg.length;i++)lr(Dg[i],e);i=r;break;case"source":lr("error",e),i=r;break;case"img":case"image":case"link":lr("error",e),lr("load",e),i=r;break;case"details":lr("toggle",e),i=r;break;case"input":eP(e,r),i=BS(e,r),lr("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Cr({},r,{value:void 0}),lr("invalid",e);break;case"textarea":nP(e,r),i=ES(e,r),lr("invalid",e);break;default:i=r}FS(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var l=s[o];o==="style"?H3(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&M3(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Pm(e,l):typeof l=="number"&&Pm(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Rm.hasOwnProperty(o)?l!=null&&o==="onScroll"&&lr("scroll",e):l!=null&&yk(e,o,l,a))}switch(n){case"input":D_(e),tP(e,r,!1);break;case"textarea":D_(e),rP(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rc(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Eh(e,!!r.multiple,o,!1):r.defaultValue!=null&&Eh(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Lw)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Pi(t),null;case 6:if(e&&t.stateNode!=null)c5(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Ke(166));if(n=Ff(Wm.current),Ff(yl.current),j_(t)){if(r=t.stateNode,n=t.memoizedProps,r[fl]=t,(o=r.nodeValue!==n)&&(e=ua,e!==null))switch(e.tag){case 3:$_(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&$_(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[fl]=t,t.stateNode=r}return Pi(t),null;case 13:if(ur(yr),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(gr&&Aa!==null&&t.mode&1&&!(t.flags&128))F$(),Vh(),t.flags|=98560,o=!1;else if(o=j_(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(Ke(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(Ke(317));o[fl]=t}else Vh(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Pi(t),o=!1}else Ts!==null&&(AF(Ts),Ts=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||yr.current&1?ri===0&&(ri=3):nI())),t.updateQueue!==null&&(t.flags|=4),Pi(t),null);case 4:return Wh(),tF(e,t),e===null&&jm(t.stateNode.containerInfo),Pi(t),null;case 10:return Mk(t.type._context),Pi(t),null;case 17:return Mo(t.type)&&Dw(),Pi(t),null;case 19:if(ur(yr),o=t.memoizedState,o===null)return Pi(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)sg(o,!1);else{if(ri!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Hw(e),a!==null){for(t.flags|=128,sg(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ir(yr,yr.current&1|2),t.child}e=e.sibling}o.tail!==null&&Hr()>Yh&&(t.flags|=128,r=!0,sg(o,!1),t.lanes=4194304)}else{if(!r)if(e=Hw(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),sg(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!gr)return Pi(t),null}else 2*Hr()-o.renderingStartTime>Yh&&n!==1073741824&&(t.flags|=128,r=!0,sg(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Hr(),t.sibling=null,n=yr.current,ir(yr,r?n&1|2:n&1),t):(Pi(t),null);case 22:case 23:return tI(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?sa&1073741824&&(Pi(t),t.subtreeFlags&6&&(t.flags|=8192)):Pi(t),null;case 24:return null;case 25:return null}throw Error(Ke(156,t.tag))}function MJ(e,t){switch(Rk(t),t.tag){case 1:return Mo(t.type)&&Dw(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 11,569 bytes, line 44
44case 3:return Wh(),ur(No),ur(ji),zk(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return jk(t),null;case 13:if(ur(yr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Ke(340));Vh()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ur(yr),null;case 4:return Wh(),null;case 10:return Mk(t.type._context),null;case 22:case 23:return tI(),null;case 24:return null;default:return null}}var K_=!1,Hi=!1,QJ=typeof WeakSet=="function"?WeakSet:Set,ht=null;function vh(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fr(e,t,r)}else n.current=null}function nF(e,t,n){try{n()}catch(r){Fr(e,t,r)}}var KP=!1;function HJ(e,t){if(MS=Ow,e=p$(),Lk(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,f=0,d=e,g=null;t:for(;;){for(var m;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(m=d.firstChild)!==null;)g=d,d=m;for(;;){if(d===e)break t;if(g===n&&++u===i&&(s=a),g===o&&++f===r&&(l=a),(m=d.nextSibling)!==null)break;d=g,g=d.parentNode}d=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(QS={focusedElem:e,selectionRange:n},Ow=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){t=ht;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var y=v.memoizedProps,x=v.memoizedState,C=t.stateNode,b=C.getSnapshotBeforeUpdate(t.elementType===t.type?y:Ss(t.type,y),x);C.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ke(163))}}catch(T){Fr(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}return v=KP,KP=!1,v}function om(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&nF(t,n,o)}i=i.next}while(i!==r)}}function QB(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function rF(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function f5(e){var t=e.alternate;t!==null&&(e.alternate=null,f5(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[fl],delete t[Vm],delete t[jS],delete t[BJ],delete t[CJ])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function d5(e){return e.tag===5||e.tag===3||e.tag===4}function WP(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||d5(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function iF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Lw));else if(r!==4&&(e=e.child,e!==null))for(iF(e,t,n),e=e.sibling;e!==null;)iF(e,t,n),e=e.sibling}function oF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(oF(e,t,n),e=e.sibling;e!==null;)oF(e,t,n),e=e.sibling}var Bi=null,Fs=!1;function yu(e,t,n){for(n=n.child;n!==null;)h5(e,t,n),n=n.sibling}function h5(e,t,n){if(_l&&typeof _l.onCommitFiberUnmount=="function")try{_l.onCommitFiberUnmount(IB,n)}catch{}switch(n.tag){case 5:Hi||vh(n,t);case 6:var r=Bi,i=Fs;Bi=null,yu(e,t,n),Bi=r,Fs=i,Bi!==null&&(Fs?(e=Bi,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Bi.removeChild(n.stateNode));break;case 18:Bi!==null&&(Fs?(e=Bi,n=n.stateNode,e.nodeType===8?O1(e.parentNode,n):e.nodeType===1&&O1(e,n),Qm(e)):O1(Bi,n.stateNode));break;case 4:r=Bi,i=Fs,Bi=n.stateNode.containerInfo,Fs=!0,yu(e,t,n),Bi=r,Fs=i;break;case 0:case 11:case 14:case 15:if(!Hi&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&nF(n,t,a),i=i.next}while(i!==r)}yu(e,t,n);break;case 1:if(!Hi&&(vh(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Fr(n,t,s)}yu(e,t,n);break;case 21:yu(e,t,n);break;case 22:n.mode&1?(Hi=(r=Hi)||n.memoizedState!==null,yu(e,t,n),Hi=r):yu(e,t,n);break;default:yu(e,t,n)}}function GP(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new QJ),t.forEach(function(r){var i=qJ.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function bs(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:Bi=s.stateNode,Fs=!1;break e;case 3:Bi=s.stateNode.containerInfo,Fs=!0;break e;case 4:Bi=s.stateNode.containerInfo,Fs=!0;break e}s=s.return}if(Bi===null)throw Error(Ke(160));h5(o,a,i),Bi=null,Fs=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){Fr(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)p5(t,e),t=t.sibling}function p5(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(bs(t,e),nl(e),r&4){try{om(3,e,e.return),QB(3,e)}catch(y){Fr(e,e.return,y)}try{om(5,e,e.return)}catch(y){Fr(e,e.return,y)}}break;case 1:bs(t,e),nl(e),r&512&&n!==null&&vh(n,n.return);break;case 5:if(bs(t,e),nl(e),r&512&&n!==null&&vh(n,n.return),e.flags&32){var i=e.stateNode;try{Pm(i,"")}catch(y){Fr(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&P3(i,o),TS(s,a);var u=TS(s,o);for(a=0;a<l.length;a+=2){var f=l[a],d=l[a+1];f==="style"?H3(i,d):f==="dangerouslySetInnerHTML"?M3(i,d):f==="children"?Pm(i,d):yk(i,f,d,u)}switch(s){case"input":CS(i,o);break;case"textarea":U3(i,o);break;case"select":var g=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m!=null?Eh(i,!!o.multiple,m,!1):g!==!!o.multiple&&(o.defaultValue!=null?Eh(i,!!o.multiple,o.defaultValue,!0):Eh(i,!!o.multiple,o.multiple?[]:"",!1))}i[Vm]=o}catch(y){Fr(e,e.return,y)}}break;case 6:if(bs(t,e),nl(e),r&4){if(e.stateNode===null)throw Error(Ke(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(y){Fr(e,e.return,y)}}break;case 3:if(bs(t,e),nl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Qm(t.containerInfo)}catch(y){Fr(e,e.return,y)}break;case 4:bs(t,e),nl(e);break;case 13:bs(t,e),nl(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Jk=Hr())),r&4&&GP(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Hi=(u=Hi)||f,bs(t,e),Hi=u):bs(t,e),nl(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(ht=e,f=e.child;f!==null;){for(d=ht=f;ht!==null;){switch(g=ht,m=g.child,g.tag){case 0:case 11:case 14:case 15:om(4,g,g.return);break;case 1:vh(g,g.return);var v=g.stateNode;if(typeof v.componentWillUnmount=="function"){r=g,n=g.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(y){Fr(r,n,y)}}break;case 5:vh(g,g.return);break;case 22:if(g.memoizedState!==null){qP(d);continue}}m!==null?(m.return=g,ht=m):qP(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=d.stateNode,l=d.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=Q3("display",a))}catch(y){Fr(e,e.return,y)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){Fr(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:bs(t,e),nl(e),r&4&&GP(e);break;case 21:break;default:bs(t,e),nl(e)}}function nl(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(d5(n)){var r=n;break e}n=n.return}throw Error(Ke(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Pm(i,""),r.flags&=-33);var o=WP(e);oF(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,s=WP(e);iF(e,s,a);break;default:throw Error(Ke(161))}}catch(l){Fr(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function $J(e,t,n){ht=e,g5(e)}function g5(e,t,n){for(var r=(e.mode&1)!==0;ht!==null;){var i=ht,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||K_;if(!a){var s=i.alternate,l=s!==null&&s.memoizedState!==null||Hi;s=K_;var u=Hi;if(K_=a,(Hi=l)&&!u)for(ht=i;ht!==null;)a=ht,l=a.child,a.tag===22&&a.memoizedState!==null?ZP(i):l!==null?(l.return=a,ht=l):ZP(i);for(;o!==null;)ht=o,g5(o),o=o.sibling;ht=i,K_=s,Hi=u}YP(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,ht=o):YP(e)}}function YP(e){for(;ht!==null;){var t=ht;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Hi||QB(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Hi)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Ss(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&IP(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}IP(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&Qm(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Ke(163))}Hi||t.flags&512&&rF(t)}catch(g){Fr(t,t.return,g)}}if(t===e){ht=null;break}if(n=t.sibling,n!==null){n.return=t.return,ht=n;break}ht=t.return}}function qP(e){for(;ht!==null;){var t=ht;if(t===e){ht=null;break}var n=t.sibling;if(n!==null){n.return=t.return,ht=n;break}ht=t.return}}function ZP(e){for(;ht!==null;){var t=ht;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{QB(4,t)}catch(l){Fr(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Fr(t,i,l)}}var o=t.return;try{rF(t)}catch(l){Fr(t,o,l)}break;case 5:var a=t.return;try{rF(t)}catch(l){Fr(t,a,l)}}}catch(l){Fr(t,t.return,l)}if(t===e){ht=null;break}var s=t.sibling;if(s!==null){s.return=t.return,ht=s;break}ht=t.return}}
vendor: 10,002 bytes, line 44
44var jJ=Math.ceil,zw=NA.ReactCurrentDispatcher,Zk=NA.ReactCurrentOwner,Ya=NA.ReactCurrentBatchConfig,Bn=0,fi=null,qr=null,Fi=0,sa=0,_h=dc(0),ri=0,Zm=null,Vf=0,HB=0,Xk=0,am=null,Oo=null,Jk=0,Yh=1/0,gA=null,Vw=!1,aF=null,Yu=null,W_=!1,Pu=null,Kw=0,sm=0,sF=null,f0=-1,d0=0;function so(){return Bn&6?Hr():f0!==-1?f0:f0=Hr()}function qu(e){return e.mode&1?Bn&2&&Fi!==0?Fi&-Fi:EJ.transition!==null?(d0===0&&(d0=J3()),d0):(e=Hn,e!==0||(e=window.event,e=e===void 0?16:a$(e.type)),e):1}function Is(e,t,n,r){if(50<sm)throw sm=0,sF=null,Error(Ke(185));vv(e,n,r),(!(Bn&2)||e!==fi)&&(e===fi&&(!(Bn&2)&&(HB|=n),ri===4&&Lu(e,Fi)),Qo(e,r),n===1&&Bn===0&&!(t.mode&1)&&(Yh=Hr()+500,UB&&hc()))}function Qo(e,t){var n=e.callbackNode;EX(e,t);var r=Tw(e,e===fi?Fi:0);if(r===0)n!==null&&aP(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&aP(n),t===1)e.tag===0?xJ(XP.bind(null,e)):x$(XP.bind(null,e)),wJ(function(){!(Bn&6)&&hc()}),n=null;else{switch(e$(r)){case 1:n=xk;break;case 4:n=Z3;break;case 16:n=Fw;break;case 536870912:n=X3;break;default:n=Fw}n=C5(n,m5.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function m5(e,t){if(f0=-1,d0=0,Bn&6)throw Error(Ke(327));var n=e.callbackNode;if(kh()&&e.callbackNode!==n)return null;var r=Tw(e,e===fi?Fi:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ww(e,r);else{t=r;var i=Bn;Bn|=2;var o=_5();(fi!==e||Fi!==t)&&(gA=null,Yh=Hr()+500,Lf(e,t));do try{KJ();break}catch(s){v5(e,s)}while(1);Nk(),zw.current=o,Bn=i,qr!==null?t=0:(fi=null,Fi=0,t=ri)}if(t!==0){if(t===2&&(i=DS(e),i!==0&&(r=i,t=lF(e,i))),t===1)throw n=Zm,Lf(e,0),Lu(e,r),Qo(e,Hr()),n;if(t===6)Lu(e,r);else{if(i=e.current.alternate,!(r&30)&&!zJ(i)&&(t=Ww(e,r),t===2&&(o=DS(e),o!==0&&(r=o,t=lF(e,o))),t===1))throw n=Zm,Lf(e,0),Lu(e,r),Qo(e,Hr()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(Ke(345));case 2:mf(e,Oo,gA);break;case 3:if(Lu(e,r),(r&130023424)===r&&(t=Jk+500-Hr(),10<t)){if(Tw(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){so(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$S(mf.bind(null,e,Oo,gA),t);break}mf(e,Oo,gA);break;case 4:if(Lu(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-ks(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=Hr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jJ(r/1960))-r,10<r){e.timeoutHandle=$S(mf.bind(null,e,Oo,gA),r);break}mf(e,Oo,gA);break;case 5:mf(e,Oo,gA);break;default:throw Error(Ke(329))}}}return Qo(e,Hr()),e.callbackNode===n?m5.bind(null,e):null}function lF(e,t){var n=am;return e.current.memoizedState.isDehydrated&&(Lf(e,t).flags|=256),e=Ww(e,t),e!==2&&(t=Oo,Oo=n,t!==null&&AF(t)),e}function AF(e){Oo===null?Oo=e:Oo.push.apply(Oo,e)}function zJ(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Rs(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Lu(e,t){for(t&=~Xk,t&=~HB,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ks(t),r=1<<n;e[n]=-1,t&=~r}}function XP(e){if(Bn&6)throw Error(Ke(327));kh();var t=Tw(e,0);if(!(t&1))return Qo(e,Hr()),null;var n=Ww(e,t);if(e.tag!==0&&n===2){var r=DS(e);r!==0&&(t=r,n=lF(e,r))}if(n===1)throw n=Zm,Lf(e,0),Lu(e,t),Qo(e,Hr()),n;if(n===6)throw Error(Ke(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,mf(e,Oo,gA),Qo(e,Hr()),null}function eI(e,t){var n=Bn;Bn|=1;try{return e(t)}finally{Bn=n,Bn===0&&(Yh=Hr()+500,UB&&hc())}}function Kf(e){Pu!==null&&Pu.tag===0&&!(Bn&6)&&kh();var t=Bn;Bn|=1;var n=Ya.transition,r=Hn;try{if(Ya.transition=null,Hn=1,e)return e()}finally{Hn=r,Ya.transition=n,Bn=t,!(Bn&6)&&hc()}}function tI(){sa=_h.current,ur(_h)}function Lf(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,yJ(n)),qr!==null)for(n=qr.return;n!==null;){var r=n;switch(Rk(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Dw();break;case 3:Wh(),ur(No),ur(ji),zk();break;case 5:jk(r);break;case 4:Wh();break;case 13:ur(yr);break;case 19:ur(yr);break;case 10:Mk(r.type._context);break;case 22:case 23:tI()}n=n.return}if(fi=e,qr=e=Zu(e.current,null),Fi=sa=t,ri=0,Zm=null,Xk=HB=Vf=0,Oo=am=null,Sf!==null){for(t=0;t<Sf.length;t++)if(n=Sf[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}Sf=null}return e}function v5(e,t){do{var n=qr;try{if(Nk(),A0.current=jw,$w){for(var r=Br.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}$w=!1}if(zf=0,ci=ti=Br=null,im=!1,Gm=0,Zk.current=null,n===null||n.return===null){ri=1,Zm=t,qr=null;break}e:{var o=e,a=n.return,s=n,l=t;if(t=Fi,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,f=s,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var g=f.alternate;g?(f.updateQueue=g.updateQueue,f.memoizedState=g.memoizedState,f.lanes=g.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=MP(a);if(m!==null){m.flags&=-257,QP(m,a,s,o,t),m.mode&1&&NP(o,u,t),t=m,l=u;var v=t.updateQueue;if(v===null){var y=new Set;y.add(l),t.updateQueue=y}else v.add(l);break e}else{if(!(t&1)){NP(o,u,t),nI();break e}l=Error(Ke(426))}}else if(gr&&s.mode&1){var x=MP(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),QP(x,a,s,o,t),Pk(Gh(l,s));break e}}o=l=Gh(l,s),ri!==4&&(ri=2),am===null?am=[o]:am.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var C=t5(o,l,t);kP(o,C);break e;case 1:s=l;var b=o.type,E=o.stateNode;if(!(o.flags&128)&&(typeof b.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(Yu===null||!Yu.has(E)))){o.flags|=65536,t&=-t,o.lanes|=t;var T=n5(o,s,t);kP(o,T);break e}}o=o.return}while(o!==null)}w5(n)}catch(D){t=D,qr===n&&n!==null&&(qr=n=n.return);continue}break}while(1)}function _5(){var e=zw.current;return zw.current=jw,e===null?jw:e}function nI(){(ri===0||ri===3||ri===2)&&(ri=4),fi===null||!(Vf&268435455)&&!(HB&268435455)||Lu(fi,Fi)}function Ww(e,t){var n=Bn;Bn|=2;var r=_5();(fi!==e||Fi!==t)&&(gA=null,Lf(e,t));do try{VJ();break}catch(i){v5(e,i)}while(1);if(Nk(),Bn=n,zw.current=r,qr!==null)throw Error(Ke(261));return fi=null,Fi=0,ri}function VJ(){for(;qr!==null;)y5(qr)}function KJ(){for(;qr!==null&&!mX();)y5(qr)}function y5(e){var t=B5(e.alternate,e,sa);e.memoizedProps=e.pendingProps,t===null?w5(e):qr=t,Zk.current=null}function w5(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=MJ(n,t),n!==null){n.flags&=32767,qr=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ri=6,qr=null;return}}else if(n=NJ(n,t,sa),n!==null){qr=n;return}if(t=t.sibling,t!==null){qr=t;return}qr=t=e}while(t!==null);ri===0&&(ri=5)}function mf(e,t,n){var r=Hn,i=Ya.transition;try{Ya.transition=null,Hn=1,WJ(e,t,n,r)}finally{Ya.transition=i,Hn=r}return null}function WJ(e,t,n,r){do kh();while(Pu!==null);if(Bn&6)throw Error(Ke(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Ke(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(SX(e,o),e===fi&&(qr=fi=null,Fi=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||W_||(W_=!0,C5(Fw,function(){return kh(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ya.transition,Ya.transition=null;var a=Hn;Hn=1;var s=Bn;Bn|=4,Zk.current=null,HJ(e,n),p5(n,e),dJ(QS),Ow=!!MS,QS=MS=null,e.current=n,$J(n),vX(),Bn=s,Hn=a,Ya.transition=o}else e.current=n;if(W_&&(W_=!1,Pu=e,Kw=i),o=e.pendingLanes,o===0&&(Yu=null),wX(n.stateNode),Qo(e,Hr()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Vw)throw Vw=!1,e=aF,aF=null,e;return Kw&1&&e.tag!==0&&kh(),o=e.pendingLanes,o&1?e===sF?sm++:(sm=0,sF=e):sm=0,hc(),null}function kh(){if(Pu!==null){var e=e$(Kw),t=Ya.transition,n=Hn;try{if(Ya.transition=null,Hn=16>e?16:e,Pu===null)var r=!1;else{if(e=Pu,Pu=null,Kw=0,Bn&6)throw Error(Ke(331));var i=Bn;for(Bn|=4,ht=e.current;ht!==null;){var o=ht,a=o.child;if(ht.flags&16){var s=o.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(ht=u;ht!==null;){var f=ht;switch(f.tag){case 0:case 11:case 15:om(8,f,o)}var d=f.child;if(d!==null)d.return=f,ht=d;else for(;ht!==null;){f=ht;var g=f.sibling,m=f.return;if(f5(f),f===u){ht=null;break}if(g!==null){g.return=m,ht=g;break}ht=m}}}var v=o.alternate;if(v!==null){var y=v.child;if(y!==null){v.child=null;do{var x=y.sibling;y.sibling=null,y=x}while(y!==null)}}ht=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,ht=a;else e:for(;ht!==null;){if(o=ht,o.flags&2048)switch(o.tag){case 0:case 11:case 15:om(9,o,o.return)}var C=o.sibling;if(C!==null){C.return=o.return,ht=C;break e}ht=o.return}}var b=e.current;for(ht=b;ht!==null;){a=ht;var E=a.child;if(a.subtreeFlags&2064&&E!==null)E.return=a,ht=E;else e:for(a=b;ht!==null;){if(s=ht,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:QB(9,s)}}catch(D){Fr(s,s.return,D)}if(s===a){ht=null;break e}var T=s.sibling;if(T!==null){T.return=s.return,ht=T;break e}ht=s.return}}if(Bn=i,hc(),_l&&typeof _l.onPostCommitFiberRoot=="function")try{_l.onPostCommitFiberRoot(IB,e)}catch{}r=!0}return r}finally{Hn=n,Ya.transition=t}}return!1}function JP(e,t,n){t=Gh(n,t),t=t5(e,t,1),e=Gu(e,t,1),t=so(),e!==null&&(vv(e,1,t),Qo(e,t))}function Fr(e,t,n){if(e.tag===3)JP(e,e,n);else for(;t!==null;){if(t.tag===3){JP(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Yu===null||!Yu.has(r))){e=Gh(n,e),e=n5(t,e,1),t=Gu(t,e,1),e=so(),t!==null&&(vv(t,1,e),Qo(t,e));break}}t=t.return}}function GJ(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=so(),e.pingedLanes|=e.suspendedLanes&n,fi===e&&(Fi&n)===n&&(ri===4||ri===3&&(Fi&130023424)===Fi&&500>Hr()-Jk?Lf(e,0):Xk|=n),Qo(e,t)}
vendor: 4,276 bytes, line 44
44function b5(e,t){t===0&&(e.mode&1?(t=U_,U_<<=1,!(U_&130023424)&&(U_=4194304)):t=1);var n=so();e=DA(e,t),e!==null&&(vv(e,t,n),Qo(e,n))}function YJ(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),b5(e,n)}function qJ(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ke(314))}r!==null&&r.delete(t),b5(e,n)}var B5;B5=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||No.current)Do=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Do=!1,UJ(e,t,n);Do=!!(e.flags&131072)}else Do=!1,gr&&t.flags&1048576&&E$(t,Uw,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;c0(e,t),e=t.pendingProps;var i=zh(t,ji.current);Oh(t,n),i=Kk(null,t,r,e,i,n);var o=Wk();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Mo(r)?(o=!0,Rw(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hk(t),i.updater=NB,t.stateNode=i,i._reactInternals=t,YS(t,r,e,n),t=XS(null,t,r,!0,o,n)):(t.tag=0,gr&&o&&Dk(t),no(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(c0(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=XJ(r),e=Ss(r,e),i){case 0:t=ZS(null,t,r,e,n);break e;case 1:t=jP(null,t,r,e,n);break e;case 11:t=HP(null,t,r,e,n);break e;case 14:t=$P(null,t,r,Ss(r.type,e),n);break e}throw Error(Ke(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ss(r,i),ZS(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ss(r,i),jP(e,t,r,i,n);case 3:e:{if(a5(t),e===null)throw Error(Ke(387));r=t.pendingProps,o=t.memoizedState,i=o.element,O$(e,t),Qw(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Gh(Error(Ke(423)),t),t=zP(e,t,r,n,i);break e}else if(r!==i){i=Gh(Error(Ke(424)),t),t=zP(e,t,r,n,i);break e}else for(Aa=Wu(t.stateNode.containerInfo.firstChild),ua=t,gr=!0,Ts=null,n=D$(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Vh(),r===i){t=RA(e,t,n);break e}no(e,t,r,n)}t=t.child}return t;case 5:return R$(t),e===null&&KS(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,HS(r,i)?a=null:o!==null&&HS(r,o)&&(t.flags|=32),o5(e,t),no(e,t,a,n),t.child;case 6:return e===null&&KS(t),null;case 13:return s5(e,t,n);case 4:return $k(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kh(t,null,r,n):no(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ss(r,i),HP(e,t,r,i,n);case 7:return no(e,t,t.pendingProps,n),t.child;case 8:return no(e,t,t.pendingProps.children,n),t.child;case 12:return no(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,ir(Nw,r._currentValue),r._currentValue=a,o!==null)if(Rs(o.value,a)){if(o.children===i.children&&!No.current){t=RA(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=EA(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?l.next=l:(l.next=f.next,f.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),WS(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Ke(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),WS(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}no(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Oh(t,n),i=Za(i),r=r(i),t.flags|=1,no(e,t,r,n),t.child;case 14:return r=t.type,i=Ss(r,t.pendingProps),i=Ss(r.type,i),$P(e,t,r,i,n);case 15:return r5(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ss(r,i),c0(e,t),t.tag=1,Mo(r)?(e=!0,Rw(t)):e=!1,Oh(t,n),I$(t,r,i),YS(t,r,i,n),XS(null,t,r,!0,e,n);case 19:return l5(e,t,n);
vendor: 10,087 bytes, line 44
44case 22:return i5(e,t,n)}throw Error(Ke(156,t.tag))};function C5(e,t){return q3(e,t)}function ZJ(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function za(e,t,n,r){return new ZJ(e,t,n,r)}function rI(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XJ(e){if(typeof e=="function")return rI(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bk)return 11;if(e===Bk)return 14}return 2}function Zu(e,t){var n=e.alternate;return n===null?(n=za(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function h0(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")rI(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ah:return Df(n.children,i,o,t);case wk:a=8,i|=8;break;case _S:return e=za(12,n,t,i|2),e.elementType=_S,e.lanes=o,e;case yS:return e=za(13,n,t,i),e.elementType=yS,e.lanes=o,e;case wS:return e=za(19,n,t,i),e.elementType=wS,e.lanes=o,e;case L3:return $B(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k3:a=10;break e;case I3:a=9;break e;case bk:a=11;break e;case Bk:a=14;break e;case Su:a=16,r=null;break e}throw Error(Ke(130,e==null?e:typeof e,""))}return t=za(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Df(e,t,n,r){return e=za(7,e,r,t),e.lanes=n,e}function $B(e,t,n,r){return e=za(22,e,r,t),e.elementType=L3,e.lanes=n,e.stateNode={isHidden:!1},e}function N1(e,t,n){return e=za(6,e,null,t),e.lanes=n,e}function M1(e,t,n){return t=za(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function JJ(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_1(0),this.expirationTimes=_1(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_1(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function iI(e,t,n,r,i,o,a,s,l){return e=new JJ(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=za(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hk(o),e}function eee(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:lh,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function x5(e){if(!e)return ic;e=e._reactInternals;e:{if(td(e)!==e||e.tag!==1)throw Error(Ke(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Mo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Ke(171))}if(e.tag===1){var n=e.type;if(Mo(n))return C$(e,n,t)}return t}function E5(e,t,n,r,i,o,a,s,l){return e=iI(n,r,!0,e,i,o,a,s,l),e.context=x5(null),n=e.current,r=so(),i=qu(n),o=EA(r,i),o.callback=t??null,Gu(n,o,i),e.current.lanes=i,vv(e,i,r),Qo(e,r),e}function jB(e,t,n,r){var i=t.current,o=so(),a=qu(i);return n=x5(n),t.context===null?t.context=n:t.pendingContext=n,t=EA(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Gu(i,t,a),e!==null&&(Is(e,i,a,o),l0(e,i,a)),a}function Gw(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function eU(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function oI(e,t){eU(e,t),(e=e.alternate)&&eU(e,t)}function tee(){return null}var S5=typeof reportError=="function"?reportError:function(e){console.error(e)};function aI(e){this._internalRoot=e}zB.prototype.render=aI.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Ke(409));jB(e,t,null,null)};zB.prototype.unmount=aI.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kf(function(){jB(null,e,null,null)}),t[LA]=null}};function zB(e){this._internalRoot=e}zB.prototype.unstable_scheduleHydration=function(e){if(e){var t=r$();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Iu.length&&t!==0&&t<Iu[n].priority;n++);Iu.splice(n,0,e),n===0&&o$(e)}};function sI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function VB(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tU(){}function nee(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Gw(a);o.call(u)}}var a=E5(t,r,e,0,null,!1,!1,"",tU);return e._reactRootContainer=a,e[LA]=a.current,jm(e.nodeType===8?e.parentNode:e),Kf(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=Gw(l);s.call(u)}}var l=iI(e,0,!1,null,null,!1,!1,"",tU);return e._reactRootContainer=l,e[LA]=l.current,jm(e.nodeType===8?e.parentNode:e),Kf(function(){jB(t,l,n,r)}),l}function KB(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var s=i;i=function(){var l=Gw(a);s.call(l)}}jB(t,a,e,i)}else a=nee(n,t,e,i,r);return Gw(a)}t$=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Lg(t.pendingLanes);n!==0&&(Ek(t,n|1),Qo(t,Hr()),!(Bn&6)&&(Yh=Hr()+500,hc()))}break;case 13:Kf(function(){var r=DA(e,1);if(r!==null){var i=so();Is(r,e,1,i)}}),oI(e,1)}};Sk=function(e){if(e.tag===13){var t=DA(e,134217728);if(t!==null){var n=so();Is(t,e,134217728,n)}oI(e,134217728)}};n$=function(e){if(e.tag===13){var t=qu(e),n=DA(e,t);if(n!==null){var r=so();Is(n,e,t,r)}oI(e,t)}};r$=function(){return Hn};i$=function(e,t){var n=Hn;try{return Hn=e,t()}finally{Hn=n}};kS=function(e,t,n){switch(t){case"input":if(CS(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=PB(r);if(!i)throw Error(Ke(90));R3(r),CS(r,i)}}}break;case"textarea":U3(e,n);break;case"select":t=n.value,t!=null&&Eh(e,!!n.multiple,t,!1)}};z3=eI;V3=Kf;var ree={usingClientEntryPoint:!1,Events:[yv,dh,PB,$3,j3,eI]},lg={findFiberByHostInstance:Ef,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},iee={bundleType:lg.bundleType,version:lg.version,rendererPackageName:lg.rendererPackageName,rendererConfig:lg.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:NA.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=G3(e),e===null?null:e.stateNode},findFiberByHostInstance:lg.findFiberByHostInstance||tee,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var G_=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!G_.isDisabled&&G_.supportsFiber)try{IB=G_.inject(iee),_l=G_}catch{}}va.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ree;va.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!sI(t))throw Error(Ke(200));return eee(e,t,null,n)};va.createRoot=function(e,t){if(!sI(e))throw Error(Ke(299));var n=!1,r="",i=S5;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=iI(e,1,!1,null,null,n,!1,r,i),e[LA]=t.current,jm(e.nodeType===8?e.parentNode:e),new aI(t)};va.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(Ke(188)):(e=Object.keys(e).join(","),Error(Ke(268,e)));return e=G3(t),e=e===null?null:e.stateNode,e};va.flushSync=function(e){return Kf(e)};va.hydrate=function(e,t,n){if(!VB(t))throw Error(Ke(200));return KB(null,e,t,!0,n)};va.hydrateRoot=function(e,t,n){if(!sI(e))throw Error(Ke(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=S5;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=E5(t,null,e,1,n??null,i,!1,o,a),e[LA]=t.current,jm(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new zB(t)};va.render=function(e,t,n){if(!VB(t))throw Error(Ke(200));return KB(null,e,t,!1,n)};va.unmountComponentAtNode=function(e){if(!VB(e))throw Error(Ke(40));return e._reactRootContainer?(Kf(function(){KB(null,null,e,!1,function(){e._reactRootContainer=null,e[LA]=null})}),!0):!1};va.unstable_batchedUpdates=eI;va.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!VB(n))throw Error(Ke(200));if(e==null||e._reactInternals===void 0)throw Error(Ke(38));return KB(e,t,n,!1,r)};va.version="18.2.0-next-9e3b772b8-20220608";function F5(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(F5)}catch(e){console.error(e)}}
44F5(),E3.exports=va;var pp=E3.exports;const oee=uc(pp);var nU=pp;mS.createRoot=nU.createRoot,mS.hydrateRoot=nU.hydrateRoot;const aee="modulepreload",see=function(e){return"/"+e},rU={},lee=function(t,n,r){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=see(o),o in rU)return;rU[o]=!0;const a=o.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===o&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":aee,a||(u.as="script",u.crossOrigin=""),u.href=o,document.head.appendChild(u),a)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o})};/** 45 * @remix-run/router v1.3.2 46 * 47 * Copyright (c) Remix Software Inc. 48 * 49 * This source code is licensed under the MIT license found in the 50 * LICENSE.md file in the root directory of this source tree. 51 * 52 * @license MIT 53 */function Xm(){return Xm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xm.apply(this,arguments)}var Uu;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Uu||(Uu={}));const iU="popstate";function Aee(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return uF("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Yw(i)}return cee(t,n,null,e)}function Zr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function uee(){return Math.random().toString(36).substr(2,8)}function oU(e,t){return{usr:e.state,key:e.key,idx:t}}function uF(e,t,n,r){return n===void 0&&(n=null),Xm({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?gp(t):t,{state:n,key:t&&t.key||r||uee()})}function Yw(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function gp(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function cee(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=Uu.Pop,l=null,u=f();u==null&&(u=0,a.replaceState(Xm({},a.state,{idx:u}),""));function f(){return(a.state||{idx:null}).idx}function d(){s=Uu.Pop;let x=f(),C=x==null?null:x-u;u=x,l&&l({action:s,location:y.location,delta:C})}function g(x,C){s=Uu.Push;let b=uF(y.location,x,C);n&&n(b,x),u=f()+1;let E=oU(b,u),T=y.createHref(b);try{a.pushState(E,"",T)}catch{i.location.assign(T)}o&&l&&l({action:s,location:y.location,delta:1})}function m(x,C){s=Uu.Replace;let b=uF(y.location,x,C);n&&n(b,x),u=f();let E=oU(b,u),T=y.createHref(b);a.replaceState(E,"",T),o&&l&&l({action:s,location:y.location,delta:0})}function v(x){let C=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:Yw(x);return Zr(C,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,C)}let y={get action(){return s},get location(){return e(i,a)}
vendor: 2,577 bytes, line 53
53,listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(iU,d),l=x,()=>{i.removeEventListener(iU,d),l=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let C=v(x);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:g,replace:m,go(x){return a.go(x)}};return y}var aU;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(aU||(aU={}));function fee(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?gp(t):t,i=k5(r.pathname||"/",n);if(i==null)return null;let o=T5(e);dee(o);let a=null;for(let s=0;a==null&&s<o.length;++s)a=bee(o[s],xee(i));return a}function T5(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,s)=>{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(Zr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Xu([r,l.relativePath]),f=n.concat(l);o.children&&o.children.length>0&&(Zr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),T5(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:yee(u,o.index),routesMeta:f})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let l of O5(o.path))i(o,a,l)}),t}function O5(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=O5(r.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function dee(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:wee(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const hee=/^:\w+$/,pee=3,gee=2,mee=1,vee=10,_ee=-2,sU=e=>e==="*";function yee(e,t){let n=e.split("/"),r=n.length;return n.some(sU)&&(r+=_ee),t&&(r+=gee),n.filter(i=>!sU(i)).reduce((i,o)=>i+(hee.test(o)?pee:o===""?mee:vee),r)}function wee(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function bee(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;a<n.length;++a){let s=n[a],l=a===n.length-1,u=i==="/"?t:t.slice(i.length)||"/",f=Bee({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},u);if(!f)return null;
vendor: 7,537 bytes, lines 53-62
53Object.assign(r,f.params);let d=s.route;o.push({params:r,pathname:Xu([i,f.pathname]),pathnameBase:Tee(Xu([i,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(i=Xu([i,f.pathnameBase]))}return o}function Bee(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Cee(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((u,f,d)=>{if(f==="*"){let g=s[d]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}return u[f]=Eee(s[d]||"",f),u},{}),pathname:o,pathnameBase:a,pattern:e}}function Cee(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),lI(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(a,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function xee(e){try{return decodeURI(e)}catch(t){return lI(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Eee(e,t){try{return decodeURIComponent(e)}catch(n){return lI(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function k5(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function lI(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function See(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?gp(e):e;return{pathname:n?n.startsWith("/")?n:Fee(n,t):t,search:Oee(r),hash:kee(i)}}function Fee(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Q1(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function I5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function L5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=gp(e):(i=Xm({},e),Zr(!i.pathname||!i.pathname.includes("?"),Q1("?","pathname","search",i)),Zr(!i.pathname||!i.pathname.includes("#"),Q1("#","pathname","hash",i)),Zr(!i.search||!i.search.includes("#"),Q1("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(r||a==null)s=n;else{let d=t.length-1;if(a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),d-=1;i.pathname=g.join("/")}s=d>=0?t[d]:"/"}let l=See(i,s),u=a&&a!=="/"&&a.endsWith("/"),f=(o||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||f)&&(l.pathname+="/"),l}const Xu=e=>e.join("/").replace(/\/\/+/g,"/"),Tee=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Oee=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,kee=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Iee(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const D5=["post","put","patch","delete"];new Set(D5);const Lee=["get",...D5];new Set(Lee);/** 54 * React Router v6.8.1 55 * 56 * Copyright (c) Remix Software Inc. 57 * 58 * This source code is licensed under the MIT license found in the 59 * LICENSE.md file in the root directory of this source tree. 60 * 61 * @license MIT 62 */function cF(){return cF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cF.apply(this,arguments)}function Dee(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const Ree=typeof Object.is=="function"?Object.is:Dee,{useState:Pee,useEffect:Uee,useLayoutEffect:Nee,useDebugValue:Mee}=dS;function Qee(e,t,n){const r=t(),[{inst:i},o]=Pee({inst:{value:r,getSnapshot:t}});return Nee(()=>{i.value=r,i.getSnapshot=t,H1(i)&&o({inst:i})},[e,r,t]),Uee(()=>(H1(i)&&o({inst:i}),e(()=>{H1(i)&&o({inst:i})})),[e]),Mee(r),r}function H1(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!Ree(n,r)}catch{return!0}}function Hee(e,t,n){return t()}const $ee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",jee=!$ee,zee=jee?Hee:Qee;"useSyncExternalStore"in dS&&(e=>e.useSyncExternalStore)(dS);const R5=k.createContext(null),AI=k.createContext(null),WB=k.createContext(null),GB=k.createContext(null),pc=k.createContext({outlet:null,matches:[]}),P5=k.createContext(null);function Vee(e,t){let{relative:n}=t===void 0?{}:t;mp()||Zr(!1);let{basename:r,navigator:i}=k.useContext(WB),{hash:o,pathname:a,search:s}=U5(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:Xu([r,a])),i.createHref({pathname:l,search:s,hash:o})}function mp(){return k.useContext(GB)!=null}function YB(){return mp()||Zr(!1),k.useContext(GB).location}function uI(){mp()||Zr(!1);let{basename:e,navigator:t}=k.useContext(WB),{matches:n}=k.useContext(pc),{pathname:r}=YB(),i=JSON.stringify(I5(n).map(s=>s.pathnameBase)),o=k.useRef(!1);return k.useEffect(()=>{o.current=!0}),k.useCallback(function(s,l){if(l===void 0&&(l={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let u=L5(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:Xu([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,i,r])}const Kee=k.createContext(null);function Wee(e){let t=k.useContext(pc).outlet;return t&&k.createElement(Kee.Provider,{value:e},t)}function Gee(){let{matches:e}=k.useContext(pc),t=e[e.length-1];return t?t.params:{}}function U5(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=k.useContext(pc),{pathname:i}=YB(),o=JSON.stringify(I5(r).map(a=>a.pathnameBase));return k.useMemo(()=>L5(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function Yee(e,t){mp()||Zr(!1);let{navigator:n}=k.useContext(WB),r=k.useContext(AI),{matches:i}=k.useContext(pc),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=YB(),u;if(t){var f;let y=typeof t=="string"?gp(t):t;s==="/"||(f=y.pathname)!=null&&f.startsWith(s)||Zr(!1),u=y}else u=l;let d=u.pathname||"/",g=s==="/"?d:d.slice(s.length)||"/",m=fee(e,{pathname:g}),v=Jee(m&&m.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:Xu([s,n.encodeLocation?n.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Xu([s,n.encodeLocation?n.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),i,r||void 0);return t&&v?k.createElement(GB.Provider,{value:{location:cF({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:Uu.Pop}},v):v}function qee(){let e=rte(),t=Iee(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application
62Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:i},n):null,o)}class Zee extends k.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?k.createElement(pc.Provider,{value:this.props.routeContext},k.createElement(P5.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Xee(e){let{routeContext:t,match:n,children:r}=e,i=k.useContext(R5);return i&&i.static&&i.staticContext&&n.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(pc.Provider,{value:t},r)}function Jee(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(a=>a.route.id&&(i==null?void 0:i[a.route.id]));o>=0||Zr(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,a,s)=>{let l=a.route.id?i==null?void 0:i[a.route.id]:null,u=n?a.route.errorElement||k.createElement(qee,null):null,f=t.concat(r.slice(0,s+1)),d=()=>k.createElement(Xee,{match:a,routeContext:{outlet:o,matches:f}},l?u:a.route.element!==void 0?a.route.element:o);return n&&(a.route.errorElement||s===0)?k.createElement(Zee,{location:n.location,component:u,error:l,children:d(),routeContext:{outlet:null,matches:f}}):d()},null)}var lU;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"})(lU||(lU={}));var qw;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(qw||(qw={}));function ete(e){let t=k.useContext(AI);return t||Zr(!1),t}function tte(e){let t=k.useContext(pc);return t||Zr(!1),t}function nte(e){let t=tte(),n=t.matches[t.matches.length-1];return n.route.id||Zr(!1),n.route.id}function rte(){var e;let t=k.useContext(P5),n=ete(qw.UseRouteError),r=nte(qw.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function ite(e){let{to:t,replace:n,state:r,relative:i}=e;mp()||Zr(!1);let o=k.useContext(AI),a=uI();return k.useEffect(()=>{o&&o.navigation.state!=="idle"||a(t,{replace:n,state:r,relative:i})}),null}function ote(e){return Wee(e.context)}function Rg(e){Zr(!1)}function ate(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Uu.Pop,navigator:o,static:a=!1}=e;mp()&&Zr(!1);let s=t.replace(/^\/*/,"/"),l=k.useMemo(()=>({basename:s,navigator:o,static:a}),[s,o,a]);typeof r=="string"&&(r=gp(r));let{pathname:u="/",search:f="",hash:d="",state:g=null,key:m="default"}=r,v=k.useMemo(()=>{let y=k5(u,s);return y==null?null:{pathname:y,search:f,hash:d,state:g,key:m}},[s,u,f,d,g,m]);return v==null?null:k.createElement(WB.Provider,{value:l},k.createElement(GB.Provider,{children:n,value:{location:v,navigationType:i}}))}function ste(e){let{children:t,location:n}=e,r=k.useContext(R5),i=r&&!t?r.router.routes:fF(t);return Yee(i,n)}var AU;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(AU||(AU={}));new Promise(()=>{});function fF(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,i)=>{if(!k.isValidElement(r))return;if(r.type===k.Fragment){n.push.apply(n,fF(r.props.children,t));return}r.type!==Rg&&Zr(!1),!r.props.index||!r.props.children||Zr(!1);let o=[...t,i],a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(a.children=fF(r.props.children,o)),n.push(a)}),n}/** 63 * React Router DOM v6.8.1 64 * 65 * Copyright (c) Remix Software Inc. 66 * 67 * This source code is licensed under the MIT license found in the 68 * LICENSE.md file in the root directory of this source tree. 69 * 70 * @license MIT 71 */function dF(){return dF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dF.apply(this,arguments)}function lte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ate(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}
71function ute(e,t){return e.button===0&&(!t||t==="_self")&&!Ate(e)}const cte=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function fte(e){let{basename:t,children:n,window:r}=e,i=k.useRef();i.current==null&&(i.current=Aee({window:r,v5Compat:!0}));let o=i.current,[a,s]=k.useState({action:o.action,location:o.location});return k.useLayoutEffect(()=>o.listen(s),[o]),k.createElement(ate,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o})}const dte=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Wf=k.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:f}=t,d=lte(t,cte),g,m=!1;if(dte&&typeof u=="string"&&/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(u)){g=u;let C=new URL(window.location.href),b=u.startsWith("//")?new URL(C.protocol+u):new URL(u);b.origin===C.origin?u=b.pathname+b.search+b.hash:m=!0}let v=Vee(u,{relative:i}),y=hte(u,{replace:a,state:s,target:l,preventScrollReset:f,relative:i});function x(C){r&&r(C),C.defaultPrevented||y(C)}return k.createElement("a",dF({},d,{href:g||v,onClick:m||o?r:x,ref:n,target:l}))});var uU;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(uU||(uU={}));var cU;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cU||(cU={}));function hte(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=uI(),l=YB(),u=U5(e,{relative:a});return k.useCallback(f=>{if(ute(f,n)){f.preventDefault();let d=r!==void 0?r:Yw(l)===Yw(u);s(e,{replace:d,state:i,preventScrollReset:o,relative:a})}},[l,s,u,r,i,n,e,o,a])}const $1={root:"/",login:"/login",dashboard:"/dashboard",slideshow:"/dashboard/slideshow/:urlIdentifier"};var Zw={exports:{}};/** 72 * @license 73 * Lodash <https://lodash.com/> 74 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 75 * Released under MIT license <https://lodash.com/license> 76 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 77 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 78 */Zw.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",d=1,g=2,m=4,v=1,y=2,x=1,C=2,b=4,E=8,T=16,D=32,I=64,U=128,H=256,V=512,j=30,z="...",q=800,Z=16,ae=1,G=2,ee=3,re=1/0,X=9007199254740991,ge=17976931348623157e292,N=0/0,pe=4294967295,W=pe-1,P=pe>>>1,te=[["ary",U],["bind",x],["bindKey",C],["curry",E],["curryRight",T],["flip",V],["partial",D],["partialRight",I],["rearg",H]],J="[object Arguments]",oe="[object Array]",_e="[object AsyncFunction]",ce="[object Boolean]",fe="[object Date]",we="[object DOMException]",Ae="[object Error]",Pe="[object Function]",ke="[object GeneratorFunction]",$e="[object Map]",Xe="[object Number]",gt="[object Null]",mt="[object Object]",At="[object Promise]",on="[object Proxy]",je="[object RegExp]",Rt="[object Set]",Fn="[object String]",Tn="[object Symbol]",In="[object Undefined]",Kn="[object WeakMap]",Lr="[object WeakSet]",Ee="[object ArrayBuffer]",Qe="[object DataView]",rt="[object Float32Array]",bt="[object Float64Array]",jt="[object Int8Array]",Un="[object Int16Array]",Xn="[object Int32Array]",Cn="[object Uint8Array]",me="[object Uint8ClampedArray]",he="[object Uint16Array]",Fe="[object Uint32Array]",Ce=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,Ie=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,at=/[&<>"']/g,dt=RegExp(st.source),it=RegExp(at.source),tn=/<%-([\s\S]+?)%>/g,Jn=/<%([\s\S]+?)%>/g,Ct=/<%=([\s\S]+?)%>/g,ft=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kt=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ue=/[\\^$.*+?()[\]{}|]/g,be=RegExp(Ue.source),Je=/^\s+/,Ze=/\s/,ze=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Tt=/,? & /,an=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ki=/[()=,{}\[\]\/\s]/,ki=/\\(\\)?/g,os=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,uo=/\w*$/,ld=/^[-+]0x[0-9a-f]+$/i,Ec=/^0b[01]+$/i,Tp=/^\[object .+?Constructor\]$/,Op=/^0o[0-7]+$/i,kp=/^(?:0|[1-9]\d*)$/,Ad=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 2,238 bytes, line 78
787f]/g,jA=/($^)/,zA=/['\n\r\u2028\u2029\\]/g,Ll="\\ud800-\\udfff",VA="\\u0300-\\u036f",Ip="\\ufe20-\\ufe2f",Lp="\\u20d0-\\u20ff",ud=VA+Ip+Lp,KA="\\u2700-\\u27bf",Ms="a-z\\xdf-\\xf6\\xf8-\\xff",Sc="\\xac\\xb1\\xd7\\xf7",Fc="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Dl="\\u2000-\\u206f",dn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",jn="A-Z\\xc0-\\xd6\\xd8-\\xde",Rl="\\ufe0e\\ufe0f",as=Sc+Fc+Dl+dn,ba="['â]",Tc="["+Ll+"]",Ut="["+as+"]",wn="["+ud+"]",WA="\\d+",Oc="["+KA+"]",Dr="["+Ms+"]",cd="[^"+Ll+as+WA+KA+Ms+jn+"]",Qs="\\ud83c[\\udffb-\\udfff]",ss="(?:"+wn+"|"+Qs+")",ar="[^"+Ll+"]",zo="(?:\\ud83c[\\udde6-\\uddff]){2}",ls="[\\ud800-\\udbff][\\udc00-\\udfff]",Ii="["+jn+"]",Vo="\\u200d",Ko="(?:"+Dr+"|"+cd+")",kc="(?:"+Ii+"|"+cd+")",GA="(?:"+ba+"(?:d|ll|m|re|s|t|ve))?",Pl="(?:"+ba+"(?:D|LL|M|RE|S|T|VE))?",YA=ss+"?",qA="["+Rl+"]?",ZA="(?:"+Vo+"(?:"+[ar,zo,ls].join("|")+")"+qA+YA+")*",XA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ic="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fd=qA+YA+ZA,xt="(?:"+[Oc,zo,ls].join("|")+")"+fd,Wi="(?:"+[ar+wn+"?",wn,zo,ls,Tc].join("|")+")",Nn=RegExp(ba,"g"),Ba=RegExp(wn,"g"),As=RegExp(Qs+"(?="+Qs+")|"+Wi+fd,"g"),Lc=RegExp([Ii+"?"+Dr+"+"+GA+"(?="+[Ut,Ii,"$"].join("|")+")",kc+"+"+Pl+"(?="+[Ut,Ii+Ko,"$"].join("|")+")",Ii+"?"+Ko+"+"+GA,Ii+"+"+Pl,Ic,XA,WA,xt].join("|"),"g"),JA=RegExp("["+Vo+Ll+ud+Rl+"]"),us=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ul=-1,Nt={};Nt[rt]=Nt[bt]=Nt[jt]=Nt[Un]=Nt[Xn]=Nt[Cn]=Nt[me]=Nt[he]=Nt[Fe]=!0,Nt[J]=Nt[oe]=Nt[Ee]=Nt[ce]=Nt[Qe]=Nt[fe]=Nt[Ae]=Nt[Pe]=Nt[$e]=Nt[Xe]=Nt[mt]=Nt[je]=Nt[Rt]=Nt[Fn]=Nt[Kn]=!1;var hn={};hn[J]=hn[oe]=hn[Ee]=hn[Qe]=hn[ce]=hn[fe]=hn[rt]=hn[bt]=hn[jt]=hn[Un]=hn[Xn]=hn[$e]=hn[Xe]=hn[mt]=hn[je]=hn[Rt]=hn[Fn]=hn[Tn]=hn[Cn]=hn[me]=hn[he]=hn[Fe]=!0,hn[Ae]=
vendor: 11,814 bytes, line 78
78hn[Pe]=hn[Kn]=!1;var dd={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"},hd={"&":"&","<":"<",">":">",'"':""","'":"'"},pd={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Rc=parseFloat,Hs=parseInt,Pc=typeof ro=="object"&&ro&&ro.Object===Object&&ro,nn=typeof self=="object"&&self&&self.Object===Object&&self,Rr=Pc||nn||Function("return this")(),di=t&&!t.nodeType&&t,Gi=di&&!0&&e&&!e.nodeType&&e,Wo=Gi&&Gi.exports===di,Uc=Wo&&Pc.process,Pr=function(){try{var de=Gi&&Gi.require&&Gi.require("util").types;return de||Uc&&Uc.binding&&Uc.binding("util")}catch{}}(),gd=Pr&&Pr.isArrayBuffer,Nc=Pr&&Pr.isDate,md=Pr&&Pr.isMap,vd=Pr&&Pr.isRegExp,tu=Pr&&Pr.isSet,_d=Pr&&Pr.isTypedArray;function er(de,Te,xe){switch(xe.length){case 0:return de.call(Te);case 1:return de.call(Te,xe[0]);case 2:return de.call(Te,xe[0],xe[1]);case 3:return de.call(Te,xe[0],xe[1],xe[2])}return de.apply(Te,xe)}function Dp(de,Te,xe,nt){for(var Ot=-1,sn=de==null?0:de.length;++Ot<sn;){var fr=de[Ot];Te(nt,fr,xe(fr),de)}return nt}function hi(de,Te){for(var xe=-1,nt=de==null?0:de.length;++xe<nt&&Te(de[xe],xe,de)!==!1;);return de}function Ca(de,Te){for(var xe=de==null?0:de.length;xe--&&Te(de[xe],xe,de)!==!1;);return de}function Mc(de,Te){for(var xe=-1,nt=de==null?0:de.length;++xe<nt;)if(!Te(de[xe],xe,de))return!1;return!0}function Go(de,Te){for(var xe=-1,nt=de==null?0:de.length,Ot=0,sn=[];++xe<nt;){var fr=de[xe];Te(fr,xe,de)&&(sn[Ot++]=fr)}return sn}function $s(de,Te){var xe=de==null?0:de.length;return!!xe&&js(de,Te,0)>-1}function pi(de,Te,xe){for(var nt=-1,Ot=de==null?0:de.length;++nt<Ot;)if(xe(Te,de[nt]))return!0;return!1}function Ln(de,Te){for(var xe=-1,nt=de==null?0:de.length,Ot=Array(nt);++xe<nt;)Ot[xe]=Te(de[xe],xe,de);return Ot}function Yo(de,Te){for(var xe=-1,nt=Te.length,Ot=de.length;++xe<nt;)de[Ot+xe]=Te[xe];return de}function nu(de,Te,xe,nt){var Ot=-1,sn=de==null?0:de.length;for(nt&&sn&&(xe=de[++Ot]);++Ot<sn;)xe=Te(xe,de[Ot],Ot,de);return xe}function yd(de,Te,xe,nt){var Ot=de==null?0:de.length;for(nt&&Ot&&(xe=de[--Ot]);Ot--;)xe=Te(xe,de[Ot],Ot,de);return xe}function Nl(de,Te){for(var xe=-1,nt=de==null?0:de.length;++xe<nt;)if(Te(de[xe],xe,de))return!0;return!1}var Rp=Ql("length");function Qc(de){return de.split("")}function wd(de){return de.match(an)||[]}function ru(de,Te,xe){var nt;return xe(de,function(Ot,sn,fr){if(Te(Ot,sn,fr))return nt=sn,!1}),nt}function gi(de,Te,xe,nt){for(var Ot=de.length,sn=xe+(nt?1:-1);nt?sn--:++sn<Ot;)if(Te(de[sn],sn,de))return sn;return-1}function js(de,Te,xe){return Te===Te?cs(de,Te,xe):gi(de,mi,xe)}function Ml(de,Te,xe,nt){for(var Ot=xe-1,sn=de.length;++Ot<sn;)if(nt(de[Ot],Te))return Ot;return-1}function mi(de){return de!==de}function Hc(de,Te){var xe=de==null?0:de.length;return xe?au(de,Te)/xe:N}function Ql(de){return function(Te){return Te==null?n:Te[de]}}function $c(de){return function(Te){return de==null?n:de[Te]}}function iu(de,Te,xe,nt,Ot){return Ot(de,function(sn,fr,xn){xe=nt?(nt=!1,sn):Te(xe,sn,fr,xn)}),xe}function ou(de,Te){var xe=de.length;for(de.sort(Te);xe--;)de[xe]=de[xe].value;return de}function au(de,Te){for(var xe,nt=-1,Ot=de.length;++nt<Ot;){var sn=Te(de[nt]);sn!==n&&(xe=xe===n?sn:xe+sn)}return xe}function su(de,Te){for(var xe=-1,nt=Array(de);++xe<de;)nt[xe]=Te(xe);return nt}function Hl(de,Te){return Ln(Te,function(xe){return[xe,de[xe]]})}function jc(de){return de&&de.slice(0,Wc(de)+1).replace(Je,"")}function Mn(de){return function(Te){return de(Te)}}function xa(de,Te){return Ln(Te,function(xe){return de[xe]})}function lu(de,Te){return de.has(Te)}function sr(de,Te){for(var xe=-1,nt=de.length;++xe<nt&&js(Te,de[xe],0)>-1;);return xe}function bd(de,Te){for(var xe=de.length;xe--&&js(Te,de[xe],0)>-1;);return xe}function zs(de,Te){for(var xe=de.length,nt=0;xe--;)de[xe]===Te&&++nt;return nt}var Pp=$c(dd),$l=$c(hd);function zc(de){return"\\"+Dc[de]}function jl(de,Te){return de==null?n:de[Te]}function Vs(de){return JA.test(de)}function Ea(de){return us.test(de)}function Au(de){for(var Te,xe=[];!(Te=de.next()).done;)xe.push(Te.value);return xe}function Vc(de){var Te=-1,xe=Array(de.size);return de.forEach(function(nt,Ot){xe[++Te]=[Ot,nt]}),xe}function uu(de,Te){return function(xe){return de(Te(xe))}}function Sa(de,Te){for(var xe=-1,nt=de.length,Ot=0,sn=[];++xe<nt;){var fr=de[xe];(fr===Te||fr===f)&&(de[xe]=f,sn[Ot++]=xe)}return sn}function vi(de){var Te=-1,xe=Array(de.size);return de.forEach(function(nt){xe[++Te]=nt}),xe}function Up(de){var Te=-1,xe=Array(de.size);return de.forEach(function(nt){xe[++Te]=[nt,nt]}),xe}function cs(de,Te,xe){for(var nt=xe-1,Ot=de.length;++nt<Ot;)if(de[nt]===Te)return nt;return-1}function Kc(de,Te,xe){for(var nt=xe+1;nt--;)if(de[nt]===Te)return nt;return nt}function oi(de){return Vs(de)?cu(de):Rp(de)}function ai(de){return Vs(de)?Yc(de):Qc(de)}function Wc(de){for(var Te=de.length;Te--&&Ze.test(de.charAt(Te)););return Te}var Gc=$c(pd);function cu(de){for(var Te=As.lastIndex=0;As.test(de);)++Te;return Te}function Yc(de){return de.match(As)||[]}function co(de){return de.match(Lc)||[]}var Ks=function de(Te){Te=Te==null?Rr:Fa.defaults(Rr.Object(),Te,Fa.pick(Rr,eu));var xe=Te.Array,nt=Te.Date,Ot=Te.Error,sn=Te.Function,fr=Te.Math,xn=Te.Object,fu=Te.RegExp,fo=Te.String,Jr=Te.TypeError,du=xe.prototype,zl=sn.prototype,fs=xn.prototype,Vl=Te["__core-js_shared__"],hu=zl.toString,ln=fs.hasOwnProperty,Np=0,ds=function(){var c=/[^.]+$/.exec(Vl&&Vl.keys&&Vl.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Kl=fs.toString,ho=hu.call(xn),n_=Rr._,po=fu("^"+hu.call(ln).replace(Ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wl=Wo?Te.Buffer:n,qo=Te.Symbol,Ta=Te.Uint8Array,Bd=Wl?Wl.allocUnsafe:n,hs=uu(xn.getPrototypeOf,xn),Ws=xn.create,qc=fs.propertyIsEnumerable,Gl=du.splice,Cd=qo?qo.isConcatSpreadable:n,Gs=qo?qo.iterator:n,Oa=qo?qo.toStringTag:n,ps=function(){try{var c=ef(xn,"defineProperty");return c({},"",{}),c}catch{}}(),xd=Te.clearTimeout!==Rr.clearTimeout&&Te.clearTimeout,Yl=nt&&nt.now!==Rr.Date.now&&nt.now,Mp=Te.setTimeout!==Rr.setTimeout&&Te.setTimeout,Ys=fr.ceil,qs=fr.floor,gs=xn.getOwnPropertySymbols,A=Wl?Wl.isBuffer:n,h=Te.isFinite,_=du.join,F=uu(xn.keys,xn),R=fr.max,$=fr.min,le=nt.now,ye=Te.parseInt,Be=fr.random,Ne=du.reverse,et=ef(Te,"DataView"),yt=ef(Te,"Map"),Qt=ef(Te,"Promise"),dr=ef(Te,"Set"),tr=ef(Te,"WeakMap"),Kr=ef(xn,"create"),Wn=tr&&new tr,Yi={},Qp=tf(et),Hp=tf(yt),$p=tf(Qt),Ed=tf(dr),pu=tf(tr),ql=qo?qo.prototype:n,Gn=ql?ql.valueOf:n,ms=ql?ql.toString:n;function K(c){if(xr(c)&&!zt(c)&&!(c instanceof Yt)){if(c instanceof si)return c;if(ln.call(c,"__wrapped__"))return oR(c)}return new si(c)}var Zs=function(){function c(){}return function(p){if(!_r(p))return{};if(Ws)return Ws(p);c.prototype=p;var B=new c;return c.prototype=n,B}}();function Zl(){}function si(c,p){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=n}K.templateSettings={escape:tn,evaluate:Jn,interpolate:Ct,variable:"",imports:{_:K}},K.prototype=Zl.prototype,K.prototype.constructor=K,si.prototype=Zs(Zl.prototype),si.prototype.constructor=si;function Yt(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=pe,this.__views__=[]}function Xs(){var c=new Yt(this.__wrapped__);return c.__actions__=_o(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=_o(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=_o(this.__views__),c}function fx(){if(this.__filtered__){var c=new Yt(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function jp(){var c=this.__wrapped__.value(),p=this.__dir__,B=zt(c),O=p<0,M=B?c.length:0,Y=pK(0,M,this.__views__),ie=Y.start,ue=Y.end,ve=ue-ie,Le=O?ue:ie-1,De=this.__iteratees__,He=De.length,tt=0,_t=$(ve,this.__takeCount__);if(!B||!O&&M==ve&&_t==ve)return FD(c,this.__actions__);var St=[];e:for(;ve--&&tt<_t;){Le+=p;for(var Zt=-1,Ft=c[Le];++Zt<He;){var An=De[Zt],mn=An.iteratee,na=An.type,Ji=mn(Ft);if(na==G)Ft=Ji;else if(!Ji){if(na==ae)continue e;break e}}St[tt++]=Ft}return St}Yt.prototype=Zs(Zl.prototype),Yt.prototype.constructor=Yt;function Xl(c){var p=-1,B=c==null?0:c.length;for(this.clear();++p<B;){var O=c[p];this.set(O[0],O[1])}}function r_(){this.__data__=Kr?Kr(null):{},this.size=0}function fD(c){var p=this.has(c)&&delete this.__data__[c];return this.size-=p?1:0,p}function dD(c){var p=this.__data__;if(Kr){var B=p[c];return B===l?n:B}return ln.call(p,c)?p[c]:n}function dx(c){var p=this.__data__;return Kr?p[c]!==n:ln.call(p,c)}function hx(c,p){var B=this.__data__;return this.size+=this.has(c)?0:1,B[c]=Kr&&p===n?l:p,this}Xl.prototype.clear=r_,Xl.prototype.delete=fD,Xl.prototype.get=dD,Xl.prototype.has=dx,Xl.prototype.set=hx;function vs(c){var p=-1,B=c==null?0:c.length;for(this.clear();++p<B;){var O=c[p];this.set(O[0],O[1])}}function px(){this.__data__=[],this.size=0}function gx(c){var p=this.__data__,B=Fd(p,c);if(B<0)return!1;var O=p.length-1;return B==O?p.pop():Gl.call(p,B,1),--this.size,!0}function Zc(c){var p=this.__data__,B=Fd(p,c);return B<0?n:p[B][1]}function mx(c){return Fd(this.__data__,c)>-1}function hD(c,p){var B=this.__data__,O=Fd(B,c);return O<0?(++this.size,B.push([c,p])):B[O][1]=p,this}vs.prototype.clear=px,vs.prototype.delete=gx,vs.prototype.get=Zc,vs.prototype.has=mx,vs.prototype.set=hD;function _i(c){var p=-1,B=c==null?0:c.length;for(this.clear();++p<B;){var O=c[p];this.set(O[0],O[1])}}function vx(){this.size=0,this.__data__={hash:new Xl,map:new(yt||vs),string:new Xl}}function _x(c){var p=w_(this,c).delete(c);return this.size-=p?1:0,p}function yx(c){return w_(this,c).get(c)}function wx(c){return w_(this,c).has(c)}function bx(c,p){var B=w_(this,c),O=B.size;return B.set(c,p),this.size+=B.size==O?0:1,this}_i.prototype.clear=vx,_i.prototype.delete=_x,_i.prototype.get=yx,_i.prototype.has=wx,_i.prototype.set=bx;function Jl(c){var p=-1,B=c==null?0:c.length;for(this.__data__=new _i;++p<B;)this.add(c[p])}function Bx(c){return this.__data__.set(c,l),this}function Cx(c){return this.__data__.has(c)}Jl.prototype.add=Jl.prototype.push=Bx,Jl.prototype.has=Cx;function go(c){var p=this.__data__=new vs(c);this.size=p.size}function xx(){this.__data__=new vs,this.size=0}function i_(c){var p=this.__data__,B=p.delete(c);return this.size=p.size,B}function zp(c){return this.__data__.get(c)}function o_(c){return this.__data__.has(c)}function eA(c,p){var B=this.__data__;if(B instanceof vs){var O=B.__data__;
vendor: 5,010 bytes, line 78
78if(!yt||O.length<i-1)return O.push([c,p]),this.size=++B.size,this;B=this.__data__=new _i(O)}return B.set(c,p),this.size=B.size,this}go.prototype.clear=xx,go.prototype.delete=i_,go.prototype.get=zp,go.prototype.has=o_,go.prototype.set=eA;function Vp(c,p){var B=zt(c),O=!B&&nf(c),M=!B&&!O&&_u(c),Y=!B&&!O&&!M&&Pd(c),ie=B||O||M||Y,ue=ie?su(c.length,fo):[],ve=ue.length;for(var Le in c)(p||ln.call(c,Le))&&!(ie&&(Le=="length"||M&&(Le=="offset"||Le=="parent")||Y&&(Le=="buffer"||Le=="byteLength"||Le=="byteOffset")||oA(Le,ve)))&&ue.push(Le);return ue}function Sd(c){var p=c.length;return p?c[Dx(0,p-1)]:n}function Ex(c,p){return b_(_o(c),qi(p,0,c.length))}function a_(c){return b_(_o(c))}function Kp(c,p,B){(B!==n&&!ys(c[p],B)||B===n&&!(p in c))&&Zo(c,p,B)}function tA(c,p,B){var O=c[p];(!(ln.call(c,p)&&ys(O,B))||B===n&&!(p in c))&&Zo(c,p,B)}function Fd(c,p){for(var B=c.length;B--;)if(ys(c[B][0],p))return B;return-1}function Sx(c,p,B,O){return Js(c,function(M,Y,ie){p(O,M,B(M),ie)}),O}function s_(c,p){return c&&el(p,li(p),c)}function l_(c,p){return c&&el(p,wo(p),c)}function Zo(c,p,B){p=="__proto__"&&ps?ps(c,p,{configurable:!0,enumerable:!0,value:B,writable:!0}):c[p]=B}function Wp(c,p){for(var B=-1,O=p.length,M=xe(O),Y=c==null;++B<O;)M[B]=Y?n:o1(c,p[B]);return M}function qi(c,p,B){return c===c&&(B!==n&&(c=c<=B?c:B),p!==n&&(c=c>=p?c:p)),c}function mo(c,p,B,O,M,Y){var ie,ue=p&d,ve=p&g,Le=p&m;if(B&&(ie=M?B(c,O,M,Y):B(c)),ie!==n)return ie;if(!_r(c))return c;var De=zt(c);if(De){if(ie=mK(c),!ue)return _o(c,ie)}else{var He=Di(c),tt=He==Pe||He==ke;if(_u(c))return kD(c,ue);if(He==mt||He==J||tt&&!M){if(ie=ve||tt?{}:qD(c),!ue)return ve?aK(c,l_(ie,c)):oK(c,s_(ie,c))}else{if(!hn[He])return M?c:{};ie=vK(c,He,ue)}}Y||(Y=new go);var _t=Y.get(c);if(_t)return _t;Y.set(c,ie),xR(c)?c.forEach(function(Ft){ie.add(mo(Ft,p,B,Ft,c,Y))}):BR(c)&&c.forEach(function(Ft,An){ie.set(An,mo(Ft,p,B,An,c,Y))});var St=Le?ve?Vx:zx:ve?wo:li,Zt=De?n:St(c);return hi(Zt||c,function(Ft,An){Zt&&(An=Ft,Ft=c[An]),tA(ie,An,mo(Ft,p,B,An,c,Y))}),ie}function pD(c){var p=li(c);return function(B){return _s(B,c,p)}}function _s(c,p,B){var O=B.length;if(c==null)return!O;for(c=xn(c);O--;){var M=B[O],Y=p[M],ie=c[M];if(ie===n&&!(M in c)||!Y(ie))return!1}return!0}function A_(c,p,B){if(typeof c!="function")throw new Jr(a);return Jp(function(){c.apply(n,B)},p)}function Xc(c,p,B,O){var M=-1,Y=$s,ie=!0,ue=c.length,ve=[],Le=p.length;if(!ue)return ve;B&&(p=Ln(p,Mn(B))),O?(Y=pi,ie=!1):p.length>=i&&(Y=lu,ie=!1,p=new Jl(p));e:for(;++M<ue;){var De=c[M],He=B==null?De:B(De);if(De=O||De!==0?De:0,ie&&He===He){for(var tt=Le;tt--;)if(p[tt]===He)continue e;ve.push(De)}else Y(p,He,O)||ve.push(De)}return ve}var Js=PD(Zi),u_=PD(Gp,!0);function Fx(c,p){var B=!0;return Js(c,function(O,M,Y){return B=!!p(O,M,Y),B}),B}function Td(c,p,B){for(var O=-1,M=c.length;++O<M;){var Y=c[O],ie=p(Y);if(ie!=null&&(ue===n?ie===ie&&!ta(ie):B(ie,ue)))var ue=ie,ve=Y}return ve}function Tx(c,p,B,O){var M=c.length;for(B=qt(B),B<0&&(B=-B>M?0:M+B),O=O===n||O>M?M:qt(O),O<0&&(O+=M),O=B>O?0:SR(O);B<O;)c[B++]=p;return c}function c_(c,p){var B=[];return Js(c,function(O,M,Y){p(O,M,Y)&&B.push(O)}),B}function ei(c,p,B,O,M){var Y=-1,ie=c.length;for(B||(B=yK),M||(M=[]);++Y<ie;){var ue=c[Y];p>0&&B(ue)?p>1?ei(ue,p-1,B,O,M):Yo(M,ue):O||(M[M.length]=ue)}return M}var Od=UD(),Jc=UD(!0);function Zi(c,p){return c&&Od(c,p,li)}function Gp(c,p){return c&&Jc(c,p,li)}function kd(c,p){return Go(p,function(B){return aA(c[B])})}function Xo(c,p){p=mu(p,c);for(var B=0,O=p.length;c!=null&&B<O;)c=c[tl(p[B++])];return B&&B==O?c:n}function Ox(c,p,B){var O=p(c);return zt(c)?O:Yo(O,B(c))}function ne(c){return c==null?c===n?In:gt:Oa&&Oa in xn(c)?hK(c):SK(c)}function S(c,p){return c>p}function Q(c,p){return c!=null&&ln.call(c,p)}function se(c,p){return c!=null&&p in xn(c)}function Oe(c,p,B){return c>=$(p,B)&&c<R(p,B)}function Ye(c,p,B){for(var O=B?pi:$s,M=c[0].length,Y=c.length,ie=Y,ue=xe(Y),ve=1/0,Le=[];ie--;){var De=c[ie];ie&&p&&(De=Ln(De,Mn(p))),ve=$(De.length,ve),ue[ie]=!B&&(p||M>=120&&De.length>=120)?new Jl(ie&&De):n}De=c[0];var He=-1,tt=ue[0];e:for(;++He<M&&Le.length<ve;){var _t=De[He],St=p?p(_t):_t;if(_t=B||_t!==0?_t:0,!(tt?lu(tt,St):O(Le,St,B))){for(ie=Y;--ie;){var Zt=ue[ie];if(!(Zt?lu(Zt,St):O(c[ie],St,B)))continue e}tt&&tt.push(St),Le.push(_t)}}return Le}function Ge(c,p,B,O){return Zi(c,function(M,Y,ie){p(O,B(M),Y,ie)}),O}function Mt(c,p,B){p=mu(p,c),c=eR(c,p);var O=c==null?c:c[tl(Ia(p))];return O==null?n:er(O,c,B)}function yi(c){return xr(c)&&ne(c)==J}function vo(c){return xr(c)&&ne(c)==Ee}function Wr(c){return xr(c)&&ne(c)==fe}function Li(c,p,B,O,M){return c===p?!0:c==null||p==null||!xr(c)&&!xr(p)?c!==c&&p!==p:Jo(c,p,B,O,Li,M)}function Jo(c,p,B,O,M,Y){var ie=zt(c),ue=zt(p),ve=ie?oe:Di(c),Le=ue?oe:Di(p);ve=ve==J?mt:ve,Le=Le==J?mt:Le;var De=ve==mt,He=Le==mt,tt=ve==Le;if(tt&&_u(c)){if(!_u(p))return!1;ie=!0,De=!1}if(tt&&!De)return Y||(Y=new go),ie||Pd(c)?WD(c,p,B,O,M,Y):fK(c,p,ve,B,O,M,Y);if(!(B&v)){var _t=De&&ln.call(c,"__wrapped__"),St=He&&ln.call(p,"__wrapped__");
vendor: 23,777 bytes, lines 78-80
78if(_t||St){var Zt=_t?c.value():c,Ft=St?p.value():p;return Y||(Y=new go),M(Zt,Ft,B,O,Y)}}return tt?(Y||(Y=new go),dK(c,p,B,O,M,Y)):!1}function Id(c){return xr(c)&&Di(c)==$e}function Yp(c,p,B,O){var M=B.length,Y=M,ie=!O;if(c==null)return!Y;for(c=xn(c);M--;){var ue=B[M];if(ie&&ue[2]?ue[1]!==c[ue[0]]:!(ue[0]in c))return!1}for(;++M<Y;){ue=B[M];var ve=ue[0],Le=c[ve],De=ue[1];if(ie&&ue[2]){if(Le===n&&!(ve in c))return!1}else{var He=new go;if(O)var tt=O(Le,De,ve,c,p,He);if(!(tt===n?Li(De,Le,v|y,O,He):tt))return!1}}return!0}function nA(c){if(!_r(c)||bK(c))return!1;var p=aA(c)?po:Tp;return p.test(tf(c))}function HV(c){return xr(c)&&ne(c)==je}function $V(c){return xr(c)&&Di(c)==Rt}function jV(c){return xr(c)&&F_(c.length)&&!!Nt[ne(c)]}function gD(c){return typeof c=="function"?c:c==null?bo:typeof c=="object"?zt(c)?_D(c[0],c[1]):vD(c):NR(c)}function kx(c){if(!Xp(c))return F(c);var p=[];for(var B in xn(c))ln.call(c,B)&&B!="constructor"&&p.push(B);return p}function zV(c){if(!_r(c))return EK(c);var p=Xp(c),B=[];for(var O in c)O=="constructor"&&(p||!ln.call(c,O))||B.push(O);return B}function Ix(c,p){return c<p}function mD(c,p){var B=-1,O=yo(c)?xe(c.length):[];return Js(c,function(M,Y,ie){O[++B]=p(M,Y,ie)}),O}function vD(c){var p=Wx(c);return p.length==1&&p[0][2]?XD(p[0][0],p[0][1]):function(B){return B===c||Yp(B,c,p)}}function _D(c,p){return Yx(c)&&ZD(p)?XD(tl(c),p):function(B){var O=o1(B,c);return O===n&&O===p?a1(B,c):Li(p,O,v|y)}}function f_(c,p,B,O,M){c!==p&&Od(p,function(Y,ie){if(M||(M=new go),_r(Y))VV(c,p,ie,B,f_,O,M);else{var ue=O?O(Zx(c,ie),Y,ie+"",c,p,M):n;ue===n&&(ue=Y),Kp(c,ie,ue)}},wo)}function VV(c,p,B,O,M,Y,ie){var ue=Zx(c,B),ve=Zx(p,B),Le=ie.get(ve);if(Le){Kp(c,B,Le);return}var De=Y?Y(ue,ve,B+"",c,p,ie):n,He=De===n;if(He){var tt=zt(ve),_t=!tt&&_u(ve),St=!tt&&!_t&&Pd(ve);De=ve,tt||_t||St?zt(ue)?De=ue:Ur(ue)?De=_o(ue):_t?(He=!1,De=kD(ve,!0)):St?(He=!1,De=ID(ve,!0)):De=[]:eg(ve)||nf(ve)?(De=ue,nf(ue)?De=FR(ue):(!_r(ue)||aA(ue))&&(De=qD(ve))):He=!1}He&&(ie.set(ve,De),M(De,ve,O,Y,ie),ie.delete(ve)),Kp(c,B,De)}function yD(c,p){var B=c.length;if(B)return p+=p<0?B:0,oA(p,B)?c[p]:n}function wD(c,p,B){p.length?p=Ln(p,function(Y){return zt(Y)?function(ie){return Xo(ie,Y.length===1?Y[0]:Y)}:Y}):p=[bo];var O=-1;p=Ln(p,Mn(Et()));var M=mD(c,function(Y,ie,ue){var ve=Ln(p,function(Le){return Le(Y)});return{criteria:ve,index:++O,value:Y}});return ou(M,function(Y,ie){return iK(Y,ie,B)})}function KV(c,p){return bD(c,p,function(B,O){return a1(c,O)})}function bD(c,p,B){for(var O=-1,M=p.length,Y={};++O<M;){var ie=p[O],ue=Xo(c,ie);B(ue,ie)&&qp(Y,mu(ie,c),ue)}return Y}function WV(c){return function(p){return Xo(p,c)}}function Lx(c,p,B,O){var M=O?Ml:js,Y=-1,ie=p.length,ue=c;for(c===p&&(p=_o(p)),B&&(ue=Ln(c,Mn(B)));++Y<ie;)for(var ve=0,Le=p[Y],De=B?B(Le):Le;(ve=M(ue,De,ve,O))>-1;)ue!==c&&Gl.call(ue,ve,1),Gl.call(c,ve,1);return c}function BD(c,p){for(var B=c?p.length:0,O=B-1;B--;){var M=p[B];if(B==O||M!==Y){var Y=M;oA(M)?Gl.call(c,M,1):Ux(c,M)}}return c}function Dx(c,p){return c+qs(Be()*(p-c+1))}function GV(c,p,B,O){for(var M=-1,Y=R(Ys((p-c)/(B||1)),0),ie=xe(Y);Y--;)ie[O?Y:++M]=c,c+=B;return ie}function Rx(c,p){var B="";if(!c||p<1||p>X)return B;do p%2&&(B+=c),p=qs(p/2),p&&(c+=c);while(p);return B}function en(c,p){return Xx(JD(c,p,bo),c+"")}function YV(c){return Sd(Ud(c))}function qV(c,p){var B=Ud(c);return b_(B,qi(p,0,B.length))}function qp(c,p,B,O){if(!_r(c))return c;p=mu(p,c);for(var M=-1,Y=p.length,ie=Y-1,ue=c;ue!=null&&++M<Y;){var ve=tl(p[M]),Le=B;if(ve==="__proto__"||ve==="constructor"||ve==="prototype")return c;if(M!=ie){var De=ue[ve];Le=O?O(De,ve,ue):n,Le===n&&(Le=_r(De)?De:oA(p[M+1])?[]:{})}tA(ue,ve,Le),ue=ue[ve]}return c}var CD=Wn?function(c,p){return Wn.set(c,p),c}:bo,ZV=ps?function(c,p){return ps(c,"toString",{configurable:!0,enumerable:!1,value:l1(p),writable:!0})}:bo;function XV(c){return b_(Ud(c))}function ka(c,p,B){var O=-1,M=c.length;p<0&&(p=-p>M?0:M+p),B=B>M?M:B,B<0&&(B+=M),M=p>B?0:B-p>>>0,p>>>=0;for(var Y=xe(M);++O<M;)Y[O]=c[O+p];return Y}function JV(c,p){var B;return Js(c,function(O,M,Y){return B=p(O,M,Y),!B}),!!B}function d_(c,p,B){var O=0,M=c==null?O:c.length;if(typeof p=="number"&&p===p&&M<=P){for(;O<M;){var Y=O+M>>>1,ie=c[Y];ie!==null&&!ta(ie)&&(B?ie<=p:ie<p)?O=Y+1:M=Y}return M}return Px(c,p,bo,B)}function Px(c,p,B,O){var M=0,Y=c==null?0:c.length;if(Y===0)return 0;p=B(p);for(var ie=p!==p,ue=p===null,ve=ta(p),Le=p===n;M<Y;){var De=qs((M+Y)/2),He=B(c[De]),tt=He!==n,_t=He===null,St=He===He,Zt=ta(He);if(ie)var Ft=O||St;else Le?Ft=St&&(O||tt):ue?Ft=St&&tt&&(O||!_t):ve?Ft=St&&tt&&!_t&&(O||!Zt):_t||Zt?Ft=!1:Ft=O?He<=p:He<p;Ft?M=De+1:Y=De}return $(Y,W)}function xD(c,p){for(var B=-1,O=c.length,M=0,Y=[];++B<O;){var ie=c[B],ue=p?p(ie):ie;if(!B||!ys(ue,ve)){var ve=ue;Y[M++]=ie===0?0:ie}}return Y}function ED(c){return typeof c=="number"?c:ta(c)?N:+c}function ea(c){if(typeof c=="string")return c;if(zt(c))return Ln(c,ea)+"";if(ta(c))return ms?ms.call(c):"";var p=c+"";return p=="0"&&1/c==-re?"-0":p}function gu(c,p,B){var O=-1,M=$s,Y=c.length,ie=!0,ue=[],ve=ue;if(B)ie=!1,M=pi;else if(Y>=i){var Le=p?null:uK(c);if(Le)return vi(Le);ie=!1,M=lu,ve=new Jl}else ve=p?[]:ue;e:for(;++O<Y;){var De=c[O],He=p?p(De):De;if(De=B||De!==0?De:0,ie&&He===He){for(var tt=ve.length;tt--;)if(ve[tt]===He)continue e;p&&ve.push(He),ue.push(De)}else M(ve,He,B)||(ve!==ue&&ve.push(He),ue.push(De))}return ue}function Ux(c,p){return p=mu(p,c),c=eR(c,p),c==null||delete c[tl(Ia(p))]}function SD(c,p,B,O){return qp(c,p,B(Xo(c,p)),O)}function h_(c,p,B,O){for(var M=c.length,Y=O?M:-1;(O?Y--:++Y<M)&&p(c[Y],Y,c););return B?ka(c,O?0:Y,O?Y+1:M):ka(c,O?Y+1:0,O?M:Y)}function FD(c,p){var B=c;return B instanceof Yt&&(B=B.value()),nu(p,function(O,M){return M.func.apply(M.thisArg,Yo([O],M.args))},B)}function Nx(c,p,B){var O=c.length;if(O<2)return O?gu(c[0]):[];for(var M=-1,Y=xe(O);++M<O;)for(var ie=c[M],ue=-1;++ue<O;)ue!=M&&(Y[M]=Xc(Y[M]||ie,c[ue],p,B));return gu(ei(Y,1),p,B)}function TD(c,p,B){for(var O=-1,M=c.length,Y=p.length,ie={};++O<M;){var ue=O<Y?p[O]:n;B(ie,c[O],ue)}return ie}function Mx(c){return Ur(c)?c:[]}function Qx(c){return typeof c=="function"?c:bo}function mu(c,p){return zt(c)?c:Yx(c,p)?[c]:iR(Dn(c))}var eK=en;function vu(c,p,B){var O=c.length;return B=B===n?O:B,!p&&B>=O?c:ka(c,p,B)}var OD=xd||function(c){return Rr.clearTimeout(c)};function kD(c,p){if(p)return c.slice();var B=c.length,O=Bd?Bd(B):new c.constructor(B);return c.copy(O),O}function Hx(c){var p=new c.constructor(c.byteLength);return new Ta(p).set(new Ta(c)),p}function tK(c,p){var B=p?Hx(c.buffer):c.buffer;return new c.constructor(B,c.byteOffset,c.byteLength)}function nK(c){var p=new c.constructor(c.source,uo.exec(c));return p.lastIndex=c.lastIndex,p}function rK(c){return Gn?xn(Gn.call(c)):{}}function ID(c,p){var B=p?Hx(c.buffer):c.buffer;return new c.constructor(B,c.byteOffset,c.length)}function LD(c,p){if(c!==p){var B=c!==n,O=c===null,M=c===c,Y=ta(c),ie=p!==n,ue=p===null,ve=p===p,Le=ta(p);if(!ue&&!Le&&!Y&&c>p||Y&&ie&&ve&&!ue&&!Le||O&&ie&&ve||!B&&ve||!M)return 1;if(!O&&!Y&&!Le&&c<p||Le&&B&&M&&!O&&!Y||ue&&B&&M||!ie&&M||!ve)return-1}return 0}function iK(c,p,B){for(var O=-1,M=c.criteria,Y=p.criteria,ie=M.length,ue=B.length;++O<ie;){var ve=LD(M[O],Y[O]);if(ve){if(O>=ue)return ve;var Le=B[O];return ve*(Le=="desc"?-1:1)}}return c.index-p.index}function DD(c,p,B,O){for(var M=-1,Y=c.length,ie=B.length,ue=-1,ve=p.length,Le=R(Y-ie,0),De=xe(ve+Le),He=!O;++ue<ve;)De[ue]=p[ue];for(;++M<ie;)(He||M<Y)&&(De[B[M]]=c[M]);for(;Le--;)De[ue++]=c[M++];return De}function RD(c,p,B,O){for(var M=-1,Y=c.length,ie=-1,ue=B.length,ve=-1,Le=p.length,De=R(Y-ue,0),He=xe(De+Le),tt=!O;++M<De;)He[M]=c[M];for(var _t=M;++ve<Le;)He[_t+ve]=p[ve];for(;++ie<ue;)(tt||M<Y)&&(He[_t+B[ie]]=c[M++]);return He}function _o(c,p){var B=-1,O=c.length;for(p||(p=xe(O));++B<O;)p[B]=c[B];return p}function el(c,p,B,O){var M=!B;B||(B={});for(var Y=-1,ie=p.length;++Y<ie;){var ue=p[Y],ve=O?O(B[ue],c[ue],ue,B,c):n;ve===n&&(ve=c[ue]),M?Zo(B,ue,ve):tA(B,ue,ve)}return B}function oK(c,p){return el(c,Gx(c),p)}function aK(c,p){return el(c,GD(c),p)}function p_(c,p){return function(B,O){var M=zt(B)?Dp:Sx,Y=p?p():{};return M(B,c,Et(O,2),Y)}}function Ld(c){return en(function(p,B){var O=-1,M=B.length,Y=M>1?B[M-1]:n,ie=M>2?B[2]:n;for(Y=c.length>3&&typeof Y=="function"?(M--,Y):n,ie&&Xi(B[0],B[1],ie)&&(Y=M<3?n:Y,M=1),p=xn(p);++O<M;){var ue=B[O];ue&&c(p,ue,O,Y)}return p})}function PD(c,p){return function(B,O){if(B==null)return B;if(!yo(B))return c(B,O);for(var M=B.length,Y=p?M:-1,ie=xn(B);(p?Y--:++Y<M)&&O(ie[Y],Y,ie)!==!1;);return B}}function UD(c){return function(p,B,O){for(var M=-1,Y=xn(p),ie=O(p),ue=ie.length;ue--;){var ve=ie[c?ue:++M];if(B(Y[ve],ve,Y)===!1)break}return p}}function sK(c,p,B){var O=p&x,M=Zp(c);function Y(){var ie=this&&this!==Rr&&this instanceof Y?M:c;return ie.apply(O?B:this,arguments)}return Y}function ND(c){return function(p){p=Dn(p);var B=Vs(p)?ai(p):n,O=B?B[0]:p.charAt(0),M=B?vu(B,1).join(""):p.slice(1);return O[c]()+M}}function Dd(c){return function(p){return nu(PR(RR(p).replace(Nn,"")),c,"")}}function Zp(c){return function(){var p=arguments;switch(p.length){case 0:return new c;case 1:return new c(p[0]);case 2:return new c(p[0],p[1]);case 3:return new c(p[0],p[1],p[2]);case 4:return new c(p[0],p[1],p[2],p[3]);case 5:return new c(p[0],p[1],p[2],p[3],p[4]);case 6:return new c(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new c(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var B=Zs(c.prototype),O=c.apply(B,p);return _r(O)?O:B}}function lK(c,p,B){var O=Zp(c);function M(){for(var Y=arguments.length,ie=xe(Y),ue=Y,ve=Rd(M);ue--;)ie[ue]=arguments[ue];var Le=Y<3&&ie[0]!==ve&&ie[Y-1]!==ve?[]:Sa(ie,ve);if(Y-=Le.length,Y<B)return jD(c,p,g_,M.placeholder,n,ie,Le,n,n,B-Y);var De=this&&this!==Rr&&this instanceof M?O:c;return er(De,this,ie)}return M}function MD(c){return function(p,B,O){var M=xn(p);if(!yo(p)){var Y=Et(B,3);p=li(p),B=function(ue){return Y(M[ue],ue,M)}}var ie=c(p,B,O);return ie>-1?M[Y?p[ie]:ie]:n}}function QD(c){return iA(function(p){var B=p.length,O=B,M=si.prototype.thru;for(c&&p.reverse();O--;){var Y=p[O];if(typeof Y!="function")throw new Jr(a);if(M&&!ie&&y_(Y)=="wrapper")var ie=new si([],!0)}for(O=ie?O:B;++O<B;){Y=p[O];var ue=y_(Y),ve=ue=="wrapper"?Kx(Y):n;ve&&qx(ve[0])&&ve[1]==(U|E|D|H)&&!ve[4].length&&ve[9]==1?ie=ie[y_(ve[0])].apply(ie,ve[3]):ie=Y.length==1&&qx(Y)?ie[ue]():ie.thru(Y)}return function(){var Le=arguments,De=Le[0];if(ie&&Le.length==1&&zt(De))return ie.plant(De).value();for(var He=0,tt=B?p[He].apply(this,Le):De;++He<B;)tt=p[He].call(this,tt);return tt}})}function g_(c,p,B,O,M,Y,ie,ue,ve,Le){var De=p&U,He=p&x,tt=p&C,_t=p&(E|T),St=p&V,Zt=tt?n:Zp(c);function Ft(){for(var An=arguments.length,mn=xe(An),na=An;na--;)mn[na]=arguments[na];if(_t)var Ji=Rd(Ft),ra=zs(mn,Ji);if(O&&(mn=DD(mn,O,M,_t)),Y&&(mn=RD(mn,Y,ie,_t)),An-=ra,_t&&An<Le){var Nr=Sa(mn,Ji);return jD(c,p,g_,Ft.placeholder,B,mn,Nr,ue,ve,Le-An)}var ws=He?B:this,lA=tt?ws[c]:c;return An=mn.length,ue?mn=FK(mn,ue):St&&An>1&&mn.reverse(),De&&ve<An&&(mn.length=ve),this&&this!==Rr&&this instanceof Ft&&(lA=Zt||Zp(lA)),lA.apply(ws,mn)}return Ft}function HD(c,p){return function(B,O){return Ge(B,c,p(O),{})}}function m_(c,p){return function(B,O){var M;if(B===n&&O===n)return p;if(B!==n&&(M=B),O!==n){if(M===n)return O;typeof B=="string"||typeof O=="string"?(B=ea(B),O=ea(O)):(B=ED(B),O=ED(O)),M=c(B,O)}return M}}function $x(c){return iA(function(p){return p=Ln(p,Mn(Et())),en(function(B){var O=this;return c(p,function(M){return er(M,O,B)})})})}function v_(c,p){p=p===n?" ":ea(p);var B=p.length;if(B<2)return B?Rx(p,c):p;var O=Rx(p,Ys(c/oi(p)));return Vs(p)?vu(ai(O),0,c).join(""):O.slice(0,c)}function AK(c,p,B,O){var M=p&x,Y=Zp(c);function ie(){for(var ue=-1,ve=arguments.length,Le=-1,De=O.length,He=xe(De+ve),tt=this&&this!==Rr&&this instanceof ie?Y:c;++Le<De;)He[Le]=O[Le];for(;ve--;)He[Le++]=arguments[++ue];return er(tt,M?B:this,He)}return ie}function $D(c){return function(p,B,O){return O&&typeof O!="number"&&Xi(p,B,O)&&(B=O=n),p=sA(p),B===n?(B=p,p=0):B=sA(B),O=O===n?p<B?1:-1:sA(O),GV(p,B,O,c)}}function __(c){return function(p,B){return typeof p=="string"&&typeof B=="string"||(p=La(p),B=La(B)),c(p,B)}}function jD(c,p,B,O,M,Y,ie,ue,ve,Le){var De=p&E,He=De?ie:n,tt=De?n:ie,_t=De?Y:n,St=De?n:Y;p|=De?D:I,p&=~(De?I:D),p&b||(p&=~(x|C));var Zt=[c,p,M,_t,He,St,tt,ue,ve,Le],Ft=B.apply(n,Zt);return qx(c)&&tR(Ft,Zt),Ft.placeholder=O,nR(Ft,c,p)}function jx(c){var p=fr[c];return function(B,O){if(B=La(B),O=O==null?0:$(qt(O),292),O&&h(B)){var M=(Dn(B)+"e").split("e"),Y=p(M[0]+"e"+(+M[1]+O));return M=(Dn(Y)+"e").split("e"),+(M[0]+"e"+(+M[1]-O))}return p(B)}}var uK=dr&&1/vi(new dr([,-0]))[1]==re?function(c){return new dr(c)}:c1;function zD(c){return function(p){var B=Di(p);return B==$e?Vc(p):B==Rt?Up(p):Hl(p,c(p))}}function rA(c,p,B,O,M,Y,ie,ue){var ve=p&C;if(!ve&&typeof c!="function")throw new Jr(a);var Le=O?O.length:0;if(Le||(p&=~(D|I),O=M=n),ie=ie===n?ie:R(qt(ie),0),ue=ue===n?ue:qt(ue),Le-=M?M.length:0,p&I){var De=O,He=M;O=M=n}var tt=ve?n:Kx(c),_t=[c,p,B,O,M,De,He,Y,ie,ue];if(tt&&xK(_t,tt),c=_t[0],p=_t[1],B=_t[2],O=_t[3],M=_t[4],ue=_t[9]=_t[9]===n?ve?0:c.length:R(_t[9]-Le,0),!ue&&p&(E|T)&&(p&=~(E|T)),!p||p==x)var St=sK(c,p,B);else p==E||p==T?St=lK(c,p,ue):(p==D||p==(x|D))&&!M.length?St=AK(c,p,B,O):St=g_.apply(n,_t);var Zt=tt?CD:tR;return nR(Zt(St,_t),c,p)}function VD(c,p,B,O){return c===n||ys(c,fs[B])&&!ln.call(O,B)?p:c}function KD(c,p,B,O,M,Y){return _r(c)&&_r(p)&&(Y.set(p,c),f_(c,p,n,KD,Y),Y.delete(p)),c}function cK(c){return eg(c)?n:c}function WD(c,p,B,O,M,Y){var ie=B&v,ue=c.length,ve=p.length;if(ue!=ve&&!(ie&&ve>ue))return!1;var Le=Y.get(c),De=Y.get(p);if(Le&&De)return Le==p&&De==c;var He=-1,tt=!0,_t=B&y?new Jl:n;for(Y.set(c,p),Y.set(p,c);++He<ue;){var St=c[He],Zt=p[He];if(O)var Ft=ie?O(Zt,St,He,p,c,Y):O(St,Zt,He,c,p,Y);if(Ft!==n){if(Ft)continue;tt=!1;break}if(_t){if(!Nl(p,function(An,mn){if(!lu(_t,mn)&&(St===An||M(St,An,B,O,Y)))return _t.push(mn)})){tt=!1;break}}else if(!(St===Zt||M(St,Zt,B,O,Y))){tt=!1;break}}return Y.delete(c),Y.delete(p),tt}function fK(c,p,B,O,M,Y,ie){switch(B){case Qe:if(c.byteLength!=p.byteLength||c.byteOffset!=p.byteOffset)return!1;c=c.buffer,p=p.buffer;case Ee:return!(c.byteLength!=p.byteLength||!Y(new Ta(c),new Ta(p)));case ce:case fe:case Xe:return ys(+c,+p);case Ae:return c.name==p.name&&c.message==p.message;case je:case Fn:return c==p+"";case $e:var ue=Vc;case Rt:var ve=O&v;if(ue||(ue=vi),c.size!=p.size&&!ve)return!1;var Le=ie.get(c);if(Le)return Le==p;O|=y,ie.set(c,p);var De=WD(ue(c),ue(p),O,M,Y,ie);return ie.delete(c),De;case Tn:if(Gn)return Gn.call(c)==Gn.call(p)}return!1}function dK(c,p,B,O,M,Y){var ie=B&v,ue=zx(c),ve=ue.length,Le=zx(p),De=Le.length;if(ve!=De&&!ie)return!1;for(var He=ve;He--;){var tt=ue[He];if(!(ie?tt in p:ln.call(p,tt)))return!1}var _t=Y.get(c),St=Y.get(p);if(_t&&St)return _t==p&&St==c;var Zt=!0;Y.set(c,p),Y.set(p,c);for(var Ft=ie;++He<ve;){tt=ue[He];var An=c[tt],mn=p[tt];if(O)var na=ie?O(mn,An,tt,p,c,Y):O(An,mn,tt,c,p,Y);if(!(na===n?An===mn||M(An,mn,B,O,Y):na)){Zt=!1;break}Ft||(Ft=tt=="constructor")}if(Zt&&!Ft){var Ji=c.constructor,ra=p.constructor;Ji!=ra&&"constructor"in c&&"constructor"in p&&!(typeof Ji=="function"&&Ji instanceof Ji&&typeof ra=="function"&&ra instanceof ra)&&(Zt=!1)}return Y.delete(c),Y.delete(p),Zt}function iA(c){return Xx(JD(c,n,lR),c+"")}function zx(c){return Ox(c,li,Gx)}function Vx(c){return Ox(c,wo,GD)}var Kx=Wn?function(c){return Wn.get(c)}:c1;function y_(c){for(var p=c.name+"",B=Yi[p],O=ln.call(Yi,p)?B.length:0;O--;){var M=B[O],Y=M.func;if(Y==null||Y==c)return M.name}return p}function Rd(c){var p=ln.call(K,"placeholder")?K:c;return p.placeholder}function Et(){var c=K.iteratee||A1;return c=c===A1?gD:c,arguments.length?c(arguments[0],arguments[1]):c}function w_(c,p){var B=c.__data__;return wK(p)?B[typeof p=="string"?"string":"hash"]:B.map}function Wx(c){for(var p=li(c),B=p.length;B--;){var O=p[B],M=c[O];p[B]=[O,M,ZD(M)]}return p}function ef(c,p){var B=jl(c,p);return nA(B)?B:n}function hK(c){var p=ln.call(c,Oa),B=c[Oa];try{c[Oa]=n;var O=!0}catch{}var M=Kl.call(c);return O&&(p?c[Oa]=B:delete c[Oa]),M}var Gx=gs?function(c){return c==null?[]:(c=xn(c),Go(gs(c),function(p){return qc.call(c,p)}))}:f1,GD=gs?function(c){for(var p=[];c;)Yo(p,Gx(c)),c=hs(c);return p}:f1,Di=ne;(et&&Di(new et(new ArrayBuffer(1)))!=Qe||yt&&Di(new yt)!=$e||Qt&&Di(Qt.resolve())!=At||dr&&Di(new dr)!=Rt||tr&&Di(new tr)!=Kn)&&(Di=function(c){var p=ne(c),B=p==mt?c.constructor:n,O=B?tf(B):"";if(O)switch(O){case Qp:return Qe;case Hp:return $e;case $p:return At;case Ed:return Rt;case pu:return Kn}return p});function pK(c,p,B){for(var O=-1,M=B.length;++O<M;){var Y=B[O],ie=Y.size;switch(Y.type){case"drop":c+=ie;break;case"dropRight":p-=ie;break;case"take":p=$(p,c+ie);break;case"takeRight":c=R(c,p-ie);break}}return{start:c,end:p}}function gK(c){var p=c.match(Lt);return p?p[1].split(Tt):[]}function YD(c,p,B){p=mu(p,c);for(var O=-1,M=p.length,Y=!1;++O<M;){var ie=tl(p[O]);if(!(Y=c!=null&&B(c,ie)))break;c=c[ie]}return Y||++O!=M?Y:(M=c==null?0:c.length,!!M&&F_(M)&&oA(ie,M)&&(zt(c)||nf(c)))}function mK(c){var p=c.length,B=new c.constructor(p);return p&&typeof c[0]=="string"&&ln.call(c,"index")&&(B.index=c.index,B.input=c.input),B}function qD(c){return typeof c.constructor=="function"&&!Xp(c)?Zs(hs(c)):{}}function vK(c,p,B){var O=c.constructor;switch(p){case Ee:return Hx(c);case ce:case fe:return new O(+c);case Qe:return tK(c,B);case rt:case bt:case jt:case Un:case Xn:case Cn:case me:case he:case Fe:return ID(c,B);case $e:return new O;case Xe:case Fn:return new O(c);case je:return nK(c);case Rt:return new O;case Tn:return rK(c)}}function _K(c,p){var B=p.length;if(!B)return c;var O=B-1;return p[O]=(B>1?"& ":"")+p[O],p=p.join(B>2?", ":" "),c.replace(ze,`{ 79/* [wrapped with `+p+`] */ 80`)}function yK(c){return zt(c)||nf(c)||!!(Cd&&c&&c[Cd])}function oA(c,p){var B=typeof c;return p=p??X,!!p&&(B=="number"||B!="symbol"&&kp.test(c))&&c>-1&&c%1==0&&c<p}function Xi(c,p,B){if(!_r(B))return!1;var O=typeof p;return(O=="number"?yo(B)&&oA(p,B.length):O=="string"&&p in B)?ys(B[p],c):!1}function Yx(c,p){if(zt(c))return!1;var B=typeof c;return B=="number"||B=="symbol"||B=="boolean"||c==null||ta(c)?!0:kt.test(c)||!ft.test(c)||p!=null&&c in xn(p)}function wK(c){var p=typeof c;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?c!=="__proto__":c===null}function qx(c){var p=y_(c),B=K[p];if(typeof B!="function"||!(p in Yt.prototype))return!1;if(c===B)return!0;var O=Kx(B);return!!O&&c===O[0]}function bK(c){return!!ds&&ds in c}var BK=Vl?aA:d1;function Xp(c){var p=c&&c.constructor,B=typeof p=="function"&&p.prototype||fs;return c===B}function ZD(c){return c===c&&!_r(c)}function XD(c,p){return function(B){return B==null?!1:B[c]===p&&(p!==n||c in xn(B))}}function CK(c){var p=E_(c,function(O){return B.size===u&&B.clear(),O}),B=p.cache;return p}function xK(c,p){var B=c[1],O=p[1],M=B|O,Y=M<(x|C|U),ie=O==U&&B==E||O==U&&B==H&&c[7].length<=p[8]||O==(U|H)&&p[7].length<=p[8]&&B==E;if(!(Y||ie))return c;O&x&&(c[2]=p[2],M|=B&x?0:b);var ue=p[3];if(ue){var ve=c[3];c[3]=ve?DD(ve,ue,p[4]):ue,c[4]=ve?Sa(c[3],f):p[4]}return ue=p[5],ue&&(ve=c[5],c[5]=ve?RD(ve,ue,p[6]):ue,c[6]=ve?Sa(c[5],f):p[6]),ue=p[7],ue&&(c[7]=ue),O&U&&(c[8]=c[8]==null?p[8]:$(c[8],p[8])),c[9]==null&&(c[9]=p[9]),c[0]=p[0],c[1]=M,c}function EK(c){var p=[];if(c!=null)for(var B in xn(c))p.push(B);return p}function SK(c){return Kl.call(c)}function JD(c,p,B){return p=R(p===n?c.length-1:p,0),function(){for(var O=arguments,M=-1,Y=R(O.length-p,0),ie=xe(Y);++M<Y;)ie[M]=O[p+M];M=-1;for(var ue=xe(p+1);++M<p;)ue[M]=O[M];return ue[p]=B(ie),er(c,this,ue)}}function eR(c,p){return p.length<2?c:Xo(c,ka(p,0,-1))}function FK(c,p){for(var B=c.length,O=$(p.length,B),M=_o(c);O--;){var Y=p[O];c[O]=oA(Y,B)?M[Y]:n}return c}function Zx(c,p){if(!(p==="constructor"&&typeof c[p]=="function")&&p!="__proto__")return c[p]}var tR=rR(CD),Jp=Mp||function(c,p){return Rr.setTimeout(c,p)},Xx=rR(ZV);function nR(c,p,B){var O=p+"";return Xx(c,_K(O,TK(gK(O),B)))}function rR(c){var p=0,B=0;return function(){var O=le(),M=Z-(O-B);if(B=O,M>0){if(++p>=q)return arguments[0]}else p=0;return c.apply(n,arguments)}}function b_(c,p){var B=-1,O=c.length,M=O-1;for(p=p===n?O:p;++B<p;){var Y=Dx(B,M),ie=c[Y];c[Y]=c[B],c[B]=ie}return c.length=p,c}var iR=CK(function(c){var p=[];return c.charCodeAt(0)===46&&p.push(""),c.replace(Me,function(B,O,M,Y){p.push(M?Y.replace(ki,"$1"):O||B)}),p});function tl(c){if(typeof c=="string"||ta(c))return c;var p=c+"";return p=="0"&&1/c==-re?"-0":p}function tf(c){if(c!=null){try{return hu.call(c)}catch{}try{return c+""}catch{}}return""}function TK(c,p){return hi(te,function(B){var O="_."+B[0];p&B[1]&&!$s(c,O)&&c.push(O)}),c.sort()}function oR(c){if(c instanceof Yt)return c.clone();var p=new si(c.__wrapped__,c.__chain__);return p.__actions__=_o(c.__actions__),p.__index__=c.__index__,p.__values__=c.__values__,p}function OK(c,p,B){(B?Xi(c,p,B):p===n)?p=1:p=R(qt(p),0);var O=c==null?0:c.length;if(!O||p<1)return[];for(var M=0,Y=0,ie=xe(Ys(O/p));M<O;)ie[Y++]=ka(c,M,M+=p);return ie}function kK(c){for(var p=-1,B=c==null?0:c.length,O=0,M=[];++p<B;){var Y=c[p];Y&&(M[O++]=Y)}return M}function IK(){var c=arguments.length;if(!c)return[];for(var p=xe(c-1),B=arguments[0],O=c;O--;)p[O-1]=arguments[O];return Yo(zt(B)?_o(B):[B],ei(p,1))}var LK=en(function(c,p){return Ur(c)?Xc(c,ei(p,1,Ur,!0)):[]}),DK=en(function(c,p){var B=Ia(p);return Ur(B)&&(B=n),Ur(c)?Xc(c,ei(p,1,Ur,!0),Et(B,2)):[]}),RK=en(function(c,p){var B=Ia(p);return Ur(B)&&(B=n),Ur(c)?Xc(c,ei(p,1,Ur,!0),n,B):[]});function PK(c,p,B){var O=c==null?0:c.length;return O?(p=B||p===n?1:qt(p),ka(c,p<0?0:p,O)):[]}function UK(c,p,B){var O=c==null?0:c.length;return O?(p=B||p===n?1:qt(p),p=O-p,ka(c,0,p<0?0:p)):[]}function NK(c,p){return c&&c.length?h_(c,Et(p,3),!0,!0):[]}function MK(c,p){return c&&c.length?h_(c,Et(p,3),!0):[]}function QK(c,p,B,O){var M=c==null?0:c.length;return M?(B&&typeof B!="number"&&Xi(c,p,B)&&(B=0,O=M),Tx(c,p,B,O)):[]}function aR(c,p,B){var O=c==null?0:c.length;if(!O)return-1;var M=B==null?0:qt(B);return M<0&&(M=R(O+M,0)),gi(c,Et(p,3),M)}function sR(c,p,B){var O=c==null?0:c.length;if(!O)return-1;var M=O-1;return B!==n&&(M=qt(B),M=B<0?R(O+M,0):$(M,O-1)),gi(c,Et(p,3),M,!0)}function lR(c){var p=c==null?0:c.length;return p?ei(c,1):[]}function HK(c){var p=c==null?0:c.length;return p?ei(c,re):[]}function $K(c,p){var B=c==null?0:c.length;return B?(p=p===n?1:qt(p),ei(c,p)):[]}function jK(c){for(var p=-1,B=c==null?0:c.length,O={};++p<B;){var M=c[p];O[M[0]]=M[1]}return O}function AR(c){return c&&c.length?c[0]:n}function zK(c,p,B){var O=c==null?0:c.length;if(!O)return-1;var M=B==null?0:qt(B);return M<0&&(M=R(O+M,0)),js(c,p,M)}function VK(c){var p=c==null?0:c.length;return p?ka(c,0,-1):[]}var KK=en(function(c){var p=Ln(c,Mx);return p.length&&p[0]===c[0]?Ye(p):[]}),WK=en(function(c){var p=Ia(c),B=Ln(c,Mx);return p===Ia(B)?p=n:B.pop(),B.length&&B[0]===c[0]?Ye(B,Et(p,2)):[]}),GK=en(function(c){var p=Ia(c),B=Ln(c,Mx);return p=typeof p=="function"?p:n,p&&B.pop(),B.length&&B[0]===c[0]?Ye(B,n,p):[]});function YK(c,p){return c==null?"":_.call(c,p)}function Ia(c){var p=c==null?0:c.length;return p?c[p-1]:n}function qK(c,p,B){var O=c==null?0:c.length;if(!O)return-1;var M=O;return B!==n&&(M=qt(B),M=M<0?R(O+M,0):$(M,O-1)),p===p?Kc(c,p,M):gi(c,mi,M,!0)}function ZK(c,p){return c&&c.length?yD(c,qt(p)):n}var XK=en(uR);function uR(c,p){return c&&c.length&&p&&p.length?Lx(c,p):c}function JK(c,p,B){return c&&c.length&&p&&p.length?Lx(c,p,Et(B,2)):c}function eW(c,p,B){return c&&c.length&&p&&p.length?Lx(c,p,n,B):c}var tW=iA(function(c,p){var B=c==null?0:c.length,O=Wp(c,p);return BD(c,Ln(p,function(M){return oA(M,B)?+M:M}).sort(LD)),O});function nW(c,p){var B=[];if(!(c&&c.length))return B;var O=-1,M=[],Y=c.length;for(p=Et(p,3);++O<Y;){var ie=c[O];p(ie,O,c)&&(B.push(ie),M.push(O))}return BD(c,M),B}
vendor: 8,134 bytes, line 80
80function Jx(c){return c==null?c:Ne.call(c)}function rW(c,p,B){var O=c==null?0:c.length;return O?(B&&typeof B!="number"&&Xi(c,p,B)?(p=0,B=O):(p=p==null?0:qt(p),B=B===n?O:qt(B)),ka(c,p,B)):[]}function iW(c,p){return d_(c,p)}function oW(c,p,B){return Px(c,p,Et(B,2))}function aW(c,p){var B=c==null?0:c.length;if(B){var O=d_(c,p);if(O<B&&ys(c[O],p))return O}return-1}function sW(c,p){return d_(c,p,!0)}function lW(c,p,B){return Px(c,p,Et(B,2),!0)}function AW(c,p){var B=c==null?0:c.length;if(B){var O=d_(c,p,!0)-1;if(ys(c[O],p))return O}return-1}function uW(c){return c&&c.length?xD(c):[]}function cW(c,p){return c&&c.length?xD(c,Et(p,2)):[]}function fW(c){var p=c==null?0:c.length;return p?ka(c,1,p):[]}function dW(c,p,B){return c&&c.length?(p=B||p===n?1:qt(p),ka(c,0,p<0?0:p)):[]}function hW(c,p,B){var O=c==null?0:c.length;return O?(p=B||p===n?1:qt(p),p=O-p,ka(c,p<0?0:p,O)):[]}function pW(c,p){return c&&c.length?h_(c,Et(p,3),!1,!0):[]}function gW(c,p){return c&&c.length?h_(c,Et(p,3)):[]}var mW=en(function(c){return gu(ei(c,1,Ur,!0))}),vW=en(function(c){var p=Ia(c);return Ur(p)&&(p=n),gu(ei(c,1,Ur,!0),Et(p,2))}),_W=en(function(c){var p=Ia(c);return p=typeof p=="function"?p:n,gu(ei(c,1,Ur,!0),n,p)});function yW(c){return c&&c.length?gu(c):[]}function wW(c,p){return c&&c.length?gu(c,Et(p,2)):[]}function bW(c,p){return p=typeof p=="function"?p:n,c&&c.length?gu(c,n,p):[]}function e1(c){if(!(c&&c.length))return[];var p=0;return c=Go(c,function(B){if(Ur(B))return p=R(B.length,p),!0}),su(p,function(B){return Ln(c,Ql(B))})}function cR(c,p){if(!(c&&c.length))return[];var B=e1(c);return p==null?B:Ln(B,function(O){return er(p,n,O)})}var BW=en(function(c,p){return Ur(c)?Xc(c,p):[]}),CW=en(function(c){return Nx(Go(c,Ur))}),xW=en(function(c){var p=Ia(c);return Ur(p)&&(p=n),Nx(Go(c,Ur),Et(p,2))}),EW=en(function(c){var p=Ia(c);return p=typeof p=="function"?p:n,Nx(Go(c,Ur),n,p)}),SW=en(e1);function FW(c,p){return TD(c||[],p||[],tA)}function TW(c,p){return TD(c||[],p||[],qp)}var OW=en(function(c){var p=c.length,B=p>1?c[p-1]:n;return B=typeof B=="function"?(c.pop(),B):n,cR(c,B)});function fR(c){var p=K(c);return p.__chain__=!0,p}function kW(c,p){return p(c),c}function B_(c,p){return p(c)}var IW=iA(function(c){var p=c.length,B=p?c[0]:0,O=this.__wrapped__,M=function(Y){return Wp(Y,c)};return p>1||this.__actions__.length||!(O instanceof Yt)||!oA(B)?this.thru(M):(O=O.slice(B,+B+(p?1:0)),O.__actions__.push({func:B_,args:[M],thisArg:n}),new si(O,this.__chain__).thru(function(Y){return p&&!Y.length&&Y.push(n),Y}))});function LW(){return fR(this)}function DW(){return new si(this.value(),this.__chain__)}function RW(){this.__values__===n&&(this.__values__=ER(this.value()));var c=this.__index__>=this.__values__.length,p=c?n:this.__values__[this.__index__++];return{done:c,value:p}}function PW(){return this}function UW(c){for(var p,B=this;B instanceof Zl;){var O=oR(B);O.__index__=0,O.__values__=n,p?M.__wrapped__=O:p=O;var M=O;B=B.__wrapped__}return M.__wrapped__=c,p}function NW(){var c=this.__wrapped__;if(c instanceof Yt){var p=c;return this.__actions__.length&&(p=new Yt(this)),p=p.reverse(),p.__actions__.push({func:B_,args:[Jx],thisArg:n}),new si(p,this.__chain__)}return this.thru(Jx)}function MW(){return FD(this.__wrapped__,this.__actions__)}var QW=p_(function(c,p,B){ln.call(c,B)?++c[B]:Zo(c,B,1)});function HW(c,p,B){var O=zt(c)?Mc:Fx;return B&&Xi(c,p,B)&&(p=n),O(c,Et(p,3))}function $W(c,p){var B=zt(c)?Go:c_;return B(c,Et(p,3))}var jW=MD(aR),zW=MD(sR);function VW(c,p){return ei(C_(c,p),1)}function KW(c,p){return ei(C_(c,p),re)}function WW(c,p,B){return B=B===n?1:qt(B),ei(C_(c,p),B)}function dR(c,p){var B=zt(c)?hi:Js;return B(c,Et(p,3))}function hR(c,p){var B=zt(c)?Ca:u_;return B(c,Et(p,3))}var GW=p_(function(c,p,B){ln.call(c,B)?c[B].push(p):Zo(c,B,[p])});function YW(c,p,B,O){c=yo(c)?c:Ud(c),B=B&&!O?qt(B):0;var M=c.length;return B<0&&(B=R(M+B,0)),T_(c)?B<=M&&c.indexOf(p,B)>-1:!!M&&js(c,p,B)>-1}var qW=en(function(c,p,B){var O=-1,M=typeof p=="function",Y=yo(c)?xe(c.length):[];return Js(c,function(ie){Y[++O]=M?er(p,ie,B):Mt(ie,p,B)}),Y}),ZW=p_(function(c,p,B){Zo(c,B,p)});function C_(c,p){var B=zt(c)?Ln:mD;return B(c,Et(p,3))}function XW(c,p,B,O){return c==null?[]:(zt(p)||(p=p==null?[]:[p]),B=O?n:B,zt(B)||(B=B==null?[]:[B]),wD(c,p,B))}var JW=p_(function(c,p,B){c[B?0:1].push(p)},function(){return[[],[]]});function eG(c,p,B){var O=zt(c)?nu:iu,M=arguments.length<3;return O(c,Et(p,4),B,M,Js)}function tG(c,p,B){var O=zt(c)?yd:iu,M=arguments.length<3;return O(c,Et(p,4),B,M,u_)}function nG(c,p){var B=zt(c)?Go:c_;return B(c,S_(Et(p,3)))}function rG(c){var p=zt(c)?Sd:YV;return p(c)}function iG(c,p,B){(B?Xi(c,p,B):p===n)?p=1:p=qt(p);var O=zt(c)?Ex:qV;return O(c,p)}function oG(c){var p=zt(c)?a_:XV;return p(c)}function aG(c){if(c==null)return 0;if(yo(c))return T_(c)?oi(c):c.length;var p=Di(c);return p==$e||p==Rt?c.size:kx(c).length}function sG(c,p,B){var O=zt(c)?Nl:JV;return B&&Xi(c,p,B)&&(p=n),O(c,Et(p,3))}var lG=en(function(c,p){if(c==null)return[];var B=p.length;return B>1&&Xi(c,p[0],p[1])?p=[]:B>2&&Xi(p[0],p[1],p[2])&&(p=[p[0]]),wD(c,ei(p,1),[])}),x_=Yl||function(){return Rr.Date.now()};function AG(c,p){if(typeof p!="function")throw new Jr(a);return c=qt(c),function(){if(--c<1)return p.apply(this,arguments)}}function pR(c,p,B){return p=B?n:p,p=c&&p==null?c.length:p,rA(c,U,n,n,n,n,p)}function gR(c,p){var B;if(typeof p!="function")throw new Jr(a);return c=qt(c),function(){return--c>0&&(B=p.apply(this,arguments)),c<=1&&(p=n),B}}var t1=en(function(c,p,B){var O=x;if(B.length){var M=Sa(B,Rd(t1));O|=D}return rA(c,O,p,B,M)}),mR=en(function(c,p,B){var O=x|C;if(B.length){var M=Sa(B,Rd(mR));O|=D}return rA(p,O,c,B,M)});function vR(c,p,B){p=B?n:p;var O=rA(c,E,n,n,n,n,n,p);return O.placeholder=vR.placeholder,O}function _R(c,p,B){p=B?n:p;var O=rA(c,T,n,n,n,n,n,p);return O.placeholder=_R.placeholder,O}function yR(c,p,B){var O,M,Y,ie,ue,ve,Le=0,De=!1,He=!1,tt=!0;if(typeof c!="function")throw new Jr(a);p=La(p)||0,_r(B)&&(De=!!B.leading,He="maxWait"in B,Y=He?R(La(B.maxWait)||0,p):Y,tt="trailing"in B?!!B.trailing:tt);function _t(Nr){var ws=O,lA=M;return O=M=n,Le=Nr,ie=c.apply(lA,ws),ie}function St(Nr){return Le=Nr,ue=Jp(An,p),De?_t(Nr):ie}function Zt(Nr){var ws=Nr-ve,lA=Nr-Le,MR=p-ws;return He?$(MR,Y-lA):MR}function Ft(Nr){var ws=Nr-ve,lA=Nr-Le;return ve===n||ws>=p||ws<0||He&&lA>=Y}function An(){var Nr=x_();if(Ft(Nr))return mn(Nr);ue=Jp(An,Zt(Nr))}function mn(Nr){return ue=n,tt&&O?_t(Nr):(O=M=n,ie)}function na(){ue!==n&&OD(ue),Le=0,O=ve=M=ue=n}function Ji(){return ue===n?ie:mn(x_())}function ra(){var Nr=x_(),ws=Ft(Nr);if(O=arguments,M=this,ve=Nr,ws){if(ue===n)return St(ve);if(He)return OD(ue),ue=Jp(An,p),_t(ve)}return ue===n&&(ue=Jp(An,p)),ie}return ra.cancel=na,ra.flush=Ji,ra}var uG=en(function(c,p){return A_(c,1,p)}),cG=en(function(c,p,B){return A_(c,La(p)||0,B)});function fG(c){return rA(c,V)}function E_(c,p){if(typeof c!="function"||p!=null&&typeof p!="function")throw new Jr(a);var B=function(){var O=arguments,M=p?p.apply(this,O):O[0],Y=B.cache;if(Y.has(M))return Y.get(M);var ie=c.apply(this,O);return B.cache=Y.set(M,ie)||Y,ie};return B.cache=new(E_.Cache||_i),B}E_.Cache=_i;function S_(c){if(typeof c!="function")throw new Jr(a);return function(){var p=arguments;switch(p.length){case 0:return!c.call(this);case 1:return!c.call(this,p[0]);case 2:return!c.call(this,p[0],p[1]);case 3:return!c.call(this,p[0],p[1],p[2])}return!c.apply(this,p)}}function dG(c){return gR(2,c)}var hG=eK(function(c,p){p=p.length==1&&zt(p[0])?Ln(p[0],Mn(Et())):Ln(ei(p,1),Mn(Et()));var B=p.length;return en(function(O){for(var M=-1,Y=$(O.length,B);++M<Y;)O[M]=p[M].call(this,O[M]);return er(c,this,O)})}),n1=en(function(c,p){var B=Sa(p,Rd(n1));return rA(c,D,n,p,B)}),wR=en(function(c,p){var B=Sa(p,Rd(wR));return rA(c,I,n,p,B)}),pG=iA(function(c,p){return rA(c,H,n,n,n,p)});function gG(c,p){if(typeof c!="function")throw new Jr(a);return p=p===n?p:qt(p),en(c,p)}function mG(c,p){if(typeof c!="function")throw new Jr(a);return p=p==null?0:R(qt(p),0),en(function(B){var O=B[p],M=vu(B,0,p);return O&&Yo(M,O),er(c,this,M)})}function vG(c,p,B){var O=!0,M=!0;if(typeof c!="function")throw new Jr(a);
vendor: 4,556 bytes, line 80
80return _r(B)&&(O="leading"in B?!!B.leading:O,M="trailing"in B?!!B.trailing:M),yR(c,p,{leading:O,maxWait:p,trailing:M})}function _G(c){return pR(c,1)}function yG(c,p){return n1(Qx(p),c)}function wG(){if(!arguments.length)return[];var c=arguments[0];return zt(c)?c:[c]}function bG(c){return mo(c,m)}function BG(c,p){return p=typeof p=="function"?p:n,mo(c,m,p)}function CG(c){return mo(c,d|m)}function xG(c,p){return p=typeof p=="function"?p:n,mo(c,d|m,p)}function EG(c,p){return p==null||_s(c,p,li(p))}function ys(c,p){return c===p||c!==c&&p!==p}var SG=__(S),FG=__(function(c,p){return c>=p}),nf=yi(function(){return arguments}())?yi:function(c){return xr(c)&&ln.call(c,"callee")&&!qc.call(c,"callee")},zt=xe.isArray,TG=gd?Mn(gd):vo;function yo(c){return c!=null&&F_(c.length)&&!aA(c)}function Ur(c){return xr(c)&&yo(c)}function OG(c){return c===!0||c===!1||xr(c)&&ne(c)==ce}var _u=A||d1,kG=Nc?Mn(Nc):Wr;function IG(c){return xr(c)&&c.nodeType===1&&!eg(c)}function LG(c){if(c==null)return!0;if(yo(c)&&(zt(c)||typeof c=="string"||typeof c.splice=="function"||_u(c)||Pd(c)||nf(c)))return!c.length;var p=Di(c);if(p==$e||p==Rt)return!c.size;if(Xp(c))return!kx(c).length;for(var B in c)if(ln.call(c,B))return!1;return!0}function DG(c,p){return Li(c,p)}function RG(c,p,B){B=typeof B=="function"?B:n;var O=B?B(c,p):n;return O===n?Li(c,p,n,B):!!O}function r1(c){if(!xr(c))return!1;var p=ne(c);return p==Ae||p==we||typeof c.message=="string"&&typeof c.name=="string"&&!eg(c)}function PG(c){return typeof c=="number"&&h(c)}function aA(c){if(!_r(c))return!1;var p=ne(c);return p==Pe||p==ke||p==_e||p==on}function bR(c){return typeof c=="number"&&c==qt(c)}function F_(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=X}function _r(c){var p=typeof c;return c!=null&&(p=="object"||p=="function")}function xr(c){return c!=null&&typeof c=="object"}var BR=md?Mn(md):Id;function UG(c,p){return c===p||Yp(c,p,Wx(p))}function NG(c,p,B){return B=typeof B=="function"?B:n,Yp(c,p,Wx(p),B)}function MG(c){return CR(c)&&c!=+c}function QG(c){if(BK(c))throw new Ot(o);return nA(c)}function HG(c){return c===null}function $G(c){return c==null}function CR(c){return typeof c=="number"||xr(c)&&ne(c)==Xe}function eg(c){if(!xr(c)||ne(c)!=mt)return!1;var p=hs(c);if(p===null)return!0;var B=ln.call(p,"constructor")&&p.constructor;return typeof B=="function"&&B instanceof B&&hu.call(B)==ho}var i1=vd?Mn(vd):HV;function jG(c){return bR(c)&&c>=-X&&c<=X}var xR=tu?Mn(tu):$V;function T_(c){return typeof c=="string"||!zt(c)&&xr(c)&&ne(c)==Fn}function ta(c){return typeof c=="symbol"||xr(c)&&ne(c)==Tn}var Pd=_d?Mn(_d):jV;function zG(c){return c===n}function VG(c){return xr(c)&&Di(c)==Kn}function KG(c){return xr(c)&&ne(c)==Lr}var WG=__(Ix),GG=__(function(c,p){return c<=p});function ER(c){if(!c)return[];if(yo(c))return T_(c)?ai(c):_o(c);if(Gs&&c[Gs])return Au(c[Gs]());var p=Di(c),B=p==$e?Vc:p==Rt?vi:Ud;return B(c)}function sA(c){if(!c)return c===0?c:0;if(c=La(c),c===re||c===-re){var p=c<0?-1:1;return p*ge}return c===c?c:0}function qt(c){var p=sA(c),B=p%1;return p===p?B?p-B:p:0}function SR(c){return c?qi(qt(c),0,pe):0}function La(c){if(typeof c=="number")return c;if(ta(c))return N;if(_r(c)){var p=typeof c.valueOf=="function"?c.valueOf():c;c=_r(p)?p+"":p}if(typeof c!="string")return c===0?c:+c;c=jc(c);var B=Ec.test(c);return B||Op.test(c)?Hs(c.slice(2),B?2:8):ld.test(c)?N:+c}function FR(c){return el(c,wo(c))}function YG(c){return c?qi(qt(c),-X,X):c===0?c:0}function Dn(c){return c==null?"":ea(c)}var qG=Ld(function(c,p){if(Xp(p)||yo(p)){el(p,li(p),c);return}for(var B in p)ln.call(p,B)&&tA(c,B,p[B])}),TR=Ld(function(c,p){el(p,wo(p),c)}),O_=Ld(function(c,p,B,O){el(p,wo(p),c,O)}),ZG=Ld(function(c,p,B,O){el(p,li(p),c,O)}),XG=iA(Wp);function JG(c,p){var B=Zs(c);return p==null?B:s_(B,p)}var eY=en(function(c,p){c=xn(c);var B=-1,O=p.length,M=O>2?p[2]:n;for(M&&Xi(p[0],p[1],M)&&(O=1);++B<O;)for(var Y=p[B],ie=wo(Y),ue=-1,ve=ie.length;++ue<ve;){var Le=ie[ue],De=c[Le];(De===n||ys(De,fs[Le])&&!ln.call(c,Le))&&(c[Le]=Y[Le])}return c}),tY=en(function(c){return c.push(n,KD),er(OR,n,c)});function nY(c,p){return ru(c,Et(p,3),Zi)}function rY(c,p){return ru(c,Et(p,3),Gp)}function iY(c,p){return c==null?c:Od(c,Et(p,3),wo)}function oY(c,p){return c==null?c:Jc(c,Et(p,3),wo)}function aY(c,p){return c&&Zi(c,Et(p,3))}function sY(c,p){return c&&Gp(c,Et(p,3))}function lY(c){return c==null?[]:kd(c,li(c))}function AY(c){return c==null?[]:kd(c,wo(c))}function o1(c,p,B){var O=c==null?n:Xo(c,p);return O===n?B:O}function uY(c,p){return c!=null&&YD(c,p,Q)}function a1(c,p){return c!=null&&YD(c,p,se)}
vendor: 16,165 bytes, lines 80-97
80var cY=HD(function(c,p,B){p!=null&&typeof p.toString!="function"&&(p=Kl.call(p)),c[p]=B},l1(bo)),fY=HD(function(c,p,B){p!=null&&typeof p.toString!="function"&&(p=Kl.call(p)),ln.call(c,p)?c[p].push(B):c[p]=[B]},Et),dY=en(Mt);function li(c){return yo(c)?Vp(c):kx(c)}function wo(c){return yo(c)?Vp(c,!0):zV(c)}function hY(c,p){var B={};return p=Et(p,3),Zi(c,function(O,M,Y){Zo(B,p(O,M,Y),O)}),B}function pY(c,p){var B={};return p=Et(p,3),Zi(c,function(O,M,Y){Zo(B,M,p(O,M,Y))}),B}var gY=Ld(function(c,p,B){f_(c,p,B)}),OR=Ld(function(c,p,B,O){f_(c,p,B,O)}),mY=iA(function(c,p){var B={};if(c==null)return B;var O=!1;p=Ln(p,function(Y){return Y=mu(Y,c),O||(O=Y.length>1),Y}),el(c,Vx(c),B),O&&(B=mo(B,d|g|m,cK));for(var M=p.length;M--;)Ux(B,p[M]);return B});function vY(c,p){return kR(c,S_(Et(p)))}var _Y=iA(function(c,p){return c==null?{}:KV(c,p)});function kR(c,p){if(c==null)return{};var B=Ln(Vx(c),function(O){return[O]});return p=Et(p),bD(c,B,function(O,M){return p(O,M[0])})}function yY(c,p,B){p=mu(p,c);var O=-1,M=p.length;for(M||(M=1,c=n);++O<M;){var Y=c==null?n:c[tl(p[O])];Y===n&&(O=M,Y=B),c=aA(Y)?Y.call(c):Y}return c}function wY(c,p,B){return c==null?c:qp(c,p,B)}function bY(c,p,B,O){return O=typeof O=="function"?O:n,c==null?c:qp(c,p,B,O)}var IR=zD(li),LR=zD(wo);function BY(c,p,B){var O=zt(c),M=O||_u(c)||Pd(c);if(p=Et(p,4),B==null){var Y=c&&c.constructor;M?B=O?new Y:[]:_r(c)?B=aA(Y)?Zs(hs(c)):{}:B={}}return(M?hi:Zi)(c,function(ie,ue,ve){return p(B,ie,ue,ve)}),B}function CY(c,p){return c==null?!0:Ux(c,p)}function xY(c,p,B){return c==null?c:SD(c,p,Qx(B))}function EY(c,p,B,O){return O=typeof O=="function"?O:n,c==null?c:SD(c,p,Qx(B),O)}function Ud(c){return c==null?[]:xa(c,li(c))}function SY(c){return c==null?[]:xa(c,wo(c))}function FY(c,p,B){return B===n&&(B=p,p=n),B!==n&&(B=La(B),B=B===B?B:0),p!==n&&(p=La(p),p=p===p?p:0),qi(La(c),p,B)}function TY(c,p,B){return p=sA(p),B===n?(B=p,p=0):B=sA(B),c=La(c),Oe(c,p,B)}function OY(c,p,B){if(B&&typeof B!="boolean"&&Xi(c,p,B)&&(p=B=n),B===n&&(typeof p=="boolean"?(B=p,p=n):typeof c=="boolean"&&(B=c,c=n)),c===n&&p===n?(c=0,p=1):(c=sA(c),p===n?(p=c,c=0):p=sA(p)),c>p){var O=c;c=p,p=O}if(B||c%1||p%1){var M=Be();return $(c+M*(p-c+Rc("1e-"+((M+"").length-1))),p)}return Dx(c,p)}var kY=Dd(function(c,p,B){return p=p.toLowerCase(),c+(B?DR(p):p)});function DR(c){return s1(Dn(c).toLowerCase())}function RR(c){return c=Dn(c),c&&c.replace(Ad,Pp).replace(Ba,"")}function IY(c,p,B){c=Dn(c),p=ea(p);var O=c.length;B=B===n?O:qi(qt(B),0,O);var M=B;return B-=p.length,B>=0&&c.slice(B,M)==p}function LY(c){return c=Dn(c),c&&it.test(c)?c.replace(at,$l):c}function DY(c){return c=Dn(c),c&&be.test(c)?c.replace(Ue,"\\$&"):c}var RY=Dd(function(c,p,B){return c+(B?"-":"")+p.toLowerCase()}),PY=Dd(function(c,p,B){return c+(B?" ":"")+p.toLowerCase()}),UY=ND("toLowerCase");function NY(c,p,B){c=Dn(c),p=qt(p);var O=p?oi(c):0;if(!p||O>=p)return c;var M=(p-O)/2;return v_(qs(M),B)+c+v_(Ys(M),B)}function MY(c,p,B){c=Dn(c),p=qt(p);var O=p?oi(c):0;return p&&O<p?c+v_(p-O,B):c}function QY(c,p,B){c=Dn(c),p=qt(p);var O=p?oi(c):0;return p&&O<p?v_(p-O,B)+c:c}function HY(c,p,B){return B||p==null?p=0:p&&(p=+p),ye(Dn(c).replace(Je,""),p||0)}function $Y(c,p,B){return(B?Xi(c,p,B):p===n)?p=1:p=qt(p),Rx(Dn(c),p)}function jY(){var c=arguments,p=Dn(c[0]);return c.length<3?p:p.replace(c[1],c[2])}var zY=Dd(function(c,p,B){return c+(B?"_":"")+p.toLowerCase()});function VY(c,p,B){return B&&typeof B!="number"&&Xi(c,p,B)&&(p=B=n),B=B===n?pe:B>>>0,B?(c=Dn(c),c&&(typeof p=="string"||p!=null&&!i1(p))&&(p=ea(p),!p&&Vs(c))?vu(ai(c),0,B):c.split(p,B)):[]}var KY=Dd(function(c,p,B){return c+(B?" ":"")+s1(p)});function WY(c,p,B){return c=Dn(c),B=B==null?0:qi(qt(B),0,c.length),p=ea(p),c.slice(B,B+p.length)==p}function GY(c,p,B){var O=K.templateSettings;B&&Xi(c,p,B)&&(p=n),c=Dn(c),p=O_({},p,O,VD);var M=O_({},p.imports,O.imports,VD),Y=li(M),ie=xa(M,Y),ue,ve,Le=0,De=p.interpolate||jA,He="__p += '",tt=fu((p.escape||jA).source+"|"+De.source+"|"+(De===Ct?os:jA).source+"|"+(p.evaluate||jA).source+"|$","g"),_t="//# sourceURL="+(ln.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ul+"]")+` 81`;c.replace(tt,function(Ft,An,mn,na,Ji,ra){return mn||(mn=na),He+=c.slice(Le,ra).replace(zA,zc),An&&(ue=!0,He+=`' + 82__e(`+An+`) + 83'`),Ji&&(ve=!0,He+=`'; 84`+Ji+`; 85__p += '`),mn&&(He+=`' + 86((__t = (`+mn+`)) == null ? '' : __t) + 87'`),Le=ra+Ft.length,Ft}),He+=`'; 88`;var St=ln.call(p,"variable")&&p.variable;if(!St)He=`with (obj) { 89`+He+` 90} 91`;else if(Ki.test(St))throw new Ot(s);He=(ve?He.replace(Ce,""):He).replace(Se,"$1").replace(Ie,"$1;"),He="function("+(St||"obj")+`) { 92`+(St?"":`obj || (obj = {}); 93`)+"var __t, __p = ''"+(ue?", __e = _.escape":"")+(ve?`, __j = Array.prototype.join; 94function print() { __p += __j.call(arguments, '') } 95`:`; 96`)+He+`return __p 97}`;var Zt=UR(function(){return sn(Y,_t+"return "+He).apply(n,ie)});if(Zt.source=He,r1(Zt))throw Zt;return Zt}function YY(c){return Dn(c).toLowerCase()}function qY(c){return Dn(c).toUpperCase()}function ZY(c,p,B){if(c=Dn(c),c&&(B||p===n))return jc(c);if(!c||!(p=ea(p)))return c;var O=ai(c),M=ai(p),Y=sr(O,M),ie=bd(O,M)+1;return vu(O,Y,ie).join("")}function XY(c,p,B){if(c=Dn(c),c&&(B||p===n))return c.slice(0,Wc(c)+1);if(!c||!(p=ea(p)))return c;var O=ai(c),M=bd(O,ai(p))+1;return vu(O,0,M).join("")}function JY(c,p,B){if(c=Dn(c),c&&(B||p===n))return c.replace(Je,"");if(!c||!(p=ea(p)))return c;var O=ai(c),M=sr(O,ai(p));return vu(O,M).join("")}function eq(c,p){var B=j,O=z;if(_r(p)){var M="separator"in p?p.separator:M;B="length"in p?qt(p.length):B,O="omission"in p?ea(p.omission):O}c=Dn(c);var Y=c.length;if(Vs(c)){var ie=ai(c);Y=ie.length}if(B>=Y)return c;var ue=B-oi(O);if(ue<1)return O;var ve=ie?vu(ie,0,ue).join(""):c.slice(0,ue);if(M===n)return ve+O;if(ie&&(ue+=ve.length-ue),i1(M)){if(c.slice(ue).search(M)){var Le,De=ve;for(M.global||(M=fu(M.source,Dn(uo.exec(M))+"g")),M.lastIndex=0;Le=M.exec(De);)var He=Le.index;ve=ve.slice(0,He===n?ue:He)}}else if(c.indexOf(ea(M),ue)!=ue){var tt=ve.lastIndexOf(M);tt>-1&&(ve=ve.slice(0,tt))}return ve+O}function tq(c){return c=Dn(c),c&&dt.test(c)?c.replace(st,Gc):c}var nq=Dd(function(c,p,B){return c+(B?" ":"")+p.toUpperCase()}),s1=ND("toUpperCase");function PR(c,p,B){return c=Dn(c),p=B?n:p,p===n?Ea(c)?co(c):wd(c):c.match(p)||[]}var UR=en(function(c,p){try{return er(c,n,p)}catch(B){return r1(B)?B:new Ot(B)}}),rq=iA(function(c,p){return hi(p,function(B){B=tl(B),Zo(c,B,t1(c[B],c))}),c});function iq(c){var p=c==null?0:c.length,B=Et();return c=p?Ln(c,function(O){if(typeof O[1]!="function")throw new Jr(a);return[B(O[0]),O[1]]}):[],en(function(O){for(var M=-1;++M<p;){var Y=c[M];if(er(Y[0],this,O))return er(Y[1],this,O)}})}function oq(c){return pD(mo(c,d))}function l1(c){return function(){return c}}function aq(c,p){return c==null||c!==c?p:c}var sq=QD(),lq=QD(!0);function bo(c){return c}function A1(c){return gD(typeof c=="function"?c:mo(c,d))}function Aq(c){return vD(mo(c,d))}function uq(c,p){return _D(c,mo(p,d))}var cq=en(function(c,p){return function(B){return Mt(B,c,p)}}),fq=en(function(c,p){return function(B){return Mt(c,B,p)}});function u1(c,p,B){var O=li(p),M=kd(p,O);B==null&&!(_r(p)&&(M.length||!O.length))&&(B=p,p=c,c=this,M=kd(p,li(p)));var Y=!(_r(B)&&"chain"in B)||!!B.chain,ie=aA(c);return hi(M,function(ue){var ve=p[ue];c[ue]=ve,ie&&(c.prototype[ue]=function(){var Le=this.__chain__;if(Y||Le){var De=c(this.__wrapped__),He=De.__actions__=_o(this.__actions__);return He.push({func:ve,args:arguments,thisArg:c}),De.__chain__=Le,De}return ve.apply(c,Yo([this.value()],arguments))})}),c}function dq(){return Rr._===this&&(Rr._=n_),this}function c1(){}function hq(c){return c=qt(c),en(function(p){return yD(p,c)})}var pq=$x(Ln),gq=$x(Mc),mq=$x(Nl);function NR(c){return Yx(c)?Ql(tl(c)):WV(c)}function vq(c){return function(p){return c==null?n:Xo(c,p)}}var _q=$D(),yq=$D(!0);function f1(){return[]}function d1(){return!1}function wq(){return{}}function bq(){return""}function Bq(){return!0}function Cq(c,p){if(c=qt(c),c<1||c>X)return[];var B=pe,O=$(c,pe);p=Et(p),c-=pe;for(var M=su(O,p);++B<c;)p(B);return M}function xq(c){return zt(c)?Ln(c,tl):ta(c)?[c]:_o(iR(Dn(c)))}function Eq(c){var p=++Np;return Dn(c)+p}var Sq=m_(function(c,p){return c+p},0),Fq=jx("ceil"),Tq=m_(function(c,p){return c/p},1),Oq=jx("floor");function kq(c){return c&&c.length?Td(c,bo,S):n}function Iq(c,p){return c&&c.length?Td(c,Et(p,2),S):n}function Lq(c){return Hc(c,bo)}function Dq(c,p){return Hc(c,Et(p,2))}function Rq(c){return c&&c.length?Td(c,bo,Ix):n}function Pq(c,p){return c&&c.length?Td(c,Et(p,2),Ix):n}var Uq=m_(function(c,p){return c*p},1),Nq=jx("round"),Mq=m_(function(c,p){return c-p},0);function Qq(c){return c&&c.length?au(c,bo):0}function Hq(c,p){return c&&c.length?au(c,Et(p,2)):0}return K.after=AG,K.ary=pR,K.assign=qG,K.assignIn=TR,K.assignInWith=O_,K.assignWith=ZG,K.at=XG,K.before=gR,K.bind=t1,K.bindAll=rq,K.bindKey=mR,K.castArray=wG,K.chain=fR,K.chunk=OK,K.compact=kK,K.concat=IK,K.cond=iq,K.conforms=oq,K.constant=l1,K.countBy=QW,K.create=JG,K.curry=vR,K.curryRight=_R,K.debounce=yR,K.defaults=eY,K.defaultsDeep=tY,K.defer=uG,K.delay=cG,K.difference=LK,K.differenceBy=DK,K.differenceWith=RK,K.drop=PK,K.dropRight=UK,K.dropRightWhile=NK,K.dropWhile=MK,K.fill=QK,K.filter=$W,K.flatMap=VW,K.flatMapDeep=KW,K.flatMapDepth=WW,K.flatten=lR,K.flattenDeep=HK,K.flattenDepth=$K,K.flip=fG,K.flow=sq,K.flowRight=lq,K.fromPairs=jK,K.functions=lY,K.functionsIn=AY,K.groupBy=GW,K.initial=VK,K.intersection=KK,K.intersectionBy=WK,K.intersectionWith=GK,K.invert=cY,K.invertBy=fY,K.invokeMap=qW,K.iteratee=A1,K.keyBy=ZW,K.keys=li,K.keysIn=wo,K.map=C_,K.mapKeys=hY,K.mapValues=pY,K.matches=Aq,K.matchesProperty=uq,K.memoize=E_,K.merge=gY,K.mergeWith=OR,K.method=cq,K.methodOf=fq,K.mixin=u1,K.negate=S_,K.nthArg=hq,K.omit=mY,K.omitBy=vY,K.once=dG,K.orderBy=XW,K.over=pq,K.overArgs=hG,K.overEvery=gq,K.overSome=mq,K.partial=n1,K.partialRight=wR,K.partition=JW,K.pick=_Y,K.pickBy=kR,K.property=NR,K.propertyOf=vq,K.pull=XK,K.pullAll=uR,K.pullAllBy=JK,K.pullAllWith=eW,K.pullAt=tW,K.range=_q,K.rangeRight=yq,K.rearg=pG,K.reject=nG,K.remove=nW,K.rest=gG,K.reverse=Jx,K.sampleSize=iG,K.set=wY,K.setWith=bY,K.shuffle=oG,K.slice=rW,K.sortBy=lG,K.sortedUniq=uW,K.sortedUniqBy=cW,K.split=VY,K.spread=mG,K.tail=fW,K.take=dW,K.takeRight=hW,K.takeRightWhile=pW,K.takeWhile=gW,K.tap=kW,K.throttle=vG,K.thru=B_,K.toArray=ER,K.toPairs=IR,K.toPairsIn=LR,K.toPath=xq,K.toPlainObject=FR,K.transform=BY,K.unary=_G,K.union=mW,K.unionBy=vW,K.unionWith=_W,K.uniq=yW,K.uniqBy=wW,K.uniqWith=bW,K.unset=CY,K.unzip=e1,K.unzipWith=cR,K.update=xY,K.updateWith=EY,K.values=Ud,K.valuesIn=SY,K.without=BW,K.words=PR,K.wrap=yG,K.xor=CW,K.xorBy=xW,K.xorWith=EW,K.zip=SW,K.zipObject=FW,K.zipObjectDeep=TW,K.zipWith=OW,K.entries=IR,K.entriesIn=LR,K.extend=TR,K.extendWith=O_,u1(K,K),K.add=Sq,K.attempt=UR,K.camelCase=kY,K.capitalize=DR,K.ceil=Fq,K.clamp=FY,K.clone=bG,K.cloneDeep=CG,K.cloneDeepWith=xG,K.cloneWith=BG,K.conformsTo=EG,K.deburr=RR,K.defaultTo=aq,K.divide=Tq,K.endsWith=IY,K.eq=ys,K.escape=LY,K.escapeRegExp=DY,K.every=HW,K.find=jW,K.findIndex=aR,K.findKey=nY,K.findLast=zW,K.findLastIndex=sR,K.findLastKey=rY,K.floor=Oq,K.forEach=dR,K.forEachRight=hR,K.forIn=iY,K.forInRight=oY,K.forOwn=aY,K.forOwnRight=sY,K.get=o1,K.gt=SG,K.gte=FG,K.has=uY,K.hasIn=a1,K.head=AR,K.identity=bo,K.includes=YW,K.indexOf=zK,K.inRange=TY,K.invoke=dY,K.isArguments=nf,K.isArray=zt,K.isArrayBuffer=TG,K.isArrayLike=yo,K.isArrayLikeObject=Ur,K.isBoolean=OG,K.isBuffer=_u,K.isDate=kG,K.isElement=IG,K.isEmpty=LG,K.isEqual=DG,K.isEqualWith=RG,K.isError=r1,K.isFinite=PG,K.isFunction=aA,K.isInteger=bR,K.isLength=F_,K.isMap=BR,K.isMatch=UG,K.isMatchWith=NG,K.isNaN=MG,K.isNative=QG,K.isNil=$G,K.isNull=HG,K.isNumber=CR,K.isObject=_r,K.isObjectLike=xr,K.isPlainObject=eg,K.isRegExp=i1,K.isSafeInteger=jG,K.isSet=xR,K.isString=T_,K.isSymbol=ta,K.isTypedArray=Pd,K.isUndefined=zG,K.isWeakMap=VG,K.isWeakSet=KG,K.join=YK,K.kebabCase=RY,K.last=Ia,K.lastIndexOf=qK,K.lowerCase=PY,K.lowerFirst=UY,K.lt=WG,K.lte=GG,K.max=kq,K.maxBy=Iq,K.mean=Lq,K.meanBy=Dq,K.min=Rq,K.minBy=Pq,K.stubArray=f1,K.stubFalse=d1,K.stubObject=wq,K.stubString=bq,K.stubTrue=Bq,K.multiply=Uq,K.nth=ZK,K.noConflict=dq,K.noop=c1,K.now=x_,K.pad=NY,K.padEnd=MY,K.padStart=QY,K.parseInt=HY,K.random=OY,K.reduce=eG,K.reduceRight=tG,K.repeat=$Y,K.replace=jY,K.result=yY,K.round=Nq,K.runInContext=de,K.sample=rG,K.size=aG,K.snakeCase=zY,K.some=sG,K.sortedIndex=iW,K.sortedIndexBy=oW,K.sortedIndexOf=aW,K.sortedLastIndex=sW,K.sortedLastIndexBy=lW,K.sortedLastIndexOf=AW,K.startCase=KY,K.startsWith=WY,K.subtract=Mq,K.sum=Qq,K.sumBy=Hq,K.template=GY,K.times=Cq,K.toFinite=sA,K.toInteger=qt,K.toLength=SR,K.toLower=YY,K.toNumber=La,K.toSafeInteger=YG,K.toString=Dn,K.toUpper=qY,K.trim=ZY,K.trimEnd=XY,K.trimStart=JY,K.truncate=eq,K.unescape=tq,K.uniqueId=Eq,K.upperCase=nq,K.upperFirst=s1,K.each=dR,K.eachRight=hR,K.first=AR,u1(K,function(){var c={};return Zi(K,function(p,B){ln.call(K.prototype,B)||(c[B]=p)}),c}(),{chain:!1}),K.VERSION=r,hi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){K[c].placeholder=K}),hi(["drop","take"],function(c,p){Yt.prototype[c]=function(B){B=B===n?1:R(qt(B),0);var O=this.__filtered__&&!p?new Yt(this):this.clone();return O.__filtered__?O.__takeCount__=$(B,O.__takeCount__):O.__views__.push({size:$(B,pe),type:c+(O.__dir__<0?"Right":"")}),O},Yt.prototype[c+"Right"]=function(B){return this.reverse()[c](B).reverse()}}),hi(["filter","map","takeWhile"],function(c,p){var B=p+1,O=B==ae||B==ee;Yt.prototype[c]=function(M){var Y=this.clone();return Y.__iteratees__.push({iteratee:Et(M,3),type:B}),Y.__filtered__=Y.__filtered__||O,Y}}),hi(["head","last"],function(c,p){var B="take"+(p?"Right":"");Yt.prototype[c]=function(){return this[B](1).value()[0]}}),hi(["initial","tail"],function(c,p){var B="drop"+(p?"":"Right");Yt.prototype[c]=function(){return this.__filtered__?new Yt(this):this[B](1)}}),Yt.prototype.compact=function(){return this.filter(bo)},Yt.prototype.find=function(c){return this.filter(c).head()},Yt.prototype.findLast=function(c){return this.reverse().find(c)},Yt.prototype.invokeMap=en(function(c,p){return typeof c=="function"?new Yt(this):this.map(function(B){return Mt(B,c,p)})}),Yt.prototype.reject=function(c){return this.filter(S_(Et(c)))},Yt.prototype.slice=function(c,p){c=qt(c);var B=this;return B.__filtered__&&(c>0||p<0)?new Yt(B):(c<0?B=B.takeRight(-c):c&&(B=B.drop(c)),p!==n&&(p=qt(p),B=p<0?B.dropRight(-p):B.take(p-c)),B)},Yt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Yt.prototype.toArray=function(){return this.take(pe)},Zi(Yt.prototype,function(c,p){var B=/^(?:filter|find|map|reject)|While$/.test(p),O=/^(?:head|last)$/.test(p),M=K[O?"take"+(p=="last"?"Right":""):p],Y=O||/^find/.test(p);M&&(K.prototype[p]=function(){var ie=this.__wrapped__,ue=O?[1]:arguments,ve=ie instanceof Yt,Le=ue[0],De=ve||zt(ie),He=function(An){var mn=M.apply(K,Yo([An],ue));return O&&tt?mn[0]:mn};De&&B&&typeof Le=="function"&&Le.length!=1&&(ve=De=!1);var tt=this.__chain__,_t=!!this.__actions__.length,St=Y&&!tt,Zt=ve&&!_t;if(!Y&&De){ie=Zt?ie:new Yt(this);var Ft=c.apply(ie,ue);return Ft.__actions__.push({func:B_,args:[He],thisArg:n}),new si(Ft,tt)}return St&&Zt?c.apply(this,ue):(Ft=this.thru(He),St?O?Ft.value()[0]:Ft.value():Ft)})}),hi(["pop","push","shift","sort","splice","unshift"],function(c){var p=du[c],B=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",O=/^(?:pop|shift)$/.test(c);K.prototype[c]=function(){var M=arguments;if(O&&!this.__chain__){var Y=this.value();return p.apply(zt(Y)?Y:[],M)}return this[B](function(ie){return p.apply(zt(ie)?ie:[],M)})}}),Zi(Yt.prototype,function(c,p){var B=K[p];if(B){var O=B.name+"";ln.call(Yi,O)||(Yi[O]=[]),Yi[O].push({name:p,func:B})}}),Yi[g_(n,C).name]=[{name:"wrapper",func:n}],Yt.prototype.clone=Xs,Yt.prototype.reverse=fx,Yt.prototype.value=jp,K.prototype.at=IW,K.prototype.chain=LW,K.prototype.commit=DW,K.prototype.next=RW,K.prototype.plant=UW,K.prototype.reverse=NW,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=MW,K.prototype.first=K.prototype.head,Gs&&(K.prototype[Gs]=PW),K},Fa=Ks();Gi?((Gi.exports=Fa)._=Fa,di._=Fa):Rr._=Fa}).call(ro)}
vendor: 40,435 bytes, lines 97-99
97)(Zw,Zw.exports);var hF=Zw.exports;const wt=uc(hF);function pte(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var gte=pte,Xt=gte;function mte(e){return!!e&&typeof e.then=="function"}var mr=mte;function vte(e,t){if(e!=null)return e;throw Xt(t??"Got unexpected null or undefined")}var vr=vte;function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class qB{getValue(){throw Xt("BaseLoadable")}toPromise(){throw Xt("BaseLoadable")}valueMaybe(){throw Xt("BaseLoadable")}valueOrThrow(){throw Xt(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw Xt("BaseLoadable")}promiseOrThrow(){throw Xt(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw Xt("BaseLoadable")}errorOrThrow(){throw Xt(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw Xt("BaseLoadable")}}class _te extends qB{constructor(t){super(),Wt(this,"state","hasValue"),Wt(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return mr(n)?Gf(n):qh(n)?n:bv(n)}catch(n){return mr(n)?Gf(n.next(()=>this.map(t))):ZB(n)}}}class yte extends qB{constructor(t){super(),Wt(this,"state","hasError"),Wt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class N5 extends qB{constructor(t){super(),Wt(this,"state","loading"),Wt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return Gf(this.contents.then(n=>{const r=t(n);if(qh(r)){const i=r;switch(i.state){case"hasValue":return i.contents;case"hasError":throw i.contents;case"loading":return i.contents}}return r}).catch(n=>{if(mr(n))return n.then(()=>this.map(t).contents);throw n}))}}function bv(e){return Object.freeze(new _te(e))}function ZB(e){return Object.freeze(new yte(e))}function Gf(e){return Object.freeze(new N5(e))}function M5(){return Object.freeze(new N5(new Promise(()=>{})))}function wte(e){return e.every(t=>t.state==="hasValue")?bv(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?ZB(vr(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):Gf(Promise.all(e.map(t=>t.contents)))}function Q5(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(i=>e[i])).map(i=>qh(i)?i:mr(i)?Gf(i):bv(i)),r=wte(n);return Array.isArray(e)?r:r.map(i=>Object.getOwnPropertyNames(e).reduce((o,a,s)=>({...o,[a]:i[s]}),{}))}function qh(e){return e instanceof qB}const bte={of:e=>mr(e)?Gf(e):qh(e)?e:bv(e),error:e=>ZB(e),loading:()=>M5(),all:Q5,isLoadable:qh};var nd={loadableWithValue:bv,loadableWithError:ZB,loadableWithPromise:Gf,loadableLoading:M5,loadableAll:Q5,isLoadable:qh,RecoilLoadable:bte},Bte=nd.loadableWithValue,Cte=nd.loadableWithError,xte=nd.loadableWithPromise,Ete=nd.loadableLoading,Ste=nd.loadableAll,Fte=nd.isLoadable,Tte=nd.RecoilLoadable,Bv=Object.freeze({__proto__:null,loadableWithValue:Bte,loadableWithError:Cte,loadableWithPromise:xte,loadableLoading:Ete,loadableAll:Ste,isLoadable:Fte,RecoilLoadable:Tte});const XB=new Map().set("recoil_hamt_2020",!0).set("recoil_sync_external_store",!0).set("recoil_suppress_rerender_in_callback",!0).set("recoil_memory_managament_2020",!0);function JB(e){var t;return(t=XB.get(e))!==null&&t!==void 0?t:!1}JB.setPass=e=>{XB.set(e,!0)};JB.setFail=e=>{XB.set(e,!1)};JB.clear=()=>{XB.clear()};var Zn=JB;function Ote(e,t,{error:n}={}){return null}var kte=Ote,cI=kte,j1,z1,V1;const Ite=(j1=lt.createMutableSource)!==null&&j1!==void 0?j1:lt.unstable_createMutableSource,H5=(z1=lt.useMutableSource)!==null&&z1!==void 0?z1:lt.unstable_useMutableSource,$5=(V1=lt.useSyncExternalStore)!==null&&V1!==void 0?V1:lt.unstable_useSyncExternalStore;function Lte(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null}function Dte(){return Zn("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:Zn("recoil_sync_external_store")&&$5!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:Zn("recoil_mutable_source")&&H5!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?Zn("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:Zn("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Rte(){return!1}var Cv={createMutableSource:Ite,useMutableSource:H5,useSyncExternalStore:$5,currentRendererSupportsUseSyncExternalStore:Lte,reactMode:Dte,isFastRefreshEnabled:Rte};const j5={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0};function Pte(){var e,t,n;if(typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)==null)return;const r=(t={}.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED)===null||t===void 0||(n=t.toLowerCase())===null||n===void 0?void 0:n.trim();if(r==null||r==="")return;if(!["true","false"].includes(r))throw Xt(`({}).RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED value must be 'true', 'false', or empty: ${r}`);j5.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=r==="true"}Pte();var z5=j5;class fI{constructor(t){Wt(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class V5 extends fI{}class K5 extends fI{}function Ute(e){return e instanceof V5||e instanceof K5}var eC={AbstractRecoilValue:fI,RecoilState:V5,RecoilValueReadOnly:K5,isRecoilValue:Ute},Nte=eC.AbstractRecoilValue,Mte=eC.RecoilState,Qte=eC.RecoilValueReadOnly,Hte=eC.isRecoilValue,Zh=Object.freeze({__proto__:null,AbstractRecoilValue:Nte,RecoilState:Mte,RecoilValueReadOnly:Qte,isRecoilValue:Hte});function $te(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var tC=$te;class W5{}const jte=new W5,Yf=new Map,dI=new Map;function zte(e){return tC(e,t=>vr(dI.get(t)))}function Vte(e){if(Yf.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in 98 production. But it is safe to ignore this warning if it occurred because of 99 hot module replacement.`;console.warn(t)}}function Kte(e){z5.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&Vte(e.key),Yf.set(e.key,e);const t=e.set==null?new Zh.RecoilValueReadOnly(e.key):new Zh.RecoilState(e.key);return dI.set(e.key,t),t}class G5 extends Error{}function Wte(e){const t=Yf.get(e);if(t==null)throw new G5(`Missing definition for RecoilValue: "${e}""`);return t}function Gte(e){return Yf.get(e)}const Xw=new Map;function Yte(e){var t;if(!Zn("recoil_memory_managament_2020"))return;const n=Yf.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;Yf.delete(e),(r=Y5(e))===null||r===void 0||r(),Xw.delete(e)}}function qte(e,t){Zn("recoil_memory_managament_2020")&&(t===void 0?Xw.delete(e):Xw.set(e,t))}function Y5(e){return Xw.get(e)}var jo={nodes:Yf,recoilValues:dI,registerNode:Kte,getNode:Wte,getNodeMaybe:Gte,deleteNodeConfigIfPossible:Yte,setConfigDeletionHandler:qte,getConfigDeletionHandler:Y5,recoilValuesForKeys:zte,NodeMissingError:G5,DefaultValue:W5,DEFAULT_VALUE:jte};function Zte(e,t){t()}var Xte={enqueueExecution:Zte};function Jte(e,t){return t={exports:{}},e(t,t.exports),t.exports}var ene=Jte(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(me){return typeof me}:function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},n={},r=5,i=Math.pow(2,r),o=i-1,a=i/2,s=i/4,l={},u=function(he){return function(){return he}},f=n.hash=function(me){var he=typeof me>"u"?"undefined":t(me);if(he==="number")return me;he!=="string"&&(me+="");for(var Fe=0,Ce=0,Se=me.length;Ce<Se;++Ce){var Ie=me.charCodeAt(Ce);Fe=(Fe<<5)-Fe+Ie|0}return Fe},d=function(he){return he-=he>>1&1431655765,he=(he&858993459)+(he>>2&858993459),he=he+(he>>4)&252645135,he+=he>>8,he+=he>>16,he&127},g=function(he,Fe){return Fe>>>he&o},m=function(he){return 1<<he},v=function(he,Fe){return d(he&Fe-1)},y=function(he,Fe,Ce,Se){var Ie=Se;if(!he){var st=Se.length;Ie=new Array(st);for(var at=0;at<st;++at)Ie[at]=Se[at]}return Ie[Fe]=Ce,Ie},x=function(he,Fe,Ce){var Se=Ce.length-1,Ie=0,st=0,at=Ce;if(he)Ie=st=Fe;else for(at=new Array(Se);Ie<Fe;)at[st++]=Ce[Ie++];for(++Ie;Ie<=Se;)at[st++]=Ce[Ie++];return he&&(at.length=Se),at},C=function(he,Fe,Ce,Se){var Ie=Se.length;if(he){for(var st=Ie;st>=Fe;)Se[st--]=Se[st];return Se[Fe]=Ce,Se}for(var at=0,dt=0,it=new Array(Ie+1);at<Fe;)it[dt++]=Se[at++];for(it[Fe]=Ce;at<Ie;)it[++dt]=Se[at++];return it},b=1,E=2,T=3,D=4,I={__hamt_isEmpty:!0},U=function(he){return he===I||he&&he.__hamt_isEmpty},H=function(he,Fe,Ce,Se){return{type:b,edit:he,hash:Fe,key:Ce,value:Se,_modify:X}},V=function(he,Fe,Ce){return{type:E,edit:he,hash:Fe,children:Ce,_modify:ge}},j=function(he,Fe,Ce){return{type:T,edit:he,mask:Fe,children:Ce,_modify:N}},z=function(he,Fe,Ce){return{type:D,edit:he,size:Fe,children:Ce,_modify:pe}},q=function(he){return he===I||he.type===b||he.type===E},Z=function(he,Fe,Ce,Se,Ie){for(var st=[],at=Se,dt=0,it=0;at;++it)at&1&&(st[it]=Ie[dt++]),at>>>=1;return st[Fe]=Ce,z(he,dt+1,st)},ae=function(he,Fe,Ce,Se){for(var Ie=new Array(Fe-1),st=0,at=0,dt=0,it=Se.length;dt<it;++dt)if(dt!==Ce){var tn=Se[dt];tn&&!U(tn)&&(Ie[st++]=tn,at|=1<<dt)}return j(he,at,Ie)},G=function me(he,Fe,Ce,Se,Ie,st){if(Ce===Ie)return V(he,Ce,[st,Se]);var at=g(Fe,Ce),dt=g(Fe,Ie);return j(he,m(at)|m(dt),at===dt?[me(he,Fe+r,Ce,Se,Ie,st)]:at<dt?[Se,st]:[st,Se])},ee=function(he,Fe,Ce,Se,Ie,st,at,dt){for(var it=Ie.length,tn=0;tn<it;++tn){var Jn=Ie[tn];if(Ce(at,Jn.key)){var Ct=Jn.value,ft=st(Ct);return ft===Ct?Ie:ft===l?(--dt.value,x(he,tn,Ie)):y(he,tn,H(Fe,Se,at,ft),Ie)}}var kt=st();return kt===l?Ie:(++dt.value,y(he,it,H(Fe,Se,at,kt),Ie))},re=function(he,Fe){return he===Fe.edit},X=function(he,Fe,Ce,Se,Ie,st,at){if(Fe(st,this.key)){var dt=Se(this.value);return dt===this.value?this:dt===l?(--at.value,I):re(he,this)?(this.value=dt,this):H(he,Ie,st,dt)}var it=Se();return it===l?this:(++at.value,G(he,Ce,this.hash,this,Ie,H(he,Ie,st,it)))},ge=function(he,Fe,Ce,Se,Ie,st,at){if(Ie===this.hash){var dt=re(he,this),it=ee(dt,he,Fe,this.hash,this.children,Se,st,at);return it===this.children?this:it.length>1?V(he,this.hash,it):it[0]}var tn=Se();return tn===l?this:(++at.value,G(he,Ce,this.hash,this,Ie,H(he,Ie,st,tn)))},N=function(he,Fe,Ce,Se,Ie,st,at){var dt=this.mask,it=this.children,tn=g(Ce,Ie),Jn=m(tn),Ct=v(dt,Jn),ft=dt&Jn,kt=ft?it[Ct]:I,Me=kt._modify(he,Fe,Ce+r,Se,Ie,st,at);if(kt===Me)return this;var Ue=re(he,this),be=dt,Je=void 0;if(ft&&U(Me)){if(be&=~Jn,!be)return I;if(it.length<=2&&q(it[Ct^1]))return it[Ct^1];Je=x(Ue,Ct,it)}else if(!ft&&!U(Me)){if(it.length>=a)return Z(he,tn,Me,dt,it);be|=Jn,Je=C(Ue,Ct,Me,it)}else Je=y(Ue,Ct,Me,it);return Ue?(this.mask=be,this.children=Je,this):j(he,be,Je)},pe=function(he,Fe,Ce,Se,Ie,st,at){var dt=this.size,it=this.children,tn=g(Ce,Ie),Jn=it[tn],Ct=(Jn||I)._modify(he,Fe,Ce+r,Se,Ie,st,at);if(Jn===Ct)return this;var ft=re(he,this),kt=void 0;if(U(Jn)&&!U(Ct))++dt,kt=y(ft,tn,Ct,it);else if(!U(Jn)&&U(Ct)){if(--dt,dt<=s)return ae(he,dt,tn,it);kt=y(ft,tn,I,it)}else kt=y(ft,tn,Ct,it);return ft?(this.size=dt,this.children=kt,this):z(he,dt,kt)};I._modify=function(me,he,Fe,Ce,Se,Ie,st){var at=Ce();return at===l?I:(++st.value,H(me,Se,Ie,at))};function W(me,he,Fe,Ce,Se){this._editable=me,this._edit=he,this._config=Fe,this._root=Ce,this._size=Se}W.prototype.setTree=function(me,he){return this._editable?(this._root=me,this._size=he,this):me===this._root?this:new W(this._editable,this._edit,this._config,me,he)};var P=n.tryGetHash=function(me,he,Fe,Ce){for(var Se=Ce._root,Ie=0,st=Ce._config.keyEq;;)switch(Se.type){case b:return st(Fe,Se.key)?Se.value:me;case E:{if(he===Se.hash)for(var at=Se.children,dt=0,it=at.length;dt<it;++dt){var tn=at[dt];if(st(Fe,tn.key))return tn.value}return me}case T:{var Jn=g(Ie,he),Ct=m(Jn);if(Se.mask&Ct){Se=Se.children[v(Se.mask,Ct)],Ie+=r;break}return me}case D:{if(Se=Se.children[g(Ie,he)],Se){Ie+=r;break}return me}default:return me}};W.prototype.tryGetHash=function(me,he,Fe){return P(me,he,Fe,this)};var te=n.tryGet=function(me,he,Fe){return P(me,Fe._config.hash(he),he,Fe)};W.prototype.tryGet=function(me,he){return te(me,he,this)};var J=n.getHash=function(me,he,Fe){return P(void 0,me,he,Fe)};W.prototype.getHash=function(me,he){return J(me,he,this)},n.get=function(me,he){return P(void 0,he._config.hash(me),me,he)},W.prototype.get=function(me,he){return te(he,me,this)};var oe=n.has=function(me,he,Fe){return P(l,me,he,Fe)!==l};W.prototype.hasHash=function(me,he){return oe(me,he,this)};var _e=n.has=function(me,he){return oe(he._config.hash(me),me,he)};W.prototype.has=function(me){return _e(me,this)};var ce=function(he,Fe){return he===Fe};n.make=function(me){return new W(0,0,{keyEq:me&&me.keyEq||ce,hash:me&&me.hash||f},I,0)},n.empty=n.make();var fe=n.isEmpty=function(me){return me&&!!U(me._root)};W.prototype.isEmpty=function(){return fe(this)};var we=n.modifyHash=function(me,he,Fe,Ce){var Se={value:Ce._size},Ie=Ce._root._modify(Ce._editable?Ce._edit:NaN,Ce._config.keyEq,0,me,he,Fe,Se);return Ce.setTree(Ie,Se.value)};W.prototype.modifyHash=function(me,he,Fe){return we(Fe,me,he,this)};var Ae=n.modify=function(me,he,Fe){return we(me,Fe._config.hash(he),he,Fe)};W.prototype.modify=function(me,he){return Ae(he,me,this)};var Pe=n.setHash=function(me,he,Fe,Ce){return we(u(Fe),me,he,Ce)};W.prototype.setHash=function(me,he,Fe){return Pe(me,he,Fe,this)};var ke=n.set=function(me,he,Fe){return Pe(Fe._config.hash(me),me,he,Fe)};W.prototype.set=function(me,he){return ke(me,he,this)};var $e=u(l),Xe=n.removeHash=function(me,he,Fe){return we($e,me,he,Fe)};W.prototype.removeHash=W.prototype.deleteHash=function(me,he){return Xe(me,he,this)};var gt=n.remove=function(me,he){return Xe(he._config.hash(me),me,he)};W.prototype.remove=W.prototype.delete=function(me){return gt(me,this)};var mt=n.beginMutation=function(me){return new W(me._editable+1,me._edit+1,me._config,me._root,me._size)};W.prototype.beginMutation=function(){return mt(this)};var At=n.endMutation=function(me){return me._editable=me._editable&&me._editable-1,me};W.prototype.endMutation=function(){return At(this)};var on=n.mutate=function(me,he){var Fe=mt(he);return me(Fe),At(Fe)};W.prototype.mutate=function(me){return on(me,this)};var je=function(he){return he&&Rt(he[0],he[1],he[2],he[3],he[4])},Rt=function(he,Fe,Ce,Se,Ie){for(;Ce<he;){var st=Fe[Ce++];if(st&&!U(st))return Fn(st,Se,[he,Fe,Ce,Se,Ie])}return je(Ie)},Fn=function(he,Fe,Ce){switch(he.type){case b:return{value:Fe(he),rest:Ce};case E:case D:case T:var Se=he.children;return Rt(Se.length,Se,0,Fe,Ce);default:return je(Ce)}},Tn={done:!0};function In(me){this.v=me}In.prototype.next=function(){if(!this.v)return Tn;var me=this.v;return this.v=je(me.rest),me},In.prototype[Symbol.iterator]=function(){return this};var Kn=function(he,Fe){return new In(Fn(he._root,Fe))},Lr=function(he){return[he.key,he.value]},Ee=n.entries=function(me){return Kn(me,Lr)};W.prototype.entries=W.prototype[Symbol.iterator]=function(){return Ee(this)};var Qe=function(he){return he.key},rt=n.keys=function(me){return Kn(me,Qe)};W.prototype.keys=function(){return rt(this)};var bt=function(he){return he.value},jt=n.values=W.prototype.values=function(me){return Kn(me,bt)};W.prototype.values=function(){return jt(this)};var Un=n.fold=function(me,he,Fe){var Ce=Fe._root;if(Ce.type===b)return me(he,Ce.value,Ce.key);for(var Se=[Ce.children],Ie=void 0;Ie=Se.pop();)for(var st=0,at=Ie.length;st<at;){var dt=Ie[st++];dt&&dt.type&&(dt.type===b?he=me(he,dt.value,dt.key):Se.push(dt.children))}return he};W.prototype.fold=function(me,he){return Un(me,he,this)};var Xn=n.forEach=function(me,he){return Un(function(Fe,Ce,Se){return me(Ce,Se,he)},null,he)};W.prototype.forEach=function(me){return Xn(me,this)};var Cn=n.count=function(me){return me._size};W.prototype.count=function(){return Cn(this)},Object.defineProperty(W.prototype,"size",{get:W.prototype.count}),e.exports?e.exports=n:(void 0).hamt=n});class tne{constructor(t){Wt(this,"_map",void 0),this._map=new Map(t==null?void 0:t.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(t){return this._map.get(t)}has(t){return this._map.has(t)}set(t,n){return this._map.set(t,n),this}delete(t){return this._map.delete(t),this}clone(){return pI(this)}toMap(){return new Map(this._map)}}class hI{constructor(t){if(Wt(this,"_hamt",ene.empty.beginMutation()),t instanceof hI){const n=t._hamt.endMutation();t._hamt=n.beginMutation(),this._hamt=n.beginMutation()}else if(t)for(const[n,r]of t.entries())this._hamt.set(n,r)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(t){return this._hamt.get(t)}has(t){return this._hamt.has(t)}set(t,n){return this._hamt.set(t,n),this}delete(t){return this._hamt.delete(t),this}clone(){return pI(this)}toMap(){return new Map(this._hamt)}}function pI(e){return Zn("recoil_hamt_2020")?new hI(e):new tne(e)}var nne={persistentMap:pI},rne=nne.persistentMap,ine=Object.freeze({__proto__:null,persistentMap:rne});function one(e,...t){const n=new Set;e:for(const r of e){for(const i of t)if(i.has(r))continue e;n.add(r)}return n}var lm=one;function ane(e,t){const n=new Map;return e.forEach((r,i)=>{n.set(i,t(r,i))}),n}var Jw=ane;function sne(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function lne(e){return{nodeDeps:Jw(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:Jw(e.nodeToNodeSubscriptions,t=>new Set(t))}}function K1(e,t,n,r){const{nodeDeps:i,nodeToNodeSubscriptions:o}=n,a=i.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;i.set(e,t);const s=a==null?t:lm(t,a);for(const l of s)o.has(l)||o.set(l,new Set),vr(o.get(l)).add(e);if(a){const l=lm(a,t);for(const u of l){if(!o.has(u))return;const f=vr(o.get(u));f.delete(e),f.size===0&&o.delete(u)}}}function Ane(e,t,n,r){var i,o,a,s;const l=n.getState();r===l.currentTree.version||r===((i=l.nextTree)===null||i===void 0?void 0:i.version)||((o=l.previousTree)===null||o===void 0||o.version);const u=n.getGraph(r);if(K1(e,t,u),r===((a=l.previousTree)===null||a===void 0?void 0:a.version)){const d=n.getGraph(l.currentTree.version);K1(e,t,d,u)}if(r===((s=l.previousTree)===null||s===void 0?void 0:s.version)||r===l.currentTree.version){var f;const d=(f=l.nextTree)===null||f===void 0?void 0:f.version;if(d!==void 0){const g=n.getGraph(d);K1(e,t,g,u)}}}var xv={cloneGraph:lne,graph:sne,saveDepsToStore:Ane};let une=0;const cne=()=>une++;let fne=0;const dne=()=>fne++;let hne=0;const pne=()=>hne++;var nC={getNextTreeStateVersion:cne,getNextStoreID:dne,getNextComponentID:pne};const{persistentMap:fU}=ine,{graph:gne}=xv,{getNextTreeStateVersion:q5}=nC;function Z5(){const e=q5();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:fU(),nonvalidatedAtoms:fU()}}function mne(){const e=Z5();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,gne()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var X5={makeEmptyTreeState:Z5,makeEmptyStoreState:mne,getNextTreeStateVersion:q5};class J5{}function vne(){return new J5}var rC={RetentionZone:J5,retentionZone:vne};function _ne(e,t){const n=new Set(e);return n.add(t),n}function yne(e,t){const n=new Set(e);return n.delete(t),n}function wne(e,t,n){const r=new Map(e);return r.set(t,n),r}function bne(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function Bne(e,t){const n=new Map(e);return n.delete(t),n}function Cne(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var e6={setByAddingToSet:_ne,setByDeletingFromSet:yne,mapBySettingInMap:wne,mapByUpdatingInMap:bne,mapByDeletingFromMap:Bne,mapByDeletingMultipleFromMap:Cne};function*xne(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var gI=xne;function Ene(e,t){return new Proxy(e,{get:(r,i)=>(!(i in r)&&i in t&&(r[i]=t[i]()),r[i]),ownKeys:r=>Object.keys(r)})}var t6=Ene;const{getNode:Ev,getNodeMaybe:Sne,recoilValuesForKeys:dU}=jo,{RetentionZone:hU}=rC,{setByAddingToSet:Fne}=e6,Tne=Object.freeze(new Set);class One extends Error{}function kne(e,t,n){if(!Zn("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function i(o){let a=r.get(o);a||r.set(o,a=new Set),a.add(t)}if(n instanceof hU)i(n);else if(Array.isArray(n))for(const o of n)i(o);return()=>{if(!Zn("recoil_memory_managament_2020"))return;const{retention:o}=e.getState();function a(s){const l=o.nodesRetainedByZone.get(s);l==null||l.delete(t),l&&l.size===0&&o.nodesRetainedByZone.delete(s)}if(n instanceof hU)a(n);else if(Array.isArray(n))for(const s of n)a(s)}}function mI(e,t,n,r){const i=e.getState();if(i.nodeCleanupFunctions.has(n))return;const o=Ev(n),a=kne(e,n,o.retainedBy),s=o.init(e,t,r);i.nodeCleanupFunctions.set(n,()=>{s(),a()})}function Ine(e,t,n){mI(e,e.getState().currentTree,t,n)}function Lne(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function Dne(e,t,n){return mI(e,t,n,"get"),Ev(n).get(e,t)}function n6(e,t,n){return Ev(n).peek(e,t)}function Rne(e,t,n){var r;const i=Sne(t);return i==null||(r=i.invalidate)===null||r===void 0||r.call(i,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:Fne(e.dirtyAtoms,t)}}function Pne(e,t,n,r){const i=Ev(n);if(i.set==null)throw new One(`Attempt to set read-only RecoilValue: ${n}`);const o=i.set;return mI(e,t,n,"set"),o(e,t,r)}function Une(e,t,n){const r=e.getState(),i=e.getGraph(t.version),o=Ev(n).nodeType;return t6({type:o},{loadable:()=>n6(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>o==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var a;return dU((a=i.nodeDeps.get(n))!==null&&a!==void 0?a:[])},subscribers:()=>{var a,s;return{nodes:dU(gI(r6(e,t,new Set([n])),l=>l!==n)),components:tC((a=(s=r.nodeToComponentSubscriptions.get(n))===null||s===void 0?void 0:s.values())!==null&&a!==void 0?a:[],([l])=>({name:l}))}}})}function r6(e,t,n){const r=new Set,i=Array.from(n),o=e.getGraph(t.version);for(let s=i.pop();s;s=i.pop()){var a;r.add(s);const l=(a=o.nodeToNodeSubscriptions.get(s))!==null&&a!==void 0?a:Tne;for(const u of l)r.has(u)||i.push(u)}return r}var gc={getNodeLoadable:Dne,peekNodeLoadable:n6,setNodeValue:Pne,initializeNode:Ine,cleanUpNode:Lne,setUnvalidatedAtomValue_DEPRECATED:Rne,peekNodeInfo:Une,getDownstreamNodes:r6};let i6=null;function Nne(e){i6=e}function Mne(){var e;(e=i6)===null||e===void 0||e()}var o6={setInvalidateMemoizedSnapshot:Nne,invalidateMemoizedSnapshot:Mne};const{getDownstreamNodes:Qne,getNodeLoadable:a6,setNodeValue:Hne}=gc,{getNextComponentID:$ne}=nC,{getNode:jne,getNodeMaybe:s6}=jo,{DefaultValue:vI}=jo,{reactMode:zne}=Cv,{AbstractRecoilValue:Vne,RecoilState:Kne,RecoilValueReadOnly:Wne,isRecoilValue:Gne}=Zh,{invalidateMemoizedSnapshot:Yne}=o6;function qne(e,{key:t},n=e.getState().currentTree){var r,i;const o=e.getState();n.version===o.currentTree.version||n.version===((r=o.nextTree)===null||r===void 0?void 0:r.version)||(n.version,(i=o.previousTree)===null||i===void 0||i.version);const a=a6(e,n,t);return a.state==="loading"&&a.contents.catch(()=>{}),a}function Zne(e,t){const n=e.clone();return t.forEach((r,i)=>{r.state==="hasValue"&&r.contents instanceof vI?n.delete(i):n.set(i,r)}),n}function Xne(e,t,{key:n},r){if(typeof r=="function"){const i=a6(e,t,n);if(i.state==="loading"){const o=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw Xt(o)}else if(i.state==="hasError")throw i.contents;return r(i.contents)}else return r}function Jne(e,t,n){if(n.type==="set"){const{recoilValue:i,valueOrUpdater:o}=n,a=Xne(e,t,i,o),s=Hne(e,t,i.key,a);for(const[l,u]of s.entries())pF(t,l,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:i},loadable:o}=n;pF(t,i,o)}else if(n.type==="markModified"){const{recoilValue:{key:i}}=n;t.dirtyAtoms.add(i)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:i},unvalidatedValue:o}=n,a=s6(i);a==null||(r=a.invalidate)===null||r===void 0||r.call(a,t),t.atomValues.delete(i),t.nonvalidatedAtoms.set(i,o),t.dirtyAtoms.add(i)}else cI(`Unknown action ${n.type}`)}function pF(e,t,n){n.state==="hasValue"&&n.contents instanceof vI?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function l6(e,t){e.replaceState(n=>{const r=A6(n);for(const i of t)Jne(e,r,i);return u6(e,r),Yne(),r})}function iC(e,t){if(Am.length){const n=Am[Am.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else l6(e,[t])}const Am=[];function ere(){const e=new Map;return Am.push(e),()=>{for(const[t,n]of e)l6(t,n);Am.pop()}}function A6(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function u6(e,t){const n=Qne(e,t,t.dirtyAtoms);for(const o of n){var r,i;(r=s6(o))===null||r===void 0||(i=r.invalidate)===null||i===void 0||i.call(r,t)}}function c6(e,t,n){iC(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function tre(e,t,n){if(n instanceof vI)return c6(e,t,n);iC(e,{type:"setLoadable",recoilValue:t,loadable:n})}function nre(e,t){iC(e,{type:"markModified",recoilValue:t})}function rre(e,t,n){iC(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function ire(e,{key:t},n,r=null){const i=$ne(),o=e.getState();o.nodeToComponentSubscriptions.has(t)||o.nodeToComponentSubscriptions.set(t,new Map),vr(o.nodeToComponentSubscriptions.get(t)).set(i,[r??"<not captured>",n]);const a=zne();if(a.early&&(a.mode==="LEGACY"||a.mode==="MUTABLE_SOURCE")){const s=e.getState().nextTree;s&&s.dirtyAtoms.has(t)&&n(s)}return{release:()=>{const s=e.getState(),l=s.nodeToComponentSubscriptions.get(t);l===void 0||!l.has(i)||(l.delete(i),l.size===0&&s.nodeToComponentSubscriptions.delete(t))}}}function ore(e,t){var n;const{currentTree:r}=e.getState(),i=jne(t.key);(n=i.clearCache)===null||n===void 0||n.call(i,e,r)}var xl={RecoilValueReadOnly:Wne,AbstractRecoilValue:Vne,RecoilState:Kne,getRecoilValueAsLoadable:qne,setRecoilValue:c6,setRecoilValueLoadable:tre,markRecoilValueModified:nre,setUnvalidatedRecoilValue:rre,subscribeToRecoilValue:ire,isRecoilValue:Gne,applyAtomValueWrites:Zne,batchStart:ere,writeLoadableToTreeState:pF,invalidateDownstreams:u6,copyTreeState:A6,refreshRecoilValue:ore};function are(e,t,n){const r=e.entries();let i=r.next();for(;!i.done;){const o=i.value;if(t.call(n,o[1],o[0],e))return!0;i=r.next()}return!1}var sre=are;const{cleanUpNode:lre}=gc,{deleteNodeConfigIfPossible:Are,getNode:f6}=jo,{RetentionZone:d6}=rC,ure=12e4,h6=new Set;function p6(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree)return;const i=new Set;for(const a of t)if(a instanceof d6)for(const s of hre(n,a))i.add(s);else i.add(a);const o=cre(e,i);for(const a of o)dre(e,r,a)}function cre(e,t){const n=e.getState(),r=n.currentTree,i=e.getGraph(r.version),o=new Set,a=new Set;return s(t),o;function s(l){const u=new Set,f=fre(e,r,l,o,a);for(const v of f){var d;if(f6(v).retainedBy==="recoilRoot"){a.add(v);continue}if(((d=n.retention.referenceCounts.get(v))!==null&&d!==void 0?d:0)>0){a.add(v);continue}if(g6(v).some(x=>n.retention.referenceCounts.get(x))){a.add(v);continue}const y=i.nodeToNodeSubscriptions.get(v);if(y&&sre(y,x=>a.has(x))){a.add(v);continue}o.add(v),u.add(v)}const g=new Set;for(const v of u)for(const y of(m=i.nodeDeps.get(v))!==null&&m!==void 0?m:h6){var m;o.has(y)||g.add(y)}g.size&&s(g)}}function fre(e,t,n,r,i){const o=e.getGraph(t.version),a=[],s=new Set;for(;n.size>0;)l(vr(n.values().next().value));return a;function l(u){if(r.has(u)||i.has(u)){n.delete(u);return}if(s.has(u))return;const f=o.nodeToNodeSubscriptions.get(u);if(f)for(const d of f)l(d);s.add(u),n.delete(u),a.push(u)}}function dre(e,t,n){if(!Zn("recoil_memory_managament_2020"))return;lre(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const i=g6(n);for(const l of i){var o;(o=r.retention.nodesRetainedByZone.get(l))===null||o===void 0||o.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const a=r.graphsByVersion.get(t.version);if(a){const l=a.nodeDeps.get(n);if(l!==void 0){a.nodeDeps.delete(n);for(const u of l){var s;(s=a.nodeToNodeSubscriptions.get(u))===null||s===void 0||s.delete(n)}}a.nodeToNodeSubscriptions.delete(n)}Are(n)}function hre(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:h6}function g6(e){const t=f6(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof d6?[t]:t}function pre(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):p6(e,new Set([t]))}function gre(e,t,n){var r;if(!Zn("recoil_memory_managament_2020"))return;const i=e.getState().retention.referenceCounts,o=((r=i.get(t))!==null&&r!==void 0?r:0)+n;o===0?m6(e,t):i.set(t,o)}function m6(e,t){if(!Zn("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),pre(e,t)}function mre(e){if(!Zn("recoil_memory_managament_2020"))return;const t=e.getState();p6(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function vre(e){return e===void 0?"recoilRoot":e}var rd={SUSPENSE_TIMEOUT_MS:ure,updateRetainCount:gre,updateRetainCountToZero:m6,releaseScheduledRetainablesNow:mre,retainedByOptionWithDefault:vre};const{unstable_batchedUpdates:_re}=oee;var yre={unstable_batchedUpdates:_re};const{unstable_batchedUpdates:wre}=yre;var bre={unstable_batchedUpdates:wre};const{batchStart:Bre}=xl,{unstable_batchedUpdates:Cre}=bre;let _I=Cre;const xre=e=>{_I=e},Ere=()=>_I,Sre=e=>{_I(()=>{let t=()=>{};try{t=Bre(),e()}finally{t()}})};var oC={getBatcher:Ere,setBatcher:xre,batchUpdates:Sre};function*Fre(e){for(const t of e)for(const n of t)yield n}var v6=Fre;const _6=typeof Window>"u"||typeof window>"u",Tre=e=>!_6&&(e===window||e instanceof Window),Ore=typeof navigator<"u"&&navigator.product==="ReactNative";var yI={isSSR:_6,isReactNative:Ore,isWindow:Tre};function kre(e,t){let n;return(...i)=>{n||(n={});const o=t(...i);return Object.hasOwnProperty.call(n,o)||(n[o]=e(...i)),n[o]}}function Ire(e,t){let n,r;return(...o)=>{const a=t(...o);return n===a||(n=a,r=e(...o)),r}}function Lre(e,t){let n,r;return[(...a)=>{const s=t(...a);return n===s||(n=s,r=e(...a)),r},()=>{n=null}]}var Dre={memoizeWithArgsHash:kre,memoizeOneWithArgsHash:Ire,memoizeOneWithArgsHashAndInvalidation:Lre};const{batchUpdates:gF}=oC,{initializeNode:Rre,peekNodeInfo:Pre}=gc,{graph:Ure}=xv,{getNextStoreID:Nre}=nC,{DEFAULT_VALUE:Mre,recoilValues:pU,recoilValuesForKeys:gU}=jo,{AbstractRecoilValue:Qre,getRecoilValueAsLoadable:Hre,setRecoilValue:mU,setUnvalidatedRecoilValue:$re}=xl,{updateRetainCount:p0}=rd,{setInvalidateMemoizedSnapshot:jre}=o6,{getNextTreeStateVersion:zre,makeEmptyStoreState:Vre}=X5,{isSSR:Kre}=yI,{memoizeOneWithArgsHashAndInvalidation:Wre}=Dre;class aC{constructor(t,n){Wt(this,"_store",void 0),Wt(this,"_refCount",1),Wt(this,"getLoadable",r=>(this.checkRefCount_INTERNAL(),Hre(this._store,r))),Wt(this,"getPromise",r=>(this.checkRefCount_INTERNAL(),this.getLoadable(r).toPromise())),Wt(this,"getNodes_UNSTABLE",r=>{if(this.checkRefCount_INTERNAL(),(r==null?void 0:r.isModified)===!0){if((r==null?void 0:r.isInitialized)===!1)return[];const a=this._store.getState().currentTree;return gU(a.dirtyAtoms)}const i=this._store.getState().knownAtoms,o=this._store.getState().knownSelectors;return(r==null?void 0:r.isInitialized)==null?pU.values():r.isInitialized===!0?gU(v6([i,o])):gI(pU.values(),({key:a})=>!i.has(a)&&!o.has(a))}),Wt(this,"getInfo_UNSTABLE",({key:r})=>(this.checkRefCount_INTERNAL(),Pre(this._store,this._store.getState().currentTree,r))),Wt(this,"map",r=>{this.checkRefCount_INTERNAL();const i=new mF(this,gF);return r(i),i}),Wt(this,"asyncMap",async r=>{this.checkRefCount_INTERNAL();const i=new mF(this,gF);return i.retain(),await r(i),i.autoRelease_INTERNAL(),i}),this._store={storeID:Nre(),parentStoreID:n,getState:()=>t,replaceState:r=>{t.currentTree=r(t.currentTree)},getGraph:r=>{const i=t.graphsByVersion;if(i.has(r))return vr(i.get(r));const o=Ure();return i.set(r,o),o},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Xt("Cannot subscribe to Snapshots")}};for(const r of this._store.getState().knownAtoms)Rre(this._store,r,"get"),p0(this._store,r,1);this.autoRelease_INTERNAL()}retain(){this._refCount<=0,this._refCount++;let t=!1;return()=>{t||(t=!0,this._release())}}autoRelease_INTERNAL(){Kre||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(t=>t()),this._store.getState().nodeCleanupFunctions.clear(),!Zn("recoil_memory_managament_2020"))return}else this._refCount<0}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){Zn("recoil_memory_managament_2020")&&this._refCount<=0}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function y6(e,t,n=!1){const r=e.getState(),i=n?zre():t.version;return{currentTree:{version:n?i:t.version,stateID:n?i:t.stateID,transactionMetadata:{...t.transactionMetadata},dirtyAtoms:new Set(t.dirtyAtoms),atomValues:t.atomValues.clone(),nonvalidatedAtoms:t.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(r.knownAtoms),knownSelectors:new Set(r.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(i,e.getGraph(t.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(tC(r.nodeCleanupFunctions.entries(),([o])=>[o,()=>{}]))}}function Gre(e){const t=new aC(Vre());return e!=null?t.map(e):t}const[vU,w6]=Wre((e,t)=>{var n;const r=e.getState(),i=t==="latest"?(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree:vr(r.previousTree);return new aC(y6(e,i),e.storeID)},(e,t)=>{var n,r;return String(t)+String(e.storeID)+String((n=e.getState().nextTree)===null||n===void 0?void 0:n.version)+String(e.getState().currentTree.version)+String((r=e.getState().previousTree)===null||r===void 0?void 0:r.version)});jre(w6);function Yre(e,t="latest"){const n=vU(e,t);return n.isRetained()?n:(w6(),vU(e,t))}class mF extends aC{constructor(t,n){super(y6(t.getStore_INTERNAL(),t.getStore_INTERNAL().getState().currentTree,!0),t.getStoreID()),Wt(this,"_batch",void 0),Wt(this,"set",(r,i)=>{this.checkRefCount_INTERNAL();const o=this.getStore_INTERNAL();this._batch(()=>{p0(o,r.key,1),mU(this.getStore_INTERNAL(),r,i)})}),Wt(this,"reset",r=>{this.checkRefCount_INTERNAL();const i=this.getStore_INTERNAL();this._batch(()=>{p0(i,r.key,1),mU(this.getStore_INTERNAL(),r,Mre)})}),Wt(this,"setUnvalidatedAtomValues_DEPRECATED",r=>{this.checkRefCount_INTERNAL();const i=this.getStore_INTERNAL();gF(()=>{for(const[o,a]of r.entries())p0(i,o,1),$re(i,new Qre(o),a)})}),this._batch=n}}var sC={Snapshot:aC,MutableSnapshot:mF,freshSnapshot:Gre,cloneSnapshot:Yre},qre=sC.Snapshot,Zre=sC.MutableSnapshot,Xre=sC.freshSnapshot,Jre=sC.cloneSnapshot,lC=Object.freeze({__proto__:null,Snapshot:qre,MutableSnapshot:Zre,freshSnapshot:Xre,cloneSnapshot:Jre});function eie(...e){const t=new Set;for(const n of e)for(const r of n)t.add(r);return t}var tie=eie;const{useRef:nie}=lt;function rie(e){const t=nie(e);return t.current===e&&typeof e=="function"&&(t.current=e()),t}var _U=rie;const{getNextTreeStateVersion:iie,makeEmptyStoreState:b6}=X5,{cleanUpNode:oie,getDownstreamNodes:aie,initializeNode:sie,setNodeValue:lie,setUnvalidatedAtomValue_DEPRECATED:Aie}=gc,{graph:uie}=xv,{cloneGraph:cie}=xv,{getNextStoreID:B6}=nC,{createMutableSource:W1,reactMode:C6}=Cv,{applyAtomValueWrites:fie}=xl,{releaseScheduledRetainablesNow:x6}=rd,{freshSnapshot:die}=lC,{useCallback:hie,useContext:E6,useEffect:vF,useMemo:pie,useRef:gie,useState:mie}=lt;function Ag(){throw Xt("This component must be used inside a <RecoilRoot> component.")}const S6=Object.freeze({storeID:B6(),getState:Ag,replaceState:Ag,getGraph:Ag,subscribeToTransactions:Ag,addTransactionMetadata:Ag});let _F=!1;function yU(e){if(_F)throw Xt("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const t=e.getState();if(t.nextTree===null){Zn("recoil_memory_managament_2020")&&Zn("recoil_release_on_cascading_update_killswitch_2021")&&t.commitDepth>0&&x6(e);const n=t.currentTree.version,r=iie();t.nextTree={...t.currentTree,version:r,stateID:r,dirtyAtoms:new Set,transactionMetadata:{}},t.graphsByVersion.set(r,cie(vr(t.graphsByVersion.get(n))))}}const F6=lt.createContext({current:S6}),AC=()=>E6(F6),T6=lt.createContext(null);function vie(){return E6(T6)}function wI(e,t,n){const r=aie(e,n,n.dirtyAtoms);for(const i of r){const o=t.nodeToComponentSubscriptions.get(i);if(o)for(const[a,[s,l]]of o)l(n)}}function O6(e){const t=e.getState(),n=t.currentTree,r=n.dirtyAtoms;if(r.size){for(const[i,o]of t.nodeTransactionSubscriptions)if(r.has(i))for(const[a,s]of o)s(e);for(const[i,o]of t.transactionSubscriptions)o(e);(!C6().early||t.suspendedComponentResolvers.size>0)&&(wI(e,t,n),t.suspendedComponentResolvers.forEach(i=>i()),t.suspendedComponentResolvers.clear())}t.queuedComponentCallbacks_DEPRECATED.forEach(i=>i(n)),t.queuedComponentCallbacks_DEPRECATED.splice(0,t.queuedComponentCallbacks_DEPRECATED.length)}function _ie(e){const t=e.getState();t.commitDepth++;try{const{nextTree:n}=t;if(n==null)return;t.previousTree=t.currentTree,t.currentTree=n,t.nextTree=null,O6(e),t.previousTree!=null?t.graphsByVersion.delete(t.previousTree.version):cI("Ended batch with no previous state, which is unexpected","recoil"),t.previousTree=null,Zn("recoil_memory_managament_2020")&&n==null&&x6(e)}finally{t.commitDepth--}}function yie({setNotifyBatcherOfChange:e}){const t=AC(),[,n]=mie([]);return e(()=>n({})),vF(()=>(e(()=>n({})),()=>{e(()=>{})}),[e]),vF(()=>{Xte.enqueueExecution("Batcher",()=>{_ie(t.current)})}),null}function wie(e,t){const n=b6();return t({set:(r,i)=>{const o=n.currentTree,a=lie(e,o,r.key,i),s=new Set(a.keys()),l=o.nonvalidatedAtoms.clone();for(const u of s)l.delete(u);n.currentTree={...o,dirtyAtoms:tie(o.dirtyAtoms,s),atomValues:fie(o.atomValues,a),nonvalidatedAtoms:l}},setUnvalidatedAtomValues:r=>{r.forEach((i,o)=>{n.currentTree=Aie(n.currentTree,o,i)})}}),n}function bie(e){const t=die(e),n=t.getStore_INTERNAL().getState();return t.retain(),n.nodeCleanupFunctions.forEach(r=>r()),n.nodeCleanupFunctions.clear(),n}let wU=0;function Bie({initializeState_DEPRECATED:e,initializeState:t,store_INTERNAL:n,children:r}){let i;const o=m=>{const v=i.current.graphsByVersion;if(v.has(m))return vr(v.get(m));const y=uie();return v.set(m,y),y},a=(m,v)=>{if(v==null){const{transactionSubscriptions:y}=d.current.getState(),x=wU++;return y.set(x,m),{release:()=>{y.delete(x)}}}else{const{nodeTransactionSubscriptions:y}=d.current.getState();y.has(v)||y.set(v,new Map);const x=wU++;return vr(y.get(v)).set(x,m),{release:()=>{const C=y.get(v);C&&(C.delete(x),C.size===0&&y.delete(v))}}}},s=m=>{yU(d.current);for(const v of Object.keys(m))vr(d.current.getState().nextTree).transactionMetadata[v]=m[v]},l=m=>{yU(d.current);const v=vr(i.current.nextTree);let y;try{_F=!0,y=m(v)}finally{_F=!1}
99y!==v&&(i.current.nextTree=y,C6().early&&wI(d.current,i.current,y),vr(u.current)())},u=gie(null),f=hie(m=>{u.current=m},[u]),d=_U(()=>n??{storeID:B6(),getState:()=>i.current,replaceState:l,getGraph:o,subscribeToTransactions:a,addTransactionMetadata:s});n!=null&&(d.current=n),i=_U(()=>e!=null?wie(d.current,e):t!=null?bie(t):b6());const g=pie(()=>W1==null?void 0:W1(i,()=>i.current.currentTree.version),[i]);return vF(()=>{const m=d.current;for(const v of new Set(m.getState().knownAtoms))sie(m,v,"get");return()=>{for(const v of m.getState().knownAtoms)oie(m,v)}},[d]),lt.createElement(F6.Provider,{value:d},lt.createElement(T6.Provider,{value:g},lt.createElement(yie,{setNotifyBatcherOfChange:f}),r))}function Cie(e){const{override:t,...n}=e,r=AC();return t===!1&&r.current!==S6?e.children:lt.createElement(Bie,n)}function xie(){return AC().current.storeID}var MA={RecoilRoot:Cie,useStoreRef:AC,useRecoilMutableSource:vie,useRecoilStoreID:xie,notifyComponents_FOR_TESTING:wI,sendEndOfBatchNotifications_FOR_TESTING:O6};function Eie(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0}var Sie=Eie;const{useEffect:Fie,useRef:Tie}=lt;function Oie(e){const t=Tie();return Fie(()=>{t.current=e}),t.current}var k6=Oie;const{useStoreRef:kie}=MA,{SUSPENSE_TIMEOUT_MS:Iie}=rd,{updateRetainCount:ug}=rd,{RetentionZone:Lie}=rC,{useEffect:Die,useRef:Rie}=lt,{isSSR:bU}=yI;function Pie(e){if(Zn("recoil_memory_managament_2020"))return Uie(e)}function Uie(e){const n=(Array.isArray(e)?e:[e]).map(a=>a instanceof Lie?a:a.key),r=kie();Die(()=>{if(!Zn("recoil_memory_managament_2020"))return;const a=r.current;if(i.current&&!bU)window.clearTimeout(i.current),i.current=null;else for(const s of n)ug(a,s,1);return()=>{for(const s of n)ug(a,s,-1)}},[r,...n]);const i=Rie(),o=k6(n);if(!bU&&(o===void 0||!Sie(o,n))){const a=r.current;for(const s of n)ug(a,s,1);if(o)for(const s of o)ug(a,s,-1);i.current&&window.clearTimeout(i.current),i.current=window.setTimeout(()=>{i.current=null;for(const s of n)ug(a,s,-1)},Iie)}}var bI=Pie;function Nie(){return"<component name not available>"}var Sv=Nie;const{batchUpdates:Mie}=oC,{DEFAULT_VALUE:I6}=jo,{currentRendererSupportsUseSyncExternalStore:Qie,reactMode:vp,useMutableSource:Hie,useSyncExternalStore:$ie}=Cv,{useRecoilMutableSource:jie,useStoreRef:El}=MA,{AbstractRecoilValue:yF,getRecoilValueAsLoadable:Fv,setRecoilValue:eb,setUnvalidatedRecoilValue:zie,subscribeToRecoilValue:Xh}=xl,{useCallback:Ho,useEffect:Jh,useMemo:L6,useRef:um,useState:BI}=lt,{setByAddingToSet:Vie}=e6;function CI(e,t,n){if(e.state==="hasValue")return e.contents;throw e.state==="loading"?new Promise(i=>{n.current.getState().suspendedComponentResolvers.add(i)}):e.state==="hasError"?e.contents:Xt(`Invalid value of loadable atom "${t.key}"`)}function Kie(){const e=Sv(),t=El(),[,n]=BI([]),r=um(new Set);r.current=new Set;const i=um(new Set),o=um(new Map),a=Ho(l=>{const u=o.current.get(l);u&&(u.release(),o.current.delete(l))},[o]),s=Ho((l,u)=>{o.current.has(u)&&n([])},[]);return Jh(()=>{const l=t.current;lm(r.current,i.current).forEach(u=>{if(o.current.has(u))return;const f=Xh(l,new yF(u),g=>s(g,u),e);o.current.set(u,f),l.getState().nextTree?l.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{s(l.getState(),u)}):s(l.getState(),u)}),lm(i.current,r.current).forEach(u=>{a(u)}),i.current=r.current}),Jh(()=>{const l=o.current;return lm(r.current,new Set(l.keys())).forEach(u=>{const f=Xh(t.current,new yF(u),d=>s(d,u),e);l.set(u,f)}),()=>l.forEach((u,f)=>a(f))},[e,t,a,s]),L6(()=>{function l(v){return y=>{eb(t.current,v,y)}}function u(v){return()=>eb(t.current,v,I6)}function f(v){var y;r.current.has(v.key)||(r.current=Vie(r.current,v.key));const x=t.current.getState();return Fv(t.current,v,vp().early&&(y=x.nextTree)!==null&&y!==void 0?y:x.currentTree)}function d(v){const y=f(v);return CI(y,v,t)}function g(v){return[d(v),l(v)]}function m(v){return[f(v),l(v)]}
vendor: 3,205 bytes, line 99
99return{getRecoilValue:d,getRecoilValueLoadable:f,getRecoilState:g,getRecoilStateLoadable:m,getSetRecoilState:l,getResetRecoilState:u}},[r,t])}const Wie={current:0};function Gie(e){const t=El(),n=Sv(),r=Ho(()=>{var s;const l=t.current,u=l.getState(),f=vp().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return{loadable:Fv(l,e,f),key:e.key}},[t,e]),i=Ho(s=>{let l;return()=>{var u,f;const d=s();return(u=l)!==null&&u!==void 0&&u.loadable.is(d.loadable)&&((f=l)===null||f===void 0?void 0:f.key)===d.key?l:(l=d,d)}},[]),o=L6(()=>i(r),[r,i]),a=Ho(s=>{const l=t.current;return Xh(l,e,s,n).release},[t,e,n]);return $ie(a,o,o).loadable}function Yie(e){const t=El(),n=Ho(()=>{var u;const f=t.current,d=f.getState(),g=vp().early&&(u=d.nextTree)!==null&&u!==void 0?u:d.currentTree;return Fv(f,e,g)},[t,e]),r=Ho(()=>n(),[n]),i=Sv(),o=Ho((u,f)=>{const d=t.current;return Xh(d,e,()=>{if(!Zn("recoil_suppress_rerender_in_callback"))return f();const m=n();l.current.is(m)||f(),l.current=m},i).release},[t,e,i,n]),a=jie();if(a==null)throw Xt("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const s=Hie(a,r,o),l=um(s);return Jh(()=>{l.current=s}),s}function wF(e){const t=El(),n=Sv(),r=Ho(()=>{var l;const u=t.current,f=u.getState(),d=vp().early&&(l=f.nextTree)!==null&&l!==void 0?l:f.currentTree;return Fv(u,e,d)},[t,e]),i=Ho(()=>({loadable:r(),key:e.key}),[r,e.key]),o=Ho(l=>{const u=i();return l.loadable.is(u.loadable)&&l.key===u.key?l:u},[i]);Jh(()=>{const l=Xh(t.current,e,u=>{s(o)},n);return s(o),l.release},[n,e,t,o]);const[a,s]=BI(i);return a.key!==e.key?i().loadable:a.loadable}function qie(e){const t=El(),[,n]=BI([]),r=Sv(),i=Ho(()=>{var s;const l=t.current,u=l.getState(),f=vp().early&&(s=u.nextTree)!==null&&s!==void 0?s:u.currentTree;return Fv(l,e,f)},[t,e]),o=i(),a=um(o);return Jh(()=>{a.current=o}),Jh(()=>{const s=t.current,l=s.getState(),u=Xh(s,e,d=>{var g;if(!Zn("recoil_suppress_rerender_in_callback"))return n([]);const m=i();(g=a.current)!==null&&g!==void 0&&g.is(m)||n(m),a.current=m},r);if(l.nextTree)s.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a.current=null,n([])});else{var f;if(!Zn("recoil_suppress_rerender_in_callback"))return n([]);const d=i();(f=a.current)!==null&&f!==void 0&&f.is(d)||n(d),a.current=d}return u.release},[r,i,e,t]),o}function xI(e){return Zn("recoil_memory_managament_2020")&&bI(e),{TRANSITION_SUPPORT:wF,SYNC_EXTERNAL_STORE:Qie()?Gie:wF,MUTABLE_SOURCE:Yie,LEGACY:qie}[vp().mode](e)}function D6(e){const t=El(),n=xI(e);return CI(n,e,t)}function uC(e){const t=El();return Ho(n=>{eb(t.current,e,n)},[t,e])}function Zie(e){const t=El();return Ho(()=>{eb(t.current,e,I6)},[t,e])}function Xie(e){return[D6(e),uC(e)]}function Jie(e){return[xI(e),uC(e)]}function eoe(){const e=El();return(t,n={})=>{Mie(()=>{e.current.addTransactionMetadata(n),t.forEach((r,i)=>zie(e.current,new yF(i),r))})}}function R6(e){return Zn("recoil_memory_managament_2020")&&bI(e),wF(e)}function P6(e){const t=El(),n=R6(e);return CI(n,e,t)}function toe(e){return[P6(e),uC(e)]}var noe={recoilComponentGetRecoilValueCount_FOR_TESTING:Wie,useRecoilInterface:Kie,useRecoilState:Xie,useRecoilStateLoadable:Jie,useRecoilValue:D6,useRecoilValueLo
99adable:xI,useResetRecoilState:Zie,useSetRecoilState:uC,useSetUnvalidatedAtomValues:eoe,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:R6,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:P6,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:toe};function roe(e,t){const n=new Map;for(const[r,i]of e)t(i,r)&&n.set(r,i);return n}var ioe=roe;function ooe(e,t){const n=new Set;for(const r of e)t(r)&&n.add(r);return n}var aoe=ooe;function soe(...e){const t=new Map;for(let n=0;n<e.length;n++){const r=e[n].keys();let i;for(;!(i=r.next()).done;)t.set(i.value,e[n].get(i.value))}return t}var loe=soe;const{batchUpdates:Aoe}=oC,{DEFAULT_VALUE:uoe,getNode:U6,nodes:coe}=jo,{useStoreRef:EI}=MA,{AbstractRecoilValue:foe,setRecoilValueLoadable:doe}=xl,{SUSPENSE_TIMEOUT_MS:hoe}=rd,{cloneSnapshot:tb}=lC,{useCallback:cC,useEffect:N6,useRef:BU,useState:poe}=lt,{isSSR:CU}=yI;function fC(e){const t=EI();N6(()=>t.current.subscribeToTransactions(e).release,[e,t])}function xU(e){const t=e.atomValues.toMap(),n=Jw(ioe(t,(r,i)=>{const a=U6(i).persistence_UNSTABLE;return a!=null&&a.type!=="none"&&r.state==="hasValue"}),r=>r.contents);return loe(e.nonvalidatedAtoms.toMap(),n)}function goe(e){fC(cC(t=>{let n=t.getState().previousTree;const r=t.getState().currentTree;n||(n=t.getState().currentTree);const i=xU(r),o=xU(n),a=Jw(coe,l=>{var u,f,d,g;return{persistence_UNSTABLE:{type:(u=(f=l.persistence_UNSTABLE)===null||f===void 0?void 0:f.type)!==null&&u!==void 0?u:"none",backButton:(d=(g=l.persistence_UNSTABLE)===null||g===void 0?void 0:g.backButton)!==null&&d!==void 0?d:!1}}}),s=aoe(r.dirtyAtoms,l=>i.has(l)||o.has(l));e({atomValues:i,previousAtomValues:o,atomInfo:a,modifiedAtoms:s,transactionMetadata:{...r.transactionMetadata}})},[e]))}function moe(e){fC(cC(t=>{const n=tb(t,"latest"),r=tb(t,"previous");e({snapshot:n,previousSnapshot:r})},[e]))}function voe(){const e=EI(),[t,n]=poe(()=>tb(e.current)),r=k6(t),i=BU(),o=BU();if(fC(cC(s=>n(tb(s)),[])),N6(()=>{const s=t.retain();if(i.current&&!CU){var l;window.clearTimeout(i.current),i.current=null,(l=o.current)===null||l===void 0||l.call(o),o.current=null}return()=>{window.setTimeout(s,10)}},[t]),r!==t&&!CU){if(i.current){var a;window.clearTimeout(i.current),i.current=null,(a=o.current)===null||a===void 0||a.call(o),o.current=null}o.current=t.retain(),i.current=window.setTimeout(()=>{var s;i.current=null,(s=o.current)===null||s===void 0||s.call(o),o.current=null},hoe)}return t}function M6(e,t){var n;const r=e.getState(),i=(n=r.nextTree)!==null&&n!==void 0?n:r.currentTree,o=t.getStore_INTERNAL().getState().currentTree;Aoe(()=>{const a=new Set;for(const u of[i.atomValues.keys(),o.atomValues.keys()])for(const f of u){var s,l;((s=i.atomValues.get(f))===null||s===void 0?void 0:s.contents)!==((l=o.atomValues.get(f))===null||l===void 0?void 0:l.contents)&&U6(f).shouldRestoreFromSnapshots&&a.add(f)}a.forEach(u=>{doe(e,new foe(u),o.atomValues.has(u)?vr(o.atomValues.get(u)):uoe)}),e.replaceState(u=>({...u,stateID:t.getID()}))})}function _oe(){const e=EI();return cC(t=>M6(e.current,t),[e])}var Q6={useRecoilSnapshot:voe,gotoSnapshot:M6,useGotoRecoilSnapshot:_oe,useRecoilTransactionObserver:moe,useTransactionObservation_DEPRECATED:goe,useTransactionSubscription_DEPRECATED:fC};const{peekNodeInfo:yoe}=gc,{useStoreRef:woe}=MA;function boe(){const e=woe();return({key:t})=>yoe(e.current,e.current.getState().currentTree,t)}var Boe=boe;const{reactMode:Coe}=Cv,{RecoilRoot:xoe,useStoreRef:Eoe}=MA,{useMemo:Soe}=lt;function Foe(){Coe().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const e=Eoe().current;return Soe(()=>{function t({children:n}){return lt.createElement(xoe,{store_INTERNAL:e},n)}return t},[e])}var Toe=Foe;const{loadableWithValue:Ooe}=Bv,{initializeNode:koe}=gc,{DEFAULT_VALUE:Ioe,getNode:Loe}=jo,{copyTreeState:Doe,getRecoilValueAsLoadable:Roe,invalidateDownstreams:Poe,writeLoadableToTreeState:Uoe}=xl;function EU(e){return Loe(e.key).nodeType==="atom"}class Noe{constructor(t,n){Wt(this,"_store",void 0),Wt(this,"_treeState",void 0),Wt(this,"_changes",void 0),Wt(this,"get",r=>{if(this._changes.has(r.key))return this._changes.get(r.key);if(!EU(r))throw Xt("Reading selectors within atomicUpdate is not supported");const i=Roe(this._store,r,this._treeState);if(i.state==="hasValue")return i.contents;throw i.state==="hasError"?i.contents:Xt(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`)}),Wt(this,"set",(r,i)=>{if(!EU(r))throw Xt("Setting selectors within atomicUpdate is not supported");if(typeof i=="function"){const o=this.get(r);this._changes.set(r.key,i(o))}else koe(this._store,r.key,"set"),this._changes.set(r.key,i)}),Wt(this,"reset",r=>{this.set(r,Ioe)}),this._store=t,this._treeState=n,this._changes=new Map}
vendor: 4,683 bytes, line 99
99newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const t=Doe(this._treeState);for(const[n,r]of this._changes)Uoe(t,n,Ooe(r));return Poe(this._store,t),t}}function Moe(e){return t=>{e.replaceState(n=>{const r=new Noe(e,n);return t(r),r.newTreeState_INTERNAL()})}}var Qoe={atomicUpdater:Moe},Hoe=Qoe.atomicUpdater,H6=Object.freeze({__proto__:null,atomicUpdater:Hoe});function $oe(e,t){if(!e)throw new Error(t)}var joe=$oe,Pg=joe;const{atomicUpdater:zoe}=H6,{batchUpdates:Voe}=oC,{DEFAULT_VALUE:Koe}=jo,{useStoreRef:Woe}=MA,{refreshRecoilValue:Goe,setRecoilValue:SU}=xl,{cloneSnapshot:Yoe}=lC,{gotoSnapshot:qoe}=Q6,{useCallback:Zoe}=lt;class $6{}const Xoe=new $6;function j6(e,t,n,r){let i=Xoe,o;if(Voe(()=>{const s="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof t!="function")throw Xt(s);const l=t6({...r??{},set:(f,d)=>SU(e,f,d),reset:f=>SU(e,f,Koe),refresh:f=>Goe(e,f),gotoSnapshot:f=>qoe(e,f),transact_UNSTABLE:f=>zoe(e)(f)},{snapshot:()=>{const f=Yoe(e);return o=f.retain(),f}}),u=t(l);if(typeof u!="function")throw Xt(s);i=u(...n)}),i instanceof $6&&Pg(!1),mr(i))i.finally(()=>{var s;(s=o)===null||s===void 0||s()});else{var a;(a=o)===null||a===void 0||a()}return i}function Joe(e,t){const n=Woe();return Zoe((...r)=>j6(n.current,e,r),t!=null?[...t,n]:void 0)}var z6={recoilCallback:j6,useRecoilCallback:Joe};const{useStoreRef:eae}=MA,{refreshRecoilValue:tae}=xl,{useCallback:nae}=lt;function rae(e){const t=eae();return nae(()=>{const n=t.current;tae(n,e)},[e,t])}var iae=rae;const{atomicUpdater:oae}=H6,{useStoreRef:aae}=MA,{useMemo:sae}=lt;function lae(e,t){const n=aae();return sae(()=>(...r)=>{oae(n.current)(o=>{e(o)(...r)})},t!=null?[...t,n]:void 0)}var Aae=lae;class uae{constructor(t){Wt(this,"value",void 0),this.value=t}}var cae={WrappedValue:uae},fae=cae.WrappedValue,V6=Object.freeze({__proto__:null,WrappedValue:fae});const{isFastRefreshEnabled:dae}=Cv;class FU extends Error{}class hae{constructor(t){var n,r,i;Wt(this,"_name",void 0),Wt(this,"_numLeafs",void 0),Wt(this,"_root",void 0),Wt(this,"_onHit",void 0),Wt(this,"_onSet",void 0),Wt(this,"_mapNodeValue",void 0),this._name=t==null?void 0:t.name,this._numLeafs=0,this._root=null,this._onHit=(n=t==null?void 0:t.onHit)!==null&&n!==void 0?n:()=>{},this._onSet=(r=t==null?void 0:t.onSet)!==null&&r!==void 0?r:()=>{},this._mapNodeValue=(i=t==null?void 0:t.mapNodeValue)!==null&&i!==void 0?i:o=>o}size(){return this._numLeafs}root(){return this._root}get(t,n){var r;return(r=this.getLeafNode(t,n))===null||r===void 0?void 0:r.value}getLeafNode(t,n){if(this._root==null)return;let r=this._root;for(;r;){if(n==null||n.onNodeVisit(r),r.type==="leaf")return this._onHit(r),r;const i=this._mapNodeValue(t(r.nodeKey));r=r.branches.get(i)}}set(t,n,r){const i=()=>{var o,a,s,l;let u,f;for(const[x,C]of t){var d,g,m;const b=this._root;if((b==null?void 0:b.type)==="leaf")throw this.invalidCacheError();const E=u;if(u=E?E.branches.get(f):b,u=(d=u)!==null&&d!==void 0?d:{type:"branch",nodeKey:x,parent:E,branches:new Map,branchKey:f},u.type!=="branch"||u.nodeKey!==x)throw this.invalidCacheError();E==null||E.branches.set(f,u),r==null||(g=r.onNodeVisit)===null||g===void 0||g.call(r,u),f=this._mapNodeValue(C),this._root=(m=this._root)!==null&&m!==void 0?m:u}const v=u?(o=u)===null||o===void 0?void 0:o.branches.get(f):this._root;if(v!=null&&(v.type!=="leaf"||v.branchKey!==f))throw this.invalidCacheError();const y={type:"leaf",value:n,parent:u,branchKey:f};(a=u)===null||a===void 0||a.branches.set(f,y),this._root=(s=this._root)!==null&&s!==void 0?s:y,this._numLeafs++,this._onSet(y),r==null||(l=r.onNodeVisit)===null||l===void 0||l.call(r,y)};try{i()}catch(o){if(o instanceof FU)this.clear(),i();else throw o}}delete(t){const n=this.root();if(!n)return!1;if(t===n)return this._root=null,this._numLeafs=0,!0;let r=t.parent,i=t.branchKey;for(;r;){var o;if(r.branches.delete(i),r===n)return r.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(r.branches.size>0)break;i=(o=r)===null||o===void 0?void 0:o.branchKey,r=r.parent}for(;r!==n;r=r.parent)if(r==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const t=dae()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cac
99he values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw cI(t+(this._name!=null?` - ${this._name}`:"")),new FU}}var pae={TreeCache:hae},gae=pae.TreeCache,K6=Object.freeze({__proto__:null,TreeCache:gae});class mae{constructor(t){var n;Wt(this,"_maxSize",void 0),Wt(this,"_size",void 0),Wt(this,"_head",void 0),Wt(this,"_tail",void 0),Wt(this,"_map",void 0),Wt(this,"_keyMapper",void 0),this._maxSize=t.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(n=t.mapKey)!==null&&n!==void 0?n:r=>r}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(t){return this._map.has(this._keyMapper(t))}get(t){const n=this._keyMapper(t),r=this._map.get(n);if(r)return this.set(t,r.value),r.value}set(t,n){const r=this._keyMapper(t);this._map.get(r)&&this.delete(t);const o=this.head(),a={key:t,right:o,left:null,value:n};o?o.left=a:this._tail=a,this._map.set(r,a),this._head=a,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const t=this.tail();t&&this.delete(t.key)}delete(t){const n=this._keyMapper(t);if(!this._size||!this._map.has(n))return;const r=vr(this._map.get(n)),i=r.right,o=r.left;i&&(i.left=r.left),o&&(o.right=r.right),r===this.head()&&(this._head=i),r===this.tail()&&(this._tail=o),this._map.delete(n),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var vae={LRUCache:mae},_ae=vae.LRUCache,W6=Object.freeze({__proto__:null,LRUCache:_ae});const{LRUCache:yae}=W6,{TreeCache:wae}=K6;function bae({name:e,maxSize:t,mapNodeValue:n=r=>r}){const r=new yae({maxSize:t}),i=new wae({name:e,mapNodeValue:n,onHit:o=>{r.set(o,!0)},onSet:o=>{const a=r.tail();r.set(o,!0),a&&i.size()>t&&i.delete(a.key)}});return i}var TU=bae;function Cs(e,t,n){if(typeof e=="string"&&!e.includes('"')&&!e.includes("\\"))return`"${e}"`;switch(typeof e){case"undefined":return"";case"boolean":return e?"true":"false";case"number":case"symbol":return String(e);case"string":return JSON.stringify(e);case"function":if((t==null?void 0:t.allowFunctions)!==!0)throw Xt("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${e.name})__`}if(e===null)return"null";if(typeof e!="object"){var r;return(r=JSON.stringify(e))!==null&&r!==void 0?r:""}if(mr(e))return"__PROMISE__";if(Array.isArray(e))return`[${e.map((i,o)=>Cs(i,t,o.toString()))}]`;if(typeof e.toJSON=="function")return Cs(e.toJSON(n),t,n);if(e instanceof Map){const i={};for(const[o,a]of e)i[typeof o=="string"?o:Cs(o,t)]=a;return Cs(i,t,n)}return e instanceof Set?Cs(Array.from(e).sort((i,o)=>Cs(i,t).localeCompare(Cs(o,t))),t,n):Symbol!==void 0&&e[Symbol.iterator]!=null&&typeof e[Symbol.iterator]=="function"?Cs(Array.from(e),t,n):`{${Object.keys(e).filter(i=>e[i]!==void 0).sort().map(i=>`${Cs(i,t)}:${Cs(e[i],t,i)}`).join(",")}}`}function Bae(e,t={allowFunctions:!1}){return Cs(e,t)}var dC=Bae;const{TreeCache:Cae}=K6,Y_={equality:"reference",eviction:"keep-all",maxSize:1/0};function xae({equality:e=Y_.equality,eviction:t=Y_.eviction,maxSize:n=Y_.maxSize}=Y_,r){const i=Eae(e);return Sae(t,n,i,r)}function Eae(e){switch(e){case"reference":return t=>t;case"value":return t=>dC(t)}throw Xt(`Unrecognized equality policy ${e}`)}function Sae(e,t,n,r){switch(e){case"keep-all":return new Cae({name:r,mapNodeValue:n});case"lru":return TU({name:r,maxSize:vr(t),mapNodeValue:n});case"most-recent":return TU({name:r,maxSize:1,mapNodeValue:n})}throw Xt(`Unrecognized eviction policy ${e}`)}var Fae=xae;function Tae(e){return()=>null}var Oae={startPerfBlock:Tae};const{isLoadable:kae,loadableWithError:q_,loadableWithPromise:Iae,loadableWithValue:G1}=Bv,{WrappedValue:G6}=V6,{getNodeLoadable:Z_,peekNodeLoadable:Lae,setNodeValue:Dae}=gc,{saveDepsToStore:Rae}=xv,{DEFAULT_VALUE:Pae,getConfigDeletionHandler:Uae,getNode:Nae,registerNode:OU}=jo,{isRecoilValue:Mae}=Zh,{markRecoilValueModified:kU}=xl,{retainedByOptionWithDefault:Qae}=rd,{recoilCallback:Hae}=z6,{startPerfBlock:$ae}=Oae;class Y6{}const cg=new Y6,fg=[],X_=new Map,jae=(()=>{let e=0;return()=>e++})();function q6(e){let t=null;const{key:n,get:r,cachePolicy_UNSTABLE:i}=e,o=e.set!=null?e.set:void 0,a=new Set,s=Fae(i??{equality:"reference",eviction:"keep-all"},n),l=Qae(e.retainedBy_UNSTABLE),u=new Map;let f=0;function d(){return!Zn("recoil_memory_managament_2020")||f>0}
vendor: 2,411 bytes, line 99
99function g(W){return W.getState().knownSelectors.add(n),f++,()=>{f--}}function m(){return Uae(n)!==void 0&&!d()}function v(W,P,te,J,oe){ee(P,J,oe),y(W,te)}function y(W,P){ae(W,P)&&Z(W),C(P,!0)}function x(W,P){ae(W,P)&&(vr(j(W)).stateVersions.clear(),C(P,!1))}function C(W,P){const te=X_.get(W);if(te!=null){for(const J of te)kU(J,vr(t));P&&X_.delete(W)}}function b(W,P){let te=X_.get(P);te==null&&X_.set(P,te=new Set),te.add(W)}function E(W,P,te,J,oe,_e){return P.then(ce=>{if(!d())throw Z(W),cg;const fe=G1(ce);return v(W,te,oe,fe,J),ce}).catch(ce=>{if(!d())throw Z(W),cg;if(mr(ce))return T(W,ce,te,J,oe,_e);const fe=q_(ce);throw v(W,te,oe,fe,J),ce})}function T(W,P,te,J,oe,_e){return P.then(ce=>{if(!d())throw Z(W),cg;_e.loadingDepKey!=null&&_e.loadingDepPromise===P?te.atomValues.set(_e.loadingDepKey,G1(ce)):W.getState().knownSelectors.forEach(Pe=>{te.atomValues.delete(Pe)});const fe=U(W,te);if(fe&&fe.state!=="loading"){if((ae(W,oe)||j(W)==null)&&y(W,oe),fe.state==="hasValue")return fe.contents;throw fe.contents}if(!ae(W,oe)){const Pe=V(W,te);if(Pe!=null)return Pe.loadingLoadable.contents}const[we,Ae]=I(W,te,oe);if(we.state!=="loading"&&v(W,te,oe,we,Ae),we.state==="hasError")throw we.contents;return we.contents}).catch(ce=>{if(ce instanceof Y6)throw cg;if(!d())throw Z(W),cg;const fe=q_(ce);throw v(W,te,oe,fe,J),ce})}function D(W,P,te,J){var oe,_e,ce,fe;if(ae(W,J)||P.version===((oe=W.getState())===null||oe===void 0||(_e=oe.currentTree)===null||_e===void 0?void 0:_e.version)||P.version===((ce=W.getState())===null||ce===void 0||(fe=ce.nextTree)===null||fe===void 0?void 0:fe.version)){var we,Ae,Pe;Rae(n,te,W,(we=(Ae=W.getState())===null||Ae===void 0||(Pe=Ae.nextTree)===null||Pe===void 0?void 0:Pe.version)!==null&&we!==void 0?we:W.getState().currentTree.version)}for(const ke of te)a.add(ke)}function I(W,P,te){const J=$ae(n);let oe=!0,_e=!0;const ce=()=>{J(),_e=!1};let fe,we=!1,Ae;const Pe={loadingDepKey:null,loadingDepPromise:null},ke=new Map;function $e({key:gt}){const mt=Z_(W,P,gt);switch(ke.set(gt,mt),oe||(D(W,P,new Set(ke.keys()),te),x(W,te)),mt.state){case"hasValue":return mt.contents;case"hasError":throw mt.contents;case"loading":throw Pe.loadingDepKey=gt,Pe.loadingDepPromise=mt.contents,mt.contents}throw Xt("Invalid Loadable state")}const Xe=gt=>(...mt)=>{if(_e)throw Xt("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It c
99an be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return t==null&&Pg(!1),Hae(W,gt,mt,{node:t})};try{fe=r({get:$e,getCallback:Xe}),fe=Mae(fe)?$e(fe):fe,kae(fe)&&(fe.state==="hasError"&&(we=!0),fe=fe.contents),mr(fe)?fe=E(W,fe,P,ke,te,Pe).finally(ce):ce(),fe=fe instanceof G6?fe.value:fe}catch(gt){fe=gt,mr(fe)?fe=T(W,fe,P,ke,te,Pe).finally(ce):(we=!0,ce())}return we?Ae=q_(fe):mr(fe)?Ae=Iae(fe):Ae=G1(fe),oe=!1,q(W,te,ke),D(W,P,new Set(ke.keys()),te),[Ae,ke]}function U(W,P){let te=P.atomValues.get(n);if(te!=null)return te;const J=new Set;try{te=s.get(_e=>(typeof _e!="string"&&Pg(!1),Z_(W,P,_e).contents),{onNodeVisit:_e=>{_e.type==="branch"&&_e.nodeKey!==n&&J.add(_e.nodeKey)}})}catch(_e){throw Xt(`Problem with cache lookup for selector "${n}": ${_e.message}`)}if(te){var oe;P.atomValues.set(n,te),D(W,P,J,(oe=j(W))===null||oe===void 0?void 0:oe.executionID)}return te}function H(W,P){const te=U(W,P);if(te!=null)return Z(W),te;const J=V(W,P);if(J!=null){var oe;return((oe=J.loadingLoadable)===null||oe===void 0?void 0:oe.state)==="loading"&&b(W,J.executionID),J.loadingLoadable}const _e=jae(),[ce,fe]=I(W,P,_e);return ce.state==="loading"?(z(W,_e,ce,fe,P),b(W,_e)):(Z(W),ee(P,ce,fe)),ce}function V(W,P){const te=v6([u.has(W)?[vr(u.get(W))]:[],tC(gI(u,([oe])=>oe!==W),([,oe])=>oe)]);function J(oe){for(const[_e,ce]of oe)if(!Z_(W,P,_e).is(ce))return!0;return!1}for(const oe of te){if(oe.stateVersions.get(P.version)||!J(oe.depValuesDiscoveredSoFarDuringAsyncWork))return oe.stateVersions.set(P.version,!0),oe;oe.stateVersions.set(P.version,!1)}}function j(W){return u.get(W)}function z(W,P,te,J,oe){u.set(W,{depValuesDiscoveredSoFarDuringAsyncWork:J,executionID:P,loadingLoadable:te,stateVersions:new Map([[oe.version,!0]])})}function q(W,P,te){if(ae(W,P)){const J=j(W);J!=null&&(J.depValuesDiscoveredSoFarDuringAsyncWork=te)}}function Z(W){u.delete(W)}function ae(W,P){var te;return P===((te=j(W))===null||te===void 0?void 0:te.executionID)}function G(W){return Array.from(W.entries()).map(([P,te])=>[P,te.contents])}function ee(W,P,te){W.atomValues.set(n,P);try{s.set(G(te),P)}catch(J){throw Xt(`Problem with setting cache for selector "${n}": ${J.message}`)}}function re(W){if(fg.includes(n)){const P=`Recoil selector has circular dependencies: ${fg.slice(fg.indexOf(n)).join(" â ")}`;return q_(Xt(P))}fg.push(n);try{return W()}finally{fg.pop()}}function X(W,P){const te=P.atomValues.get(n);return te??s.get(J=>{var oe;return typeof J!="string"&&Pg(!1),(oe=Lae(W,P,J))===null||oe===void 0?void 0:oe.contents})}function ge(W,P){return re(()=>H(W,P))}function N(W){W.atomValues.delete(n)}function pe(W,P){t==null&&Pg(!1);for(const J of a){var te;const oe=Nae(J);(te=oe.clearCache)===null||te===void 0||te.call(oe,W,P)}a.clear(),N(P),s.clear(),kU(W,t)}return o!=null?t=OU({key:n,nodeType:"selector",peek:X,get:ge,set:(P,te,J)=>{let oe=!1;const _e=new Map;function ce({key:Pe}){if(oe)throw Xt("Recoil: Async selector sets are not currently supported.");const ke=Z_(P,te,Pe);if(ke.state==="hasValue")return ke.contents;if(ke.state==="loading"){const $e=`Getting value of asynchronous atom or selector "${Pe}" in a pending state while setting selector "${n}" is not yet supported.`;throw Xt($e)}else throw ke.contents}function fe(Pe,ke){if(oe)throw Xt("Recoil: Async selector sets are not currently supported.");const $e=typeof ke=="function"?ke(ce(Pe)):ke;Dae(P,te,Pe.key,$e).forEach((gt,mt)=>_e.set(mt,gt))}function we(Pe){fe(Pe,Pae)}const Ae=o({set:fe,get:ce,reset:we},J);if(Ae!==void 0)throw mr(Ae)?Xt("Recoil: Async selector sets are not currently supported."):Xt("Recoil: selector set should be a void function.");return oe=!0,_e},init:g,invalidate:N,clearCache:pe,shouldDeleteConfigOnRelease:m,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l}):t=OU({key:n,nodeType:"selector",peek:X,get:ge,init:g,invalidate:N,clearCache:pe,shouldDeleteConfigOnRelease:m,dangerouslyAllowMutability:e.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:l})}q6.value=e=>new G6(e);var ep=q6;const{isLoadable:zae,loadableWithError:Y1,loadableWithPromise:q1,loadableWithValue:Md}=Bv,{WrappedValue:Z6}=V6,{peekNodeInfo:Vae}
vendor: 10,276 bytes, line 99
99=gc,{DEFAULT_VALUE:bf,DefaultValue:Tu,getConfigDeletionHandler:X6,registerNode:Kae,setConfigDeletionHandler:Wae}=jo,{isRecoilValue:Gae}=Zh,{getRecoilValueAsLoadable:Yae,markRecoilValueModified:qae,setRecoilValue:IU,setRecoilValueLoadable:Zae}=xl,{retainedByOptionWithDefault:Xae}=rd,dg=e=>e instanceof Z6?e.value:e;function Jae(e){const{key:t,persistence_UNSTABLE:n}=e,r=Xae(e.retainedBy_UNSTABLE);let i=0;function o(b){return q1(b.then(E=>(a=Md(E),E)).catch(E=>{throw a=Y1(E),E}))}let a=mr(e.default)?o(e.default):zae(e.default)?e.default.state==="loading"?o(e.default.contents):e.default:Md(dg(e.default));a.contents;let s;const l=new Map;function u(b){return b}function f(b,E){const T=E.then(D=>{var I,U;return((U=((I=b.getState().nextTree)!==null&&I!==void 0?I:b.getState().currentTree).atomValues.get(t))===null||U===void 0?void 0:U.contents)===T&&IU(b,C,D),D}).catch(D=>{var I,U;throw((U=((I=b.getState().nextTree)!==null&&I!==void 0?I:b.getState().currentTree).atomValues.get(t))===null||U===void 0?void 0:U.contents)===T&&Zae(b,C,Y1(D)),D});return T}function d(b,E,T){var D;i++;const I=()=>{var j;i--,(j=l.get(b))===null||j===void 0||j.forEach(z=>z()),l.delete(b)};if(b.getState().knownAtoms.add(t),a.state==="loading"){const j=()=>{var z;((z=b.getState().nextTree)!==null&&z!==void 0?z:b.getState().currentTree).atomValues.has(t)||qae(b,C)};a.contents.finally(j)}const U=(D=e.effects)!==null&&D!==void 0?D:e.effects_UNSTABLE;if(U!=null){let ae=function(N){if(z&&N.key===t){const pe=j;return pe instanceof Tu?g(b,E):mr(pe)?q1(pe.then(W=>W instanceof Tu?a.toPromise():W)):Md(pe)}return Yae(b,N)},G=function(N){return ae(N).toPromise()},ee=function(N){var pe;const W=Vae(b,(pe=b.getState().nextTree)!==null&&pe!==void 0?pe:b.getState().currentTree,N.key);return z&&N.key===t&&!(j instanceof Tu)?{...W,isSet:!0,loadable:ae(N)}:W},j=bf,z=!0,q=!1,Z=null;const re=N=>pe=>{if(z){const W=ae(C),P=W.state==="hasValue"?W.contents:bf;j=typeof pe=="function"?pe(P):pe,mr(j)&&(j=j.then(te=>(Z={effect:N,value:te},te)))}else{if(mr(pe))throw Xt("Setting atoms to async values is not implemented.");typeof pe!="function"&&(Z={effect:N,value:dg(pe)}),IU(b,C,typeof pe=="function"?W=>{const P=dg(pe(W));return Z={effect:N,value:P},P}:dg(pe))}},X=N=>()=>re(N)(bf),ge=N=>pe=>{var W;const{release:P}=b.subscribeToTransactions(te=>{var J;let{currentTree:oe,previousTree:_e}=te.getState();_e||(_e=oe);const ce=(J=oe.atomValues.get(t))!==null&&J!==void 0?J:a;if(ce.state==="hasValue"){var fe,we,Ae,Pe;const ke=ce.contents,$e=(fe=_e.atomValues.get(t))!==null&&fe!==void 0?fe:a,Xe=$e.state==="hasValue"?$e.contents:bf;((we=Z)===null||we===void 0?void 0:we.effect)!==N||((Ae=Z)===null||Ae===void 0?void 0:Ae.value)!==ke?pe(ke,Xe,!oe.atomValues.has(t)):((Pe=Z)===null||Pe===void 0?void 0:Pe.effect)===N&&(Z=null)}},t);l.set(b,[...(W=l.get(b))!==null&&W!==void 0?W:[],P])};for(const N of U)try{const pe=N({node:C,storeID:b.storeID,parentStoreID_UNSTABLE:b.parentStoreID,trigger:T,setSelf:re(N),resetSelf:X(N),onSet:ge(N),getPromise:G,getLoadable:ae,getInfo_UNSTABLE:ee});if(pe!=null){var H;l.set(b,[...(H=l.get(b))!==null&&H!==void 0?H:[],pe])}}catch(pe){j=pe,q=!0}if(z=!1,!(j instanceof Tu)){var V;const N=q?Y1(j):mr(j)?q1(f(b,j)):Md(dg(j));N.contents,E.atomValues.set(t,N),(V=b.getState().nextTree)===null||V===void 0||V.atomValues.set(t,N)}}return I}function g(b,E){var T,D;return(T=(D=E.atomValues.get(t))!==null&&D!==void 0?D:s)!==null&&T!==void 0?T:a}function m(b,E){if(E.atomValues.has(t))return vr(E.atomValues.get(t));if(E.nonvalidatedAtoms.has(t)){if(s!=null)return s;if(n==null)return a;const T=E.nonvalidatedAtoms.get(t),D=n.validator(T,bf);return s=D instanceof Tu?a:Md(D),s}else return a}function v(){s=void 0}function y(b,E,T){if(E.atomValues.has(t)){const D=vr(E.atomValues.get(t));if(D.state==="hasValue"&&T===D.contents)return new Map}else if(!E.nonvalidatedAtoms.has(t)&&T instanceof Tu)return new Map;return s=void 0,new Map().set(t,Md(T))}function x(){return X6(t)!==void 0&&i<=0}const C=Kae({key:t,nodeType:"atom",peek:g,get:m,set:y,init:d,invalidate:v,shouldDeleteConfigOnRelease:x,dangerouslyAllowMutability:e.dangerouslyAllowMutability,persistence_UNSTABLE:e.persistence_UNSTABLE?{type:e.persistence_UNSTABLE.type,backButton:e.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:r});return C}function SI(e){const{...t}=e,n="default"in e?e.default:new Promise(()=>{});return Gae(n)?ese({...t,default:n}):Jae({...t,default:n})}function ese(e){const t=SI({...e,default:bf,persistence_UNSTABLE:e.persistence_UNSTABLE===void 0?void 0:{...e.persistence_UNSTABLE,validator:r=>r instanceof Tu?r:vr(e.persistence_UNSTABLE).validator(r,bf)},effects:e.effects,effects_UNSTABLE:e.effects_UNSTABLE}),n=ep({key:`${e.key}__withFallback`,get:({get:r})=>{const i=r(t);return i instanceof Tu?e.default:i},set:({set:r},i)=>r(t,i),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:e.dangerouslyAllowMutability});return Wae(n.key,X6(e.key)),n}SI.value=e=>new Z6(e);var J6=SI;class tse{constructor(t){var n;Wt(this,"_map",void 0),Wt(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(n=t==null?void 0:t.mapKey)!==null&&n!==void 0?n:r=>r}size(){return this._map.size}has(t){return this._map.has(this._keyMapper(t))}get(t){return this._map.get(this._keyMapper(t))}set(t,n){this._map.set(this._keyMapper(t),n)}delete(t){this._map.delete(this._keyMapper(t))}clear(){this._map.clear()}}var nse={MapCache:tse},rse=nse.MapCache,ise=Object.freeze({__proto__:null,MapCache:rse});const{LRUCache:LU}=W6,{MapCache:ose}=ise,J_={equality:"reference",eviction:"none",maxSize:1/0};function ase({equality:e=J_.equality,eviction:t=J_.eviction,maxSize:n=J_.maxSize}=J_){const r=sse(e);return lse(t,n,r)}function sse(e){switch(e){case"reference":return t=>t;case"value":return t=>dC(t)}throw Xt(`Unrecognized equality policy ${e}`)}function lse(e,t,n){switch(e){case"keep-all":return new ose({mapKey:n});case"lru":return new LU({mapKey:n,maxSize:vr(t)});case"most-recent":return new LU({mapKey:n,maxSize:1})}throw Xt(`Unrecognized eviction policy ${e}`)}var ej=ase;const{setConfigDeletionHandler:Ase}=jo;function use(e){var t,n;const r=ej({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return i=>{var o,a;const s=r.get(i);if(s!=null)return s;const{cachePolicyForParams_UNSTABLE:l,...u}=e,f="default"in e?e.default:new Promise(()=>{}),d=J6({...u,key:`${e.key}__${(o=dC(i))!==null&&o!==void 0?o:"void"}`,default:typeof f=="function"?f(i):f,retainedBy_UNSTABLE:typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(i):e.retainedBy_UNSTABLE,effects:typeof e.effects=="function"?e.effects(i):typeof e.effects_UNSTABLE=="function"?e.effects_UNSTABLE(i):(a=e.effects)!==null&&a!==void 0?a:e.effects_UNSTABLE});return r.set(i,d),Ase(d.key,()=>{r.delete(i)}),d}}var cse=use;const{setConfigDeletionHandler:fse}=jo;let dse=0;function hse(e){var t,n;const r=ej({equality:(t=(n=e.cachePolicyForParams_UNSTABLE)===null||n===void 0?void 0:n.equality)!==null&&t!==void 0?t:"value",eviction:"keep-all"});return i=>{var o;let a;try{a=r.get(i)}catch(g){throw Xt(`Problem with cache lookup for selector ${e.key}: ${g.message}`)}if(a!=null)return a;const s=`${e.key}__selectorFamily/${(o=dC(i,{allowFunctions:!0}))!==null&&o!==void 0?o:"void"}/${dse++}`,l=g=>e.get(i)(g),u=e.cachePolicy_UNSTABLE,f=typeof e.retainedBy_UNSTABLE=="function"?e.retainedBy_UNSTABLE(i):e.retainedBy_UNSTABLE;let d;if(e.set!=null){const g=e.set;d=ep({key:s,get:l,set:(v,y)=>g(i)(v,y),cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f})}else d=ep({key:s,get:l,cachePolicy_UNSTABLE:u,dangerouslyAllowMutability:e.dangerouslyAllowMutability,retainedBy_UNSTABLE:f});return r.set(i,d),fse(d.key,()=>{r.delete(i)}),d}}var mc=hse;const pse=mc({key:"__constant",get:e=>()=>e,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function gse(e){return pse(e)}var mse=gse;const vse=mc({key:"__error",get:e=>()=>{throw Xt(e)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function _se(e){return vse(e)}var yse=_se;function wse(e){return e}var bse=wse;const{loadableWithError:tj,loadableWithPromise:nj,loadableWithValue:rj}=Bv;function hC(e,t){const n=Array(t.length).fill(void 0),r=Array(t.length).fill(void 0);for(const[i,o]of t.entries())try{n[i]=e(o)}catch(a){r[i]=a}return[n,r]}function Bse(e){return e!=null&&!mr(e)}function pC(e){return Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(t=>e[t])}function bF(e,t){return Array.isArray(e)?t:Object.getOwnPropertyNames(e).reduce((n,r,i)=>({...n,[r]:t[i]}),{})}function Ih(e,t,n){const r=n.map((i,o)=>i==null?rj(t[o]):mr(i)?nj(i):tj(i));return bF(e,r)}function Cse(e,t){return t.map((n,r)=>n===void 0?e[r]:n)}const xse=mc({key:"__waitForNone",get:e=>({get:t})=>{const n=pC(e),[r,i]=hC(t,n);return Ih(e,r,i)},dangerouslyAllowMutability:!0}),Ese=mc({key:"__waitForAny",get:e=>({get:t})=>{const n=pC(e),[r,i]=hC(t,n);return i.some(o=>!mr(o))?Ih(e,r,i):new Promise(o=>{for(const[a,s]of i.entries())mr(s)&&s.then(l=>{r[a]=l,i[a]=void 0,o(Ih(e,r,i))}).catch(l=>{i[a]=l,o(Ih(e,r,i))})})},dangerouslyAllowMutability:!0}),Sse=mc({key:"__waitForAll",get:e=>({get:t})=>{const n=pC(e),[r,i]=hC(t,n);if(i.every(a=>a==null))return bF(e,r);const o=i.find(Bse);if(o!=null)throw o;return Promise.all(i).then(a=>bF(e,Cse(r,a)))},dangerouslyAllowMutability:!0}),Fse=mc({key:"__waitForAllSettled",get:e=>({get:t})=>{const n=pC(e),[r,i]=hC(t,n);return i.every(o=>!mr(o))?Ih(e,r,i):Promise.all(i.map((o,a)=>mr(o)?o.then(s=>{r[a]=s,i[a]=void 0}).catch(s=>{r[a]=void 0,i[a]=s}):null)).then(()=>Ih(e,r,i))},dangerouslyAllowMutability:!0}),Tse=mc({key:"__noWait",get:e=>({get:t})=>{try{return ep.value(rj(t(e)))}catch(n){return ep.value(mr(n)?nj(n):tj(n))}},dangerouslyAllowMutability:!0});var Ose={waitForNone:xse,waitForAny:Ese,waitForAll:Sse,waitForAllSettled:Fse,noWait:Tse};const{RecoilLoadable:kse}=Bv,{DefaultValue:Ise}=jo,{RecoilRoot:Lse,useRecoilStoreID:Dse}=MA,{isRecoilValue:Rse}=Zh,{retentionZone:Pse}=rC,{freshSnapshot:Use}=lC,{useRecoilState:Nse,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Mse,useRecoilStateLoadable:Qse,useRecoilValue:Hse,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:$se,useRecoilValueLo
vendor: 9,443 bytes, line 99
99adable:jse,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:zse,useResetRecoilState:Vse,useSetRecoilState:Kse}=noe,{useGotoRecoilSnapshot:Wse,useRecoilSnapshot:Gse,useRecoilTransactionObserver:Yse}=Q6,{useRecoilCallback:qse}=z6,{noWait:Zse,waitForAll:Xse,waitForAllSettled:Jse,waitForAny:ele,waitForNone:tle}=Ose;var Tv={DefaultValue:Ise,isRecoilValue:Rse,RecoilLoadable:kse,RecoilEnv:z5,RecoilRoot:Lse,useRecoilStoreID:Dse,useRecoilBridgeAcrossReactRoots_UNSTABLE:Toe,atom:J6,selector:ep,atomFamily:cse,selectorFamily:mc,constSelector:mse,errorSelector:yse,readOnlySelector:bse,noWait:Zse,waitForNone:tle,waitForAny:ele,waitForAll:Xse,waitForAllSettled:Jse,useRecoilValue:Hse,useRecoilValueLoadable:jse,useRecoilState:Nse,useRecoilStateLoadable:Qse,useSetRecoilState:Kse,useResetRecoilState:Vse,useGetRecoilValueInfo_UNSTABLE:Boe,useRecoilRefresher_UNSTABLE:iae,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:zse,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:$se,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:Mse,useRecoilCallback:qse,useRecoilTransaction_UNSTABLE:Aae,useGotoRecoilSnapshot:Wse,useRecoilSnapshot:Gse,useRecoilTransactionObserver_UNSTABLE:Yse,snapshot_UNSTABLE:Use,useRetain:bI,retentionZone:Pse},nle=Tv.RecoilRoot,fn=Tv.atom,qe=Tv.useRecoilValue,pt=Tv.useRecoilState,DU=Tv.useSetRecoilState;const wMe={REQUEST:{GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE"},CODE:{SUCCESS:200}},un={BAR:"bar",PIE:"pie",STACKBAR:"stackedbar",LINE:"line",HORIZONTALBAR:"horizontalbar",DOUGHNUT:"donut",HEAT:"heat",RADAR:"radar",SCATTER:"scatter",BUBBLE:"bubblechart",TABLE:"table",TABLEBAR:"tablebar",TABVIEW:"tabview",METRIC:"metric",MULTIBAR:"multibar",INDIAMAP:"indiamap",FUNNEL:"funnel",LINEBAR:"line_bar",TREEMAP:"treemap",AREA:"area"};function ij(e,t){return function(){return e.apply(t,arguments)}}const{toString:rle}=Object.prototype,{getPrototypeOf:FI}=Object,gC=(e=>t=>{const n=rle.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Sl=e=>(e=e.toLowerCase(),t=>gC(t)===e),mC=e=>t=>typeof t===e,{isArray:_p}=Array,Jm=mC("undefined");function ile(e){return e!==null&&!Jm(e)&&e.constructor!==null&&!Jm(e.constructor)&&qa(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const oj=Sl("ArrayBuffer");function ole(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&oj(e.buffer),t}const ale=mC("string"),qa=mC("function"),aj=mC("number"),vC=e=>e!==null&&typeof e=="object",sle=e=>e===!0||e===!1,g0=e=>{if(gC(e)!=="object")return!1;const t=FI(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lle=Sl("Date"),Ale=Sl("File"),ule=Sl("Blob"),cle=Sl("FileList"),fle=e=>vC(e)&&qa(e.pipe),dle=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||qa(e.append)&&((t=gC(e))==="formdata"||t==="object"&&qa(e.toString)&&e.toString()==="[object FormData]"))},hle=Sl("URLSearchParams"),ple=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ov(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),_p(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(r=0;r<a;r++)s=o[r],t.call(null,e[s],s,e)}}function sj(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const lj=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Aj=e=>!Jm(e)&&e!==lj;function BF(){const{caseless:e}=Aj(this)&&this||{},t={},n=(r,i)=>{const o=e&&sj(t,i)||i;g0(t[o])&&g0(r)?t[o]=BF(t[o],r):g0(r)?t[o]=BF({},r):_p(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Ov(arguments[r],n);return t}const gle=(e,t,n,{allOwnKeys:r}={})=>(Ov(t,(i,o)=>{n&&qa(i)?e[o]=ij(i,n):e[o]=i},{allOwnKeys:r}),e),mle=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vle=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},_le=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&FI(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yle=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},wle=e=>{if(!e)return null;if(_p(e))return e;let t=e.length;if(!aj(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ble=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&FI(Uint8Array)),Ble=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Cle=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xle=Sl("HTMLFormElement"),Ele=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),RU=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Sle=Sl("RegExp"),uj=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Ov(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Fle=e=>{uj(e,(t,n)=>{if(qa(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(qa(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Tle=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return _p(e)?r(e):r(String(e).split(t)),n},Ole=()=>{},kle=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Z1="abcdefghijklmnopqrstuvwxyz",PU="0123456789",cj={DIGIT:PU,ALPHA:Z1,ALPHA_DIGIT:Z1+Z1.toUpperCase()+PU},Ile=(e=16,t=cj.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Lle(e){return!!(e&&qa(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Dle=e=>{const t=new Array(10),n=(r,i)=>{if(vC(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=_p(r)?[]:{};return Ov(r,(a,s)=>{const l=n(a,i+1);!Jm(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Rle=Sl("AsyncFunction"),Ple=e=>e&&(vC(e)||qa(e))&&qa(e.then)&&qa(e.catch),Re={isArray:_p,isArrayBuffer:oj,isBuffer:ile,isFormData:dle,isArrayBufferView:ole,isString:ale,isNumber:aj,isBoolean:sle,isObject:vC,isPlainObject:g0,isUndefined:Jm,isDate:lle,isFile:Ale,isBlob:ule,isRegExp:Sle,isFunction:qa,isStream:fle,isURLSearchParams:hle,isTypedArray:ble,isFileList:cle,forEach:Ov,merge:BF,extend:gle,trim:ple,stripBOM:mle,inherits:vle,toFlatObject:_le,kindOf:gC,kindOfTest:Sl,endsWith:yle,toArray:wle,forEachEntry:Ble,matchAll:Cle,isHTMLForm:xle,hasOwnProperty:RU,hasOwnProp:RU,reduceDescriptors:uj,freezeMethods:Fle,toObjectSet:Tle,toCamelCase:Ele,noop:Ole,toFiniteNumber:kle,findKey:sj,global:lj,isContextDefined:Aj,ALPHABET:cj,generateString:Ile,isSpecCompliantForm:Lle,toJSONObject:Dle,isAsyncFn:Rle,isThenable:Ple};function yn(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}Re.inherits(yn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Re.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const fj=yn.prototype,dj={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{dj[e]={value:e}});Object.defineProperties(yn,dj);Object.defineProperty(fj,"isAxiosError",{value:!0});yn.from=(e,t,n,r,i,o)=>{const a=Object.create(fj);return Re.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),yn.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Ule=null;function CF(e){return Re.isPlainObject(e)||Re.isArray(e)}function hj(e){return Re.endsWith(e,"[]")?e.slice(0,-2):e}function UU(e,t,n){return e?e.concat(t).map(function(i,o){return i=hj(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Nle(e){return Re.isArray(e)&&!e.some(CF)}const Mle=Re.toFlatObject(Re,{},null,function(t){return/^is[A-Z]/.test(t)});function _C(e,t,n){if(!Re.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Re.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,x){return!Re.isUndefined(x[y])});const r=n.metaTokens,i=n.visitor||f,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Re.isSpecCompliantForm(t);if(!Re.isFunction(i))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(Re.isDate(v))return v.toISOString();if(!l&&Re.isBlob(v))throw new yn("Blob is not supported. Use a Buffer instead.");return Re.isArrayBuffer(v)||Re.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,y,x){let C=v;if(v&&!x&&typeof v=="object"){if(Re.endsWith(y,"{}"))y=r?y:y.slice(0,-2),v=JSON.stringify(v);else if(Re.isArray(v)&&Nle(v)||(Re.isFileList(v)||Re.endsWith(y,"[]"))&&(C=Re.toArray(v)))return y=hj(y),C.forEac
vendor: 4,143 bytes, line 99
99h(function(E,T){!(Re.isUndefined(E)||E===null)&&t.append(a===!0?UU([y],T,o):a===null?y:y+"[]",u(E))}),!1}return CF(v)?!0:(t.append(UU(x,y,o),u(v)),!1)}const d=[],g=Object.assign(Mle,{defaultVisitor:f,convertValue:u,isVisitable:CF});function m(v,y){if(!Re.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(v),Re.forEach(v,function(C,b){(!(Re.isUndefined(C)||C===null)&&i.call(t,C,Re.isString(b)?b.trim():b,y,g))===!0&&m(C,y?y.concat(b):[b])}),d.pop()}}if(!Re.isObject(e))throw new TypeError("data must be an object");return m(e),t}function NU(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function TI(e,t){this._pairs=[],e&&_C(e,this,t)}const pj=TI.prototype;pj.append=function(t,n){this._pairs.push([t,n])};pj.toString=function(t){const n=t?function(r){return t.call(this,r,NU)}:NU;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Qle(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gj(e,t,n){if(!t)return e;const r=n&&n.encode||Qle,i=n&&n.serialize;let o;if(i?o=i(t,n):o=Re.isURLSearchParams(t)?t.toString():new TI(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Hle{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Re.forEach(this.handlers,function(r){r!==null&&t(r)})}}const MU=Hle,mj={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},$le=typeof URLSearchParams<"u"?URLSearchParams:TI,jle=typeof FormData<"u"?FormData:null,zle=typeof Blob<"u"?Blob:null,Vle={isBrowser:!0,classes:{URLSearchParams:$le,FormData:jle,Blob:zle},protocols:["http","https","file","blob","url","data"]},vj=typeof window<"u"&&typeof document<"u",Kle=(e=>vj&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Wle=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Gle=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:vj,hasStandardBrowserEnv:Kle,hasStandardBrowserWebWorkerEnv:Wle},Symbol.toStringTag,{value:"Module"})),gl={...Gle,...Vle};function Yle(e,t){return _C(e,new gl.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return gl.isNode&&Re.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function qle(e){return Re.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zle(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function _j(e){function t(n,r,i,o){let a=n[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=o>=n.length;return a=!a&&Re.isArray(i)?i.length:a,l?(Re.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!Re.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Re.isArray(i[a])&&(i[a]=Zle(i[a])),!s)}if(Re.isFormData(e)&&Re.isFunction(e.entries)){const n={};return Re.forEachEntry(e,(r,i)=>{t(qle(r),i,n,0)}),n}return null}function Xle(e,t,n){if(Re.isString(e))try{return(t||JSON.parse)(e),Re.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const OI={transitional:mj,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Re.isObject(t);if(o&&Re.isHTMLForm(t)&&(t=new FormData(t)),Re.isFormData(t))return i?JSON.stringify(_j(t)):t;if(Re.isArrayBuffer(t)||Re.isBuffer(t)||Re.isStream(t)||Re.isFile(t)||Re.isBlob(t))return t;if(Re.isArrayBufferView(t))return t.buffer;if(Re.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>
vendor: 10,018 bytes, lines 99-101
99-1)return Yle(t,this.formSerializer).toString();if((s=Re.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return _C(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),Xle(t)):t}],transformResponse:[function(t){const n=this.transitional||OI.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&Re.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?yn.from(s,yn.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gl.classes.FormData,Blob:gl.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Re.forEach(["delete","get","head","post","put","patch"],e=>{OI.headers[e]={}});const kI=OI,Jle=Re.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eAe=e=>{const t={};let n,r,i;return e&&e.split(` 100`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&Jle[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},QU=Symbol("internals");function hg(e){return e&&String(e).trim().toLowerCase()}function m0(e){return e===!1||e==null?e:Re.isArray(e)?e.map(m0):String(e)}function tAe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const nAe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function X1(e,t,n,r,i){if(Re.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Re.isString(t)){if(Re.isString(r))return t.indexOf(r)!==-1;if(Re.isRegExp(r))return r.test(t)}}function rAe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function iAe(e,t){const n=Re.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class yC{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const f=hg(l);if(!f)throw new Error("header name must be a non-empty string");const d=Re.findKey(i,f);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=m0(s))}const a=(s,l)=>Re.forEach(s,(u,f)=>o(u,f,l));return Re.isPlainObject(t)||t instanceof this.constructor?a(t,n):Re.isString(t)&&(t=t.trim())&&!nAe(t)?a(eAe(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=hg(t),t){const r=Re.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return tAe(i);if(Re.isFunction(n))return n.call(this,i,r);if(Re.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=hg(t),t){const r=Re.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||X1(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=hg(a),a){const s=Re.findKey(r,a);s&&(!n||X1(r,r[s],s,n))&&(delete r[s],i=!0)}}return Re.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||X1(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Re.forEach(this,(i,o)=>{const a=Re.findKey(r,o);if(a){n[a]=m0(i),delete n[o];return}const s=t?rAe(o):String(o).trim();s!==o&&delete n[o],n[s]=m0(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Re.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Re.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 101`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[QU]=this[QU]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=hg(a);r[s]||(iAe(i,a),r[s]=!0)}return Re.isArray(t)?t.forEach(o):o(t),this}}yC.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Re.reduceDescriptors(yC.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Re.freezeMethods(yC);const SA=yC;function J1(e,t){const n=this||kI,r=t||n,i=SA.from(r.headers);let o=r.data;return Re.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function yj(e){return!!(e&&e.__CANCEL__)}function kv(e,t,n){yn.call(this,e??"canceled",yn.ERR_CANCELED,t,n),this.name="CanceledError"}Re.inherits(kv,yn,{__CANCEL__:!0});function oAe(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new yn("Request failed with status code "+n.status,[yn.ERR_BAD_REQUEST,yn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const aAe=gl.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Re.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Re.isString(r)&&a.push("path="+r),Re.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sAe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lAe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wj(e,t){return e&&!sAe(t)?lAe(e,t):t}const AAe=gl.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(a){const s=Re.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function uAe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function cAe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),f=r[o];a||(a=u),n[i]=l,r[i]=u;let d=o,g=0;for(;d!==i;)g+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const m=f&&u-f;return m?Math.round(g*1e3/m):void 0}}function HU(e,t){let n=0;const r=cAe(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),u=o<=a;n=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i};f[t?"download":"upload"]=!0,e(f)}}const fAe=typeof XMLHttpRequest<"u",dAe=fAe&&function(e){return new Promise(function(n,r){let i=e.data;const o=SA.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let f;if(Re.isFormData(i)){if(gl.hasStandardBrowserEnv||gl.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((f=o.getContentType())!==!1){const[y,...x]=f?f.split(";").map(C=>C.trim()).filter(Boolean):[];o.setContentType([y||"multipart/form-data",...x].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(y+":"+x))}const g=wj(e.baseURL,e.url);d.open(e.method.toUpperCase(),gj(g,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function m(){if(!d)return;const y=SA.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:y,config:e,request:d};oAe(function(E){n(E),u()},function(E){r(E),u()},C),d=null}if("onloadend"in d?d.onloadend=m:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(m)},d.onabort=function(){d&&(r(new yn("Request aborted",yn.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new yn("Network Error",yn.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||mj;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new yn(x,C.clarifyTimeoutError?yn.ETIMEDOUT:yn.ECONNABORTED,e,d)),d=null},gl.hasStandardBrowserEnv&&(s&&Re.isFunction(s)&&(s=s(e)),s||s!==!1&&AAe(g))){const y=e.xsrfHeaderName&&e.xsrfCookieName&&aAe.read(e.xsrfCookieName);y&&o.set(e.xsrfHeaderName,y)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&Re.forEach(o.toJSON(),function(x,C){d.setRequestHeader(C,x)}),Re.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",HU(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",HU(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=y=>{d&&(r(!y||y.type?new kv(null,e,d):y),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const v=uAe(g);if(v&&gl.protocols.indexOf(v)===-1){r(new yn("Unsupported protocol "+v+":",yn.ERR_BAD_REQUEST,e));return}d.send(i||null)})},xF={http:Ule,xhr:dAe};Re.forEach(xF,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $U=e=>`- ${e}`,hAe=e=>
101Re.isFunction(e)||e===null||e===!1,bj={getAdapter:e=>{e=Re.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!hAe(n)&&(r=xF[(a=String(n)).toLowerCase()],r===void 0))throw new yn(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+o]=r}if(!r){const o=Object.entries(i).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : 102`+o.map($U).join(` 103`):" "+$U(o[0]):"as no adapter specified";throw new yn("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:xF};function eE(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new kv(null,e)}function jU(e){return eE(e),e.headers=SA.from(e.headers),e.data=J1.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),bj.getAdapter(e.adapter||kI.adapter)(e).then(function(r){return eE(e),r.data=J1.call(e,e.transformResponse,r),r.headers=SA.from(r.headers),r},function(r){return yj(r)||(eE(e),r&&r.response&&(r.response.data=J1.call(e,e.transformResponse,r.response),r.response.headers=SA.from(r.response.headers))),Promise.reject(r)})}const zU=e=>e instanceof SA?e.toJSON():e;function tp(e,t){t=t||{};const n={};function r(u,f,d){return Re.isPlainObject(u)&&Re.isPlainObject(f)?Re.merge.call({caseless:d},u,f):Re.isPlainObject(f)?Re.merge({},f):Re.isArray(f)?f.slice():f}function i(u,f,d){if(Re.isUndefined(f)){if(!Re.isUndefined(u))return r(void 0,u,d)}else return r(u,f,d)}function o(u,f){if(!Re.isUndefined(f))return r(void 0,f)}function a(u,f){if(Re.isUndefined(f)){if(!Re.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function s(u,f,d){if(d in t)return r(u,f);if(d in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,f)=>i(zU(u),zU(f),!0)};return Re.forEach(Object.keys(Object.assign({},e,t)),function(f){const d=l[f]||i,g=d(e[f],t[f],f);Re.isUndefined(g)&&d!==s||(n[f]=g)}),n}const Bj="1.6.7",II={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{II[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const VU={};II.transitional=function(t,n,r){function i(o,a){return"[Axios v"+Bj+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new yn(i(a," has been removed"+(n?" in "+n:"")),yn.ERR_DEPRECATED);return n&&!VU[a]&&(VU[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};function pAe(e,t,n){if(typeof e!="object")throw new yn("options must be an object",yn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new yn("option "+o+" must be "+l,yn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yn("Unknown option "+o,yn.ERR_BAD_OPTION)}}const EF={assertOptions:pAe,validators:II},wu=EF.validators;class nb{constructor(t){this.defaults=t,this.interceptors={request:new MU,response:new MU}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` 104`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=tp(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&EF.assertOptions(r,{silentJSONParsing:wu.transitional(wu.boolean),forcedJSONParsing:wu.transitional(wu.boolean),clarifyTimeoutError:wu.transitional(wu.boolean)}
vendor: 2,632 bytes, line 104
104,!1),i!=null&&(Re.isFunction(i)?n.paramsSerializer={serialize:i}:EF.assertOptions(i,{encode:wu.function,serialize:wu.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Re.merge(o.common,o[n.method]);o&&Re.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),n.headers=SA.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(l=l&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const u=[];this.interceptors.response.forEach(function(y){u.push(y.fulfilled,y.rejected)});let f,d=0,g;if(!l){const v=[jU.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),g=v.length,f=Promise.resolve(n);d<g;)f=f.then(v[d++],v[d++]);return f}g=s.length;let m=n;for(d=0;d<g;){const v=s[d++],y=s[d++];try{m=v(m)}catch(x){y.call(this,x);break}}try{f=jU.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,g=u.length;d<g;)f=f.then(u[d++],u[d++]);return f}getUri(t){t=tp(this.defaults,t);const n=wj(t.baseURL,t.url);return gj(n,t.params,t.paramsSerializer)}}Re.forEach(["delete","get","head","options"],function(t){nb.prototype[t]=function(n,r){return this.request(tp(r||{},{method:t,url:n,data:(r||{}).data}))}});Re.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,s){return this.request(tp(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}nb.prototype[t]=n(),nb.prototype[t+"Form"]=n(!0)});const v0=nb;class LI{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new kv(o,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new LI(function(i){t=i}),cancel:t}}}const gAe=LI;function mAe(e){return function(n){return e.apply(null,n)}}function vAe(e){return Re.isObject(e)&&e.isAxiosError===!0}const SF={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
104alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(SF).forEach(([e,t])=>{SF[t]=e});const _Ae=SF;function Cj(e){const t=new v0(e),n=ij(v0.prototype.request,t);return Re.extend(n,v0.prototype,t,{allOwnKeys:!0}),Re.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Cj(tp(e,i))},n}const Xr=Cj(kI);Xr.Axios=v0;Xr.CanceledError=kv;Xr.CancelToken=gAe;Xr.isCancel=yj;Xr.VERSION=Bj;Xr.toFormData=_C;Xr.AxiosError=yn;Xr.Cancel=Xr.CanceledError;Xr.all=function(t){return Promise.all(t)};Xr.spread=mAe;Xr.isAxiosError=vAe;Xr.mergeConfig=tp;Xr.AxiosHeaders=SA;Xr.formToJSON=e=>_j(Re.isHTMLForm(e)?new FormData(e):e);Xr.getAdapter=bj.getAdapter;Xr.HttpStatusCode=_Ae;Xr.default=Xr;const vc=Xr,xj=fn({key:"authState",default:localStorage.getItem("user")||""});const Ej="/assets/RAIN-36eca06b.svg",yAe="/assets/corona-99b80525.png",wAe="/assets/football-5ae7762e.png",KU="/assets/retail-d4e2ce48.png",bAe="_avatar_one_circle_fnvxm_4",BAe="_avatar_one_initials_fnvxm_13",CAe="_avatar_two_circle_fnvxm_23",xAe="_avatar_two_initials_fnvxm_32",ey={"material-icons":"_material-icons_fnvxm_1","material-symbols":"_material-symbols_fnvxm_1","material-icons-round":"_material-icons-round_fnvxm_1",avatar_one_circle:bAe,avatar_one_initials:BAe,avatar_two_circle:CAe,avatar_two_initials:xAe},EAe=({initials:e,variant:t,bgColor:n})=>{switch(t){case"small":return w.jsx("div",{className:`${ey.avatar_one_circle}`,style:{backgroundColor:n!=null&&n},children:w.jsx("span",{className:`${ey.avatar_one_initials}`,children:e})});case"large":return w.jsx("div",{className:`${ey.avatar_two_circle}`,style:{backgroundColor:n!=null&&n},children:w.jsx("span",{className:`${ey.avatar_two_initials}`,children:e})});default:return null}},SAe="_btn_primary_1coyp_4",FAe="_btn_secondary_1coyp_18",TAe="_no_radius_1coyp_32",FF={"material-icons":"_material-icons_1coyp_1","material-symbols":"_material-symbols_1coyp_1","material-icons-round":"_material-icons-round_1coyp_1",btn_primary:SAe,btn_secondary:FAe,no_radius:TAe};var Sj=(e=>(e[e.contained=0]="contained",e[e.outline=1]="outline",e))(Sj||{}),Fj=(e=>(e[e.primary=0]="primary",e[e.secondary=1]="secondary",e))(Fj||{});const OAe=e=>{let t="";switch(e){case 0:t="btn-sm";break;case 1:t="btn-lg";break}return t},kAe=(e,t)=>{let n="";switch(e){case 0:n=t===1?"btn-outline-primary":`${FF.btn_primary}`;break;case 1:n=t===1?"btn-outline-secondary":`${FF.btn_secondary}`;break}return n},WU=({onClick:e,variant:t=0,type:n=0,size:r=2,className:i="",disabled:o=!1,children:a})=>w.jsx("button",{className:`${kAe(n,t)} ${OAe(r)} ${i} ${FF.no_radius} btn`,onClick:e,disabled:o,children:a}),IAe="_btn_large_1fjha_4",LAe="_material_icon_one_1fjha_28",Da={"material-icons":"_material-icons_1fjha_1","material-symbols":"_material-symbols_1fjha_1","material-icons-round":"_material-icons-round_1fjha_1",btn_large:IAe,material_icon_one:LAe},DI=({isLink:e,btnTxt:t,link:n,showIcon:r,clickHandler:i,modalHandler:o,iconPosition:a,icon:s,isModal:l,modalId:u})=>e?l?w.jsx(Wf,{to:n||"",children:w.jsxs("button",{className:`${Da.btn_large} btn w-100`,"data-bs-toggle":"modal",type:"button","data-bs-target":`#${u}`,onClick:o,children:[r&&a&&a==="left"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons pe-1`,children:s||"add"}),t,r&&a&&a==="right"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons ps-1`,children:s||"add"})]})}):w.jsx(Wf,{to:n||"",children:w.jsxs("button",{className:`${Da.btn_large} btn w-100`,children:[r&&a&&a==="left"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons pe-1`,children:s||"add"}),t,r&&a&&a==="right"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons ps-1`,children:s||"add"})]})}):l?w.jsxs("button",{className:`${Da.btn_large} btn w-100`,"data-bs-toggle":"modal",type:"button","data-bs-target":`#${u}`,onClick:o,children:[" ",r&&a&&a==="left"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons pe-1`,children:s||"add"}),t,r&&a&&a==="right"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons ps-1`,children:s||"add"})]}):w.jsxs("button",{className:`${Da.btn_large} btn w-100`,onClick:i,children:[" ",r&&a&&a==="left"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons pe-1`,children:s||"add"}),t,r&&a&&a==="right"&&w.jsx("span",{className:`${Da.material_icon_one} material-icons ps-1`,children:s||"add"})]}),DAe="_btn_large_1dexx_4",RAe="_material_icon_one_1dexx_28",Qd={"material-icons":"_material-icons_1dexx_1","material-symbols":"_material-symbols_1dexx_1","material-icons-round":"_material-icons-round_1dexx_1",btn_large:DAe,material_icon_one:RAe},Tj=({isLink:e,btnTxt:t,link:n,showIcon:r,clickHandler:i,iconPosition:o,icon:a,disabled:s})=>e?w.jsx(Wf,{to:n||"",children:w.jsxs("button",{className:`${Qd.btn_large} btn w-100`,disabled:s,onClick:i,children:[r&&o&&o==="left"&&w.jsx("span",{className:`${Qd.material_icon_one} material-icons pe-1`,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Qd.material_icon_one} material-icons ps-1`,children:a||"add"})]})}):w.jsxs("button",{className:`${Qd.btn_large} btn w-100`,onClick:i,children:[" ",r&&o&&o==="left"&&w.jsx("span",{className:`${Qd.material_icon_one} material-icons pe-1`,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Qd.material_icon_one} material-icons ps-1`,children:a||"add"})]}
104),PAe="_btn_small_17dod_4",UAe="_btn_small_dark_17dod_19",NAe="_btn_small_clicked_17dod_71",MAe="_material_icon_one_17dod_91",Ui={"material-icons":"_material-icons_17dod_1","material-symbols":"_material-symbols_17dod_1","material-icons-round":"_material-icons-round_17dod_1",btn_small:PAe,btn_small_dark:UAe,btn_small_clicked:NAe,material_icon_one:MAe},Oj=new Date,QAe=new Date(Oj.getFullYear(),0,1).getTime(),HAe=new Date(Oj.getFullYear()-10,0,1).getTime(),np=fn({key:"dateRange",default:[{startDate:new Date(HAe),endDate:new Date(QAe),key:"selection"}]}),Ja=fn({key:"dashboardIdName",default:"fifaMatched2014"}),es=fn({key:"modalState",default:""});fn({key:"FilterName",default:""});const Iv=fn({key:"filterKey",default:[]}),Jt=fn({key:"Theme",default:!1}),_c=fn({key:"CurrentFilter",default:"All"});fn({key:"filterList",default:[]});const Lv=fn({key:"filterkeyList",default:[]}),Dv=fn({key:"filterValueList",default:[]}),kj=fn({key:"tabRequired",default:[]}),RI=fn({key:"dashboardName",default:""}),PI=fn({key:"currentChartCode",default:""}),UI=fn({key:"tabClickState",default:!1}),Rv=fn({key:"currentTabId",default:0}),NI=fn({key:"showDate",default:!1}),yp=fn({key:"drillDownChartFilter",default:null});fn({key:"sampleDrillDownChartID",default:null});const wC=fn({key:"tabFilter",default:[]}),Ij=fn({key:"chartId",default:[]}),Lj=fn({key:"drillDownDashboard",default:""}),MI=fn({key:"drillDownDashboardStatus",default:!1}),Dj=fn({key:"visualizationName",default:null});fn({key:"isInsightsPresent",default:{}});const Rj=fn({key:"insightsGenerating",default:!1}),QI=fn({key:"chartData",default:[]}),Pj=fn({key:"sharedUrls",default:[]}),$Ae=fn({key:"sharedUrlsLoading",default:!1}),jAe=fn({key:"sharedUrlFormData",default:{name:"",vizCodes:[],activeFilter:{},isActive:!0}}),zAe=fn({key:"sharedUrlFormLoading",default:!1}),VAe=fn({key:"sharedUrlFormErrors",default:{}}),KAe=fn({key:"sharedUrlFormMode",default:null}),Uj=fn({key:"sharedUrlFormVisible",default:!1}),WAe=fn({key:"editingSharedUrl",default:null}),Nj=fn({key:"sharedUrlOperationSuccess",default:""}),GAe=fn({key:"selectedChartCodes",default:[]}),YAe=({isLink:e,btnTxt:t,link:n,showIcon:r,clickHandler:i,iconPosition:o,icon:a,isDisabled:s,isModal:l,modalId:u})=>{const f=qe(Jt);return e?l?w.jsx(Wf,{to:n||"",children:w.jsxs("button",{className:`${f?Ui.btn_small:Ui.btn_small_dark} btn p-2`,disabled:s,"data-bs-toggle":"modal",type:"button","data-bs-target":`#${u}`,onClick:i,children:[r&&o&&o==="left"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons pe-1`,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons ps-1`,children:a||"add"})]})}):w.jsx(Wf,{to:n||"",children:w.jsxs("button",{className:`${f?Ui.btn_small:Ui.btn_small_dark} btn`,disabled:s,onClick:i,children:[r&&o&&o==="left"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons pe-1`,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons ps-1`,children:a||"add"})]})}):l?w.jsxs("button",{className:`${f?Ui.btn_small:Ui.btn_small_dark} btn`,disabled:s,"data-bs-toggle":"modal",type:"button","data-bs-target":`#${u}`,onClick:i,children:[r&&o&&o==="left"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons pe-1`,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons ps-1`,children:a||"add"})]}):w.jsxs("button",{className:`${f?Ui.btn_small:Ui.btn_small_dark} btn py-2`,disabled:s,onClick:i,children:[r&&o&&o==="left"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons pe-1 `,children:a||"add"}),t,r&&o&&o==="right"&&w.jsx("span",{className:`${Ui.material_icon_one} material-icons ps-1`,children:a||"add"})]})};const qAe="_display_one_1t4e9_4",ZAe="_headline_one_1t4e9_13",XAe="_title_one_1t4e9_21",JAe="_sub_heading_one_1t4e9_30",eue="_sub_heading_two_1t4e9_39",tue="_body_one_1t4e9_48",nue="_body_two_1t4e9_56",rue="_button_one_1t4e9_64",iue="_caption_one_1t4e9_73",oue="_label_one_1t4e9_81",Ro={"material-icons":"_material-icons_1t4e9_1","material-symbols":"_material-symbols_1t4e9_1","material-icons-round":"_material-icons-round_1t4e9_1",display_one
104:qAe,headline_one:ZAe,title_one:XAe,sub_heading_one:JAe,sub_heading_two:eue,body_one:tue,body_two:nue,button_one:rue,caption_one:iue,label_one:oue},Rf=({text:e,textColor:t})=>w.jsx("h4",{className:`${Ro.caption_one}`,style:{color:`${t&&t}`},children:e});const TF=({content:e,textColor:t})=>w.jsx("h4",{className:`${Ro.body_two} mb-0`,style:{color:`${t&&t}`},children:e}),oc=({text:e,textColor:t})=>w.jsx("h4",{className:`${Ro.button_one} p-0 m-0`,style:{color:`${t&&t}`},children:e});const Mj=({title:e,textColor:t})=>w.jsx("h1",{className:`${Ro.display_one} m-0`,style:{color:`${t&&t}`},children:e}),wp=({title:e,textColor:t,className:n})=>w.jsx("h3",{className:`${Ro.sub_heading_two} m-0 ${n}`,style:{color:`${t&&t}`},children:e}),aue=({title:e,textColor:t})=>w.jsx("h1",{className:`${Ro.title_one}`,style:{color:`${t&&t}`},children:e});const sue="_custom_input_style_m94lf_4",HI={"material-icons":"_material-icons_m94lf_1","material-symbols":"_material-symbols_m94lf_1","material-icons-round":"_material-icons-round_m94lf_1",custom_input_style:sue};lt.forwardRef(({className:e,showTitle:t,title:n,showOptTxt:r,optionalText:i,showDescription:o,description:a,...s},l)=>w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"d-flex flex-row",children:[t&&n&&w.jsx(oc,{text:n}),r&&i&&w.jsx("div",{className:"ps-1 align-self-center",children:w.jsx(Rf,{text:i})})]}),w.jsx("input",{ref:l,className:`${HI.custom_input_style} form-control ${e}`,...s}),o&&a&&w.jsx("div",{className:"pt-2",children:w.jsx(Rf,{text:a})})]}));lt.forwardRef(({id:e,name:t,inputType:n,showTitle:r,showDescription:i,title:o,description:a,placeholder:s,showOptTxt:l,optionalText:u,value:f,changeHandler:d,className:g},m)=>w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"d-flex flex-row",children:[r&&o&&w.jsx(oc,{text:o}),l&&u&&w.jsx("div",{className:"ps-1 align-self-center",children:w.jsx(Rf,{text:u})})]}),w.jsx("input",{ref:m,name:t,className:`${HI.custom_input_style} form-control ${g}`,type:n,placeholder:s,autoComplete:"new-password",id:e}),i&&a&&w.jsx("div",{className:"pt-2",children:w.jsx(Rf,{text:"This will be the visible title of the dashboard when it is rendered."})})]}));const lue="_custom_input_one_1kyje_4",Aue="_search_bg_one_1kyje_33",GU={"material-icons":"_material-icons_1kyje_1","material-symbols":"_material-symbols_1kyje_1","material-icons-round":"_material-icons-round_1kyje_1",custom_input_one:lue,search_bg_one:Aue},uue=({list:e})=>{const t=qe(Jt),n=r=>{e.length>0&&e.map((i,o)=>{i.title.toLowerCase().includes(r.toLowerCase())})};return w.jsx("input",{type:"search",className:` ${t?" rounded-5 ":"bg-body-secondary text-white rounded-5"} ${GU.custom_input_one} ${GU.search_bg_one} form-control rounded-2 py-2 `,placeholder:"Search",autoComplete:"off",onChange:r=>{n(r.target.value)}})};lt.forwardRef(({id:e,showTitle:t,showDescription:n,title:r,description:i,placeholder:o,rows:a,descriptionPos:s,showOptTxt:l,optionalText:u,className:f,...d},g)=>w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"d-flex flex-row",children:[t&&r&&w.jsx(oc,{text:r}),l&&u&&w.jsx("div",{className:"ps-1 align-self-center",children:w.jsx(Rf,{text:u})})]}),n&&i&&s==="top"&&w.jsx("div",{className:"pb-1",children:w.jsx(Rf,{text:i})}),w.jsx("textarea",{ref:g,className:`${HI.custom_input_style} form-control ${f}`,rows:a,placeholder:o,autoComplete:"new-password",id:e,...d}),n&&i&&(s==="bottom"||!s)&&w.jsx("div",{className:"pt-2",children:w.jsx(Rf,{text:i})})]}));const cue="_modal_one_cvtgq_4",fue="_show_modal_cvtgq_11",due="_hide_model_cvtgq_15",hue="_destructive_btn_cvtgq_19",tE={"material-icons":"_material-icons_cvtgq_1","material-symbols":"_material-symbols_cvtgq_1","material-icons-round":"_material-icons-round_cvtgq_1",modal_one:cue,show_modal:fue,hide_model:due,destructive_btn:hue},pue=({modalId:e,modalLabel:t,modalTitle:n,primaryBtnHandler:r,secondaryBtnHandler:i,btnTextPrimary:o,btnTextSecondary:a,renderLeft:s,renderRight:l,isLarge:u,showModal:f=!1,processingPrimaryBtnHandler:d=!1,theme:g=!1,isDestructiveAction:m=!1})=>w.jsxs(w.Fragment,{children:[w.jsx("div",{className:`${f?`${tE.show_modal} show`:""} modal fade `,tabIndex:-1,id:e,"aria-hidden":"true","aria-labelledby":t,children:w.jsx("div",{className:`${u?" modal-lg":""}
104 modal-dialog modal-dialog-centered modal-dialog-scrollable `,children:w.jsxs("div",{className:`${tE.modal_one} modal-content ${g?"bg-white text-dark":"bg-dark-subtle text-white"} border`,children:[w.jsxs("div",{className:`modal-header ${g?"bg-white border-light":"bg-dark-subtle border-secondary"}`,children:[w.jsx("div",{className:"modal-title pt-1",children:w.jsx(aue,{title:`${n}`,textColor:g?"#000000":"#ffffff"})}),w.jsx("button",{type:"button",className:`btn-close ${g?"":"btn-close-white"}`,"aria-label":"Close",onClick:i})]}),w.jsx("div",{className:`modal-body ${g?"bg-white":"bg-dark-subtle"}`,children:w.jsx("div",{className:"col-12",children:w.jsxs("div",{className:"row",children:[w.jsx("div",{className:u?"col-sm-12 col-md-12 col-lg-6 col-xl-6 col-xxl-6":"col-12",children:s}),u&&w.jsx("div",{className:"col-sm-12 col-md-12 col-lg-6 col-xl-6 col-xxl-6 mx-0 mx-sm-5 mx-md-5 mx-lg-0 mx-xl-0 mx-xxl-0",children:l})]})})}),w.jsxs("div",{className:`modal-footer ${g?"bg-white border-light":"bg-dark-subtle border-secondary"}`,children:[w.jsxs(WU,{className:"rounded-pill d-flex align-items-center justify-content-center ",type:Fj.secondary,variant:Sj.outline,onClick:i,children:[(!a||a==="Cancel")&&w.jsx("span",{className:"material-icons me-1 valign_sub",children:"close"}),a||"Cancel"]}),o&&w.jsx("div",{className:"",children:w.jsxs(WU,{className:`w-100 ${m?tE.destructive_btn:""} rounded-pill`,disabled:d,onClick:r,children:[d&&w.jsx("span",{className:"spinner-border spinner-border-sm me-3"}),o]})})]})]})})},e+"key"),f&&w.jsx("div",{className:`modal-backdrop fade show ${g?"":"bg-dark"}`,style:{opacity:g?.5:.8}})]}),gue="_navi_black_bg_hipgo_4",mue="_navi_white_bg_hipgo_11",vue="_list_color_hipgo_17",_ue="_side_nav_icons_theme_hipgo_25",yue="_vr_line_hipgo_30",wue="_lightMode_hipgo_39",bue="_darkMode_hipgo_49",Bue="_visible_hipgo_57",Cue="_hidden_hipgo_61",xue="_theme_container_hipgo_66",Ra={"material-icons":"_material-icons_hipgo_1","material-symbols":"_material-symbols_hipgo_1","material-icons-round":"_material-icons-round_hipgo_1",navi_black_bg:gue,navi_white_bg:mue,list_color:vue,side_nav_icons_theme:_ue,vr_line:yue,lightMode:wue,darkMode:bue,visible:Bue,hidden:Cue,theme_container:xue};const Eue=({logo:e,logoLink:t,navItems:n,showSearch:r,showNotifications:i,showThemes:o,logoutLink:a,isCollection:s,navString:l,showAvatar:u})=>{const f=()=>{},[d,g]=k.useState(window.matchMedia("(max-width:600px)").matches),[m,v]=pt(Jt);return k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",y=>g(y.matches))},[]),w.jsx(w.Fragment,{children:w.jsx("nav",{className:`${m?Ra.navi_black_bg:Ra.navi_white_bg} navbar navbar-expand-lg `,children:w.jsxs("div",{className:"container-fluid",children:[w.jsx("div",{className:"navbar-brand",children:w.jsx("a",{className:"navbar-brand col-md-3 col-lg-2 col-xl-2 col-xxl-2 px-3",href:t,children:e&&w.jsx("img",{src:e,alt:"data platform",width:"189",height:"36"})})}),w.jsx("button",{className:`${m?"bg-secondary":""} navbar-toggler `,type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation",children:w.jsx("span",{className:`${Ra.toggle_color} navbar-toggler-icon`})}),w.jsx("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:w.jsxs("div",{className:"row col-12 m-0",children:[w.jsx("div",{className:"col-sm-12 col-md-12 col-lg-4 h-100",children:w.jsxs("ul",{className:"navbar-nav mb-2 mb-lg-0",children:[!s&&l&&w.jsx("li",{className:"nav-item px-2",children:w.jsx("div",{className:`${Ra.list_color} nav-link`,children:l})}),s&&n&&n.map((y,x)=>w.jsx("li",{className:"nav-item pe-5",children:w.jsx(Wf,{className:`${Ra.list_color} nav-link`,"aria-current":"page",to:y.link,children:y.name})},x))]})}),w.jsx("div",{className:"col-sm-12 col-md-12 col-lg-8 h-100 m-0 p-0 d-flex justify-content-center",children:w.jsxs("div",{className:`${d?"justify-content-center":"justify-content-end"} row col-12 `,children:[w.jsx("div",{className:" col-sm-12 col-md-12 col-lg-5 d-flex align-items-center",children:r&&w.jsx(uue,{list:[]})}),w.jsx("div",{className:"col-sm-12 col-md-12 col-lg-3 p-0 w-auto ",children:w.jsxs("div",{className:`${d?"flex-column":""}
104 mt-2 mt-sm-2 mt-md-2 mt-lg-0 d-flex align-items-center `,children:[o&&w.jsx("div",{className:`bg-light-subtle rounded-5 p-1 ${Ra.theme_container} ${d?"mb-3":"me-4"}`,onClick:()=>{v(!m)},children:m?w.jsx("span",{className:`${Ra.lightMode} ${Ra.side_nav_icons_theme} material-symbols px-1 rounded-5 me-3 ${m?"visible":"hidden"}`,children:"light_mode"}):w.jsx("span",{className:`${Ra.darkMode} ${Ra.side_nav_icons_theme} material-symbols px-1 float-end rounded-5 ${m?"hidden":"visible"}`,children:"dark_mode"})}),!d&&w.jsx("span",{className:`${Ra.vr_line} vr`}),i&&w.jsx("span",{className:`${Ra.side_nav_icons} ${d?"fs-1":"fs-3"} material-icons px-4 text-secondary`,children:"notifications"}),u&&w.jsx("div",{onClick:f,children:w.jsx(EAe,{initials:"TU",variant:"small"})})]})})]})})]})})]})})})};const Sue="_custom_tab_two_kctvc_4",Fue="_dark_theme_kctvc_8",Tue="_light_theme_kctvc_14",Oue="_main_tab_container_kctvc_18",kue="_main_tab_container_dark_kctvc_22",rf={"material-icons":"_material-icons_kctvc_1","material-symbols":"_material-symbols_kctvc_1","material-icons-round":"_material-icons-round_kctvc_1",custom_tab_two:Sue,dark_theme:Fue,light_theme:Tue,main_tab_container:Oue,main_tab_container_dark:kue};const Qj=({tabItems:e,compClickHandler:t})=>{const n=qe(Jt);k.useState(!1),k.useState(-1);const[r,i]=pt(Rv),o=()=>{var a,s;document.querySelectorAll(".nav-link").forEach((l,u)=>{l.getAttribute("aria-selected")!=="true"?(l.classList.remove(rf.light_theme),l.classList.remove("active"),l.classList.remove("bg-dark-subtle"),l.classList.remove(rf.dark_theme),l.classList.remove("text-white")):l.classList.add("active")}),(a=document.querySelector(".active"))==null||a.classList.add(n?`${rf.light_theme}`:`${rf.dark_theme}`),(s=document.querySelector(".active"))==null||s.classList.add("text-white")};return k.useEffect(()=>{o()},[n]),w.jsx(w.Fragment,{children:e.length>0&&w.jsxs(w.Fragment,{children:[w.jsx("nav",{className:"",children:w.jsx("div",{className:` ${n?"bg-white":"bg-dark"} pt-3 mb-3 rounded-3 nav nav-pills nav-fill row px-4 py-0 m-0 justify-content-between`,id:"nav-tab",role:"tablist",children:e.map((a,s)=>w.jsx("div",{className:" col-xs-12 col-sm-6 col-md-4 col-lg-3 mb-3 ",onClick:()=>{o(),i(a.id)},children:w.jsx("button",{className:`nav-link w-100 ${n?"text-dark":"text-secondary"} ${s===0?"active ":""} ${rf.custom_tab_one}`,id:a.tabId,"data-bs-toggle":"tab","data-bs-target":a.target,type:"button",role:"tab","aria-controls":a.control,"aria-selected":`${s===0?"true":"false"}`,onClick:t,children:a.name},s+a.target)},a.target))})}),w.jsx("div",{className:`tab-content ${n?rf.main_tab_container:rf.main_tab_container_dark} pt-4`,id:"nav-tabContent",children:e.map((a,s)=>w.jsx("div",{className:`${s===0?"tab-pane fade show active":"tab-pane fade"} `,id:a.control,role:"tabpanel","aria-labelledby":a.tabId,children:a.content},s))})]})})},Iue={}.VITE_RAIN_LINK||"https://nxt.tarento.com/rain/",Lue="ck_pub_d55e1d8d34e690d95bed58a9037968b6";function yc(){let e=localStorage.getItem("user");return e!==null?{Authorization:"Bearer "+JSON.parse(e).authToken,"Content-Type":"application/json",Accept:"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Headers":"Origin, Content-Type, Accept"}:{"Content-Type":"application/json",Accept:"application/json","Access-Control-Allow-Origin":"*","Access-Control-Allow-Headers":"Origin, Content-Type, Accept"}}const $I=async e=>vc.get("https://rain.tarento.com/api/dashboard/getDashboardConfig/Kronos/"+e,{headers:yc()}),Hj=async e=>vc.get("https://rain.tarento.com/api/dashboard/getDashboardSharedUrls/"+e,{headers:yc()}),Due=async e=>{const t={...e};return vc.post("https://rain.tarento.com/api/dashboard/createPubUrl",t,{headers:{...yc(),"Content-Type":"application/json"}})},Rue=async e=>{const{id:t,...n}=e,r={...n,activeFilter:n.activeFilter};return vc.put("https://rain.tarento.com/api/dashboard/updatePubUrl/"+t,r,{headers:{...yc(),"Content-Type":"application/json"}})},Pue=async e=>vc.delete("https://rain.tarento.com/api/dashboard/deletePubUrl/"+e,{headers:yc()});var OF={},Pv={},$j={exports:{}},Uue="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Nue=Uue,Mue=Nue;function jj(){}function zj(){}zj.resetWarningCache=jj;var Que=function(){function e(r,i,o,a,s,l){if(l!==Mue){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
104:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:zj,resetWarningCache:jj};return n.PropTypes=n,n};$j.exports=Que();var Fl=$j.exports;const Ht=uc(Fl);var Uv={},PA={},Vj={exports:{}};/*! 105 Copyright (c) 2018 Jed Watson. 106 Licensed under the MIT License (MIT), see 107 http://jedwatson.github.io/classnames 108*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",a=0;a<arguments.length;a++){var s=arguments[a];s&&(o=i(o,r(s)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var a="";for(var s in o)t.call(o,s)&&o[s]&&(a=i(a,s));return a}function i(o,a){return a?o?o+" "+a:o+a:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Vj);var id=Vj.exports;function Pt(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function _0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_0=function(n){return typeof n}:_0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_0(e)}function It(e){Pt(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||_0(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Hue(e){Pt(1,arguments);var t=It(e);return t.setHours(23,59,59,999),t}const $ue=Object.freeze(Object.defineProperty({__proto__:null,default:Hue},Symbol.toStringTag,{value:"Module"})),jI=_n($ue);function jue(e,t){Pt(2,arguments);var n=It(e),r=It(t);return n.getTime()<r.getTime()}const zue=Object.freeze(Object.defineProperty({__proto__:null,default:jue},Symbol.toStringTag,{value:"Module"})),zI=_n(zue);function Vue(e,t){Pt(2,arguments);var n=It(e),r=It(t);return n.getTime()>r.getTime()}const Kue=Object.freeze(Object.defineProperty({__proto__:null,default:Vue},Symbol.toStringTag,{value:"Module"})),Kj=_n(Kue);function ev(e){Pt(1,arguments);var t=It(e);return t.setHours(0,0,0,0),t}const Wue=Object.freeze(Object.defineProperty({__proto__:null,default:ev},Symbol.toStringTag,{value:"Module"}));function Gue(e,t){Pt(2,arguments);var n=ev(e),r=ev(t);return n.getTime()===r.getTime()}const Yue=Object.freeze(Object.defineProperty({__proto__:null,default:Gue},Symbol.toStringTag,{value:"Module"})),bC=_n(Yue);function y0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y0=function(n){return typeof n}:y0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},y0(e)}function que(e){return Pt(1,arguments),e instanceof Date||y0(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Wj(e){if(Pt(1,arguments),!que(e)&&typeof e!="number")return!1;var t=It(e);return!isNaN(Number(t))}const Zue=Object.freeze(Object.defineProperty({__proto__:null,default:Wj},Symbol.toStringTag,{value:"Module"}));function kr(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Xue(e,t){Pt(2,arguments);var n=It(e).getTime(),r=kr(t);return new Date(n+r)}function Gj(e,t){Pt(2,arguments);var n=kr(t);return Xue(e,-n)}var Jue=864e5;function ece(e){Pt(1,arguments);var t=It(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/Jue)+1}function rp(e){Pt(1,arguments);var t=1,n=It(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Yj(e){Pt(1,arguments);var t=It(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=rp(r),o=new Date(0);o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0);var a=rp(o);return t.getTime()>=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function tce(e){Pt(1,arguments);var t=Yj(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=rp(n);return r}var nce=6048e5;function qj(e){Pt(1,arguments);var t=It(e),n=rp(t).getTime()-tce(t).getTime();return Math.round(n/nce)+1}var rce={};function wc(){return rce}function qf(e,t){var n,r,i,o,a,s,l,u;Pt(1,arguments);var f=wc(),d=kr((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=It(e),m=g.getUTCDay(),v=(m<d?7:0)+m-d;return g.setUTCDate(g.getUTCDate()-v),g.setUTCHours(0,0,0,0),g}function VI(e,t){var n,r,i,o,a,s,l,u;Pt(1,arguments);var f=It(e),d=f.getUTCFullYear(),g=wc(),m=kr((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:g.firstWeekContainsDate)!==null&&r!==void 0?r:(l=g.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(d+1,0,m),v.setUTCHours(0,0,0,0);var y=qf(v,t),x=new Date(0);x.setUTCFullYear(d,0,m),x.setUTCHours(0,0,0,0);var C=qf(x,t);return f.getTime()>=y.getTime()?d+1:f.getTime()>=C.getTime()?d:d-1}function ice(e,t){var n,r,i,o,a,s,l,u;Pt(1,arguments);var f=wc(),d=kr((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),g=VI(e,t),m=new Date(0);m.setUTCFullYear(g,0,d),m.setUTCHours(0,0,0,0);var v=qf(m,t);return v}var oce=6048e5;function Zj(e,t){Pt(1,arguments);var n=It(e),r=qf(n,t).getTime()-ice(n,t).getTime();return Math.round(r/oce)+1}function Qn(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var ace={y:function(t,n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return Qn(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):Qn(r+1,2)},d:function(t,n){return Qn(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return Qn(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Qn(t.getUTCHours(),n.length)},m:function(t,n){return Qn(t.getUTCMinutes(),n.length)},s:function(t,n){return Qn(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return Qn(o,n.length)}};const bu=ace;var Hd={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sce={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return bu.y(t,n)},Y:function(t,n,r,i){var o=VI(t,i),a=o>0?o:1-o;if(n==="YY"){var s=a%100;return Qn(s,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):Qn(a,n.length)},R:function(t,n){var r=Yj(t);return Qn(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return Qn(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return Qn(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return Qn(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return bu.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return Qn(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var o=Zj(t,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):Qn(o,n.length)},I:function(t,n,r){var i=qj(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):Qn(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):bu.d(t,n)},D:function(t,n,r){var i=ece(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):Qn(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Qn(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Qn(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return Qn(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),o;switch(i===12?o=Hd.noon:i===0?o=Hd.midnight:o=i/12>
vendor: 3,900 bytes, line 108
108=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),o;switch(i>=17?o=Hd.evening:i>=12?o=Hd.afternoon:i>=4?o=Hd.morning:o=Hd.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return bu.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):bu.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):Qn(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):Qn(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):bu.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):bu.s(t,n)},S:function(t,n){return bu.S(t,n)},X:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return qU(a);case"XXXX":case"XX":return vf(a);case"XXXXX":case"XXX":default:return vf(a,":")}},x:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"x":return qU(a);case"xxxx":case"xx":return vf(a);case"xxxxx":case"xxx":default:return vf(a,":")}},O:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+YU(a,":");case"OOOO":default:return"GMT"+vf(a,":")}},z:function(t,n,r,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+YU(a,":");case"zzzz":default:return"GMT"+vf(a,":")}},t:function(t,n,r,i){var o=i._originalDate||t,a=Math.floor(o.getTime()/1e3);return Qn(a,n.length)},T:function(t,n,r,i){var o=i._originalDate||t,a=o.getTime();return Qn(a,n.length)}};function YU(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=t||"";return n+String(i)+a+Qn(o,2)}function qU(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Qn(Math.abs(e)/60,2)}return vf(e,t)}function vf(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=Qn(Math.floor(i/60),2),a=Qn(i%60,2);return r+o+n+a}const lce=sce;var ZU=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Xj=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},Ace=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return ZU(t,n);var a;switch(i){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",ZU(i,n)).replace("{{time}}",Xj(o,n))},uce={p:Xj,P:Ace};const kF=uce;function rb(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var cce=["D","DD"],fce=["YY","YYYY"];function Jj(e){return cce.indexOf(e)!==-1}function e8(e){return fce.indexOf(e)!==-1}function ib(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
vendor: 4,824 bytes, line 108
108concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var dce={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hce=function(t,n,r){var i,o=dce[t];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const pce=hce;function nE(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var gce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},mce={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vce={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_ce={date:nE({formats:gce,defaultWidth:"full"}),time:nE({formats:mce,defaultWidth:"full"}),dateTime:nE({formats:vce,defaultWidth:"full"})};const yce=_ce;var wce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},bce=function(t,n,r,i){return wce[t]};const Bce=bce;function pg(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var Cce={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xce={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ece={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Sce={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Fce={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Tce={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Oce=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"}
vendor: 4,933 bytes, line 108
108,kce={ordinalNumber:Oce,era:pg({values:Cce,defaultWidth:"wide"}),quarter:pg({values:xce,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:pg({values:Ece,defaultWidth:"wide"}),day:pg({values:Sce,defaultWidth:"wide"}),dayPeriod:pg({values:Fce,defaultWidth:"wide",formattingValues:Tce,defaultFormattingWidth:"wide"})};const Ice=kce;function gg(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Dce(s,function(d){return d.test(a)}):Lce(s,function(d){return d.test(a)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(a.length);return{value:u,rest:f}}}function Lce(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Dce(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function Rce(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var Pce=/^(\d+)(th|st|nd|rd)?/i,Uce=/\d+/i,Nce={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Mce={any:[/^b/i,/^(a|c)/i]},Qce={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Hce={any:[/1/i,/2/i,/3/i,/4/i]},$ce={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},jce={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},zce={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Vce={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Kce={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Wce={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Gce={ordinalNumber:Rce({matchPattern:Pce,parsePattern:Uce,valueCallback:function(t){return parseInt(t,10)}}),era:gg({matchPatterns:Nce,defaultMatchWidth:"wide",parsePatterns:Mce,defaultParseWidth:"any"}),quarter:gg({matchPatterns:Qce,defaultMatchWidth:"wide",parsePatterns:Hce,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:gg({matchPatterns:$ce,defaultMatchWidth:"wide",parsePatterns:jce,defaultParseWidth:"any"}),day:gg({matchPatterns:zce,defaultMatchWidth:"wide",parsePatterns:Vce,defaultParseWidth:"any"}),dayPeriod:gg({matchPatterns:Kce,defaultMatchWidth:"any",parsePatterns:Wce,defaultParseWidth:"any"})};const Yce=Gce;var qce={code:"en-US",formatDistance:pce,formatLong:yce,formatRelative:Bce,localize:Ice,match:Yce,options:{weekStartsOn:0,firstWeekContainsDate:1}};const KI=qce,Zce=Object.freeze(Object.defineProperty({__proto__:null,default:KI},Symbol.toStringTag,{value:"Module"}));var Xce=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jce=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,efe=/^'([^]*?)'?$/,tfe=/''/g,nfe=/[a-zA-Z]/;function rfe(e,t,n){var r,i,o,a,s,l,u,f,d,g,m,v,y,x,C,b,E,T;Pt(2,arguments);var D=String(t),I=wc(),U=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:I.locale)!==null&&r!==void 0?r:KI,H=kr((o=(a=(s=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&s!==void 0?s:I.firstWeekContainsDate)!==null&&a!==void 0?a:(d=I.locale)===null||d===void 0||(g=d.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(H>=1&&H<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=kr((m=(v=(y=(x=n==null?void 0:n.weekStartsOn)!==null&&x!==void 0?x:n==null||(C=n.locale)===null||C===void 0||(b=C.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&y!==void 0?y:I.weekStartsOn)!==null&&v!==void 0?v:(E=I.locale)===null||E===void 0||(T=E.options)===null||T===void 0?void 0:T.weekStartsOn)!==null&&m!==void 0?m:0);if(!(V>=0&&V<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!U.localize)throw new RangeError("locale must contain localize property");if(!U.formatLong)throw new RangeError("locale must contain formatLong property");var j=It(e);
108if(!Wj(j))throw new RangeError("Invalid time value");var z=rb(j),q=Gj(j,z),Z={firstWeekContainsDate:H,weekStartsOn:V,locale:U,_originalDate:j},ae=D.match(Jce).map(function(G){var ee=G[0];if(ee==="p"||ee==="P"){var re=kF[ee];return re(G,U.formatLong)}return G}).join("").match(Xce).map(function(G){if(G==="''")return"'";var ee=G[0];if(ee==="'")return ife(G);var re=lce[ee];if(re)return!(n!=null&&n.useAdditionalWeekYearTokens)&&e8(G)&&ib(G,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Jj(G)&&ib(G,t,String(e)),re(q,G,U.localize,Z);if(ee.match(nfe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return G}).join("");return ae}function ife(e){var t=e.match(efe);return t?t[1].replace(tfe,"'"):e}const ofe=Object.freeze(Object.defineProperty({__proto__:null,default:rfe},Symbol.toStringTag,{value:"Module"})),BC=_n(ofe),WI=_n(Wue);function cm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?cm=function(n){return typeof n}:cm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},cm(e)}Object.defineProperty(PA,"__esModule",{value:!0});PA.default=PA.rangeShape=void 0;var of=sfe(k),bn=bc(Fl),rE=bc(id),XU=bc(jI),iE=bc(zI),JU=bc(Kj),mg=bc(bC),afe=bc(BC),e2=bc(WI);function bc(e){return e&&e.__esModule?e:{default:e}}function t8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(t8=function(i){return i?n:t})(e)}function sfe(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||cm(e)!=="object"&&typeof e!="function")return{default:e};var n=t8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function IF(){return IF=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IF.apply(this,arguments)}function t2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function lfe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?t2(Object(n),!0).forEach(function(r){Er(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Afe(e){return dfe(e)||ffe(e)||cfe(e)||ufe()}function ufe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 109In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cfe(e,t){if(e){if(typeof e=="string")return LF(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LF(e,t)}}function ffe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dfe(e){if(Array.isArray(e))return LF(e)}function LF(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pfe(e,t,n){return t&&n2(e.prototype,t),n&&n2(e,n),e}function gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DF(e,t)}
109function DF(e,t){return DF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},DF(e,t)}function mfe(e){var t=_fe();return function(){var r=ob(e),i;if(t){var o=ob(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return vfe(this,i)}}function vfe(e,t){return t&&(cm(t)==="object"||typeof t=="function")?t:nh(e)}function nh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _fe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ob(e){return ob=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ob(e)}function Er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GI=function(e){gfe(n,e);var t=mfe(n);function n(r,i){var o;return hfe(this,n),o=t.call(this,r,i),Er(nh(o),"handleKeyEvent",function(a){var s=o.props,l=s.day,u=s.onMouseDown,f=s.onMouseUp;[13,32].includes(a.keyCode)&&(a.type==="keydown"?u(l):f(l))}),Er(nh(o),"handleMouseEvent",function(a){var s=o.props,l=s.day,u=s.disabled,f=s.onPreviewChange,d=s.onMouseEnter,g=s.onMouseDown,m=s.onMouseUp,v={};if(u){f();return}switch(a.type){case"mouseenter":d(l),f(l),v.hover=!0;break;case"blur":case"mouseleave":v.hover=!1;break;case"mousedown":v.active=!0,g(l);break;case"mouseup":a.stopPropagation(),v.active=!1,m(l);break;case"focus":f(l);break}Object.keys(v).length&&o.setState(v)}),Er(nh(o),"getClassNames",function(){var a,s=o.props,l=s.isPassive,u=s.isToday,f=s.isWeekend,d=s.isStartOfWeek,g=s.isEndOfWeek,m=s.isStartOfMonth,v=s.isEndOfMonth,y=s.disabled,x=s.styles;return(0,rE.default)(x.day,(a={},Er(a,x.dayPassive,l),Er(a,x.dayDisabled,y),Er(a,x.dayToday,u),Er(a,x.dayWeekend,f),Er(a,x.dayStartOfWeek,d),Er(a,x.dayEndOfWeek,g),Er(a,x.dayStartOfMonth,m),Er(a,x.dayEndOfMonth,v),Er(a,x.dayHovered,o.state.hover),Er(a,x.dayActive,o.state.active),a))}),Er(nh(o),"renderPreviewPlaceholder",function(){var a,s=o.props,l=s.preview,u=s.day,f=s.styles;if(!l)return null;var d=l.startDate?(0,XU.default)(l.startDate):null,g=l.endDate?(0,e2.default)(l.endDate):null,m=(!d||(0,JU.default)(u,d))&&(!g||(0,iE.default)(u,g)),v=!m&&(0,mg.default)(u,d),y=!m&&(0,mg.default)(u,g);return of.default.createElement("span",{className:(0,rE.default)((a={},Er(a,f.dayStartPreview,v),Er(a,f.dayInPreview,m),Er(a,f.dayEndPreview,y),a)),style:{color:l.color}})}),Er(nh(o),"renderSelectionPlaceholders",function(){var a=o.props,s=a.styles,l=a.ranges,u=a.day;if(o.props.displayMode==="date"){var f=(0,mg.default)(o.props.day,o.props.date);return f?of.default.createElement("span",{className:s.selected,style:{color:o.props.color}}):null}var d=l.reduce(function(g,m){var v=m.startDate,y=m.endDate;if(v&&y&&(0,iE.default)(y,v)){var x=[y,v];v=x[0],y=x[1]}v=v?(0,XU.default)(v):null,y=y?(0,e2.default)(y):null;var C=(!v||(0,JU.default)(u,v))&&(!y||(0,iE.default)(u,y)),b=!C&&(0,mg.default)(u,v),E=!C&&(0,mg.default)(u,y);return C||b||E?[].concat(Afe(g),[lfe({isStartEdge:b,isEndEdge:E,isInRange:C},m)]):g},[]);return d.map(function(g,m){var v;return of.default.createElement("span",{key:m,className:(0,rE.default)((v={},Er(v,s.startEdge,g.isStartEdge),Er(v,s.endEdge,g.isEndEdge),Er(v,s.inRange,g.isInRange),v)),style:{color:g.color||o.props.color}})})}),o.state={hover:!1,active:!1},o}return pfe(n,[{key:"render",value:function(){var i=this.props.dayContentRenderer;return of.default.createElement("button",IF({type:"button",onMouseEnter:this.handleMouseEvent,onMouseLeave:this.handleMouseEvent,onFocus:this.handleMouseEvent,onMouseDown:this.handleMouseEvent,onMouseUp:this.handleMouseEvent,onBlur:this.handleMouseEvent,onPauseCapture:this.handleMouseEvent,onKeyDown:this.handleKeyEvent,onKeyUp:this.handleKeyEvent,className:this.getClassNames(this.props.styles)},this.props.disabled||this.props.isPassive?{tabIndex:-1}:{},{style:{color:this.props.color}}),this.renderSelectionPlaceholders(),this.renderPreviewPlaceholder(),of.default.createElement("span",{className:this.props.styles.dayNumber},(i==null?void 0:i(this.props.day))||of.default.createElement("span",null,(0,afe.default)(this.props.day,this.props.dayDisplayFormat))))}}]),n}(of.Component);GI.defaultProps={};var n8=bn.default.shape({startDate:bn.default.object,endDate:bn.default.object,color:bn.default.string,key:bn.default.string,autoFocus:bn.default.bool,disabled:bn.default.bool,showDateDisplay:bn.default.bool});PA.rangeShape=n8;GI.propTypes={day:bn.default.object.isRequired,dayDisplayFormat:bn.default.string,date:bn.default.object,ranges:bn.default.arrayOf(n8),preview:bn.default.shape({startDate:bn.default.object,endDate:bn.default.object,color:bn.default.string}),onPreviewChange:bn.default.func,previewColor:bn.default.string,disabled:bn.default.bool,isPassive:bn.default.bool,isToday:bn.default.bool,isWeekend:bn.default.bool,isStartOfWeek:bn.default.bool,isEndOfWeek:bn.default.bool,isStartOfMonth:bn.default.bool,isEndOfMonth:bn.default.bool,color:bn.default.string,displayMode:bn.default.oneOf(["dateRange","date"]),styles:bn.default.object,onMouseDown:bn.default.func,onMouseUp:bn.default.func,onMouseEnter:bn.default.func,dayContentRenderer:bn.default.func};var yfe=GI;PA.default=yfe;var CC={};function wfe(e,t){var n;Pt(1,arguments);var r=e||{},i=It(r.start),o=It(r.end),a=o.getTime();if(!(i.getTime()<=a))throw new RangeError("Invalid interval");var s=[],l=i;l.setHours(0,0,0,0);var u=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=a;)s.push(It(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return s}const bfe=Object.freeze(Object.defineProperty({__proto__:null,default:wfe},Symbol.toStringTag,{value:"Module"})),r8=_n(bfe);function Bfe(e,t){Pt(2,arguments);var n=It(e).getTime(),r=It(t.start).getTime(),i=It(t.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}const Cfe=Object.freeze(Object.defineProperty({__proto__:null,default:Bfe},Symbol.toStringTag,{value:"Module"})),i8=_n(Cfe);function xfe(e){Pt(1,arguments);var t=It(e),n=t.getDay();return n===0||n===6}const Efe=Object.freeze(Object.defineProperty({__proto__:null,default:xfe},Symbol.toStringTag,{value:"Module"})),Sfe=_n(Efe);function Ffe(e,t){var n,r,i,o,a,s,l,u;Pt(1,arguments);var f=wc(),d=kr((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=It(e),m=g.getDay(),v=(m<d?-7:0)+6-(m-d);return g.setDate(g.getDate()+v),g.setHours(23,59,59,999),g}const Tfe=Object.freeze(Object.defineProperty({__proto__:null,default:Ffe},Symbol.toStringTag,{value:"Module"})),xC=_n(Tfe);function Ofe(e,t){var n,r,i,o,a,s,l,u;Pt(1,arguments);var f=wc(),d=kr((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=It(e),m=g.getDay(),v=(m<d?7:0)+m-d;return g.setDate(g.getDate()-v),g.setHours(0,0,0,0),g}const kfe=Object.freeze(Object.defineProperty({__proto__:null,default:Ofe},Symbol.toStringTag,{value:"Module"})),EC=_n(kfe);var QA={};function Ife(e,t){Pt(2,arguments);
109var n=It(e),r=kr(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}const Lfe=Object.freeze(Object.defineProperty({__proto__:null,default:Ife},Symbol.toStringTag,{value:"Module"})),SC=_n(Lfe);function Dfe(e,t){Pt(2,arguments);var n=It(e),r=It(t),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}const Rfe=Object.freeze(Object.defineProperty({__proto__:null,default:Dfe},Symbol.toStringTag,{value:"Module"})),o8=_n(Rfe);var Pfe=864e5;function a8(e,t){Pt(2,arguments);var n=ev(e),r=ev(t),i=n.getTime()-rb(n),o=r.getTime()-rb(r);return Math.round((i-o)/Pfe)}const Ufe=Object.freeze(Object.defineProperty({__proto__:null,default:a8},Symbol.toStringTag,{value:"Module"})),YI=_n(Ufe);function Nfe(e){Pt(1,arguments);var t=It(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}const Mfe=Object.freeze(Object.defineProperty({__proto__:null,default:Nfe},Symbol.toStringTag,{value:"Module"})),qI=_n(Mfe);function Qfe(e){Pt(1,arguments);var t=It(e);return t.setDate(1),t.setHours(0,0,0,0),t}const Hfe=Object.freeze(Object.defineProperty({__proto__:null,default:Qfe},Symbol.toStringTag,{value:"Module"})),ZI=_n(Hfe);Object.defineProperty(QA,"__esModule",{value:!0});QA.calcFocusDate=Gfe;QA.findNextRangeIndex=Yfe;QA.getMonthDisplayRange=qfe;QA.generateStyles=Zfe;var $fe=Bc(id),jfe=Bc(SC),zfe=Bc(o8),Vfe=Bc(YI),Kfe=Bc(xC),Wfe=Bc(EC),s8=Bc(qI),l8=Bc(ZI);function Bc(e){return e&&e.__esModule?e:{default:e}}function Gfe(e,t){var n=t.shownDate,r=t.date,i=t.months,o=t.ranges,a=t.focusedRange,s=t.displayMode,l;if(s==="dateRange"){var u=o[a[0]]||{};l={start:u.startDate,end:u.endDate}}else l={start:r,end:r};l.start=(0,l8.default)(l.start||new Date),l.end=(0,s8.default)(l.end||l.start);var f=l.start||l.end||n||new Date;return e?(0,zfe.default)(l.start,l.end)>i?e:f:n||f}function Yfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,n=e.findIndex(function(r,i){return i>t&&r.autoFocus!==!1&&!r.disabled});return n!==-1?n:e.findIndex(function(r){return r.autoFocus!==!1&&!r.disabled})}function qfe(e,t,n){var r=(0,l8.default)(e,t),i=(0,s8.default)(e,t),o=(0,Wfe.default)(r,t),a=(0,Kfe.default)(i,t);return n&&(0,Vfe.default)(a,o)<=34&&(a=(0,jfe.default)(a,7)),{start:o,end:a,startDateOfMonth:r,endDateOfMonth:i}}function Zfe(e){if(!e.length)return{};var t=e.filter(function(n){return!!n}).reduce(function(n,r){return Object.keys(r).forEach(function(i){n[i]=(0,$fe.default)(n[i],r[i])}),n},{});return t}function fm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fm=function(n){return typeof n}:fm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},fm(e)}Object.defineProperty(CC,"__esModule",{value:!0});CC.default=void 0;var Bf=p8(k),Yn=ts(Fl),A8=p8(PA),u8=ts(r8),Xfe=ts(i8),Jfe=ts(Sfe),ede=ts(Kj),$d=ts(bC),tde=ts(zI),c8=ts(xC),f8=ts(EC),nde=ts(jI),rde=ts(WI),d8=ts(BC),ide=QA;function ts(e){return e&&e.__esModule?e:{default:e}}function h8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(h8=function(i){return i?n:t})(e)}function p8(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||fm(e)!=="object"&&typeof e!="function")return{default:e};var n=h8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function RF(){return RF=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RF.apply(this,arguments)}function r2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function i2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
109t%2?r2(Object(n),!0).forEach(function(r){ode(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r2(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ode(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ade(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sde(e,t,n){return t&&o2(e.prototype,t),n&&o2(e,n),e}function lde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PF(e,t)}function PF(e,t){return PF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},PF(e,t)}function Ade(e){var t=fde();return function(){var r=ab(e),i;if(t){var o=ab(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ude(this,i)}}function ude(e,t){return t&&(fm(t)==="object"||typeof t=="function")?t:cde(e)}function cde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fde(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ab(e){return ab=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ab(e)}function dde(e,t,n){var r=new Date;return Bf.default.createElement("div",{className:e.weekDays},(0,u8.default)({start:(0,f8.default)(r,t),end:(0,c8.default)(r,t)}).map(function(i,o){return Bf.default.createElement("span",{className:e.weekDay,key:o},(0,d8.default)(i,n,t))}))}var XI=function(e){lde(n,e);var t=Ade(n);function n(){return ade(this,n),t.apply(this,arguments)}return sde(n,[{key:"render",value:function(){var i=this,o=new Date,a=this.props,s=a.displayMode,l=a.focusedRange,u=a.drag,f=a.styles,d=a.disabledDates,g=a.disabledDay,m=this.props.minDate&&(0,rde.default)(this.props.minDate),v=this.props.maxDate&&(0,nde.default)(this.props.maxDate),y=(0,ide.getMonthDisplayRange)(this.props.month,this.props.dateOptions,this.props.fixedHeight),x=this.props.ranges;if(s==="dateRange"&&u.status){var C=u.range,b=C.startDate,E=C.endDate;x=x.map(function(D,I){return I!==l[0]?D:i2(i2({},D),{},{startDate:b,endDate:E})})}var T=this.props.showPreview&&!u.disablePreview;return Bf.default.createElement("div",{className:f.month,style:this.props.style},this.props.showMonthName?Bf.default.createElement("div",{className:f.monthName},(0,d8.default)(this.props.month,this.props.monthDisplayFormat,this.props.dateOptions)):null,this.props.showWeekDays&&dde(f,this.props.dateOptions,this.props.weekdayDisplayFormat),Bf.default.createElement("div",{className:f.days,onMouseLeave:this.props.onMouseLeave},(0,u8.default)({start:y.start,end:y.end}).map(function(D,I){var U=(0,$d.default)(D,y.startDateOfMonth),H=(0,$d.default)(D,y.endDateOfMonth),V=m&&(0,tde.default)(D,m)||v&&(0,ede.default)(D,v),j=d.some(function(q){return(0,$d.default)(q,D)}),z=g(D);return Bf.default.createElement(A8.default,RF({},i.props,{ranges:x,day:D,preview:T?i.props.preview:null,isWeekend:(0,Jfe.default)(D,i.props.dateOptions),isToday:(0,$d.default)(D,o),isStartOfWeek:(0,$d.default)(D,(0,f8.default)(D,i.props.dateOptions)),isEndOfWeek:(0,$d.default)(D,(0,c8.default)(D,i.props.dateOptions)),isStartOfMonth:U,isEndOfMonth:H,key:I,disabled:V||j||z,isPassive:!(0,Xfe.default)(D,{start:y.startDateOfMonth,end:y.endDateOfMonth}),styles:f,onMouseDown:i.props.onDragSelectionStart,onMouseUp:i.props.onDragSelectionEnd,onMouseEnter:i.props.onDragSelectionMove,dragRange:u.range,drag:u.status}))})))}}]),n}(Bf.PureComponent);XI.defaultProps={};XI.propTypes={style:Yn.default.object,styles:Yn.default.object,month:Yn.default.object,drag:Yn.default.object,dateOptions:Yn.default.object,disabledDates:Yn.default.array,disabledDay:Yn.default.func,preview:Yn.default.shape({startDate:Yn.default.object,endDate:Yn.default.object}),showPreview:Yn.default.bool,displayMode:Yn.default.oneOf(["dateRange","date"]),minDate:Yn.default.object,maxDate:Yn.default.object,ranges:Yn.default.arrayOf(A8.rangeShape),focusedRange:Yn.default.arrayOf(Yn.default.number),onDragSelectionStart:Yn.default.func,onDragSelectionEnd:Yn.default.func,onDragSelectionMove:Yn.default.func,onMouseLeave:Yn.default.func,monthDisplayFormat:Yn.default.string,weekdayDisplayFormat:Yn.default.string,dayDisplayFormat:Yn.default.string,showWeekDays:Yn.default.bool,showMonthName:Yn.default.bool,f
vendor: 90,475 bytes, lines 109-110
109ixedHeight:Yn.default.bool};var hde=XI;CC.default=hde;var FC={};function pde(e,t){Pt(2,arguments);var n=It(e),r=It(t);return n.getTime()===r.getTime()}const gde=Object.freeze(Object.defineProperty({__proto__:null,default:pde},Symbol.toStringTag,{value:"Module"})),mde=_n(gde),vde=_n(Zue);function _de(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function w0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w0=function(n){return typeof n}:w0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},w0(e)}function g8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UF(e,t)}function UF(e,t){return UF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},UF(e,t)}function m8(e){var t=wde();return function(){var r=sb(e),i;if(t){var o=sb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return yde(this,i)}}function yde(e,t){return t&&(w0(t)==="object"||typeof t=="function")?t:NF(e)}function NF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wde(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sb(e){return sb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sb(e)}function JI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eL(e,t,n){return t&&a2(e.prototype,t),n&&a2(e,n),e}function MF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bde=10,v8=function(){function e(){JI(this,e),MF(this,"subPriority",0)}return eL(e,[{key:"validate",value:function(n,r){return!0}}]),e}(),Bde=function(e){g8(n,e);var t=m8(n);function n(r,i,o,a,s){var l;return JI(this,n),l=t.call(this),l.value=r,l.validateValue=i,l.setValue=o,l.priority=a,s&&(l.subPriority=s),l}return eL(n,[{key:"validate",value:function(i,o){return this.validateValue(i,this.value,o)}},{key:"set",value:function(i,o,a){return this.setValue(i,o,this.value,a)}}]),n}(v8),Cde=function(e){g8(n,e);var t=m8(n);function n(){var r;JI(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),MF(NF(r),"priority",bde),MF(NF(r),"subPriority",-1),r}return eL(n,[{key:"set",value:function(i,o){if(o.timestampIsSet)return i;var a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}}]),n}(v8);function xde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ede(e,t,n){return t&&s2(e.prototype,t),n&&s2(e,n),e}var kn=function(){function e(){xde(this,e)}return Ede(e,[{key:"run",value:function(n,r,i,o){var a=this.parse(n,r,i,o);return a?{setter:new Bde(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(n,r,i){return!0}}]),e}();function b0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b0=function(n){return typeof n}:b0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b0(e)}function Sde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fde(e,t,n){return t&&l2(e.prototype,t),n&&l2(e,n),e}function Tde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QF(e,t)}function QF(e,t){return QF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},QF(e,t)}function Ode(e){var t=Ide();return function(){var r=lb(e),i;if(t){var o=lb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return kde(this,i)}}function kde(e,t){return t&&(b0(t)==="object"||typeof t=="function")?t:HF(e)}function HF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ide(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function lb(e){return lb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lb(e)}function A2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lde=function(e){Tde(n,e);var t=Ode(n);function n(){var r;Sde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),A2(HF(r),"priority",140),A2(HF(r),"incompatibleTokens",["R","u","t","T"]),r}return Fde(n,[{key:"parse",value:function(i,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})||a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"})}}},{key:"set",value:function(i,o,a){return o.era=a,i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn),Dde=6e4,Rde=36e5,Pde=1e3,zr={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},dl={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Vr(e,t){return e&&{value:t(e.value),rest:e.rest}}function wr(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function hl(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var r=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(i*Rde+o*Dde+a*Pde),rest:t.slice(n[0].length)}}function _8(e){return wr(zr.anyDigitsSigned,e)}function Ir(e,t){switch(e){case 1:return wr(zr.singleDigit,t);case 2:return wr(zr.twoDigits,t);case 3:return wr(zr.threeDigits,t);case 4:return wr(zr.fourDigits,t);default:return wr(new RegExp("^\\d{1,"+e+"}"),t)}}function Ab(e,t){switch(e){case 1:return wr(zr.singleDigitSigned,t);case 2:return wr(zr.twoDigitsSigned,t);case 3:return wr(zr.threeDigitsSigned,t);case 4:return wr(zr.fourDigitsSigned,t);default:return wr(new RegExp("^-?\\d{1,"+e+"}"),t)}}function tL(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function y8(e,t){var n=t>0,r=n?t:1-t,i;if(r<=50)i=e||100;else{var o=r+50,a=Math.floor(o/100)*100,s=e>=o%100;i=e+a-(s?100:0)}return n?i:1-i}function w8(e){return e%400===0||e%4===0&&e%100!==0}function B0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?B0=function(n){return typeof n}:B0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},B0(e)}function Ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Nde(e,t,n){return t&&u2(e.prototype,t),n&&u2(e,n),e}function Mde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$F(e,t)}function $F(e,t){return $F=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},$F(e,t)}function Qde(e){var t=$de();return function(){var r=ub(e),i;if(t){var o=ub(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Hde(this,i)}}function Hde(e,t){return t&&(B0(t)==="object"||typeof t=="function")?t:jF(e)}function jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $de(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ub(e){return ub=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ub(e)}function c2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jde=function(e){Mde(n,e);var t=Qde(n);function n(){var r;Ude(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),c2(jF(r),"priority",130),c2(jF(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return Nde(n,[{key:"parse",value:function(i,o,a){var s=function(u){return{year:u,isTwoDigitYear:o==="yy"}};switch(o){case"y":return Vr(Ir(4,i),s);case"yo":return Vr(a.ordinalNumber(i,{unit:"year"}),s);default:return Vr(Ir(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var l=y8(a.year,s);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function C0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C0=function(n){return typeof n}:C0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},C0(e)}function zde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vde(e,t,n){return t&&f2(e.prototype,t),n&&f2(e,n),e}function Kde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zF(e,t)}function zF(e,t){return zF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},zF(e,t)}function Wde(e){var t=Yde();return function(){var r=cb(e),i;if(t){var o=cb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Gde(this,i)}}function Gde(e,t){return t&&(C0(t)==="object"||typeof t=="function")?t:VF(e)}function VF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yde(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cb(e){return cb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cb(e)}function d2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qde=function(e){Kde(n,e);var t=Wde(n);function n(){var r;zde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),d2(VF(r),"priority",130),d2(VF(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return Vde(n,[{key:"parse",value:function(i,o,a){var s=function(u){return{year:u,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return Vr(Ir(4,i),s);case"Yo":return Vr(a.ordinalNumber(i,{unit:"year"}),s);default:return Vr(Ir(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a,s){var l=VI(i,s);if(a.isTwoDigitYear){var u=y8(a.year,l);return i.setUTCFullYear(u,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),qf(i,s)}var f=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(f,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),qf(i,s)}}]),n}(kn);function x0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x0=function(n){return typeof n}:x0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},x0(e)}function Zde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xde(e,t,n){return t&&h2(e.prototype,t),n&&h2(e,n),e}function Jde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KF(e,t)}function KF(e,t){return KF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},KF(e,t)}function ehe(e){var t=nhe();return function(){var r=fb(e),i;if(t){var o=fb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return the(this,i)}}function the(e,t){return t&&(x0(t)==="object"||typeof t=="function")?t:WF(e)}function WF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nhe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function fb(e){return fb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fb(e)}function p2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rhe=function(e){Jde(n,e);var t=ehe(n);function n(){var r;Zde(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),p2(WF(r),"priority",130),p2(WF(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return Xde(n,[{key:"parse",value:function(i,o){return Ab(o==="R"?4:o.length,i)}},{key:"set",value:function(i,o,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),rp(s)}}]),n}(kn);function E0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E0=function(n){return typeof n}:E0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},E0(e)}function ihe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ohe(e,t,n){return t&&g2(e.prototype,t),n&&g2(e,n),e}function ahe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GF(e,t)}function GF(e,t){return GF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},GF(e,t)}function she(e){var t=Ahe();return function(){var r=db(e),i;if(t){var o=db(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return lhe(this,i)}}function lhe(e,t){return t&&(E0(t)==="object"||typeof t=="function")?t:YF(e)}function YF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ahe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function db(e){return db=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},db(e)}function m2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uhe=function(e){ahe(n,e);var t=she(n);function n(){var r;ihe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),m2(YF(r),"priority",130),m2(YF(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return ohe(n,[{key:"parse",value:function(i,o){return Ab(o==="u"?4:o.length,i)}},{key:"set",value:function(i,o,a){return i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function S0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S0=function(n){return typeof n}:S0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},S0(e)}function che(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fhe(e,t,n){return t&&v2(e.prototype,t),n&&v2(e,n),e}function dhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qF(e,t)}function qF(e,t){return qF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},qF(e,t)}function hhe(e){var t=ghe();return function(){var r=hb(e),i;if(t){var o=hb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return phe(this,i)}}function phe(e,t){return t&&(S0(t)==="object"||typeof t=="function")?t:ZF(e)}function ZF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ghe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function hb(e){return hb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hb(e)}function _2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mhe=function(e){dhe(n,e);var t=hhe(n);function n(){var r;che(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),_2(ZF(r),"priority",120),_2(ZF(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return fhe(n,[{key:"parse",value:function(i,o,a){switch(o){case"Q":case"QQ":return Ir(o.length,i);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})||a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function F0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F0=function(n){return typeof n}:F0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},F0(e)}function vhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _he(e,t,n){return t&&y2(e.prototype,t),n&&y2(e,n),e}function yhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XF(e,t)}function XF(e,t){return XF=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},XF(e,t)}function whe(e){var t=Bhe();return function(){var r=pb(e),i;if(t){var o=pb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return bhe(this,i)}}function bhe(e,t){return t&&(F0(t)==="object"||typeof t=="function")?t:JF(e)}function JF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bhe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pb(e){return pb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pb(e)}function w2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Che=function(e){yhe(n,e);var t=whe(n);function n(){var r;vhe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),w2(JF(r),"priority",120),w2(JF(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return _he(n,[{key:"parse",value:function(i,o,a){switch(o){case"q":case"qq":return Ir(o.length,i);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})||a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function T0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T0=function(n){return typeof n}:T0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},T0(e)}function xhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ehe(e,t,n){return t&&b2(e.prototype,t),n&&b2(e,n),e}function She(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eT(e,t)}function eT(e,t){return eT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},eT(e,t)}function Fhe(e){var t=Ohe();return function(){var r=gb(e),i;if(t){var o=gb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return The(this,i)}}function The(e,t){return t&&(T0(t)==="object"||typeof t=="function")?t:tT(e)}function tT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ohe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function gb(e){return gb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gb(e)}function B2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var khe=function(e){She(n,e);var t=Fhe(n);function n(){var r;xhe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),B2(tT(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),B2(tT(r),"priority",110),r}return Ehe(n,[{key:"parse",value:function(i,o,a){var s=function(u){return u-1};switch(o){case"M":return Vr(wr(zr.month,i),s);case"MM":return Vr(Ir(2,i),s);case"Mo":return Vr(a.ordinalNumber(i,{unit:"month"}),s);case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})||a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function O0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O0=function(n){return typeof n}:O0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O0(e)}function Ihe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lhe(e,t,n){return t&&C2(e.prototype,t),n&&C2(e,n),e}function Dhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nT(e,t)}function nT(e,t){return nT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},nT(e,t)}function Rhe(e){var t=Uhe();return function(){var r=mb(e),i;if(t){var o=mb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Phe(this,i)}}function Phe(e,t){return t&&(O0(t)==="object"||typeof t=="function")?t:rT(e)}function rT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uhe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mb(e){return mb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mb(e)}function x2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Nhe=function(e){Dhe(n,e);var t=Rhe(n);function n(){var r;Ihe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),x2(rT(r),"priority",110),x2(rT(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return Lhe(n,[{key:"parse",value:function(i,o,a){var s=function(u){return u-1};switch(o){case"L":return Vr(wr(zr.month,i),s);case"LL":return Vr(Ir(2,i),s);case"Lo":return Vr(a.ordinalNumber(i,{unit:"month"}),s);case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})||a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function Mhe(e,t,n){Pt(2,arguments);var r=It(e),i=kr(t),o=Zj(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}function k0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k0=function(n){return typeof n}:k0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},k0(e)}function Qhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hhe(e,t,n){return t&&E2(e.prototype,t),n&&E2(e,n),e}function $he(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iT(e,t)}function iT(e,t){return iT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},iT(e,t)}function jhe(e){var t=Vhe();return function(){var r=vb(e),i;if(t){var o=vb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return zhe(this,i)}}function zhe(e,t){return t&&(k0(t)==="object"||typeof t=="function")?t:oT(e)}function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vhe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vb(e){return vb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vb(e)}function S2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Khe=function(e){$he(n,e);var t=jhe(n);function n(){var r;Qhe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),S2(oT(r),"priority",100),S2(oT(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return Hhe(n,[{key:"parse",value:function(i,o,a){switch(o){case"w":return wr(zr.week,i);case"wo":return a.ordinalNumber(i,{unit:"week"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a,s){return qf(Mhe(i,a,s),s)}}]),n}(kn);function Whe(e,t){Pt(2,arguments);var n=It(e),r=kr(t),i=qj(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}function I0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I0=function(n){return typeof n}:I0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},I0(e)}function Ghe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yhe(e,t,n){return t&&F2(e.prototype,t),n&&F2(e,n),e}function qhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aT(e,t)}function aT(e,t){return aT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},aT(e,t)}function Zhe(e){var t=Jhe();return function(){var r=_b(e),i;if(t){var o=_b(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Xhe(this,i)}}function Xhe(e,t){return t&&(I0(t)==="object"||typeof t=="function")?t:sT(e)}function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jhe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _b(e){return _b=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_b(e)}function T2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var epe=function(e){qhe(n,e);var t=Zhe(n);function n(){var r;Ghe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),T2(sT(r),"priority",100),T2(sT(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return Yhe(n,[{key:"parse",value:function(i,o,a){switch(o){case"I":return wr(zr.week,i);case"Io":return a.ordinalNumber(i,{unit:"week"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a){return rp(Whe(i,a))}}]),n}(kn);function L0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L0=function(n){return typeof n}:L0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},L0(e)}function tpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function npe(e,t,n){return t&&O2(e.prototype,t),n&&O2(e,n),e}function rpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lT(e,t)}function lT(e,t){return lT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},lT(e,t)}function ipe(e){var t=ape();return function(){var r=yb(e),i;if(t){var o=yb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ope(this,i)}}function ope(e,t){return t&&(L0(t)==="object"||typeof t=="function")?t:D0(e)}function D0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ape(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function yb(e){return yb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yb(e)}function oE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var spe=[31,28,31,30,31,30,31,31,30,31,30,31],lpe=[31,29,31,30,31,30,31,31,30,31,30,31],Ape=function(e){rpe(n,e);var t=ipe(n);function n(){var r;tpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),oE(D0(r),"priority",90),oE(D0(r),"subPriority",1),oE(D0(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return npe(n,[{key:"parse",value:function(i,o,a){switch(o){case"d":return wr(zr.date,i);case"do":return a.ordinalNumber(i,{unit:"date"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=w8(a),l=i.getUTCMonth();return s?o>=1&&o<=lpe[l]:o>=1&&o<=spe[l]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function R0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R0=function(n){return typeof n}:R0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},R0(e)}function upe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cpe(e,t,n){return t&&k2(e.prototype,t),n&&k2(e,n),e}function fpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AT(e,t)}function AT(e,t){return AT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},AT(e,t)}function dpe(e){var t=ppe();return function(){var r=wb(e),i;if(t){var o=wb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return hpe(this,i)}}function hpe(e,t){return t&&(R0(t)==="object"||typeof t=="function")?t:P0(e)}function P0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ppe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function wb(e){return wb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wb(e)}function aE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gpe=function(e){fpe(n,e);var t=dpe(n);function n(){var r;upe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),aE(P0(r),"priority",90),aE(P0(r),"subpriority",1),aE(P0(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return cpe(n,[{key:"parse",value:function(i,o,a){switch(o){case"D":case"DD":return wr(zr.dayOfYear,i);case"Do":return a.ordinalNumber(i,{unit:"date"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=w8(a);return s?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function nL(e,t,n){var r,i,o,a,s,l,u,f;Pt(2,arguments);var d=wc(),g=kr((r=(i=(o=(a=n==null?void 0:n.weekStartsOn)!==null&&a!==void 0?a:n==null||(s=n.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:d.weekStartsOn)!==null&&i!==void 0?i:(u=d.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=It(e),v=kr(t),y=m.getUTCDay(),x=v%7,C=(x+7)%7,b=(C<g?7:0)+v-y;return m.setUTCDate(m.getUTCDate()+b),m}function U0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?U0=function(n){return typeof n}:U0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},U0(e)}function mpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vpe(e,t,n){return t&&I2(e.prototype,t),n&&I2(e,n),e}function _pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uT(e,t)}function uT(e,t){return uT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},uT(e,t)}function ype(e){var t=bpe();return function(){var r=bb(e),i;if(t){var o=bb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return wpe(this,i)}}function wpe(e,t){return t&&(U0(t)==="object"||typeof t=="function")?t:cT(e)}function cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function bb(e){return bb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bb(e)}function L2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bpe=function(e){_pe(n,e);var t=ype(n);function n(){var r;mpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),L2(cT(r),"priority",90),L2(cT(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return vpe(n,[{key:"parse",value:function(i,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=nL(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function N0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N0=function(n){return typeof n}:N0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},N0(e)}function Cpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xpe(e,t,n){return t&&D2(e.prototype,t),n&&D2(e,n),e}function Epe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fT(e,t)}function fT(e,t){return fT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},fT(e,t)}function Spe(e){var t=Tpe();return function(){var r=Bb(e),i;if(t){var o=Bb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Fpe(this,i)}}function Fpe(e,t){return t&&(N0(t)==="object"||typeof t=="function")?t:dT(e)}function dT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bb(e){return Bb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bb(e)}function R2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ope=function(e){Epe(n,e);var t=Spe(n);function n(){var r;Cpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),R2(dT(r),"priority",90),R2(dT(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return xpe(n,[{key:"parse",value:function(i,o,a,s){var l=function(f){var d=Math.floor((f-1)/7)*7;return(f+s.weekStartsOn+6)%7+d};switch(o){case"e":case"ee":return Vr(Ir(o.length,i),l);case"eo":return Vr(a.ordinalNumber(i,{unit:"day"}),l);case"eee":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=nL(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function M0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M0=function(n){return typeof n}:M0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},M0(e)}function kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ipe(e,t,n){return t&&P2(e.prototype,t),n&&P2(e,n),e}function Lpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hT(e,t)}function hT(e,t){return hT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},hT(e,t)}function Dpe(e){var t=Ppe();return function(){var r=Cb(e),i;if(t){var o=Cb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Rpe(this,i)}}function Rpe(e,t){return t&&(M0(t)==="object"||typeof t=="function")?t:pT(e)}function pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ppe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Cb(e){return Cb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cb(e)}function U2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Upe=function(e){Lpe(n,e);var t=Dpe(n);function n(){var r;kpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),U2(pT(r),"priority",90),U2(pT(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return Ipe(n,[{key:"parse",value:function(i,o,a,s){var l=function(f){var d=Math.floor((f-1)/7)*7;return(f+s.weekStartsOn+6)%7+d};switch(o){case"c":case"cc":return Vr(Ir(o.length,i),l);case"co":return Vr(a.ordinalNumber(i,{unit:"day"}),l);case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})||a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=nL(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function Npe(e,t){Pt(2,arguments);var n=kr(t);n%7===0&&(n=n-7);var r=1,i=It(e),o=i.getUTCDay(),a=n%7,s=(a+7)%7,l=(s<r?7:0)+n-o;return i.setUTCDate(i.getUTCDate()+l),i}function Q0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q0=function(n){return typeof n}:Q0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Q0(e)}function Mpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qpe(e,t,n){return t&&N2(e.prototype,t),n&&N2(e,n),e}function Hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gT(e,t)}function gT(e,t){return gT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},gT(e,t)}function $pe(e){var t=zpe();return function(){var r=xb(e),i;if(t){var o=xb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return jpe(this,i)}}function jpe(e,t){return t&&(Q0(t)==="object"||typeof t=="function")?t:mT(e)}function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function xb(e){return xb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xb(e)}function M2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vpe=function(e){Hpe(n,e);var t=$pe(n);function n(){var r;Mpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),M2(mT(r),"priority",90),M2(mT(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return Qpe(n,[{key:"parse",value:function(i,o,a){var s=function(u){return u===0?7:u};switch(o){case"i":case"ii":return Ir(o.length,i);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return Vr(a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return Vr(a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return Vr(a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return Vr(a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,o){return o>=1&&o<=7}},{key:"set",value:function(i,o,a){return i=Npe(i,a),i.setUTCHours(0,0,0,0),i}}]),n}(kn);function H0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?H0=function(n){return typeof n}:H0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},H0(e)}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wpe(e,t,n){return t&&Q2(e.prototype,t),n&&Q2(e,n),e}function Gpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vT(e,t)}function vT(e,t){return vT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},vT(e,t)}function Ype(e){var t=Zpe();return function(){var r=Eb(e),i;if(t){var o=Eb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return qpe(this,i)}}function qpe(e,t){return t&&(H0(t)==="object"||typeof t=="function")?t:_T(e)}function _T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zpe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Eb(e){return Eb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eb(e)}function H2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xpe=function(e){Gpe(n,e);var t=Ype(n);function n(){var r;Kpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),H2(_T(r),"priority",80),H2(_T(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return Wpe(n,[{key:"parse",value:function(i,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(tL(a),0,0,0),i}}]),n}(kn);function $0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$0=function(n){return typeof n}:$0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},$0(e)}function Jpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ege(e,t,n){return t&&$2(e.prototype,t),n&&$2(e,n),e}function tge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yT(e,t)}function yT(e,t){return yT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},yT(e,t)}function nge(e){var t=ige();return function(){var r=Sb(e),i;if(t){var o=Sb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return rge(this,i)}}function rge(e,t){return t&&($0(t)==="object"||typeof t=="function")?t:wT(e)}function wT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ige(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Sb(e){return Sb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sb(e)}function j2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oge=function(e){tge(n,e);var t=nge(n);function n(){var r;Jpe(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),j2(wT(r),"priority",80),j2(wT(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return ege(n,[{key:"parse",value:function(i,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(tL(a),0,0,0),i}}]),n}(kn);function j0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j0=function(n){return typeof n}:j0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},j0(e)}function age(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sge(e,t,n){return t&&z2(e.prototype,t),n&&z2(e,n),e}function lge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bT(e,t)}function bT(e,t){return bT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},bT(e,t)}function Age(e){var t=cge();return function(){var r=Fb(e),i;if(t){var o=Fb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return uge(this,i)}}function uge(e,t){return t&&(j0(t)==="object"||typeof t=="function")?t:BT(e)}function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Fb(e){return Fb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fb(e)}function V2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fge=function(e){lge(n,e);var t=Age(n);function n(){var r;age(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),V2(BT(r),"priority",80),V2(BT(r),"incompatibleTokens",["a","b","t","T"]),r}return sge(n,[{key:"parse",value:function(i,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(tL(a),0,0,0),i}}]),n}(kn);function z0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z0=function(n){return typeof n}:z0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z0(e)}function dge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hge(e,t,n){return t&&K2(e.prototype,t),n&&K2(e,n),e}function pge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CT(e,t)}function CT(e,t){return CT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},CT(e,t)}function gge(e){var t=vge();return function(){var r=Tb(e),i;if(t){var o=Tb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return mge(this,i)}}function mge(e,t){return t&&(z0(t)==="object"||typeof t=="function")?t:xT(e)}function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Tb(e){return Tb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tb(e)}function W2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _ge=function(e){pge(n,e);var t=gge(n);function n(){var r;dge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),W2(xT(r),"priority",70),W2(xT(r),"incompatibleTokens",["H","K","k","t","T"]),r}return hge(n,[{key:"parse",value:function(i,o,a){switch(o){case"h":return wr(zr.hour12h,i);case"ho":return a.ordinalNumber(i,{unit:"hour"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=12}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):!s&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(kn);function V0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V0=function(n){return typeof n}:V0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},V0(e)}function yge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wge(e,t,n){return t&&G2(e.prototype,t),n&&G2(e,n),e}function bge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ET(e,t)}function ET(e,t){return ET=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ET(e,t)}function Bge(e){var t=xge();return function(){var r=Ob(e),i;if(t){var o=Ob(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Cge(this,i)}}function Cge(e,t){return t&&(V0(t)==="object"||typeof t=="function")?t:ST(e)}function ST(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ob(e){return Ob=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ob(e)}function Y2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ege=function(e){bge(n,e);var t=Bge(n);function n(){var r;yge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),Y2(ST(r),"priority",70),Y2(ST(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return wge(n,[{key:"parse",value:function(i,o,a){switch(o){case"H":return wr(zr.hour23h,i);case"Ho":return a.ordinalNumber(i,{unit:"hour"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),n}(kn);function K0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?K0=function(n){return typeof n}:K0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},K0(e)}function Sge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fge(e,t,n){return t&&q2(e.prototype,t),n&&q2(e,n),e}function Tge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FT(e,t)}function FT(e,t){return FT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},FT(e,t)}function Oge(e){var t=Ige();return function(){var r=kb(e),i;if(t){var o=kb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return kge(this,i)}}function kge(e,t){return t&&(K0(t)==="object"||typeof t=="function")?t:TT(e)}function TT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ige(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function kb(e){return kb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kb(e)}function Z2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lge=function(e){Tge(n,e);var t=Oge(n);function n(){var r;Sge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),Z2(TT(r),"priority",70),Z2(TT(r),"incompatibleTokens",["h","H","k","t","T"]),r}return Fge(n,[{key:"parse",value:function(i,o,a){switch(o){case"K":return wr(zr.hour11h,i);case"Ko":return a.ordinalNumber(i,{unit:"hour"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(kn);function W0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W0=function(n){return typeof n}:W0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},W0(e)}function Dge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rge(e,t,n){return t&&X2(e.prototype,t),n&&X2(e,n),e}function Pge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OT(e,t)}function OT(e,t){return OT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},OT(e,t)}function Uge(e){var t=Mge();return function(){var r=Ib(e),i;if(t){var o=Ib(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Nge(this,i)}}function Nge(e,t){return t&&(W0(t)==="object"||typeof t=="function")?t:kT(e)}function kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ib(e){return Ib=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ib(e)}function J2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qge=function(e){Pge(n,e);var t=Uge(n);function n(){var r;Dge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),J2(kT(r),"priority",70),J2(kT(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return Rge(n,[{key:"parse",value:function(i,o,a){switch(o){case"k":return wr(zr.hour24h,i);case"ko":return a.ordinalNumber(i,{unit:"hour"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=24}},{key:"set",value:function(i,o,a){var s=a<=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),n}(kn);function G0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G0=function(n){return typeof n}:G0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},G0(e)}function Hge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $ge(e,t,n){return t&&eN(e.prototype,t),n&&eN(e,n),e}function jge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IT(e,t)}function IT(e,t){return IT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},IT(e,t)}function zge(e){var t=Kge();return function(){var r=Lb(e),i;if(t){var o=Lb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Vge(this,i)}}function Vge(e,t){return t&&(G0(t)==="object"||typeof t=="function")?t:LT(e)}function LT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lb(e)}function tN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wge=function(e){jge(n,e);var t=zge(n);function n(){var r;Hge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),tN(LT(r),"priority",60),tN(LT(r),"incompatibleTokens",["t","T"]),r}return $ge(n,[{key:"parse",value:function(i,o,a){switch(o){case"m":return wr(zr.minute,i);case"mo":return a.ordinalNumber(i,{unit:"minute"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),n}(kn);function Y0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y0=function(n){return typeof n}:Y0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Y0(e)}function Gge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yge(e,t,n){return t&&nN(e.prototype,t),n&&nN(e,n),e}function qge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DT(e,t)}function DT(e,t){return DT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},DT(e,t)}function Zge(e){var t=Jge();return function(){var r=Db(e),i;if(t){var o=Db(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Xge(this,i)}}function Xge(e,t){return t&&(Y0(t)==="object"||typeof t=="function")?t:RT(e)}function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Db(e){return Db=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Db(e)}function rN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eme=function(e){qge(n,e);var t=Zge(n);function n(){var r;Gge(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),rN(RT(r),"priority",50),rN(RT(r),"incompatibleTokens",["t","T"]),r}return Yge(n,[{key:"parse",value:function(i,o,a){switch(o){case"s":return wr(zr.second,i);case"so":return a.ordinalNumber(i,{unit:"second"});default:return Ir(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),n}(kn);function q0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?q0=function(n){return typeof n}:q0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},q0(e)}function tme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nme(e,t,n){return t&&iN(e.prototype,t),n&&iN(e,n),e}function rme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PT(e,t)}function PT(e,t){return PT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},PT(e,t)}function ime(e){var t=ame();return function(){var r=Rb(e),i;if(t){var o=Rb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ome(this,i)}}function ome(e,t){return t&&(q0(t)==="object"||typeof t=="function")?t:UT(e)}function UT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ame(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Rb(e){return Rb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rb(e)}function oN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sme=function(e){rme(n,e);var t=ime(n);function n(){var r;tme(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),oN(UT(r),"priority",30),oN(UT(r),"incompatibleTokens",["t","T"]),r}return nme(n,[{key:"parse",value:function(i,o){var a=function(l){return Math.floor(l*Math.pow(10,-o.length+3))};return Vr(Ir(o.length,i),a)}},{key:"set",value:function(i,o,a){return i.setUTCMilliseconds(a),i}}]),n}(kn);function Z0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z0=function(n){return typeof n}:Z0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Z0(e)}function lme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ame(e,t,n){return t&&aN(e.prototype,t),n&&aN(e,n),e}function ume(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NT(e,t)}function NT(e,t){return NT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},NT(e,t)}function cme(e){var t=dme();return function(){var r=Pb(e),i;if(t){var o=Pb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return fme(this,i)}}function fme(e,t){return t&&(Z0(t)==="object"||typeof t=="function")?t:MT(e)}function MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dme(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pb(e){return Pb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pb(e)}function sN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hme=function(e){ume(n,e);var t=cme(n);function n(){var r;lme(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),sN(MT(r),"priority",10),sN(MT(r),"incompatibleTokens",["t","T","x"]),r}return Ame(n,[{key:"parse",value:function(i,o){switch(o){case"X":return hl(dl.basicOptionalMinutes,i);case"XX":return hl(dl.basic,i);case"XXXX":return hl(dl.basicOptionalSeconds,i);case"XXXXX":return hl(dl.extendedOptionalSeconds,i);case"XXX":default:return hl(dl.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),n}(kn);function X0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X0=function(n){return typeof n}:X0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},X0(e)}function pme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gme(e,t,n){return t&&lN(e.prototype,t),n&&lN(e,n),e}function mme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QT(e,t)}function QT(e,t){return QT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},QT(e,t)}function vme(e){var t=yme();return function(){var r=Ub(e),i;if(t){var o=Ub(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return _me(this,i)}}function _me(e,t){return t&&(X0(t)==="object"||typeof t=="function")?t:HT(e)}function HT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yme(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ub(e){return Ub=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ub(e)}function AN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wme=function(e){mme(n,e);var t=vme(n);function n(){var r;pme(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),AN(HT(r),"priority",10),AN(HT(r),"incompatibleTokens",["t","T","X"]),r}return gme(n,[{key:"parse",value:function(i,o){switch(o){case"x":return hl(dl.basicOptionalMinutes,i);case"xx":return hl(dl.basic,i);case"xxxx":return hl(dl.basicOptionalSeconds,i);case"xxxxx":return hl(dl.extendedOptionalSeconds,i);case"xxx":default:return hl(dl.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),n}(kn);function J0(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?J0=function(n){return typeof n}:J0=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},J0(e)}function bme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bme(e,t,n){return t&&uN(e.prototype,t),n&&uN(e,n),e}function Cme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$T(e,t)}function $T(e,t){return $T=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},$T(e,t)}function xme(e){var t=Sme();return function(){var r=Nb(e),i;if(t){var o=Nb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Eme(this,i)}}function Eme(e,t){return t&&(J0(t)==="object"||typeof t=="function")?t:jT(e)}function jT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sme(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Nb(e){return Nb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nb(e)}function cN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fme=function(e){Cme(n,e);var t=xme(n);function n(){var r;bme(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),cN(jT(r),"priority",40),cN(jT(r),"incompatibleTokens","*"),r}return Bme(n,[{key:"parse",value:function(i){return _8(i)}},{key:"set",value:function(i,o,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),n}(kn);function ew(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ew=function(n){return typeof n}:ew=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ew(e)}function Tme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ome(e,t,n){return t&&fN(e.prototype,t),n&&fN(e,n),e}function kme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zT(e,t)}function zT(e,t){return zT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},zT(e,t)}function Ime(e){var t=Dme();return function(){var r=Mb(e),i;if(t){var o=Mb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Lme(this,i)}}function Lme(e,t){return t&&(ew(t)==="object"||typeof t=="function")?t:VT(e)}function VT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dme(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Mb(e){return Mb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mb(e)}function dN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rme=function(e){kme(n,e);var t=Ime(n);function n(){var r;Tme(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),dN(VT(r),"priority",20),dN(VT(r),"incompatibleTokens","*"),r}return Ome(n,[{key:"parse",value:function(i){return _8(i)}},{key:"set",value:function(i,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),n}(kn),Pme={G:new Lde,y:new jde,Y:new qde,R:new rhe,u:new uhe,Q:new mhe,q:new Che,M:new khe,L:new Nhe,w:new Khe,I:new epe,d:new Ape,D:new gpe,E:new Bpe,e:new Ope,c:new Upe,i:new Vpe,a:new Xpe,b:new oge,B:new fge,h:new _ge,H:new Ege,K:new Lge,k:new Qge,m:new Wge,s:new eme,S:new sme,X:new hme,x:new wme,t:new Fme,T:new Rme};function tw(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?tw=function(n){return typeof n}:tw=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},tw(e)}function hN(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Ume(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 110In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function Ume(e,t){if(e){if(typeof e=="string")return pN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pN(e,t)}}function pN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Nme=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mme=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Qme=/^'([^]*?)'?$/,Hme=/''/g,$me=/\S/,jme=/[a-zA-Z]/;function zme(e,t,n,r){var i,o,a,s,l,u,f,d,g,m,v,y,x,C,b,E,T,D;Pt(3,arguments);var I=String(e),U=String(t),H=wc(),V=(i=(o=r==null?void 0:r.locale)!==null&&o!==void 0?o:H.locale)!==null&&i!==void 0?i:KI;if(!V.match)throw new RangeError("locale must contain match property");var j=kr((a=(s=(l=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(f=r.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&l!==void 0?l:H.firstWeekContainsDate)!==null&&s!==void 0?s:(g=H.locale)===null||g===void 0||(m=g.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(j>=1&&j<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=kr((v=(y=(x=(C=r==null?void 0:r.weekStartsOn)!==null&&C!==void 0?C:r==null||(b=r.locale)===null||b===void 0||(E=b.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&x!==void 0?x:H.weekStartsOn)!==null&&y!==void 0?y:(T=H.locale)===null||T===void 0||(D=T.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&v!==void 0?v:0);if(!(z>=0&&z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(U==="")return I===""?It(n):new Date(NaN);var q={firstWeekContainsDate:j,weekStartsOn:z,locale:V},Z=[new Cde],ae=U.match(Mme).map(function(ce){var fe=ce[0];if(fe in kF){var we=kF[fe];return we(ce,V.formatLong)}return ce}).join("").match(Nme),G=[],ee=hN(ae),re;try{var X=function(){var fe=re.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&e8(fe)&&ib(fe,U,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Jj(fe)&&ib(fe,U,e);var we=fe[0],Ae=Pme[we];if(Ae){var Pe=Ae.incompatibleTokens;if(Array.isArray(Pe)){var ke=G.find(function(Xe){return Pe.includes(Xe.token)||Xe.token===we});if(ke)throw new RangeError("The format string mustn't contain `".concat(ke.fullToken,"` and `").concat(fe,"` at the same time"))}else if(Ae.incompatibleTokens==="*"&&G.length>0)throw new RangeError("The format string mustn't contain `".concat(fe,"` and any other token at the same time"));G.push({token:we,fullToken:fe});var $e=Ae.run(I,fe,V.match,q);if(!$e)return{v:new Date(NaN)};Z.push($e.setter),I=$e.rest}else{if(we.match(jme))throw new RangeError("Format string contains an unescaped latin alphabet character `"+we+"`");if(fe==="''"?fe="'":we==="'"&&(fe=Vme(fe)),I.indexOf(fe)===0)I=I.slice(fe.length);else return{v:new Date(NaN)}}};for(ee.s();!(re=ee.n()).done;){var ge=X();if(tw(ge)==="object")return ge.v}}catch(ce){ee.e(ce)}finally{ee.f()}if(I.length>0&&$me.test(I))return new Date(NaN);var N=Z.map(function(ce){return ce.priority}).sort(function(ce,fe){return fe-ce}).filter(function(ce,fe,we){return we.indexOf(ce)===fe}).map(function(ce){return Z.filter(function(fe){return fe.priority===ce}).sort(function(fe,we){return we.subPriority-fe.subPriority})}).map(function(ce){return ce[0]}),pe=It(n);if(isNaN(pe.getTime()))return new Date(NaN);var W=Gj(pe,rb(pe)),P={},te=hN(N),J;try{for(te.s();!(J=te.n()).done;){var oe=J.value;if(!oe.validate(W,q))return new Date(NaN);var _e=oe.set(W,P,q);Array.isArray(_e)?(W=_e[0],_de(P,_e[1])):W=_e}}
110catch(ce){te.e(ce)}finally{te.f()}return W}function Vme(e){return e.match(Qme)[1].replace(Hme,"'")}const Kme=Object.freeze(Object.defineProperty({__proto__:null,default:zme},Symbol.toStringTag,{value:"Module"})),Wme=_n(Kme);function dm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dm=function(n){return typeof n}:dm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},dm(e)}Object.defineProperty(FC,"__esModule",{value:!0});FC.default=void 0;var ty=Xme(k),rl=bp(Fl),Gme=bp(id),Yme=bp(mde),gN=bp(vde),qme=bp(Wme),Zme=bp(BC);function bp(e){return e&&e.__esModule?e:{default:e}}function b8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(b8=function(i){return i?n:t})(e)}function Xme(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||dm(e)!=="object"&&typeof e!="function")return{default:e};var n=b8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Jme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eve(e,t,n){return t&&mN(e.prototype,t),n&&mN(e,n),e}function tve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KT(e,t)}function KT(e,t){return KT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},KT(e,t)}function nve(e){var t=ive();return function(){var r=Qb(e),i;if(t){var o=Qb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return rve(this,i)}}function rve(e,t){return t&&(dm(t)==="object"||typeof t=="function")?t:nw(e)}function nw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ive(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Qb(e){return Qb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qb(e)}function sE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rL=function(e){tve(n,e);var t=nve(n);function n(r,i){var o;return Jme(this,n),o=t.call(this,r,i),sE(nw(o),"onKeyDown",function(a){var s=o.state.value;a.key==="Enter"&&o.update(s)}),sE(nw(o),"onChange",function(a){o.setState({value:a.target.value,changed:!0,invalid:!1})}),sE(nw(o),"onBlur",function(){var a=o.state.value;o.update(a)}),o.state={invalid:!1,changed:!1,value:o.formatDate(r)},o}return eve(n,[{key:"componentDidUpdate",value:function(i){var o=i.value;(0,Yme.default)(o,this.props.value)||this.setState({value:this.formatDate(this.props)})}},{key:"formatDate",value:function(i){var o=i.value,a=i.dateDisplayFormat,s=i.dateOptions;return o&&(0,gN.default)(o)?(0,Zme.default)(o,a,s):""}},{key:"update",value:function(i){var o=this.state,a=o.invalid,s=o.changed;if(!(a||!s||!i)){var l=this.props,u=l.onChange,f=l.dateDisplayFormat,d=l.dateOptions,g=(0,qme.default)(i,f,new Date,d);(0,gN.default)(g)?this.setState({changed:!1},function(){return u(g)}):this.setState({invalid:!0})}}},{key:"render",value:function(){var i=this.props,o=i.className,a=i.readOnly,s=i.placeholder,l=i.ariaLabel,u=i.disabled,f=i.onFocus,d=this.state,g=d.value,m=d.invalid;return ty.default.createElement("span",{className:(0,Gme.default)("rdrDateInput",o)},ty.default.createElement("input",{readOnly:a,disabled:u,value:g,placeholder:s,"aria-label":l,onKeyDown:this.onKeyDown,onChange:this.onChange,onBlur:this.onBlur,onFocus:f}),m&&ty.default.createElement("span",{className:"rdrWarning"},"â "))}}]),n}
110(ty.PureComponent);rL.propTypes={value:rl.default.object,placeholder:rl.default.string,disabled:rl.default.bool,readOnly:rl.default.bool,dateOptions:rl.default.object,dateDisplayFormat:rl.default.string,ariaLabel:rl.default.string,className:rl.default.string,onFocus:rl.default.func.isRequired,onChange:rl.default.func.isRequired};rL.defaultProps={readOnly:!0,disabled:!1,dateDisplayFormat:"MMM D, YYYY"};var ove=rL;FC.default=ove;var B8={};(function(e){(function(t,n){n(e,k,w)})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:ro,function(t,n,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function i(W){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},i(W)}function o(W,P){if(!(W instanceof P))throw new TypeError("Cannot call a class as a function")}function a(W,P){for(var te=0;te<P.length;te++){var J=P[te];J.enumerable=J.enumerable||!1,J.configurable=!0,"value"in J&&(J.writable=!0),Object.defineProperty(W,b(J.key),J)}}function s(W,P,te){return P&&a(W.prototype,P),te&&a(W,te),Object.defineProperty(W,"prototype",{writable:!1}),W}function l(W,P,te){return P=g(P),u(W,d()?Reflect.construct(P,te||[],g(W).constructor):P.apply(W,te))}function u(W,P){if(P&&(i(P)=="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return f(W)}function f(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function d(){try{var W=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(d=function(){return!!W})()}function g(W){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(P){return P.__proto__||Object.getPrototypeOf(P)},g(W)}function m(W,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(P&&P.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),Object.defineProperty(W,"prototype",{writable:!1}),P&&v(W,P)}function v(W,P){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(te,J){return te.__proto__=J,te},v(W,P)}function y(W,P){var te=Object.keys(W);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(W);P&&(J=J.filter(function(oe){return Object.getOwnPropertyDescriptor(W,oe).enumerable})),te.push.apply(te,J)}return te}function x(W){for(var P=1;P<arguments.length;P++){var te=arguments[P]!=null?arguments[P]:{};P%2?y(Object(te),!0).forEach(function(J){C(W,J,te[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(te)):y(Object(te)).forEach(function(J){Object.defineProperty(W,J,Object.getOwnPropertyDescriptor(te,J))})}return W}function C(W,P,te){return(P=b(P))in W?Object.defineProperty(W,P,{value:te,enumerable:!0,configurable:!0,writable:!0}):W[P]=te,W}function b(W){var P=E(W,"string");return i(P)=="symbol"?P:P+""}function E(W,P){if(i(W)!="object"||!W)return W;var te=W[Symbol.toPrimitive];if(te!==void 0){var J=te.call(W,P||"default");if(i(J)!="object")return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return(P==="string"?String:Number)(W)}var T={x:"clientWidth",y:"clientHeight"},D={x:"clientTop",y:"clientLeft"},I={x:"innerWidth",y:"innerHeight"},U={x:"offsetWidth",y:"offsetHeight"},H={x:"offsetLeft",y:"offsetTop"},V={x:"overflowX",y:"overflowY"},j={x:"scrollWidth",y:"scrollHeight"},z={x:"scrollLeft",y:"scrollTop"},q={x:"width",y:"height"},Z=function(){},ae=function(){if(typeof window>"u")return!1;var W=!1;try{document.createElement("div").addEventListener("test",Z,{get passive(){return W=!0,!1}})}catch{}return W}()?{passive:!0}:!1,G="ReactList failed to reach a stable state.",ee=40,re=function(P,te){for(var J in te)if(P[J]!==te[J])return!1;return!0},X=function(P){for(var te=P.props.axis,J=P.getEl(),oe=V[te];J=J.parentElement;)switch(window.getComputedStyle(J)[oe]){case"auto":case"scroll":case"overlay":return J}return window}
110,ge=function(P){var te=P.props.axis,J=P.scrollParent;return J===window?window[I[te]]:J[T[te]]},N=function(P,te){var J=P.length,oe=P.minSize,_e=P.type,ce=te.from,fe=te.size,we=te.itemsPerRow;fe=Math.max(fe,oe);var Ae=fe%we;return Ae&&(fe+=we-Ae),fe>J&&(fe=J),ce=_e==="simple"||!ce?0:Math.max(Math.min(ce,J-fe),0),(Ae=ce%we)&&(ce-=Ae,fe+=Ae),ce===te.from&&fe===te.size?te:x(x({},te),{},{from:ce,size:fe})},pe=t.default=function(W){function P(te){var J;return o(this,P),J=l(this,P,[te]),J.state=N(te,{itemsPerRow:1,from:te.initialIndex,size:0}),J.cache={},J.cachedScrollPosition=null,J.prevPrevState={},J.unstable=!1,J.updateCounter=0,J}return m(P,W),s(P,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(J){var oe=this;if(this.props.axis!==J.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>ee)return this.unstable=!0,console.error(G);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){oe.updateCounter=0,delete oe.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(J,oe){if(re(this.state,J))return oe();this.setState(J,oe)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,ae),this.scrollParent.removeEventListener("mousewheel",Z,ae)}},{key:"getOffset",value:function(J){var oe=this.props.axis,_e=J[D[oe]]||0,ce=H[oe];do _e+=J[ce]||0;while(J=J.offsetParent);return _e}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var J=this.scrollParent,oe=this.props.axis,_e=z[oe],ce=J===window?document.body[_e]||document.documentElement[_e]:J[_e],fe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),we=Math.max(0,Math.min(ce,fe)),Ae=this.getEl();return this.cachedScrollPosition=this.getOffset(J)+we-this.getOffset(Ae),this.cachedScrollPosition}},{key:"setScroll",value:function(J){var oe=this.scrollParent,_e=this.props.axis;if(J+=this.getOffset(this.getEl()),oe===window)return window.scrollTo(0,J);J-=this.getOffset(this.scrollParent),oe[z[_e]]=J}},{key:"getScrollSize",value:function(){var J=this.scrollParent,oe=document,_e=oe.body,ce=oe.documentElement,fe=j[this.props.axis];return J===window?Math.max(_e[fe],ce[fe]):J[fe]}},{key:"hasDeterminateSize",value:function(){var J=this.props,oe=J.itemSizeGetter,_e=J.type;return _e==="uniform"||oe}},{key:"getStartAndEnd",value:function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,oe=this.getScrollPosition(),_e=Math.max(0,oe-J),ce=oe+this.props.scrollParentViewportSizeGetter(this)+J;return this.hasDeterminateSize()&&(ce=Math.min(ce,this.getSpaceBefore(this.props.length))),{start:_e,end:ce}}},{key:"getItemSizeAndItemsPerRow",value:function(){var J=this.props,oe=J.axis,_e=J.useStaticSize,ce=this.state,fe=ce.itemSize,we=ce.itemsPerRow;if(_e&&fe&&we)return{itemSize:fe,itemsPerRow:we};var Ae=this.items.children;if(!Ae.length)return{};var Pe=Ae[0],ke=Pe[U[oe]],$e=Math.abs(ke-fe);if((isNaN($e)||$e>=1)&&(fe=ke),!fe)return{};var Xe=H[oe],gt=Pe[Xe];we=1;for(var mt=Ae[we];mt&&mt[Xe]===gt;mt=Ae[we])++we;return{itemSize:fe,itemsPerRow:we}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(J){return this.clearSizeCache(),this.updateFrame(J)}},{key:"updateFrame",value:function(J){switch(this.updateScrollParent(),typeof J!="function"&&(J=Z),this.props.type){case"simple":return this.updateSimpleFrame(J);case"variable":return this.updateVariableFrame(J);case"uniform":return this.updateUniformFrame(J)}}},{key:"updateScrollParent",value:function(){var J=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),J!==this.scrollParent&&(J&&(J.removeEventListener("scroll",this.updateFrameAndClearCache),J.removeEventListener("mousewheel",Z)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,ae),this.scrollParent.addEventListener("mousewheel",Z,ae))}},{key:"updateSimpleFrame",value:function(J){var oe=this.getStartAndEnd(),_e=oe.end,ce=this.items.children,fe=0;
110if(ce.length){var we=this.props.axis,Ae=ce[0],Pe=ce[ce.length-1];fe=this.getOffset(Pe)+Pe[U[we]]-this.getOffset(Ae)}if(fe>_e)return J();var ke=this.props,$e=ke.pageSize,Xe=ke.length,gt=Math.min(this.state.size+$e,Xe);this.maybeSetState({size:gt},J)}},{key:"updateVariableFrame",value:function(J){this.props.itemSizeGetter||this.cacheSizes();for(var oe=this.getStartAndEnd(),_e=oe.start,ce=oe.end,fe=this.props,we=fe.length,Ae=fe.pageSize,Pe=0,ke=0,$e=0,Xe=we-1;ke<Xe;){var gt=this.getSizeOfItem(ke);if(gt==null||Pe+gt>_e)break;Pe+=gt,++ke}for(var mt=we-ke;$e<mt&&Pe<ce;){var At=this.getSizeOfItem(ke+$e);if(At==null){$e=Math.min($e+Ae,mt);break}Pe+=At,++$e}this.maybeSetState(N(this.props,{from:ke,itemsPerRow:1,size:$e}),J)}},{key:"updateUniformFrame",value:function(J){var oe=this.getItemSizeAndItemsPerRow(),_e=oe.itemSize,ce=oe.itemsPerRow;if(!_e||!ce)return J();var fe=this.getStartAndEnd(),we=fe.start,Ae=fe.end,Pe=N(this.props,{from:Math.floor(we/_e)*ce,size:(Math.ceil((Ae-we)/_e)+1)*ce,itemsPerRow:ce}),ke=Pe.from,$e=Pe.size;return this.maybeSetState({itemsPerRow:ce,from:ke,itemSize:_e,size:$e},J)}},{key:"getSpaceBefore",value:function(J){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(oe[J]!=null)return oe[J];var _e=this.state,ce=_e.itemSize,fe=_e.itemsPerRow;if(ce)return oe[J]=Math.floor(J/fe)*ce;for(var we=J;we>0&&oe[--we]==null;);for(var Ae=oe[we]||0,Pe=we;Pe<J;++Pe){oe[Pe]=Ae;var ke=this.getSizeOfItem(Pe);if(ke==null)break;Ae+=ke}return oe[J]=Ae}},{key:"cacheSizes",value:function(){for(var J=this.cache,oe=this.state.from,_e=this.items.children,ce=U[this.props.axis],fe=0,we=_e.length;fe<we;++fe)J[oe+fe]=_e[fe][ce]}},{key:"getSizeOfItem",value:function(J){var oe=this.cache,_e=this.items,ce=this.props,fe=ce.axis,we=ce.itemSizeGetter,Ae=ce.itemSizeEstimator,Pe=ce.type,ke=this.state,$e=ke.from,Xe=ke.itemSize,gt=ke.size;if(Xe)return Xe;if(we)return we(J);if(J in oe)return oe[J];if(Pe==="simple"&&J>=$e&&J<$e+gt&&_e){var mt=_e.children[J-$e];if(mt)return mt[U[fe]]}if(Ae)return Ae(J,oe)}},{key:"scrollTo",value:function(J){J!=null&&this.setScroll(this.getSpaceBefore(J))}},{key:"scrollAround",value:function(J){var oe=this.getScrollPosition(),_e=this.getSpaceBefore(J),ce=_e-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(J),fe=Math.min(ce,_e),we=Math.max(ce,_e);if(oe<=fe)return this.setScroll(fe);if(oe>we)return this.setScroll(we)}},{key:"getVisibleRange",value:function(){for(var J=this.state,oe=J.from,_e=J.size,ce=this.getStartAndEnd(0),fe=ce.start,we=ce.end,Ae={},Pe,ke,$e=oe;$e<oe+_e;++$e){var Xe=this.getSpaceBefore($e,Ae),gt=Xe+this.getSizeOfItem($e);Pe==null&>>fe&&(Pe=$e),Pe!=null&&Xe<we&&(ke=$e)}return[Pe,ke]}},{key:"renderItems",value:function(){for(var J=this,oe=this.props,_e=oe.itemRenderer,ce=oe.itemsRenderer,fe=this.state,we=fe.from,Ae=fe.size,Pe=[],ke=0;ke<Ae;++ke)Pe.push(_e(we+ke,ke));return ce(Pe,function($e){return J.items=$e})}},{key:"render",value:function(){var J=this,oe=this.props,_e=oe.axis,ce=oe.length,fe=oe.type,we=oe.useTranslate3d,Ae=this.state,Pe=Ae.from,ke=Ae.itemsPerRow,$e=this.renderItems();if(fe==="simple")return $e;var Xe={position:"relative"},gt={},mt=Math.ceil(ce/ke)*ke,At=this.getSpaceBefore(mt,gt);At&&(Xe[q[_e]]=At,_e==="x"&&(Xe.overflowX="hidden"));var on=this.getSpaceBefore(Pe,gt),je=_e==="x"?on:0,Rt=_e==="y"?on:0,Fn=we?"translate3d(".concat(je,"px, ").concat(Rt,"px, 0)"):"translate(".concat(je,"px, ").concat(Rt,"px)"),Tn={msTransform:Fn,WebkitTransform:Fn,transform:Fn};return(0,r.jsx)("div",{style:Xe,ref:function(Kn){return J.el=Kn},children:(0,r.jsx)("div",{style:Tn,children:$e})})}}],[{key:"getDerivedStateFromProps",value:function(J,oe){var _e=N(J,oe);return _e===oe?null:_e}}])}(n.Component);C(pe,"displayName","ReactList"),C(pe,"defaultProps",{axis:"y",itemRenderer:function(P,te){return(0,r.jsx)("div",{children:P},te)},itemsRenderer:function(P,te){return(0,r.jsx)("div",{ref:te,children:P})},length:0,minSize:1,pageSize:10,scrollParentGetter:X,scrollParentViewportSizeGetter:ge,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1})})})(B8);function ave(e,t){if(e===t)return!0;
110if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),i=n.length;if(r.length!==i)return!1;for(var o=0;o<i;o++){var a=n[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}function sve(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}const lve=Object.freeze(Object.defineProperty({__proto__:null,shallowEqualArrays:sve,shallowEqualObjects:ave},Symbol.toStringTag,{value:"Module"})),Ave=_n(lve);function rw(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?rw=function(n){return typeof n}:rw=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},rw(e)}function uve(e){Pt(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(rw(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var i=It(r);(n===void 0||n<i||isNaN(Number(i)))&&(n=i)}),n||new Date(NaN)}const cve=Object.freeze(Object.defineProperty({__proto__:null,default:uve},Symbol.toStringTag,{value:"Module"})),C8=_n(cve);function iw(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?iw=function(n){return typeof n}:iw=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},iw(e)}function fve(e){Pt(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(iw(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var i=It(r);(n===void 0||n>i||isNaN(i.getDate()))&&(n=i)}),n||new Date(NaN)}const dve=Object.freeze(Object.defineProperty({__proto__:null,default:fve},Symbol.toStringTag,{value:"Module"})),x8=_n(dve);function vN(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function hve(e,t){Pt(2,arguments);var n=It(e),r=It(t),i=vN(n,r),o=Math.abs(a8(n,r));n.setDate(n.getDate()-i*o);var a=+(vN(n,r)===-i),s=i*(o-a);return s===0?0:s}const pve=Object.freeze(Object.defineProperty({__proto__:null,default:hve},Symbol.toStringTag,{value:"Module"})),gve=_n(pve);function mve(e,t){Pt(2,arguments);var n=It(e),r=It(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}const vve=Object.freeze(Object.defineProperty({__proto__:null,default:mve},Symbol.toStringTag,{value:"Module"})),_ve=_n(vve);function yve(e){Pt(1,arguments);var t=It(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function wve(e,t){Pt(2,arguments);var n=It(e),r=kr(t),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=yve(a);return n.setMonth(r,Math.min(o,s)),n}const bve=Object.freeze(Object.defineProperty({__proto__:null,default:wve},Symbol.toStringTag,{value:"Module"})),Bve=_n(bve);function Cve(e,t){Pt(2,arguments);var n=It(e),r=kr(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}const xve=Object.freeze(Object.defineProperty({__proto__:null,default:Cve},Symbol.toStringTag,{value:"Module"})),Eve=_n(xve);function iL(e,t){Pt(2,arguments);var n=It(e),r=kr(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}const Sve=Object.freeze(Object.defineProperty({__proto__:null,default:iL},Symbol.toStringTag,{value:"Module"}));function Fve(e,t){Pt(2,arguments);var n=kr(t);return iL(e,n*12)}const Tve=Object.freeze(Object.defineProperty({__proto__:null,default:Fve},Symbol.toStringTag,{value:"Module"})),Ove=_n(Tve);function kve(e,t){Pt(2,arguments);var n=kr(t);return iL(e,-n)}const Ive=Object.freeze(Object.defineProperty({__proto__:null,default:kve},Symbol.toStringTag,{value:"Module"})),Lve=_n(Ive),E8=_n(Sve),Dve=_n(Zce);var od={};Object.defineProperty(od,"__esModule",{value:!0});od.default=void 0;var Rve={dateRangeWrapper:"rdrDateRangeWrapper",calendarWrapper:"rdrCalendarWrapper",dateDisplay:"rdrDateDisplay",dateDisplayItem:"rdrDateDisplayItem",dateDisplayItemActive:"rdrDateDisplayItemActive",monthAndYearWrapper:"rdrMonthAndYearWrapper",monthAndYearPickers:"rdrMonthAndYearPickers",nextPrevButton:"rdrNextPrevButton",month:"rdrMonth",weekDays:"rdrWeekDays",weekDay:"rdrWeekDay",days:"rdrDays",day:"rdrDay",dayNumber:"rdrDayNumber",dayPassive:"rdrDayPassive",dayToday:"rdrDayToday",dayStartOfWeek:"rdrDayStartOfWeek",dayEndOfWeek:"rdrDayEndOfWeek",daySelected:"rdrDaySelected",dayDisabled:"rdrDayDisabled",dayStartOfMonth:"rdrDayStartOfMonth",dayEndOfMonth:"rdrDayEndOfMonth",dayWeekend:"rdrDayWeekend",dayStartPreview:"rdrDayStartPreview",dayInPreview:"rdrDayInPreview",dayEndPreview:"rdrDayEndPreview",dayHovered:"rdrDayHovered",dayActive:"rdrDayActive",inRange:"rdrInRange",endEdge:"rdrEndEdge",startEdge:"rdrStartEdge",prevButton:"rdrPprevButton",nextButton:"rdrNextButton",selected:"rdrSelected",months:"rdrMonths",monthPicker:"rdrMonthPicker",yearPicker:"rdrYearPicker",dateDisplayWrapper:"rdrDateDisplayWrapper",definedRangesWrapper:"rdrDefinedRangesWrapper",staticRanges:"rdrStaticRanges",staticRange:"rdrStaticRange",inputRanges:"rdrInputRanges",inputRange:"rdrInputRange",inputRangeInput:"rdrInputRangeInput",dateRangePickerWrapper:"rdrDateRangePickerWrapper",staticRangeLabel:"rdrStaticRangeLabel",staticRangeSelected:"rdrStaticRangeSelected",monthName:"rdrMonthName",infiniteMonths:"rdrInfiniteMonths",monthsVertical:"rdrMonthsVertical",monthsHorizontal:"rdrMonthsHorizontal"};od.default=Rve;var TC={};Object.defineProperty(TC,"__esModule",{value:!0});TC.ariaLabelsShape=void 0;var AA=Pve(Fl);
110function Pve(e){return e&&e.__esModule?e:{default:e}}var Uve=AA.default.shape({dateInput:AA.default.objectOf(AA.default.shape({startDate:AA.default.string,endDate:AA.default.string})),monthPicker:AA.default.string,yearPicker:AA.default.string,prevButton:AA.default.string,nextButton:AA.default.string});TC.ariaLabelsShape=Uve;function hm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?hm=function(n){return typeof n}:hm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},hm(e)}Object.defineProperty(Uv,"__esModule",{value:!0});Uv.default=void 0;var zn=o_e(k),Bt=cr(Fl),Nve=PA,_N=cr(CC),yN=cr(FC),ny=QA,af=cr(id),Mve=cr(B8),Qve=Ave,Hve=cr(C8),$ve=cr(x8),jve=cr(gve),zve=cr(_ve),Vve=cr(SC),Kve=cr(qI),Wve=cr(ZI),lE=cr(o8),Gve=cr(Bve),Yve=cr(Eve),wN=cr(Ove),qve=cr(bC),Zve=cr(xC),Xve=cr(EC),Jve=cr(r8),e_e=cr(BC),t_e=cr(Lve),vg=cr(E8),n_e=cr(Dve),r_e=cr(od),i_e=TC;function cr(e){return e&&e.__esModule?e:{default:e}}function S8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(S8=function(i){return i?n:t})(e)}function o_e(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||hm(e)!=="object"&&typeof e!="function")return{default:e};var n=S8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Hb(){return Hb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Hb.apply(this,arguments)}function a_e(e){return u_e(e)||A_e(e)||l_e(e)||s_e()}function s_e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 111In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l_e(e,t){if(e){if(typeof e=="string")return WT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WT(e,t)}}function A_e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u_e(e){if(Array.isArray(e))return WT(e)}function WT(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ry(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bN(Object(n),!0).forEach(function(r){eo(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function c_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f_e(e,t,n){return t&&BN(e.prototype,t),n&&BN(e,n),e}function d_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&>(e,t)}function GT(e,t){return GT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},GT(e,t)}function h_e(e){var t=g_e();return function(){var r=$b(e),i;if(t){var o=$b(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return p_e(this,i)}}function p_e(e,t){return t&&(hm(t)==="object"||typeof t=="function")?t:Eo(e)}function Eo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function $b(e){return $b=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$b(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oL=function(e){d_e(n,e);var t=h_e(n);function n(r,i){var o;return c_e(this,n),o=t.call(this,r,i),eo(Eo(o),"focusToDate",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o.props,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;
111if(!s.scroll.enabled){if(l&&s.preventSnapRefocus){var u=(0,lE.default)(a,o.state.focusedDate),f=s.calendarFocus==="forwards"&&u>=0,d=s.calendarFocus==="backwards"&&u<=0;if((f||d)&&Math.abs(u)<s.months)return}o.setState({focusedDate:a});return}var g=(0,lE.default)(a,s.minDate,o.dateOptions),m=o.list.getVisibleRange();l&&m.includes(g)||(o.isFirstRender=!0,o.list.scrollTo(g),o.setState({focusedDate:a}))}),eo(Eo(o),"updateShownDate",function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o.props,s=a.scroll.enabled?ry(ry({},a),{},{months:o.list.getVisibleRange().length}):a,l=(0,ny.calcFocusDate)(o.state.focusedDate,s);o.focusToDate(l,s)}),eo(Eo(o),"updatePreview",function(a){if(!a){o.setState({preview:null});return}var s={startDate:a,endDate:a,color:o.props.color};o.setState({preview:s})}),eo(Eo(o),"changeShownDate",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set",l=o.state.focusedDate,u=o.props,f=u.onShownDateChange,d=u.minDate,g=u.maxDate,m={monthOffset:function(){return(0,vg.default)(l,a)},setMonth:function(y){function x(){return y.apply(this,arguments)}return x.toString=function(){return y.toString()},x}(function(){return(0,Gve.default)(l,a)}),setYear:function(y){function x(){return y.apply(this,arguments)}return x.toString=function(){return y.toString()},x}(function(){return(0,Yve.default)(l,a)}),set:function(){return a}},v=(0,$ve.default)([(0,Hve.default)([m[s](),d]),g]);o.focusToDate(v,o.props,!1),f&&f(v)}),eo(Eo(o),"handleRangeFocusChange",function(a,s){o.props.onRangeFocusChange&&o.props.onRangeFocusChange([a,s])}),eo(Eo(o),"handleScroll",function(){var a=o.props,s=a.onShownDateChange,l=a.minDate,u=o.state.focusedDate,f=Eo(o),d=f.
111isFirstRender,g=o.list.getVisibleRange();if(g[0]!==void 0){var m=(0,vg.default)(l,g[0]||0),v=!(0,zve.default)(m,u);v&&!d&&(o.setState({focusedDate:m}),s&&s(m)),o.isFirstRender=!1}}),eo(Eo(o),"renderMonthAndYear",function(a,s,l){var u=l.showMonthArrow,f=l.minDate,d=l.maxDate,g=l.showMonthAndYearPickers,m=l.ariaLabels,v=(d||n.defaultProps.maxDate).getFullYear(),y=(f||n.defaultProps.minDate).getFullYear(),x=o.styles;return zn.default.createElement("div",{onMouseUp:function(b){return b.stopPropagation()},className:x.monthAndYearWrapper},u?zn.default.createElement("button",{type:"button",className:(0,af.default)(x.nextPrevButton,x.prevButton),onClick:function(){return s(-1,"monthOffset")},"aria-label":m.prevButton},zn.default.createElement("i",null)):null,g?zn.default.createElement("span",{className:x.monthAndYearPickers},zn.default.createElement("span",{className:x.monthPicker},zn.default.createElement("select",{value:a.getMonth(),onChange:function(b){return s(b.target.value,"setMonth")},"aria-label":m.monthPicker},o.state.monthNames.map(function(C,b){return zn.default.createElement("option",{key:b,value:b},C)}))),zn.default.createElement("span",{className:x.monthAndYearDivider}),zn.default.createElement("span",{className:x.yearPicker},zn.default.createElement("select",{value:a.getFullYear(),onChange:function(b){return s(b.target.value,"setYear")},"aria-label":m.yearPicker},new Array(v-y+1).fill(v).map(function(C,b){var E=C-b;return zn.default.createElement("option",{key:E,value:E},E)})))):zn.default.createElement("span",{className:x.monthAndYearPickers},o.state.monthNames[a.getMonth()]," ",a.getFullYear()),u?zn.default.createElement("button",{type:"button",className:(0,af.default)(x.nextPrevButton,x.nextButton),onClick:function(){return s(1,"monthOffset")},"aria-label":m.nextButton},zn.default.createElement("i",null)):null)}),eo(Eo(o),"renderDateDisplay",function(){var a=o.props,s=a.focusedRange,l=a.color,u=a.ranges,f=a.rangeColors,d=a.dateDisplayFormat,g=a.editableDateInputs,m=a.startDatePlaceholder,v=a.endDatePlaceholder,y=a.ariaLabels,x=f[s[0]]||l,C=o.styles;return zn.default.createElement("div",{className:C.dateDisplayWrapper},u.map(function(b,E){return b.showDateDisplay===!1||b.disabled&&!b.showDateDisplay?null:zn.default.createElement("div",{className:C.dateDisplay,key:E,style:{color:b.color||x}},zn.default.createElement(yN.default,{className:(0,af.default)(C.dateDisplayItem,eo({},C.dateDisplayItemActive,s[0]===E&&s[1]===0)),readOnly:!g,disabled:b.disabled,value:b.startDate,placeholder:m,dateOptions:o.dateOptions,dateDisplayFormat:d,ariaLabel:y.dateInput&&y.dateInput[b.key]&&y.dateInput[b.key].startDate,onChange:o.onDragSelectionEnd,onFocus:function(){return o.handleRangeFocusChange(E,0)}}),zn.default.createElement(yN.default,{className:(0,af.default)(C.dateDisplayItem,eo({},C.dateDisplayItemActive,s[0]===E&&s[1]===1)),readOnly:!g,disabled:b.disabled,value:b.endDate,placeholder:v,dateOptions:o.dateOptions,dateDisplayFormat:d,ariaLabel:y.dateInput&&y.dateInput[b.key]&&y.dateInput[b.key].endDate,onChange:o.onDragSelectionEnd,onFocus:function(){return o.handleRangeFocusChange(E,1)}}))}))}),eo(Eo(o),"onDragSelectionStart",function(a){var s=o.props,l=s.onChange,u=s.dragSelectionEnabled;u?o.setState({drag:{status:!0,range:{startDate:a,endDate:a},disablePreview:!0}}):l&&l(a)}),eo(Eo(o),"onDragSelectionEnd",function(a){var s=o.props,l=s.updateRange,u=s.displayMode,f=s.onChange,d=s.dragSelectionEnabled;if(d){if(u==="date"||!o.state.drag.status){f&&f(a);return}var g={startDate:o.state.drag.range.startDate,endDate:a};u!=="dateRange"||(0,qve.default)(g.startDate,a)?o.setState({drag:{status:!1,range:{}}},function(){return f&&f(a)}):o.setState({drag:{status:!1,range:{}}},function(){l&&l(g)})}}),eo(Eo(o),"onDragSelectionMove",function(a){var s=o.state.drag;!s.status||!o.props.dragSelectionEnabled||o.setState({drag:{status:s.status,range:{startDate:s.range.startDate,endDate:a},disablePreview:!0}})}),eo(Eo(o),"estimateMonthSize",function(a,s){var l=o.props,u=l.direction,f=l.minDate,d=o.state.scrollArea;if(s&&(o.listSizeCache=s,s[a]))return s[a];if(u==="horizontal")return d.monthWidth;var g=(0,vg.default)(f,a),m=(0,ny.getMonthDisplayRange)(g,o.dateOptions),v=m.start,y=m.end,x=(0,jve.default)(y,v,o.dateOptions)+1>7*5;return x?d.longMonthHeight:d.monthHeight}),o.dateOptions={locale:r.locale},r.weekStartsOn!==void 0&&(o.dateOptions.weekStartsOn=r.weekStartsOn),o.styles=(0,ny.generateStyles)([r_e.default,r.classNames]),o.listSizeCache={},o.isFirstRender=!0,o.state={monthNames:o.getMonthNames(),focusedDate:(0,ny.calcFocusDate)(null,r),drag:{status:!1,range:{startDate:null,endD
111ate:null},disablePreview:!1},scrollArea:o.calcScrollArea(r)},o}return f_e(n,[{key:"getMonthNames",value:function(){var i=this;return a_e(Array(12).keys()).map(function(o){return i.props.locale.localize.month(o)})}},{key:"calcScrollArea",value:function(i){var o=i.direction,a=i.months,s=i.scroll;if(!s.enabled)return{enabled:!1};var l=s.longMonthHeight||s.monthHeight;return o==="vertical"?{enabled:!0,monthHeight:s.monthHeight||220,longMonthHeight:l||260,calendarWidth:"auto",calendarHeight:(s.calendarHeight||l||240)*a}:{enabled:!0,monthWidth:s.monthWidth||332,calendarWidth:(s.calendarWidth||s.monthWidth||332)*a,monthHeight:l||300,calendarHeight:l||300}}},{key:"componentDidMount",value:function(){var i=this;this.props.scroll.enabled&&setTimeout(function(){return i.focusToDate(i.state.focusedDate)})}},{key:"componentDidUpdate",value:function(i){var o={dateRange:"ranges",date:"date"},a=o[this.props.displayMode];this.props[a]!==i[a]&&this.updateShownDate(this.props),(i.locale!==this.props.locale||i.weekStartsOn!==this.props.weekStartsOn)&&(this.dateOptions={locale:this.props.locale},this.props.weekStartsOn!==void 0&&(this.dateOptions.weekStartsOn=this.props.weekStartsOn),this.setState({monthNames:this.getMonthNames()})),(0,Qve.shallowEqualObjects)(i.scroll,this.props.scroll)||this.setState({scrollArea:this.calcScrollArea(this.props)})}},{key:"renderWeekdays",value:function(){var i=this,o=new Date;return zn.default.createElement("div",{className:this.styles.weekDays},(0,Jve.default)({start:(0,Xve.default)(o,this.dateOptions),end:(0,Zve.default)(o,this.dateOptions)}).map(function(a,s){return zn.default.createElement("span",{className:i.styles.weekDay,key:s},(0,e_e.default)(a,i.props.weekdayDisplayFormat,i.dateOptions))}))}},{key:"render",value:function(){var i=this,o=this.props,a=o.showDateDisplay,s=o.onPreviewChange,l=o.scroll,u=o.direction,f=o.disabledDates,d=o.disabledDay,g=o.maxDate,m=o.minDate,v=o.rangeColors,y=o.color,x=o.navigatorRenderer,C=o.className,b=o.preview,E=this.state,T=E.scrollArea,D=E.focusedDate,I=u==="vertical",U=x||this.renderMonthAndYear,H=this.props.ranges.map(function(V,j){return ry(ry({},V),{},{color:V.color||v[j]||y})});return zn.default.createElement("div",{className:(0,af.default)(this.styles.calendarWrapper,C),onMouseUp:function(){return i.setState({drag:{status:!1,range:{}}})},onMouseLeave:function(){i.setState({drag:{status:!1,range:{}}})}},a&&this.renderDateDisplay(),U(D,this.changeShownDate,this.props),l.enabled?zn.default.createElement("div",null,I&&this.renderWeekdays(this.dateOptions),zn.default.createElement("div",{className:(0,af.default)(this.styles.infiniteMonths,I?this.styles.monthsVertical:this.styles.monthsHorizontal),onMouseLeave:function(){return s&&s()},style:{width:T.calendarWidth+11,height:T.calendarHeight+11},onScroll:this.handleScroll},zn.default.createElement(Mve.default,{length:(0,lE.default)((0,Kve.default)(g),(0,Vve.default)((0,Wve.default)(m),-1),this.dateOptions),treshold:500,type:"variable",ref:function(j){return i.list=j},itemSizeEstimator:this.estimateMonthSize,axis:I?"y":"x",itemRenderer:function(j,z){var q=(0,vg.default)(m,j);return zn.default.createElement(_N.default,Hb({},i.props,{onPreviewChange:s||i.updatePreview,preview:b||i.state.preview,ranges:H,key:z,drag:i.state.drag,dateOptions:i.dateOptions,disabledDates:f,disabledDay:d,month:q,onDragSelectionStart:i.onDragSelectionStart,onDragSelectionEnd:i.onDragSelectionEnd,onDragSelectionMove:i.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:i.styles,style:I?{height:i.estimateMonthSize(j)}:{height:T.monthHeight,width:i.estimateMonthSize(j)},showMonthName:!0,showWeekDays:!I}))}}))):zn.default.createElement("div",{className:(0,af.default)(this.styles.months,I?this.styles.monthsVertical:this.styles.monthsHorizontal)},new Array(this.props.months).fill(null).map(function(V,j){var z=(0,vg.default)(i.state.focusedDate,j);return i.props.calendarFocus==="backwards"&&(z=(0,t_e.default)(i.state.focusedDate,i.props.months-1-j)),zn.default.createElement(_N.default,Hb({},i.props,{onPreviewChange:s||i.updatePreview,preview:b||i.state.preview,ranges:H,key:j,drag:i.state.drag,dateOptions:i.dateOptions,disabledDates:f,disabledDay:d,month:z,onDragSelectionStart:i.onDragSelectionStart,onDragSelectionEnd:i.onDragSelectionEnd,onDragSelectionMove:i.onDragSelectionMove,onMouseLeave:function(){return s&&s()},styles:i.styles,showWeekDays:!I||j===0,showMonthName:!I||j>0}))})))}}]),n}
111(zn.PureComponent);oL.defaultProps={showMonthArrow:!0,showMonthAndYearPickers:!0,disabledDates:[],disabledDay:function(){},classNames:{},locale:n_e.default,ranges:[],focusedRange:[0,0],dateDisplayFormat:"MMM d, yyyy",monthDisplayFormat:"MMM yyyy",weekdayDisplayFormat:"E",dayDisplayFormat:"d",showDateDisplay:!0,showPreview:!0,displayMode:"date",months:1,color:"#3d91ff",scroll:{enabled:!1},direction:"vertical",maxDate:(0,wN.default)(new Date,20),minDate:(0,wN.default)(new Date,-100),rangeColors:["#3d91ff","#3ecf8e","#fed14c"],startDatePlaceholder:"Early",endDatePlaceholder:"Continuous",editableDateInputs:!1,dragSelectionEnabled:!0,fixedHeight:!1,calendarFocus:"forwards",preventSnapRefocus:!1,ariaLabels:{}};oL.propTypes={showMonthArrow:Bt.default.bool,showMonthAndYearPickers:Bt.default.bool,disabledDates:Bt.default.array,disabledDay:Bt.default.func,minDate:Bt.default.object,maxDate:Bt.default.object,date:Bt.default.object,onChange:Bt.default.func,onPreviewChange:Bt.default.func,onRangeFocusChange:Bt.default.func,classNames:Bt.default.object,locale:Bt.default.object,shownDate:Bt.default.object,onShownDateChange:Bt.default.func,ranges:Bt.default.arrayOf(Nve.rangeShape),preview:Bt.default.shape({startDate:Bt.default.object,endDate:Bt.default.object,color:Bt.default.string}),dateDisplayFormat:Bt.default.string,monthDisplayFormat:Bt.default.string,weekdayDisplayFormat:Bt.default.string,weekStartsOn:Bt.default.number,dayDisplayFormat:Bt.default.string,focusedRange:Bt.default.arrayOf(Bt.default.number),initialFocusedRange:Bt.default.arrayOf(Bt.default.number),months:Bt.default.number,className:Bt.default.string,showDateDisplay:Bt.default.bool,showPreview:Bt.default.bool,displayMode:Bt.default.oneOf(["dateRange","date"]),color:Bt.default.string,updateRange:Bt.default.func,scroll:Bt.default.shape({enabled:Bt.default.bool,monthHeight:Bt.default.number,longMonthHeight:Bt.default.number,monthWidth:Bt.default.number,calendarWidth:Bt.default.number,calendarHeight:Bt.default.number}),direction:Bt.default.oneOf(["vertical","horizontal"]),startDatePlaceholder:Bt.default.string,endDatePlaceholder:Bt.default.string,navigatorRenderer:Bt.default.func,rangeColors:Bt.default.arrayOf(Bt.default.string),editableDateInputs:Bt.default.bool,dragSelectionEnabled:Bt.default.bool,fixedHeight:Bt.default.bool,calendarFocus:Bt.default.string,preventSnapRefocus:Bt.default.bool,ariaLabels:i_e.ariaLabelsShape};var m_e=oL;Uv.default=m_e;function pm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pm=function(n){return typeof n}:pm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},pm(e)}Object.defineProperty(Pv,"__esModule",{value:!0});Pv.default=void 0;var CN=C_e(k),jd=Tl(Fl),F8=Tl(Uv),v_e=PA,AE=QA,__e=Tl(C8),y_e=Tl(i8),xN=Tl(x8),uE=Tl(SC),w_e=Tl(YI),EN=Tl(zI),b_e=Tl(id),B_e=Tl(od);function Tl(e){return e&&e.__esModule?e:{default:e}}function T8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(T8=function(i){return i?n:t})(e)}function C_e(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||pm(e)!=="object"&&typeof e!="function")return{default:e};var n=T8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function YT(){return YT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YT.apply(this,arguments)}function SN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function yh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?SN(Object(n),!0).forEach(function(r){rh(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SN(Object(n)).forEac
111h(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function x_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E_e(e,t,n){return t&&FN(e.prototype,t),n&&FN(e,n),e}function S_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qT(e,t)}function qT(e,t){return qT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},qT(e,t)}function F_e(e){var t=O_e();return function(){var r=jb(e),i;if(t){var o=jb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return T_e(this,i)}}function T_e(e,t){return t&&(pm(t)==="object"||typeof t=="function")?t:Ug(e)}function Ug(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function jb(e){return jb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jb(e)}function rh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aL=function(e){S_e(n,e);var t=F_e(n);function n(r,i){var o;return x_e(this,n),o=t.call(this,r,i),rh(Ug(o),"calcNewSelection",function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,l=o.props.focusedRange||o.state.focusedRange,u=o.props,f=u.ranges,d=u.onChange,g=u.maxDate,m=u.moveRangeOnFirstSelection,v=u.retainEndDateOnFirstSelection,y=u.disabledDates,x=l[0],C=f[x];if(!C||!d)return{};var b=C.startDate,E=C.endDate,T=new Date,D;if(!s)b=a.startDate,E=a.endDate;else if(l[1]===0){var I=(0,w_e.default)(E||T,b),U=function(){return m?(0,uE.default)(a,I):v?!E||(0,EN.default)(a,E)?E:a:a||T};b=a,E=U(),g&&(E=(0,xN.default)([E,g])),D=[l[0],1]}else E=a;var H=l[1]===0;if((0,EN.default)(E,b)){H=!H;var V=[E,b];b=V[0],E=V[1]}var j=y.filter(function(q){return(0,y_e.default)(q,{start:b,end:E})});if(j.length>0&&(H?b=(0,uE.default)((0,__e.default)(j),1):E=(0,uE.default)((0,xN.default)(j),-1)),!D){var z=(0,AE.findNextRangeIndex)(o.props.ranges,l[0]);D=[z,0]}return{wasValid:!(j.length>0),range:{startDate:b,endDate:E},nextFocusRange:D}}),rh(Ug(o),"setSelection",function(a,s){var l=o.props,u=l.onChange,f=l.ranges,d=l.onRangeFocusChange,g=o.props.focusedRange||o.state.focusedRange,m=g[0],v=f[m];if(v){var y=o.calcNewSelection(a,s);u(rh({},v.key||"range".concat(m+1),yh(yh({},v),y.range))),o.setState({focusedRange:y.nextFocusRange,preview:null}),d&&d(y.nextFocusRange)}}),rh(Ug(o),"handleRangeFocusChange",function(a){o.setState({focusedRange:a}),o.props.onRangeFocusChange&&o.props.onRangeFocusChange(a)}),rh(Ug(o),"updatePreview",function(a){var s;if(!a){o.setState({preview:null});return}var l=o.props,u=l.rangeColors,f=l.ranges,d=o.props.focusedRange||o.state.focusedRange,g=((s=f[d[0]])===null||s===void 0?void 0:s.color)||u[d[0]]||g;o.setState({preview:yh(yh({},a.range),{},{color:g})})}),o.state={focusedRange:r.initialFocusedRange||[(0,AE.findNextRangeIndex)(r.ranges),0],preview:null},o.styles=(0,AE.generateStyles)([B_e.default,r.classNames]),o}return E_e(n,[{key:"render",value:function(){var i=this;return CN.default.createElement(F8.default,YT({focusedRange:this.state.focusedRange,onRangeFocusChange:this.handleRangeFocusChange,preview:this.state.preview,onPreviewChange:function(a){i.updatePreview(a?i.calcNewSelection(a):null)}},this.props,{displayMode:"dateRange",className:(0,b_e.default)(this.styles.dateRangeWrapper,this.props.className),onChange:this.setSelection,updateRange:function(a){return i.setSelection(a,!1)},ref:function(a){i.calendar=a}}))}}]),n}(CN.Component);aL.defaultProps={classNames:{},ranges:[],moveRangeOnFirstSelection:!1,retainEndDateOnFirstSelection:!1,rangeColors:["#3d91ff","#3ecf8e","#fed14c"],disabledDates:[]};aL.propTypes=yh(yh({}
111,F8.default.propTypes),{},{onChange:jd.default.func,onRangeFocusChange:jd.default.func,className:jd.default.string,ranges:jd.default.arrayOf(v_e.rangeShape),moveRangeOnFirstSelection:jd.default.bool,retainEndDateOnFirstSelection:jd.default.bool});var k_e=aL;Pv.default=k_e;var OC={},Nv={},ac={};Object.defineProperty(ac,"__esModule",{value:!0});ac.createStaticRanges=O8;ac.defaultInputRanges=ac.defaultStaticRanges=void 0;var TN=Ol(YI),zb=Ol(bC),ON=Ol(xC),kN=Ol(EC),IN=Ol(E8),LN=Ol(qI),DN=Ol(ZI),RN=Ol(WI),PN=Ol(jI),wh=Ol(SC);function Ol(e){return e&&e.__esModule?e:{default:e}}function UN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function NN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?UN(Object(n),!0).forEach(function(r){I_e(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function I_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ui={startOfWeek:(0,kN.default)(new Date),endOfWeek:(0,ON.default)(new Date),startOfLastWeek:(0,kN.default)((0,wh.default)(new Date,-7)),endOfLastWeek:(0,ON.default)((0,wh.default)(new Date,-7)),startOfToday:(0,RN.default)(new Date),endOfToday:(0,PN.default)(new Date),startOfYesterday:(0,RN.default)((0,wh.default)(new Date,-1)),endOfYesterday:(0,PN.default)((0,wh.default)(new Date,-1)),startOfMonth:(0,DN.default)(new Date),endOfMonth:(0,LN.default)(new Date),startOfLastMonth:(0,DN.default)((0,IN.default)(new Date,-1)),endOfLastMonth:(0,LN.default)((0,IN.default)(new Date,-1))},L_e={range:{},isSelected:function(t){var n=this.range();return(0,zb.default)(t.startDate,n.startDate)&&(0,zb.default)(t.endDate,n.endDate)}};function O8(e){return e.map(function(t){return NN(NN({},L_e),t)})}var D_e=O8([{label:"Today",range:function(){return{startDate:ui.startOfToday,endDate:ui.endOfToday}}},{label:"Yesterday",range:function(){return{startDate:ui.startOfYesterday,endDate:ui.endOfYesterday}}},{label:"This Week",range:function(){return{startDate:ui.startOfWeek,endDate:ui.endOfWeek}}},{label:"Last Week",range:function(){return{startDate:ui.startOfLastWeek,endDate:ui.endOfLastWeek}}},{label:"This Month",range:function(){return{startDate:ui.startOfMonth,endDate:ui.endOfMonth}}},{label:"Last Month",range:function(){return{startDate:ui.startOfLastMonth,endDate:ui.endOfLastMonth}}}]);ac.defaultStaticRanges=D_e;var R_e=[{label:"days up to today",range:function(t){return{startDate:(0,wh.default)(ui.startOfToday,(Math.max(Number(t),1)-1)*-1),endDate:ui.endOfToday}},getCurrentValue:function(t){return(0,zb.default)(t.endDate,ui.endOfToday)?t.startDate?(0,TN.default)(ui.endOfToday,t.startDate)+1:"â":"-"}},{label:"days starting today",range:function(t){var n=new Date;return{startDate:n,endDate:(0,wh.default)(n,Math.max(Number(t),1)-1)}},getCurrentValue:function(t){return(0,zb.default)(t.startDate,ui.startOfToday)?t.endDate?(0,TN.default)(t.endDate,ui.startOfToday)+1:"â":"-"}}];ac.defaultInputRanges=R_e;var kC={};function gm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gm=function(n){return typeof n}:gm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},gm(e)}Object.defineProperty(kC,"__esModule",{value:!0});kC.default=void 0;var iy=U_e(k),Bo=P_e(Fl);function P_e(e){return e&&e.__esModule?e:{default:e}}function k8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(k8=function(i){return i?n:t})(e)}function U_e(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||gm(e)!=="object"&&typeof e!="function")return{default:e};var n=k8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function N_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function M_e(e,t,n){return t&&MN(e.prototype,t),n&&MN(e,n),e}function Q_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZT(e,t)}function ZT(e,t){return ZT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},ZT(e,t)}function H_e(e){var t=j_e();return function(){var r=Vb(e),i;if(t){var o=Vb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return $_e(this,i)}}function $_e(e,t){return t&&(gm(t)==="object"||typeof t=="function")?t:I8(e)}function I8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vb(e){return Vb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vb(e)}function z_e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QN=0,HN=99999,sL=function(e){Q_e(n,e);var t=H_e(n);function n(r,i){var o;
111return N_e(this,n),o=t.call(this,r,i),z_e(I8(o),"onChange",function(a){var s=o.props.onChange,l=parseInt(a.target.value,10);l=isNaN(l)?0:Math.max(Math.min(HN,l),QN),s(l)}),o}return M_e(n,[{key:"shouldComponentUpdate",value:function(i){var o=this.props,a=o.value,s=o.label,l=o.placeholder;return a!==i.value||s!==i.label||l!==i.placeholder}},{key:"render",value:function(){var i=this.props,o=i.label,a=i.placeholder,s=i.value,l=i.styles,u=i.onBlur,f=i.onFocus;return iy.default.createElement("div",{className:l.inputRange},iy.default.createElement("input",{className:l.inputRangeInput,placeholder:a,value:s,min:QN,max:HN,onChange:this.onChange,onFocus:f,onBlur:u}),iy.default.createElement("span",{className:l.inputRangeLabel},o))}}]),n}(iy.Component);sL.propTypes={value:Bo.default.oneOfType([Bo.default.string,Bo.default.number]),label:Bo.default.oneOfType([Bo.default.element,Bo.default.node]).isRequired,placeholder:Bo.default.string,styles:Bo.default.shape({inputRange:Bo.default.string,inputRangeInput:Bo.default.string,inputRangeLabel:Bo.default.string}).isRequired,onBlur:Bo.default.func.isRequired,onFocus:Bo.default.func.isRequired,onChange:Bo.default.func.isRequired};sL.defaultProps={value:"",placeholder:"-"};var V_e=sL;kC.default=V_e;function mm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?mm=function(n){return typeof n}:mm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},mm(e)}Object.defineProperty(Nv,"__esModule",{value:!0});Nv.default=void 0;var sf=G_e(k),ia=IC(Fl),lf=IC(od),$N=ac,K_e=PA,W_e=IC(kC),jN=IC(id);function IC(e){return e&&e.__esModule?e:{default:e}}function L8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(L8=function(i){return i?n:t})(e)}function G_e(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||mm(e)!=="object"&&typeof e!="function")return{default:e};var n=L8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function zN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function VN(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zN(Object(n),!0).forEach(function(r){ow(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Y_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q_e(e,t,n){return t&&KN(e.prototype,t),n&&KN(e,n),e}function Z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XT(e,t)}function XT(e,t){return XT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},XT(e,t)}function X_e(e){var t=eye();return function(){var r=Kb(e),i;if(t){var o=Kb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return J_e(this,i)}}function J_e(e,t){return t&&(mm(t)==="object"||typeof t=="function")?t:D8(e)}function D8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eye(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Kb(e){return Kb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kb(e)}function ow(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lL=function(e){Z_e(n,e);var t=X_e(n);function n(r){var i;return Y_e(this,n),i=t.call(this,r),ow(D8(i),"handleRangeChange",function(o){var a=i.props,s=a.onChange,l=a.ranges,u=a.focusedRange,f=l[u[0]];!s||!f||s(ow({},f.key||"range".concat(u[0]+1),VN(VN({},f),o)))}),i.state={rangeOffset:0,focusedInput:-1}
111,i}return q_e(n,[{key:"getRangeOptionValue",value:function(i){var o=this.props,a=o.ranges,s=a===void 0?[]:a,l=o.focusedRange,u=l===void 0?[]:l;if(typeof i.getCurrentValue!="function")return"";var f=s[u[0]]||{};return i.getCurrentValue(f)||""}},{key:"getSelectedRange",value:function(i,o){var a=i.findIndex(function(l){return!l.startDate||!l.endDate||l.disabled?!1:o.isSelected(l)}),s=i[a];return{selectedRange:s,focusedRangeIndex:a}}},{key:"render",value:function(){var i=this,o=this.props,a=o.headerContent,s=o.footerContent,l=o.onPreviewChange,u=o.inputRanges,f=o.staticRanges,d=o.ranges,g=o.renderStaticRangeLabel,m=o.rangeColors,v=o.className;return sf.default.createElement("div",{className:(0,jN.default)(lf.default.definedRangesWrapper,v)},a,sf.default.createElement("div",{className:lf.default.staticRanges},f.map(function(y,x){var C=i.getSelectedRange(d,y),b=C.selectedRange,E=C.focusedRangeIndex,T;return y.hasCustomRendering?T=g(y):T=y.label,sf.default.createElement("button",{type:"button",className:(0,jN.default)(lf.default.staticRange,ow({},lf.default.staticRangeSelected,!!b)),style:{color:b?b.color||m[E]:null},key:x,onClick:function(){return i.handleRangeChange(y.range(i.props))},onFocus:function(){return l&&l(y.range(i.props))},onMouseOver:function(){return l&&l(y.range(i.props))},onMouseLeave:function(){l&&l()}},sf.default.createElement("span",{tabIndex:-1,className:lf.default.staticRangeLabel},T))})),sf.default.createElement("div",{className:lf.default.inputRanges},u.map(function(y,x){return sf.default.createElement(W_e.default,{key:x,styles:lf.default,label:y.label,onFocus:function(){return i.setState({focusedInput:x,rangeOffset:0})},onBlur:function(){return i.setState({rangeOffset:0})},onChange:function(b){return i.handleRangeChange(y.range(b,i.props))},value:i.getRangeOptionValue(y)})})),s)}}]),n}(sf.Component);lL.propTypes={inputRanges:ia.default.array,staticRanges:ia.default.array,ranges:ia.default.arrayOf(K_e.rangeShape),focusedRange:ia.default.arrayOf(ia.default.number),onPreviewChange:ia.default.func,onChange:ia.default.func,footerContent:ia.default.any,headerContent:ia.default.any,rangeColors:ia.default.arrayOf(ia.default.string),className:ia.default.string,renderStaticRangeLabel:ia.default.func};lL.defaultProps={inputRanges:$N.defaultInputRanges,staticRanges:$N.defaultStaticRanges,ranges:[],rangeColors:["#3d91ff","#3ecf8e","#fed14c"],focusedRange:[0,0]};var tye=lL;Nv.default=tye;function vm(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vm=function(n){return typeof n}:vm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vm(e)}Object.defineProperty(OC,"__esModule",{value:!0});OC.default=void 0;var oy=oye(k),nye=Mv(Fl),R8=Mv(Pv),P8=Mv(Nv),WN=QA,rye=Mv(id),iye=Mv(od);function Mv(e){return e&&e.__esModule?e:{default:e}}function U8(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(U8=function(i){return i?n:t})(e)}function oye(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||vm(e)!=="object"&&typeof e!="function")return{default:e};var n=U8(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function GN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function cE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GN(Object(n),!0).forEach(function(r){aye(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GN(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function aye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wb(){return Wb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wb.apply(this,arguments)}function sye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
111function lye(e,t,n){return t&&YN(e.prototype,t),n&&YN(e,n),e}function Aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JT(e,t)}function JT(e,t){return JT=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},JT(e,t)}function uye(e){var t=dye();return function(){var r=Gb(e),i;if(t){var o=Gb(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return cye(this,i)}}function cye(e,t){return t&&(vm(t)==="object"||typeof t=="function")?t:fye(e)}function fye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dye(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gb(e){return Gb=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gb(e)}var AL=function(e){Aye(n,e);var t=uye(n);function n(r){var i;return sye(this,n),i=t.call(this,r),i.state={focusedRange:[(0,WN.findNextRangeIndex)(r.ranges),0]},i.styles=(0,WN.generateStyles)([iye.default,r.classNames]),i}return lye(n,[{key:"render",value:function(){var i=this,o=this.state.focusedRange;return oy.default.createElement("div",{className:(0,rye.default)(this.styles.dateRangePickerWrapper,this.props.className)},oy.default.createElement(P8.default,Wb({focusedRange:o,onPreviewChange:function(s){return i.dateRange.updatePreview(s?i.dateRange.calcNewSelection(s,typeof s=="string"):null)}},this.props,{range:this.props.ranges[o[0]],className:void 0})),oy.default.createElement(R8.default,Wb({onRangeFocusChange:function(s){return i.setState({focusedRange:s})},focusedRange:o},this.props,{ref:function(s){return i.dateRange=s},className:void 0})))}}]),n}(oy.Component);AL.defaultProps={};AL.propTypes=cE(cE(cE({},R8.default.propTypes),P8.default.propTypes),{},{className:nye.default.string});var hye=AL;OC.default=hye;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DateRange",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"DateRangePicker",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DefinedRange",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"defaultInputRanges",{enumerable:!0,get:function(){return o.defaultInputRanges}}),Object.defineProperty(e,"defaultStaticRanges",{enumerable:!0,get:function(){return o.defaultStaticRanges}}),Object.defineProperty(e,"createStaticRanges",{enumerable:!0,get:function(){return o.createStaticRanges}});var t=a(Pv),n=a(Uv),r=a(OC),i=a(Nv),o=ac;function a(s){return s&&s.__esModule?s:{default:s}}})(OF);const pye="_white_bg_1v5qd_1",gye="_grey_bg_1v5qd_1",mye="_active_1v5qd_1",vye="_show_1v5qd_1",_ye="_filter_component_1v5qd_4",yye="_dashBoardBg_1v5qd_9",wye="_dashBoard_container_1v5qd_13",bye="_chooseDashList_1v5qd_17",Bye="_dateBg_1v5qd_21",Cye="_dateBgBorder_1v5qd_26",xye="_dateBgField_1v5qd_30",Eye="_dateText_1v5qd_34",Sye="_datePicker_1v5qd_38",Fye="_dashPicker_1v5qd_46",Tye="_clear_filter_1v5qd_54",Oye="_ibuPicker_1v5qd_57",kye="_ibuName_1v5qd_67",Iye="_fontAdjust_1v5qd_72",Lye="_mobile_side_nav_1v5qd_76",Dye="_side_nav_1v5qd_80",Rye="_mobileContainer_1v5qd_85",Ou={"material-icons":"_material-icons_1v5qd_1","material-symbols":"_material-symbols_1v5qd_1","material-icons-round":"_material-icons-round_1v5qd_1",white_bg:pye,grey_bg:gye,"react-confirm-alert-body":"_react-confirm-alert-body_1v5qd_1","nav-tabs":"_nav-tabs_1v5qd_1","nav-link":"_nav-link_1v5qd_1",active:mye,"nav-item":"_nav-item_1v5qd_1",show:vye,"responsive-width-1":"_responsive-width-1_1v5qd_1","custom-chart-size":"_custom-chart-size_1v5qd_1","custom-chart-size-2":"_custom-chart-size-2_1v5qd_1","modal-header":"_modal-header_1v5qd_1","modal-footer":"_modal-footer_1v5qd_1","Toastify__toast--dark":"_Toastify__toast--dark_1v5qd_1","Toastify__toast-body":"_Toastify__toast-body_1v5qd_1",filter_component:_ye,dashBoardBg:yye,dashBoard_container:wye,chooseDashList:bye,dateBg:Bye,dateBgBorder:Cye,dateBgField:xye,dateText:Eye,datePicker:Sye,dashPicker:Fye,clear_filter:Tye,ibuPicker:Oye,ibuName:kye,fontAdjust:Iye,mobile_side_nav:Lye,side_nav:Dye,mobileContainer:Rye},Pye=()=>{const[e,t]=pt(np),[n,r]=k.useState(!1),[i,o]=k.useState(!1),[a,s]=pt(np),l=qe(Ja),u=qe(Jt),[f,d]=k.useState(window.matchMedia("(max-width:600px)").matches);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",v=>d(v.matches))},[]);const g=v=>{s([v.selection])},m=()=>{t(a)};return k.useEffect(()=>{if(u){const y=document.querySelectorAll(".rdrStaticRange");document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.remove("text-white")}),document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.add(Ou.hover_class)}),document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.add("text-dark")}),document.querySelectorAll(".rdrDefinedRangesWrapper").forEach(C=>{C.classList.remove("bg-dark")}),document.querySelectorAll(".rdrDateRangeWrapper").forEach(C=>{C.classList.remove("bg-dark")}
111),y.forEach(C=>{C.classList.remove("bg-dark")}),document.querySelectorAll(".rdrInputRange").forEach(C=>{C.querySelectorAll("span").forEach(E=>{E.classList.remove("text-white"),E.classList.add("text-dark")})}),document.querySelectorAll(".rdrDateDisplay").forEach(C=>{C.querySelectorAll("span").forEach(E=>{E.classList.remove("bg-dark"),E.classList.add("bg-white")})}),document.querySelectorAll(".rdrDateDisplayWrapper").forEach(C=>{C.classList.add("bg-white"),C.classList.remove("bg-dark")}),document.querySelectorAll(".rdrDayNumber").forEach(C=>{C.querySelectorAll("span").forEach(b=>{b.classList.remove("text-white")})}),document.querySelectorAll(".rdrInputRangeInput").forEach(C=>{C.classList.add("bg-white")})}else{const y=document.querySelectorAll(".rdrStaticRange");document.querySelectorAll(".rdrDefinedRangesWrapper").forEach(C=>{C.classList.add("bg-dark")}),document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.remove("text-dark")}),document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.add("text-white")}),document.querySelectorAll(".rdrDateRangeWrapper").forEach(C=>{C.classList.add("bg-dark")}),y.forEach(C=>{C.classList.add("bg-dark")}),document.querySelectorAll(".rdrInputRange").forEach(C=>{C.querySelectorAll("span").forEach(E=>{E.classList.remove("text-dark"),E.classList.add("text-white")})}),document.querySelectorAll(".rdrDateDisplay").forEach(C=>{C.querySelectorAll("span").forEach(E=>{E.classList.remove("bg-white"),E.classList.add("bg-dark")})}),document.querySelectorAll(".rdrDateDisplayWrapper").forEach(C=>{C.classList.remove("bg-white"),C.classList.add("bg-dark")}),document.querySelectorAll(".rdrDayNumber").forEach(C=>{C.querySelectorAll("span").forEach(b=>{b.classList.remove("text-black"),b.classList.add("text-white")})}),document.querySelectorAll(".rdrStaticRangeLabel").forEach(C=>{C.classList.add("hover_class")}),document.querySelectorAll(".rdrInputRangeInput").forEach(C=>{C.classList.add("bg-white")})}},[u,i]),w.jsxs("div",{className:`${u?"bg-white":"bg-dark"} d-flex p-2 py-3 border-2 rounded ${f?"":"me-2"} w-100`,children:[w.jsx("div",{className:"d-flex justify-content-center w-100",onClick:()=>{o(!i)},children:w.jsxs("div",{className:"px-2 d-flex align-items-center justify-content-between w-100",children:[w.jsx("div",{className:"ms-1 ",children:w.jsx("span",{className:"material-icons pe-3 text-secondary fs-4",children:"date_range"})}),w.jsx("div",{className:" me-2",children:w.jsx(TF,{content:`${l?a[0].startDate.toLocaleDateString("en-US",{day:"numeric",month:"numeric",year:"numeric"}):""}`,textColor:u?"#000":"#ffffff"})}),w.jsx("div",{className:"",children:w.jsx(TF,{content:`${l?a[0].endDate.toLocaleDateString("en-US",{day:"numeric",month:"numeric",year:"numeric"}):""}`,textColor:u?"#000":"#ffffff"})}),w.jsx("div",{className:"ms-1 ",children:w.jsx("span",{className:"material-icons pe-1 text-secondary fs-4",children:"expand_more"})})]})}),i&&w.jsx("div",{className:`${Ou.datePicker} `,children:w.jsx("div",{className:"row flex-column align-items-center shadow mb-5 bg-body rounded",children:w.jsxs("div",{className:`${u?"bg-light ":"bg-dark"} col-12 p-4 rounded-2`,children:[w.jsx("div",{className:"p-3",children:f?w.jsx(OF.DateRange,{editableDateInputs:!0,onChange:g,moveRangeOnFirstSelection:!1,ranges:a,color:"#911db4"}):w.jsx(OF.DateRangePicker,{ranges:a,onChange:g,showDateDisplay:!0,rangeColors:["#190144","#6B1C9E","#C15BD9"],className:"bg-dark"})}),w.jsx("div",{className:"px-5",children:w.jsx(DI,{btnTxt:"ok",showIcon:!1,clickHandler:()=>{o(!o),r(!0),m()}})})]})})})]})};var ih=(e=>(e.Disabled="disabled",e.Enabled="enabled",e.Remote="remote",e))(ih||{}),N8=(e=>(e.Chat="Chat",e.Suggestion="Suggestion",e.Task="Task",e.TextareaCompletion="TextareaCompletion",e.TextareaPopover="TextareaPopover",e))(N8||{}),_m=(e=>(e.Assistant="assistant",e.Developer="developer",e.System="system",e.Tool="tool",e.User="user",e))(_m||{}),M8=(e=>(e.Failed="Failed",e.Pending="Pending",e.Success="Success",e))(M8||{}),Ng=(e=>(e.CopilotKitLangGraphInterruptEvent="CopilotKitLangGraphInterruptEvent",e.LangGraphInterruptEvent="LangGraphInterruptEvent",e))(Ng||{}),Uye={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"generateCopilotResponse"}
111,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"GenerateCopilotResponseInput"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"properties"}},type:{kind:"NamedType",name:{kind:"Name",value:"JSONObject"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generateCopilotResponse"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}},{kind:"Argument",name:{kind:"Name",value:"properties"},value:{kind:"Variable",name:{kind:"Name",value:"properties"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threadId"}},{kind:"Field",name:{kind:"Name",value:"runId"}},{kind:"Field",name:{kind:"Name",value:"extensions"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"openaiAssistantAPI"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"runId"}},{kind:"Field",name:{kind:"Name",value:"threadId"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CopilotResponse"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BaseResponseStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FailedResponseStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reason"}},{kind:"Field",name:{kind:"Name",value:"details"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"messages"},directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BaseMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BaseMessageOutput"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SuccessMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FailedMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"reason"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PendingMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TextMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"},directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}]},{kind:"Field",name:{kind:"Name",value:"role"}},{kind:"Field",name:{kind:"Name",value:"parentMessageId"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ImageMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"format"}},{kind:"Field",name:{kind:"Name",value:"bytes"}},{kind:"Field",name:{kind:"Name",value:"role"}},{kind:"Field",name:{kind:"Name",value:"parentMessageId"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ActionExecutionMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"arguments"},directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}]},{kind:"Field",name:{kind:"Name",value:"parentMessageId"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ResultMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"actionExecutionId"}},{kind:"Field",name:{kind:"Name",value:"actionName"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AgentStateMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threadId"}},{kind:"Field",name:{kind:"Name",value:"state"}},{kind:"Field",name:{kind:"Name",value:"running"}},{kind:"Field",name:{kind:"Name",value:"agentName"}},{kind:"Field",name:{kind:"Name",value:"nodeName"}}
111,{kind:"Field",name:{kind:"Name",value:"runId"}},{kind:"Field",name:{kind:"Name",value:"active"}},{kind:"Field",name:{kind:"Name",value:"role"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"metaEvents"},directives:[{kind:"Directive",name:{kind:"Name",value:"stream"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"LangGraphInterruptEvent"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"value"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CopilotKitLangGraphInterruptEvent"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"data"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"messages"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BaseMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"createdAt"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BaseMessageOutput"}},directives:[{kind:"Directive",name:{kind:"Name",value:"defer"}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SuccessMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FailedMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}},{kind:"Field",name:{kind:"Name",value:"reason"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PendingMessageStatus"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TextMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"}},{kind:"Field",name:{kind:"Name",value:"role"}},{kind:"Field",name:{kind:"Name",value:"parentMessageId"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ActionExecutionMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"arguments"}},{kind:"Field",name:{kind:"Name",value:"parentMessageId"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ResultMessageOutput"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"actionExecutionId"}},{kind:"Field",name:{kind:"Name",value:"actionName"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"value"}}]}}]}}]}}]}}]}}]},Nye={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"availableAgents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"availableAgents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"agents"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"description"}}]}}]}}]}}]},Mye={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"loadAgentState"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"LoadAgentStateInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"loadAgentState"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"threadId"}},{kind:"Field",name:{kind:"Name",value:"threadExists"}},{kind:"Field",name:{kind:"Name",value:"state"}},{kind:"Field",name:{kind:"Name",value:"messages"}}]}}]}}]},Qye={"\n mutation generateCopilotResponse($data: GenerateCopilotResponseInput!, $properties: JSONObject) {\n generateCopilotResponse(data: $data, properties: $properties) {\n threadId\n runI
111d\n extensions {\n openaiAssistantAPI {\n runId\n threadId\n }\n }\n ... on CopilotResponse @defer {\n status {\n ... on BaseResponseStatus {\n code\n }\n ... on FailedResponseStatus {\n reason\n details\n }\n }\n }\n messages @stream {\n __typename\n ... on BaseMessageOutput {\n id\n createdAt\n }\n ... on BaseMessageOutput @defer {\n status {\n ... on SuccessMessageStatus {\n code\n }\n ... on FailedMessageStatus {\n code\n reason\n }\n ... on PendingMessageStatus {\n code\n }\n }\n }\n ... on TextMessageOutput {\n content @stream\n role\n parentMessageId\n }\n ... on ImageMessageOutput {\n format\n bytes\n role\n parentMessageId\n }\n ... on ActionExecutionMessageOutput {\n name\n arguments @stream\n parentMessageId\n }\n ... on ResultMessageOutput {\n result\n actionExecutionId\n actionName\n }\n ... on AgentStateMessageOutput {\n threadId\n state\n running\n agentName\n nodeName\n runId\n active\n role\n }\n }\n metaEvents @stream {\n ... on LangGraphInterruptEvent {\n type\n name\n value\n }\n\n ... on CopilotKitLangGraphInterruptEvent {\n type\n name\n data {\n messages {\n __typename\n ... on BaseMessageOutput {\n id\n createdAt\n }\n ... on BaseMessageOutput @defer {\n status {\n ... on SuccessMessageStatus {\n code\n }\n ... on FailedMessageStatus {\n code\n reason\n }\n ... on PendingMessageStatus {\n code\n }\n }\n }\n ... on TextMessageOutput {\n content\n role\n parentMessageId\n }\n ... on ActionExecutionMessageOutput {\n name\n arguments\n parentMessageId\n }\n ... on ResultMessageOutput {\n result\n actionExecutionId\n actionName\n }\n }\n value\n }\n }\n }\n }\n }\n":Uye,"\n query availableAgents {\n availableAgents {\n agents {\n name\n id\n description\n }\n }\n }\n":Nye,"\n query loadAgentState($data: LoadAgentStateInput!) {\n loadAgentState(data: $data) {\n threadId\n threadExists\n state\n messages\n }\n }\n":Mye};function uL(e){return Qye[e]??{}}var Hye=uL(` 112 mutation generateCopilotResponse($data: GenerateCopilotResponseInput!, $properties: JSONObject) { 113 generateCopilotResponse(data: $data, properties: $properties) { 114 threadId 115 runId 116 extensions { 117 openaiAssistantAPI { 118 runId 119 threadId 120 } 121 } 122 ... on CopilotResponse @defer { 123 status { 124 ... on BaseResponseStatus { 125 code 126 } 127 ... on FailedResponseStatus { 128 reason 129 details 130 } 131 } 132 } 133 messages @stream { 134 __typename 135 ... on BaseMessageOutput { 136 id 137 createdAt 138 } 139 ... on BaseMessageOutput @defer { 140 status { 141 ... on SuccessMessageStatus { 142 code 143 } 144 ... on FailedMessageStatus { 145 code 146 reason 147 } 148 ... on PendingMessageStatus { 149 code 150 } 151 } 152 } 153 ... on TextMessageOutput { 154 content @stream 155 role 156 parentMessageId 157 } 158 ... on ImageMessageOutput { 159 format 160 bytes 161 role 162 parentMessageId 163 } 164 ... on ActionExecutionMessageOutput { 165 name 166 arguments @stream 167 parentMessageId 168 } 169 ... on ResultMessageOutput { 170 result 171 actionExecutionId 172 actionName 173 } 174 ... on AgentStateMessageOutput { 175 threadId 176 state 177 running 178 agentName 179 nodeName
180 runId 181 active 182 role 183 } 184 } 185 metaEvents @stream { 186 ... on LangGraphInterruptEvent { 187 type 188 name 189 value 190 } 191 192 ... on CopilotKitLangGraphInterruptEvent { 193 type 194 name 195 data { 196 messages { 197 __typename 198 ... on BaseMessageOutput { 199 id 200 createdAt 201 } 202 ... on BaseMessageOutput @defer { 203 status { 204 ... on SuccessMessageStatus { 205 code 206 } 207 ... on FailedMessageStatus { 208 code 209 reason 210 } 211 ... on PendingMessageStatus { 212 code 213 } 214 } 215 } 216 ... on TextMessageOutput { 217 content 218 role 219 parentMessageId 220 } 221 ... on ActionExecutionMessageOutput { 222 name 223 arguments 224 parentMessageId 225 } 226 ... on ResultMessageOutput { 227 result 228 actionExecutionId 229 actionName 230 } 231 } 232 value 233 } 234 } 235 } 236 } 237 } 238`),$ye=uL(` 239 query availableAgents { 240 availableAgents { 241 agents { 242 name 243 id 244 description 245 } 246 } 247 } 248`),jye=uL(` 249 query loadAgentState($data: LoadAgentStateInput!) { 250 loadAgentState(data: $data) { 251 threadId 252 threadExists 253 state 254 messages 255 } 256 } 257`),Mg={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"};let eO=class extends Error{constructor(t,n,r,i,o,a,s){super(t),this.name="GraphQLError",this.message=t,o&&(this.path=o),n&&(this.nodes=Array.isArray(n)?n:[n]),r&&(this.source=r),i&&(this.positions=i),a&&(this.originalError=a);var l=s;if(!l&&a){var u=a.extensions;u&&typeof u=="object"&&(l=u)}this.extensions=l||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}};var vt,Ve;function io(e){return new eO(`Syntax Error: Unexpected token at ${Ve} in ${e}`)}function qN(e){if(e.lastIndex=Ve,e.test(vt))return vt.slice(Ve,Ve=e.lastIndex)}var ay=/ +(?=[^\s])/y;function zye(e){for(var t=e.split(` 258`),n="",r=0,i=0,o=t.length-1,a=0;a<t.length;a++)ay.lastIndex=0,ay.test(t[a])&&(a&&(!r||ay.lastIndex<r)&&(r=ay.lastIndex),i=i||a,o=a);for(var s=i;s<=o;s++)s!==i&&(n+=` 259`),n+=t[s].slice(r).replace(/\\"""/g,'"""');return n}function vn(){for(var e=0|vt.charCodeAt(Ve++);e===9||e===10||e===13||e===32||e===35||e===44||e===65279;e=0|vt.charCodeAt(Ve++))if(e===35)for(;(e=0|vt.charCodeAt(Ve++))&&e!==10&&e!==13;);Ve--}function cL(){for(var e=Ve,t=0|vt.charCodeAt(Ve++);t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122;t=0|vt.charCodeAt(Ve++));if(e===Ve-1)throw io("Name");var n=vt.slice(e,--Ve);return vn(),n}function ko(){return{kind:"Name",value:cL()}}var Vye=/(?:"""|(?:[\s\S]*?[^\\])""")/y,Kye=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function ip(e){var t;switch(vt.charCodeAt(Ve)){case 91:Ve++,vn();for(var n=[];vt.charCodeAt(Ve)!==93;)n.push(ip(e));return Ve++,vn(),{kind:"ListValue",values:n};case 123:Ve++,vn();for(var r=[];vt.charCodeAt(Ve)!==125;){var i=ko();if(vt.charCodeAt(Ve++)!==58)throw io("ObjectField");vn(),r.push({kind:"ObjectField",name:i,value:ip(e)})}return Ve++,vn(),{kind:"ObjectValue",fields:r};case 36:if(e)throw io("Variable");return Ve++,{kind:"Variable",name:ko()};case 34:if(vt.charCodeAt(Ve+1)===34&&vt.charCodeAt(Ve+2)===34){if(Ve+=3,(t=qN(Vye))==null)throw io("StringValue");return vn(),{kind:"StringValue",value:zye(t.slice(0,-3)),block:!0}}else{var o=Ve,a;Ve++;var s=!1;for(a=0|vt.charCodeAt(Ve++);a===92&&(Ve++,s=!0)||a!==10&&a!==13&&a!==34&&a;a=0|vt.charCodeAt(Ve++));if(a!==34)throw io("StringValue");return t=vt.slice(o,Ve),vn(),{kind:"StringValue",value:s?JSON.parse(t):t.slice(1,-1),block:!1}}case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var l=Ve++,u;(u=0|vt.charCodeAt(Ve++))>=48&&u<=57;);var f=vt.slice(l,--Ve);if((u=vt.charCodeAt(Ve))===46||u===69||u===101){if((t=qN(Kye))==null)throw io("FloatValue");return vn(),{kind:"FloatValue",value:f+t}}else return vn(),{kind:"IntValue",value:f};case 110:if(vt.charCodeAt(Ve+1)===117&&vt.charCodeAt(Ve+2)===108&&vt.charCodeAt(Ve+3)===108)return Ve+=4,vn(),{kind:"NullValue"};break;case 116:if(vt.charCodeAt(Ve+1)===114&&vt.charCodeAt(Ve+2)===117&&vt.charCodeAt(Ve+3)===101)return Ve+=4,vn(),{kind:"BooleanValue",value:!0};break;case 102:if(vt.charCodeAt(Ve+1)===97&&vt.charCodeAt(Ve+2)===108&&vt.charCodeAt(Ve+3)===115&&vt.charCodeAt(Ve+4)===101)return Ve+=5,vn(),{kind:"BooleanValue",value:!1};break}return{kind:"EnumValue",value:cL()}}function Q8(e){if(vt.charCodeAt(Ve)===40){var t=[];Ve++,vn();do{var n=ko();if(vt.charCodeAt(Ve++)!==58)throw io("Argument");vn(),t.push({kind:"Argument",name:n,value:ip(e)})}while(vt.charCodeAt(Ve)!==41);return Ve++,vn(),t}}function Du(e){if(vt.charCodeAt(Ve)===64){var t=[];do Ve++,t.push({kind:"Directive",name:ko(),arguments:Q8(e)});while(vt.charCodeAt(Ve)===64);return t}}function Wye(){for(var e=0;vt.charCodeAt(Ve)===91;)e++,Ve++,vn();var t={kind:"NamedType",name:ko()};do if(vt.charCodeAt(Ve)===33&&(Ve++,vn(),t={kind:"NonNullType",type:t}),e){if(vt.charCodeAt(Ve++)!==93)throw io("NamedType");vn(),t={kind:"ListType",type:t}}while(e--);return t}
259function Yb(){if(vt.charCodeAt(Ve++)!==123)throw io("SelectionSet");return vn(),qb()}function qb(){var e=[];do if(vt.charCodeAt(Ve)===46){if(vt.charCodeAt(++Ve)!==46||vt.charCodeAt(++Ve)!==46)throw io("SelectionSet");switch(Ve++,vn(),vt.charCodeAt(Ve)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:Du(!1),selectionSet:Yb()});break;case 111:vt.charCodeAt(Ve+1)===110?(Ve+=2,vn(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:ko()},directives:Du(!1),selectionSet:Yb()})):e.push({kind:"FragmentSpread",name:ko(),directives:Du(!1)});break;case 123:Ve++,vn(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:qb()});break;default:e.push({kind:"FragmentSpread",name:ko(),directives:Du(!1)})}}else{var t=ko(),n=void 0;vt.charCodeAt(Ve)===58&&(Ve++,vn(),n=t,t=ko());var r=Q8(!1),i=Du(!1),o=void 0;vt.charCodeAt(Ve)===123&&(Ve++,vn(),o=qb()),e.push({kind:"Field",alias:n,name:t,arguments:r,directives:i,selectionSet:o})}while(vt.charCodeAt(Ve)!==125);return Ve++,vn(),{kind:"SelectionSet",selections:e}}function Gye(){if(vn(),vt.charCodeAt(Ve)===40){var e=[];Ve++,vn();do{var t=void 0;if(vt.charCodeAt(Ve)===34&&(t=ip(!0)),vt.charCodeAt(Ve++)!==36)throw io("Variable");var n=ko();if(vt.charCodeAt(Ve++)!==58)throw io("VariableDefinition");vn();var r=Wye(),i=void 0;vt.charCodeAt(Ve)===61&&(Ve++,vn(),i=ip(!0)),vn();var o={kind:"VariableDefinition",variable:{kind:"Variable",name:n},type:r,defaultValue:i,directives:Du(!0)};t&&(o.description=t),e.push(o)}while(vt.charCodeAt(Ve)!==41);return Ve++,vn(),e}}function Yye(e){var t=ko();if(vt.charCodeAt(Ve++)!==111||vt.charCodeAt(Ve++)!==110)throw io("FragmentDefinition");vn();var n={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:ko()},directives:Du(!1),selectionSet:Yb()};return e&&(n.description=e),n}function ZN(){var e=[];do{var t=void 0;if(vt.charCodeAt(Ve)===34&&(t=ip(!0)),vt.charCodeAt(Ve)===123){if(t)throw io("Document");Ve++,vn(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:qb()})}else{var n=cL();switch(n){case"fragment":e.push(Yye(t));break;case"query":case"mutation":case"subscription":var r,i=void 0;(r=vt.charCodeAt(Ve))!==40&&r!==64&&r!==123&&(i=ko());var o={kind:"OperationDefinition",operation:n,name:i,variableDefinitions:Gye(),directives:Du(!1),selectionSet:Yb()};t&&(o.description=t),e.push(o);break;default:throw io("Document")}}}while(Ve<vt.length);return e}function qye(e,t){return vt=e.body?e.body:e,Ve=0,vn(),t&&t.noLocation?{kind:"Document",definitions:ZN()}:{kind:"Document",definitions:ZN(),loc:{start:0,end:vt.length,startToken:void 0,endToken:void 0,source:{body:vt,name:"graphql.web",locationOffset:{line:1,column:1}}}}}function Co(e,t,n){for(var r="",i=0;i<e.length;i++)i&&(r+=t),r+=n(e[i]);return r}function Zye(e){return JSON.stringify(e)}function Xye(e){return`""" 260`+e.replace(/"""/g,'\\"""')+` 261"""`}var al=` 262`,Sr={OperationDefinition(e){var t="";e.description&&(t+=Sr.StringValue(e.description)+` 263`),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+Co(e.variableDefinitions,", ",Sr.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive));var n=Sr.SelectionSet(e.selectionSet);return t!=="query"?t+" "+n:n},VariableDefinition(e){var t="";return e.description&&(t+=Sr.StringValue(e.description)+" "),t+=Sr.Variable(e.variable)+": "+uA(e.type),e.defaultValue&&(t+=" = "+uA(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var n=Co(e.arguments,", ",Sr.Argument);t.length+n.length+2>80?t+="("+(al+=" ")+Co(e.arguments,al,Sr.Argument)+(al=al.slice(0,-2))+")":t+="("+n+")"}return e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+Sr.SelectionSet(e.selectionSet)),t}
263,StringValue(e){return e.block?Xye(e.value).replace(/\n/g,al):Zye(e.value)},BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+Co(e.values,", ",uA)+"]",ObjectValue:e=>"{"+Co(e.fields,", ",Sr.ObjectField)+"}",ObjectField:e=>e.name.value+": "+uA(e.value),Document(e){return!e.definitions||!e.definitions.length?"":Co(e.definitions,` 264 265`,uA)},SelectionSet:e=>"{"+(al+=" ")+Co(e.selections,al,uA)+(al=al.slice(0,-2))+"}",Argument:e=>e.name.value+": "+uA(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive)),t+=" "+Sr.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=Sr.StringValue(e.description)+` 266`),t+="fragment "+e.name.value,t+=" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+Co(e.directives," ",Sr.Directive)),t+" "+Sr.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+Co(e.arguments,", ",Sr.Argument)+")"),t},NamedType:e=>
266e.name.value,ListType:e=>"["+uA(e.type)+"]",NonNullType:e=>uA(e.type)+"!"},uA=e=>Sr[e.kind](e);function Jye(e){return al=` 267`,Sr[e.kind]?Sr[e.kind](e):""}var H8=()=>{},ca=H8;function Us(e){return{tag:0,0:e}}function Qv(e){return{tag:1,0:e}}var XN=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",e0e=e=>e;function Po(e){return t=>n=>{var r=ca;t(i=>{i===0?n(0):i.tag===0?(r=i[0],n(i)):e(i[0])?n(i):r(0)})}}function aw(e){return t=>n=>t(r=>{r===0||r.tag===0?n(r):n(Qv(e(r[0])))})}function $8(e){return t=>n=>{var r=[],i=ca,o=!1,a=!1;t(s=>{a||(s===0?(a=!0,r.length||n(0)):s.tag===0?i=s[0]:(o=!1,function(u){var f=ca;u(d=>{if(d===0){if(r.length){var g=r.indexOf(f);g>-1&&(r=r.slice()).splice(g,1),r.length||(a?n(0):o||(o=!0,i(0)))}}else d.tag===0?(r.push(f=d[0]),f(0)):r.length&&(n(d),f(0))})}(e(s[0])),o||(o=!0,i(0))))}),n(Us(s=>{if(s===1){a||(a=!0,i(1));for(var l=0,u=r,f=r.length;l<f;l++)u[l](1);r.length=0}else{!a&&!o?(o=!0,i(0)):o=!1;for(var d=0,g=r,m=r.length;d<m;d++)g[d](0)}}))}}function t0e(e){return $8(e0e)(e)}function tv(e){return t0e(o0e(e))}function j8(e){return t=>n=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0),e();else if(i.tag===0){var o=i[0];n(Us(a=>{a===1?(r=!0,o(1),e()):o(a)}))}else n(i)})}}function z8(e){return t=>n=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0);else if(i.tag===0){var o=i[0];n(Us(a=>{a===1&&(r=!0),o(a)}))}else e(i[0]),n(i)})}}function JN(e){return t=>n=>t(r=>{r===0?n(0):r.tag===0?(n(r),e()):n(r)})}function nv(e){var t=[],n=ca,r=!1;return i=>{t.push(i),t.length===1&&e(o=>{if(o===0){for(var a=0,s=t,l=t.length;a<l;a++)s[a](0);t.length=0}else if(o.tag===0)n=o[0];else{r=!1;for(var u=0,f=t,d=t.length;u<d;u++)f[u](o)}}),i(Us(o=>{if(o===1){var a=t.indexOf(i);a>-1&&(t=t.slice()).splice(a,1),t.length||n(1)}else r||(r=!0,n(0))}))}}function eM(e){return t=>n=>{var r=ca,i=ca,o=!1,a=!1,s=!1,l=!1;t(u=>{l||(u===0?(l=!0,s||n(0)):u.tag===0?r=u[0]:(s&&(i(1),i=ca),o?o=!1:(o=!0,r(0)),function(d){s=!0,d(g=>{s&&(g===0?(s=!1,l?n(0):o||(o=!0,r(0))):g.tag===0?(a=!1,(i=g[0])(0)):(n(g),a?a=!1:i(0)))})}(e(u[0]))))}),n(Us(u=>{u===1?(l||(l=!0,r(1)),s&&(s=!1,i(1))):(!l&&!o&&(o=!0,r(0)),s&&!a&&(a=!0,i(0)))}))}}function V8(e){return t=>n=>{var r=ca,i=!1,o=0;t(a=>{i||(a===0?(i=!0,n(0)):a.tag===0?e<=0?(i=!0,n(0),a[0](1)):r=a[0]:o++<e?(n(a),!i&&o>=e&&(i=!0,n(0),r(1))):n(a))}),n(Us(a=>{a===1&&!i?(i=!0,r(1)):a===0&&!i&&o<e&&r(0)}))}}function K8(e){return t=>n=>{var r=ca,i=ca,o=!1;t(a=>{o||(a===0?(o=!0,i(1),n(0)):a.tag===0?(r=a[0],e(s=>{s===0||(s.tag===0?(i=s[0])(0):(o=!0,i(1),r(1),n(0)))})):n(a))}),n(Us(a=>{a===1&&!o?(o=!0,r(1),i(1)):o||r(0)}))}}function n0e(e,t){return n=>r=>{var i=ca,o=!1;n(a=>{o||(a===0?(o=!0,r(0)):a.tag===0?(i=a[0],r(a)):e(a[0])?r(a):(o=!0,t&&r(a),r(0),i(1)))})}}function r0e(e){return t=>e()(t)}function W8(e){return t=>{var n=e[XN()]&&e[XN()]()||e,r=!1,i=!1,o=!1,a;t(Us(async s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((a=await n.next()).done)r=!0,n.return&&await n.return(),t(0);else try{o=!1,t(Qv(a.value))}catch(l){if(n.throw)(r=!!(await n.throw(l)).done)&&t(0);else throw l}i=!1}}))}}function i0e(e){return e[Symbol.asyncIterator]?W8(e):t=>{var n=e[Symbol.iterator](),r=!1,i=!1,o=!1,a;t(Us(s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((a=n.next()).done)r=!0,n.return&&n.return(),t(0);else try{o=!1,t(Qv(a.value))}catch(l){if(n.throw)(r=!!n.throw(l).done)&&t(0);else throw l}i=!1}}))}}var o0e=i0e;function fE(e){return t=>{var n=!1;t(Us(r=>{r===1?n=!0:n||(n=!0,t(Qv(e)),t(0))}))}}function a0e(e){return t=>{var n=!1,r=e({next(i){n||t(Qv(i))},complete(){n||(n=!0,t(0))}});t(Us(i=>{i===1&&!n&&(n=!0,r())}))}}function s0e(){var e,t;return{source:nv(a0e(n=>(e=n.next,t=n.complete,H8))),next(n){e&&e(n)},complete(){t&&t()}}}function fL(e){return t=>{var n=ca,r=!1;return t(i=>{i===0?r=!0:i.tag===0?(n=i[0])(0):r||(e(i[0]),n(0))}),{unsubscribe(){r||(r=!0,n(1))}}}}function l0e(e){fL(t=>{})(e)}function A0e(e){return new Promise(t=>{var n=ca,r;e(i=>{i===0?Promise.resolve(r).then(t):i.tag===0?(n=i[0])(0):(r=i[0],n(0))})})}var u0e=e=>e&&typeof e.message=="string"&&(e.extensions||e.name==="GraphQLError")?e:typeof e=="object"&&typeof e.message=="string"?new eO(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new eO(e);
267class dL extends Error{constructor(t){var n=(t.graphQLErrors||[]).map(u0e),r=((i,o)=>{var a="";if(i)return`[Network] ${i.message}`;if(o)for(var s=0,l=o.length;s<l;s++)a&&(a+=` 268`),a+=`[GraphQL] ${o[s].message}`;return a})(t.networkError,n);super(r),this.name="CombinedError",this.message=r,this.graphQLErrors=n,this.networkError=t.networkError,this.response=t.response}toString(){return this.message}}var sw=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r<i;r++)n=(n<<5)+n+e.charCodeAt(r);return n},Pf=new Set,tM=new WeakMap,oh=(e,t)=>{if(e===null||Pf.has(e))return"null";if(typeof e!="object")return JSON.stringify(e)||"";if(e.toJSON)return oh(e.toJSON(),t);if(Array.isArray(e)){for(var n="[",r=0,i=e.length;r<i;r++)n.length>1&&(n+=","),n+=oh(e[r],t)||"null";return n+="]"}else if(!t&&(Xb!==op&&e instanceof Xb||Jb!==op&&e instanceof Jb))return"null";var o=Object.keys(e).sort();if(!o.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var a=tM.get(e)||Math.random().toString(36).slice(2);return tM.set(e,a),oh({__key:a},t)}Pf.add(e);for(var s="{",l=0,u=o.length;l<u;l++){var f=oh(e[o[l]],t);f&&(s.length>1&&(s+=","),s+=oh(o[l],t)+":"+f)}return Pf.delete(e),s+="}"},tO=(e,t,n)=>{if(!(n==null||typeof n!="object"||n.toJSON||Pf.has(n)))if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)tO(e,`${t}.${r}`,n[r]);else if(n instanceof Xb||n instanceof Jb)e.set(t,n);else{Pf.add(n);for(var o in n)tO(e,`${t}.${o}`,n[o])}},Zb=(e,t)=>(Pf.clear(),oh(e,t||!1));class op{}var Xb=typeof File<"u"?File:op,Jb=typeof Blob<"u"?Blob:op,c0e=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,f0e=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,d0e=(e,t)=>t%2==0?e.replace(f0e,` 269`):e,nM=e=>e.split(c0e).map(d0e).join("").trim(),rM=new Map,lw=new Map,hL=e=>{var t;return typeof e=="string"?t=nM(e):e.loc&&lw.get(e.__key)===e?t=e.loc.source.body:(t=rM.get(e)||nM(Jye(e)),rM.set(e,t)),typeof e!="string"&&!e.loc&&(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},iM=e=>{var t;if(e.documentId)t=sw(e.documentId);else if(t=sw(hL(e)),e.definitions){var n=Y8(e);n&&(t=sw(` 270# ${n}`,t))}return t},G8=e=>{var t,n;return typeof e=="string"?(t=iM(e),n=lw.get(t)||qye(e,{noLocation:!0})):(t=e.__key||iM(e),n=lw.get(t)||e),n.loc||hL(n),n.__key=t,lw.set(t,n),n},dE=(e,t,n)=>{var r=t||{},i=G8(e),o=Zb(r,!0),a=i.__key;return o!=="{}"&&(a=sw(o,a)),{key:a,query:i,variables:r,extensions:n}},Y8=e=>{for(var t=0,n=e.definitions.length;t<n;t++){var r=e.definitions[t];if(r.kind===Mg.OPERATION_DEFINITION)return r.name?r.name.value:void 0}},nO=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw new Error("No Content");var r=e.kind==="subscription";return{operation:e,data:t.data,error:Array.isArray(t.errors)?new dL({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:t.hasNext==null?r:t.hasNext,stale:!1}},eB=(e,t)=>{if(typeof e=="object"&&e!=null){if(Array.isArray(e)){e=[...e];for(var n=0,r=t.length;n<r;n++)e[n]=eB(e[n],t[n]);return e}if(!e.constructor||e.constructor===Object){e={...e};for(var i in t)e[i]=eB(e[i],t[i]);return e}}return t},h0e=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!(t.payload||t).extensions,a={...e.extensions,...(t.payload||t).extensions},s=t.incremental;"path"in t&&(s=[t]);var l={data:e.data};if(s)for(var u=function(){var g=s[f];Array.isArray(g.errors)&&i.push(...g.errors),g.extensions&&(Object.assign(a,g.extensions),o=!0);var m="data",v=l,y=[];if(g.path)y=g.path;else if(r){var x=r.find(I=>I.id===g.id);g.subPath?y=[...x.path,...g.subPath]:y=x.path}for(var C=0,b=y.length;C<b;m=y[C++])v=v[m]=Array.isArray(v[m])?[...v[m]]:{...v[m]};if(g.items)for(var E=+m>=0?m:0,T=0,D=g.items.length;T<D;T++)v[E+T]=eB(v[E+T],g.items[T]);else g.data!==void 0&&(v[m]=eB(v[m],g.data))},f=0,d=s.length;f<d;f++)u();else l.data=(t.payload||t).data||e.data,i=t.errors||t.payload&&t.payload.errors||i;return{operation:e.operation,data:l.data,error:i.length?new dL({graphQLErrors:i,response:n}):void 0,extensions:o?a:void 0,hasNext:t.hasNext!=null?t.hasNext:e.hasNext,stale:!1}},p0e=(e,t,n)=>({operation:e,data:void 0,error:new dL({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1});function g0e(e){var t={query:void 0,documentId:void 0,operationName:Y8(e.query),variables:e.variables||void 0,extensions:e.extensions};return"documentId"in e.query&&e.query.documentId&&(!e.query.definitions||!e.query.definitions.length)?t.documentId=e.query.documentId:(!e.extensions||!e.extensions.persistedQuery||e.extensions.persistedQuery.miss)&&(t.query=hL(e.query)),t}var m0e=(e,t)=>{var n=e.kind==="query"&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=v0e(e.context.url);for(var i in t){var o=t[i];o&&r[1].set(i,typeof o=="object"?Zb(o):o)}var a=r.join("?");return a.length>2047&&n!=="force"?(e.context.preferGetMethod=!1,e.context.url):a},v0e=e=>{var t=e.indexOf("?");return t>-1?[e.slice(0,t),new URLSearchParams(e.slice(t+1))]:[e,new URLSearchParams]},_0e=(e,t)=>{if(t&&!(e.kind==="query"&&e.context.preferGetMethod)){var n=Zb(t),r=(s=>{var l=new Map;return(Xb!==op||Jb!==op)&&(Pf.clear(),tO(l,"variables",s)),l})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",Zb({...[...r.keys()].map(s=>[s])}));var o=0;for(var a of r.values())i.append(""+o++,a);return i}return n}},y0e=(e,t)=>{var n={accept:e.kind==="subscription"?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=(typeof e.context.fetchOptions=="function"?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)if((a=>
270"has"in a&&!Object.keys(a).length)(r.headers))r.headers.forEach((a,s)=>{n[s]=a});else if(Array.isArray(r.headers))r.headers.forEach((a,s)=>{Array.isArray(a)?n[a[0]]?n[a[0]]=`${n[a[0]]},${a[1]}`:n[a[0]]=a[1]:n[s]=a});else for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var o=_0e(e,t);return typeof o=="string"&&!n["content-type"]&&(n["content-type"]="application/json"),{...r,method:o?"POST":"GET",body:o,headers:n}},w0e=/boundary="?([^=";]+)"?/i,b0e=/data: ?([^\n]+)/;async function*oM(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield t;else{var n=e.body.getReader(),r;try{for(;!(r=await n.read()).done;)yield r.value}finally{n.cancel()}}}async function*aM(e,t){var n=typeof TextDecoder<"u"?new TextDecoder:null,r="",i;for await(var o of e)for(r+=o.constructor.name==="Buffer"?o.toString():n.decode(o,{stream:!0});(i=r.indexOf(t))>-1;)yield r.slice(0,i),r=r.slice(i+t.length)}async function*B0e(e,t,n){var r=!0,i=null,o;try{yield await Promise.resolve();var a=(o=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"",s;/multipart\/mixed/i.test(a)?s=async function*(d,g){var m=d.match(w0e),v="--"+(m?m[1]:"-"),y=!0,x;for await(var C of aM(oM(g),`\r 271`+v)){if(y){y=!1;var b=C.indexOf(v);if(b>-1)C=C.slice(b+v.length);else continue}try{yield x=JSON.parse(C.slice(C.indexOf(`\r 272\r 273`)+4))}catch(E){if(!x)throw E}if(x&&x.hasNext===!1)break}x&&x.hasNext!==!1&&(yield{hasNext:!1})}(a,o):/text\/event-stream/i.test(a)?s=async function*(d){var g;for await(var m of aM(oM(d),` 274 275`)){var v=m.match(b0e);if(v){var y=v[1];try{yield g=JSON.parse(y)}catch(x){if(!g)throw x}if(g&&g.hasNext===!1)break}}g&&g.hasNext!==!1&&(yield{hasNext:!1})}(o):/text\//i.test(a)?s=async function*(d){var g=await d.text();try{var m=JSON.parse(g);yield m}catch{throw new Error(g)}}(o):s=async function*(d){yield JSON.parse(await d.text())}(o);var l;for await(var u of s)u.pending&&!i?l=u.pending:u.pending&&(l=[...l,...u.pending]),i=i?h0e(i,u,o,l):nO(e,u,o),r=!1,yield i,r=!0;i||(yield i=nO(e,{},o))}catch(f){if(!r)throw f;yield p0e(e,o&&(o.status<200||o.status>=300)&&o.statusText?new Error(o.statusText):f,o)}}function C0e(e,t,n){var r;return typeof AbortController<"u"&&(n.signal=(r=new AbortController).signal),j8(()=>{r&&r.abort()})(Po(i=>!!i)(W8(B0e(e,t,n))))}var rO=(e,t)=>{if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)rO(e[n],t);else if(typeof e=="object"&&e!==null)for(var i in e)i==="__typename"&&typeof e[i]=="string"?t.add(e[i]):rO(e[i],t);return t},iO=e=>{if("definitions"in e){for(var t=[],n=0,r=e.definitions.length;n<r;n++){var i=iO(e.definitions[n]);t.push(i)}return{...e,definitions:t}}if("directives"in e&&e.directives&&e.directives.length){for(var o=[],a={},s=0,l=e.directives.length;s<l;s++){var u=e.directives[s],f=u.name.value;f[0]!=="_"?o.push(u):f=f.slice(1),a[f]=u}e={...e,directives:o,_directives:a}}if("selectionSet"in e){var d=[],g=e.kind===Mg.OPERATION_DEFINITION;if(e.selectionSet){for(var m=0,v=e.selectionSet.selections.length;m<v;m++){var y=e.selectionSet.selections[m];g=g||y.kind===Mg.FIELD&&y.name.value==="__typename"&&!y.alias;var x=iO(y);d.push(x)}return g||d.push({kind:Mg.FIELD,name:{kind:Mg.NAME,value:"__typename"},_generated:!0}),{...e,selectionSet:{...e.selectionSet,selections:d}}}}return e},sM=new Map,x0e=e=>{var t=G8(e),n=sM.get(t.__key);return n||(sM.set(t.__key,n=iO(t)),Object.defineProperty(n,"__key",{value:t.__key,enumerable:!1})),n};function lM(e){var t=n=>e(n);return t.toPromise=()=>A0e(V8(1)(Po(n=>!n.stale&&!n.hasNext)(t))),t.then=(n,r)=>t.toPromise().then(n,r),t.subscribe=n=>fL(n)(t),t}function rv(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var AM=(e,t)=>rv(e.kind,e,{meta:{...e.context.meta,...t}}),E0e=()=>{},hE=({kind:e})=>e!=="mutation"&&e!=="query",S0e=e=>{var t=x0e(e.query);if(t!==e.query){var n=rv(e.kind,e);return n.query=t,n}else return e},F0e=({forward:e,client:t,dispatchDebug:n})=>{var r=new Map,i=new Map,o=a=>a.kind==="query"&&a.context.requestPolicy!=="network-only"&&(a.context.requestPolicy==="cache-only"||r.has(a.key));return a=>{var s=aw(u=>{var f=r.get(u.key),d=f||nO(u,{data:null});return d={...d,operation:AM(u,{cacheOutcome:f?"hit":"miss"})},u.context.requestPolicy==="cache-and-network"&&(d.stale=!0,uM(t,u)),d})(Po(u=>
275!hE(u)&&o(u))(a)),l=z8(u=>{var{operation:f}=u;if(f){var d=f.context.additionalTypenames||[];if(u.operation.kind!=="subscription"&&(d=(D=>[...rO(D,new Set)])(u.data).concat(d)),u.operation.kind==="mutation"||u.operation.kind==="subscription"){for(var g=new Set,m=0;m<d.length;m++){var v=d[m],y=i.get(v);y||i.set(v,y=new Set);for(var x of y.values())g.add(x);y.clear()}for(var C of g.values())r.has(C)&&(f=r.get(C).operation,r.delete(C),uM(t,f))}else if(f.kind==="query"&&u.data){r.set(f.key,u);for(var b=0;b<d.length;b++){var E=d[b],T=i.get(E);T||i.set(E,T=new Set),T.add(f.key)}}}})(e(Po(u=>u.kind!=="query"||u.context.requestPolicy!=="cache-only")(aw(u=>AM(u,{cacheOutcome:"miss"}))(tv([aw(S0e)(Po(u=>!hE(u)&&!o(u))(a)),Po(u=>hE(u))(a)])))));return tv([s,l])}},uM=(e,t)=>e.reexecuteOperation(rv(t.kind,t,{requestPolicy:"network-only"})),T0e=({forward:e,dispatchDebug:t})=>n=>{var r=$8(o=>{var a=g0e(o),s=m0e(o,a),l=y0e(o,a),u=K8(Po(f=>f.kind==="teardown"&&f.key===o.key)(n))(C0e(o,s,l));return u})(Po(o=>o.kind!=="teardown"&&(o.kind!=="subscription"||!!o.context.fetchSubscriptions))(n)),i=e(Po(o=>o.kind==="teardown"||o.kind==="subscription"&&!o.context.fetchSubscriptions)(n));return tv([r,i])},O0e=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight((i,o)=>o({client:t,forward(a){return nv(i(nv(a)))},dispatchDebug(a){}}),n),k0e=({dispatchDebug:e})=>t=>Po(n=>!1)(t),I0e=function e(t){var n=0,r=new Map,i=new Map,o=new Set,a=[],s={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},l=s0e();function u(b){(b.kind==="mutation"||b.kind==="teardown"||!o.has(b.key))&&(b.kind==="teardown"?o.delete(b.key):b.kind!=="mutation"&&o.add(b.key),l.next(b))}var f=!1;function d(b){if(b&&u(b),!f){for(f=!0;f&&(b=a.shift());)u(b);f=!1}}var g=b=>{var E=K8(Po(T=>T.kind==="teardown"&&T.key===b.key)(l.source))(Po(T=>T.operation.kind===b.kind&&T.operation.key===b.key&&(!T.operation.context._instance||T.operation.context._instance===b.context._instance))(C));return b.kind!=="query"?E=n0e(T=>!!T.hasNext,!0)(E):E=eM(T=>{var D=fE(T);return T.stale||T.hasNext?D:tv([D,aw(()=>(T.stale=!0,T))(V8(1)(Po(I=>I.key===b.key)(l.source)))])})(E),b.kind!=="mutation"?E=j8(()=>{o.delete(b.key),r.delete(b.key),i.delete(b.key),f=!1;for(var T=a.length-1;T>=0;T--)a[T].key===b.key&&a.splice(T,1);u(rv("teardown",b,b.context))})(z8(T=>{if(T.stale)if(!T.hasNext)o.delete(b.key);else for(var D=0;D<a.length;D++){var I=a[D];if(I.key===T.operation.key){o.delete(I.key);break}}else T.hasNext||o.delete(b.key);r.set(b.key,T)})(E)):E=JN(()=>{u(b)})(E),nv(E)},m=this instanceof e?this:Object.create(e.prototype),v=Object.assign(m,{suspense:!!t.suspense,operations$:l.source,reexecuteOperation(b){if(b.kind==="teardown")d(b);else if(b.kind==="mutation")a.push(b),Promise.resolve().then(d);else if(i.has(b.key)){for(var E=!1,T=0;T<a.length;T++)a[T].key===b.key&&(a[T]=b,E=!0);E||o.has(b.key)&&b.context.requestPolicy!=="network-only"?(o.delete(b.key),Promise.resolve().then(d)):(a.push(b),Promise.resolve().then(d))}},createRequestOperation(b,E,T){return T||(T={}),rv(b,E,{_instance:b==="mutation"?n=n+1|0:void 0,...s,...T,requestPolicy:T.requestPolicy||s.requestPolicy,suspense:T.suspense||T.suspense!==!1&&v.suspense})},executeRequestOperation(b){return b.kind==="mutation"?lM(g(b)):lM(r0e(()=>{var E=i.get(b.key);E||i.set(b.key,E=g(b)),E=JN(()=>{d(b)})(E);var T=r.get(b.key);return b.kind==="query"&&T&&(T.stale||T.hasNext)?eM(fE)(tv([E,Po(D=>D===r.get(b.key))(fE(T))])):E}))},executeQuery(b,E){var T=v.createRequestOperation("query",b,E);return v.executeRequestOperation(T)},executeSubscription(b,E){var T=v.createRequestOperation("subscription",b,E);return v.executeRequestOperation(T)},executeMutation(b,E){var T=v.createRequestOperation("mutation",b,E);return v.executeRequestOperation(T)},readQuery(b,E,T){var D=null;return fL(I=>{D=I})(v.query(b,E,T)).unsubscribe(),D},query:(b,E,T)=>v.executeQuery(dE(b,E),T),subscription:(b,E,T)=>v.executeSubscription(dE(b,E),T),mutation:(b,E,T)=>v.executeMutation(dE(b,E),T)}),y=E0e,x=O0e(t.exchanges),C=nv(x({client:v,dispatchDebug:y,forward:k0e({dispatchDebug:y})})(l.source));return l0e(C),v},L0e="1.9.3";function D0e(e){return typeof e=="object"&&e!==null}function R0e(e,t){if(!!!e)throw new Error(t??"Unexpected invariant triggered.")}const P0e=/\r\n|[\n\r]/g;function oO(e,t){let n=0,r=1;for(const i of e.body.matchAll(P0e)){if(typeof i.index=="number"||R0e(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function U0e(e){return q8(e.source,oO(e.source,e.start))}function q8(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=t.line===1?n:0,l=t.column+s,u=`${e.name}:${a}:${l} 276`,f=r.split(/\r\n|[\n\r]/g),d=f[i];if(d.length>120){const g=Math.floor(l/80),m=l%80,v=[];for(let y=0;y<d.length;y+=80)v.push(d.slice(y,y+80));return u+cM([[`${a} |`,v[0]],...v.slice(1,g+1).map(y=>["|",y]),["|","^".padStart(m)],["|",v[g+1]]])}return u+cM([[`${a-1} |`,f[i-1]],[`${a} |`,d],["|","^".padStart(l)],[`${a+1} |`,f[i+1]]])}function cM(e){const t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` 277`)}function N0e(e){const t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}
277class pL extends Error{constructor(t,...n){var r,i,o;const{nodes:a,source:s,positions:l,path:u,originalError:f,extensions:d}=N0e(n);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=f??void 0,this.nodes=fM(Array.isArray(a)?a:a?[a]:void 0);const g=fM((r=this.nodes)===null||r===void 0?void 0:r.map(v=>v.loc).filter(v=>v!=null));this.source=s??(g==null||(i=g[0])===null||i===void 0?void 0:i.source),this.positions=l??(g==null?void 0:g.map(v=>v.start)),this.locations=l&&s?l.map(v=>oO(s,v)):g==null?void 0:g.map(v=>oO(v.source,v.start));const m=D0e(f==null?void 0:f.extensions)?f==null?void 0:f.extensions:void 0;this.extensions=(o=d??m)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),f!=null&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,pL):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` 278 279`+U0e(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` 280 281`+q8(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function fM(e){return e===void 0||e.length===0?void 0:e}function ym(e,t="unset"){try{return JSON.parse(e)}catch{return t==="unset"?null:t}}var sy=L0e,la=(e=>(e.CRITICAL="critical",e.WARNING="warning",e.INFO="info",e))(la||{}),Hv=(e=>(e.BANNER="banner",e.TOAST="toast",e.SILENT="silent",e.DEV_ONLY="dev_only",e))(Hv||{}),Io={COPILOT_ERROR:"CopilotError",COPILOT_API_DISCOVERY_ERROR:"CopilotApiDiscoveryError",COPILOT_REMOTE_ENDPOINT_DISCOVERY_ERROR:"CopilotKitRemoteEndpointDiscoveryError",COPILOT_KIT_AGENT_DISCOVERY_ERROR:"CopilotKitAgentDiscoveryError",COPILOT_KIT_LOW_LEVEL_ERROR:"CopilotKitLowLevelError",COPILOT_KIT_VERSION_MISMATCH_ERROR:"CopilotKitVersionMismatchError",RESOLVED_COPILOT_KIT_ERROR:"ResolvedCopilotKitError",CONFIGURATION_ERROR:"ConfigurationError",MISSING_PUBLIC_API_KEY_ERROR:"MissingPublicApiKeyError",UPGRADE_REQUIRED_ERROR:"UpgradeRequiredError"},FA=(e=>(e.NETWORK_ERROR="NETWORK_ERROR",e.NOT_FOUND="NOT_FOUND",e.AGENT_NOT_FOUND="AGENT_NOT_FOUND",e.API_NOT_FOUND="API_NOT_FOUND",e.REMOTE_ENDPOINT_NOT_FOUND="REMOTE_ENDPOINT_NOT_FOUND",e.AUTHENTICATION_ERROR="AUTHENTICATION_ERROR",e.MISUSE="MISUSE",e.UNKNOWN="UNKNOWN",e.VERSION_MISMATCH="VERSION_MISMATCH",e.CONFIGURATION_ERROR="CONFIGURATION_ERROR",e.MISSING_PUBLIC_API_KEY_ERROR="MISSING_PUBLIC_API_KEY_ERROR",e.UPGRADE_REQUIRED_ERROR="UPGRADE_REQUIRED_ERROR",e))(FA||{}),zd="https://docs.copilotkit.ai",bh=e=>`See more: [${e}](${e})`,iv={NETWORK_ERROR:{statusCode:503,troubleshootingUrl:`${zd}/troubleshooting/common-issues#i-am-getting-a-network-errors--api-not-found`,visibility:"banner",severity:"critical"},NOT_FOUND:{statusCode:404,troubleshootingUrl:`${zd}/troubleshooting/common-issues#i-am-getting-a-network-errors--api-not-found`,visibility:"banner",severity:"critical"},AGENT_NOT_FOUND:{statusCode:500,troubleshootingUrl:`${zd}/coagents/troubleshooting/common-issues#i-am-getting-agent-not-found-error`,visibility:"banner",severity:"critical"},API_NOT_FOUND:{statusCode:404,troubleshootingUrl:`${zd}/troubleshooting/common-issues#i-am-getting-a-network-errors--api-not-found`,visibility:"banner",severity:"critical"},REMOTE_ENDPOINT_NOT_FOUND:{statusCode:404,troubleshootingUrl:`${zd}/troubleshooting/common-issues#i-am-getting-copilotkits-remote-endpoint-not-found-error`,visibility:"banner",severity:"critical"},AUTHENTICATION_ERROR:{statusCode:401,troubleshootingUrl:`${zd}/troubleshooting/common-issues#authentication-errors`,visibility:"banner",severity:"critical"},MISUSE:{statusCode:400,troubleshootingUrl:null,visibility:"dev_only",severity:"warning"},UNKNOWN:{statusCode:500,visibility:"toast",severity:"critical"},CONFIGURATION_ERROR:{statusCode:400,troubleshootingUrl:null,severity:"warning",visibility:"banner"},MISSING_PUBLIC_API_KEY_ERROR:{statusCode:400,troubleshootingUrl:null,severity:"critical",visibility:"banner"},UPGRADE_REQUIRED_ERROR:{statusCode:402,troubleshootingUrl:null,severity:"warning",visibility:"banner"},VERSION_MISMATCH:{statusCode:400,troubleshootingUrl:null,visibility:"dev_only",severity:"info"}},Ti=class extends pL{constructor({message:e="Unknown error occurred",code:t,severity:n,visibility:r}){const i=Io.COPILOT_ERROR,o=iv[t],{statusCode:a}=o,s=r??o.visibility??"toast",l=n??("severity"in o?o.severity:void 0);super(e,{extensions:{name:i,statusCode:a,code:t,visibility:s,severity:l,troubleshootingUrl:"troubleshootingUrl"in o?o.troubleshootingUrl:null,originalError:{message:e,stack:new Error().stack}}}),this.code=t,this.name=i,this.statusCode=a,this.severity=l,this.visibility=s}},Z8=({reactCoreVersion:e,runtimeVersion:t,runtimeClientGqlVersion:n})=>`Version mismatch detected: @copilotkit/runtime@${t??""} is not compatible with @copilotkit/react-core@${e} and @copilotkit/runtime-client-gql@${n}. Please ensure all installed copilotkit packages are on the same version.`,M0e=class extends Ti{constructor({reactCoreVersion:e,runtimeVersion:t,runtimeClientGqlVersion:n}){const r="VERSION_MISMATCH";super({message:Z8({reactCoreVersion:e,runtimeVersion:t,runtimeClientGqlVersion:n}),code:r}),this.name=Io.COPILOT_KIT_VERSION_MISMATCH_ERROR}},ov=class extends Ti{constructor(e={}){const t=e.url??"";let n="";t!=null&&t.includes("/info")?n="when fetching CopilotKit info":t.includes("/actions/execute")?n="when attempting to execute actions.":t.includes("/agents/state")?n="when attempting to get agent state.":t.includes("/agents/execute")&&(n="when attempting to execute agent(s).");const r=e.message??(e.url?`Failed to find CopilotKit API endpoint at url ${e.url} ${n}`:"Failed to find CopilotKit API endpoint."),i=e.code??"API_NOT_FOUND",o=`${r}. 282 283${bh(iv[i].troubleshootingUrl)}`;
283super({message:o,code:i}),this.name=Io.COPILOT_API_DISCOVERY_ERROR}},gL=class extends ov{constructor(e){const t=(e==null?void 0:e.message)??(e!=null&&e.url?`Failed to find or contact remote endpoint at url ${e.url}`:"Failed to find or contact remote endpoint"),n="REMOTE_ENDPOINT_NOT_FOUND";super({message:t,code:n}),this.name=Io.COPILOT_REMOTE_ENDPOINT_DISCOVERY_ERROR}},X8=class extends Ti{constructor(e){const{agentName:t,availableAgents:n}=e,r="AGENT_NOT_FOUND",i=bh(iv[r].troubleshootingUrl);let o;if(n.length){const a=n.map(s=>s.name).join(", ");t?o=`Agent '${t}' was not found. Available agents are: ${a}. Please verify the agent name in your configuration and ensure it matches one of the available agents. 284 285${i}`:o=`The requested agent was not found. Available agents are: ${a}. Please verify the agent name in your configuration and ensure it matches one of the available agents. 286 287${i}`}else o=`${t?`Agent '${t}'`:"The requested agent"} was not found. Please set up at least one agent before proceeding. ${i}`;super({message:o,code:r}),this.name=Io.COPILOT_KIT_AGENT_DISCOVERY_ERROR}},Q0e=class extends Ti{constructor({error:e,url:t,message:n}){let r="NETWORK_ERROR";const i=e.code,o=n??z0e({errorCode:i,url:t});super({message:o,code:r}),this.name=Io.COPILOT_KIT_LOW_LEVEL_ERROR}},H0e=class extends Ti{constructor({status:e,message:t,code:n,isRemoteEndpoint:r,url:i}){let o=n;if(!o)switch(e){case 400:throw new ov({message:t,url:i});case 404:throw r?new gL({message:t,url:i}):new ov({message:t,url:i});default:o="UNKNOWN";break}super({message:t,code:o}),this.name=Io.RESOLVED_COPILOT_KIT_ERROR}},J8=class extends Ti{constructor(e){super({message:e,code:"CONFIGURATION_ERROR"}),this.name=Io.CONFIGURATION_ERROR,this.severity="warning"}},$0e=class extends J8{constructor(e){super(e),this.name=Io.MISSING_PUBLIC_API_KEY_ERROR,this.severity="critical"}};async function j0e({runtimeVersion:e,runtimeClientGqlVersion:t}){if(!(!e||e===""||!t)&&(sy!==e||sy!==t||e!==t))return{runtimeVersion:e,runtimeClientGqlVersion:t,reactCoreVersion:sy,message:Z8({runtimeVersion:e,runtimeClientGqlVersion:t,reactCoreVersion:sy})}}var z0e=({errorCode:e,url:t})=>{const n=iv.NETWORK_ERROR.troubleshootingUrl,r=(i=`Failed to fetch from url ${t}.`)=>`${i}. 288 289Possible reasons: 290- -The server may have an error preventing it from returning a response (Check the server logs for more info). 291- -The server might be down or unreachable 292- -There might be a network issue (e.g., DNS failure, connection timeout) 293- -The URL might be incorrect 294- -The server is not running on the specified port 295 296${bh(n)}`;if(t.includes("/info"))return r(`Failed to fetch CopilotKit agents/action information from url ${t}.`);if(t.includes("/actions/execute"))return r(`Fetch call to ${t} to execute actions failed.`);if(t.includes("/agents/state"))return r(`Fetch call to ${t} to get agent state failed.`);if(t.includes("/agents/execute"))return r(`Fetch call to ${t} to execute agent(s) failed.`);switch(e){case"ECONNREFUSED":return`Connection to ${t} was refused. Ensure the server is running and accessible. 297 298${bh(n)}`;case"ENOTFOUND":return`The server on ${t} could not be found. Check the URL or your network configuration. 299 300${bh(iv.NOT_FOUND.troubleshootingUrl)}`;case"ETIMEDOUT":return`The connection to ${t} timed out. The server might be overloaded or taking too long to respond. 301 302${bh(n)}`;default:return}};function V0e(e){let t={};for(let r of e||[])t[r.name]=ez(r);let n=[];for(let r of e||[])r.required!==!1&&n.push(r.name);return{type:"object",properties:t,required:n}}function ez(e){var t,n,r;switch(e.type){case"string":return{type:"string",description:e.description,...e.enum&&{enum:e.enum}};case"number":case"boolean":return{type:e.type,description:e.description};case"object":case"object[]":const i=(t=e.attributes)==null?void 0:t.reduce((a,s)=>(a[s.name]=ez(s),a),{}),o=(n=e.attributes)==null?void 0:n.filter(a=>a.required!==!1).map(a=>a.name);return e.type==="object[]"?{type:"array",items:{type:"object",...i&&{properties:i},...o&&o.length>0&&{required:o}},description:e.description}:{type:"object",description:e.description,...i&&{properties:i},...o&&o.length>0&&{required:o}};default:return(r=e.type)!=null&&r.endsWith("[]")?{type:"array",items:{type:e.type.slice(0,-2)},description:e.description}:{type:"string",description:e.description}}}var wi=[];for(var pE=0;pE<256;++pE)wi.push((pE+256).toString(16).slice(1));function K0e(e,t=0){return(wi[e[t+0]]+wi[e[t+1]]+wi[e[t+2]]+wi[e[t+3]]+"-"+wi[e[t+4]]+wi[e[t+5]]+"-"+wi[e[t+6]]+wi[e[t+7]]+"-"+wi[e[t+8]]+wi[e[t+9]]+"-"+wi[e[t+10]]+wi[e[t+11]]+wi[e[t+12]]+wi[e[t+13]]+wi[e[t+14]]+wi[e[t+15]]).toLowerCase()}var ly,W0e=new Uint8Array(16);
302function G0e(){if(!ly&&(ly=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ly))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ly(W0e)}var Y0e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const dM={randomUUID:Y0e};function tz(e,t,n){if(dM.randomUUID&&!t&&!e)return dM.randomUUID();e=e||{};var r=e.random||(e.rng||G0e)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return K0e(r)}function $v(){return"ck-"+tz()}function q0e(){return tz()}var nz="https://api.cloud.copilotkit.ai",Z0e="v1",X0e=`${nz}/copilotkit/${Z0e}`,mL="X-CopilotCloud-Public-Api-Key",rz="1.9.3",gE=(e,t)=>async(...n)=>{var r,i;const o=(i=(r=n[1])==null?void 0:r.headers)==null?void 0:i["x-copilotcloud-public-api-key"];try{const a=await fetch(n[0],{...n[1]??{},signal:e}),s=o?null:await j0e({runtimeVersion:a.headers.get("X-CopilotKit-Runtime-Version"),runtimeClientGqlVersion:rz});if(a.status!==200&&a.status>=400&&a.status<=500)throw s?new M0e(s):new H0e({status:a.status});return s&&t&&t(s.message),a}catch(a){throw a.message.includes("BodyStreamBuffer was aborted")||a.message.includes("signal is aborted without reason")||a instanceof Ti?a:new Q0e({error:a,url:n[0]})}},tB=class{constructor(e){const t={};this.handleGQLErrors=e.handleGQLErrors,this.handleGQLWarning=e.handleGQLWarning,e.headers&&Object.assign(t,e.headers),e.publicApiKey&&(t["x-copilotcloud-public-api-key"]=e.publicApiKey),this.client=new I0e({url:e.url,exchanges:[F0e,T0e],fetchOptions:{headers:{...t,"X-CopilotKit-Runtime-Client-GQL-Version":rz},...e.credentials?{credentials:e.credentials}:{}}})}generateCopilotResponse({data:e,properties:t,signal:n}){const r=gE(n,this.handleGQLWarning),i=this.client.mutation(Hye,{data:e,properties:t},{fetch:r});return i.subscribe(({error:o})=>{o&&this.handleGQLErrors&&this.handleGQLErrors(o)}),i}asStream(e){const t=this.handleGQLErrors;return new ReadableStream({start(n){e.subscribe(({data:r,hasNext:i,error:o})=>{var a;if(o){if(o.message.includes("BodyStreamBuffer was aborted")||o.message.includes("signal is aborted without reason")){i||n.close(),console.warn("Abort error suppressed");return}if((a=o.extensions)!=null&&a.visibility){const s={...o,graphQLErrors:[{message:o.message,extensions:o.extensions}]};t&&t(s);return}n.error(o),t&&t(o)}else n.enqueue(r),i||n.close()})}})}availableAgents(){const e=gE();return this.client.query($ye,{},{fetch:e})}loadAgentState(e){const t=gE(),n=this.client.query(jye,{data:e},{fetch:t});return n.toPromise().then(({error:r})=>{r&&this.handleGQLErrors&&this.handleGQLErrors(r)}).catch(()=>{}),n}static removeGraphQLTypename(e){return Array.isArray(e)?e.forEach(t=>tB.removeGraphQLTypename(t)):typeof e=="object"&&e!==null&&(delete e.__typename,Object.keys(e).forEach(t=>{typeof e[t]=="object"&&e[t]!==null&&tB.removeGraphQLTypename(e[t])})),e}},jv=class{constructor(e){e.id??(e.id=$v()),e.status??(e.status={code:"Success"}),e.createdAt??(e.createdAt=new Date),Object.assign(this,e)}isTextMessage(){return this.type==="TextMessage"}isActionExecutionMessage(){return this.type==="ActionExecutionMessage"}isResultMessage(){return this.type==="ResultMessage"}isAgentStateMessage(){return this.type==="AgentStateMessage"}isImageMessage(){return this.type==="ImageMessage"}},Na=_m,sc=class extends jv{constructor(e){super(e),this.type="TextMessage"}},nB=class extends jv{constructor(e){super(e),this.type="ActionExecutionMessage"}},rB=class extends jv{constructor(e){super(e),this.type="ResultMessage"}static decodeResult(e){return ym(e,e)}static encodeResult(e){return e===void 0?"":typeof e=="string"?e:JSON.stringify(e)}},iz=class extends jv{constructor(e){super(e),this.type="AgentStateMessage"}},oz=class extends jv{constructor(e){super(e),this.type="ImageMessage"}};function hM(e){return{...e,name:"LangGraphInterruptEvent",type:"MetaEvent"}}function pM(e){return` \r 303 `.indexOf(e)>=0}function J0e(e){for(var t=["topLevel"],n=0,r,i,o,a=function(b){return t.push(b)},s=function(b){return t[t.length-1]=b},l=function(b){r==null&&(r=n,i=t.length,o=b)},u=function(b){b===o&&(r=void 0,i=void 0,o=void 0)},f=function(){return t.pop()},d=function(){return n--},g=function(b){if("0"<=b&&b<="9"){a("number");return}switch(b){case'"':a("string");return;case"-":a("numberNeedsDigit");return;case"t":a("true");return;case"f":a("false");return;case"n":a("null");return;case"[":a("arrayNeedsValue");return;case"{":a("objectNeedsKey");return}},m=e.length;n<m;n++){var v=e[n];switch(t[t.length-1]){case"topLevel":g(v);break;case"string":switch(v){case'"':f();break;case"\\":l("stringEscape"),a("stringEscaped");break}break;case"stringEscaped":v==="u"?a("stringUnicode"):(u("stringEscape"),f());break;case"stringUnicode":n-e.lastIndexOf("u",n)===4&&(u("stringEscape"),f());break;case"number":v==="."?s("numberNeedsDigit"):v==="e"||v==="E"?s("numberNeedsExponent"):(v<"0"||v>"9")&&(d(),f());break;case"numberNeedsDigit":s("number");break;case"numberNeedsExponent":s(v==="+"||v==="-"?"numberNeedsDigit":"number");break;case"true":case"false":case"null":(v<"a"||v>"z")&&(d(),f());break;case"arrayNeedsValue":v==="]"?f():pM(v)||(u("collectionItem"),s("arrayNeedsComma"),g(v));break;case"arrayNeedsComma":v==="]"?f():v===","&&(l("collectionItem"),s("arrayNeedsValue"));break;case"objectNeedsKey":v==="}"?f():v==='"'&&(l("collectionItem"),s("objectNeedsColon"),a("string"));break;case"objectNeedsColon":v===":"&&s("objectNeedsValue");break;case"objectNeedsValue":pM(v)||(u("collectionItem"),s("objectNeedsComma"),g(v));break;case"objectNeedsComma":v==="}"?f():v===","&&(l("collectionItem"),s("objectNeedsKey"));break}}i!=null&&(t.length=i);for(var y=[r!=null?e.slice(0,r):e],x=function(b){return y.push(b.slice(e.length-e.lastIndexOf(b[0])))},C=t.length-1;C>=0;C--)switch(t[C]){case"string":y.push('"');break;case"numberNeedsDigit":case"numberNeedsExponent":y.push("0");break;case"true":x("true");break;case"false":x("false");break;case"null":x("null");break;case"arrayNeedsValue":case"arrayNeedsComma":y.push("]");break;case"objectNeedsKey":case"objectNeedsColon":case"objectNeedsValue":case"objectNeedsComma":y.push("}");break}return y.join("")}function ewe(e){return e.filter(t=>!t.isAgentStateMessage())}function twe(e){return e.map(t=>{if(t.isTextMessage())return{id:t.id,createdAt:t.createdAt,textMessage:{content:t.content,role:t.role,parentMessageId:t.parentMessageId}};if(t.isActionExecutionMessage())return{id:t.id,createdAt:t.createdAt,actionExecutionMessage:{name:t.name,arguments:JSON.stringify(t.arguments),parentMessageId:t.parentMessageId}};if(t.isResultMessage())return{id:t.id,createdAt:t.createdAt,resultMessage:{result:t.result,actionExecutionId:t.actionExecutionId,actionName:t.actionName}};if(t.isAgentStateMessage())return{id:t.id,createdAt:t.createdAt,agentStateMessage:{threadId:t.threadId,role:t.role,agentName:t.agentName,nodeName:t.nodeName,runId:t.runId,active:t.active,running:t.running,state:JSON.stringify(t.state)}};if(t.isImageMessage())return{id:t.id,createdAt:t.createdAt,imageMessage:{format:t.format,bytes:t.bytes,role:t.role,parentMessageId:t.parentMessageId}};throw new Error("Unknown message type")})}function gM(e){const t=[];return e.forEach((n,r)=>{if(n.__typename!=="AgentStateMessageOutput")t.push(n);else{const i=t.findIndex(o=>o.__typename==="AgentStateMessageOutput"&&o.agentName===n.agentName);i===-1?t.push(n):t[i]=n}}),t}function mM(e){return e.map(t=>{if(t.__typename==="TextMessageOutput")return new sc({id:t.id,role:t.role,content:t.content.join(""),parentMessageId:t.parentMessageId,createdAt:new Date,status:t.status||{code:"Pending"}});if(t.__typename==="ActionExecutionMessageOutput")return new nB({id:t.id,name:t.name,arguments:nwe(t.arguments),parentMessageId:t.parentMessageId,createdAt:new Date,status:t.status||{code:"Pending"}});if(t.__typename==="ResultMessageOutput")return new rB({id:t.id,result:t.result,actionExecutionId:t.actionExecutionId,actionName:t.actionName,createdAt:new Date,status:t.status||{code:"Pending"}});if(t.__typename==="AgentStateMessageOutput")return new iz({id:t.id,threadId:t.threadId,role:t.role,agentName:t.agentName,nodeName:t.nodeName,runId:t.runId,active:t.active,running:t.running,state:ym(t.state,{}),createdAt:new Date});if(t.__typename==="ImageMessageOutput")return new oz({id:t.id,format:t.format,bytes:t.bytes,role:t.role,parentMessageId:t.parentMessageId,createdAt:new Date,status:t.status||{code:"Pending"}});throw new Error("Unknown message type")})}function az(e){const t=[];for(const n of e)"content"in n?t.push(new sc({id:n.id,role:n.role,content:n.content,parentMessageId:n.parentMessageId,createdAt:n.createdAt||new Date,status:n.status||{code:"Success"}})):"arguments"in n?t.push(new nB({id:n.id,name:n.name,arguments:n.arguments,parentMessageId:n.parentMessageId,createdAt:n.createdAt||new Date,status:n.status||{code:"Success"}})):"result"in n?t.push(new rB({id:n.id,result:n.result,actionExecutionId:n.actionExecutionId,actionName:n.actionName,createdAt:n.createdAt||new Date,status:n.status||{code:"Success"}})):"state"in n?t.push(new iz({id:n.id,threadId:n.threadId,role:n.role,agentName:n.agentName,nodeName:n.nodeName,runId:n.runId,active:n.active,running:n.running,state:n.state,createdAt:n.createdAt||new Date}
303)):"format"in n&&"bytes"in n&&t.push(new oz({id:n.id,format:n.format,bytes:n.bytes,role:n.role,parentMessageId:n.parentMessageId,createdAt:n.createdAt||new Date,status:n.status||{code:"Success"}}));return t}function nwe(e){try{return e.length?JSON.parse(J0e(e.join(""))):{}}catch{return{}}}function rwe(e){return e.filter(n=>n.available!==ih.Disabled&&n.disabled!==!0&&n.name!=="*"&&n.available!="frontend"&&!n.pairedAction).map(n=>{let r=ih.Enabled;return n.disabled||n.available==="disabled"?r=ih.Disabled:n.available==="remote"&&(r=ih.Remote),{name:n.name,description:n.description||"",jsonSchema:JSON.stringify(V0e(n.parameters||[])),available:r}})}var iwe=Object.defineProperty,owe=Object.defineProperties,awe=Object.getOwnPropertyDescriptors,iB=Object.getOwnPropertySymbols,sz=Object.prototype.hasOwnProperty,lz=Object.prototype.propertyIsEnumerable,vM=(e,t,n)=>t in e?iwe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,En=(e,t)=>{for(var n in t||(t={}))sz.call(t,n)&&vM(e,n,t[n]);if(iB)for(var n of iB(t))lz.call(t,n)&&vM(e,n,t[n]);return e},xi=(e,t)=>owe(e,awe(t)),swe=e=>typeof e=="symbol"?e:e+"",av=(e,t)=>{var n={};for(var r in e)sz.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&iB)for(var r of iB(e))t.indexOf(r)<0&&lz.call(e,r)&&(n[r]=e[r]);return n},$r=(e,t,n)=>new Promise((r,i)=>{var o=l=>{try{s(n.next(l))}catch(u){i(u)}},a=l=>{try{s(n.throw(l))}catch(u){i(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,a);s((n=n.apply(e,t)).next())}),lwe=1e3*60*5,Az=class{constructor(){this.activeKey=null,this.intervalId=null,this.instanceCount=0,this.lastResponse=null}start(e,t){return $r(this,null,function*(){if(this.instanceCount++,this.activeKey===e)return;this.intervalId&&clearInterval(this.intervalId);const n=()=>$r(this,null,function*(){try{const i=yield fetch(`${nz}/ciu`,{method:"GET",headers:{[mL]:e}}).then(o=>o.json());return this.lastResponse=i,t==null||t(i),i}catch{return null}}),r=yield n();return this.intervalId=setInterval(n,lwe),this.activeKey=e,r})}getLastResponse(){return this.lastResponse}stop(){this.instanceCount--,this.instanceCount===0&&this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null,this.activeKey=null,this.lastResponse=null)}},Awe=({className:e,style:t})=>w.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:`lucide lucide-circle-alert ${e||""}`,style:t,children:[w.jsx("circle",{cx:"12",cy:"12",r:"10"}),w.jsx("line",{x1:"12",x2:"12",y1:"8",y2:"12"}),w.jsx("line",{x1:"12",x2:"12.01",y1:"16",y2:"16"})]}),uz=k.createContext(void 0);function uwe(e){if(e.severity)switch(e.severity){case la.CRITICAL:return"critical";case la.WARNING:return"warning";case la.INFO:return"info";default:return"info"}const t=e.message.toLowerCase();return t.includes("api key")||t.includes("401")||t.includes("unauthorized")||t.includes("authentication")||t.includes("incorrect api key")?"critical":"info"}function cwe(e){switch(e){case"critical":return{background:"#fee2e2",border:"#dc2626",text:"#7f1d1d",icon:"#dc2626"};case"warning":return{background:"#fef3c7",border:"#d97706",text:"#78350f",icon:"#d97706"};case"info":return{background:"#dbeafe",border:"#2563eb",text:"#1e3a8a",icon:"#2563eb"}}}function zv(){const e=k.useContext(uz);if(!e)throw new Error("useToast must be used within a ToastProvider");return e}function fwe({enabled:e,children:t}){const[n,r]=k.useState([]),[i,o]=k.useState(null),a=k.useCallback(d=>{r(g=>g.filter(m=>m.id!==d))},[]),s=k.useCallback(d=>{var g;if(!e)return;const m=(g=d.id)!=null?g:Math.random().toString(36).substring(2,9);r(v=>v.find(y=>y.id===m)?v:[...v,xi(En({},d),{id:m})]),d.duration&&setTimeout(()=>{a(m)},d.duration)},[e,a]),l=k.useCallback(d=>{!e&&d!==null||o(d)},[e]),u=k.useCallback(d=>{console.warn("addGraphQLErrorsToast is deprecated. All errors now show as banners.")},[]),f={toasts:n,addToast:s,addGraphQLErrorsToast:u,removeToast:a,enabled:e,bannerError:i,setBannerError:l};return w.jsxs(uz.Provider,{value:f,children:[i&&(()=>
303{const d=uwe(i),g=cwe(d);return w.jsx("div",{style:{position:"fixed",bottom:"20px",left:"50%",transform:"translateX(-50%)",zIndex:9999,backgroundColor:g.background,border:`1px solid ${g.border}`,borderLeft:`4px solid ${g.border}`,borderRadius:"8px",padding:"12px 16px",fontSize:"13px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",backdropFilter:"blur(8px)",maxWidth:"min(90vw, 700px)",width:"100%",boxSizing:"border-box",overflow:"hidden"},children:w.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"10px"},children:[w.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",flex:1,minWidth:0},children:[w.jsx("div",{style:{width:"12px",height:"12px",borderRadius:"50%",backgroundColor:g.border,flexShrink:0}}),w.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px",flex:1,minWidth:0},children:[w.jsx("div",{style:{color:g.text,lineHeight:"1.4",fontWeight:"400",fontSize:"13px",flex:1,wordBreak:"break-all",overflowWrap:"break-word",maxWidth:"550px",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:10,WebkitBoxOrient:"vertical"},children:(()=>{let m=i.message;const v=m.match(/'message':\s*'([^']+)'/);return v?v[1]:(m=m.split(" - ")[0],m=m.split(": Error code")[0],m=m.replace(/:\s*\d{3}$/,""),m=m.replace(/See more:.*$/g,""),m=m.trim(),m||"Configuration error occurred.")})()}),(()=>{const m=i.message,v=/\[([^\]]+)\]\(([^)]+)\)/g,y=/(https?:\/\/[^\s)]+)/g;let x=null,C="See More";const b=v.exec(m);if(b)x=b[2],C="See More";else{const E=y.exec(m);E&&(x=E[0].replace(/[.,;:'"]*$/,""),C="See More")}return x?w.jsx("button",{onClick:()=>window.open(x,"_blank","noopener,noreferrer"),style:{background:g.border,color:"white",border:"none",borderRadius:"5px",padding:"4px 10px",fontSize:"11px",fontWeight:"500",cursor:"pointer",transition:"all 0.2s ease",flexShrink:0},onMouseEnter:E=>{E.currentTarget.style.opacity="0.9",E.currentTarget.style.transform="translateY(-1px)"},onMouseLeave:E=>{E.currentTarget.style.opacity="1",E.currentTarget.style.transform="translateY(0)"},children:C}):null})()]})]}),w.jsx("button",{onClick:()=>l(null),style:{background:"transparent",border:"none",color:g.text,cursor:"pointer",padding:"2px",borderRadius:"3px",fontSize:"14px",lineHeight:"1",opacity:.6,transition:"all 0.2s ease",flexShrink:0},title:"Dismiss",onMouseEnter:m=>{m.currentTarget.style.opacity="1",m.currentTarget.style.background="rgba(0, 0, 0, 0.05)"},onMouseLeave:m=>{m.currentTarget.style.opacity="0.6",m.currentTarget.style.background="transparent"},children:"Ã"})]})})})(),t]})}const _M=["http","https","mailto","tel"];function dwe(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++i<_M.length;){const o=_M[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return i=t.indexOf("?"),i!==-1&&r>i||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*! 304 * Determine if an object is a Buffer 305 * 306 * @author Feross Aboukhadijeh <https://feross.org> 307 * @license MIT 308 */var hwe=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const cz=uc(hwe);function pwe(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?yM(e.position):"start"in e||"end"in e?yM(e):"line"in e||"column"in e?aO(e):""}function aO(e){return wM(e&&e.line)+":"+wM(e&&e.column)}function yM(e){return aO(e&&e.start)+"-"+aO(e&&e.end)}function wM(e){return e&&typeof e=="number"?e:1}
vendor: 9,179 bytes, line 308
308class ns extends Error{constructor(t,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=pwe(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}ns.prototype.file="";ns.prototype.name="";ns.prototype.reason="";ns.prototype.message="";ns.prototype.stack="";ns.prototype.fatal=null;ns.prototype.column=null;ns.prototype.line=null;ns.prototype.source=null;ns.prototype.ruleId=null;ns.prototype.position=null;const Al={basename:gwe,dirname:mwe,extname:vwe,join:_we,sep:"/"};function gwe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Vv(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function mwe(e){if(Vv(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function vwe(e){Vv(e);let t=e.length,n=-1,r=0,i=-1,o=0,a;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function _we(...e){let t=-1,n;for(;++t<e.length;)Vv(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":ywe(n)}function ywe(e){Vv(e);const t=e.charCodeAt(0)===47;let n=wwe(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function wwe(e,t){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=e.length;){if(a<e.length)s=e.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(i===a-1||o===1))if(i!==a-1&&o===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function Vv(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const bwe={cwd:Bwe};function Bwe(){return"/"}function sO(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Cwe(e){if(typeof e=="string")e=new URL(e);else if(!sO(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return xwe(e)}function xwe(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const mE=["history","path","basename","stem","extname","dirname"];class fz{constructor(t){let n;t?typeof t=="string"||Ewe(t)?n={value:t}:sO(t)?n={path:t}:n=t:n={},this.data={},this.messages=[],this.history=[],this.cwd=bwe.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<mE.length;){const o=mE[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)mE.includes(i)||(this[i]=n[i])}get path(){return this.history[this.history.length-1]}set path(t){sO(t)&&(t=Cwe(t)),_E(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?Al.dirname(this.path):void 0}set dirname(t){bM(this.basename,"dirname"),this.path=Al.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?Al.basename(this.path):void 0}set basename(t){_E(t,"basename"),vE(t,"basename"),this.path=Al.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?Al.extname(this.path):void 0}set extname(t){if(vE(t,"extname"),bM(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Al.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?Al.basename(this.path,this.extname):void 0}set stem(t){_E(t,"stem"),vE(t,"stem"),this.path=Al.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,n,r){const i=new ns(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=null,i}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}}function vE(e,t){if(e&&e.includes(Al.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Al.sep+"`")}function _E(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function bM(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Ewe(e){return cz(e)}function BM(e){if(e)throw e}var Aw=Object.prototype.hasOwnProperty,dz=Object.prototype.toString,CM=Object.defineProperty,xM=Object.getOwnPropertyDescriptor,EM=function(t){return typeof Array.isArray=="function"?Array.isArray(t):dz.call(t)==="[object Array]"},SM=function(t){if(!t||dz.call(t)!=="[object Object]")return!1;var n=Aw.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Aw.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||Aw.call(t,i)},FM=function(t,n){CM&&n.name==="__proto__"?CM(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},TM=function(t,n){if(n==="__proto__")if(Aw.call(t,n)){if(xM)return xM(t,n).value}else return;return t[n]},Swe=function e(){var t,n,r,i,o,a,s=arguments[0],l=1,u=arguments.length,f=!1;for(typeof s=="boolean"&&(f=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l<u;++l)if(t=arguments[l],t!=null)for(n in t)r=TM(s,n),i=TM(t,n),s!==i&&(f&&i&&(SM(i)||(o=EM(i)))?(o?(o=!1,a=r&&EM(r)?r:[]):a=r&&SM(r)?r:{},FM(s,{name:n,newValue:e(f,a,i)})):typeof i<"u"&&FM(s,{name:n,newValue:i}));return s};const OM=uc(Swe);function lO(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Fwe(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...i);function s(l,...u){const f=e[++o];let d=-1;if(l){a(l);return}for(;++d<i.length;)(u[d]===null||u[d]===void 0)&&(u[d]=i[d]);i=u,f?Twe(f,s)(...u):a(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Twe(e,t){let n;return r;function r(...a){const s=e.length>a.length;let l;s&&a.push(i);try{l=e.apply(this,a)}catch(u){const f=u;if(s&&n)throw f;return i(f)}s||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,t(a,...s))}function o(a){i(null,a)}}const Owe=pz().freeze(),hz={}.hasOwnProperty;function pz(){const e=Fwe(),t=[];let n={},r,i=-1;return o.data=a,o.Parser=void 0,o.Compiler=void 0,o.freeze=s,o.attachers=t,o.use=l,o.parse=u,o.stringify=f,o.run=d,o.runSync=g,o.process=m,o.processSync=v,o;function o(){const y=pz();let x=-1;for(;++x<t.length;)y.use(...t[x]);return y.data(OM(!0,{},n)),y}function a(y,x){return typeof y=="string"?arguments.length===2?(bE("data",r),n[y]=x,o):hz.call(n,y)&&n[y]||null:y?(bE("data",r),n=y,o):n}function s(){if(r)return o;for(;++i<t.length;){const[y,...x]=t[i];if(x[0]===!1)continue;x[0]===!0&&(x[0]=void 0);const C=y.call(o,...x);typeof C=="function"&&e.use(C)}return r=!0,i=Number.POSITIVE_INFINITY,o}function l(y,...x){let C;if(bE("use",r),y!=null)if(typeof y=="function")D(y,...x);else if(typeof y=="object")Array.isArray(y)?T(y):E(y);else throw new TypeError("Expected usable value, not `"+y+"`");return C&&(n.settings=Object.assign(n.settings||{},C)),o;function b(I){if(typeof I=="function")D(I);
vendor: 7,628 bytes, line 308
308else if(typeof I=="object")if(Array.isArray(I)){const[U,...H]=I;D(U,...H)}else E(I);else throw new TypeError("Expected usable value, not `"+I+"`")}function E(I){T(I.plugins),I.settings&&(C=Object.assign(C||{},I.settings))}function T(I){let U=-1;if(I!=null)if(Array.isArray(I))for(;++U<I.length;){const H=I[U];b(H)}else throw new TypeError("Expected a list of plugins, not `"+I+"`")}function D(I,U){let H=-1,V;for(;++H<t.length;)if(t[H][0]===I){V=t[H];break}V?(lO(V[1])&&lO(U)&&(U=OM(!0,V[1],U)),V[1]=U):t.push([...arguments])}}function u(y){o.freeze();const x=_g(y),C=o.Parser;return yE("parse",C),kM(C,"parse")?new C(String(x),x).parse():C(String(x),x)}function f(y,x){o.freeze();const C=_g(x),b=o.Compiler;return wE("stringify",b),IM(y),kM(b,"compile")?new b(y,C).compile():b(y,C)}function d(y,x,C){if(IM(y),o.freeze(),!C&&typeof x=="function"&&(C=x,x=void 0),!C)return new Promise(b);b(null,C);function b(E,T){e.run(y,_g(x),D);function D(I,U,H){U=U||y,I?T(I):E?E(U):C(null,U,H)}}}function g(y,x){let C,b;return o.run(y,x,E),LM("runSync","run",b),C;function E(T,D){BM(T),C=D,b=!0}}function m(y,x){if(o.freeze(),yE("process",o.Parser),wE("process",o.Compiler),!x)return new Promise(C);C(null,x);function C(b,E){const T=_g(y);o.run(o.parse(T),T,(I,U,H)=>{if(I||!U||!H)D(I);else{const V=o.stringify(U,H);V==null||(Lwe(V)?H.value=V:H.result=V),D(I,H)}});function D(I,U){I||!U?E(I):b?b(U):x(null,U)}}}function v(y){let x;o.freeze(),yE("processSync",o.Parser),wE("processSync",o.Compiler);const C=_g(y);return o.process(C,b),LM("processSync","process",x),C;function b(E){x=!0,BM(E)}}}function kM(e,t){return typeof e=="function"&&e.prototype&&(kwe(e.prototype)||t in e.prototype)}function kwe(e){let t;for(t in e)if(hz.call(e,t))return!0;return!1}function yE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function wE(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function bE(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function IM(e){if(!lO(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function LM(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function _g(e){return Iwe(e)?e:new fz(e)}function Iwe(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Lwe(e){return typeof e=="string"||cz(e)}const Dwe={};function Rwe(e,t){const n=t||Dwe,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return gz(e,r,i)}function gz(e,t,n){if(Pwe(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return DM(e.children,t,n)}return Array.isArray(e)?DM(e,t,n):""}function DM(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=gz(e[i],t,n);return r.join("")}function Pwe(e){return!!(e&&typeof e=="object")}function Bl(e,t,n,r){const i=e.length;let o=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);o<r.length;)a=r.slice(o,o+1e4),a.unshift(t,0),e.splice(...a),o+=1e4,t+=1e4}function $a(e,t){return e.length>0?(Bl(e,e.length,0,t),e):t}const RM={}.hasOwnProperty;function Uwe(e){const t={};let n=-1;for(;++n<e.length;)Nwe(t,e[n]);return t}function Nwe(e,t){let n;for(n in t){const i=(RM.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){RM.call(i,a)||(i[a]=[]);const s=o[a];Mwe(i[a],Array.isArray(s)?s:s?[s]:[])}}}function Mwe(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Bl(e,0,0,r)}const Qwe=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,pl=Cc(/[A-Za-z]/),Os=Cc(/[\dA-Za-z]/),Hwe=Cc(/[#-'*+\--9=?A-Z^-~]/);function AO(e){return e!==null&&(e<32||e===127)}const uO=Cc(/\d/),$we=Cc(/[\dA-Fa-f]/),jwe=Cc(/[!-/:-@[-`{-~]/);function Dt(e){return e!==null&&e<-2}function $o(e){return e!==null&&(e<0||e===32)}function On(e){return e===-2||e===-1||e===32}const zwe=Cc(Qwe),Vwe=Cc(/\s/);function Cc(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function or(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return a;function a(l){return On(l)?(e.enter(n),s(l)):t(l)}function s(l){return On(l)&&o++<i?(e.consume(l),s):(e.exit(n),t(l))}}const Kwe={tokenize:Wwe};function Wwe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),or(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(s)}function a(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return Dt(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),a)}}const Gwe={tokenize:Ywe},PM={tokenize:qwe};function Ywe(e){const t=this,n=[];let r=0,i,o,a;return s;function s(E){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,l,u)(E)}return u(E)}function l(E){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();const T=t.events.length;let D=T,I;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){I=t.events[D][1].end;break}C(r);let U=T;for(;U<t.events.length;)t.events[U][1].end=Object.assign({},I),U++;return Bl(t.events,D+1,0,t.events.slice(T)),t.events.length=U,u(E)}return s(E)}function u(E){if(r===n.length){if(!i)return g(E);if(i.currentConstruct&&i.currentConstruct.concrete)return v(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(PM,f,d)(E)}function f(E){return i&&b(),C(r),g(E)}function d(E){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,v(E)}function g(E){return t.containerState={},e.attempt(PM,m,v)(E)}function m(E){return r++,n.push([t.currentConstruct,t.containerState]),g(E)}function v(E){if(E===null){i&&b(),C(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i}),y(E)}function y(E){if(E===null){x(e.exit("chunkFlow"),!0),C(0),e.consume(E);return}return Dt(E)?(e.consume(E),x(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(E),y)}function x(E,T){const D=t.sliceStream(E);
vendor: 5,649 bytes, line 308
308if(T&&D.push(null),E.previous=o,o&&(o.next=E),o=E,i.defineSkip(E.start),i.write(D),t.parser.lazy[E.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<a&&(!i.events[I][1].end||i.events[I][1].end.offset>a))return;const U=t.events.length;let H=U,V,j;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){if(V){j=t.events[H][1].end;break}V=!0}for(C(r),I=U;I<t.events.length;)t.events[I][1].end=Object.assign({},j),I++;Bl(t.events,H+1,0,t.events.slice(U)),t.events.length=I}}function C(E){let T=n.length;for(;T-- >E;){const D=n[T];t.containerState=D[1],D[0].exit.call(t,e)}n.length=E}function b(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function qwe(e,t,n){return or(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function UM(e){if(e===null||$o(e)||Vwe(e))return 1;if(zwe(e))return 2}function vL(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const cO={name:"attention",tokenize:Xwe,resolveAll:Zwe};function Zwe(e,t){let n=-1,r,i,o,a,s,l,u,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),g=Object.assign({},e[n][1].start);NM(d,-l),NM(g,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:g},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},s.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=$a(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=$a(u,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",o,t]]),u=$a(u,vL(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=$a(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=$a(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Bl(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Xwe(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=UM(r);let o;return a;function a(l){return o=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===o)return e.consume(l),s;const u=e.exit("attentionSequence"),f=UM(l),d=!f||f===2&&i||n.includes(l),g=!i||i===2&&f||n.includes(r);return u._open=!!(o===42?d:d&&(i||!g)),u._close=!!(o===42?g:g&&(f||!d)),t(l)}}function NM(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Jwe={name:"autolink",tokenize:ebe};function ebe(e,t,n){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(m){return pl(m)?(e.consume(m),a):u(m)}function a(m){return m===43||m===45||m===46||Os(m)?(r=1,s(m)):u(m)}function s(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||Os(m))&&r++<32?(e.consume(m),s):(r=0,u(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||AO(m)?n(m):(e.consume(m),l)}function u(m){return m===64?(e.consume(m),f):Hwe(m)?(e.consume(m),u):n(m)}function f(m){return Os(m)?d(m):n(m)}function d(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||Os(m))&&r++<63){const v=m===45?g:d;return e.consume(m),v}return n(m)}}const LC={tokenize:tbe,partial:!0};function tbe(e,t,n){return r;function r(o){return On(o)?or(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||Dt(o)?t(o):n(o)}}const mz={name:"blockQuote",tokenize:nbe,continuation:{tokenize:rbe},exit:ibe};function nbe(e,t,n){const r=this;return i;function i(a){if(a===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),o}return n(a)}function o(a){return On(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function rbe(e,t,n){const r=this;return i;function i(a){return On(a)?or(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):o(a)}function o(a){return e.attempt(mz,t,n)(a)}}function ibe(e){e.exit("blockQuote")}const vz={name:"characterEscape",tokenize:obe};function obe(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return jwe(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const MM=document.createElement("i");function _L(e){const t="&"+e+";";MM.innerHTML=t;const n=MM.textContent;
vendor: 4,952 bytes, line 308
308return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const _z={name:"characterReference",tokenize:abe};function abe(e,t,n){const r=this;let i=0,o,a;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,a=Os,f(d))}function u(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=$we,f):(e.enter("characterReferenceValue"),o=7,a=uO,f(d))}function f(d){if(d===59&&i){const g=e.exit("characterReferenceValue");return a===Os&&!_L(r.sliceSerialize(g))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(d)&&i++<o?(e.consume(d),f):n(d)}}const QM={tokenize:lbe,partial:!0},HM={name:"codeFenced",tokenize:sbe,concrete:!0};function sbe(e,t,n){const r=this,i={tokenize:D,partial:!0};let o=0,a=0,s;return l;function l(I){return u(I)}function u(I){const U=r.events[r.events.length-1];return o=U&&U[1].type==="linePrefix"?U[2].sliceSerialize(U[1],!0).length:0,s=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(I)}function f(I){return I===s?(a++,e.consume(I),f):a<3?n(I):(e.exit("codeFencedFenceSequence"),On(I)?or(e,d,"whitespace")(I):d(I))}function d(I){return I===null||Dt(I)?(e.exit("codeFencedFence"),r.interrupt?t(I):e.check(QM,y,T)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(I))}function g(I){return I===null||Dt(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(I)):On(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),or(e,m,"whitespace")(I)):I===96&&I===s?n(I):(e.consume(I),g)}function m(I){return I===null||Dt(I)?d(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(I))}function v(I){return I===null||Dt(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(I)):I===96&&I===s?n(I):(e.consume(I),v)}function y(I){return e.attempt(i,T,x)(I)}function x(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),C}function C(I){return o>0&&On(I)?or(e,b,"linePrefix",o+1)(I):b(I)}function b(I){return I===null||Dt(I)?e.check(QM,y,T)(I):(e.enter("codeFlowValue"),E(I))}function E(I){return I===null||Dt(I)?(e.exit("codeFlowValue"),b(I)):(e.consume(I),E)}function T(I){return e.exit("codeFenced"),t(I)}function D(I,U,H){let V=0;return j;function j(G){return I.enter("lineEnding"),I.consume(G),I.exit("lineEnding"),z}function z(G){return I.enter("codeFencedFence"),On(G)?or(I,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):q(G)}function q(G){return G===s?(I.enter("codeFencedFenceSequence"),Z(G)):H(G)}function Z(G){return G===s?(V++,I.consume(G),Z):V>=a?(I.exit("codeFencedFenceSequence"),On(G)?or(I,ae,"whitespace")(G):ae(G)):H(G)}function ae(G){return G===null||Dt(G)?(I.exit("codeFencedFence"),U(G)):H(G)}}}function lbe(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const BE={name:"codeIndented",tokenize:ube},Abe={tokenize:cbe,partial:!0};function ube(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),or(e,o,"linePrefix",4+1)(u)}function o(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?l(u):Dt(u)?e.attempt(Abe,a,l)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||Dt(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),s)}function l(u){return e.exit("codeIndented"),t(u)}}function cbe(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Dt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):or(e,o,"linePrefix",4+1)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):Dt(a)?i(a):n(a)}}const fbe={name:"codeText",tokenize:pbe,resolve:dbe,previous:hbe};function dbe(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function hbe(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function pbe(e,t,n){let r=0,i,o;return a;
vendor: 10,554 bytes, line 308
308function a(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(o=e.enter("codeTextSequence"),i=0,f(d)):Dt(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||Dt(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),u)}function f(d){return d===96?(e.consume(d),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(o.type="codeTextData",u(d))}}function yz(e){const t={};let n=-1,r,i,o,a,s,l,u;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,gbe(e,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(a=e[o],a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),a[1].type="lineEnding",i=o);i&&(r[1].end=Object.assign({},e[i][1].start),s=e.slice(i,n),s.unshift(r),Bl(e,i,n-i+1,s))}}return!u}function gbe(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],u={};let f,d,g=-1,m=n,v=0,y=0;const x=[y];for(;m;){for(;e[++i][1]!==m;);o.push(i),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),d&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=m,m=m.next}for(m=n;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(y=g+1,x.push(y),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):x.pop(),g=x.length;g--;){const C=s.slice(x[g],x[g+1]),b=o.pop();l.unshift([b,b+C.length-1]),Bl(e,b,2,C)}for(g=-1;++g<l.length;)u[v+l[g][0]]=v+l[g][1],v+=l[g][1]-l[g][0]-1;return u}const mbe={tokenize:ybe,resolve:_be},vbe={tokenize:wbe,partial:!0};function _be(e){return yz(e),e}function ybe(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):Dt(s)?e.check(vbe,a,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function a(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function wbe(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),or(e,o,"linePrefix")}function o(a){if(a===null||Dt(a))return n(a);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function wz(e,t,n,r,i,o,a,s,l){const u=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(C){return C===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(C),e.exit(o),g):C===null||C===32||C===41||AO(C)?n(C):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),y(C))}function g(C){return C===62?(e.enter(o),e.consume(C),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(C))}function m(C){return C===62?(e.exit("chunkString"),e.exit(s),g(C)):C===null||C===60||Dt(C)?n(C):(e.consume(C),C===92?v:m)}function v(C){return C===60||C===62||C===92?(e.consume(C),m):m(C)}function y(C){return!f&&(C===null||C===41||$o(C))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(C)):f<u&&C===40?(e.consume(C),f++,y):C===41?(e.consume(C),f--,y):C===null||C===32||C===40||AO(C)?n(C):(e.consume(C),C===92?x:y)}function x(C){return C===40||C===41||C===92?(e.consume(C),y):y(C)}}function bz(e,t,n,r,i,o){const a=this;let s=0,l;return u;function u(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(o),f}function f(m){return s>999||m===null||m===91||m===93&&!l||m===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(o),e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):Dt(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(m))}function d(m){return m===null||m===91||m===93||Dt(m)||s++>999?(e.exit("chunkString"),f(m)):(e.consume(m),l||(l=!On(m)),m===92?g:d)}function g(m){return m===91||m===92||m===93?(e.consume(m),s++,d):d(m)}}function Bz(e,t,n,r,i,o){let a;return s;function s(g){return g===34||g===39||g===40?(e.enter(r),e.enter(i),e.consume(g),e.exit(i),a=g===40?41:g,l):n(g)}function l(g){return g===a?(e.enter(i),e.consume(g),e.exit(i),e.exit(r),t):(e.enter(o),u(g))}function u(g){return g===a?(e.exit(o),l(a)):g===null?n(g):Dt(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),or(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===a||g===null||Dt(g)?(e.exit("chunkString"),u(g)):(e.consume(g),g===92?d:f)}function d(g){return g===a||g===92?(e.consume(g),f):f(g)}}function wm(e,t){let n;return r;function r(i){return Dt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):On(i)?or(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function Lh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bbe={name:"definition",tokenize:Cbe},Bbe={tokenize:xbe,partial:!0};function Cbe(e,t,n){const r=this;let i;return o;function o(m){return e.enter("definition"),a(m)}function a(m){return bz.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=Lh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return $o(m)?wm(e,u)(m):u(m)}function u(m){return wz(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(Bbe,d,d)(m)}function d(m){return On(m)?or(e,g,"whitespace")(m):g(m)}function g(m){return m===null||Dt(m)?(e.exit("definition"),r.parser.defined.push(i),t(m)):n(m)}}function xbe(e,t,n){return r;function r(s){return $o(s)?wm(e,i)(s):n(s)}function i(s){return Bz(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return On(s)?or(e,a,"whitespace")(s):a(s)}function a(s){return s===null||Dt(s)?t(s):n(s)}}const Ebe={name:"hardBreakEscape",tokenize:Sbe};function Sbe(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return Dt(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const Fbe={name:"headingAtx",tokenize:Obe,resolve:Tbe};function Tbe(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Bl(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Obe(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||$o(f)?(e.exit("atxHeadingSequence"),s(f)):n(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||Dt(f)?(e.exit("atxHeading"),t(f)):On(f)?or(e,s,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),s(f))}function u(f){return f===null||f===35||$o(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),u)}}const kbe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$M=["pre","script","style","textarea"],Ibe={name:"htmlFlow",tokenize:Pbe,resolveTo:Rbe,concrete:!0},Lbe={tokenize:Nbe,partial:!0},Dbe={tokenize:Ube,partial:!0};function Rbe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Pbe(e,t,n){const r=this;let i,o,a,s,l;return u;function u(P){return f(P)}function f(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),d}function d(P){return P===33?(e.consume(P),g):P===47?(e.consume(P),o=!0,y):P===63?(e.consume(P),i=3,r.interrupt?t:N):pl(P)?(e.consume(P),a=String.fromCharCode(P),x):n(P)}function g(P){return P===45?(e.consume(P),i=2,m):P===91?(e.consume(P),i=5,s=0,v):pl(P)?(e.consume(P),i=4,r.interrupt?t:N):n(P)}function m(P){return P===45?(e.consume(P),r.interrupt?t:N):n(P)}function v(P){const te="CDATA[";return P===te.charCodeAt(s++)?(e.consume(P),s===te.length?r.interrupt?t:q:v):n(P)}function y(P){return pl(P)?(e.consume(P),a=String.fromCharCode(P),x):n(P)}function x(P){if(P===null||P===47||P===62||$o(P)){const te=P===47,J=a.toLowerCase();return!te&&!o&&$M.includes(J)?(i=1,r.interrupt?t(P):q(P)):kbe.includes(a.toLowerCase())?(i=6,te?(e.consume(P),C):r.interrupt?t(P):q(P)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(P):o?b(P):E(P))}return P===45||Os(P)?(e.consume(P),a+=String.fromCharCode(P),x):n(P)}function C(P){return P===62?(e.consume(P),r.interrupt?t:q):n(P)}function b(P){return On(P)?(e.consume(P),b):j(P)}function E(P){return P===47?(e.consume(P),j):P===58||P===95||pl(P)?(e.consume(P),T):On(P)?(e.consume(P),E):j(P)}function T(P){return P===45||P===46||P===58||P===95||Os(P)?(e.consume(P),T):D(P)}function D(P){return P===61?(e.consume(P),I):On(P)?(e.consume(P),D):E(P)}function I(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),l=P,U
vendor: 5,860 bytes, line 308
308):On(P)?(e.consume(P),I):H(P)}function U(P){return P===l?(e.consume(P),l=null,V):P===null||Dt(P)?n(P):(e.consume(P),U)}function H(P){return P===null||P===34||P===39||P===47||P===60||P===61||P===62||P===96||$o(P)?D(P):(e.consume(P),H)}function V(P){return P===47||P===62||On(P)?E(P):n(P)}function j(P){return P===62?(e.consume(P),z):n(P)}function z(P){return P===null||Dt(P)?q(P):On(P)?(e.consume(P),z):n(P)}function q(P){return P===45&&i===2?(e.consume(P),ee):P===60&&i===1?(e.consume(P),re):P===62&&i===4?(e.consume(P),pe):P===63&&i===3?(e.consume(P),N):P===93&&i===5?(e.consume(P),ge):Dt(P)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Lbe,W,Z)(P)):P===null||Dt(P)?(e.exit("htmlFlowData"),Z(P)):(e.consume(P),q)}function Z(P){return e.check(Dbe,ae,W)(P)}function ae(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),G}function G(P){return P===null||Dt(P)?Z(P):(e.enter("htmlFlowData"),q(P))}function ee(P){return P===45?(e.consume(P),N):q(P)}function re(P){return P===47?(e.consume(P),a="",X):q(P)}function X(P){if(P===62){const te=a.toLowerCase();return $M.includes(te)?(e.consume(P),pe):q(P)}return pl(P)&&a.length<8?(e.consume(P),a+=String.fromCharCode(P),X):q(P)}function ge(P){return P===93?(e.consume(P),N):q(P)}function N(P){return P===62?(e.consume(P),pe):P===45&&i===2?(e.consume(P),N):q(P)}function pe(P){return P===null||Dt(P)?(e.exit("htmlFlowData"),W(P)):(e.consume(P),pe)}function W(P){return e.exit("htmlFlow"),t(P)}}function Ube(e,t,n){const r=this;return i;function i(a){return Dt(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Nbe(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(LC,t,n)}}const Mbe={name:"htmlText",tokenize:Qbe};function Qbe(e,t,n){const r=this;let i,o,a;return s;function s(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),l}function l(N){return N===33?(e.consume(N),u):N===47?(e.consume(N),D):N===63?(e.consume(N),E):pl(N)?(e.consume(N),H):n(N)}function u(N){return N===45?(e.consume(N),f):N===91?(e.consume(N),o=0,v):pl(N)?(e.consume(N),b):n(N)}function f(N){return N===45?(e.consume(N),m):n(N)}function d(N){return N===null?n(N):N===45?(e.consume(N),g):Dt(N)?(a=d,re(N)):(e.consume(N),d)}function g(N){return N===45?(e.consume(N),m):d(N)}function m(N){return N===62?ee(N):N===45?g(N):d(N)}function v(N){const pe="CDATA[";return N===pe.charCodeAt(o++)?(e.consume(N),o===pe.length?y:v):n(N)}function y(N){return N===null?n(N):N===93?(e.consume(N),x):Dt(N)?(a=y,re(N)):(e.consume(N),y)}function x(N){return N===93?(e.consume(N),C):y(N)}function C(N){return N===62?ee(N):N===93?(e.consume(N),C):y(N)}function b(N){return N===null||N===62?ee(N):Dt(N)?(a=b,re(N)):(e.consume(N),b)}function E(N){return N===null?n(N):N===63?(e.consume(N),T):Dt(N)?(a=E,re(N)):(e.consume(N),E)}function T(N){return N===62?ee(N):E(N)}function D(N){return pl(N)?(e.consume(N),I):n(N)}function I(N){return N===45||Os(N)?(e.consume(N),I):U(N)}function U(N){return Dt(N)?(a=U,re(N)):On(N)?(e.consume(N),U):ee(N)}function H(N){return N===45||Os(N)?(e.consume(N),H):N===47||N===62||$o(N)?V(N):n(N)}function V(N){return N===47?(e.consume(N),ee):N===58||N===95||pl(N)?(e.consume(N),j):Dt(N)?(a=V,re(N)):On(N)?(e.consume(N),V):ee(N)}function j(N){return N===45||N===46||N===58||N===95||Os(N)?(e.consume(N),j):z(N)}function z(N){return N===61?(e.consume(N),q):Dt(N)?(a=z,re(N)):On(N)?(e.consume(N),z):V(N)}function q(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),i=N,Z):Dt(N)?(a=q,re(N)):On(N)?(e.consume(N),q):(e.consume(N),ae)}function Z(N){return N===i?(e.consume(N),i=void 0,G):N===null?n(N):Dt(N)?(a=Z,re(N)):(e.consume(N),Z)}function ae(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===47||N===62||$o(N)?V(N):(e.consume(N),ae)}function G(N){return N===47||N===62||$o(N)?V(N):n(N)}function ee(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}function re(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),X}function X(N){return On(N)?or(e,ge,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):ge(N)}function ge(N){return e.enter("htmlTextData"),a(N)}}const yL={name:"labelEnd",tokenize:Kbe,resolveTo:Vbe,resolveAll:zbe},Hbe={tokenize:Wbe},$be={tokenize:Gbe},jbe={tokenize:Ybe};function zbe(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function Vbe(e,t){let n=e.length,r=0,i,o,a,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return s=[["enter",l,t],["enter",u,t]],s=$a(s,e.slice(o+1,o+r+3)),s=$a(s,[["enter",f,t]]),s=$a(s,vL(t.parser.constructs.insideSpan.null,e.slice(o+r+4,a-3),t)),s=$a(s,[["exit",f,t],e[a-2],e[a-1],["exit",u,t]]),s=$a(s,e.slice(a+1)),s=$a(s,[["exit",l,t]]),Bl(e,o,e.length,s),e}function Kbe(e,t,n){const r=this;let i=r.events.length,o,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(g){return o?o._inactive?d(g):(a=r.parser.defined.includes(Lh(r.
vendor: 4,053 bytes, line 308
308sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):n(g)}function l(g){return g===40?e.attempt(Hbe,f,a?f:d)(g):g===91?e.attempt($be,f,a?u:d)(g):a?f(g):d(g)}function u(g){return e.attempt(jbe,f,d)(g)}function f(g){return t(g)}function d(g){return o._balanced=!0,n(g)}}function Wbe(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return $o(d)?wm(e,o)(d):o(d)}function o(d){return d===41?f(d):wz(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return $o(d)?wm(e,l)(d):f(d)}function s(d){return n(d)}function l(d){return d===34||d===39||d===40?Bz(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function u(d){return $o(d)?wm(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function Gbe(e,t,n){const r=this;return i;function i(s){return bz.call(r,e,o,a,"reference","referenceMarker","referenceString")(s)}function o(s){return r.parser.defined.includes(Lh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function a(s){return n(s)}}function Ybe(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const qbe={name:"labelStartImage",tokenize:Zbe,resolveAll:yL.resolveAll};function Zbe(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),a):n(s)}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Xbe={name:"labelStartLink",tokenize:Jbe,resolveAll:yL.resolveAll};function Jbe(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),o}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const CE={name:"lineEnding",tokenize:eBe};function eBe(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),or(e,t,"linePrefix")}}const uw={name:"thematicBreak",tokenize:tBe};function tBe(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),a(u)}function a(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),l(u)):r>=3&&(u===null||Dt(u))?(e.exit("thematicBreak"),t(u)):n(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),On(u)?or(e,s,"whitespace")(u):s(u))}}const So={name:"list",tokenize:iBe,continuation:{tokenize:oBe},exit:sBe},nBe={tokenize:lBe,partial:!0},rBe={tokenize:aBe,partial:!0};function iBe(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(m){const v=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:uO(m)){if(r.containerState.type||(r.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(uw,n,u)(m):u(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return uO(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):n(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(LC,r.interrupt?n:f,e.attempt(nBe,g,d))}
vendor: 5,111 bytes, line 308
308function f(m){return r.containerState.initialBlankLine=!0,o++,g(m)}function d(m){return On(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):n(m)}function g(m){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function oBe(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(LC,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,or(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!On(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(rBe,t,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,or(e,e.attempt(So,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function aBe(e,t,n){const r=this;return or(e,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(o):n(o)}}function sBe(e){e.exit(this.containerState.type)}function lBe(e,t,n){const r=this;return or(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){const a=r.events[r.events.length-1];return!On(o)&&a&&a[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const jM={name:"setextUnderline",tokenize:uBe,resolveTo:ABe};function ABe(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function uBe(e,t,n){const r=this;let i;return o;function o(u){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),On(u)?or(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||Dt(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const cBe={tokenize:fBe};function fBe(e){const t=this,n=e.attempt(LC,r,e.attempt(this.parser.constructs.flowInitial,i,or(e,e.attempt(this.parser.constructs.flow,i,e.attempt(mbe,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const dBe={resolveAll:xz()},hBe=Cz("string"),pBe=Cz("text");function Cz(e){return{tokenize:t,resolveAll:xz(e==="text"?gBe:void 0)};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,a,s);return a;function a(f){return u(f)?o(f):s(f)}function s(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return u(f)?(n.exit("data"),o(f)):(n.consume(f),l)}function u(f){if(f===null)return!0;const d=i[f];let g=-1;if(d)for(;++g<d.length;){const m=d[g];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function xz(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function gBe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,a=-1,s=0,l;for(;o--;){const u=i[o];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)s++,a--;if(a)break;a=-1}else if(u===-2)l=!0,s++;else if(u!==-1){o++;break}}if(s){const u={type:n===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},u.start),r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}function mBe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let a=[],s=[];const l={consume:b,enter:E,exit:T,attempt:U(D),check:U(I),interrupt:U(I,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:v,defineSki
vendor: 3,769 bytes, lines 308-310
308p:y,write:d};let f=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(z){return a=$a(a,z),x(),a[a.length-1]!==null?[]:(H(t,0),u.events=vL(o,u.events,u),u.events)}function g(z,q){return _Be(m(z),q)}function m(z){return vBe(a,z)}function v(){const{line:z,column:q,offset:Z,_index:ae,_bufferIndex:G}=r;return{line:z,column:q,offset:Z,_index:ae,_bufferIndex:G}}function y(z){i[z.line]=z.column,j()}function x(){let z;for(;r._index<a.length;){const q=a[r._index];if(typeof q=="string")for(z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===z&&r._bufferIndex<q.length;)C(q.charCodeAt(r._bufferIndex));else C(q)}}function C(z){f=f(z)}function b(z){Dt(z)?(r.line++,r.column=1,r.offset+=z===-3?2:1,j()):z!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=z}function E(z,q){const Z=q||{};return Z.type=z,Z.start=v(),u.events.push(["enter",Z,u]),s.push(Z),Z}function T(z){const q=s.pop();return q.end=v(),u.events.push(["exit",q,u]),q}function D(z,q){H(z,q.from)}function I(z,q){q.restore()}function U(z,q){return Z;function Z(ae,G,ee){let re,X,ge,N;return Array.isArray(ae)?W(ae):"tokenize"in ae?W([ae]):pe(ae);function pe(oe){return _e;function _e(ce){const fe=ce!==null&&oe[ce],we=ce!==null&&oe.null,Ae=[...Array.isArray(fe)?fe:fe?[fe]:[],...Array.isArray(we)?we:we?[we]:[]];return W(Ae)(ce)}}function W(oe){return re=oe,X=0,oe.length===0?ee:P(oe[X])}function P(oe){return _e;function _e(ce){return N=V(),ge=oe,oe.partial||(u.currentConstruct=oe),oe.name&&u.parser.constructs.disable.null.includes(oe.name)?J():oe.tokenize.call(q?Object.assign(Object.create(u),q):u,l,te,J)(ce)}}function te(oe){return z(ge,N),G}function J(oe){return N.restore(),++X<re.length?P(re[X]):ee}}}function H(z,q){z.resolveAll&&!o.includes(z)&&o.push(z),z.resolve&&Bl(u.events,q,u.events.length-q,z.resolve(u.events.slice(q),u)),z.resolveTo&&(u.events=z.resolveTo(u.events,u))}function V(){const z=v(),q=u.previous,Z=u.currentConstruct,ae=u.events.length,G=Array.from(s);return{restore:ee,from:ae};function ee(){r=z,u.previous=q,u.currentConstruct=Z,u.events.length=ae,s=G,j()}}function j(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function vBe(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,o)];else{if(a=e.slice(n,i),r>-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(e[i].slice(0,o))}return a}function _Be(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let a;if(typeof o=="string")a=o;else switch(o){case-5:{a="\r";break}case-4:{a=` 309`;break}case-3:{a=`\r 310`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}const yBe={42:So,43:So,45:So,48:So,49:So,50:So,51:So,52:So,53:So,54:So,55:So,56:So,57:So,62:mz},wBe={91:bbe},bBe={[-2]:BE,[-1]:BE,32:BE},BBe={35:Fbe,42:uw,45:[jM,uw],60:Ibe,61:jM,95:uw,96:HM,126:HM},CBe={38:_z,92:vz},xBe={[-5]:CE,[-4]:CE,[-3]:CE,33:qbe,38:_z,42:cO,60:[Jwe,Mbe],91:Xbe,92:[Ebe,vz],93:yL,95:cO,96:fbe},EBe={null:[cO,dBe]},SBe={null:[42,95]},FBe={null:[]},TBe=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:SBe,contentInitial:wBe,disable:FBe,document:yBe,flow:BBe,flowInitial:bBe,insideSpan:EBe,string:CBe,text:xBe},Symbol.toStringTag,{value:"Module"}));function OBe(e){const n=Uwe([TBe,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(Kwe),document:i(Gwe),flow:i(cBe),string:i(hBe),text:i(pBe)};return r;function i(o){return a;function a(s){return mBe(r,o,s)}}}const zM=/[\0\t\n\r]/g;function kBe(){let e=1,t="",n=!0,r;return i;function i(o,a,s){const l=[];let u,f,d,g,m;
vendor: 11,729 bytes, line 310
310for(o=t+o.toString(a),d=0,t="",n&&(o.charCodeAt(0)===65279&&d++,n=void 0);d<o.length;){if(zM.lastIndex=d,u=zM.exec(o),g=u&&u.index!==void 0?u.index:o.length,m=o.charCodeAt(g),!u){t=o.slice(d);break}if(m===10&&d===g&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<g&&(l.push(o.slice(d,g)),e+=g-d),m){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=g+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function IBe(e){for(;!yz(e););return e}function Ez(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const LBe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function DBe(e){return e.replace(LBe,RBe)}function RBe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return Ez(n.slice(o?2:1),o?16:10)}return _L(n)||e}function cw(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?VM(e.position):"start"in e||"end"in e?VM(e):"line"in e||"column"in e?fO(e):""}function fO(e){return KM(e&&e.line)+":"+KM(e&&e.column)}function VM(e){return fO(e&&e.start)+"-"+fO(e&&e.end)}function KM(e){return e&&typeof e=="number"?e:1}const Sz={}.hasOwnProperty,PBe=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),UBe(n)(IBe(OBe(n).document().write(kBe()(e,t,!0))))};function UBe(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(je),autolinkProtocol:z,autolinkEmail:z,atxHeading:s(gt),blockQuote:s(Ae),characterEscape:z,characterReference:z,codeFenced:s(Pe),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Pe,l),codeText:s(ke,l),codeTextData:z,data:z,codeFlowValue:z,definition:s($e),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(Xe),hardBreakEscape:s(mt),hardBreakTrailing:s(mt),htmlFlow:s(At,l),htmlFlowData:z,htmlText:s(At,l),htmlTextData:z,image:s(on),label:l,link:s(je),listItem:s(Fn),listItemValue:v,listOrdered:s(Rt,m),listUnordered:s(Rt),paragraph:s(Tn),reference:J,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(gt),strong:s(In),thematicBreak:s(Lr)},exit:{atxHeading:f(),atxHeadingSequence:U,autolink:f(),autolinkEmail:we,autolinkProtocol:fe,blockQuote:f(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:ce,codeFenced:f(b),codeFencedFence:C,codeFencedFenceInfo:y,codeFencedFenceMeta:x,codeFlowValue:q,codeIndented:f(E),codeText:f(re),codeTextData:q,data:q,definition:f(),definitionDestinationString:I,definitionLabelString:T,definitionTitleString:D,emphasis:f(),hardBreakEscape:f(ae),hardBreakTrailing:f(ae),htmlFlow:f(G),htmlFlowData:q,htmlText:f(ee),htmlTextData:q,image:f(ge),label:pe,labelText:N,lineEnding:Z,link:f(X),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:oe,resourceDestinationString:W,resourceTitleString:P,resource:te,setextHeading:f(j),setextHeadingLineSequence:V,setextHeadingText:H,strong:f(),thematicBreak:f()}};Fz(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(Ee){let Qe={type:"root",children:[]};const rt={stack:[Qe],tokenStack:[],config:t,enter:u,exit:d,buffer:l,resume:g,setData:o,getData:a},bt=[];let jt=-1;for(;++jt<Ee.length;)if(Ee[jt][1].type==="listOrdered"||Ee[jt][1].type==="listUnordered")if(Ee[jt][0]==="enter")bt.push(jt);else{const Un=bt.pop();jt=i(Ee,Un,jt)}for(jt=-1;++jt<Ee.length;){const Un=t[Ee[jt][0]];Sz.call(Un,Ee[jt][1].type)&&Un[Ee[jt][1].type].call(Object.assign({sliceSerialize:Ee[jt][2].sliceSerialize},rt),Ee[jt][1])}if(rt.tokenStack.length>0){const Un=rt.tokenStack[rt.tokenStack.length-1];(Un[1]||WM).call(rt,void 0,Un[0])}for(Qe.position={start:Bu(Ee.length>0?Ee[0][1].start:{line:1,column:1,offset:0}),end:Bu(Ee.length>0?Ee[Ee.length-2][1].end:{line:1,column:1,offset:0})},jt=-1;++jt<t.transforms.length;)Qe=t.transforms[jt](Qe)||Qe;return Qe}function i(Ee,Qe,rt){let bt=Qe-1,jt=-1,Un=!1,Xn,Cn,me,he;for(;++bt<=rt;){const Fe=Ee[bt];if(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered"||Fe[1].type==="blockQuote"?(Fe[0]==="enter"?jt++:jt--,he=void 0):Fe[1].type==="lineEndingBlank"?Fe[0]==="enter"&&(Xn&&!he&&!jt&&!me&&(me=bt),he=void 0):Fe[1].type==="linePrefix"||Fe[1].type==="listItemValue"||Fe[1].type==="listItemMarker"||Fe[1].type==="listItemPrefix"||Fe[1].type==="listItemPrefixWhitespace"||(he=void 0),!jt&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||jt===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(Xn){let Ce=bt;for(Cn=void 0;Ce--;){const Se=Ee[Ce];if(Se[1].type==="lineEnding"||Se[1].type==="lineEndingBlank"){if(Se[0]==="exit")continue;Cn&&(Ee[Cn][1].type="lineEndingBlank",Un=!0),Se[1].type="lineEnding",Cn=Ce}else if(!(Se[1].type==="linePrefix"||Se[1].type==="blockQuotePrefix"||Se[1].type==="blockQuotePrefixWhitespace"||Se[1].type==="blockQuoteMarker"||Se[1].type==="listItemIndent"))break}me&&(!Cn||me<Cn)&&(Xn._spread=!0),Xn.end=Object.assign({},Cn?Ee[Cn][1].start:Fe[1].end),Ee.splice(Cn||bt,0,["exit",Xn,Fe[2]]),bt++,rt++}Fe[1].type==="listItemPrefix"&&(Xn={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0},Ee.splice(bt,0,["enter",Xn,Fe[2]]),bt++,rt++,me=void 0,he=!0)}}return Ee[Qe][1]._spread=Un,rt}function o(Ee,Qe){n[Ee]=Qe}function a(Ee){return n[Ee]}function s(Ee,Qe){return rt;function rt(bt){u.call(this,Ee(bt),bt),Qe&&Qe.call(this,bt)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(Ee,Qe,rt){return this.stack[this.stack.length-1].children.push(Ee),this.stack.push(Ee),this.tokenStack.push([Qe,rt]),Ee.position={start:Bu(Qe.start)},Ee}function f(Ee){return Qe;function Qe(rt){Ee&&Ee.call(this,rt),d.call(this,rt)}}function d(Ee,Qe){const rt=this.stack.pop(),bt=this.tokenStack.pop();if(bt)bt[0].type!==Ee.type&&(Qe?Qe.call(this,Ee,bt[0]):(bt[1]||WM).call(this,Ee,bt[0]));else throw new Error("Cannot close `"+Ee.type+"` ("+cw({start:Ee.start,end:Ee.end})+"): itâs not open");return rt.position.end=Bu(Ee.end),rt}function g(){return Rwe(this.stack.pop())}function m(){o("expectingFirstListItemValue",!0)}function v(Ee){if(a("expectingFirstListItemValue")){const Qe=this.stack[this.stack.length-2];Qe.start=Number.parseInt(this.sliceSerialize(Ee),10),o("expectingFirstListItemValue")}}function y(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.lang=Ee}function x(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.meta=Ee}function C(){a("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function b(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.value=Ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function E(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.value=Ee.replace(/(\r?\n|\r)$/g,"")}function T(Ee){const Qe=this.resume(),rt=this.stack[this.stack.length-1];rt.label=Qe,rt.identifier=Lh(this.sliceSerialize(Ee)).toLowerCase()}function D(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.title=Ee}function I(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.url=Ee}function U(Ee){const Qe=this.stack[this.stack.length-1];if(!Qe.depth){const rt=this.sliceSerialize(Ee).length;Qe.depth=rt}}function H(){o("setextHeadingSlurpLineEnding",!0)}function V(Ee){const Qe=this.stack[this.stack.length-1];Qe.depth=this.sliceSerialize(Ee).charCodeAt(0)===61?1:2}function j(){o("setextHeadingSlurpLineEnding")}function z(Ee){const Qe=this.stack[this.stack.length-1];let rt=Qe.children[Qe.children.length-1];(!rt||rt.type!=="text")&&(rt=Kn(),rt.position={start:Bu(Ee.start)},Qe.children.push(rt)),this.stack.push(rt)}function q(Ee){const Qe=this.stack.pop();Qe.value+=this.sliceSerialize(Ee),Qe.position.end=Bu(Ee.end)}function Z(Ee){const Qe=this.stack[this.stack.length-1];if(a("atHardBreak")){const rt=Qe.children[Qe.children.length-1];rt.position.end=Bu(Ee.end),o("atHardBreak");return}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(Qe.type)&&(z.call(this,Ee),q.call(this,Ee))}function ae(){o("atHardBreak",!0)}function G(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.value=Ee}function ee(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.value=Ee}function re(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.value=Ee}function X(){const Ee=this.stack[this.stack.length-1];if(a("inReference")){const Qe=a("referenceType")||"shortcut";Ee.type+="Reference",Ee.referenceType=Qe,delete Ee.url,delete Ee.title}else delete Ee.identifier,delete Ee.label;o("referenceType")}function ge(){const Ee=this.stack[this.stack.length-1];if(a("inReference")){const Qe=a("referenceType")||"shortcut";Ee.type+="Reference",Ee.referenceType=Qe,delete Ee.url,delete Ee.title}else delete Ee.identifier,delete Ee.label;o("referenceType")}function N(Ee){const Qe=this.sliceSerialize(Ee),rt=this.stack[this.stack.length-2];rt.label=DBe(Qe),rt.identifier=Lh(Qe).toLowerCase()}function pe(){const Ee=this.stack[this.stack.length-1],Qe=this.resume(),rt=this.stack[this.stack.length-1];if(o("inReference",!0),rt.type==="link"){const bt=Ee.children;rt.children=bt}else rt.alt=Qe}function W(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.url=Ee}function P(){const Ee=this.resume(),Qe=this.stack[this.stack.length-1];Qe.title=Ee}function te(){o("inReference")}function J(){o("referenceType","collapsed")}function oe(Ee){const Qe=this.resume(),rt=this.stack[this.stack.length-1];rt.label=Qe,rt.identifier=Lh(this.sliceSerialize(Ee)).toLowerCase(),o("referenceType","full")}function _e(Ee){o("characterReferenceType",Ee.type)}function ce(Ee){const Qe=this.sliceSerialize(Ee),rt=a("characterReferenceType");let bt;rt?(bt=Ez(Qe,rt==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):bt=_L(Qe);const jt=this.stack.pop();jt.value+=bt,jt.position.end=Bu(Ee.end)}function fe(Ee){q.call(this,Ee);const Qe=this.stack[this.stack.length-1];Qe.url=this.sliceSerialize(Ee)}function we(Ee){q.call(this,Ee);const Qe=this.stack[this.stack.length-1];Qe.url="mailto:"+this.sliceSerialize(Ee)}function Ae(){return{type:"blockquote",children:[]}}function Pe(){return{type:"code",lang:null,meta:null,value:""}}function ke(){return{type:"inlineCode",value:""}}function $e(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Xe(){return{type:"emphasis",children:[]}}function gt(){return{type:"heading",depth:void 0,children:[]}}function mt(){return{type:"break"}}function At(){return{type:"html",value:""}}function on(){return{type:"image",title:null,url:"",alt:null}}function je(){return{type:"link",title:null,url:"",children:[]}}function Rt(Ee){return{type:"list",ordered:Ee.type==="listOrdered",start:null,spread:Ee._spread,children:[]}}function Fn(Ee){return{type:"listItem",spread:Ee._spread,checked:null,children:[]}}function Tn(){return{type:"paragraph",children:[]}}function In(){return{type:"strong",children:[]}}function Kn(){return{type:"text",value:""}}function Lr(){return{type:"thematicBreak"}}}function Bu(e){return{line:e.line,column:e.column,offset:e.offset}}function Fz(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Fz(e,r):NBe(e,r)}}function NBe(e,t){let n;for(n in t)if(Sz.call(t,n)){if(n==="canContainEols"){const r=t[n];r&&e[n].push(...r)}else if(n==="transforms"){const r=t[n];r&&e[n].push(...r)}else if(n==="enter"||n==="exit"){const r=t[n];r&&Object.assign(e[n],r)}}}function WM(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+cw({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+cw({start:t.start,end:t.end}
310)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+cw({start:t.start,end:t.end})+") is still open")}function MBe(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return PBe(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function QBe(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function HBe(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 311`}]}function $Be(e,t){const n=t.value?t.value+` 312`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function jBe(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zBe(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const GM=VBe(/[\dA-Za-z]/);function VBe(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function Bp(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let a="";if(o===37&&GM(e.charCodeAt(n+1))&&GM(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Tz(e,t){const n=String(t.identifier).toUpperCase(),r=Bp(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function KBe(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Tz(e,{type:"footnoteReference",identifier:i,position:t.position})}function WBe(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function GBe(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Oz(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function YBe(e,t){const n=e.definition(t.identifier);if(!n)return Oz(e,t);const r={src:Bp(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function qBe(e,t){const n={src:Bp(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ZBe(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function XBe(e,t){const n=e.definition(t.identifier);if(!n)return Oz(e,t);const r={href:Bp(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function JBe(e,t){const n={href:Bp(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function eCe(e,t,n){const r=e.all(t),i=n?tCe(n):kz(t),o={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let d;f&&f.type==="element"&&f.tagName==="p"?d=f:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const f=r[s];(i||s!==0||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:` 313`}),f.type==="element"&&f.tagName==="p"&&!i?a.push(...f.children):a.push(f)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:` 314`});const u={type:"element",tagName:"li",properties:o,children:a};
314return e.patch(t,u),e.applyData(t,u)}function tCe(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=kz(n[r])}return t}function kz(e){const t=e.spread;return t??e.children.length>1}function nCe(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function rCe(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function iCe(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function oCe(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const wL=Iz("start"),bL=Iz("end");function aCe(e){return{start:wL(e),end:bL(e)}}function Iz(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function sCe(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=wL(t.children[1]),l=bL(t.children[t.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function lCe(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let l=-1;const u=[];for(;++l<s;){const d=t.children[l],g={},m=a?a[l]:void 0;m&&(g.align=m);let v={type:"element",tagName:o,properties:g,children:[]};d&&(v.children=e.all(d),e.patch(d,v),v=e.applyData(t,v)),u.push(v)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,f),e.applyData(t,f)}function ACe(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const YM=9,qM=32;function uCe(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(ZM(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(ZM(t.slice(i),i>0,!1)),o.join("")}function ZM(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===YM||o===qM;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===YM||o===qM;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function cCe(e,t){const n={type:"text",value:uCe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function fCe(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const dCe={blockquote:QBe,break:HBe,code:$Be,delete:jBe,emphasis:zBe,footnoteReference:Tz,footnote:KBe,heading:WBe,html:GBe,imageReference:YBe,image:qBe,inlineCode:ZBe,linkReference:XBe,link:JBe,listItem:eCe,list:nCe,paragraph:rCe,root:iCe,strong:oCe,table:sCe,tableCell:ACe,tableRow:lCe,text:cCe,thematicBreak:fCe,toml:Ay,yaml:Ay,definition:Ay,footnoteDefinition:Ay};function Ay(){return null}const Lz=function(e){if(e==null)return mCe;if(typeof e=="string")return gCe(e);if(typeof e=="object")return Array.isArray(e)?hCe(e):pCe(e);if(typeof e=="function")return DC(e);throw new Error("Expected function, string, or object as test")};function hCe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Lz(e[n]);return DC(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].call(this,...i))return!0;return!1}}function pCe(e){return DC(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function gCe(e){return DC(t);function t(n){return n&&n.type===e}}function DC(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function mCe(){return!0}const vCe=!0,XM=!1,_Ce="skip",yCe=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=Lz(t),o=r?-1:1;a(e,void 0,[])();function a(s,l,u){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const g=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(s.type+(g?"<"+g+">":""))+")"})}return d;function d(){let g=[],m,v,y;if((!t||i(s,l,u[u.length-1]||null))&&(g=wCe(n(s,u)),g[0]===XM))return g;if(s.children&&g[0]!==_Ce)for(v=(r?s.children.length:-1)+o,y=u.concat(s);v>-1&&v<s.children.length;){if(m=a(s.children[v],v,y)(),m[0]===XM)return m;v=typeof m[1]=="number"?m[1]:v+o}return g}}};function wCe(e){return Array.isArray(e)?e:typeof e=="number"?[vCe,e]:[e]}const Dz=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),yCe(e,t,i,r);function i(o,a){const s=a[a.length-1];
314return n(o,s?s.children.indexOf(o):null,s)}};function bCe(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const JM={}.hasOwnProperty;function BCe(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Dz(e,"definition",r=>{const i=eQ(r.identifier);i&&!JM.call(t,i)&&(t[i]=r)}),n;function n(r){const i=eQ(r);return i&&JM.call(t,i)?t[i]:null}}function eQ(e){return String(e||"").toUpperCase()}const oB={}.hasOwnProperty;function CCe(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...dCe,...n.handlers},a.definition=BCe(e),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=xCe,a.applyData=ECe,a.one=s,a.all=l,a.wrap=FCe,a.augment=o,Dz(e,"footnoteDefinition",u=>{const f=String(u.identifier).toUpperCase();oB.call(i,f)||(i[f]=u)}),a;function o(u,f){if(u&&"data"in u&&u.data){const d=u.data;d.hName&&(f.type!=="element"&&(f={type:"element",tagName:"",properties:{},children:[]}),f.tagName=d.hName),f.type==="element"&&d.hProperties&&(f.properties={...f.properties,...d.hProperties}),"children"in f&&f.children&&d.hChildren&&(f.children=d.hChildren)}if(u){const d="type"in u?u:{position:u};bCe(d)||(f.position={start:wL(d),end:bL(d)})}return f}function a(u,f,d,g){return Array.isArray(d)&&(g=d,d={}),o(u,{type:"element",tagName:f,properties:d||{},children:g||[]})}function s(u,f){return Rz(a,u,f)}function l(u){return BL(a,u)}}function xCe(e,t){e.position&&(t.position=aCe(e))}function ECe(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Rz(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return oB.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:BL(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):SCe(e,t)}function BL(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=Rz(e,r[i],t);if(o){if(i&&r[i-1].type==="break"&&(!Array.isArray(o)&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&o.type==="element")){const a=o.children[0];a&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function SCe(e,t){const n=t.data||{},r="value"in t&&!(oB.call(n,"hProperties")||oB.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:BL(e,t)};return e.patch(t,r),e.applyData(t,r)}function FCe(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 315`});++r<e.length;)r&&n.push({type:"text",value:` 316`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 317`}),n}function TCe(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),o=String(r.identifier).toUpperCase(),a=Bp(o.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[o];){const d={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"â©"}]};s>1&&d.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(d)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const d=u.children[u.children.length-1];d&&d.type==="text"?d.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a}
vendor: 4,220 bytes, lines 317-320
317,children:e.wrap(i,!0)};e.patch(r,f),t.push(f)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` 318`},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` 319`}]}}function Pz(e,t){const n=CCe(e,t),r=n.one(e,null),i=TCe(n);return i&&r.children.push({type:"text",value:` 320`},i),Array.isArray(r)?{type:"root",children:r}:r}const OCe=function(e,t){return e&&"run"in e?ICe(e,t):LCe(e||t)},kCe=OCe;function ICe(e,t){return(n,r,i)=>{e.run(Pz(n,t),r,o=>{i(o)})}}function LCe(e){return t=>Pz(t,e)}class Kv{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Kv.prototype.property={};Kv.prototype.normal={};Kv.prototype.space=null;function Uz(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Kv(n,r,t)}function dO(e){return e.toLowerCase()}class rs{constructor(t,n){this.property=t,this.attribute=n}}rs.prototype.space=null;rs.prototype.boolean=!1;rs.prototype.booleanish=!1;rs.prototype.overloadedBoolean=!1;rs.prototype.number=!1;rs.prototype.commaSeparated=!1;rs.prototype.spaceSeparated=!1;rs.prototype.commaOrSpaceSeparated=!1;rs.prototype.mustUseProperty=!1;rs.prototype.defined=!1;let DCe=0;const Kt=ad(),Gr=ad(),Nz=ad(),We=ad(),nr=ad(),Dh=ad(),oa=ad();function ad(){return 2**++DCe}const hO=Object.freeze(Object.defineProperty({__proto__:null,boolean:Kt,booleanish:Gr,commaOrSpaceSeparated:oa,commaSeparated:Dh,number:We,overloadedBoolean:Nz,spaceSeparated:nr},Symbol.toStringTag,{value:"Module"})),xE=Object.keys(hO);class CL extends rs{constructor(t,n,r,i){let o=-1;if(super(t,n),tQ(this,"space",i),typeof r=="number")for(;++o<xE.length;){const a=xE[o];tQ(this,xE[o],(r&hO[a])===hO[a])}}}CL.prototype.defined=!0;function tQ(e,t,n){n&&(e[t]=n)}const RCe={}.hasOwnProperty;function Cp(e){const t={},n={};let r;for(r in e.properties)if(RCe.call(e.properties,r)){const i=e.properties[r],o=new CL(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[dO(r)]=r,n[dO(o.attribute)]=r}return new Kv(t,n,e.space)}const Mz=Cp({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Qz=Cp({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Hz(e,t){return t in e?e[t]:t}function $z(e,t){return Hz(e,t.toLowerCase())}const jz=Cp({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$z,properties:{xmlns:null,xmlnsXLink:null}}),zz=Cp({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Gr,ariaAutoComplete:null,ariaBusy:Gr,ariaChecked:Gr,ariaColCount:We,ariaColIndex:We,ariaColSpan:We,ariaControls:nr,ariaCurrent:null,ariaDescribedBy:nr,ariaDetails:null,ariaDisabled:Gr,ariaDropEffect:nr,ariaErrorMessage:null,ariaExpanded:Gr,ariaFlowTo:nr,ariaGrabbed:Gr,ariaHasPopup:null,ariaHidden:Gr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nr,ariaLevel:We,ariaLive:null,ariaModal:Gr,ariaMultiLine:Gr,ariaMultiSelectable:Gr,ariaOrientation:null,ariaOwns:nr,ariaPlaceholder:null,ariaPosInSet:We,ariaPressed:Gr,ariaReadOnly:Gr,ariaRelevant:null,ariaRequired:Gr,ariaRoleDescription:nr,ariaRowCount:We,ariaRowIndex:We,ariaRowSpan:We,ariaSelected:Gr,ariaSetSize:We,ariaSort:null,ariaValueMax:We,ariaValueMin:We,ariaValueNow:We,ariaValueText:null,role:null}}),PCe=Cp({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$z,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Dh,acceptCharset:nr,accessKey:nr,action:null,allow:null,allowFullScreen:Kt,allowPaymentRequest:Kt,allowUserMedia:Kt,alt:null,as:null,async:Kt,autoCapitalize:null,autoComplete:nr,autoF
320ocus:Kt,autoPlay:Kt,blocking:nr,capture:null,charSet:null,checked:Kt,cite:null,className:nr,cols:We,colSpan:null,content:null,contentEditable:Gr,controls:Kt,controlsList:nr,coords:We|Dh,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Kt,defer:Kt,dir:null,dirName:null,disabled:Kt,download:Nz,draggable:Gr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Kt,formTarget:null,headers:nr,height:We,hidden:Kt,high:We,href:null,hrefLang:null,htmlFor:nr,httpEquiv:nr,id:null,imageSizes:null,imageSrcSet:null,inert:Kt,inputMode:null,integrity:null,is:null,isMap:Kt,itemId:null,itemProp:nr,itemRef:nr,itemScope:Kt,itemType:nr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Kt,low:We,manifest:null,max:null,maxLength:We,media:null,method:null,min:null,minLength:We,multiple:Kt,muted:Kt,name:null,nonce:null,noModule:Kt,noValidate:Kt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Kt,optimum:We,pattern:null,ping:nr,placeholder:null,playsInline:Kt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Kt,referrerPolicy:null,rel:nr,required:Kt,reversed:Kt,rows:We,rowSpan:We,sandbox:nr,scope:null,scoped:Kt,seamless:Kt,selected:Kt,shadowRootClonable:Kt,shadowRootDelegatesFocus:Kt,shadowRootMode:null,shape:null,size:We,sizes:null,slot:null,span:We,spellCheck:Gr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:We,step:null,style:null,tabIndex:We,target:null,title:null,translate:null,type:null,typeMustMatch:Kt,useMap:null,value:Gr,width:We,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:nr,axis:null,background:null,bgColor:null,border:We,borderColor:null,bottomMargin:We,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Kt,declare:Kt,event:null,face:null,frame:null,frameBorder:null,hSpace:We,leftMargin:We,link:null,longDesc:null,lowSrc:null,marginHeight:We,marginWidth:We,noResize:Kt,noHref:Kt,noShade:Kt,noWrap:Kt,object:null,profile:null,prompt:null,rev:null,rightMargin:We,rules:null,scheme:null,scrolling:Gr,standby:null,summary:null,text:null,topMargin:We,valueType:null,version:null,vAlign:null,vLink:null,vSpace:We,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Kt,disableRemotePlayback:Kt,prefix:null,property:null,results:We,security:null,unselectable:null}}),UCe=Cp({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
320dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Hz,properties:{about:oa,accentHeight:We,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:We,amplitude:We,arabicForm:null,ascent:We,attributeName:null,attributeType:null,azimuth:We,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:We,by:null,calcMode:null,capHeight:We,className:nr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
vendor: 7,759 bytes, line 320
320dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:We,diffuseConstant:We,direction:null,display:null,dur:null,divisor:We,dominantBaseline:null,download:Kt,dx:null,dy:null,edgeMode:null,editable:null,elevation:We,enableBackground:null,end:null,event:null,exponent:We,externalResourcesRequired:null,fill:null,fillOpacity:We,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Dh,g2:Dh,glyphName:Dh,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:We,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:We,horizOriginX:We,horizOriginY:We,id:null,ideographic:We,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:We,k:We,k1:We,k2:We,k3:We,k4:We,kernelMatrix:oa,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:We,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:We,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:We,overlineThickness:We,paintOrder:null,panose1:null,path:null,pathLength:We,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:We,pointsAtY:We,pointsAtZ:We,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:oa,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:oa,rev:oa,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:oa,requiredFeatures:oa,requiredFonts:oa,requiredFormats:oa,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:We,specularExponent:We,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:We,strikethroughThickness:We,string:null,stroke:null,strokeDashArray:oa,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:We,strokeOpacity:We,strokeWidth:null,style:null,surfaceScale:We,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:oa,tabIndex:We,tableValues:null,target:null,targetX:We,targetY:We,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:oa,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:We,underlineThickness:We,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:We,values:null,vAlphabetic:We,vMathematical:We,vectorEffect:null,vHanging:We,vIdeographic:We,version:null,vertAdvY:We,vertOriginX:We,vertOriginY:We,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:We,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),NCe=/^data[-\w.:]+$/i,nQ=/-[a-z]/g,MCe=/[A-Z]/g;function QCe(e,t){const n=dO(t);let r=t,i=rs;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&NCe.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(nQ,$Ce);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!nQ.test(o)){let a=o.replace(MCe,HCe);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=CL}return new i(r,t)}function HCe(e){return"-"+e.toLowerCase()}function $Ce(e){return e.charAt(1).toUpperCase()}const rQ={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},jCe=Uz([Qz,Mz,jz,zz,PCe],"html"),zCe=Uz([Qz,Mz,jz,zz,UCe],"svg"),Vz=function(e){if(e==null)return GCe;if(typeof e=="string")return WCe(e);if(typeof e=="object")return Array.isArray(e)?VCe(e):KCe(e);if(typeof e=="function")return RC(e);throw new Error("Expected function, string, or object as test")};function VCe(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Vz(e[n]);return RC(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].call(this,...i))return!0;return!1}}function KCe(e){return RC(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function WCe(e){return RC(t);function t(n){return n&&n.type===e}}function RC(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function GCe(){return!0}const YCe=!0,iQ=!1,qCe="skip",ZCe=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=Vz(t),o=r?-1:1;a(e,void 0,[])();function a(s,l,u){const f=s&&typeof s=="object"?s:{};if(typeof f.type=="string"){const g=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(s.type+(g?"<"+g+">":""))+")"})}return d;function d(){let g=[],m,v,y;if((!t||i(s,l,u[u.length-1]||null))&&(g=XCe(n(s,u)),g[0]===iQ))return g;if(s.children&&g[0]!==qCe)for(v=(r?s.children.length:-1)+o,y=u.concat(s);v>-1&&v<s.children.length;){if(m=a(s.children[v],v,y)(),m[0]===iQ)return m;v=typeof m[1]=="number"?m[1]:v+o}return g}}};function XCe(e){return Array.isArray(e)?e:typeof e=="number"?[YCe,e]:[e]}const JCe=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),ZCe(e,t,i,r);function i(o,a){const s=a[a.length-1];
320return n(o,s?s.children.indexOf(o):null,s)}};function exe(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{JCe(t,"element",(n,r,i)=>{const o=i;let a;if(e.allowedElements?a=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(n.tagName)),!a&&e.allowElement&&typeof r=="number"&&(a=!e.allowElement(n,r,o)),a&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var Kz={exports:{}},$n={};/** 321 * @license React 322 * react-is.production.min.js 323 * 324 * Copyright (c) Facebook, Inc. and its affiliates. 325 * 326 * This source code is licensed under the MIT license found in the 327 * LICENSE file in the root directory of this source tree. 328 */var xL=Symbol.for("react.element"),EL=Symbol.for("react.portal"),PC=Symbol.for("react.fragment"),UC=Symbol.for("react.strict_mode"),NC=Symbol.for("react.profiler"),MC=Symbol.for("react.provider"),QC=Symbol.for("react.context"),txe=Symbol.for("react.server_context"),HC=Symbol.for("react.forward_ref"),$C=Symbol.for("react.suspense"),jC=Symbol.for("react.suspense_list"),zC=Symbol.for("react.memo"),VC=Symbol.for("react.lazy"),nxe=Symbol.for("react.offscreen"),Wz;Wz=Symbol.for("react.module.reference");function is(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xL:switch(e=e.type,e){case PC:case NC:case UC:case $C:case jC:return e;default:switch(e=e&&e.$$typeof,e){case txe:case QC:case HC:case VC:case zC:case MC:return e;default:return t}}case EL:return t}}}$n.ContextConsumer=QC;$n.ContextProvider=MC;$n.Element=xL;$n.ForwardRef=HC;$n.Fragment=PC;$n.Lazy=VC;$n.Memo=zC;$n.Portal=EL;$n.Profiler=NC;$n.StrictMode=UC;$n.Suspense=$C;$n.SuspenseList=jC;$n.isAsyncMode=function(){return!1};$n.isConcurrentMode=function(){return!1};$n.isContextConsumer=function(e){return is(e)===QC};$n.isContextProvider=function(e){return is(e)===MC};$n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xL};$n.isForwardRef=function(e){return is(e)===HC};$n.isFragment=function(e){return is(e)===PC};$n.isLazy=function(e){return is(e)===VC};$n.isMemo=function(e){return is(e)===zC};$n.isPortal=function(e){return is(e)===EL};$n.isProfiler=function(e){return is(e)===NC};$n.isStrictMode=function(e){return is(e)===UC};$n.isSuspense=function(e){return is(e)===$C};$n.isSuspenseList=function(e){return is(e)===jC};$n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===PC||e===NC||e===UC||e===$C||e===jC||e===nxe||typeof e=="object"&&e!==null&&(e.$$typeof===VC||e.$$typeof===zC||e.$$typeof===MC||e.$$typeof===QC||e.$$typeof===HC||e.$$typeof===Wz||e.getModuleId!==void 0)};$n.typeOf=is;Kz.exports=$n;var rxe=Kz.exports;const ixe=uc(rxe);function oxe(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function axe(e){return e.join(" ").trim()}function sxe(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var SL={exports:{}},oQ=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,lxe=/\n/g,Axe=/^\s*/,uxe=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,cxe=/^:\s*/,fxe=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,dxe=/^[;\s]*/,hxe=/^\s+|\s+$/g,pxe=` 329`,aQ="/",sQ="*",Cf="",gxe="comment",mxe="declaration",vxe=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(v){var y=v.match(lxe);y&&(n+=y.length);var x=v.lastIndexOf(pxe);r=~x?v.length-x:r+v.length}function o(){var v={line:n,column:r};return function(y){return y.position=new a(v),u(),y}}function a(v){this.start=v,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(v){var y=new Error(t.source+":"+n+":"+r+": "+v);if(y.reason=v,y.filename=t.source,y.line=n,y.column=r,y.source=e,!t.silent)throw y}function l(v){var y=v.exec(e);if(y){var x=y[0];return i(x),e=e.slice(x.length),y}}function u(){l(Axe)}function f(v){var y;for(v=v||[];y=d();)y!==!1&&v.push(y);return v}function d(){var v=o();if(!(aQ!=e.charAt(0)||sQ!=e.charAt(1))){for(var y=2;Cf!=e.charAt(y)&&(sQ!=e.charAt(y)||aQ!=e.charAt(y+1));)++y;if(y+=2,Cf===e.charAt(y-1))return s("End of comment missing");var x=e.slice(2,y-2);
329return r+=2,i(x),e=e.slice(y),r+=2,v({type:gxe,comment:x})}}function g(){var v=o(),y=l(uxe);if(y){if(d(),!l(cxe))return s("property missing ':'");var x=l(fxe),C=v({type:mxe,property:lQ(y[0].replace(oQ,Cf)),value:x?lQ(x[0].replace(oQ,Cf)):Cf});return l(dxe),C}}function m(){var v=[];f(v);for(var y;y=g();)y!==!1&&(v.push(y),f(v));return v}return u(),m()};function lQ(e){return e?e.replace(hxe,Cf):Cf}var _xe=vxe;function Gz(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=_xe(e),o=typeof t=="function",a,s,l=0,u=i.length;l<u;l++)r=i[l],a=r.property,s=r.value,o?t(a,s,r):s&&(n||(n={}),n[a]=s);return n}SL.exports=Gz;SL.exports.default=Gz;var yxe=SL.exports;const wxe=uc(yxe),pO={}.hasOwnProperty,bxe=new Set(["table","thead","tbody","tfoot","tr"]);function Yz(e,t){const n=[];let r=-1,i;for(;++r<t.children.length;)i=t.children[r],i.type==="element"?n.push(Bxe(e,i,r,t)):i.type==="text"?(t.type!=="element"||!bxe.has(t.tagName)||!oxe(i))&&n.push(i.value):i.type==="raw"&&!e.options.skipHtml&&n.push(i.value);return n}function Bxe(e,t,n,r){const i=e.options,o=i.transformLinkUri===void 0?dwe:i.transformLinkUri,a=e.schema,s=t.tagName,l={};let u=a,f;if(a.space==="html"&&s==="svg"&&(u=zCe,e.schema=u),t.properties)for(f in t.properties)pO.call(t.properties,f)&&xxe(l,f,t.properties[f],e);(s==="ol"||s==="ul")&&e.listDepth++;const d=Yz(e,t);(s==="ol"||s==="ul")&&e.listDepth--,e.schema=a;const g=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=i.components&&pO.call(i.components,s)?i.components[s]:s,v=typeof m=="string"||m===lt.Fragment;if(!ixe.isValidElementType(m))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=n,s==="a"&&i.linkTarget&&(l.target=typeof i.linkTarget=="function"?i.linkTarget(String(l.href||""),t.children,typeof l.title=="string"?l.title:null):i.linkTarget),s==="a"&&o&&(l.href=o(String(l.href||""),t.children,typeof l.title=="string"?l.title:null)),!v&&s==="code"&&r.type==="element"&&r.tagName!=="pre"&&(l.inline=!0),!v&&(s==="h1"||s==="h2"||s==="h3"||s==="h4"||s==="h5"||s==="h6")&&(l.level=Number.parseInt(s.charAt(1),10)),s==="img"&&i.transformImageUri&&(l.src=i.transformImageUri(String(l.src||""),String(l.alt||""),typeof l.title=="string"?l.title:null)),!v&&s==="li"&&r.type==="element"){const y=Cxe(t);l.checked=y&&y.properties?!!y.properties.checked:null,l.index=EE(r,t),l.ordered=r.tagName==="ol"}return!v&&(s==="ol"||s==="ul")&&(l.ordered=s==="ol",l.depth=e.listDepth),(s==="td"||s==="th")&&(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),v||(l.isHeader=s==="th")),!v&&s==="tr"&&r.type==="element"&&(l.isHeader=r.tagName==="thead"),i.sourcePos&&(l["data-sourcepos"]=Fxe(g)),!v&&i.rawSourcePos&&(l.sourcePosition=t.position),!v&&i.includeElementIndex&&(l.index=EE(r,t),l.siblingCount=EE(r)),v||(l.node=t),d.length>0?lt.createElement(m,l,d):lt.createElement(m,l)}function Cxe(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function EE(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function xxe(e,t,n,r){const i=QCe(r.schema,t);let o=n;o==null||o!==o||(Array.isArray(o)&&(o=i.commaSeparated?sxe(o):axe(o)),i.property==="style"&&typeof o=="string"&&(o=Exe(o)),i.space&&i.property?e[pO.call(rQ,i.property)?rQ[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function Exe(e){const t={};try{wxe(e,n)}catch{}return t;function n(r,i){const o=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;t[o.replace(/-([a-z])/g,Sxe)]=i}}function Sxe(e,t){return t.toUpperCase()}function Fxe(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}const AQ={}.hasOwnProperty,Txe="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",uy={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function FL(e){for(const o in uy)if(AQ.call(uy,o)&&AQ.call(e,o)){const a=uy[o];console.warn(`[react-markdown] Warning: please ${a.to?`use \`${a.to}\` instead of`:"remove"} \`${o}\` (see <${Txe}#${a.id}> for more info)`),delete uy[o]}const t=Owe().use(MBe).use(e.remarkPlugins||[]).use(kCe,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(exe,e),n=new fz;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=lt.createElement(lt.Fragment,{},Yz({options:e,schema:jCe,listDepth:0},r));return e.className&&(i=lt.createElement("div",{className:e.className},i)),i}FL.propTypes={children:Ht.string,className:Ht.string,allowElement:Ht.func,allowedElements:Ht.arrayOf(Ht.string),disallowedElements:Ht.arrayOf(Ht.string),unwrapDisallowed:Ht.bool,remarkPlugins:Ht.arrayOf(Ht.oneOfType([Ht.object,Ht.func,Ht.arrayOf(Ht.oneOfType([Ht.bool,Ht.string,Ht.object,Ht.func,Ht.arrayOf(Ht.any)]))])),rehypePlugins:Ht.arrayOf(Ht.oneOfType([Ht.object,Ht.func,Ht.arrayOf(Ht.oneOfType([Ht.bool,Ht.string,Ht.object,Ht.func,Ht.arrayOf(Ht.any)]))])),sourcePos:Ht.bool,rawSourcePos:Ht.bool,ski
329pHtml:Ht.bool,includeElementIndex:Ht.bool,transformLinkUri:Ht.oneOfType([Ht.func,Ht.bool]),linkTarget:Ht.oneOfType([Ht.func,Ht.string]),transformImageUri:Ht.func,components:Ht.object};function Oxe({errors:e}){const t=e.map((n,r)=>{var i,o,a;const s="extensions"in n?(i=n.extensions)==null?void 0:i.originalError:{},l=(o=s==null?void 0:s.message)!=null?o:n.message,u="extensions"in n?(a=n.extensions)==null?void 0:a.code:null;return w.jsxs("div",{style:{marginTop:r===0?0:10,marginBottom:14},children:[w.jsx(Awe,{style:{marginBottom:4}}),u&&w.jsxs("div",{style:{fontWeight:"600",marginBottom:4},children:["Copilot Runtime Error:"," ",w.jsx("span",{style:{fontFamily:"monospace",fontWeight:"normal"},children:u})]}),w.jsx(FL,{children:l})]},r)});return w.jsxs("div",{style:{fontSize:"13px",maxWidth:"600px"},children:[t,w.jsx("div",{style:{fontSize:"11px",opacity:.75},children:"NOTE: This error only displays during local development."})]})}function TL(){const{addToast:e}=zv();return k.useCallback(t=>{const n=t.map(r=>{var i,o;const a="extensions"in r&&((o=(i=r.extensions)==null?void 0:i.originalError)==null?void 0:o.message)||r.message,s=r.stack||"";return btoa(a+s).slice(0,32)}).join("|");e({type:"error",id:n,message:w.jsx(Oxe,{errors:t})})},[e])}function bA(e,t){const n=TL();return k.useCallback((...r)=>$r(this,null,function*(){try{return yield e(...r)}catch(i){throw console.error("Error in async callback:",i),n([i]),i}}),t)}la.CRITICAL+"",la.WARNING+"",la.INFO+"";function qz({severity:e=la.CRITICAL,message:t="",icon:n,onClose:r,actions:i}){if(!t||!e)return null;const a=(u=>{if(u.toLowerCase().includes("authentication")||u.toLowerCase().includes("api key"))return"Authentication failed. Please check your API key.";if(u.toLowerCase().includes("rate limit"))return"Rate limit exceeded. Please try again later.";if(u.toLowerCase().includes("checkpointer"))return"Agent configuration error. Please check your setup.";let f=u;return f=f.split(" - ")[0],f=f.split(": Error code")[0],f=f.split(": 401")[0],f=f.split(": 403")[0],f=f.split(": 404")[0],f=f.split(": 500")[0],f=f.replace(/See more:.*$/g,"").trim(),f.includes("{")||f.includes("'")||f.length>60?"Configuration error. Please check your setup.":f||"An error occurred. Please check your configuration."})(t),s={[la.INFO]:{bg:"rgba(239, 246, 255, 0.95)",border:"#93c5fd",text:"#1e40af",icon:"#3b82f6",primaryBtn:"#3b82f6",primaryBtnHover:"#2563eb"},[la.WARNING]:{bg:"rgba(255, 251, 235, 0.95)",border:"#fbbf24",text:"#92400e",icon:"#f59e0b",primaryBtn:"#f59e0b",primaryBtnHover:"#d97706"},[la.CRITICAL]:{bg:"rgba(254, 242, 242, 0.95)",border:"#f87171",text:"#991b1b",icon:"#ef4444",primaryBtn:"#ef4444",primaryBtnHover:"#dc2626"}},l=s[e]||s[la.CRITICAL];return w.jsxs("div",{style:{position:"fixed",bottom:"24px",left:"50%",transform:"translateX(-50%)",width:"400px",maxWidth:"90vw",zIndex:1e4,animation:"bannerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1)"},children:[w.jsx("style",{children:` 330 @keyframes bannerSlideIn { 331 from { 332 opacity: 0; 333 transform: translateX(-50%) translateY(20px); 334 scale: 0.95; 335 } 336 to { 337 opacity: 1; 338 transform: translateX(-50%) translateY(0); 339 scale: 1; 340 } 341 } 342 `}),w.jsxs("div",{style:{borderRadius:"12px",border:`1px solid ${l.border}`,background:l.bg,padding:"14px",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08)",position:"relative",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",boxSizing:"border-box",overflow:"hidden"},children:[r&&w.jsx("button",{onClick:r,style:{position:"absolute",top:"8px",right:"8px",background:"rgba(255, 255, 255, 0.9)",border:"none",color:l.text,cursor:"pointer",fontSize:"16px",lineHeight:"1",padding:"4px",borderRadius:"4px",width:"20px",height:"20px",display:"flex",alignItems:"center",justifyContent:"center"},title:"Close",children:"Ã"}),w.jsx("div",{style:{fontSize:"14px",fontWeight:500,color:l.text,lineHeight:"1.4",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",paddingRight:r?"30px":"0",marginBottom:i?"12px":"0",wordBreak:"break-word",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:a}),i&&w.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[i.secondary&&w.jsx("button",{onClick:i.secondary.onClick,style:{borderRadius:"8px",padding:"6px 12px",fontSize:"13px",fontWeight:500,color:l.text,backgroundColor:"rgba(255, 255, 255, 0.9)",border:`1px solid ${l.border}`,cursor:"pointer",transition:"all 0.2s ease",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"},onMouseOver:u=>{u.currentTarget.style.backgroundColor="rgba(255, 255, 255, 1)",u.currentTarget.style.transform="translateY(-1px)"},onMouseOut:u=>{u.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.9)",u.currentTarget.style.transform="translateY(0)"},children:i.secondary.label}),i.primary&&w.jsx("button",{onClick:i.primary.onClick,style:{borderRadius:"8px",padding:"6px 12px",fontSize:"13px",fontWeight:600,color:"#fff",backgroundColor:l.primaryBtn,border:"none",cursor:"pointer",transition:"all 0.2s ease",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"},onMouseOver:u=>{u.currentTarget.style.backgroundColor=l.primaryBtnHover,u.currentTarget.style.transform="translateY(-1px)",u.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.2)"},onMouseOut:u=>{u.currentTarget.style.backgroundColor=l.primaryBtn,u.currentTarget.style.transform="translateY(0)",u.currentTarget.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.15)"},children:i.primary.label})]})]})]})}function kxe(e,t){if(e.visibility!==Hv.BANNER)return null;const n=i=>{const a=/\[([^\]]+)\]\(([^)]+)\)/g.exec(i);return a?a[2]:null},r=i=>{switch(i.name){case Io.MISSING_PUBLIC_API_KEY_ERROR:return{primary:{label:"Sign In",onClick:()=>window.location.href="https://cloud.copilotkit.ai"}};case Io.UPGRADE_REQUIRED_ERROR:return{primary:{label:"Upgrade",onClick:()=>window.location.href="https://copilotkit.ai/"}};case Io.COPILOT_API_DISCOVERY_ERROR:case Io.COPILOT_REMOTE_ENDPOINT_DISCOVERY_ERROR:case Io.COPILOT_KIT_AGENT_DISCOVERY_ERROR:return{primary:{label:"View Docs",onClick:()=>{var o;const a=n(i.message),s=(o=i.extensions)==null?void 0:o.troubleshootingUrl,l=a||s||"https://docs.copilotkit.ai/troubleshooting/common-issues";window.open(l,"_blank")}}};default:return}};return w.jsx(qz,{severity:e.severity||la.CRITICAL,message:e.message,onClose:t,actions:r(e)})}var uQ=new Az,Ixe=class extends lt.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidMount(){this.props.publicApiKey&&uQ.start(this.props.publicApiKey,e=>{this.setState(t=>{var n;return(e==null?void 0:e.severity)!==((n=t.status)==null?void 0:n.severity)?{status:e??void 0}:null})})}componentWillUnmount(){uQ.stop()}componentDidCatch(e,t){console.error("CopilotKit Error:",e,t)}render(){var e,t;if(this.state.hasError){if(this.state.error instanceof Ti)return this.state.error.visibility===Hv.BANNER?w.jsx(Lxe,{error:this.state.error,children:kxe(this.state.error,()=>this.setState({hasError:!1,error:void 0}))}):w.jsxs(w.Fragment,{children:[this.props.children,this.props.showUsageBanner&&w.jsx(qz,{severity:(e=this.state.status)==null?void 0:e.severity,message:(t=this.state.status)==null?void 0:t.message})]});throw this.state.error}return this.props.children}};function Lxe({error:e,children:t}){const n=TL();if(k.useEffect(()=>{e&&n([e])},[e,n]),!e)throw e;return t}var Zz={actions:{},setAction:()=>{},removeAction:()=>{},coAgentStateRenders:{},setCoAgentStateRender:()=>{},removeCoAgentStateRender:()=>{},chatComponentsCache:{current:{actions:{},coAgentStateRenders:{}}},getContextString:(e,t)=>
342Af(),addContext:()=>"",removeContext:()=>{},getAllContext:()=>[],getFunctionCallHandler:()=>Af(),isLoading:!1,setIsLoading:()=>Af(),chatInstructions:"",setChatInstructions:()=>Af(),additionalInstructions:[],setAdditionalInstructions:()=>Af(),getDocumentsContext:e=>Af(),addDocumentContext:()=>Af(),removeDocumentContext:()=>{},runtimeClient:{},copilotApiConfig:new class{get chatApiEndpoint(){throw new Error("Remember to wrap your app in a `<CopilotKit> {...} </CopilotKit>` !!!")}get headers(){return{}}get body(){return{}}},chatSuggestionConfiguration:{},addChatSuggestionConfiguration:()=>{},removeChatSuggestionConfiguration:()=>{},showDevConsole:!1,coagentStates:{},setCoagentStates:()=>{},coagentStatesRef:{current:{}},setCoagentStatesWithRef:()=>{},agentSession:null,setAgentSession:()=>{},forwardedParameters:{},agentLock:null,threadId:"",setThreadId:()=>{},runId:null,setRunId:()=>{},chatAbortControllerRef:{current:null},availableAgents:[],extensions:{},setExtensions:()=>{},langGraphInterruptAction:null,setLangGraphInterruptAction:()=>null,removeLangGraphInterruptAction:()=>null,onError:void 0},Xz=lt.createContext(Zz);function ap(){const e=lt.useContext(Xz);if(e===Zz)throw new Error("Remember to wrap your app in a `<CopilotKit> {...} </CopilotKit>` !!!");return e}function Af(e){throw new Error("Remember to wrap your app in a `<CopilotKit> {...} </CopilotKit>` !!!")}var Jz={messages:[],setMessages:()=>[]},e9=lt.createContext(Jz);function Dxe(){const e=lt.useContext(e9);if(e===Jz)throw new Error("A messages consuming component was not wrapped with `<CopilotMessages> {...} </CopilotMessages>`");return e}function Rxe({children:e}){const[t,n]=k.useState([]),r=k.useRef(),i=k.useRef(),o=k.useRef(),{threadId:a,agentSession:s,runtimeClient:l,showDevConsole:u,onError:f,copilotApiConfig:d}=ap(),{setBannerError:g}=zv(),m=k.useCallback((C,b)=>$r(this,null,function*(){if(!(!f||!d.publicApiKey))try{const E={type:"error",timestamp:Date.now(),context:{source:"ui",request:{operation:"loadAgentState",url:d.chatApiEndpoint,startTime:Date.now()},technical:{environment:"browser",userAgent:typeof navigator<"u"?navigator.userAgent:void 0,stackTrace:b instanceof Error?b.stack:void 0}},error:C};yield f(E)}catch(E){console.error("Error in CopilotMessages onError handler:",E)}}),[f,d.publicApiKey,d.chatApiEndpoint]),v=C=>{const b=C.extensions,E=b==null?void 0:b.originalError;if(E!=null&&E.stack){if(E.stack.includes("CopilotApiDiscoveryError"))return new ov({message:E.message});if(E.stack.includes("CopilotKitRemoteEndpointDiscoveryError"))return new gL({message:E.message});if(E.stack.includes("CopilotKitAgentDiscoveryError"))return new X8({agentName:"",availableAgents:[]})}const T=(E==null?void 0:E.message)||C.message,D=b==null?void 0:b.code;return D?new Ti({message:T,code:D}):null},y=k.useCallback(C=>{var b;if((b=C.graphQLErrors)!=null&&b.length){const E=C.graphQLErrors,T=D=>{const I=D.extensions,U=I==null?void 0:I.visibility;if(!u){console.error("CopilotKit Error (hidden in production):",D.message);return}if(U===Hv.SILENT){console.error("CopilotKit Silent Error:",D.message);return}const V=v(D);if(V)g(V),m(V,D);else{const j=new Ti({message:D.message,code:FA.UNKNOWN});g(j),m(j,D)}};E.forEach(T)}else if(!u)console.error("CopilotKit Error (hidden in production):",C);else{const T=new Ti({message:(C==null?void 0:C.message)||String(C),code:FA.UNKNOWN});g(T),m(T,C)}},[g,u,m]);k.useEffect(()=>{if(!a||a===r.current||a===r.current&&(s==null?void 0:s.agentName)===i.current)return;(()=>$r(this,null,function*(){var b,E,T,D;if(!(s!=null&&s.agentName))return;const I=yield l.loadAgentState({threadId:a,agentName:s==null?void 0:s.agentName});if(I.error){r.current=a,i.current=s==null?void 0:s.agentName,y(I.error);return}const U=(E=(b=I.data)==null?void 0:b.loadAgentState)==null?void 0:E.messages;if(U!==o.current&&(D=(T=I.data)==null?void 0:T.loadAgentState)!=null&&D.threadExists){o.current=U,r.current=a,i.current=s==null?void 0:s.agentName;const H=az(JSON.parse(U||"[]"));n(H)}}))()},[a,s==null?void 0:s.agentName]);const x=k.useMemo(()=>e,[e]);return w.jsx(e9.Provider,{value:{messages:t,setMessages:n},children:x})}var Pxe=()=>{const[e,t]=k.useReducer(Nxe,new Map),n=k.useCallback((o,a)=>{const s=$v();return t({type:"ADD_ELEMENT",value:o,id:s,categories:a}),s},[]),r=k.useCallback(o=>{t({type:"REMOVE_ELEMENT",id:o})},[]),i=k.useCallback(o=>{const a=new Set(o),s=[];return e.forEach(l=>{Mxe(a,l.categories)&&s.push(l.value)}),s},[e]);return{addElement:n,removeElement:r,allElements:i}},Uxe=Pxe;function Nxe(e,t){switch(t.type){case"ADD_ELEMENT":{const{value:n,id:r,categories:i}=t,o={id:r,value:n,categories:new Set(i)},a=new Map(e);return a.set(r,o),a}
342case"REMOVE_ELEMENT":{const n=new Map(e);return n.delete(t.id),n}default:return e}}function Mxe(e,t){const[n,r]=e.size<=t.size?[e,t]:[t,e];for(let i of n)if(r.has(i))return!0;return!1}var t9=(e,t)=>e.reduce((n,r)=>{if(r.id!==t){const i=xi(En({},r),{children:t9(r.children,t)});n.push(i)}return n},[]),n9=(e,t,n)=>n?e.map(r=>r.id===n?xi(En({},r),{children:[...r.children,t]}):r.children.length?xi(En({},r),{children:n9(r.children,t,n)}):r):[...e,t],r9=(e,t)=>t===0?(e+1).toString():t===1?String.fromCharCode(65+e):t===2?String.fromCharCode(97+e):"-",i9=(e,t="",n=0)=>{const r=" ".repeat(3).repeat(n),i=t.length+r.length,o=" ".repeat(i),a=e.value.split(` 343`),s=`${r}${t}${a[0]}`,l=a.slice(1).map(d=>`${o}${d}`).join(` 344`);let u=`${s} 345`;l&&(u+=`${l} 346`);const f=" ".repeat(t.length);return e.children.forEach((d,g)=>u+=i9(d,`${f}${r9(g,n+1)}. `,n+1)),u};function Qxe(e,t){switch(t.type){case"ADD_NODE":{const{value:n,parentId:r,id:i}=t,o={id:i,value:n,children:[],categories:new Set(t.categories)};try{return n9(e,o,r)}catch(a){return console.error(`Error while adding node with i
346d ${i}: ${a}`),e}}case"REMOVE_NODE":return t9(e,t.id);default:return e}}var Hxe=()=>{const[e,t]=k.useReducer(Qxe,[]),n=k.useCallback((a,s,l)=>{const u=$v();return t({type:"ADD_NODE",value:a,parentId:l,id:u,categories:s}),u},[]),r=k.useCallback(a=>{t({type:"REMOVE_NODE",id:a})},[]),i=k.useCallback(()=>e,[e]),o=k.useCallback(a=>{const s=new Set(a);let l="";return e.forEach((u,f)=>{jxe(s,u.categories)&&(f!==0&&(l+=` 347`),l+=i9(u,`${r9(f,0)}. `))}),l},[e]);return{tree:e,addElement:n,printTree:o,removeElement:r,getAllElements:i}},$xe=Hxe;function jxe(e,t){const[n,r]=e.size<=t.size?[e,t]:[t,e];for(let i of n)if(r.has(i))return!0;return!1}var o9=e=>{const{setBannerError:t}=zv(),n=e,{showDevConsole:r,onError:i}=n,o=av(n,["showDevConsole","onError"]),a=k.useRef(null),s=(u,f)=>$r(void 0,null,function*(){if(!(!i||!o.publicApiKey))try{const d={type:"error",timestamp:Date.now(),context:{source:"ui",request:{operation:"runtimeClient",url:o.url,startTime:Date.now()},technical:{environment:"browser",userAgent:typeof navigator<"u"?navigator.userAgent:void 0,stackTrace:f instanceof Error?f.stack:void 0}},error:u};yield i(d)}catch(d){console.error("Error in onError handler:",d)}});return k.useMemo(()=>new tB(xi(En({},o),{handleGQLErrors:u=>{var f;if((f=u.graphQLErrors)!=null&&f.length){const d=u.graphQLErrors,g=m=>{const v=m.extensions,y=v==null?void 0:v.visibility,x=r??!1;if(y===Hv.SILENT){console.error("CopilotKit Silent Error:",m.message);return}if(!x){console.error("CopilotKit Error (hidden in production):",m.message);return}const C=Date.now(),b=m.message;if(a.current&&a.current.message===b&&C-a.current.timestamp<150)return;a.current={message:b,timestamp:C};const E=zxe(m);if(E)t(E),s(E,m);else{const T=new Ti({message:m.message,code:FA.UNKNOWN});t(T),s(T,m)}};d.forEach(g)}else if(!(r??!1))console.error("CopilotKit Error (hidden in production):",u);else{const g=new Ti({message:(u==null?void 0:u.message)||String(u),code:FA.UNKNOWN});t(g),s(g,u)}},handleGQLWarning:u=>{console.warn(u);const f=new Ti({message:u,code:FA.UNKNOWN});t(f)}})),[o,t,r,i])};function zxe(e){var t,n,r;const i=e.extensions,o=i==null?void 0:i.originalError,a=(o==null?void 0:o.message)||e.message,s=i==null?void 0:i.code;return s?new Ti({message:a,code:s}):(t=o==null?void 0:o.stack)!=null&&t.includes("CopilotApiDiscoveryError")?new ov({message:a}):(n=o==null?void 0:o.stack)!=null&&n.includes("CopilotKitRemoteEndpointDiscoveryError")?new gL({message:a}):(r=o==null?void 0:o.stack)!=null&&r.includes("CopilotKitAgentDiscoveryError")?new X8({agentName:"",availableAgents:[]}):null}function Vxe(e){var t=e,{children:n}=t,r=av(t,["children"]),i;const o=(i=r.showDevConsole)!=null?i:!1,a=o;return w.jsx(fwe,{enabled:a,children:w.jsx(Ixe,{publicApiKey:r.publicApiKey,showUsageBanner:a,children:w.jsx(Kxe,xi(En({},r),{children:n}))})})}function Kxe(e){var t,n;const r=e,{children:i}=r,o=av(r,["children"]);Yxe(e);const a=o.runtimeUrl||X0e,[s,l]=k.useState({}),[u,f]=k.useState({}),d=k.useRef({actions:{},coAgentStateRenders:{}}),{addElement:g,removeElement:m,printTree:v,getAllElements:y}=$xe(),[x,C]=k.useState(!1),[b,E]=k.useState(""),[T,D]=k.useState({}),[I,U]=k.useState({}),[H,V]=k.useState([]),{addElement:j,removeElement:z,allElements:q}=Uxe();k.useMemo(()=>new Az,[]),k.useState(null);const Z=k.useCallback((Ce,Se)=>{l(Ie=>xi(En({},Ie),{[Ce]:Se}))},[]),ae=k.useCallback(Ce=>{l(Se=>{const Ie=En({},Se);return delete Ie[Ce],Ie})},[]),G=k.useCallback((Ce,Se)=>{f(Ie=>xi(En({},Ie),{[Ce]:Se}))},[]),ee=k.useCallback(Ce=>{f(Se=>{const Ie=En({},Se);return delete Ie[Ce],Ie})},[]),re=k.useCallback((Ce,Se)=>{const Ie=Ce.map(at=>`${at.name} (${at.sourceApplication}): 348${at.getContents()}`).join(` 349 350`),st=v(Se);return`${Ie} 351 352${st}`},[v]),X=k.useCallback((Ce,Se,Ie=gO)=>g(Ce,Ie,Se),[g]),ge=k.useCallback(Ce=>{m(Ce)},[m]),N=k.useCallback(()=>y(),[y]),pe=k.useCallback(Ce=>Wxe(Object.values(Ce||s)),[s]),W=k.useCallback(Ce=>q(Ce),[q]),P=k.useCallback((Ce,Se=gO)=>j(Ce,Se),[j]),te=k.useCallback(Ce=>{z(Ce)},[z]),J=k.useMemo(()=>{var Ce,Se;let Ie;return o.publicApiKey&&(Ie={guardrails:{input:{restrictToTopic:{enabled:!!o.guardrails_c,validTopics:((Ce=o.guardrails_c)==null?void 0:Ce.validTopics)||[],invalidTopics:((Se=o.guardrails_c)==null?void 0:Se.invalidTopics)||[]}}}}),xi(En({publicApiKey:o.publicApiKey},Ie?{cloud:Ie}:{}),{chatApiEndpoint:a,headers:o.headers||{},properties:o.properties||{},transcribeAudioUrl:o.transcribeAudioUrl,textToSpeechUrl:o.textToSpeechUrl,credentials:o.credentials})},[o.publicApiKey,o.headers,o.properties,o.transcribeAudioUrl,o.textToSpeechUrl,o.credentials,o.cloudRestrictToTopic,o.guardrails_c]),oe=k.useMemo(()=>{const Ce=Object.values(T||{}).reduce((Se,Ie)=>Ie.status==="authenticated"&&Ie.authHeaders?En(En({},Se),Object.entries(Ie.authHeaders).reduce((st,[at,dt])=>xi(En({},st),{[at.startsWith("X-Custom-")?at:`X-Custom-${at}`]:dt}),{})):Se,{});return En(En(En({},J.headers||{}),J.publicApiKey?{[mL]:J.publicApiKey}:{}),Ce)},[J.headers,J.publicApiKey,T]),_e=o9({url:J.chatApiEndpoint,publicApiKey:J.publicApiKey,headers:oe,credentials:J.credentials,showDevConsole:(t=o.showDevConsole)!=null?t:!1,onError:o.onError}),[ce,fe]=k.useState({}),we=k.useCallback((Ce,Se)=>{fe(Ie=>xi(En({},Ie),{[Ce]:Se}))},[fe]),Ae=k.useCallback(Ce=>{fe(Se=>av(Se,[swe(Ce)]))},[fe]),[Pe,ke]=k.useState([]),[$e,Xe]=k.useState({}),gt=k.useRef({}),mt=k.useCallback(Ce=>{const Se=typeof Ce=="function"?Ce(gt.current):Ce;gt.current=Se,Xe(Ie=>Se)},[]),At=k.useRef(!1);k.useEffect(()=>{if(At.current)return;(()=>$r(this,null,function*(){var Se;const Ie=yield _e.availableAgents();(Se=Ie.data)!=null&&Se.availableAgents&&ke(Ie.data.availableAgents.agents),At.current=!0}))()},[]);let on=null;o.agent&&(on={agentName:o.agent});const[je,Rt]=k.useState(on);k.useEffect(()=>{o.agent?Rt({agentName:o.agent}):Rt(null)},[o.agent]);const[Fn,Tn]=k.useState(o.threadId||q0e()),In=k.useCallback(Ce=>{if(o.threadId)throw new Error("Cannot call setThreadId() when threadId is provided via props.");Tn(Ce)},[o.threadId]);k.useEffect(()=>{o.threadId!==void 0&&Tn(o.threadId)},[o.threadId]);const[Kn,Lr]=k.useState(null),Ee=k.useRef(null),Qe=(n=o.showDevConsole)!=null?n:!1,[rt,bt]=k.useState(null),jt=k.useCallback(Ce=>{bt(Se=>{if(Se==null)return Ce;if(Ce==null)return null;let Ie=Se.event;return Ce.event&&(Ie=En(En({},Se.event),Ce.event)),xi(En(En({},Se),Ce),{event:Ie})})},[]),Un=k.useCallback(()=>{jt(null)},[]),Xn=k.useMemo(()=>i,[i]),Cn=k.useMemo(()=>{var Ce;return(Ce=o.agent)!=null?Ce:null},[o.agent]),me=k.useMemo(()=>{var Ce;return(Ce=o.forwardedParameters)!=null?Ce:{}},[o.forwardedParameters]),he=k.useCallback(Ce=>{U(Se=>{const Ie=typeof Ce=="function"?Ce(Se):Ce;return Object.keys(Ie).length===Object.keys(Se).length&&Object.entries(Ie).every(([dt,it])=>Se[dt]===it)?Se:Ie})},[U]),Fe=k.useCallback(Ce=>{D(Se=>{const Ie=typeof Ce=="function"?Ce(Se):Ce;return Object.keys(Ie).length===Object.keys(Se).length&&Object.entries(Ie).every(([dt,it])=>Se[dt]===it)?Se:Ie})},[D]);return w.jsx(Xz.Provider,{value:{actions:s,chatComponentsCache:d,getFunctionCallHandler:pe,setAction:Z,removeAction:ae,coAgentStateRenders:u,setCoAgentStateRender:G,removeCoAgentStateRender:ee,getContextString:re,addContext:X,removeContext:ge,getAllContext:N,getDocumentsContext:W,addDocumentContext:P,removeDocumentContext:te,copilotApiConfig:J,isLoading:x,setIsLoading:C,chatSuggestionConfiguration:ce,addChatSuggestionConfiguration:we,removeChatSuggestionConfiguration:Ae,chatInstructions:b,setChatInstructions:E,additionalInstructions:H,setAdditionalInstructions:V,showDevConsole:Qe,coagentStates:$e,setCoagentStates:Xe,coagentStatesRef:gt,setCoagentStatesWithRef:mt,agentSession:je,setAgentSession:Rt,runtimeClient:_e,forwardedParameters:me,agentLock:Cn,threadId:Fn,setThreadId:In,runId:Kn,setRunId:Lr,chatAbortControllerRef:Ee,availableAgents:Pe,authConfig_c:o.authConfig_c,authStates_c:T,setAuthStates_c:Fe,extensions:I,setExtensions:he,langGraphInterruptAction:rt,setLangGraphInterruptAction:jt,removeLangGraphInterruptAction:Un,onError:o.onError},children:w.jsx(Rxe,{children:Xn})})}var gO=["global"];function Wxe(e){return t=>$r(this,[t],function*({name:n,args:r}){let i={};for(let s of e)i[s.name]=s;const o=i[n];let a;return o&&(yield new Promise((s,l)=>{pp.flushSync(()=>$r(this,null,function*(){var u;try{a=yield(u=o.handler)==null?void 0:u.call(o,r),s()}catch(f){l(f)}}))}),yield new Promise(s=>setTimeout(s,20))),a})}function Gxe(e){return e.replace(/_c$/,"").split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join(" ")}function Yxe(e){const t=Object.keys(e).filter(n=>n.endsWith("_c"));if(!e.runtimeUrl&&!e.publicApiKey)throw new J8("Missing required prop: 'runtimeUrl' or 'publicApiKey'");if(t.length>0&&!e.publicApiKey)throw new $0e(`Missing required prop: 'publicApiKey' to use cloud features: ${t.map(Gxe).join(", ")}`)}function qxe(e){const{messages:t,setMessages:n,makeSystemMessageCallback:r,copilotConfig:i,setIsLoading:o,initialMessages:a,isLoading:s,actions:l,onFunctionCall:u,onCoAgentStateRender:f,setCoagentStatesWithRef:d,coagentStatesRef:g,agentSession:m,setAgentSession:v,threadId:y,setThreadId:x,runId:C,setRunId:b,chatAbortControllerRef:E,agentLock:T,extensions:D,setExtensions:I,langGraphInterruptAction:U,setLangGraphInterruptAction:H}=e,V=k.useRef(),j=TL(),{setBannerError:z}=zv(),{onError:q}=ap(),Z=(ce,fe)=>$r(this,null,function*(){if(!(!q||!(i!=null&&i.publicApiKey)))try{const we={type:"error",timestamp:Date.now(),context:{source:"ui",request:{operation:"useChatCompletion",url:i.chatApiEndpoint,startTime:Date.now()},technical:{environment:"browser",userAgent:typeof navigator<"u"?navigator.userAgent:void 0,stackTrace:fe instanceof Error?fe.stack:void 0}},error:ce};yield q(we)}catch(we){console.error("Error in use-chat onError handler:",we)}}),ae=k.useRef(m);ae.current=m;const G=k.useRef(C);G.current=C;const ee=k.useRef(D);ee.current=D;const re=i.publicApiKey,X=En(En({},i.headers||{}),re?{[mL]:re}:{}),{showDevConsole:ge}=ap(),N=o9({url:i.chatApiEndpoint,publicApiKey:i.publicApiKey,headers:X,credentials:i.credentials,showDevConsole:ge}),pe=k.useRef([]),W=bA(ce=>$r(this,null,function*(){var fe,we,Ae,Pe,ke,$e,Xe,gt,mt,At,on,je,Rt,Fn,Tn,In,Kn,Lr,Ee,Qe;o(!0);const rt=U==null?void 0:U.event;(rt==null?void 0:rt.name)===Ng.LangGraphInterruptEvent&&(rt!=null&&rt.value)&&!(rt!=null&&rt.response)&&ae.current&&j([new Error("A message was sent while interrupt is active. This will cause failure on the agent side")]);let bt=[new sc({content:"",role:Na.Assistant})];
352E.current=new AbortController,n([...ce,...bt]);const Un=[r(),...a||[],...ce],Xn=En({},i.properties||{});let Cn=null;i.mcpServers&&Array.isArray(i.mcpServers)&&i.mcpServers.length>0?Cn=i.mcpServers:(fe=i.properties)!=null&&fe.mcpServers&&Array.isArray(i.properties.mcpServers)&&i.properties.mcpServers.length>0&&(Cn=i.properties.mcpServers),Cn&&(Xn.mcpServers=Cn,i.mcpServers=Cn);const me=ae.current!==null,he=N.asStream(N.generateCopilotResponse({data:xi(En(xi(En({frontend:{actions:rwe(l),url:window.location.href},threadId:y,runId:G.current,extensions:ee.current,metaEvents:te([U==null?void 0:U.event]),messages:twe(ewe(Un))},i.cloud?{cloud:En({},(Pe=(Ae=(we=i.cloud.guardrails)==null?void 0:we.input)==null?void 0:Ae.restrictToTopic)!=null&&Pe.enabled?{guardrails:{inputValidationRules:{allowList:i.cloud.guardrails.input.restrictToTopic.validTopics,denyList:i.cloud.guardrails.input.restrictToTopic.invalidTopics}}}:{})}:{}),{metadata:{requestType:N8.Chat}}),ae.current?{agentSession:ae.current}:{}),{agentStates:Object.values(g.current).map(it=>{const tn={agentName:it.name,state:JSON.stringify(it.state)};return it.config!==void 0&&(tn.config=JSON.stringify(it.config)),tn}),forwardedParameters:e.forwardedParameters||{}}),properties:Xn,signal:(ke=E.current)==null?void 0:ke.signal})),Fe=((gt=(Xe=($e=i.cloud)==null?void 0:$e.guardrails)==null?void 0:Xe.input)==null?void 0:gt.restrictToTopic.enabled)||!1,Ce=he.getReader();let Se=[],Ie,st=[],at=[],dt=[];try{for(;;){let Ct,ft;try{const Ue=yield Ce.read();Ct=Ue.done,ft=Ue.value}catch{break}if(Ct){if(E.current.signal.aborted)return[];break}if(!(ft!=null&&ft.generateCopilotResponse))continue;G.current=ft.generateCopilotResponse.runId||null,ee.current=tB.removeGraphQLTypename(ft.generateCopilotResponse.extensions||{}),b(G.current),I(ee.current);let kt=ft.generateCopilotResponse.messages;const Me=(At=(mt=ft.generateCopilotResponse)==null?void 0:mt.metaEvents)!=null?At:[];if((Me??[]).forEach(Ue=>{if(Ue.name===Ng.LangGraphInterruptEvent){let be=hM(Ue).value;be=ym(be,be),H({event:xi(En({},hM(Ue)),{value:be})})}if(Ue.name===Ng.CopilotKitLangGraphInterruptEvent){const be=Ue.data;kt=[...kt,...be.messages],dt=mM(gM(be.messages))}}),st=mM(gM(kt)),bt=[],((on=ft.generateCopilotResponse.status)==null?void 0:on.__typename)==="FailedResponseStatus"&&ft.generateCopilotResponse.status.reason==="GUARDRAILS_VALIDATION_FAILED"){const Ue=((je=ft.generateCopilotResponse.status.details)==null?void 0:je.guardrailsReason)||"";bt=[new sc({role:_m.Assistant,content:Ue})];const be=new Ti({message:`Guardrails validation failed: ${Ue}`,code:FA.MISUSE});yield Z(be,{statusReason:ft.generateCopilotResponse.status.reason,statusDetails:ft.generateCopilotResponse.status.details}),n([...ce,...bt]);break}if(((Rt=ft.generateCopilotResponse.status)==null?void 0:Rt.__typename)==="FailedResponseStatus"&&ft.generateCopilotResponse.status.reason==="UNKNOWN_ERROR"){const Ue=((Fn=ft.generateCopilotResponse.status.details)==null?void 0:Fn.description)||"An unknown error occurred",be=ft.generateCopilotResponse.status.details,Je=(be==null?void 0:be.originalError)||(be==null?void 0:be.error),Ze=(Je==null?void 0:Je.code)||((Tn=Je==null?void 0:Je.extensions)==null?void 0:Tn.code),ze=(Je==null?void 0:Je.severity)||((In=Je==null?void 0:Je.extensions)==null?void 0:In.severity),Lt=(Je==null?void 0:Je.visibility)||((Kn=Je==null?void 0:Je.extensions)==null?void 0:Kn.visibility);let Tt=FA.NETWORK_ERROR;Ze&&Object.values(FA).includes(Ze)&&(Tt=Ze);const an=new Ti({message:Ue,code:Tt,severity:ze,visibility:Lt});z(an),yield Z(an,{statusReason:ft.generateCopilotResponse.status.reason,statusDetails:ft.generateCopilotResponse.status.details,originalErrorCode:Ze,preservedStructure:!!Ze}),o(!1);break}else if(st.length>0){bt=[...st];for(const be of st)if(be.isAgentStateMessage()&&!be.active&&!Se.includes(be.id)&&f){if(Fe&&ft.generateCopilotResponse.status===void 0)break;yield f({name:be.agentName,nodeName:be.nodeName,state:be.state}),Se.push(be.id)}const Ue=[...st].reverse().find(be=>be.isAgentStateMessage());Ue&&(Ue.state.messages&&Ue.state.messages.length>0&&(at=az(Ue.state.messages)),d(be=>{var Je;return xi(En({},be),{[Ue.agentName]:{name:Ue.agentName,state:Ue.state,running:Ue.running,active:Ue.active,threadId:Ue.threadId,nodeName:Ue.nodeName,runId:Ue.runId,config:(Je=be[Ue.agentName])==null?void 0:Je.config}})}),Ue.running?v({threadId:Ue.threadId,agentName:Ue.agentName,nodeName:Ue.nodeName}):v(T?{threadId:$v(),agentName:T,nodeName:void 0}:null))}bt.length>0&&n([...ce,...bt])}let it=Zxe([...at,...dt],ce,bt),tn=!1;const Jn=(Ct,ft)=>$r(this,null,function*(){var kt;const Me=dt.find(Je=>Je.id===ft.id);
352Ie=(kt=Ct==null?void 0:Ct.followUp)!=null?kt:!Me,Ct!=null&&Ct._setActivatingMessageId&&Ct._setActivatingMessageId(ft.id);const Ue=yield Xxe({onFunctionCall:u,message:ft,chatAbortControllerRef:E,onError:Je=>{j([Je]),console.error(`Failed to execute action ${ft.name}: ${Je}`)},setMessages:n,getFinalMessages:()=>it,isRenderAndWait:(Ct==null?void 0:Ct._isRenderAndWait)||!1});tn=!0;const be=it.findIndex(Je=>Je.id===ft.id);if(it.splice(be+1,0,Ue),Ct!=null&&Ct._isRenderAndWait){const Je=[...it];pp.flushSync(()=>{n(Je)})}return Ct!=null&&Ct._setActivatingMessageId&&Ct._setActivatingMessageId(null),Ue});if(u){const Ct=[];for(let ft=it.length-1;ft>=0;ft--){const kt=it[ft];if((kt.isActionExecutionMessage()||kt.isResultMessage())&&kt.status.code!==M8.Pending)Ct.unshift(kt);else if(!kt.isAgentStateMessage())break}for(const ft of Ct){n(it);const kt=l.find(Ue=>Ue.name===ft.name);if(kt&&kt.available==="frontend")continue;const Me=ft.isResultMessage()?cQ(l,ft):null;if(kt&&ft.isActionExecutionMessage()){if(!(((kt==null?void 0:kt._isRenderAndWait)||!1)&&it.some(Je=>Je.isResultMessage()&&Je.actionExecutionId===ft.id))){const Je=yield Jn(kt,ft),Ze=cQ(l,Je);if(Ze){const ze=new nB({name:Ze.name,arguments:ym(Je.result,Je.result),status:ft.status,createdAt:ft.createdAt,parentMessageId:ft.parentMessageId});yield Jn(Ze,ze)}}}else if(ft.isResultMessage()&&Me){const Ue=new nB({name:Me.name,arguments:ym(ft.result,ft.result),status:ft.status,createdAt:ft.createdAt});it.push(Ue),yield Jn(Me,Ue)}}n(it)}if(Ie!==!1&&(tn||!me&&it.length&&it[it.length-1].isResultMessage())&&!((Lr=E.current)!=null&&Lr.signal.aborted))return yield new Promise(Ct=>setTimeout(Ct,10)),yield V.current(it);if((Ee=E.current)!=null&&Ee.signal.aborted){const Ct=it.filter((kt,Me)=>kt.isActionExecutionMessage()?it.find((Ue,be)=>Ue.isResultMessage()&&Ue.actionExecutionId===kt.id&&be===Me+1):!0),ft=Ct.map(kt=>kt.id);return n(Ct),(Qe=ae.current)!=null&&Qe.nodeName&&v({threadId:ae.current.threadId,agentName:ae.current.agentName,nodeName:"__end__"}),bt.filter(kt=>ft.includes(kt.id))}else return bt.slice()}finally{o(!1)}}),[t,n,r,i,o,a,s,l,u,f,d,g,m,v]);V.current=W;const P=bA(ce=>$r(this,null,function*(){yield V.current(ce)}),[t]);k.useEffect(()=>{if(!s&&pe.current.length>0){const ce=pe.current.splice(0),fe=ce.some(Ae=>Ae.followUp),we=[...t,...ce.map(Ae=>Ae.message)];n(we),fe&&P(we)}},[s,t,n,P]);const te=k.useCallback(ce=>ce.reduce((fe,we)=>{if(!we)return fe;switch(we.name){case Ng.LangGraphInterruptEvent:if(we.response){H(null);const Ae=we.value;return[...fe,{name:we.name,value:typeof Ae=="string"?Ae:JSON.stringify(Ae),response:typeof we.response=="string"?we.response:JSON.stringify(we.response)}]}return fe;default:return fe}},[]),[H]),J=bA((ce,fe)=>$r(this,null,function*(){var we;const Ae=(we=fe==null?void 0:fe.followUp)!=null?we:!0;if(s){pe.current.push({message:ce,followUp:Ae});return}const Pe=[...t,ce];if(n(Pe),Ae)return P(Pe)}),[s,t,n,P]),oe=bA(ce=>$r(this,null,function*(){if(s||t.length===0)return;const fe=t.findIndex(Pe=>Pe.id===ce);if(fe===-1){console.warn(`Message with id ${ce} not found`);return}const we=t[fe].role;if(we!==_m.Assistant){console.warn(`Regenerate cannot be performed on ${we} role`);return}let Ae=[];if(t.length>2){const Pe=t.slice(0,fe).reverse().find($e=>$e.role===_m.User),ke=t.findIndex($e=>$e.id===Pe.id);Ae=t.slice(0,ke+1)}return n(Ae),P(Ae)}),[s,t,n,P]);return{append:J,reload:oe,stop:()=>{var ce;(ce=E.current)==null||ce.abort("Stop was called")},runChatCompletion:()=>V.current(t)}}function Zxe(e,t,n){const r=e.length>0?[...e]:[...t,...n];if(e.length>0){const i=[...t,...n];let o;for(const a of i){if(a.isAgentStateMessage()){const s=r.findIndex(l=>l.id===o);s!==-1&&r.splice(s+1,0,a)}o=a.id}}return r}function Xxe(e){return $r(this,arguments,function*({onFunctionCall:t,message:n,chatAbortControllerRef:r,onError:i,setMessages:o,getFinalMessages:a,isRenderAndWait:s}){let l;const u=a(),f=t({messages:u,name:n.name,args:n.arguments});if(s){const d=a();pp.flushSync(()=>{o([...d])})}try{l=yield Promise.race([f,new Promise(d=>{var g;return(g=r.current)==null?void 0:g.signal.addEventListener("abort",()=>d("Operation was aborted by the user"))}),new Promise(d=>{var g;(g=r.current)!=null&&g.signal.aborted&&d("Operation was aborted by the user")})])}catch(d){i(d)}return new rB({id:"result-"+n.id,result:rB.encodeResult(l),actionExecutionId:n.id,actionName:n.name})})}function cQ(e,t){let n=null;return t.isActionExecutionMessage()?n=t.name:t.isResultMessage()&&(n=t.actionName),e.find(r=>r.name===n&&r.available==="frontend"||r.pairedAction===n)}function Wv(e={}){var t=e,{makeSystemMessage:n}=t,r=av(t,["makeSystemMessage"]);const{getContextString:i,getFunctionCallHandler:o,copilotApiConfig:a,isLoading:s,setIsLoading:l,chatInstructions:u,actions:f,coagentStatesRef:d,setCoagentStatesWithRef:g,coAgentStateRenders:m,agentSession:v,setAgentSession:y,forwardedParameters:x,agentLock:C,threadId:b,setThreadId:E,runId:T,setRunId:D,chatAbortControllerRef:I,extensions:U,setExtensions:H,langGraphInterruptAction:V,setLangGraphInterruptAction:j}=ap(),{messages:z,setMessages:q}=Dxe(),[Z,ae]=k.useState([]);k.useEffect(()=>{if(Z.length>0){const At=[...Z];a.mcpServers=At,a.properties||(a.properties={}),a.properties.mcpServers=At}},[Z,a]);const G=k.useCallback(At=>{ae(At)},[]),ee=bA(At=>$r(this,null,function*(){var on;const{name:je,nodeName:Rt,state:Fn}=At;let Tn=Object.values(m).find(In=>In.name===je&&In.nodeName===Rt);Tn||(Tn=Object.values(m).find(In=>In.name===je&&!In.nodeName)),Tn&&(yield(on=Tn.handler)==null?void 0:on.call(Tn,{state:Fn,nodeName:Rt}))}),[m]),re=k.useCallback(()=>{const At=n||Jxe,on=i([],gO);return new sc({content:At(on,u),role:Na.System})},[i,n,u]),X=k.useCallback(At=>{q(on=>on.filter(je=>je.id!==At))},[q]),{append:ge,reload:N,stop:pe,runChatCompletion:W}
352=qxe(xi(En({},r),{actions:Object.values(f),copilotConfig:a,initialMessages:r.initialMessages||[],onFunctionCall:o(),onCoAgentStateRender:ee,messages:z,setMessages:q,makeSystemMessageCallback:re,isLoading:s,setIsLoading:l,coagentStatesRef:d,setCoagentStatesWithRef:g,agentSession:v,setAgentSession:y,forwardedParameters:x,threadId:b,setThreadId:E,runId:T,setRunId:D,chatAbortControllerRef:I,agentLock:C,extensions:U,setExtensions:H,langGraphInterruptAction:V,setLangGraphInterruptAction:j})),P=uf(ge),te=bA((At,on)=>$r(this,null,function*(){return yield P.current(At,on)}),[P]),J=uf(N),oe=bA(At=>$r(this,null,function*(){return yield J.current(At)}),[J]),_e=uf(pe),ce=k.useCallback(()=>_e.current(),[_e]),fe=uf(X),we=k.useCallback(At=>fe.current(At),[fe]),Ae=uf(q),Pe=k.useCallback(At=>Ae.current(At),[Ae]),ke=uf(W),$e=bA(()=>$r(this,null,function*(){return yield ke.current()}),[ke]),Xe=k.useCallback(()=>{ce(),q([]),D(null),g({});let At=null;C&&(At={agentName:C}),y(At)},[ce,q,E,g,y,C]),gt=uf(Xe),mt=k.useCallback(()=>gt.current(),[gt]);return{visibleMessages:z,appendMessage:te,setMessages:Pe,reloadMessages:oe,stopGeneration:ce,reset:mt,deleteMessage:we,runC
352hatCompletion:$e,isLoading:s,mcpServers:Z,setMcpServers:G}}function uf(e){const t=k.useRef(e);return k.useEffect(()=>{t.current=e},[e]),t}function Jxe(e,t){return` 353Please act as an efficient, competent, conscientious, and industrious professional assistant. 354 355Help the user achieve their goals, and you do so in a way that is as efficient as possible, without unnecessary fluff, but also without sacrificing professionalism. 356Always be polite and respectful, and prefer brevity over verbosity. 357 358The user has provided you with the following context: 359\`\`\` 360${e} 361\`\`\` 362 363They have also provided you with functions you can call to initiate actions on their behalf, or functions you can call to receive more information. 364 365Please assist them as best you can. 366 367You can ask them for clarifying questions if needed, but don't be annoying about it. If you can reasonably 'fill in the blanks' yourself, do so. 368 369If you would like to call a function, call it without saying anything else. 370In case of a function error: 371- If this error stems from incorrect function parameters or syntax, you may retry with corrected arguments. 372- If the error's source is unclear or seems unrelated to your input, do not attempt further retries. 373`+(t?` 374 375${t}`:"")}function fQ(e,t){const{setAction:n,removeAction:r,actions:i,chatComponentsCache:o}=ap(),a=k.useRef($v()),s=k.useRef(null),l=k.useRef(null),{addToast:u}=zv();if(e=En({},e),Vd(e)&&(e.renderAndWait||e.renderAndWaitForResponse)){e._isRenderAndWait=!0;const f=e.renderAndWait||e.renderAndWaitForResponse;e.renderAndWait=void 0,e.renderAndWaitForResponse=void 0,e._setActivatingMessageId=d=>{l.current=d},e.handler=bA(()=>$r(this,null,function*(){const d=l.current;let g,m;const v=new Promise((x,C)=>{g=x,m=C});return s.current={promise:v,resolve:g,reject:m,messageId:d},yield v}),[]),e.render=d=>{const g=d.messageId;let m=d.status;d.status==="executing"&&(!s.current||!s.current.promise||s.current.messageId!==g&&l.current!==g)&&(m="inProgress");const v={status:m,args:d.args,result:d.result,handler:m==="executing"&&s.current&&s.current.messageId===g?s.current.resolve:void 0,respond:m==="executing"&&s.current&&s.current.messageId===g?s.current.resolve:void 0},y=x=>{var C;return((C=e.parameters)==null?void 0:C.length)===0};return f?(y(),f(v)):k.createElement(k.Fragment)}}t===void 0&&i[a.current]&&(Vd(e)&&(i[a.current].handler=e.handler),typeof e.render=="function"&&o.current!==null&&(o.current.actions[e.name]=e.render)),k.useEffect(()=>{Object.values(i).some(d=>d.name===e.name&&d!==i[a.current])&&u({type:"warning",message:`Found an already registered action with name ${e.name}.`,id:`dup-action-${e.name}`})},[i]),k.useEffect(()=>(n(a.current,e),o.current!==null&&e.render!==void 0&&(o.current.actions[e.name]=e.render),()=>{r(a.current)}),[n,r,Vd(e)?e.description:void 0,e.name,Vd(e)?e.disabled:void 0,Vd(e)?e.available:void 0,JSON.stringify(Vd(e)?e.parameters:[]),typeof e.render=="string"?e.render:void 0,...t||[]])}function Vd(e){return e.name!=="*"}function e1e(e,t){return`${e}: ${typeof t=="string"?t:JSON.stringify(t)}`}function aB({description:e,value:t,parentId:n,categories:r,convert:i,available:o="enabled"},a){const{addContext:s,removeContext:l}=ap(),u=k.useRef();i=i||e1e;const f=i(e,t);return k.useEffect(()=>{if(o==="disabled")return;const d=s(f,n,r);return u.current=d,()=>{l(d)}},[o,f,n,s,l,...a||[]]),u.current}const t1e=({filterList:e,clickHandler:t,customFilterKey:n,indexVar:r})=>{const[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),[a,s]=k.useState("Select filter"),[,l]=pt(_c),[u,f]=k.useState(!1),d=qe(Jt),[,g]=pt(Iv),[m,v]=pt(Lv),[,y]=pt(Dv);k.useEffect(()=>{g(n),s("Choose "+n),v(b=>[...b,n])},[n]),k.useEffect(()=>{},[m,o]);const x=b=>{y(E=>{const T=[...E];return T[r]=b,T})},C=()=>{y(b=>{const E=[...b];return E[r]=void 0,E}),s("Choose "+n)};return aB({description:"The available filer names",value:e}),aB({description:"The current filter name",value:a}),fQ({name:"applyFilter",description:"Apply filter to the dashboard",parameters:[{name:"filterName",type:"string",description:"The name of the filter to apply",required:!0}],handler:async({filterName:b})=>{s(b),l(b),x(b)}}),fQ({name:"clearFilter",description:"Clear the applied filter from the dashboard",parameters:[],handler:async()=>{C()}}),w.jsxs("div",{className:`${d?Ou.dateBg:"bg-dark"}
375 d-flex p-2 py-3 border-2 rounded w-100 rounded-2 ${i?" mb-2 col-12":"me-2 col-3"} `,children:[w.jsxs("div",{className:"px-2 d-flex align-items-center justify-content-between w-100",onClick:()=>{f(!u)},children:[w.jsxs("div",{className:" d-flex align-items-center",children:[w.jsx("div",{className:"ms-1 ",children:w.jsx("span",{className:"material-icons text-secondary fs-4",children:"groups"})}),w.jsx(TF,{content:`${a}`,textColor:d?"#212121":"#ffffff"})]}),w.jsx("div",{className:"ms-1 ",children:w.jsx("span",{className:"material-icons pe-1 text-secondary fs-4",children:"expand_more"})})]}),u&&w.jsxs("div",{className:`${Ou.ibuPicker} ${d?"bg-white":"bg-dark"} row col-12 p-2 shadow p-3 mb-5 justify-content-start rounded g-2 end-0`,children:[w.jsx("div",{children:w.jsx("div",{className:`${Ou.clear_filter} d-flex py-2 px-4 mb-2 justify-content-end align-items-center rounded`,onClick:()=>{C(),f(!u)},children:w.jsx("p",{className:`${Ou.fontAdjust} ${d?"text-secondary":"text-white"} align-items-center text-center m-0 me-2`,children:"Clear filters"})})}),w.jsx("div",{className:" row",children:e.length>0&&e.map((b,E)=>w.jsx("div",{className:` ${Ou.ibuName} mb-2 col-md-3 col-lg-2 col-6`,onClick:()=>{s(b),l(b),x(b),f(!u)},children:w.jsx("div",{className:"border rounded-2 text-center p-2",children:w.jsx("p",{className:`${Ou.fontAdjust} ${d?"text-dark":"text-white"} align-items-center text-center m-0`,onClick:()=>{f(!u)},children:b})})},E))})]})]})},n1e="_dash_container_1fl0e_1",r1e="_dash_container_dark_1fl0e_5",i1e="_dashBoardBg_1fl0e_11",o1e="_dashBoard_container_1fl0e_15",a1e="_chooseDashList_1fl0e_20",s1e="_dateBg_1fl0e_25",l1e="_dateBgBorder_1fl0e_31",A1e="_dateBgField_1fl0e_35",u1e="_dateText_1fl0e_39",c1e="_datePicker_1fl0e_43",f1e="_dashPicker_1fl0e_50",d1e="_ibuPicker_1fl0e_57",h1e="_ibuName_1fl0e_64",p1e="_fontAdjust_1fl0e_69",g1e="_mobile_side_nav_1fl0e_73",m1e="_side_nav_1fl0e_77",v1e="_hover_class_1fl0e_82",_1e="_mobileContainer_1fl0e_91",y1e="_filterContainer_1fl0e_99",w1e="_dateContainer_1fl0e_103",b1e="_filterListContainer_1fl0e_107",B1e="_filterCompContainer_1fl0e_110",cy={dash_container:n1e,dash_container_dark:r1e,dashBoardBg:i1e,dashBoard_container:o1e,chooseDashList:a1e,dateBg:s1e,dateBgBorder:l1e,dateBgField:A1e,dateText:u1e,datePicker:c1e,dashPicker:f1e,ibuPicker:d1e,ibuName:h1e,fontAdjust:p1e,mobile_side_nav:g1e,side_nav:m1e,hover_class:v1e,mobileContainer:_1e,filterContainer:y1e,dateContainer:w1e,filterListContainer:b1e,filterCompContainer:B1e},a9=({filterList:e,showDate:t})=>w.jsx(w.Fragment,{children:w.jsxs("div",{className:` ${cy.filterContainer} mb-4 rounded-3 d-flex m-0 justify-content-end align-items-center position-relative `,children:[t&&w.jsx("div",{className:`${cy.dateContainer} p-2 `,children:w.jsx(Pye,{})}),e[0]!=null&&w.jsx("div",{className:`${cy.filterListContainer} p-2 d-flex justify-content-end`,children:e[0]!=null&&e.length>0&&e.map((n,r)=>w.jsx("div",{className:`${cy.filterCompContainer}`,children:w.jsx(t1e,{filterList:n.values,customFilterKey:n.key,indexVar:r})},r))})]})}),KC=async(e,t,n,r,i,o,a,s)=>{const l={};a.forEach((d,g)=>{s[g]&&(l[d]=[s[g]])});const u={RequestInfo:{authToken:"null"},headers:{tenantId:"null"},aggregationRequestDto:{dashboardId:t,visualizationType:"METRIC",visualizationCode:e,queryType:"",filters:i&&i!="All"?l:{},moduleLevel:"",aggregationFactors:null,requestDate:{startDate:n,endDate:r}}};return await vc.post("https://rain.tarento.com/api/dashboard/getChartV2/Kronos",u,{headers:yc()})},OL=async e=>await vc.get("https://rain.tarento.com/api/dashboard/getChartConfig?visualizationCode="+e,{headers:yc()});/*! 376 * html2canvas 1.4.1 <https://html2canvas.hertzen.com> 377 * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com> 378 * Released under MIT License 379 *//*! ***************************************************************************** 380Copyright (c) Microsoft Corporation. 381 382Permission to use, copy, modify, and/or distribute this software for any 383purpose with or without fee is hereby granted. 384 385THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 386REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 387AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 388INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 389LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 390OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 391PERFORMANCE OF THIS SOFTWARE. 392***************************************************************************** */var mO=function(e,t){return mO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},mO(e,t)};function Ns(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");mO(e,t);function n(){this.constructor=e}
vendor: 5,738 bytes, line 392
392e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var vO=function(){return vO=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},vO.apply(this,arguments)};function to(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(f){try{u(r.next(f))}catch(d){a(d)}}function l(f){try{u(r.throw(f))}catch(d){a(d)}}function u(f){f.done?o(f.value):i(f.value).then(s,l)}u((r=r.apply(e,t||[])).next())})}function Ni(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(f){return l([u,f])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=t.call(e,n)}catch(f){u=[6,f],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function fy(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}var UA=function(){function e(t,n,r,i){this.left=t,this.top=n,this.width=r,this.height=i}return e.prototype.add=function(t,n,r,i){return new e(this.left+t,this.top+n,this.width+r,this.height+i)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var r=Array.from(n).find(function(i){return i.width!==0});return r?new e(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),WC=function(e,t){return UA.fromClientRect(e,t.getBoundingClientRect())},C1e=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),i=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new UA(0,0,r,i)},GC=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)===56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t},Qr=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},dQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x1e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var dy=0;dy<dQ.length;dy++)x1e[dQ.charCodeAt(dy)]=dy;var hQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Qg=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var hy=0;hy<hQ.length;hy++)Qg[hQ.charCodeAt(hy)]=hy;var E1e=function(e){var t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),f=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<n;r+=4)o=Qg[e.charCodeAt(r)],a=Qg[e.charCodeAt(r+1)],s=Qg[e.charCodeAt(r+2)],l=Qg[e.charCodeAt(r+3)],f[i++]=o<<2|a>>4,f[i++]=(a&15)<<4|s>>2,f[i++]=(s&3)<<6|l&63;return u},S1e=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},F1e=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},Uf=5,kL=6+5,SE=2,T1e=kL-Uf,s9=65536>>Uf,O1e=1<<Uf,FE=O1e-1,k1e=1024>>Uf,I1e=s9+k1e,L1e=I1e,D1e=32,R1e=L1e+D1e,P1e=65536>>kL,U1e=1<<T1e,N1e=U1e-1,pQ=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},M1e=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},Q1e=function(e,t){var n=E1e(e),r=Array.isArray(n)?F1e(n):new Uint32Array(n),i=Array.isArray(n)?S1e(n):new Uint16Array(n),o=24,a=pQ(i,o/2,r[4]/2),s=r[5]===2?pQ(i,(o+r[4])/2):M1e(r,Math.ceil((o+r[4])/4));return new H1e(r[0],r[1],r[2],r[3],a,s)},H1e=function(){function e(t,n,r,i,o,a){this.initialValue=t,this.errorValue=n,this.highStart=r,this.highValueIndex=i,this.index=o,this.data=a}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>Uf],n=(n<<SE)+(t&FE),this.data[n];if(t<=65535)return n=this.index[s9+(t-55296>>Uf)],n=(n<<SE)+(t&FE),this.data[n];if(t<this.highStart)return n=R1e-P1e+(t>>kL),n=this.index[n],n+=t>>Uf&N1e,n=this.index[n],n=(n<<SE)+(t&FE),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),gQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$1e=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var py=0;py<gQ.length;py++)$1e[gQ.charCodeAt(py)]=py;var j1e=
vendor: 52,891 bytes, line 392
392"KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",
vendor: 3,574 bytes, line 392
392mQ=50,z1e=1,l9=2,A9=3,V1e=4,K1e=5,vQ=7,u9=8,_Q=9,Nu=10,_O=11,yQ=12,yO=13,W1e=14,Hg=15,wO=16,gy=17,yg=18,G1e=19,wQ=20,bO=21,wg=22,TE=23,Kd=24,aa=25,$g=26,jg=27,Wd=28,Y1e=29,xf=30,q1e=31,my=32,vy=33,BO=34,CO=35,xO=36,sv=37,EO=38,fw=39,dw=40,OE=41,c9=42,Z1e=43,X1e=[9001,65288],f9="!",pn="Ã",_y="÷",SO=Q1e(j1e),cA=[xf,xO],FO=[z1e,l9,A9,K1e],d9=[Nu,u9],bQ=[jg,$g],J1e=FO.concat(d9),BQ=[EO,fw,dw,BO,CO],eEe=[Hg,yO],tEe=function(e,t){t===void 0&&(t="strict");var n=[],r=[],i=[];return e.forEach(function(o,a){var s=SO.get(o);if(s>mQ?(i.push(!0),s-=mQ):i.push(!1),["normal","auto","loose"].indexOf(t)!==-1&&[8208,8211,12316,12448].indexOf(o)!==-1)return r.push(a),n.push(wO);if(s===V1e||s===_O){if(a===0)return r.push(a),n.push(xf);var l=n[a-1];return J1e.indexOf(l)===-1?(r.push(r[a-1]),n.push(l)):(r.push(a),n.push(xf))}if(r.push(a),s===q1e)return n.push(t==="strict"?bO:sv);if(s===c9||s===Y1e)return n.push(xf);if(s===Z1e)return o>=131072&&o<=196605||o>=196608&&o<=262141?n.push(sv):n.push(xf);n.push(s)}),[r,n,i]},kE=function(e,t,n,r){var i=r[n];if(Array.isArray(e)?e.indexOf(i)!==-1:e===i)for(var o=n;o<=r.length;){o++;var a=r[o];if(a===t)return!0;if(a!==Nu)break}if(i===Nu)for(var o=n;o>0;){o--;var s=r[o];if(Array.isArray(e)?e.indexOf(s)!==-1:e===s)for(var l=n;l<=r.length;){l++;var a=r[l];if(a===t)return!0;if(a!==Nu)break}if(s!==Nu)break}return!1},CQ=function(e,t){for(var n=e;n>=0;){var r=t[n];if(r===Nu)n--;else return r}return 0},nEe=function(e,t,n,r,i){if(n[r]===0)return pn;var o=r-1;if(Array.isArray(i)&&i[o]===!0)return pn;var a=o-1,s=o+1,l=t[o],u=a>=0?t[a]:0,f=t[s];if(l===l9&&f===A9)return pn;if(FO.indexOf(l)!==-1)return f9;if(FO.indexOf(f)!==-1||d9.indexOf(f)!==-1)return pn;if(CQ(o,t)===u9)return _y;if(SO.get(e[o])===_O||(l===my||l===vy)&&SO.get(e[s])===_O||l===vQ||f===vQ||l===_Q||[Nu,yO,Hg].indexOf(l)===-1&&f===_Q||[gy,yg,G1e,Kd,Wd].indexOf(f)!==-1||CQ(o,t)===wg||kE(TE,wg,o,t)||kE([gy,yg],bO,o,t)||kE(yQ,yQ,o,t))return pn;if(l===Nu)return _y;if(l===TE||f===TE)return pn;if(f===wO||l===wO)return _y;if([yO,Hg,bO].indexOf(f)!==-1||l===W1e||u===xO&&eEe.indexOf(l)!==-1||l===Wd&&f===xO||f===wQ||cA.indexOf(f)!==-1&&l===aa||cA.indexOf(l)!==-1&&f===aa||l===jg&&[sv,my,vy].indexOf(f)!==-1||[sv,my,vy].indexOf(l)!==-1&&f===$g||cA.indexOf(l)!==-1&&bQ.indexOf(f)!==-1||bQ.indexOf(l)!==-1&&cA.indexOf(f)!==-1||[jg,$g].indexOf(l)!==-1&&(f===aa||[wg,Hg].indexOf(f)!==-1&&t[s+1]===aa)||[wg,Hg].indexOf(l)!==-1&&f===aa||l===aa&&[aa,Wd,Kd].indexOf(f)!==-1)return pn;if([aa,Wd,Kd,gy,yg].indexOf(f)!==-1)for(var d=o;d>=0;){var g=t[d];if(g===aa)return pn;if([Wd,Kd].indexOf(g)!==-1)d--;else break}if([jg,$g].indexOf(f)!==-1)for(var d=[gy,yg].indexOf(l)!==-1?a:o;d>=0;){var g=t[d];if(g===aa)return pn;if([Wd,Kd].indexOf(g)!==-1)d--;else break}if(EO===l&&[EO,fw,BO,CO].indexOf(f)!==-1||[fw,BO].indexOf(l)!==-1&&[fw,dw].indexOf(f)!==-1||[dw,CO].indexOf(l)!==-1&&f===dw||BQ.indexOf(l)!==-1&&[wQ,$g].indexOf(f)!==-1||BQ.indexOf(f)!==-1&&l===jg||cA.indexOf(l)!==-1&&cA.indexOf(f)!==-1||l===Kd&&cA.indexOf(f)!==-1||cA.concat(aa).indexOf(l)!==-1&&f===wg&&X1e.indexOf(e[s])===-1||cA.concat(aa).indexOf(f)!==-1&&l===yg)return pn;if(l===OE&&f===OE){for(var m=n[o],v=1;m>0&&(m--,t[m]===OE);)v++;if(v%2!==0)return pn}return l===my&&f===vy?pn:_y},rEe=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=tEe(e,t.lineBreak),r=n[0],i=n[1],o=n[2];(t.wordBreak==="break-all"||t.wordBreak==="break-word")&&(i=i.map(function(s){return[aa,xf,c9].indexOf(s)!==-1?sv:s}));var a=t.wordBreak==="keep-all"?o.map(function(s,l){return s&&e[l]>=19968&&e[l]<=40959}):void 0;return[r,i,a]}
vendor: 15,589 bytes, line 392
392,iEe=function(){function e(t,n,r,i){this.codePoints=t,this.required=n===f9,this.start=r,this.end=i}return e.prototype.slice=function(){return Qr.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),oEe=function(e,t){var n=GC(e),r=rEe(n,t),i=r[0],o=r[1],a=r[2],s=n.length,l=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var f=pn;u<s&&(f=nEe(n,o,i,++u,a))===pn;);if(f!==pn||u===s){var d=new iEe(n,f,l,u);return l=u,{value:d,done:!1}}return{done:!0,value:null}}}},aEe=1,sEe=2,Gv=4,xQ=8,sB=10,EQ=47,bm=92,lEe=9,AEe=32,yy=34,bg=61,uEe=35,cEe=36,fEe=37,wy=39,by=40,Bg=41,dEe=95,To=45,hEe=33,pEe=60,gEe=62,mEe=64,vEe=91,_Ee=93,yEe=61,wEe=123,By=63,bEe=125,SQ=124,BEe=126,CEe=128,FQ=65533,IE=42,Tf=43,xEe=44,EEe=58,SEe=59,lv=46,FEe=0,TEe=8,OEe=11,kEe=14,IEe=31,LEe=127,il=-1,h9=48,p9=97,g9=101,DEe=102,REe=117,PEe=122,m9=65,v9=69,_9=70,UEe=85,NEe=90,Qi=function(e){return e>=h9&&e<=57},MEe=function(e){return e>=55296&&e<=57343},Gd=function(e){return Qi(e)||e>=m9&&e<=_9||e>=p9&&e<=DEe},QEe=function(e){return e>=p9&&e<=PEe},HEe=function(e){return e>=m9&&e<=NEe},$Ee=function(e){return QEe(e)||HEe(e)},jEe=function(e){return e>=CEe},Cy=function(e){return e===sB||e===lEe||e===AEe},lB=function(e){return $Ee(e)||jEe(e)||e===dEe},TQ=function(e){return lB(e)||Qi(e)||e===To},zEe=function(e){return e>=FEe&&e<=TEe||e===OEe||e>=kEe&&e<=IEe||e===LEe},ku=function(e,t){return e!==bm?!1:t!==sB},xy=function(e,t,n){return e===To?lB(t)||ku(t,n):lB(e)?!0:!!(e===bm&&ku(e,t))},LE=function(e,t,n){return e===Tf||e===To?Qi(t)?!0:t===lv&&Qi(n):Qi(e===lv?t:e)},VEe=function(e){var t=0,n=1;(e[t]===Tf||e[t]===To)&&(e[t]===To&&(n=-1),t++);for(var r=[];Qi(e[t]);)r.push(e[t++]);var i=r.length?parseInt(Qr.apply(void 0,r),10):0;e[t]===lv&&t++;for(var o=[];Qi(e[t]);)o.push(e[t++]);var a=o.length,s=a?parseInt(Qr.apply(void 0,o),10):0;(e[t]===v9||e[t]===g9)&&t++;var l=1;(e[t]===Tf||e[t]===To)&&(e[t]===To&&(l=-1),t++);for(var u=[];Qi(e[t]);)u.push(e[t++]);var f=u.length?parseInt(Qr.apply(void 0,u),10):0;return n*(i+s*Math.pow(10,-a))*Math.pow(10,l*f)},KEe={type:2},WEe={type:3},GEe={type:4},YEe={type:13},qEe={type:8},ZEe={type:21},XEe={type:9},JEe={type:10},eSe={type:11},tSe={type:12},nSe={type:14},Ey={type:23},rSe={type:1},iSe={type:25},oSe={type:24},aSe={type:26},sSe={type:27},lSe={type:28},ASe={type:29},uSe={type:31},TO={type:32},y9=function(){function e(){this._value=[]}return e.prototype.write=function(t){this._value=this._value.concat(GC(t))},e.prototype.read=function(){for(var t=[],n=this.consumeToken();n!==TO;)t.push(n),n=this.consumeToken();return t},e.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case yy:return this.consumeStringToken(yy);case uEe:var n=this.peekCodePoint(0),r=this.peekCodePoint(1),i=this.peekCodePoint(2);if(TQ(n)||ku(r,i)){var o=xy(n,r,i)?sEe:aEe,a=this.consumeName();return{type:5,value:a,flags:o}}break;case cEe:if(this.peekCodePoint(0)===bg)return this.consumeCodePoint(),YEe;break;case wy:return this.consumeStringToken(wy);case by:return KEe;case Bg:return WEe;case IE:if(this.peekCodePoint(0)===bg)return this.consumeCodePoint(),nSe;break;case Tf:if(LE(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case xEe:return GEe;case To:var s=t,l=this.peekCodePoint(0),u=this.peekCodePoint(1);if(LE(s,l,u))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(xy(s,l,u))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(l===To&&u===gEe)return this.consumeCodePoint(),this.consumeCodePoint(),oSe;break;case lv:if(LE(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case EQ:if(this.peekCodePoint(0)===IE)for(this.consumeCodePoint();;){var f=this.consumeCodePoint();if(f===IE&&(f=this.consumeCodePoint(),f===EQ))return this.consumeToken();if(f===il)return this.consumeToken()}break;case EEe:return aSe;case SEe:return sSe;case pEe:if(this.peekCodePoint(0)===hEe&&this.peekCodePoint(1)===To&&this.peekCodePoint(2)===To)return this.consumeCodePoint(),this.consumeCodePoint(),iSe;break;case mEe:var d=this.peekCodePoint(0),g=this.peekCodePoint(1),m=this.peekCodePoint(2);if(xy(d,g,m)){var a=this.consumeName();return{type:7,value:a}}break;case vEe:return lSe;case bm:if(ku(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case _Ee:return ASe;case yEe:if(this.peekCodePoint(0)===bg)return this.consumeCodePoint(),qEe;break;case wEe:return eSe;case bEe:return tSe;case REe:case UEe:var v=this.peekCodePoint(0),y=this.peekCodePoint(1);return v===Tf&&(Gd(y)||y===By)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case SQ:if(this.peekCodePoint(0)===bg)return this.consumeCodePoint(),XEe;if(this.peekCodePoint(0)===SQ)return this.consumeCodePoint(),ZEe;break;case BEe:if(this.peekCodePoint(0)===bg)return this.consumeCodePoint(),JEe;break;case il:return TO}return Cy(t)?(this.consumeWhiteSpace(),uSe):Qi(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):lB(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:Qr(t)}},e.prototype.consumeCodePoint=function(){var t=this._value.shift();return typeof t>"u"?-1:t},e.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},e.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},e.prototype.consumeUnicodeRangeToken=function(){for(var t=[],n=this.consumeCodePoint();Gd(n)&&t.length<6;)t.push(n),n=this.consumeCodePoint();for(var r=!1;n===By&&t.length<6;)t.push(n),n=this.consumeCodePoint(),r=!0;if(r){var i=parseInt(Qr.apply(void 0,t.map(function(l){return l===By?h9:l})),16),o=parseInt(Qr.apply(void 0,t.map(function(l){return l===By?_9:l})),16);return{type:30,start:i,end:o}}var a=parseInt(Qr.apply(void 0,t),16);if(this.peekCodePoint(0)===To&&Gd(this.peekCodePoint(1))){this.consumeCodePoint(),n=this.consumeCodePoint();for(var s=[];Gd(n)&&s.length<6;)s.push(n),n=this.consumeCodePoint();var o=parseInt(Qr.apply(void 0,s),16);return{type:30,start:a,end:o}}else return{type:30,start:a,end:a}},e.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return t.toLowerCase()==="url"&&this.peekCodePoint(0)===by?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===by?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},e.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===il)return{type:22,value:""};var n=this.peekCodePoint(0);if(n===wy||n===yy){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===il||this.peekCodePoint(0)===Bg)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Ey)}for(;;){var i=this.consumeCodePoint();if(i===il||i===Bg)return{type:22,value:Qr.apply(void 0,t)};if(Cy(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===il||this.peekCodePoint(0)===Bg?(this.consumeCodePoint(),{type:22,value:Qr.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Ey);if(i===yy||i===wy||i===by||zEe(i))return this.consumeBadUrlRemnants(),Ey;if(i===bm)if(ku(i,this.peekCodePoint(0)))t.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ey;else t.push(i)}},e.prototype.consumeWhiteSpace=function(){for(;Cy(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(t===Bg||t===il)return;ku(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(t){for(var n=5e4,r="";t>0;){var i=Math.min(n,t);r+=Qr.apply(void 0,this._value.splice(0,i)),t-=i}return this._value.shift(),r},e.prototype.consumeStringToken=function(t){var n="",r=0;do{var i=this._value[r];if(i===il||i===void 0||i===t)return n+=this.consumeStringSlice(r),{type:0,value:n};if(i===sB)return this._value.splice(0,r),rSe;if(i===bm){var o=this._value[r+1];o!==il&&o!==void 0&&(o===sB?(n+=this.consumeStringSlice(r),r=-1,this._value.shift()):ku(i,o)&&(n+=this.consumeStringSlice(r),n+=Qr(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var t=[],n=Gv,r=this.peekCodePoint(0);for((r===Tf||r===To)&&t.push(this.consumeCodePoint());Qi(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(r===lv&&Qi(i))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=xQ;Qi(this.peekCodePoint(0));)t.push(this.consumeCodePoint());r=this.peekCodePoint(0),i=this.peekCodePoint(1);var o=this.peekCodePoint(2);if((r===v9||r===g9)&&((i===Tf||i===To)&&Qi(o)||Qi(i)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),n=xQ;Qi(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[VEe(t),n]},e.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),n=t[0],r=t[1],i=this.peekCodePoint(0),o=this.peekCodePoint(1),a=this.peekCodePoint(2);if(xy(i,o,a)){var s=this.consumeName();return{type:15,number:n,flags:r,unit:s}}return i===fEe?(this.consumeCodePoint(),{type:16,number:n,flags:r}):{type:17,number:n,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(Gd(t)){for(var n=Qr(t);Gd(this.peekCodePoint(0))&&n.length<6;)n+=Qr(this.consumeCodePoint());Cy(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(n,16);return r===0||MEe(r)||r>1114111?FQ:r}return t===il?FQ:t},e.prototype.consumeName=function(){for(var t="";;){var n=this.consumeCodePoint();if(TQ(n))t+=Qr(n);else if(ku(n,this.peekCodePoint(0)))t+=Qr(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(n),t}},e}(),w9=function(){function e(t){this._tokens=t}return e.create=function(t){var n=new y9;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var t=this.consumeToken();t.type===31;)t=this.consumeToken();if(t.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var n=this.consumeComponentValue();do t=this.consumeToken();while(t.type===31);if(t.type===32)return n;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var t=[];;){var n=this.consumeComponentValue();if(n.type===32)return t;t.push(n),t.push()}},e.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},e.prototype.consumeSimpleBlock=function(t){for(var n={type:t,values:[]},r=this.consumeToken();;){if(r.type===32||fSe(r,t))return n;this.reconsumeToken(r),n.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(t){for(var n={name:t.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return n;this.reconsumeToken(r),n.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var t=this._tokens.shift();return typeof t>"u"?TO:t},e.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},e}(),Yv=function(e){return e.type===15},xp=function(e){return e.type===17},Vn=function(e){return e.type===20},cSe=function(e){return e.type===0},OO=function(e,t){return Vn(e)&&e.value===t},b9=function(e){return e.type!==31},sp=function(e){return e.type!==31&&e.type!==4},kl=function(e){var t=[],n=[];return e.forEach(function(r){if(r.type===4){if(n.length===0)throw new Error("Error parsing function args, zero tokens for arg");t.push(n),n=[];return}r.type!==31&&n.push(r)}),n.length&&t.push(n),t},fSe=function(e,t){return t===11&&e.type===12||t===28&&e.type===29?!0:t===2&&e.type===3},lc=function(e){return e.type===17||e.type===15},Yr=function(e){return e.type===16||lc(e)},B9=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},Ei={type:17,number:0,flags:Gv},IL={type:16,number:50,flags:Gv},Mu={type:16,number:100,flags:Gv},zg=function(e,t,n){var r=e[0],i=e[1];return[rr(r,t),rr(typeof i<"u"?i:r,n)]},rr=function(e,t){if(e.type===16)return e.number/100*t;if(Yv(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},C9="deg",x9="grad",E9="rad",S9="turn",YC={name:"angle",parse:function(e,t){if(t.type===15)switch(t.unit){case C9:return Math.PI*t.number/180;case x9:return Math.PI/200*t.number;case E9:return t.number;case S9:return Math.PI*2*t.number}throw new Error("Unsupported angle type")}},F9=function(e){return e.type===15&&(e.unit===C9||e.unit===x9||e.unit===E9||e.unit===S9)},T9=function(e){var t=e.filter(Vn).map(function(n){return n.value}).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Ei,Ei];case"to top":case"bottom":return Va(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Ei,Mu];case"to right":case"left":return Va(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Mu,Mu];case"to bottom":case"top":return Va(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Mu,Ei];case"to left":case"right":return Va(270)}return 0},Va=function(e){return Math.PI*e/180},Ju={name:"color",parse:function(e,t){if(t.type===18){var n=dSe[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(t.type===5){if(t.value.length===3){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3);return Qu(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),1)}if(t.value.length===4){var r=t.value.substring(0,1),i=t.value.substring(1,2),o=t.value.substring(2,3),a=t.value.substring(3,4);return Qu(parseInt(r+r,16),parseInt(i+i,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(t.value.length===6){var r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6);return Qu(parseInt(r,16),parseInt(i,16),parseInt(o,16),1)}if(t.value.length===8){var r=t.value.substring(0,2),i=t.value.substring(2,4),o=t.value.substring(4,6),a=t.value.substring(6,8);return Qu(parseInt(r,16),parseInt(i,16),parseInt(o,16),parseInt(a,16)/255)}}if(t.type===20){var s=TA[t.value.toUpperCase()];if(typeof s<"u")return s}return TA.TRANSPARENT}},ec=function(e){return(255&e)===0},Ai=function(e){var t=255&e,n=255&e>>8,r=255&e>>16,i=255&e>>24;return t<255?"rgba("+i+","+r+","+n+","+t/255+")":"rgb("+i+","+r+","+n+")"},Qu=function(e,t,n,r){return(e<<24|t<<16|n<<8|Math.round(r*255)<<0)>>>0},OQ=function(e,t){if(e.type===17)return e.number;if(e.type===16){var n=t===3?1:255;return t===3?e.number/100*n:Math.round(e.number/100*n)}return 0},kQ=function(e,t){var n=t.filter(sp);if(n.length===3){var r=n.map(OQ),i=r[0],o=r[1],a=r[2];return Qu(i,o,a,1)}if(n.length===4){var s=n.map(OQ),i=s[0],o=s[1],a=s[2],l=s[3];return Qu(i,o,a,l)}return 0};function DE(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<1/2?t:n<2/3?(t-e)*6*(2/3-n)+e:e}var IQ=function(e,t){var n=t.filter(sp),r=n[0],i=n[1],o=n[2],a=n[3],s=(r.type===17?Va(r.number):YC.parse(e,r))/(Math.PI*2),l=Yr(i)?i.number/100:0,u=Yr(o)?o.number/100:0,f=typeof a<"u"&&Yr(a)?rr(a,1):1;if(l===0)return Qu(u*255,u*255,u*255,1);var d=u<=.5?u*(l+1):u+l-u*l,g=u*2-d,m=DE(g,d,s+1/3),v=DE(g,d,s),y=DE(g,d,s-1/3);return Qu(m*255,v*255,y*255,f)},dSe={hsl:IQ,hsla:IQ,rgb:kQ,rgba:kQ},Bm=function(e,t){return Ju.parse(e,w9.create(t).parseComponentValue())},T
vendor: 3,055 bytes, line 392
392A={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},
vendor: 8,187 bytes, line 392
392hSe={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if(Vn(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},pSe={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},qC=function(e,t){var n=Ju.parse(e,t[0]),r=t[1];return r&&Yr(r)?{color:n,stop:r}:{color:n,stop:null}},LQ=function(e,t){var n=e[0],r=e[e.length-1];n.stop===null&&(n.stop=Ei),r.stop===null&&(r.stop=Mu);for(var i=[],o=0,a=0;a<e.length;a++){var s=e[a].stop;if(s!==null){var l=rr(s,t);l>o?i.push(l):i.push(o),o=l}else i.push(null)}for(var u=null,a=0;a<i.length;a++){var f=i[a];if(f===null)u===null&&(u=a);else if(u!==null){for(var d=a-u,g=i[u-1],m=(f-g)/(d+1),v=1;v<=d;v++)i[u+v-1]=m*v;u=null}}return e.map(function(y,x){var C=y.color;return{color:C,stop:Math.max(Math.min(1,i[x]/t),0)}})},gSe=function(e,t,n){var r=t/2,i=n/2,o=rr(e[0],t)-r,a=i-rr(e[1],n);return(Math.atan2(a,o)+Math.PI*2)%(Math.PI*2)},mSe=function(e,t,n){var r=typeof e=="number"?e:gSe(e,t,n),i=Math.abs(t*Math.sin(r))+Math.abs(n*Math.cos(r)),o=t/2,a=n/2,s=i/2,l=Math.sin(r-Math.PI/2)*s,u=Math.cos(r-Math.PI/2)*s;return[i,o-u,o+u,a-l,a+l]},xs=function(e,t){return Math.sqrt(e*e+t*t)},DQ=function(e,t,n,r,i){var o=[[0,0],[0,t],[e,0],[e,t]];return o.reduce(function(a,s){var l=s[0],u=s[1],f=xs(n-l,r-u);return(i?f<a.optimumDistance:f>a.optimumDistance)?{optimumCorner:s,optimumDistance:f}:a},{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},vSe=function(e,t,n,r,i){var o=0,a=0;switch(e.size){case 0:e.shape===0?o=a=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===1&&(o=Math.min(Math.abs(t),Math.abs(t-r)),a=Math.min(Math.abs(n),Math.abs(n-i)));break;case 2:if(e.shape===0)o=a=Math.min(xs(t,n),xs(t,n-i),xs(t-r,n),xs(t-r,n-i));else if(e.shape===1){var s=Math.min(Math.abs(n),Math.abs(n-i))/Math.min(Math.abs(t),Math.abs(t-r)),l=DQ(r,i,t,n,!0),u=l[0],f=l[1];o=xs(u-t,(f-n)/s),a=s*o}break;case 1:e.shape===0?o=a=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(n),Math.abs(n-i)):e.shape===1&&(o=Math.max(Math.abs(t),Math.abs(t-r)),a=Math.max(Math.abs(n),Math.abs(n-i)));break;case 3:if(e.shape===0)o=a=Math.max(xs(t,n),xs(t,n-i),xs(t-r,n),xs(t-r,n-i));else if(e.shape===1){var s=Math.max(Math.abs(n),Math.abs(n-i))/Math.max(Math.abs(t),Math.abs(t-r)),d=DQ(r,i,t,n,!1),u=d[0],f=d[1];o=xs(u-t,(f-n)/s),a=s*o}break}return Array.isArray(e.size)&&(o=rr(e.size[0],r),a=e.size.length===2?rr(e.size[1],i):o),[o,a]},_Se=function(e,t){var n=Va(180),r=[];return kl(t).forEach(function(i,o){if(o===0){var a=i[0];if(a.type===20&&a.value==="to"){n=T9(i);return}else if(F9(a)){n=YC.parse(e,a);return}}var s=qC(e,i);r.push(s)}),{angle:n,stops:r,type:1}},Sy=function(e,t){var n=Va(180),r=[];return kl(t).forEach(function(i,o){if(o===0){var a=i[0];if(a.type===20&&["top","left","right","bottom"].indexOf(a.value)!==-1){n=T9(i);return}else if(F9(a)){n=(YC.parse(e,a)+Va(270))%Va(360);return}}var s=qC(e,i);r.push(s)}),{angle:n,stops:r,type:1}},ySe=function(e,t){var n=Va(180),r=[],i=1,o=0,a=3,s=[];return kl(t).forEach(function(l,u){var f=l[0];if(u===0){if(Vn(f)&&f.value==="linear"){i=1;return}else if(Vn(f)&&f.value==="radial"){i=2;return}}if(f.type===18){if(f.name==="from"){var d=Ju.parse(e,f.values[0]);r.push({stop:Ei,color:d})}else if(f.name==="to"){var d=Ju.parse(e,f.values[0]);r.push({stop:Mu,color:d})}else if(f.name==="color-stop"){var g=f.values.filter(sp);if(g.length===2){var d=Ju.parse(e,g[1]),m=g[0];xp(m)&&r.push({stop:{type:16,number:m.number*100,flags:m.flags},color:d})}}}}),i===1?{angle:(n+Va(180))%Va(360),stops:r,type:i}:{size:a,shape:o,stops:r,position:s,type:i}},O9="closest-side",k9="farthest-side",I9="closest-corner",L9="farthest-corner",D9="circle",R9="ellipse",P9="cover",U9="contain",wSe=function(e,t){var n=0,r=3,i=[],o=[];return kl(t).forEach(function(a,s){var l=!0;if(s===0){var u=!1;l=a.reduce(function(d,g){if(u)if(Vn(g))switch(g.value){case"center":return o.push(IL),d;case"top":case"left":return o.push(Ei),d;case"right":case"bottom":return o.push(Mu),d}else(Yr(g)||lc(g))&&o.push(g);else if(Vn(g))switch(g.value){case D9:return n=0,!1;case R9:return n=1,!1;case"at":return u=!0,!1;case O9:return r=0,!1;case P9:case k9:return r=1,!1;case U9:case I9:return r=2,!1;case L9:return r=3,!1}else if(lc(g)||Yr(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return d},l)}if(l){var f=qC(e,a);i.push(f)}}),{size:r,shape:n,stops:i,position:o,type:2}},Fy=function(e,t){var n=0,r=3,i=[],o=[];return kl(t).forEach(function(a,s){var l=!0;if(s===0?l=a.reduce(function(f,d){if(Vn(d))switch(d.value){case"center":return o.push(IL),!1;case"top":case"left":return o.push(Ei),!1;case"right":case"bottom":return o.push(Mu),!1}else if(Yr(d)||lc(d))return o.push(d),!1;return f},l):s===1&&(l=a.reduce(function(f,d){if(Vn(d))switch(d.value){case D9:return n=0,!1;case R9:return n=1,!1;case U9:case O9:return r=0,!1;case k9:return r=1,!1;case I9:return r=2,!1;case P9:case L9:return r=3,!1}else if(lc(d)||Yr(d))return Array.isArray(r)||(r=[]),r.push(d),!1;return f},l)),l){var u=qC(e,a);i.push(u)}}),{size:r,shape:n,stops:i,position:o,type:2}},bSe=function(e){return e.type===1},BSe=function(e){return e.type===2},LL={name:"image",parse:function(e,t){if(t.type===22){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(t.type===18){var r=N9[t.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function CSe(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!N9[e.name])}var N9={"linear-gradient":_Se,"-moz-linear-gradient":Sy,"-ms-linear-gradient":Sy,"-o-linear-gradient":Sy,"-webkit-linear-gradient":Sy,"radial-gradient":wSe,"-moz-radial-gradient":Fy,"-ms-radial-gradient":Fy,"-o-radial-gradient":Fy,"-webkit-radial-gradient":Fy,"-webkit-gradient":ySe},xSe={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var n=t[0];return n.type===20&&n.value==="none"?[]:t.filter(function(r){return sp(r)&&CSe(r)}).map(function(r){return LL.parse(e,r)})}},ESe={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map(function(n){if(Vn(n))switch(n.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},SSe={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return kl(t).map(function(n){return n.filter(Yr)}).map(B9)}},FSe={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return kl(t).map(function(n){return n.filter(Vn).map(function(r){return r.value}).join(" ")}).map(TSe)}},TSe=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Rh;(function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"})(Rh||(Rh={}));var OSe={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return kl(t).map(function(n){return n.filter(kSe)})}},kSe=function(e){return Vn(e)||Yr(e)},ZC=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ISe=ZC("top"),LSe=ZC("right"),DSe=ZC("bottom"),RSe=ZC("left"),XC=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(t,n){return B9(n.filter(Yr))}}},PSe=XC("top-left"),USe=XC("top-right"),NSe=XC("bottom-right"),MSe=XC("bottom-left"),JC=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,n){switch(n){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},QSe=JC("top"),HSe=JC("right"),$Se=JC("bottom"),jSe=JC("left"),ex=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,n){return Yv(n)?n.number:0}}},zSe=ex("top"),VSe=ex("right"),KSe=ex("bottom"),WSe=ex("left"),GSe={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},YSe={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){switch(t){case"rtl":return 1;case"ltr":default:return 0}}}
vendor: 16,008 bytes, line 392
392,qSe={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).reduce(function(n,r){return n|ZSe(r.value)},0)}},ZSe=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},XSe={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},JSe={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return t.type===20&&t.value==="normal"?0:t.type===17||t.type===15?t.number:0}},AB;(function(e){e.NORMAL="normal",e.STRICT="strict"})(AB||(AB={}));var eFe={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"strict":return AB.STRICT;case"normal":default:return AB.NORMAL}}},tFe={name:"line-height",initialValue:"normal",prefix:!1,type:4},RQ=function(e,t){return Vn(e)&&e.value==="normal"?1.2*t:e.type===17?t*e.number:Yr(e)?rr(e,t):t},nFe={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return t.type===20&&t.value==="none"?null:LL.parse(e,t)}},rFe={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){switch(t){case"inside":return 0;case"outside":default:return 1}}},kO={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},tx=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},iFe=tx("top"),oFe=tx("right"),aFe=tx("bottom"),sFe=tx("left"),lFe={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).map(function(n){switch(n.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},AFe={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-word":return"break-word";case"normal":default:return"normal"}}},nx=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},uFe=nx("top"),cFe=nx("right"),fFe=nx("bottom"),dFe=nx("left"),hFe={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},pFe={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},gFe={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&OO(t[0],"none")?[]:kl(t).map(function(n){for(var r={color:TA.TRANSPARENT,offsetX:Ei,offsetY:Ei,blur:Ei},i=0,o=0;o<n.length;o++){var a=n[o];lc(a)?(i===0?r.offsetX=a:i===1?r.offsetY=a:r.blur=a,i++):r.color=Ju.parse(e,a)}return r})}},mFe={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},vFe={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(e,t){if(t.type===20&&t.value==="none")return null;if(t.type===18){var n=wFe[t.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return n(t.values)}return null}},_Fe=function(e){var t=e.filter(function(n){return n.type===17}).map(function(n){return n.number});return t.length===6?t:null},yFe=function(e){var t=e.filter(function(l){return l.type===17}).map(function(l){return l.number}),n=t[0],r=t[1];t[2],t[3];var i=t[4],o=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var a=t[12],s=t[13];return t[14],t[15],t.length===16?[n,r,i,o,a,s]:null},wFe={matrix:_Fe,matrix3d:yFe},PQ={type:16,number:50,flags:Gv},bFe=[PQ,PQ],BFe={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,t){var n=t.filter(Yr);return n.length!==2?bFe:[n[0],n[1]]}},CFe={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Cm;(function(e){e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all"})(Cm||(Cm={}));var xFe={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"break-all":return Cm.BREAK_ALL;case"keep-all":return Cm.KEEP_ALL;case"normal":default:return Cm.NORMAL}}},EFe={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,t){if(t.type===20)return{auto:!0,order:0};if(xp(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},M9={name:"time",parse:function(e,t){if(t.type===15)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},SFe={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,t){return xp(t)?t.number:1}},FFe={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},TFe={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,t){return t.filter(Vn).map(function(n){switch(n.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(n){return n!==0})}},OFe={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,t){var n=[],r=[];return t.forEach(function(i){switch(i.type){case 20:case 0:n.push(i.value);break;case 17:n.push(i.number.toString());break;case 4:r.push(n.join(" ")),n.length=0;break}}),n.length&&r.push(n.join(" ")),r.map(function(i){return i.indexOf(" ")===-1?i:"'"+i+"'"})}},kFe={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},IFe={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,t){if(xp(t))return t.number;if(Vn(t))switch(t.value){case"bold":return 700;case"normal":default:return 400}return 400}},LFe={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.filter(Vn).map(function(n){return n.value})}},DFe={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},ni=function(e,t){return(e&t)!==0},RFe={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(t.length===0)return[];var n=t[0];return n.type===20&&n.value==="none"?[]:t}},PFe={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var n=t[0];if(n.type===20&&n.value==="none")return null;for(var r=[],i=t.filter(b9),o=0;o<i.length;o++){var a=i[o],s=i[o+1];if(a.type===20){var l=s&&xp(s)?s.number:1;r.push({counter:a.value,increment:l})}}return r}},UFe={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return[];for(var n=[],r=t.filter(b9),i=0;i<r.length;i++){var o=r[i],a=r[i+1];if(Vn(o)&&o.value!=="none"){var s=a&&xp(a)?a.number:0;n.push({counter:o.value,reset:s})}}return n}},NFe={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(e,t){return t.filter(Yv).map(function(n){return M9.parse(e,n)})}},MFe={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(e,t){if(t.length===0)return null;var n=t[0];if(n.type===20&&n.value==="none")return null;var r=[],i=t.filter(cSe);if(i.length%2!==0)return null;for(var o=0;o<i.length;o+=2){var a=i[o].value,s=i[o+1].value;r.push({open:a,close:s})}return r}},UQ=function(e,t,n){if(!e)return"";var r=e[Math.min(t,e.length-1)];return r?n?r.open:r.close:""},QFe={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return t.length===1&&OO(t[0],"none")?[]:kl(t).map(function(n){for(var r={color:255,offsetX:Ei,offsetY:Ei,blur:Ei,spread:Ei,inset:!1},i=0,o=0;o<n.length;o++){var a=n[o];OO(a,"inset")?r.inset=!0:lc(a)?(i===0?r.offsetX=a:i===1?r.offsetY=a:i===2?r.blur=a:r.spread=a,i++):r.color=Ju.parse(e,a)}return r})}},HFe={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(e,t){var n=[0,1,2],r=[];return t.filter(Vn).forEach(function(i){switch(i.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2);break}}),n.forEach(function(i){r.indexOf(i)===-1&&r.push(i)}),r}},$Fe={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},jFe={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Yv(t)?t.number:0}},zFe=function(){function e(t,n){var r,i;this.animationDuration=ct(t,NFe,n.animationDuration),this.backgroundClip=ct(t,hSe,n.backgroundClip),this.backgroundColor=ct(t,pSe,n.backgroundColor),this.backgroundImage=ct(t,xSe,n.backgroundImage),this.backgroundOrigin=ct(t,ESe,n.backgroundOrigin),this.backgroundPosition=ct(t,SSe,n.backgroundPosition),this.backgroundRepeat=ct(t,FSe,n.backgroundRepeat),this.backgroundSize=ct(t,OSe,n.backgroundSize),this.borderTopColor=ct(t,ISe,n.borderTopColor),this.borderRightColor=ct(t,LSe,n.borderRightColor),this.borderBottomColor=ct(t,DSe,n.borderBottomColor),this.borderLeftColor=ct(t,RSe,n.borderLeftColor),this.borderTopLeftRadius=ct(t,PSe,n.borderTopLeftRadius),this.borderTopRightRadius=ct(t,USe,n.borderTopRightRadius),this.borderBottomRightRadius=ct(t,NSe,n.borderBottomRightRadius),this.borderBottomLeftRadius=ct(t,MSe,n.borderBottomLeftRadius),this.borderTopStyle=ct(t,QSe,n.borderTopStyle),this.borderRightStyle=ct(t,HSe,n.borderRightStyle),this.borderBottomStyle=ct(t,$Se,n.borderBottomStyle),this.borderLeftStyle=ct(t,jSe,n.borderLeftStyle),this.borderTopWidth=ct(t,zSe,n.borderTopWidth),this.borderRightWidth=ct(t,VSe,n.borderRightWidth),this.borderBottomWidth=ct(t,KSe,n.borderBottomWidth),this.borderLeftWidth=ct(t,WSe,n.borderLeftWidth),this.boxShadow=ct(t,QFe,n.boxShadow),this.color=ct(t,GSe,n.color),this.direction=ct(t,YSe,n.direction),this.display=ct(t,qSe,n.display),this.float=ct(t,XSe,n.cssFloat),this.fontFamily=ct(t,OFe,n.fontFamily),this.fontSize=ct(t,kFe,n.fontSize),this.fontStyle=ct(t,DFe,n.fontStyle),this.fontVariant=ct(t,LFe,n.fontVariant),this.fontWeight=ct(t,IFe,n.fontWeight),this.letterSpacing=ct(t,JSe,n.letterSpacing),this.lineBreak=ct(t,eFe,n.lineBreak),this.lineHeight=ct(t,tFe,n.lineHeight),this.listStyleImage=ct(t,nFe,n.listStyleImage),this.listStylePosition=ct(t,rFe,n.listStylePosition),this.listStyleType=ct(t,kO,n.listStyleType),this.marginTop=ct(t,iFe,n.marginTop),this.marginRight=ct(t,oFe,n.marginRight),this.marginBottom=ct(t,aFe,n.marginBottom),this.marginLeft=ct(t,sFe,n.marginLeft),this.opacity=ct(t,SFe,n.opacity);var o=ct(t,lFe,n.overflow);this.overflowX=o[0],this.overflowY=o[o.length>1?1:0],this.overflowWrap=ct(t,AFe,n.overflowWrap),this.paddingTop=ct(t,uFe,n.paddingTop),this.paddingRight=ct(t,cFe,n.paddingRight),this.paddingBottom=ct(t,fFe,n.paddingBottom),this.paddingLeft=ct(t,dFe,n.paddingLeft),this.paintOrder=ct(t,HFe,n.paintOrder),this.position=ct(t,pFe,n.position),this.textAlign=ct(t,hFe,n.textAlign),this.textDecorationColor=ct(t,FFe,(r=n.textDecorationColor)!==null&&r!==void 0?r:n.color),this.textDecorationLine=ct(t,TFe,(i=n.textDecorationLine)!==null&&i!==void 0?i:n.textDecoration),this.textShadow=ct(t,gFe,n.textShadow),this.textTransform=ct(t,mFe,n.textTransform),this.transform=ct(t,vFe,n.transform),this.transformOrigin=ct(t,BFe,n.transformOrigin),this.visibility=ct(t,CFe,n.visibility),this.webkitTextStrokeColor=ct(t,$Fe,n.webkitTextStrokeColor),this.webkitTextStrokeWidth=ct(t,jFe,n.webkitTextStrokeWidth),this.wordBreak=ct(t,xFe,n.wordBreak),this.zIndex=ct(t,EFe,n.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return ec(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return ni(this.display,4)||ni(this.display,33554432)||ni(this.display,268435456)||ni(this.display,536870912)||ni(this.display,67108864)||ni(this.display,134217728)},e}(),VFe=function(){function e(t,n){this.content=ct(t,RFe,n.content),this.quotes=ct(t,MFe,n.quotes)}return e}(),NQ=function(){function e(t,n){this.counterIncrement=ct(t,PFe,n.counterIncrement),this.counterReset=ct(t,UFe,n.counterReset)}return e}(),ct=function(e,t,n){var r=new y9,i=n!==null&&typeof n<"u"?n.toString():t.initialValue;r.write(i);var o=new w9(r.read());switch(t.type){case 2:var a=o.parseComponentValue();return t.parse(e,Vn(a)?a.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return YC.parse(e,o.parseComponentValue());case"color":return Ju.parse(e,o.parseComponentValue());case"image":return LL.parse(e,o.parseComponentValue());case"length":var s=o.parseComponentValue();return lc(s)?s:Ei;case"length-percentage":var l=o.parseComponentValue();return Yr(l)?l:Ei;case"time":return M9.parse(e,o.parseComponentValue())}break}},KFe="data-html2canvas-debug",WFe=function(e){var t=e.getAttribute(KFe);switch(t){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},IO=function(e,t){var n=WFe(e);return n===1||t===n},Il=function(){function e(t,n){if(this.context=t,this.textNodes=[],this.elements=[],this.flags=0,IO(n,3))debugger;this.styles=new zFe(t,window.getComputedStyle(n,null)),RO(n)&&(this.styles.animationDuration.some(function(r){return r>0}
392)&&(n.style.animationDuration="0s"),this.styles.transform!==null&&(n.style.transform="none")),this.bounds=WC(this.context,n),IO(n,4)&&(this.flags|=16)}return e}(),GFe
vendor: 13,339 bytes, line 392
392="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAB
vendor: 12,821 bytes, line 392
392QAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",
392MQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 15,648 bytes, line 392
392+/",Vg=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Ty=0;Ty<MQ.length;Ty++)Vg[MQ.charCodeAt(Ty)]=Ty;var YFe=function(e){var t=e.length*.75,n=e.length,r,i=0,o,a,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var u=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(t):new Array(t),f=Array.isArray(u)?u:new Uint8Array(u);for(r=0;r<n;r+=4)o=Vg[e.charCodeAt(r)],a=Vg[e.charCodeAt(r+1)],s=Vg[e.charCodeAt(r+2)],l=Vg[e.charCodeAt(r+3)],f[i++]=o<<2|a>>4,f[i++]=(a&15)<<4|s>>2,f[i++]=(s&3)<<6|l&63;return u},qFe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n.push(e[r+1]<<8|e[r]);return n},ZFe=function(e){for(var t=e.length,n=[],r=0;r<t;r+=4)n.push(e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]);return n},Nf=5,DL=6+5,RE=2,XFe=DL-Nf,Q9=65536>>Nf,JFe=1<<Nf,PE=JFe-1,eTe=1024>>Nf,tTe=Q9+eTe,nTe=tTe,rTe=32,iTe=nTe+rTe,oTe=65536>>DL,aTe=1<<XFe,sTe=aTe-1,QQ=function(e,t,n){return e.slice?e.slice(t,n):new Uint16Array(Array.prototype.slice.call(e,t,n))},lTe=function(e,t,n){return e.slice?e.slice(t,n):new Uint32Array(Array.prototype.slice.call(e,t,n))},ATe=function(e,t){var n=YFe(e),r=Array.isArray(n)?ZFe(n):new Uint32Array(n),i=Array.isArray(n)?qFe(n):new Uint16Array(n),o=24,a=QQ(i,o/2,r[4]/2),s=r[5]===2?QQ(i,(o+r[4])/2):lTe(r,Math.ceil((o+r[4])/4));return new uTe(r[0],r[1],r[2],r[3],a,s)},uTe=function(){function e(t,n,r,i,o,a){this.initialValue=t,this.errorValue=n,this.highStart=r,this.highValueIndex=i,this.index=o,this.data=a}return e.prototype.get=function(t){var n;if(t>=0){if(t<55296||t>56319&&t<=65535)return n=this.index[t>>Nf],n=(n<<RE)+(t&PE),this.data[n];if(t<=65535)return n=this.index[Q9+(t-55296>>Nf)],n=(n<<RE)+(t&PE),this.data[n];if(t<this.highStart)return n=iTe-oTe+(t>>DL),n=this.index[n],n+=t>>Nf&sTe,n=this.index[n],n=(n<<RE)+(t&PE),this.data[n];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},e}(),HQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",cTe=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Oy=0;Oy<HQ.length;Oy++)cTe[HQ.charCodeAt(Oy)]=Oy;var fTe=1,UE=2,NE=3,$Q=4,jQ=5,dTe=7,zQ=8,ME=9,QE=10,VQ=11,KQ=12,WQ=13,GQ=14,HE=15,hTe=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);(o&64512)===56320?t.push(((i&1023)<<10)+(o&1023)+65536):(t.push(i),n--)}else t.push(i)}return t},pTe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var r=[],i=-1,o="";++i<n;){var a=e[i];a<=65535?r.push(a):(a-=65536,r.push((a>>10)+55296,a%1024+56320)),(i+1===n||r.length>16384)&&(o+=String.fromCharCode.apply(String,r),r.length=0)}return o},gTe=ATe(GFe),Ua="Ã",$E="÷",mTe=function(e){return gTe.get(e)},vTe=function(e,t,n){var r=n-2,i=t[r],o=t[n-1],a=t[n];if(o===UE&&a===NE)return Ua;if(o===UE||o===NE||o===$Q||a===UE||a===NE||a===$Q)return $E;if(o===zQ&&[zQ,ME,VQ,KQ].indexOf(a)!==-1||(o===VQ||o===ME)&&(a===ME||a===QE)||(o===KQ||o===QE)&&a===QE||a===WQ||a===jQ||a===dTe||o===fTe)return Ua;if(o===WQ&&a===GQ){for(;i===jQ;)i=t[--r];if(i===GQ)return Ua}if(o===HE&&a===HE){for(var s=0;i===HE;)s++,i=t[--r];if(s%2===0)return Ua}return $E},_Te=function(e){var t=hTe(e),n=t.length,r=0,i=0,o=t.map(mTe);return{next:function(){if(r>=n)return{done:!0,value:null};for(var a=Ua;r<n&&(a=vTe(t,o,++r))===Ua;);if(a!==Ua||r===n){var s=pTe.apply(null,t.slice(i,r));return i=r,{value:s,done:!1}}return{done:!0,value:null}}}},yTe=function(e){for(var t=_Te(e),n=[],r;!(r=t.next()).done;)r.value&&n.push(r.value.slice());return n},wTe=function(e){var t=123;if(e.createRange){var n=e.createRange();if(n.getBoundingClientRect){var r=e.createElement("boundtest");r.style.height=t+"px",r.style.display="block",e.body.appendChild(r),n.selectNode(r);var i=n.getBoundingClientRect(),o=Math.round(i.height);if(e.body.removeChild(r),o===t)return!0}}return!1},bTe=function(e){var t=e.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",e.body.appendChild(t);var n=e.createRange();t.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var r=t.firstChild,i=GC(r.data).map(function(l){return Qr(l)}),o=0,a={},s=i.every(function(l,u){n.setStart(r,o),n.setEnd(r,o+l.length);var f=n.getBoundingClientRect();o+=l.length;var d=f.x>a.x||f.y>a.y;return a=f,u===0?!0:d});return e.body.removeChild(t),s},BTe=function(){return typeof new Image().crossOrigin<"u"},CTe=function(){return typeof new XMLHttpRequest().responseType=="string"},xTe=function(e){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch{return!1}return!0},YQ=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},ETe=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,n,n);var i=new Image,o=t.toDataURL();i.src=o;var a=LO(n,n,0,0,i);return r.fillStyle="red",r.fillRect(0,0,n,n),qQ(a).then(function(s){r.drawImage(s,0,0);var l=r.getImageData(0,0,n,n).data;r.fillStyle="red",r.fillRect(0,0,n,n);var u=e.createElement("div");return u.style.backgroundImage="url("+o+")",u.style.height=n+"px",YQ(l)?qQ(LO(n,n,0,0,u)):Promise.reject(!1)}).then(function(s){return r.drawImage(s,0,0),YQ(r.getImageData(0,0,n,n).data)}).catch(function(){return!1})},LO=function(e,t,n,r,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",r.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},qQ=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},Ci={get SUPPORT_RANGE_BOUNDS(){var e=wTe(document);return Object.defineProperty(Ci,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=Ci.SUPPORT_RANGE_BOUNDS&&bTe(document);return Object.defineProperty(Ci,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=xTe(document);return Object.defineProperty(Ci,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?ETe(document):Promise.resolve(!1);return Object.defineProperty(Ci,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=BTe();return Object.defineProperty(Ci,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=CTe();return Object.defineProperty(Ci,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ci,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Ci,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},xm=function(){function e(t,n){this.text=t,this.bounds=n}return e}(),STe=function(e,t,n,r){var i=OTe(t,n),o=[],a=0;return i.forEach(function(s){if(n.textDecorationLine.length||s.trim().length>0)if(Ci.SUPPORT_RANGE_BOUNDS){var l=ZQ(r,a,s.length).getClientRects();if(l.length>1){var u=RL(s),f=0;u.forEach(function(g){o.push(new xm(g,UA.fromDOMRectList(e,ZQ(r,f+a,g.length).getClientRects()))),f+=g.length})}else o.push(new xm(s,UA.fromDOMRectList(e,l)))}else{var d=r.splitText(s.length);o.push(new xm(s,FTe(e,r))),r=d}else Ci.SUPPORT_RANGE_BOUNDS||(r=r.splitText(s.length));a+=s.length}),o},FTe=function(e,t){var n=t.ownerDocument;if(n){var r=n.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var i=t.parentNode;if(i){i.replaceChild(r,t);var o=WC(e,r);return r.firstChild&&i.replaceChild(r.firstChild,r),o}}return UA.EMPTY},ZQ=function(e,t,n){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var i=r.createRange();return i.setStart(e,t),i.setEnd(e,t+n),i},RL=function(e){if(Ci.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map(function(n){return n.segment})}return yTe(e)},TTe=function(e,t){if(Ci.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map(function(r){return r.segment})}return ITe(e,t)},OTe=function(e,t){return t.letterSpacing!==0?RL(e):TTe(e,t)},kTe=[32,160,4961,65792,65793,4153,4241],ITe=function(e,t){for(var n=oEe(e,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap==="break-word"?"break-word":t.wordBreak}),r=[],i,o=function(){if(i.value){var a=i.value.slice(),s=GC(a),l="";s.forEach(function(u){kTe.indexOf(u)===-1?l+=Qr(u):(l.length&&r.push(l),r.push(Qr(u)),l="")}),l.length&&r.push(l)}};!(i=n.next()).done;)o();return r},LTe=function(){function e(t,n,r){this.text=DTe(n.data,r.textTransform),this.textBounds=STe(t,this.text,r,n)}return e}(),DTe=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(RTe,PTe);case 2:return e.toUpperCase();default:return e}},RTe=/(^|\s|:|-|\(|\))([a-z])/g,PTe=function(e,t,n){return e.length>0?t+n.toUpperCase():e},H9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.src=r.currentSrc||r.src,i.intrinsicWidth=r.naturalWidth,i.intrinsicHeight=r.naturalHeight,i.context.cache.addImage(i.src),i}return t}(Il),$9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.canvas=r,i.intrinsicWidth=r.width,i.intrinsicHeight=r.height,i}return t}(Il),j9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this,o=new XMLSerializer,a=WC(n,r);return r.setAttribute("width",a.width+"px"),r.setAttribute("height",a.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(o.serializeToString(r)),i.intrinsicWidth=r.width.baseVal.value,i.intrinsicHeight=r.height.baseVal.value,i.context.cache.addImage(i.svg),i}return t}(Il),z9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.value=r.value,i}return t}(Il),DO=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.start=r.start,i.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,i}return t}(Il),UTe=[{type:15,flags:0,unit:"px",number:3}],NTe=[{type:16,flags:0,number:50}],MTe=function(e){return e.width>e.height?new UA(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width<e.height?new UA(e.left,e.top+(e.height-e.width)/2,e.width,e.width):e},QTe=function(e){var t=e.type===HTe?new Array(e.value.length+1).join("â¢"):e.value;return t.length===0?e.placeholder||"":t},uB="checkbox",cB="radio",HTe="password",XQ=707406591,PL=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;switch(i.type=r.type.toLowerCase(),i.checked=r.checked,i.value=QTe(r),(i.type===uB||i.type===cB)&&(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=MTe(i.bounds)),i.type){case uB:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=UTe;break;case cB:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=NTe;break}return i}return t}(Il),V9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this,o=r.options[r.selectedIndex||0];return i.value=o&&o.text||"",i}return t}(Il),K9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.value=r.value,i}return t}(Il),W9=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;i.src=r.src,i.width=parseInt(r.width,10)||0,i.height=parseInt(r.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(r.contentWindow&&r.contentWindow.document&&r.contentWindow.document.documentElement){i.tree=Y9(n,r.contentWindow.document.documentElement);var o=r.contentWindow.document.documentElement?Bm(n,getComputedStyle(r.contentWindow.document.documentElement).backgroundColor):TA.TRANSPARENT,a=r.contentWindow.document.body?Bm(n,getComputedStyle(r.contentWindow.document.body).backgroundColor):TA.TRANSPARENT;i.backgroundColor=ec(o)?ec(a)?i.styles.backgroundColor:a:o}}catch{}return i}return t}(Il),$Te=["OL","UL","MENU"],hw=function(e,t,n,r){for(var i=t.firstChild,o=void 0;i;i=o)if(o=i.nextSibling,q9(i)&&i.data.trim().length>0)n.textNodes.push(new LTe(e,i,n.styles));else if(Bh(i))if(e7(i)&&i.assignedNodes)i.assignedNodes().forEach(function(s){return hw(e,s,n,r)});else{var a=G9(e,i);a.styles.isVisible()&&(jTe(i,a,r)?a.flags|=4:zTe(a.styles)&&(a.flags|=2),$Te.indexOf(i.tagName)!==-1&&(a.flags|=8),n.elements.push(a),i.slot,i.shadowRoot?hw(e,i.shadowRoot,a,r):!fB(i)&&!Z9(i)&&!dB(i)&&hw(e,i,a,r))}},G9=function(e,t){return PO(t)?new H9(e,t):X9(t)?new $9(e,t):Z9(t)?new j9(e,t):VTe(t)?new z9(e,t):KTe(t)?new DO(e,t):WTe(t)?new PL(e,t):dB(t)?new V9(e,t):fB(t)?new K9(e,t):J9(t)?new W9(e,t):new Il(e,t)},Y9=function(e,t){var n=G9(e,t);return n.flags|=4,hw(e,t,n,n),n},jTe=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||UL(e)&&n.styles.isTransparent()},zTe=function(e){return e.isPositioned()||e.isFloating()},q9=function(e){return e.nodeType===Node.TEXT_NODE},Bh=function(e){return e.nodeType===Node.ELEMENT_NODE},RO=function(e){return Bh(e)&&typeof e.style<"u"&&!pw(e)},pw=function(e){return typeof e.className=="object"},VTe=function(e){return e.tagName==="LI"},KTe=function(e){return e.tagName==="OL"},WTe=function(e){return e.tagName==="INPUT"},GTe=function(e){return e.tagName==="HTML"},Z9=function(e){return e.tagName==="svg"},UL=function(e){return e.tagName==="BODY"},X9=function(e){return e.tagName==="CANVAS"},JQ=function(e){return e.tagName==="VIDEO"},PO=function(e){return e.tagName==="IMG"},J9=function(e){return e.tagName==="IFRAME"},e4=function(e){return e.tagName==="STYLE"},YTe=function(e){return e.tagName==="SCRIPT"},fB=function(e){return e.tagName==="TEXTAREA"},dB=function(e){return e.tagName==="SELECT"},e7=function(e){return e.tagName==="SLOT"},t4=function(e){return e.tagName.indexOf("-")>0},qTe=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(t){var n=this.counters[t];return n&&n.length?n[n.length-1]:1},e.prototype.getCounterValues=function(t){var n=this.counters[t];return n||[]},e.prototype.pop=function(t){var n=this;t.forEach(function(r){return n.counters[r].pop()})},e.prototype.parse=function(t){var n=this,r=t.counterIncrement,i=t.counterReset,o=!0;r!==null&&r.forEach(function(s){var l=n.counters[s.counter];l&&s.increment!==0&&(o=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=s.increment)});var a=[];return o&&i.forEach(function(s){var l=n.counters[s.counter];a.push(s.counter),l||(l=n.counters[s.counter]=[]),l.push(s.reset)}),a},e}(),n4={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},r4={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,9
vendor: 5,332 bytes, line 392
3920,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ","Õ
","Õ","Õ","Õ","Õ","Õ","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},ZTe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","×׳","ת","ש","ר","×§","צ","פ","×¢","ס","× ","×","×","×","××","××","××","××","××","×","×","×","×","×","×","×","×","×","×"]},XTe={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["áµ","á°","á¯","á´","á®","á","á¬","á«","áª","á©","á¨","á§","á¦","á¥","á¤","á³","á¢","á¡","á ","á","á","á","á²","á","á","á","á","á","á","á±","á","á","á","á","á","á","á"]},Yd=function(e,t,n,r,i,o){return e<t||e>n?Av(e,i,o.length>0):r.integers.reduce(function(a,s,l){for(;e>=s;)e-=s,a+=r.values[l];return a},"")+o},t7=function(e,t,n,r){var i="";do n||e--,i=r(e)+i,e/=t;while(e*t>=t);return i},Mr=function(e,t,n,r,i){var o=n-t+1;return(e<0?"-":"")+(t7(Math.abs(e),o,r,function(a){return Qr(Math.floor(a%o)+t)})+i)},cf=function(e,t,n){n===void 0&&(n=". ");var r=t.length;return t7(Math.abs(e),r,!1,function(i){return t[Math.floor(i%r)]})+n},ah=1,xu=2,Eu=4,Kg=8,fA=function(e,t,n,r,i,o){if(e<-9999||e>9999)return Av(e,4,i.length>0);var a=Math.abs(e),s=i;if(a===0)return t[0]+s;for(var l=0;a>0&&l<=4;l++){var u=a%10;u===0&&ni(o,ah)&&s!==""?s=t[u]+s:u>1||u===1&&l===0||u===1&&l===1&&ni(o,xu)||u===1&&l===1&&ni(o,Eu)&&e>100||u===1&&l>1&&ni(o,Kg)?s=t[u]+(l>0?n[l-1]:"")+s:u===1&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(e<0?r:"")+s},i4="åç¾åè¬",o4="æ¾ä½°ä»è¬",a4="ãã¤ãã¹",jE="ë§ì´ëì¤",Av=function(e,t,n){var r=n?". ":"",i=n?"ã":"",o=n?", ":"",a=n?" ":"";switch(t){case 0:return"â¢"+a;case 1:return"â¦"+a;case 2:return"â¾"+a;case 5:var s=Mr(e,48,57,!0,r);return s.length<4?"0"+s:s;case 4:return cf(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹",i);case 6:return Yd(e,1,3999,n4,3,r).toLowerCase();case 7:return Yd(e,1,3999,n4,3,r);case 8:return Mr(e,945,969,!1,r);case 9:return Mr(e,97,122,!1,r);case 10:return Mr(e,65,90,!1,r);case 11:return Mr(e,1632,1641,!0,r);case 12:case 49:return Yd(e,1,9999,r4,3,r);case 35:return Yd(e,1,9999,r4,3,r).toLowerCase();case 13:return Mr(e,2534,2543,!0,r);case 14:case 30:return Mr(e,6112,6121,!0,r);case 15:return cf(e,"åä¸å¯
å¯è¾°å·³åæªç³é
æäº¥",i);case 16:return cf(e,"ç²ä¹ä¸ä¸æå·±åºè¾å£¬ç¸",i);case 17:case 48:return fA(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",i4,"è² ",i,xu|Eu|Kg);case 47:return fA(e,"é¶å£¹è²³åèä¼é¸ææç",o4,"è² ",i,ah|xu|Eu|Kg);case 42:return fA(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹",i4,"è´",i,xu|Eu|Kg);case 41:return fA(e,"é¶å£¹è´°åèä¼éææç",o4,"è´",i,ah|xu|Eu|Kg);case 26:return fA(e,"ãä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åä¸",a4,i,0);case 25:return fA(e,"é¶å£±å¼ååä¼å
ä¸å
«ä¹","æ¾ç¾åä¸",a4,i,ah|xu|Eu);case 31:return fA(e,"ìì¼ì´ì¼ì¬ì¤ì¡ì¹ í구","ìë°±ì²ë§",jE,o,ah|xu|Eu);case 33:return fA(e,"é¶ä¸äºä¸åäºå
ä¸å
«ä¹","åç¾åè¬",jE,o,0);case 32:return fA(e,"é¶å£¹è²³ååäºå
ä¸å
«ä¹","æ¾ç¾å",jE,o,ah|xu|Eu);case 18:return Mr(e,2406,2415,!0,r);case 20:return Yd(e,1,19999,XTe,3,r);case 21:return Mr(e,2790,2799,!0,r);case 22:return Mr(e,2662,2671,!0,r);case 22:return Yd(e,1,10999,ZTe,3,r);case 23:return cf(e,"ããããããããããããããããã¡ã¤ã¦ã¨ãªã«ã¬ãã®ã¯ã²ãµã¸ã»ã¾ã¿ãããããããããããããããã");case 24:return cf(e,"ããã¯ã«ã»ã¸ã¨ã¡ãã¬ããããããããã¤ããªããããã®ãããã¾ããµããã¦ãããããã¿ããã²ããã");case 27:return Mr(e,3302,3311,!0,r);case 28:return cf(e,"ã¢ã¤ã¦ã¨ãªã«ãã¯ã±ã³ãµã·ã¹ã»ã½ã¿ããããããããããããããããã ã¡ã¢ã¤ã¦ã¨ã©ãªã«ã¬ãã¯ã°ã±ã²ã³",i);case 29:return cf(e,"ã¤ããããããããªãã«ã²ã¯ã«ã¨ã¿ã¬ã½ãããã©ã ã¦ã°ããªã¯ã¤ãã±ãã³ã¨ãã¢ãµãã¦ã¡ãã·ã±ãã¢ã»ã¹",i);case 34:return Mr(e,3792,3801,!0,r);case 37:return Mr(e,6160,6169,!0,r);case 38:return Mr(e,4160,4169,!0,r);case 39:return Mr(e,2918,2927,!0,r);case 40:return Mr(e,1776,1785,!0,r);case 43:return Mr(e,3046,3055,!0,r);case 44:return Mr(e,3174,3183,!0,r);case 45:return Mr(e,3664,3673,!0,r);case 46:return Mr(e,3872,3881,!0,r);case 3:default:return Mr(e,48,57,!0,r)}},n7="data-html2canvas-ignore",s4=function(){function e(t,n,r){if(this.context=t,this.options=r,this.scrolledElements=[],this.referenceElement=n,this.counters=new qTe,this.quoteDepth=0,!n.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(n.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(t,n){var r=this,i=JTe(t,n);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var o=t.defaultView.pageXOffset,a=t.defaultView.pageYOffset,s=i.contentWindow,l=s.document,u=nOe(i).then(function(){return to(r,void 0,void 0,function(){var f,d;return Ni(this,function(g){switch(g.label){case 0:return this.scrolledElements.forEac
vendor: 8,943 bytes, lines 392-396
392h(aOe),s&&(s.scrollTo(n.left,n.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==n.top||s.scrollX!==n.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-n.left,s.scrollY-n.top,0,0))),f=this.options.onclone,d=this.clonedReferenceElement,typeof d>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:g.sent(),g.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,tOe(l)]:[3,4];case 3:g.sent(),g.label=4;case 4:return typeof f=="function"?[2,Promise.resolve().then(function(){return f(l,d)}).then(function(){return i})]:[2,i]}})})});return l.open(),l.write(iOe(document.doctype)+"<html></html>"),oOe(this.referenceElement.ownerDocument,o,a),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},e.prototype.createElementClone=function(t){if(IO(t,2))debugger;if(X9(t))return this.createCanvasClone(t);if(JQ(t))return this.createVideoClone(t);if(e4(t))return this.createStyleClone(t);var n=t.cloneNode(!1);return PO(n)&&(PO(t)&&t.currentSrc&&t.currentSrc!==t.src&&(n.src=t.currentSrc,n.srcset=""),n.loading==="lazy"&&(n.loading="eager")),t4(n)?this.createCustomElementClone(n):n},e.prototype.createCustomElementClone=function(t){var n=document.createElement("html2canvascustomelement");return zE(t.style,n),n},e.prototype.createStyleClone=function(t){try{var n=t.sheet;if(n&&n.cssRules){var r=[].slice.call(n.cssRules,0).reduce(function(o,a){return a&&typeof a.cssText=="string"?o+a.cssText:o},""),i=t.cloneNode(!1);return i.textContent=r,i}}catch(o){if(this.context.logger.error("Unable to access cssRules property",o),o.name!=="SecurityError")throw o}return t.cloneNode(!1)},e.prototype.createCanvasClone=function(t){var n;if(this.options.inlineImages&&t.ownerDocument){var r=t.ownerDocument.createElement("img");try{return r.src=t.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var i=t.cloneNode(!1);try{i.width=t.width,i.height=t.height;var o=t.getContext("2d"),a=i.getContext("2d");if(a)if(!this.options.allowTaint&&o)a.putImageData(o.getImageData(0,0,t.width,t.height),0,0);else{var s=(n=t.getContext("webgl2"))!==null&&n!==void 0?n:t.getContext("webgl");if(s){var l=s.getContextAttributes();(l==null?void 0:l.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}a.drawImage(t,0,0)}return i}catch{this.context.logger.info("Unable to clone canvas as it is tainted",t)}return i},e.prototype.createVideoClone=function(t){var n=t.ownerDocument.createElement("canvas");n.width=t.offsetWidth,n.height=t.offsetHeight;var r=n.getContext("2d");try{return r&&(r.drawImage(t,0,0,n.width,n.height),this.options.allowTaint||r.getImageData(0,0,n.width,n.height)),n}catch{this.context.logger.info("Unable to clone video as it is tainted",t)}var i=t.ownerDocument.createElement("canvas");return i.width=t.offsetWidth,i.height=t.offsetHeight,i},e.prototype.appendChildNode=function(t,n,r){(!Bh(n)||!YTe(n)&&!n.hasAttribute(n7)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(n)))&&(!this.options.copyStyles||!Bh(n)||!e4(n))&&t.appendChild(this.cloneNode(n,r))},e.prototype.cloneChildNodes=function(t,n,r){for(var i=this,o=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;o;o=o.nextSibling)if(Bh(o)&&e7(o)&&typeof o.assignedNodes=="function"){var a=o.assignedNodes();a.length&&a.forEach(function(s){return i.appendChildNode(n,s,r)})}else this.appendChildNode(n,o,r)},e.prototype.cloneNode=function(t,n){if(q9(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var r=t.ownerDocument.defaultView;if(r&&Bh(t)&&(RO(t)||pw(t))){var i=this.createElementClone(t);i.style.transitionProperty="none";var o=r.getComputedStyle(t),a=r.getComputedStyle(t,":before"),s=r.getComputedStyle(t,":after");this.referenceElement===t&&RO(i)&&(this.clonedReferenceElement=i),UL(i)&&AOe(i);var l=this.counters.parse(new NQ(this.context,o)),u=this.resolvePseudoContent(t,i,a,Em.BEFORE);t4(t)&&(n=!0),JQ(t)||this.cloneChildNodes(t,i,n),u&&i.insertBefore(u,i.firstChild);var f=this.resolvePseudoContent(t,i,s,Em.AFTER);return f&&i.appendChild(f),this.counters.pop(l),(o&&(this.options.copyStyles||pw(t))&&!J9(t)||n)&&zE(o,i),(t.scrollTop!==0||t.scrollLeft!==0)&&this.scrolledElements.push([i,t.scrollLeft,t.scrollTop]),(fB(t)||dB(t))&&(fB(i)||dB(i))&&(i.value=t.value),i}return t.cloneNode(!1)},e.prototype.resolvePseudoContent=function(t,n,r,i){var o=this;if(r){var a=r.content,s=n.ownerDocument;if(!(!s||!a||a==="none"||a==="-moz-alt-content"||r.display==="none")){this.counters.parse(new NQ(this.context,r));var l=new VFe(this.context,r),u=s.createElement("html2canvaspseudoelement");zE(r,u),l.content.forEach(function(d){if(d.type===0)u.appendChild(s.createTextNode(d.value));else if(d.type===22){var g=s.createElement("img");g.src=d.value,g.style.opacity="1",u.appendChild(g)}else if(d.type===18){if(d.name==="attr"){var m=d.values.filter(Vn);m.length&&u.appendChild(s.createTextNode(t.getAttribute(m[0].value)||""))}else if(d.name==="counter"){var v=d.values.filter(sp),y=v[0],x=v[1];if(y&&Vn(y)){var C=o.counters.getCounterValue(y.value),b=x&&Vn(x)?kO.parse(o.context,x.value):3;u.appendChild(s.createTextNode(Av(C,b,!1)))}}else if(d.name==="counters"){var E=d.values.filter(sp),y=E[0],T=E[1],x=E[2];if(y&&Vn(y)){var D=o.counters.getCounterValues(y.value),I=x&&Vn(x)?kO.parse(o.context,x.value):3,U=T&&T.type===0?T.value:"",H=D.map(function(z){return Av(z,I,!1)}).join(U);u.appendChild(s.createTextNode(H))}}}else if(d.type===20)switch(d.value){case"open-quote":u.appendChild(s.createTextNode(UQ(l.quotes,o.quoteDepth++,!0)));break;case"close-quote":u.appendChild(s.createTextNode(UQ(l.quotes,--o.quoteDepth,!1)));break;default:u.appendChild(s.createTextNode(d.value))}}),u.className=UO+" "+NO;var f=i===Em.BEFORE?" "+UO:" "+NO;return pw(n)?n.className.baseValue+=f:n.className+=f,u}}},e.destroy=function(t){return t.parentNode?(t.parentNode.removeChild(t),!0):!1},e}(),Em;(function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"})(Em||(Em={}));var JTe=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(n7,"true"),e.body.appendChild(n),n},eOe=function(e){return new Promise(function(t){if(e.complete){t();return}if(!e.src){t();return}e.onload=t,e.onerror=t})},tOe=function(e){return Promise.all([].slice.call(e.images,0).map(eOe))},nOe=function(e){return new Promise(function(t,n){var r=e.contentWindow;if(!r)return n("No window assigned for iframe");var i=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var o=setInterval(function(){i.body.childNodes.length>0&&i.readyState==="complete"&&(clearInterval(o),t(e))},50)}})},rOe=["all","d","content"],zE=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e.item(n);rOe.indexOf(r)===-1&&t.style.setProperty(r,e.getPropertyValue(r))}return t},iOe=function(e){var t="";return e&&(t+="<!DOCTYPE ",e.name&&(t+=e.name),e.internalSubset&&(t+=e.internalSubset),e.publicId&&(t+='"'+e.publicId+'"'),e.systemId&&(t+='"'+e.systemId+'"'),t+=">"),t},oOe=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},aOe=function(e){var t=e[0],n=e[1],r=e[2];t.scrollLeft=n,t.scrollTop=r},sOe=":before",lOe=":after",UO="___html2canvas___pseudoelement_before",NO="___html2canvas___pseudoelement_after",l4=`{ 393 content: "" !important; 394 display: none !important; 395}`,AOe=function(e){uOe(e,"."+UO+sOe+l4+` 396 .`+NO+lOe+l4)},uOe=function(e,t){var n=e.ownerDocument;if(n){var r=n.createElement("style");r.textContent=t,e.appendChild(r)}},r7=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),cOe=function(){function e(t,n){this.context=t,this._options=n,this._cache={}}return e.prototype.addImage=function(t){var n=Promise.resolve();return this.has(t)||(KE(t)||pOe(t))&&(this._cache[t]=this.loadImage(t)).catch(function(){}),n},e.prototype.match=function(t){return this._cache[t]},e.prototype.loadImage=function(t){return to(this,void 0,void 0,function(){var n,r,i,o,a=this;return Ni(this,function(s){switch(s.label){case 0:return n=r7.isSameOrigin(t),r=!VE(t)&&this._options.useCORS===!0&&Ci.SUPPORT_CORS_IMAGES&&!n,i=!VE(t)&&!n&&!KE(t)&&typeof this._options.proxy=="str
396ing"&&Ci.SUPPORT_CORS_XHR&&!r,!n&&this._options.allowTaint===!1&&!VE(t)&&!KE(t)&&!i&&!r?[2]:(o=t,i?[4,this.proxy(o)]:[3,2]);case 1:o=s.sent(),s.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(l,u){var f=new Image;f.onload=function(){return l(f)},f.onerror=u,(gOe(o)||r)&&(f.crossOrigin="anonymous"),f.src=o,f.complete===!0&&setTimeout(function(){return l(f)},500),a._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,s.sent()]}})})},e.prototype.has=function(t){return typeof this._cache[t]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(t){var n=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var i=t.substring(0,256);return new Promise(function(o,a){var s=Ci.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(s==="text")o(l.response);else{var d=new FileReader;d.addEventListener("load",function(){return o(d.result)},!1),d.addEventListener("error",function(g){return a(g)},!1),d.readAsDataURL(l.response)}else a("Failed to proxy resource "+i+" with status code "+l.status)},l.onerror=a;var u=r.indexOf("?")>-1?"&":"?";if(l.open("GET",""+r+u+"url="+encodeURIComponent(t)+"&responseType="+s),s!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=s),n._options.imageTimeout){var f=n._options.imageTimeout;l.timeout=f,l.ontimeout=function(){return a("Timed out ("+f+"ms) proxying "+i)}}l.send()})},e}(),fOe=/^data:image\/svg\+xml/i,dOe=/^data:image\/.*;base64,/i,hOe=/^data:image\/.*/i,pOe=function(e){return Ci.SUPPORT_SVG_DRAWING||!mOe(e)},VE=function(e){return hOe.test(e)},gOe=function(e){return dOe.test(e)},KE=function(e){return e.substr(0,4)==="blob"},mOe=function(e){return e.substr(-3).toLowerCase()==="svg"||fOe.test(e)},ot=function(){function e(t,n){this.type=0,this.x=t,this.y=n}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),qd=function(e,t,n){return new ot(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},ky=function(){function e(t,n,r,i){this.type=1,this.start=t,this.startControl=n,this.endControl=r,this.end=i}return e.prototype.subdivide=function(t,n){var r=qd(this.start,this.startControl,t),i=qd(this.startControl,this.endControl,t),o=qd(this.endControl,this.end,t),a=qd(r,i,t),s=qd(i,o,t),l=qd(a,s,t);return n?new e(this.start,r,a,l):new e(l,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),ja=function(e){return e.type===1}
vendor: 20,313 bytes, line 396
396,vOe=function(){function e(t){var n=t.styles,r=t.bounds,i=zg(n.borderTopLeftRadius,r.width,r.height),o=i[0],a=i[1],s=zg(n.borderTopRightRadius,r.width,r.height),l=s[0],u=s[1],f=zg(n.borderBottomRightRadius,r.width,r.height),d=f[0],g=f[1],m=zg(n.borderBottomLeftRadius,r.width,r.height),v=m[0],y=m[1],x=[];x.push((o+l)/r.width),x.push((v+d)/r.width),x.push((a+y)/r.height),x.push((u+g)/r.height);var C=Math.max.apply(Math,x);C>1&&(o/=C,a/=C,l/=C,u/=C,d/=C,g/=C,v/=C,y/=C);var b=r.width-l,E=r.height-g,T=r.width-d,D=r.height-y,I=n.borderTopWidth,U=n.borderRightWidth,H=n.borderBottomWidth,V=n.borderLeftWidth,j=rr(n.paddingTop,t.bounds.width),z=rr(n.paddingRight,t.bounds.width),q=rr(n.paddingBottom,t.bounds.width),Z=rr(n.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=o>0||a>0?hr(r.left+V/3,r.top+I/3,o-V/3,a-I/3,Rn.TOP_LEFT):new ot(r.left+V/3,r.top+I/3),this.topRightBorderDoubleOuterBox=o>0||a>0?hr(r.left+b,r.top+I/3,l-U/3,u-I/3,Rn.TOP_RIGHT):new ot(r.left+r.width-U/3,r.top+I/3),this.bottomRightBorderDoubleOuterBox=d>0||g>0?hr(r.left+T,r.top+E,d-U/3,g-H/3,Rn.BOTTOM_RIGHT):new ot(r.left+r.width-U/3,r.top+r.height-H/3),this.bottomLeftBorderDoubleOuterBox=v>0||y>0?hr(r.left+V/3,r.top+D,v-V/3,y-H/3,Rn.BOTTOM_LEFT):new ot(r.left+V/3,r.top+r.height-H/3),this.topLeftBorderDoubleInnerBox=o>0||a>0?hr(r.left+V*2/3,r.top+I*2/3,o-V*2/3,a-I*2/3,Rn.TOP_LEFT):new ot(r.left+V*2/3,r.top+I*2/3),this.topRightBorderDoubleInnerBox=o>0||a>0?hr(r.left+b,r.top+I*2/3,l-U*2/3,u-I*2/3,Rn.TOP_RIGHT):new ot(r.left+r.width-U*2/3,r.top+I*2/3),this.bottomRightBorderDoubleInnerBox=d>0||g>0?hr(r.left+T,r.top+E,d-U*2/3,g-H*2/3,Rn.BOTTOM_RIGHT):new ot(r.left+r.width-U*2/3,r.top+r.height-H*2/3),this.bottomLeftBorderDoubleInnerBox=v>0||y>0?hr(r.left+V*2/3,r.top+D,v-V*2/3,y-H*2/3,Rn.BOTTOM_LEFT):new ot(r.left+V*2/3,r.top+r.height-H*2/3),this.topLeftBorderStroke=o>0||a>0?hr(r.left+V/2,r.top+I/2,o-V/2,a-I/2,Rn.TOP_LEFT):new ot(r.left+V/2,r.top+I/2),this.topRightBorderStroke=o>0||a>0?hr(r.left+b,r.top+I/2,l-U/2,u-I/2,Rn.TOP_RIGHT):new ot(r.left+r.width-U/2,r.top+I/2),this.bottomRightBorderStroke=d>0||g>0?hr(r.left+T,r.top+E,d-U/2,g-H/2,Rn.BOTTOM_RIGHT):new ot(r.left+r.width-U/2,r.top+r.height-H/2),this.bottomLeftBorderStroke=v>0||y>0?hr(r.left+V/2,r.top+D,v-V/2,y-H/2,Rn.BOTTOM_LEFT):new ot(r.left+V/2,r.top+r.height-H/2),this.topLeftBorderBox=o>0||a>0?hr(r.left,r.top,o,a,Rn.TOP_LEFT):new ot(r.left,r.top),this.topRightBorderBox=l>0||u>0?hr(r.left+b,r.top,l,u,Rn.TOP_RIGHT):new ot(r.left+r.width,r.top),this.bottomRightBorderBox=d>0||g>0?hr(r.left+T,r.top+E,d,g,Rn.BOTTOM_RIGHT):new ot(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=v>0||y>0?hr(r.left,r.top+D,v,y,Rn.BOTTOM_LEFT):new ot(r.left,r.top+r.height),this.topLeftPaddingBox=o>0||a>0?hr(r.left+V,r.top+I,Math.max(0,o-V),Math.max(0,a-I),Rn.TOP_LEFT):new ot(r.left+V,r.top+I),this.topRightPaddingBox=l>0||u>0?hr(r.left+Math.min(b,r.width-U),r.top+I,b>r.width+U?0:Math.max(0,l-U),Math.max(0,u-I),Rn.TOP_RIGHT):new ot(r.left+r.width-U,r.top+I),this.bottomRightPaddingBox=d>0||g>0?hr(r.left+Math.min(T,r.width-V),r.top+Math.min(E,r.height-H),Math.max(0,d-U),Math.max(0,g-H),Rn.BOTTOM_RIGHT):new ot(r.left+r.width-U,r.top+r.height-H),this.bottomLeftPaddingBox=v>0||y>0?hr(r.left+V,r.top+Math.min(D,r.height-H),Math.max(0,v-V),Math.max(0,y-H),Rn.BOTTOM_LEFT):new ot(r.left+V,r.top+r.height-H),this.topLeftContentBox=o>0||a>0?hr(r.left+V+Z,r.top+I+j,Math.max(0,o-(V+Z)),Math.max(0,a-(I+j)),Rn.TOP_LEFT):new ot(r.left+V+Z,r.top+I+j),this.topRightContentBox=l>0||u>0?hr(r.left+Math.min(b,r.width+V+Z),r.top+I+j,b>r.width+V+Z?0:l-V+Z,u-(I+j),Rn.TOP_RIGHT):new ot(r.left+r.width-(U+z),r.top+I+j),this.bottomRightContentBox=d>0||g>0?hr(r.left+Math.min(T,r.width-(V+Z)),r.top+Math.min(E,r.height+I+j),Math.max(0,d-(U+z)),g-(H+q),Rn.BOTTOM_RIGHT):new ot(r.left+r.width-(U+z),r.top+r.height-(H+q)),this.bottomLeftContentBox=v>0||y>0?hr(r.left+V+Z,r.top+D,Math.max(0,v-(V+Z)),y-(H+q),Rn.BOTTOM_LEFT):new ot(r.left+V+Z,r.top+r.height-(H+q))}return e}(),Rn;(function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Rn||(Rn={}));var hr=function(e,t,n,r,i){var o=4*((Math.sqrt(2)-1)/3),a=n*o,s=r*o,l=e+n,u=t+r;switch(i){case Rn.TOP_LEFT:return new ky(new ot(e,u),new ot(e,u-s),new ot(l-a,t),new ot(l,t));case Rn.TOP_RIGHT:return new ky(new ot(e,t),new ot(e+a,t),new ot(l,u-s),new ot(l,u));case Rn.BOTTOM_RIGHT:return new ky(new ot(l,t),new ot(l,t+s),new ot(e+a,u),new ot(e,u));case Rn.BOTTOM_LEFT:default:return new ky(new ot(l,u),new ot(l-a,u),new ot(e,t+s),new ot(e,t))}},hB=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},_Oe=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},pB=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},yOe=function(){function e(t,n,r){this.offsetX=t,this.offsetY=n,this.matrix=r,this.type=0,this.target=6}return e}(),Iy=function(){function e(t,n){this.path=t,this.target=n,this.type=1}return e}(),wOe=function(){function e(t){this.opacity=t,this.type=2,this.target=6}return e}(),bOe=function(e){return e.type===0},i7=function(e){return e.type===1},BOe=function(e){return e.type===2},A4=function(e,t){return e.length===t.length?e.some(function(n,r){return n===t[r]}):!1},COe=function(e,t,n,r,i){return e.map(function(o,a){switch(a){case 0:return o.add(t,n);case 1:return o.add(t+r,n);case 2:return o.add(t+r,n+i);case 3:return o.add(t,n+i)}return o})},o7=function(){function e(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),a7=function(){function e(t,n){if(this.container=t,this.parent=n,this.effects=[],this.curves=new vOe(this.container),this.container.styles.opacity<1&&this.effects.push(new wOe(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,o=this.container.styles.transform;this.effects.push(new yOe(r,i,o))}if(this.container.styles.overflowX!==0){var a=hB(this.curves),s=pB(this.curves);A4(a,s)?this.effects.push(new Iy(a,6)):(this.effects.push(new Iy(a,2)),this.effects.push(new Iy(s,4)))}}return e.prototype.getEffects=function(t){for(var n=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,i=this.effects.slice(0);r;){var o=r.effects.filter(function(l){return!i7(l)});if(n||r.container.styles.position!==0||!r.parent){if(i.unshift.apply(i,o),n=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var a=hB(r.curves),s=pB(r.curves);A4(a,s)||i.unshift(new Iy(s,6))}}else i.unshift.apply(i,o);r=r.parent}return i.filter(function(l){return ni(l.target,t)})},e}(),MO=function(e,t,n,r){e.container.elements.forEach(function(i){var o=ni(i.flags,4),a=ni(i.flags,2),s=new a7(i,e);ni(i.styles.display,2048)&&r.push(s);var l=ni(i.flags,8)?[]:r;if(o||a){var u=o||i.styles.isPositioned()?n:t,f=new o7(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var d=i.styles.zIndex.order;if(d<0){var g=0;u.negativeZIndex.some(function(v,y){return d>v.element.container.styles.zIndex.order?(g=y,!1):g>0}),u.negativeZIndex.splice(g,0,f)}else if(d>0){var m=0;u.positiveZIndex.some(function(v,y){return d>=v.element.container.styles.zIndex.order?(m=y+1,!1):m>0}),u.positiveZIndex.splice(m,0,f)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(f)}else i.styles.isFloating()?u.nonPositionedFloats.push(f):u.nonPositionedInlineLevel.push(f);MO(s,f,o?f:n,l)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),MO(s,t,n,l);ni(i.flags,8)&&s7(i,l)})},s7=function(e,t){for(var n=e instanceof DO?e.start:1,r=e instanceof DO?e.reversed:!1,i=0;i<t.length;i++){var o=t[i];o.container instanceof z9&&typeof o.container.value=="number"&&o.container.value!==0&&(n=o.container.value),o.listValue=Av(n,o.container.styles.listStyleType,!0),n+=r?-1:1}},xOe=function(e){var t=new a7(e,null),n=new o7(t),r=[];return MO(t,n,n,r),s7(t.container,r),n},u4=function(e,t){switch(t){case 0:return Ka(e.topLeftBorderBox,e.topLeftPaddingBox,e.topRightBorderBox,e.topRightPaddingBox);case 1:return Ka(e.topRightBorderBox,e.topRightPaddingBox,e.bottomRightBorderBox,e.bottomRightPaddingBox);case 2:return Ka(e.bottomRightBorderBox,e.bottomRightPaddingBox,e.bottomLeftBorderBox,e.bottomLeftPaddingBox);case 3:default:return Ka(e.bottomLeftBorderBox,e.bottomLeftPaddingBox,e.topLeftBorderBox,e.topLeftPaddingBox)}},EOe=function(e,t){switch(t){case 0:return Ka(e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox,e.topRightBorderBox,e.topRightBorderDoubleOuterBox);case 1:return Ka(e.topRightBorderBox,e.topRightBorderDoubleOuterBox,e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox);case 2:return Ka(e.bottomRightBorderBox,e.bottomRightBorderDoubleOuterBox,e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox);case 3:default:return Ka(e.bottomLeftBorderBox,e.bottomLeftBorderDoubleOuterBox,e.topLeftBorderBox,e.topLeftBorderDoubleOuterBox)}},SOe=function(e,t){switch(t){case 0:return Ka(e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox,e.topRightBorderDoubleInnerBox,e.topRightPaddingBox);case 1:return Ka(e.topRightBorderDoubleInnerBox,e.topRightPaddingBox,e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox);case 2:return Ka(e.bottomRightBorderDoubleInnerBox,e.bottomRightPaddingBox,e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox);case 3:default:return Ka(e.bottomLeftBorderDoubleInnerBox,e.bottomLeftPaddingBox,e.topLeftBorderDoubleInnerBox,e.topLeftPaddingBox)}},FOe=function(e,t){switch(t){case 0:return Ly(e.topLeftBorderStroke,e.topRightBorderStroke);case 1:return Ly(e.topRightBorderStroke,e.bottomRightBorderStroke);case 2:return Ly(e.bottomRightBorderStroke,e.bottomLeftBorderStroke);case 3:default:return Ly(e.bottomLeftBorderStroke,e.topLeftBorderStroke)}},Ly=function(e,t){var n=[];return ja(e)?n.push(e.subdivide(.5,!1)):n.push(e),ja(t)?n.push(t.subdivide(.5,!0)):n.push(t),n},Ka=function(e,t,n,r){var i=[];return ja(e)?i.push(e.subdivide(.5,!1)):i.push(e),ja(n)?i.push(n.subdivide(.5,!0)):i.push(n),ja(r)?i.push(r.subdivide(.5,!0).reverse()):i.push(r),ja(t)?i.push(t.subdivide(.5,!1).reverse()):i.push(t),i},l7=function(e){var t=e.bounds,n=e.styles;return t.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},gB=function(e){var t=e.styles,n=e.bounds,r=rr(t.paddingLeft,n.width),i=rr(t.paddingRight,n.width),o=rr(t.paddingTop,n.width),a=rr(t.paddingBottom,n.width);return n.add(r+t.borderLeftWidth,o+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+i),-(t.borderTopWidth+t.borderBottomWidth+o+a))},TOe=function(e,t){return e===0?t.bounds:e===2?gB(t):l7(t)},OOe=function(e,t){return e===0?t.bounds:e===2?gB(t):l7(t)},WE=function(e,t,n){var r=TOe(sh(e.styles.backgroundOrigin,t),e),i=OOe(sh(e.styles.backgroundClip,t),e),o=kOe(sh(e.styles.backgroundSize,t),n,r),a=o[0],s=o[1],l=zg(sh(e.styles.backgroundPosition,t),r.width-a,r.height-s),u=IOe(sh(e.styles.backgroundRepeat,t),l,o,r,i),f=Math.round(r.left+l[0]),d=Math.round(r.top+l[1]);return[u,f,d,a,s]},Zd=function(e){return Vn(e)&&e.value===Rh.AUTO},Dy=function(e){return typeof e=="number"},kOe=function(e,t,n){var r=t[0],i=t[1],o=t[2],a=e[0],s=e[1];if(!a)return[0,0];if(Yr(a)&&s&&Yr(s))return[rr(a,n.width),rr(s,n.height)];var l=Dy(o);if(Vn(a)&&(a.value===Rh.CONTAIN||a.value===Rh.COVER)){if(Dy(o)){var u=n.width/n.height;return u<o!=(a.value===Rh.COVER)?[n.width,n.width/o]:[n.height*o,n.height]}return[n.width,n.height]}var f=Dy(r),d=Dy(i),g=f||d;if(Zd(a)&&(!s||Zd(s))){if(f&&d)return[r,i];if(!l&&!g)return[n.width,n.height];if(g&&l){var m=f?r:i*o,v=d?i:r/o;return[m,v]}var y=f?r:n.width,x=d?i:n.height;return[y,x]}if(l){var C=0,b=0;return Yr(a)?C=rr(a,n.width):Yr(s)&&(b=rr(s,n.height)),Zd(a)?C=b*o:(!s||Zd(s))&&(b=C/o),[C,b]}var E=null,T=null;if(Yr(a)?E=rr(a,n.width):s&&Yr(s)&&(T=rr(s,n.height)),E!==null&&(!s||Zd(s))&&(T=f&&d?E/r*i:n.height),T!==null&&Zd(a)&&(E=f&&d?T/i*r:n.width),E!==null&&T!==null)return[E,T];throw new Error("Unable to calculate background-size for element")},sh=function(e,t){var n=e[t];return typeof n>"u"?e[0]:n},IOe=function(e,t,n,r,i){var o=t[0],a=t[1],s=n[0],l=n[1];switch(e){case 2:return[new ot(Math.round(r.left),Math.round(r.top+a)),new ot(Math.round(r.left+r.width),Math.round(r.top+a)),new ot(Math.round(r.left+r.width),Math.round(l+r.top+a)),new ot(Math.round(r.left),Math.round(l+r.top+a))];case 3:return[new ot(Math.round(r.left+o),Math.round(r.top)),new ot(Math.round(r.left+o+s),Math.round(r.top)),new ot(Math.round(r.left+o+s),Math.round(r.height+r.top)),new ot(Math.round(r.left+o),Math.round(r.height+r.top))];case 1:return[new ot(Math.round(r.left+o),Math.round(r.top+a)),new ot(Math.round(r.left+o+s),Math.round(r.top+a)),new ot(Math.round(r.left+o+s),Math.round(r.top+a+l)),new ot(Math.round(r.left+o),Math.round(r.top+a+l))];default:return[new ot(Math.round(i.left),Math.round(i.top)),new ot(Math.round(i.left+i.width),Math.round(i.top)),new ot(Math.round(i.left+i.width),Math.round(i.height+i.top)),new ot(Math.round(i.left),Math.round(i.height+i.top))]}},LOe="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",c4="Hidden Text",DOe=function(){function e(t){this._data={},this._document=t}return e.prototype.parseMetrics=function(t,n){var r=this._document.createElement("div"),i=this._document.createElement("img"),o=this._document.createElement("span"),a=this._document.body;r.style.visibility="hidden",r.style.fontFamily=t,r.style.fontSize=n,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",a.appendChild(r),i.src=LOe,i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",o.style.fontFamily=t,o.style.fontSize=n,o.style.margin="0",o.style.padding="0",o.appendChild(this._document.createTextNode(c4)),r.appendChild(o),r.appendChild(i);var s=i.offsetTop-o.offsetTop+2;r.removeChild(o),r.appendChild(this._document.createTextNode(c4)),r.style.lineHeight="normal",i.style.verticalAlign="super";var l=i.offsetTop-r.offsetTop+2;return a.removeChild(r),{baseline:s,middle:l}},e.prototype.getMetrics=function(t,n){var r=t+" "+n;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(t,n)),this._data[r]},e}(),A7=function(){function e(t,n){this.context=t,this.options=n}return e}(),ROe=1e4,POe=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i._activeEffects=[],i.canvas=r.canvas?r.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),r.canvas||(i.canvas.width=Math.floor(r.width*r.scale),i.canvas.height=Math.floor(r.height*r.scale),i.canvas.style.width=r.width+"px",i.canvas.style.height=r.height+"px"),i.fontMetrics=new DOe(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-r.x,-r.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),i}return t.prototype.applyEffects=function(n){for(var r=this;this._activeEffects.length;)this.popEffect();n.forEach(function(i){return r.applyEffect(i)})},t.prototype.applyEffect=function(n){this.ctx.save(),BOe(n)&&(this.ctx.globalAlpha=n.opacity),bOe(n)&&(this.ctx.translate(n.offsetX,n.offsetY),this.ctx.transform(n.matrix[0],n.matrix[1],n.matrix[2],n.matrix[3],n.matrix[4],n.matrix[5]),this.ctx.translate(-n.offsetX,-n.offsetY)),i7(n)&&(this.path(n.path),this.ctx.clip()),this._activeEffects.push(n)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(n){return to(this,void 0,void 0,function(){var r;return Ni(this,function(i){switch(i.label){case 0:return r=n.element.container.styles,r.isVisible()?[4,this.renderStackContent(n)]:[3,2];case 1:i.sent(),i.label=2;case 2:return[2]}})})},t.prototype.renderNode=function(n){return to(this,void 0,void 0,function(){return Ni(this,function(r){switch(r.label){case 0:if(ni(n.container.flags,16))debugger;return n.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(n)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(n)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},t.prototype.renderTextWithLetterSpacing=function(n,r,i){var o=this;if(r===0)this.ctx.fillText(n.text,n.bounds.left,n.bounds.top+i);else{var a=RL(n.text);a.reduce(function(s,l){return o.ctx.fillText(l,s,n.bounds.top+i),s+o.ctx.measureText(l).width},n.bounds.left)}},t.prototype.createFontStyle=function(n){var r=n.fontVariant.filter(function(a){return a==="normal"||a==="small-caps"}).join(""),i=HOe(n.fontFamily).join(", "),o=Yv(n.fontSize)?""+n.fontSize.number+n.fontSize.unit:n.fontSize.number+"px";return[[n.fontStyle,r,n.fontWeight,o,i].join(" "),i,o]},t.prototype.renderTextNode=function(n,r){return to(this,void 0,void 0,function(){var i,o,a,s,l,u,f,d,g=this;return Ni(this,function(m){return i=this.createFontStyle(r),o=i[0],a=i[1],s=i[2],this.ctx.font=o,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(a,s),u=l.baseline,f=l.middle,d=r.paintOrder,n.textBounds.forEach(function(v){d.forEach(function(y){switch(y){case 0:g.ctx.fillStyle=Ai(r.color),g.renderTextWithLetterSpacing(v,r.letterSpacing,u);var x=r.textShadow;x.length&&v.text.trim().length&&(x.slice(0).reverse().forEach(function(C){g.ctx.shadowColor=Ai(C.color),g.ctx.shadowOffsetX=C.offsetX.number*g.options.scale,g.ctx.shadowOffsetY=C.offsetY.number*g.options.scale,g.ctx.shadowBlur=C.blur.number,g.renderTextWithLetterSpacing(v,r.letterSpacing,u)}),g.ctx.shadowColor="",g.ctx.shadowOffsetX=0,g.ctx.shadowOffsetY=0,g.ctx.shadowBlur=0),r.textDecorationLine.length&&(g.ctx.fillStyle=Ai(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(C){switch(C){case 1:g.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top+u),v.bounds.width,1);break;case 2:g.ctx.fillRect(v.bounds.left,Math.round(v.bounds.top),v.bounds.width,1);break;case 3:g.ctx.fillRect(v.bounds.left,Math.ceil(v.bounds.top+f),v.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&v.text.trim().length&&(g.ctx.strokeStyle=Ai(r.webkitTextStrokeColor),g.ctx.lineWidth=r.webkitTextStrokeWidth,g.ctx.lineJoin=window.chrome?"miter":"round",g.ctx.strokeText(v.text,v.bounds.left,v.bounds.top+u)),g.ctx.strokeStyle="",g.ctx.lineWidth=0,g.ctx.lineJoin="miter";break}})}),[2]})})},t.prototype.renderReplacedElement=function(n,r,i){if(i&&n.intrinsicWidth>0&&n.intrinsicHeight>0){var o=gB(n),a=pB(r);this.path(a),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(i,0,0,n.intrinsicWidth,n.intrinsicHeight,o.left,o.top,o.width,o.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(n){return to(this,void 0,void 0,function(){var r,i,o,a,s,l,b,b,u,f,d,g,T,m,v,D,y,x,C,b,E,T,D;return Ni(this,function(I){switch(I.label){case 0:this.applyEffects(n.getEffects(4)),r=n.container,i=n.curves,o=r.styles,a=0,s=r.textNodes,I.label=1;case 1:return a<s.length?(l=s[a],[4,this.renderTextNode(l,o)]):[3,4];case 2:I.sent(),I.label=3;case 3:return a++,[3,1];case 4:if(!(r instanceof H9))return[3,8];I.label=5;case 5:return I.trys.push([5,7,,8]),[4,this.context.cache.match(r.src)];case 6:return b=I.sent(),this.renderReplacedElement(r,i,b),[3,8];case 7:return I.sent(),this.context.logger.error("Error loading image "+r.src),[3,8];case 8:if(r instanceof $9&&this.renderReplacedElement(r,i,r.canvas),!(r instanceof j9))return[3,12];I.label=9;case 9:return I.trys.push([9,11,,12]),[4,this.context.cache.match(r.svg)];case 10:return b=I.sent(),this.renderReplacedElement(r,i,b),[3,12];case 11:return I.sent(),this.context.logger.error("Error loading svg "+r.svg.substring(0,255)),[3,12];case 12:return r instanceof W9&&r.tree?(u=new t(this.context,{scale:this.options.scale,backgroundColor:r.backgroundColor,x:0,y:0,width:r.width,height:r.height}),[4,u.render(r.tree)]):[3,14];case 13:f=I.sent(),r.width&&r.height&&this.ctx.drawImage(f,0,0,r.width,r.height,r.bounds.left,r.bounds.top,r.bounds.width,r.bounds.height),I.label=14;
vendor: 4,315 bytes, line 396
396case 14:if(r instanceof PL&&(d=Math.min(r.bounds.width,r.bounds.height),r.type===uB?r.checked&&(this.ctx.save(),this.path([new ot(r.bounds.left+d*.39363,r.bounds.top+d*.79),new ot(r.bounds.left+d*.16,r.bounds.top+d*.5549),new ot(r.bounds.left+d*.27347,r.bounds.top+d*.44071),new ot(r.bounds.left+d*.39694,r.bounds.top+d*.5649),new ot(r.bounds.left+d*.72983,r.bounds.top+d*.23),new ot(r.bounds.left+d*.84,r.bounds.top+d*.34085),new ot(r.bounds.left+d*.39363,r.bounds.top+d*.79)]),this.ctx.fillStyle=Ai(XQ),this.ctx.fill(),this.ctx.restore()):r.type===cB&&r.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(r.bounds.left+d/2,r.bounds.top+d/2,d/4,0,Math.PI*2,!0),this.ctx.fillStyle=Ai(XQ),this.ctx.fill(),this.ctx.restore())),UOe(r)&&r.value.length){switch(g=this.createFontStyle(o),T=g[0],m=g[1],v=this.fontMetrics.getMetrics(T,m).baseline,this.ctx.font=T,this.ctx.fillStyle=Ai(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=MOe(r.styles.textAlign),D=gB(r),y=0,r.styles.textAlign){case 1:y+=D.width/2;break;case 2:y+=D.width;break}x=D.add(y,0,0,-D.height/2+1),this.ctx.save(),this.path([new ot(D.left,D.top),new ot(D.left+D.width,D.top),new ot(D.left+D.width,D.top+D.height),new ot(D.left,D.top+D.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new xm(r.value,x),o.letterSpacing,v),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!ni(r.styles.display,2048))return[3,20];if(r.styles.listStyleImage===null)return[3,19];if(C=r.styles.listStyleImage,C.type!==0)return[3,18];b=void 0,E=C.url,I.label=15;case 15:return I.trys.push([15,17,,18]),[4,this.context.cache.match(E)];case 16:return b=I.sent(),this.ctx.drawImage(b,r.bounds.left-(b.width+10),r.bounds.top),[3,18];case 17:return I.sent(),this.context.logger.error("Error loading list-style-image "+E),[3,18];case 18:return[3,20];case 19:n.listValue&&r.styles.listStyleType!==-1&&(T=this.createFontStyle(o)[0],this.ctx.font=T,this.ctx.fillStyle=Ai(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",D=new UA(r.bounds.left,r.bounds.top+rr(r.styles.paddingTop,r.bounds.width),r.bounds.width,RQ(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new xm(n.listValue,D),o.letterSpacing,RQ(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),I.label=20;case 20:return[2]}})})},t.prototype.renderStackContent=function(n){return to(this,void 0,void 0,function(){var r,i,C,o,a,C,s,l,C,u,f,C,d,g,C,m,v,C,y,x,C;return Ni(this,function(b){switch(b.label){case 0:if(ni(n.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(n.element)];case 1:b.sent(),r=0,i=n.negativeZIndex,b.label=2;case 2:return r<i.length?(C=i[r],[4,this.renderStack(C)]):[3,5];case 3:b.sent(),b.label=4;case 4:return r++,[3,2];case 5:return[4,this.renderNodeContent(n.element)];case 6:b.sent(),o=0,a=n.nonInlineLevel,b.label=7;case 7:return o<a.length?(C=a[o],[4,this.renderNode(C)]):[3,10];case 8:b.sent(),b.label=9;case 9:return o++,[3,7];case 10:s=0,l=n.nonPositionedFloats,b.label=11;case 11:return s<l.length?(C=l[s],[4,this.renderStack(C)]):[3,14];case 12:b.sent(),b.label=13;case 13:return s++,[3,11];case 14:u=0,f=n.nonPositionedInlineLevel,b.label=15;case 15:return u<f.length?(C=f[u],[4,this.renderStack(C)]):[3,18];case 16:b.sent(),b.label=17;case 17:return u++,[3,15];case 18:d=0,g=n.inlineLevel,b.label=19;case 19:return d<g.length?(C=g[d],[4,this.renderNode(C)]):[3,22];case 20:b.sent(),b.label=21;case 21:return d++,[3,19];case 22:m=0,v=n.zeroOrAutoZIndexOrTransformedOrOpacity,b.label=23;case 23:return m<v.length?(C=v[m],[4,this.renderStack(C)]):[3,26];case 24:b.sent(),b.label=25;case 25:return m++,[3,23];case 26:y=0,x=n.positiveZIndex,b.label=27;case 27:return y<x.length?(C=x[y],[4,this.renderStack(C)]):[3,30];case 28:b.sent(),b.label=29;case 29:return y++,[3,27];case 30:return[2]}})})},t.prototype.mask=function(n){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(n.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(n){this.ctx.beginPath(),this.formatPath(n),this.ctx.closePath()},t.prototype.formatPath=function(n){var r=this;
vendor: 4,088 bytes, line 396
396n.forEach(function(i,o){var a=ja(i)?i.start:i;o===0?r.ctx.moveTo(a.x,a.y):r.ctx.lineTo(a.x,a.y),ja(i)&&r.ctx.bezierCurveTo(i.startControl.x,i.startControl.y,i.endControl.x,i.endControl.y,i.end.x,i.end.y)})},t.prototype.renderRepeat=function(n,r,i,o){this.path(n),this.ctx.fillStyle=r,this.ctx.translate(i,o),this.ctx.fill(),this.ctx.translate(-i,-o)},t.prototype.resizeImage=function(n,r,i){var o;if(n.width===r&&n.height===i)return n;var a=(o=this.canvas.ownerDocument)!==null&&o!==void 0?o:document,s=a.createElement("canvas");s.width=Math.max(1,r),s.height=Math.max(1,i);var l=s.getContext("2d");return l.drawImage(n,0,0,n.width,n.height,0,0,r,i),s},t.prototype.renderBackgroundImage=function(n){return to(this,void 0,void 0,function(){var r,i,o,a,s,l;return Ni(this,function(u){switch(u.label){case 0:r=n.styles.backgroundImage.length-1,i=function(f){var d,g,m,j,ee,re,Z,ae,H,v,j,ee,re,Z,ae,y,x,C,b,E,T,D,I,U,H,V,j,z,q,Z,ae,G,ee,re,X,ge,N,pe,W,P,te,J;return Ni(this,function(oe){switch(oe.label){case 0:if(f.type!==0)return[3,5];d=void 0,g=f.url,oe.label=1;case 1:return oe.trys.push([1,3,,4]),[4,o.context.cache.match(g)];case 2:return d=oe.sent(),[3,4];case 3:return oe.sent(),o.context.logger.error("Error loading background-image "+g),[3,4];case 4:return d&&(m=WE(n,r,[d.width,d.height,d.width/d.height]),j=m[0],ee=m[1],re=m[2],Z=m[3],ae=m[4],H=o.ctx.createPattern(o.resizeImage(d,Z,ae),"repeat"),o.renderRepeat(j,H,ee,re)),[3,6];case 5:bSe(f)?(v=WE(n,r,[null,null,null]),j=v[0],ee=v[1],re=v[2],Z=v[3],ae=v[4],y=mSe(f.angle,Z,ae),x=y[0],C=y[1],b=y[2],E=y[3],T=y[4],D=document.createElement("canvas"),D.width=Z,D.height=ae,I=D.getContext("2d"),U=I.createLinearGradient(C,E,b,T),LQ(f.stops,x).forEach(function(_e){return U.addColorStop(_e.stop,Ai(_e.color))}),I.fillStyle=U,I.fillRect(0,0,Z,ae),Z>0&&ae>0&&(H=o.ctx.createPattern(D,"repeat"),o.renderRepeat(j,H,ee,re))):BSe(f)&&(V=WE(n,r,[null,null,null]),j=V[0],z=V[1],q=V[2],Z=V[3],ae=V[4],G=f.position.length===0?[IL]:f.position,ee=rr(G[0],Z),re=rr(G[G.length-1],ae),X=vSe(f,ee,re,Z,ae),ge=X[0],N=X[1],ge>0&&N>0&&(pe=o.ctx.createRadialGradient(z+ee,q+re,0,z+ee,q+re,ge),LQ(f.stops,ge*2).forEach(function(_e){return pe.addColorStop(_e.stop,Ai(_e.color))}),o.path(j),o.ctx.fillStyle=pe,ge!==N?(W=n.bounds.left+.5*n.bounds.width,P=n.bounds.top+.5*n.bounds.height,te=N/ge,J=1/te,o.ctx.save(),o.ctx.translate(W,P),o.ctx.transform(1,0,0,te,0,0),o.ctx.translate(-W,-P),o.ctx.fillRect(z,J*(q-P)+P,Z,ae*J),o.ctx.restore()):o.ctx.fill())),oe.label=6;case 6:return r--,[2]}})},o=this,a=0,s=n.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return a<s.length?(l=s[a],[5,i(l)]):[3,4];case 2:u.sent(),u.label=3;case 3:return a++,[3,1];case 4:return[2]}})})},t.prototype.renderSolidBorder=function(n,r,i){return to(this,void 0,void 0,function(){return Ni(this,function(o){return this.path(u4(i,r)),this.ctx.fillStyle=Ai(n),this.ctx.fill(),[2]})})},t.prototype.renderDoubleBorder=function(n,r,i,o){return to(this,void 0,void 0,function(){var a,s;return Ni(this,function(l){switch(l.label){case 0:return r<3?[4,this.renderSolidBorder(n,i,o)]:[3,2];case 1:return l.sent(),[2];case 2:return a=EOe(o,i),this.path(a),this.ctx.fillStyle=Ai(n),this.ctx.fill(),s=SOe(o,i),this.path(s),this.ctx.fill(),[2]}})})},t.prototype.renderNodeBackgroundAndBorders=function(n){return to(this,void 0,void 0,function(){var r,i,o,a,s,l,u,f,d=this;return Ni(this,function(g){switch(g.label){case 0:return this.applyEffects(n.getEffects(2)),r=n.container.styles,i=!ec(r.backgroundColor)||r.backgroundImage.length,o=[{style:r.borderTopStyle,color:r.borderTopColor,width:r.borderTopWidth},{style:r.borderRightStyle,color:r.borderRightColor,width:r.borderRightWidth},{style:r.borderBottomStyle,color:r.borderBottomColor,width:r.borderBottomWidth},{style:r.borderLeftStyle,color:r.borderLeftColor,width:r.borderLeftWidth}],a=NOe(sh(r.backgroundClip,0),n.curves),i||r.boxShadow.length?(this.ctx.save(),this.path(a),this.ctx.clip(),ec(r.backgroundColor)||(this.ctx.fillStyle=Ai(r.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(n.container)]):[3,2];
vendor: 6,584 bytes, line 396
396case 1:g.sent(),this.ctx.restore(),r.boxShadow.slice(0).reverse().forEach(function(m){d.ctx.save();var v=hB(n.curves),y=m.inset?0:ROe,x=COe(v,-y+(m.inset?1:-1)*m.spread.number,(m.inset?1:-1)*m.spread.number,m.spread.number*(m.inset?-2:2),m.spread.number*(m.inset?-2:2));m.inset?(d.path(v),d.ctx.clip(),d.mask(x)):(d.mask(v),d.ctx.clip(),d.path(x)),d.ctx.shadowOffsetX=m.offsetX.number+y,d.ctx.shadowOffsetY=m.offsetY.number,d.ctx.shadowColor=Ai(m.color),d.ctx.shadowBlur=m.blur.number,d.ctx.fillStyle=m.inset?Ai(m.color):"rgba(0,0,0,1)",d.ctx.fill(),d.ctx.restore()}),g.label=2;case 2:s=0,l=0,u=o,g.label=3;case 3:return l<u.length?(f=u[l],f.style!==0&&!ec(f.color)&&f.width>0?f.style!==2?[3,5]:[4,this.renderDashedDottedBorder(f.color,f.width,s,n.curves,2)]:[3,11]):[3,13];case 4:return g.sent(),[3,11];case 5:return f.style!==3?[3,7]:[4,this.renderDashedDottedBorder(f.color,f.width,s,n.curves,3)];case 6:return g.sent(),[3,11];case 7:return f.style!==4?[3,9]:[4,this.renderDoubleBorder(f.color,f.width,s,n.curves)];case 8:return g.sent(),[3,11];case 9:return[4,this.renderSolidBorder(f.color,s,n.curves)];case 10:g.sent(),g.label=11;case 11:s++,g.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},t.prototype.renderDashedDottedBorder=function(n,r,i,o,a){return to(this,void 0,void 0,function(){var s,l,u,f,d,g,m,v,y,x,C,b,E,T,D,I,D,I;return Ni(this,function(U){return this.ctx.save(),s=FOe(o,i),l=u4(o,i),a===2&&(this.path(l),this.ctx.clip()),ja(l[0])?(u=l[0].start.x,f=l[0].start.y):(u=l[0].x,f=l[0].y),ja(l[1])?(d=l[1].end.x,g=l[1].end.y):(d=l[1].x,g=l[1].y),i===0||i===2?m=Math.abs(u-d):m=Math.abs(f-g),this.ctx.beginPath(),a===3?this.formatPath(s):this.formatPath(l.slice(0,2)),v=r<3?r*3:r*2,y=r<3?r*2:r,a===3&&(v=r,y=r),x=!0,m<=v*2?x=!1:m<=v*2+y?(C=m/(2*v+y),v*=C,y*=C):(b=Math.floor((m+y)/(v+y)),E=(m-b*v)/(b-1),T=(m-(b+1)*v)/b,y=T<=0||Math.abs(y-E)<Math.abs(y-T)?E:T),x&&(a===3?this.ctx.setLineDash([0,v+y]):this.ctx.setLineDash([v,y])),a===3?(this.ctx.lineCap="round",this.ctx.lineWidth=r):this.ctx.lineWidth=r*2+1.1,this.ctx.strokeStyle=Ai(n),this.ctx.stroke(),this.ctx.setLineDash([]),a===2&&(ja(l[0])&&(D=l[3],I=l[0],this.ctx.beginPath(),this.formatPath([new ot(D.end.x,D.end.y),new ot(I.start.x,I.start.y)]),this.ctx.stroke()),ja(l[1])&&(D=l[1],I=l[2],this.ctx.beginPath(),this.formatPath([new ot(D.end.x,D.end.y),new ot(I.start.x,I.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},t.prototype.render=function(n){return to(this,void 0,void 0,function(){var r;return Ni(this,function(i){switch(i.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Ai(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),r=xOe(n),[4,this.renderStack(r)];case 1:return i.sent(),this.applyEffects([]),[2,this.canvas]}})})},t}(A7),UOe=function(e){return e instanceof K9||e instanceof V9?!0:e instanceof PL&&e.type!==cB&&e.type!==uB},NOe=function(e,t){switch(e){case 0:return hB(t);case 2:return _Oe(t);case 1:default:return pB(t)}},MOe=function(e){switch(e){case 1:return"center";case 2:return"right";case 0:default:return"left"}},QOe=["-apple-system","system-ui"],HOe=function(e){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?e.filter(function(t){return QOe.indexOf(t)===-1}):e},$Oe=function(e){Ns(t,e);function t(n,r){var i=e.call(this,n,r)||this;return i.canvas=r.canvas?r.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=r,i.canvas.width=Math.floor(r.width*r.scale),i.canvas.height=Math.floor(r.height*r.scale),i.canvas.style.width=r.width+"px",i.canvas.style.height=r.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-r.x,-r.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+r.width+"x"+r.height+" at "+r.x+","+r.y+") with scale "+r.scale),i}return t.prototype.render=function(n){return to(this,void 0,void 0,function(){var r,i;return Ni(this,function(o){switch(o.label){case 0:return r=LO(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,n),[4,jOe(r)];case 1:return i=o.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Ai(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(i,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},t}(A7),jOe=function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){t(r)},r.onerror=n,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},zOe=function(){function e(t){var n=t.id,r=t.enabled;this.id=n,this.enabled=r,this.start=Date.now()}return e.prototype.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,fy([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.getTime=function(){return Date.now()-this.start},e.prototype.info=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,fy([this.id,this.getTime()+"ms"],t))},e.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,fy([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,fy([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},e.instances={},e}(),VOe=function(){function e(t,n){var r;this.windowBounds=n,this.instanceName="#"+e.instanceCount++,this.logger=new zOe({id:this.instanceName,enabled:t.logging}),this.cache=(r=t.cache)!==null&&r!==void 0?r:new cOe(this,t)}return e.instanceCount=1,e}(),u7=function(e,t){return t===void 0&&(t={}),KOe(e,t)};typeof window<"u"&&r7.setContext(window);var KOe=function(e,t){return to(void 0,void 0,void 0,function(){var n,r,i,o,a,s,l,u,f,d,g,m,v,y,x,C,b,E,T,D,U,I,U,H,V,j,z,q,Z,ae,G,ee,re,X,ge,N,pe,W,P,te;return Ni(this,function(J){switch(J.label){case 0:if(!e||typeof e!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(n=e.ownerDocument,!n)throw new Error("Element is not attached to a Document");
396if(r=n.defaultView,!r)throw new Error("Document is not attached to a Window");return i={allowTaint:(H=t.allowTaint)!==null&&H!==void 0?H:!1,imageTimeout:(V=t.imageTimeout)!==null&&V!==void 0?V:15e3,proxy:t.proxy,useCORS:(j=t.useCORS)!==null&&j!==void 0?j:!1},o=vO({logging:(z=t.logging)!==null&&z!==void 0?z:!0,cache:t.cache},i),a={windowWidth:(q=t.windowWidth)!==null&&q!==void 0?q:r.innerWidth,windowHeight:(Z=t.windowHeight)!==null&&Z!==void 0?Z:r.innerHeight,scrollX:(ae=t.scrollX)!==null&&ae!==void 0?ae:r.pageXOffset,scrollY:(G=t.scrollY)!==null&&G!==void 0?G:r.pageYOffset},s=new UA(a.scrollX,a.scrollY,a.windowWidth,a.windowHeight),l=new VOe(o,s),u=(ee=t.foreignObjectRendering)!==null&&ee!==void 0?ee:!1,f={allowTaint:(re=t.allowTaint)!==null&&re!==void 0?re:!1,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:u,copyStyles:u},l.logger.debug("Starting document clone with size "+s.width+"x"+s.height+" scrolled to "+-s.left+","+-s.top),d=new s4(l,e,f),g=d.clonedReferenceElement,g?[4,d.toIFrame(n,s)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=J.sent(),v=UL(g)||GTe(g)?C1e(g.ownerDocument):WC(l,g),y=v.width,x=v.height,C=v.left,b=v.top,E=WOe(l,g,t.backgroundColor),T={canvas:t.canvas,backgroundColor:E,scale:(ge=(X=t.scale)!==null&&X!==void 0?X:r.devicePixelRatio)!==null&&ge!==void 0?ge:1,x:((N=t.x)!==null&&N!==void 0?N:0)+C,y:((pe=t.y)!==null&&pe!==void 0?pe:0)+b,width:(W=t.width)!==null&&W!==void 0?W:Math.ceil(y),height:(P=t.height)!==null&&P!==void 0?P:Math.ceil(x)},u?(l.logger.debug("Document cloned, using foreign object rendering"),U=new $Oe(l,T),[4,U.render(g)]):[3,3];case 2:return D=J.sent(),[3,5];case 3:return l.logger.debug("Document cloned, element located at "+C+","+b+" with size "+y+"x"+x+" using computed rendering"),l.logger.debug("Starting DOM parsing"),I=Y9(l,g),E===I.styles.backgroundColor&&(I.styles.backgroundColor=TA.TRANSPARENT),l.logger.debug("Starting renderer for element at "+T.x+","+T.y+" with size "+T.width+"x"+T.height),U=new POe(l,T),[4,U.render(I)];case 4:D=J.sent(),J.label=5;case 5:return(!((te=t.removeContainer)!==null&&te!==void 0)||te)&&(s4.destroy(m)||l.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),l.logger.debug("Finished rendering"),[2,D]}})})},WOe=function(e,t,n){var r=t.ownerDocument,i=r.documentElement?Bm(e,getComputedStyle(r.documentElement).backgroundColor):TA.TRANSPARENT,o=r.body?Bm(e,getComputedStyle(r.body).backgroundColor):TA.TRANSPARENT,a=typeof n=="string"?Bm(e,n):n===null?TA.TRANSPARENT:4294967295;return t===r.documentElement?ec(i)?ec(o)?a:o:i:a};const GOe="_download_1ien3_1",YOe="_drill_chart_1ien3_7",qOe="_drill_chart_table_1ien3_16",ZOe="_drill_chart_btns_1ien3_22",XOe="_full_screen_1ien3_31",JOe="_chart_container_1ien3_35",eke="_chatContainer_1ien3_40",tke="_chatMessages_1ien3_44",nke="_messageContainer_1ien3_68",rke="_userMessage_1ien3_72",ike="_assistantMessage_1ien3_78",oke="_messageText_1ien3_83",ake="_timestamp_1ien3_88",ske="_chatInput_1ien3_93",lke="_sendButton_1ien3_106",Ake="_suggestedQuestion_1ien3_125",uke="_typingIndicator_1ien3_141",cke="_typingDot_1ien3_148",fke="_typing_1ien3_141",mA={download:GOe,drill_chart:YOe,drill_chart_table:qOe,drill_chart_btns:ZOe,full_screen:XOe,chart_container:JOe,chatContainer:eke,chatMessages:tke,messageContainer:nke,userMessage:rke,assistantMessage:ike,messageText:oke,timestamp:ake,chatInput:ske,sendButton:lke,suggestedQuestion:Ake,typingIndicator:uke,typingDot:cke,typing:fke},dke="_skeleton_a922o_1",hke="_skeleton_dark_a922o_7",pke="_skeleton_text1_a922o_13",gke="_skeleton_text2_a922o_20",mke="_skeleton_text3_a922o_27",vke="_skeleton_insight_a922o_35",_ke="_skeleton_dark_insight_a922o_46",yke="_insight_text3_a922o_57",Es={skeleton:dke,"skeleton-loading":"_skeleton-loading_a922o_1",skeleton_dark:hke,"skeleton-loading-dark":"_skeleton-loading-dark_a922o_1",skeleton_text1:pke,skeleton_text2:gke,skeleton_text3:mke,skeleton_insight:vke,"skeleton-shimmer":"_skeleton-shimmer_a922o_1",skeleton_dark_insight:_ke,insight_text3:yke},rx=()=>{const e=qe(Jt);return w.jsx(w.Fragment,{children:w.jsxs("div",{className:`${e?"bg-white":"bg-dark-subtle"} p-4 mb-3 col-md-12 col-lg-12 col-xl-12 rounded-2`,children:[w.jsx("div",{className:`${e?Es.skeleton:Es.skeleton_dark} ${Es.skeleton_text1} mb-2`}),w.jsx("div",{className:`${e?Es.skeleton:Es.skeleton_dark} ${Es.skeleton_text2} mb-2`}),w.jsx("div",{className:`${e?Es.skeleton:Es.skeleton_dark} ${Es.skeleton_text3} mb-2`})]})})};/*! 397 * @kurkle/color v0.3.2 398 * https://github.com/kurkle/color#readme 399 * (c) 2023 Jukka Kurkela 400 * Released under the MIT License 401 */function qv(e){return e+.5|0}const Hu=(e,t,n)=>Math.max(Math.min(e,n),t);function Wg(e){return Hu(qv(e*2.55),0,255)}function tc(e){return Hu(qv(e*255),0,255)}function _A(e){return Hu(qv(e/2.55)/100,0,1)}function f4(e){return Hu(qv(e*100),0,100)}const Pa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},QO=[..."0123456789ABCDEF"],wke=e=>QO[e&15],bke=e=>QO[(e&240)>>4]+QO[e&15],Ry=e=>(e&240)>>4===(e&15),Bke=e=>Ry(e.r)&&Ry(e.g)&&Ry(e.b)&&Ry(e.a);function Cke(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Pa[e[1]]*17,g:255&Pa[e[2]]*17,b:255&Pa[e[3]]*17,a:t===5?Pa[e[4]]*17:255}:(t===7||t===9)&&(n={r:Pa[e[1]]<<4|Pa[e[2]],g:Pa[e[3]]<<4|Pa[e[4]],b:Pa[e[5]]<<4|Pa[e[6]],a:t===9?Pa[e[7]]<<4|Pa[e[8]]:255})),n}const xke=(e,t)=>e<255?t(e):"";function Eke(e){var t=Bke(e)?wke:bke;return e?"#"+t(e.r)+t(e.g)+t(e.b)+xke(e.a,t):void 0}
vendor: 5,703 bytes, line 401
401const Ske=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function c7(e,t,n){const r=t*Math.min(n,1-n),i=(o,a=(o+e/30)%12)=>n-r*Math.max(Math.min(a-3,9-a,1),-1);return[i(0),i(8),i(4)]}function Fke(e,t,n){const r=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function Tke(e,t,n){const r=c7(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Oke(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function NL(e){const n=e.r/255,r=e.g/255,i=e.b/255,o=Math.max(n,r,i),a=Math.min(n,r,i),s=(o+a)/2;let l,u,f;return o!==a&&(f=o-a,u=s>.5?f/(2-o-a):f/(o+a),l=Oke(n,r,i,f,o),l=l*60+.5),[l|0,u||0,s]}function ML(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(tc)}function QL(e,t,n){return ML(c7,e,t,n)}function kke(e,t,n){return ML(Tke,e,t,n)}function Ike(e,t,n){return ML(Fke,e,t,n)}function f7(e){return(e%360+360)%360}function Lke(e){const t=Ske.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Wg(+t[5]):tc(+t[5]));const i=f7(+t[2]),o=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?r=kke(i,o,a):t[1]==="hsv"?r=Ike(i,o,a):r=QL(i,o,a),{r:r[0],g:r[1],b:r[2],a:n}}function Dke(e,t){var n=NL(e);n[0]=f7(n[0]+t),n=QL(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Rke(e){if(!e)return;const t=NL(e),n=t[0],r=f4(t[1]),i=f4(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${_A(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const d4={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},h4={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Pke(){const e={},t=Object.keys(h4),n=Object.keys(d4);let r,i,o,a,s;for(r=0;r<t.length;r++){for(a=s=t[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,d4[o]);o=parseInt(h4[a],16),e[s]=[o>>16&255,o>>8&255,o&255]}return e}let Py;function Uke(e){Py||(Py=Pke(),Py.transparent=[0,0,0,0]);const t=Py[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Nke=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Mke(e){const t=Nke.exec(e);let n=255,r,i,o;if(t){if(t[7]!==r){const a=+t[7];n=t[8]?Wg(a):Hu(a*255,0,255)}return r=+t[1],i=+t[3],o=+t[5],r=255&(t[2]?Wg(r):Hu(r,0,255)),i=255&(t[4]?Wg(i):Hu(i,0,255)),o=255&(t[6]?Wg(o):Hu(o,0,255)),{r,g:i,b:o,a:n}}}function Qke(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${_A(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const GE=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Xd=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Hke(e,t,n){const r=Xd(_A(e.r)),i=Xd(_A(e.g)),o=Xd(_A(e.b));return{r:tc(GE(r+n*(Xd(_A(t.r))-r))),g:tc(GE(i+n*(Xd(_A(t.g))-i))),b:tc(GE(o+n*(Xd(_A(t.b))-o))),a:e.a+n*(t.a-e.a)}}function Uy(e,t,n){if(e){let r=NL(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=QL(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function d7(e,t){return e&&Object.assign(t||{},e)}function p4(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=tc(e[3]))):(t=d7(e,{r:0,g:0,b:0,a:1}),t.a=tc(t.a)),t}function $ke(e){return e.charAt(0)==="r"?Mke(e):Lke(e)}class uv{constructor(t){if(t instanceof uv)return t;const n=typeof t;let r;n==="object"?r=p4(t):n==="string"&&(r=Cke(t)||Uke(t)||$ke(t)),this._rgb=r,this._val
vendor: 12,290 bytes, lines 401-406
401id=!!r}get valid(){return this._valid}get rgb(){var t=d7(this._rgb);return t&&(t.a=_A(t.a)),t}set rgb(t){this._rgb=p4(t)}rgbString(){return this._valid?Qke(this._rgb):void 0}hexString(){return this._valid?Eke(this._rgb):void 0}hslString(){return this._valid?Rke(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let o;const a=n===o?.5:n,s=2*a-1,l=r.a-i.a,u=((s*l===-1?s:(s+l)/(1+s*l))+1)/2;o=1-u,r.r=255&u*r.r+o*i.r+.5,r.g=255&u*r.g+o*i.g+.5,r.b=255&u*r.b+o*i.b+.5,r.a=a*r.a+(1-a)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=Hke(this._rgb,t._rgb,n)),this}clone(){return new uv(this.rgb)}alpha(t){return this._rgb.a=tc(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=qv(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Uy(this._rgb,2,t),this}darken(t){return Uy(this._rgb,2,-t),this}saturate(t){return Uy(this._rgb,1,t),this}desaturate(t){return Uy(this._rgb,1,-t),this}rotate(t){return Dke(this._rgb,t),this}}/*! 402 * Chart.js v4.4.1 403 * https://www.chartjs.org 404 * (c) 2023 Chart.js Contributors 405 * Released under the MIT License 406 */function dA(){}const jke=(()=>{let e=0;return()=>e++})();function Sn(e){return e===null||typeof e>"u"}function jr(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function cn(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function zi(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function ol(e,t){return zi(e)?e:t}function Gt(e,t){return typeof e>"u"?t:e}const zke=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,h7=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function qn(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function Pn(e,t,n,r){let i,o,a;if(jr(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if(cn(e))for(a=Object.keys(e),o=a.length,i=0;i<o;i++)t.call(n,e[a[i]],a[i])}function mB(e,t){let n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function vB(e){if(jr(e))return e.map(vB);if(cn(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=vB(e[n[i]]);return t}return e}function p7(e){return["__proto__","prototype","constructor"].indexOf(e)===-1}function Vke(e,t,n,r){if(!p7(e))return;const i=t[e],o=n[e];cn(i)&&cn(o)?Cl(i,o,r):t[e]=vB(o)}function Cl(e,t,n){const r=jr(t)?t:[t],i=r.length;if(!cn(e))return e;n=n||{};const o=n.merger||Vke;let a;for(let s=0;s<i;++s){if(a=r[s],!cn(a))continue;const l=Object.keys(a);for(let u=0,f=l.length;u<f;++u)o(l[u],e,a,n)}return e}function Sm(e,t){return Cl(e,t,{merger:Kke})}function Kke(e,t,n){if(!p7(e))return;const r=t[e],i=n[e];cn(r)&&cn(i)?Sm(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=vB(i))}const g4={"":e=>e,x:e=>e.x,y:e=>e.y};function Wke(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function Gke(e){const t=Wke(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function Zf(e,t){return(g4[t]||(g4[t]=Gke(t)))(e)}function HL(e){return e.charAt(0).toUpperCase()+e.slice(1)}const cv=e=>typeof e<"u",Ac=e=>typeof e=="function",m4=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function Yke(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Or=Math.PI,br=2*Or,qke=br+Or,_B=Number.POSITIVE_INFINITY,Zke=Or/180,ii=Or/2,ff=Or/4,v4=Or*2/3,HO=Math.log10,wl=Math.sign;function Fm(e,t,n){return Math.abs(e-t)<n}function _4(e){const t=Math.round(e);e=Fm(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(HO(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function Xke(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((i,o)=>i-o).pop(),t}function lp(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Jke(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function eIe(e,t,n){let r,i,o;for(r=0,i=e.length;r<i;r++)o=e[r][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function BA(e){return e*(Or/180)}function tIe(e){return e*(180/Or)}function y4(e){if(!zi(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function g7(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*Or&&(o+=br),{angle:o,distance:i}}function $O(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function nIe(e,t){return(e-t+qke)%br-Or}function cl(e){return(e%br+br)%br}function fv(e,t,n,r){const i=cl(e),o=cl(t),a=cl(n),s=cl(o-i),l=cl(a-i),u=cl(i-o),f=cl(i-a);return i===o||i===a||r&&o===a||s>l&&u<f}function $i(e,t,n){return Math.max(t,Math.min(n,e))}function rIe(e){return $i(e,-32768,32767)}function CA(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function $L(e,t,n){n=n||(a=>e[a]<t);let r=e.length-1,i=0,o;for(;r-i>1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const Of=(e,t,n,r)=>$L(e,n,r?i=>{const o=e[i][t];return o<n||o===n&&e[i+1][t]===n}:i=>e[i][t]<n),iIe=(e,t,n)=>$L(e,n,r=>e[r][t]>=n);function oIe(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}const m7=["push","pop","shift","splice","unshift"];function aIe(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),m7.forEach(n=>{const r="_onData"+HL(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const a=i.apply(this,o);return e._chartjs.listeners.forEach(s=>{typeof s[r]=="function"&&s[r](...o)}),a}})})}function w4(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(m7.forEach(o=>{delete e[o]}),delete e._chartjs)}function v7(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const _7=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function y7(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,_7.call(window,()=>{r=!1,e.apply(t,n)}))}}function sIe(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const jL=e=>e==="start"?"left":e==="end"?"right":"center",Mi=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,lIe=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function w7(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:a,_parsed:s}=e,l=a.axis,{min:u,max:f,minDefined:d,maxDefined:g}=a.getUserBounds();d&&(i=$i(Math.min(Of(s,l,u).lo,n?r:Of(t,l,a.getPixelForValue(u)).lo),0,r-1)),g?o=$i(Math.max(Of(s,a.axis,f,!0).hi+1,n?0:Of(t,l,a.getPixelForValue(f),!0).hi+1),i,r)-i:o=r-i}return{start:i,count:o}}function b7(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const Ny=e=>e===0||e===1,b4=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*br/n)),B4=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*br/n)+1,Tm={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*ii)+1,easeOutSine:e=>Math.sin(e*ii),easeInOutSine:e=>-.5*(Math.cos(Or*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>Ny(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Ny(e)?e:b4(e,.075,.3),easeOutElastic:e=>Ny(e)?e:B4(e,.075,.3),easeInOutElastic(e){return Ny(e)?e:e<.5?.5*b4(e*2,.1125,.45):.5+.5*B4(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Tm.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Tm.easeInBounce(e*2)*.5:Tm.easeOutBounce(e*2-1)*.5+.5};function zL(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function C4(e){return zL(e)?e:new uv(e)}function YE(e){return zL(e)?e:new uv(e).saturate(.5).darken(.1).hexString()}const AIe=["x","y","borderWidth","radius","tension"],uIe=["color","borderColor","backgroundColor"];function cIe(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:uIe},numbers:{type:"number",properties:AIe}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function fIe(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const x4=new Map;function dIe(e,t){t=t||{};const n=e+JSON.stringify(t);let r=x4.get(n);return r||(r=new Intl.NumberFormat(e,t),x4.set(n,r)),r}function VL(e,t,n){return dIe(t,n).format(e)}const B7={values(e){return jr(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const u=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(u<1e-4||u>1e15)&&(i="scientific"),o=hIe(e,n)}const a=HO(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),VL(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(HO(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?B7.numeric.call(this,e,t,n):""}};function hIe(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var C7={formatters:B7};function pIe(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:C7.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Xf=Object.create(null),jO=Object.create(null);
vendor: 1,031 bytes, line 406
406function Om(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;r<i;++r){const o=n[r];e=e[o]||(e[o]=Object.create(null))}return e}function qE(e,t,n){return typeof t=="string"?Cl(Om(e,t),n):Cl(Om(e,""),t)}class gIe{constructor(t,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=r=>r.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(r,i)=>YE(i.backgroundColor),this.hoverBorderColor=(r,i)=>YE(i.borderColor),this.hoverColor=(r,i)=>YE(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 4,663 bytes, line 406
406,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(n)}set(t,n){return qE(this,t,n)}get(t){return Om(this,t)}describe(t,n){return qE(jO,t,n)}override(t,n){return qE(Xf,t,n)}route(t,n,r,i){const o=Om(this,t),a=Om(this,r),s="_"+n;Object.defineProperties(o,{[s]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[s],u=a[i];return cn(l)?Object.assign({},u,l):Gt(l,u)},set(l){this[s]=l}}})}apply(t){t.forEach(n=>n(this))}}var Tr=new gIe({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[cIe,fIe,pIe]);function mIe(e){return!e||Sn(e.size)||Sn(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function E4(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function df(e,t,n){const r=e.currentDevicePixelRatio,i=n!==0?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function S4(e,t){t=t||e.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function zO(e,t,n,r){x7(e,t,n,r,null)}function x7(e,t,n,r,i){let o,a,s,l,u,f,d,g;const m=t.pointStyle,v=t.rotation,y=t.radius;let x=(v||0)*Zke;if(m&&typeof m=="object"&&(o=m.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){e.save(),e.translate(n,r),e.rotate(x),e.drawImage(m,-m.width/2,-m.height/2,m.width,m.height),e.restore();return}if(!(isNaN(y)||y<=0)){switch(e.beginPath(),m){default:i?e.ellipse(n,r,i/2,y,0,0,br):e.arc(n,r,y,0,br),e.closePath();break;case"triangle":f=i?i/2:y,e.moveTo(n+Math.sin(x)*f,r-Math.cos(x)*y),x+=v4,e.lineTo(n+Math.sin(x)*f,r-Math.cos(x)*y),x+=v4,e.lineTo(n+Math.sin(x)*f,r-Math.cos(x)*y),e.closePath();break;case"rectRounded":u=y*.516,l=y-u,a=Math.cos(x+ff)*l,d=Math.cos(x+ff)*(i?i/2-u:l),s=Math.sin(x+ff)*l,g=Math.sin(x+ff)*(i?i/2-u:l),e.arc(n-d,r-s,u,x-Or,x-ii),e.arc(n+g,r-a,u,x-ii,x),e.arc(n+d,r+s,u,x,x+ii),e.arc(n-g,r+a,u,x+ii,x+Or),e.closePath();break;case"rect":if(!v){l=Math.SQRT1_2*y,f=i?i/2:l,e.rect(n-f,r-l,2*f,2*l);break}x+=ff;case"rectRot":d=Math.cos(x)*(i?i/2:y),a=Math.cos(x)*y,s=Math.sin(x)*y,g=Math.sin(x)*(i?i/2:y),e.moveTo(n-d,r-s),e.lineTo(n+g,r-a),e.lineTo(n+d,r+s),e.lineTo(n-g,r+a),e.closePath();break;case"crossRot":x+=ff;case"cross":d=Math.cos(x)*(i?i/2:y),a=Math.cos(x)*y,s=Math.sin(x)*y,g=Math.sin(x)*(i?i/2:y),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+g,r-a),e.lineTo(n-g,r+a);break;case"star":d=Math.cos(x)*(i?i/2:y),a=Math.cos(x)*y,s=Math.sin(x)*y,g=Math.sin(x)*(i?i/2:y),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+g,r-a),e.lineTo(n-g,r+a),x+=ff,d=Math.cos(x)*(i?i/2:y),a=Math.cos(x)*y,s=Math.sin(x)*y,g=Math.sin(x)*(i?i/2:y),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+g,r-a),e.lineTo(n-g,r+a);break;case"line":a=i?i/2:Math.cos(x)*y,s=Math.sin(x)*y,e.moveTo(n-a,r-s),e.lineTo(n+a,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(x)*(i?i/2:y),r+Math.sin(x)*y);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function dv(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function ix(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function ox(e){e.restore()}function vIe(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if(i==="middle"){const o=(t.x+n.x)/2;e.lineTo(o,t.y),e.lineTo(o,n.y)}else i==="after"!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function _Ie(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function yIe(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Sn(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function wIe(e,t,n,r,i){if(i.strikethrough||i.underline){const o=e.measureText(r),a=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,u=n+o.actualBoundingBoxDescent,f=i.strikethrough?(l+u)/2:u;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(a,f),e.lineTo(s,f),e.stroke()}}function bIe(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function hv(e,t,n,r,i,o={}){const a=jr(t)?t:[t],s=o.strokeWidth>0&&o.strokeColor!=="";let l,u;for(e.save(),e.font=i.string,yIe(e,o),l=0;l<a.length;++l)u=a[l],o.backdrop&&bIe(e,o.backdrop),s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Sn(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(u,n,r,o.maxWidth)),e.fillText(u,n,r,o.maxWidth),wIe(e,n,r,u,o),r+=Number(i.lineHeight);
vendor: 17,330 bytes, lines 406-411
406e.restore()}function yB(e,t){const{x:n,y:r,w:i,h:o,radius:a}=t;e.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*Or,Or,!0),e.lineTo(n,r+o-a.bottomLeft),e.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,Or,ii,!0),e.lineTo(n+i-a.bottomRight,r+o),e.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,ii,0,!0),e.lineTo(n+i,r+a.topRight),e.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-ii,!0),e.lineTo(n+a.topLeft,r)}const BIe=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,CIe=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function xIe(e,t){const n=(""+e).match(BIe);if(!n||n[1]==="normal")return t*1.2;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100;break}return t*e}const EIe=e=>+e||0;function KL(e,t){const n={},r=cn(t),i=r?Object.keys(t):t,o=cn(e)?r?a=>Gt(e[a],e[t[a]]):a=>e[a]:()=>e;for(const a of i)n[a]=EIe(o(a));return n}function E7(e){return KL(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Ph(e){return KL(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ga(e){const t=E7(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Si(e,t){e=e||{},t=t||Tr.font;let n=Gt(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=Gt(e.style,t.style);r&&!(""+r).match(CIe)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Gt(e.family,t.family),lineHeight:xIe(Gt(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Gt(e.weight,t.weight),string:""};return i.string=mIe(i),i}function pr(e,t,n,r){let i=!0,o,a,s;for(o=0,a=e.length;o<a;++o)if(s=e[o],s!==void 0&&(t!==void 0&&typeof s=="function"&&(s=s(t),i=!1),n!==void 0&&jr(s)&&(s=s[n%s.length],i=!1),s!==void 0))return r&&!i&&(r.cacheable=!1),s}function SIe(e,t,n){const{min:r,max:i}=e,o=h7(t,(i-r)/2),a=(s,l)=>n&&s===0?0:s+l;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function sd(e,t){return Object.assign(Object.create(e),t)}function WL(e,t=[""],n,r,i=()=>e[0]){const o=n||e;typeof r>"u"&&(r=O7("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:r,_getTarget:i,override:s=>WL([s,...e],t,o,r)};return new Proxy(a,{deleteProperty(s,l){return delete s[l],delete s._keys,delete e[0][l],!0},get(s,l){return F7(s,l,()=>RIe(l,t,e,s))},getOwnPropertyDescriptor(s,l){return Reflect.getOwnPropertyDescriptor(s._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(s,l){return T4(s).includes(l)},ownKeys(s){return T4(s)},set(s,l,u){const f=s._storage||(s._storage=i());return s[l]=f[l]=u,delete s._keys,!0}})}function Ap(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:S7(e,r),setContext:o=>Ap(e,o,n,r),override:o=>Ap(e.override(o),t,n,r)};return new Proxy(i,{deleteProperty(o,a){return delete o[a],delete e[a],!0},get(o,a,s){return F7(o,a,()=>TIe(o,a,s))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(e,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,a)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,a){return Reflect.has(e,a)},ownKeys(){return Reflect.ownKeys(e)},set(o,a,s){return e[a]=s,delete o[a],!0}})}function S7(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:Ac(n)?n:()=>n,isIndexable:Ac(r)?r:()=>r}}const FIe=(e,t)=>e?e+HL(t):t,GL=(e,t)=>cn(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function F7(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function TIe(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:a}=e;let s=r[t];return Ac(s)&&a.isScriptable(t)&&(s=OIe(t,s,e,n)),jr(s)&&s.length&&(s=kIe(t,s,e,a.isIndexable)),GL(t,s)&&(s=Ap(s,i,o&&o[t],a)),s}function OIe(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(o,a||r);return s.delete(e),GL(e,l)&&(l=YL(i._scopes,i,e,l)),l}function kIe(e,t,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:s}=n;if(typeof o.index<"u"&&r(e))return t[o.index%t.length];if(cn(t[0])){const l=t,u=i._scopes.filter(f=>f!==l);t=[];for(const f of l){const d=YL(u,i,e,f);t.push(Ap(d,o,a&&a[e],s))}}return t}function T7(e,t,n){return Ac(e)?e(t,n):e}const IIe=(e,t)=>e===!0?t:typeof e=="string"?Zf(t,e):void 0;function LIe(e,t,n,r,i){for(const o of t){const a=IIe(n,o);if(a){e.add(a);const s=T7(a._fallback,n,i);if(typeof s<"u"&&s!==n&&s!==r)return s}else if(a===!1&&typeof r<"u"&&n!==r)return null}return!1}function YL(e,t,n,r){const i=t._rootScopes,o=T7(t._fallback,n,r),a=[...e,...i],s=new Set;s.add(r);let l=F4(s,a,n,o||n,r);return l===null||typeof o<"u"&&o!==n&&(l=F4(s,a,o,l,r),l===null)?!1:WL(Array.from(s),[""],i,o,()=>DIe(t,n,r))}function F4(e,t,n,r,i){for(;n;)n=LIe(e,t,n,r,i);return n}function DIe(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return jr(i)&&cn(n)?n:i||{}}function RIe(e,t,n,r){let i;for(const o of t)if(i=O7(FIe(o,e),n),typeof i<"u")return GL(e,i)?YL(n,r,e,i):i}function O7(e,t){for(const n of t){if(!n)continue;const r=n[e];if(typeof r<"u")return r}}function T4(e){let t=e._keys;return t||(t=e._keys=PIe(e._scopes)),t}function PIe(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}const UIe=Number.EPSILON||1e-14,up=(e,t)=>t<e.length&&!e[t].skip&&e[t],k7=e=>e==="x"?"y":"x";function NIe(e,t,n,r){const i=e.skip?t:e,o=t,a=n.skip?t:n,s=$O(o,i),l=$O(a,o);let u=s/(s+l),f=l/(s+l);u=isNaN(u)?0:u,f=isNaN(f)?0:f;const d=r*u,g=r*f;return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+g*(a.x-i.x),y:o.y+g*(a.y-i.y)}}}function MIe(e,t,n){const r=e.length;let i,o,a,s,l,u=up(e,0);for(let f=0;f<r-1;++f)if(l=u,u=up(e,f+1),!(!l||!u)){if(Fm(t[f],0,UIe)){n[f]=n[f+1]=0;continue}i=n[f]/t[f],o=n[f+1]/t[f],s=Math.pow(i,2)+Math.pow(o,2),!(s<=9)&&(a=3/Math.sqrt(s),n[f]=i*a*t[f],n[f+1]=o*a*t[f])}}function QIe(e,t,n="x"){const r=k7(n),i=e.length;let o,a,s,l=up(e,0);for(let u=0;u<i;++u){if(a=s,s=l,l=up(e,u+1),!s)continue;const f=s[n],d=s[r];a&&(o=(f-a[n])/3,s[`cp1${n}`]=f-o,s[`cp1${r}`]=d-o*t[u]),l&&(o=(l[n]-f)/3,s[`cp2${n}`]=f+o,s[`cp2${r}`]=d+o*t[u])}}function HIe(e,t="x"){const n=k7(t),r=e.length,i=Array(r).fill(0),o=Array(r);let a,s,l,u=up(e,0);for(a=0;a<r;++a)if(s=l,l=u,u=up(e,a+1),!!l){if(u){const f=u[t]-l[t];i[a]=f!==0?(u[n]-l[n])/f:0}o[a]=s?u?wl(i[a-1])!==wl(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}MIe(e,i,o),QIe(e,o,t)}function My(e,t,n){return Math.max(Math.min(e,n),t)}function $Ie(e,t){let n,r,i,o,a,s=dv(e[0],t);for(n=0,r=e.length;n<r;++n)a=o,o=s,s=n<r-1&&dv(e[n+1],t),o&&(i=e[n],a&&(i.cp1x=My(i.cp1x,t.left,t.right),i.cp1y=My(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=My(i.cp2x,t.left,t.right),i.cp2y=My(i.cp2y,t.top,t.bottom)))}function jIe(e,t,n,r,i){let o,a,s,l;if(t.spanGaps&&(e=e.filter(u=>!u.skip)),t.cubicInterpolationMode==="monotone")HIe(e,i);else{let u=r?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)s=e[o],l=NIe(u,s,e[Math.min(o+1,a-(r?0:1))%a],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,u=s}t.capBezierPoints&&$Ie(e,n)}function qL(){return typeof window<"u"&&typeof document<"u"}function ZL(e){let t=e.parentNode;return t&&t.toString()==="[object ShadowRoot]"&&(t=t.host),t}function wB(e,t,n){let r;return typeof e=="string"?(r=parseInt(e,10),e.indexOf("%")!==-1&&(r=r/100*t.parentNode[n])):r=e,r}const ax=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function zIe(e,t){return ax(e).getPropertyValue(t)}const VIe=["top","right","bottom","left"];function Mf(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=VIe[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const KIe=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function WIe(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let a=!1,s,l;if(KIe(i,o,e.target))s=i,l=o;else{const u=t.getBoundingClientRect();s=r.clientX-u.left,l=r.clientY-u.top,a=!0}return{x:s,y:l,box:a}}function _f(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=ax(n),o=i.boxSizing==="border-box",a=Mf(i,"padding"),s=Mf(i,"border","width"),{x:l,y:u,box:f}=WIe(e,n),d=a.left+(f&&s.left),g=a.top+(f&&s.top);let{width:m,height:v}=t;return o&&(m-=a.width+s.width,v-=a.height+s.height),{x:Math.round((l-d)/m*n.width/r),y:Math.round((u-g)/v*n.height/r)}}function GIe(e,t,n){let r,i;if(t===void 0||n===void 0){const o=ZL(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const a=o.getBoundingClientRect(),s=ax(o),l=Mf(s,"border","width"),u=Mf(s,"padding");t=a.width-u.width-l.width,n=a.height-u.height-l.height,r=wB(s.maxWidth,o,"clientWidth"),i=wB(s.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:r||_B,maxHeight:i||_B}}const Qy=e=>Math.round(e*10)/10;function YIe(e,t,n,r){const i=ax(e),o=Mf(i,"margin"),a=wB(i.maxWidth,e,"clientWidth")||_B,s=wB(i.maxHeight,e,"clientHeight")||_B,l=GIe(e,t,n);let{width:u,height:f}=l;if(i.boxSizing==="content-box"){const g=Mf(i,"border","width"),m=Mf(i,"padding");u-=m.width+g.width,f-=m.height+g.height}return u=Math.max(0,u-o.width),f=Math.max(0,r?u/r:f-o.height),u=Qy(Math.min(u,a,l.maxWidth)),f=Qy(Math.min(f,s,l.maxHeight)),u&&!f&&(f=Qy(u/2)),(t!==void 0||n!==void 0)&&r&&l.height&&f>l.height&&(f=l.height,u=Qy(Math.floor(f*r))),{width:u,height:f}}function O4(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||a.height!==i||a.width!==o?(e.currentDevicePixelRatio=r,a.height=i,a.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const qIe=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};qL()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function k4(e,t){const n=zIe(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function yf(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function ZIe(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function XIe(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=yf(e,i,n),s=yf(i,o,n),l=yf(o,t,n),u=yf(a,s,n),f=yf(s,l,n);return yf(u,f,n)}const JIe=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},eLe=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Uh(e,t,n){return e?JIe(t,n):eLe()}function I7(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function L7(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function D7(e){return e==="angle"?{between:fv,compare:nIe,normalize:cl}:{between:CA,compare:(t,n)=>t-n,normalize:t=>t}}function I4({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function tLe(e,t,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=D7(r),l=t.length;let{start:u,end:f,loop:d}=e,g,m;if(d){for(u+=l,f+=l,g=0,m=l;g<m&&a(s(t[u%l][r]),i,o);++g)u--,f--;u%=l,f%=l}return f<u&&(f+=l),{start:u,end:f,loop:d,style:e.style}}function R7(e,t,n){if(!n)return[e];const{property:r,start:i,end:o}=n,a=t.length,{compare:s,between:l,normalize:u}=D7(r),{start:f,end:d,loop:g,style:m}=tLe(e,t,n),v=[];let y=!1,x=null,C,b,E;const T=()=>l(i,E,C)&&s(i,E)!==0,D=()=>s(o,C)===0||l(o,E,C),I=()=>y||T(),U=()=>!y||D();for(let H=f,V=f;H<=d;++H)b=t[H%a],!b.skip&&(C=u(b[r]),C!==E&&(y=l(C,i,o),x===null&&I()&&(x=s(C,i)===0?H:V),x!==null&&U()&&(v.push(I4({start:x,end:H,loop:g,count:a,style:m})),x=null),V=H,E=C));return x!==null&&v.push(I4({start:x,end:d,loop:g,count:a,style:m})),v}function P7(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const o=R7(r[i],e.points,t);o.length&&n.push(...o)}return n}function nLe(e,t,n,r){let i=0,o=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(o+=i);o>i&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function rLe(e,t,n,r){const i=e.length,o=[];let a=t,s=e[t],l;for(l=t+1;l<=n;++l){const u=e[l%i];u.skip||u.stop?s.skip||(r=!1,o.push({start:t%i,end:(l-1)%i,loop:r}),t=a=u.stop?l:null):(a=l,s.skip&&(t=l)),s=u}return a!==null&&o.push({start:t%i,end:a%i,loop:r}),o}function iLe(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:a,end:s}=nLe(n,i,o,r);if(r===!0)return L4(e,[{start:a,end:s,loop:o}],n,t);const l=s<a?s+i:s,u=!!e._fullLoop&&a===0&&s===i-1;return L4(e,rLe(n,a,l,u),n,t)}function L4(e,t,n,r){return!r||!r.setContext||!n?t:oLe(e,t,n,r)}function oLe(e,t,n,r){const i=e._chart.getContext(),o=D4(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,l=n.length,u=[];let f=o,d=t[0].start,g=d;function m(v,y,x,C){const b=s?-1:1;if(v!==y){for(v+=l;n[v%l].skip;)v-=b;for(;n[y%l].skip;)y+=b;v%l!==y%l&&(u.push({start:v%l,end:y%l,loop:x,style:C}),f=C,d=y%l)}}for(const v of t){d=s?d:v.start;let y=n[d%l],x;for(g=d+1;g<=v.end;g++){const C=n[g%l];x=D4(r.setContext(sd(i,{type:"segment",p0:y,p1:C,p0DataIndex:(g-1)%l,p1DataIndex:g%l,datasetIndex:a}))),aLe(x,f)&&m(d,g-1,v.loop,f),y=C,f=x}d<g-1&&m(d,g-1,v.loop,f)}return u}function D4(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function aLe(e,t){if(!t)return!1;const n=[],r=function(i,o){return zL(o)?(n.includes(o)||n.push(o),n.indexOf(o)):o};return JSON.stringify(e,r)!==JSON.stringify(t,r)}/*! 407 * Chart.js v4.4.1 408 * https://www.chartjs.org 409 * (c) 2023 Chart.js Contributors 410 * Released under the MIT License 411 */class sLe{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,n,r,i){const o=n.listeners[i],a=n.duration;o.forEach(s=>s({chart:t,initial:n.initial,numSteps:a,currentStep:Math.min(r-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=_7.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let a=o.length-1,s=!1,l;for(;a>=0;--a)l=o[a],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),s=!0):(o[a]=o[o.length-1],o.pop());s&&(i.draw(),this._notify(i,r,t,"progress")),o.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var hA=new sLe;const R4="transparent",lLe={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=C4(e||R4),i=r.valid&&C4(t||R4);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class ALe{constructor(t,n,r,i){const o=n[r];i=pr([t.to,i,o,t.from]);const a=pr([t.from,o,i]);this._active=!0,this._fn=t.fn||lLe[t.type||typeof a],this._easing=Tm[t.easing]||Tm.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,a=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=pr([t.to,n,i,t.from]),this._from=pr([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,o=this._from,a=this._loop,s=this._to;let l;if(this._active=o!==s&&(a||n<r),!this._active){this._target[i]=s,this._notify(!0);return}if(n<0){this._target[i]=o;return}l=n/r%2,l=a&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,s,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;i<r.length;i++)r[i][n]()}}class U7{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!cn(t))return;const n=Object.keys(Tr.animation),r=this._properties;Object.getOwnPropertyNames(t).forEach(i=>
vendor: 8,371 bytes, line 411
411{const o=t[i];if(!cn(o))return;const a={};for(const s of n)a[s]=o[s];(jr(o.properties)&&o.properties||[i]).forEach(s=>{(s===i||!r.has(s))&&r.set(s,a)})})}_animateOptions(t,n){const r=n.options,i=cLe(t,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&uLe(t.options.$animations,r).then(()=>{t.options=r},()=>{}),o}_createAnimations(t,n){const r=this._properties,i=[],o=t.$animations||(t.$animations={}),a=Object.keys(n),s=Date.now();let l;for(l=a.length-1;l>=0;--l){const u=a[l];if(u.charAt(0)==="$")continue;if(u==="options"){i.push(...this._animateOptions(t,n));continue}const f=n[u];let d=o[u];const g=r.get(u);if(d)if(g&&d.active()){d.update(g,f,s);continue}else d.cancel();if(!g||!g.duration){t[u]=f;continue}o[u]=d=new ALe(g,t,u,f),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return hA.add(this._chart,r),!0}}function uLe(e,t){const n=[],r=Object.keys(t);for(let i=0;i<r.length;i++){const o=e[r[i]];o&&o.active()&&n.push(o.wait())}return Promise.all(n)}function cLe(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function P4(e,t){const n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,o=n.max===void 0?t:0;return{start:r?o:i,end:r?i:o}}function fLe(e,t,n){if(n===!1)return!1;const r=P4(e,n),i=P4(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function dLe(e){let t,n,r,i;return cn(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function N7(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function U4(e,t,n,r={}){const i=e.keys,o=r.mode==="single";let a,s,l,u;if(t!==null){for(a=0,s=i.length;a<s;++a){if(l=+i[a],l===n){if(r.all)continue;break}u=e.values[l],zi(u)&&(o||t===0||wl(t)===wl(u))&&(t+=u)}return t}}function hLe(e){const t=Object.keys(e),n=new Array(t.length);let r,i,o;for(r=0,i=t.length;r<i;++r)o=t[r],n[r]={x:o,y:e[o]};return n}function N4(e,t){const n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function pLe(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function gLe(e){const{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}function mLe(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function M4(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const o=e[i.index];if(n&&o>0||!n&&o<0)return i.index}return null}function Q4(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,l=o.axis,u=a.axis,f=pLe(o,a,r),d=t.length;let g;for(let m=0;m<d;++m){const v=t[m],{[l]:y,[u]:x}=v,C=v._stacks||(v._stacks={});g=C[u]=mLe(i,f,y),g[s]=x,g._top=M4(g,a,!0,r.type),g._bottom=M4(g,a,!1,r.type);const b=g._visualValues||(g._visualValues={});b[s]=x}}function ZE(e,t){const n=e.scales;return Object.keys(n).filter(r=>n[r].axis===t).shift()}function vLe(e,t){return sd(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function _Le(e,t,n){return sd(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Cg(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n],o[r]._visualValues!==void 0&&o[r]._visualValues[n]!==void 0&&delete o[r]._visualValues[n]}}}const XE=e=>e==="reset"||e==="none",H4=(e,t)=>t?e:Object.assign({},e),yLe=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:N7(n,!0),values:null};class OA{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=N4(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Cg(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(d,g,m,v)=>d==="x"?g:d==="r"?v:m,o=n.xAxisID=Gt(r.xAxisID,ZE(t,"x")),a=n.yAxisID=Gt(r.yAxisID,ZE(t,"y")),s=n.rAxisID=Gt(r.rAxisID,ZE(t,"r")),l=n.indexAxis,u=n.iAxisID=i(l,o,a,s),f=n.vAxisID=i(l,a,o,s);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(s),n.iScale=this.getScaleForId(u),n.vScale=this.getScaleForId(f)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&w4(this._data,this),t._stacked&&Cg(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(cn(n))this._data=hLe(n);else if(r!==n){if(r){w4(r,this);const i=this._cachedMeta;Cg(i),i._parsed=[]}n&&Object.isExtensible(n)&&aIe(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=N4(n.vScale,n),n.stack!==r.stack&&(i=!0,Cg(n),n.stack=r.stack),this._resyncElements(t),(i||o!==n._stacked)&&Q4(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:a}=r,s=o.axis;let l=t===0&&n===i.length?!0:r._sorted,u=t>0&&r._parsed[t-1],f,d,g;if(this._parsing===!1)r._parsed=i,r._sorted=!0,g=i;else{jr(i[t])?g=this.parseArrayData(r,i,t,n):cn(i[t])?g=this.parseObjectData(r,i,t,n):g=this.parsePrimitiveData(r,i,t,n);const m=()=>d[s]===null||u&&d[s]<u[s];for(f=0;f<n;++f)r._parsed[f+t]=d=g[f],l&&(m()&&(l=!1),u=d);r._sorted=l}a&&Q4(this,g)}parsePrimitiveData(t,n,r,i){const{iScale:o,vScale:a}=t,s=o.axis,l=a.axis,u=o.getLabels(),f=o===a,d=new Array(i);let g,m,v;for(g=0,m=i;g<m;++g)v=g+r,d[g]={[s]:f||o.parse(u[v],v),[l]:a.parse(n[v],v)};return d}parseArrayData(t,n,r,i){const{xScale:o,yScale:a}=t,s=new Array(i);let l,u,f,d;for(l=0,u=i;l<u;++l)f=l+r,d=n[f],s[l]={x:o.parse(d[0],f),y:a.parse(d[1],f)};return s}parseObjectData(t,n,r,i){const{xScale:o,yScale:a}=t,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,u=new Array(i);let f,d,g,m;for(f=0,d=i;f<d;++f)g=f+r,m=n[g],u[f]={x:o.parse(Zf(m,s),g),y:a.parse(Zf(m,l),g)};return u}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,n,r){const i=this.chart,o=this._cachedMeta,a=n[t.axis],s={keys:N7(i,!0),values:n._stacks[t.axis]._visualValues};return U4(s,a,o.index,{mode:r})}updateRangeFromParsed(t,n,r,i){const o=r[n.axis];let a=o===null?NaN:o;const s=i&&r._stacks[n.axis];i&&s&&(i.values=s,a=U4(i,o,this._cachedMeta.index)),t.min=Math.min(t.min,a),t.max=Math.max(t.max,a)}getMinMax(t,n){const r=this._cachedMeta,i=r._parsed,o=r._sorted&&t===r.iScale,a=i.length,s=this._getOtherScale(t),l=yLe(n,r,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:f,max:d}=gLe(s);let g,m;function v(){m=i[g];const y=m[s.axis];return!zi(m[t.axis])||f>y||d<y}for(g=0;g<a&&!(!v()&&(this.updateRangeFromParsed(u,t,m,l),o));++g);if(o){for(g=a-1;g>=0;--g)if(!v()){this.updateRangeFromParsed(u,t,m,l);break}}return u}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,o,a;for(i=0,o=n.length;i<o;++i)a=n[i][t.axis],zi(a)&&r.push(a);return r}getMaxOverflow(){return!1}
vendor: 17,802 bytes, line 411
411getLabelAndValue(t){const n=this._cachedMeta,r=n.iScale,i=n.vScale,o=this.getParsed(t);return{label:r?""+r.getLabelForValue(o[r.axis]):"",value:i?""+i.getLabelForValue(o[i.axis]):""}}_update(t){const n=this._cachedMeta;this.update(t||"default"),n._clip=dLe(Gt(this.options.clip,fLe(n.xScale,n.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,n=this.chart,r=this._cachedMeta,i=r.data||[],o=n.chartArea,a=[],s=this._drawStart||0,l=this._drawCount||i.length-s,u=this.options.drawActiveElementsOnTop;let f;for(r.dataset&&r.dataset.draw(t,o,s,l),f=s;f<s+l;++f){const d=i[f];d.hidden||(d.active&&u?a.push(d):d.draw(t,o))}for(f=0;f<a.length;++f)a[f].draw(t,o)}getStyle(t,n){const r=n?"active":"default";return t===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(t||0,r)}getContext(t,n,r){const i=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const a=this._cachedMeta.data[t];o=a.$context||(a.$context=_Le(this.getContext(),t,a)),o.parsed=this.getParsed(t),o.raw=i.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=vLe(this.chart.getContext(),this.index)),o.dataset=i,o.index=o.datasetIndex=this.index;return o.active=!!n,o.mode=r,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,n){return this._resolveElementOptions(this.dataElementType.id,n,t)}_resolveElementOptions(t,n="default",r){const i=n==="active",o=this._cachedDataOpts,a=t+"-"+n,s=o[a],l=this.enableOptionSharing&&cv(r);if(s)return H4(s,l);const u=this.chart.config,f=u.datasetElementScopeKeys(this._type,t),d=i?[`${t}Hover`,"hover",t,""]:[t,""],g=u.getOptionScopes(this.getDataset(),f),m=Object.keys(Tr.elements[t]),v=()=>this.getContext(r,i,n),y=u.resolveNamedOptions(g,m,v,d);return y.$shared&&(y.$shared=l,o[a]=Object.freeze(H4(y,l))),y}_resolveAnimations(t,n,r){const i=this.chart,o=this._cachedDataOpts,a=`animation-${n}`,s=o[a];if(s)return s;let l;if(i.options.animation!==!1){const f=this.chart.config,d=f.datasetAnimationScopeKeys(this._type,n),g=f.getOptionScopes(this.getDataset(),d);l=f.createResolver(g,this.getContext(t,r,n))}const u=new U7(i,l&&l.animations);return l&&l._cacheable&&(o[a]=Object.freeze(u)),u}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||XE(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(r),a=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:a}}updateElement(t,n,r,i){XE(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!XE(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[s,l,u]of this._syncList)this[s](l,u);this._syncList=[];const i=r.length,o=n.length,a=Math.min(o,i);a&&this.parse(0,a),o>i?this._insertElements(i,o-i,t):o<i&&this._removeElements(o,i-o)}_insertElements(t,n,r=!0){const i=this._cachedMeta,o=i.data,a=t+n;let s;const l=u=>{for(u.length+=n,s=u.length-1;s>=a;s--)u[s]=u[s-n]};for(l(o),s=t;s<a;++s)o[s]=new this.dataElementType;this._parsing&&l(i._parsed),this.parse(t,n),r&&this.updateElements(o,t,n,"reset")}updateElements(t,n,r,i){}_removeElements(t,n){const r=this._cachedMeta;if(this._parsing){const i=r._parsed.splice(t,n);r._stacked&&Cg(r,i)}r.data.splice(t,n)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[n,r,i]=t;this[n](r,i)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,n){n&&this._sync(["_removeElements",t,n]);const r=arguments.length-2;r&&this._sync(["_insertElements",t,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}ut(OA,"defaults",{}),ut(OA,"datasetElementType",null),ut(OA,"dataElementType",null);function wLe(e,t){if(!e._cache.$bar){const n=e.getMatchingVisibleMetas(t);let r=[];for(let i=0,o=n.length;i<o;i++)r=r.concat(n[i].controller.getAllParsedValues(e));e._cache.$bar=v7(r.sort((i,o)=>i-o))}return e._cache.$bar}function bLe(e){const t=e.iScale,n=wLe(t,e.type);let r=t._length,i,o,a,s;const l=()=>{a===32767||a===-32768||(cv(s)&&(r=Math.min(r,Math.abs(a-s)||r)),s=a)};for(i=0,o=n.length;i<o;++i)a=t.getPixelForValue(n[i]),l();for(s=void 0,i=0,o=t.ticks.length;i<o;++i)a=t.getPixelForTick(i),l();return r}function BLe(e,t,n,r){const i=n.barThickness;let o,a;return Sn(i)?(o=t.min*n.categoryPercentage,a=n.barPercentage):(o=i*r,a=1),{chunk:o/r,ratio:a,start:t.pixels[e]-o/2}}function CLe(e,t,n,r){const i=t.pixels,o=i[e];let a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null;const l=n.categoryPercentage;a===null&&(a=o-(s===null?t.end-t.start:s-o)),s===null&&(s=o+o-a);const u=o-(o-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:u}}function xLe(e,t,n,r){const i=n.parse(e[0],r),o=n.parse(e[1],r),a=Math.min(i,o),s=Math.max(i,o);let l=a,u=s;Math.abs(a)>Math.abs(s)&&(l=s,u=a),t[n.axis]=u,t._custom={barStart:l,barEnd:u,start:i,end:o,min:a,max:s}}function M7(e,t,n,r){return jr(e)?xLe(e,t,n,r):t[n.axis]=n.parse(e,r),t}function $4(e,t,n,r){const i=e.iScale,o=e.vScale,a=i.getLabels(),s=i===o,l=[];let u,f,d,g;for(u=n,f=n+r;u<f;++u)g=t[u],d={},d[i.axis]=s||i.parse(a[u],u),l.push(M7(g,d,o,u));return l}function JE(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function ELe(e,t,n){return e!==0?wl(e):(t.isHorizontal()?1:-1)*(t.min>=n?1:-1)}function SLe(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.base<e.y,n="bottom",r="top"),t?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:t,top:i,bottom:o}}function FLe(e,t,n,r){let i=t.borderSkipped;const o={};if(!i){e.borderSkipped=o;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:a,end:s,reverse:l,top:u,bottom:f}=SLe(e);i==="middle"&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=u:(n._bottom||0)===r?i=f:(o[j4(f,a,s,l)]=!0,i=u)),o[j4(i,a,s,l)]=!0,e.borderSkipped=o}function j4(e,t,n,r){return r?(e=TLe(e,t,n),e=z4(e,n,t)):e=z4(e,t,n),e}function TLe(e,t,n){return e===t?n:e===n?t:e}function z4(e,t,n){return e==="start"?t:e==="end"?n:e}function OLe(e,{inflateAmount:t},n){e.inflateAmount=t==="auto"?n===1?.33:0:t}class gw extends OA{parsePrimitiveData(t,n,r,i){return $4(t,n,r,i)}parseArrayData(t,n,r,i){return $4(t,n,r,i)}parseObjectData(t,n,r,i){const{iScale:o,vScale:a}=t,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,u=o.axis==="x"?s:l,f=a.axis==="x"?s:l,d=[];let g,m,v,y;for(g=r,m=r+i;g<m;++g)y=n[g],v={},v[o.axis]=o.parse(Zf(y,u),g),d.push(M7(Zf(y,f),v,a,g));return d}updateRangeFromParsed(t,n,r,i){super.updateRangeFromParsed(t,n,r,i);const o=r._custom;o&&n===this._cachedMeta.vScale&&(t.min=Math.min(t.min,o.min),t.max=Math.max(t.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const n=this._cachedMeta,{iScale:r,vScale:i}=n,o=this.getParsed(t),a=o._custom,s=JE(a)?"["+a.start+", "+a.end+"]":""+i.getLabelForValue(o[i.axis]);return{label:""+r.getLabelForValue(o[r.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();const t=this._cachedMeta;t.stack=this.getDataset().stack}update(t){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,t)}updateElements(t,n,r,i){const o=i==="reset",{index:a,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),u=s.isHorizontal(),f=this._getRuler(),{sharedOptions:d,includeOptions:g}=this._getSharedOptions(n,i);for(let m=n;m<n+r;m++){const v=this.getParsed(m),y=o||Sn(v[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(m),x=this._calculateBarIndexPixels(m,f),C=(v._stacks||{})[s.axis],b={horizontal:u,base:y.base,enableBorderRadius:!C||JE(v._custom)||a===C._top||a===C._bottom,x:u?y.head:x.center,y:u?x.center:y.head,height:u?x.size:Math.abs(y.size),width:u?Math.abs(y.size):x.size};g&&(b.options=d||this.resolveDataElementOptions(m,t[m].active?"active":i));const E=b.options||t[m].options;FLe(b,E,C,a),OLe(b,E,f.ratio),this.updateElement(t[m],m,b,i)}}_getStacks(t,n){const{iScale:r}=this._cachedMeta,i=r.getMatchingVisibleMetas(this._type).filter(l=>l.controller.options.grouped),o=r.options.stacked,a=[],s=l=>{const u=l.controller.getParsed(n),f=u&&u[l.vScale.axis];if(Sn(f)||isNaN(f))return!0};for(const l of i)if(!(n!==void 0&&s(l))&&((o===!1||a.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&a.push(l.stack),l.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,a;for(o=0,a=n.data.length;o<a;++o)i.push(r.getPixelForValue(this.getParsed(o)[r.axis],o));const s=t.barThickness;return{min:s||bLe(n),pixels:i,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:t.grouped,ratio:s?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:n,_stacked:r,index:i},options:{base:o,minBarLength:a}}=this,s=o||0,l=this.getParsed(t),u=l._custom,f=JE(u);let d=l[n.axis],g=0,m=r?this.applyStack(n,l,r):d,v,y;m!==d&&(g=m-d,m=d),f&&(d=u.barStart,m=u.barEnd-u.barStart,d!==0&&wl(d)!==wl(u.barEnd)&&(g=0),g+=d);const x=!Sn(o)&&!f?o:g;let C=n.getPixelForValue(x);if(this.chart.getDataVisibility(t)?v=n.getPixelForValue(g+m):v=C,y=v-C,Math.abs(y)<a){y=ELe(y,n,s)*a,d===s&&(C-=y/2);const b=n.getPixelForDecimal(0),E=n.getPixelForDecimal(1),T=Math.min(b,E),D=Math.max(b,E);C=Math.max(Math.min(C,D),T),v=C+y,r&&!f&&(l._stacks[n.axis]._visualValues[i]=n.getValueForPixel(v)-n.getValueForPixel(C))}if(C===n.getPixelForValue(s)){const b=wl(y)*n.getLineWidthForValue(s)/2;C+=b,y-=b}return{size:y,base:C,head:v,center:v+y/2}}_calculateBarIndexPixels(t,n){const r=n.scale,i=this.options,o=i.skipNull,a=Gt(i.maxBarThickness,1/0);let s,l;if(n.grouped){const u=o?this._getStackCount(t):n.stackCount,f=i.barThickness==="flex"?CLe(t,n,i,u):BLe(t,n,i,u),d=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);s=f.start+f.chunk*d+f.chunk/2,l=Math.min(a,f.chunk*f.ratio)}else s=r.getPixelForValue(this.getParsed(t)[r.axis],t),l=Math.min(a,n.min*n.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const t=this._cachedMeta,n=t.vScale,r=t.data,i=r.length;let o=0;for(;o<i;++o)this.getParsed(o)[n.axis]!==null&&r[o].draw(this._ctx)}}ut(gw,"id","bar"),ut(gw,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),ut(gw,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class mw extends OA{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,n,r,i){const o=super.parsePrimitiveData(t,n,r,i);for(let a=0;a<o.length;a++)o[a]._custom=this.resolveDataElementOptions(a+r).radius;return o}parseArrayData(t,n,r,i){const o=super.parseArrayData(t,n,r,i);for(let a=0;a<o.length;a++){const s=n[r+a];o[a]._custom=Gt(s[2],this.resolveDataElementOptions(a+r).radius)}return o}parseObjectData(t,n,r,i){const o=super.parseObjectData(t,n,r,i);for(let a=0;a<o.length;a++){const s=n[r+a];o[a]._custom=Gt(s&&s.r&&+s.r,this.resolveDataElementOptions(a+r).radius)}return o}getMaxOverflow(){const t=this._cachedMeta.data;let n=0;for(let r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:i,yScale:o}=n,a=this.getParsed(t),s=i.getLabelForValue(a.x),l=o.getLabelForValue(a.y),u=a._custom;return{label:r[t]||"",value:"("+s+", "+l+(u?", "+u:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:a,vScale:s}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(n,i),f=a.axis,d=s.axis;for(let g=n;g<n+r;g++){const m=t[g],v=!o&&this.getParsed(g),y={},x=y[f]=o?a.getPixelForDecimal(.5):a.getPixelForValue(v[f]),C=y[d]=o?s.getBasePixel():s.getPixelForValue(v[d]);y.skip=isNaN(x)||isNaN(C),u&&(y.options=l||this.resolveDataElementOptions(g,m.active?"active":i),o&&(y.options.radius=0)),this.updateElement(m,g,y,i)}}resolveDataElementOptions(t,n){const r=this.getParsed(t);let i=super.resolveDataElementOptions(t,n);i.$shared&&(i=Object.assign({},i,{$shared:!1}));const o=i.radius;return n!=="active"&&(i.radius=0),i.radius+=Gt(r&&r._custom,o),i}}ut(mw,"id","bubble"),ut(mw,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),ut(mw,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});function kLe(e,t,n){let r=1,i=1,o=0,a=0;if(t<br){const s=e,l=s+t,u=Math.cos(s),f=Math.sin(s),d=Math.cos(l),g=Math.sin(l),m=(E,T,D)=>fv(E,s,l,!0)?1:Math.max(T,T*n,D,D*n),v=(E,T,D)=>fv(E,s,l,!0)?-1:Math.min(T,T*n,D,D*n),y=m(0,u,d),x=m(ii,f,g),C=v(Or,u,d),b=v(Or+ii,f,g);r=(y-C)/2,i=(x-b)/2,o=-(y+C)/2,a=-(x+b)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}class Ch extends OA{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=l=>+r[l];if(cn(r[t])){const{key:l="value"}=this._parsing;o=u=>+Zf(r[u],l)}let a,s;for(a=t,s=t+n;a<s;++a)i._parsed[a]=o(a)}}_getRotation(){return BA(this.options.rotation-90)}_getCircumference(){return BA(this.options.circumference)}_getRotationExtents(){let t=br,n=-br;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const i=this.chart.getDatasetMeta(r).controller,o=i._getRotation(),a=i._getCircumference();t=Math.min(t,o),n=Math.max(n,o+a)}return{rotation:t,circumference:n-t}}update(t){const n=this.chart,{chartArea:r}=n,i=this._cachedMeta,o=i.data,a=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,s=Math.max((Math.min(r.width,r.height)-a)/2,0),l=Math.min(zke(this.options.cutout,s),1),u=this._getRingWeight(this.index),{circumference:f,rotation:d}=this._getRotationExtents(),{ratioX:g,ratioY:m,offsetX:v,offsetY:y}=kLe(d,f,l),x=(r.width-a)/g,C=(r.height-a)/m,b=Math.max(Math.min(x,C)/2,0),E=h7(this.options.radius,b),T=Math.max(E*l,0),D=(E-T)/this._getVisibleDatasetWeightTotal();this.offsetX=v*E,this.offsetY=y*E,i.total=this.calculateTotal(),this.outerRadius=E-D*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-D*u,0),this.updateElements(o,0,o.length,t)}_circumference(t,n){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return n&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||i._parsed[t]===null||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*o/br)}updateElements(t,n,r,i){const o=i==="reset",a=this.chart,s=a.chartArea,u=a.options.animation,f=(s.left+s.right)/2,d=(s.top+s.bottom)/2,g=o&&u.animateScale,m=g?0:this.innerRadius,v=g?0:this.outerRadius,{sharedOptions:y,includeOptions:x}=this._getSharedOptions(n,i);let C=this._getRotation(),b;for(b=0;b<n;++b)C+=this._circumference(b,o);for(b=n;b<n+r;++b){const E=this._circumference(b,o),T=t[b],D={x:f+this.offsetX,y:d+this.offsetY,startAngle:C,endAngle:C+E,circumference:E,outerRadius:v,innerRadius:m};x&&(D.options=y||this.resolveDataElementOptions(b,T.active?"active":i)),C+=E,this.updateElement(T,b,D,i)}}calculateTotal(){const t=this._cachedMeta,n=t.data;let r=0,i;for(i=0;i<n.length;i++){const o=t._parsed[i];o!==null&&!isNaN(o)&&this.chart.getDataVisibility(i)&&!n[i].hidden&&(r+=Math.abs(o))}return r}calculateCircumference(t){const n=this._cachedMeta.total;return n>0&&!isNaN(t)?br*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=VL(n._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,o,a,s,l;if(!t){for(i=0,o=r.data.datasets.length;i<o;++i)if(r.isDatasetVisible(i)){a=r.getDatasetMeta(i),t=a.data,s=a.controller;break}}if(!t)return 0;for(i=0,o=t.length;i<o;++i)l=s.resolveDataElementOptions(i),l.borderAlign!=="inner"&&(n=Math.max(n,l.borderWidth||0,l.hoverBorderWidth||0));return n}getMaxOffset(t){let n=0;for(let r=0,i=t.length;r<i;++r){const o=this.resolveDataElementOptions(r);n=Math.max(n,o.offset||0,o.hoverOffset||0)}return n}_getRingWeightOffset(t){let n=0;for(let r=0;r<t;++r)this.chart.isDatasetVisible(r)&&(n+=this._getRingWeight(r));return n}_getRingWeight(t){return Math.max(Gt(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}ut(Ch,"id","doughnut"),ut(Ch,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}}
vendor: 7,557 bytes, line 411
411,cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),ut(Ch,"descriptors",{_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),ut(Ch,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:r,color:i}}=t.legend.options;return n.labels.map((o,a)=>{const l=t.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,n,r){r.chart.toggleDataVisibility(n.index),r.chart.update()}}}});class vw extends OA{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=n,a=this.chart._animationsDisabled;let{start:s,count:l}=w7(n,i,a);this._drawStart=s,this._drawCount=l,b7(n)&&(s=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const u=this.resolveDatasetElementOptions(t);this.options.showLine||(u.borderWidth=0),u.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:u},t),this.updateElements(i,s,l,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,{sharedOptions:f,includeOptions:d}=this._getSharedOptions(n,i),g=a.axis,m=s.axis,{spanGaps:v,segment:y}=this.options,x=lp(v)?v:Number.POSITIVE_INFINITY,C=this.chart._animationsDisabled||o||i==="none",b=n+r,E=t.length;let T=n>0&&this.getParsed(n-1);for(let D=0;D<E;++D){const I=t[D],U=C?I:{};if(D<n||D>=b){U.skip=!0;continue}const H=this.getParsed(D),V=Sn(H[m]),j=U[g]=a.getPixelForValue(H[g],D),z=U[m]=o||V?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,H,l):H[m],D);U.skip=isNaN(j)||isNaN(z)||V,U.stop=D>0&&Math.abs(H[g]-T[g])>x,y&&(U.parsed=H,U.raw=u.data[D]),d&&(U.options=f||this.resolveDataElementOptions(D,I.active?"active":i)),C||this.updateElement(I,D,U,i),T=H}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}ut(vw,"id","line"),ut(vw,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ut(vw,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class VO extends Ch{}ut(VO,"id","pie"),ut(VO,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class _w extends OA{getLabelAndValue(t){const n=this._cachedMeta,r=this.chart.data.labels||[],{xScale:i,yScale:o}=n,a=this.getParsed(t),s=i.getLabelForValue(a.x),l=o.getLabelForValue(a.y);return{label:r[t]||"",value:"("+s+", "+l+")"}}update(t){const n=this._cachedMeta,{data:r=[]}=n,i=this.chart._animationsDisabled;let{start:o,count:a}=w7(n,r,i);if(this._drawStart=o,this._drawCount=a,b7(n)&&(o=0,a=r.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:s,_dataset:l}=n;s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!l._decimated,s.points=r;const u=this.resolveDatasetElementOptions(t);u.segment=this.options.segment,this.updateElement(s,void 0,{animated:!i,options:u},t)}else this.datasetElementType&&(delete n.dataset,this.datasetElementType=!1);this.updateElements(r,o,a,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,n,r,i){const o=i==="reset",{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,f=this.resolveDataElementOptions(n,i),d=this.getSharedOptions(f),g=this.includeOptions(i,d),m=a.axis,v=s.axis,{spanGaps:y,segment:x}=this.options,C=lp(y)?y:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||o||i==="none";let E=n>0&&this.getParsed(n-1);for(let T=n;T<n+r;++T){const D=t[T],I=this.getParsed(T),U=b?D:{},H=Sn(I[v]),V=U[m]=a.getPixelForValue(I[m],T),j=U[v]=o||H?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,I,l):I[v],T);U.skip=isNaN(V)||isNaN(j)||H,U.stop=T>0&&Math.abs(I[m]-E[m])>C,x&&(U.parsed=I,U.raw=u.data[T]),g&&(U.options=d||this.resolveDataElementOptions(T,D.active?"active":i)),b||this.updateElement(D,T,U,i),E=I}this.updateSharedOptions(d,i,f)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let s=0;for(let l=n.length-1;l>=0;--l)s=Math.max(s,n[l].size(this.resolveDataElementOptions(l))/2);return s>0&&s}const r=t.dataset,i=r.options&&r.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),a=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,a)/2}}ut(_w,"id","scatter"),ut(_w,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),ut(_w,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function hf(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class XL{constructor(t){ut(this,"options");this.options=t||{}}static override(t){Object.assign(XL.prototype,t)}init(){}formats(){return hf()}parse(){return hf()}format(){return hf()}add(){return hf()}diff(){return hf()}startOf(){return hf()}endOf(){return hf()}}var ILe={_date:XL};function LLe(e,t,n,r){const{controller:i,data:o,_sorted:a}=e,s=i._cachedMeta.iScale;if(s&&t===s.axis&&t!=="r"&&a&&o.length){const l=s._reversePixels?iIe:Of;if(r){if(i._sharedOptions){const u=o[0],f=typeof u.getRange=="function"&&u.getRange(t);if(f){const d=l(o,t,n-f),g=l(o,t,n+f);return{lo:d.lo,hi:g.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function Zv(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let s=0,l=o.length;s<l;++s){const{index:u,data:f}=o[s],{lo:d,hi:g}=LLe(o[s],t,a,i);for(let m=d;m<=g;++m){const v=f[m];v.skip||r(v,u,m)}}}function DLe(e){const t=e.indexOf("x")!==-1,n=e.indexOf("y")!==-1;return function(r,i){const o=t?Math.abs(r.x-i.x):0,a=n?Math.abs(r.y-i.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(a,2))}}function eS(e,t,n,r,i){const o=[];return!i&&!e.isPointInArea(t)||Zv(e,n,t,function(s,l,u){!i&&!dv(s,e.chartArea,0)||s.inRange(t.x,t.y,r)&&o.push({element:s,datasetIndex:l,index:u})},!0),o}function RLe(e,t,n,r){let i=[];function o(a,s,l){const{startAngle:u,endAngle:f}=a.getProps(["startAngle","endAngle"],r),{angle:d}=g7(a,{x:t.x,y:t.y});fv(d,u,f)&&i.push({element:a,datasetIndex:s,index:l})}return Zv(e,n,t,o),i}function PLe(e,t,n,r,i,o){let a=[];const s=DLe(n);let l=Number.POSITIVE_INFINITY;function u(f,d,g){const m=f.inRange(t.x,t.y,i);if(r&&!m)return;const v=f.getCenterPoint(i);if(!(!!o||e.isPointInArea(v))&&!m)return;const x=s(t,v);x<l?(a=[{element:f,datasetIndex:d,index:g}],l=x):x===l&&a.push({element:f,datasetIndex:d,index:g})}return Zv(e,n,t,u),a}function tS(e,t,n,r,i,o){return!o&&!e.isPointInArea(t)?[]:n==="r"&&!r?RLe(e,t,n,i):PLe(e,t,n,r,i,o)}function V4(e,t,n,r,i){const o=[],a=n==="x"?"inXRange":"inYRange";let s=!1;return Zv(e,n,t,(l,u,f)=>{l[a](t[n],i)&&(o.push({element:l,datasetIndex:u,index:f}),s=s||l.inRange(t.x,t.y,i))}),r&&!s?[]:o}var ULe={evaluateInteractionItems:Zv,modes:{index(e,t,n,r){const i=_f(t,e),o=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?eS(e,i,o,r,a):tS(e,i,o,!1,r,a),l=[];
vendor: 8,173 bytes, line 411
411return s.length?(e.getSortedVisibleDatasetMetas().forEach(u=>{const f=s[0].index,d=u.data[f];d&&!d.skip&&l.push({element:d,datasetIndex:u.index,index:f})}),l):[]},dataset(e,t,n,r){const i=_f(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?eS(e,i,o,r,a):tS(e,i,o,!1,r,a);if(s.length>0){const l=s[0].datasetIndex,u=e.getDatasetMeta(l).data;s=[];for(let f=0;f<u.length;++f)s.push({element:u[f],datasetIndex:l,index:f})}return s},point(e,t,n,r){const i=_f(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;return eS(e,i,o,r,a)},nearest(e,t,n,r){const i=_f(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;return tS(e,i,o,n.intersect,r,a)},x(e,t,n,r){const i=_f(t,e);return V4(e,i,"x",n.intersect,r)},y(e,t,n,r){const i=_f(t,e);return V4(e,i,"y",n.intersect,r)}}};const Q7=["left","top","right","bottom"];function xg(e,t){return e.filter(n=>n.pos===t)}function K4(e,t){return e.filter(n=>Q7.indexOf(n.pos)===-1&&n.box.axis===t)}function Eg(e,t){return e.sort((n,r)=>{const i=t?r:n,o=t?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function NLe(e){const t=[];let n,r,i,o,a,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:o,options:{stack:a,stackWeight:s=1}}=i,t.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return t}function MLe(e){const t={};for(const n of e){const{stack:r,pos:i,stackWeight:o}=n;if(!r||!Q7.includes(i))continue;const a=t[r]||(t[r]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=o}return t}function QLe(e,t){const n=MLe(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let o,a,s;for(o=0,a=e.length;o<a;++o){s=e[o];const{fullSize:l}=s.box,u=n[s.stack],f=u&&s.stackWeight/u.weight;s.horizontal?(s.width=f?f*r:l&&t.availableWidth,s.height=i):(s.width=r,s.height=f?f*i:l&&t.availableHeight)}return n}function HLe(e){const t=NLe(e),n=Eg(t.filter(u=>u.box.fullSize),!0),r=Eg(xg(t,"left"),!0),i=Eg(xg(t,"right")),o=Eg(xg(t,"top"),!0),a=Eg(xg(t,"bottom")),s=K4(t,"x"),l=K4(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(a).concat(s),chartArea:xg(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(a).concat(s)}}function W4(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function H7(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function $Le(e,t,n,r){const{pos:i,box:o}=n,a=e.maxPadding;if(!cn(i)){n.size&&(e[i]-=n.size);const d=r[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[i]+=n.size}o.getPadding&&H7(a,o.getPadding());const s=Math.max(0,t.outerWidth-W4(a,e,"left","right")),l=Math.max(0,t.outerHeight-W4(a,e,"top","bottom")),u=s!==e.w,f=l!==e.h;return e.w=s,e.h=l,n.horizontal?{same:u,other:f}:{same:f,other:u}}function jLe(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function zLe(e,t){const n=t.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(a=>{o[a]=Math.max(t[a],n[a])}),o}return r(e?["left","right"]:["top","bottom"])}function Gg(e,t,n,r){const i=[];let o,a,s,l,u,f;for(o=0,a=e.length,u=0;o<a;++o){s=e[o],l=s.box,l.update(s.width||t.w,s.height||t.h,zLe(s.horizontal,t));const{same:d,other:g}=$Le(t,n,s,r);u|=d&&i.length,f=f||g,l.fullSize||i.push(s)}return u&&Gg(i,t,n,r)||f}function Hy(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function G4(e,t,n,r){const i=n.padding;let{x:o,y:a}=t;for(const s of e){const l=s.box,u=r[s.stack]||{count:1,placed:0,weight:1},f=s.stackWeight/u.weight||1;if(s.horizontal){const d=t.w*f,g=u.size||l.height;cv(u.start)&&(a=u.start),l.fullSize?Hy(l,i.left,a,n.outerWidth-i.right-i.left,g):Hy(l,t.left+u.placed,a,d,g),u.start=a,u.placed+=d,a=l.bottom}else{const d=t.h*f,g=u.size||l.width;cv(u.start)&&(o=u.start),l.fullSize?Hy(l,o,i.top,g,n.outerHeight-i.bottom-i.top):Hy(l,o,t.top+u.placed,g,d),u.start=o,u.placed+=d,o=l.right}}t.x=o,t.y=a}var Wa={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(n){t.draw(n)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;const i=ga(e.options.layout.padding),o=Math.max(t-i.width,0),a=Math.max(n-i.height,0),s=HLe(e.boxes),l=s.vertical,u=s.horizontal;Pn(e.boxes,y=>{typeof y.beforeLayout=="function"&&y.beforeLayout()});const f=l.reduce((y,x)=>x.box.options&&x.box.options.display===!1?y:y+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/f,hBoxMaxHeight:a/2}),g=Object.assign({},i);H7(g,ga(r));const m=Object.assign({maxPadding:g,w:o,h:a,x:i.left,y:i.top},i),v=QLe(l.concat(u),d);Gg(s.fullSize,m,d,v),Gg(l,m,d,v),Gg(u,m,d,v)&&Gg(l,m,d,v),jLe(m),G4(s.leftAndTop,m,d,v),m.x+=m.w,m.y+=m.h,G4(s.rightAndBottom,m,d,v),e.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},Pn(s.chartArea,y=>{const x=y.box;Object.assign(x,e.chartArea),x.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class $7{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class VLe extends $7{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const yw="$chartjs",KLe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Y4=e=>e===null||e==="";function WLe(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[yw]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Y4(i)){const o=k4(e,"width");o!==void 0&&(e.width=o)}if(Y4(r))if(e.style.height==="")e.height=e.width/(t||2);else{const o=k4(e,"height");o!==void 0&&(e.height=o)}return e}const j7=qIe?{passive:!0}:!1;function GLe(e,t,n){e.addEventListener(t,n,j7)}function YLe(e,t,n){e.canvas.removeEventListener(t,n,j7)}function qLe(e,t){const n=KLe[e.type]||e.type,{x:r,y:i}=_f(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function bB(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function ZLe(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let a=!1;for(const s of o)a=a||bB(s.addedNodes,r),a=a&&!bB(s.removedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function XLe(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let a=!1;for(const s of o)a=a||bB(s.removedNodes,r),a=a&&!bB(s.addedNodes,r);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const pv=new Map;let q4=0;function z7(){const e=window.devicePixelRatio;e!==q4&&(q4=e,pv.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function JLe(e,t){pv.size||window.addEventListener("resize",z7),pv.set(e,t)}function eDe(e){pv.delete(e),pv.size||window.removeEventListener("resize",z7)}function tDe(e,t,n){const r=e.canvas,i=r&&ZL(r);if(!i)return;const o=y7((s,l)=>{const u=i.clientWidth;n(s,l),u<i.clientWidth&&n()},window),a=new ResizeObserver(s=>{const l=s[0],u=l.contentRect.width,f=l.contentRect.height;u===0&&f===0||o(u,f)});return a.observe(i),JLe(e,o),a}function nS(e,t,n){n&&n.disconnect(),t==="resize"&&eDe(e)}function nDe(e,t,n){const r=e.canvas,i=y7(o=>{e.ctx!==null&&n(qLe(o,e))},e);return GLe(r,t,i),i}class rDe extends $7{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(WLe(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[yw])return!1;const r=n[yw].initial;["height","width"].forEach(o=>{const a=r[o];Sn(a)?n.removeAttribute(o):n.setAttribute(o,a)});const i=r.style||{};
vendor: 2,416 bytes, line 411
411return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[yw],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),a={attach:ZLe,detach:XLe,resize:tDe}[n]||nDe;i[n]=a(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:nS,detach:nS,resize:nS}[n]||YLe)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return YIe(t,n,r,i)}isAttached(t){const n=ZL(t);return!!(n&&n.isConnected)}}function iDe(e){return!qL()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?VLe:rDe}var t0;let HA=(t0=class{constructor(){ut(this,"x");ut(this,"y");ut(this,"active",!1);ut(this,"options");ut(this,"$animations")}tooltipPosition(t){const{x:n,y:r}=this.getProps(["x","y"],t);return{x:n,y:r}}hasValue(){return lp(this.x)&&lp(this.y)}getProps(t,n){const r=this.$animations;if(!n||!r)return this;const i={};return t.forEach(o=>{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}},ut(t0,"defaults",{}),ut(t0,"defaultRoutes"),t0);function oDe(e,t){const n=e.options.ticks,r=aDe(e),i=Math.min(n.maxTicksLimit||r,r),o=n.major.enabled?lDe(t):[],a=o.length,s=o[0],l=o[a-1],u=[];if(a>i)return ADe(t,u,o,a/i),u;const f=sDe(o,t,i);if(a>0){let d,g;const m=a>1?Math.round((l-s)/(a-1)):null;for($y(t,u,f,Sn(m)?0:s-m,s),d=0,g=a-1;d<g;d++)$y(t,u,f,o[d],o[d+1]);return $y(t,u,f,l,Sn(m)?t.length:l+m),u}return $y(t,u,f),u}function aDe(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}function sDe(e,t,n){const r=uDe(e),i=t.length/n;if(!r)return Math.max(i,1);const o=Xke(r);for(let a=0,s=o.length-1;a<s;a++){const l=o[a];if(l>i)return l}return Math.max(i,1)}function lDe(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function ADe(e,t,n,r){let i=0,o=n[0],a;for(r=Math.ceil(r),a=0;a<e.length;a++)a===o&&(t.push(e[a]),i++,o=n[i*r])}function $y(e,t,n,r,i){const o=Gt(r,0),a=Math.min(Gt(i,e.length),e.length);let s=0,l,u,f;for(n=Math.ceil(n),i&&(l=i-r,n=l/Math.floor(l/n)),f=o;f<0;)s++,f=Math.round(o+s*n);for(u=Math.max(o,0);u<a;u++)u===f&&(t.push(e[u]),s++,f=Math.round(o+s*n))}function uDe(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}const cDe=e=>e==="left"?"right":e==="right"?"left":e,Z4=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,X4=(e,t)=>
vendor: 28,615 bytes, line 411
411Math.min(t||e,e);function J4(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function fDe(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),o=e._startPixel,a=e._endPixel,s=1e-6;let l=e.getPixelForTick(i),u;if(!(n&&(r===1?u=Math.max(l-o,a-l):t===0?u=(e.getPixelForTick(1)-l)/2:u=(l-e.getPixelForTick(i-1))/2,l+=i<t?u:-u,l<o-s||l>a+s)))return l}function dDe(e,t){Pn(e,n=>{const r=n.gc,i=r.length/2;let o;if(i>t){for(o=0;o<i;++o)delete n.data[r[o]];r.splice(0,i)}})}function Sg(e){return e.drawTicks?e.tickLength:0}function eH(e,t){if(!e.display)return 0;const n=Si(e.font,t),r=ga(e.padding);return(jr(e.text)?e.text.length:1)*n.lineHeight+r.height}function hDe(e,t){return sd(e,{scale:t,type:"scale"})}function pDe(e,t,n){return sd(e,{tick:n,index:t,type:"tick"})}function gDe(e,t,n){let r=jL(e);return(n&&t!=="right"||!n&&t==="right")&&(r=cDe(r)),r}function mDe(e,t,n,r){const{top:i,left:o,bottom:a,right:s,chart:l}=e,{chartArea:u,scales:f}=l;let d=0,g,m,v;const y=a-i,x=s-o;if(e.isHorizontal()){if(m=Mi(r,o,s),cn(n)){const C=Object.keys(n)[0],b=n[C];v=f[C].getPixelForValue(b)+y-t}else n==="center"?v=(u.bottom+u.top)/2+y-t:v=Z4(e,n,t);g=s-o}else{if(cn(n)){const C=Object.keys(n)[0],b=n[C];m=f[C].getPixelForValue(b)-x+t}else n==="center"?m=(u.left+u.right)/2-x+t:m=Z4(e,n,t);v=Mi(r,a,i),d=n==="left"?-ii:ii}return{titleX:m,titleY:v,maxWidth:g,rotation:d}}class Ep extends HA{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,n){return t}getUserBounds(){let{_userMin:t,_userMax:n,_suggestedMin:r,_suggestedMax:i}=this;return t=ol(t,Number.POSITIVE_INFINITY),n=ol(n,Number.NEGATIVE_INFINITY),r=ol(r,Number.POSITIVE_INFINITY),i=ol(i,Number.NEGATIVE_INFINITY),{min:ol(t,r),max:ol(n,i),minDefined:zi(t),maxDefined:zi(n)}}getMinMax(t){let{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds(),a;if(i&&o)return{min:n,max:r};const s=this.getMatchingVisibleMetas();for(let l=0,u=s.length;l<u;++l)a=s[l].controller.getMinMax(this,t),i||(n=Math.min(n,a.min)),o||(r=Math.max(r,a.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:ol(n,ol(r,n)),max:ol(r,ol(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){qn(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:o,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=SIe(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s<this.ticks.length;this._convertTicksToLabels(l?J4(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source==="auto")&&(this.ticks=oDe(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t=this.options.reverse,n,r;this.isHorizontal()?(n=this.left,r=this.right):(n=this.top,r=this.bottom,t=!t),this._startPixel=n,this._endPixel=r,this._reversePixels=t,this._length=r-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){qn(this.options.afterUpdate,[this])}beforeSetDimensions(){qn(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){qn(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),qn(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){qn(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const n=this.options.ticks;let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r],o.label=qn(n.callback,[o.value,r,t],this)}afterTickToLabelConversion(){qn(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){qn(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,n=t.ticks,r=X4(this.ticks.length,t.ticks.maxTicksLimit),i=n.minRotation||0,o=n.maxRotation;let a=i,s,l,u;if(!this._isVisible()||!n.display||i>=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const f=this._getLabelSizes(),d=f.widest.width,g=f.highest.height,m=$i(this.chart.width-d,0,this.maxWidth);s=t.offset?this.maxWidth/r:m/(r-1),d+6>s&&(s=m/(r-(t.offset?.5:1)),l=this.maxHeight-Sg(t.grid)-n.padding-eH(t.title,this.chart.options.font),u=Math.sqrt(d*d+g*g),a=tIe(Math.min(Math.asin($i((f.highest.height+6)/s,-1,1)),Math.asin($i(l/u,-1,1))-Math.asin($i(g/u,-1,1)))),a=Math.max(i,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){qn(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){qn(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const l=eH(i,n.options.font);if(s?(t.width=this.maxWidth,t.height=Sg(o)+l):(t.height=this.maxHeight,t.width=Sg(o)+l),r.display&&this.ticks.length){const{first:u,last:f,widest:d,highest:g}=this._getLabelSizes(),m=r.padding*2,v=BA(this.labelRotation),y=Math.cos(v),x=Math.sin(v);if(s){const C=r.mirror?0:x*d.width+y*g.height;t.height=Math.min(this.maxHeight,t.height+C+m)}else{const C=r.mirror?0:y*d.width+x*g.height;t.width=Math.min(this.maxWidth,t.width+C+m)}this._calculatePadding(u,f,x,y)}}this._handleMargins(),s?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:o,padding:a},position:s}=this.options,l=this.labelRotation!==0,u=s!=="top"&&this.axis==="x";if(this.isHorizontal()){const f=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,m=0;l?u?(g=i*t.width,m=r*n.height):(g=r*t.height,m=i*n.width):o==="start"?m=n.width:o==="end"?g=t.width:o!=="inner"&&(g=t.width/2,m=n.width/2),this.paddingLeft=Math.max((g-f+a)*this.width/(this.width-f),0),this.paddingRight=Math.max((m-d+a)*this.width/(this.width-d),0)}else{let f=n.height/2,d=t.height/2;o==="start"?(f=0,d=t.height):o==="end"&&(f=n.height,d=0),this.paddingTop=f+a,this.paddingBottom=d+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){qn(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n<r;n++)Sn(t[n].label)&&(t.splice(n,1),r--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const n=this.options.ticks.sampleSize;let r=this.ticks;n<r.length&&(r=J4(r,n)),this._labelSizes=t=this._computeLabelSizes(r,r.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,n,r){const{ctx:i,_longestTextCache:o}=this,a=[],s=[],l=Math.floor(n/X4(n,r));let u=0,f=0,d,g,m,v,y,x,C,b,E,T,D;for(d=0;d<n;d+=l){if(v=t[d].label,y=this._resolveTickFontOptions(d),i.font=x=y.string,C=o[x]=o[x]||{data:{},gc:[]},b=y.lineHeight,E=T=0,!Sn(v)&&!jr(v))E=E4(i,C.data,C.gc,E,v),T=b;else if(jr(v))for(g=0,m=v.length;g<m;++g)D=v[g],!Sn(D)&&!jr(D)&&(E=E4(i,C.data,C.gc,E,D),T+=b);a.push(E),s.push(T),u=Math.max(E,u),f=Math.max(T,f)}dDe(o,n);const I=a.indexOf(u),U=s.indexOf(f),H=V=>({width:a[V]||0,height:s[V]||0});return{first:H(0),last:H(n-1),widest:H(I),highest:H(U),widths:a,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return rIe(this._alignToPixels?df(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&t<n.length){const r=n[t];return r.$context||(r.$context=pDe(this.getContext(),t,r))}return this.$context||(this.$context=hDe(this.chart.getContext(),this))}_tickSize(){const t=this.options.ticks,n=BA(this.labelRotation),r=Math.abs(Math.cos(n)),i=Math.abs(Math.sin(n)),o=this._getLabelSizes(),a=t.autoSkipPadding||0,s=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return this.isHorizontal()?l*r>s*i?s/r:l/i:l*i<s*r?l/r:s/i}_isVisible(){const t=this.options.display;return t!=="auto"?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:a,border:s}=i,l=o.offset,u=this.isHorizontal(),d=this.ticks.length+(l?1:0),g=Sg(o),m=[],v=s.setContext(this.getContext()),y=v.display?v.width:0,x=y/2,C=function(ee){return df(r,ee,y)};let b,E,T,D,I,U,H,V,j,z,q,Z;if(a==="top")b=C(this.bottom),U=this.bottom-g,V=b-x,z=C(t.top)+x,Z=t.bottom;else if(a==="bottom")b=C(this.top),z=t.top,Z=C(t.bottom)-x,U=b+x,V=this.top+g;else if(a==="left")b=C(this.right),I=this.right-g,H=b-x,j=C(t.left)+x,q=t.right;else if(a==="right")b=C(this.left),j=t.left,q=C(t.right)-x,I=b+x,H=this.left+g;else if(n==="x"){if(a==="center")b=C((t.top+t.bottom)/2+.5);else if(cn(a)){const ee=Object.keys(a)[0],re=a[ee];b=C(this.chart.scales[ee].getPixelForValue(re))}z=t.top,Z=t.bottom,U=b+x,V=U+g}else if(n==="y"){if(a==="center")b=C((t.left+t.right)/2);else if(cn(a)){const ee=Object.keys(a)[0],re=a[ee];b=C(this.chart.scales[ee].getPixelForValue(re))}I=b-x,H=I-g,j=t.left,q=t.right}const ae=Gt(i.ticks.maxTicksLimit,d),G=Math.max(1,Math.ceil(d/ae));for(E=0;E<d;E+=G){const ee=this.getContext(E),re=o.setContext(ee),X=s.setContext(ee),ge=re.lineWidth,N=re.color,pe=X.dash||[],W=X.dashOffset,P=re.tickWidth,te=re.tickColor,J=re.tickBorderDash||[],oe=re.tickBorderDashOffset;T=fDe(this,E,l),T!==void 0&&(D=df(r,T,ge),u?I=H=j=q=D:U=V=z=Z=D,m.push({tx1:I,ty1:U,tx2:H,ty2:V,x1:j,y1:z,x2:q,y2:Z,width:ge,color:N,borderDash:pe,borderDashOffset:W,tickWidth:P,tickColor:te,tickBorderDash:J,tickBorderDashOffset:oe}))}return this._ticksLength=d,this._borderValue=b,m}_computeLabelItems(t){const n=this.axis,r=this.options,{position:i,ticks:o}=r,a=this.isHorizontal(),s=this.ticks,{align:l,crossAlign:u,padding:f,mirror:d}=o,g=Sg(r.grid),m=g+f,v=d?-f:m,y=-BA(this.labelRotation),x=[];let C,b,E,T,D,I,U,H,V,j,z,q,Z="middle";if(i==="top")I=this.bottom-v,U=this._getXAxisLabelAlignment();else if(i==="bottom")I=this.top+v,U=this._getXAxisLabelAlignment();else if(i==="left"){const G=this._getYAxisLabelAlignment(g);U=G.textAlign,D=G.x}else if(i==="right"){const G=this._getYAxisLabelAlignment(g);U=G.textAlign,D=G.x}else if(n==="x"){if(i==="center")I=(t.top+t.bottom)/2+m;else if(cn(i)){const G=Object.keys(i)[0],ee=i[G];I=this.chart.scales[G].getPixelForValue(ee)+m}U=this._getXAxisLabelAlignment()}else if(n==="y"){if(i==="center")D=(t.left+t.right)/2-m;else if(cn(i)){const G=Object.keys(i)[0],ee=i[G];D=this.chart.scales[G].getPixelForValue(ee)}U=this._getYAxisLabelAlignment(g).textAlign}n==="y"&&(l==="start"?Z="top":l==="end"&&(Z="bottom"));const ae=this._getLabelSizes();for(C=0,b=s.length;C<b;++C){E=s[C],T=E.label;const G=o.setContext(this.getContext(C));H=this.getPixelForTick(C)+o.labelOffset,V=this._resolveTickFontOptions(C),j=V.lineHeight,z=jr(T)?T.length:1;const ee=z/2,re=G.color,X=G.textStrokeColor,ge=G.textStrokeWidth;let N=U;a?(D=H,U==="inner"&&(C===b-1?N=this.options.reverse?"left":"right":C===0?N=this.options.reverse?"right":"left":N="center"),i==="top"?u==="near"||y!==0?q=-z*j+j/2:u==="center"?q=-ae.highest.height/2-ee*j+j:q=-ae.highest.height+j/2:u==="near"||y!==0?q=j/2:u==="center"?q=ae.highest.height/2-ee*j:q=ae.highest.height-z*j,d&&(q*=-1),y!==0&&!G.showLabelBackdrop&&(D+=j/2*Math.sin(y))):(I=H,q=(1-z)*j/2);let pe;if(G.showLabelBackdrop){const W=ga(G.backdropPadding),P=ae.heights[C],te=ae.widths[C];let J=q-W.top,oe=0-W.left;switch(Z){case"middle":J-=P/2;break;case"bottom":J-=P;break}switch(U){case"center":oe-=te/2;break;case"right":oe-=te;break;case"inner":C===b-1?oe-=te:C>0&&(oe-=te/2);break}pe={left:oe,top:J,width:te+W.width,height:P+W.height,color:G.backdropColor}}x.push({label:T,font:V,textOffset:q,options:{rotation:y,color:re,strokeColor:X,strokeWidth:ge,textAlign:N,textBaseline:Z,translation:[D,I],backdrop:pe}})}return x}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-BA(this.labelRotation))return t==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:r,mirror:i,padding:o}}=this.options,a=this._getLabelSizes(),s=t+o,l=a.widest.width;let u,f;return n==="left"?i?(f=this.right+o,r==="near"?u="left":r==="center"?(u="center",f+=l/2):(u="right",f+=l)):(f=this.right-s,r==="near"?u="right":r==="center"?(u="center",f-=l/2):(u="left",f=this.left)):n==="right"?i?(f=this.left+o,r==="near"?u="right":r==="center"?(u="center",f-=l/2):(u="left",f-=l)):(f=this.left+s,r==="near"?u="left":r==="center"?(u="center",f+=l/2):(u="right",f=this.right)):u="right",{textAlign:u,x:f}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:r,top:i,width:o,height:a}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(r,i,o,a),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,a;const s=(l,u,f)=>{!f.width||!f.color||(r.save(),r.lineWidth=f.width,r.strokeStyle=f.color,r.setLineDash(f.borderDash||[]),r.lineDashOffset=f.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(u.x,u.y),r.stroke(),r.restore())};if(n.display)for(o=0,a=i.length;o<a;++o){const l=i[o];n.drawOnChartArea&&s({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),n.drawTicks&&s({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:n,options:{border:r,grid:i}}=this,o=r.setContext(this.getContext()),a=r.display?o.width:0;if(!a)return;const s=i.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let u,f,d,g;this.isHorizontal()?(u=df(t,this.left,a)-a/2,f=df(t,this.right,s)+s/2,d=g=l):(d=df(t,this.top,a)-a/2,g=df(t,this.bottom,s)+s/2,u=f=l),n.save(),n.lineWidth=o.width,n.strokeStyle=o.color,n.beginPath(),n.moveTo(u,d),n.lineTo(f,g),n.stroke(),n.restore()}drawLabels(t){if(!this.options.ticks.display)return;const r=this.ctx,i=this._computeLabelArea();i&&ix(r,i);const o=this.getLabelItems(t);for(const a of o){const s=a.options,l=a.font,u=a.label,f=a.textOffset;hv(r,u,0,f,l,s)}i&&ox(r)}drawTitle(){const{ctx:t,options:{position:n,title:r,reverse:i}}=this;if(!r.display)return;const o=Si(r.font),a=ga(r.padding),s=r.align;let l=o.lineHeight/2;n==="bottom"||n==="center"||cn(n)?(l+=a.bottom,jr(r.text)&&(l+=o.lineHeight*(r.text.length-1))):l+=a.top;const{titleX:u,titleY:f,maxWidth:d,rotation:g}=mDe(this,l,n,s);hv(t,r.text,0,0,o,{color:r.color,maxWidth:d,rotation:g,textAlign:gDe(s,n,i),textBaseline:"middle",translation:[u,f]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,n=t.ticks&&t.ticks.z||0,r=Gt(t.grid&&t.grid.z,-1),i=Gt(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==Ep.prototype.draw?[{z:n,draw:o=>{this.draw(o)}}]:[{z:r,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,a;for(o=0,a=n.length;o<a;++o){const s=n[o];s[r]===this.id&&(!t||s.type===t)&&i.push(s)}return i}_resolveTickFontOptions(t){const n=this.options.ticks.setContext(this.getContext(t));return Si(n.font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class jy{constructor(t,n,r){this.type=t,this.scope=n,this.override=r,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const n=Object.getPrototypeOf(t);let r;yDe(n)&&(r=this.register(n));const i=this.items,o=t.id,a=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in i||(i[o]=t,vDe(t,a,r),this.override&&Tr.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const n=this.items,r=t.id,i=this.scope;r in n&&delete n[r],i&&r in Tr[i]&&(delete Tr[i][r],this.override&&delete Xf[r])}}function vDe(e,t,n){const r=Cl(Object.create(null),[n?Tr.get(n):{},Tr.get(t),e.defaults]);Tr.set(t,r),e.defaultRoutes&&_De(t,e.defaultRoutes),e.descriptors&&Tr.describe(t,e.descriptors)}function _De(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),a=t[n].split("."),s=a.pop(),l=a.join(".");Tr.route(o,i,l,s)})}function yDe(e){return"id"in e&&"defaults"in e}class wDe{constructor(){this.controllers=new jy(OA,"datasets",!0),this.elements=new jy(HA,"elements"),this.plugins=new jy(Object,"plugins"),this.scales=new jy(Ep,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):Pn(i,a=>{const s=r||this._getRegistryForType(a);this._exec(t,s,a)})})}_exec(t,n,r){const i=HL(t);qn(r["before"+i],[],r),n[t](r),qn(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n<this._typedRegistries.length;n++){const r=this._typedRegistries[n];if(r.isForType(t))return r}return this.plugins}_get(t,n,r){const i=n.get(t);if(i===void 0)throw new Error('"'+t+'" is not a registered '+r+".");return i}}var ul=new wDe;class bDe{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const o=i?this._descriptors(t).filter(i):this._descriptors(t),a=this._notify(o,t,n,r);return n==="afterDestroy"&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall")),a}_notify(t,n,r,i){i=i||{};for(const o of t){const a=o.plugin,s=a[r],l=[n,i,o.options];if(qn(s,l,a)===!1&&i.cancelable)return!1}return!0}invalidate(){Sn(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=Gt(r.options&&r.options.plugins,{}),o=BDe(r);return i===!1&&!n?[]:xDe(t,o,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(o,a)=>o.filter(s=>!a.some(l=>s.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function BDe(e){const t={},n=[],r=Object.keys(ul.plugins.items);for(let o=0;o<r.length;o++)n.push(ul.getPlugin(r[o]));const i=e.plugins||[];for(let o=0;o<i.length;o++){const a=i[o];n.indexOf(a)===-1&&(n.push(a),t[a.id]=!0)}return{plugins:n,localIds:t}}function CDe(e,t){return!t&&e===!1?null:e===!0?{}:e}function xDe(e,{plugins:t,localIds:n},r,i){const o=[],a=e.getContext();for(const s of t){const l=s.id,u=CDe(r[l],i);u!==null&&o.push({plugin:s,options:EDe(e.config,{plugin:s,local:n[l]},u,a)})}return o}function EDe(e,{plugin:t,local:n},r,i){const o=e.pluginScopeKeys(t),a=e.getOptionScopes(r,o);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function KO(e,t){const n=Tr.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function SDe(e,t){let n=e;return e==="_index_"?n=t:e==="_value_"&&(n=t==="x"?"y":"x"),n}function FDe(e,t){return e===t?"_index_":"_value_"}function tH(e){if(e==="x"||e==="y"||e==="r")return e}function TDe(e){if(e==="top"||e==="bottom")return"x";if(e==="left"||e==="right")return"y"}function WO(e,...t){if(tH(e))return e;for(const n of t){const r=n.axis||TDe(n.position)||e.length>1&&tH(e[0].toLowerCase());if(r)return r}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function nH(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function ODe(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(r=>r.xAxisID===e||r.yAxisID===e);if(n.length)return nH(e,"x",n[0])||nH(e,"y",n[0])}return{}}function kDe(e,t){const n=Xf[e.type]||{scales:{}},r=t.scales||{},i=KO(e.type,t),o=Object.create(null);return Object.keys(r).forEach(a=>{const s=r[a];if(!cn(s))return console.error(`Invalid scale configuration for scale: ${a}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const l=WO(a,s,ODe(a,e),Tr.scales[s.type]),u=FDe(l,i),f=n.scales||{};o[a]=Sm(Object.create(null),[{axis:l},s,f[l],f[u]])}),e.data.datasets.forEach(a=>{const s=a.type||e.type,l=a.indexAxis||KO(s,t),f=(Xf[s]||{}).scales||{};Object.keys(f).forEach(d=>{const g=SDe(d,l),m=a[g+"AxisID"]||g;o[m]=o[m]||Object.create(null),Sm(o[m],[{axis:g},r[m],f[d]])})}),Object.keys(o).forEach(a=>{const s=o[a];Sm(s,[Tr.scales[s.type],Tr.scale])}),o}function V7(e){const t=e.options||(e.options={});t.plugins=Gt(t.plugins,{}),t.scales=kDe(e,t)}function K7(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function IDe(e){return e=e||{},e.data=K7(e.data),V7(e),e}const rH=new Map,W7=new Set;function zy(e,t){let n=rH.get(e);return n||(n=t(),rH.set(e,n),W7.add(n)),n}const Fg=(e,t,n)=>{const r=Zf(t,n);r!==void 0&&e.add(r)};class LDe{constructor(t){this._config=IDe(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=K7(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),V7(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return zy(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return zy(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return zy(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return zy(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:o}=this,a=this._cachedScopes(t,r),s=a.get(n);if(s)return s;const l=new Set;n.forEach(f=>{t&&(l.add(t),f.forEach(d=>Fg(l,t,d))),f.forEach(d=>Fg(l,i,d)),f.forEach(d=>Fg(l,Xf[o]||{},d)),f.forEach(d=>Fg(l,Tr,d)),f.forEach(d=>Fg(l,jO,d))});const u=Array.from(l);return u.length===0&&u.push(Object.create(null)),W7.has(n)&&a.set(n,u),u}chartOptionScopes(){const{options:t,type:n}=this;return[t,Xf[n]||{},Tr.datasets[n]||{},{type:n},Tr,jO]}resolveNamedOptions(t,n,r,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:s}=iH(this._resolverCache,t,i);let l=a;if(RDe(a,n)){o.$shared=!1,r=Ac(r)?r():r;const u=this.createResolver(t,r,s);l=Ap(a,r,u)}for(const u of n)o[u]=l[u];return o}createResolver(t,n,r=[""],i){const{resolver:o}=iH(this._resolverCache,t,r);return cn(n)?Ap(o,n,void 0,i):o}}function iH(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);return o||(o={resolver:WL(t,n),subPrefixes:n.filter(s=>!s.toLowerCase().includes("hover"))},r.set(i,o)),o}const DDe=e=>cn(e)&&Object.getOwnPropertyNames(e).some(t=>Ac(e[t]));function RDe(e,t){const{isScriptable:n,isIndexable:r}=S7(e);for(const i of t){const o=n(i),a=r(i),s=(a||o)&&e[i];if(o&&(Ac(s)||DDe(s))||a&&jr(s))return!0}return!1}var PDe="4.4.1";const UDe=["top","bottom","left","right","chartArea"];function oH(e,t){return e==="top"||e==="bottom"||UDe.indexOf(e)===-1&&t==="x"}function aH(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function sH(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),qn(n&&n.onComplete,[e],t)}function NDe(e){const t=e.chart,n=t.options.animation;qn(n&&n.onProgress,[e],t)}function G7(e){return qL()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ww={},lH=e=>{const t=G7(e);return Object.values(ww).filter(n=>n.canvas===t).pop()};function MDe(e,t,n){const r=Object.keys(e);for(const i of r){const o=+i;if(o>=t){const a=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=a)}}}function QDe(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}function Vy(e,t,n){return e.options.clip?e[n]:t[n]}function HDe(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:Vy(n,t,"left"),right:Vy(n,t,"right"),top:Vy(r,t,"to
411p"),bottom:Vy(r,t,"bottom")}:t}var Cu;let Vi=(Cu=class{static register(...t){ul.add(...t),AH()}static unregister(...t){ul.remove(...t),AH()}constructor(t,n){const r=this.config=new LDe(n),i=G7(t),o=lH(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||iDe(i)),this.platform.updateConfig(r);const s=this.platform.acquireContext(i,a.aspectRatio),l=s&&s.canvas,u=l&&l.height,f=l&&l.width;if(this.id=jke(),this.ctx=s,this.canvas=l,this.width=f,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new bDe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=sIe(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],ww[this.id]=this,!s||!l){console.error("Failed to create chart: can't acquire context from the given item");return}hA.listen(this,"complete",sH),hA.listen(this,"progress",NDe),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return Sn(t)?n&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return ul}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():O4(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return S4(this.canvas,this.ctx),this}stop(){return hA.stop(this),this}resize(t,n){hA.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,t,n,o),s=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,O4(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),qn(r.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Pn(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((a,s)=>(a[s]=!1,a),{});let o=[];n&&(o=o.concat(Object.keys(n).map(a=>{const s=n[a],l=WO(a,s),u=l==="r",f=l==="x";return{options:s,dposition:u?"chartArea":f?"bottom":"left",dtype:u?"radialLinear":f?"category":"linear"}}))),Pn(o,a=>{const s=a.options,l=s.id,u=WO(l,s),f=Gt(s.type,a.dtype);(s.position===void 0||oH(s.position,u)!==oH(a.dposition))&&(s.position=a.dposition),i[l]=!0;let d=null;if(l in r&&r[l].type===f)d=r[l];else{const g=ul.getScale(f);d=new g({id:l,type:f,ctx:this.ctx,chart:this}),r[d.id]=d}d.init(s,t)}),Pn(i,(a,s)=>{a||delete r[s]}),Pn(r,a=>{Wa.configure(this,a,a.options),Wa.addBox(this,a)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,o)=>i.index-o.index),r>n){for(let i=n;i<r;++i)this._destroyDatasetMeta(i);t.splice(n,r-n)}this._sortedMetasets=t.slice(0).sort(aH("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:n}}=this;t.length>n.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r<i;r++){const o=n[r];let a=this.getDatasetMeta(r);const s=o.type||this.config.type;if(a.type&&a.type!==s&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=s,a.indexAxis=o.indexAxis||KO(s,this.options),a.order=o.order||0,a.index=r,a.label=""+o.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const l=ul.getController(s),{datasetElementType:u,dataElementType:f}=Tr.datasets[s];Object.assign(l,{dataElementType:ul.getElement(f),datasetElementType:u&&ul.getElement(u)}),a.controller=new l(this,r),t.push(a.controller)}}return this._updateMetasets(),t}_resetElements(){Pn(this.data.datasets,(t,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let u=0,f=this.data.datasets.length;u<f;u++){const{controller:d}=this.getDatasetMeta(u),g=!i&&o.indexOf(d)===-1;d.buildOrUpdateElements(g),a=Math.max(+d.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),i||Pn(o,u=>{u.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(aH("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){Pn(this.scales,t=>{Wa.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!m4(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const a=r==="_removeElements"?-o:o;MDe(t,i,a)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(t.filter(a=>a[0]===o).map((a,s)=>s+","+a.splice(1).join(","))),i=r(0);for(let o=1;o<n;o++)if(!m4(i,r(o)))return;return Array.from(i).map(o=>o.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Wa.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],Pn(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))}
vendor: 58,883 bytes, lines 411-413
411,this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n<r;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,r=this.data.datasets.length;n<r;++n)this._updateDataset(n,Ac(t)?t({datasetIndex:n}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,n){const r=this.getDatasetMeta(t),i={meta:r,index:t,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",i)!==!1&&(r.controller._update(n),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(hA.has(this)?this.attached&&!hA.running(this)&&hA.start(this):(this.draw(),sH({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:r,height:i}=this._resizeBeforeDraw;this._resize(r,i),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(this.chartArea);for(this._drawDatasets();t<n.length;++t)n[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const n=this._sortedMetasets,r=[];let i,o;for(i=0,o=n.length;i<o;++i){const a=n[i];(!t||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const t=this.getSortedVisibleDatasetMetas();for(let n=t.length-1;n>=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,o=HDe(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(i&&ix(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&ox(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return dv(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const o=ULe.modes[n];return typeof o=="function"?o(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=sd(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(void 0,i);cv(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),a.update(o,{visible:r}),this.update(s=>s.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),hA.remove(this),t=0,n=this.data.datasets.length;t<n;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:n}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),S4(t,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete ww[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,n=this.platform,r=(o,a)=>{n.addEventListener(this,o,a),t[o]=a},i=(o,a,s)=>{o.offsetX=a,o.offsetY=s,this._eventHandler(o)};Pn(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,u)=>{n.addEventListener(this,l,u),t[l]=u},i=(l,u)=>{t[l]&&(n.removeEventListener(this,l,u),delete t[l])},o=(l,u)=>{this.canvas&&this.resize(l,u)};let a;const s=()=>{i("attach",s),this.attached=!0,this.resize(),r("resize",o),r("detach",a)};a=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",s)},n.isAttached(this.canvas)?s():a()}unbindEvents(){Pn(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},Pn(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let o,a,s,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),s=0,l=t.length;s<l;++s){a=t[s];const u=a&&this.getDatasetMeta(a.datasetIndex).controller;u&&u[i+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const n=this._active||[],r=t.map(({datasetIndex:o,index:a})=>{const s=this.getDatasetMeta(o);if(!s)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:s.data[a],index:a}});!mB(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,r){const i=this.options.hover,o=(l,u)=>l.filter(f=>!u.some(d=>f.datasetIndex===d.datasetIndex&&f.index===d.index)),a=o(n,t),s=r?t:o(t,n);a.length&&this.updateHoverStyle(a,i.mode,!1),s.length&&i.mode&&this.updateHoverStyle(s,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:o}=this,a=n,s=this._getActiveElements(t,i,r,a),l=Yke(t),u=QDe(t,this._lastEvent,r,l);r&&(this._lastEvent=null,qn(o.onHover,[t,s,this],this),l&&qn(o.onClick,[t,s,this],this));const f=!mB(s,i);return(f||n)&&(this._active=s,this._updateHoverStyles(s,i,n)),this._lastEvent=u,f}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},ut(Cu,"defaults",Tr),ut(Cu,"instances",ww),ut(Cu,"overrides",Xf),ut(Cu,"registry",ul),ut(Cu,"version",PDe),ut(Cu,"getChart",lH),Cu);function AH(){return Pn(Vi.instances,e=>e._plugins.invalidate())}function $De(e,t,n){const{startAngle:r,pixelMargin:i,x:o,y:a,outerRadius:s,innerRadius:l}=t;let u=i/s;e.beginPath(),e.arc(o,a,s,r-u,n+u),l>i?(u=i/l,e.arc(o,a,l,n+u,r-u,!0)):e.arc(o,a,i,n+ii,r-ii),e.closePath(),e.clip()}function jDe(e){return KL(e,["outerStart","outerEnd","innerStart","innerEnd"])}function zDe(e,t,n,r){const i=jDe(e.options.borderRadius),o=(n-t)/2,a=Math.min(o,r*t/2),s=l=>{const u=(n-Math.min(o,l))*r/2;return $i(l,0,Math.min(o,u))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:$i(i.innerStart,0,a),innerEnd:$i(i.innerEnd,0,a)}}function Jd(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function BB(e,t,n,r,i,o){const{x:a,y:s,startAngle:l,pixelMargin:u,innerRadius:f}=t,d=Math.max(t.outerRadius+r+n-u,0),g=f>0?f+r+n+u:0;let m=0;const v=i-l;if(r){const G=f>0?f-r:0,ee=d>0?d-r:0,re=(G+ee)/2,X=re!==0?v*re/(re+r):v;m=(v-X)/2}const y=Math.max(.001,v*d-n/Or)/d,x=(v-y)/2,C=l+x+m,b=i-x-m,{outerStart:E,outerEnd:T,innerStart:D,innerEnd:I}=zDe(t,g,d,b-C),U=d-E,H=d-T,V=C+E/U,j=b-T/H,z=g+D,q=g+I,Z=C+D/z,ae=b-I/q;if(e.beginPath(),o){const G=(V+j)/2;if(e.arc(a,s,d,V,G),e.arc(a,s,d,G,j),T>0){const ge=Jd(H,j,a,s);e.arc(ge.x,ge.y,T,j,b+ii)}const ee=Jd(q,b,a,s);if(e.lineTo(ee.x,ee.y),I>0){const ge=Jd(q,ae,a,s);e.arc(ge.x,ge.y,I,b+ii,ae+Math.PI)}const re=(b-I/g+(C+D/g))/2;if(e.arc(a,s,g,b-I/g,re,!0),e.arc(a,s,g,re,C+D/g,!0),D>0){const ge=Jd(z,Z,a,s);e.arc(ge.x,ge.y,D,Z+Math.PI,C-ii)}const X=Jd(U,C,a,s);if(e.lineTo(X.x,X.y),E>0){const ge=Jd(U,V,a,s);e.arc(ge.x,ge.y,E,C-ii,V)}}else{e.moveTo(a,s);const G=Math.cos(V)*d+a,ee=Math.sin(V)*d+s;e.lineTo(G,ee);const re=Math.cos(j)*d+a,X=Math.sin(j)*d+s;e.lineTo(re,X)}e.closePath()}function VDe(e,t,n,r,i){const{fullCircles:o,startAngle:a,circumference:s}=t;let l=t.endAngle;if(o){BB(e,t,n,r,l,i);for(let u=0;u<o;++u)e.fill();isNaN(s)||(l=a+(s%br||br))}return BB(e,t,n,r,l,i),e.fill(),l}function KDe(e,t,n,r,i){const{fullCircles:o,startAngle:a,circumference:s,options:l}=t,{borderWidth:u,borderJoinStyle:f,borderDash:d,borderDashOffset:g}=l,m=l.borderAlign==="inner";if(!u)return;e.setLineDash(d||[]),e.lineDashOffset=g,m?(e.lineWidth=u*2,e.lineJoin=f||"round"):(e.lineWidth=u,e.lineJoin=f||"bevel");let v=t.endAngle;if(o){BB(e,t,n,r,v,i);for(let y=0;y<o;++y)e.stroke();isNaN(s)||(v=a+(s%br||br))}m&&$De(e,t,v),o||(BB(e,t,n,r,v,i),e.stroke())}class kf extends HA{constructor(n){super();ut(this,"circumference");ut(this,"endAngle");ut(this,"fullCircles");ut(this,"innerRadius");ut(this,"outerRadius");ut(this,"pixelMargin");ut(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,r,i){const o=this.getProps(["x","y"],i),{angle:a,distance:s}=g7(o,{x:n,y:r}),{startAngle:l,endAngle:u,innerRadius:f,outerRadius:d,circumference:g}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),m=(this.options.spacing+this.options.borderWidth)/2,y=Gt(g,u-l)>=br||fv(a,l,u),x=CA(s,f+m,d+m);return y&&x}getCenterPoint(n){const{x:r,y:i,startAngle:o,endAngle:a,innerRadius:s,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:u,spacing:f}=this.options,d=(o+a)/2,g=(s+l+f+u)/2;return{x:r+Math.cos(d)*g,y:i+Math.sin(d)*g}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:r,circumference:i}=this,o=(r.offset||0)/4,a=(r.spacing||0)/2,s=r.circular;if(this.pixelMargin=r.borderAlign==="inner"?.33:0,this.fullCircles=i>br?Math.floor(i/br):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*o,Math.sin(l)*o);const u=1-Math.sin(Math.min(Or,i||0)),f=o*u;n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,VDe(n,this,f,a,s),KDe(n,this,f,a,s),n.restore()}}ut(kf,"id","arc"),ut(kf,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ut(kf,"defaultRoutes",{backgroundColor:"backgroundColor"}),ut(kf,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function Y7(e,t,n=t){e.lineCap=Gt(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Gt(n.borderDash,t.borderDash)),e.lineDashOffset=Gt(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Gt(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Gt(n.borderWidth,t.borderWidth),e.strokeStyle=Gt(n.borderColor,t.borderColor)}function WDe(e,t,n){e.lineTo(n.x,n.y)}function GDe(e){return e.stepped?vIe:e.tension||e.cubicInterpolationMode==="monotone"?_Ie:WDe}function q7(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=t,l=Math.max(i,a),u=Math.min(o,s),f=i<a&&o<a||i>s&&o>s;return{count:r,start:l,loop:t.loop,ilen:u<l&&!f?r+u-l:u-l}}function YDe(e,t,n,r){const{points:i,options:o}=t,{count:a,start:s,loop:l,ilen:u}=q7(i,n,r),f=GDe(o);let{move:d=!0,reverse:g}=r||{},m,v,y;for(m=0;m<=u;++m)v=i[(s+(g?u-m:m))%a],!v.skip&&(d?(e.moveTo(v.x,v.y),d=!1):f(e,y,v,g,o.stepped),y=v);return l&&(v=i[(s+(g?u:0))%a],f(e,y,v,g,o.stepped)),!!l}function qDe(e,t,n,r){const i=t.points,{count:o,start:a,ilen:s}=q7(i,n,r),{move:l=!0,reverse:u}=r||{};let f=0,d=0,g,m,v,y,x,C;const b=T=>(a+(u?s-T:T))%o,E=()=>{y!==x&&(e.lineTo(f,x),e.lineTo(f,y),e.lineTo(f,C))};for(l&&(m=i[b(0)],e.moveTo(m.x,m.y)),g=0;g<=s;++g){if(m=i[b(g)],m.skip)continue;const T=m.x,D=m.y,I=T|0;I===v?(D<y?y=D:D>x&&(x=D),f=(d*f+T)/++d):(E(),e.lineTo(T,D),v=I,d=0,y=x=D),C=D}E()}function GO(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?qDe:YDe}function ZDe(e){return e.stepped?ZIe:e.tension||e.cubicInterpolationMode==="monotone"?XIe:yf}function XDe(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Y7(e,t.options),e.stroke(i)}function JDe(e,t,n,r){const{segments:i,options:o}=t,a=GO(t);for(const s of i)Y7(e,o,s.style),e.beginPath(),a(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const eRe=typeof Path2D=="function";function tRe(e,t,n,r){eRe&&!t.options.segment?XDe(e,t,n,r):JDe(e,t,n,r)}class ml extends HA{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;jIe(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=iLe(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],o=this.points,a=P7(this,{property:n,start:i,end:i});if(!a.length)return;const s=[],l=ZDe(r);let u,f;for(u=0,f=a.length;u<f;++u){const{start:d,end:g}=a[u],m=o[d],v=o[g];if(m===v){s.push(m);continue}const y=Math.abs((i-m[n])/(v[n]-m[n])),x=l(m,v,y,r.stepped);x[n]=t[n],s.push(x)}return s.length===1?s[0]:s}pathSegment(t,n,r){return GO(this)(t,this,n,r)}path(t,n,r){const i=this.segments,o=GO(this);let a=this._loop;n=n||0,r=r||this.points.length-n;for(const s of i)a&=o(t,this,s,{start:n,end:n+r-1});return!!a}draw(t,n,r,i){const o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),tRe(t,this,r,i),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}ut(ml,"id","line"),ut(ml,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),ut(ml,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),ut(ml,"descriptors",{_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"});function uH(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)<i.radius+i.hitRadius}class nc extends HA{constructor(n){super();ut(this,"parsed");ut(this,"skip");ut(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,r,i){const o=this.options,{x:a,y:s}=this.getProps(["x","y"],i);return Math.pow(n-a,2)+Math.pow(r-s,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(n,r){return uH(this,n,"x",r)}inYRange(n,r){return uH(this,n,"y",r)}getCenterPoint(n){const{x:r,y:i}=this.getProps(["x","y"],n);return{x:r,y:i}}size(n){n=n||this.options||{};let r=n.radius||0;r=Math.max(r,r&&n.hoverRadius||0);const i=r&&n.borderWidth||0;return(r+i)*2}draw(n,r){const i=this.options;this.skip||i.radius<.1||!dv(this,r,this.size(i)/2)||(n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.fillStyle=i.backgroundColor,zO(n,i,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}ut(nc,"id","point"),ut(nc,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),ut(nc,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function Z7(e,t){const{x:n,y:r,base:i,width:o,height:a}=e.getProps(["x","y","base","width","height"],t);let s,l,u,f,d;return e.horizontal?(d=a/2,s=Math.min(n,i),l=Math.max(n,i),u=r-d,f=r+d):(d=o/2,s=n-d,l=n+d,u=Math.min(r,i),f=Math.max(r,i)),{left:s,top:u,right:l,bottom:f}}function $u(e,t,n,r){return e?0:$i(t,n,r)}function nRe(e,t,n){const r=e.options.borderWidth,i=e.borderSkipped,o=E7(r);return{t:$u(i.top,o.top,0,n),r:$u(i.right,o.right,0,t),b:$u(i.bottom,o.bottom,0,n),l:$u(i.left,o.left,0,t)}}function rRe(e,t,n){const{enableBorderRadius:r}=e.getProps(["enableBorderRadius"]),i=e.options.borderRadius,o=Ph(i),a=Math.min(t,n),s=e.borderSkipped,l=r||cn(i);return{topLeft:$u(!l||s.top||s.left,o.topLeft,0,a),topRight:$u(!l||s.top||s.right,o.topRight,0,a),bottomLeft:$u(!l||s.bottom||s.left,o.bottomLeft,0,a),bottomRight:$u(!l||s.bottom||s.right,o.bottomRight,0,a)}}function iRe(e){const t=Z7(e),n=t.right-t.left,r=t.bottom-t.top,i=nRe(e,n/2,r/2),o=rRe(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:o},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function rS(e,t,n,r){const i=t===null,o=n===null,s=e&&!(i&&o)&&Z7(e,r);return s&&(i||CA(t,s.left,s.right))&&(o||CA(n,s.top,s.bottom))}function oRe(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function aRe(e,t){e.rect(t.x,t.y,t.w,t.h)}function iS(e,t,n={}){const r=e.x!==n.x?-t:0,i=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,a=(e.y+e.h!==n.y+n.h?t:0)-i;return{x:e.x+r,y:e.y+i,w:e.w+o,h:e.h+a,radius:e.radius}}class Ls extends HA{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:n,options:{borderColor:r,backgroundColor:i}}=this,{inner:o,outer:a}=iRe(this),s=oRe(a.radius)?yB:aRe;t.save(),(a.w!==o.w||a.h!==o.h)&&(t.beginPath(),s(t,iS(a,n,o)),t.clip(),s(t,iS(o,-n,a)),t.fillStyle=r,t.fill("evenodd")),t.beginPath(),s(t,iS(o,n)),t.fillStyle=i,t.fill(),t.restore()}inRange(t,n,r){return rS(this,t,n,r)}inXRange(t,n){return rS(this,t,null,n)}inYRange(t,n){return rS(this,null,t,n)}getCenterPoint(t){const{x:n,y:r,base:i,horizontal:o}=this.getProps(["x","y","base","horizontal"],t);return{x:o?(n+i)/2:n,y:o?r:(r+i)/2}}getRange(t){return t==="x"?this.width/2:this.height/2}}ut(Ls,"id","bar"),ut(Ls,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),ut(Ls,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function sRe(e,t,n){const r=e.segments,i=e.points,o=t.points,a=[];for(const s of r){let{start:l,end:u}=s;u=JL(l,u,i);const f=YO(n,i[l],i[u],s.loop);if(!t.segments){a.push({source:s,target:f,start:i[l],end:i[u]});continue}const d=P7(t,f);for(const g of d){const m=YO(n,o[g.start],o[g.end],g.loop),v=R7(s,i,m);for(const y of v)a.push({source:y,target:g,start:{[n]:cH(f,m,"start",Math.max)},end:{[n]:cH(f,m,"end",Math.min)}})}}return a}function YO(e,t,n,r){if(r)return;let i=t[e],o=n[e];return e==="angle"&&(i=cl(i),o=cl(o)),{property:e,start:i,end:o}}function lRe(e,t){const{x:n=null,y:r=null}=e||{},i=t.points,o=[];return t.segments.forEach(({start:a,end:s})=>{s=JL(a,s,i);const l=i[a],u=i[s];r!==null?(o.push({x:l.x,y:r}),o.push({x:u.x,y:r})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:u.y}))}),o}function JL(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function cH(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function X7(e,t){let n=[],r=!1;return jr(e)?(r=!0,n=e):n=lRe(e,t),n.length?new ml({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function fH(e){return e&&e.fill!==!1}function ARe(e,t,n){let i=e[t].fill;const o=[t];let a;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!zi(i))return i;if(a=e[i],!a)return!1;if(a.visible)return i;o.push(i),i=a.fill}return!1}function uRe(e,t,n){const r=hRe(e);if(cn(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return zi(i)&&Math.floor(i)===i?cRe(r[0],t,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function cRe(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function fRe(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:cn(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function dRe(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:cn(e)?r=e.value:r=t.getBaseValue(),r}function hRe(e){const t=e.options,n=t.fill;let r=Gt(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function pRe(e){const{scale:t,index:n,line:r}=e,i=[],o=r.segments,a=r.points,s=gRe(t,n);s.push(X7({x:null,y:t.bottom},r));for(let l=0;l<o.length;l++){const u=o[l];for(let f=u.start;f<=u.end;f++)mRe(i,a[f],s)}return new ml({points:i,options:{}})}function gRe(e,t){const n=[],r=e.getMatchingVisibleMetas("line");for(let i=0;i<r.length;i++){const o=r[i];if(o.index===t)break;o.hidden||n.unshift(o.dataset)}return n}function mRe(e,t,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:a,last:s,point:l}=vRe(o,t,"x");if(!(!l||a&&s)){if(a)r.unshift(l);else if(e.push(l),!s)break}}e.push(...r)}function vRe(e,t,n){const r=e.interpolate(t,n);if(!r)return{};const i=r[n],o=e.segments,a=e.points;let s=!1,l=!1;for(let u=0;u<o.length;u++){const f=o[u],d=a[f.start][n],g=a[f.end][n];if(CA(i,d,g)){s=i===d,l=i===g;break}}return{first:s,last:l,point:r}}class J7{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,n,r){const{x:i,y:o,radius:a}=this;return n=n||{start:0,end:br},t.arc(i,o,a,n.end,n.start,!0),!r.bounds}interpolate(t){const{x:n,y:r,radius:i}=this,o=t.angle;return{x:n+Math.cos(o)*i,y:r+Math.sin(o)*i,angle:o}}}function _Re(e){const{chart:t,fill:n,line:r}=e;if(zi(n))return yRe(t,n);if(n==="stack")return pRe(e);if(n==="shape")return!0;const i=wRe(e);return i instanceof J7?i:X7(i,r)}function yRe(e,t){const n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function wRe(e){return(e.scale||{}).getPointPositionForValue?BRe(e):bRe(e)}function bRe(e){const{scale:t={},fill:n}=e,r=fRe(n,t);if(zi(r)){const i=t.isHorizontal();return{x:i?r:null,y:i?null:r}}return null}function BRe(e){const{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,o=r.reverse?t.max:t.min,a=dRe(n,t,o),s=[];if(r.grid.circular){const l=t.getPointPositionForValue(0,o);return new J7({x:l.x,y:l.y,radius:t.getDistanceFromCenterForValue(a)})}for(let l=0;l<i;++l)s.push(t.getPointPositionForValue(l,a));return s}function oS(e,t,n){const r=_Re(t),{line:i,scale:o,axis:a}=t,s=i.options,l=s.fill,u=s.backgroundColor,{above:f=u,below:d=u}=l||{};r&&i.points.length&&(ix(e,n),CRe(e,{line:i,target:r,above:f,below:d,area:n,scale:o,axis:a}),ox(e))}function CRe(e,t){const{line:n,target:r,above:i,below:o,area:a,scale:s}=t,l=n._loop?"angle":t.axis;e.save(),l==="x"&&o!==i&&(dH(e,r,a.top),hH(e,{line:n,target:r,color:i,scale:s,property:l}),e.restore(),e.save(),dH(e,r,a.bottom)),hH(e,{line:n,target:r,color:o,scale:s,property:l}),e.restore()}function dH(e,t,n){const{segments:r,points:i}=t;let o=!0,a=!1;e.beginPath();for(const s of r){const{start:l,end:u}=s,f=i[l],d=i[JL(l,u,i)];o?(e.moveTo(f.x,f.y),o=!1):(e.lineTo(f.x,n),e.lineTo(f.x,f.y)),a=!!t.pathSegment(e,s,{move:a}),a?e.closePath():e.lineTo(d.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function hH(e,t){const{line:n,target:r,property:i,color:o,scale:a}=t,s=sRe(n,r,i);for(const{source:l,target:u,start:f,end:d}of s){const{style:{backgroundColor:g=o}={}}=l,m=r!==!0;e.save(),e.fillStyle=g,xRe(e,a,m&&YO(i,f,d)),e.beginPath();const v=!!n.pathSegment(e,l);let y;if(m){v?e.closePath():pH(e,r,d,i);const x=!!r.pathSegment(e,u,{move:v,reverse:!0});y=v&&x,y||pH(e,r,f,i)}e.closePath(),e.fill(y?"evenodd":"nonzero"),e.restore()}}function xRe(e,t,n){const{top:r,bottom:i}=t.chart.chartArea,{property:o,start:a,end:s}=n||{};o==="x"&&(e.beginPath(),e.rect(a,r,s-a,i-r),e.clip())}function pH(e,t,n,r){const i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}var eV={id:"filler",afterDatasetsUpdate(e,t,n){const r=(e.data.datasets||[]).length,i=[];let o,a,s,l;for(a=0;a<r;++a)o=e.getDatasetMeta(a),s=o.dataset,l=null,s&&s.options&&s instanceof ml&&(l={visible:e.isDatasetVisible(a),index:a,fill:uRe(s,a,r),chart:e,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=l,i.push(l);for(a=0;a<r;++a)l=i[a],!(!l||l.fill===!1)&&(l.fill=ARe(i,a,n.propagate))},beforeDraw(e,t,n){const r=n.drawTime==="beforeDraw",i=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let a=i.length-1;a>=0;--a){const s=i[a].$filler;s&&(s.line.updateControlPoints(o,s.axis),r&&s.fill&&oS(e.ctx,s,o))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const o=r[i].$filler;fH(o)&&oS(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!fH(r)||n.drawTime!=="beforeDatasetDraw"||oS(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const gH=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},ERe=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class mH extends HA{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=qn(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,i)=>t.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,i=Si(r.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=gH(r,o);let u,f;n.font=i.string,this.isHorizontal()?(u=this.maxWidth,f=this._fitRows(a,o,s,l)+10):(f=this.maxHeight,u=this._fitCols(a,i,s,l)+10),this.width=Math.min(u,t.maxWidth||this.maxWidth),this.height=Math.min(f,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,i){const{ctx:o,maxWidth:a,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],u=this.lineWidths=[0],f=i+s;let d=t;o.textAlign="left",o.textBaseline="middle";let g=-1,m=-f;return this.legendItems.forEach((v,y)=>{const x=r+n/2+o.measureText(v.text).width;(y===0||u[u.length-1]+x+2*s>a)&&(d+=f,u[u.length-(y>0?0:1)]=0,m+=f,g++),l[y]={left:0,top:m,row:g,width:x,height:i},u[u.length-1]+=x+s}),d}_fitCols(t,n,r,i){const{ctx:o,maxHeight:a,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],u=this.columnSizes=[],f=a-t;let d=s,g=0,m=0,v=0,y=0;return this.legendItems.forEach((x,C)=>{const{itemWidth:b,itemHeight:E}=SRe(r,n,o,x,i);C>0&&m+E+2*s>f&&(d+=g+s,u.push({width:g,height:m}),v+=g+s,y++,g=m=0),l[C]={left:v,top:m,col:y,width:b,height:E},g=Math.max(g,b),m+=E+s}),d+=g,u.push({width:g,height:m}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,a=Uh(o,this.left,this.width);if(this.isHorizontal()){let s=0,l=Mi(r,this.left+i,this.right-this.lineWidths[s]);for(const u of n)s!==u.row&&(s=u.row,l=Mi(r,this.left+i,this.right-this.lineWidths[s])),u.top+=this.top+t+i,u.left=a.leftForLtr(a.x(l),u.width),l+=u.width+i}else{let s=0,l=Mi(r,this.top+t+i,this.bottom-this.columnSizes[s].height);for(const u of n)u.col!==s&&(s=u.col,l=Mi(r,this.top+t+i,this.bottom-this.columnSizes[s].height)),u.top=l,u.left+=this.left+i,u.left=a.leftForLtr(a.x(u.left),u.width),l+=u.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;ix(t,this),this._draw(),ox(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:a}=t,s=Tr.color,l=Uh(t.rtl,this.left,this.width),u=Si(a.font),{padding:f}=a,d=u.size,g=d/2;let m;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;const{boxWidth:v,boxHeight:y,itemHeight:x}=gH(a,d),C=function(I,U,H){if(isNaN(v)||v<=0||isNaN(y)||y<0)return;i.save();const V=Gt(H.lineWidth,1);if(i.fillStyle=Gt(H.fillStyle,s),i.lineCap=Gt(H.lineCap,"butt"),i.lineDashOffset=Gt(H.lineDashOffset,0),i.lineJoin=Gt(H.lineJoin,"miter"),i.lineWidth=V,i.strokeStyle=Gt(H.strokeStyle,s),i.setLineDash(Gt(H.lineDash,[])),a.usePointStyle){const j={radius:y*Math.SQRT2/2,pointStyle:H.pointStyle,rotation:H.rotation,borderWidth:V},z=l.xPlus(I,v/2),q=U+g;x7(i,j,z,q,a.pointStyleWidth&&v)}else{const j=U+Math.max((d-y)/2,0),z=l.leftForLtr(I,v),q=Ph(H.borderRadius);i.beginPath(),Object.values(q).some(Z=>Z!==0)?yB(i,{x:z,y:j,w:v,h:y,radius:q}):i.rect(z,j,v,y),i.fill(),V!==0&&i.stroke()}i.restore()},b=function(I,U,H){hv(i,H.text,I,U+x/2,u,{strikethrough:H.hidden,textAlign:l.textAlign(H.textAlign)})},E=this.isHorizontal(),T=this._computeTitleHeight();E?m={x:Mi(o,this.left+f,this.right-r[0]),y:this.top+f+T,line:0}:m={x:this.left+f,y:Mi(o,this.top+T+f,this.bottom-n[0].height),line:0},I7(this.ctx,t.textDirection);const D=x+f;this.legendItems.forEach((I,U)=>{i.strokeStyle=I.fontColor,i.fillStyle=I.fontColor;const H=i.measureText(I.text).width,V=l.textAlign(I.textAlign||(I.textAlign=a.textAlign)),j=v+g+H;let z=m.x,q=m.y;l.setWidth(this.width),E?U>0&&z+j+f>this.right&&(q=m.y+=D,m.line++,z=m.x=Mi(o,this.left+f,this.right-r[m.line])):U>0&&q+D>this.bottom&&(z=m.x=z+n[m.line].width+f,m.line++,q=m.y=Mi(o,this.top+T+f,this.bottom-n[m.line].height));const Z=l.x(z);if(C(Z,q,I),z=lIe(V,z+v+g,E?z+j:this.right,t.rtl),b(l.x(z),q,I),E)m.x+=j+f;else if(typeof I.text!="string"){const ae=u.lineHeight;m.y+=tV(I,ae)+f}else m.y+=D}),L7(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=Si(n.font),i=ga(n.padding);if(!n.display)return;const o=Uh(t.rtl,this.left,this.width),a=this.ctx,s=n.position,l=r.size/2,u=i.top+l;let f,d=this.left,g=this.width;if(this.isHorizontal())g=Math.max(...this.lineWidths),f=this.top+u,d=Mi(t.align,d,this.right-g);else{const v=this.columnSizes.reduce((y,x)=>Math.max(y,x.height),0);f=u+Mi(t.align,this.top,this.bottom-v-t.labels.padding-this._computeTitleHeight())}const m=Mi(s,d,d+g);a.textAlign=o.textAlign(jL(s)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=r.string,hv(a,n.text,m,f,r)}_computeTitleHeight(){const t=this.options.title,n=Si(t.font),r=ga(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,i,o;if(CA(t,this.left,this.right)&&CA(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;r<o.length;++r)if(i=o[r],CA(t,i.left,i.left+i.width)&&CA(n,i.top,i.top+i.height))return this.legendItems[r]}return null}handleEvent(t){const n=this.options;if(!ORe(t.type,n))return;const r=this._getLegendItemAt(t.x,t.y);if(t.type==="mousemove"||t.type==="mouseout"){const i=this._hoveredItem,o=ERe(i,r);i&&!o&&qn(n.onLeave,[t,i,this],this),this._hoveredItem=r,r&&!o&&qn(n.onHover,[t,r,this],this)}else r&&qn(n.onClick,[t,r,this],this)}}function SRe(e,t,n,r,i){const o=FRe(r,e,t,n),a=TRe(i,r,t.lineHeight);return{itemWidth:o,itemHeight:a}}function FRe(e,t,n,r){let i=e.text;return i&&typeof i!="string"&&(i=i.reduce((o,a)=>o.length>a.length?o:a)),t+n.size/2+r.measureText(i).width}function TRe(e,t,n){let r=e;return typeof t.text!="string"&&(r=tV(t,n)),r}function tV(e,t){const n=e.text?e.text.length:0;return t*n}function ORe(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var ya={id:"legend",_element:mH,start(e,t,n){const r=e.legend=new mH({ctx:e.ctx,options:n,chart:e});Wa.configure(e,r,n),Wa.addBox(e,r)},stop(e){Wa.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;Wa.configure(e,r,n),r.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o,useBorderRadius:a,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const u=l.controller.getStyle(n?0:void 0),f=ga(u.borderWidth);return{text:t[l.index].label,fillStyle:u.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:u.borderCapStyle,lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:(f.width+f.height)/4,strokeStyle:u.borderColor,pointStyle:r||u.pointStyle,rotation:u.rotation,textAlign:i||u.textAlign,borderRadius:a&&(s||u.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class nV extends HA{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const i=jr(r.text)?r.text.length:1;this._padding=ga(r.padding);const o=i*Si(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:i,right:o,options:a}=this,s=a.align;let l=0,u,f,d;return this.isHorizontal()?(f=Mi(s,r,o),d=n+t,u=o-r):(a.position==="left"?(f=r+t,d=Mi(s,i,n),l=Or*-.5):(f=o-t,d=Mi(s,n,i),l=Or*.5),u=i-n),{titleX:f,titleY:d,maxWidth:u,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=Si(n.font),o=r.lineHeight/2+this._padding.top,{titleX:a,titleY:s,maxWidth:l,rotation:u}=this._drawArgs(o);hv(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:u,textAlign:jL(n.align),textBaseline:"middle",translation:[a,s]})}}function kRe(e,t){const n=new nV({ctx:e.ctx,options:t,chart:e});Wa.configure(e,n,t),Wa.addBox(e,n),e.titleBlock=n}var $A={id:"title",_element:nV,start(e,t,n){kRe(e,n)},stop(e){const t=e.titleBlock;Wa.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;Wa.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Yg={average(e){if(!e.length)return!1;let t,n,r=0,i=0,o=0;for(t=0,n=e.length;t<n;++t){const a=e[t].element;if(a&&a.hasValue()){const s=a.tooltipPosition();r+=s.x,i+=s.y,++o}}return{x:r/o,y:i/o}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=Number.POSITIVE_INFINITY,o,a,s;for(o=0,a=e.length;o<a;++o){const l=e[o].element;if(l&&l.hasValue()){const u=l.getCenterPoint(),f=$O(t,u);f<i&&(i=f,s=l)}}if(s){const l=s.tooltipPosition();n=l.x,r=l.y}return{x:n,y:r}}};function sl(e,t){return t&&(jr(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function pA(e){return(typeof e=="string"||e instanceof String)&&e.indexOf(` 412`)>-1?e.split(` 413`):e}function IRe(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:e,label:a,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function vH(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:a,boxHeight:s}=t,l=Si(t.bodyFont),u=Si(t.titleFont),f=Si(t.footerFont),d=o.length,g=i.length,m=r.length,v=ga(t.padding);let y=v.height,x=0,C=r.reduce((T,D)=>T+D.before.length+D.lines.length+D.after.length,0);if(C+=e.beforeBody.length+e.afterBody.length,d&&(y+=d*u.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),C){const T=t.displayColors?Math.max(s,l.lineHeight):l.lineHeight;y+=m*T+(C-m)*l.lineHeight+(C-1)*t.bodySpacing}g&&(y+=t.footerMarginTop+g*f.lineHeight+(g-1)*t.footerSpacing);let b=0;const E=function(T){x=Math.max(x,n.measureText(T).width+b)};return n.save(),n.font=u.string,Pn(e.title,E),n.font=l.string,Pn(e.beforeBody.concat(e.afterBody),E),b=t.displayColors?a+2+t.boxPadding:0,Pn(r,T=>{Pn(T.before,E),Pn(T.lines,E),Pn(T.after,E)}),b=0,n.font=f.string,Pn(e.footer,E),n.restore(),x+=v.width,{width:x,height:y}}function LRe(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}function DRe(e,t,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;if(e==="left"&&i+o+a>t.width||e==="right"&&i-o-a<0)return!0}function RRe(e,t,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:l}}=e;let u="center";return r==="center"?u=i<=(s+l)/2?"left":"right":i<=o/2?u="left":i>=a-o/2&&(u="right"),DRe(u,e,t,n)&&(u="center"),u}function _H(e,t,n){const r=n.yAlign||t.yAlign||LRe(e,n);return{xAlign:n.xAlign||t.xAlign||RRe(e,t,n,r),yAlign:r}}function PRe(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function URe(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function yH(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=e,{xAlign:s,yAlign:l}=n,u=i+o,{topLeft:f,topRight:d,bottomLeft:g,bottomRight:m}=Ph(a);let v=PRe(t,s);const y=URe(t,l,u);return l==="center"?s==="left"?v+=u:s==="right"&&(v-=u):s==="left"?v-=Math.max(f,g)+i:s==="right"&&(v+=Math.max(d,m)+i),{x:$i(v,0,r.width-t.width),y:$i(y,0,r.height-t.height)}}function Ky(e,t,n){const r=ga(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function wH(e){return sl([],pA(e))}function NRe(e,t,n){return sd(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function bH(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const rV={beforeTitle:dA,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:dA,beforeBody:dA,beforeLabel:dA,label(e){if(this&&this.options&&this.options.mode==="dataset")return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Sn(n)||(t+=n),t},labelColor(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const n=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:dA,afterBody:dA,beforeFooter:dA,footer:dA,afterFooter:dA};function xo(e,t,n,r){const i=e[t].call(n,r);return typeof i>"u"?rV[t].call(n,r):i}class qO extends HA{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new U7(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=NRe(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=xo(r,"beforeTitle",this,t),o=xo(r,"title",this,t),a=xo(r,"afterTitle",this,t);let s=[];return s=sl(s,pA(i)),s=sl(s,pA(o)),s=sl(s,pA(a)),s}getBeforeBody(t,n){return wH(xo(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:r}=n,i=[];return Pn(t,o=>{const a={before:[],lines:[],after:[]},s=bH(r,o);sl(a.before,pA(xo(s,"beforeLabel",this,o))),sl(a.lines,xo(s,"label",this,o)),sl(a.after,pA(xo(s,"afterLabel",this,o))),i.push(a)}),i}getAfterBody(t,n){return wH(xo(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:r}=n,i=xo(r,"beforeFooter",this,t),o=xo(r,"footer",this,t),a=xo(r,"afterFooter",this,t);let s=[];return s=sl(s,pA(i)),s=sl(s,pA(o)),s=sl(s,pA(a)),s}_createItems(t){const n=this._active,r=this.chart.data,i=[],o=[],a=[];let s=[],l,u;for(l=0,u=n.length;l<u;++l)s.push(IRe(this.chart,n[l]));return t.filter&&(s=s.filter((f,d,g)=>t.filter(f,d,g,r))),t.itemSort&&(s=s.sort((f,d)=>t.itemSort(f,d,r))),Pn(s,f=>{const d=bH(t.callbacks,f);i.push(xo(d,"labelColor",this,f)),o.push(xo(d,"labelPointStyle",this,f)),a.push(xo(d,"labelTextColor",this,f))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=s,s}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,a=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const s=Yg[r.position].call(this,i,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const l=this._size=vH(this,r),u=Object.assign({},s,l),f=_H(this.chart,r,u),d=yH(r,u,f,this.chart);this.xAlign=f.xAlign,this.yAlign=f.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:s.x,caretY:s.y}}this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const o=this.getCaretPosition(t,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:s}=r,{topLeft:l,topRight:u,bottomLeft:f,bottomRight:d}=Ph(s),{x:g,y:m}=t,{width:v,height:y}=n;let x,C,b,E,T,D;return o==="center"?(T=m+y/2,i==="left"?(x=g,C=x-a,E=T+a,D=T-a):(x=g+v,C=x+a,E=T-a,D=T+a),b=x):(i==="left"?C=g+Math.max(l,f)+a:i==="right"?C=g+v-Math.max(u,d)-a:C=this.caretX,o==="top"?(E=m,T=E-a,x=C-a,b=C+a):(E=m+y,T=E+a,x=C+a,b=C-a),D=E),{x1:x,x2:C,x3:b,y1:E,y2:T,y3:D}}drawTitle(t,n,r){const i=this.title,o=i.length;let a,s,l;if(o){const u=Uh(r.rtl,this.x,this.width);for(t.x=Ky(this,r.titleAlign,r),n.textAlign=u.textAlign(r.titleAlign),n.textBaseline="middle",a=Si(r.titleFont),s=r.titleSpacing,n.fillStyle=r.titleColor,n.font=a.string,l=0;l<o;++l)n.fillText(i[l],u.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+s,l+1===o&&(t.y+=r.titleMarginBottom-s)}}_drawColorBox(t,n,r,i,o){const a=this.labelColors[r],s=this.labelPointStyles[r],{boxHeight:l,boxWidth:u}=o,f=Si(o.bodyFont),d=Ky(this,"left",o),g=i.x(d),m=l<f.lineHeight?(f.lineHeight-l)/2:0,v=n.y+m;if(o.usePointStyle){const y={radius:Math.min(u,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},x=i.leftForLtr(g,u)+u/2,C=v+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,zO(t,y,x,C),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,zO(t,y,x,C)}else{t.lineWidth=cn(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;const y=i.leftForLtr(g,u),x=i.leftForLtr(i.xPlus(g,1),u-2),C=Ph(a.borderRadius);Object.values(C).some(b=>b!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,yB(t,{x:y,y:v,w:u,h:l,radius:C}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),yB(t,{x,y:v+1,w:u-2,h:l-2,radius:C}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(y,v,u,l),t.strokeRect(y,v,u,l),t.fillStyle=a.backgroundColor,t.fillRect(x,v+1,u-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:s,boxHeight:l,boxWidth:u,boxPadding:f}=r,d=Si(r.bodyFont);let g=d.lineHeight,m=0;const v=Uh(r.rtl,this.x,this.width),y=function(H){n.fillText(H,v.x(t.x+m),t.y+g/2),t.y+=g+o},x=v.textAlign(a);let C,b,E,T,D,I,U;for(n.textAlign=a,n.textBaseline="middle",n.font=d.string,t.x=Ky(this,x,r),n.fillStyle=r.bodyColor,Pn(this.beforeBody,y),m=s&&x!=="right"?a==="center"?u/2+f:u+2+f:0,T=0,I=i.length;T<I;++T){for(C=i[T],b=this.labelTextColors[T],n.fillStyle=b,Pn(C.before,y),E=C.lines,s&&E.length&&(this._drawColorBox(n,t,T,v,r),g=Math.max(d.lineHeight,l)),D=0,U=E.length;D<U;++D)y(E[D]),g=d.lineHeight;Pn(C.after,y)}m=0,g=d.lineHeight,Pn(this.afterBody,y),t.y-=o}drawFooter(t,n,r){const i=this.footer,o=i.length;let a,s;if(o){const l=Uh(r.rtl,this.x,this.width);for(t.x=Ky(this,r.footerAlign,r),t.y+=r.footerMarginTop,n.textAlign=l.textAlign(r.footerAlign),n.textBaseline="middle",a=Si(r.footerFont),n.fillStyle=r.footerColor,n.font=a.string,s=0;s<o;++s)n.fillText(i[s],l.x(t.x),t.y+a.lineHeight/2),t.y+=a.lineHeight+r.footerSpacing}}drawBackground(t,n,r,i){const{xAlign:o,yAlign:a}=this,{x:s,y:l}=t,{width:u,height:f}=r,{topLeft:d,topRight:g,bottomLeft:m,bottomRight:v}=Ph(i.cornerRadius);n.fillStyle=i.backgroundColor,n.strokeStyle=i.borderColor,n.lineWidth=i.borderWidth,n.beginPath(),n.moveTo(s+d,l),a==="top"&&this.drawCaret(t,n,r,i),n.lineTo(s+u-g,l),n.quadraticCurveTo(s+u,l,s+u,l+g),a==="center"&&o==="right"&&this.drawCaret(t,n,r,i),n.lineTo(s+u,l+f-v),n.quadraticCurveTo(s+u,l+f,s+u-v,l+f),a==="bottom"&&this.drawCaret(t,n,r,i),n.lineTo(s+m,l+f),n.quadraticCurveTo(s,l+f,s,l+f-m),a==="center"&&o==="left"&&this.drawCaret(t,n,r,i),n.lineTo(s,l+d),n.quadraticCurveTo(s,l,s+d,l),n.closePath(),n.fill(),i.borderWidth>0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const a=Yg[t.position].call(this,this._active,this._eventPosition);if(!a)return;const s=this._size=vH(this,t),l=Object.assign({},a,this._size),u=_H(n,t,l),f=yH(t,l,u,n);(i._to!==f.x||o._to!==f.y)&&(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=s.width,this.height=s.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,f))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=ga(n.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&s&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,n),I7(t,n.textDirection),o.y+=a.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),L7(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:s,index:l})=>{const u=this.chart.getDatasetMeta(s);if(!u)throw new Error("Cannot find a dataset at index "+s);return{datasetIndex:s,element:u.data[l],index:l}}),o=!mB(r,i),a=this._positionChanged(i,n);(o||a)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(t,o,n,r),s=this._positionChanged(a,t),l=n||!mB(a,o)||s;return l&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n.filter(s=>this.chart.data.datasets[s.datasetIndex]&&this.chart.getDatasetMeta(s.datasetIndex).controller.getParsed(s.index)!==void 0);const a=this.chart.getElementsAtEventForMode(t,o.mode,o,r);return o.reverse&&a.reverse(),a}_positionChanged(t,n){const{caretX:r,caretY:i,options:o}=this,a=Yg[o.position].call(this,t,n);return a!==!1&&(r!==a.x||i!==a.y)}}ut(qO,"positioners",Yg);var wa={id:"tooltip",_element:qO,positioners:Yg,afterInit(e,t,n){n&&(e.tooltip=new qO({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:rV},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const MRe=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function QRe(e,t,n,r){const i=e.indexOf(t);if(i===-1)return MRe(e,t,n,r);const o=e.lastIndexOf(t);return i!==o?n:i}const HRe=(e,t)=>e===null?null:$i(Math.round(e),0,t);function BH(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}class Ps extends Ep{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(Sn(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:QRe(r,t,Gt(n,t),this._addedLabels),HRe(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=t===0&&n===o.length-1?o:o.slice(t,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=t;a<=n;a++)i.push({value:a});return i}getLabelForValue(t){return BH.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ut(Ps,"id","category"),ut(Ps,"defaults",{ticks:{callback:BH}});function $Re(e,t){const n=[],{bounds:i,step:o,min:a,max:s,precision:l,count:u,maxTicks:f,maxDigits:d,includeBounds:g}=e,m=o||1,v=f-1,{min:y,max:x}=t,C=!Sn(a),b=!Sn(s),E=!Sn(u),T=(x-y)/(d+1);let D=_4((x-y)/v/m)*m,I,U,H,V;if(D<1e-14&&!C&&!b)return[{value:y},{value:x}];V=Math.ceil(x/D)-Math.floor(y/D),V>v&&(D=_4(V*D/v/m)*m),Sn(l)||(I=Math.pow(10,l),D=Math.ceil(D*I)/I),i==="ticks"?(U=Math.floor(y/D)*D,H=Math.ceil(x/D)*D):(U=y,H=x),C&&b&&o&&Jke((s-a)/o,D/1e3)?(V=Math.round(Math.min((s-a)/D,f)),D=(s-a)/V,U=a,H=s):E?(U=C?a:U,H=b?s:H,V=u-1,D=(H-U)/V):(V=(H-U)/D,Fm(V,Math.round(V),D/1e3)?V=Math.round(V):V=Math.ceil(V));const j=Math.max(y4(D),y4(U));I=Math.pow(10,Sn(l)?j:l),U=Math.round(U*I)/I,H=Math.round(H*I)/I;let z=0;for(C&&(g&&U!==a?(n.push({value:a}),U<a&&z++,Fm(Math.round((U+z*D)*I)/I,a,CH(a,T,e))&&z++):U<a&&z++);z<V;++z){const q=Math.round((U+z*D)*I)/I;if(b&&q>s)break;n.push({value:q})}return b&&g&&H!==s?n.length&&Fm(n[n.length-1].value,s,CH(s,T,e))?n[n.length-1].value=s:n.push({value:s}):(!b||H===s)&&n.push({value:H}),n}function CH(e,t,{horizontal:n,minRotation:r}){const i=BA(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*t*(""+e).length;return Math.min(t/o,a)}class jRe extends Ep{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return Sn(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const a=l=>i=n?i:l,s=l=>o=r?o:l;if(t){const l=wl(i),u=wl(o);l<0&&u<0?s(0):l>0&&u>0&&a(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);s(o+l),t||a(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,a=$Re(i,o);return t.bounds==="ticks"&&eIe(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return VL(t,this.chart.options.locale,this.options.ticks.format)}}class ma extends jRe{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=zi(t)?t:0,this.max=zi(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=BA(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}ut(ma,"id","linear"),ut(ma,"defaults",{ticks:{callback:C7.formatters.numeric}});const sx={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Lo=Object.keys(sx);function xH(e,t){return e-t}function EH(e,t){if(Sn(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let a=t;return typeof r=="function"&&(a=r(a)),zi(a)||(a=typeof r=="string"?n.parse(a,r):n.parse(a)),a===null?null:(i&&(a=i==="week"&&(lp(o)||o===!0)?n.startOf(a,"isoWeek",o):n.startOf(a,i)),+a)}function SH(e,t,n,r){const i=Lo.length;for(let o=Lo.indexOf(e);o<i-1;++o){const a=sx[Lo[o]],s=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-t)/(s*a.size))<=r)return Lo[o]}return Lo[i-1]}function zRe(e,t,n,r,i){for(let o=Lo.length-1;o>=Lo.indexOf(n);o--){const a=Lo[o];if(sx[a].common&&e._adapter.diff(i,r,a)>=t-1)return a}return Lo[n?Lo.indexOf(n):0]}function VRe(e){for(let t=Lo.indexOf(e)+1,n=Lo.length;t<n;++t)if(sx[Lo[t]].common)return Lo[t]}function FH(e,t,n){if(!n)e[t]=!0;else if(n.length){const{lo:r,hi:i}=$L(n,t),o=n[r]>=t?n[r]:n[i];e[o]=!0}}function KRe(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),a=t[t.length-1].value;let s,l;for(s=o;s<=a;s=+i.add(s,1,r))l=n[s],l>=0&&(t[l].major=!0);return t}function TH(e,t,n){const r=[],i={},o=t.length;let a,s;for(a=0;a<o;++a)s=t[a],i[s]=a,r.push({value:s,major:!1});return o===0||!n?r:KRe(e,r,i,n)}class CB extends Ep{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,n={}){const r=t.time||(t.time={}),i=this._adapter=new ILe._date(t.adapters.date);i.init(n),Sm(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=n.normalized}parse(t,n){return t===void 0?null:EH(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,n=this._adapter,r=t.time.unit||"day";let{min:i,max:o,minDefined:a,maxDefined:s}=this.getUserBounds();function l(u){!a&&!isNaN(u.min)&&(i=Math.min(i,u.min)),!s&&!isNaN(u.max)&&(o=Math.max(o,u.max))}
vendor: 6,497 bytes, line 413
413(!a||!s)&&(l(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&l(this.getMinMax(!1))),i=zi(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),o=zi(o)&&!isNaN(o)?o:+n.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(n=t[0],r=t[t.length-1]),{min:n,max:r}}buildTicks(){const t=this.options,n=t.time,r=t.ticks,i=r.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,a=this.max,s=oIe(i,o,a);return this._unit=n.unit||(r.autoSkip?SH(n.minUnit,this.min,this.max,this._getLabelCapacity(o)):zRe(this,s.length,n.minUnit,this.min,this.max)),this._majorUnit=!r.major.enabled||this._unit==="year"?void 0:VRe(this._unit),this.initOffsets(i),t.reverse&&s.reverse(),TH(this,s,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let n=0,r=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?r=o:r=(o-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;n=$i(n,0,a),r=$i(r,0,a),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,a=o.unit||SH(o.minUnit,n,r,this._getLabelCapacity(n)),s=Gt(i.ticks.stepSize,1),l=a==="week"?o.isoWeekday:!1,u=lp(l)||l===!0,f={};let d=n,g,m;if(u&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,u?"day":a),t.diff(r,n,a)>1e5*s)throw new Error(n+" and "+r+" are too far apart with stepSize of "+s+" "+a);const v=i.ticks.source==="data"&&this.getDataTimestamps();for(g=d,m=0;g<r;g=+t.add(g,s,a),m++)FH(f,g,v);return(g===r||i.bounds==="ticks"||m===1)&&FH(f,g,v),Object.keys(f).sort(xH).map(y=>+y)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,o=this._unit,a=n||i[o];return this._adapter.format(t,a)}_tickFormatFunction(t,n,r,i){const o=this.options,a=o.ticks.callback;if(a)return qn(a,[t,n,r],this);const s=o.time.displayFormats,l=this._unit,u=this._majorUnit,f=l&&s[l],d=u&&s[u],g=r[n],m=u&&d&&g&&g.major;return this._adapter.format(t,i||(m?d:f))}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n<r;++n)i=t[n],i.label=this._tickFormatFunction(i.value,n,t)}getDecimalForValue(t){return t===null?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const n=this._offsets,r=this.getDecimalForValue(t);return this.getPixelForDecimal((n.start+r)*n.factor)}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return this.min+r*(this.max-this.min)}_getLabelSize(t){const n=this.options.ticks,r=this.ctx.measureText(t).width,i=BA(this.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(i),a=Math.sin(i),s=this._resolveTickFontOptions(0).size;return{w:r*o+s*a,h:r*a+s*o}}_getLabelCapacity(t){const n=this.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=this._tickFormatFunction(t,0,TH(this,[t],this._majorUnit),i),a=this._getLabelSize(o),s=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return s>0?s:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n<r;++n)t=t.concat(i[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(t)}getLabelTimestamps(){const t=this._cache.labels||[];let n,r;if(t.length)return t;const i=this.getLabels();for(n=0,r=i.length;n<r;++n)t.push(EH(this,i[n]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return v7(t.sort(xH))}}ut(CB,"id","time"),ut(CB,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function Wy(e,t,n){let r=0,i=e.length-1,o,a,s,l;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=Of(e,"pos",t)),{pos:o,time:s}=e[r],{pos:a,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=Of(e,"time",t)),{time:o,pos:s}=e[r],{time:a,pos:l}=e[i]);const u=a-o;return u?s+(l-s)*(t-o)/u:s}class OH extends CB{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Wy(n,this.min),this._tableRange=Wy(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],o=[];let a,s,l,u,f;for(a=0,s=t.length;a<s;++a)u=t[a],u>=n&&u<=r&&i.push(u);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(a=0,s=i.length;a<s;++a)f=i[a+1],l=i[a-1],u=i[a],Math.round((f+l)/2)!==u&&o.push({time:u,pos:a/(s-1)});return o}_generate(){const t=this.min,n=this.max;let r=super.getDataTimestamps();return(!r.includes(t)||!r.length)&&r.splice(0,0,t),(!r.includes(n)||r.length===1)&&r.push(n),r.sort((i,o)=>i-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),r=this.getLabelTimestamps();return n.length&&r.length?t=this.normalize(n.concat(r)):t=n.length?n:r,t=this._cache.all=t,t}getDecimalForValue(t){return(Wy(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,r=this.getDecimalForPixel(t)/n.factor-n.end;return Wy(this._table,r*this._tableRange+this._minPos,!0)}}ut(OH,"id","timeseries"),ut(OH,"defaults",CB.defaults);const iV="label";function kH(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function WRe(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function oV(e,t){e.labels=t}function aV(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:iV;const r=[];e.datasets=t.map(i=>{const o=e.datasets.find(a=>a[n]===i[n]);return!o||!i.data||r.includes(o)?{...i}:(r.push(o),Object.assign(o,i),o)})}function GRe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:iV;const n={labels:[],datasets:[]};return oV(n,e.labels),aV(n,e.datasets,t),n}function YRe(e,t){const{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:a,data:s,options:l,plugins:u=[],fallbackContent:f,updateMode:d,...g}=e,m=k.useRef(null),v=k.useRef(),y=()=>
413{m.current&&(v.current=new Vi(m.current,{type:a,data:GRe(s,o),options:l&&{...l},plugins:u}),kH(t,v.current))},x=()=>{kH(t,null),v.current&&(v.current.destroy(),v.current=null)};return k.useEffect(()=>{!i&&v.current&&l&&WRe(v.current,l)},[i,l]),k.useEffect(()=>{!i&&v.current&&oV(v.current.config.data,s.labels)},[i,s.labels]),k.useEffect(()=>{!i&&v.current&&s.datasets&&aV(v.current.config.data,s.datasets,o)},[i,s.datasets]),k.useEffect(()=>{v.current&&(i?(x(),setTimeout(y)):v.current.update(d))},[i,l,s.labels,s.datasets,d]),k.useEffect(()=>{v.current&&(x(),setTimeout(y))},[a]),k.useEffect(()=>(y(),()=>x()),[]),lt.createElement("canvas",Object.assign({ref:m,role:"img",height:n,width:r},g),f)}const sV=k.forwardRef(YRe);function Sp(e,t){return Vi.register(t),k.forwardRef((n,r)=>lt.createElement(sV,Object.assign({},n,{ref:r,type:e})))}const lV=Sp("line",vw),Xv=Sp("bar",gw),qRe=Sp("doughnut",Ch),ZRe=Sp("bubble",mw),XRe=Sp("pie",VO),JRe=Sp("scatter",_w);/** @license 414 * 415 * Colour Palette Generator script. 416 * Copyright (c) 2014 Google Inc. 417 * 418 * Licensed under the Apache License, Version 2.0 (the "License"); you may 419 * not use this file except in compliance with the License. You may 420 * obtain a copy of the License at 421 * 422 * http://www.apache.org/licenses/LICENSE-2.0 423 * 424 * Unless required by applicable law or agreed to in writing, software 425 * distributed under the License is distributed on an "AS IS" BASIS, 426 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 427 * implied. See the License for the specific language governing 428 * permissions and limitations under the License. 429 * 430 * Furthermore, ColorBrewer colour schemes are covered by the following: 431 * 432 * Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and 433 * The Pennsylvania State University. 434 * 435 * Licensed under the Apache License, Version 2.0 (the "License"); you may 436 * not use this file except in compliance with the License. You may obtain 437 * a copy of the License at 438 * 439 * http://www.apache.org/licenses/LICENSE-2.0 440 * 441 * Unless required by applicable law or agreed to in writing, software 442 * distributed under the License is distributed on an "AS IS" BASIS, 443 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 444 * implied. See the License for the specific language governing 445 * permissions and limitations under the License. 446 * 447 * Redistribution and use in source and binary forms, with or without 448 * modification, are permitted provided that the following conditions are 449 * met: 450 * 451 * 1. Redistributions as source code must retain the above copyright 452 * notice, this list of conditions and the following disclaimer. 453 * 454 * 2. The end-user documentation included with the redistribution, if any, 455 * must include the following acknowledgment: "This product includes color 456 * specifications and designs developed by Cynthia Brewer 457 * (http://colorbrewer.org/)." Alternately, this acknowledgment may appear 458 * in the software itself, if and wherever such third-party 459 * acknowledgments normally appear. 460 * 461 * 4. The name "ColorBrewer" must not be used to endorse or promote products 462 * derived from this software without prior written permission. For written 463 * permission, please contact Cynthia Brewer at [email protected]. 464 * 465 * 5. Products derived from this software may not be called "ColorBrewer", 466 * nor may "ColorBrewer" appear in their name, without prior written 467 * permission of Cynthia Brewer. 468 * 469 * Furthermore, Solarized colour schemes are covered by the following: 470 * 471 * Copyright (c) 2011 Ethan Schoonover 472 * 473 * Permission is hereby granted, free of charge, to any person obtaining 474 * a copy of this software and associated documentation files (the 475 * "Software"), to deal in the Software without restriction, including 476 * without limitation the rights to use, copy, modify, merge, publish, 477 * distribute, sublicense, and/or sell copies of the Software, and to 478 * permit persons to whom the Software is furnished to do so, subject to 479 * the following conditions: 480 * 481 * The above copyright notice and this permission notice shall be included 482 * in all copies or substantial portions of the Software. 483 * 484 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 485 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 486 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 487 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 488 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 489 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 490 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 491 */var $t=function(){var e=Array.prototype,t=function(s,l,u){return e.slice.apply(s,e.slice.call(arguments,1
491))},n="function",r=1e9,i=function(s,l,u,f){if(l|=0,l==0)return[];if(typeof s!==n){var d=i.listSchemes(s,l);if(!d.length)return null;s=d[(u||0)%d.length]}var g=t(arguments,2);return g[0]=l,s.apply(s,g)};i.Scheme=function(s,l){var u={},f=0,d=r,g=function(){if(arguments.length<=1)return m.color_func.bind(m);var v=t(arguments);return function(y){return v[0]=y,m.color_func.apply(m,v)}},m=function(v,y){if(v|=0,!v)return[];var x=v;if(v=Math.abs(v),v<=f){for(var C=Math.max(v,d);!(C in u);++C);var b=u[C];if(C>v){var E="shrinking_takes_head"in b?b.shrinking_takes_head:m.shrinking_takes_head;if(E)b=b.slice(0,v);else return i.generate(function(T){return b[Math.round(T)]},x,0,b.length-1)}return b=b.slice(),x<0&&b.reverse(),b}else return m.color_func?i.generate(g.apply(m,arguments),x,0,1,m.color_func_cyclic):null};return m.scheme_name=s,m.groups=l?typeof l=="string"?[l]:l:[],m.max=0,m.cbf_max=r,m.addPalette=function(v,y){var x=v.length;x&&(u[x]=v,d=Math.min(d,x),f=Math.max(f,x),m.max=Math.max(m.max,x),!y&&x!=1&&(m.cbf_max=Math.min(m.cbf_max,x-1)))},m.addPalettes=function(v,y,x){y=y||v.length;for(var C=0;C<y;++C)C in v&&m.addPalette(v[C],!0);m.cbf_max=Math.min(m.cbf_max,x||1)},m.shrinkByTakingHead=function(v,y){y!==void 0?y in u&&(u[y].shrinking_takes_head=!!v):m.shrinking_takes_head=!!v},m.setColorFunction=function(v,y,x){m.color_func=v,m.color_func_cyclic=!!x,m.max=r,!y&&m.cbf_max===r&&(m.cbf_max=1)},m.color=function(v,y){return m.color_func?m.color_func.apply(this,arguments):null},m},i.Scheme.fromPalettes=function(s,l,u,f,d){var g=i.Scheme(s,l);return g.addPalettes.apply(g,t(arguments,2)),g},i.Scheme.withColorFunction=function(s,l,u,f,d){var g=i.Scheme(s,l);return g.setColorFunction.apply(g,t(arguments,2)),g};var o={};i.register=function(s){o["n-"+s.scheme_name]=[s],s.groups.forEach(function(l){(o["g-"+l]=o["g-"+l]||[]).push(s)}),(o["g-all"]=o["g-all"]||[]).push(s)},i.listSchemes=function(s,l){l?l<0&&(l=-l):l=2;var u=[];
491return(typeof s=="string"?[s]:s).forEach(function(f){var d=f.substring(f.length-4)==="-cbf";d&&(f=f.substring(0,f.length-4));for(var g=o["g-"+f]||o["n-"+f]||[],m=0,v;v=g[m];++m)(d?v.cbf:v.max)>=l&&u.push(v)}),u.sort(function(f,d){return f.scheme_name>=d.scheme_name?f.scheme_name>d.scheme_name?1:0:-1}),u},i.generate=function(s,l,u,f,d){if(Math.abs(l)<1)return[];if(u=u===void 0?0:u,f=f===void 0?1:f,Math.abs(l)<2)return[s(u)];for(var g=Math.abs(l),m=u,v=[],y=(f-u)/(d?g:g-1);--g>=0;m+=y)v.push(s(m));return l<0&&v.reverse(),v};var a=function(s){return s>0?s<1?s:1:0};return i.rgbColor=function(s,l,u){return[s,l,u].map(function(f){return f=Number(Math.round(a(f)*255)).toString(16),f.length==1?"0"+f:f}).join("")},i.linearRgbColor=function(s,l,u){return[s,l,u].map(function(f){return f=a(f),f<=.0031308?f=12.92*f:f=1.055*Math.pow(f,1/2.4)-.055,f=Number(Math.round(f*255)).toString(16),f.length==1?"0"+f:f}).join("")},i.hsvColor=function(s,l,u){s*=6;var f=l===void 0?1:a(l),d=u===void 0?1:a(u),g=d*(1-f*Math.abs(s%2-1)),m=d*(1-f);switch(Math.floor(s)%6){case 0:return i.rgbColor(d,g,m);case 1:return i.rgbColor(g,d,m);case 2:return i.rgbColor(m,d,g);case 3:return i.rgbColor(m,g,d);case 4:return i.rgbColor(g,m,d);default:return i.rgbColor(d,m,g)}},i.register(i.Scheme.withColorFunction("rainbow","qualitative",i.hsvColor,!1,!0)),i}();$t.ColorFunction;$t.Palette;$t.PalettesList;$t.SchemeType;(function(){var e=$t.Scheme.fromPalettes("mpn65","qualitative",[["ff0029","377eb8","66a61e","984ea3","00d2d5","ff7f00","af8d00","7f80cd","b3e900","c42e60","a65628","f781bf","8dd3c7","bebada","fb8072","80b1d3","fdb462","fccde5","bc80bd","ffed6f","c4eaff","cf8c00","1b9e77","d95f02","e7298a","e6ab02","a6761d","0097ff","00d067","000000","252525","525252","737373","969696","bdbdbd","f43600","4ba93b","5779bb","927acc","97ee3f","bf3947","9f5b00","f48758","8caed6","f2b94f","eff26e","e43872","d9b100","9d7a00","698cff","d9d9d9","00d27e","d06800","009f82","c49200","cbe8ff","fecddf","c27eb6","8cd2ce","c4b8d9","f883b0","a49100","f48800","27d0df","a04a9b"]]);e.shrinkByTakingHead(!0),$t.register(e)})();(function(){var e=$t.rgbColor,t=function(r,i){for(var o=arguments.length-1,a=arguments[o];o>1;)a=a*r+arguments[--o];return a},n=function(r){var i=t(Math.abs(r),1,.278393,.230389,972e-6,.078108);return i*=i,i*=i,i=1-1/i,r<0?-i:i};$t.register($t.Scheme.fromPalettes("tol","qualitative",[["4477aa"],["4477aa","cc6677"],["4477aa","ddcc77","cc6677"],["4477aa","117733","ddcc77","cc6677"],["332288","88ccee","117733","ddcc77","cc6677"],["332288","88ccee","117733","ddcc77","cc6677","aa4499"],["332288","88ccee","44aa99","117733","ddcc77","cc6677","aa4499"],["332288","88ccee","44aa99","117733","999933","ddcc77","cc6677","aa4499"],["332288","88ccee","44aa99","117733","999933","ddcc77","cc6677","882255","aa4499"],["332288","88ccee","44aa99","117733","999933","ddcc77","661100","cc6677","882255","aa4499"],["332288","6699cc","88ccee","44aa99","117733","999933","ddcc77","661100","cc6677","882255","aa4499"],["332288","6699cc","88ccee","44aa99","117733","999933","ddcc77","661100","cc6677","aa4466","882255","aa4499"]],12,12)),$t.tolSequentialColor=function(r){return e(1-.392*(1+n((r-.869)/.255)),1.021-.456*(1+n((r-.527)/.376)),1-.493*(1+n((r-.272)/.309)))},$t.register($t.Scheme.withColorFunction("tol-sq","sequential",$t.tolSequentialColor,!0)),$t.tolDivergingColor=function(r){var i=t(r,.572,1.524,-1.811)/t(r,1,-.291,.1574);return e(t(r,.235,-2.13,26.92,-65.5,63.5,-22.36),i*i,1/t(r,1.579,-4.03,12.92,-31.4,48.6,-23.36))},$t.register($t.Scheme.withColorFunction("tol-dv","diverging",$t.tolDivergingColor,!0)),$t.tolRainbowColor=function(r){return e(t(r,.472,-.567,4.05)/t(r,1,8.72,-19.17,14.1),t(r,.108932,-1.22635,27.284,-98.577,163.3,-131.395,40.634),1/t(r,1.97,3.54,-68.5,243,-297,125))},$t.register($t.Scheme.withColorFunction("tol-rainbow","qualitative",$t.tolRainbowColor,!0))})();(function(){$t.register($t.Scheme.fromPalettes("sol-base","sequential",[["002b36","073642","586e75","657b83","839496","93a1a1","eee8d5","fdf6e3"]],1,8)),$t.register($t.Scheme.fromPalettes("sol-accent","qualitative",[["b58900","cb4b16","dc322f","d33682","6c71c4","268bd2","2aa198","859900"]]))})();(function(){var e={YlGn:{type:"sequential",cbf:42,3:["f7fcb9","addd8e","31a354"],4:["ffffcc","c2e699","78c679","238443"],5:["ffffcc","c2e699","78c679","31a354","006837"],
4916:["ffffcc","d9f0a3","addd8e","78c679","31a354","006837"],7:["ffffcc","d9f0a3","addd8e","78c679","41ab5d","238443","005a32"],8:["ffffe5","f7fcb9","d9f0a3","addd8e","78c679","41ab5d","238443","005a32"],9:["ffffe5","f7fcb9","d9f0a3","addd8e","78c679","41ab5d","238443","006837","004529"]},YlGnBu:{type:"sequential",cbf:42,3:["edf8b1","7fcdbb","2c7fb8"],4:["ffffcc","a1dab4","41b6c4","225ea8"],5:["ffffcc","a1dab4","41b6c4","2c7fb8","253494"],6:["ffffcc","c7e9b4","7fcdbb","41b6c4","2c7fb8","253494"],7:["ffffcc","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","0c2c84"],8:["ffffd9","edf8b1","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","0c2c84"],9:["ffffd9","edf8b1","c7e9b4","7fcdbb","41b6c4","1d91c0","225ea8","253494","081d58"]},GnBu:{type:"sequential",cbf:42,3:["e0f3db","a8ddb5","43a2ca"],4:["f0f9e8","bae4bc","7bccc4","2b8cbe"],5:["f0f9e8","bae4bc","7bccc4","43a2ca","0868ac"],6:["f0f9e8","ccebc5","a8ddb5","7bccc4","43a2ca","0868ac"],7:["f0f9e8","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","08589e"],8:["f7fcf0","e0f3db","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","08589e"],9:["f7fcf0","e0f3db","ccebc5","a8ddb5","7bccc4","4eb3d3","2b8cbe","0868ac","084081"]},BuGn:{type:"sequential",cbf:42,3:["e5f5f9","99d8c9","2ca25f"],4:["edf8fb","b2e2e2","66c2a4","238b45"],5:["edf8fb","b2e2e2","66c2a4","2ca25f","006d2c"],6:["edf8fb","ccece6","99d8c9","66c2a4","2ca25f","006d2c"],7:["edf8fb","ccece6","99d8c9","66c2a4","41ae76","238b45","005824"],8:["f7fcfd","e5f5f9","ccece6","99d8c9","66c2a4","41ae76","238b45","005824"],9:["f7fcfd","e5f5f9","ccece6","99d8c9","66c2a4","41ae76","238b45","006d2c","00441b"]},PuBuGn:{type:"sequential",cbf:42,3:["ece2f0","a6bddb","1c9099"],4:["f6eff7","bdc9e1","67a9cf","02818a"],5:["f6eff7","bdc9e1","67a9cf","1c9099","016c59"],6:["f6eff7","d0d1e6","a6bddb","67a9cf","1c9099","016c59"],7:["f6eff7","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016450"],8:["fff7fb","ece2f0","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016450"],9:["fff7fb","ece2f0","d0d1e6","a6bddb","67a9cf","3690c0","02818a","016c59","014636"]},PuBu:{type:"sequential",cbf:42,3:["ece7f2","a6bddb","2b8cbe"],4:["f1eef6","bdc9e1","74a9cf","0570b0"],5:["f1eef6","bdc9e1","74a9cf","2b8cbe","045a8d"],6:["f1eef6","d0d1e6","a6bddb","74a9cf","2b8cbe","045a8d"],7:["f1eef6","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","034e7b"],8:["fff7fb","ece7f2","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","034e7b"],9:["fff7fb","ece7f2","d0d1e6","a6bddb","74a9cf","3690c0","0570b0","045a8d","023858"]},BuPu:{type:"sequential",cbf:42,3:["e0ecf4","9ebcda","8856a7"],4:["edf8fb","b3cde3","8c96c6","88419d"],5:["edf8fb","b3cde3","8c96c6","8856a7","810f7c"],6:["edf8fb","bfd3e6","9ebcda","8c96c6","8856a7","810f7c"],7:["edf8fb","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","6e016b"],8:["f7fcfd","e0ecf4","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","6e016b"],9:["f7fcfd","e0ecf4","bfd3e6","9ebcda","8c96c6","8c6bb1","88419d","810f7c","4d004b"]},RdPu:{type:"sequential",cbf:42,3:["fde0dd","fa9fb5","c51b8a"],4:["feebe2","fbb4b9","f768a1","ae017e"],5:["feebe2","fbb4b9","f768a1","c51b8a","7a0177"],6:["feebe2","fcc5c0","fa9fb5","f768a1","c51b8a","7a0177"],7:["feebe2","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177"],8:["fff7f3","fde0dd","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177"],9:["fff7f3","fde0dd","fcc5c0","fa9fb5","f768a1","dd3497","ae017e","7a0177","49006a"]},PuRd:{type:"sequential",cbf:42,3:["e7e1ef","c994c7","dd1c77"],4:["f1eef6","d7b5d8","df65b0","ce1256"],5:["f1eef6","d7b5d8","df65b0","dd1c77","980043"],6:["f1eef6","d4b9da","c994c7","df65b0","dd1c77","980043"],7:["f1eef6","d4b9da","c994c7","df65b0","e7298a","ce1256","91003f"],8:["f7f4f9","e7e1ef","d4b9da","c994c7","df65b0","e7298a","ce1256","91003f"],9:["f7f4f9","e7e1ef","d4b9da","c994c7","df65b0","e7298a","ce1256","980043","67001f"]},OrRd:{type:"sequential",cbf:42,3:["fee8c8","fdbb84","e34a33"],4:["fef0d9","fdcc8a","fc8d59","d7301f"],5:["fef0d9","fdcc8a","fc8d59","e34a33","b30000"],6:["fef0d9","fdd49e","fdbb84","fc8d59","e34a33","b30000"],7:["fef0d9","fdd49e","fdbb84","fc8d59","ef6548","d7301f","990000"],8:["fff7ec","fee8c8","fdd49e","fdbb84","fc8d59","ef6548","d7301f","990000"],9:["fff7ec","fee8c8","fdd49e","fdbb84","fc8d59","ef6548","d7301f","b30000","7f0000"]},YlOrRd:{type:"sequential",cbf:42,3:["ffeda0","feb24c","f03b20"],4:["ffffb2","fecc5c","fd8d3c","e31a1c"],5:["ffffb2","fecc5c","fd8d3c","f03b20","bd0026"],6:["ffffb2","fed976","feb24c","fd8d3c","f03b20","bd0026"],7:["ffffb2","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","b10026"],8:["ffffcc","ffeda0","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","b10026"],9:["ffffcc","ffeda0","fed976","feb24c","fd8d3c","fc4e2a","e31a1c","bd0026","800026"]},YlOrBr:{type:"sequential",cbf:42,3:["fff7bc","fec44f","d95f0e"],4:["ffffd4","fed98e","fe9929","cc4c02"],5:["ffffd4","fed98e","fe9929","d95f0e","993404"],6:["ffffd4","fee391","fec44f","fe9929","d95f0e","993404"],7:["ffffd4","fee391","fec44f","fe9929","ec7014","cc4c02","8c2d04"],8:["ffffe5","fff7bc","fee391","fec44f","fe9929","ec7014","cc4c02","8c2d04"],9:["ffffe5","fff7bc","fee391","fec44f","fe9929","ec7014","cc4c02","993404","662506"]},Purples:{type:"sequential",cbf:42,3:["efedf5","bcbddc","756bb1"],4:["f2f0f7","cbc9e2","9e9ac8","6a51a3"],5:["f2f0f7","cbc9e2","9e9ac8","756bb1","54278f"],6:["f2f0f7","dadaeb","bcbddc","9e9ac8","756bb1","54278f"],7:["f2f0f7","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","4a1486"],8:["fcfbfd","efedf5","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","4a1486"],9:["fcfbfd","efedf5","dadaeb","bcbddc","9e9ac8","807dba","6a51a3","54278f","3f007d"]},Blues:{type:"sequential",cbf:42,3:["deebf7","9ecae1","3182bd"],4:["eff3ff","bdd7e7","6baed6","2171b5"],5:["eff3ff","bdd7e7","6baed6","3182bd","08519c"],6:["eff3ff","c6dbef","9ecae1","6baed6","3182bd","08519c"],7:["eff3ff","c6dbef","9ecae1","6baed6","4292c6","2171b5","084594"],8:["f7fbff","deebf7","c6dbef","9ecae1","6baed6","4292c6","2171b5","084594"],9:["f7fbff","deebf7","c6dbef","9ecae1","6baed6","4292c6","2171b5","08519c","08306b"]},Greens:{type:"sequential",cbf:42,3:["e5f5e0","a1d99b","31a354"],4:["edf8e9","bae4b3","74c476","238b45"],5:["edf8e9","bae4b3","74c476","31a354","006d2c"],6:["edf8e9","c7e9c0","a1d99b","74c476","31a354","006d2c"],7:["edf8e9","c7e9c0","a1d99b","74c476","41ab5d","238b45","005a32"],8:["f7fcf5","e5f5e0","c7e9c0","a1d99b","74c476","41ab5d","238b45","005a32"],9:["f7fcf5","e5f5e0","c7e9c0","a1d99b","74c476","41ab5d","238b45","006d2c","00441b"]},Oranges:{type:"sequential",cbf:42,3:["fee6ce","fdae6b","e6550d"],4:["feedde","fdbe85","fd8d3c","d94701"],5:["feedde","fdbe85","fd8d3c","e6550d","a63603"],6:["feedde","fdd0a2","fdae6b","fd8d3c","e6550d","a63603"],7:["feedde","fdd0a2","fdae6b","fd8d3c","f16913","d94801","8c2d04"],8:["fff5eb","fee6ce","fdd0a2","fdae6b","fd8d3c","f16913","d94801","8c2d04"],9:["fff5eb","fee6ce","fdd0a2","fdae6b","fd8d3c","f16913","d94801","a63603","7f2704"]},Reds:{type:"sequential",cbf:42,3:["fee0d2","fc9272","de2d26"],4:["fee5d9","fcae91","fb6a4a","cb181d"],5:["fee5d9","fcae91","fb6a4a","de2d26","a50f15"],6:["fee5d9","fcbba1","fc9272","fb6a4a","de2d26","a50f15"],7:["fee5d9","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","99000d"],8:["fff5f0","fee0d2","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","99000d"],9:["fff5f0","fee0d2","fcbba1","fc9272","fb6a4a","ef3b2c","cb181d","a50f15","67000d"]},Greys:{type:"sequential",cbf:42,3:["f0f0f0","bdbdbd","636363"],4:["f7f7f7","cccccc","969696","525252"],5:["f7f7f7","cccccc","969696","636363","252525"],6:["f7f7f7","d9d9d9","bdbdbd","969696","636363","252525"],7:["f7f7f7","d9d9d9","bdbdbd","969696","737373","525252","252525"],8:["ffffff","f0f0f0","d9d9d9","bdbdbd","969696","737373","525252","252525"],9:["ffffff","f0f0f0","d9d9d9","bdbdbd","969696","737373","525252","252525","000000"]},PuOr:{type:"diverging",cbf:42,3:["f1a340","f7f7f7","998ec3"],4:["e66101","fdb863","b2abd2","5e3c99"],5:["e66101","fdb863","f7f7f7","b2abd2","5e3c99"],6:["b35806","f1a340","fee0b
4916","d8daeb","998ec3","542788"],7:["b35806","f1a340","fee0b6","f7f7f7","d8daeb","998ec3","542788"],8:["b35806","e08214","fdb863","fee0b6","d8daeb","b2abd2","8073ac","542788"],9:["b35806","e08214","fdb863","fee0b6","f7f7f7","d8daeb","b2abd2","8073ac","542788"],10:["7f3b08","b35806","e08214","fdb863","fee0b6","d8daeb","b2abd2","8073ac","542788","2d004b"],11:["7f3b08","b35806","e08214","fdb863","fee0b6","f7f7f7","d8daeb","b2abd2","8073ac","542788","2d004b"]},BrBG:{type:"diverging",cbf:42,3:["d8b365","f5f5f5","5ab4ac"],4:["a6611a","dfc27d","80cdc1","018571"],5:["a6611a","dfc27d","f5f5f5","80cdc1","018571"],6:["8c510a","d8b365","f6e8c3","c7eae5","5ab4ac","01665e"],7:["8c510a","d8b365","f6e8c3","f5f5f5","c7eae5","5ab4ac","01665e"],8:["8c510a","bf812d","dfc27d","f6e8c3","c7eae5","80cdc1","35978f","01665e"],9:["8c510a","bf812d","dfc27d","f6e8c3","f5f5f5","c7eae5","80cdc1","35978f","01665e"],10:["543005","8c510a","bf812d","dfc27d","f6e8c3","c7eae5","80cdc1","35978f","01665e","003c30"],11:["543005","8c510a","bf812d","dfc27d","f6e8c3","f5f5f5","c7eae5","80cdc1","35978f","01665e","003c30"]},PRGn:{type:"diverging",cbf:42,3:["af8dc3","f7f7f7","7fbf7b"],4:["7b3294","c2a5cf","a6dba0","008837"],5:["7b3294","c2a5cf","f7f7f7","a6dba0","008837"],6:["762a83","af8dc3","e7d4e8","d9f0d3","7fbf7b","1b7837"],7:["762a83","af8dc3","e7d4e8","f7f7f7","d9f0d3","7fbf7b","1b7837"],8:["762a83","9970ab","c2a5cf","e7d4e8","d9f0d3","a6dba0","5aae61","1b7837"],9:["762a83","9970ab","c2a5cf","e7d4e8","f7f7f7","d9f0d3","a6dba0","5aae61","1b7837"],10:["40004b","762a83","9970ab","c2a5cf","e7d4e8","d9f0d3","a6dba0","5aae61","1b7837","00441b"],11:["40004b","762a83","9970ab","c2a5cf","e7d4e8","f7f7f7","d9f0d3","a6dba0","5aae61","1b7837","00441b"]},PiYG:{type:"diverging",cbf:42,3:["e9a3c9","f7f7f7","a1d76a"],4:["d01c8b","f1b6da","b8e186","4dac26"],5:["d01c8b","f1b6da","f7f7f7","b8e186","4dac26"],6:["c51b7d","e9a3c9","fde0ef","e6f5d0","a1d76a","4d9221"],7:["c51b7d","e9a3c9","fde0ef","f7f7f7","e6f5d0","a1d76a","4d9221"],8:["c51b7d","de77ae","f1b6da","fde0ef","e6f5d0","b8e186","7fbc41","4d9221"],9:["c51b7d","de77ae","f1b6da","fde0ef","f7f7f7","e6f5d0","b8e186","7fbc41","4d9221"],10:["8e0152","c51b7d","de77ae","f1b6da","fde0ef","e6f5d0","b8e186","7fbc41","4d9221","276419"],11:["8e0152","c51b7d","de77ae","f1b6da","fde0ef","f7f7f7","e6f5d0","b8e186","7fbc41","4d9221","276419"]},RdBu:{type:"diverging",cbf:42,3:["ef8a62","f7f7f7","67a9cf"],4:["ca0020","f4a582","92c5de","0571b0"],5:["ca0020","f4a582","f7f7f7","92c5de","0571b0"],6:["b2182b","ef8a62","fddbc7","d1e5f0","67a9cf","2166ac"],7:["b2182b","ef8a62","fddbc7","f7f7f7","d1e5f0","67a9cf","2166ac"],8:["b2182b","d6604d","f4a582","fddbc7","d1e5f0","92c5de","4393c3","2166ac"],9:["b2182b","d6604d","f4a582","fddbc7","f7f7f7","d1e5f0","92c5de","4393c3","2166ac"],10:["67001f","b2182b","d6604d","f4a582","fddbc7","d1e5f0","92c5de","4393c3","2166ac","053061"],11:["67001f","b2182b","d6604d","f4a582","fddbc7","f7f7f7","d1e5f0","92c5de","4393c3","2166ac","053061"]},RdGy:{type:"diverging",cbf:42,3:["ef8a62","ffffff","999999"],4:["ca0020","f4a582","bababa","404040"],5:["ca0020","f4a582","ffffff","bababa","404040"],6:["b2182b","ef8a62","fddbc7","e0e0e0","999999","4d4d4d"],7:["b2182b","ef8a62","fddbc7","ffffff","e0e0e0","999999","4d4d4d"],8:["b2182b","d6604d","f4a582","fddbc7","e0e0e0","bababa","878787","4d4d4d"],9:["b2182b","d6604d","f4a582","fddbc7","ffffff","e0e0e0","bababa","878787","4d4d4d"],10:["67001f","b2182b","d6604d","f4a582","fddbc7","e0e0e0","bababa","878787","4d4d4d","1a1a1a"],11:["67001f","b2182b","d6604d","f4a582","fddbc7","ffffff","e0e0e0","bababa","878787","4d4d4d","1a1a1a"]},RdYlBu:{type:"diverging",cbf:42,3:["fc8d59","ffffbf","91bfdb"],4:["d7191c","fdae61","abd9e9","2c7bb6"],5:["d7191c","fdae61","ffffbf","abd9e9","2c7bb6"],6:["d73027","fc8d59","fee090","e0f3f8","91bfdb","4575b4"],7:["d73027","fc8d59","fee090","ffffbf","e0f3f8","91bfdb","4575b4"],8:["d73027","f46d43","fdae61","fee090","e0f3f8","abd9e9","74add1","4575b4"],9:["d73027","f46d43","fdae61","fee090","ffffbf","e0f3f8","abd9e9","74add1","4575b4"],10:["a50026","d
49173027","f46d43","fdae61","fee090","e0f3f8","abd9e9","74add1","4575b4","313695"],11:["a50026","d73027","f46d43","fdae61","fee090","ffffbf","e0f3f8","abd9e9","74add1","4575b4","313695"]},Spectral:{type:"diverging",cbf:0,3:["fc8d59","ffffbf","99d594"],4:["d7191c","fdae61","abdda4","2b83ba"],5:["d7191c","fdae61","ffffbf","abdda4","2b83ba"],6:["d53e4f","fc8d59","fee08b","e6f598","99d594","3288bd"],7:["d53e4f","fc8d59","fee08b","ffffbf","e6f598","99d594","3288bd"],8:["d53e4f","f46d43","fdae61","fee08b","e6f598","abdda4","66c2a5","3288bd"],9:["d53e4f","f46d43","fdae61","fee08b","ffffbf","e6f598","abdda4","66c2a5","3288bd"],10:["9e0142","d53e4f","f46d43","fdae61","fee08b","e6f598","abdda4","66c2a5","3288bd","5e4fa2"],11:["9e0142","d53e4f","f46d43","fdae61","fee08b","ffffbf","e6f598","abdda4","66c2a5","3288bd","5e4fa2"]},RdYlGn:{type:"diverging",cbf:0,3:["fc8d59","ffffbf","91cf60"],4:["d7191c","fdae61","a6d96a","1a9641"],5:["d7191c","fdae61","ffffbf","a6d96a","1a9641"],6:["d73027","fc8d59","fee08b","d9ef8b","91cf60","1a9850"],7:["d73027","fc8d59","fee08b","ffffbf","d9ef8b","91cf60","1a9850"],8:["d73027","f46d43","fdae61","fee08b","d9ef8b","a6d96a","66bd63","1a9850"],9:["d73027","f46d43","fdae61","fee08b","ffffbf","d9ef8b","a6d96a","66bd63","1a9850"],10:["a50026","d
49173027","f46d43","fdae61","fee08b","d9ef8b","a6d96a","66bd63","1a9850","006837"],11:["a50026","d73027","f46d43","fdae61","fee08b","ffffbf","d9ef8b","a6d96a","66bd63","1a9850","006837"]},Accent:{type:"qualitative",cbf:0,3:["7fc97f","beaed4","fdc086"],4:["7fc97f","beaed4","fdc086","ffff99"],5:["7fc97f","beaed4","fdc086","ffff99","386cb0"],6:["7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f"],7:["7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f","bf5b17"],8:["7fc97f","beaed4","fdc086","ffff99","386cb0","f0027f","bf5b17","666666"]},Dark2:{type:"qualitative",cbf:3,3:["1b9e77","d95f02","7570b3"],4:["1b9e77","d95f02","7570b3","e7298a"],5:["1b9e77","d95f02","7570b3","e7298a","66a61e"],6:["1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02"],7:["1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02","a6761d"],8:["1b9e77","d95f02","7570b3","e7298a","66a61e","e6ab02","a6761d","666666"]},Paired:{type:"qualitative",cbf:4,3:["a6cee3","1f78b4","b2df8a"],4:["a6cee3","1f78b4","b2df8a","33a02c"],5:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99"],6:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c"],7:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f"],8:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00"],9:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6"],10:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a"],11:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a","ffff99"],12:["a6cee3","1f78b4","b2df8a","33a02c","fb9a99","e31a1c","fdbf6f","ff7f00","cab2d6","6a3d9a","ffff99","b15928"]},Pastel1:{type:"qualitative",cbf:0,3:["fbb4ae","b3cde3","ccebc5"],4:["fbb4ae","b3cde3","ccebc5","decbe4"],5:["fbb4ae","b3cde3","ccebc5","decbe4","fed9a6"],6:["fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc"],7:["fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd"],8:["fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd","fddaec"],9:["fbb4ae","b3cde3","ccebc5","decbe4","fed9a6","ffffcc","e5d8bd","fddaec","f2f2f2"]},Pastel2:{type:"qualitative",cbf:0,3:["b3e2cd","fdcdac","cbd5e8"],4:["b3e2cd","fdcdac","cbd5e8","f4cae4"],5:["b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9"],6:["b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae"],7:["b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae","f1e2cc"],8:["b3e2cd","fdcdac","cbd5e8","f4cae4","e6f5c9","fff2ae","f1e2cc","cccccc"]},Set1:{type:"qualitative",cbf:0,3:["e41a1c","377eb8","4daf4a"],4:["e41a1c","377eb8","4daf4a","984ea3"],5:["e41a1c","377eb8","4daf4a","984ea3","ff7f00"],6:["e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33"],7:["e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628"],8:["e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628","f781bf"],9:["e41a1c","377eb8","4daf4a","984ea3","ff7f00","ffff33","a65628","f781bf","999999"]},Set2:{type:"qualitative",cbf:3,3:["66c2a5","fc8d62","8da0cb"],4:["66c2a5","fc8d62","8da0cb","e78ac3"],5:["66c2a5","fc8d62","8da0cb","e78ac3","a6d854"],6:["66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f"],7:["66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f","e5c494"],8:["66c2a5","fc8d62","8da0cb","e78ac3","a6d854","ffd92f","e5c494","b3b3b3"]},Set3:{type:"qualitative",cbf:0,3:["8dd3c7","ffffb3","bebada"],4:["8dd3c7","ffffb3","bebada","fb8072"],5:["8dd3c7","ffffb3","bebada","fb8072","80b1d3"],6:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462"],7:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69"],8:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5"],9:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9"],10:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd"],11:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd","ccebc5"],12:["8dd3c7","ffffb3","bebada","fb8072","80b1d3","fdb462","b3de69","fccde5","d9d9d9","bc80bd","ccebc5","ffed6f"]},Custom1:{type:"qualitative",cbf:0,1:["190144"],2:["42d4f4","f032e6"],3:["f96a00","ffa866","ffd4b3"],5:["ffcd22","911db4","373737","ff0058","469990"],6:["190144","6E0453","B23153","E26D4C","FAB14D"],7:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4"],8:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990"],9:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff"],10:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324"],11:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8"],12:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000"],18:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9"],20:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","000000","f032e6","ffd7b1","e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","000000","f032e6","ffd7b1"],50:["e6194b","3cb44b","ffcd22","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","000000","f032e6","ffd7b1"]},Custom2:{type:"qualitative",cbf:0,1:["190144"],2:["190144","6E0453"],3:["190144","6E0453","B23153"],5:["190144","6E0453","B23153","E26D4C"],6:["190144","6E0453","B23153","E26D4C","FAB14D"],7:["190144","6E0453","B23153","E26D4C","FAB14D","00829B"],8:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","469990"],9:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498"],
49110:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324"],11:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1"],12:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324","fffac8","800000"],50:["190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324","fffac8","800000","523277","8D1A65","B72A5B","D33B52","F04C49","006687","507A85","A09F82","F1B56F","F7955A","FD955D","F0896F","E67D82","DA7194","D065A7","C45AB9","BE4ECB","BA43DD","B538EF","B02DF1","9939D2","8A45B3","7C5194","6D5D75","5E6966","4F7567","407177","318D88","229999","13A5AA","04B0BB","00A2AB","009293","00807B","006F64","005D4D","004B36","003A1F","002808","000000","29052D","520A5A","7B0F81","A415A8","CD1ACF","E324E5","F03CF0","F754FB","F96DFB","FB87FC","FDA0FC","FEB9FD","FED2FD","FEECFE","FFFFFF"],20:["e6194b","3cb44b","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1"],18:["e6194b","3cb44b","4364d8","f58230","911db4","42d4f4","469990","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1","190144","6E0453","B23153","E26D4C","FAB14D","00829B","D1544F","00B498","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1"]},Custom3:{type:"qualitative",cbf:0,1:["9C97E9"],2:["9C97E9","4296E8"],3:["9C97E9","4296E8","008184"],5:["9C97E9","4296E8","008184","EC817D"],6:["9C97E9","4296E8","008184","EC817D","518071"],7:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF"],8:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D"],9:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498"],10:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498","9a6324"],11:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1"],12:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498","9a6324","fffac8","800000","ffd7b1"],18:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498","9a6324","523277","8D1A65","B72A5B","D33B52","F04C49","006687","507A85","A09F82","F1B56F","F7955A","FD955D","F0896F","E67D82","DA7194","D065A7","C45AB9","BE4ECB","BA43DD","B538EF","B02DF1","9939D2","8A45B3","7C5194","6D5D75","5E6966","4F7567","407177","318D88","229999","13A5AA","04B0BB","00A2AB","009293","00807B","006F64","005D4D","004B36","003A1F","002808","000000","29052D","520A5A","7B0F81","A415A8","CD1ACF","E324E5","F03CF0","F754FB","F96DFB","FB87FC","FDA0FC","FEB9FD","FED2FD","FEECFE","FFFFFF"],20:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","e6bdff","9a6324","fffac8","800000","aaffc3","808001","bfef45","000075","fabebe","a9a9a9","f032e6","ffd7b1","ffd7b3"],50:["9C97E9","4296E8","008184","EC817D","518071","FEFEDF","00734D","00B498","9a6324","523277","8D1A65","B72A5B","D33B52","F04C49","006687","507A85","A09F82","F1B56F","F7955A","FD955D","F0896F","E67D82","DA7194","D065A7","C45AB9","BE4ECB","BA43DD","B538EF","B02DF1","9939D2","8A45B3","7C5194","6D5D75","5E6966","4F7567","407177","318D88","229999","13A5AA","04B0BB","00A2AB","009293","00807B","006F64","005D4D","004B36","003A1F","002808","000000","29052D","520A5A","7B0F81","A415A8","CD1ACF","E324E5","F03CF0","F754FB","F96DFB","FB87FC","FDA0FC","FEB9FD","FED2FD","FEECFE","FFFFFF"]},BasePalette:{type:"qualitative",cbf:0,1:["024BA3"],2:["024BA3","E24577"],3:["024BA3","E24577","F58834"],5:["024BA3","0068BE","0082CB","019AC9","02B1BC"],6:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4"],7:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B"],8:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770"],9:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94"],10:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577"],11:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577","F56155"],12:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577","F56155","F58834"],18:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834"],20:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4"],50:["024BA3","0068BE","0082CB","019AC9","02B1BC","00C6A4","00D88B","8AE770","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4"]},BasePalette2:{type:"qualitative",cbf:0,1:["F3457E"],2:["024BA3","7B47A4"],3:["024BA3","7B47A4","B93F94"],5:["024BA3","7B47A4","B93F94","E24577","F56155"],6:["024BA3","7B47A4","B93F94","E24577","F56155","F58834"],7:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3"],8:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4"],9:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94"],10:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577"],11:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155"],12:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834"],18:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834"],20:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4"],50:["024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4","B93F94","E24577","F56155","F58834","024BA3","7B47A4"]}};for(var t in e){var n=e[t];n=$t.Scheme.fromPalettes("cb-"+t,[n.type,"cb-"+n.type],n,20,n.cbf),$t.register(n)}})();typeof module=="object"&&module.exports&&(module.exports=$t);Vi.register(ma,nc,wa,ya);const ePe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),i=qe(Jt);k.useEffect(()=>{r({responsive:!0,options:{responsive:!0,maintainAspectRatio:!0,scales:{yAxes:[{ticks:{beginAtZero:!0}}],xAxes:[{ticks:{beginAtZero:!0}}]}}
491,legend:{display:!0,position:"bottom",labels:{boxWidth:10}}})},[]);let a=(s=>{let l=[],u=[],f=[],d=[];return f.push($t(i?"cb-Custom2":"cb-Custom3",s.length).map(function(g){return"#"+g})),d.push($t(i?"cb-Custom2":"cb-Custom3",s.length).map(function(g){return"#"+g})),wt.forEach(s,function(g,m){for(var v=g.plots,y=0;y<v.length;y++)u.push({label:g.headerName,fill:!1,lineTension:.1,backgroundColor:f[0][m],borderColor:f[0][m],borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderWidth:1,pointHoverRadius:5,pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[{x:v[y].xAxis,y:v[y].yAxis,r:v[y].zAxis}]})}),l.push({labels:["Data"],datasets:u}),l[0]})(e);return a?w.jsx("div",{className:"col-md-12 col-lg-12",children:w.jsx(ZRe,{data:a,options:n})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})},tPe="_chart_renderer_1rm3s_4",nPe="_custom_progress_one_1rm3s_10",rPe="_custom_progress_bar_one_1rm3s_16",iPe="_metric_title_1rm3s_20",oPe="_large_number_1rm3s_24",aPe="_blinking_div_1rm3s_35",sPe="_blink_1rm3s_35",bi={"material-icons":"_material-icons_1rm3s_1","material-symbols":"_material-symbols_1rm3s_1","material-icons-round":"_material-icons-round_1rm3s_1",chart_renderer:tPe,custom_progress_one:nPe,custom_progress_bar_one:rPe,metric_title:iPe,large_number:oPe,blinking_div:aPe,blink:sPe},lPe="_labels_b64v3_1",APe="_test_b64v3_5",uPe="_doughnut_label_b64v3_11",cPe="_doughnut_label_light_b64v3_21",fPe={labels:lPe,test:APe,doughnut_label:uPe,doughnut_label_light:cPe};Vi.register(kf,wa,ya);const dPe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(),[a,s]=k.useState(),l=qe(Jt),[u,f]=k.useState(!0),[d,g]=k.useState(),[m,v]=k.useState(window.matchMedia("(max-width:768px)").matches);k.useEffect(()=>{window.matchMedia("(max-width:768px)").addEventListener("change",I=>v(I.matches))},[]),k.useEffect(()=>{let I,U={options:{responsive:!0,maintainAspectRatio:!1,animation:!1,scales:{yAxes:[{ticks:{beginAtZero:!0}}]}},animation:{onComplete:()=>{I=!0},delay:H=>{let V=0;return(H.type==="data"&&H.mode==="default"||H.type==="resize"&&!I)&&(V=H.dataIndex*100+H.datasetIndex*10),V}},plugins:{title:{display:!1,text:"Total:"+d,position:"top",font:{size:16,weight:"bold"},boxWidth:24,padding:{top:10,bottom:30},color:l?"#676767":"#ffffff"},legend:{position:"bottom",display:u&&!m,labels:{boxWidth:24,padding:16,usePointStyle:!0,pointStyle:"rectRounded",pointStyleWidth:32,useBorderRadius:!0,borderRadius:12,color:l?"#676767":"#ffffff",font:{size:14,weight:"bold"}},onHover:y,onLeave:x,align:"center"},datalabels:{display:!1}}};r(U)},[e,l,u,d,m]);function y(I,U,H){I.native.target.style.cursor="pointer"}function x(I,U,H){U.lineWidth=0}const C=I=>{if(I){var U={labels:[],datasets:[]};return wt.map(I,function(H,V){var j={label:"",data:[],dataSymbol:[],backgroundColor:[],borderColor:[],borderWidth:1,hoverOffset:6};const z=$t(l?"cb-Custom2":"cb-Custom3",H.plots.length);let q=z!=null?z.map(function(ee){return"#"+ee}):$t(l?"cb-Custom2":"cb-Custom3",50).map(function(ee){return"#"+ee});for(var Z=H.plots,ae=[],G=0;G<Z.length;G++)ae.push(Z[G].name),j.data.push(Z[G].value),j.dataSymbol.push([Z[G].symbol,"Unit"]),j.backgroundColor.push(Z[G].color||q[G]),j.borderColor.push(Z[G].color||"#AAA");U.labels=ae,U.datasets.push(j)}),U.labels.length>5&&f(!1),U}};k.useEffect(()=>{let I=C(e),U=b(e);o(I),s(U);const H=E(U);g(H)},[e,l]);const b=I=>{if(I){var U=[];return I.forEach((H,V)=>{let j=[];j.push({headerName:H.headerName,headerValue:H.headerValue}),U.push(j)}),U}},E=I=>{var U=0;return I.map(H=>{U+=H[0].headerValue}),U};k.useEffect(()=>{},[d,l]);const T=I=>{I.width,I.height;let U=I.ctx;U.restore();const H=document.createElement("div");H.id="overlayDiv",H.innerText=d,H.style.fontSize="1.4rem",H.style.fontWeight="500",H.style.position="absolute",H.style.width="80px",H.style.height="80px",H.style.textAlign="center",H.style.margin="auto",H.style.left="50%",H.style.top=u?"45%":"50%",H.style.transform="translate(-50%, -50%)",H.style.color="black",H.style.backgroundColor="white",H.style.borderRadius="3rem",H.style.padding="24px 8px",I.canvas.parentNode.appendChild(H
vendor: 5,121 bytes, lines 491-497
491),U.save()},D={id:"doughnutLabel",beforeDatasetsDraw(I,U,H){const{ctx:V,data:j}=I,z=I.width/2,q=I.height/2,Z=d.toString();V.font="bold 30px sans-serif",V.fillStyle="rgba(54, 162, 235, 1)";const ae=V.measureText(Z).width,G=parseInt(V.font),ee=30;V.fillStyle=l?"#000000":"rgba(255, 255, 255, 1)",V.fillRect(z-ae/2-ee,q-G/2-ee,ae+2*ee,G+2*ee),V.textAlign="center",V.textBaseline="middle",V.fillText(d,z,q)}};return i&&d?w.jsx("div",{className:"custom-chart-size d-flex justify-content-center position-relative",children:w.jsx(qRe,{data:i,options:n,className:fPe.test,plugins:[D]})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};/*! 492 * chartjs-plugin-datalabels v2.2.0 493 * https://chartjs-plugin-datalabels.netlify.app 494 * (c) 2017-2022 chartjs-plugin-datalabels contributors 495 * Released under the MIT license 496 */var IH=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),km={toTextLines:function(e){var t=[],n;for(e=[].concat(e);e.length;)n=e.pop(),typeof n=="string"?t.unshift.apply(t,n.split(` 497`)):Array.isArray(n)?e.push.apply(e,n):Sn(e)||t.unshift(""+n);return t},textSize:function(e,t,n){var r=[].concat(t),i=r.length,o=e.font,a=0,s;for(e.font=n.string,s=0;s<i;++s)a=Math.max(e.measureText(r[s]).width,a);return e.font=o,{height:i*n.lineHeight,width:a}},bound:function(e,t,n){return Math.max(e,Math.min(t,n))},arrayDiff:function(e,t){var n=e.slice(),r=[],i,o,a,s;for(i=0,a=t.length;i<a;++i)s=t[i],o=n.indexOf(s),o===-1?r.push([s,1]):n.splice(o,1);for(i=0,a=n.length;i<a;++i)r.push([n[i],-1]);return r},rasterize:function(e){return Math.round(e*IH)/IH}};function aS(e,t){var n=t.x,r=t.y;if(n===null)return{x:0,y:-1};if(r===null)return{x:1,y:0};var i=e.x-n,o=e.y-r,a=Math.sqrt(i*i+o*o);return{x:a?i/a:0,y:a?o/a:-1}}function hPe(e,t,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i);break}return{x:e,y:t,vx:n,vy:r}}var pPe=0,AV=1,uV=2,cV=4,fV=8;function Gy(e,t,n){var r=pPe;return e<n.left?r|=AV:e>n.right&&(r|=uV),t<n.top?r|=fV:t>n.bottom&&(r|=cV),r}function gPe(e,t){for(var n=e.x0,r=e.y0,i=e.x1,o=e.y1,a=Gy(n,r,t),s=Gy(i,o,t),l,u,f;!(!(a|s)||a&s);)l=a||s,l&fV?(u=n+(i-n)*(t.top-r)/(o-r),f=t.top):l&cV?(u=n+(i-n)*(t.bottom-r)/(o-r),f=t.bottom):l&uV?(f=r+(o-r)*(t.right-n)/(i-n),u=t.right):l&AV&&(f=r+(o-r)*(t.left-n)/(i-n),u=t.left),l===a?(n=u,r=f,a=Gy(n,r,t)):(i=u,o=f,s=Gy(i,o,t));return{x0:n,x1:i,y0:r,y1:o}}function Yy(e,t){var n=t.anchor,r=e,i,o;return t.clamp&&(r=gPe(r,t.area)),n==="start"?(i=r.x0,o=r.y0):n==="end"?(i=r.x1,o=r.y1):(i=(r.x0+r.x1)/2,o=(r.y0+r.y1)/2),hPe(i,o,e.vx,e.vy,t.align)}var qy={arc:function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=e.innerRadius,a=e.outerRadius;return Yy({x0:e.x+r*o,y0:e.y+i*o,x1:e.x+r*a,y1:e.y+i*a,vx:r,vy:i},t)},point:function(e,t){var n=aS(e,t.origin),r=n.x*e.options.radius,i=n.y*e.options.radius;return Yy({x0:e.x-r,y0:e.y-i,x1:e.x+r,y1:e.y+i,vx:n.x,vy:n.y},t)},bar:function(e,t){var n=aS(e,t.origin),r=e.x,i=e.y,o=0,a=0;return e.horizontal?(r=Math.min(e.x,e.base),o=Math.abs(e.base-e.x)):(i=Math.min(e.y,e.base),a=Math.abs(e.base-e.y)),Yy({x0:r,y0:i+a,x1:r+o,y1:i,vx:n.x,vy:n.y},t)},fallback:function(e,t){var n=aS(e,t.origin);return Yy({x0:e.x,y0:e.y,x1:e.x+(e.width||0),y1:e.y+(e.height||0),vx:n.x,vy:n.y},t)}},xA=km.rasterize;function mPe(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,i=e.size.width,o=-i/2,a=-r/2;return{frame:{x:o-n.left-t,y:a-n.top-t,w:i+n.width+t*2,h:r+n.height+t*2},text:{x:o,y:a,w:i,h:r}}}function vPe(e,t){var n=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!n)return null;if(n.xCenter!==void 0&&n.yCenter!==void 0)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return e.horizontal?{x:r,y:null}:{x:null,y:r}}function _Pe(e){return e instanceof kf?qy.arc:e instanceof nc?qy.point:e instanceof Ls?qy.bar:qy.fallback}function yPe(e,t,n,r,i,o){var a=Math.PI/2;if(o){var s=Math.min(o,i/2,r/2),l=t+s,u=n+s,f=t+r-s,d=n+i-s;e.moveTo(t,u),l<f&&u<d?(e.arc(l,u,s,-Math.PI,-a),e.arc(f,u,s,-a,0),e.arc(f,d,s,0,a),e.arc(l,d,s,a,Math.PI)):l<f?(e.moveTo(l,n),e.arc(f,u,s,-a,a),e.arc(l,u,s,a,Math.PI+a)):u<d?(e.arc(l,u,s,-Math.PI,0),e.arc(l,d,s,0,Math.PI)):e.arc(l,u,s,-Math.PI,Math.PI),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)}function wPe(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;!r&&(!i||!o)||(e.beginPath(),yPe(e,xA(t.x)+o/2,xA(t.y)+o/2,xA(t.w)-o,xA(t.h)-o,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),i&&o&&(e.strokeStyle=i,e.lineWidth=o,e.lineJoin="miter",e.stroke()))}
vendor: 6,811 bytes, line 497
497function bPe(e,t,n){var r=n.lineHeight,i=e.w,o=e.x,a=e.y+r/2;return t==="center"?o+=i/2:(t==="end"||t==="right")&&(o+=i),{h:r,w:i,x:o,y:a}}function BPe(e,t,n){var r=e.shadowBlur,i=n.stroked,o=xA(n.x),a=xA(n.y),s=xA(n.w);i&&e.strokeText(t,o,a,s),n.filled&&(r&&i&&(e.shadowBlur=0),e.fillText(t,o,a,s),r&&i&&(e.shadowBlur=r))}function CPe(e,t,n,r){var i=r.textAlign,o=r.color,a=!!o,s=r.font,l=t.length,u=r.textStrokeColor,f=r.textStrokeWidth,d=u&&f,g;if(!(!l||!a&&!d))for(n=bPe(n,i,s),e.font=s.string,e.textAlign=i,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,a&&(e.fillStyle=o),d&&(e.lineJoin="round",e.lineWidth=f,e.strokeStyle=u),g=0,l=t.length;g<l;++g)BPe(e,t[g],{stroked:d,filled:a,w:n.w,x:n.x,y:n.y+n.h*g})}var dV=function(e,t,n,r){var i=this;i._config=e,i._index=r,i._model=null,i._rects=null,i._ctx=t,i._el=n};Cl(dV.prototype,{_modelize:function(e,t,n,r){var i=this,o=i._index,a=Si(pr([n.font,{}],r,o)),s=pr([n.color,Tr.color],r,o);return{align:pr([n.align,"center"],r,o),anchor:pr([n.anchor,"center"],r,o),area:r.chart.chartArea,backgroundColor:pr([n.backgroundColor,null],r,o),borderColor:pr([n.borderColor,null],r,o),borderRadius:pr([n.borderRadius,0],r,o),borderWidth:pr([n.borderWidth,0],r,o),clamp:pr([n.clamp,!1],r,o),clip:pr([n.clip,!1],r,o),color:s,display:e,font:a,lines:t,offset:pr([n.offset,4],r,o),opacity:pr([n.opacity,1],r,o),origin:vPe(i._el,r),padding:ga(pr([n.padding,4],r,o)),positioner:_Pe(i._el),rotation:pr([n.rotation,0],r,o)*(Math.PI/180),size:km.textSize(i._ctx,t,a),textAlign:pr([n.textAlign,"start"],r,o),textShadowBlur:pr([n.textShadowBlur,0],r,o),textShadowColor:pr([n.textShadowColor,s],r,o),textStrokeColor:pr([n.textStrokeColor,s],r,o),textStrokeWidth:pr([n.textStrokeWidth,0],r,o)}},update:function(e){var t=this,n=null,r=null,i=t._index,o=t._config,a,s,l,u=pr([o.display,!0],e,i);u&&(a=e.dataset.data[i],s=Gt(qn(o.formatter,[a,e]),a),l=Sn(s)?[]:km.toTextLines(s),l.length&&(n=t._modelize(u,l,o,e),r=mPe(n))),t._model=n,t._rects=r},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,t){var n=this,r=e.ctx,i=n._model,o=n._rects,a;this.visible()&&(r.save(),i.clip&&(a=i.area,r.beginPath(),r.rect(a.left,a.top,a.right-a.left,a.bottom-a.top),r.clip()),r.globalAlpha=km.bound(0,i.opacity,1),r.translate(xA(t.x),xA(t.y)),r.rotate(i.rotation),wPe(r,o.frame,i),CPe(r,i.lines,o.text,i),r.restore())}});var xPe=Number.MIN_SAFE_INTEGER||-9007199254740991,EPe=Number.MAX_SAFE_INTEGER||9007199254740991;function Tg(e,t,n){var r=Math.cos(n),i=Math.sin(n),o=t.x,a=t.y;return{x:o+r*(e.x-o)-i*(e.y-a),y:a+i*(e.x-o)+r*(e.y-a)}}function LH(e,t){var n=EPe,r=xPe,i=t.origin,o,a,s,l,u;for(o=0;o<e.length;++o)a=e[o],s=a.x-i.x,l=a.y-i.y,u=t.vx*s+t.vy*l,n=Math.min(n,u),r=Math.max(r,u);return{min:n,max:r}}function Zy(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);return{vx:(t.x-e.x)/i,vy:(t.y-e.y)/i,origin:e,ln:i}}var hV=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};Cl(hV.prototype,{center:function(){var e=this._rect;return{x:e.x+e.w/2,y:e.y+e.h/2}},update:function(e,t,n){this._rotation=n,this._rect={x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},contains:function(e){var t=this,n=1,r=t._rect;return e=Tg(e,t.center(),-t._rotation),!(e.x<r.x-n||e.y<r.y-n||e.x>r.x+r.w+n*2||e.y>r.y+r.h+n*2)},intersects:function(e){var t=this._points(),n=e._points(),r=[Zy(t[0],t[1]),Zy(t[0],t[3])],i,o,a;for(this._rotation!==e._rotation&&r.push(Zy(n[0],n[1]),Zy(n[0],n[3])),i=0;i<r.length;++i)if(o=LH(t,r[i]),a=LH(n,r[i]),o.max<a.min||a.max<o.min)return!1;return!0},_points:function(){var e=this,t=e._rect,n=e._rotation,r=e.center();return[Tg({x:t.x,y:t.y},r,n),Tg({x:t.x+t.w,y:t.y},r,n),Tg({x:t.x+t.w,y:t.y+t.h},r,n),Tg({x:t.x,y:t.y+t.h},r,n)]}});function pV(e,t,n){var r=t.positioner(e,t),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var a=n.w,s=n.h,l=t.rotation,u=Math.abs(a/2*Math.cos(l))+Math.abs(s/2*Math.sin(l)),f=Math.abs(a/2*Math.sin(l))+Math.abs(s/2*Math.cos(l)),d=1/Math.max(Math.abs(i),Math.abs(o));return u*=i*d,f*=o*d,u+=t.offset*i,f+=t.offset*o,{x:r.x+u,y:r.y+f}}function SPe(e,t){var n,r,i,o;for(n=e.length-1;n>=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)o=e[r].$layout,o._visible&&i._box.intersects(o._box)&&t(i,o);return e}function FPe(e){var t,n,r,i,o,a,s;for(t=0,n=e.length;t<n;++t)r=e[t],i=r.$layout,i._visible&&(s=new Proxy(r._el,{get:(l,u)=>l.getProps([u],!0)[u]}),o=r.geometry(),a=pV(s,r.model(),o),i._box.update(a,o,r.rotation()));return SPe(e,function(l,u){var f=l._hidable,d=u._hidable;f&&d||d?u._visible=!1:f&&(l._visible=!1)})}var Im={prepare:function(e){var t=[],n,r,i,o,a;for(n=0,i=e.length;n<i;++n)for(r=0,o=e[n].length;r<o;++r)a=e[n][r],t.push(a),a.$layout={_box:new hV,_hidable:!1,_visible:!0,_set:n,_idx:a._index};return t.sort(function(s,l){var u=s.$layout,f=l.$layout;return u._idx===f._idx?f._set-u._set:f._idx-u._idx}),this.update(t),t},update:function(e){var t=!1,n,r,i,o,a;for(n=0,r=e.length;n<r;++n)i=e[n],o=i.model(),a=i.$layout,a._hidable=o&&o.display==="auto",a._visible=i.visible(),t|=a._hidable;t&&FPe(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if(r=e[n].$layout,r&&r._visible&&r._box.contains(t))return e[n];return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)i=t[n],o=i.$layout,o._visible&&(a=i.geometry(),s=pV(i._el,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},TPe=function(e){if(Sn(e))return null;var t=e,n,r,i;if(cn(e))if(!Sn(e.label))t=e.label;else if(!Sn(e.r))t=e.r;else for(t="",n=Object.keys(e),i=0,r=n.length;i<r;++i)t+=(i!==0?", ":"")+n[i]+": "+e[n[i]];return""+t},OPe={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:TPe,labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},Fo="$datalabels",gV="$default";function kPe(e,t){var n=e.datalabels,r={},i=[],o,a;return n===!1?null:(n===!0&&(n={}),t=Cl({},[t,n]),o=t.labels||{},a=Object.keys(o),delete t.labels,a.length?a.forEach(function(s){o[s]&&i.push(Cl({},[t,o[s],{_key:s}]))}):i.push(t),r=i.reduce(function(s,l){return Pn(l.listeners||{},function(u,f){s[f]=s[f]||{},s[f][l._key||gV]=u}),delete l.listeners,s},{}),{labels:i,listeners:r})}function ZO(e,t,n,r){if(t){var i=n.$context,o=n.$groups,a;t[o._set]&&(a=t[o._set][o._key],a&&qn(a,[i,r])===!0&&(e[Fo]._dirty=!0,n.update(i)))}}function IPe(e,t,n,r,i){var o,a;!n&&!r||(n?r?n!==r&&(a=o=!0):a=!0:o=!0,a&&ZO(e,t.leave,n,i),o&&ZO(e,t.enter,r,i
497))}function LPe(e,t){var n=e[Fo],r=n._listeners,i,o;if(!(!r.enter&&!r.leave)){if(t.type==="mousemove")o=Im.lookup(n._labels,t);else if(t.type!=="mouseout")return;i=n._hovered,n._hovered=o,IPe(e,r,i,o,t)}}function DPe(e,t){var n=e[Fo],r=n._listeners.click,i=r&&Im.lookup(n._labels,t);i&&ZO(e,r,i,t)}var mV={id:"datalabels",defaults:OPe,beforeInit:function(e){e[Fo]={_actives:[]}},beforeUpdate:function(e){var t=e[Fo];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r=t.index,i=e[Fo],o=i._datasets[r]=[],a=e.isDatasetVisible(r),s=e.data.datasets[r],l=kPe(s,n),u=t.meta.data||[],f=e.ctx,d,g,m,v,y,x,C,b;for(f.save(),d=0,m=u.length;d<m;++d)if(C=u[d],C[Fo]=[],a&&C&&e.getDataVisibility(d)&&!C.skip)for(g=0,v=l.labels.length;g<v;++g)y=l.labels[g],x=y._key,b=new dV(y,f,C,d),b.$groups={_set:r,_key:x||gV},b.$context={active:!1,chart:e,dataIndex:d,dataset:s,datasetIndex:r},b.update(b.$context),C[Fo].push(b),o.push(b);f.restore(),Cl(i._listeners,l.listeners,{merger:function(E,T,D){T[E]=T[E]||{},T[E][t.index]=D[E],i._listened=!0}})},afterUpdate:function(e){e[Fo]._labels=Im.prepare(e[Fo]._datasets)},afterDatasetsDraw:function(e){Im.draw(e,e[Fo]._labels)},beforeEvent:function(e,t){if(e[Fo]._listened){var n=t.event;switch(n.type){case"mousemove":case"mouseout":LPe(e,n);break;case"click":DPe(e,n);break}}},afterEvent:function(e){var t=e[Fo],n=t._actives,r=t._actives=e.getActiveElements(),i=km.arrayDiff(n,r),o,a,s,l,u,f,d;for(o=0,a=i.length;o<a;++o)if(u=i[o],u[1])for(d=u[0].element[Fo]||[],s=0,l=d.length;s<l;++s)f=d[s],f.$context.active=u[1]===1,f.update(f.$context);(t._dirty||i.length)&&(Im.update(t._labels),e.render()),delete t._dirty}};function xc(e,t,n,r=!1){var i=["Unit","Lac","Cr"];const o=new Intl.NumberFormat("en-IN",{useGrouping:!0,currency:"INR"});switch(t){case"amount":case"Amount":switch(n){case i[0]:if(e<=9999999)return`${o.format(e||0)}`;if(r){let f=o.format(e.toFixed(2)||0).replace("â¹Â ","");var a=f.substring(f.length-12,f.length),s=f.substring(0,f.length-12).replace(",","");return((s?s+",":"")+a).replace(",,",",")}else return e;default:return parseFloat(`${o.format(e||0)}`)}case"number":case"Number":return r?new Intl.NumberFormat("en-IN").format(Math.round(e)):parseInt(e);case"percentage":case"Percentage":return`${new Intl.NumberFormat("en-IN",{maximumSignificantDigits:3}).format(e)} %`;case"text":case"Text":return e;default:return e}}const RPe="_chart_container_1xuqu_1",PPe="_custom_div_1xuqu_5",UPe={chart_container:RPe,custom_div:PPe};Vi.register(Ps,ma,Ls,$A,wa,ya,mV);const NPe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),a=qe(Jt);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",d=>o(d.matches))},[]),k.useEffect(()=>{r({indexAxis:"y",scales:{x:{display:!0,offset:!0,grid:{display:!1}},y:{grid:{display:!1}}},plugins:{legend:{display:!1},tooltip:{enabled:!0,callbacks:{label:function(g){const m=g.raw[1]-g.raw[0];return`${g.label} : ${m}`}}},datalabels:{display:!0,align:"end",anchor:"end",font:{size:12},color:"black",formatter:function(g,m){return`${g[1]-g[0]}`}}},responsive:!0,maintainAspectRatio:!1})},[]),k.useEffect(()=>{f()},[]);let l=(d=>{if(d){var g={labels:[],datasets:[]};let m=$t(a?"cb-Custom2":"cb-Custom3",d.length).map(function(v){return"#"+v});return d.forEach((v,y)=>{let x={label:"",borderColor:v.colorPaletteCode?v.colorPaletteCode:m[y],backgroundColor:v.colorPaletteCode?v.colorPaletteCode:m[y],fill:!1},C=[],b=[],E="";x.label=v.headerName;let T=wt.chain(v.plots).flatMap("value").value();const D=Math.max(...T);v.plots.forEach((I,U)=>{E=xc(I.value,I.symbol,"Unit"),E=typeof E=="string"?parseFloat(E.replace(/,/g,"")):E;let H=(D-I.value)/2,V=[H.toFixed(2),(I.value+H).toFixed(2)];C.push(V),b.push(I.name)}),x.data=C,g.labels=b,g.datasets.push(x)}),g}})(e);const u=[{label:"Value 1",value:25},{label:"Value 2",value:50}],f=()=>{const d=document.querySelector(".chart-container");d&&d.querySelectorAll(".custom-div").forEach((y,x)=>{const C=x*400,b=d.clientHeight-u[x].value-100,E=y;E.style.left=`${C}px`,E.style.top=`${b}px`})};return l?w.jsx("div",{className:`${UPe.chart_container}
497 chart-container d-flex`,children:w.jsx(Xv,{className:"",data:l,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(Ps,ma,Ls,$A,wa,ya);const MPe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",b=>o(b.matches))},[]);const a=qe(Jt),s=k.useRef(),[l,u]=k.useState(0),[f,d]=k.useState(4);k.useEffect(()=>{r({indexAxis:"y",scales:{y:{min:l,max:f,grid:{display:!0}},x:{grid:{display:!1}}},responsive:!0,options:{responsive:!0,maintainAspectRatio:!0,animation:!1},plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}}},datalabels:{display:!1,align:"start",anchor:"center",font:{size:12,weight:"bold"},color:"white",formatter:function(E,T){return E[1]-E[0],`${Math.round(E)}`}}}})},[l]),k.useEffect(()=>{const b=s.current.canvas;return b.addEventListener("wheel",E=>{g(E,s.current)}),()=>{b.removeEventListener("wheel",g)}},[]);const g=(b,E)=>{b.preventDefault();const T=b.deltaY,D=E.data.labels.length;T>0?E.config.options.scales.y.max>=D?(E.config.options.scales.y.min=D-4,E.config.options.scales.y.max=D):(E.config.options.scales.y.min+=1,E.config.options.scales.y.max+=1):T<0&&(E.config.options.scales.y.min<=0?(E.config.options.scales.y.min=0,E.config.options.scales.y.max=4):(E.config.options.scales.y.min-=1,E.config.options.scales.y.max-=1)),E.update()},m=()=>{console.log("clicked");const b=s.current,E=b.data.labels.length;b.config.options.scales.y.max>=E-5?(u(E-5),d(E)):(u(b.config.options.scales.y.min+5),d(b.config.options.scales.y.max+5))},v=()=>{const b=s.current;console.log(b.config.options.scales.y.max),console.log(b.config.options.scales.y.min),b.config.options.scales.y.max<=6?(u(0),d(4)):(d(l-1),u(b.config.options.scales.y.min-5))},y=b=>{if(b){var E={labels:[],datasets:[]};let T=$t(a?"cb-Custom2":"cb-Custom3",b.length).map(function(D){return"#"+D});return b.forEach((D,I)=>{let U={label:"",borderColor:D.colorPaletteCode?D.colorPaletteCode:T[I],backgroundColor:D.colorPaletteCode?D.colorPaletteCode:T[I],fill:!1},H=[],V=[],j="";U.label=D.headerName,D.plots.forEach((z,q)=>{j=xc(z.value,z.symbol,"Unit"),j=typeof j=="string"?parseFloat(j.replace(/,/g,"")):j,H.push(z.value&&z.value.toFixed(2)),V.push(z.name)}),U.data=H,E.labels=V,E.datasets.push(U)}),E}};(b=>{if(b){var E=[];return b.forEach((T,D)=>{let I=[];I.push({headerName:T.headerName,headerValue:T.headerValue}),E.push(I)}),E}})(e);let C=y(e);return C?w.jsxs("div",{className:"",children:[w.jsx("div",{className:"row mb-2 gap-2 ps-2",children:w.jsx("div",{className:"p-0",children:w.jsxs("div",{className:"d-flex float-end ",children:[w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 me-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>v(),children:"chevron_left"}),w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>m(),children:"chevron_right"})]})})}),w.jsx(Xv,{ref:s,data:C,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};var XO={exports:{}};/* @preserve 498 * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com 499 * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade 500 */(function(e,t){(function(n,r){r(t)})(ro,function(n){var r="1.9.4";function i(A){var h,_,F,R;for(_=1,F=arguments.length;_<F;_++){R=arguments[_];for(h in R)A[h]=R[h]}return A}var o=Object.create||function(){function A(){}return function(h){return A.prototype=h,new A}}();function a(A,h){var _=Array.prototype.slice;
500if(A.bind)return A.bind.apply(A,_.call(arguments,1));var F=_.call(arguments,2);return function(){return A.apply(h,F.length?F.concat(_.call(arguments)):arguments)}}var s=0;function l(A){return"_leaflet_id"in A||(A._leaflet_id=++s),A._leaflet_id}function u(A,h,_){var F,R,$,le;return le=function(){F=!1,R&&($.apply(_,R),R=!1)},$=function(){F?R=arguments:(A.apply(_,arguments),setTimeout(le,h),F=!0)},$}function f(A,h,_){var F=h[1],R=h[0],$=F-R;return A===F&&_?A:((A-R)%$+$)%$+R}function d(){return!1}function g(A,h){if(h===!1)return A;var _=Math.pow(10,h===void 0?6:h);return Math.round(A*_)/_}function m(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}function v(A){return m(A).split(/\s+/)}function y(A,h){Object.prototype.hasOwnProperty.call(A,"options")||(A.options=A.options?o(A.options):{});for(var _ in h)A.options[_]=h[_];return A.options}function x(A,h,_){var F=[];for(var R in A)F.push(encodeURIComponent(_?R.toUpperCase():R)+"="+encodeURIComponent(A[R]));return(!h||h.indexOf("?")===-1?"?":"&")+F.join("&")}var C=/\{ *([\w_ -]+) *\}/g;function b(A,h){return A.replace(C,function(_,F){var R=h[F];if(R===void 0)throw new Error("No value provided for variable "+_);return typeof R=="function"&&(R=R(h)),R})}var E=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"};function T(A,h){for(var _=0;_<A.length;_++)if(A[_]===h)return _;return-1}var D="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function I(A){return window["webkit"+A]||window["moz"+A]||window["ms"+A]}var U=0;function H(A){var h=+new Date,_=Math.max(0,16-(h-U));return U=h+_,window.setTimeout(A,_)}var V=window.requestAnimationFrame||I("RequestAnimationFrame")||H,j=window.cancelAnimationFrame||I("CancelAnimationFrame")||I("CancelRequestAnimationFrame")||function(A){window.clearTimeout(A)};function z(A,h,_){if(_&&V===H)A.call(h);else return V.call(window,a(A,h))}function q(A){A&&j.call(window,A)}var Z={__proto__:null,extend:i,create:o,bind:a,get lastId(){return s},stamp:l,throttle:u,wrapNum:f,falseFn:d,formatNum:g,trim:m,splitWords:v,setOptions:y,getParamString:x,template:b,isArray:E,indexOf:T,emptyImageUrl:D,requestFn:V,cancelFn:j,requestAnimFrame:z,cancelAnimFrame:q};function ae(){}ae.extend=function(A){var h=function(){y(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},_=h.__super__=this.prototype,F=o(_);F.constructor=h,h.prototype=F;for(var R in this)Object.prototype.hasOwnProperty.call(this,R)&&R!=="prototype"&&R!=="__super__"&&(h[R]=this[R]);return A.statics&&i(h,A.statics),A.includes&&(G(A.includes),i.apply(null,[F].concat(A.includes))),i(F,A),delete F.statics,delete F.includes,F.options&&(F.options=_.options?o(_.options):{},i(F.options,A.options)),F._initHooks=[],F.callInitHooks=function(){if(!this._initHooksCalled){_.callInitHooks&&_.callInitHooks.call(this),this._initHooksCalled=!0;for(var $=0,le=F._initHooks.length;$<le;$++)F._initHooks[$].call(this)}},h},ae.include=function(A){var h=this.prototype.options;return i(this.prototype,A),A.options&&(this.prototype.options=h,this.mergeOptions(A.options)),this},ae.mergeOptions=function(A){return i(this.prototype.options,A),this},ae.addInitHook=function(A){var h=Array.prototype.slice.call(arguments,1),_=typeof A=="function"?A:function(){this[A].apply(this,h)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(_),this};function G(A){if(!(typeof L>"u"||!L||!L.Mixin)){A=E(A)?A:[A];for(var h=0;h<A.length;
500h++)A[h]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var ee={on:function(A,h,_){if(typeof A=="object")for(var F in A)this._on(F,A[F],h);else{A=v(A);for(var R=0,$=A.length;R<$;R++)this._on(A[R],h,_)}return this},off:function(A,h,_){if(!arguments.length)delete this._events;else if(typeof A=="object")for(var F in A)this._off(F,A[F],h);else{A=v(A);for(var R=arguments.length===1,$=0,le=A.length;$<le;$++)R?this._off(A[$]):this._off(A[$],h,_)}return this},_on:function(A,h,_,F){if(typeof h!="function"){console.warn("wrong listener type: "+typeof h);return}if(this._listens(A,h,_)===!1){_===this&&(_=void 0);var R={fn:h,ctx:_};F&&(R.once=!0),this._events=this._events||{},this._events[A]=this._events[A]||[],this._events[A].push(R)}},_off:function(A,h,_){var F,R,$;if(this._events&&(F=this._events[A],!!F)){if(arguments.length===1){if(this._firingCount)for(R=0,$=F.length;R<$;R++)F[R].fn=d;delete this._events[A];return}if(typeof h!="function"){console.warn("wrong listener type: "+typeof h);return}var le=this._listens(A,h,_);if(le!==!1){var ye=F[le];this._firingCount&&(ye.fn=d,this._events[A]=F=F.slice()),F.splice(le,1)}}},fire:function(A,h,_){if(!this.listens(A,_))return this;var F=i({},h,{type:A,target:this,sourceTarget:h&&h.sourceTarget||this});if(this._events){var R=this._events[A];if(R){this._firingCount=this._firingCount+1||1;for(var $=0,le=R.length;$<le;$++){var ye=R[$],Be=ye.fn;ye.once&&this.off(A,Be,ye.ctx),Be.call(ye.ctx||this,F)}this._firingCount--}}return _&&this._propagateEvent(F),this},listens:function(A,h,_,F){typeof A!="string"&&console.warn('"string" type argument expected');var R=h;typeof h!="function"&&(F=!!h,R=void 0,_=void 0);var $=this._events&&this._events[A];if($&&$.length&&this._listens(A,R,_)!==!1)return!0;if(F){for(var le in this._eventParents)if(this._eventParents[le].listens(A,h,_,F))return!0}return!1},_listens:function(A,h,_){if(!this._events)return!1;var F=this._events[A]||[];if(!h)return!!F.length;_===this&&(_=void 0);for(var R=0,$=F.length;R<$;R++)if(F[R].fn===h&&F[R].ctx===_)return R;return!1},once:function(A,h,_){if(typeof A=="object")for(var F in A)this._on(F,A[F],h,!0);else{A=v(A);for(var R=0,$=A.length;R<$;R++)this._on(A[R],h,_,!0)}return this},addEventParent:function(A){return this._eventParents=this._eventParents||{},this._eventParents[l(A)]=A,this},removeEventParent:function(A){return this._eventParents&&delete this._eventParents[l(A)],this},_propagateEvent:function(A){for(var h in this._eventParents)this._eventParents[h].fire(A.type,i({layer:A.target,propagatedFrom:A.target},A),!0)}};ee.addEventListener=ee.on,ee.removeEventListener=ee.clearAllEventListeners=ee.off,ee.addOneTimeEventListener=ee.once,ee.fireEvent=ee.fire,ee.hasEventListeners=ee.listens;var re=ae.extend(ee);function X(A,h,_){this.x=_?Math.round(A):A,this.y=_?Math.round(h):h}var ge=Math.trunc||function(A){return A>0?Math.floor(A):Math.ceil(A)};X.prototype={clone:function(){return new X(this.x,this.y)},add:function(A){return this.clone()._add(N(A))},_add:function(A){return this.x+=A.x,this.y+=A.y,this},subtract:function(A){return this.clone()._subtract(N(A))},_subtract:function(A){return this.x-=A.x,this.y-=A.y,this},divideBy:function(A){return this.clone()._divideBy(A)},_divideBy:function(A){return this.x/=A,this.y/=A,this},multiplyBy:function(A){return this.clone()._multiplyBy(A)},_multiplyBy:function(A){return this.x*=A,this.y*=A,this},scaleBy:function(A){return new X(this.x*A.x,this.y*A.y)},unscaleBy:function(A){return new X(this.x/A.x,this.y/A.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=ge(this.x),this.y=ge(this.y),this},distanceTo:function(A){A=N(A);var h=A.x-this.x,_=A.y-this.y;return Math.sqrt(h*h+_*_)},equals:function(A){return A=N(A),A.x===this.x&&A.y===this.y},contains:function(A){return A=N(A),Math.abs(A.x)<=Math.abs(this.x)&&Math.abs(A.y)<=Math.abs(this.y)},toString:function(){return"Point("+g(this.x)+", "+g(this.y)+")"}};
500function N(A,h,_){return A instanceof X?A:E(A)?new X(A[0],A[1]):A==null?A:typeof A=="object"&&"x"in A&&"y"in A?new X(A.x,A.y):new X(A,h,_)}function pe(A,h){if(A)for(var _=h?[A,h]:A,F=0,R=_.length;F<R;F++)this.extend(_[F])}pe.prototype={extend:function(A){var h,_;if(!A)return this;if(A instanceof X||typeof A[0]=="number"||"x"in A)h=_=N(A);else if(A=W(A),h=A.min,_=A.max,!h||!_)return this;return!this.min&&!this.max?(this.min=h.clone(),this.max=_.clone()):(this.min.x=Math.min(h.x,this.min.x),this.max.x=Math.max(_.x,this.max.x),this.min.y=Math.min(h.y,this.min.y),this.max.y=Math.max(_.y,this.max.y)),this},getCenter:function(A){return N((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,A)},getBottomLeft:function(){return N(this.min.x,this.max.y)},getTopRight:function(){return N(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(A){var h,_;return typeof A[0]=="number"||A instanceof X?A=N(A):A=W(A),A instanceof pe?(h=A.min,_=A.max):h=_=A,h.x>=this.min.x&&_.x<=this.max.x&&h.y>=this.min.y&&_.y<=this.max.y},intersects:function(A){A=W(A);var h=this.min,_=this.max,F=A.min,R=A.max,$=R.x>=h.x&&F.x<=_.x,le=R.y>=h.y&&F.y<=_.y;return $&&le},overlaps:function(A){A=W(A);var h=this.min,_=this.max,F=A.min,R=A.max,$=R.x>h.x&&F.x<_.x,le=R.y>h.y&&F.y<_.y;return $&&le},isValid:function(){return!!(this.min&&this.max)},pad:function(A){var h=this.min,_=this.max,F=Math.abs(h.x-_.x)*A,R=Math.abs(h.y-_.y)*A;return W(N(h.x-F,h.y-R),N(_.x+F,_.y+R))},equals:function(A){return A?(A=W(A),this.min.equals(A.getTopLeft())&&this.max.equals(A.getBottomRight())):!1}};function W(A,h){return!A||A instanceof pe?A:new pe(A,h)}function P(A,h){if(A)for(var _=h?[A,h]:A,F=0,R=_.length;F<R;F++)this.extend(_[F])}P.prototype={extend:function(A){var h=this._southWest,_=this._northEast,F,R;if(A instanceof J)F=A,R=A;else if(A instanceof P){if(F=A._southWest,R=A._northEast,!F||!R)return this}else return A?this.extend(oe(A)||te(A)):this;return!h&&!_?(this._southWest=new J(F.lat,F.lng),this._northEast=new J(R.lat,R.lng)):(h.lat=Math.min(F.lat,h.lat),h.lng=Math.min(F.lng,h.lng),_.lat=Math.max(R.lat,_.lat),_.lng=Math.max(R.lng,_.lng)),this},pad:function(A){var h=this._southWest,_=this._northEast,F=Math.abs(h.lat-_.lat)*A,R=Math.abs(h.lng-_.lng)*A;return new P(new J(h.lat-F,h.lng-R),new J(_.lat+F,_.lng+R))},getCenter:function(){return new J((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new J(this.getNorth(),this.getWest())},getSouthEast:function(){return new J(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(A){typeof A[0]=="number"||A instanceof J||"lat"in A?A=oe(A):A=te(A);var h=this._southWest,_=this._northEast,F,R;
500return A instanceof P?(F=A.getSouthWest(),R=A.getNorthEast()):F=R=A,F.lat>=h.lat&&R.lat<=_.lat&&F.lng>=h.lng&&R.lng<=_.lng},intersects:function(A){A=te(A);var h=this._southWest,_=this._northEast,F=A.getSouthWest(),R=A.getNorthEast(),$=R.lat>=h.lat&&F.lat<=_.lat,le=R.lng>=h.lng&&F.lng<=_.lng;return $&&le},overlaps:function(A){A=te(A);var h=this._southWest,_=this._northEast,F=A.getSouthWest(),R=A.getNorthEast(),$=R.lat>h.lat&&F.lat<_.lat,le=R.lng>h.lng&&F.lng<_.lng;return $&&le},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(A,h){return A?(A=te(A),this._southWest.equals(A.getSouthWest(),h)&&this._northEast.equals(A.getNorthEast(),h)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function te(A,h){return A instanceof P?A:new P(A,h)}function J(A,h,_){if(isNaN(A)||isNaN(h))throw new Error("Invalid LatLng object: ("+A+", "+h+")");this.lat=+A,this.lng=+h,_!==void 0&&(this.alt=+_)}J.prototype={equals:function(A,h){if(!A)return!1;A=oe(A);var _=Math.max(Math.abs(this.lat-A.lat),Math.abs(this.lng-A.lng));return _<=(h===void 0?1e-9:h)},toString:function(A){return"LatLng("+g(this.lat,A)+", "+g(this.lng,A)+")"},distanceTo:function(A){return ce.distance(this,oe(A))},wrap:function(){return ce.wrapLatLng(this)},toBounds:function(A){var h=180*A/40075017,_=h/Math.cos(Math.PI/180*this.lat);return te([this.lat-h,this.lng-_],[this.lat+h,this.lng+_])},clone:function(){return new J(this.lat,this.lng,this.alt)}};function oe(A,h,_){return A instanceof J?A:E(A)&&typeof A[0]!="object"?A.length===3?new J(A[0],A[1],A[2]):A.length===2?new J(A[0],A[1]):null:A==null?A:typeof A=="object"&&"lat"in A?new J(A.lat,"lng"in A?A.lng:A.lon,A.alt):h===void 0?null:new J(A,h,_)}var _e={latLngToPoint:function(A,h){var _=this.projection.project(A),F=this.scale(h);return this.transformation._transform(_,F)},pointToLatLng:function(A,h){var _=this.scale(h),F=this.transformation.untransform(A,_);return this.projection.unproject(F)},project:function(A){return this.projection.project(A)},unproject:function(A){return this.projection.unproject(A)},scale:function(A){return 256*Math.pow(2,A)},zoom:function(A){return Math.log(A/256)/Math.LN2},getProjectedBounds:function(A){if(this.infinite)return null;var h=this.projection.bounds,_=this.scale(A),F=this.transformation.transform(h.min,_),R=this.transformation.transform(h.max,_);return new pe(F,R)},infinite:!1,wrapLatLng:function(A){var h=this.wrapLng?f(A.lng,this.wrapLng,!0):A.lng,_=this.wrapLat?f(A.lat,this.wrapLat,!0):A.lat,F=A.alt;return new J(_,h,F)},wrapLatLngBounds:function(A){var h=A.getCenter(),_=this.wrapLatLng(h),F=h.lat-_.lat,R=h.lng-_.lng;if(F===0&&R===0)return A;
500var $=A.getSouthWest(),le=A.getNorthEast(),ye=new J($.lat-F,$.lng-R),Be=new J(le.lat-F,le.lng-R);return new P(ye,Be)}},ce=i({},_e,{wrapLng:[-180,180],R:6371e3,distance:function(A,h){var _=Math.PI/180,F=A.lat*_,R=h.lat*_,$=Math.sin((h.lat-A.lat)*_/2),le=Math.sin((h.lng-A.lng)*_/2),ye=$*$+Math.cos(F)*Math.cos(R)*le*le,Be=2*Math.atan2(Math.sqrt(ye),Math.sqrt(1-ye));return this.R*Be}}),fe=6378137,we={R:fe,MAX_LATITUDE:85.0511287798,project:function(A){var h=Math.PI/180,_=this.MAX_LATITUDE,F=Math.max(Math.min(_,A.lat),-_),R=Math.sin(F*h);return new X(this.R*A.lng*h,this.R*Math.log((1+R)/(1-R))/2)},unproject:function(A){var h=180/Math.PI;return new J((2*Math.atan(Math.exp(A.y/this.R))-Math.PI/2)*h,A.x*h/this.R)},bounds:function(){var A=fe*Math.PI;return new pe([-A,-A],[A,A])}()};function Ae(A,h,_,F){if(E(A)){this._a=A[0],this._b=A[1],this._c=A[2],this._d=A[3];return}this._a=A,this._b=h,this._c=_,this._d=F}Ae.prototype={transform:function(A,h){return this._transform(A.clone(),h)},_transform:function(A,h){return h=h||1,A.x=h*(this._a*A.x+this._b),A.y=h*(this._c*A.y+this._d),A},untransform:function(A,h){return h=h||1,new X((A.x/h-this._b)/this._a,(A.y/h-this._d)/this._c)}};function Pe(A,h,_,F){return new Ae(A,h,_,F)}var ke=i({},ce,{code:"EPSG:3857",projection:we,transformation:function(){var A=.5/(Math.PI*we.R);return Pe(A,.5,-A,.5)}()}),$e=i({},ke,{code:"EPSG:900913"});function Xe(A){return document.createElementNS("http://www.w3.org/2000/svg",A)}function gt(A,h){var _="",F,R,$,le,ye,Be;for(F=0,$=A.length;F<$;F++){for(ye=A[F],R=0,le=ye.length;R<le;R++)Be=ye[R],_+=(R?"L":"M")+Be.x+" "+Be.y;_+=h?ze.svg?"z":"x":""}return _||"M0 0"}var mt=document.documentElement.style,At="ActiveXObject"in window,on=At&&!document.addEventListener,je="msLaunchUri"in navigator&&!("documentMode"in document),Rt=Ze("webkit"),Fn=Ze("android"),Tn=Ze("android 2")||Ze("android 3"),In=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Kn=Fn&&Ze("Google")&&In<537&&!("AudioNode"in window),Lr=!!window.opera,Ee=!je&&Ze("chrome"),Qe=Ze("gecko")&&!Rt&&!Lr&&!At,rt=!Ee&&Ze("safari"),bt=Ze("phantom"),jt="OTransition"in mt,Un=navigator.platform.indexOf("Win")===0,Xn=At&&"transition"in mt,Cn="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Tn,me="MozPerspective"in mt,he=!window.L_DISABLE_3D&&(Xn||Cn||me)&&!jt&&!bt,Fe=typeof orientation<"u"||Ze("mobile"),Ce=Fe&&Rt,Se=Fe&&Cn,Ie=!window.PointerEvent&&window.MSPointerEvent,st=!!(window.PointerEvent||Ie),at="ontouchstart"in window||!!window.TouchEvent,dt=!window.L_NO_TOUCH&&(at||st),it=Fe&&Lr,tn=Fe&&Qe,Jn=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Ct=function(){var A=!1;try{var h=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("testPassiveEventSupport",d,h),window.removeEventListener("testPassiveEventSupport",d,h)}catch{}return A}(),ft=function(){return!!document.createElement("canvas").getContext}(),kt=!!(document.createElementNS&&Xe("svg").createSVGRect),Me=!!kt&&function(){var A=document.createElement("div");return A.innerHTML="<svg/>",(A.firstChild&&A.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Ue=!kt&&function(){try{var A=document.createElement("div");A.innerHTML='<v:shape adj="1"/>';var h=A.firstChild;return h.style.behavior="url(#default#VML)",h&&typeof h.adj=="object"}catch{return!1}}(),be=navigator.platform.indexOf("Mac")===0,Je=navigator.platform.indexOf("Linux")===0;function Ze(A){return navigator.userAgent.toLowerCase().indexOf(A)>=0}var ze={ie:At,ielt9:on,edge:je,webkit:Rt,android:Fn,android23:Tn,androidStock:Kn,opera:Lr,chrome:Ee,gecko:Qe,safari:rt,phantom:bt,opera12:jt,win:Un,ie3d:Xn,webkit3d:Cn,gecko3d:me,any3d:he,mobile:Fe,mobileWebkit:Ce,mobileWebkit3d:Se,msPointer:Ie,pointer:st,touch:dt,touchNative:at,mobileOpera:it,mobileGecko:tn,retina:Jn,passiveEvents:Ct,canvas:ft,svg:kt,vml:Ue,inlineSvg:Me,mac:be,linux:Je},Lt=ze.msPointer?"MSPointerDown":"pointerdown",Tt=ze.msPointer?"MSPointerMove":"pointermove",an=ze.msPointer?"MSPointerUp":"pointerup",Ki=ze.msPointer?"MSPointerCancel":"pointercancel",ki={touchstart:Lt,touchmove:Tt,touchend:an,touchcancel:Ki},os={touchstart:Ll,touchmove:zA,touchend:zA,touchcancel:zA},uo={},ld=!1;function Ec(A,h,_){return h==="touchstart"&&jA(),os[h]?(_=os[h].bind(this,_),A.addEventListener(ki[h],_,!1),_):(console.warn("wrong event specified:",h),d)}function Tp(A,h,_){if(!ki[h]){console.warn("wrong event specified:",h);return}A.removeEventListener(ki[h],_,!1)}function Op(A){uo[A.pointerId]=A}function kp(A){uo[A.pointerId]&&(uo[A.pointerId]=A)}function Ad(A){delete uo[A.pointerId]}function jA(){ld||(document.addEventListener(Lt,Op,!0),document.addEventListener(Tt,kp,!0),document.addEventListener(an,Ad,!0),document.addEventListener(Ki,Ad,!0),ld=!0)}function zA(A,h){if(h.pointerType!==(h.MSPOINTER_TYPE_MOUSE||"mouse")){h.touches=[];for(var _ in uo)h.touches.push(uo[_]);h.changedTouches=[h],A(h)}}function Ll(A,h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&Nt(h),zA(A,h)}function VA(A){var h={},_,F;for(F in A)_=A[F],h[F]=_&&_.bind?_.bind(A):_;return A=h,h.type="dblclick",h.detail=2,h.isTrusted=!1,h._simulated=!0,h}var Ip=200;function Lp(A,h){A.addEventListener("dblclick",h);var _=0,F;function R($){if($.detail!==1){F=$.detail;return}if(!($.pointerType==="mouse"||$.sourceCapabilities&&!$.sourceCapabilities.firesTouchEvents)){var le=dd($);if(!(le.some(function(Be){return Be instanceof HTMLLabelElement&&Be.attributes.for})&&!le.some(function(Be){return Be instanceof HTMLInputElement||Be instanceof HTMLSelectElement}))){var ye=Date.now();ye-_<=Ip?(F++,F===2&&h(VA($))):F=1,_=ye}}}return A.addEventListener("click",R),{dblclick:h,simDblclick:R}}function ud(A,h){A.removeEventListener("dblclick",h.dblclick),A.removeEventListener("click",h.simDblclick)}var KA=Qs(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Ms=Qs(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Sc=Ms==="webkitTransition"||Ms==="OTransition"?Ms+"End":"transitionend";function Fc(A){return typeof A=="string"?document.getElementById(A):A}function Dl(A,h){var _=A.style[h]||A.currentStyle&&A.currentStyle[h];if((!_||_==="auto")&&document.defaultView){var F=document.defaultView.getComputedStyle(A,null);_=F?F[h]:null}return _==="auto"?null:_}function dn(A,h,_){var F=document.createElement(A);return F.className=h||"",_&&_.appendChild(F),F}function jn(A){var h=A.parentNode;h&&h.removeChild(A)}function Rl(A){for(;A.firstChild;)A.removeChild(A.firstChild)}function as(A){var h=A.parentNode;h&&h.lastChild!==A&&h.appendChild(A)}function ba(A){var h=A.parentNode;h&&h.firstChild!==A&&h.insertBefore(A,h.firstChild)}function Tc(A,h){if(A.classList!==void 0)return A.classList.contains(h);var _=Oc(A);return _.length>0&&new RegExp("(^|\\s)"+h+"(\\s|$)").test(_)}function Ut(A,h){if(A.classList!==void 0)for(var _=v(h),F=0,R=_.length;F<R;
500F++)A.classList.add(_[F]);else if(!Tc(A,h)){var $=Oc(A);WA(A,($?$+" ":"")+h)}}function wn(A,h){A.classList!==void 0?A.classList.remove(h):WA(A,m((" "+Oc(A)+" ").replace(" "+h+" "," ")))}function WA(A,h){A.className.baseVal===void 0?A.className=h:A.className.baseVal=h}function Oc(A){return A.correspondingElement&&(A=A.correspondingElement),A.className.baseVal===void 0?A.className:A.className.baseVal}function Dr(A,h){"opacity"in A.style?A.style.opacity=h:"filter"in A.style&&cd(A,h)}function cd(A,h){var _=!1,F="DXImageTransform.Microsoft.Alpha";try{_=A.filters.item(F)}catch{if(h===1)return}h=Math.round(h*100),_?(_.Enabled=h!==100,_.Opacity=h):A.style.filter+=" progid:"+F+"(opacity="+h+")"}function Qs(A){for(var h=document.documentElement.style,_=0;_<A.length;_++)if(A[_]in h)return A[_];return!1}function ss(A,h,_){var F=h||new X(0,0);A.style[KA]=(ze.ie3d?"translate("+F.x+"px,"+F.y+"px)":"translate3d("+F.x+"px,"+F.y+"px,0)")+(_?" scale("+_+")":"")}function ar(A,h){A._leaflet_pos=h,ze.any3d?ss(A,h):(A.style.left=h.x+"px",A.style.top=h.y+"px")}function zo(A){return A._leaflet_pos||new X(0,0)}var ls,Ii,Vo;if("onselectstart"in document)ls=function(){xt(window,"selectstart",Nt)},Ii=function(){Nn(window,"selectstart",Nt)};else{var Ko=Qs(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);ls=function(){if(Ko){var A=document.documentElement.style;Vo=A[Ko],A[Ko]="none"}},Ii=function(){Ko&&(document.documentElement.style[Ko]=Vo,Vo=void 0)}}function kc(){xt(window,"dragstart",Nt)}function GA(){Nn(window,"dragstart",Nt)}var Pl,YA;function qA(A){for(;A.tabIndex===-1;)A=A.parentNode;A.style&&(ZA(),Pl=A,YA=A.style.outlineStyle,A.style.outlineStyle="none",xt(window,"keydown",ZA))}function ZA(){Pl&&(Pl.style.outlineStyle=YA,Pl=void 0,YA=void 0,Nn(window,"keydown",ZA))}function XA(A){do A=A.parentNode;while((!A.offsetWidth||!A.offsetHeight)&&A!==document.body);return A}function Ic(A){var h=A.getBoundingClientRect();return{x:h.width/A.offsetWidth||1,y:h.height/A.offsetHeight||1,boundingClientRect:h}}var fd={__proto__:null,TRANSFORM:KA,TRANSITION:Ms,TRANSITION_END:Sc,get:Fc,getStyle:Dl,create:dn,remove:jn,empty:Rl,toFront:as,toBack:ba,hasClass:Tc,addClass:Ut,removeClass:wn,setClass:WA,getClass:Oc,setOpacity:Dr,testProp:Qs,setTransform:ss,setPosition:ar,getPosition:zo,get disableTextSelection(){return ls},get enableTextSelection(){return Ii},disableImageDrag:kc,enableImageDrag:GA,preventOutline:qA,restoreOutline:ZA,getSizedParentNode:XA,getScale:Ic};function xt(A,h,_,F){if(h&&typeof h=="object")for(var R in h)Lc(A,R,h[R],_);else{h=v(h);for(var $=0,le=h.length;$<le;$++)Lc(A,h[$],_,F)}return this}var Wi="_leaflet_events";function Nn(A,h,_,F){if(arguments.length===1)Ba(A),delete A[Wi];else if(h&&typeof h=="object")for(var R in h)JA(A,R,h[R],_);else if(h=v(h),arguments.length===2)Ba(A,function(ye){return T(h,ye)!==-1});else for(var $=0,le=h.length;$<le;$++)JA(A,h[$],_,F);return this}function Ba(A,h){for(var _ in A[Wi]){var F=_.split(/\d/)[0];(!h||h(F))&&JA(A,F,null,null,_)}}
500var As={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Lc(A,h,_,F){var R=h+l(_)+(F?"_"+l(F):"");if(A[Wi]&&A[Wi][R])return this;var $=function(ye){return _.call(F||A,ye||window.event)},le=$;!ze.touchNative&&ze.pointer&&h.indexOf("touch")===0?$=Ec(A,h,$):ze.touch&&h==="dblclick"?$=Lp(A,$):"addEventListener"in A?h==="touchstart"||h==="touchmove"||h==="wheel"||h==="mousewheel"?A.addEventListener(As[h]||h,$,ze.passiveEvents?{passive:!1}:!1):h==="mouseenter"||h==="mouseleave"?($=function(ye){ye=ye||window.event,Rc(A,ye)&&le(ye)},A.addEventListener(As[h],$,!1)):A.addEventListener(h,le,!1):A.attachEvent("on"+h,$),A[Wi]=A[Wi]||{},A[Wi][R]=$}function JA(A,h,_,F,R){R=R||h+l(_)+(F?"_"+l(F):"");var $=A[Wi]&&A[Wi][R];if(!$)return this;!ze.touchNative&&ze.pointer&&h.indexOf("touch")===0?Tp(A,h,$):ze.touch&&h==="dblclick"?ud(A,$):"removeEventListener"in A?A.removeEventListener(As[h]||h,$,!1):A.detachEvent("on"+h,$),A[Wi][R]=null}function us(A){return A.stopPropagation?A.stopPropagation():A.originalEvent?A.originalEvent._stopped=!0:A.cancelBubble=!0,this}function eu(A){return Lc(A,"wheel",us),this}function Ul(A){return xt(A,"mousedown touchstart dblclick contextmenu",us),A._leaflet_disable_click=!0,this}function Nt(A){return A.preventDefault?A.preventDefault():A.returnValue=!1,this}function hn(A){return Nt(A),us(A),this}function dd(A){if(A.composedPath)return A.composedPath();for(var h=[],_=A.target;_;)h.push(_),_=_.parentNode;return h}function hd(A,h){if(!h)return new X(A.clientX,A.clientY);var _=Ic(h),F=_.boundingClientRect;return new X((A.clientX-F.left)/_.x-h.clientLeft,(A.clientY-F.top)/_.y-h.clientTop)}var pd=ze.linux&&ze.chrome?window.devicePixelRatio:ze.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Dc(A){return ze.edge?A.wheelDeltaY/2:A.deltaY&&A.deltaMode===0?-A.deltaY/pd:A.deltaY&&A.deltaMode===1?-A.deltaY*20:A.deltaY&&A.deltaMode===2?-A.deltaY*60:A.deltaX||A.deltaZ?0:A.wheelDelta?(A.wheelDeltaY||A.wheelDelta)/2:A.detail&&Math.abs(A.detail)<32765?-A.detail*20:A.detail?A.detail/-32765*60:0}function Rc(A,h){var _=h.relatedTarget;if(!_)return!0;try{for(;_&&_!==A;)_=_.parentNode}catch{return!1}return _!==A}var Hs={__proto__:null,on:xt,off:Nn,stopPropagation:us,disableScrollPropagation:eu,disableClickPropagation:Ul,preventDefault:Nt,stop:hn,getPropagationPath:dd,getMousePosition:hd,getWheelDelta:Dc,isExternalTarget:Rc,addListener:xt,removeListener:Nn},Pc=re.extend({run:function(A,h,_,F){this.stop(),this._el=A,this._inProgress=!0,this._duration=_||.25,this._easeOutPower=1/Math.max(F||.5,.2),this._startPos=zo(A),this._offset=h.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=z(this._animate,this),this._step()},_step:function(A){var h=+new Date-this._startTime,_=this._duration*1e3;h<_?this._runFrame(this._easeOut(h/_),A):(this._runFrame(1),this._complete())},_runFrame:function(A,h){var _=this._startPos.add(this._offset.multiplyBy(A));h&&_._round(),ar(this._el,_),this.fire("step")},_complete:function(){q(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(A){return 1-Math.pow(1-A,this._easeOutPower)}}),nn=re.extend({options:{crs:ke,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(A,h){h=y(this,h),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(A),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),h.maxBounds&&this.setMaxBounds(h.maxBounds),h.zoom!==void 0&&(this._zoom=this._limitZoom(h.zoom)),h.center&&h.zoom!==void 0&&this.setView(oe(h.center),h.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Ms&&ze.any3d&&!ze.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),xt(this._proxy,Sc,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 5,982 bytes, line 500
500,setView:function(A,h,_){if(h=h===void 0?this._zoom:this._limitZoom(h),A=this._limitCenter(oe(A),h,this.options.maxBounds),_=_||{},this._stop(),this._loaded&&!_.reset&&_!==!0){_.animate!==void 0&&(_.zoom=i({animate:_.animate},_.zoom),_.pan=i({animate:_.animate,duration:_.duration},_.pan));var F=this._zoom!==h?this._tryAnimatedZoom&&this._tryAnimatedZoom(A,h,_.zoom):this._tryAnimatedPan(A,_.pan);if(F)return clearTimeout(this._sizeTimer),this}return this._resetView(A,h,_.pan&&_.pan.noMoveStart),this},setZoom:function(A,h){return this._loaded?this.setView(this.getCenter(),A,{zoom:h}):(this._zoom=A,this)},zoomIn:function(A,h){return A=A||(ze.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+A,h)},zoomOut:function(A,h){return A=A||(ze.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-A,h)},setZoomAround:function(A,h,_){var F=this.getZoomScale(h),R=this.getSize().divideBy(2),$=A instanceof X?A:this.latLngToContainerPoint(A),le=$.subtract(R).multiplyBy(1-1/F),ye=this.containerPointToLatLng(R.add(le));return this.setView(ye,h,{zoom:_})},_getBoundsCenterZoom:function(A,h){h=h||{},A=A.getBounds?A.getBounds():te(A);var _=N(h.paddingTopLeft||h.padding||[0,0]),F=N(h.paddingBottomRight||h.padding||[0,0]),R=this.getBoundsZoom(A,!1,_.add(F));if(R=typeof h.maxZoom=="number"?Math.min(h.maxZoom,R):R,R===1/0)return{center:A.getCenter(),zoom:R};var $=F.subtract(_).divideBy(2),le=this.project(A.getSouthWest(),R),ye=this.project(A.getNorthEast(),R),Be=this.unproject(le.add(ye).divideBy(2).add($),R);return{center:Be,zoom:R}},fitBounds:function(A,h){if(A=te(A),!A.isValid())throw new Error("Bounds are not valid.");var _=this._getBoundsCenterZoom(A,h);return this.setView(_.center,_.zoom,h)},fitWorld:function(A){return this.fitBounds([[-90,-180],[90,180]],A)},panTo:function(A,h){return this.setView(A,this._zoom,{pan:h})},panBy:function(A,h){if(A=N(A).round(),h=h||{},!A.x&&!A.y)return this.fire("moveend");if(h.animate!==!0&&!this.getSize().contains(A))return this._resetView(this.unproject(this.project(this.getCenter()).add(A)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Pc,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),h.noMoveStart||this.fire("movestart"),h.animate!==!1){Ut(this._mapPane,"leaflet-pan-anim");var _=this._getMapPanePos().subtract(A).round();this._panAnim.run(this._mapPane,_,h.duration||.25,h.easeLinearity)}else this._rawPanBy(A),this.fire("move").fire("moveend");return this},flyTo:function(A,h,_){if(_=_||{},_.animate===!1||!ze.any3d)return this.setView(A,h,_);this._stop();var F=this.project(this.getCenter()),R=this.project(A),$=this.getSize(),le=this._zoom;A=oe(A),h=h===void 0?le:h;var ye=Math.max($.x,$.y),Be=ye*this.getZoomScale(le,h),Ne=R.distanceTo(F)||1,et=1.42,yt=et*et;function Qt(Gn){var ms=Gn?-1:1,K=Gn?Be:ye,Zs=Be*Be-ye*ye+ms*yt*yt*Ne*Ne,Zl=2*K*yt*Ne,si=Zs/Zl,Yt=Math.sqrt(si*si+1)-si,Xs=Yt<1e-9?-18:Math.log(Yt);return Xs}function dr(Gn){return(Math.exp(Gn)-Math.exp(-Gn))/2}function tr(Gn){return(Math.exp(Gn)+Math.exp(-Gn))/2}function Kr(Gn){return dr(Gn)/tr(Gn)}var Wn=Qt(0);function Yi(Gn){return ye*(tr(Wn)/tr(Wn+et*Gn))}function Qp(Gn){return ye*(tr(Wn)*Kr(Wn+et*Gn)-dr(Wn))/yt}function Hp(Gn){return 1-Math.pow(1-Gn,1.5)}var $p=Date.now(),Ed=(Qt(1)-Wn)/et,pu=_.duration?1e3*_.duration:1e3*Ed*.8;function ql(){var Gn=(Date.now()-$p)/pu,ms=Hp(Gn)*Ed;Gn<=1?(this._flyToFrame=z(ql,this),this._move(this.unproject(F.add(R.subtract(F).multiplyBy(Qp(ms)/Ne)),le),this.getScaleZoom(ye/Yi(ms),le),{flyTo:!0})):this._move(A,h)._moveEnd(!0)}return this._moveStart(!0,_.noMoveStart),ql.call(this),this},flyToBounds:function(A,h){var _=this._getBoundsCenterZoom(A,h);return this.flyTo(_.center,_.zoom,h)},setMaxBounds:function(A){return A=te(A),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),A.isValid()?(this.options.maxBounds=A,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(A){var h=this.options.minZoom;return this.options.minZoom=A,this._loaded&&h!==A&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(A):this},setMaxZoom:function(A){var h=this.options.maxZoom;return this.options.maxZoom=A,this._loaded&&h!==A&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(A):this},panInsideBounds:function(A,h){this._enforcingBounds=!0;var _=this.getCenter(),F=this._limitCenter(_,this._zoom,te(A));return _.equals(F)||this.panTo(F,h),this._enforcingBounds=!1,this},panInside:function(A,h){h=h||{};var _=N(h.paddingTopLeft||h.padding||[0,0]),F=N(h.paddingBottomRight||h.padding||[0,0]),R=this.project(this.getCenter()),$=this.project(A),le=this.getPixelBounds(),ye=W([le.min.add(_),le.max.subtract(F)]),Be=ye.getSize();if(!ye.contains($)){this._enforcingBounds=!0;var Ne=$.subtract(ye.getCenter()),et=ye.extend($).getSize().subtract(Be);R.x+=Ne.x<0?-et.x:et.x,R.y+=Ne.y<0?-et.y:et.y,this.panTo(this.unproject(R),h),this._enforcingBounds=!1}return this},invalidateSize:function(A){if(!this._loaded)return this;A=i({animate:!1,pan:!0},A===!0?{animate:!0}:A);var h=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var _=this.getSize(),F=h.divideBy(2).round(),R=_.divideBy(2).round(),$=F.subtract(R);return!$.x&&!$.y?this:(A.animate&&A.pan?this.panBy($):(A.pan&&this._rawPanBy($),this.fire("move"),A.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:h,newSize:_}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(A){if(A=this._locateOptions=i({timeout:1e4,watch:!1},A),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var h=a(this._handleGeolocationResponse,this),_=a(this._handleGeolocationError,this);
500return A.watch?this._locationWatchId=navigator.geolocation.watchPosition(h,_,A):navigator.geolocation.getCurrentPosition(h,_,A),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(A){if(this._container._leaflet_id){var h=A.code,_=A.message||(h===1?"permission denied":h===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:h,message:"Geolocation error: "+_+"."})}},_handleGeolocationResponse:function(A){if(this._container._leaflet_id){var h=A.coords.latitude,_=A.coords.longitude,F=new J(h,_),R=F.toBounds(A.coords.accuracy*2),$=this._locateOptions;if($.setView){var le=this.getBoundsZoom(R);this.setView(F,$.maxZoom?Math.min(le,$.maxZoom):le)}var ye={latlng:F,bounds:R,timestamp:A.timestamp};for(var Be in A.coords)typeof A.coords[Be]=="number"&&(ye[Be]=A.coords[Be]);this.fire("locationfound",ye)}},addHandler:function(A,h){if(!h)return this;var _=this[A]=new h(this);return this._handlers.push(_),this.options[A]&&_.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),jn(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(q(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var A;for(A in this._layers)this._layers[A].remove();for(A in this._panes)jn(this._panes[A]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(A,h){var _="leaflet-pane"+(A?" leaflet-"+A.replace("Pane","")+"-pane":""),F=dn("div",_,h||this._mapPane);return A&&(this._panes[A]=F),F},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var A=this.getPixelBounds(),h=this.unproject(A.getBottomLeft()),_=this.unproject(A.getTopRight());return new P(h,_)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(A,h,_){A=te(A),_=N(_||[0,0]);var F=this.getZoom()||0,R=this.getMinZoom(),$=this.getMaxZoom(),le=A.getNorthWest(),ye=A.getSouthEast(),Be=this.getSize().subtract(_),Ne=W(this.project(ye,F),this.project(le,F)).getSize(),et=ze.any3d?this.options.zoomSnap:1,yt=Be.x/Ne.x,Qt=Be.y/Ne.y,dr=h?Math.max(yt,Qt):Math.min(yt,Qt);return F=this.getScaleZoom(dr,F),et&&(F=Math.round(F/(et/100))*(et/100),F=h?Math.ceil(F/et)*et:Math.floor(F/et)*et),Math.max(R,Math.min($,F))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new X(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(A,h){var _=this._getTopLeftPoint(A,h);return new pe(_,_.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(A){return this.options.crs.getProjectedBounds(A===void 0?this.getZoom():A)},getPane:function(A){return typeof A=="string"?this._panes[A]:A},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(A,h){var _=this.options.crs;return h=h===void 0?this._zoom:h,_.scale(A)/_.scale(h)},getScaleZoom:function(A,h){var _=this.options.crs;h=h===void 0?this._zoom:h;var F=_.zoom(A*_.scale(h));return isNaN(F)?1/0:F},project:function(A,h){return h=h===void 0?this._zoom:h,this.options.crs.latLngToPoint(oe(A),h)},unproject:function(A,h){return h=h===void 0?this._zoom:h,this.options.crs.pointToLatLng(N(A),h)},layerPointToLatLng:function(A){var h=N(A).add(this.getPixelOrigin());return this.unproject(h)},latLngToLayerPoint:function(A){var h=this.project(oe(A))._round();return h._subtract(this.getPixelOrigin())},wrapLatLng:function(A){return this.options.crs.wrapLatLng(oe(A))},wrapLatLngBounds:function(A){return this.options.crs.wrapLatLngBounds(te(A))},distance:function(A,h){return this.options.crs.distance(oe(A),oe(h)
500)},containerPointToLayerPoint:function(A){return N(A).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(A){return N(A).add(this._getMapPanePos())},containerPointToLatLng:function(A){var h=this.containerPointToLayerPoint(N(A));return this.layerPointToLatLng(h)},latLngToContainerPoint:function(A){return this.layerPointToContainerPoint(this.latLngToLayerPoint(oe(A)))},mouseEventToContainerPoint:function(A){return hd(A,this._container)},mouseEventToLayerPoint:function(A){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(A))},mouseEventToLatLng:function(A){return this.layerPointToLatLng(this.mouseEventToLayerPoint(A))},_initContainer:function(A){var h=this._container=Fc(A);if(h){if(h._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");xt(h,"scroll",this._onScroll,this),this._containerId=l(h)},_initLayout:function(){var A=this._container;this._fadeAnimated=this.options.fadeAnimation&&ze.any3d,Ut(A,"leaflet-container"+(ze.touch?" leaflet-touch":"")+(ze.retina?" leaflet-retina":"")+(ze.ielt9?" leaflet-oldie":"")+(ze.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var h=Dl(A,"position");h!=="absolute"&&h!=="relative"&&h!=="fixed"&&h!=="sticky"&&(A.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var A=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ar(this._mapPane,new X(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Ut(A.markerPane,"leaflet-zoom-hide"),Ut(A.shadowPane,"leaflet-zoom-hide"))},_resetView:function(A,h,_){ar(this._mapPane,new X(0,0));var F=!this._loaded;this._loaded=!0,h=this._limitZoom(h),this.fire("viewprereset");var R=this._zoom!==h;this._moveStart(R,_)._move(A,h)._moveEnd(R),this.fire("viewreset"),F&&this.fire("load")},_moveStart:function(A,h){return A&&this.fire("zoomstart"),h||this.fire("movestart"),this},_move:function(A,h,_,F){h===void 0&&(h=this._zoom);var R=this._zoom!==h;return this._zoom=h,this._lastCenter=A,this._pixelOrigin=this._getNewPixelOrigin(A),F?_&&_.pinch&&this.fire("zoom",_):((R||_&&_.pinch)&&this.fire("zoom",_),this.fire("move",_)),this},_moveEnd:function(A){return A&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return q(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(A){ar(this._mapPane,this._getMapPanePos().subtract(A))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(A){this._targets={},this._targets[l(this._container)]=this;var h=A?Nn:xt;h(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&h(window,"resize",this._onResize,this),ze.any3d&&this.options.transform3DLimit&&(A?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){q(this._resizeRequest),this._resizeRequest=z(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var A=this._getMapPanePos();Math.max(Math.abs(A.x),Math.abs(A.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(A,h){for(var _=[],F,R=h==="mouseout"||h==="mouseover",$=A.target||A.srcElement,le=!1;$;){if(F=this._targets[l($)],F&&(h==="click"||h==="preclick")&&this._draggableMoved(F)){le=!0;break}if(F&&F.listens(h,!0)&&(R&&!Rc($,A)||(_.push(F),R))||$===this._container)break;$=$.parentNode}return!_.length&&!le&&!R&&this.listens(h,!0)&&(_=[this]),_},_isClickDisabled:function(A){for(;A&&A!==this._container;){if(A._leaflet_disable_click)return!0;A=A.parentNode}},_handleDOMEvent:function(A){var h=A.target||A.srcElement;if(!(!this._loaded||h._leaflet_disable_events||A.type==="click"&&this._isCl
500ickDisabled(h))){var _=A.type;_==="mousedown"&&qA(h),this._fireDOMEvent(A,_)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(A,h,_){if(A.type==="click"){var F=i({},A);F.type="preclick",this._fireDOMEvent(F,F.type,_)}var R=this._findEventTargets(A,h);if(_){for(var $=[],le=0;le<_.length;le++)_[le].listens(h,!0)&&$.push(_[le]);R=$.concat(R)}if(R.length){h==="contextmenu"&&Nt(A);var ye=R[0],Be={originalEvent:A};if(A.type!=="keypress"&&A.type!=="keydown"&&A.type!=="keyup"){var Ne=ye.getLatLng&&(!ye._radius||ye._radius<=10);Be.containerPoint=Ne?this.latLngToContainerPoint(ye.getLatLng()):this.mouseEventToContainerPoint(A),Be.layerPoint=this.containerPointToLayerPoint(Be.containerPoint),Be.latlng=Ne?ye.getLatLng():this.layerPointToLatLng(Be.layerPoint)}for(le=0;le<R.length;le++)if(R[le].fire(h,Be,!0),Be.originalEvent._stopped||R[le].options.bubblingMouseEvents===!1&&T(this._mouseEvents,h)!==-1)return}},_draggableMoved:function(A){return A=A.dragging&&A.dragging.enabled()?A:this,A.dragging&&A.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var A=0,h=this._handlers.length;A<h;A++)this._handlers[A].disable()},whenReady:function(A,h){return this._loaded?A.call(h||this,{target:this}):this.on("load",A,h),this},_getMapPanePos:function(){return zo(this._mapPane)||new X(0,0)},_moved:function(){var A=this._getMapPanePos();return A&&!A.equals([0,0])},_getTopLeftPoint:function(A,h){var _=A&&h!==void 0?this._getNewPixelOrigin(A,h):this.getPixelOrigin();return _.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(A,h){var _=this.getSize()._divideBy(2);return this.project(A,h)._subtract(_)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(A,h,_){var F=this._getNewPixelOrigin(_,h);return this.project(A,h)._subtract(F)},_latLngBoundsToNewLayerBounds:function(A,h,_){var F=this._getNewPixelOrigin(_,h);
vendor: 12,055 bytes, line 500
500return W([this.project(A.getSouthWest(),h)._subtract(F),this.project(A.getNorthWest(),h)._subtract(F),this.project(A.getSouthEast(),h)._subtract(F),this.project(A.getNorthEast(),h)._subtract(F)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(A){return this.latLngToLayerPoint(A).subtract(this._getCenterLayerPoint())},_limitCenter:function(A,h,_){if(!_)return A;var F=this.project(A,h),R=this.getSize().divideBy(2),$=new pe(F.subtract(R),F.add(R)),le=this._getBoundsOffset($,_,h);return Math.abs(le.x)<=1&&Math.abs(le.y)<=1?A:this.unproject(F.add(le),h)},_limitOffset:function(A,h){if(!h)return A;var _=this.getPixelBounds(),F=new pe(_.min.add(A),_.max.add(A));return A.add(this._getBoundsOffset(F,h))},_getBoundsOffset:function(A,h,_){var F=W(this.project(h.getNorthEast(),_),this.project(h.getSouthWest(),_)),R=F.min.subtract(A.min),$=F.max.subtract(A.max),le=this._rebound(R.x,-$.x),ye=this._rebound(R.y,-$.y);return new X(le,ye)},_rebound:function(A,h){return A+h>0?Math.round(A-h)/2:Math.max(0,Math.ceil(A))-Math.max(0,Math.floor(h))},_limitZoom:function(A){var h=this.getMinZoom(),_=this.getMaxZoom(),F=ze.any3d?this.options.zoomSnap:1;return F&&(A=Math.round(A/F)*F),Math.max(h,Math.min(_,A))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){wn(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(A,h){var _=this._getCenterOffset(A)._trunc();return(h&&h.animate)!==!0&&!this.getSize().contains(_)?!1:(this.panBy(_,h),!0)},_createAnimProxy:function(){var A=this._proxy=dn("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(A),this.on("zoomanim",function(h){var _=KA,F=this._proxy.style[_];ss(this._proxy,this.project(h.center,h.zoom),this.getZoomScale(h.zoom,1)),F===this._proxy.style[_]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){jn(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var A=this.getCenter(),h=this.getZoom();ss(this._proxy,this.project(A,h),this.getZoomScale(h,1))},_catchTransitionEnd:function(A){this._animatingZoom&&A.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(A,h,_){if(this._animatingZoom)return!0;if(_=_||{},!this._zoomAnimated||_.animate===!1||this._nothingToAnimate()||Math.abs(h-this._zoom)>this.options.zoomAnimationThreshold)return!1;var F=this.getZoomScale(h),R=this._getCenterOffset(A)._divideBy(1-1/F);return _.animate!==!0&&!this.getSize().contains(R)?!1:(z(function(){this._moveStart(!0,_.noMoveStart||!1)._animateZoom(A,h,!0)},this),!0)},_animateZoom:function(A,h,_,F){this._mapPane&&(_&&(this._animatingZoom=!0,this._animateToCenter=A,this._animateToZoom=h,Ut(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:A,zoom:h,noUpdate:F}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&wn(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Rr(A,h){return new nn(A,h)}var di=ae.extend({options:{position:"topright"},initialize:function(A){y(this,A)},getPosition:function(){return this.options.position},setPosition:function(A){var h=this._map;return h&&h.removeControl(this),this.options.position=A,h&&h.addControl(this),this},getContainer:function(){return this._container},addTo:function(A){this.remove(),this._map=A;var h=this._container=this.onAdd(A),_=this.getPosition(),F=A._controlCorners[_];return Ut(h,"leaflet-control"),_.indexOf("bottom")!==-1?F.insertBefore(h,F.firstChild):F.appendChild(h),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(jn(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(A){this._map&&A&&A.screenX>0&&A.screenY>0&&this._map.getContainer().focus()}}),Gi=function(A){return new di(A)};nn.include({addControl:function(A){return A.addTo(this),this},removeControl:function(A){return A.remove(),this},_initControlPos:function(){var A=this._controlCorners={},h="leaflet-",_=this._controlContainer=dn("div",h+"control-container",this._container);function F(R,$){var le=h+R+" "+h+$;A[R+$]=dn("div",le,_)}F("top","left"),F("top","right"),F("bottom","left"),F("bottom","right")},_clearControlPos:function(){for(var A in this._controlCorners)jn(this._controlCorners[A]);jn(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Wo=di.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(A,h,_,F){return _<F?-1:F<_?1:0}},initialize:function(A,h,_){y(this,_),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var F in A)this._addLayer(A[F],F);for(F in h)this._addLayer(h[F],F,!0)},onAdd:function(A){this._initLayout(),this._update(),this._map=A,A.on("zoomend",this._checkDisabledLayers,this);for(var h=0;h<this._layers.length;h++)this._layers[h].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(A){return di.prototype.addTo.call(this,A),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var A=0;A<this._layers.length;A++)this._layers[A].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(A,h){return this._addLayer(A,h),this._map?this._update():this},addOverlay:function(A,h){return this._addLayer(A,h,!0),this._map?this._update():this},removeLayer:function(A){A.off("add remove",this._onLayerChange,this);var h=this._getLayer(l(A));return h&&this._layers.splice(this._layers.indexOf(h),1),this._map?this._update():this},expand:function(){Ut(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var A=this._map.getSize().y-(this._container.offsetTop+50);return A<this._section.clientHeight?(Ut(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=A+"px"):wn(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return wn(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var A="leaflet-control-layers",h=this._container=dn("div",A),_=this.options.collapsed;h.setAttribute("aria-haspopup",!0),Ul(h),eu(h);var F=this._section=dn("section",A+"-list");_&&(this._map.on("click",this.collapse,this),xt(h,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var R=this._layersLink=dn("a",A+"-toggle",h);R.href="#",R.title="Layers",R.setAttribute("role","button"),xt(R,{keydown:function($){$.keyCode===13&&this._expandSafely()},click:function($){Nt($),this._expandSafely()}},this),_||this.expand(),this._baseLayersList=dn("div",A+"-base",F),this._separator=dn("div",A+"-separator",F),this._overlaysList=dn("div",A+"-overlays",F),h.appendChild(F)},_getLayer:function(A){for(var h=0;h<this._layers.length;h++)if(this._layers[h]&&l(this._layers[h].layer)===A)return this._layers[h]},_addLayer:function(A,h,_){this._map&&A.on("add remove",this._onLayerChange,this),this._layers.push({layer:A,name:h,overlay:_}),this.options.sortLayers&&this._layers.sort(a(function(F,R){return this.options.sortFunction(F.layer,R.layer,F.name,R.name)},this)),this.options.autoZIndex&&A.setZIndex&&(this._lastZIndex++,A.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Rl(this._baseLayersList),Rl(this._overlaysList),this._layerControlInputs=[];var A,h,_,F,R=0;for(_=0;_<this._layers.length;_++)F=this._layers[_],this._addItem(F),h=h||F.overlay,A=A||!F.overlay,R+=F.overlay?0:1;return this.options.hideSingleBase&&(A=A&&R>1,this._baseLayersList.style.display=A?"":"none"),this._separator.style.display=h&&A?"":"none",this},_onLayerChange:function(A){this._handlingClick||this._update();var h=this._getLayer(l(A.target)),_=h.overlay?A.type==="add"?"overlayadd":"overlayremove":A.type==="add"?"baselayerchange":null;_&&this._map.fire(_,h)},_createRadioElement:function(A,h){var _='<input type="radio" class="leaflet-control-layers-selector" name="'+A+'"'+(h?' checked="checked"':"")+"/>",F=document.createElement("div");return F.innerHTML=_,F.firstChild},_addItem:function(A){var h=document.createElement("label"),_=this._map.hasLayer(A.layer),F;A.overlay?(F=document.createElement("input"),F.type="checkbox",F.className="leaflet-control-layers-selector",F.defaultChecked=_):F=this._createRadioElement("leaflet-base-layers_"+l(this),_),this._layerControlInputs.push(F),F.layerId=l(A.layer),xt(F,"click",this._onInputClick,this);var R=document.createElement("span");R.innerHTML=" "+A.name;var $=document.createElement("span");h.appendChild($),$.appendChild(F),$.appendChild(R);var le=A.overlay?this._overlaysList:this._baseLayersList;return le.appendChild(h),this._checkDisabledLayers(),h},_onInputClick:function(){if(!this._preventClick){var A=this._layerControlInputs,h,_,F=[],R=[];this._handlingClick=!0;for(var $=A.length-1;$>=0;$--)h=A[$],_=this._getLayer(h.layerId).layer,h.checked?F.push(_):h.checked||R.push(_);for($=0;$<R.length;$++)this._map.hasLayer(R[$])&&this._map.removeLayer(R[$]);for($=0;$<F.length;$++)this._map.hasLayer(F[$])||this._map.addLayer(F[$]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var A=this._layerControlInputs,h,_,F=this._map.getZoom(),R=A.length-1;R>=0;R--)h=A[R],_=this._getLayer(h.layerId).layer,h.disabled=_.options.minZoom!==void 0&&F<_.options.minZoom||_.options.maxZoom!==void 0&&F>_.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var A=this._section;this._preventClick=!0,xt(A,"click",Nt),this.expand();var h=this;setTimeout(function(){Nn(A,"click",Nt),h._preventClick=!1})}}),Uc=function(A,h,_){return new Wo(A,h,_)},Pr=di.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(A){var h="leaflet-control-zoom",_=dn("div",h+" leaflet-bar"),F=this.options;return this._zoomInButton=this._createButton(F.zoomInText,F.zoomInTitle,h+"-in",_,this._zoomIn),this._zoomOutButton=this._createButton(F.zoomOutText,F.zoomOutTitle,h+"-out",_,this._zoomOut),this._updateDisabled(),A.on("zoomend zoomlevelschange",this._updateDisabled,this),_},onRemove:function(A){A.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(A){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(A.shiftKey?3:1))},_zoomOut:function(A){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(A.shiftKey?3:1))},_createButton:function(A,h,_,F,R){var $=dn("a",_,F);return $.innerHTML=A,$.href="#",$.title=h,$.setAttribute("role","button"),$.setAttribute("aria-label",h),Ul($),xt($,"click",hn),xt($,"click",R,this),xt($,"click",this._refocusOnMap,this),$},_updateDisabled:function(){var A=this._map,h="leaflet-disabled";wn(this._zoomInButton,h),wn(this._zoomOutButton,h),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||A._zoom===A.getMin
500Zoom())&&(Ut(this._zoomOutButton,h),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||A._zoom===A.getMaxZoom())&&(Ut(this._zoomInButton,h),this._zoomInButton.setAttribute("aria-disabled","true"))}});nn.mergeOptions({zoomControl:!0}),nn.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Pr,this.addControl(this.zoomControl))});var gd=function(A){return new Pr(A)},Nc=di.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(A){var h="leaflet-control-scale",_=dn("div",h),F=this.options;return this._addScales(F,h+"-line",_),A.on(F.updateWhenIdle?"moveend":"move",this._update,this),A.whenReady(this._update,this),_},onRemove:function(A){A.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(A,h,_){A.metric&&(this._mScale=dn("div",h,_)),A.imperial&&(this._iScale=dn("div",h,_))},_update:function(){var A=this._map,h=A.getSize().y/2,_=A.distance(A.containerPointToLatLng([0,h]),A.containerPointToLatLng([this.options.maxWidth,h]));this._updateScales(_)},_updateScales:function(A){this.options.metric&&A&&this._updateMetric(A),this.options.imperial&&A&&this._updateImperial(A)},_updateMetric:function(A){var h=this._getRoundNum(A),_=h<1e3?h+" m":h/1e3+" km";this._updateScale(this._mScale,_,h/A)},_updateImperial:function(A){var h=A*3.2808399,_,F,R;h>5280?(_=h/5280,F=this._getRoundNum(_),this._updateScale(this._iScale,F+" mi",F/_)):(R=this._getRoundNum(h),this._updateScale(this._iScale,R+" ft",R/h))},_updateScale:function(A,h,_){A.style.width=Math.round(this.options.maxWidth*_)+"px",A.innerHTML=h},_getRoundNum:function(A){var h=Math.pow(10,(Math.floor(A)+"").length-1),_=A/h;return _=_>=10?10:_>=5?5:_>=3?3:_>=2?2:1,h*_}}),md=function(A){return new Nc(A)},vd='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',tu=di.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(ze.inlineSvg?vd+" ":"")+"Leaflet</a>"},initialize:function(A){y(this,A),this._attributions={}},onAdd:function(A){A.attributionControl=this,this._container=dn("div","leaflet-control-attribution"),Ul(this._container);for(var h in A._layers)A._layers[h].getAttribution&&this.addAttribution(A._layers[h].getAttribution());return this._update(),A.on("layeradd",this._addAttribution,this),this._container},onRemove:function(A){A.off("layeradd",this._addAttribution,this)},_addAttribution:function(A){A.layer.getAttribution&&(this.addAttribution(A.layer.getAttribution()),A.layer.once("remove",function(){this.removeAttribution(A.layer.getAttribution())},this))},setPrefix:function(A){return this.options.prefix=A,this._update(),this},addAttribution:function(A){return A?(this._attributions[A]||(this._attributions[A]=0),this._attributions[A]++,this._update(),this):this},removeAttribution:function(A){return A?(this._attributions[A]&&(this._attributions[A]--,this._update()),this):this},_update:function(){if(this._map){var A=[];for(var h in this._attributions)this._attributions[h]&&A.push(h);var _=[];this.options.prefix&&_.push(this.options.prefix),A.length&&_.push(A.join(", ")),this._container.innerHTML=_.join(' <span aria-hidden="true">|</span> ')}}});nn.mergeOptions({attributionControl:!0}),nn.addInitHook(function(){this.options.attributionControl&&new tu().addTo(this)});var _d=function(A){return new tu(A)};di.Layers=Wo,di.Zoom=Pr,di.Scale=Nc,di.Attribution=tu,Gi.layers=Uc,Gi.zoom=gd,Gi.scale=md,Gi.attribution=_d;var er=ae.extend({initialize:function(A){this._map=A},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});er.addTo=function(A,h){return A.addHandler(h,this),this};var Dp={Events:ee},hi=ze.touch?"touchstart mousedown":"mousedown",Ca=re.extend({options:{clickTolerance:3},initialize:function(A,h,_,F){y(this,F),this._element=A,this._dragStartTarget=h||A,this._preventOutline=_},enable:function(){this._enabled||(xt(this._dragStartTarget,hi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Ca._dragging===this&&this.finishDrag(!0),Nn(this._dragStartTarget,hi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(A){if(this._enabled&&(this._moved=!1,!Tc(this._element,"leaflet-zoom-anim"))){if(A.touches&&A.touches.length!==1){Ca._dragging===this&&this.finishDrag();return}if(!(Ca._dragging||A.shiftKey||A.which!==1&&A.button!==1&&!A.touches)&&(Ca._dragging=this,this._preventOutline&&qA(this._element),kc(),ls(),!this._moving)){this.fire("down");var h=A.touches?A.touches[0]:A,_=XA(this._element);this._startPoint=new X(h.clientX,h.clientY),this._startPos=zo(this._element),this._parentScale=Ic(_);var F=A.type==="mousedown";xt(document,F?"mousemove":"touchmove",this._onMove,this),xt(document,F?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(A){if(this._enabled){if(A.touches&&A.touches.length>1){this._moved=!0;return}var h=A.touches&&A.touches.length===1?A.touches[0]:A,_=new X(h.clientX,h.clientY)._subtract(this._startPoint);!_.x&&!_.y||Math.abs(_.x)+Math.abs(_.y)<this.options.clickTolerance||(_.x/=this._parentScale.x,_.y/=this._parentScale.y,Nt(A),this._moved||(this.fire("dragstart"),this._moved=!0,Ut(document.body,"leaflet-dragging"),this._lastTarget=A.target||A.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),Ut(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(_),this._moving=!0,this._lastEvent=A,this._updatePosition())}},_updatePosition:function(){var A={originalEvent:this._lastEvent};this.fire("predrag",A),ar(this._element,this._newPos),this.fire("drag",A)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(A){wn(document.body,"leaflet-dragging"),this._lastTarget&&(wn(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Nn(document,"mousemove touchmove",this._onMove,this),Nn(document,"mouseup touchend touchcancel",this._onUp,this),GA(),Ii();var h=this._moved&&this._moving;this._moving=!1,Ca._dragging=!1,h&&this.fire("dragend",{noInertia:A,distance:this._newPos.distanceTo(this._startPos)})}});function Mc(A,h,_){var F,R=[1,4,2,8],$,le,ye,Be,Ne,et,yt,Qt;for($=0,et=A.length;$<et;$++)A[$]._code=gi(A[$],h);for(ye=0;ye<4;ye++){for(yt=R[ye],F=[],$=0,et=A.length,le=et-1;$<et;le=$++)Be=A[$],Ne=A[le],Be._code&yt?Ne._code&yt||(Qt=ru(Ne,Be,yt,h,_),Qt._code=gi(Qt,h),F.push(Qt)):(Ne._co
500de&yt&&(Qt=ru(Ne,Be,yt,h,_),Qt._code=gi(Qt,h),F.push(Qt)),F.push(Be));A=F}return A}function Go(A,h){var _,F,R,$,le,ye,Be,Ne,et;if(!A||A.length===0)throw new Error("latlngs not passed");mi(A)||(console.warn("latlngs are not flat! Only the first ring will be used"),A=A[0]);var yt=oe([0,0]),Qt=te(A),dr=Qt.getNorthWest().distanceTo(Qt.getSouthWest())*Qt.getNorthEast().distanceTo(Qt.getNorthWest());dr<1700&&(yt=$s(A));var tr=A.length,Kr=[];for(_=0;_<tr;_++){var Wn=oe(A[_]);Kr.push(h.project(oe([Wn.lat-yt.lat,Wn.lng-yt.lng])))}for(ye=Be=Ne=0,_=0,F=tr-1;_<tr;F=_++)R=Kr[_],$=Kr[F],le=R.y*$.x-$.y*R.x,Be+=(R.x+$.x)*le,Ne+=(R.y+$.y)*le,ye+=le*3;ye===0?et=Kr[0]:et=[Be/ye,Ne/ye];var Yi=h.unproject(N(et));return oe([Yi.lat+yt.lat,Yi.lng+yt.lng])}function $s(A){for(var h=0,_=0,F=0,R=0;R<A.length;R++){var $=oe(A[R]);h+=$.lat,_+=$.lng,F++}return oe([h/F,_/F])}var pi={__proto__:null,clipPolygon:Mc,polygonCenter:Go,centroid:$s};function Ln(A,h){if(!h||!A.length)return A.slice();var _=h*h;return A=Rp(A,_),A=yd(A,_),A}function Yo(A,h,_){return Math.sqrt(Ml(A,h,_,!0))}function nu(A,h,_){return Ml(A,h,_)}function yd(A,h){var _=A.length,F=typeof Uint8Array!=void 0+""?Uint8Array:Array,R=new F(_);R[0]=R[_-1]=1,Nl(A,R,h,0,_-1);var $,le=[];for($=0;$<_;$++)R[$]&&le.push(A[$]);return le}function Nl(A,h,_,F,R){var $=0,le,ye,Be;for(ye=F+1;ye<=R-1;ye++)Be=Ml(A[ye],A[F],A[R],!0),Be>$&&(le=ye,$=Be);$>_&&(h[le]=1,Nl(A,h,_,F,le),Nl(A,h,_,le,R))}function Rp(A,h){for(var _=[A[0]],F=1,R=0,$=A.length;F<$;F++)js(A[F],A[R])>h&&(_.push(A[F]),R=F);return R<$-1&&_.push(A[$-1]),_}var Qc;function wd(A,h,_,F,R){var $=F?Qc:gi(A,_),le=gi(h,_),ye,Be,Ne;for(Qc=le;;){if(!($|le))return[A,h];if($&le)return!1;ye=$||le,Be=ru(A,h,ye,_,R),Ne=gi(Be,_),ye===$?(A=Be,$=Ne):(h=Be,le=Ne)}}function ru(A,h,_,F,R){var $=h.x-A.x,le=h.y-A.y,ye=F.min,Be=F.max,Ne,et;return _&8?(Ne=A.x+$*(Be.y-A.y)/le,et=Be.y):_&4?(Ne=A.x+$*(ye.y-A.y)/le,et=ye.y):_&2?(Ne=Be.x,et=A.y+le*(Be.x-A.x)/$):_&1&&(Ne=ye.x,et=A.y+le*(ye.x-A.x)/$),new X(Ne,et,R)}function gi(A,h){var _=0;return A.x<h.min.x?_|=1:A.x>h.max.x&&(_|=2),A.y<h.min.y?_|=4:A.y>h.max.y&&(_|=8),_}function js(A,h){var _=h.x-A.x,F=h.y-A.y;return _*_+F*F}function Ml(A,h,_,F){var R=h.x,$=h.y,le=_.x-R,ye=_.y-$,Be=le*le+ye*ye,Ne;return Be>0&&(Ne=((A.x-R)*le+(A.y-$)*ye)/Be,Ne>1?(R=_.x,$=_.y):Ne>0&&(R+=le*Ne,$+=ye*Ne)),le=A.x-R,ye=A.y-$,F?le*le+ye*ye:new X(R,$)}function mi(A){return!E(A[0])||typeof A[0][0]!="object"&&typeof A[0][0]<"u"}function Hc(A){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mi(A)}function Ql(A,h){var _,F,R,$,le,ye,Be,Ne;if(!A||A.length===0)throw new Error("latlngs not passed");mi(A)||(console.warn("latlngs are not flat! Only the first ring will be used"),A=A[0]);var et=oe([0,0]),yt=te(A),Qt=yt.getNorthWest().distanceTo(yt.getSouthWest
vendor: 4,083 bytes, line 500
500())*yt.getNorthEast().distanceTo(yt.getNorthWest());Qt<1700&&(et=$s(A));var dr=A.length,tr=[];for(_=0;_<dr;_++){var Kr=oe(A[_]);tr.push(h.project(oe([Kr.lat-et.lat,Kr.lng-et.lng])))}for(_=0,F=0;_<dr-1;_++)F+=tr[_].distanceTo(tr[_+1])/2;if(F===0)Ne=tr[0];else for(_=0,$=0;_<dr-1;_++)if(le=tr[_],ye=tr[_+1],R=le.distanceTo(ye),$+=R,$>F){Be=($-F)/R,Ne=[ye.x-Be*(ye.x-le.x),ye.y-Be*(ye.y-le.y)];break}var Wn=h.unproject(N(Ne));return oe([Wn.lat+et.lat,Wn.lng+et.lng])}var $c={__proto__:null,simplify:Ln,pointToSegmentDistance:Yo,closestPointOnSegment:nu,clipSegment:wd,_getEdgeIntersection:ru,_getBitCode:gi,_sqClosestPointOnSegment:Ml,isFlat:mi,_flat:Hc,polylineCenter:Ql},iu={project:function(A){return new X(A.lng,A.lat)},unproject:function(A){return new J(A.y,A.x)},bounds:new pe([-180,-90],[180,90])},ou={R:6378137,R_MINOR:6356752314245179e-9,bounds:new pe([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(A){var h=Math.PI/180,_=this.R,F=A.lat*h,R=this.R_MINOR/_,$=Math.sqrt(1-R*R),le=$*Math.sin(F),ye=Math.tan(Math.PI/4-F/2)/Math.pow((1-le)/(1+le),$/2);return F=-_*Math.log(Math.max(ye,1e-10)),new X(A.lng*h*_,F)},unproject:function(A){for(var h=180/Math.PI,_=this.R,F=this.R_MINOR/_,R=Math.sqrt(1-F*F),$=Math.exp(-A.y/_),le=Math.PI/2-2*Math.atan($),ye=0,Be=.1,Ne;ye<15&&Math.abs(Be)>1e-7;ye++)Ne=R*Math.sin(le),Ne=Math.pow((1-Ne)/(1+Ne),R/2),Be=Math.PI/2-2*Math.atan($*Ne)-le,le+=Be;return new J(le*h,A.x*h/_)}},au={__proto__:null,LonLat:iu,Mercator:ou,SphericalMercator:we},su=i({},ce,{code:"EPSG:3395",projection:ou,transformation:function(){var A=.5/(Math.PI*ou.R);return Pe(A,.5,-A,.5)}()}),Hl=i({},ce,{code:"EPSG:4326",projection:iu,transformation:Pe(1/180,1,-1/180,.5)}),jc=i({},_e,{projection:iu,transformation:Pe(1,0,-1,0),scale:function(A){return Math.pow(2,A)},zoom:function(A){return Math.log(A)/Math.LN2},distance:function(A,h){var _=h.lng-A.lng,F=h.lat-A.lat;return Math.sqrt(_*_+F*F)},infinite:!0});_e.Earth=ce,_e.EPSG3395=su,_e.EPSG3857=ke,_e.EPSG900913=$e,_e.EPSG4326=Hl,_e.Simple=jc;var Mn=re.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(A){return A.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(A){return A&&A.removeLayer(this),this},getPane:function(A){return this._map.getPane(A?this.options[A]||A:this.options.pane)},addInteractiveTarget:function(A){return this._map._targets[l(A)]=this,this},removeInteractiveTarget:function(A){return delete this._map._targets[l(A)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(A){var h=A.target;if(h.hasLayer(this)){if(this._map=h,this._zoomAnimated=h._zoomAnimated,this.getEvents){var _=this.getEvents();h.on(_,this),this.once("remove",function(){h.off(_,this)},this)}this.onAdd(h),this.fire("add"),h.fire("layeradd",{layer:this})}}});nn.include({addLayer:function(A){if(!A._layerAdd)throw new Error("The provided object is not a Layer.");var h=l(A);return this._layers[h]?this:(this._layers[h]=A,A._mapToAdd=this,A.beforeAdd&&A.beforeAdd(this),this.whenReady(A._layerAdd,A),this)},removeLayer:function(A){var h=l(A);return this._layers[h]?(this._loaded&&A.onRemove(this),delete this._layers[h],this._loaded&&(this.fire("layerremove",{layer:A}),A.fire("remove")),A._map=A._mapToAdd=null,this):this},hasLayer:function(A){return l(A)in this._layers},eachLayer:function(A,h){for(var _ in this._layers)A.call(h,this._layers[_]);return this},_addLayers:function(A){A=A?E(A)?A:[A]:[];for(var h=0,_=A.length;h<_;h++)this.addLayer(A[h])},_addZoomLimit:function(A){(!isNaN(A.options.maxZoom)||!isNaN(A.options.minZoom))&&(this._zoomBoundLayers[l(A)]=A,this._updateZoomLevels())},_removeZoomLimit:function(A){var h=l(A);this._zoomBoundLayers[h]&&(delete this._zoomBoundLayers[h],this._updateZoomLevels())},_updateZoomLevels:function(){var A=1/0,h=-1/0,_=this._getZoomSpan();for(var F in this._zoomBoundLayers){var R=this._zoomBoundLayers[F].options;A=R.minZoom===void 0?A:Math.min(A,R.minZoom),h=R.maxZoom===void 0?h:Math.max(h,R.maxZoom)}
vendor: 10,758 bytes, line 500
500this._layersMaxZoom=h===-1/0?void 0:h,this._layersMinZoom=A===1/0?void 0:A,_!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var xa=Mn.extend({initialize:function(A,h){y(this,h),this._layers={};var _,F;if(A)for(_=0,F=A.length;_<F;_++)this.addLayer(A[_])},addLayer:function(A){var h=this.getLayerId(A);return this._layers[h]=A,this._map&&this._map.addLayer(A),this},removeLayer:function(A){var h=A in this._layers?A:this.getLayerId(A);return this._map&&this._layers[h]&&this._map.removeLayer(this._layers[h]),delete this._layers[h],this},hasLayer:function(A){var h=typeof A=="number"?A:this.getLayerId(A);return h in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(A){var h=Array.prototype.slice.call(arguments,1),_,F;for(_ in this._layers)F=this._layers[_],F[A]&&F[A].apply(F,h);return this},onAdd:function(A){this.eachLayer(A.addLayer,A)},onRemove:function(A){this.eachLayer(A.removeLayer,A)},eachLayer:function(A,h){for(var _ in this._layers)A.call(h,this._layers[_]);return this},getLayer:function(A){return this._layers[A]},getLayers:function(){var A=[];return this.eachLayer(A.push,A),A},setZIndex:function(A){return this.invoke("setZIndex",A)},getLayerId:function(A){return l(A)}}),lu=function(A,h){return new xa(A,h)},sr=xa.extend({addLayer:function(A){return this.hasLayer(A)?this:(A.addEventParent(this),xa.prototype.addLayer.call(this,A),this.fire("layeradd",{layer:A}))},removeLayer:function(A){return this.hasLayer(A)?(A in this._layers&&(A=this._layers[A]),A.removeEventParent(this),xa.prototype.removeLayer.call(this,A),this.fire("layerremove",{layer:A})):this},setStyle:function(A){return this.invoke("setStyle",A)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var A=new P;for(var h in this._layers){var _=this._layers[h];A.extend(_.getBounds?_.getBounds():_.getLatLng())}return A}}),bd=function(A,h){return new sr(A,h)},zs=ae.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(A){y(this,A)},createIcon:function(A){return this._createIcon("icon",A)},createShadow:function(A){return this._createIcon("shadow",A)},_createIcon:function(A,h){var _=this._getIconUrl(A);if(!_){if(A==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var F=this._createImg(_,h&&h.tagName==="IMG"?h:null);return this._setIconStyles(F,A),(this.options.crossOrigin||this.options.crossOrigin==="")&&(F.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),F},_setIconStyles:function(A,h){var _=this.options,F=_[h+"Size"];typeof F=="number"&&(F=[F,F]);var R=N(F),$=N(h==="shadow"&&_.shadowAnchor||_.iconAnchor||R&&R.divideBy(2,!0));A.className="leaflet-marker-"+h+" "+(_.className||""),$&&(A.style.marginLeft=-$.x+"px",A.style.marginTop=-$.y+"px"),R&&(A.style.width=R.x+"px",A.style.height=R.y+"px")},_createImg:function(A,h){return h=h||document.createElement("img"),h.src=A,h},_getIconUrl:function(A){return ze.retina&&this.options[A+"RetinaUrl"]||this.options[A+"Url"]}});function Pp(A){return new zs(A)}var $l=zs.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(A){return typeof $l.imagePath!="string"&&($l.imagePath=this._detectIconPath()),(this.options.imagePath||$l.imagePath)+zs.prototype._getIconUrl.call(this,A)},_stripUrl:function(A){var h=function(_,F,R){var $=F.exec(_);return $&&$[R]};return A=h(A,/^url\((['"])?(.+)\1\)$/,2),A&&h(A,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var A=dn("div","leaflet-default-icon-path",document.body),h=Dl(A,"background-image")||Dl(A,"backgroundImage");if(document.body.removeChild(A),h=this._stripUrl(h),h)return h;var _=document.querySelector('link[href$="leaflet.css"]');return _?_.href.substring(0,_.href.length-11-1):""}}),zc=er.extend({initialize:function(A){this._marker=A},addHooks:function(){var A=this._marker._icon;this._draggable||(this._draggable=new Ca(A,A,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),Ut(A,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&wn(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(A){var h=this._marker,_=h._map,F=this._marker.options.autoPanSpeed,R=this._marker.options.autoPanPadding,$=zo(h._icon),le=_.getPixelBounds(),ye=_.getPixelOrigin(),Be=W(le.min._subtract(ye).add(R),le.max._subtract(ye).subtract(R));if(!Be.contains($)){var Ne=N((Math.max(Be.max.x,$.x)-Be.max.x)/(le.max.x-Be.max.x)-(Math.min(Be.min.x,$.x)-Be.min.x)/(le.min.x-Be.min.x),(Math.max(Be.max.y,$.y)-Be.max.y)/(le.max.y-Be.max.y)-(Math.min(Be.min.y,$.y)-Be.min.y)/(le.min.y-Be.min.y)).multiplyBy(F);_.panBy(Ne,{animate:!1}),this._draggable._newPos._add(Ne),this._draggable._startPos._add(Ne),ar(h._icon,this._draggable._newPos),this._onDrag(A),this._panRequest=z(this._adjustPan.bind(this,A))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(A){this._marker.options.autoPan&&(q(this._panRequest),this._panRequest=z(this._adjustPan.bind(this,A)))},_onDrag:function(A){var h=this._marker,_=h._shadow,F=zo(h._icon),R=h._map.layerPointToLatLng(F);_&&ar(_,F),h._latlng=R,A.latlng=R,A.oldLatLng=this._oldLatLng,h.fire("move",A).fire("drag",A)},_onDragEnd:function(A){q(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",A)}}),jl=Mn.extend({options:{icon:new $l,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(A,h){y(this,h),this._latlng=oe(A)},onAdd:function(A){this._zoomAnimated=this._zoomAnimated&&A.options.markerZoomAnimation,this._zoomAnimated&&A.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(A){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&A.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(A){var h=this._latlng;return this._latlng=oe(A),this.update(),this.fire("move",{oldLatLng:h,latlng:this._latlng})},setZIndexOffset:function(A){return this.options.zIndexOffset=A,this.update()},getIcon:function(){return this.options.icon},setIcon:function(A){return this.options.icon=A,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var A=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(A)}return this},_initIcon:function(){var A=this.options,h="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),_=A.icon.createIcon(this._icon),F=!1;_!==this._icon&&(this._icon&&this._removeIcon(),F=!0,A.title&&(_.title=A.title),_.tagName==="IMG"&&(_.alt=A.alt||"")),Ut(_,h),A.keyboard&&(_.tabIndex="0",_.setAttribute("role","button")),this._icon=_,A.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&xt(_,"focus",this._panOnFocus,this);var R=A.icon.createShadow(this._shadow),$=!1;R!==this._shadow&&(this._removeShadow(),$=!0),R&&(Ut(R,h),R.alt=""),this._shadow=R,A.opacity<1&&this._updateOpacity(),F&&this.getPane().appendChild(this._icon),this._initInteraction(),R&&$&&this.getPane(A.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Nn(this._icon,"focus",this._panOnFocus,this),jn(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&jn(this._shadow),this._shadow=null},_setPos:function(A){this._icon&&ar(this._icon,A),this._shadow&&ar(this._shadow,A),this._zIndex=A.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(A){this._icon&&(this._icon.style.zIndex=this._zIndex+A)},_animateZoom:function(A){var h=this._map._latLngToNewLayerPoint(this._latlng,A.zoom,A.center).round();this._setPos(h)},_initInteraction:function(){if(this.options.interactive&&(Ut(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),zc)){var A=this.options.draggable;this.dragging&&(A=this.dragging.enabled(),this.dragging.disable()),this.dragging=new zc(this),A&&this.dragging.enable()}},setOpacity:function(A){return this.options.opacity=A,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var A=this.options.opacity;this._icon&&Dr(this._icon,A),this._shadow&&Dr(this._shadow,A)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var A=this._map;if(A){var h=this.options.icon.options,_=h.iconSize?N(h.iconSize):N(0,0),F=h.iconAnchor?N(h.iconAnchor):N(0,0);A.panInside(this._latlng,{paddingTopLeft:F,paddingBottomRight:_.subtract(F)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function Vs(A,h){return new jl(A,h)}var Ea=Mn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(A){this._renderer=A.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(A){return y(this,A),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&A&&Object.prototype.hasOwnProperty.call(A,"
500weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Au=Ea.extend({options:{fill:!0,radius:10},initialize:function(A,h){y(this,h),this._latlng=oe(A),this._radius=this.options.radius},setLatLng:function(A){var h=this._latlng;return this._latlng=oe(A),this.redraw(),this.fire("move",{oldLatLng:h,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(A){return this.options.radius=this._radius=A,this.redraw()},getRadius:function(){return this._radius},setStyle:function(A){var h=A&&A.radius||this._radius;return Ea.prototype.setStyle.call(this,A),this.setRadius(h),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var A=this._radius,h=this._radiusY||A,_=this._clickTolerance(),F=[A+_,h+_];this._pxBounds=new pe(this._point.subtract(F),this._point.add(F))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(A){return A.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function Vc(A,h){return new Au(A,h)}var uu=Au.extend({initialize:function(A,h,_){if(typeof h=="number"&&(h=i({},_,{radius:h})),y(this,h),this._latlng=oe(A),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(A){return this._mRadius=A,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var A=[this._radius,this._radiusY||this._radius];return new P(this._map.layerPointToLatLng(this._point.subtract(A)),this._map.layerPointToLatLng(this._point.add(A)))},setStyle:Ea.prototype.setStyle,_project:function(){var A=this._latlng.lng,h=this._latlng.lat,_=this._map,F=_.options.crs;if(F.distance===ce.distance){var R=Math.PI/180,$=this._mRadius/ce.R/R,le=_.project([h+$,A]),ye=_.project([h-$,A]),Be=le.add(ye).divideBy(2),Ne=_.unproject(Be).lat,et=Math.acos((Math.cos($*R)-Math.sin(h*R)*Math.sin(Ne*R))/(Math.cos(h*R)*Math.cos(Ne*R)))/R;(isNaN(et)||et===0)&&(et=$/Math.cos(Math.PI/180*h)),this._point=Be.subtract(_.getPixelOrigin()),this._radius=isNaN(et)?0:Be.x-_.project([Ne,A-et]).x,this._radiusY=Be.y-le.y}else{var yt=F.unproject(F.project(this._latlng).subtract([this._mRadius,0]));this._point=_.latLngToLayerPoint(this._latlng),this._radius=this._point.x-_.latLngToLayerPoint(yt).x}this._updateBounds()}});function Sa(A,h,_){return new uu(A,h,_)}var vi=Ea.extend({options:{smoothFactor:1,noClip:!1},initialize:function(A,h){y(this,h),this._setLatLngs(A)},getLatLngs:function(){return this._latlngs},setLatLngs:function(A){return this._setLatLngs(A),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(A){for(var h=1/0,_=null,F=Ml,R,$,le=0,ye=this._parts.length;le<ye;le++)for(var Be=this._parts[le],Ne=1,et=Be.length;Ne<et;Ne++){R=Be[Ne-1],$=Be[Ne];var yt=F(A,R,$,!0);yt<h&&(h=yt,_=F(A,R,$))}return _&&(_.distance=Math.sqrt(h)),_}
500,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Ql(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(A,h){return h=h||this._defaultShape(),A=oe(A),h.push(A),this._bounds.extend(A),this.redraw()},_setLatLngs:function(A){this._bounds=new P,this._latlngs=this._convertLatLngs(A)},_defaultShape:function(){return mi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(A){for(var h=[],_=mi(A),F=0,R=A.length;F<R;F++)_?(h[F]=oe(A[F]),this._bounds.extend(h[F])):h[F]=this._convertLatLngs(A[F]);return h},_project:function(){var A=new pe;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,A),this._bounds.isValid()&&A.isValid()&&(this._rawPxBounds=A,this._updateBounds())},_updateBounds:function(){var A=this._clickTolerance(),h=new X(A,A);this._rawPxBounds&&(this._pxBounds=new pe([this._rawPxBounds.min.subtract(h),this._rawPxBounds.max.add(h)]))},_projectLatlngs:function(A,h,_){var F=A[0]instanceof J,R=A.length,$,le;if(F){for(le=[],$=0;$<R;$++)le[$]=this._map.latLngToLayerPoint(A[$]),_.extend(le[$]);h.push(le)}else for($=0;$<R;$++)this._projectLatlngs(A[$],h,_)},_clipPoints:function(){var A=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(A))){if(this.options.noClip){this._parts=this._rings;return}var h=this._parts,_,F,R,$,le,ye,Be;for(_=0,R=0,$=this._rings.length;_<$;_++)for(Be=this._rings[_],F=0,le=Be.length;F<le-1;F++)ye=wd(Be[F],Be[F+1],A,F,!0),ye&&(h[R]=h[R]||[],h[R].push(ye[0]),(ye[1]!==Be[F+1]||F===le-2)&&(h[R].push(ye[1]),R++))}},_simplifyPoints:function(){for(var A=this._parts,h=this.options.smoothFactor,_=0,F=A.length;_<F;_++)A[_]=Ln(A[_],h)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(A,h){var _,F,R,$,le,ye,Be=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(A))return!1;for(_=0,$=this._parts.length;_<$;_++)for(ye=this._parts[_],F=0,le=ye.length,R=le-1;F<le;R=F++)if(!(!h&&F===0)&&Yo(A,ye[R],ye[F])<=Be)return!0;return!1}});function Up(A,h){return new vi(A,h)}vi._flat=Hc;var cs=vi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
500,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Go(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(A){var h=vi.prototype._convertLatLngs.call(this,A),_=h.length;return _>=2&&h[0]instanceof J&&h[0].equals(h[_-1])&&h.pop(),h},_setLatLngs:function(A){vi.prototype._setLatLngs.call(this,A),mi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var A=this._renderer._bounds,h=this.options.weight,_=new X(h,h);if(A=new pe(A.min.subtract(_),A.max.add(_)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(A))){if(this.options.noClip){this._parts=this._rings;return}for(var F=0,R=this._rings.length,$;F<R;F++)$=Mc(this._rings[F],A,!0),$.length&&this._parts.push($)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(A){var h=!1,_,F,R,$,le,ye,Be,Ne;if(!this._pxBounds||!this._pxBounds.contains(A))return!1;for($=0,Be=this._parts.length;$<Be;$++)for(_=this._parts[$],le=0,Ne=_.length,ye=Ne-1;le<Ne;ye=le++)F=_[le],R=_[ye],F.y>A.y!=R.y>A.y&&A.x<(R.x-F.x)*(A.y-F.y)/(R.y-F.y)+F.x&&(h=!h);return h||vi.prototype._containsPoint.call(this,A,!0)}});function Kc(A,h){return new cs(A,h)}var oi=sr.extend({initialize:function(A,h){y(this,h),this._layers={},A&&this.addData(A)},addData:function(A){var h=E(A)?A:A.features,_,F,R;if(h){for(_=0,F=h.length;_<F;_++)R=h[_],(R.geometries||R.geometry||R.features||R.coordinates)&&this.addData(R);return this}var $=this.options;if($.filter&&!$.filter(A))return this;var le=ai(A,$);return le?(le.feature=Fa(A),le.defaultOptions=le.options,this.resetStyle(le),$.onEachFeature&&$.onEachFeature(A,le),this.addLayer(le)):this},resetStyle:function(A){return A===void 0?this.eachLayer(this.resetStyle,this):(A.options=i({},A.defaultOptions),this._setLayerStyle(A,this.options.style),this)},setStyle:function(A){return this.eachLayer(function(h){this._setLayerStyle(h,A)},this)},_setLayerStyle:function(A,h){A.setStyle&&(typeof h=="function"&&(h=h(A.feature)),A.setStyle(h))}});function ai(A,h){var _=A.type==="Feature"?A.geometry:A,F=_?_.coordinates:null,R=[],$=h&&h.pointToLayer,le=h&&h.coordsToLatLng||Gc,ye,Be,Ne,et;if(!F&&!_)return null;switch(_.type){case"Point":return ye=le(F),Wc($,A,ye,h);case"MultiPoint":for(Ne=0,et=F.length;Ne<et;Ne++)ye=le(F[Ne]),R.push(Wc($,A,ye,h));return new sr(R);case"LineString":case"MultiLineString":return Be=cu(F,_.type==="LineString"?0:1,le),new vi(Be,h);case"Polygon":case"MultiPolygon":return Be=cu(F,_.type==="Polygon"?1:2,le),new cs(Be,h);case"GeometryCollection":for(Ne=0,et=_.geometries.length;Ne<et;Ne++){var yt=ai({geometry:_.geometries[Ne],type:"Feature",properties:A.properties},h);yt&&R.push(yt)}return new sr(R);case"FeatureCollection":for(Ne=0,et=_.features.length;Ne<et;Ne++){var Qt=ai(_.features[Ne],h);Qt&&R.push(Qt)}return new sr(R);default:throw new Error("Invalid GeoJSON object.")}}function Wc(A,h,_,F){return A?A(h,_):new jl(_,F&&F.markersInheritOptions&&F)}function Gc(A){return new J(A[1],A[0],A[2])}function cu(A,h,_){for(var F=[],R=0,$=A.length,le;R<$;R++)le=h?cu(A[R],h-1,_):(_||Gc)(A[R]),F.push(le);return F}function Yc(A,h){return A=oe(A),A.alt!==void 0?[g(A.lng,h),g(A.lat,h),g(A.alt,h)]:[g(A.lng,h),g(A.lat,h)]}function co(A,h,_,F){for(var R=[],$=0,le=A.length;$<le;$++)R.push(h?co(A[$],mi(A[$])?0:h-1,_,F):Yc(A[$],F));return!h&&_&&R.length>0&&R.push(R[0].slice()),R}function Ks(A,h){return A.feature?i({},A.feature,{geometry:h}):Fa(h)}function Fa(A){return A.type==="Feature"||A.type==="FeatureCollection"?A:{type:"Feature",properties:{},geometry:A}}var de={toGeoJSON:function(A){return Ks(this,{type:"Point",coordinates:Yc(this.getLatLng(),A)})}};jl.include(de),uu.include(de),Au.include(de),vi.include({toGeoJSON:function(A){var h=!mi(this._latlngs),_=co(this._latlngs,h?1:0,!1,A);return Ks(this,{type:(h?"Multi":"")+"LineString",coordinates:_})}}),cs.include({toGeoJSON:function(A){var h=!mi(this._latlngs),_=h&&!mi(this._latlngs[0]),F=co(this._latlngs,_?2:h?1:0,!0,A);return h||(F=[F]),Ks(this,{type:(_?"Multi":"")+"Polygon",coordinates:F})}}),xa.include({toMultiPoint:function(A){var h=[];return this.eachLayer(function(_){h.push(_.toGeoJSON(A).geometry.coordinates)}),Ks(this,{type:"MultiPoint",coordinates:h})},toGeoJSON:function(A){var h=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(h==="MultiPoint")return this.toMultiPoint(A);var _=h==="GeometryCollection",F=[];return this.eachLayer(function(R){if(R.toGeoJSON){var $=R.toGeoJSON(A);if(_)F.push($.geometry);else{var le=Fa($);le.type==="FeatureCollection"?F.push.apply(F,le.features):F.push(le)}}}),_?Ks(this,{geometries:F,type:"GeometryCollection"}):{type:"FeatureCollection",features:F}}});function Te(A,h){return new oi(A,h)}var xe=Te,nt=Mn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(A,h,_){this._url=A,this._bounds=te(h),y(this,_)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Ut(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){jn(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(A){return this.options.opacity=A,this._image&&this._updateOpacity(),this},setStyle:function(A){return A.opacity&&this.setOpacity(A.opacity),this},bringToFront:function(){return this._map&&as(this._image),this},bringToBack:function(){return this._map&&ba(this._image),this},setUrl:function(A){return this._url=A,this._image&&(this._image.src=A),this},setBounds:function(A){return this._bounds=te(A),this._map&&this._reset(),this},getEvents:function(){var A={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(A.zoomanim=this._animateZoom),A},setZIndex:function(A){return this.options.zIndex=A,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var A=this._url.tagName==="IMG",h=this._image=A?this._url:dn("img");if(Ut(h,"leaflet-image-layer"),this._zoomAnimated&&Ut(h,"leaflet-zoom-animated"),this.options.className&&Ut(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onload=a(this.fire,this,"load"),h.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(h.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),A){this._url=h.src;return}h.src=this._url,h.alt=this.options.alt},_animateZoom:function(A){var h=this._map.getZoomScale(A.zoom),_=this._map._latLngBoundsToNewLayerBounds(this._bounds,A.zoom,A.center).min;ss(this._image,_,h)},_reset:function(){var A=this._image,h=new pe(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),_=h.getSize();ar(A,h.min),A.style.width=_.x+"px",A.style.height=_.y+"px"},_updateOpacity:function(){Dr(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var A=this.options.errorOverlayUrl;A&&this._url!==A&&(this._url=A,this._image.src=A)},getCenter:function(){return this._bounds.getCenter()}}),Ot=function(A,h,_){return new nt(A,h,_)},sn=nt.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
vendor: 5,698 bytes, line 500
500ine:!0},_initImage:function(){var A=this._url.tagName==="VIDEO",h=this._image=A?this._url:dn("video");if(Ut(h,"leaflet-image-layer"),this._zoomAnimated&&Ut(h,"leaflet-zoom-animated"),this.options.className&&Ut(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onloadeddata=a(this.fire,this,"load"),A){for(var _=h.getElementsByTagName("source"),F=[],R=0;R<_.length;R++)F.push(_[R].src);this._url=_.length>0?F:[h.src];return}E(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(h.style,"objectFit")&&(h.style.objectFit="fill"),h.autoplay=!!this.options.autoplay,h.loop=!!this.options.loop,h.muted=!!this.options.muted,h.playsInline=!!this.options.playsInline;for(var $=0;$<this._url.length;$++){var le=dn("source");le.src=this._url[$],h.appendChild(le)}}});function fr(A,h,_){return new sn(A,h,_)}var xn=nt.extend({_initImage:function(){var A=this._image=this._url;Ut(A,"leaflet-image-layer"),this._zoomAnimated&&Ut(A,"leaflet-zoom-animated"),this.options.className&&Ut(A,this.options.className),A.onselectstart=d,A.onmousemove=d}});function fu(A,h,_){return new xn(A,h,_)}var fo=Mn.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(A,h){A&&(A instanceof J||E(A))?(this._latlng=oe(A),y(this,h)):(y(this,A),this._source=h),this.options.content&&(this._content=this.options.content)},openOn:function(A){return A=arguments.length?A:this._source._map,A.hasLayer(this)||A.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(A){return this._map?this.close():(arguments.length?this._source=A:A=this._source,this._prepareOpen(),this.openOn(A._map)),this},onAdd:function(A){this._zoomAnimated=A._zoomAnimated,this._container||this._initLayout(),A._fadeAnimated&&Dr(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),A._fadeAnimated&&Dr(this._container,1),this.bringToFront(),this.options.interactive&&(Ut(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(A){A._fadeAnimated?(Dr(this._container,0),this._removeTimeout=setTimeout(a(jn,void 0,this._container),200)):jn(this._container),this.options.interactive&&(wn(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(A){return this._latlng=oe(A),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(A){return this._content=A,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var A={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(A.zoomanim=this._animateZoom),A},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&as(this._container),this},bringToBack:function(){return this._map&&ba(this._container),this},_prepareOpen:function(A){var h=this._source;if(!h._map)return!1;if(h instanceof sr){h=null;var _=this._source._layers;for(var F in _)if(_[F]._map){h=_[F];break}if(!h)return!1;this._source=h}if(!A)if(h.getCenter)A=h.getCenter();else if(h.getLatLng)A=h.getLatLng();else if(h.getBounds)A=h.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(A),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var A=this._contentNode,h=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof h=="string")A.innerHTML=h;else{for(;A.hasChildNodes();)A.removeChild(A.firstChild);A.appendChild(h)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var A=this._map.latLngToLayerPoint(this._latlng),h=N(this.options.offset),_=this._getAnchor();this._zoomAnimated?ar(this._container,A.add(_)):h=h.add(A).add(_);var F=this._containerBottom=-h.y,R=this._containerLeft=-Math.round(this._containerWidth/2)+h.x;this._container.style.bottom=F+"px",this._container.style.left=R+"px"}},_getAnchor:function(){return[0,0]}});nn.include({_initOverlay:function(A,h,_,F){var R=h;return R instanceof A||(R=new A(F).setContent(h)),_&&R.setLatLng(_),R}}),Mn.include({_initOverlay:function(A,h,_,F){var R=_;return R instanceof A?(y(R,F),R._source=this):(R=h&&!F?h:new A(F,this),R.setContent(_)),R}});var Jr=fo.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(A){return A=arguments.length?A:this._source._map,!A.hasLayer(this)&&A._popup&&A._popup.options.autoClose&&A.removeLayer(A._popup),A._popup=this,fo.prototype.openOn.call(this,A)},onAdd:function(A){fo.prototype.onAdd.call(this,A),A.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Ea||this._source.on("preclick",us))},onRemove:function(A){fo.prototype.onRemove.call(this,A),A.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Ea||this._source.off("preclick",us))},getEvents:function(){var A=fo.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(A.preclick=this.close),this.options.keepInView&&
500(A.moveend=this._adjustPan),A},_initLayout:function(){var A="leaflet-popup",h=this._container=dn("div",A+" "+(this.options.className||"")+" leaflet-zoom-animated"),_=this._wrapper=dn("div",A+"-content-wrapper",h);if(this._contentNode=dn("div",A+"-content",_),Ul(h),eu(this._contentNode),xt(h,"contextmenu",us),this._tipContainer=dn("div",A+"-tip-container",h),this._tip=dn("div",A+"-tip",this._tipContainer),this.options.closeButton){var F=this._closeButton=dn("a",A+"-close-button",h);F.setAttribute("role","button"),F.setAttribute("aria-label","Close popup"),F.href="#close",F.innerHTML='<span aria-hidden="true">×</span>',xt(F,"click",function(R){Nt(R),this.close()},this)}},_updateLayout:function(){var A=this._contentNode,h=A.style;h.width="",h.whiteSpace="nowrap";var _=A.offsetWidth;_=Math.min(_,this.options.maxWidth),_=Math.max(_,this.options.minWidth),h.width=_+1+"px",h.whiteSpace="",h.height="";var F=A.offsetHeight,R=this.options.maxHeight,$="leaflet-popup-scrolled";R&&F>R?(h.height=R+"px",Ut(A,$)):wn(A,$),this._containerWidth=this._container.offsetWidth},_animateZoom:function(A){var h=this._map._latLngToNewLayerPoint(this._latlng,A.zoom,A.center),_=this._getAnchor();ar(this._container,h.add(_))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var A=this._map,h=parseInt(Dl(this._container,"marginBottom"),10)||0,_=this._container.offsetHeight+h,F=this._containerWidth,R=new X(this._containerLeft,-_-this._containerBottom);R._add(zo(this._container));var $=A.layerPointToContainerPoint(R),le=N(this.options.autoPanPadding),ye=N(this.options.autoPanPaddingTopLeft||le),Be=N(this.options.autoPanPaddingBottomRight||le),Ne=A.getSize(),et=0,yt=0;$.x+F+Be.x>Ne.x&&(et=$.x+F-Ne.x+Be.x),$.x-et-ye.x<0&&(et=$.x-ye.x),$.y+_+Be.y>Ne.y&&(yt=$.y+_-Ne.y+Be.y),$.y-yt-ye.y<0&&(yt=$.y-ye.y),(et||yt)&&(this.options.keepInView&&(this._autopanning=!0),A.fire("autopanstart").panBy([et,yt]))}},_getAnchor:function(){return N(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),du=function(A,h){return new Jr(A,h)};nn.mergeOptions({closePopupOnClick:!0}),nn.include({openPopup:function(A,h,_){return this._initOverlay(Jr,A,h,_).openOn(this),this},closePopup:function(A){return A=arguments.length?A:this._popup,A&&A.close(),this}}),Mn.include({bindPopup:function(A,h){return this._popup=this._initOverlay(Jr,this._popup,A,h),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(A){return this._popup&&(this instanceof sr||(this._popup._source=this),this._popup._prepareOpen(A||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(A){return this._popup&&this._popup.setContent(A),this},getPopup:function(){return this._popup},_openPopup:function(A){if(!(!this._popup||!this._map)){hn(A);var h=A.layer||A.target;if(this._popup._source===h&&!(h instanceof Ea)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(A.latlng);return}this._popup._source=h,this.openPopup(A.latlng)}},_movePopup:function(A){this._popup.setLatLng(A.latlng)},_onKeyPress:function(A){A.originalEvent.keyCode===13&&this._openPopup(A)}});var zl=fo.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(A){fo.prototype.onAdd.call(this,A),this.setOpacity(this.options.opacity),A.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(A){fo.prototype.onRemove.call(this,A),A.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var A=fo.prototype.getEvents.call(this);return this.options.permanent||(A.preclick=this.close),A},_initLayout:function(){var A="leaflet-tooltip",h=A+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=dn("div",h),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+l(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(A){var h,_,F=this._map,R=this._container,$=F.latLngToContainerPoint(F.getCenter()),le=F.layerPointToContainerPoint(A),ye=this.options.direction,Be=R.offsetWidth,Ne=R.offsetHeight,et=N(this.options.offset),yt=this._getAnchor();ye==="top"?(h=Be/2,_=Ne):ye==="bottom"?(h=Be/2,_=0):ye==="center"?(h=Be/2,_=Ne/2):ye==="right"?(h=0,_=Ne/2):ye==="left"?
vendor: 6,462 bytes, line 500
500(h=Be,_=Ne/2):le.x<$.x?(ye="right",h=0,_=Ne/2):(ye="left",h=Be+(et.x+yt.x)*2,_=Ne/2),A=A.subtract(N(h,_,!0)).add(et).add(yt),wn(R,"leaflet-tooltip-right"),wn(R,"leaflet-tooltip-left"),wn(R,"leaflet-tooltip-top"),wn(R,"leaflet-tooltip-bottom"),Ut(R,"leaflet-tooltip-"+ye),ar(R,A)},_updatePosition:function(){var A=this._map.latLngToLayerPoint(this._latlng);this._setPosition(A)},setOpacity:function(A){this.options.opacity=A,this._container&&Dr(this._container,A)},_animateZoom:function(A){var h=this._map._latLngToNewLayerPoint(this._latlng,A.zoom,A.center);this._setPosition(h)},_getAnchor:function(){return N(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),fs=function(A,h){return new zl(A,h)};nn.include({openTooltip:function(A,h,_){return this._initOverlay(zl,A,h,_).openOn(this),this},closeTooltip:function(A){return A.close(),this}}),Mn.include({bindTooltip:function(A,h){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(zl,this._tooltip,A,h),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(A){if(!(!A&&this._tooltipHandlersAdded)){var h=A?"off":"on",_={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?_.add=this._openTooltip:(_.mouseover=this._openTooltip,_.mouseout=this.closeTooltip,_.click=this._openTooltip,this._map?this._addFocusListeners():_.add=this._addFocusListeners),this._tooltip.options.sticky&&(_.mousemove=this._moveTooltip),this[h](_),this._tooltipHandlersAdded=!A}},openTooltip:function(A){return this._tooltip&&(this instanceof sr||(this._tooltip._source=this),this._tooltip._prepareOpen(A)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(A){return this._tooltip&&this._tooltip.setContent(A),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(A){var h=typeof A.getElement=="function"&&A.getElement();h&&(xt(h,"focus",function(){this._tooltip._source=A,this.openTooltip()},this),xt(h,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(A){var h=typeof A.getElement=="function"&&A.getElement();h&&h.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(A){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var h=this;this._map.once("moveend",function(){h._openOnceFlag=!1,h._openTooltip(A)});return}this._tooltip._source=A.layer||A.target,this.openTooltip(this._tooltip.options.sticky?A.latlng:void 0)}},_moveTooltip:function(A){var h=A.latlng,_,F;this._tooltip.options.sticky&&A.originalEvent&&(_=this._map.mouseEventToContainerPoint(A.originalEvent),F=this._map.containerPointToLayerPoint(_),h=this._map.layerPointToLatLng(F)),this._tooltip.setLatLng(h)}});var Vl=zs.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(A){var h=A&&A.tagName==="DIV"?A:document.createElement("div"),_=this.options;if(_.html instanceof Element?(Rl(h),h.appendChild(_.html)):h.innerHTML=_.html!==!1?_.html:"",_.bgPos){var F=N(_.bgPos);h.style.backgroundPosition=-F.x+"px "+-F.y+"px"}return this._setIconStyles(h,"icon"),h},createShadow:function(){return null}});function hu(A){return new Vl(A)}zs.Default=$l;var ln=Mn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:ze.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(A){y(this,A)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(A){A._addZoomLimit(this)},onRemove:function(A){this._removeAllTiles(),jn(this._container),A._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(as(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ba(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(A){return this.options.opacity=A,this._updateOpacity(),this},setZIndex:function(A){return this.options.zIndex=A,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var A=this._clampZoom(this._map.getZoom());A!==this._tileZoom&&(this._tileZoom=A,this._updateLevels()),this._update()}return this},getEvents:function(){var A={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=u(this._onMoveEnd,this.options.updateInterval,this)),A.move=this._onMove),this._zoomAnimated&&(A.zoomanim=this._animateZoom),A},createTile:function(){return document.createElement("div")},getTileSize:function(){var A=this.options.tileSize;return A instanceof X?A:new X(A,A)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(A){for(var h=this.getPane().children,_=-A(-1/0,1/0),F=0,R=h.length,$;F<R;F++)$=h[F].style.zIndex,h[F]!==this._container&&$&&(_=A(_,+$));isFinite(_)&&(this.options.zIndex=_+A(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!ze.ielt9){Dr(this._container,this.options.opacity);var A=+new Date,h=!1,_=!1;for(var F in this._tiles){var R=this._tiles[F];if(!(!R.current||!R.loaded)){var $=Math.min(1,(A-R.loaded)/200);Dr(R.el,$),$<1?h=!0:(R.active?_=!0:this._onOpaqueTile(R),R.active=!0)}}_&&!this._noPrune&&this._pruneTiles(),h&&(q(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this))}}
vendor: 4,881 bytes, line 500
500,_onOpaqueTile:d,_initContainer:function(){this._container||(this._container=dn("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var A=this._tileZoom,h=this.options.maxZoom;if(A!==void 0){for(var _ in this._levels)_=Number(_),this._levels[_].el.children.length||_===A?(this._levels[_].el.style.zIndex=h-Math.abs(A-_),this._onUpdateLevel(_)):(jn(this._levels[_].el),this._removeTilesAtZoom(_),this._onRemoveLevel(_),delete this._levels[_]);var F=this._levels[A],R=this._map;return F||(F=this._levels[A]={},F.el=dn("div","leaflet-tile-container leaflet-zoom-animated",this._container),F.el.style.zIndex=h,F.origin=R.project(R.unproject(R.getPixelOrigin()),A).round(),F.zoom=A,this._setZoomTransform(F,R.getCenter(),R.getZoom()),d(F.el.offsetWidth),this._onCreateLevel(F)),this._level=F,F}},_onUpdateLevel:d,_onRemoveLevel:d,_onCreateLevel:d,_pruneTiles:function(){if(this._map){var A,h,_=this._map.getZoom();if(_>this.options.maxZoom||_<this.options.minZoom){this._removeAllTiles();return}for(A in this._tiles)h=this._tiles[A],h.retain=h.current;for(A in this._tiles)if(h=this._tiles[A],h.current&&!h.active){var F=h.coords;this._retainParent(F.x,F.y,F.z,F.z-5)||this._retainChildren(F.x,F.y,F.z,F.z+2)}for(A in this._tiles)this._tiles[A].retain||this._removeTile(A)}},_removeTilesAtZoom:function(A){for(var h in this._tiles)this._tiles[h].coords.z===A&&this._removeTile(h)},_removeAllTiles:function(){for(var A in this._tiles)this._removeTile(A)},_invalidateAll:function(){for(var A in this._levels)jn(this._levels[A].el),this._onRemoveLevel(Number(A)),delete this._levels[A];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(A,h,_,F){var R=Math.floor(A/2),$=Math.floor(h/2),le=_-1,ye=new X(+R,+$);ye.z=+le;var Be=this._tileCoordsToKey(ye),Ne=this._tiles[Be];return Ne&&Ne.active?(Ne.retain=!0,!0):(Ne&&Ne.loaded&&(Ne.retain=!0),le>F?this._retainParent(R,$,le,F):!1)},_retainChildren:function(A,h,_,F){for(var R=2*A;R<2*A+2;R++)for(var $=2*h;$<2*h+2;$++){var le=new X(R,$);le.z=_+1;var ye=this._tileCoordsToKey(le),Be=this._tiles[ye];if(Be&&Be.active){Be.retain=!0;continue}else Be&&Be.loaded&&(Be.retain=!0);_+1<F&&this._retainChildren(R,$,_+1,F)}},_resetView:function(A){var h=A&&(A.pinch||A.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),h,h)},_animateZoom:function(A){this._setView(A.center,A.zoom,!0,A.noUpdate)},_clampZoom:function(A){var h=this.options;return h.minNativeZoom!==void 0&&A<h.minNativeZoom?h.minNativeZoom:h.maxNativeZoom!==void 0&&h.maxNativeZoom<A?h.maxNativeZoom:A},_setView:function(A,h,_,F){var R=Math.round(h);this.options.maxZoom!==void 0&&R>this.options.maxZoom||this.options.minZoom!==void 0&&R<this.options.minZoom?R=void 0:R=this._clampZoom(R);var $=this.options.updateWhenZooming&&R!==this._tileZoom;(!F||$)&&(this._tileZoom=R,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),R!==void 0&&this._update(A),_||this._pruneTiles(),this._noPrune=!!_),this._setZoomTransforms(A,h)},_setZoomTransforms:function(A,h){for(var _ in this._levels)this._setZoomTransform(this._levels[_],A,h)},_setZoomTransform:function(A,h,_){var F=this._map.getZoomScale(_,A.zoom),R=A.origin.multiplyBy(F).subtract(this._map._getNewPixelOrigin(h,_)).round();ze.any3d?ss(A.el,R,F):ar(A.el,R)},_resetGrid:function(){var A=this._map,h=A.options.crs,_=this._tileSize=this.getTileSize(),F=this._tileZoom,R=this._map.getPixelWorldBounds(this._tileZoom);R&&(this._globalTileRange=this._pxBoundsToTileRange(R)),this._wrapX=h.wrapLng&&!this.options.noWrap&&[Math.floor(A.project([0,h.wrapLng[0]],F).x/_.x),Math.ceil(A.project([0,h.wrapLng[1]],F).x/_.y)],this._wrapY=h.wrapLat&&!this.options.noWrap&&[Math.floor(A.project([h.wrapLat[0],0],F).y/_.x),Math.ceil(A.project([h.wrapLat[1],0],F).y/_.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(A){var h=this._map,_=h._animatingZoom?Math.max(h._animateToZoom,h.getZoom()):h.getZoom(),F=h.getZoomScale(_,this._tileZoom),R=h.project(A,this._tileZoom).floor(),$=h.getSize().divideBy(F*2);return new pe(R.subtract($),R.add($))},_update:function(A){var h=this._map;if(h){var _=this._clampZoom(h.getZoom());if(A===void 0&&(A=h.getCenter()),this._tileZoom!==void 0){var F=this._getTiledPixelBounds(A),R=this._pxBoundsToTileRange(F),$=R.getCenter(),le=[],ye=this.options.keepBuffer,Be=new pe(R.getBottomLeft().subtract([ye,-ye]),R.getTopRight().add([ye,-ye]));if(!(isFinite(R.min.x)&&isFinite(R.min.y)&&isFinite(R.max.x)&&isFinite(R.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var Ne in this._tiles){var et=this._tiles[Ne].coords;(et.z!==this._tileZoom||!Be.contains(new X(et.x,et.y)))&&(this._tiles[Ne].current=!1)}if(Math.abs(_-this._tileZoom)>
vendor: 8,080 bytes, line 500
5001){this._setView(A,_);return}for(var yt=R.min.y;yt<=R.max.y;yt++)for(var Qt=R.min.x;Qt<=R.max.x;Qt++){var dr=new X(Qt,yt);if(dr.z=this._tileZoom,!!this._isValidTile(dr)){var tr=this._tiles[this._tileCoordsToKey(dr)];tr?tr.current=!0:le.push(dr)}}if(le.sort(function(Wn,Yi){return Wn.distanceTo($)-Yi.distanceTo($)}),le.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Kr=document.createDocumentFragment();for(Qt=0;Qt<le.length;Qt++)this._addTile(le[Qt],Kr);this._level.el.appendChild(Kr)}}}},_isValidTile:function(A){var h=this._map.options.crs;if(!h.infinite){var _=this._globalTileRange;if(!h.wrapLng&&(A.x<_.min.x||A.x>_.max.x)||!h.wrapLat&&(A.y<_.min.y||A.y>_.max.y))return!1}if(!this.options.bounds)return!0;var F=this._tileCoordsToBounds(A);return te(this.options.bounds).overlaps(F)},_keyToBounds:function(A){return this._tileCoordsToBounds(this._keyToTileCoords(A))},_tileCoordsToNwSe:function(A){var h=this._map,_=this.getTileSize(),F=A.scaleBy(_),R=F.add(_),$=h.unproject(F,A.z),le=h.unproject(R,A.z);return[$,le]},_tileCoordsToBounds:function(A){var h=this._tileCoordsToNwSe(A),_=new P(h[0],h[1]);return this.options.noWrap||(_=this._map.wrapLatLngBounds(_)),_},_tileCoordsToKey:function(A){return A.x+":"+A.y+":"+A.z},_keyToTileCoords:function(A){var h=A.split(":"),_=new X(+h[0],+h[1]);return _.z=+h[2],_},_removeTile:function(A){var h=this._tiles[A];h&&(jn(h.el),delete this._tiles[A],this.fire("tileunload",{tile:h.el,coords:this._keyToTileCoords(A)}))},_initTile:function(A){Ut(A,"leaflet-tile");var h=this.getTileSize();A.style.width=h.x+"px",A.style.height=h.y+"px",A.onselectstart=d,A.onmousemove=d,ze.ielt9&&this.options.opacity<1&&Dr(A,this.options.opacity)},_addTile:function(A,h){var _=this._getTilePos(A),F=this._tileCoordsToKey(A),R=this.createTile(this._wrapCoords(A),a(this._tileReady,this,A));this._initTile(R),this.createTile.length<2&&z(a(this._tileReady,this,A,null,R)),ar(R,_),this._tiles[F]={el:R,coords:A,current:!0},h.appendChild(R),this.fire("tileloadstart",{tile:R,coords:A})},_tileReady:function(A,h,_){h&&this.fire("tileerror",{error:h,tile:_,coords:A});var F=this._tileCoordsToKey(A);_=this._tiles[F],_&&(_.loaded=+new Date,this._map._fadeAnimated?(Dr(_.el,0),q(this._fadeFrame),this._fadeFrame=z(this._updateOpacity,this)):(_.active=!0,this._pruneTiles()),h||(Ut(_.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:_.el,coords:A})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),ze.ielt9||!this._map._fadeAnimated?z(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(A){return A.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(A){var h=new X(this._wrapX?f(A.x,this._wrapX):A.x,this._wrapY?f(A.y,this._wrapY):A.y);return h.z=A.z,h},_pxBoundsToTileRange:function(A){var h=this.getTileSize();return new pe(A.min.unscaleBy(h).floor(),A.max.unscaleBy(h).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var A in this._tiles)if(!this._tiles[A].loaded)return!1;return!0}});function Np(A){return new ln(A)}var ds=ln.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(A,h){this._url=A,h=y(this,h),h.detectRetina&&ze.retina&&h.maxZoom>0?(h.tileSize=Math.floor(h.tileSize/2),h.zoomReverse?(h.zoomOffset--,h.minZoom=Math.min(h.maxZoom,h.minZoom+1)):(h.zoomOffset++,h.maxZoom=Math.max(h.minZoom,h.maxZoom-1)),h.minZoom=Math.max(0,h.minZoom)):h.zoomReverse?h.minZoom=Math.min(h.maxZoom,h.minZoom):h.maxZoom=Math.max(h.minZoom,h.maxZoom),typeof h.subdomains=="string"&&(h.subdomains=h.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(A,h){return this._url===A&&h===void 0&&(h=!0),this._url=A,h||this.redraw(),this},createTile:function(A,h){var _=document.createElement("img");return xt(_,"load",a(this._tileOnLoad,this,h,_)),xt(_,"error",a(this._tileOnError,this,h,_)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(_.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(_.referrerPolicy=this.options.referrerPolicy),_.alt="",_.src=this.getTileUrl(A),_},getTileUrl:function(A){var h={r:ze.retina?"@2x":"",s:this._getSubdomain(A),x:A.x,y:A.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var _=this._globalTileRange.max.y-A.y;this.options.tms&&(h.y=_),h["-y"]=_}return b(this._url,i(h,this.options))},_tileOnLoad:function(A,h){ze.ielt9?setTimeout(a(A,this,null,h),0):A(null,h)},_tileOnError:function(A,h,_){var F=this.options.errorTileUrl;F&&h.getAttribute("src")!==F&&(h.src=F),A(_,h)},_onTileRemove:function(A){A.tile.onload=null},_getZoomForUrl:function(){var A=this._tileZoom,h=this.options.maxZoom,_=this.options.zoomReverse,F=this.options.zoomOffset;return _&&(A=h-A),A+F},_getSubdomain:function(A){var h=Math.abs(A.x+A.y)%this.options.subdomains.length;return this.options.subdomains[h]},_abortLoading:function(){var A,h;for(A in this._tiles)if(this._tiles[A].coords.z!==this._tileZoom&&(h=this._tiles[A].el,h.onload=d,h.onerror=d,!h.complete)){h.src=D;var _=this._tiles[A].coords;jn(h),delete this._tiles[A],this.fire("tileabort",{tile:h,coords:_})}},_removeTile:function(A){var h=this._tiles[A];if(h)return h.el.setAttribute("src",D),ln.prototype._removeTile.call(this,A)},_tileReady:function(A,h,_){if(!(!this._map||_&&_.getAttribute("src")===D))return ln.prototype._tileReady.call(this,A,h,_)}});function Kl(A,h){return new ds(A,h)}var ho=ds.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(A,h){this._url=A;var _=i({},this.defaultWmsParams);for(var F in h)F in this.options||(_[F]=h[F]);h=y(this,h);var R=h.detectRetina&&ze.retina?2:1,$=this.getTileSize();_.width=$.x*R,_.height=$.y*R,this.wmsParams=_},onAdd:function(A){this._crs=this.options.crs||A.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var h=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[h]=this._crs.code,ds.prototype.onAdd.call(this,A)},getTileUrl:function(A){var h=this._tileCoordsToNwSe(A),_=this._crs,F=W(_.project(h[0]),_.project(h[1])),R=F.min,$=F.max,le=(this._wmsVersion>=1.3&&this._crs===Hl?[R.y,R.x,$.y,$.x]:[R.x,R.y,$.x,$.y]).join(","),ye=ds.prototype.getTileUrl.call(this,A);return ye+x(this.wmsParams,ye,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+le},setParams:function(A,h){return i(this.wmsParams,A),h||this.redraw(),this}});function n_(A,h){return new ho(A,h)}ds.WMS=ho,Kl.wms=n_;var po=Mn.extend({options:{padding:.1},initialize:function(A){y(this,A),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Ut(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var A={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(A.zoomanim=this._onAnimZoom),A},_onAnimZoom:function(A){this._updateTransform(A.center,A.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(A,h){var _=this._map.getZoomScale(h,this._zoom),F=this._map.getSize().multiplyBy(.5+this.options.padding),R=this._map.project(this._center,h),$=F.multiplyBy(-_).add(R).subtract(this._map._getNewPixelOrigin(A,h));ze.any3d?ss(this._container,$,_):ar(this._container,$)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var A in this._layers)this._layers[A]._reset()},_onZoomEnd:function(){for(var A in this._layers)this._layers[A]._project()},_updatePaths:function(){for(var A in this._layers)this._layers[A]._update()},_update:function(){var A=this.options.padding,h=this._map.getSize(),_=this._map.containerPointToLayerPoint(h.multiplyBy(-A)).round();
vendor: 9,919 bytes, line 500
500this._bounds=new pe(_,_.add(h.multiplyBy(1+A*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Wl=po.extend({options:{tolerance:0},getEvents:function(){var A=po.prototype.getEvents.call(this);return A.viewprereset=this._onViewPreReset,A},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){po.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var A=this._container=document.createElement("canvas");xt(A,"mousemove",this._onMouseMove,this),xt(A,"click dblclick mousedown mouseup contextmenu",this._onClick,this),xt(A,"mouseout",this._handleMouseOut,this),A._leaflet_disable_events=!0,this._ctx=A.getContext("2d")},_destroyContainer:function(){q(this._redrawRequest),delete this._ctx,jn(this._container),Nn(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var A;this._redrawBounds=null;for(var h in this._layers)A=this._layers[h],A._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){po.prototype._update.call(this);var A=this._bounds,h=this._container,_=A.getSize(),F=ze.retina?2:1;ar(h,A.min),h.width=F*_.x,h.height=F*_.y,h.style.width=_.x+"px",h.style.height=_.y+"px",ze.retina&&this._ctx.scale(2,2),this._ctx.translate(-A.min.x,-A.min.y),this.fire("update")}},_reset:function(){po.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(A){this._updateDashArray(A),this._layers[l(A)]=A;var h=A._order={layer:A,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=h),this._drawLast=h,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(A){this._requestRedraw(A)},_removePath:function(A){var h=A._order,_=h.next,F=h.prev;_?_.prev=F:this._drawLast=F,F?F.next=_:this._drawFirst=_,delete A._order,delete this._layers[l(A)],this._requestRedraw(A)},_updatePath:function(A){this._extendRedrawBounds(A),A._project(),A._update(),this._requestRedraw(A)},_updateStyle:function(A){this._updateDashArray(A),this._requestRedraw(A)},_updateDashArray:function(A){if(typeof A.options.dashArray=="string"){var h=A.options.dashArray.split(/[, ]+/),_=[],F,R;for(R=0;R<h.length;R++){if(F=Number(h[R]),isNaN(F))return;_.push(F)}A.options._dashArray=_}else A.options._dashArray=A.options.dashArray},_requestRedraw:function(A){this._map&&(this._extendRedrawBounds(A),this._redrawRequest=this._redrawRequest||z(this._redraw,this))},_extendRedrawBounds:function(A){if(A._pxBounds){var h=(A.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new pe,this._redrawBounds.extend(A._pxBounds.min.subtract([h,h])),this._redrawBounds.extend(A._pxBounds.max.add([h,h]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var A=this._redrawBounds;if(A){var h=A.getSize();this._ctx.clearRect(A.min.x,A.min.y,h.x,h.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var A,h=this._redrawBounds;if(this._ctx.save(),h){var _=h.getSize();this._ctx.beginPath(),this._ctx.rect(h.min.x,h.min.y,_.x,_.y),this._ctx.clip()}this._drawing=!0;for(var F=this._drawFirst;F;F=F.next)A=F.layer,(!h||A._pxBounds&&A._pxBounds.intersects(h))&&A._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(A,h){if(this._drawing){var _,F,R,$,le=A._parts,ye=le.length,Be=this._ctx;if(ye){for(Be.beginPath(),_=0;_<ye;_++){for(F=0,R=le[_].length;F<R;F++)$=le[_][F],Be[F?"lineTo":"moveTo"]($.x,$.y);h&&Be.closePath()}this._fillStroke(Be,A)}}},_updateCircle:function(A){if(!(!this._drawing||A._empty())){var h=A._point,_=this._ctx,F=Math.max(Math.round(A._radius),1),R=(Math.max(Math.round(A._radiusY),1)||F)/F;R!==1&&(_.save(),_.scale(1,R)),_.beginPath(),_.arc(h.x,h.y/R,F,0,Math.PI*2,!1),R!==1&&_.restore(),this._fillStroke(_,A)}},_fillStroke:function(A,h){var _=h.options;_.fill&&(A.globalAlpha=_.fillOpacity,A.fillStyle=_.fillColor||_.color,A.fill(_.fillRule||"evenodd")),_.stroke&&_.weight!==0&&(A.setLineDash&&A.setLineDash(h.options&&h.options._dashArray||[]),A.globalAlpha=_.opacity,A.lineWidth=_.weight,A.strokeStyle=_.color,A.lineCap=_.lineCap,A.lineJoin=_.lineJoin,A.stroke())},_onClick:function(A){for(var h=this._map.mouseEventToLayerPoint(A),_,F,R=this._drawFirst;R;R=R.next)_=R.layer,_.options.interactive&&_._containsPoint(h)&&(!(A.type==="click"||A.type==="preclick")||!this._map._draggableMoved(_))&&(F=_);this._fireEvent(F?[F]:!1,A)},_onMouseMove:function(A){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var h=this._map.mouseEventToLayerPoint(A);this._handleMouseHover(A,h)}},_handleMouseOut:function(A){var h=this._hoveredLayer;h&&(wn(this._container,"leaflet-interactive"),this._fireEvent([h],A,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(A,h){if(!this._mouseHoverThrottled){for(var _,F,R=this._drawFirst;R;R=R.next)_=R.layer,_.options.interactive&&_._containsPoint(h)&&(F=_);F!==this._hoveredLayer&&(this._handleMouseOut(A),F&&(Ut(this._container,"leaflet-interactive"),this._fireEvent([F],A,"mouseover"),this._hoveredLayer=F)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,A),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(A,h,_){this._map._fireDOMEvent(h,_||h.type,A)},_bringToFront:function(A){var h=A._order;if(h){var _=h.next,F=h.prev;if(_)_.prev=F;else return;F?F.next=_:_&&(this._drawFirst=_),h.prev=this._drawLast,this._drawLast.next=h,h.next=null,this._drawLast=h,this._requestRedraw(A)}},_bringToBack:function(A){var h=A._order;if(h){var _=h.next,F=h.prev;if(F)F.next=_;else return;_?_.prev=F:F&&(this._drawLast=F),h.prev=null,h.next=this._drawFirst,this._drawFirst.prev=h,this._drawFirst=h,this._requestRedraw(A)}}});function qo(A){return ze.canvas?new Wl(A):null}var Ta=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(A){return document.createElement("<lvml:"+A+' class="lvml">')}}catch{}return function(A){return document.createElement("<"+A+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Bd={_initContainer:function(){this._container=dn("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(po.prototype._update.call(this),this.fire("update"))},_initPath:function(A){var h=A._container=Ta("shape");Ut(h,"leaflet-vml-shape "+(this.options.className||"")),h.coordsize="1 1",A._path=Ta("path"),h.appendChild(A._path),this._updateStyle(A),this._layers[l(A)]=A},_addPath:function(A){var h=A._container;this._container.appendChild(h),A.options.interactive&&A.addInteractiveTarget(h)},_removePath:function(A){var h=A._container;jn(h),A.removeInteractiveTarget(h),delete this._layers[l(A)]},_updateStyle:function(A){var h=A._stroke,_=A._fill,F=A.options,R=A._container;R.stroked=!!F.stroke,R.filled=!!F.fill,F.stroke?(h||(h=A._stroke=Ta("stroke")),R.appendChild(h),h.weight=F.weight+"px",h.color=F.color,h.opacity=F.opacity,F.dashArray?h.dashStyle=E(F.dashArray)?F.dashArray.join(" "):F.dashArray.replace(/( *, *)/g," "):h.dashStyle="",h.endcap=F.lineCap.replace("butt","flat"),h.joinstyle=F.lineJoin):h&&(R.removeChild(h),A._stroke=null),F.fill?(_||(_=A._fill=Ta("fill")),R.appendChild(_),_.color=F.fillColor||F.color,_.opacity=F.fillOpacity):_&&(R.removeChild(_),A._fill=null)},_updateCircle:function(A){var h=A._point.round(),_=Math.round(A._radius),F=Math.round(A._radiusY||_);this._setPath(A,A._empty()?"M0 0":"AL "+h.x+","+h.y+" "+_+","+F+" 0,"+65535*360)},_setPath:function(A,h){A._path.v=h},_bringToFront:function(A){as(A._container)},_bringToBack:function(A){ba(A._container)}},hs=ze.vml?Ta:Xe,Ws=po.extend({_initContainer:function(){this._container=hs("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=hs("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){jn(this._container),Nn(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){po.prototype._update.call(this);var A=this._bounds,h=A.getSize(),_=this._container;(!this._svgSize||!this._svgSize.equals(h))&&(this._svgSize=h,_.setAttribute("width",h.x),_.setAttribute("height",h.y)),ar(_,A.min),_.setAttribute("viewBox",[A.min.x,A.min.y,h.x,h.y].join(" ")),this.fire("update")}},_initPath:function(A){var h=A._path=hs("path");A.options.className&&Ut(h,A.options.className),A.options.interactive&&Ut(h,"leaflet-interactive"),this._updateStyle(A),this._layers[l(A)]=A},_addPath:function(A){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(A._path),A.addInteractiveTarget(A._path)},_removePath:function(A){jn(A._path),A.removeInteractiveTarget(A._path),delete this._layers[l(A)]},_updatePath:function(A){A._project(),A._update()},_updateStyle:function(A){var h=A._path,_=A.options;h&&(_.stroke?(h.setAttribute("stroke",_.color),h.setAttribute("stroke-opacity",_.opacity),h.setAttribute("stroke-width",_.weight),h.setAttribute("stroke-linecap",_.lineCap),h.setAttribute("stroke-linejoin",_.lineJoin),_.dashArray?h.setAttribute("stroke-dasharray",_.dashArray):h.removeAttribute("stroke-dasharray"),_.dashOffset?h.setAttribute("stroke-dashoffset",_.dashOffset):h.removeAttribute("stroke-dashoffset")):h.setAttribute("stroke","none"),_.fill?(h.setAttribute("fill",_.fillColor||_.color),h.setAttribute("fill-opacity",_.fillOpacity),h.setAttribute("fill-rule",_.fillRule||"evenodd")):h.setAttribute("fill","none"))},_updatePoly:function(A,h){this._setPath(A,gt(A._parts,h))},_updateCircle:function(A){var h=A._point,_=Math.max(Math.round(A._radius),1),F=Math.max(Math.round(A._radiusY),1)||_,R="a"+_+","+F+" 0 1,0 ",$=A._empty()?"M0 0":"M"+(
500h.x-_)+","+h.y+R+_*2+",0 "+R+-_*2+",0 ";this._setPath(A,$)},_setPath:function(A,h){A._path.setAttribute("d",h)},_bringToFront:function(A){as(A._path)},_bringToBack:function(A){ba(A._path)}});ze.vml&&Ws.include(Bd);function qc(A){return ze.svg||ze.vml?new Ws(A):null}nn.include({getRenderer:function(A){var h=A.options.renderer||this._getPaneRenderer(A.options.pane)||this.options.renderer||this._renderer;return h||(h=this._renderer=this._createRenderer()),this.hasLayer(h)||this.addLayer(h),h},_getPaneRenderer:function(A){if(A==="overlayPane"||A===void 0)return!1;var h=this._paneRenderers[A];return h===void 0&&(h=this._createRenderer({pane:A}),this._paneRenderers[A]=h),h},_createRenderer:function(A){return this.options.preferCanvas&&qo(A)||qc(A)}});var Gl=cs.extend({initialize:function(A,h){cs.prototype.initialize.call(this,this._boundsToLatLngs(A),h)},setBounds:function(A){return this.setLatLngs(this._boundsToLatLngs(A))},_boundsToLatLngs:function(A){return A=te(A),[A.getSouthWest(),A.getNorthWest(),A.getNorthEast(),A.getSouthEast()]}});function Cd(A,h){return new Gl(A,h)}Ws.create=hs,Ws.pointsToPath=gt,oi.geometryToLayer=ai,oi.coordsToLatLng=Gc,oi.
vendor: 13,279 bytes, line 500
500coordsToLatLngs=cu,oi.latLngToCoords=Yc,oi.latLngsToCoords=co,oi.getFeature=Ks,oi.asFeature=Fa,nn.mergeOptions({boxZoom:!0});var Gs=er.extend({initialize:function(A){this._map=A,this._container=A._container,this._pane=A._panes.overlayPane,this._resetStateTimeout=0,A.on("unload",this._destroy,this)},addHooks:function(){xt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Nn(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){jn(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(A){if(!A.shiftKey||A.which!==1&&A.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),ls(),kc(),this._startPoint=this._map.mouseEventToContainerPoint(A),xt(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(A){this._moved||(this._moved=!0,this._box=dn("div","leaflet-zoom-box",this._container),Ut(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(A);var h=new pe(this._point,this._startPoint),_=h.getSize();ar(this._box,h.min),this._box.style.width=_.x+"px",this._box.style.height=_.y+"px"},_finish:function(){this._moved&&(jn(this._box),wn(this._container,"leaflet-crosshair")),Ii(),GA(),Nn(document,{contextmenu:hn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(A){if(!(A.which!==1&&A.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var h=new P(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(h).fire("boxzoomend",{boxZoomBounds:h})}},_onKeyDown:function(A){A.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});nn.addInitHook("addHandler","boxZoom",Gs),nn.mergeOptions({doubleClickZoom:!0});var Oa=er.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(A){var h=this._map,_=h.getZoom(),F=h.options.zoomDelta,R=A.originalEvent.shiftKey?_-F:_+F;h.options.doubleClickZoom==="center"?h.setZoom(R):h.setZoomAround(A.containerPoint,R)}});nn.addInitHook("addHandler","doubleClickZoom",Oa),nn.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ps=er.extend({addHooks:function(){if(!this._draggable){var A=this._map;this._draggable=new Ca(A._mapPane,A._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),A.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),A.on("zoomend",this._onZoomEnd,this),A.whenReady(this._onZoomEnd,this))}Ut(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){wn(this._map._container,"leaflet-grab"),wn(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var A=this._map;if(A._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var h=te(this._map.options.maxBounds);this._offsetLimit=W(this._map.latLngToContainerPoint(h.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(h.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;A.fire("movestart").fire("dragstart"),A.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(A){if(this._map.options.inertia){var h=this._lastTime=+new Date,_=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(_),this._times.push(h),this._prunePositions(h)}this._map.fire("move",A).fire("drag",A)},_prunePositions:function(A){for(;this._positions.length>1&&A-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var A=this._map.getSize().divideBy(2),h=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=h.subtract(A).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(A,h){return A-(A-h)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var A=this._draggable._newPos.subtract(this._draggable._startPos),h=this._offsetLimit;A.x<h.min.x&&(A.x=this._viscousLimit(A.x,h.min.x)),A.y<h.min.y&&(A.y=this._viscousLimit(A.y,h.min.y)),A.x>h.max.x&&(A.x=this._viscousLimit(A.x,h.max.x)),A.y>h.max.y&&(A.y=this._viscousLimit(A.y,h.max.y)),this._draggable._newPos=this._draggable._startPos.add(A)}},_onPreDragWrap:function(){var A=this._worldWidth,h=Math.round(A/2),_=this._initialWorldOffset,F=this._draggable._newPos.x,R=(F-h+_)%A+h-_,$=(F+h+_)%A-h-_,le=Math.abs(R+_)<Math.abs($+_)?R:$;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=le},_onDragEnd:function(A){var h=this._map,_=h.options,F=!_.inertia||A.noInertia||this._times.length<2;if(h.fire("dragend",A),F)h.fire("moveend");else{this._prunePositions(+new Date);var R=this._lastPos.subtract(this._positions[0]),$=(this._lastTime-this._times[0])/1e3,le=_.easeLinearity,ye=R.multiplyBy(le/$),Be=ye.distanceTo([0,0]),Ne=Math.min(_.inertiaMaxSpeed,Be),et=ye.multiplyBy(Ne/Be),yt=Ne/(_.inertiaDeceleration*le),Qt=et.multiplyBy(-yt/2).round();!Qt.x&&!Qt.y?h.fire("moveend"):(Qt=h._limitOffset(Qt,h.options.maxBounds),z(function(){h.panBy(Qt,{duration:yt,easeLinearity:le,noMoveStart:!0,animate:!0})}))}}});nn.addInitHook("addHandler","dragging",ps),nn.mergeOptions({keyboard:!0,keyboardPanDelta:80});var xd=er.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(A){this._map=A,this._setPanDelta(A.options.keyboardPanDelta),this._setZoomDelta(A.options.zoomDelta)},addHooks:function(){var A=this._map._container;A.tabIndex<=0&&(A.tabIndex="0"),xt(A,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Nn(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var A=document.body,h=document.documentElement,_=A.scrollTop||h.scrollTop,F=A.scrollLeft||h.scrollLeft;this._map._container.focus(),window.scrollTo(F,_)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(A){var h=this._panKeys={},_=this.keyCodes,F,R;for(F=0,R=_.left.length;F<R;F++)h[_.left[F]]=[-1*A,0];for(F=0,R=_.right.length;F<R;F++)h[_.right[F]]=[A,0];for(F=0,R=_.down.length;F<R;F++)h[_.down[F]]=[0,A];for(F=0,R=_.up.length;F<R;F++)h[_.up[F]]=[0,-1*A]},_setZoomDelta:function(A){var h=this._zoomKeys={},_=this.keyCodes,F,R;for(F=0,R=_.zoomIn.length;F<R;F++)h[_.zoomIn[F]]=A;for(F=0,R=_.zoomOut.length;F<R;F++)h[_.zoomOut[F]]=-A},_addHooks:function(){xt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Nn(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(A){if(!(A.altKey||A.ctrlKey||A.metaKey)){var h=A.keyCode,_=this._map,F;if(h in this._panKeys){if(!_._panAnim||!_._panAnim._inProgress)if(F=this._panKeys[h],A.shiftKey&&(F=N(F).multiplyBy(3)),_.options.maxBounds&&(F=_._limitOffset(N(F),_.options.maxBounds)),_.options.worldCopyJump){var R=_.wrapLatLng(_.unproject(_.project(_.getCenter()).add(F)));_.panTo(R)}else _.panBy(F)}else if(h in this._zoomKeys)_.setZoom(_.getZoom()+(A.shiftKey?3:1)*this._zoomKeys[h]);else if(h===27&&_._popup&&_._popup.options.closeOnEscapeKey)_.closePopup();else return;hn(A)}}});nn.addInitHook("addHandler","keyboard",xd),nn.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Yl=er.extend({addHooks:function(){xt(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Nn(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(A){var h=Dc(A),_=this._map.options.wheelDebounceTime;this._delta+=h,this._lastMousePos=this._map.mouseEventToContainerPoint(A),this._startTime||(this._startTime=+new Date);var F=Math.max(_-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),F),hn(A)},_performZoom:function(){var A=this._map,h=A.getZoom(),_=this._map.options.zoomSnap||0;A._stop();var F=this._delta/(this._map.options.wheelPxPerZoomLevel*4),R=4*Math.log(2/(1+Math.exp(-Math.abs(F))))/Math.LN2,$=_?Math.ceil(R/_)*_:R,le=A._limitZoom(h+(this._delta>0?$:-$))-h;this._delta=0,this._startTime=null,le&&(A.options.scrollWheelZoom==="center"?A.setZoom(h+le):A.setZoomAround(this._lastMousePos,h+le))}});nn.addInitHook("addHandler","scrollWheelZoom",Yl);var Mp=600;nn.mergeOptions({tapHold:ze.touchNative&&ze.safari&&ze.mobile,tapTolerance:15});var Ys=er.extend({addHooks:function(){xt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Nn(this._map._container,"touchstart",this._onDown,this)},_onDown:function(A){if(clearTimeout(this._holdTimeout),A.touches.length===1){var h=A.touches[0];this._startPos=this._newPos=new X(h.clientX,h.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(xt(document,"touchend",Nt),xt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",h))},this),Mp),xt(document,"touchend touchcancel contextmenu",this._cancel,this),xt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function A(){Nn(document,"touchend",Nt),Nn(document,"touchend touchcancel",A)},_cancel:function(){clearTimeout(this._holdTimeout),Nn(document,"touchend touchcancel contextmenu",this._cancel,this),Nn(document,"touchmove",this._onMove,this)},_onMove:function(A){var h=A.touches[0];this._newPos=new X(h.clientX,h.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(A,h){var _=new MouseEvent(A,{bubbles:!0,cancelable:!0,view:window,screenX:h.screenX,screenY:h.screenY,clientX:h.clientX,clientY:h.clientY});_._simulated=!0,h.target.dispatchEvent(_)}});nn.addInitHook("addHandler","tapHold",Ys),nn.mergeOptions({touchZoom:ze.touch,bounceAtZoomLimits:!0});var qs=er.extend({addHooks:function(){Ut(this._map._container,"leaflet-touch-zoom"),xt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){wn(this._map._container,"leaflet-touch-zoom"),Nn(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(A){var h=this._map;if(!(!A.touches||A.touches.length!==2||h._animatingZoom||this._zooming)){var _=h.mouseEventToContainerPoint(A.touches[0]),F=h.mouseEventToContainerPoint(A.touches[1]);this._centerPoint=h.getSize()._divideBy(2),this._startLatLng=h.containerPointToLatLng(this._centerPoint),h.options.touchZoom!=="center"&&(this._pinchStartLatLng=h.containerPointToLatLng(_.add(F)._divideBy(2))),this._startDist=_.distanceTo(F),this._startZoom=h.getZoom(),this._moved=!1,this._zooming=!0,h._stop(),xt(document,"touchmove",this._onTouchMove,this),xt(document,"touchend touchcancel",this._onTouchEnd,this),Nt(A)}},_onTouchMove:function(A){if(!(!A.touches||A.touches.length!==2||!this._zooming)){var h=this._map,_=h.mouseEventToContainerPoint(A.touches[0]),F=h.mouseEventToContainerPoint(A.touches[1]),R=_.distanceTo(F)/this._startDist;if(this._zoom=h.getScaleZoom(R,this._startZoom),!h.options.bounceAtZoomLimits&&(this._zoom<h.getMinZoom()&&R<1||this._zoom>h.getMaxZoom()&&R>1)&&(this._zoom=h._limitZoom(this._zoom)),h.options.touchZoom==="center"){if(this._center=this._startLatLng,R===1)return}else{var $=_._add(F)._divideBy(2)._subtract(this._centerPoint);if(R===1&&$.x===0&&$.y===0)return;this._center=h.unproject(h.project(this._pinchStartLatLng,this._zoom).subtract($),this._zoom)}this._moved||(h._moveStart(!0,!1),this._moved=!0),q(this._animRequest);var le=a(h._move,h,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=z(le,this,!0),Nt(A)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,q(this._animRequest),Nn(document,"touchmove",this._onTouchMove,this),Nn(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});nn.addInitHook("addHandler","touchZoom",qs),nn.BoxZoom=Gs,nn.DoubleClickZoom=Oa,nn.Drag=ps,nn.Keyboard=xd,nn.ScrollWheelZoom=Yl,nn.TapHold=Ys,nn.TouchZoom=qs,n.Bounds=pe,n.Browser=ze,n.C
500RS=_e,n.Canvas=Wl,n.Circle=uu,n.CircleMarker=Au,n.Class=ae,n.Control=di,n.DivIcon=Vl,n.DivOverlay=fo,n.DomEvent=Hs,n.DomUtil=fd,n.Draggable=Ca,n.Evented=re,n.FeatureGroup=sr,n.GeoJSON=oi,n.GridLayer=ln,n.Handler=er,n.Icon=zs,n.ImageOverlay=nt,n.LatLng=J,n.LatLngBounds=P,n.Layer=Mn,n.LayerGroup=xa,n.LineUtil=$c,n.Map=nn,n.Marker=jl,n.Mixin=Dp,n.Path=Ea,n.Point=X,n.PolyUtil=pi,n.Polygon=cs,n.Polyline=vi,n.Popup=Jr,n.PosAnimation=Pc,n.Projection=au,n.Rectangle=Gl,n.Renderer=po,n.SVG=Ws,n.SVGOverlay=xn,n.TileLayer=ds,n.Tooltip=zl,n.Transformation=Ae,n.Util=Z,n.VideoOverlay=sn,n.bind=a,n.bounds=W,n.canvas=qo,n.circle=Sa,n.circleMarker=Vc,n.control=Gi,n.divIcon=hu,n.extend=i,n.featureGroup=bd,n.geoJSON=Te,n.geoJson=xe,n.gridLayer=Np,n.icon=Pp,n.imageOverlay=Ot,n.latLng=oe,n.latLngBounds=te,n.layerGroup=lu,n.map=Rr,n.marker=Vs,n.point=N,n.polygon=Kc,n.polyline=Up,n.popup=du,n.rectangle=Cd,n.setOptions=y,n.stamp=l,n.svg=qc,n.svgOverlay=fu,n.tileLayer=Kl,n.tooltip=fs,n.transformation=Pe,n.version=r,n.videoOverlay=fr;var gs=window.L;n.noConflict=function(){return window.L=gs,this},window.L=n})})(XO,XO.exports);var Ds=XO.exports;function eD(e,t){const n=k.useRef(t);k.useEffect(function(){t!==n.current&&e.attributionControl!=null&&(n.current!=null&&e.attributionControl.removeAttribution(n.current),t!=null&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}function QPe(e,t,n){t.center!==n.center&&e.setLatLng(t.center),t.radius!=null&&t.radius!==n.radius&&e.setRadius(t.radius)}const vV=1;function _V(e){return Object.freeze({__version:vV,map:e})}function tD(e,t){return Object.freeze({...e,...t})}const nD=k.createContext(null),rD=nD.Provider;function Jv(){const e=k.useContext(nD);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}function iD(e){function t(n,r){const{instance:i,context:o}=e(n).current;return k.useImperativeHandle(r,()=>i),n.children==null?null:lt.createElement(rD,{value:o},n.children)}return k.forwardRef(t)}function yV(e){function t(n,r){const[i,o]=k.useState(!1),{instance:a}=e(n,o).current;k.useImperativeHandle(r,()=>a),k.useEffect(function(){i&&a.update()},[a,i,n.children]);const s=a._contentNode;return s?pp.createPortal(n.children,s):null}return k.forwardRef(t)}function oD(e){function t(n,r){const{instance:i}=e(n).current;return k.useImperativeHandle(r,()=>i),null}return k.forwardRef(t)}function wV(e){return function(n){const r=Jv(),i=e(n,r),{instance:o}=i.current,a=k.useRef(n.position),{position:s}=n;return k.useEffect(function(){return o.addTo(r.map),function(){o.remove()}},[r.map,o]),k.useEffect(function(){s!=null&&s!==a.current&&(o.setPosition(s),a.current=s)},[o,s]),i}}function lx(e,t){const n=k.useRef();k.useEffect(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function e_(e,t){const n=e.pane??t.pane;return n?{...e,pane:n}:e}function bV(e,t){return function(r,i){const o=Jv(),a=e(e_(r,o),o);return eD(o.map,r.attribution),lx(a.current,r.eventHandlers),t(a.current,o,r,i),a}}function BV(e){return e.split(" ").filter(Boolean)}function CV(e,t){BV(t).forEach(n=>{Ds.DomUtil.addClass(e,n)})}function xV(e,t){BV(t).forEach(n=>{Ds.DomUtil.removeClass(e,n)})}function HPe(e,t,n){e!=null&&n!==t&&(t!=null&&t.length>0&&xV(e,t),n!=null&&n.length>0&&CV(e,n))}function t_(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function Fp(e,t){return t==null?function(r,i){const o=k.useRef();return o.current||(o.current=e(r,i)),o}:function(r,i){const o=k.useRef();o.current||(o.current=e(r,i));const a=k.useRef(r),{instance:s}=o.current;return k.useEffect(function(){a.current!==r&&(t(s,r,a.current),a.current=r)},[s,r,i]),o}}function aD(e,t){k.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var o;(o=t.layerContainer)==null||o.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function sD(e){return function(n){const r=Jv(),i=e(e_(n,r),r);return eD(r.map,n.attribution),lx(i.current,n.eventHandlers),aD(i.current,r),i}}function EV(e,t){const n=k.useRef();k.useEffect(function(){if(t.pathOptions!==n.current){const i=t.pathOptions??{};e.instance.setStyle(i),n.current=i}},[e,t])}function SV(e){return function(n){const r=Jv(),i=e(e_(n,r),r);return lx(i.current,n.eventHandlers),aD(i.current,r),EV(i.current,n),i}}function $Pe(e){function t(i,o){return t_(e(i),o)}const n=Fp(t),r=wV(n);return oD(r)}function FV(e,t){const n=Fp(e,t),r=sD(n);return iD(r)}function jPe(e,t){const n=Fp(e),r=bV(n,t);return yV(r)}function TV(e,t){const n=Fp(e,t),r=SV(n);return iD(r)}function OV(e,t){const n=Fp(e,t),r=sD(n);return oD(r)}function kV(e,t,n){const{opacity:r,zIndex:i}=t;r!=null&&r!==n.opacity&&e.setOpacity(r),i!=null&&i!==n.zIndex&&e.setZIndex(i)}function zPe(e,t,n){t.bounds instanceof Ds.LatLngBounds&&t.bounds!==n.bounds&&e.setBounds(t.bounds),t.opacity!=null&&t.opacity!==n.opacity&&e.setOpacity(t.opacity),t.zIndex!=null&&t.zIndex!==n.zIndex&&e.setZIndex(t.zIndex)}const VPe=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_VERSION:vV,LeafletContext:nD,LeafletProvider:rD,addClassName:CV,createContainerComponent:iD,createControlComponent:$Pe,createControlHook:wV,createDivOverlayComponent:yV,createDivOverlayHook:bV,createElementHook:Fp,createElementObject:t_,createLayerComponent:FV,createLayerHook:sD,createLeafComponent:oD,createLeafletContext:_V,createOverlayComponent:jPe,createPathComponent:TV,createPathHook:SV,createTileLayerComponent:OV,extendContext:tD,removeClassName:xV,updateCircle:QPe,updateClassName:HPe,updateGridLayer:kV,updateMediaOverlay:zPe,useAttribution:eD,useEventHandlers:lx,useLayerLifecycle:aD,useLeafletContext:Jv,usePathOptions:EV,withPane:e_},Symbol.toStringTag,{value:"Module"})),KPe=TV(function({data:t,...n},r){const i=new Ds.GeoJSON(t,n);return t_(i,tD(r,{overlayContainer:i}))},function(t,n,r){n.style!==r.style&&(n.style==null?t.resetStyle():t.setStyle(n.style))});function JO(){return JO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JO.apply(this,arguments)}function WPe({bounds:e,boundsOptions:t,center:n,children:r,className:i,id:o,placeholder:a,style:s,whenReady:l,zoom:u,...f},d){const[g]=k.useState({className:i,id:o,style:s}),[m,v]=k.useState(null);k.useImperativeHandle(d,()=>(m==null?void 0:m.map)??null,[m]);const y=k.useCallback(C=>{if(C!==null&&m===null){const b=new Ds.Map(C,f);n!=null&&u!=null?b.setView(n,u):e!=null&&b.fitBounds(e,t),l!=null&&b.whenReady(l),v(_V(b))}},[]);k.useEffect(()=>()=>{m==null||m.map.remove()},[m]);const x=m?lt.createElement(rD,{value:m},r):a??null;return lt.createElement("div",JO({},g,{ref:y}),x)}const GPe=k.forwardRef(WPe),YPe=FV(function({position:t,...n},r){const i=new Ds.Marker(t,n);return t_(i,tD(r,{overlayContainer:i}))},function(t,n,r){n.position!==r.position&&t.setLatLng(n.position),n.icon!=null&&n.icon!==r.icon&&t.setIcon(n.icon),n.zIndexOffset!=null&&n.zIndexOffset!==r.zIndexOffset&&t.setZIndexOffset(n.zIndexOffset),n.opacity!=null&&n.opacity!==r.opacity&&t.setOpacity(n.opacity),t.dragging!=null&&n.draggable!==r.draggable&&(n.draggable===!0?t.dragging.enable():t.dragging.disable())}),qPe=OV(function({url:t,...n},r){const i=new Ds.TileLayer(t,e_(n,r));return t_(i,r)},function(t,n,r){kV(t,n,r);const{url:i}=n;i!=null&&i!==r.url&&t.setUrl(i)});var IV={};const ZPe=_n(VPe);var DH={exports:{}};(function(e,t){(function(n,r){r(t)})(ro,function(n){var r=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(o){L.Util.setOptions(this,o),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var a=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,a?this._withAnimation:this._noAnimation),this._markerCluster
500=a?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(o){if(o instanceof L.LayerGroup)return this.addLayers([o]);if(!o.getLatLng)return this._nonPointGroup.addLayer(o),this.fire("layeradd",{layer:o}),this;if(!this._map)return this._needsClustering.push(o),this.fire("layeradd",{layer:o}),this;if(this.hasLayer(o))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(o,this._maxZoom),this.fire("layeradd",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var a=o,s=this._zoom;if(o.__parent)for(;a.__parent._zoom>=s;)a=a.__parent;return this._currentShownBounds.contains(a.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(o,a):this._animationAddLayerNonAnimated(o,a)),this},removeLayer:function(o){return o instanceof L.LayerGroup?this.removeLayers([o]):o.getLatLng?this._map?o.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(o)),this._removeLayer(o,!0),this.fire("layerremove",{layer:o}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),o.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(o)&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,o)&&this.hasLayer(o)&&this._needsRemoving.push({layer:o,latlng:o._latlng}),this.fire("layerremove",{layer:o}),this):(this._nonPointGroup.removeLayer(o),this.fire("layerremove",{layer:o}),this)},addLayers:function(o,a){if(!L.Util.isArray(o))return this.addLayer(o);var s=this._featureGroup,l=this._nonPointGroup,u=this.options.chunkedLoading,f=this.options.chunkInterval,d=this.options.chunkProgress,g=o.length,m=0,v=!0,y;if(this._map){var x=new Date().getTime(),C=L.bind(function(){var E=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();m<g;m++){if(u&&m%200===0){var T=new Date().getTime()-E;if(T>f)break}if(y=o[m],y instanceof L.LayerGroup){v&&(o=o.slice(),v=!1),this._extractNonGroupLayers(y,o),g=o.length;continue}if(!y.getLatLng){l.addLayer(y),a||this.fire("layeradd",{layer:y});continue}if(!this.hasLayer(y)&&(this._addLayer(y,this._maxZoom),a||this.fire("layeradd",{layer:y}),y.__parent&&y.__parent.getChildCount()===2)){var D=y.__parent.getAllChildMarkers(),I=D[0]===y?D[1]:D[0];s.removeLayer(I)}}d&&d(m,g,new Date().getTime()-x),m===g?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(C,this.options.chunkDelay)},this);C()}else for(var b=this._needsClustering;m<g;m++){if(y=o[m],y instanceof L.LayerGroup){v&&(o=o.slice(),v=!1),this._extractNonGroupLayers(y,o),g=o.length;continue}if(!y.getLatLng){l.addLayer(y);continue}this.hasLayer(y)||b.push(y)}return this},removeLayers:function(o){var a,s,l=o.length,u=this._featureGroup,f=this._nonPointGroup,d=!0;if(!this._map){for(a=0;a<l;a++){if(s=o[a],s instanceof L.LayerGroup){d&&(o=o.slice(),d=!1),this._extractNonGroupLayers(s,o),l=o.length;continue}this._arraySplice(this._needsClustering,s),f.removeLayer(s),this.hasLayer(s)&&this._needsRemoving.push({layer:s,latlng:s._latlng}),this.fire("layerremove",{layer:s})}return this}if(this._unspiderfy){this._unspiderfy();var g=o.slice(),m=l;for(a=0;a<m;a++){if(s=g[a],s instanceof L.LayerGroup){this._extractNonGroupLayers(s,g),m=g.length;continue}this._unspiderfyLayer(s)}}for(a=0;a<l;a++){if(s=o[a],s instanceof L.LayerGroup){d&&(o=o.slice(),d=!1),this._extractNonGroupLayers(s,o),l=o.length;continue}if(!s.__parent){f.removeLayer(s),this.fire("layerremove",{layer:s});continue}this._removeLayer(s,!0,!0),this.fire("layerremove",{layer:s}),u.hasLayer(s)&&(u.removeLayer(s),s.clusterShow&&s.clusterShow())}return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(o){o.off(this._childMarkerEventHandlers,this),delete o.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var o=new L.LatLngBounds;this._topClusterLevel&&o.extend(this._topClusterLevel._bounds);for(var a=this._needsClustering.length-1;a>=0;a--)o.extend(this._needsClustering[a].getLatLng());return o.extend(this._nonPointGroup.getBounds()),o},eachLayer:function(o,a){var s=this._needsClustering.slice(),l=this._needsRemoving,u,f,d;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(s),f=s.length-1;f>=0;f--){for(u=!0,d=l.length-1;d>=0;d--)if(l[d].layer===s[f]){u=!1;break}u&&o.call(a,s[f])}this._nonPointGroup.eachLayer(o,a)},getLayers:function(){var o=[];return this.eachLayer(function(a){o.push(a)}),o},getLayer:function(o){var a=null;return o=parseInt(o,10),this.eachLayer(function(s){L.stamp(s)===o&&(a=s)}),a}
vendor: 6,041 bytes, line 500
500,hasLayer:function(o){if(!o)return!1;var a,s=this._needsClustering;for(a=s.length-1;a>=0;a--)if(s[a]===o)return!0;for(s=this._needsRemoving,a=s.length-1;a>=0;a--)if(s[a].layer===o)return!1;return!!(o.__parent&&o.__parent._group===this)||this._nonPointGroup.hasLayer(o)},zoomToShowLayer:function(o,a){var s=this._map;typeof a!="function"&&(a=function(){});var l=function(){(s.hasLayer(o)||s.hasLayer(o.__parent))&&!this._inZoomAnimation&&(this._map.off("moveend",l,this),this.off("animationend",l,this),s.hasLayer(o)?a():o.__parent._icon&&(this.once("spiderfied",a,this),o.__parent.spiderfy()))};o._icon&&this._map.getBounds().contains(o.getLatLng())?a():o.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",l,this),this._map.panTo(o.getLatLng())):(this._map.on("moveend",l,this),this.on("animationend",l,this),o.__parent.zoomToBounds())},onAdd:function(o){this._map=o;var a,s,l;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(o),this._nonPointGroup.addTo(o),this._gridClusters||this._generateInitialClusters(),this._maxLat=o.options.crs.projection.MAX_LATITUDE,a=0,s=this._needsRemoving.length;a<s;a++)l=this._needsRemoving[a],l.newlatlng=l.layer._latlng,l.layer._latlng=l.latlng;for(a=0,s=this._needsRemoving.length;a<s;a++)l=this._needsRemoving[a],this._removeLayer(l.layer,!0),l.layer._latlng=l.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),s=this._needsClustering,this._needsClustering=[],this.addLayers(s,!0)},onRemove:function(o){o.off("zoomend",this._zoomEnd,this),o.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(o){for(var a=o;a&&!a._icon;)a=a.__parent;return a||null},_arraySplice:function(o,a){for(var s=o.length-1;s>=0;s--)if(o[s]===a)return o.splice(s,1),!0},_removeFromGridUnclustered:function(o,a){for(var s=this._map,l=this._gridUnclustered,u=Math.floor(this._map.getMinZoom());a>=u&&l[a].removeObject(o,s.project(o.getLatLng(),a));a--);},_childMarkerDragStart:function(o){o.target.__dragStart=o.target._latlng},_childMarkerMoved:function(o){if(!this._ignoreMove&&!o.target.__dragStart){var a=o.target._popup&&o.target._popup.isOpen();this._moveChild(o.target,o.oldLatLng,o.latlng),a&&o.target.openPopup()}},_moveChild:function(o,a,s){o._latlng=a,this.removeLayer(o),o._latlng=s,this.addLayer(o)},_childMarkerDragEnd:function(o){var a=o.target.__dragStart;delete o.target.__dragStart,a&&this._moveChild(o.target,a,o.target._latlng)},_removeLayer:function(o,a,s){var l=this._gridClusters,u=this._gridUnclustered,f=this._featureGroup,d=this._map,g=Math.floor(this._map.getMinZoom());a&&this._removeFromGridUnclustered(o,this._maxZoom);var m=o.__parent,v=m._markers,y;for(this._arraySplice(v,o);m&&(m._childCount--,m._boundsNeedUpdate=!0,!(m._zoom<g));)a&&m._childCount<=1?(y=m._markers[0]===o?m._markers[1]:m._markers[0],l[m._zoom].removeObject(m,d.project(m._cLatLng,m._zoom)),u[m._zoom].addObject(y,d.project(y.getLatLng(),m._zoom)),this._arraySplice(m.__parent._childClusters,m),m.__parent._markers.push(y),y.__parent=m.__parent,m._icon&&(f.removeLayer(m),s||f.addLayer(y))):m._iconNeedsUpdate=!0,m=m.__parent;delete o.__parent},_isOrIsParent:function(o,a){for(;a;){if(o===a)return!0;a=a.parentNode}return!1},fire:function(o,a,s){if(a&&a.layer instanceof L.MarkerCluster){if(a.originalEvent&&this._isOrIsParent(a.layer._icon,a.originalEvent.relatedTarget))return;o="cluster"+o}L.FeatureGroup.prototype.fire.call(this,o,a,s)},listens:function(o,a){return L.FeatureGroup.prototype.listens.call(this,o,a)||L.FeatureGroup.prototype.listens.call(this,"cluster"+o,a)},_defaultIconCreateFunction:function(o){var a=o.getChildCount(),s=" marker-cluster-";return a<10?s+="small":a<100?s+="medium":s+="large",new L.DivIcon({html:"<div><span>"+a+"</span></div>",className:"marker-cluster"+s,iconSize:new L.Point(40,40)})},_bindEvents:function(){var o=this._map,a=this.options.spiderfyOnMaxZoom,s=this.options.showCoverageOnHover,l=this.options.zoomToBoundsOnClick,u=this.options.spiderfyOnEveryZoom;(a||l||u)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),s&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),o.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(o){var a=o.layer,s=a;if(!(o.type==="clusterkeypress"&&o.originalEvent&&o.originalEvent.keyCode!==13)){for(;s._childClusters.length===1;)s=s._childClusters[0];s._zoom===this._maxZoom&&s._childCount===a._childCount&&this.options.spiderfyOnMaxZoom?a.spiderfy():this.options.zoomToBoundsOnClick&&a.zoomToBounds(),this.options.spiderfyOnEveryZoom&&a.spiderfy(),o.originalEvent&&o.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(o){var a=this._map;this._inZoomAnimation||(this._shownPolygon&&a.removeLayer(this._shownPolygon),o.layer.getChildCount()>2&&o.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(o.layer.getConvexHull(),this.options.polygonOptions),a.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var o=this.options.spiderfyOnMaxZoom,a=this.options.showCoverageOnHover,s=this.options.zoomToBoundsOnClick,l=this.options.spiderfyOnEveryZoom,u=this._map;(o||s||l)&&this.off("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),a&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),u.off("zoomend",this._hideCoverage,this))}
500,_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var o=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,o),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),o),this._currentShownBounds=o}},_generateInitialClusters:function(){var o=Math.ceil(this._map.getMaxZoom()),a=Math.floor(this._map.getMinZoom()),s=this.options.maxClusterRadius,l=s;typeof s!="function"&&(l=function(){return s}),this.options.disableClusteringAtZoom!==null&&(o=this.options.disableClusteringAtZoom-1),this._maxZoom=o,this._gridClusters={},this._gridUnclustered={};for(var u=o;u>=a;u--)this._gridClusters[u]=new L.DistanceGrid(l(u)),this._gridUnclustered[u]=new L.DistanceGrid(l(u));this._topClusterLevel=new this._markerCluster(this,a-1)},_addLayer:function(o,a){var s=this._gridClusters,l=this._gridUnclustered,u=Math.floor(this._map.getMinZoom()),f,d;for(this.options.singleMarkerMode&&this._overrideMarkerIcon(o),o.on(this._childMarkerEventHandlers,this);a>=u;a--){f=this._map.project(o.getLatLng(),a);var g=s[a].getNearObject(f);if(g){g._addChild(o),o.__parent=g;return}if(g=l[a].getNearObject(f),g){var m=g.__parent;m&&this._removeLayer(g,!1);var v=new this._markerCluster(this,a,g,o);s[a].addObject(v,this._map.project(v._cLatLng,a)),g.__parent=v,o.__parent=v;var y=v;for(d=a-1;d>m._zoom;d--)y=new this._markerCluster(this,d,y),s[d].addObject(y,this._map.project(g.getLatLng(),d));m._addChild(y),this._removeFromGridUnclustered(g,a);return}l[a].addObject(o,f)}this._topClusterLevel._addChild(o),o.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(o){o instanceof L.MarkerCluster&&o._iconNeedsUpdate&&o._updateIcon()})},_enqueue:function(o){this._queue.push(o),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var o=0;o<this._queue.length;o++)this._queue[o].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var o=Math.round(this._map._zoom);this._processQueue(),this._zoom<o&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,o)):this._zoom>o?(this._animationStart(),this._animationZoomOut(this._zoom,o)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(this.options.removeOutsideVisibleBounds){if(L.Browser.mobile)return this._checkBoundsMaxLat(this._map.getBounds())}else return this._mapBoundsInfinite;return this._checkBoundsMaxLat(this._map.getBounds().pad(1))},_checkBoundsMaxLat:function(o){var a=this._maxLat;return a!==void 0&&(o.getNorth()>=a&&(o._northEast.lat=1/0),o.getSouth()<=-a&&(o._southWest.lat=-1/0)),o},_animationAddLayerNonAnimated:function(o,a){if(a===o)this._featureGroup.addLayer(o);else if(a._childCount===2){a._addToMap();var s=a.getAllChildMarkers();this._featureGroup.removeLayer(s[0]),this._featureGroup.removeLayer(s[1])}else a._updateIcon()},_extractNonGroupLayers:function(o,a){var s=o.getLayers(),l=0,u;for(a=a||[];l<s.length;l++){if(u=s[l],u instanceof L.LayerGroup){this._extractNonGroupLayers(u,a);continue}a.push(u)}return a},_overrideMarkerIcon:function(o){var a=o.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[o]}});return a}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(o,a){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o),this._topClusterLevel._recursivelyAddChildrenToMap(null,a,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(o,a){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o),this._topClusterLevel._recursivelyAddChildrenToMap(null,a,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(o,a){this._animationAddLayerNonAnimated(o,a)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(o,a){var s=this._getExpandedVisibleBounds(),l=this._featureGroup,u=Math.floor(this._map.getMinZoom()),f;this._ignoreMove=!0,this._topClusterLevel._recursively(s,o,u,function(d){var g=d._latlng,m=d._markers,v;
vendor: 5,801 bytes, line 500
500for(s.contains(g)||(g=null),d._isSingleParent()&&o+1===a?(l.removeLayer(d),d._recursivelyAddChildrenToMap(null,a,s)):(d.clusterHide(),d._recursivelyAddChildrenToMap(g,a,s)),f=m.length-1;f>=0;f--)v=m[f],s.contains(v._latlng)||l.removeLayer(v)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(s,a),l.eachLayer(function(d){!(d instanceof L.MarkerCluster)&&d._icon&&d.clusterShow()}),this._topClusterLevel._recursively(s,o,a,function(d){d._recursivelyRestoreChildPositions(a)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(s,o,u,function(d){l.removeLayer(d),d.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(o,a){this._animationZoomOutSingle(this._topClusterLevel,o-1,a),this._topClusterLevel._recursivelyAddChildrenToMap(null,a,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),o,this._getExpandedVisibleBounds())},_animationAddLayer:function(o,a){var s=this,l=this._featureGroup;l.addLayer(o),a!==o&&(a._childCount>2?(a._updateIcon(),this._forceLayout(),this._animationStart(),o._setPos(this._map.latLngToLayerPoint(a.getLatLng())),o.clusterHide(),this._enqueue(function(){l.removeLayer(o),o.clusterShow(),s._animationEnd()})):(this._forceLayout(),s._animationStart(),s._animationZoomOutSingle(a,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(o,a,s){var l=this._getExpandedVisibleBounds(),u=Math.floor(this._map.getMinZoom());o._recursivelyAnimateChildrenInAndAddSelfToMap(l,u,a+1,s);var f=this;this._forceLayout(),o._recursivelyBecomeVisible(l,s),this._enqueue(function(){if(o._childCount===1){var d=o._markers[0];this._ignoreMove=!0,d.setLatLng(d.getLatLng()),this._ignoreMove=!1,d.clusterShow&&d.clusterShow()}else o._recursively(l,s,u,function(g){g._recursivelyRemoveChildrenFromMap(l,u,a+1)});f._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(o){return new L.MarkerClusterGroup(o)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(o,a,s,l){L.Marker.prototype.initialize.call(this,s?s._cLatLng||s.getLatLng():new L.LatLng(0,0),{icon:this,pane:o.options.clusterPane}),this._group=o,this._zoom=a,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,s&&this._addChild(s),l&&this._addChild(l)},getAllChildMarkers:function(o,a){o=o||[];for(var s=this._childClusters.length-1;s>=0;s--)this._childClusters[s].getAllChildMarkers(o,a);for(var l=this._markers.length-1;l>=0;l--)a&&this._markers[l].__dragStart||o.push(this._markers[l]);return o},getChildCount:function(){return this._childCount},zoomToBounds:function(o){for(var a=this._childClusters.slice(),s=this._group._map,l=s.getBoundsZoom(this._bounds),u=this._zoom+1,f=s.getZoom(),d;a.length>0&&l>u;){u++;var g=[];for(d=0;d<a.length;d++)g=g.concat(a[d]._childClusters);a=g}l>u?this._group._map.setView(this._latlng,u):l<=f?this._group._map.setView(this._latlng,f+1):this._group._map.fitBounds(this._bounds,o)},getBounds:function(){var o=new L.LatLngBounds;return o.extend(this._bounds),o},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(o,a){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(o),o instanceof L.MarkerCluster?(a||(this._childClusters.push(o),o.__parent=this),this._childCount+=o._childCount):(a||this._markers.push(o),this._childCount++),this.__parent&&this.__parent._addChild(o,!0)},_setClusterCenter:function(o){this._cLatLng||(this._cLatLng=o._cLatLng||o._latlng)},_resetBounds:function(){var o=this._bounds;o._southWest&&(o._southWest.lat=1/0,o._southWest.lng=1/0),o._northEast&&(o._northEast.lat=-1/0,o._northEast.lng=-1/0)},_recalculateBounds:function(){var o=this._markers,a=this._childClusters,s=0,l=0,u=this._childCount,f,d,g,m;if(u!==0){for(this._resetBounds(),f=0;f<o.length;f++)g=o[f]._latlng,this._bounds.extend(g),s+=g.lat,l+=g.lng;for(f=0;f<a.length;f++)d=a[f],d._boundsNeedUpdate&&d._recalculateBounds(),this._bounds.extend(d._bounds),g=d._wLatLng,m=d._childCount,s+=g.lat*m,l+=g.lng*m;this._latlng=this._wLatLng=new L.LatLng(s/u,l/u),this._boundsNeedUpdate=!1}},_addToMap:function(o){o&&(this._backupLatlng=this._latlng,this.setLatLng(o)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(o,a,s){this._recursively(o,this._group._map.getMinZoom(),s-1,function(l){var u=l._markers,f,d;for(f=u.length-1;f>=0;f--)d=u[f],d._icon&&(d._setPos(a),d.clusterHide())},function(l){var u=l._childClusters,f,d;for(f=u.length-1;f>=0;f--)d=u[f],d._icon&&(d._setPos(a),d.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(o,a,s,l){this._recursively(o,l,a,function(u){u._recursivelyAnimateChildrenIn(o,u._group._map.latLngToLayerPoint(u.getLatLng()).round(),s),u._isSingleParent()&&s-1===l?(u.clusterShow(),u._recursivelyRemoveChildrenFromMap(o,a,s)):u.clusterHide(),u._addToMap()})},_recursivelyBecomeVisible:function(o,a){this._recursively(o,this._group._map.getMinZoom(),a,null,function(s){s.clusterShow()})},_recursivelyAddChildrenToMap:function(o,a,s){this._recursively(s,this._group._map.getMinZoom()-1,a,function(l){if(a!==l._zoom)for(var u=l._markers.length-1;u>=0;u--){var f=l._markers[u];
vendor: 6,217 bytes, line 500
500s.contains(f._latlng)&&(o&&(f._backupLatlng=f.getLatLng(),f.setLatLng(o),f.clusterHide&&f.clusterHide()),l._group._featureGroup.addLayer(f))}},function(l){l._addToMap(o)})},_recursivelyRestoreChildPositions:function(o){for(var a=this._markers.length-1;a>=0;a--){var s=this._markers[a];s._backupLatlng&&(s.setLatLng(s._backupLatlng),delete s._backupLatlng)}if(o-1===this._zoom)for(var l=this._childClusters.length-1;l>=0;l--)this._childClusters[l]._restorePosition();else for(var u=this._childClusters.length-1;u>=0;u--)this._childClusters[u]._recursivelyRestoreChildPositions(o)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(o,a,s,l){var u,f;this._recursively(o,a-1,s-1,function(d){for(f=d._markers.length-1;f>=0;f--)u=d._markers[f],(!l||!l.contains(u._latlng))&&(d._group._featureGroup.removeLayer(u),u.clusterShow&&u.clusterShow())},function(d){for(f=d._childClusters.length-1;f>=0;f--)u=d._childClusters[f],(!l||!l.contains(u._latlng))&&(d._group._featureGroup.removeLayer(u),u.clusterShow&&u.clusterShow())})},_recursively:function(o,a,s,l,u){var f=this._childClusters,d=this._zoom,g,m;if(a<=d&&(l&&l(this),u&&d===s&&u(this)),d<a||d<s)for(g=f.length-1;g>=0;g--)m=f[g],m._boundsNeedUpdate&&m._recalculateBounds(),o.intersects(m._bounds)&&m._recursively(o,a,s,l,u)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var o=this.options.opacity;return this.setOpacity(0),this.options.opacity=o,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(o){this._cellSize=o,this._sqCellSize=o*o,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(o,a){var s=this._getCoord(a.x),l=this._getCoord(a.y),u=this._grid,f=u[l]=u[l]||{},d=f[s]=f[s]||[],g=L.Util.stamp(o);this._objectPoint[g]=a,d.push(o)},updateObject:function(o,a){this.removeObject(o),this.addObject(o,a)},removeObject:function(o,a){var s=this._getCoord(a.x),l=this._getCoord(a.y),u=this._grid,f=u[l]=u[l]||{},d=f[s]=f[s]||[],g,m;for(delete this._objectPoint[L.Util.stamp(o)],g=0,m=d.length;g<m;g++)if(d[g]===o)return d.splice(g,1),m===1&&delete f[s],!0},eachObject:function(o,a){var s,l,u,f,d,g,m,v=this._grid;for(s in v){d=v[s];for(l in d)for(g=d[l],u=0,f=g.length;u<f;u++)m=o.call(a,g[u]),m&&(u--,f--)}},getNearObject:function(o){var a=this._getCoord(o.x),s=this._getCoord(o.y),l,u,f,d,g,m,v,y,x=this._objectPoint,C=this._sqCellSize,b=null;for(l=s-1;l<=s+1;l++)if(d=this._grid[l],d){for(u=a-1;u<=a+1;u++)if(g=d[u],g)for(f=0,m=g.length;f<m;f++)v=g[f],y=this._sqDist(x[L.Util.stamp(v)],o),(y<C||y<=C&&b===null)&&(C=y,b=v)}return b},_getCoord:function(o){var a=Math.floor(o/this._cellSize);return isFinite(a)?a:o},_sqDist:function(o,a){var s=a.x-o.x,l=a.y-o.y;return s*s+l*l}},function(){L.QuickHull={getDistant:function(o,a){var s=a[1].lat-a[0].lat,l=a[0].lng-a[1].lng;return l*(o.lat-a[0].lat)+s*(o.lng-a[0].lng)},findMostDistantPointFromBaseLine:function(o,a){var s=0,l=null,u=[],f,d,g;for(f=a.length-1;f>=0;f--){if(d=a[f],g=this.getDistant(d,o),g>0)u.push(d);else continue;g>s&&(s=g,l=d)}return{maxPoint:l,newPoints:u}},buildConvexHull:function(o,a){var s=[],l=this.findMostDistantPointFromBaseLine(o,a);return l.maxPoint?(s=s.concat(this.buildConvexHull([o[0],l.maxPoint],l.newPoints)),s=s.concat(this.buildConvexHull([l.maxPoint,o[1]],l.newPoints)),s):[o[0]]},getConvexHull:function(o){var a=!1,s=!1,l=!1,u=!1,f=null,d=null,g=null,m=null,v=null,y=null,x;for(x=o.length-1;x>=0;x--){var C=o[x];(a===!1||C.lat>a)&&(f=C,a=C.lat),(s===!1||C.lat<s)&&(d=C,s=C.lat),(l===!1||C.lng>l)&&(g=C,l=C.lng),(u===!1||C.lng<u)&&(m=C,u=C.lng)}s!==a?(y=d,v=f):(y=m,v=g);var b=[].concat(this.buildConvexHull([y,v],o),this.buildConvexHull([v,y],o));return b}}}(),L.MarkerCluster.include({getConvexHull:function(){var o=this.getAllChildMarkers(),a=[],s,l;for(l=o.length-1;l>=0;l--)s=o[l].getLatLng(),a.push(s);return L.QuickHull.getConvexHull(a)}}),L.MarkerCluster.include({_2PI:Math.PI*2,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(!(this._group._spiderfied===this||this._group._inZoomAnimation)){var o=this.getAllChildMarkers(null,!0),a=this._group,s=a._map,l=s.latLngToLayerPoint(this._latlng),u;this._group._unspiderfy(),this._group._spiderfied=this,this._group.options.spiderfyShapePositions?u=this._group.options.spiderfyShapePositions(o.length,l):o.length>=this._circleSpiralSwitchover?u=this._generatePointsSpiral(o.length,l):(l.y+=10,u=this._generatePointsCircle(o.length,l)),this._animationSpiderfy(o,u)}},unspiderfy:function(o){this._group._inZoomAnimation||(this._animationUnspiderfy(o),this._group._spiderfied=null)},_generatePointsCircle:function(o,a){var s=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+o),l=s/this._2PI,u=this._2PI/o,f=[],d,g;for(l=Math.max(l,35),f.length=o,d=0;d<o;d++)g=this._circleStartAngle+d*u,f[d]=new L.Point(a.x+l*Math.cos(g),a.y+l*Math.sin(g))._round();return f},_generatePointsSpiral:function(o,a){var s=this._group.options.spiderfyDistanceMultiplier,l=s*this._spiralLengthStart,u=s*this._spiralFootSeparation,f=s*this._spiralLengthFactor*this._2PI,d=0,g=[],m;for(g.length=o,m=o;m>=0;m--)m<o&&(g[m]=new L.Point(a.x+l*Math.cos(d),a.y+l*Math.sin(d))._round()),d+=u/l+m*5e-4,l+=f/d;return g},_noanimationUnspiderfy:function(){var o=this._group,a=o._map,s=o._featureGroup,l=this.getAllChildMarkers(null,!0),u,f;for(o._ignoreMove=!0,this.setOpacity(1),f=l.length-1;f>=0;f--)u=l[f],s.removeLayer(u),u._preSpiderfyLatlng&&(u.setLatLng(u._preSpiderfyLatlng),delete u._preSpiderfyLatlng),u.setZIndexOffset&&u.setZIndexOffset(0),u._spiderLeg&&(a.removeLayer(u._spiderLeg),delete u._spiderLeg);o.fire("unspiderfied",{cluster:this,markers:l}),o._ignoreMove=!1,o._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(o,a){var s=this._group,l=s._map,u=s._featureGroup,f=this._group.options.spiderLegPolylineOptions,d,g,m,v;for(s._ignoreMove=!0,d=0;d<o.length;
vendor: 5,770 bytes, line 500
500d++)v=l.layerPointToLatLng(a[d]),g=o[d],m=new L.Polyline([this._latlng,v],f),l.addLayer(m),g._spiderLeg=m,g._preSpiderfyLatlng=g._latlng,g.setLatLng(v),g.setZIndexOffset&&g.setZIndexOffset(1e6),u.addLayer(g);this.setOpacity(.3),s._ignoreMove=!1,s.fire("spiderfied",{cluster:this,markers:o})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(o,a){var s=this,l=this._group,u=l._map,f=l._featureGroup,d=this._latlng,g=u.latLngToLayerPoint(d),m=L.Path.SVG,v=L.extend({},this._group.options.spiderLegPolylineOptions),y=v.opacity,x,C,b,E,T,D;for(y===void 0&&(y=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),m?(v.opacity=0,v.className=(v.className||"")+" leaflet-cluster-spider-leg"):v.opacity=y,l._ignoreMove=!0,x=0;x<o.length;x++)C=o[x],D=u.layerPointToLatLng(a[x]),b=new L.Polyline([d,D],v),u.addLayer(b),C._spiderLeg=b,m&&(E=b._path,T=E.getTotalLength()+.1,E.style.strokeDasharray=T,E.style.strokeDashoffset=T),C.setZIndexOffset&&C.setZIndexOffset(1e6),C.clusterHide&&C.clusterHide(),f.addLayer(C),C._setPos&&C._setPos(g);for(l._forceLayout(),l._animationStart(),x=o.length-1;x>=0;x--)D=u.layerPointToLatLng(a[x]),C=o[x],C._preSpiderfyLatlng=C._latlng,C.setLatLng(D),C.clusterShow&&C.clusterShow(),m&&(b=C._spiderLeg,E=b._path,E.style.strokeDashoffset=0,b.setStyle({opacity:y}));this.setOpacity(.3),l._ignoreMove=!1,setTimeout(function(){l._animationEnd(),l.fire("spiderfied",{cluster:s,markers:o})},200)},_animationUnspiderfy:function(o){var a=this,s=this._group,l=s._map,u=s._featureGroup,f=o?l._latLngToNewLayerPoint(this._latlng,o.zoom,o.center):l.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),g=L.Path.SVG,m,v,y,x,C,b;for(s._ignoreMove=!0,s._animationStart(),this.setOpacity(1),v=d.length-1;v>=0;v--)m=d[v],m._preSpiderfyLatlng&&(m.closePopup(),m.setLatLng(m._preSpiderfyLatlng),delete m._preSpiderfyLatlng,b=!0,m._setPos&&(m._setPos(f),b=!1),m.clusterHide&&(m.clusterHide(),b=!1),b&&u.removeLayer(m),g&&(y=m._spiderLeg,x=y._path,C=x.getTotalLength()+.1,x.style.strokeDashoffset=C,y.setStyle({opacity:0})));s._ignoreMove=!1,setTimeout(function(){var E=0;for(v=d.length-1;v>=0;v--)m=d[v],m._spiderLeg&&E++;for(v=d.length-1;v>=0;v--)m=d[v],m._spiderLeg&&(m.clusterShow&&m.clusterShow(),m.setZIndexOffset&&m.setZIndexOffset(0),E>1&&u.removeLayer(m),l.removeLayer(m._spiderLeg),delete m._spiderLeg);s._animationEnd(),s.fire("unspiderfied",{cluster:a,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(o){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(o))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(o){this._spiderfied&&this._spiderfied.unspiderfy(o)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(o){o._spiderLeg&&(this._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow(),o.setZIndexOffset&&o.setZIndexOffset(0),this._map.removeLayer(o._spiderLeg),delete o._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(o){return o?o instanceof L.MarkerClusterGroup?o=o._topClusterLevel.getAllChildMarkers():o instanceof L.LayerGroup?o=o._layers:o instanceof L.MarkerCluster?o=o.getAllChildMarkers():o instanceof L.Marker&&(o=[o]):o=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(o),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(o),this},_flagParentsIconsNeedUpdate:function(o){var a,s;for(a in o)for(s=o[a].__parent;s;)s._iconNeedsUpdate=!0,s=s.__parent},_refreshSingleMarkerModeMarkers:function(o){var a,s;for(a in o)s=o[a],this.hasLayer(s)&&s.setIcon(this._overrideMarkerIcon(s))}}),L.Marker.include({refreshIconOptions:function(o,a){var s=this.options.icon;return L.setOptions(s,o),this.setIcon(s),a&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),n.MarkerClusterGroup=r,n.MarkerCluster=i,Object.defineProperty(n,"__esModule",{value:!0})})})(DH,DH.exports);const XPe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o
500/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",JPe=Object.freeze(Object.defineProperty({__proto__:null,default:XPe},Symbol.toStringTag,{value:"Module"})),eUe=_n(JPe),tUe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",nUe=Object.freeze(Object.defineProperty({__proto__:null,default:tUe},Symbol.toStringTag,{value:"Module"})),rUe=_n(nUe),iUe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///
500dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",oUe=Object.freeze(Object.defineProperty({__proto__:null,default:iUe},Symbol.toStringTag,{value:"Module"})),aUe=_n(oUe);var xh=ro&&ro.__assign||function(){return xh=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},xh.apply(this,arguments)},sUe=ro&&ro.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},lUe=ro&&ro.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(IV,"__esModule",{value:!0});var ek=ZPe,lD=lUe(Ds);delete lD.default.Icon.Default.prototype._getIconUrl;lD.default.Icon.Default.mergeOptions({iconRetinaUrl:eUe.default,iconUrl:rUe.default,shadowUrl:aUe.default});function AUe(e){var t={},n={};e.children;var r=sUe(e,["children"]);return Object.entries(r).forEach(function(i){var o,a,s=i[0],l=i[1];s.startsWith("on")?n=xh(xh({},n),(o={},o[s]=l,o)):t=xh(xh({},t),(a={},a[s]=l,a))}),{clusterProps:t,clusterEvents:n}}function uUe(e,t){var n=AUe(e),r=n.clusterProps,i=n.clusterEvents,o=new lD.default.MarkerClusterGroup(r);return Object.entries(i).forEach(function(a){var s=a[0],l=a[1],u="cluster".concat(s.substring(2).toLowerCase());o.on(u,l)}),(0,ek.createElementObject)(o,(0,ek.extendContext)(t,{layerContainer:o}))}var cUe=function(e,t,n){},fUe=(0,ek.createPathComponent)(uUe,cUe),dUe=IV.default=fUe;function hUe(e){return e}function pUe(e){if(e==null)return hUe;var t,n,r=e.scale[0],i=e.scale[1],o=e.translate[0],a=e.translate[1];return function(s,l){l||(t=n=0);var u=2,f=s.length,d=new Array(f);for(d[0]=(t+=s[0])*r+o,d[1]=(n+=s[1])*i+a;u<f;)d[u]=s[u],++u;return d}}function gUe(e,t){for(var n,r=e.length,i=r-t;i<--r;)n=e[i],e[i++]=e[r],e[r]=n}function mUe(e,t){return typeof t=="string"&&(t=e.objects[t]),t.type==="GeometryCollection"?{type:"FeatureCollection",features:t.geometries.map(function(n){return RH(e,n)})}:RH(e,t)}function RH(e,t){var n=t.id,r=t.bbox,i=t.properties==null?{}:t.properties,o=vUe(e,t);return n==null&&r==null?{type:"Feature",properties:i,geometry:o}:r==null?{type:"Feature",id:n,properties:i,geometry:o}:{type:"Feature",id:n,bbox:r,properties:i,geometry:o}}function vUe(e,t){var n=pUe(e.transform),r=e.arcs;function i(f,d){d.length&&d.pop();for(var g=r[f<0?~f:f],m=0,v=g.length;m<v;++m)d.push(n(g[m],m));f<0&&gUe(d,v)}function o(f){return n(f)}function a(f){for(var d=[],g=0,m=f.length;g<m;++g)i(f[g],d);return d.length<2&&d.push(d[0]),d}function s(f){for(var d=a(f);d.length<4;)d.push(d[0]);return d}function l(f){return f.map(s)}function u(f){var d=f.type,g;switch(d){case"GeometryCollection":return{type:d,geometries:f.geometries.map(u)};case"Point":g=o(f.coordinates);break;case"MultiPoint":g=f.coordinates.map(o);break;case"LineString":g=a(f.arcs);break;case"MultiLineString":g=f.arcs.map(a);break;case"Polygon":g=l(f.arcs);break;case"MultiPolygon":g=f.arcs.map(l);break;default:return null}return{type:d,coordinates:g}}return u(t)}const _Ue="/assets/marker-f38945bc.png",yUe="_leaflet_container_vv4jd_10",wUe="_clusterIcon_vv4jd_15",bUe="_clusterIconSpan_vv4jd_31",BUe="_customClusterIconRed_vv4jd_48",CUe="_customClusterIconGreen_vv4jd_52",xUe="_customClusterIconBlue_vv4jd_56",sS={"leaflet-container":"_leaflet-container_vv4jd_6",leaflet_container:yUe,clusterIcon:wUe,clusterIconSpan:bUe,customClusterIconRed:BUe,customClusterIconGreen:CUe,customClusterIconBlue:xUe},EUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState(window.matchMedia("(max-width:600px)").matches),[i,o]=k.useState(!1),[a,s]=k.useState([]),[l,u]=k.useState([]);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",x=>r(x.matches))},[]);const[f,d]=k.useState(null);k.useEffect(()=>{fetch("/json/IndiaDistricts.json").then(x=>x.json()).then(x=>{const C=mUe(x,x.objects.data);d(C)}).catch(x=>console.error("Error loading GeoJSON:",x))},[]),k.useEffect(()=>{var x=[];e.forEach((C,b)=>
500{C.plots.forEach((E,T)=>{x.push({pincode:E.name,count:E.value&&E.value})})}),u(x)},[e]),k.useEffect(()=>{const x=l;o(!0);const C=x.reduce((E,T)=>{const D=T.pincode;return E[D]||(E[D]=[]),E[D].push(T),E},{}),b=[];Object.keys(C).map(E=>{const T=wt.map(C[E],"count"),D=T[T.length-1],I=T[0]/D,U=T[1]/D,H=[];H.push(U,I);const V={pincode:E,coordinates:H,count:D};b.push(V)}),s(b),o(!1)},[l]),(x=>{if(x){var C=[];return x.forEach((b,E)=>{let T=[];T.push({headerName:b.headerName,headerValue:b.headerValue}),C.push(T)}),C}})(e);const m=x=>({fillColor:"#000000",weight:2,opacity:.2,color:"#000000",fillOpacity:0}),v=new Ds.Icon({iconUrl:_Ue,iconSize:[48,48]}),y=x=>{const C={html:`<div class="${sS.clusterIcon}"><span class="${sS.clusterIconSpan}">${x.getChildCount()}</span></div>`,iconSize:Ds.point(33,33,!0)};return new Ds.divIcon(C)};return w.jsx("div",{className:" ",children:w.jsxs(GPe,{center:[22.9734,78.6569],zoom:4,className:`${sS.leaflet_container}`,children:[w.jsx(qPe,{url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png"}),f&&w.jsx(KPe,{data:f,style:m}),w.jsx(dUe,{chunkedLoading:!0,iconCreateFunction:y,children:a.length>0&&a.map((x,C)=>
500w.jsx(YPe,{position:x.coordinates,icon:v},C))})]})})};Vi.register(Ps,ma,Ls,$A,wa,ya);const SUe=({chartData:e})=>{const[t,n]=k.useState([]),[r,i]=k.useState(window.matchMedia("(max-width:600px)").matches);k.useState([]);const[o,a]=k.useState(),[s,l]=k.useState(),[u,f]=k.useState(0),[d,g]=k.useState(100),m=qe(Jt);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",b=>i(b.matches))},[]);const v=qe(es);k.useEffect(()=>{n({scales:{y:{grid:{display:!0},ticks:{color:m?"#676767":"#ffffff"},min:u,max:d},y2:{position:"right",grid:{display:!0},ticks:{color:m?"#676767":"#ffffff"},min:u,max:d},x:{grid:{display:!0},ticks:{crossAlign:"near",color:m?"#676767":"#ffffff",callback:function(E){return this.getLabelForValue(E).split(" ")[0]}}}},responsive:!0,options:{responsive:!0,maintainAspectRatio:!1,animation:!1},plugins:{legend:{position:"bottom",display:!r,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:m?"#676767":"#ffffff",font:{size:14,weight:"bold"}},align:"center"},datalabels:{display:!1}}})},[m,u,d]);const y=b=>{if(b){var E={labels:[],datasets:[]};let T=$t(m?"cb-Custom2":"cb-Custom3",b.length).map(function(D){return"#"+D});return b.forEach((D,I)=>{let U={label:"",borderColor:D.colorPaletteCode?D.colorPaletteCode:T[I],backgroundColor:D.colorPaletteCode?D.colorPaletteCode:T[I],yAxisID:I===0?"y2":"y",fill:!1,type:I===0?"line":"bar",title:{display:!0}},H=[],V=[],j="";U.label=D.headerName,D.plots.forEach((z,q)=>{j=xc(z.value,z.symbol,"Unit"),j=typeof j=="string"?parseFloat(j.replace(/,/g,"")):j,H.push(z.value&&z.value.toFixed(2)),V.push(z.name)}),U.data=H,E.labels=V,E.datasets.push(U)}),E}},x=b=>{if(b){var E=[];return b.forEach((T,D)=>{let I=[];I.push({headerName:T.headerName,headerValue:T.headerValue}),E.push(I)}),E}};let C=x(e);return k.useEffect(()=>{let b=y(e),E=x(e);a(b),l(E);const D=b.datasets.map(H=>H.data).flat(),I=Math.min(...D),U=Math.max(...D);g(U),f(I)},[e,m,d,u]),o?w.jsxs("div",{className:"",children:[w.jsx("div",{className:"row mb-2 gap-2 ps-2",children:v&&C.map((b,E)=>w.jsx("div",{className:"col-2 p-2 px-3 "},E))}),o&&d&&w.jsx(sV,{type:"bar",redraw:!0,color:"#000000",data:o,options:t,width:`${r?"400":"auto"}`,height:`${r&&"400"}`})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(Ps,ma,nc,ml,$A,wa,mV,ya,eV);const FUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),a=qe(Jt);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",G=>o(G.matches))},[]);const[s,l]=k.useState(null),u=qe(es),[f,d]=k.useState(),[g,m]=pt(yp),[v,y]=k.useState(!1),x=k.useRef(),[C,b]=k.useState(0),[E,T]=k.useState(7),D=(G,ee)=>{ee.length>0?l(ee[0].datasetIndex):l(null)};k.useEffect(()=>{let G;r({elements:{point:{radius:0},line:{tension:0}},radius:5,hitRadius:30,hoverRadius:12,onHover:D,scales:{y:{type:"linear",display:!0,position:"left",grid:{display:!0,drawOnChartArea:!0},ticks:{color:a?"#676767":"#ffffff"},beginAtZero:!0},x:{display:!0,min:C,max:E,grid:{display:!1,drawOnChartArea:!0}}},responsive:!0,animation:{onComplete:()=>{G=!0},delay:re=>{let X=0;return(re.type==="data"&&re.mode==="default"||re.type==="resize"&&!G)&&(X=re.dataIndex*100+re.datasetIndex*10),X}},onClick:(re,X)=>{if(X.length>0){const ge=X[0];ge.dataSetIndex;const N=ge.index;d(ae.labels[N])}},plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}},align:"center"},datalabels:{display:!1,align:"end",anchor:"end",rotation:0,font:{size:12},color:"black",formatter:function(re,X){return re[1]-re[0],re>0?`${Math.round(re)}`:""}}},interaction:{mode:"index",intersect:!1}})},[a,v,C]),k.useEffect(()=>{m(f),b(0),T(7)},[f]),k.useEffect(()=>{const G=x.current.canvas;return G.addEventListener("wheel",ee=>{I(ee,x.current)}),()=>{G.removeEventListener("wheel",I)}},[]);const I=(G,ee)=>{G.preventDefault();const re=G.deltaY,X=ee.data.labels.length;re>0?ee.config.options.scales.x.max>=X?(ee.config.options.scales.x.min=X-7,ee.config.options.scales.x.max=X):(ee.config.options.scales.x.min+=1,ee.config.options.scales.x.max+=1):re<0&&(ee.config.options.scales.x.min<=0?(ee.config.options.scales.x.min=0,ee.config.options.scales.x.max=7):(ee.config.options.scales.x.min-=1,ee.config.options.scales.x.max-=1)),ee.update(
500)},U=()=>{const G=x.current,ee=G.data.labels.length;G.config.options.scales.x.max>=ee-8?(b(ee-8),T(ee)):(b(G.config.options.scales.x.min+8),T(G.config.options.scales.x.max+8))},H=()=>{const G=x.current;G.config.options.scales.x.max<=6?(b(0),T(7)):(T(C-1),b(G.config.options.scales.x.min-8))},V=G=>{if(G){var ee={labels:[],datasets:[]};return G.forEach((re,X)=>{let ge=$t(a?"cb-Custom2":"cb-Custom3",G.length).map(function(te){return"#"+te}),N={label:"",borderColor:re.colorPaletteCode?re.colorPaletteCode:ge[X],backgroundColor:re.colorPaletteCode?re.colorPaletteCode:ge[X],fill:!1,tension:.3},pe=[],W=[],P="";N.label=re.headerName,re.plots.forEach((te,J)=>{P=xc(te.value,te.symbol,"Unit"),P=typeof P=="string"?parseFloat(P.replace(/,/g,"")):P,pe.push(te.value&&te.value.toFixed(4)),W.push(te.name)}),N.data=pe,ee.labels=W,ee.datasets.push(N)}),ee}},j=G=>{if(G){var ee=[];return G.forEach((re,X)=>{let ge=[];ge.push({headerName:re.headerName,headerValue:re.headerValue}),ee.push(ge)}),ee}},q=[{id:"verticalLinePlugin",afterDraw:G=>{var ee;if((ee=G.tooltip)!=null&&ee._active&&G.tooltip._active.length){const re=G.scales.y,X=G.ctx;X.save(),G.data.datasets.forEach((ge,N)=>{const pe=G.tooltip._active[0].element.x,W=G.tooltip._active[0].element.x;X.beginPath(),X.setLineDash([5,5]),X.moveTo(pe,re.top+G.tooltip._active[0].element.y),X.lineTo(pe,re.bottom),X.moveTo(W,re.top+G.tooltip._active[0].element.y),X.lineTo(W,re.bottom),X.fillStyle="rgba(0, 0, 0, 1)",X.fillRect(pe,re.top+G.tooltip._active[0].element.y,W-pe,re.bottom-(re.top+G.tooltip._active[0].element.y)),X.lineWidth=2,X.strokeStyle="rgba(0, 0, 0, 1)",X.stroke(),X.restore()})}}}];let Z=j(e),ae=V(e);return ae?w.jsxs("div",{className:"",onClick:()=>y(!v),children:[w.jsxs("div",{className:"row mb-2 gap-2 ps-2",children:[u&&Z.map((G,ee)=>w.jsx("div",{className:"col-2 p-2 "},ee)),w.jsx("div",{className:"p-0",children:w.jsxs("div",{className:"d-flex float-end ",children:[w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 me-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>H(),children:"chevron_left"}),w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>U(),children:"chevron_right"})]})})]}),w.jsx(lV,{ref:x,data:ae,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`,plugins:q})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(Ps,ma,Ls,$A,wa,ya);const TUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",j=>o(j.matches))},[]);const a=qe(Jt),[s,l]=k.useState(),[u,f]=pt(yp),[d,g]=k.useState(!1),m=k.useRef(),[v,y]=k.useState(0),[x,C]=k.useState(4);k.useEffect(()=>{let j;r({indexAxis:"x",scales:{y:{display:!0,grid:{drawOnChartArea:!1},ticks:{color:a?"#676767":"#ffffff"}},x:{display:!0,min:v,max:x,grid:{drawOnChartArea:!0}}},responsive:!0,options:{responsive:!0,maintainAspectRatio:!0,animation:!1},animation:{onComplete:()=>{j=!0},delay:q=>{let Z=0;return(q.type==="data"&&q.mode==="default"||q.type==="resize"&&!j)&&(Z=q.dataIndex*100+q.datasetIndex*10),Z}},onClick:(q,Z)=>{if(Z.length>0){const ae=Z[0];ae.dataSetIndex;const G=ae.index;l(V.labels[G])}},plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}},onHover:D,onLeave:I,align:"center"},datalabels:{display:!1,align:"end",anchor:"end",rotation:0,font:{size:12},color:"black",formatter:function(q,Z){return q[1]-q[0],q>0?`${Math.round(q)}`:""}}}})},[a,i,v]),k.useEffect(()=>{f(s),y(0),C(4)},[s]),k.useEffect(()=>{const j=m.current.canvas;return j.addEventListener("wheel",z=>{b(z,m.current)}),()=>{j.removeEventListener("wheel",b)}},[]);const b=(j,z)=>{j.preventDefault();const q=j.deltaY,Z=z.data.labels.length;q>0?z.config.options.scales.x.max>=Z?(z.config.options.scales.x.min=Z-4,z.config.options.scales.x.max=Z):(z.config.options.scales.x.min+=1,z.config.options.scales.x.max+=1):q<0&&(z.config.options.scales.x.min<=0?(z.config.options.scales.x.min=0,z.config.options.scales.x.max=4):(z.config.options.scales.x.min-=1,z.config.options.scales.x.max-=1)),z.update(
500)},E=()=>{const j=m.current,z=j.data.labels.length;j.config.options.scales.x.max>=z-5?(y(z-5),C(z)):(y(j.config.options.scales.x.min+5),C(j.config.options.scales.x.max+5))},T=()=>{const j=m.current;j.config.options.scales.x.max<=6?(y(0),C(4)):(C(v-1),y(j.config.options.scales.x.min-5))};function D(j,z,q){j.native.target.style.cursor="pointer"}function I(j,z,q){z.lineWidth=0}const U=j=>{if(j){var z={labels:[],datasets:[]};let q=$t(a?"cb-Custom2":"cb-Custom3",j.length).map(function(Z){return"#"+Z});return j.forEach((Z,ae)=>{let G={label:"",borderColor:Z.colorPaletteCode?Z.colorPaletteCode:q[ae],backgroundColor:Z.colorPaletteCode?Z.colorPaletteCode:q[ae],fill:!1},ee=[],re=[],X="";G.label=Z.headerName,Z.plots.forEach((ge,N)=>{X=xc(ge.value,ge.symbol,"Unit"),X=typeof X=="string"?parseFloat(X.replace(/,/g,"")):X,ee.push(ge.value&&ge.value.toFixed(2)),re.push(ge.name)}),G.data=ee,z.labels=re,z.datasets.push(G)}),z}};(j=>{if(j){var z=[];return j.forEach((q,Z)=>{let ae=[];ae.push({headerName:q.headerName,headerValue:q.headerValue}),z.push(ae)}),z}})(e);let V=U(e);return V?w.jsxs("div",{className:"",onClick:()=>g(!d),children:[w.jsx("div",{className:"row mb-3 g-2 ps-2",children:w.jsx("div",{className:"p-0",children:w.jsxs("div",{className:"d-flex float-end ",children:[w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 me-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>T(),children:"chevron_left"}),w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>E(),children:"chevron_right"})]})})}),w.jsx(Xv,{ref:m,color:"#000000",data:V,options:n,width:`${i?"400":"auto"}`,height:`${i&&"400"}`})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(kf,wa,ya);const OUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),a=qe(Jt);qe(es);const[s,l]=k.useState(),[u,f]=pt(yp),[d,g]=k.useState(!1);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",x=>o(x.matches))},[]),k.useEffect(()=>{r({options:{responsive:!0,maintainAspectRatio:!0,animation:!1,scales:{yAxes:{ticks:{beginAtZero:!0,color:a?"#676767":"#ffffff"}}}},onClick:(C,b)=>{if(b.length>0){const E=b[0];E.dataSetIndex;const T=E.index;l(y.labels[T])}},plugins:{legend:{position:"top",display:!i,labels:{boxWidth:24,padding:16,usePointStyle:!0,pointStyle:"rectRounded",pointStyleWidth:32,useBorderRadius:!0,borderRadius:12,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}}}}})},[a]),k.useEffect(()=>{console.log(s),f(s)},[s]);const m=x=>{if(x){var C={labels:[],datasets:[]};return wt.map(x,function(b,E){var T={label:"",data:[],dataSymbol:[],backgroundColor:[],borderColor:[],borderWidth:1};let D=b.plots.length>50?50:b.plots.length,I=$t(a?"cb-Custom2":"cb-Custom3",D).map(function(j){return"#"+j});for(var U=b.plots,H=[],V=0;V<U.length;V++)H.push(U[V].name),T.data.push(U[V].value),T.dataSymbol.push([U[V].symbol,"Unit"]),T.backgroundColor.push(U[V].color||I[V]),T.borderColor.push(U[V].color||"#AAA");C.labels=H,C.datasets.push(T)}),C}};(x=>{if(x){var C=[];return x.forEach((b,E)=>{let T=[];T.push({headerName:b.headerName,headerValue:b.headerValue}),C.push(T)}),C}})(e);let y=m(e);return y?w.jsx("div",{className:"",onClick:()=>g(!d),children:w.jsx(XRe,{data:y,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(ma,nc,ml,wa,ya);const kUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]);k.useEffect(()=>{let s;r({scales:{y:{beginAtZero:!0}},animation:{onComplete:()=>{s=!0},delay:u=>{let f=0;return(u.type==="data"&&u.mode==="default"||u.type==="resize"&&!s)&&(f=u.dataIndex*100+u.datasetIndex*10),f}}})},[]);const i=qe(Jt);let a=(s=>{let l=[],u=[],f=[],d=[];return f.push($t(i?"cb-Custom2":"cb-Custom3",s.length).map(function(g){return"#"+g})),d.push($t(i?"cb-Custom2":"cb-Custom3",s.length).map(function(g){return"#"+g})),wt.forEach(s,function(g,m){for(var v=g.plots,y=0;y<v.length;
500y++)u.push({label:g.headerName,fill:!1,lineTension:.1,backgroundColor:f[0][m],borderColor:f[0][m],borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",pointBorderWidth:1,pointHoverRadius:5,pointHoverBorderWidth:2,pointRadius:1,pointHitRadius:10,data:[{x:v[y].xAxis,y:v[y].yAxis}]})}),l.push({labels:["Data"],datasets:u}),l[0]})(e);return a?w.jsx("div",{className:"col-md-12 col-lg-12",children:w.jsx(JRe,{options:n,data:a})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(Ps,ma,Ls,$A,wa,ya);const IUe=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),a=qe(Jt),[s,l]=k.useState(!1);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",q=>o(q.matches))},[]);const u=qe(es),[f,d]=k.useState(),[g,m]=pt(yp),v=k.useRef(),[y,x]=k.useState(0),[C,b]=k.useState(4);k.useEffect(()=>{let q;r({indexAxis:"x",scales:{y:{stacked:!0,grid:{drawOnChartArea:!1},ticks:{color:a?"#676767":"#ffffff"}},x:{min:y,max:C,stacked:!0,grid:{drawOnChartArea:!0}}},responsive:!0,onClick:(ae,G)=>{if(G.length>0){const ee=G[0];ee.dataSetIndex;const re=ee.index;console.log(z.labels[re]),d(z.labels[re])}},animation:{onComplete:()=>{q=!0},delay:ae=>{let G=0;return(ae.type==="data"&&ae.mode==="default"||ae.type==="resize"&&!q)&&(G=ae.dataIndex*100+ae.datasetIndex*10),G}},plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}},onHover:E,onLeave:T,align:"center"},datalabels:{display:!1,align:"center",anchor:"center",rotation:90,font:{size:12,weight:"bold"},color:"#ffffff",formatter:function(ae){return`${Math.round(ae)}`},offset:14}}})},[a,y]),k.useEffect(()=>{m(f),x(0),b(4)},[f]);function E(q,Z,ae){q.native.target.style.cursor="pointer"}function T(q,Z,ae){}k.useEffect(()=>{const q=v.current.canvas;return q.addEventListener("wheel",Z=>{D(Z,v.current)}),()=>{q.removeEventListener("wheel",D)}},[]);const D=(q,Z)=>{q.preventDefault();const ae=q.deltaY,G=Z.data.labels.length;ae>0?Z.config.options.scales.x.max>=G?(Z.config.options.scales.x.min=G-4,Z.config.options.scales.x.max=G):(Z.config.options.scales.x.min+=1,Z.config.options.scales.x.max+=1):ae<0&&(Z.config.options.scales.x.min<=0?(Z.config.options.scales.x.min=0,Z.config.options.scales.x.max=4):(Z.config.options.scales.x.min-=1,Z.config.options.scales.x.max-=1)),Z.update()},I=()=>{const q=v.current,Z=q.data.labels.length;q.config.options.scales.x.max>=Z-5?(x(Z-5),b(Z)):(x(q.config.options.scales.x.min+5),b(q.config.options.scales.x.max+5))},U=()=>{const q=v.current;q.config.options.scales.x.max<=6?(x(0),b(4)):(b(y-1),x(q.config.options.scales.x.min-5))},H=q=>{if(q){var Z={labels:[],datasets:[]};let ae=$t(a?"cb-Custom2":"cb-Custom3",q.length).map(function(G){return"#"+G});return q.forEach((G,ee)=>{let re={label:"",borderColor:G.colorPaletteCode?G.colorPaletteCode:ae[ee],backgroundColor:G.colorPaletteCode?G.colorPaletteCode:ae[ee],fill:!1,barPercentage:1,categoryPercentage:.5},X=[],ge=[],N="";re.label=G.headerName,G.plots.forEach((pe,W)=>{N=xc(pe.value,pe.symbol,"Unit"),N=typeof N=="string"?parseFloat(N.replace(/,/g,"")):N,X.push(pe.value&&pe.value.toFixed(2)),ge.push(pe.name)}),re.data=X,Z.labels=ge,Z.datasets.push(re)}),Z}};let j=(q=>{if(q){var Z=[];return q.forEach((ae,G)=>{let ee=[];ee.push({headerName:ae.headerName,headerValue:ae.headerValue}),Z.push(ee)}),Z}})(e),z=H(e);return z?w.jsxs("div",{className:"",onClick:()=>l(!s),children:[w.jsxs("div",{className:"row mb-2 g-2 ps-2",children:[u&&j.map((q,Z)=>w.jsx("div",{className:"col-lg-2 col-md-3 col-sm-4 col-4",children:w.jsx("div",{className:" p-2"})},Z)),w.jsx("div",{className:"p-0",children:w.jsxs("div",{className:"d-flex float-end ",children:[w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 me-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>U(),children:"chevron_left"}),w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>I(),children:"chevron_right"})]})})]}),w.jsx(Xv,{ref:v,color:"#000000",data:z,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})},LUe=({tabData:e})=>{const[t,n]=k.useState([]);k.useEffect(()=>{if(e.length>0){var i=document.querySelectorAll('button[data-bs-toggle="tab"]');
500i.forEach((a,s)=>{a.addEventListener("shown.bs.tab",function(l){let u=l.target;r(u.innerHTML)})});let o=hF.cloneDeep(e);o.map((a,s)=>{s===0&&(a.content=w.jsx(rn,{chartType:a.data[0].vizType,chartData:a.data}))}),n(o)}},[e]);const r=i=>{let o=hF.cloneDeep(e);o.map((a,s)=>{a.name===i&&(a.content=w.jsx(rn,{chartType:a.data[0].vizType,chartData:a.data}))}),n(o)};return w.jsx("div",{className:"col-12",children:w.jsx("div",{className:"mt-4 position-relative",children:w.jsx(Qj,{tabItems:t.length>0?t:e})})})},DUe=({postsPerPage:e,totalPosts:t,paginate:n,currentPage:r})=>{const i=[],o=qe(Jt);for(let a=1;a<=Math.ceil(t/e);a++)i.push(a);return w.jsx("nav",{children:w.jsxs("ul",{className:" pagination flex-wrap justify-content-center",style:{position:"sticky"},children:[w.jsx("li",{className:` ${r==1?"page-item disabled":"page-item"} `,children:w.jsx("a",{onClick:()=>n(r-1),className:` ${o?"bg-light text-secondary border-1 px-3 ":"bg-dark"} ${r==1?"page-item bg-light ":"page-item bg-white"} page-link py-1 h-100 d-flex align-items-center justify-content-center w-100`,href:"#",children:w.jsx("span",{className:" material-symbols fs-6 d-flex text-center",children:"arrow_back"})})}),i.map(a=>w.jsx("li",{className:` ${a==r?"page-item active ":"page-item"} border-1`,children:w.jsx("a",{onClick:()=>n(a),href:"#",className:` ${o?" bg-white text-secondary px-3 ":"bg-dark"} page-link`,children:a})},a)),w.jsx("li",{className:r==i.at(-1)?"page-item disabled ":"page-item",children:w.jsx("a",{onClick:()=>n(r+1),className:` ${o?"bg-light text-secondary border-1 px-3 ":"bg-dark"} ${r==i.at(-1)?"page-item bg-light ":"page-item bg-white"} page-link`,href:"#",children:w.jsx("span",{className:" material-symbols fs-6 d-flex text-center",children:"arrow_forward"})})})]})})},RUe=({chartData:e,chartCode:t})=>{const n=qe(Jt),[r,i]=k.useState(1),[o]=k.useState(5);k.useEffect(()=>{i(1)},[]);let s=(m=>{if(m){var v={row:[],columnHeader:[],rowValue:[]};return m.filter(Boolean).map(y=>v.row.push(y.headerName)),m.filter(Boolean).map(y=>v.columnHeader.push(y.plots.map(x=>x.name))),m.filter(Boolean).map(y=>v.rowValue.push(y.plots.map((x,C)=>C>1?x.value:null))),v}})(e);const l=r*o,u=l-o,f=s.row.slice(u,l),d=s.rowValue.slice(u,l);f[0];const g=k.useCallback(m=>{event==null||event.preventDefault(),i(m)},[]);return f&&d?w.jsxs("div",{className:`${n?"bg-light":"bg-dark"} table-responsive px-4 py-2 rounded-2`,id:"tableChart",children:[s.columnHeader.length&&w.jsxs("table",{className:`${n?"table-light":"table-dark"} table `,children:[w.jsx("thead",{children:w.jsx("tr",{children:s.columnHeader[0].map((m,v)=>w.jsx("th",{scope:"col",className:`${Ro.sub_heading_one}`,children:m},v))})}),w.jsx("tbody",{children:f.map((m,v)=>w.jsxs("tr",{children:[w.jsx("th",{scope:"row",className:`${Ro.body_two} `,children:r==1?v+1:o*(r-1)+v+1}),w.jsx("td",{className:`${Ro.body_two} `,children:m}),d[v].filter(y=>y!==null).map((y,x)=>w.jsx("td",{className:`${Ro.body_two}`,children:typeof y=="string"?y:Math.round(y)},x))]},v))})]}),s.row.length>10&&w.jsx("div",{children:w.jsx(DUe,{postsPerPage:o,totalPosts:s.row.length,paginate:g,currentPage:r})})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})},PUe=({chartData:e,chartCode:t})=>{let r=(i=>{if(i){var o={row:[],columnHeader:[],rowValue:[]};return i.filter(Boolean).map(a=>o.row.push(a.headerName)),i.filter(Boolean).map(a=>o.columnHeader.push(a.plots.map(s=>s.name))),i.filter(Boolean).map(a=>o.rowValue.push(a.plots.map((s,l)=>l>1?s.value:null))),o}})(e);return r?w.jsx("div",{className:"table-responsive",id:"tableChart",children:r.columnHeader.length&&w.jsxs("table",{className:"table table-hover metricTextColor",children:[w.jsx("thead",{children:w.jsx("tr",{children:r.columnHeader[0].map((i,o)=>w.jsx("th",{scope:"col",className:`${Ro.sub_heading_two}`,children:i},o))})}),w.jsx("tbody",{children:r.row.map((i,o)=>w.jsxs("tr",{children:[w.jsx("th",{scope:"row",className:`${Ro.body_two}`,children:o+1}),w.jsx("td",{className:`${Ro.body_two}`,children:i}),r.rowValue[o].filter(a=>a!==null).map((a,s)=>w.jsx(w.Fragment,{children:w.jsx("td",{className:`${Ro.body_two}`,children:w.jsxs("div",{className:"d-flex flex-row",children:[w.jsx("div",{className:"col-3",children:Math.round(a)}),w.jsx("div",{className:`${bi.custom_progress_one} progress col-9`,children:w.jsx("div",{className:`${bi.custom_progress_bar_one} progress-bar`,role:"progressbar",title:`${Math.round(a)}`,style:{width:`${Math.round(a)}%`},"aria-valuenow":Math.round(a),"aria-valuemin":0,"aria-valuemax":100})})]})},s)}))]},o))})]})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};function UUe(e,t,n){k.useEffect(()=>{if(!document)return;const r=document.querySelector('script[src="'.concat(e,'"]'));if(r!=null&&r.dataset.loaded){t==null||t();return}const i=r||document.createElement("script");r||(i.src=e);const o=()=>{i.dataset.loaded="1",t==null||t()};i.addEventListener("load",o),n&&i.addEventListener("error",n),r||document.head.append(i)},[])}function NUe(e){let{chartVersion:t="current",chartPackages:n=["corechart","controls"],chartLanguage:r="en",mapsApiKey:i}=e;const[o,a]=k.useState(null),[s,l]=k.useState(!1);
500return UUe("https://www.gstatic.com/charts/loader.js",()=>{const u=window==null?void 0:window.google;u&&(u.charts.load(t,{packages:n,language:r,mapsApiKey:i}),u.charts.setOnLoadCallback(()=>{a(u)}))},()=>{l(!0)}),[o,s]}function MUe(e){let{onLoad:t,onError:n,...r}=e;const[i,o]=NUe(r);return k.useEffect(()=>{i&&t&&t(i)},[i]),k.useEffect(()=>{o&&n&&n()},[o]),null}const LV={legend_toggle:!1,options:{},legendToggle:!1,getChartWrapper:()=>{},spreadSheetQueryParameters:{headers:1,gid:1},rootProps:{},chartWrapperParams:{}};let PH=0;const QUe=()=>(PH+=1,"reactgooglegraph-".concat(PH)),HUe=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#3B3EAC"],$Ue=async function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new Promise((r,i)=>{const o="".concat(n.headers?"headers=".concat(n.headers):"headers=0"),a="".concat(n.query?"&tq=".concat(encodeURIComponent(n.query)):""),s="".concat(n.gid?"&gid=".concat(n.gid):""),l="".concat(n.sheet?"&sheet=".concat(n.sheet):""),u="".concat(n.access_token?"&access_token=".concat(n.access_token):""),f="".concat(o).concat(s).concat(l).concat(a).concat(u),d="".concat(t,"/gviz/tq?").concat(f);new e.visualization.Query(d).send(m=>{m.isError()?i("Error in query: ".concat(m.getMessage()," ").concat(m.getDetailedMessage())):r(m.getDataTable())})})},{Provider:jUe,Consumer:zUe}=k.createContext(LV),VUe=e=>{let{children:t,value:n}=e;return k.createElement(jUe,{value:n},t)},DV=e=>{let{render:t}=e;return k.createElement(zUe,null,n=>t(n))},KUe="#CCCCCC";class WUe extends k.Component{componentDidMount(){this.draw(this.props),window.addEventListener("resize",this.onResize),(this.props.legend_toggle||this.props.legendToggle)&&this.listenToLegendToggle()}componentWillUnmount(){const{google:t,googleChartWrapper:n}=this.props;window.removeEventListener("resize",this.onResize),t.visualization.events.removeAllListeners(n),n.getChartType()==="Timeline"&&n.getChart()&&n.getChart().clearChart()}componentDidUpdate(){this.draw(this.props)}render(){return null}constructor(...t){super(...t),this.state={hiddenColumns:[]},this.listenToLegendToggle=()=>{const{google:n,googleChartWrapper:r}=this.props;n.visualization.events.addListener(r,"select",()=>{const o=r.getChart().getSelection(),a=r.getDataTable();if(o.length===0||o[0].row||!a)return;const s=o[0].column,l=this.getColumnID(a,s);this.state.hiddenColumns.includes(l)?this.setState(u=>({...u,hiddenColumns:[...u.hiddenColumns.filter(f=>f!==l)]})):this.setState(u=>({...u,hiddenColumns:[...u.hiddenColumns,l]}))})},this.applyFormatters=(n,r)=>{const{google:i}=this.props;for(let o of r)switch(o.type){case"ArrowFormat":{new i.visualization.ArrowFormat(o.options).format(n,o.column);break}case"BarFormat":{new i.visualization.BarFormat(o.options).format(n,o.column);break}case"ColorFormat":{const a=new i.visualization.ColorFormat(o.options),{ranges:s}=o;for(let l of s)a.addRange(...l);a.format(n,o.column);break}case"DateFormat":{new i.visualization.DateFormat(o.options).format(n,o.column);break}case"NumberFormat":{new i.visualization.NumberFormat(o.options).format(n,o.column);break}case"PatternFormat":{new i.visualization.PatternFormat(o.options).format(n,o.column);break}}},this.getColumnID=(n,r)=>n.getColumnId(r)||n.getColumnLabel(r),this.draw=async n=>{let{data:r,diffdata:i,rows:o,columns:a,options:s,legend_toggle:l,legendToggle:u,chartType:f,formatters:d,spreadSheetUrl:g,spreadSheetQueryParameters:m}=n;const{google:v,googleChartWrapper:y}=this.props;let x,C=null;if(i){const I=v.visualization.arrayToDataTable(i.old),U=v.visualization.arrayToDataTable(i.new);C=v.visualization[f].prototype.computeDiff(I,U)}r?Array.isArray(r)?x=v.visualization.arrayToDataTable(r):x=new v.visualization.DataTable(r):o&&a?x=v.visualization.arrayToDataTable([a,...o]):g?x=await $Ue(v,g,m):x=v.visualization.arrayToDataTable([]);const b=x.getNumberOfColumns(),E=Array(b).fill(0).map((I,U)=>{const H=this.getColumnID(x,U);return this.state.hiddenColumns.includes(H)?{label:x.getColumnLabel(U),type:x.getColumnType(U),calc:()=>null}:U}),T=y.getChart();y.getChartType()==="Timeline"&&T&&T.clearChart(),y.setChartType(f),y.setOptions(s||{});const D=new v.visualization.DataView(x);D.setColumns(E),y.setDataTable(D),y.draw(),this.props.googleChartDashboard!==null&&this.props.googleChartDashboard.draw(x),C&&(y.setDataTable(C),y.draw()),d&&(this.applyFormatters(x,d),y.setDataTable(x),y.draw()),(u===!0||l===!0)&&this.grayOutHiddenColumns({options:s})},this.grayOutHiddenColumns=n=>{let{options:r}=n;const{googleChartWrapper:i}=this.props,o=i.getDataTable();if(!o)return;const a=o.getNumberOfColumns();if(this.state.hiddenColumns.length>0===!1)return;const l=Array.from({length:a-1}).map((u,f)=>{const d=this.getColumnID(o,f+1);return this.state.hiddenColumns.includes(d)?KUe:r&&r.colors?r.colors[f]:HUe[f]});i.setOptions({...r,colors:l}),i.draw()},this.onResize=()=>{const{googleChartWrapper:n}=this.props;n.draw()}}}class GUe extends k.Component{componentDidMount(){}componentWillUnmount(){}shouldComponentUpdate(){return!1}render(){const{google:t,googleChartWrapper:n,googleChartDashboard:r}=this.props;return k.createElement(DV,{render:i=>
500k.createElement(WUe,Object.assign({},i,{google:t,googleChartWrapper:n,googleChartDashboard:r}))})}}class YUe extends k.Component{shouldComponentUpdate(){return!1}listenToEvents(t){let{chartEvents:n,google:r,googleChartWrapper:i}=t;if(n){r.visualization.events.removeAllListeners(i);for(let a of n){var o=this;const{eventName:s,callback:l}=a;r.visualization.events.addListener(i,s,function(){for(var u=arguments.length,f=new Array(u),d=0;d<u;d++)f[d]=arguments[d];l({chartWrapper:i,props:o.props,google:r,eventArgs:f})})}}}componentDidMount(){var t;const{google:n,googleChartWrapper:r}=this.props;this.listenToEvents({chartEvents:((t=this.propsFromContext)===null||t===void 0?void 0:t.chartEvents)||null,google:n,googleChartWrapper:r})}render(){return this.props,k.createElement(DV,{render:t=>(this.propsFromContext=t,null)})}constructor(t){super(t),this.propsFromContext=null}}let UH=0;class qUe extends k.Component{componentDidMount(){const{options:t,google:n,chartType:r,chartWrapperParams:i,toolbarItems:o,getChartEditor:a,getChartWrapper:s}=this.props,l={chartType:r,options:t,containerId:this.getGraphID(),...i},u=new n.visualization.ChartWrapper(l);u.setOptions(t||{}),s&&s(u,n);const f=new n.visualization.Dashboard(this.dashboard_ref),d=this.addControls(u,f);o&&n.visualization.drawToolbar(this.toolbar_ref.current,o);let g=null;a&&(g=new n.visualization.ChartEditor,a({chartEditor:g,chartWrapper:u,google:n})),this.setState({googleChartEditor:g,googleChartControls:d,googleChartDashboard:f,googleChartWrapper:u,isReady:!0})}componentDidUpdate(){if(!this.state.googleChartWrapper||!this.state.googleChartDashboard||!this.state.googleChartControls)return;const{controls:t}=this.props;if(t)for(let n=0;n<t.length;n+=1){const{controlType:r,options:i,controlWrapperParams:o}=t[n];o&&"state"in o&&this.state.googleChartControls[n].control.setState(o.state),this.state.googleChartControls[n].control.setOptions(i),this.state.googleChartControls[n].control.setControlType(r)}}shouldComponentUpdate(t,n){return this.state.isReady!==n.isReady||t.controls!==this.props.controls}render(){const{width:t,height:n,options:r,style:i}=this.props,o={height:n||r&&r.height,width:t||r&&r.width,...i};return this.props.render?k.createElement("div",{ref:this.dashboard_ref,style:o},k.createElement("div",{ref:this.toolbar_ref,id:"toolbar"}),this.props.render({renderChart:this.renderChart,renderControl:this.renderControl,renderToolbar:this.renderToolBar})):k.createElement("div",{ref:this.dashboard_ref,style:o},this.renderControl(a=>{let{controlProp:s}=a;return s.controlPosition!=="bottom"}),this.renderChart(),this.renderControl(a=>{let{controlProp:s}=a;return s.controlPosition==="bottom"}),this.renderToolBar())}constructor(...t){var n;super(...t),n=this,this.state={googleChartWrapper:null,googleChartDashboard:null,googleChartControls:null,googleChartEditor:null,isReady:!1},this.graphID=null,this.dashboard_ref=k.createRef(),this.toolbar_ref=k.createRef(),this.getGraphID=()=>{const{graphID:r,graph_id:i}=this.props;let o;return!r&&!i?this.graphID?o=this.graphID:o=QUe():r&&!i?o=r:i&&!r?o=i:o=r,this.graphID=o,this.graphID},this.getControlID=(r,i)=>{UH+=1;let o;return typeof r>"u"?o="googlechart-control-".concat(i,"-").concat(UH):o=r,o},this.addControls=(r,i)=>{const{google:o,controls:a}=this.props,s=a?a.map((u,f)=>{const{controlID:d,controlType:g,options:m,controlWrapperParams:v}=u,y=this.getControlID(d,f);return{controlProp:u,control:new o.visualization.ControlWrapper({containerId:y,controlType:g,options:m,...v})}}):null;if(!s)return null;i.bind(s.map(u=>{let{control:f}=u;return f}),r);for(let u of s){const{control:f,controlProp:d}=u,{controlEvents:g=[]}=d;for(let m of g){var l=this;const{callback:v,eventName:y}=m;o.visualization.events.removeListener(f,y,v),o.visualization.events.addListener(f,y,function(){for(var x=arguments.length,C=new Array(x),b=0;b<x;b++)C[b]=arguments[b];v({chartWrapper:r,controlWrapper:f,props:l.props,google:o,eventArgs:C})})}}return s},this.renderChart=()=>{const{width:r,height:i,options:o,style:a,className:s,rootProps:l,google:u}=this.props,f={height:i||o&&o.height,width:r||o&&o.width,...a};return k.createElement("div",Object.assign({id:this.getGraphID(),style:f,className:s},l),this.state.isReady&&this.state.googleChartWrapper!==null?k.createElement(k.Fragment,null,k.createElement(GUe,{googleChartWrapper:this.state.googleChartWrapper,google:u,googleChartDashboard:this.state.googleChartDashboard}),k.createElement(YUe,{googleChartWrapper:this.state.googleChartWrapper,google:u})):null)},this.renderControl=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i=>!0;return n.state.isReady&&n.state.googleChartControls!==null?k.createElement(k.Fragment,null,n.state.googleChartControls.filter(i=>{let{controlProp:o,control:a}=i;return r({control:a,controlProp:o})}).map(i=>{let{control:o,controlProp:a}=i;return k.createElement("div",{key:o.getContainerId(),id:o.getContainerId()})})):null},this.renderToolBar=()=>this.props.toolbarItems?k.createElement("div",{ref:this.toolbar_ref}):null}}class RV extends k.Component{render(){const{chartLanguage:t,chartPackages:n,chartVersion:r,mapsApiKey:i,loader:o,errorElement:a}=this.props;return k.createElement(VUe,{value:this.props},this.state.loadingStatus==="ready"&&this.state.google!==null?k.createElement(qUe,Object.assign({},this.props,{google:this.state.google})):this.state.loadingStatus==="errored"&&a?a:o,k.createElement(MUe,{chartLanguage:t,chartPackages:n,chartVersion:r,mapsApiKey:i,onLoad:this.onLoad,onError:this.onError}))}componentDidMount(){this._isMounted=!0}componentWillUnmount(){this._isMounted=!1}isFullyLoaded(t){const{controls:n,toolbarItems:r,getChartEditor:i}=this.props;return t&&t.visualization&&t.visualization.ChartWrapper&&t.visualization.Dashboard&&(!n||t.visualization.ChartWrapper)&&(!i||t.visualization.ChartEditor)&&(!r||t.visualization.drawToolbar)}constructor(...t){super(...t),this._isMounted=!1,this.state={loadingStatus:"loading",google:null},this.onLoad=n=>{if(this.props.onLoad&&this.props.onLoad(n),this.isFullyLoaded(n))this.onSuccess(n);else{const r=setInterval(()=>{const i=window.google;this._isMounted?i&&this.isFullyLoaded(i)&&(clearInterval(r),this.onSuccess(i)):clearInterval(r)},1e3)}},this.onSuccess=n=>{this.setState({loadingStatus:"ready",google:n})},this.onError=()=>{this.setState({loadingStatus:"errored"})}}}RV.defaultProps=LV;var NH;(function(e){e.annotation="annotation",e.annotationText="annotationText",e.certainty="certainty",e.emphasis="emphasis",e.interval="interval",e.scope="scope",e.style="style",e.tooltip="tooltip",e.domain="domain"})(NH||(NH={}));const ZUe="_test_1p445_3",XUe={test:ZUe},JUe="/assets/planet-b5322aba.png";Vi.register(Ps,ma,Ls,$A,wa,ya);const e2e=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(min-width:996px)").matches&&window.matchMedia("(max-width:1500px)").matches),a=qe(Jt),s=qe(es);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",g=>o(g.matches))},[]);function l(g,m,v){return'<div style="background:#190144; padding:8px 18px; border-radius:18px; color:#FFFFFF ">'+m+"</div>"}let u=$t(a?"cb-Custom2":"cb-Custom3",8).map(function(g){return"#"+g});k.useEffect(()=>{let g={indexAxis:"y",scales:{y:{stacked:!0},x:{stacked:!0}},responsive:!0,maintainAspectRatio:!0,animation:{startup:!0,easing:"linear",duration:1500},options:{responsive:!0,animation:!1},plugins:{legend:{position:"bottom",display:!0},datalabels:{anchor:"end",align:"end"}},minColor:u[4],midColor:u[3],maxColor:u[0],headerHeight:32,fontColor:"white",showScale:!1,headerColor:u[0],textStyle:{color:"white",fontSize:12,bold:!0,italic:!1},generateTooltip:l,useWeightedAverageForAggregation:!0};r(g)},[a,i,s]);let d=(g=>{if(g){g.headerName;let m=["Name","Value","Color"],v=["Total value","","#ffffff"],y=[];return y.push(m),y.push(v),wt.chain(g).flatMap("plots").value().map(C=>{let b=[];b.push(C.name),b.push("Total value"),b.push(C.value),y.push(b)}),y}})(e);return d?w.jsxs("div",{className:"",children:[w.jsx("div",{className:"row mb-2 gap-2 ps-2",children:s&&w.jsx("div",{className:"col-2 p-2 px-3 ",children:w.jsx("div",{className:""})},"index")}),w.jsx(RV,{chartType:"TreeMap",width:"auto",height:"400px",data:d,options:n,className:XUe.test})]}):w.jsx(w.Fragment,{children:w.jsxs("div",{className:" d-flex justify-content-center align-items-center flex-column",children:[w.jsx("img",{className:"w-50 bg-white border-0 img-thumbnail",src:JUe,alt:"empty visual"}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3 text-dark",children:"No data found"})}),w.jsx("div",{className:"w-100 text-center",children:w.jsx("label",{className:"label-style-5 mt-3 text-dark ",children:"Please add the data to view corresponding visualisation here"})})]})})};Vi.register(Ps,ma,Ls,$A,wa,ya);const t2e=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches),a=qe(Jt),s=qe(es),[l,u]=k.useState(!1),[f,d]=k.useState(),[g,m]=pt(yp),[v,y]=pt(Ij),x=k.useRef(),[C,b]=k.useState(0),[E,T]=k.useState(4);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",Z=>o(Z.matches))},[]);let D;k.useEffect(()=>{q!=null&&r({scales:{y:{grid:{display:!1},beginAtZero:!0,ticks:{color:a?"#676767":"#ffffff"}},x:{min:C,max:E,grid:{display:!0},ticks:{crossAlign:"near",color:a?"#676767":"#ffffff"}}},responsive:!0,maintainAspectRatio:!0,onClick:(ae,G)=>{if(G.length>0){const ee=G[0];ee.dataSetIndex;const re=ee.index;d(q.labels[re])}},animation:{onComplete:()=>{D=!0},delay:ae=>{let G=0;return(ae.type==="data"&&ae.mode==="default"||ae.type==="resize"&&!D)&&(G=ae.dataIndex*100+ae.datasetIndex*10),G},scales:{y:{type:"linear",from:0,to:1}}},plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:a?"#676767":"#ffffff",font:{size:14,weight:"bold"}},align:"center"},datalabels:{display:!1,anchor:"end",align:"end"}}})},[a,i,l]),k.useEffect(()=>{const Z=x.current.canvas;return Z.addEventListener("wheel",ae=>{I(ae,x.current)}),()=>{Z.removeEventListener("wheel",I)}},[]);const I=(Z,ae)=>{Z.preventDefault();const G=Z.deltaY,ee=ae.data.labels.length;G>0?ae.config.options.scales.x.max>=ee?(ae.config.options.scales.x.min=ee-4,ae.config.options.scales.x.max=ee):(ae.config.options.scales.x.min+=1,ae.config.options.scales.x.max+=1):G<0&&(ae.config.options.scales.x.min<=0?(ae.config.options.scales.x.min=0,ae.config.options.scales.x.max=4):(ae.config.options.scales.x.min-=1,ae.config.options.scales.x.max-=1)),ae.update(
500)},U=()=>{console.log("clicked");const Z=x.current,ae=Z.data.labels.length;Z.config.options.scales.x.max>=ae-5?(b(ae-5),T(ae)):(b(Z.config.options.scales.x.min+5),T(Z.config.options.scales.x.max+5))},H=()=>{const Z=x.current;console.log(Z.config.options.scales.x.max),console.log(Z.config.options.scales.x.min),Z.config.options.scales.x.max<=6?(b(0),T(4)):(T(C-1),b(Z.config.options.scales.x.min-5))},V=Z=>{if(Z){var ae={labels:[],datasets:[]};let G=$t(a?"cb-Custom2":"cb-Custom3",Z.length).map(function(ee){return"#"+ee});return Z.forEach((ee,re)=>{let X={label:"",borderColor:ee.colorPaletteCode?ee.colorPaletteCode:G[re],backgroundColor:ee.colorPaletteCode?ee.colorPaletteCode:G[re],fill:!1},ge=[],N=[],pe="";X.label=ee.headerName,ee.plots.forEach((W,P)=>{pe=xc(W.value,W.symbol,"Unit"),pe=typeof pe=="string"?parseFloat(pe.replace(/,/g,"")):pe,ge.push(W.value&&W.value.toFixed(2)),N.push(W.name)}),X.data=ge,ae.labels=N,ae.datasets.push(X)}),ae}};k.useEffect(()=>{m(f),y(t),b(0),T(4)},[f]);let z=(Z=>{if(Z){var ae=[];return Z.forEach((G,ee)=>{let re=[];re.push({headerName:G.headerName,headerValue:G.headerValue}),ae.push(re)}),ae}})(e),q=V(e);return q?w.jsxs("div",{className:"",onClick:()=>u(!l),children:[w.jsxs("div",{className:"row mb-2 g-2 ps-2",children:[s&&z.map((Z,ae)=>w.jsx("div",{className:"col-lg-3 col-md-3 col-sm-4 col-4 bg-white"},ae)),w.jsx("div",{className:"p-0",children:w.jsxs("div",{className:"d-flex float-end ",children:[w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 me-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>H(),children:"chevron_left"}),w.jsx("span",{className:` ${a?"":"text-white"} ${a?"":"bg-dark"} rounded p-1 material-icons fs-5 ps-2 text-black `,"data-bs-title":"This top tooltip is themed via CSS variables.",onClick:()=>U(),children:"chevron_right"})]})})]}),w.jsx(Xv,{ref:x,id:"myChart",color:"#000000",data:q,options:n,width:`${i?"400":"auto"}`,height:`${i&&"400"}`})]}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})};Vi.register(Ps,ma,nc,ml,$A,wa,eV,ya);const n2e=({chartData:e,chartCode:t})=>{const[n,r]=k.useState([]),[i,o]=k.useState(window.matchMedia("(max-width:600px)").matches);k.useEffect(()=>{window.matchMedia("(max-width:600px)").addEventListener("change",g=>o(g.matches))},[]);const[,a]=k.useState(null),s=qe(Jt),l=(g,m)=>{m.length>0?a(m[0].datasetIndex):a(null)};k.useEffect(()=>{r({elements:{point:{radius:0},line:{tension:0}},onHover:l,scales:{y:{type:"linear",display:!0,position:"left",grid:{display:!0,drawOnChartArea:!0},ticks:{color:s?"#676767":"#ffffff"}},x:{display:!0,grid:{display:!0,drawOnChartArea:!0},ticks:{crossAlign:"near",color:s?"#676767":"#ffffff",callback:function(m){return this.getLabelForValue(m).split(" ")[0]}}}},responsive:!0,plugins:{legend:{position:"bottom",display:!i,labels:{boxWidth:24,padding:12,usePointStyle:!1,pointStyle:"rectRounded",pointStyleWidth:40,useBorderRadius:!0,borderRadius:6,color:s?"#676767":"#ffffff",font:{size:14,weight:"bold"}},align:"center"},datalabels:{display:!1,align:"end",anchor:"end",rotation:0,font:{size:12},color:"black",formatter:function(m,v){return m[1]-m[0],m>0?`${Math.round(m)}`:""}}},interaction:{mode:"index",intersect:!1}})},[]);const u=g=>{if(g){var m={labels:[],datasets:[]};return g.forEach((v,y)=>{let x=$t(s?"cb-Custom2":"cb-Custom3",g.length).map(function(D){return"#"+D}),C={label:"",borderColor:v.colorPaletteCode?v.colorPaletteCode:x[y],backgroundColor:D=>{const I=D.chart.canvas.getContext("2d").createLinearGradient(0,0,0,D.chart.height);return I.addColorStop(0,v.colorPaletteCode?v.colorPaletteCode:x[y]),I.addColorStop(1,"rgba(255, 255, 255, 0.1)"),I}
500,fill:!0,tension:.1},b=[],E=[],T="";C.label=v.headerName,v.plots.forEach((D,I)=>{T=xc(D.value,D.symbol,"Unit"),T=typeof T=="string"?parseFloat(T.replace(/,/g,"")):T,b.push(D.value&&D.value.toFixed(4)),E.push(D.name)}),C.data=b,m.labels=E,m.datasets.push(C)}),m}};(g=>{if(g){var m=[];return g.forEach((v,y)=>{let x=[];x.push({headerName:v.headerName,headerValue:v.headerValue}),m.push(x)}),m}})(e);let d=u(e);return d?w.jsx("div",{className:"",children:w.jsx("div",{children:w.jsx(lV,{data:d,options:n,width:`${i&&"400"}`,height:`${i&&"400"}`})})}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"",children:w.jsx("img",{className:"empty-state-3",src:"/icons/Empty_icon.svg",alt:"empty visual"})}),w.jsx("div",{className:"",children:w.jsx("label",{className:"label-style-4 mt-3",children:"No data found"})}),w.jsx("div",{className:"w-50",children:w.jsx("label",{className:"label-style-5 mt-3",children:"Please add the data to view corresponding visualisation here"})})]})},rn=({chartType:e,chartData:t,chartId:n,indexValue:r})=>{const[i,o]=k.useState(),[a,s]=k.useState(),[l,u]=k.useState(),[f,d]=k.useState(),[g,m]=k.useState(),[v,y]=k.useState(),[x,C]=k.useState(),[b,E]=k.useState(),[T,D]=k.useState(),[I,U]=k.useState(),[H,V]=k.useState(t),[j,z]=k.useState(),[q,Z]=k.useState(),[ae,G]=k.useState(),[ee,re]=k.useState(),[X,ge]=k.useState(),[N,pe]=k.useState([]),[W,P]=k.useState([]),[te,J]=k.useState([]),[oe,_e]=k.useState([]),[ce,fe]=k.useState([]),[we,Ae]=k.useState([]),[Pe,ke]=k.useState([]),[$e,Xe]=k.useState([]),[gt,mt]=k.useState([]),[At,on]=k.useState([]),[je,Rt]=k.useState([]),[Fn,Tn]=k.useState([]),[In,Kn]=k.useState([]),[Lr,Ee]=k.useState([]),[Qe,rt]=k.useState([]),[bt,jt]=k.useState([]),Un=qe(Jt),Xn=qe(es);k.useEffect(()=>{Cn(t,e)},[t,e,Xn]),k.useEffect(()=>{Cn(t,e)},[]);const Cn=(Me,Ue)=>{if(jt(Me),bt)switch(Ue){case"line":return d(Me);case"pie":return u(Me);case"horizontalbar":return s(Me),o(Me);case"bar":return o(Me);case"scatter":return y(Me);case"bubble":return m(Me);case"table":return C(Me);case"tablebbar":return E(Me);case"tabview":return D(Me);case"metric":return V(Me);case"donut":return U(Me);case"multibar":return o(Me);case"stackedbar":return z(Me);case"treemap":return Z(Me);case"line_bar":return G(Me);case"indiamap":return re(Me);case"funnel":return o(Me);case"area":return ge(Me);default:return null}},me=Me=>{let Ue=[];Me.length>0&&Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:parseInt(Lt.value),valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),pe(Ue)},he=Me=>{let Ue=[];Me.length>0&&Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:parseInt(Lt.value),valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),P(Ue)},Fe=Me=>{let Ue=[];Me.length>0&&Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:parseInt(Lt.value),valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one",color:Lt.color};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),J(Ue)},Ce=Me=>{let Ue=[];Me.length>0&&Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:parseInt(Lt.value),valueLabel:"Value",symbol
500:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one",color:Lt.color};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),on(Ue)},Se=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:Lt.value,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:"line",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),_e(Ue)},Ie=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:Lt.value,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:"line",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),rt(Ue)},st=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",xAxis:Lt.xAxis,yAxis:Lt.yAxis,zAxis:Lt.zAxis,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:"bubble",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),fe(Ue)},at=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",xAxis:Lt.xAxis,yAxis:Lt.yAxis,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:"scatter",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),Ae(Ue)},dt=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];console.log(be),be&&be.plots!=null&&be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:(Lt.symbol=="string",Lt.value),valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={vizType:"table",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),Ue.sort((be,Je)=>be.headerValue-Je.headerValue),ke(Ue)},it=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze={label:"Header",name:"S.No",value:"",valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"},ze={label:"Header",name:"",value:"",valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"},Lt=[];Lt.push(Ze,ze),be.plots&&be.plots.map((an,Ki)=>{let ki={label:"Header",name:Me[0].plots[Ki].value,value:parseInt(an.value),valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Lt.push(ki)});let Tt={vizType:"table",headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:"",colorPaletteId:null,plots:Lt};Ue.push(Tt)}return null}),Xe(Ue)},tn=Me=>{let Ue=[];Me.map((be,Je)=>{if(be.tabTitle)Ue.push({id:Je,name:be.tabTitle,target:`#nav-${be.tabTitle.split(" ").join("-")}`,control:`nav-${be.tabTitle.split(" ").join("-")}`,tabId:`nav-${be.tabTitle.split(" ").join("-")}-tab`,content:"",data:be.chartConfig});else return null}),Ue.length>0&&mt(Ue)},Jn=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:parseInt(Lt.value),valueLabel:"Value",symbol
500:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),Tn(Ue)},Ct=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:Lt.value,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:be.vizType,headerName:be.headerName,headerValue:parseInt(be.headerValue),headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),Ue.length>0&&Kn(Ue)},ft=Me=>{let Ue=[];Me.map((be,Je)=>{if(Je>=0){let Ze=[];be.plots.map((Lt,Tt)=>{let an={label:"Header",name:Me[0].plots[Tt]?Me[0].plots[Tt].name:"",value:Lt.value,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Ze.push(an)});let ze={id:be.id,vizType:"indiamap",headerName:be.headerName,headerValue:be.headerValue,headerSymbol:"",colorPaletteCode:be.color?be.color:"",colorPaletteId:null,plots:Ze};Ue.push(ze)}return null}),Ee(Ue)},kt=Me=>{let Ue=[];const be=Me[0].plots.map(Ze=>Ze.name);function Je(Ze){Ze.plots.sort((ze,Lt)=>be.indexOf(ze.name)-be.indexOf(Lt.name))}Me.forEach(Ze=>{Je(Ze)}),Me.map((Ze,ze)=>{if(ze>=0){let Lt=[];Ze.plots.map((an,Ki)=>{let ki={label:"Header",name:Me[0].plots[Ki]?Me[0].plots[Ki].name:"",value:an.value,valueLabel:"Value",symbol:"number",parentName:null,parentLabel:null,isPercentage:!1,colorCode:"one"};return Lt.push(ki)});let Tt={id:Ze.id,vizType:Ze.vizType,headerName:Ze.headerName,headerValue:parseInt(Ze.headerValue),headerSymbol:"",colorPaletteCode:Ze.color?Ze.color:"",colorPaletteId:null,plots:Lt};Ue.push(Tt)}return null}),Rt(Ue)};switch(k.useEffect(()=>{i&&i.length>0&&me(i)},[i]),k.useEffect(()=>{a&&a.length>=0&&he(a)},[a]),k.useEffect(()=>{ae&&ae.length>=0&&Ct(ae)},[ae]),k.useEffect(()=>{l&&l.length>0&&Fe(l)},[l]),k.useEffect(()=>{f&&f.length>0&&Se(f)},[f]),k.useEffect(()=>{g&&g.length>0&&st(g)},[g]),k.useEffect(()=>{v&&v.length>0&&at(v)},[v]),k.useEffect(()=>{x&&x.length>0&&dt(x)},[x]),k.useEffect(()=>{b&&b.length>0&&it(b)},[b]),k.useEffect(()=>{T&&T.length>0&&tn(T)},[T]),k.useEffect(()=>{I&&I.length>0&&Ce(I)},[I]),k.useEffect(()=>{q&&q.length>0&&Jn(q)},[q]),k.useEffect(()=>{ee&&ee.length>0&&ft(ee)},[ee]),k.useEffect(()=>{j&&j.length>0&&kt(j)},[j]),k.useEffect(()=>{X&&X.length>0&&Ie(X)},[X]),e){case"bar":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(t2e,{chartCode:n,chartData:N})});case"horizontalbar":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(MPe,{chartCode:n,chartData:W})});case"pie":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(OUe,{chartCode:n,chartData:te})});case"line":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(FUe,{chartCode:n,chartData:oe})});case"area":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(n2e,{chartCode:n,chartData:Qe})});case"bubble":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(ePe,{chartCode:n,chartData:ce})});case"scatter":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(kUe,{chartCode:n,chartData:we})});case"table":return w.jsx("div",{className:`${bi.chart_renderer} px-2 col-12`,children:w.jsx(RUe,{chartCode:n,chartData:Pe})});case"table_bar":return w.jsx("div",{className:`${bi.chart_renderer} p-2 col-12`,children:w.jsx(PUe,{chartCode:n,chartData:$e})});case"tab_view":return w.jsx("div",{className:`${bi.chart_renderer} p-2 col-12`,children:w.jsx(LUe,{tabData:gt})});case"metric":return w.jsxs("div",{className:" d-flex col-12 flex-column align-items-start p-2 position-relative",children:[w.jsx(oc,{text:H.title,textColor:Un?"#222222":"#ffffff"}),w.jsx("div",{className:"",children:w.jsx(wp,{title:`${Number.isFinite(H.count)&&Number(H.count)%1!==0?H.count.toFixed(2):H.count||"Metric"} `,textColor:Un?"#000000":"#ffffff"})})]});case"donut":return w.jsx("div",{children:w.jsx("div",{className:`${bi.chart_renderer} p-2 col-12`,children:w.jsx(dPe,{chartCode:n,chartData:At})})});case"multibar":return w.jsx("div",{className:`${bi.chart_renderer} `,children:w.jsx(TUe,{chartCode:n,chartData:N})});case"stackedbar":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(IUe,{chartCode:n,chartData:je})});case"treemap":return w.jsx("div",{className:`${bi.chart_renderer} h-100`,children:w.jsx(e2e,{chartCode:n,chartData:Fn})});case"line_bar":return w.jsx("div",{className:`${bi.chart_renderer} p-2`,children:w.jsx(SUe,{chartCode:n,chartData:In})});case"indiamap":return w.jsx("div",{className:"",children:w.jsx(EUe,{chartCode:n,chartData:Lr})});case"funnel":return w.jsx("div",{className:"",children:w.jsx(NPe,{chartCode:n,chartData:N})});default:return null}},r2e="_vizShadow_8b4gf_1",i2e="_chart_container_8b4gf_5",o2e="_heading_container_8b4gf_10",a2e="_underline_8b4gf_14",s2e="_drill_chart_8b4gf_18",l2e="_download_8b4gf_25",pf={vizShadow:r2e,chart_container:i2e,heading_container:o2e,underline:a2e,drill_chart:s2e,download:l2e},A2e=({chartType:e,data:t,chartName:n,index:r,drillChart:i,chartCode:o,drillDash:a})=>{const[s,l]=k.useState([]),u=qe(Jt),f=qe(es),[d,g]=pt(yp),m=qe(Ja),[v,y]=pt(Lv),[x,C]=pt(Dv),b=qe(np),[E,T]=pt(_c),[D,I]=k.useState(),U=qe(Iv),[H,V]=k.useState(),[j,z]=k.useState(),[q,Z]=k.useState(),[ae,G]=k.useState(),ee=qe(Ij),[re,X]=k.useState(),[ge,N]=k.useState(!1),[pe,W]=k.useState(),[P,te]=pt(MI),[J,oe]=pt(Lj),[_e,ce]=k.useState(!1),[fe,we]=pt(Dj);k.useEffect(()=>{l(null),l(t),V(e),z(o),G(i),Z(n),X(x),W(a)},[t,f]),k.useEffect(()=>{if(N(!0),i&&i!="none"&&d&&d!=null&&ee==o){const ke=async()=>{let Xe=b[0].startDate.getTime(),gt=b[0].endDate.getTime();await KC(ae,m,Xe,gt,d?ae==j?"All":d:E,U,v,[d]).then(mt=>{console.log(ge),I(mt.data.responseData);const At=wt.chain(mt.data.responseData).get("chartType").value(),on=wt.chain(mt.data.responseData).get("data").value(),je=wt.chain(mt.data.responseData).get("drillDownChartId").value();je!="none"?G(je):G(j),je=="none"&&N(!1),console.log(je,j),l(on),V(At)})};(async()=>
500{await OL(ae).then(Xe=>{const gt=wt.chain(Xe.data.responseData).value();Z(gt[0].title);const At=wt.chain(Xe.data.responseData[0]).get("data").value()[0].additionalConfig.config,on=JSON.parse(At);W(on.drillDashboard)})})(),ke()}},[d]);const Ae=()=>{te(!0),oe(pe),we(q)},Pe=ke=>{switch(ke){case un.HORIZONTALBAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.BAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.PIE:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.LINE:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.SCATTER:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.BUBBLE:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.TABLE:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.TABLEBAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.TABVIEW:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.MULTIBAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.STACKBAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.INDIAMAP:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.DOUGHNUT:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.LINEBAR:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.TREEMAP:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.AREA:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.FUNNEL:return w.jsx(rn,{chartId:o,chartType:ke,chartData:s});case un.METRIC:return w.jsx(rn,{chartId:o,chartType:ke,chartData:{title:t[0].headerName,count:t[0].headerValue},indexValue:r});default:return null}};return w.jsx("div",{className:"mb-2",children:s.length>0&&w.jsxs("div",{className:`${e=="metric"?"p-0 ":"py-4 ps-4 pe-3 rounded-4 "} ${pf.vizShadow} ${u?" bg-white":" bg-dark-subtle"} ${e!="metric"&&pf.chart_container} `,children:[n&&e=="metric"?"":w.jsxs("div",{className:`${pf.heading_container} position-relative`,children:[w.jsxs("div",{className:"d-flex align-items-center pt-1 w-100",children:[w.jsx(wp,{title:q,textColor:u?"#000000":"#ffffff",className:`${_e?pf.underline:""} p-0`}),pe&&w.jsx("span",{className:`${pf.download} ${u?"":"text-white"} material-icons float-end ps-2 text-black`,onClick:()=>{Ae()},onMouseEnter:()=>{ce(!0)},onMouseLeave:()=>{ce(!1)},children:"open_in_new"})]}),ae&&ae!="none"&&H!="table"&&w.jsx("div",{className:` ${pf.drill_chart} position-absolute d-flex align-items-center p-1 ${ae==j?"":" opacity-25"} `,onClick:()=>{ae==j&&g("All")},children:w.jsx("span",{className:`${pf.download} ${u?"":"text-white"} material-icons fs-5 float-end ps-2 text-black`,"data-bs-title":"This top tooltip is themed via CSS variables.",children:"history"})})]}),w.jsx("div",{className:"py-2",children:Pe(H)})]})})},Ax=({genChartData:e,chartName:t,indexValue:n,drillChartID:r,drillDashId:i})=>{const[o,a]=k.useState(),[s,l]=k.useState([]),[u,f]=k.useState([]),[d,g]=k.useState("");k.useState(!0);const[m,v]=k.useState();return qe(es),k.useEffect(()=>{v(e)},[e]),k.useEffect(()=>{if(m){const y=wt.chain(m.data.responseData).get("chartType").value();a(y);const x=wt.chain(m.data.responseData).get("data").value();l(x);const C=wt.chain(m.data.responseData).get("visualizationCode").value();f(C),g(t)}},[m]),aB({description:t+" is the name of the chart, which is a "+o+" visualization",value:{plotData:s,metrics:{chartName:t,vizType:o,chartCode:u,indexValue:n,drillChartID:r,drillDashId:i}}}),w.jsxs(w.Fragment,{children:[s&&w.jsx(A2e,{chartType:o,data:s,chartName:d||"",index:n,drillChart:r,chartCode:u,drillDash:i}),s?null:w.jsx(rx,{})]})},u2e="_custom_modal_width_164qh_1",c2e="_insight_card_164qh_27",f2e="_insight_text_164qh_37",xB={custom_modal_width:u2e,insight_card:c2e,insight_text:f2e},AD=()=>{const e=qe(Jt),t=({width:n="100%",height:r="16px",className:i=""})=>w.jsx("div",{className:`${e?Es.skeleton_insight:Es.skeleton_dark_insight} rounded-3 ${i}`,style:{width:n,height:r}});return w.jsx(w.Fragment,{children:[1,2,3].map(n=>w.jsx("div",{className:`${e?"bg-white":"bg-dark-subtle"} p-4 mb-3 col-md-12 col-lg-12 col-xl-12 rounded-4 shadow-sm border ${e?"border-light":"border-dark"}`,children:w.jsxs("div",{className:"d-flex flex-column gap-2",children:[w.jsx(t,{width:"100%",height:"18px",className:"mb-2"}),w.jsx(t,{width:"100%",height:"18px",className:"mb-2"}),w.jsx(t,{width:"100%",height:"18px",className:"mb-2"})]})}
500,n))})},d2e=e=>{try{let t=JSON.parse(e);if(Array.isArray(t)&&t.length===1&&typeof t[0]=="string"){let n=t[0];n.includes("```json")?n=n.replace(/```json\s*/,"").replace(/\s*```/,""):n.includes("```")&&(n=n.replace(/```\s*/,"").replace(/\s*```/,"")),t=JSON.parse(n)}if(Array.isArray(t))return t.map(n=>typeof n=="string"?{icon:"insights",insight:n}:n&&typeof n=="object"&&n.insight?{icon:n.icon||"insights",insight:n.insight}:{icon:"insights",insight:"Insight not available"})}catch(t){console.error("Error parsing insights data:",t)}return[]},h2e=({chartData:e,responseData:t,drillChartId:n,showChat:r=!1})=>{const i=qe(Jt),[o,a]=pt(es),s=qe(Ja),[l,u]=k.useState(!1),[f,d]=k.useState(),[g,m]=k.useState([]),[v,y]=k.useState(),[x,C]=k.useState(""),[b,E]=k.useState(!0),T=qe(np),[D,I]=pt(_c),[U,H]=pt(Lv),[V,j]=pt(Dv),[z,q]=k.useState(),Z=qe(Iv),ae=qe(UI),{setMessages:G}=Wv(),[ee,re]=k.useState([]),[X,ge]=k.useState(!1),N=qe(PI),pe=()=>{G([])};k.useEffect(()=>{u(!0)},[]);const W=()=>{const _e=localStorage.getItem(n);if(_e){const ce=d2e(_e);if(ce.length>0)return re(ce),ge(!1),!0}return!1};k.useEffect(()=>{n===N?W()||(re([]),ge(!0)):(ge(!1),re([]))},[n,N]),k.useEffect(()=>{let _e;return X&&n===N&&(_e=setInterval(()=>{W()},2e3)),()=>{_e&&clearInterval(_e)}},[X,n,N]),k.useEffect(()=>{if(E(!0),n!="none"){const _e=async()=>{let fe=T[0].startDate.getTime(),we=T[0].endDate.getTime();await KC(n,s,fe,we,D,Z,U,V).then(Ae=>{y(Ae);const Pe=wt.chain(Ae.data.responseData).get("chartType").value();d(Pe);const ke=wt.chain(Ae.data.responseData).get("data").value();m(ke);const $e=e.name;C($e)}),E(!1),u(!0)};n&&(async()=>{await OL(n).then(fe=>{const we=wt.chain(fe.data.responseData).value();q(we[0].title)})})(),_e()}},[T,e,D,V,ae,n]);const P=_e=>{const ce=document.getElementById(n);ce&&u7(ce).then(fe=>{const we=document.createElement("a");we.href=fe.toDataURL(),we.download=_e+".png",we.click()})},te=(_e,ce)=>{const fe=wt.chain(_e.data.responseData).get("data").value();if(fe.length>1)J(_e,ce);else{const we=fe[0].plots,ke=["Header",ce].map(Xe=>typeof Xe=="string"?Xe.charAt(0).toUpperCase()+Xe.slice(1):Xe).join(","),$e=wt.chain(we).map(({name:Xe,value:gt})=>({name:Xe,value:gt}
500)).value();oe($e,ke,ce)}},J=(_e,ce)=>{const fe=wt.chain(_e.data.responseData).get("data").value(),we=wt.chain(fe).flatMap(({headerName:ke,plots:$e})=>wt.map($e,Xe=>({...Xe,headerName:ke}))).map(({headerName:ke,name:$e,value:Xe})=>({headerName:ke,name:$e,value:Xe})).value(),Pe=["Header Name","Header",ce].join(",");oe(we,Pe,ce)},oe=(_e,ce,fe)=>{const we=_e.map($e=>Object.values($e).map(Xe=>Xe)),Ae=ce+` 501`+we.map($e=>` 502`+$e),Pe=new Blob([Ae],{type:"text/csv"}),ke=document.createElement("a");ke.href=window.URL.createObjectURL(Pe),ke.download=fe+".csv",ke.click()};return w.jsx(w.Fragment,{children:n&&n!="none"&&w.jsx("div",{className:"fade modal modal-xl ",id:"staticBackdrop"+n,"data-bs-backdrop":"static","data-bs-keyboard":"false",tabIndex:-1,"aria-labelledby":"staticBackdropLabel","aria-hidden":"true",children:w.jsx("div",{className:"modal-dialog modal-xl modal-dialog-centered",children:w.jsxs("div",{className:"modal-content position-relative rounded-3 d-flex",children:[w.jsx("div",{className:"bg-transparent position-absolute end-0 top-0 bg-black z-3 modal-header d-flex justify-content-between align-items-center p-2 ",children:w.jsx("div",{className:"p-0 ",children:w.jsx("button",{type:"button",className:"btn d-flex align-items-center pe-3 pt-2 ","data-bs-dismiss":"modal","aria-label":"Close",children:w.jsx("span",{className:`${mA.download} material-icons text-black ${i?"text-black":"text-white"}`,onClick:()=>{a(!1),pe()},children:"close"})})})}),w.jsx("div",{className:`${i?"bg-white":"bg-dark-subtle"} modal-body p-0 rounded-3 w-100 flex align-items-center justify-content-center h-100`,children:w.jsxs("div",{className:"row g-0 h-100",children:[w.jsx("div",{className:`${r?"col-lg-8":"col-12"} transition-all `,children:w.jsxs("div",{className:"row d-flex align-items-center justify-content-center h-auto",children:[v&&w.jsx(w.Fragment,{children:w.jsx("div",{id:`${n}`,className:"m-0",children:w.jsx(Ax,{genChartData:n?v:t,chartName:z})})}),v?null:w.jsx(rx,{}),w.jsxs("div",{className:`${i?" ":"bg-black-subtle"} p-2 d-flex justify-content-center gap-2 pb-3`,children:[w.jsx("div",{className:"col-lg-4",children:w.jsx(DI,{btnTxt:"Download as CSV",showIcon:!0,icon:"description",iconPosition:"left",clickHandler:()=>te(v,z)})}),w.jsx("div",{className:"col-lg-4",children:w.jsx(Tj,{btnTxt:"Download as image",showIcon:!0,icon:"file_download",iconPosition:"left",clickHandler:()=>P(e.name)})})]})]})}),w.jsxs("div",{className:"pt-5 col-lg-4 gap-1 p-4",children:[w.jsx(wp,{title:"Quick insights",textColor:i?"#000000":"#ffffff",className:"mb-3"}),ee.length>0?ee.map((_e,ce)=>w.jsx("div",{className:` ${xB.insight_card} mb-3 ${i?"bg-white":"bg-dark-subtle"} ${i?"text-dark":"text-white"} p-2 d-flex align-items-center justify-content-center`,children:w.jsxs("div",{className:`${xB.insight_text} ${i?"border rounded-3":"bg-dark "} p-4 d-flex align-items-center gap-3 w-100`,children:[_e.icon&&w.jsx("span",{className:"material-icons fs-3",children:_e.icon}),w.jsx("p",{className:"m-0 flex-grow-1",children:_e.insight})]})},ce)):w.jsx("div",{children:w.jsx("div",{children:w.jsx("div",{className:"p-2",children:w.jsx(AD,{})})})})]})]})})]})})})})},p2e=e=>{try{let t=JSON.parse(e);if(Array.isArray(t)&&t.length===1&&typeof t[0]=="string"){let n=t[0];n.includes("```json")?n=n.replace(/```json\s*/,"").replace(/\s*```/,""):n.includes("```")&&(n=n.replace(/```\s*/,"").replace(/\s*```/,"")),t=JSON.parse(n)}if(Array.isArray(t))return t.map(n=>typeof n=="string"?{icon:"insights",insight:n}:n&&typeof n=="object"&&n.insight?{icon:n.icon||"insights",insight:n.insight}:{icon:"insights",insight:"Insight not available"})}catch(t){console.error("Error parsing insights data:",t)}return[]},g2e=({chartData:e,responseData:t,showChat:n=!1})=>{const r=qe(Jt),[i,o]=pt(es),[,a]=k.useState(!1),{setMessages:s}=Wv(),l=qe(PI),[u,f]=k.useState([]),[d,g]=k.useState(!1),m=()=>{s([])};k.useEffect(()=>{a(!0)},[t,n]);const v=()=>{const E=localStorage.getItem(e.code);if(E){const T=p2e(E);if(T.length>0)return f(T),g(!1),!0}return!1};k.useEffect(()=>{e.code===l?v()||(f([]),g(!0)):(g(!1),f([]))},[e.code,i,l]),k.useEffect(()=>{let E;return d&&e.code===l&&(E=setInterval(()=>{v()},2e3)),()=>{E&&clearInterval(E)}},[d,e.code,l]);const y=E=>{const T=document.getElementById(e.code);T?u7(T).then(D=>{const I=document.createElement("a");I.href=D.toDataURL(),I.download=E+".png",I.click()}):console.log('Element with ID "div-to-download" not found')},x=(E,T)=>{const D=wt.chain(E.data.responseData).get("data").value();if(D.length>1)C(E,T);else{const I=D[0].plots,V=["Header",T].map(z=>typeof z=="string"?z.charAt(0).toUpperCase()+z.slice(1):z).join(","),j=wt.chain(I).map(({name:z,value:q})=>({name:z,value:q}
502)).value();b(j,V,T)}},C=(E,T)=>{const D=wt.chain(E.data.responseData).get("data").value(),I=wt.chain(D).flatMap(({headerName:V,plots:j})=>wt.map(j,z=>({...z,headerName:V}))).map(({headerName:V,name:j,value:z})=>({headerName:V,name:j,value:z})).value(),H=["Header Name","Header",T].join(",");b(I,H,T)},b=(E,T,D)=>{const I=E.map(j=>Object.values(j).map(z=>z)),U=T+` 503`+I.map(j=>` 504`+j),H=new Blob([U],{type:"text/csv"}),V=document.createElement("a");V.href=window.URL.createObjectURL(H),V.download=D+".csv",V.click()};return w.jsx(w.Fragment,{children:w.jsx("div",{className:"fade modal modal-xl ",id:"staticBackdrop"+e.code,"data-bs-backdrop":"static","data-bs-keyboard":"false",tabIndex:-1,"aria-labelledby":"staticBackdropLabel","aria-hidden":"true",children:w.jsx("div",{className:"modal-dialog modal-xl modal-dialog-centered",children:w.jsxs("div",{className:"modal-content position-relative rounded-3 d-flex",children:[w.jsx("div",{className:"bg-transparent position-absolute end-0 top-0 bg-black z-3 modal-header d-flex justify-content-between align-items-center p-2 ",children:w.jsx("div",{className:"p-0 ",children:w.jsx("button",{type:"button",className:"btn d-flex align-items-center pe-3 pt-2 ","data-bs-dismiss":"modal","aria-label":"Close",children:w.jsx("span",{className:`${mA.download} material-icons text-black ${r?"text-black":"text-white"}`,onClick:()=>{o(!1),m()},children:"close"})})})}),w.jsx("div",{className:`${r?"bg-white":"bg-dark-subtle"} modal-body p-0 rounded-3 w-100 flex align-items-center justify-content-center h-100`,children:w.jsxs("div",{className:"row g-0 h-100",children:[w.jsx("div",{className:`${n?"col-lg-8":"col-12"} transition-all `,children:w.jsxs("div",{className:" row d-flex align-items-center justify-content-center h-auto",children:[t&&w.jsx(w.Fragment,{children:w.jsx("div",{id:`${e.code}`,className:"m-0",children:w.jsx(Ax,{genChartData:t,chartName:e.name})})}),t?null:w.jsx(rx,{}),w.jsxs("div",{className:`${r?" ":"bg-black-subtle"} p-2 d-flex justify-content-center gap-2 pb-3`,children:[w.jsx("div",{className:"col-lg-4",children:w.jsx(DI,{btnTxt:"Download as CSV",showIcon:!0,icon:"description",iconPosition:"left",clickHandler:()=>x(t,e.name)})}),w.jsx("div",{className:"col-lg-4",children:w.jsx(Tj,{btnTxt:"Download as image",showIcon:!0,icon:"file_download",iconPosition:"left",clickHandler:()=>y(e.name)})})]})]})}),w.jsxs("div",{className:"pt-5 col-lg-4 gap-1 p-4",children:[w.jsx(wp,{title:"Quick insights",textColor:r?"#000000":"#ffffff",className:"mb-3"}),u.length>0?u.map((E,T)=>w.jsx("div",{className:` ${xB.insight_card} mb-3 ${r?"bg-white":"bg-dark-subtle"} ${r?"text-dark":"text-white"} p-2 d-flex align-items-center justify-content-center`,children:w.jsxs("div",{className:`${xB.insight_text} ${r?"border rounded-3":"bg-dark "} p-4 d-flex align-items-center gap-3 w-100`,children:[E.icon&&w.jsx("span",{className:"material-icons fs-3",children:E.icon}),w.jsx("p",{className:"m-0 flex-grow-1",children:E.insight})]})},T)):w.jsx("div",{children:w.jsx("div",{children:w.jsx("div",{className:"p-2",children:w.jsx(AD,{})})})})]})]})})]})})})})},PV=e=>`Analyze the ${e} visualization and provide 3 key insights that summarize the most important findings. For each insight, state the main observation or pattern and explain why this finding is significant or what it reveals. Use necessary emojis to make it more engaging. Limit each insight to maximum 20 words. 505 506Focus on insights that would be valuable to someone viewing this chart for the first time. Look for trends, outliers, comparisons, or relationships that tell the story of the data. Only provide the insights without any additional context and contentâjust the insights as an array of objects. 507 508Each object should have: 509- icon: a relevant Google Material Icon name, from https://fonts.google.com/icons?icon.set=Material+Icons - only provide material icons and not symbols 510- insight: the insight sentence 511 512Respond strictly in this format (as valid JSON): 513[ 514 { 515 "icon": "iconName1", 516 "insight": "insight 1" 517 }, 518 { 519 "icon": "iconName2", 520 "insight": "insight 2" 521 }, 522 { 523 "icon": "iconName3", 524 "insight": "insight 3" 525 } 526] 527 528Keep temperature to 0. 529`,m2e=e=>{const t=localStorage.getItem(e);return t!=null&&t!==""},v2e=e=>{const{chartCode:t,modalState:n,setInsightsLoading:r,sendMessage:i}=e;r(!1);const o=PV(n);m2e(t)||n&&(r(!0),i(o))},_2e=(e,t)=>
529{const{chartCode:n,modalState:r,getMessageContent:i}=t;if(!r||!t.setInsightsLoading)return;const o=PV(r);let a;for(let s=0;s<e.length-1;s++){const l=e[s];if(i(l)===o){a=e[s+1];break}}if(a&&a.status.code==="Success"){const s=i(a);if(s&&s.length>1)try{let l=s.trim();l.startsWith("```json")?l=l.replace(/^```json\s*/,"").replace(/\s*```$/,""):l.startsWith("```")&&(l=l.replace(/^```\s*/,"").replace(/\s*```$/,""));const u=JSON.parse(l);if(Array.isArray(u)&&u.every(f=>f&&typeof f=="object"&&"icon"in f&&"insight"in f))localStorage.setItem(n,JSON.stringify(u)),t.setInsightsLoading(!1);else throw new Error("Invalid JSON format")}catch{const f=s.split(/\n-\s|^-\s/).filter(Boolean).map(d=>({icon:"insights",insight:d.trim()}));localStorage.setItem(n,JSON.stringify(f)),t.setInsightsLoading(!1)}}},y2e=e=>{const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch(n){return console.error("Error parsing stored insights:",n),null}return null},w2e=e=>{localStorage.removeItem(e)},EB={trigger:e=>{v2e(e)},process:(e,t)=>{t.insightsLoading&&_2e(e,t)},getStored:e=>y2e(e),clear:e=>{w2e(e)}},b2e=({configData:e,dashBoardId:t,dateRange:n,tabIndexVar:r,filterName:i,narrowComp:o})=>{const[a,s]=k.useState(),[l,u]=k.useState([]),[f,d]=k.useState([]),[g,m]=k.useState(""),[v,y]=k.useState(!0),x=qe(np),[C,b]=k.useState(),E=qe(Jt),[T,D]=pt(_c),[I,U]=pt(Lv),[H,V]=pt(Dv),j=qe(Iv),[z,q]=pt(es),Z=qe(Ja),[ae,G]=k.useState(!1),[ee,re]=pt(PI);qe(UI);const[X,ge]=k.useState(),[N,pe]=k.useState();k.useState(!1),k.useEffect(()=>{let we=wt.chain(e).get("charts[0]").value();d(we)},[e,Z]),k.useEffect(()=>{if(y(!0),b(void 0),f.code){const we=async()=>{let Pe=x[0].startDate.getTime(),ke=x[0].endDate.getTime();await KC(f.code,Z,Pe,ke,i||T,j,I,H).then($e=>{b($e);const Xe=wt.chain($e.data.responseData).get("chartType").value();s(Xe);const gt=wt.chain($e.data.responseData).get("data").value();u(gt);const mt=f.name;m(mt);const At=wt.chain($e.data.responseData).get("drillDownChartId").value();wt.chain($e.data.responseData).get("drillDashboard").value(),ge(At)}),y(!1),G(!0)};(async()=>{await OL(f.code).then(Pe=>{const $e=wt.chain(Pe.data.responseData[0]).get("data").value()[0].additionalConfig.config,Xe=JSON.parse($e);pe(Xe.drillDashboard)})})(),we()}},[x,f,i,T,H]);const{appendMessage:W,visibleMessages:P}=Wv(),[te,J]=k.useState(!1),oe=qe(Rj),_e=we=>{W(new sc({content:we,role:Na.User}))},ce=we=>we.content||"",fe=(we,Ae)=>{const Pe={chartCode:Ae,modalState:we,setInsightsLoading:J,sendMessage:_e,getMe
529ssageContent:ce};EB.trigger(Pe)};return k.useEffect(()=>{const we={chartCode:f.code,modalState:f.name,setInsightsLoading:J,sendMessage:_e,getMessageContent:ce,insightsLoading:te};EB.process(P,we)},[P,te]),k.useEffect(()=>{},[oe]),w.jsx(w.Fragment,{children:w.jsxs("div",{className:`col-lg-${e.dimensions.width} col-xl-${e.dimensions.width} col-xxl-${e.dimensions.width} col-md-12 position-relative`,children:[w.jsxs("div",{className:"mb-4 ",children:[X&&X!="none"&&w.jsx("div",{className:` ${a=="table"?mA.drill_chart_table:mA.drill_chart} position-absolute d-flex align-items-center pt-3 `,children:w.jsxs("div",{className:"d-flex align-items-center w-100","data-bs-toggle":"modal","data-bs-target":"#staticBackdrop"+X,children:[a=="table"&&w.jsxs("div",{onClick:()=>{q(!0),G(!1),re(f.code)},className:"d-flex col ms-2",children:[w.jsx(oc,{text:"view details",textColor:E?"#212121":"#ffffff"}),w.jsx("span",{className:`${mA.download} ${E?"":"text-white"} material-icons float-end ps-2 fs-4 text-black`,children:"navigate_next"})]}),w.jsx("span",{className:`${mA.download} ${E?"":"text-white"} material-icons float-end px-2 fs-4 text-black col`,"data-bs-toggle":"modal","data-bs-target":"#staticBackdrop"+f.code,onClick:()=>{q(!0),G(!1),re(f.code),fe(f.name,f.code)},children:"fullscreen"})]})}),f.code!="empDemographics"&&X=="none"&&w.jsx("div",{className:`${mA.drill_chart_btns} } position-absolute d-flex align-items-center gap-2 justify-content-center`,children:w.jsx("div",{className:"d-flex ",children:w.jsx("span",{className:`${mA.download} ${E?"":"text-white"} ${mA.full_screen} material-icons float-end fs-4 text-black `,"data-bs-toggle":"modal","data-bs-target":"#staticBackdrop"+f.code,onClick:()=>{q(!0),G(!1),re(f.code),fe(f.name,f.code)},children:"fullscreen"})})}),C&&w.jsx(Ax,{genChartData:C,chartName:f.name,drillChartID:X,drillDashId:N}),C?null:w.jsx(rx,{})]}),w.jsx(g2e,{chartData:f,responseData:C,showChat:!0}),w.jsx(h2e,{chartData:f,drillChartId:X,showChat:!0})]})})},uD=({dashboardId:e,dashChartData:t})=>{const[n,r]=k.useState([]),[,i]=pt(QI);return k.useEffect(()=>{let o=t.length>0&&wt.chain(t).flatMap("vizArray").value();o&&r(o);const a=o&&wt.chain(o).flatMap("charts").value();a&&i(a)},[t]),w.jsx(w.Fragment,{children:w.jsx("div",{className:"row justify-content-between ",children:n.map((o,a)=>w.jsx(b2e,{dashBoardId:e,configData:o,tabIndexVar:a},a))})})},B2e="_MetricBg_acjbl_5",C2e="_MetricBgDark_acjbl_14",x2e="_MetricSkeleton_acjbl_21",MH={"material-icons":"_material-icons_acjbl_1","material-symbols":"_material-symbols_acjbl_1","material-icons-round":"_material-icons-round_acjbl_1",MetricBg:B2e,MetricBgDark:C2e,MetricSkeleton:x2e},E2e="_skeleton_iw8cq_1",S2e="_skeleton_dark_iw8cq_7",F2e="_skeleton_text1_iw8cq_13",T2e="_skeleton_text2_iw8cq_20",O2e="_skeleton_text3_iw8cq_27",eh={skeleton:E2e,"skeleton-loading":"_skeleton-loading_iw8cq_1",skeleton_dark:S2e,"skeleton-loading-dark":"_skeleton-loading-dark_iw8cq_1",skeleton_text1:F2e,skeleton_text2:T2e,skeleton_text3:O2e},k2e=()=>{const e=qe(Jt);return w.jsx(w.Fragment,{children:w.jsxs("div",{className:`${e?"bg-white":"bg-dark-subtle"} p-4 mb-3 col-md-12 col-lg-12 col-xl-12 rounded-2`,children:[w.jsx("div",{className:`${e?eh.skeleton:eh.skeleton_dark} ${eh.skeleton_text1} mb-2`}),w.jsx("div",{className:`${e?eh.skeleton:eh.skeleton_dark} ${eh.skeleton_text3} mb-2`})]})})},cD=({configData:e,dashBoardId:t,dateRange:n,textColor:r,filterName:i,index:o})=>{const[a,s]=k.useState([]),[l,u]=k.useState(!0),f=qe(np),d=qe(Ja),[g,m]=k.useState(),v=qe(Jt),y=qe(Iv),[x,C]=pt(Lv),[b,E]=pt(Dv),[T,D]=pt(_c),[I,U]=k.useState();return k.useEffect(()=>{s(e)},[e,d]),k.useEffect(()=>{u(!0),a.id&&(async()=>{let V=f[0].startDate.getTime(),j=f[0].endDate.getTime();await KC(a.id,t,V,j,i||T,y,x,b).then(z=>{m(z);const q=wt.chain(z.data.responseData).get("drillDownChartId").value();U(q)}),u(!1)})()},[f,a,i,T,b]),w.jsxs("div",{className:" ",children:[g&&w.jsx("div",{className:`${v?"":"bg-dark-subtle "} ${v?MH.MetricBg:MH.MetricBgDark} p-1 rounded-2`,children:w.jsx(Ax,{genChartData:g,chartName:a.name,drillDashId:I})}),g?null:w.jsx("div",{className:" rounded-2 ",children:w.jsx(k2e,{})})]})},I2e="_widget_container_1m5l4_1",L2e="_breadcrumb_1m5l4_9",lS={widget_container:I2e,breadcrumb:L2e},D2e=({drillDashId:e})=>{pt(xj),k.useState({username:"[email protected]",password:"tarentoadmin"});const t=new Date,n=new Date(t.getFullYear(),0,1).getTime(),r=new Date(t.getFullYear()-1,0,1).getTime(),[i,o]=k.useState([{startDate:new Date(r),endDate:new Date(n),key:"selection"}]),[a,s]=k.useState(),[l,u]=k.useState([]),[f,d]=k.useState([]),[g,m]=k.useState(""),[v,y]=k.useState(""),[x,C]=k.useState(),[b,E]=pt(NI),[T,D]=k.useState([]),[I,U]=pt(_c),H=qe(Ja),V=qe(Jt),[j,z]=pt(RI),q=qe(Rv),[Z,ae]=pt(wC),[G,ee]=k.useState(),[re,X]=pt(Dj),[ge,N]=pt(MI);k.useEffect(()=>{ee(e),pe()},[e]),k.useEffect(()=>{m(j)},[j]);const pe=async()=>{e&&await $I(e).then(P=>{if(D([]),P){m(P.data.responseData[0].name),y(P.data.responseData[0].description),wt.chain(P.data.responseData).get("[0]dashboardId").value(),s(H);const te=wt.chain(P.data.responseData).flatMap("visualizations").value();u(te);const J=wt.chain(P.data.responseData).flatMap("widgetCharts").value();J!=null&&d(J);const oe=wt.chain(P.data.responseData).flatMap("showDateFilter").value();E(oe[0]),wt.chain(P.data.responseData).flatMap("filters").flatMap("values").value().length>0&&U("All");const ce=wt.chain(P.data.responseData).flatMap("filters").map("name").head().value(
529);ce!=null&&C(ce);const fe=wt.chain(P.data.responseData[0]).value();fe.length>0&&fe.forEach(we=>{we&&(we.key,we.values)}),fe.length>0&&D(fe)}})};k.useEffect(()=>{m(j)},[j,q]),k.useEffect(()=>{Z.length>0&&D(Z)},[Z]);const W=()=>{N(!1),X(null)};return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:`${(b||T[0]!=null)&&"mb-4"}`,children:[w.jsxs("div",{className:"d-flex align-items-center mb-4",children:[w.jsx("div",{className:`${lS.breadcrumb} d-flex`,onClick:()=>{W()},children:w.jsx(oc,{text:re,textColor:V?"#000000":"#ffffff"})}),w.jsx("span",{className:`${lS.close} ${V?"":"text-white"} material-icons text-black `,children:"chevron_right"}),w.jsx(oc,{text:g,textColor:V?"#000000":"#ffffff"})]}),w.jsx(Mj,{title:g,textColor:V?"#000000":"#ffffff"})]}),w.jsx("div",{className:"pt-2 w-100 ",children:w.jsx(a9,{filterList:T,showDate:b})}),w.jsxs(w.Fragment,{children:[w.jsx("div",{className:`${lS.widget_container} mb-5`,children:f&&f.every(P=>P!==null)?f.flatMap((P,te)=>w.jsx("div",{className:"",children:w.jsx(cD,{dashBoardId:H,configData:P,dateRange:i,index:te})},te)):""}),w.jsx("div",{className:" ",children:l.length>0&&w.jsx(uD,{dashboardId:H,dashChartData:l})})]})]})},R2e=()=>{const[e,t]=k.useState(),n=qe(Lj),[r,i]=pt(Ja);return qe(Jt),k.useEffect(()=>{t(r)},[n]),w.jsx("div",{className:"position-relative",children:w.jsx(D2e,{drillDashId:n})})},P2e="_widget_container_1wfgh_1",U2e="_btn_small_1wfgh_11",N2e="_btn_small_dark_1wfgh_26",bw={widget_container:P2e,btn_small:U2e,btn_small_dark:N2e},AS=({dashboardIdProp:e,componentId:t})=>{const n=new Date,r=new Date(n.getFullYear(),0,1).getTime(),i=new Date(n.getFullYear()-1,0,1).getTime(),[o,a]=k.useState([{startDate:new Date(i),endDate:new Date(r),key:"selection"}]),[s,l]=k.useState(),[u,f]=k.useState([]),[d,g]=k.useState([]),[m,v]=k.useState(""),[y,x]=k.useState(""),[C,b]=k.useState(),[,E]=pt(NI),[,T]=pt(_c),[,D]=pt(wC),[I]=pt(Ja),[,U]=pt(RI),H=qe(Rv);k.useEffect(()=>{H==t&&V()},[H]),k.useEffect(()=>{},[s,m,y,C,a]);const V=async()=>await $I(e).then(j=>{if(j){v(j.data.responseData[0].name),U(j.data.responseData[0].name),x(j.data.responseData[0].description),l(I);const z=wt.chain(j.data.responseData).flatMap("visualizations").value();f(z);const q=wt.chain(j.data.responseData).flatMap("widgetCharts").value();q!=null&&g(q);const Z=wt.chain(j.data.responseData).flatMap("showDateFilter").value();E(Z[0]),wt.chain(j.data.responseData).flatMap("filters").flatMap("values").value().length>0&&T("All");const G=wt.chain(j.data.responseData).flatMap("filters").map("name").head().value();b(G);const ee=wt.chain(j.data.responseData).flatMap("filters").value();ee.forEach(re=>{re&&(re.key,re.values)}),D(ee)}});return k.useEffect(()=>{console.log("dashchartData",u)},[u]),w.jsxs(w.Fragment,{children:[w.jsx("div",{className:`${bw.widget_container} mb-5`,children:d&&d.every(j=>j!==null)?d.flatMap((j,z)=>w.jsx("div",{className:"",children:w.jsx(cD,{dashBoardId:I,configData:j,dateRange:o,index:z})},z)):""}),w.jsx("div",{className:" ",children:u.length>0&&w.jsx(uD,{dashboardId:I,dashChartData:u})})]})},M2e="_custom_modal_width_jjmku_1",Q2e="_insight_card_jjmku_26",H2e="_insight_text_jjmku_30",$2e="_btn_small_jjmku_45",j2e="_btn_small_dark_jjmku_60",z2e="_url_card_jjmku_86",V2e="_created_on_jjmku_96",QH={custom_modal_width:M2e,insight_card:Q2e,insight_text:H2e,"accordion-button":"_accordion-button_jjmku_41",btn_small:$2e,btn_small_dark:j2e,url_card:z2e,created_on:V2e},UV=()=>{const[e,t]=pt(jAe),[n,r]=pt(zAe),[i,o]=pt(VAe),[a,s]=pt(KAe),[l,u]=pt(Uj),[f,d]=pt(WAe),[g,m]=pt(GAe),v=DU(Nj),y=DU(Pj),x=qe(Ja),C=()=>{const z={};if(e.name.trim()||(z.name="Name is required"),e.vizCodes.length===0&&(z.vizCodes="At least one chart must be selected"),typeof e.activeFilter=="string")try{JSON.parse(e.activeFilter)}catch{z.activeFilter="Active Filter must be valid JSON"}return o(z),Object.keys(z).length===0},b=()=>{t({name:"",vizCodes:[],activeFilter:{},isActive:!0}),o({}),d(null),s(null),m([])},E=()=>{b(),s("create"),u(!0)},T=z=>{try{const q=typeof(z==null?void 0:z.vizCodes)=="string"?JSON.parse(z.vizCodes):(z==null?void 0:z.vizCodes)||[];let Z={};if(z!=null&&z.activeFilter)try{Z=typeof z.activeFilter=="string"?JSON.parse(z.activeFilter):z.activeFilter}catch(ae){console.warn("Failed to parse activeFilter:",ae),Z={}}t({name:z.name||"",vizCodes:q,activeFilter:Z,isActive:z.isActive!==void 0?z.isActive:!0}),m(q),d(z),s("edit"),u(!0),o({})}catch(q){console.error("Error parsing URL data for editing:",q),o({general:"Error loading URL data for editing"})}},D=()=>{u(!1),b()},I=(z,q)=>{t(Z=>({...Z,[z]:q})),i[z]&&o(Z=>({...Z,[z]:void 0}))},U=z=>{const q=g.includes(z)?g.filter(Z=>Z!==z):[...g,z];m(q),I("vizCodes",q)},H=async()=>{try{const z=await Hj(x);z&&z.data&&y(z.data.responseData||[])}catch(z){console.error("Error refreshing shared URLs:",z)}};return{formData:e,loading:n,errors:i,mode:a,visible:l,editingUrl:f,selectedChartCodes:g,openCreateForm:E,openEditForm:T,closeForm:D,updateFormField:I,toggleChartSelection:U,submitForm:async()=>{var z,q;if(C()){r(!0),o({});try{const Z={dashboardId:x,name:e.name,vizCodes:e.vizCodes,activeFilter:e.activeFilter,isActive:e.isActive};a==="create"?(await Due(Z),v("Shared URL created successfully!")):a==="edit"&&f&&(await Rue({...Z,id:f.id}),v("Shared URL updated successfully!")),await H(),D()}catch(Z){console.error("Error submitting form:",Z),o({general:((q=(z=Z.response)==null?void 0:z.data)==null?void 0:q.message)||`Failed to ${a} shared URL`})}finally{r(!1)}}},resetForm:b,refreshSharedUrls:H,deleteSharedUrl:async z=>{var q,Z;try{r(!0),await Pue(z),v("Shared URL deleted successfully!"),await H()}catch(ae){console.error("Error deleting shared URL:",ae),o({general:((Z=(q=ae.response)==null?void 0:q.data)==null?void 0:Z.message)||"Failed to delete shared URL"})}finally{r(!1)}}}},K2e="_btn_small_129nf_1",W2e="_btn_small_dark_129nf_16",G2e="_chip_129nf_42",Y2e="_chip_light_129nf_58",q2e="_selected_129nf_69",Z2e="_chip_dark_129nf_76",X2e="_active_129nf_116",J2e="_toggle_light_129nf_121",eNe="_toggle_dark_129nf_130",Bs={btn_small:K2e,btn_small_dark:W2e,"chip-container":"_chip-container_129nf_42",chip:G2e,chip_light:Y2e,selected:q2e,chip_dark:Z2e,"toggle-switch":"_toggle-switch_129nf_93",active:X2e,toggle_light:J2e,toggle_dark:eNe},tNe=({className:e=""})=>{const t=qe(Jt),n=qe(QI),{formData:r,loading:i,errors:o,mode:a,selectedChartCodes:s,updateFormField:l,toggleChartSelection:u,submitForm:f,closeForm:d}=UV(),g=m=>{m.preventDefault(),f()};return a?w.jsxs("div",{className:`${e} ${t?"bg-white":"bg-dark-subtle"} border rounded-3 p-4 mb-4`,children:[w.jsxs("div",{className:"d-flex justify-content-between align-items-center mb-3",children:[w.jsx("h5",{className:`mb-0 ${t?"text-dark":"text-white"} `,children:a==="create"?"Create New Shared URL":"Edit Shared URL"}),w.jsx("button",{type:"button",className:"btn-close",onClick:d,"aria-label":"Close"})]}),w.jsxs("form",{onSubmit:g,children:[w.jsxs("div",{className:"mb-3 d-flex justify-content-between align-items-center p-3 border rounded",children:[w.jsxs("span",{className:`mb-0 ${t?"text-dark":"text-white"}`,children:[" ",r.isActive?"This shared URL is currently active and is accessible":"The shared URL is currently inactive and not accessible"," "]}),w.jsxs("div",{className:"d-flex align-items-center gap-3",children:[w.jsx("label",{className:`mb-0 ${t?"text-dark":"text-white"}`,children:"Active"}),w.jsx("button",{type:"button",className:`${Bs["toggle-switch"]} ${t?Bs.toggle_light:Bs.toggle_dark} ${r.isActive?Bs.active:""}`,onClick:()=>!i&&l("isActive",!r.isActive),disabled:i,"aria-label":"Toggle active status"})]})]}),w.jsxs("div",{className:"mb-3",children:[w.jsxs("label",{htmlFor:"urlName",className:`form-label ${t?"text-dark":"text-white"}`,children:["Name ",w.jsx("span",{className:"text-danger",children:"*"})]}),w.jsx("input",{type:"text",className:`form-control ${t?"bg-light":"bg-dark text-white"} ${o.name?"is-invalid":""}`,id:"urlName",value:r.name,onChange:m=>l("name",m.target.value),placeholder:"Enter a name for this shared URL",disabled:i}),o.name&&w.jsx("div",{className:"invalid-feedback",children:o.name})]}),w.jsxs("div",{className:"mb-3",children:[w.jsxs("label",{className:`form-label ${t?"text-dark":"text-white"}`,children:["Select Charts ",w.jsx("span",{className:"text-danger",children:"*"})]}),o.vizCodes&&w.jsx("div",{className:"text-danger small mb-2",children:o.vizCodes}),w.jsx("div",{className:Bs["chip-container"],children:n.map((m,v)=>w.jsx("div",{className:`${Bs.chip} rounded-pill ${t?Bs.chip_light:Bs.chip_dark} ${s.includes(m.code)?Bs.selected:""}`,onClick:()=>!i&&u(m.code),style:{opacity:i?.6:1,pointerEvents:i?"none":"auto"},children:m.name||m.code},m.code||v))})]}),o.general&&w.jsx("div",{className:"alert alert-danger",role:"alert",children:o.general}),w.jsxs("div",{className:"d-flex gap-2",children:[w.jsx("button",{type:"submit",className:`btn ${t?Bs.btn_small:Bs.btn_small_dark}`,disabled:i,children:i?w.jsxs(w.Fragment,{children:[w.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status","aria-hidden":"true"}),a==="create"?"Creating...":"Updating..."]}):a==="create"?"Create Shared URL":"Update Shared URL"}),w.jsx("button",{type:"button",className:"btn btn-secondary rounded-pill px-4",onClick:d,disabled:i,children:"Cancel"})]})]})]}):null},nNe=()=>{const[e,t]=pt(Nj),n=qe(Jt);return k.useEffect(()=>{if(e){const r=setTimeout(()=>{t("")},5e3);return()=>clearTimeout(r)}},[e,t]),e?w.jsx("div",{className:"position-fixed top-0 end-0 p-3",style:{zIndex:1055},children:w.jsxs("div",{className:`toast show ${n?"bg-light text-dark":"bg-dark text-white"} border-success`,role:"alert","aria-live":"assertive","aria-atomic":"true",children:[w.jsxs("div",{className:"toast-header",children:[w.jsx("span",{className:"material-icons text-success me-2",children:"check_circle"}),w.jsx("strong",{className:"me-auto",children:"Success"}),w.jsx("button",{type:"button",className:"btn-close",onClick:()=>t(""),"aria-label":"Close"})]}),w.jsx("div",{className:"toast-body",children:e})]})}):null};function NV(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=NV(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ju(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=NV(e))&&(r&&(r+=" "),r+=t);return r}const Lm=e=>typeof e=="number"&&!isNaN(e),Jf=e=>typeof e=="string",Uo=e=>typeof e=="function",Bw=e=>Jf(e)||Uo(e)?e:null,uS=e=>k.isValidElement(e)||Jf(e)||Uo(e)||Lm(e);function rNe(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function ux(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}=e;return function(a){let{children:s,position:l,preventExitTransition:u,done:f,nodeRef:d,isIn:g}=a;const m=r?`${t}--${l}`:t,v=r?`${n}--${l}
529`:n,y=k.useRef(0);return k.useLayoutEffect(()=>{const x=d.current,C=m.split(" "),b=E=>{E.target===d.current&&(x.dispatchEvent(new Event("d")),x.removeEventListener("animationend",b),x.removeEventListener("animationcancel",b),y.current===0&&E.type!=="animationcancel"&&x.classList.remove(...C))};x.classList.add(...C),x.addEventListener("animationend",b),x.addEventListener("animationcancel",b)},[]),k.useEffect(()=>{const x=d.current,C=()=>{x.removeEventListener("animationend",C),i?rNe(x,f,o):f()};g||(u?C():(y.current=1,x.className+=` ${v}`,x.addEventListener("animationend",C)))},[g]),lt.createElement(lt.Fragment,null,s)}}function HH(e,t){return{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}}const Ma={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter(r=>r!==t);return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach(t=>{const n=setTimeout(()=>{t(...[].slice.call(arguments,1))},0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)})}},Xy=e=>{let{theme:t,type:n,...r}=e;return lt.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...r})},cS={info:function(e){return lt.createElement(Xy,{...e},lt.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return lt.createElement(Xy,{...e},lt.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return lt.createElement(Xy,{...e},lt.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return lt.createElement(Xy,{...e},lt.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return lt.createElement("div",{className:"Toastify__spinner"})}};function iNe(e){const[,t]=k.useReducer(m=>m+1,0),[n,r]=k.useState([]),i=k.useRef(null),o=k.useRef(new Map).current,a=m=>n.indexOf(m)!==-1,s=k.useRef({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:a,getToast:m=>o.get(m)}).current;function l(m){let{containerId:v}=m;const{limit:y}=s.props;!y||v&&s.containerId!==v||(s.count-=s.queue.length,s.queue=[])}function u(m){r(v=>m==null?[]:v.filter(y=>y!==m))}function f(){const{toastContent:m,toastProps:v,staleId:y}=s.queue.shift();g(m,v,y)}function d(m,v){let{delay:y,staleId:x,...C}=v;if(!uS(m)||function(q){return!i.current||s.props.enableMultiContainer&&q.containerId!==s.props.containerId||o.has(q.toastId)&&q.updateId==null}(C))return;const{toastId:b,updateId:E,data:T}=C,{props:D}=s,I=()=>u(b),U=E==null;U&&s.count++;const H={...D,style:D.toastStyle,key:s.toastKey++,...C,toastId:b,updateId:E,data:T,closeToast:I,isIn:!1,className:Bw(C.className||D.toastClassName),bodyClassName:Bw(C.bodyClassName||D.bodyClassName),progressClassName:Bw(C.progressClassName||D.progressClassName),autoClose:!C.isLoading&&(V=C.autoClose,j=D.autoClose,V===!1||Lm(V)&&V>0?V:j),deleteToast(){const q=HH(o.get(b),"removed");o.delete(b),Ma.emit(4,q);const Z=s.queue.length;if(s.count=b==null?s.count-s.displayedToast:s.count-1,s.count<0&&(s.count=0),Z>0){const ae=b==null?s.props.limit:1;if(Z===1||ae===1)s.displayedToast++,f();else{const G=ae>Z?Z:ae;s.displayedToast=G;for(let ee=0;ee<G;ee++)f()}}else t()}};var V,j;H.iconOut=function(q){let{theme:Z,type:ae,isLoading:G,icon:ee}=q,re=null;const X={theme:Z,type:ae};return ee===!1||(Uo(ee)?re=ee(X):k.isValidElement(ee)?re=k.cloneElement(ee,X):Jf(ee)||Lm(ee)?re=ee:G?re=cS.spinner():(ge=>ge in cS)(ae)&&(re=cS[ae](X))),re}(H),Uo(C.onOpen)&&(H.onOpen=C.onOpen),Uo(C.onClose)&&(H.onClose=C.onClose),H.closeButton=D.closeButton,C.closeButton===!1||uS(C.closeButton)?H.closeButton=C.closeButton:C.closeButton===!0&&(H.closeButton=!uS(D.closeButton)||D.closeButton);let z=m;k.isValidElement(m)&&!Jf(m.type)?z=k.cloneElement(m,{closeToast:I,toastProps:H,data:T}):Uo(m)&&(z=m({closeToast:I,toastProps:H,data:T})),D.limit&&D.limit>
5290&&s.count>D.limit&&U?s.queue.push({toastContent:z,toastProps:H,staleId:x}):Lm(y)?setTimeout(()=>{g(z,H,x)},y):g(z,H,x)}function g(m,v,y){const{toastId:x}=v;y&&o.delete(y);const C={content:m,props:v};o.set(x,C),r(b=>[...b,x].filter(E=>E!==y)),Ma.emit(4,HH(C,C.props.updateId==null?"added":"updated"))}return k.useEffect(()=>(s.containerId=e.containerId,Ma.cancelEmit(3).on(0,d).on(1,m=>i.current&&u(m)).on(5,l).emit(2,s),()=>{o.clear(),Ma.emit(3,s)}),[]),k.useEffect(()=>{s.props=e,s.isToastActive=a,s.displayedToast=n.length}),{getToastToRender:function(m){const v=new Map,y=Array.from(o.values());return e.newestOnTop&&y.reverse(),y.forEach(x=>{const{position:C}=x.props;v.has(C)||v.set(C,[]),v.get(C).push(x)}),Array.from(v,x=>m(x[0],x[1]))},containerRef:i,isToastActive:a}}function $H(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function jH(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function oNe(e){const[t,n]=k.useState(!1),[r,i]=k.useState(!1),o=k.useRef(null),a=k.useRef({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,s=k.useRef(e),{autoClose:l,pauseOnHover:u,closeToast:f,onClick:d,closeOnClick:g}=e;function m(T){if(e.draggable){T.nativeEvent.type==="touchstart"&&T.nativeEvent.preventDefault(),a.didMove=!1,document.addEventListener("mousemove",C),document.addEventListener("mouseup",b),document.addEventListener("touchmove",C),document.addEventListener("touchend",b);const D=o.current;a.canCloseOnClick=!0,a.canDrag=!0,a.boundingRect=D.getBoundingClientRect(),D.style.transition="",a.x=$H(T.nativeEvent),a.y=jH(T.nativeEvent),e.draggableDirection==="x"?(a.start=a.x,a.removalDistance=D.offsetWidth*(e.draggablePercent/100)):(a.start=a.y,a.removalDistance=D.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(T){if(a.boundingRect){const{top:D,bottom:I,left:U,right:H}=a.boundingRect;T.nativeEvent.type!=="touchend"&&e.pauseOnHover&&a.x>=U&&a.x<=H&&a.y>=D&&a.y<=I?x():y()}}function y(){n(!0)}function x(){n(!1)}function C(T){const D=o.current;a.canDrag&&D&&(a.didMove=!0,t&&x(),a.x=$H(T),a.y=jH(T),a.delta=e.draggableDirection==="x"?a.x-a.start:a.y-a.start,a.start!==a.x&&(a.canCloseOnClick=!1),D.style.transform=`translate${e.draggableDirection}(${a.delta}px)`,D.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function b(){document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",b),document.removeEventListener("touchmove",C),document.removeEventListener("touchend",b);const T=o.current;if(a.canDrag&&a.didMove&&T){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return i(!0),void e.closeToast();T.style.transition="transform 0.2s, opacity 0.2s",T.style.transform=`translate${e.draggableDirection}(0)`,T.style.opacity="1"}}k.useEffect(()=>{s.current=e}),k.useEffect(()=>(o.current&&o.current.addEventListener("d",y,{once:!0}),Uo(e.onOpen)&&e.onOpen(k.isValidElement(e.children)&&e.children.props),()=>{const T=s.current;Uo(T.onClose)&&T.onClose(k.isValidElement(T.children)&&T.children.props)}),[]),k.useEffect(()=>(e.pauseOnFocusLoss&&(document.hasFocus()||x(),window.addEventListener("focus",y),window.addEventListener("blur",x)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",y),window.removeEventListener("blur",x))}),[e.pauseOnFocusLoss]);const E={onMouseDown:m,onTouchStart:m,onMouseUp:v,onTouchEnd:v};return l&&u&&(E.onMouseEnter=x,E.onMouseLeave=y),g&&(E.onClick=T=>{d&&d(T),a.canCloseOnClick&&f()}),{playToast:y,pauseToast:x,isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:E}}function MV(e){let{closeToast:t,theme:n,ariaLabel:r="close"}=e;return lt.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:i=>{i.stopPropagation(),t(i)},"aria-label":r},lt.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},lt.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function aNe(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:o,className:a,style:s,controlledProgress:l,progress:u,rtl:f,isIn:d,theme:g}=e;const m=o||l&&u===0,v={...s,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:m?0:1};l&&(v.transform=`scaleX(${u})`);const y=ju("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":f}),x=Uo(a)?a({rtl:f,type:i,defaultClassName:y}):ju(y,a);return lt.createElement("div",{role:"progressbar","aria-hidden":m?"true":"false","aria-label":"notification timer",className:x,style:v,[l&&u>=1?"onTransitionEnd":"onAnimationEnd"]:l&&u<1?null:()=>{d&&r()}})}const sNe=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i}=oNe(e),{closeButton:o,children:a,autoClose:s,onClick:l,type:u,hideProgressBar:f,closeToast:d,transition:g,position:m,className:v,style:y,bodyClassName:x,bodyStyle:C,progressClassName:b,progressStyle:E,updateId:T,role:D,progress:I,rtl:U,toastId:H,deleteToast:V,isIn:j,isLoading:z,iconOut:q,closeOnClick:Z,theme:ae}=e,G=ju("Toastify__toast",`Toastify__toast-theme--${ae}`,`Toastify__toast--${u}`,{"Toastify__toast--rtl":U},{"Toastify__toast--close-on-click":Z}),ee=Uo(v)?v({rtl:U,position:m,type:u,defaultClassName:G}):ju(G,v),re=!!I||!s,X={closeToast:d,type:u,theme:ae};let ge=null;return o===!1||(ge=Uo(o)?o(X):k.isValidElement(o)?k.cloneElement(o,X):MV(X)),lt.createElement(g,{isIn:j,done:V,position:m,preventExitTransition:n,nodeRef:r},lt.createElement("div",{id:H,onClick:l,className:ee,...i,style:y,ref:r},lt.createElement("div",{...j&&{role:D},className:Uo(x)?x({type:u}):ju("Toastify__toast-body",x),style:C},q!=null&<.createElement("div",{className:ju("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter"
529:!z})},q),lt.createElement("div",null,a)),ge,lt.createElement(aNe,{...T&&!re?{key:`pb-${T}`}:{},rtl:U,theme:ae,delay:s,isRunning:t,isIn:j,closeToast:d,hide:f,type:u,style:E,className:b,controlledProgress:re,progress:I||0})))},cx=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},lNe=ux(cx("bounce",!0));ux(cx("slide",!0));ux(cx("zoom"));ux(cx("flip"));const tk=k.forwardRef((e,t)=>{const{getToastToRender:n,containerRef:r,isToastActive:i}=iNe(e),{className:o,style:a,rtl:s,containerId:l}=e;function u(f){const d=ju("Toastify__toast-container",`Toastify__toast-container--${f}`,{"Toastify__toast-container--rtl":s});return Uo(o)?o({position:f,rtl:s,defaultClassName:d}):ju(d,Bw(o))}return k.useEffect(()=>{t&&(t.current=r.current)},[]),lt.createElement("div",{ref:r,className:"Toastify",id:l},n((f,d)=>{const g=d.length?{...a}:{...a,pointerEvents:"none"};return lt.createElement("div",{className:u(f),style:g,key:`container-${f}`},d.map((m,v)=>{let{content:y,props:x}=m;return lt.createElement(sNe,{...x,isIn:i(x.toastId),style:{...x.style,"--nth":v+1,"--len":d.length},key:`toast-${x.key}`},y)}))}))});tk.displayName="ToastContainer",tk.defaultProps={position:"top-right",transition:lNe,autoClose:5e3,closeButton:MV,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let fS,wf=new Map,qg=[],ANe=1;function QV(){return""+ANe++}function uNe(e){return e&&(Jf(e.toastId)||Lm(e.toastId))?e.toastId:QV()}function Dm(e,t){return wf.size>0?Ma.emit(0,e,t):qg.push({content:e,options:t}),t.toastId}function SB(e,t){return{...t,type:t&&t.type||e,toastId:uNe(t)}}function Jy(e){return(t,n)=>Dm(t,SB(e,n))}function Ar(e,t){return Dm(e,SB("default",t))}Ar.loading=(e,t)=>
529Dm(e,SB("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),Ar.promise=function(e,t,n){let r,{pending:i,error:o,success:a}=t;i&&(r=Jf(i)?Ar.loading(i,n):Ar.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null,delay:100},l=(f,d,g)=>{if(d==null)return void Ar.dismiss(r);const m={type:f,...s,...n,data:g},v=Jf(d)?{render:d}:d;return r?Ar.update(r,{...m,...v}):Ar(v.render,{...m,...v}),g},u=Uo(e)?e():e;return u.then(f=>l("success",a,f)).catch(f=>l("error",o,f)),u},Ar.success=Jy("success"),Ar.info=Jy("info"),Ar.error=Jy("error"),Ar.warning=Jy("warning"),Ar.warn=Ar.warning,Ar.dark=(e,t)=>Dm(e,SB("default",{theme:"dark",...t})),Ar.dismiss=e=>{wf.size>0?Ma.emit(1,e):qg=qg.filter(t=>e!=null&&t.options.toastId!==e)},Ar.clearWaitingQueue=function(e){return e===void 0&&(e={}),Ma.emit(5,e)},Ar.isActive=e=>{let t=!1;return wf.forEach(n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)}),t},Ar.update=function(e,t){t===void 0&&(t={}),setTimeout(()=>{const n=function(r,i){let{containerId:o}=i;const a=wf.get(o||fS);return a&&a.getToast(r)}(e,t);if(n){const{props:r,content:i}=n,o={...r,...t,toastId:t.toastId||e,updateId:QV()};o.toastId!==e&&(o.staleId=e);const a=o.render||i;delete o.render,Dm(a,o)}},0)},Ar.done=e=>{Ar.update(e,{progress:1})},Ar.onChange=e=>(Ma.on(4,e),()=>{Ma.off(4,e)}),Ar.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},Ar.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},Ma.on(2,e=>{fS=e.containerId||e,wf.set(fS,e),qg.forEach(t=>{Ma.emit(0,t.content,t.options)}),qg=[]}).on(3,e=>{wf.delete(e.containerId||e),wf.size===0&&Ma.off(0).off(1).off(5)});const cNe=({})=>{uI();const e=qe(Jt),t=qe(Ja),[n,r]=pt(Pj),[i,o]=pt($Ae),a=qe(Uj),[s,l]=k.useState(!1),[u,f]=k.useState(null),[d,g]=k.useState(!1),[m,v]=k.useState(null),y=qe(QI),{openCreateForm:x,openEditForm:C,closeForm:b,deleteSharedUrl:E}=UV(),T=async()=>{o(!0);try{const V=await Hj(t);V&&V.data&&r(V.data.responseData||[])}catch(V){console.error("Error fetching shared URLs:",V),r([])}finally{o(!1)}},D=(V,j)=>{navigator.clipboard.writeText(V).then(()=>{v(j),Ar.success("URL copied to clipboard! ð",{autoClose:2e3,theme:e?"light":"dark",position:"top-right",hideProgressBar:!0,closeButton:!1}),setTimeout(()=>{v(null)},2e3)}).catch(z=>{console.error("Failed to copy URL:",z),Ar.error("Failed to copy URL to clipboard",{autoClose:3e3,theme:e?"light":"dark",position:"top-right",hideProgressBar:!0,closeButton:!1})})},I=V=>{f(V),l(!0)},U=async()=>{if(u){g(!0);try{await E(u.id),l(!1),f(null)}catch(V){console.error("Delete error:",V)}finally{g(!1)}}},H=()=>{l(!1),f(null)};return k.useEffect(()=>{T()},[t]),k.useEffect(()=>{const V=document.getElementById("staticBackdropshareModal");if(V){const j=()=>{b()};return V.addEventListener("hidden.bs.modal",j),()=>{V.removeEventListener("hidden.bs.modal",j)}}},[b]),w.jsxs(w.Fragment,{children:[w.jsx("div",{className:"fade modal modal-xl ",id:"staticBackdropshareModal","data-bs-backdrop":"static","data-bs-keyboard":"false",tabIndex:-1,"aria-labelledby":"staticBackdropLabel","aria-hidden":"true",children:w.jsx("div",{className:"modal-dialog modal-xl modal-dialog-centered ",children:w.jsxs("div",{className:"modal-content position-relative rounded-3 d-flex",children:[w.jsx("div",{className:`d-flex justify-content-end ${e?"bg-white":"bg-dark"}`,children:w.jsx("button",{type:"button",className:`btn btn-link px-4 ${e?"text-dark":"text-white"}`,"data-bs-dismiss":"modal","aria-label":"Close",onClick:b,style:{fontSize:"24px"},children:w.jsx("span",{className:"material-icons",children:"close"})})}),w.jsxs("div",{className:`${e?"bg-white":"bg-dark"} modal-body p-0 rounded-3 w-100 d-flex flex-column`,children:[w.jsx("div",{className:`px-4 ${e?"border-light bg-white":"border-secondary"} `,children:w.jsxs("div",{className:"d-flex justify-content-between align-items-center ",children:[w.jsx(wp,{title:"Dashboard Shared URLs",textColor:e?"#000000":"#ffffff",className:"mb-0"}),w.jsx("button",{type:"button",className:`btn d-flex align-items-center gap-2 ${e?QH.btn_small:QH.btn_small_dark}`,onClick:x,style:{fontSize:"0.875rem"},children:"Create New Shared URL"})]})}),w.jsxs("div",{className:"flex-grow-1 p-4",style:{overflow:"auto"},children:[a&&w.jsx(tNe,{className:"mb-4"}),w.jsx(nNe,{}),i&&w.jsxs("div",{className:"text-center py-5",children:[w.jsx("div",{className:"spinner-border",role:"status",children:w.jsx("span",{className:"visually-hidden",children:"Loading..."})}),w.jsx("p",{className:`mt-3 ${e?"text-dark":"text-light"}`,children:"Loading shared URLs..."})]}),!i&&n.length>0&&w.jsxs("div",{children:[w.jsx("div",{className:"mb-4",children:w.jsx("p",{className:`${e?"text-dark":"text-light"} mb-0`,children:"Here are all the shared URLs for this dashboard:"})}),w.jsx("div",{className:"d-flex flex-column gap-3",children:n.map((V,j)=>w.jsxs("div",{className:`border rounded-3 p-4 ${e?"bg-white border-secondary":"bg-dark border-secondary"} position-relative`,style:{transition:"all 0.2s ease"},children:[w.jsxs("div",{className:"row align-items-center g-3",children:[w.jsxs("div",{className:"col-12 col-xl-7",children:[w.jsx("h5",{className:`mb-2 fw-semibold ${e?"text-dark":"text-white"}`,children:V.name||`Shared URL ${j+1}`}),w.jsxs("div",{className:"d-flex align-items-center gap-3 mb-0",children:[V.isActive?w.jsx("span",{className:"badge text-success border border-success-subtle px-4 py-1 rounded-pill text-uppercase ",style:{fontSize:"0.65rem",letterSpacing:"0.5px"},children:"Active"}):w.jsx("span",{className:"badge text-danger border border-danger-subtle px-4 py-1 rounded-pill text-uppercase ",style:{fontSize:"0.65rem",letterSpacing:"0.5px"},children:"Inactive"}),w.jsxs("span",{className:`small ${e?"text-dark":"text-light"}`,children:["Created on:"," ",new Date(V.createdAt).toLocaleDateString()]})]})]}),w.jsx("div",{className:"col-12 col-xl-5",children:w.jsxs("div",{className:"d-flex flex-column flex-xl-row gap-2 justify-content-between",children:[w.jsxs("button",{className:`btn rounded-pill d-flex align-items-center justify-content-center gap-1 border px-3 ${e?"text-dark":"text-white"}`,"data-bs-toggle":"collapse","data-bs-target":`#details-${j}`,"aria-expanded":"false","aria-controls":`details-${j}`,style:{fontSize:"0.875rem"},children:[w.jsx("span",{className:"material-icons me-2",style:{fontSize:"16px"},children:"visibility"}),"View Details"]}
529),w.jsx("button",{className:`btn rounded-pill d-flex align-items-center justify-content-center gap-1 border px-3 ${e?"btn-outline-dark":"btn-outline-light"}`,onClick:()=>D("http://localhost:3000/dashboard/slideshow/"+V.id,V.id),style:{fontSize:"0.875rem"},children:m===V.id?w.jsxs(w.Fragment,{children:[w.jsx("span",{className:"material-icons",style:{fontSize:"16px"},children:"check"}),"Copied!"]}):w.jsxs(w.Fragment,{children:[w.jsx("span",{className:"material-icons",style:{fontSize:"16px"},children:"content_copy"}),"Copy URL"]})}),w.jsxs("div",{className:"d-flex gap-2 justify-content-center justify-content-xl-start",children:[w.jsx(Wf,{className:`btn rounded-pill d-flex align-items-center justify-content-center p-2 border ${e?"text-dark":"text-white"}`,to:`/dashboard/slideshow/${V.id}`,target:"_blank",title:"Preview",style:{width:"40px",height:"40px"},children:w.jsx("span",{className:"material-icons",style:{fontSize:"16px"},children:"launch"})}),w.jsx("button",{className:`btn rounded-pill d-flex align-items-center justify-content-center p-2 border ${e?"btn-outline-secondary":"btn-outline-light"}`,onClick:()=>C(V),title:"Edit shared URL",style:{width:"40px",height:"40px"},children:w.jsx("span",{className:"material-icons",style:{fontSize:"16px"},children:"edit"})}),w.jsx("button",{className:"btn btn-outline-danger rounded-pill d-flex align-items-center justify-content-center p-2 border",onClick:()=>I(V),title:"Delete shared URL",style:{width:"40px",height:"40px"},children:w.jsx("span",{className:"material-icons",style:{fontSize:"16px"},children:"delete"})})]})]})})]}),w.jsx("div",{className:"collapse mt-3",id:`details-${j}`,children:w.jsxs("div",{className:`border-top pt-3 mt-3 ${e?"border-light":"border-secondary"}`,children:[w.jsx("h6",{className:`mb-3 ${e?"text-dark":"text-white"}`,children:"Shared Visualizations"}),w.jsx("div",{className:"row g-2",children:(()=>{try{const z=typeof(V==null?void 0:V.vizCodes)=="string"?JSON.parse(V.vizCodes):V==null?void 0:V.vizCodes;return Array.isArray(z)&&z.length>0?z.map((q,Z)=>{const ae=y.find(ee=>ee.code===q),G=ae?ae.name:q;return w.jsx("div",{className:"col-md-6 col-lg-4",children:w.jsx("div",{className:`p-3 rounded-2 text-center small ${e?"bg-light text-dark":"bg-secondary text-white"}`,style:{fontSize:"0.875rem"},children:G})},Z)}):w.jsx("div",{className:"col-12",children:w.jsx("p",{className:`text-center mb-0 ${e?"text-dark":"text-light"}`,children:"No visualizations shared"})})}catch(z){return console.error("Error parsing vizCodes:",z),w.jsx("div",{className:"col-12",children:w.jsx("p",{className:"text-center mb-0 text-danger",children:"Error loading visualizations"})})}})()})]})})]},j))})]}),!i&&n.length===0&&w.jsxs("div",{className:"text-center py-5",children:[w.jsx("p",{className:`${e?"text-dark":"text-light"} mb-3`,children:"No shared URLs found for this dashboard."}),w.jsx("p",{className:`small ${e?"text-dark":"text-light"}`,children:"Create your first shared URL to get started."})]})]})]})]})})}),w.jsx(pue,{modalId:"deleteConfirmModal",modalLabel:"Delete Confirmation",modalTitle:"Confirm Deletion",showModal:s,primaryBtnHandler:U,secondaryBtnHandler:H,btnTextPrimary:"Delete",btnTextSecondary:"Cancel",processingPrimaryBtnHandler:d,theme:e,isDestructiveAction:!0,renderLeft:w.jsxs("div",{className:`text-center ${e?"text-dark":"text-white"} `,children:[w.jsxs("p",{className:`mb-3 ${e?"text-dark":"text-white"}`,children:["Are you sure you want to delete the shared URL"," ",w.jsxs("strong",{children:['"',(u==null?void 0:u.name)||"Untitled",'"']}),"?"]}),w.jsx("p",{className:`small ${e?"text-secondary":"text-light"}`,children:"This action cannot be undone. The shared URL will be permanently removed."})]})})]})},fNe=()=>{const e=qe(xj),t=new Date,n=new Date(t.getFullYear(),0,1).getTime(),r=new Date(t.getFullYear()-1,0,1).getTime(),[i,o]=k.useState([{startDate:new Date(r),endDate:new Date(n),key:"selection"}]),[a,s]=k.useState(),[l,u]=k.useState([]),[f,d]=k.useState([]),[g,m]=k.useState(""),[v,y]=k.useState(""),[x,C]=k.useState(),[b,E]=pt(NI),[T,D]=k.useState([]),[,I]=pt(_c),U=qe(Ja),H=qe(Jt),V=qe(kj),j=qe(RI),[z,q]=pt(UI),Z=qe(Rv),ae=qe
529(wC);k.useEffect(()=>{},[e]),k.useEffect(()=>{!V&&G()},[U]),k.useEffect(()=>{m(j)},[j,Z]);const G=async()=>{await $I(U).then(re=>{if(D([]),re){m(re.data.responseData[0].name),y(re.data.responseData[0].description),s(U);const X=wt.chain(re.data.responseData).flatMap("visualizations").value();u(X);const ge=wt.chain(re.data.responseData).flatMap("widgetCharts").value();ge!=null&&d(ge);const N=wt.chain(re.data.responseData).flatMap("showDateFilter").value();E(N[0]),wt.chain(re.data.responseData).flatMap("filters").flatMap("values").value().length>0&&I("All");const W=wt.chain(re.data.responseData).flatMap("filters").map("name").head().value();W!=null&&C(W);const P=wt.chain(re.data.responseData[0]).value();P.length>0&&P.forEach(te=>{te&&(te.key,te.values)}),D(P)}})},ee=()=>{q(!z)};return k.useEffect(()=>{m(j)},[j,Z,V]),k.useEffect(()=>{D(ae)},[ae]),w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:`${(b||T[0]!=null)&&"mb-4"} d-flex justify-content-between align-items-center flex-wrap`,children:[w.jsx(Mj,{title:g,textColor:H?"#000000":"#ffffff"}),w.jsx("div",{children:w.jsx("button",{className:`btn ${H?bw.btn_small:bw.btn_small_dark}`,"data-bs-toggle":"modal","data-bs-target":"#staticBackdropshareModal",children:"Create Shareable Link"})})]}),w.jsx("div",{className:"pt-2 w-100 ",children:w.jsx(a9,{filterList:T,showDate:b})}),V?w.jsx("div",{className:" ",children:w.jsx("div",{className:"",children:w.jsx(Qj,{compClickHandler:ee,tabItems:[{content:[w.jsx(AS,{dashboardIdProp:"fifaMatched2014",componentId:0})],control:"nav-info",id:0,name:"Teams",tabId:"nav-info-tab",target:"#nav-info"},{content:[w.jsx(AS,{dashboardIdProp:"footballDashboard",componentId:1})],control:"nav-config",id:1,name:"Matches",tabId:"nav-config-tab",target:"#nav-config"},{content:[w.jsx(AS,{dashboardIdProp:"playersData",componentId:2})],control:"nav-visualisations",id:2,name:"Players",tabId:"nav-visualisations-tab",target:"#nav-visualisations"}]})},"dfnjd")}):w.jsxs(w.Fragment,{children:[w.jsx("div",{className:`${bw.widget_container} mb-5`,children:f&&f.every(re=>re!==null)?f.flatMap((re,X)=>w.jsx("div",{className:"",children:w.jsx(cD,{dashBoardId:U,configData:re,dateRange:i,index:X})},X)):""}),w.jsx("div",{className:" ",children:l.length>0&&w.jsx(uD,{dashboardId:U,dashChartData:l})})]}),w.jsx(cNe,{chartData:U,responseData:l})]})},dNe="_dash_container_1n4bl_1",hNe="_dash_container_dark_1n4bl_5",pNe="_appContainer_1n4bl_14",Og={dash_container:dNe,dash_container_dark:hNe,appContainer:pNe},gNe="_card_container_1dhec_2",mNe="_image_container_1dhec_5",vNe="_image_card_1dhec_10",_Ne="_animation_card_1dhec_14",yNe="_card_label_1dhec_21",zH={card_container:gNe,image_container:mNe,image_card:vNe,animation_card:_Ne,card_label:yNe},e0=({headline:e,desc:t,image:n,dashboardName:r,tabRequired:i,label:o})=>{const[a,s]=pt(Ja),[l,u]=k.useState(!1),[f,d]=pt(kj),[g,m]=pt(Rv),[v,y]=pt(wC),x=()=>{d(i),u(!0),s(r),y([]),i&&m(0)};k.useEffect(()=>{a==r?u(!0):u(!1)},[a]);const C=qe(Jt);return w.jsx(w.Fragment,{children:w.jsx("div",{className:" col-xl-3 col-xxl-3 col-lg-6 col-md-6 col-sm-6 ",children:w.jsxs("div",{className:`${zH.card_container} p-4 rounded-3 m-0 ${C?"bg-white":"bg-dark-subtle"}`,children:[w.jsx("span",{className:`${C?"text-black bg-light border":"text-white bg-dark"} w-auto px-2 py-1 rounded ${zH.card_label}`,children:o}),w.jsxs("div",{className:" p-0 d-flex flex-column justify-content-between pt-4",children:[w.jsxs("div",{className:"mb-4",children:[w.jsx(wp,{title:e,textColor:C?"#000000":"#ffffff",className:"mb-2"}),w.jsx(oc,{text:t,textColor:C?"#000000":"#ffffff"})]}),w.jsx("div",{children:w.jsx(YAe,{btnTxt:l?"Exploring":"Start Exploring",showIcon:!1,clickHandler:x,isDisabled:l})})]})]})})})},wNe="_chatContainer_i56bh_2",bNe="_collapsed_i56bh_16",BNe="_expanded_i56bh_21",CNe="_chatHeader_i56bh_28",xNe="_headerContent_i56bh_41",ENe="_avatarContainer_i56bh_48",SNe="_aiAvatar_i56bh_52",FNe="_statusIndicator_i56bh_63",TNe="_headerText_i56bh_74",ONe="_title_i56bh_78",kNe="_subtitle_i56bh_85",INe="_toggleButton_i56bh_92",LNe="_chatBody_i56bh_110",DNe="_messagesContainer_i56bh_116",RNe="_welcomeMessage_i56bh_142",PNe="_welcomeIcon_i56bh_153",UNe="_suggestedQuestions_i56bh_172",NNe="_suggestionButton_i56bh_179",MNe="_messagesList_i56bh_198",QNe="_messageWrapper_i56bh_205",HNe="_userMessage_i56bh_211",$Ne="_assistantMessage_i56bh_215",jNe="_messageContent_i56bh_219",zNe="_messageAvatar_i56bh_229",VNe="_messageBubble_i56bh_242",KNe="_messageText_i56bh_261",WNe="_messageTime_i56bh_297",GNe="_messageActions_i56bh_311",YNe="_deleteButton_i56bh_324",qNe="_typingIndicator_i56bh_343",ZNe="_typing_i56bh_343",XNe="_inputContainer_i56bh_386",JNe="_inputForm_i56bh_392",eMe="_inputWrapper_i56bh_396",tMe="_messageInput_i56bh_411",nMe="_inputActions_i56bh_434",rMe="_sendButton_i56bh_440",iMe="_stopButton_i56bh_440",oMe="_chatActions_i56bh_473",aMe="_actionButton_i56bh_479",Vt={chatContainer:wNe,collapsed:bNe,expanded:BNe,chatHeader:CNe,headerContent:xNe,avatarContainer:ENe,aiAvatar:SNe,statusIndicator:FNe,headerText:TNe,title:ONe,subt
529itle:kNe,toggleButton:INe,chatBody:LNe,messagesContainer:DNe,welcomeMessage:RNe,welcomeIcon:PNe,suggestedQuestions:UNe,suggestionButton:NNe,messagesList:MNe,messageWrapper:QNe,userMessage:HNe,assistantMessage:$Ne,messageContent:jNe,messageAvatar:zNe,messageBubble:VNe,messageText:KNe,messageTime:WNe,messageActions:GNe,deleteButton:YNe,typingIndicator:qNe,typing:ZNe,inputContainer:XNe,inputForm:JNe,inputWrapper:eMe,messageInput:tMe,inputActions:nMe,sendButton:rMe,stopButton:iMe,chatActions:oMe,actionButton:aMe},sMe="/assets/thor-light-300aa543.svg";function lMe(){const{visibleMessages:e,appendMessage:t,setMessages:n,deleteMessage:r,reloadMessages:i,stopGeneration:o,isLoading:a}=Wv(),[s,l]=k.useState(""),[u,f]=k.useState(!1),d=k.useRef(null),g=k.useRef(null),m=qe(Jt),v=U=>{U.trim()&&(t(new sc({content:U.trim(),role:Na.User})),l(""))},y=U=>{U.preventDefault(),v(s)},x=U=>{U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),v(s))},C=()=>{var U;(U=d.current)==null||U.scrollIntoView({behavior:"smooth"})};k.useEffect(()=>{C()},[e]);const b=U=>new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}).format(U),E=()=>{f(!u)},T=()=>{if(e.length>0){const U=e[e.length-1];i(U.id)}},D=U=>U.role||Na.Assistant,I=U=>U.content||"";return w.jsxs("div",{className:`${Vt.chatContainer} ${u?Vt.expanded:Vt.collapsed}`,"data-theme":m?"light":"dark",children:[w.jsxs("div",{className:Vt.chatHeader,onClick:E,children:[w.jsxs("div",{className:Vt.headerContent,children:[w.jsxs("div",{className:Vt.avatarContainer,children:[w.jsx("div",{className:Vt.aiAvatar,children:w.jsx("img",{src:sMe,alt:"AI Assistant",className:"",width:24,height:24})}),w.jsx("div",{className:Vt.statusIndicator})]}),w.jsxs("div",{className:Vt.headerText,children:[w.jsx("h4",{className:Vt.title,children:"Thor"}),w.jsx("p",{className:Vt.subtitle,children:"Your data insight companion"})]})]}),w.jsx("button",{className:Vt.toggleButton,"aria-label":u?"Minimize chat":"Expand chat",children:w.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:u?"M12 10L8 6L4 10":"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u&&w.jsxs("div",{className:Vt.chatBody,children:[w.jsx("div",{className:Vt.messagesContainer,children:e.length===0?w.jsxs("div",{className:Vt.welcomeMessage,children:[w.jsx("div",{className:Vt.welcomeIcon,children:w.jsx("span",{className:`${m?"":"text-white"} material-icons fs-1`,children:"assistant"})}),w.jsx("h3",{children:"Hi I'm Thor"}),w.jsx("p",{children:"I'm here to help you with any questions or tasks. How can I assist you today?"}),w.jsxs("div",{className:Vt.suggestedQuestions,children:[w.jsx("button",{onClick:()=>v("What can you help me with?"),className:Vt.suggestionButton,children:"What can you help me with?"}),w.jsx("button",{onClick:()=>v("Show me the dashboard overview"),className:Vt.suggestionButton,children:"Dashboard overview"}),w.jsx("button",{onClick:()=>v("Explain the data visualizations"),className:Vt.suggestionButton,children:"Explain visualizations"})]})]}):w.jsxs("div",{className:Vt.messagesList,children:[e.filter(U=>{const H=D(U),V=I(U);return H===Na.User||V&&V.trim()?!0:e.indexOf(U)===e.length-1&&a&&H===Na.Assistant}).map(U=>{const H=D(U),V=I(U);return w.jsx("div",{className:`${Vt.messageWrapper} ${H===Na.User?Vt.userMessage:Vt.assistantMessage}`,children:w.jsxs("div",{className:Vt.messageContent,children:[H===Na.Assistant&&w.jsx("div",{className:Vt.messageAvatar,children:w.jsx("span",{className:`${m?"":"text-white"} material-icons fs-5`,children:"assistant"})}),w.jsxs("div",{className:Vt.messageBubble,children:[w.jsx("div",{className:Vt.messageText,children:V?w.jsx(FL,{components:{p:({children:j})=>w.jsx("p",{style:{margin:"0 0 8px 0",lineHeight:"1.4"},children:j}),strong:({children:j})=>w.jsx("strong",{style:{fontWeight:"600"},children:j}),em:({children:j})=>w.jsx("em",{style:{fontStyle:"italic"},children:j}),ul:({children:j})=>w.jsx("ul",{style:{margin:"8px 0",paddingLeft:"20px",listStyleType:"disc"},children:j}),ol:({children:j})=>w.jsx("ol",{style:{margin:"8px 0",paddingLeft:"20px",whiteSpace:"normal"},children:j}),li:({children:j})=>w.jsx("li",{style:{margin:"8px 0",lineHeight:"1.4",paddingLeft:"4px",display:"list-item"},children:j}),code:({children:j})=>w.jsx("code",{style:{backgroundColor:"rgba(0, 0, 0, 0.1)",padding:"2px 4px",borderRadius:"3px",fontSize:"0.9em",fontFamily:"monospace"},children:j}),pre:({children:j})=>w.jsx("pre",{style:{backgroundColor:"rgba(0, 0, 0, 0.1)",padding:"8px",borderRadius:"6px",overflow:"auto",fontSize:"0.9em",margin:"4px 0"},children:j}),blockquote:({children:j})=>w.jsx("blockquote",{style:{borderLeft:"3px solid var(--primary-1, #007bff)",paddingLeft:"12px",margin:"4px 0",fontStyle:"italic",opacity:"0.9"},children:j}),h1:({children:j})=>w.jsx("h4",{style:{margin:"8px 0 8px 0",fontSize:"1.1em",fontWeight:"600"},children:j}),h2:({children:j})=>w.jsx("h5",{style:{margin:"8px 0 6px 0",fontSize:"1.05em",fontWeight:"600"},children:j}),h3:({children:j})=>w.jsx("h6",{style:{margin:"8px 0 4px 0",fontSize:"1em",fontWeight:"600"},children:j})},children:V}):H===Na.Assistant&&a&&w.jsxs("div",{className:Vt.typingIndicator,children:[w.jsx("span",{}),w.jsx("span",{}),w.jsx("span",{})]})}),w.jsx("div",{className:Vt.messageTime,children:b(new Date(U.createdAt||Date.now()))})]}),H===Na.User&&w.jsx("div",{className:Vt.messageActions,children:w.jsx("button",{onClick:()=>r(U.id),className:Vt.deleteButton,"aria-label":"Delete message",children:w.jsx("span",{className:`${m?"":"text-white"} material-icons fs-5`,children:"close"})})})]})},`${U.id}-${U.id}`)}),w.jsx("div",{ref:d})]})}),w.jsxs("div",{className:Vt.inputContainer,children:[w.jsx("form",{onSubmit:y,className:Vt.inputForm,children:w.jsxs("div",{className:Vt.inputWrapper,children:[w.jsx("textarea",{ref:g,value:s,onChange:U=>l(U.target.value),onKeyPress:x,placeholder:"Type your message...",className:Vt.messageInput,rows:1,disabled:a}),w.jsx("div",{className:Vt.inputActions,children:a?w.jsx("button",{type:"button",onClick:o,className:Vt.stopButton,"aria-label":"Stop generation",children:w.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("rect",{x:"6",y:"6",
529width:"12",height:"12",fill:"currentColor"})})}):w.jsx("button",{type:"submit",disabled:!s.trim()||a,className:Vt.sendButton,"aria-label":"Send message",children:w.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:"M22 2L11 13M22 2L15 22L11 13M22 2L2 9L11 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})]})}),e.length>0&&w.jsxs("div",{className:Vt.chatActions,children:[w.jsxs("button",{onClick:T,className:Vt.actionButton,disabled:a,"aria-label":"Reload messages",children:[w.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:"M1 4V10H7M23 20V14H17M20.49 9A9 9 0 0 0 5.64 5.64L1 10M22.22 14.36A9 9 0 0 1 3.51 15L7 20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Reload"]}),w.jsxs("button",{onClick:()=>n([]),className:Vt.actionButton,disabled:a,"aria-label":"Clear chat",children:[w.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:w.jsx("path",{d:"M3 6H5H21M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Clear"]})]})]})]})]})}const AMe=()=>{const e=qe(Jt),t=qe(MI);return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:`${e?Og.dash_container:Og.dash_container_dark} vh-100`,children:[w.jsx(Eue,{isCollection:!0,navItems:[],logo:Ej,logoLink:Iue,showSearch:!1,showThemes:!0,showNotifications:!0,showAvatar:!1}),w.jsxs("div",{className:`${e?Og.dash_container:Og.dash_container_dark} ${Og.appContainer} container-fluid py-2 px-5`,children:[w.jsx("div",{className:"px-1 mb-5",children:w.jsxs("div",{className:"row pt-4 gy-4 justify-content-between",children:[w.jsx(e0,{headline:"Football world cup",desc:"Football WC dashboard : insights on matches, teams, and statistics.",image:wAe,dashboardName:"fifaMatched2014",tabRequired:!0,label:"Sports"}),w.jsx(e0,{headline:"HR analytics",desc:"Insights on workforce size, hiring, attrition, and demographics.",image:KU,dashboardName:"overviewHRDash",tabRequired:!1,label:"Human Resource"}),w.jsx(e0,{headline:"Covid-19",desc:"Covid-19 dashboard : data on cases, vaccinations, and global trends.",image:yAe,dashboardName:"covidCounriesDashboard",tabRequired:!1,label:"Healthcare"}),w.jsx(e0,{headline:"Retail analytics",desc:"Retail analytics dashboard : insights for sales, customer behavior, and inventory.",image:KU,dashboardName:"retailDashboard",tabRequired:!1,label:"Retail and Ecommerce"})]})}),w.jsx("div",{className:"",children:t?w.jsx(R2e,{}):w.jsx(fNe,{})})]})]}),w.jsx(lMe,{})]})},uMe="_slideShowContainer_jkmdf_2",cMe={slideShowContainer:uMe},fMe=async e=>vc.get("https://rain.tarento.com/api/dashboard/share/"+e,{headers:yc()}),VH=e=>{try{let t=JSON.parse(e);if(Array.isArray(t)&&t.length===1&&typeof t[0]=="string"){let n=t[0];n.includes("```json")?n=n.replace(/```json\s*/,"").replace(/\s*```/,""):n.includes("```")&&(n=n.replace(/```\s*/,"").replace(/\s*```/,"")),t=JSON.parse(n)}if(Array.isArray(t))return t.map(n=>typeof n=="string"?{icon:"insights",insight:n}:n&&typeof n=="object"&&n.insight?{icon:n.icon||"insights",insight:n.insight}:{icon:"insights",insight:"Insight not available"})}catch(t){console.error("Error parsing insights data:",t)}return[]};function dMe({dashboardId:e}){const[t,n]=k.useState(""),r=qe(Jt),[i,o]=k.useState([]),[a,s]=k.useState(0),[l,u]=k.useState(!1),[f,d]=k.useState(null),{urlIdentifier:g}=Gee(),[m,v]=k.useState(!1),[y,x]=k.useState(""),[C,b]=k.useState("");k.useEffect(()=>{g&&(async()=>{var ee,re,X,ge,N;try{const pe=await fMe(g);if(((re=(ee=pe==null?void 0:pe.data)==null?void 0:ee.statusInfo)==null?void 0:re.statusCode)===320||(N=(ge=(X=pe==null?void 0:pe.data)==null?void 0:X.statusInfo)==null?void 0:ge.statusMessage)!=null&&N.toLowerCase().includes("not found")){b("Sorry, the shared slides you are looking for was not found or is no longer available. Please check your link or contact the owner"),d(null),x(""),s(0);return}b("");const W=pe.data.responseData.vizDataArray||[];d(W);const P=pe.data.responseData.name;x(P),s(0)}catch(pe){b("An error occurred while fetching the shared visualization. Please try again later."),d(null),x(""),s(0),console.error("Error fetching shared dashboard data:",pe)}})()},[g]),aB({description:"The visualization data",value:f}),k.useEffect(()=>{if(f&&f.length>0&&f[a]){const G=f[a];
529n(G.chartName||G.title||`Chart ${a+1}`);const ee=G.id||G.chartId||G.visualizationCode;if(ee){let re=localStorage.getItem(ee),X=[];if(re&&(X=VH(re),console.log("Parsed insights from localStorage:",X)),X.length===0&&G.insights&&(X=(Array.isArray(G.insights)?G.insights:[G.insights]).map(N=>typeof N=="string"?{icon:"insights",insight:N}:N&&typeof N=="object"&&N.insight?{icon:N.icon||"insights",insight:N.insight}:{icon:"insights",insight:"Insight not available"})),X.length===0&&G.data){const ge=G.data;ge.insights?X=(Array.isArray(ge.insights)?ge.insights:[ge.insights]).map(pe=>typeof pe=="string"?{icon:"insights",insight:pe}:pe&&typeof pe=="object"&&pe.insight?{icon:pe.icon||"insights",insight:pe.insight}:{icon:"insights",insight:"Insight not available"}):ge.description&&(X=[{icon:"description",insight:ge.description}])}o(X),console.log("Setting insightsArray to:",X)}else o([]),console.log("Setting insightsArray to empty array")}},[a,f]);const E=()=>{const G=f&&f[a];if(!G){o([]),v(!1);return}const ee=G.visualizationCode||G.id||G.chartId;let re=[];if(ee){const X=localStorage.getItem(ee);X&&(re=VH(X),console.log("getOrGenerateInsights - Parsed insights:",re))}if(re.length===0&&G.insights&&(re=(Array.isArray(G.insights)?G.insights:[G.insights]).map((ge,N)=>typeof ge=="string"?{icon:"insights",insight:ge}:ge&&typeof ge=="object"&&ge.insight?{icon:ge.icon||"insights",insight:ge.insight}:{icon:"insights",insight:"Insight not available"})),re.length===0&&G.data){const X=G.data;X.insights?re=(Array.isArray(X.insights)?X.insights:[X.insights]).map(N=>typeof N=="string"?{icon:"insights",insight:N}:N&&typeof N=="object"&&N.insight?{icon:N.icon||"insights",insight:N.insight}:{icon:"insights",insight:"Insight not available"}):X.description&&(re=[{icon:"description",insight:X.description}])}re.length>0?(o(re),v(!1),U(!1)):(o([]),!H&&!I&&(U(!0),z(t,ee),v(!0)))};k.useEffect(()=>{setTimeout(()=>{f&&f.length>0&&E()},1e3)},[a,f,t]),k.useEffect(()=>{let G;return m&&(G=setInterval(()=>{E()},3e3)),()=>{G&&clearInterval(G)}},[m,a,f]);const{appendMessage:T,visibleMessages:D}=Wv(),[I,U]=k.useState(!1),H=qe(Rj),V=G=>{T(new sc({content:G,role:Na.User}))},j=G=>G.content||"",z=(G,ee)=>{const re=f&&f[a];if(re){const X={chartCode:ee,modalState:re.chartName,setInsightsLoading:U,sendMessage:V,getMessageContent:j};EB.trigger(X)}};k.useEffect(()=>{const G=f&&f[a];if(G){const ee={chartCode:G.visualizationCode,modalState:t,setInsightsLoading:U,sendMessage:V,getMessageContent:j,insightsLoading:I};EB.process(D,ee)}},[D]),k.useEffect(()=>{!H&&m&&E()},[H]);const q=(G,ee,re,X,ge)=>{var N,pe;switch(ee){case un.HORIZONTALBAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.BAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.PIE:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.LINE:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.SCATTER:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.BUBBLE:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.TABLE:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.TABLEBAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.TABVIEW:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.MULTIBAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.STACKBAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.INDIAMAP:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.DOUGHNUT:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.LINEBAR:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.TREEMAP:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.AREA:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.FUNNEL:return w.jsx(rn,{chartId:G,chartType:ee,chartData:re});case un.METRIC:return w.jsx(rn,{chartId:G,chartType:ee,chartData:{title:(N=X==null?void 0:X[0])==null?void 0:N.headerName,count:(pe=X==null?void 0:X[0])==null?void 0:pe.headerValue},indexValue:ge});default:return null}};k.useEffect(()=>{if(!l&&f&&f.length>1&&!m){const G=setInterval(()=>{s(ee=>(ee+1)%f.length)},7e3);return()=>clearInterval(G)}},[l,f]);const Z=()=>{f&&f.length>0&&s(G=>(G+1)%f.length)},ae=()=>{f&&f.length>0&&s(G=>(G-1+f.length)%f.length)};return w.jsx("div",{className:` position-relative container-fluid p-4 100 ${r?"bg-white":"bg-dark"} `,children:w.jsxs("div",{className:`${r?"bg-light":"bg-dark-subtle"} h-100 rounded-5 ${cMe.slideShowContainer} shadow-lg my-auto `,children:[w.jsxs("div",{className:`pt-4 pb-3 border-bottom px-2 fs-6 d-flex justify-content-between align-items-center ${r?"border-light-subtle":"border-dark-subtle"}`,children:[w.jsx("img",{src:Ej,alt:"Rain Logo",height:24}),w.jsx("h5",{className:`${r?"text-black":"text-white"} m-0 fw-normal fs-3`,children:y})]}),w.jsxs("div",{className:"row align-content-center h-100 mx-0 my-auto h-100 ",children:[w.jsxs("div",{className:` ${C?"col-12 justify-content-center align-items-center":"col-xl-4 justify-content-start align-items-start"} d-flex flex-column h-fit pt-5 px-4`,children:[C?w.jsxs("div",{className:"mb-3 d-flex flex-column align-items-center justify-content-center",style:{minHeight:"75vh"},children:[w.jsx("p",{className:`${r?"text-dark":"text-light"} p-2 fw-bold w-100 text-nowrap fs-1 text-center`,children:"Ooopss"}),w.jsx("p",{className:`${r?"text-dark":"text-light"} p-2 fw-normal w-100 text-center`,children:C})]}):w.jsx("h3",{className:`pt-5 fs-1 ${r?"text-dark":"text-light"}`,children:t||"Loading..."}),i.length>0&&w.jsx("div",{className:"row mt-4",children:i.map((G,ee)=>(console.log("Rendering insight:",G,"Index:",ee),w.jsx("div",{className:`col-12 mb-3 w-100 ${r?"bg-white":"bg-dark"} p-2 d-flex align-items-center justify-content-center rounded-3`,children:w.jsxs("div",{className:`${r?"text-dark bg-white":"text-light bg-dark"} p-4 m-0 w-100 rounded-3 d-flex align-items-center gap-3`,style:{minHeight:"6rem"},children:[G.icon&&w.jsx("span",{className:"material-icons fs-3",children:G.icon}),w.jsx("p",{className:"m-0 flex-grow-1",children:G.insight})]})},ee)))}),i.length===0&&f&&f.length>0&&I&&w.jsx("div",{className:"col-12 mb-3",children:w.jsx("div",{children:w.jsx("div",{className:"p-2",children:w.jsx(AD,{})})})}),!C&&!f&&w.jsx("div",{className:"col-12 mb-3",children:w.jsx("p",{className:`${r?"text-dark":"text-light"} p-2`,children:"Loading dashboard data..."})})]}),f&&f.length>0&&w.jsx("div",{className:"col-xl-8 pt-4 d-flex align-items-end ",onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:w.jsx("div",{className:" w-100",children:(()=>{const G=f[a];
529if(G){const ee=G.chartType,re=G.data,X=G.id||G.chartId||"";return ee===un.METRIC&&G.data&&G.data.length>0?q(X,ee,re,G.data,a):q(X,ee,re)}return null})()})})]}),!C&&w.jsx("div",{className:"position-md-absolute bottom-0 end-0 my-4 mb-4 px-md-5 py-md-3 w-100",children:w.jsxs("div",{className:"d-flex align-items-center justify-content-between gap-3",children:[w.jsxs("div",{className:`d-flex align-items-center gap-3 ${r?"text-dark":"text-light"}`,children:[w.jsx("button",{onClick:ae,className:`btn btn-sm ${r?"btn-outline-dark":"btn-outline-light"} d-flex p-3 rounded-circle justify-content-center m-0`,disabled:!f||f.length<=1,children:w.jsx("span",{className:"material-icons m-0",children:"arrow_back_ios"})}),"Previous slide"]}),w.jsxs("div",{className:`d-flex align-items-center gap-3 ${r?"text-dark":"text-light"}`,children:[a+1,"/",(f==null?void 0:f.length)||0]}),w.jsxs("div",{className:`d-flex align-items-center gap-3 ${r?"text-dark":"text-light"}`,children:["Next slide",w.jsx("button",{onClick:Z,className:`btn btn-sm ${r?"btn-outline-dark":"btn-outline-light"} d-flex p-3 rounded-circle`,disabled:!f||f.length<=1,children:w.jsx("span",{className:"material-icons",children:"arrow_forward_ios"})})]})]})})]})})}const hMe=()=>w.jsx(w.Fragment,{children:w.jsx(AMe,{})}),pMe=()=>Object.keys(localStorage.getItem("user")||"").length===0?w.jsx(ite,{to:"/"}):w.jsx(ote,{});function gMe(){return w.jsx(w.Fragment,{children:w.jsx(dMe,{dashboardId:""})})}const mMe=lt.lazy(()=>lee(()=>import("./index-bedd43ac.js"),[]).then(({LoginPage:e})=>({default:e}))),vMe=()=>w.jsx(k.Suspense,{fallback:w.jsx("div",{className:""}),children:w.jsxs(fte,{children:[w.jsxs(ste,{children:[w.jsx(Rg,{path:$1.root,element:w.jsx(mMe,{})}),w.jsxs(Rg,{element:w.jsx(pMe,{}),children:[w.jsx(Rg,{path:$1.dashboard,element:w.jsx(hMe,{})}),w.jsx(Rg,{path:$1.slideshow,element:w.jsx(gMe,{})})]})]}),w.jsx(tk,{})]})});function _Me(){return w.jsx(vMe,{})}mS.createRoot(document.getElementById("root")).render(w.jsx(nle,{children:w.jsx(Vxe,{publicApiKey:Lue,children:w.jsx(_Me,{})})}));export{wMe as A,hMe as D,pt as R,wt as _,vc as a,xj as b,$1 as c,w as j,k as r,uI as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.