@carto/ps-react-ui 2.1.2 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("@mui/material"),hr=require("@deck.gl/react"),yr=require("react-map-gl"),br=require("maplibre-gl"),Er=require("@react-google-maps/api"),xr=require("@deck.gl/google-maps");var ve={exports:{}},U={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react"),m=require("@mui/material");var te={exports:{}},B={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Le;function Rr(){if(Le)return U;Le=1;var t=y,a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,b=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function w(R,p,m){var h,O={},g=null,T=null;m!==void 0&&(g=""+m),p.key!==void 0&&(g=""+p.key),p.ref!==void 0&&(T=p.ref);for(h in p)i.call(p,h)&&!v.hasOwnProperty(h)&&(O[h]=p[h]);if(R&&R.defaultProps)for(h in p=R.defaultProps,p)O[h]===void 0&&(O[h]=p[h]);return{$$typeof:a,type:R,key:g,ref:T,props:O,_owner:b.current}}return U.Fragment=l,U.jsx=w,U.jsxs=w,U}var z={};/**
9
+ */var we;function lr(){if(we)return B;we=1;var n=P,o=Symbol.for("react.element"),f=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,T=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0};function C(E,d,b){var g,w={},h=null,x=null;b!==void 0&&(h=""+b),d.key!==void 0&&(h=""+d.key),d.ref!==void 0&&(x=d.ref);for(g in d)u.call(d,g)&&!S.hasOwnProperty(g)&&(w[g]=d[g]);if(E&&E.defaultProps)for(g in d=E.defaultProps,d)w[g]===void 0&&(w[g]=d[g]);return{$$typeof:o,type:E,key:h,ref:x,props:w,_owner:T.current}}return B.Fragment=f,B.jsx=C,B.jsxs=C,B}var Y={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,14 +14,14 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Be;function _r(){return Be||(Be=1,process.env.NODE_ENV!=="production"&&function(){var t=y,a=Symbol.for("react.element"),l=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),R=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),k=Symbol.iterator,S="@@iterator";function E(e){if(e===null||typeof e!="object")return null;var r=k&&e[k]||e[S];return typeof r=="function"?r:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function C(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];$("error",e,n)}}function $(e,r,n){{var o=A.ReactDebugCurrentFrame,c=o.getStackAddendum();c!==""&&(r+="%s",n=n.concat([c]));var f=n.map(function(u){return String(u)});f.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,f)}}var ne=!1,ae=!1,G=!1,Z=!1,Y=!1,N;N=Symbol.for("react.module.reference");function oe(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===v||Y||e===b||e===m||e===h||Z||e===T||ne||ae||G||typeof e=="object"&&e!==null&&(e.$$typeof===g||e.$$typeof===O||e.$$typeof===w||e.$$typeof===R||e.$$typeof===p||e.$$typeof===N||e.getModuleId!==void 0))}function J(e,r,n){var o=e.displayName;if(o)return o;var c=r.displayName||r.name||"";return c!==""?n+"("+c+")":n}function I(e){return e.displayName||"Context"}function j(e){if(e==null)return null;if(typeof e.tag=="number"&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case l:return"Portal";case v:return"Profiler";case b:return"StrictMode";case m:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case R:var r=e;return I(r)+".Consumer";case w:var n=e;return I(n._context)+".Provider";case p:return J(e,e.render,"ForwardRef");case O:var o=e.displayName||null;return o!==null?o:j(e.type)||"Memo";case g:{var c=e,f=c._payload,u=c._init;try{return j(u(f))}catch{return null}}}return null}var L=Object.assign,M=0,ge,me,he,ye,be,Ee,xe;function Re(){}Re.__reactDisabledLog=!0;function ze(){{if(M===0){ge=console.log,me=console.info,he=console.warn,ye=console.error,be=console.group,Ee=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}}function Ge(){{if(M--,M===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:ge}),info:L({},e,{value:me}),warn:L({},e,{value:he}),error:L({},e,{value:ye}),group:L({},e,{value:be}),groupCollapsed:L({},e,{value:Ee}),groupEnd:L({},e,{value:xe})})}M<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ie=A.ReactCurrentDispatcher,se;function K(e,r,n){{if(se===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);se=o&&o[1]||""}return`
18
- `+se+e}}var ue=!1,H;{var Ze=typeof WeakMap=="function"?WeakMap:Map;H=new Ze}function _e(e,r){if(!e||ue)return"";{var n=H.get(e);if(n!==void 0)return n}var o;ue=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=ie.current,ie.current=null,ze();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(B){o=B}Reflect.construct(e,[],u)}else{try{u.call()}catch(B){o=B}e.call(u.prototype)}}else{try{throw Error()}catch(B){o=B}e()}}catch(B){if(B&&o&&typeof B.stack=="string"){for(var s=B.stack.split(`
19
- `),D=o.stack.split(`
20
- `),x=s.length-1,_=D.length-1;x>=1&&_>=0&&s[x]!==D[_];)_--;for(;x>=1&&_>=0;x--,_--)if(s[x]!==D[_]){if(x!==1||_!==1)do if(x--,_--,_<0||s[x]!==D[_]){var F=`
21
- `+s[x].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,F),F}while(x>=1&&_>=0);break}}}finally{ue=!1,ie.current=f,Ge(),Error.prepareStackTrace=c}var W=e?e.displayName||e.name:"",Fe=W?K(W):"";return typeof e=="function"&&H.set(e,Fe),Fe}function Je(e,r,n){return _e(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function X(e,r,n){if(e==null)return"";if(typeof e=="function")return _e(e,Ke(e));if(typeof e=="string")return K(e);switch(e){case m:return K("Suspense");case h:return K("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return Je(e.render);case O:return X(e.type,r,n);case g:{var o=e,c=o._payload,f=o._init;try{return X(f(c),r,n)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Te={},Ce=A.ReactDebugCurrentFrame;function ee(e){if(e){var r=e._owner,n=X(e.type,e._source,r?r.type:null);Ce.setExtraStackFrame(n)}else Ce.setExtraStackFrame(null)}function He(e,r,n,o,c){{var f=Function.call.bind(Q);for(var u in e)if(f(e,u)){var s=void 0;try{if(typeof e[u]!="function"){var D=Error((o||"React class")+": "+n+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}s=e[u](r,u,o,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(x){s=x}s&&!(s instanceof Error)&&(ee(c),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",n,u,typeof s),ee(null)),s instanceof Error&&!(s.message in Te)&&(Te[s.message]=!0,ee(c),C("Failed %s type: %s",n,s.message),ee(null))}}}var Xe=Array.isArray;function le(e){return Xe(e)}function Qe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,n=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function er(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Se(e){if(er(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Qe(e)),je(e)}var q=A.ReactCurrentOwner,rr={key:!0,ref:!0,__self:!0,__source:!0},we,Oe,ce;ce={};function tr(e){if(Q.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function nr(e){if(Q.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function ar(e,r){if(typeof e.ref=="string"&&q.current&&r&&q.current.stateNode!==r){var n=j(q.current.type);ce[n]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',j(q.current.type),e.ref),ce[n]=!0)}}function or(e,r){{var n=function(){we||(we=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function ir(e,r){{var n=function(){Oe||(Oe=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var sr=function(e,r,n,o,c,f,u){var s={$$typeof:a,type:e,key:r,ref:n,props:u,_owner:f};return s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ur(e,r,n,o,c){{var f,u={},s=null,D=null;n!==void 0&&(Se(n),s=""+n),nr(r)&&(Se(r.key),s=""+r.key),tr(r)&&(D=r.ref,ar(r,c));for(f in r)Q.call(r,f)&&!rr.hasOwnProperty(f)&&(u[f]=r[f]);if(e&&e.defaultProps){var x=e.defaultProps;for(f in x)u[f]===void 0&&(u[f]=x[f])}if(s||D){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;s&&or(u,_),D&&ir(u,_)}return sr(e,s,D,c,o,q.current,u)}}var fe=A.ReactCurrentOwner,Pe=A.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,n=X(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(n)}else Pe.setExtraStackFrame(null)}var de;de=!1;function pe(e){return typeof e=="object"&&e!==null&&e.$$typeof===a}function ke(){{if(fe.current){var e=j(fe.current.type);if(e)return`
17
+ */var je;function cr(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var n=P,o=Symbol.for("react.element"),f=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),E=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),k=Symbol.iterator,j="@@iterator";function J(e){if(e===null||typeof e!="object")return null;var r=k&&e[k]||e[j];return typeof r=="function"?r:null}var I=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];Pe("error",e,t)}}function Pe(e,r,t){{var a=I.ReactDebugCurrentFrame,l=a.getStackAddendum();l!==""&&(r+="%s",t=t.concat([l]));var c=t.map(function(s){return String(s)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var ke=!1,Fe=!1,Ae=!1,De=!1,Ie=!1,ne;ne=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===u||e===S||Ie||e===T||e===b||e===g||De||e===x||ke||Fe||Ae||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===w||e.$$typeof===C||e.$$typeof===E||e.$$typeof===d||e.$$typeof===ne||e.getModuleId!==void 0))}function We(e,r,t){var a=e.displayName;if(a)return a;var l=r.displayName||r.name||"";return l!==""?t+"("+l+")":t}function ae(e){return e.displayName||"Context"}function F(e){if(e==null)return null;if(typeof e.tag=="number"&&R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case u:return"Fragment";case f:return"Portal";case S:return"Profiler";case T:return"StrictMode";case b:return"Suspense";case g:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case E:var r=e;return ae(r)+".Consumer";case C:var t=e;return ae(t._context)+".Provider";case d:return We(e,e.render,"ForwardRef");case w:var a=e.displayName||null;return a!==null?a:F(e.type)||"Memo";case h:{var l=e,c=l._payload,s=l._init;try{return F(s(c))}catch{return null}}}return null}var D=Object.assign,M=0,oe,ie,se,ue,le,ce,fe;function de(){}de.__reactDisabledLog=!0;function Me(){{if(M===0){oe=console.log,ie=console.info,se=console.warn,ue=console.error,le=console.group,ce=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}}function Le(){{if(M--,M===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:oe}),info:D({},e,{value:ie}),warn:D({},e,{value:se}),error:D({},e,{value:ue}),group:D({},e,{value:le}),groupCollapsed:D({},e,{value:ce}),groupEnd:D({},e,{value:fe})})}M<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=I.ReactCurrentDispatcher,K;function V(e,r,t){{if(K===void 0)try{throw Error()}catch(l){var a=l.stack.trim().match(/\n( *(at )?)/);K=a&&a[1]||""}return`
18
+ `+K+e}}var X=!1,N;{var Be=typeof WeakMap=="function"?WeakMap:Map;N=new Be}function ve(e,r){if(!e||X)return"";{var t=N.get(e);if(t!==void 0)return t}var a;X=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=G.current,G.current=null,Me();try{if(r){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(A){a=A}Reflect.construct(e,[],s)}else{try{s.call()}catch(A){a=A}e.call(s.prototype)}}else{try{throw Error()}catch(A){a=A}e()}}catch(A){if(A&&a&&typeof A.stack=="string"){for(var i=A.stack.split(`
19
+ `),_=a.stack.split(`
20
+ `),v=i.length-1,p=_.length-1;v>=1&&p>=0&&i[v]!==_[p];)p--;for(;v>=1&&p>=0;v--,p--)if(i[v]!==_[p]){if(v!==1||p!==1)do if(v--,p--,p<0||i[v]!==_[p]){var O=`
21
+ `+i[v].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&N.set(e,O),O}while(v>=1&&p>=0);break}}}finally{X=!1,G.current=c,Le(),Error.prepareStackTrace=l}var W=e?e.displayName||e.name:"",Ce=W?V(W):"";return typeof e=="function"&&N.set(e,Ce),Ce}function Ye(e,r,t){return ve(e,!1)}function Ve(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function U(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ve(e));if(typeof e=="string")return V(e);switch(e){case b:return V("Suspense");case g:return V("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case d:return Ye(e.render);case w:return U(e.type,r,t);case h:{var a=e,l=a._payload,c=a._init;try{return U(c(l),r,t)}catch{}}}return""}var q=Object.prototype.hasOwnProperty,pe={},he=I.ReactDebugCurrentFrame;function z(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Ne(e,r,t,a,l){{var c=Function.call.bind(q);for(var s in e)if(c(e,s)){var i=void 0;try{if(typeof e[s]!="function"){var _=Error((a||"React class")+": "+t+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw _.name="Invariant Violation",_}i=e[s](r,s,a,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){i=v}i&&!(i instanceof Error)&&(z(l),R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",t,s,typeof i),z(null)),i instanceof Error&&!(i.message in pe)&&(pe[i.message]=!0,z(l),R("Failed %s type: %s",t,i.message),z(null))}}}var Ue=Array.isArray;function H(e){return Ue(e)}function qe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ze(e){try{return ge(e),!1}catch{return!0}}function ge(e){return""+e}function ye(e){if(ze(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(e)),ge(e)}var L=I.ReactCurrentOwner,Je={key:!0,ref:!0,__self:!0,__source:!0},be,me,Z;Z={};function Ge(e){if(q.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(q.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Xe(e,r){if(typeof e.ref=="string"&&L.current&&r&&L.current.stateNode!==r){var t=F(L.current.type);Z[t]||(R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',F(L.current.type),e.ref),Z[t]=!0)}}function He(e,r){{var t=function(){be||(be=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Ze(e,r){{var t=function(){me||(me=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Qe=function(e,r,t,a,l,c,s){var i={$$typeof:o,type:e,key:r,ref:t,props:s,_owner:c};return i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(i,"_source",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i};function er(e,r,t,a,l){{var c,s={},i=null,_=null;t!==void 0&&(ye(t),i=""+t),Ke(r)&&(ye(r.key),i=""+r.key),Ge(r)&&(_=r.ref,Xe(r,l));for(c in r)q.call(r,c)&&!Je.hasOwnProperty(c)&&(s[c]=r[c]);if(e&&e.defaultProps){var v=e.defaultProps;for(c in v)s[c]===void 0&&(s[c]=v[c])}if(i||_){var p=typeof e=="function"?e.displayName||e.name||"Unknown":e;i&&He(s,p),_&&Ze(s,p)}return Qe(e,i,_,l,a,L.current,s)}}var Q=I.ReactCurrentOwner,Ee=I.ReactDebugCurrentFrame;function $(e){if(e){var r=e._owner,t=U(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var ee;ee=!1;function re(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Re(){{if(Q.current){var e=F(Q.current.type);if(e)return`
22
22
 
23
- Check the render method of \``+e+"`."}return""}}function lr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),n=e.lineNumber;return`
23
+ Check the render method of \``+e+"`."}return""}}function rr(e){{if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),t=e.lineNumber;return`
24
24
 
25
- Check your code at `+r+":"+n+"."}return""}}var De={};function cr(e){{var r=ke();if(!r){var n=typeof e=="string"?e:e.displayName||e.name;n&&(r=`
25
+ Check your code at `+r+":"+t+"."}return""}}var _e={};function tr(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
26
26
 
27
- Check the top-level render call using <`+n+">.")}return r}}function Me(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=cr(r);if(De[n])return;De[n]=!0;var o="";e&&e._owner&&e._owner!==fe.current&&(o=" It was passed a child from "+j(e._owner.type)+"."),V(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,o),V(null)}}function Ae(e,r){{if(typeof e!="object")return;if(le(e))for(var n=0;n<e.length;n++){var o=e[n];pe(o)&&Me(o,r)}else if(pe(e))e._store&&(e._store.validated=!0);else if(e){var c=E(e);if(typeof c=="function"&&c!==e.entries)for(var f=c.call(e),u;!(u=f.next()).done;)pe(u.value)&&Me(u.value,r)}}}function fr(e){{var r=e.type;if(r==null||typeof r=="string")return;var n;if(typeof r=="function")n=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===p||r.$$typeof===O))n=r.propTypes;else return;if(n){var o=j(r);He(n,e.props,"prop",o,e)}else if(r.PropTypes!==void 0&&!de){de=!0;var c=j(r);C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",c||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dr(e){{for(var r=Object.keys(e.props),n=0;n<r.length;n++){var o=r[n];if(o!=="children"&&o!=="key"){V(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),V(null);break}}e.ref!==null&&(V(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}function Ie(e,r,n,o,c,f){{var u=oe(e);if(!u){var s="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=lr(c);D?s+=D:s+=ke();var x;e===null?x="null":le(e)?x="array":e!==void 0&&e.$$typeof===a?(x="<"+(j(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):x=typeof e,C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",x,s)}var _=ur(e,r,n,c,f);if(_==null)return _;if(u){var F=r.children;if(F!==void 0)if(o)if(le(F)){for(var W=0;W<F.length;W++)Ae(F[W],e);Object.freeze&&Object.freeze(F)}else C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ae(F,e)}return e===i?dr(_):fr(_),_}}function pr(e,r,n){return Ie(e,r,n,!0)}function vr(e,r,n){return Ie(e,r,n,!1)}var gr=vr,mr=pr;z.Fragment=i,z.jsx=gr,z.jsxs=mr}()),z}process.env.NODE_ENV==="production"?ve.exports=Rr():ve.exports=_r();var d=ve.exports;const Tr={box:{marginLeft:({spacing:t})=>t(1)}};function Cr({items:t,itemsToShow:a=10,label:l,ListProps:i,texts:{showMore:b="View all",showLess:v="Collapse list"}={},unit:w,formatter:R,onRowClick:p}){const[m,h]=y.useState(!0),O=()=>{h(!m)},g=S=>R?R(S):S,T=y.useMemo(()=>{const S=m?a:t.length;return t.slice(0,S)},[t,a,m]),k=t.length>a;return d.jsxs(P.Box,{width:"100%",height:"auto",children:[l&&d.jsx(P.Typography,{variant:"caption",color:"textSecondary",gutterBottom:!0,children:l}),d.jsx(P.List,{...i,component:"ul",children:T.map(S=>d.jsxs(P.ListItemButton,{divider:!0,onClick:E=>p?.(E,S),children:[d.jsx(P.ListItemText,{primary:S.name}),d.jsx(jr,{value:g(S.value),unit:w})]},S.id))}),k&&d.jsx(P.Button,{variant:"text",color:"primary",size:"small",onClick:O,children:m?b:v})]})}function jr({value:t,unit:a}){return d.jsx(P.Box,{sx:Tr.box,children:d.jsxs(P.Typography,{variant:"body2",align:"right",noWrap:!0,children:[a," ",t]})})}var re=(t=>(t.Roadmap="roadmap",t.Satellite="satellite",t.Terrain="terrain",t))(re||{}),te=(t=>(t.DarkMatter="dark-matter",t.Positron="positron",t.Voyager="voyager",t))(te||{});const Ye={positron:"https://basemaps.cartocdn.com/gl/positron-gl-style/style.json",voyager:"https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json",["dark-matter"]:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json"};function Ne({basemap:t,instanceRef:a,layers:l,overlayRef:i,viewState:b,height:v="100%",id:w="deck-gl-map",style:R={},width:p="100%",getCursor:m,getTooltip:h,onClick:O,onDrag:g,onDragEnd:T,onDragStart:k,onHover:S,onResize:E,onViewStateChange:A}){if(!Object.values(te).includes(t))return d.jsx("div",{children:"Invalid basemap"});const $=Ye[t];return d.jsx(hr,{ref:i,viewState:{...b},controller:!0,layers:l,onViewStateChange:A,onResize:E,onHover:S,onDrag:g,onClick:O,onDragStart:k,onDragEnd:T,getCursor:m,id:w,height:v,width:p,style:R,getTooltip:h,children:d.jsx(yr.Map,{ref:a,reuseMaps:!0,mapStyle:$,mapLib:br})})}function qe(t){let a=null;return Object.values(re).includes(t?.basemap)||(a="Invalid basemap"),t?.apiKey||(a="Google Maps API key is required"),a?d.jsx("div",{children:a}):d.jsx(Sr,{...t})}function Sr({apiKey:t,basemap:a,instanceRef:l,layers:i,overlayRef:b,viewState:v,height:w="100%",id:R="google-map-script",language:p="en",mapOptions:m,style:h={},version:O,width:g="100%",getTooltip:T,onResize:k,onViewStateChange:S}){const E=l,A=y.useRef(null),C=y.useRef(),[$,ne]=y.useState(v),ae={position:"absolute",zIndex:0,left:0,top:0,width:g,height:w,...h},G=v.maxZoom??24,Z=v.minZoom??0,Y=y.useMemo(()=>({mapTypeControl:!1,fullscreenControl:!1,zoomControl:!1,streetViewControl:!1,mapTypeId:a,maxZoom:G,minZoom:Z,...m}),[a,G,Z,m]),{isLoaded:N}=Er.useJsApiLoader({id:R,googleMapsApiKey:t,language:p,version:O}),oe=()=>{const I=We(E?.current),j={zoom:$e(E?.current),longitude:I.lng,latitude:I.lat};Or(C.current,j)&&(C.current=j,typeof S=="function"&&S({viewState:j}))},J=y.useCallback(()=>{if(!A.current)return;const I=Ve(v),j={lat:v.latitude,lng:v.longitude},L={zoom:I,center:j,...Y},M=new google.maps.Map(A.current,L);b?.current&&(b.current=new xr.GoogleMapsOverlay({layers:i,getTooltip:T})),M.addListener("bounds_changed",oe),M.addListener("resize",()=>{typeof k=="function"&&k({height:M.getDiv().offsetHeight,width:M.getDiv().offsetWidth})}),E?.current&&(E.current=M)},[]);return y.useEffect(()=>{if(N)return J(),()=>{E?.current&&google.maps.event.clearInstanceListeners(E.current),b?.current&&b.current.finalize()}},[N,J,E,b]),y.useEffect(()=>{E?.current?.setOptions(Y)},[Y,i,T,a,E]),y.useEffect(()=>{const I=setTimeout(()=>{ne(v)},300);return()=>{clearTimeout(I)}},[v]),y.useEffect(()=>{if(E?.current){const I=Ve($),j={lat:$.latitude,lng:$.longitude},L=$e(E?.current),M=We(E?.current);I!==L&&E?.current.setZoom(I),(M.lng!==j.lng||M.lat!==j.lat)&&E?.current.setCenter(j)}},[$,E]),d.jsx("div",{ref:A,style:ae})}const wr=["longitude","latitude","zoom"];function Or(t,a){return t?wr.some(l=>t[l]!==a[l]):!0}function $e(t){return t?.getZoom()-1}function Ve(t){return t.zoom+1}function We(t){const a=t?.getCenter();return{lat:a?.lat(),lng:a?.lng()}}function Pr(t){const a=y.useMemo(()=>Object.values(te).includes(t?.basemap)?Ne:Object.values(re).includes(t?.basemap)?qe:null,[t?.basemap]);return a?d.jsx(a,{...t}):d.jsx("div",{children:"MapComponent: Invalid basemap"})}const kr={contentBox:{paddingBottom:2,paddingX:2}},Dr=P.styled(P.Box,{shouldForwardProp:t=>t!=="scrollMarginTop"})(({scrollMarginTop:t})=>({height:"auto",scrollMarginTop:t,width:"100%"})),Mr=P.styled(P.Box,{shouldForwardProp:t=>t!=="scrollMarginTop"})(({scrollMarginTop:t,theme:{spacing:a,palette:l}})=>({alignItems:"center",backgroundColor:l.grey[100],display:"flex",height:a(3),justifyContent:"center",position:"sticky",top:t,width:"100%",zIndex:1}));function Ar({title:t,id:a,anchor:l=!1,scrollMarginTop:i=0,children:b,BoxProps:v}){return d.jsxs(Dr,{scrollMarginTop:i,id:a,"data-anchor":l,...v,children:[d.jsx(Mr,{scrollMarginTop:i,children:d.jsx(P.Typography,{variant:"caption",children:t})}),d.jsx(P.Box,{sx:kr.contentBox,children:d.jsx(d.Fragment,{children:b})})]})}const Ir={tabsWrapper:{backgroundColor:({palette:t})=>t.background.paper,left:0,position:"sticky",top:0,width:"100%",zIndex:2,"& .MuiTab-root:last-of-type":{marginRight:0},"& .MuiTab-textColorPrimary":{color:({palette:t})=>t.text.primary,"&.Mui-selected":{color:({palette:t})=>t.primary.main}},"& .MuiTabs-indicator.colorPrimary":{backgroundColor:({palette:t})=>t.primary.main}}};function Fr({children:t,anchor:a,TabsProps:l,variant:i="standard",onChange:b}){const v=(w,R)=>{w.preventDefault(),b?.(R)};return d.jsx(P.Box,{sx:Ir.tabsWrapper,children:d.jsx(P.Tabs,{indicatorColor:"primary",textColor:"primary","aria-label":"Explore sections",...l,value:a,variant:i,onChange:v,children:t})})}function Ue(t){var a,l,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t))for(a=0;a<t.length;a++)t[a]&&(l=Ue(t[a]))&&(i&&(i+=" "),i+=l);else for(a in t)t[a]&&(i&&(i+=" "),i+=a);return i}function Lr(){for(var t,a,l=0,i="";l<arguments.length;)(t=arguments[l++])&&(a=Ue(t))&&(i&&(i+=" "),i+=a);return i}const Br={box:{borderRadius:({spacing:t})=>`0 0 ${t(.5)} ${t(.5)}`,flex:1,height:"100%",margin:"0 auto",maxWidth:({breakpoints:t})=>t.values.lg,overflow:"auto",position:"relative",width:"100%"}};function $r({children:t,currentAnchor:a,BoxProps:l,className:i,timeout:b=50,onChange:v}){const w=y.useRef(null),R=y.useRef([]),p=y.useRef(0),m=y.useRef(a);y.useEffect(()=>{const g=Array.from(w.current?.querySelectorAll('[data-anchor="true"]')||[]);if(R.current=[...g].reverse(),!R.current.length)throw new Error('initialization of ScrollToAnchor: Missing sections with data-anchor="true" attribute.')},[]),y.useEffect(()=>{const g=T=>{const k=w.current?.querySelector(`#${T}`);if(!k){console.warn(`Warning: navigation of ScrollToAnchor: the section you want to navigate to does not exist. To create it add the #${T} id property to an element.`);return}if(k){k.scrollIntoView({behavior:"smooth"});const S=setInterval(()=>{k.offsetTop===p.current&&(m.current=T,clearInterval(S))},b)}};a!==m.current&&g(a)},[a,b]);const h=y.useCallback(()=>{const T=R.current.find(k=>p.current>=k.offsetTop)?.id||"";m.current!==T&&(m.current=T,v(T))},[v]),O=y.useCallback(g=>{g.stopPropagation(),p.current=g.currentTarget.scrollTop,a===m.current&&requestAnimationFrame(()=>h())},[a,h]);return d.jsx(P.Box,{ref:w,sx:Br.box,...l,className:Lr(i),"data-scroller":!0,onScroll:g=>O(g),children:t})}function Vr(t){return t.map(a=>{const l=a,i=String(a);return{value:l,label:i}})}exports.CartoBasemapURL=Ye;exports.CartoBasemapsNames=te;exports.DeckGLMapsComponent=Ne;exports.GMapsBasemap=re;exports.GoogleMapsComponent=qe;exports.ListData=Cr;exports.MapComponent=Pr;exports.ScrollToAnchor=$r;exports.SectionContainer=Ar;exports.TabsToAnchor=Fr;exports.createSelectOptionsFromArray=Vr;
27
+ Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=tr(r);if(_e[t])return;_e[t]=!0;var a="";e&&e._owner&&e._owner!==Q.current&&(a=" It was passed a child from "+F(e._owner.type)+"."),$(e),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,a),$(null)}}function Te(e,r){{if(typeof e!="object")return;if(H(e))for(var t=0;t<e.length;t++){var a=e[t];re(a)&&xe(a,r)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var l=J(e);if(typeof l=="function"&&l!==e.entries)for(var c=l.call(e),s;!(s=c.next()).done;)re(s.value)&&xe(s.value,r)}}}function nr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===d||r.$$typeof===w))t=r.propTypes;else return;if(t){var a=F(r);Ne(t,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!ee){ee=!0;var l=F(r);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",l||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var a=r[t];if(a!=="children"&&a!=="key"){$(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),$(null);break}}e.ref!==null&&($(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),$(null))}}function Se(e,r,t,a,l,c){{var s=$e(e);if(!s){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var _=rr(l);_?i+=_:i+=Re();var v;e===null?v="null":H(e)?v="array":e!==void 0&&e.$$typeof===o?(v="<"+(F(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,i)}var p=er(e,r,t,l,c);if(p==null)return p;if(s){var O=r.children;if(O!==void 0)if(a)if(H(O)){for(var W=0;W<O.length;W++)Te(O[W],e);Object.freeze&&Object.freeze(O)}else R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Te(O,e)}return e===u?ar(p):nr(p),p}}function or(e,r,t){return Se(e,r,t,!0)}function ir(e,r,t){return Se(e,r,t,!1)}var sr=ir,ur=or;Y.Fragment=u,Y.jsx=sr,Y.jsxs=ur}()),Y}process.env.NODE_ENV==="production"?te.exports=lr():te.exports=cr();var y=te.exports;const fr={box:{marginLeft:({spacing:n})=>n(1)}};function dr({items:n,itemsToShow:o=10,label:f,ListProps:u,texts:{showMore:T="View all",showLess:S="Collapse list"}={},unit:C,formatter:E,onRowClick:d}){const[b,g]=P.useState(!0),w=()=>{g(!b)},h=j=>E?E(j):j,x=P.useMemo(()=>{const j=b?o:n.length;return n.slice(0,j)},[n,o,b]),k=n.length>o;return y.jsxs(m.Box,{width:"100%",height:"auto",children:[f&&y.jsx(m.Typography,{variant:"caption",color:"textSecondary",gutterBottom:!0,children:f}),y.jsx(m.List,{...u,component:"ul",children:x.map(j=>y.jsxs(m.ListItemButton,{divider:!0,onClick:J=>d?.(J,j),children:[y.jsx(m.ListItemText,{primary:j.name}),y.jsx(vr,{value:h(j.value),unit:C})]},j.id))}),k&&y.jsx(m.Button,{variant:"text",color:"primary",size:"small",onClick:w,children:b?T:S})]})}function vr({value:n,unit:o}){return y.jsx(m.Box,{sx:fr.box,children:y.jsxs(m.Typography,{variant:"body2",align:"right",noWrap:!0,children:[o," ",n]})})}const pr={contentBox:{paddingBottom:2,paddingX:2}},hr=m.styled(m.Box,{shouldForwardProp:n=>n!=="scrollMarginTop"})(({scrollMarginTop:n})=>({height:"auto",scrollMarginTop:n,width:"100%"})),gr=m.styled(m.Box,{shouldForwardProp:n=>n!=="scrollMarginTop"})(({scrollMarginTop:n,theme:{spacing:o,palette:f}})=>({alignItems:"center",backgroundColor:f.grey[100],display:"flex",height:o(3),justifyContent:"center",position:"sticky",top:n,width:"100%",zIndex:1}));function yr({title:n,id:o,anchor:f=!1,scrollMarginTop:u=0,children:T,BoxProps:S}){return y.jsxs(hr,{scrollMarginTop:u,id:o,"data-anchor":f,...S,children:[y.jsx(gr,{scrollMarginTop:u,children:y.jsx(m.Typography,{variant:"caption",children:n})}),y.jsx(m.Box,{sx:pr.contentBox,children:y.jsx(y.Fragment,{children:T})})]})}const br={tabsWrapper:{backgroundColor:({palette:n})=>n.background.paper,left:0,position:"sticky",top:0,width:"100%",zIndex:2,"& .MuiTab-root:last-of-type":{marginRight:0},"& .MuiTab-textColorPrimary":{color:({palette:n})=>n.text.primary,"&.Mui-selected":{color:({palette:n})=>n.primary.main}},"& .MuiTabs-indicator.colorPrimary":{backgroundColor:({palette:n})=>n.primary.main}}};function mr({children:n,anchor:o,TabsProps:f,variant:u="standard",onChange:T}){const S=(C,E)=>{C.preventDefault(),T?.(E)};return y.jsx(m.Box,{sx:br.tabsWrapper,children:y.jsx(m.Tabs,{indicatorColor:"primary",textColor:"primary","aria-label":"Explore sections",...f,value:o,variant:u,onChange:S,children:n})})}function Oe(n){var o,f,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n))for(o=0;o<n.length;o++)n[o]&&(f=Oe(n[o]))&&(u&&(u+=" "),u+=f);else for(o in n)n[o]&&(u&&(u+=" "),u+=o);return u}function Er(){for(var n,o,f=0,u="";f<arguments.length;)(n=arguments[f++])&&(o=Oe(n))&&(u&&(u+=" "),u+=o);return u}const Rr={box:{borderRadius:({spacing:n})=>`0 0 ${n(.5)} ${n(.5)}`,flex:1,height:"100%",margin:"0 auto",maxWidth:({breakpoints:n})=>n.values.lg,overflow:"auto",position:"relative",width:"100%"}};function _r({children:n,currentAnchor:o,BoxProps:f,className:u,timeout:T=50,onChange:S}){const C=P.useRef(null),E=P.useRef([]),d=P.useRef(0),b=P.useRef(o);P.useEffect(()=>{const h=Array.from(C.current?.querySelectorAll('[data-anchor="true"]')||[]);if(E.current=[...h].reverse(),!E.current.length)throw new Error('initialization of ScrollToAnchor: Missing sections with data-anchor="true" attribute.')},[]),P.useEffect(()=>{const h=x=>{const k=C.current?.querySelector(`#${x}`);if(!k){console.warn(`Warning: navigation of ScrollToAnchor: the section you want to navigate to does not exist. To create it add the #${x} id property to an element.`);return}if(k){k.scrollIntoView({behavior:"smooth"});const j=setInterval(()=>{k.offsetTop===d.current&&(b.current=x,clearInterval(j))},T)}};o!==b.current&&h(o)},[o,T]);const g=P.useCallback(()=>{const x=E.current.find(k=>d.current>=k.offsetTop)?.id||"";b.current!==x&&(b.current=x,S(x))},[S]),w=P.useCallback(h=>{h.stopPropagation(),d.current=h.currentTarget.scrollTop,o===b.current&&requestAnimationFrame(()=>g())},[o,g]);return y.jsx(m.Box,{ref:C,sx:Rr.box,...f,className:Er(u),"data-scroller":!0,onScroll:h=>w(h),children:n})}function xr(n){return n.map(o=>{const f=o,u=String(o);return{value:f,label:u}})}exports.ListData=dr;exports.ScrollToAnchor=_r;exports.SectionContainer=yr;exports.TabsToAnchor=mr;exports.createSelectOptionsFromArray=xr;