@worldresources/wri-design-systems 2.154.0 → 2.155.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.js +91 -80
- package/dist/index.esm.js +88 -77
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2099,7 +2099,7 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as i,Ic
|
|
|
2099
2099
|
color: ${be("neutral",600)};
|
|
2100
2100
|
padding: 0 10px;
|
|
2101
2101
|
}
|
|
2102
|
-
`,Ua=({type:e,label:t,caption:n,color:r,onActionClick:i,showActionButton:o,pointIcon:a=W(Ye,{color:"#006D2C"}),ariaLabelType:l=""})=>{const[s,c]=Y(!0),d=Q(),u=Q(),p="raster"===e,h="line"===e,f="point"===e,g=Q(),v=ne((()
|
|
2102
|
+
`,Ua=({type:e,label:t,caption:n,color:r,onActionClick:i,showActionButton:o,pointIcon:a=W(Ye,{color:"#006D2C"}),ariaLabelType:l=""})=>{const[s,c]=Y(!0),d=Q(),u=Q(),p="raster"===e,h="line"===e,f="point"===e,g=Q(),v=ne((()=>{let e=l??`${l},`;h&&(e="line,");return`${e} ${t}${n?`, ${n}`:""}. Currently ${s?"visible":"hidden"}.`}),[s,e,t,n]),m=s?"Hide":"Show";return Z("div",{css:Fa,children:[W("p",{id:g,css:{position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,clip:"rect(0 0 0 0)",overflow:"hidden"},children:v}),Z("div",{css:Za,children:[Z("div",{children:[p&&W("div",{css:za(r)}),h&&W("div",{css:Ha(r)}),f&&W("div",{css:Ba(r),children:a})]}),Z("div",{children:[W("p",{id:d,css:Wa,children:t}),n?W("p",{id:u,css:qa,children:n}):null]})]}),i&&o?W("div",{css:Ga,children:W(Se,{type:"button",variant:"borderless",label:m,rightIcon:W(s?Ve:Ne,{}),"aria-pressed":s,"aria-labelledby":`${g} ${d}`,onClick:()=>{c((e=>!e)),i?.()}})}):null]})},Xa=se`
|
|
2103
2103
|
width: 100%;
|
|
2104
2104
|
display: flex;
|
|
2105
2105
|
flex-direction: column;
|
|
@@ -2463,7 +2463,18 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
2463
2463
|
* focus-trap 6.9.4
|
|
2464
2464
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
2465
2465
|
*/
|
|
2466
|
-
function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eh(Object(n),!0).forEach((function(t){Lh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rh,Th=(Rh=[],{activateTrap:function(e){if(Rh.length>0){var t=Rh[Rh.length-1];t!==e&&t.pause()}var n=Rh.indexOf(e);-1===n||Rh.splice(n,1),Rh.push(e)},deactivateTrap:function(e){var t=Rh.indexOf(e);-1!==t&&Rh.splice(t,1),Rh.length>0&&Rh[Rh.length-1].unpause()}}),Ph=function(e){return setTimeout(e,0)},_h=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},Mh=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Dh=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Nh=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=Oh({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},l=function(e){return o.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},s=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},c=function(){var e=s("initialFocus");if(!1===e)return!1;if(void 0===e)if(l(r.activeElement)>=0)e=r.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map((function(e){var t,n,r=Ch(e,i.tabbableOptions),o=(t=e,(n=(n=i.tabbableOptions)||{}).getShadowRoot?ph([t],n.includeContainer,{filter:xh.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):uh(t,n.includeContainer,xh.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:o,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(t){return t===e}));if(!(n<0))return t?o.slice(n+1).find((function(e){return $h(e,i.tabbableOptions)})):o.slice(0,n).reverse().find((function(e){return $h(e,i.tabbableOptions)}))}}})),o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},u=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=s("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Dh(e);l(t)>=0||(Mh(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!Sh(t,i.tabbableOptions)}):Mh(i.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Dh(e),n=l(t)>=0;n||t instanceof Document?n&&(o.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),u(o.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Mh(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Dh(e);d();var n=null;if(o.tabbableGroups.length>0){var r=l(t),a=r>=0?o.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=_h(o.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(a.container===t||Sh(t,i.tabbableOptions)&&!$h(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(c=r),c>=0){var p=0===c?o.tabbableGroups.length-1:c-1;n=o.tabbableGroups[p].lastTabbableNode}}else{var h=_h(o.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(a.container===t||Sh(t,i.tabbableOptions)&&!$h(t,i.tabbableOptions)&&!a.nextTabbableNode(t))&&(h=r),h>=0){var f=h===o.tabbableGroups.length-1?0:h+1;n=o.tabbableGroups[f].firstTabbableNode}}}else n=s("fallbackFocus");n&&(e.preventDefault(),u(n))}(e)},v=function(e){var t=Dh(e);l(t)>=0||Mh(i.clickOutsideDeactivates,e)||Mh(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},m=function(){if(o.active)return Th.activateTrap(n),o.delayInitialFocusTimer=i.delayInitialFocus?Ph((function(){u(c())})):u(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},x=function(){if(o.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",g,!0),n};return(n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),i=a(e,"checkCanFocusTrap");i||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,t&&t();var l=function(){i&&d(),m(),n&&n()};return i?(i(o.containers.concat()).then(l,l),this):(l(),this)},deactivate:function(e){if(!o.active)return this;var t=Oh({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,x(),o.active=!1,o.paused=!1,Th.deactivateTrap(n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),s=a(t,"checkCanReturnFocus"),c=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var d=function(){Ph((function(){c&&u(p(o.nodeFocusedBeforeActivation)),l&&l()}))};return c&&s?(s(p(o.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,x()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,d(),m(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),o.active&&d(),this}}).updateContainerElements(e),n};var Vh=!1;if("undefined"!=typeof window){var jh={get passive(){Vh=!0}};window.addEventListener("testPassive",null,jh),window.removeEventListener("testPassive",null,jh)}var Ih,Ah="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),zh=[],Hh=!1,Bh=-1,Fh=void 0,Zh=void 0,Wh=function(e){return zh.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},qh=function(e){var t=e||window.event;return!!Wh(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Gh=function(e,t){if(e){if(!zh.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};zh=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(zh),[n]),Ah?(e.ontouchstart=function(e){1===e.targetTouches.length&&(Bh=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Bh;!Wh(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?qh(e):e.stopPropagation())}(t,e)},Hh||(document.addEventListener("touchmove",qh,Vh?{passive:!1}:void 0),Hh=!0)):function(e){if(void 0===Zh){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Zh=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Fh&&(Fh=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},Uh=function(e){e?(zh=zh.filter((function(t){return t.targetElement!==e})),Ah?(e.ontouchstart=null,e.ontouchmove=null,Hh&&0===zh.length&&(document.removeEventListener("touchmove",qh,Vh?{passive:!1}:void 0),Hh=!1)):zh.length||(void 0!==Zh&&(document.body.style.paddingRight=Zh,Zh=void 0),void 0!==Fh&&(document.body.style.overflow=Fh,Fh=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},Xh=[],Yh="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ih||(Ih={}));var Kh,Jh=function(e){return Object.freeze(e)},Qh=function(e,t){this.inlineSize=e,this.blockSize=t,Jh(this)},ef=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Jh(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),tf=function(e){return e instanceof SVGElement&&"getBBox"in e},nf=function(e){if(tf(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},rf=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},of="undefined"!=typeof window?window:{},af=new WeakMap,lf=/auto|scroll/,sf=/^tb|vertical/,cf=/msie|trident/i.test(of.navigator&&of.navigator.userAgent),df=function(e){return parseFloat(e||"0")},uf=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Qh((n?t:e)||0,(n?e:t)||0)},pf=Jh({devicePixelContentBoxSize:uf(),borderBoxSize:uf(),contentBoxSize:uf(),contentRect:new ef(0,0,0,0)}),hf=function(e,t){if(void 0===t&&(t=!1),af.has(e)&&!t)return af.get(e);if(nf(e))return af.set(e,pf),pf;var n=getComputedStyle(e),r=tf(e)&&e.ownerSVGElement&&e.getBBox(),i=!cf&&"border-box"===n.boxSizing,o=sf.test(n.writingMode||""),a=!r&&lf.test(n.overflowY||""),l=!r&&lf.test(n.overflowX||""),s=r?0:df(n.paddingTop),c=r?0:df(n.paddingRight),d=r?0:df(n.paddingBottom),u=r?0:df(n.paddingLeft),p=r?0:df(n.borderTopWidth),h=r?0:df(n.borderRightWidth),f=r?0:df(n.borderBottomWidth),g=u+c,v=s+d,m=(r?0:df(n.borderLeftWidth))+h,x=p+f,b=l?e.offsetHeight-x-e.clientHeight:0,y=a?e.offsetWidth-m-e.clientWidth:0,w=i?g+m:0,C=i?v+x:0,$=r?r.width:df(n.width)-w-y,k=r?r.height:df(n.height)-C-b,S=$+g+y+m,E=k+v+b+x,O=Jh({devicePixelContentBoxSize:uf(Math.round($*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:uf(S,E,o),contentBoxSize:uf($,k,o),contentRect:new ef(u,s,$,k)});return af.set(e,O),O},ff=function(e,t,n){var r=hf(e,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ih.DEVICE_PIXEL_CONTENT_BOX:return a;case Ih.BORDER_BOX:return i;default:return o}},gf=function(e){var t=hf(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Jh([t.borderBoxSize]),this.contentBoxSize=Jh([t.contentBoxSize]),this.devicePixelContentBoxSize=Jh([t.devicePixelContentBoxSize])},vf=function(e){if(nf(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},mf=function(){var e=1/0,t=[];Xh.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new gf(t.target),i=vf(t.target);r.push(n),t.lastReportedSize=ff(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},xf=function(e){Xh.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(vf(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},bf=function(){var e=0;for(xf(e);Xh.some((function(e){return e.activeTargets.length>0}));)e=mf(),xf(e);return Xh.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Yh}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Yh),window.dispatchEvent(e)}(),e>0},yf=[],wf=function(e){if(!Kh){var t=0,n=document.createTextNode("");new MutationObserver((function(){return yf.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Kh=function(){n.textContent="".concat(t?t--:t++)}}yf.push(e),Kh()},Cf=0,$f={attributes:!0,characterData:!0,childList:!0,subtree:!0},kf=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sf=function(e){return void 0===e&&(e=0),Date.now()+e},Ef=!1,Of=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Ef){Ef=!0;var n,r=Sf(e);n=function(){var n=!1;try{n=bf()}finally{if(Ef=!1,e=r-Sf(),!Cf)return;n?t.run(1e3):e>0?t.run(e):t.start()}},wf((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,$f)};document.body?t():of.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),kf.forEach((function(t){return of.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),kf.forEach((function(t){return of.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),Lf=function(e){!Cf&&e>0&&Of.start(),!(Cf+=e)&&Of.stop()},Rf=function(){function e(e,t){this.target=e,this.observedBox=t||Ih.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=ff(this.target,this.observedBox,!0);return function(e){return!tf(e)&&!function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)&&"inline"===getComputedStyle(e).display}(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),Tf=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Pf=new WeakMap,_f=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Mf=function(){function e(){}return e.connect=function(e,t){var n=new Tf(e,t);Pf.set(e,n)},e.observe=function(e,t,n){var r=Pf.get(e),i=0===r.observationTargets.length;_f(r.observationTargets,t)<0&&(i&&Xh.push(r),r.observationTargets.push(new Rf(t,n&&n.box)),Lf(1),Of.schedule())},e.unobserve=function(e,t){var n=Pf.get(e),r=_f(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Xh.splice(Xh.indexOf(n),1),n.observationTargets.splice(r,1),Lf(-1))},e.disconnect=function(e){var t=this,n=Pf.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Df=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Mf.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rf(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rf(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.unobserve(this,e)},e.prototype.disconnect=function(){Mf.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function Nf(){return Nf=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},Nf.apply(this,arguments)}function Vf(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}var jf="undefined"!=typeof window?ee:J;function If(e,t,n){return t=(t=+t)==t?t:0,n=(n=+n)==n?n:0,(e=+e)==e&&(e=(e=e<=n?e:n)>=t?e:t),e}function Af(e){var t=Math.round(e);if(Number.isNaN(e))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return t}var zf={box:"border-box"};function Hf(e,t){var n=t.label,r=t.enabled,i=t.resizeSourceRef,o=Y(0),a=o[0],l=o[1];ae(n+": "+a);var s=re((function(e){l(e[0].borderBoxSize[0].blockSize),i.current="element"}),[i]);return jf((function(){if(e.current&&r){var t=new Df(s);return t.observe(e.current,zf),function(){t.disconnect()}}}),[e,s,r]),r?a:0}function Bf(e){return void 0===e&&(e=1e3),new Promise((function(t){return setTimeout(t,e)}))}var Ff={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},Zf={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},Wf=function(e,t,n){return void 0===n&&(n=e.context),new Ud(e,t,n)}({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:Nf({},Ff,Zf)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:Nf({},Ff,Zf)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:Nf({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[Yd({y:function(e,t){return t.payload.y},velocity:function(e,t){return t.payload.velocity},snapSource:function(e,t){var n=t.payload.source;return void 0===n?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(e,t){},onSnapCancel:function(e,t){},onResizeCancel:function(e,t){},onCloseCancel:function(e,t){},onOpenEnd:function(e,t){},onSnapEnd:function(e,t){},onRezizeEnd:function(e,t){}},services:{onSnapStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onSnapEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},renderVisuallyHidden:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},activate:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},deactivate:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},openSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},openImmediately:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},snapSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},resizeSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},closeSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}}},guards:{initiallyClosed:function(e){return"CLOSED"===e.initialState},initiallyOpen:function(e){return"OPEN"===e.initialState}}}),qf=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],Gf=["velocity"],Uf=["onRest","config"],Xf={tension:170,friction:26},Yf=Xf.tension,Kf=Xf.friction,Jf=U.forwardRef((function(e,t){var n=e.children,r=e.sibling,i=e.className,o=e.footer,a=e.header,l=e.open,s=e.initialState,c=e.lastSnapRef,d=e.initialFocusRef,u=e.onDismiss,p=e.maxHeight,h=e.defaultSnap,f=void 0===h?eg:h,g=e.snapPoints,v=void 0===g?tg:g,m=e.blocking,x=void 0===m||m,b=e.scrollLocking,y=void 0===b||b,w=e.style,C=e.onSpringStart,$=e.onSpringCancel,k=e.onSpringEnd,S=e.reserveScrollBarGap,E=void 0===S?x:S,O=e.expandOnContentDrag,L=void 0!==O&&O,R=Vf(e,qf),T=function(){var e=Y(!1),t=e[0],n=e[1],r=Y({}),i=r[0],o=r[1],a=re((function(e){return o((function(t){var n;return Nf({},t,((n={})[e]=!1,n))})),function(){o((function(t){var n;return Nf({},t,((n={})[e]=!0,n))}))}}),[]);return J((function(){var e=Object.values(i);0!==e.length&&e.every(Boolean)&&n(!0)}),[i]),{ready:t,registerReady:a}}(),P=T.ready,_=T.registerReady,M=K(!1),D=K(C),N=K($),V=K(k);J((function(){D.current=C,N.current=$,V.current=k}),[$,C,k]);var j,I,A=Iu((function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}})),z=A[0],H=A[1],B=K(null),F=K(null),Z=K(null),W=K(null),q=K(null),G=K(null),X=K(0),Q=K(),ee=K(!1),te=(j=ne((function(){return"undefined"!=typeof window?window.matchMedia("(prefers-reduced-motion: reduce)"):null}),[]),I=K(null==j?void 0:j.matches),ae(I.current?"reduce":"no-preference"),J((function(){var e=function(e){I.current=e.matches};return null==j||j.addListener(e),function(){return null==j?void 0:j.removeListener(e)}}),[j]),I),ie=function(e){var t=e.targetRef,n=e.enabled,r=e.reserveScrollBarGap,i=K({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return ae(n?"Enabled":"Disabled"),J((function(){if(!n)return i.current.deactivate(),void(i.current={activate:function(){},deactivate:function(){}});var e=t.current,o=!1;i.current={activate:function(){o||(o=!0,Gh(e,{allowTouchMove:function(e){return e.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:r}))},deactivate:function(){o&&(o=!1,Uh(e))}}}),[n,t,r]),i}({targetRef:F,enabled:P&&y,reserveScrollBarGap:E}),le=function(e){var t=e.targetRef,n=e.enabled,r=K({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return ae(n?"Enabled":"Disabled"),J((function(){if(!n)return r.current.deactivate(),void(r.current={activate:function(){},deactivate:function(){}});var e=t.current,i=!1,o=[],a=[];r.current={activate:function(){if(!i){i=!0;var t=e.parentNode;document.querySelectorAll("body > *").forEach((function(e){if(e!==t){var n=e.getAttribute("aria-hidden");null!==n&&"false"!==n||(o.push(n),a.push(e),e.setAttribute("aria-hidden","true"))}}))}},deactivate:function(){i&&(i=!1,a.forEach((function(e,t){var n=o[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)})),o=[],a=[])}}}),[t,n]),r}({targetRef:B,enabled:P&&x}),se=function(e){var t=e.targetRef,n=e.fallbackRef,r=e.initialFocusRef,i=e.enabled,o=K({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return ae(i?"Enabled":"Disabled"),J((function(){if(!i)return o.current.deactivate(),void(o.current={activate:function(){},deactivate:function(){}});var e=n.current,a=Nh(t.current,{onActivate:void 0,initialFocus:r?function(){return(null==r?void 0:r.current)||e}:void 0,fallbackFocus:e,escapeDeactivates:!1,clickOutsideDeactivates:!1}),l=!1;o.current={activate:function(){try{return l?Promise.resolve():(l=!0,Promise.resolve(a.activate()).then((function(){return Promise.resolve(new Promise((function(e){return setTimeout((function(){return e(void 0)}),0)}))).then((function(){}))})))}catch(e){return Promise.reject(e)}},deactivate:function(){l&&(l=!1,a.deactivate())}}}),[i,n,r,t]),o}({targetRef:B,fallbackRef:G,initialFocusRef:d||void 0,enabled:P&&x&&!1!==d}),ce=function(e){var t=e.getSnapPoints,n=e.heightRef,r=e.lastSnapRef,i=e.ready,o=function(e){var t=e.contentRef,n=e.controlledMaxHeight,r=e.footerEnabled,i=e.footerRef,o=e.headerEnabled,a=e.headerRef,l=e.registerReady,s=e.resizeSourceRef,c=ne((function(){return l("contentHeight")}),[l]),d=function(e,t,n){var r=ne((function(){return t("maxHeight")}),[t]),i=Y((function(){return Af(e)||"undefined"!=typeof window?window.innerHeight:0})),o=i[0],a=i[1],l=o>0,s=K(0);return ae(e?"controlled":"auto"),J((function(){l&&r()}),[l,r]),jf((function(){if(e)return a(Af(e)),void(n.current="maxheightprop");var t=function(){s.current||(s.current=requestAnimationFrame((function(){a(window.innerHeight),n.current="window",s.current=0})))};return window.addEventListener("resize",t),a(window.innerHeight),n.current="window",r(),function(){window.removeEventListener("resize",t),cancelAnimationFrame(s.current)}}),[e,r,n]),o}(n,l,s),u=Hf(a,{label:"headerHeight",enabled:o,resizeSourceRef:s}),p=Hf(t,{label:"contentHeight",enabled:!0,resizeSourceRef:s}),h=Hf(i,{label:"footerHeight",enabled:r,resizeSourceRef:s}),f=Math.min(d-u-h,p)+u+h;ae("minHeight: "+f);var g=p>0;return J((function(){g&&c()}),[g,c]),{maxHeight:d,minHeight:f,headerHeight:u,footerHeight:h}}({contentRef:e.contentRef,controlledMaxHeight:e.controlledMaxHeight,footerEnabled:e.footerEnabled,footerRef:e.footerRef,headerEnabled:e.headerEnabled,headerRef:e.headerRef,registerReady:e.registerReady,resizeSourceRef:e.resizeSourceRef}),a=o.maxHeight,l=o.minHeight,s=o.headerHeight,c=o.footerHeight,d=function(e,t){var n=[].concat(e).map(Af).reduce((function(e,n){return e.add(If(n,0,t)),e}),new Set),r=Array.from(n),i=Math.min.apply(Math,r);if(Number.isNaN(i))throw new TypeError("minSnap is NaN");var o=Math.max.apply(Math,r);if(Number.isNaN(o))throw new TypeError("maxSnap is NaN");return{snapPoints:r,minSnap:i,maxSnap:o}}(i?t({height:n.current,footerHeight:c,headerHeight:s,minHeight:l,maxHeight:a}):[0],a),u=d.snapPoints,p=d.minSnap,h=d.maxSnap;return ae("minSnap: "+p+", maxSnap:"+h),{minSnap:p,maxSnap:h,findSnap:function(e){var t=Af("function"==typeof e?e({footerHeight:c,headerHeight:s,height:n.current,minHeight:l,maxHeight:a,snapPoints:u,lastSnap:r.current}):e);return u.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),p)},maxHeight:a}}({contentRef:Z,controlledMaxHeight:p,footerEnabled:!!o,footerRef:q,getSnapPoints:v,headerEnabled:!1!==a,headerRef:W,heightRef:X,lastSnapRef:c,ready:P,registerReady:_,resizeSourceRef:Q}),de=ce.minSnap,ue=ce.maxSnap,pe=ce.maxHeight,he=ce.findSnap,fe=K(pe),ge=K(de),ve=K(ue),me=K(he),xe=K(0);jf((function(){fe.current=pe,ve.current=ue,ge.current=de,me.current=he,xe.current=he(f)}),[he,f,pe,ue,de]);var be=re((function(e){var t=e.onRest,n=e.config,r=(n=void 0===n?{}:n).velocity,i=void 0===r?1:r,o=Vf(n,Gf),a=Vf(e,Uf);return new Promise((function(e){return H(Nf({},a,{config:Nf({velocity:i},o,{mass:1,tension:Yf,friction:Math.max(Kf,Kf+(Kf-Kf*i))}),onRest:function(){var n=[].slice.call(arguments);e.apply(void 0,n),null==t||t.apply(void 0,n)}}))}))}),[H]),ye=cu(Wf,{devTools:!1,actions:{onOpenCancel:re((function(){return null==N.current?void 0:N.current({type:"OPEN"})}),[]),onSnapCancel:re((function(e){return null==N.current?void 0:N.current({type:"SNAP",source:e.snapSource})}),[]),onCloseCancel:re((function(){return null==N.current?void 0:N.current({type:"CLOSE"})}),[]),onResizeCancel:re((function(){return null==N.current?void 0:N.current({type:"RESIZE",source:Q.current})}),[]),onOpenEnd:re((function(){return null==V.current?void 0:V.current({type:"OPEN"})}),[]),onSnapEnd:re((function(e,t){return null==V.current?void 0:V.current({type:"SNAP",source:e.snapSource})}),[]),onResizeEnd:re((function(){return null==V.current?void 0:V.current({type:"RESIZE",source:Q.current})}),[])},context:{initialState:s},services:{onSnapStart:re((function(e,t){try{return Promise.resolve(null==D.current?void 0:D.current({type:"SNAP",source:t.payload.source||"custom"}))}catch(e){return Promise.reject(e)}}),[]),onOpenStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"RESIZE",source:Q.current}))}catch(e){return Promise.reject(e)}}),[]),onSnapEnd:re((function(e,t){try{return Promise.resolve(null==V.current?void 0:V.current({type:"SNAP",source:e.snapSource}))}catch(e){return Promise.reject(e)}}),[]),onOpenEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"RESIZE",source:Q.current}))}catch(e){return Promise.reject(e)}}),[]),renderVisuallyHidden:re((function(e,t){try{return Promise.resolve(be({y:xe.current,ready:0,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be]),activate:re((function(e,t){try{return M.current=!0,Promise.resolve(Promise.all([ie.current.activate(),se.current.activate(),le.current.activate()])).then((function(){}))}catch(e){return Promise.reject(e)}}),[le,se,ie]),deactivate:re((function(){try{return ie.current.deactivate(),se.current.deactivate(),le.current.deactivate(),M.current=!1,Promise.resolve()}catch(e){return Promise.reject(e)}}),[le,se,ie]),openImmediately:re((function(){try{return X.current=xe.current,Promise.resolve(be({y:xe.current,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be]),openSmoothly:re((function(){try{return Promise.resolve(be({y:0,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){return X.current=xe.current,Promise.resolve(be({y:xe.current,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:te.current})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[be,te]),snapSmoothly:re((function(e,t){try{var n=me.current(e.y);return X.current=n,c.current=n,Promise.resolve(be({y:n,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:te.current,config:{velocity:e.velocity}})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be,c,te]),resizeSmoothly:re((function(){try{var e=me.current(X.current);return X.current=e,c.current=e,Promise.resolve(be({y:e,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:"element"!==Q.current||te.current})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be,c,te]),closeSmoothly:re((function(e,t){try{return be({minSnap:X.current,immediate:!0}),X.current=0,Promise.resolve(be({y:0,maxHeight:fe.current,maxSnap:ve.current,immediate:te.current})).then((function(){return Promise.resolve(be({ready:0,immediate:!0})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[be,te])}}),we=ye[0],Ce=ye[1];J((function(){P&&Ce(l?"OPEN":"CLOSE")}),[l,Ce,P]),jf((function(){(pe||ue||de)&&Ce("RESIZE")}),[pe,ue,de,Ce]),J((function(){return function(){ie.current.deactivate(),se.current.deactivate(),le.current.deactivate()}}),[le,se,ie]),oe(t,(function(){return{snapTo:function(e,t){var n=void 0===t?{}:t,r=n.velocity,i=void 0===r?1:r,o=n.source,a=void 0===o?"custom":o;Ce("SNAP",{payload:{y:me.current(e),velocity:i,source:a}})},get height(){return X.current}}}),[Ce]),J((function(){var e=F.current,t=function(e){ee.current&&e.preventDefault()},n=function(t){e.scrollTop<0&&(requestAnimationFrame((function(){e.style.overflow="hidden",e.scrollTop=0,e.style.removeProperty("overflow")})),t.preventDefault())};return L&&(e.addEventListener("scroll",t),e.addEventListener("touchmove",t),e.addEventListener("touchstart",n)),function(){e.removeEventListener("scroll",t),e.removeEventListener("touchmove",t),e.removeEventListener("touchstart",n)}}),[L,F]);var $e=oh((function(e){var t=e.args,n=(t=void 0===t?[]:t)[0],r=(n=void 0===n?{}:n).closeOnTap,i=void 0!==r&&r,o=n.isContentDragging,a=void 0!==o&&o,l=e.cancel,s=e.direction[1],c=e.down,d=e.first,p=e.last,h=e.memo,f=void 0===h?z.y.getValue():h,g=e.tap,v=e.velocity,m=-1*e.movement[1];if(!M.current)return l(),f;if(u&&i&&g)return l(),setTimeout((function(){return u()}),0),f;if(g)return f;var x=f+m,b=m*v,y=Math.max(ge.current,Math.min(ve.current,x+2*b));if(!c&&u&&s>0&&x+b<ge.current/2)return l(),u(),f;var w=c?u||ge.current!==ve.current?yp(x,u?0:ge.current,ve.current,.55):x<ge.current?yp(x,ge.current,2*ve.current,.55):yp(x,ge.current/2,ve.current,.55):y;return L&&a?(w>=ve.current&&(w=ve.current),f===ve.current&&F.current.scrollTop>0&&(w=ve.current),ee.current=w<ve.current):ee.current=!1,d&&Ce("DRAG"),p?(Ce("SNAP",{payload:{y:w,velocity:v>.05?v:1,source:"dragging"}}),f):(H({y:w,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:!0,config:{velocity:v}}),f)}),{filterTaps:!0});if(Number.isNaN(ve.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(ge.current))throw new TypeError("minSnapRef is NaN!!");var ke=function(e){var t,n=e.spring,r=_u([n.y,n.maxHeight],(function(e,t){return Math.round(If(t-e,0,16))+"px"})),i=_u([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return If(e,t,n)+"px"})),o=_u([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return e<t?t-e+"px":e>n?n-e+"px":"0px"})),a=_u([n.y,n.maxSnap],(function(e,t){return e>=t?Math.ceil(e-t):0})),l=_u([n.y,n.minSnap],(function(e,t){if(!t)return 0;var n=Math.max(t/2-45,0);return If((e-n)*(1/(Math.min(t/2+45,t)-n)+0),0,1)})),s=_u([n.y,n.minSnap],(function(e,t){return t?If(e/t,0,1):0}));return(t={})["--rsbs-content-opacity"]=l,t["--rsbs-backdrop-opacity"]=s,t["--rsbs-antigap-scale-y"]=a,t["--rsbs-overlay-translate-y"]=o,t["--rsbs-overlay-rounded"]=r,t["--rsbs-overlay-h"]=i,t}({spring:z});return U.createElement(fp.div,Nf({},R,{"data-rsbs-root":!0,"data-rsbs-state":Qf.find(we.matches),"data-rsbs-is-blocking":x,"data-rsbs-is-dismissable":!!u,"data-rsbs-has-header":!!a,"data-rsbs-has-footer":!!o,className:i,ref:B,style:Nf({},ke,w,{opacity:z.ready})}),r,x&&U.createElement("div",Nf({key:"backdrop","data-rsbs-backdrop":!0},$e({closeOnTap:!0}))),U.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:G,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),u&&u())}},!1!==a&&U.createElement("div",Nf({key:"header","data-rsbs-header":!0,ref:W},$e()),a),U.createElement("div",Nf({key:"scroll","data-rsbs-scroll":!0,ref:F},L?$e({isContentDragging:!0}):{}),U.createElement("div",{"data-rsbs-content":!0,ref:Z},n)),o&&U.createElement("div",Nf({key:"footer",ref:q,"data-rsbs-footer":!0},$e()),o)))})),Qf=["closed","opening","open","closing","dragging","snapping","resizing"];function eg(e){var t=e.lastSnap;return null!=t?t:Math.min.apply(Math,e.snapPoints)}function tg(e){return e.minHeight}var ng=["onSpringStart","onSpringEnd","skipInitialTransition"],rg=X((function(e,t){var n=e.onSpringStart,r=e.onSpringEnd,i=e.skipInitialTransition,o=Vf(e,ng),a=Y(!1),l=a[0],s=a[1],c=K(),d=K(null),u=K(i&&o.open?"OPEN":"CLOSED");jf((function(){if(o.open)return cancelAnimationFrame(c.current),s(!0),function(){u.current="CLOSED"}}),[o.open]);var p=re((function(e){return Promise.resolve(null==n?void 0:n(e)).then((function(){"OPEN"===e.type&&cancelAnimationFrame(c.current)}))}),[n]),h=re((function(e){return Promise.resolve(null==r?void 0:r(e)).then((function(){"CLOSE"===e.type&&(c.current=requestAnimationFrame((function(){return s(!1)})))}))}),[r]);return l?U.createElement(Js,{"data-rsbs-portal":!0},U.createElement(Jf,Nf({},o,{lastSnapRef:d,ref:t,initialState:u.current,onSpringStart:p,onSpringEnd:h}))):null}));const ig=(e,t)=>se`
|
|
2466
|
+
function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eh(Object(n),!0).forEach((function(t){Lh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rh,Th=(Rh=[],{activateTrap:function(e){if(Rh.length>0){var t=Rh[Rh.length-1];t!==e&&t.pause()}var n=Rh.indexOf(e);-1===n||Rh.splice(n,1),Rh.push(e)},deactivateTrap:function(e){var t=Rh.indexOf(e);-1!==t&&Rh.splice(t,1),Rh.length>0&&Rh[Rh.length-1].unpause()}}),Ph=function(e){return setTimeout(e,0)},_h=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},Mh=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Dh=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Nh=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=Oh({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},l=function(e){return o.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},s=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},c=function(){var e=s("initialFocus");if(!1===e)return!1;if(void 0===e)if(l(r.activeElement)>=0)e=r.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map((function(e){var t,n,r=Ch(e,i.tabbableOptions),o=(t=e,(n=(n=i.tabbableOptions)||{}).getShadowRoot?ph([t],n.includeContainer,{filter:xh.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):uh(t,n.includeContainer,xh.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:o,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=o.findIndex((function(t){return t===e}));if(!(n<0))return t?o.slice(n+1).find((function(e){return $h(e,i.tabbableOptions)})):o.slice(0,n).reverse().find((function(e){return $h(e,i.tabbableOptions)}))}}})),o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},u=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},p=function(e){var t=s("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Dh(e);l(t)>=0||(Mh(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!Sh(t,i.tabbableOptions)}):Mh(i.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Dh(e),n=l(t)>=0;n||t instanceof Document?n&&(o.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),u(o.mostRecentlyFocusedNode||c()))},g=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==Mh(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Dh(e);d();var n=null;if(o.tabbableGroups.length>0){var r=l(t),a=r>=0?o.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=_h(o.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(a.container===t||Sh(t,i.tabbableOptions)&&!$h(t,i.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(c=r),c>=0){var p=0===c?o.tabbableGroups.length-1:c-1;n=o.tabbableGroups[p].lastTabbableNode}}else{var h=_h(o.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(a.container===t||Sh(t,i.tabbableOptions)&&!$h(t,i.tabbableOptions)&&!a.nextTabbableNode(t))&&(h=r),h>=0){var f=h===o.tabbableGroups.length-1?0:h+1;n=o.tabbableGroups[f].firstTabbableNode}}}else n=s("fallbackFocus");n&&(e.preventDefault(),u(n))}(e)},v=function(e){var t=Dh(e);l(t)>=0||Mh(i.clickOutsideDeactivates,e)||Mh(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},m=function(){if(o.active)return Th.activateTrap(n),o.delayInitialFocusTimer=i.delayInitialFocus?Ph((function(){u(c())})):u(c()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),n},x=function(){if(o.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",g,!0),n};return(n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),i=a(e,"checkCanFocusTrap");i||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,t&&t();var l=function(){i&&d(),m(),n&&n()};return i?(i(o.containers.concat()).then(l,l),this):(l(),this)},deactivate:function(e){if(!o.active)return this;var t=Oh({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,x(),o.active=!1,o.paused=!1,Th.deactivateTrap(n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),s=a(t,"checkCanReturnFocus"),c=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var d=function(){Ph((function(){c&&u(p(o.nodeFocusedBeforeActivation)),l&&l()}))};return c&&s?(s(p(o.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(){return o.paused||!o.active||(o.paused=!0,x()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,d(),m(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),o.active&&d(),this}}).updateContainerElements(e),n};var Vh=!1;if("undefined"!=typeof window){var jh={get passive(){Vh=!0}};window.addEventListener("testPassive",null,jh),window.removeEventListener("testPassive",null,jh)}var Ih,Ah="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),zh=[],Hh=!1,Bh=-1,Fh=void 0,Zh=void 0,Wh=function(e){return zh.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},qh=function(e){var t=e||window.event;return!!Wh(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},Gh=function(e,t){if(e){if(!zh.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};zh=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(zh),[n]),Ah?(e.ontouchstart=function(e){1===e.targetTouches.length&&(Bh=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-Bh;!Wh(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?qh(e):e.stopPropagation())}(t,e)},Hh||(document.addEventListener("touchmove",qh,Vh?{passive:!1}:void 0),Hh=!0)):function(e){if(void 0===Zh){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Zh=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Fh&&(Fh=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},Uh=function(e){e?(zh=zh.filter((function(t){return t.targetElement!==e})),Ah?(e.ontouchstart=null,e.ontouchmove=null,Hh&&0===zh.length&&(document.removeEventListener("touchmove",qh,Vh?{passive:!1}:void 0),Hh=!1)):zh.length||(void 0!==Zh&&(document.body.style.paddingRight=Zh,Zh=void 0),void 0!==Fh&&(document.body.style.overflow=Fh,Fh=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")},Xh=[],Yh="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ih||(Ih={}));var Kh,Jh=function(e){return Object.freeze(e)},Qh=function(e,t){this.inlineSize=e,this.blockSize=t,Jh(this)},ef=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Jh(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),tf=function(e){return e instanceof SVGElement&&"getBBox"in e},nf=function(e){if(tf(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,a=i.offsetHeight;return!(o||a||e.getClientRects().length)},rf=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},of="undefined"!=typeof window?window:{},af=new WeakMap,lf=/auto|scroll/,sf=/^tb|vertical/,cf=/msie|trident/i.test(of.navigator&&of.navigator.userAgent),df=function(e){return parseFloat(e||"0")},uf=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new Qh((n?t:e)||0,(n?e:t)||0)},pf=Jh({devicePixelContentBoxSize:uf(),borderBoxSize:uf(),contentBoxSize:uf(),contentRect:new ef(0,0,0,0)}),hf=function(e,t){if(void 0===t&&(t=!1),af.has(e)&&!t)return af.get(e);if(nf(e))return af.set(e,pf),pf;var n=getComputedStyle(e),r=tf(e)&&e.ownerSVGElement&&e.getBBox(),i=!cf&&"border-box"===n.boxSizing,o=sf.test(n.writingMode||""),a=!r&&lf.test(n.overflowY||""),l=!r&&lf.test(n.overflowX||""),s=r?0:df(n.paddingTop),c=r?0:df(n.paddingRight),d=r?0:df(n.paddingBottom),u=r?0:df(n.paddingLeft),p=r?0:df(n.borderTopWidth),h=r?0:df(n.borderRightWidth),f=r?0:df(n.borderBottomWidth),g=u+c,v=s+d,m=(r?0:df(n.borderLeftWidth))+h,x=p+f,b=l?e.offsetHeight-x-e.clientHeight:0,y=a?e.offsetWidth-m-e.clientWidth:0,w=i?g+m:0,C=i?v+x:0,$=r?r.width:df(n.width)-w-y,k=r?r.height:df(n.height)-C-b,S=$+g+y+m,E=k+v+b+x,O=Jh({devicePixelContentBoxSize:uf(Math.round($*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:uf(S,E,o),contentBoxSize:uf($,k,o),contentRect:new ef(u,s,$,k)});return af.set(e,O),O},ff=function(e,t,n){var r=hf(e,n),i=r.borderBoxSize,o=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ih.DEVICE_PIXEL_CONTENT_BOX:return a;case Ih.BORDER_BOX:return i;default:return o}},gf=function(e){var t=hf(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Jh([t.borderBoxSize]),this.contentBoxSize=Jh([t.contentBoxSize]),this.devicePixelContentBoxSize=Jh([t.devicePixelContentBoxSize])},vf=function(e){if(nf(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},mf=function(){var e=1/0,t=[];Xh.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new gf(t.target),i=vf(t.target);r.push(n),t.lastReportedSize=ff(t.target,t.observedBox),i<e&&(e=i)})),t.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=t;n<r.length;n++){(0,r[n])()}return e},xf=function(e){Xh.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(n){n.isActive()&&(vf(n.target)>e?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},bf=function(){var e=0;for(xf(e);Xh.some((function(e){return e.activeTargets.length>0}));)e=mf(),xf(e);return Xh.some((function(e){return e.skippedTargets.length>0}))&&function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Yh}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Yh),window.dispatchEvent(e)}(),e>0},yf=[],wf=function(e){if(!Kh){var t=0,n=document.createTextNode("");new MutationObserver((function(){return yf.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),Kh=function(){n.textContent="".concat(t?t--:t++)}}yf.push(e),Kh()},Cf=0,$f={attributes:!0,characterData:!0,childList:!0,subtree:!0},kf=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sf=function(e){return void 0===e&&(e=0),Date.now()+e},Ef=!1,Of=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Ef){Ef=!0;var n,r=Sf(e);n=function(){var n=!1;try{n=bf()}finally{if(Ef=!1,e=r-Sf(),!Cf)return;n?t.run(1e3):e>0?t.run(e):t.start()}},wf((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,$f)};document.body?t():of.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),kf.forEach((function(t){return of.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),kf.forEach((function(t){return of.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),Lf=function(e){!Cf&&e>0&&Of.start(),!(Cf+=e)&&Of.stop()},Rf=function(){function e(e,t){this.target=e,this.observedBox=t||Ih.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e=ff(this.target,this.observedBox,!0);return function(e){return!tf(e)&&!function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)&&"inline"===getComputedStyle(e).display}(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},e}(),Tf=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Pf=new WeakMap,_f=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Mf=function(){function e(){}return e.connect=function(e,t){var n=new Tf(e,t);Pf.set(e,n)},e.observe=function(e,t,n){var r=Pf.get(e),i=0===r.observationTargets.length;_f(r.observationTargets,t)<0&&(i&&Xh.push(r),r.observationTargets.push(new Rf(t,n&&n.box)),Lf(1),Of.schedule())},e.unobserve=function(e,t){var n=Pf.get(e),r=_f(n.observationTargets,t),i=1===n.observationTargets.length;r>=0&&(i&&Xh.splice(Xh.indexOf(n),1),n.observationTargets.splice(r,1),Lf(-1))},e.disconnect=function(e){var t=this,n=Pf.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Df=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Mf.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rf(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!rf(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Mf.unobserve(this,e)},e.prototype.disconnect=function(){Mf.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();function Nf(){return Nf=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},Nf.apply(this,arguments)}function Vf(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}var jf="undefined"!=typeof window?ee:J;function If(e,t,n){return t=(t=+t)==t?t:0,n=(n=+n)==n?n:0,(e=+e)==e&&(e=(e=e<=n?e:n)>=t?e:t),e}function Af(e){var t=Math.round(e);if(Number.isNaN(e))throw new TypeError("Found a NaN! Check your snapPoints / defaultSnap / snapTo ");return t}var zf={box:"border-box"};function Hf(e,t){var n=t.label,r=t.enabled,i=t.resizeSourceRef,o=Y(0),a=o[0],l=o[1];ae(n+": "+a);var s=re((function(e){l(e[0].borderBoxSize[0].blockSize),i.current="element"}),[i]);return jf((function(){if(e.current&&r){var t=new Df(s);return t.observe(e.current,zf),function(){t.disconnect()}}}),[e,s,r]),r?a:0}function Bf(e){return void 0===e&&(e=1e3),new Promise((function(t){return setTimeout(t,e)}))}var Ff={DRAG:{target:"#overlay.dragging",actions:"onOpenEnd"}},Zf={RESIZE:{target:"#overlay.resizing",actions:"onOpenEnd"}},Wf=function(e,t,n){return void 0===n&&(n=e.context),new Ud(e,t,n)}({id:"overlay",initial:"closed",context:{initialState:"CLOSED"},states:{closed:{on:{OPEN:"opening",CLOSE:void 0}},opening:{initial:"start",states:{start:{invoke:{src:"onOpenStart",onDone:"transition"}},transition:{always:[{target:"immediately",cond:"initiallyOpen"},{target:"smoothly",cond:"initiallyClosed"}]},immediately:{initial:"open",states:{open:{invoke:{src:"openImmediately",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"#overlay.opening.end"},on:Nf({},Ff,Zf)}}},smoothly:{initial:"visuallyHidden",states:{visuallyHidden:{invoke:{src:"renderVisuallyHidden",onDone:"activating"}},activating:{invoke:{src:"activate",onDone:"open"}},open:{invoke:{src:"openSmoothly",onDone:"#overlay.opening.end"},on:Nf({},Ff,Zf)}}},end:{invoke:{src:"onOpenEnd",onDone:"done"},on:{CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:Nf({},{CLOSE:{target:"#overlay.closing",actions:"onOpenCancel"}}),onDone:"open"},open:{on:{DRAG:"#overlay.dragging",SNAP:"snapping",RESIZE:"resizing"}},dragging:{on:{SNAP:"snapping"}},snapping:{initial:"start",states:{start:{invoke:{src:"onSnapStart",onDone:"snappingSmoothly"},entry:[Yd({y:function(e,t){return t.payload.y},velocity:function(e,t){return t.payload.velocity},snapSource:function(e,t){var n=t.payload.source;return void 0===n?"custom":n}})]},snappingSmoothly:{invoke:{src:"snapSmoothly",onDone:"end"}},end:{invoke:{src:"onSnapEnd",onDone:"done"},on:{RESIZE:"#overlay.resizing",SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{SNAP:{target:"snapping",actions:"onSnapEnd"},RESIZE:{target:"#overlay.resizing",actions:"onSnapCancel"},DRAG:{target:"#overlay.dragging",actions:"onSnapCancel"},CLOSE:{target:"#overlay.closing",actions:"onSnapCancel"}},onDone:"open"},resizing:{initial:"start",states:{start:{invoke:{src:"onResizeStart",onDone:"resizingSmoothly"}},resizingSmoothly:{invoke:{src:"resizeSmoothly",onDone:"end"}},end:{invoke:{src:"onResizeEnd",onDone:"done"},on:{SNAP:"#overlay.snapping",CLOSE:"#overlay.closing",DRAG:"#overlay.dragging"}},done:{type:"final"}},on:{RESIZE:{target:"resizing",actions:"onResizeEnd"},SNAP:{target:"snapping",actions:"onResizeCancel"},DRAG:{target:"#overlay.dragging",actions:"onResizeCancel"},CLOSE:{target:"#overlay.closing",actions:"onResizeCancel"}},onDone:"open"},closing:{initial:"start",states:{start:{invoke:{src:"onCloseStart",onDone:"deactivating"},on:{OPEN:{target:"#overlay.open",actions:"onCloseCancel"}}},deactivating:{invoke:{src:"deactivate",onDone:"closingSmoothly"}},closingSmoothly:{invoke:{src:"closeSmoothly",onDone:"end"}},end:{invoke:{src:"onCloseEnd",onDone:"done"},on:{OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}}},done:{type:"final"}},on:{CLOSE:void 0,OPEN:{target:"#overlay.opening",actions:"onCloseCancel"}},onDone:"closed"}},on:{CLOSE:"closing"}},{actions:{onOpenCancel:function(e,t){},onSnapCancel:function(e,t){},onResizeCancel:function(e,t){},onCloseCancel:function(e,t){},onOpenEnd:function(e,t){},onSnapEnd:function(e,t){},onRezizeEnd:function(e,t){}},services:{onSnapStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeStart:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onSnapEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onOpenEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onCloseEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},onResizeEnd:function(){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},renderVisuallyHidden:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},activate:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},deactivate:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},openSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},openImmediately:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},snapSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},resizeSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}},closeSmoothly:function(e,t){try{return Promise.resolve(Bf()).then((function(){}))}catch(e){return Promise.reject(e)}}},guards:{initiallyClosed:function(e){return"CLOSED"===e.initialState},initiallyOpen:function(e){return"OPEN"===e.initialState}}}),qf=["children","sibling","className","footer","header","open","initialState","lastSnapRef","initialFocusRef","onDismiss","maxHeight","defaultSnap","snapPoints","blocking","scrollLocking","style","onSpringStart","onSpringCancel","onSpringEnd","reserveScrollBarGap","expandOnContentDrag"],Gf=["velocity"],Uf=["onRest","config"],Xf={tension:170,friction:26},Yf=Xf.tension,Kf=Xf.friction,Jf=U.forwardRef((function(e,t){var n=e.children,r=e.sibling,i=e.className,o=e.footer,a=e.header,l=e.open,s=e.initialState,c=e.lastSnapRef,d=e.initialFocusRef,u=e.onDismiss,p=e.maxHeight,h=e.defaultSnap,f=void 0===h?eg:h,g=e.snapPoints,v=void 0===g?tg:g,m=e.blocking,x=void 0===m||m,b=e.scrollLocking,y=void 0===b||b,w=e.style,C=e.onSpringStart,$=e.onSpringCancel,k=e.onSpringEnd,S=e.reserveScrollBarGap,E=void 0===S?x:S,O=e.expandOnContentDrag,L=void 0!==O&&O,R=Vf(e,qf),T=function(){var e=Y(!1),t=e[0],n=e[1],r=Y({}),i=r[0],o=r[1],a=re((function(e){return o((function(t){var n;return Nf({},t,((n={})[e]=!1,n))})),function(){o((function(t){var n;return Nf({},t,((n={})[e]=!0,n))}))}}),[]);return J((function(){var e=Object.values(i);0!==e.length&&e.every(Boolean)&&n(!0)}),[i]),{ready:t,registerReady:a}}(),P=T.ready,_=T.registerReady,M=K(!1),D=K(C),N=K($),V=K(k);J((function(){D.current=C,N.current=$,V.current=k}),[$,C,k]);var j,I,A=Iu((function(){return{y:0,ready:0,maxHeight:0,minSnap:0,maxSnap:0}})),z=A[0],H=A[1],B=K(null),F=K(null),Z=K(null),W=K(null),q=K(null),G=K(null),X=K(0),Q=K(),ee=K(!1),te=(j=ne((function(){return"undefined"!=typeof window?window.matchMedia("(prefers-reduced-motion: reduce)"):null}),[]),I=K(null==j?void 0:j.matches),ae(I.current?"reduce":"no-preference"),J((function(){var e=function(e){I.current=e.matches};return null==j||j.addListener(e),function(){return null==j?void 0:j.removeListener(e)}}),[j]),I),ie=function(e){var t=e.targetRef,n=e.enabled,r=e.reserveScrollBarGap,i=K({activate:function(){throw new TypeError("Tried to activate scroll lock too early")},deactivate:function(){}});return ae(n?"Enabled":"Disabled"),J((function(){if(!n)return i.current.deactivate(),void(i.current={activate:function(){},deactivate:function(){}});var e=t.current,o=!1;i.current={activate:function(){o||(o=!0,Gh(e,{allowTouchMove:function(e){return e.closest("[data-body-scroll-lock-ignore]")},reserveScrollBarGap:r}))},deactivate:function(){o&&(o=!1,Uh(e))}}}),[n,t,r]),i}({targetRef:F,enabled:P&&y,reserveScrollBarGap:E}),le=function(e){var t=e.targetRef,n=e.enabled,r=K({activate:function(){throw new TypeError("Tried to activate aria hider too early")},deactivate:function(){}});return ae(n?"Enabled":"Disabled"),J((function(){if(!n)return r.current.deactivate(),void(r.current={activate:function(){},deactivate:function(){}});var e=t.current,i=!1,o=[],a=[];r.current={activate:function(){if(!i){i=!0;var t=e.parentNode;document.querySelectorAll("body > *").forEach((function(e){if(e!==t){var n=e.getAttribute("aria-hidden");null!==n&&"false"!==n||(o.push(n),a.push(e),e.setAttribute("aria-hidden","true"))}}))}},deactivate:function(){i&&(i=!1,a.forEach((function(e,t){var n=o[t];null===n?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n)})),o=[],a=[])}}}),[t,n]),r}({targetRef:B,enabled:P&&x}),se=function(e){var t=e.targetRef,n=e.fallbackRef,r=e.initialFocusRef,i=e.enabled,o=K({activate:function(){throw new TypeError("Tried to activate focus trap too early")},deactivate:function(){}});return ae(i?"Enabled":"Disabled"),J((function(){if(!i)return o.current.deactivate(),void(o.current={activate:function(){},deactivate:function(){}});var e=n.current,a=Nh(t.current,{onActivate:void 0,initialFocus:r?function(){return(null==r?void 0:r.current)||e}:void 0,fallbackFocus:e,escapeDeactivates:!1,clickOutsideDeactivates:!1}),l=!1;o.current={activate:function(){try{return l?Promise.resolve():(l=!0,Promise.resolve(a.activate()).then((function(){return Promise.resolve(new Promise((function(e){return setTimeout((function(){return e(void 0)}),0)}))).then((function(){}))})))}catch(e){return Promise.reject(e)}},deactivate:function(){l&&(l=!1,a.deactivate())}}}),[i,n,r,t]),o}({targetRef:B,fallbackRef:G,initialFocusRef:d||void 0,enabled:P&&x&&!1!==d}),ce=function(e){var t=e.getSnapPoints,n=e.heightRef,r=e.lastSnapRef,i=e.ready,o=function(e){var t=e.contentRef,n=e.controlledMaxHeight,r=e.footerEnabled,i=e.footerRef,o=e.headerEnabled,a=e.headerRef,l=e.registerReady,s=e.resizeSourceRef,c=ne((function(){return l("contentHeight")}),[l]),d=function(e,t,n){var r=ne((function(){return t("maxHeight")}),[t]),i=Y((function(){return Af(e)||"undefined"!=typeof window?window.innerHeight:0})),o=i[0],a=i[1],l=o>0,s=K(0);return ae(e?"controlled":"auto"),J((function(){l&&r()}),[l,r]),jf((function(){if(e)return a(Af(e)),void(n.current="maxheightprop");var t=function(){s.current||(s.current=requestAnimationFrame((function(){a(window.innerHeight),n.current="window",s.current=0})))};return window.addEventListener("resize",t),a(window.innerHeight),n.current="window",r(),function(){window.removeEventListener("resize",t),cancelAnimationFrame(s.current)}}),[e,r,n]),o}(n,l,s),u=Hf(a,{label:"headerHeight",enabled:o,resizeSourceRef:s}),p=Hf(t,{label:"contentHeight",enabled:!0,resizeSourceRef:s}),h=Hf(i,{label:"footerHeight",enabled:r,resizeSourceRef:s}),f=Math.min(d-u-h,p)+u+h;ae("minHeight: "+f);var g=p>0;return J((function(){g&&c()}),[g,c]),{maxHeight:d,minHeight:f,headerHeight:u,footerHeight:h}}({contentRef:e.contentRef,controlledMaxHeight:e.controlledMaxHeight,footerEnabled:e.footerEnabled,footerRef:e.footerRef,headerEnabled:e.headerEnabled,headerRef:e.headerRef,registerReady:e.registerReady,resizeSourceRef:e.resizeSourceRef}),a=o.maxHeight,l=o.minHeight,s=o.headerHeight,c=o.footerHeight,d=function(e,t){var n=[].concat(e).map(Af).reduce((function(e,n){return e.add(If(n,0,t)),e}),new Set),r=Array.from(n),i=Math.min.apply(Math,r);if(Number.isNaN(i))throw new TypeError("minSnap is NaN");var o=Math.max.apply(Math,r);if(Number.isNaN(o))throw new TypeError("maxSnap is NaN");return{snapPoints:r,minSnap:i,maxSnap:o}}(i?t({height:n.current,footerHeight:c,headerHeight:s,minHeight:l,maxHeight:a}):[0],a),u=d.snapPoints,p=d.minSnap,h=d.maxSnap;return ae("minSnap: "+p+", maxSnap:"+h),{minSnap:p,maxSnap:h,findSnap:function(e){var t=Af("function"==typeof e?e({footerHeight:c,headerHeight:s,height:n.current,minHeight:l,maxHeight:a,snapPoints:u,lastSnap:r.current}):e);return u.reduce((function(e,n){return Math.abs(n-t)<Math.abs(e-t)?n:e}),p)},maxHeight:a}}({contentRef:Z,controlledMaxHeight:p,footerEnabled:!!o,footerRef:q,getSnapPoints:v,headerEnabled:!1!==a,headerRef:W,heightRef:X,lastSnapRef:c,ready:P,registerReady:_,resizeSourceRef:Q}),de=ce.minSnap,ue=ce.maxSnap,pe=ce.maxHeight,he=ce.findSnap,fe=K(pe),ge=K(de),ve=K(ue),me=K(he),xe=K(0);jf((function(){fe.current=pe,ve.current=ue,ge.current=de,me.current=he,xe.current=he(f)}),[he,f,pe,ue,de]);var be=re((function(e){var t=e.onRest,n=e.config,r=(n=void 0===n?{}:n).velocity,i=void 0===r?1:r,o=Vf(n,Gf),a=Vf(e,Uf);return new Promise((function(e){return H(Nf({},a,{config:Nf({velocity:i},o,{mass:1,tension:Yf,friction:Math.max(Kf,Kf+(Kf-Kf*i))}),onRest:function(){var n=[].slice.call(arguments);e.apply(void 0,n),null==t||t.apply(void 0,n)}}))}))}),[H]),ye=cu(Wf,{devTools:!1,actions:{onOpenCancel:re((function(){return null==N.current?void 0:N.current({type:"OPEN"})}),[]),onSnapCancel:re((function(e){return null==N.current?void 0:N.current({type:"SNAP",source:e.snapSource})}),[]),onCloseCancel:re((function(){return null==N.current?void 0:N.current({type:"CLOSE"})}),[]),onResizeCancel:re((function(){return null==N.current?void 0:N.current({type:"RESIZE",source:Q.current})}),[]),onOpenEnd:re((function(){return null==V.current?void 0:V.current({type:"OPEN"})}),[]),onSnapEnd:re((function(e,t){return null==V.current?void 0:V.current({type:"SNAP",source:e.snapSource})}),[]),onResizeEnd:re((function(){return null==V.current?void 0:V.current({type:"RESIZE",source:Q.current})}),[])},context:{initialState:s},services:{onSnapStart:re((function(e,t){try{return Promise.resolve(null==D.current?void 0:D.current({type:"SNAP",source:t.payload.source||"custom"}))}catch(e){return Promise.reject(e)}}),[]),onOpenStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeStart:re((function(){try{return Promise.resolve(null==D.current?void 0:D.current({type:"RESIZE",source:Q.current}))}catch(e){return Promise.reject(e)}}),[]),onSnapEnd:re((function(e,t){try{return Promise.resolve(null==V.current?void 0:V.current({type:"SNAP",source:e.snapSource}))}catch(e){return Promise.reject(e)}}),[]),onOpenEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"OPEN"}))}catch(e){return Promise.reject(e)}}),[]),onCloseEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"CLOSE"}))}catch(e){return Promise.reject(e)}}),[]),onResizeEnd:re((function(){try{return Promise.resolve(null==V.current?void 0:V.current({type:"RESIZE",source:Q.current}))}catch(e){return Promise.reject(e)}}),[]),renderVisuallyHidden:re((function(e,t){try{return Promise.resolve(be({y:xe.current,ready:0,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be]),activate:re((function(e,t){try{return M.current=!0,Promise.resolve(Promise.all([ie.current.activate(),se.current.activate(),le.current.activate()])).then((function(){}))}catch(e){return Promise.reject(e)}}),[le,se,ie]),deactivate:re((function(){try{return ie.current.deactivate(),se.current.deactivate(),le.current.deactivate(),M.current=!1,Promise.resolve()}catch(e){return Promise.reject(e)}}),[le,se,ie]),openImmediately:re((function(){try{return X.current=xe.current,Promise.resolve(be({y:xe.current,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be]),openSmoothly:re((function(){try{return Promise.resolve(be({y:0,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:!0})).then((function(){return X.current=xe.current,Promise.resolve(be({y:xe.current,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:xe.current,immediate:te.current})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[be,te]),snapSmoothly:re((function(e,t){try{var n=me.current(e.y);return X.current=n,c.current=n,Promise.resolve(be({y:n,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:te.current,config:{velocity:e.velocity}})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be,c,te]),resizeSmoothly:re((function(){try{var e=me.current(X.current);return X.current=e,c.current=e,Promise.resolve(be({y:e,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:"element"!==Q.current||te.current})).then((function(){}))}catch(e){return Promise.reject(e)}}),[be,c,te]),closeSmoothly:re((function(e,t){try{return be({minSnap:X.current,immediate:!0}),X.current=0,Promise.resolve(be({y:0,maxHeight:fe.current,maxSnap:ve.current,immediate:te.current})).then((function(){return Promise.resolve(be({ready:0,immediate:!0})).then((function(){}))}))}catch(e){return Promise.reject(e)}}),[be,te])}}),we=ye[0],Ce=ye[1];J((function(){P&&Ce(l?"OPEN":"CLOSE")}),[l,Ce,P]),jf((function(){(pe||ue||de)&&Ce("RESIZE")}),[pe,ue,de,Ce]),J((function(){return function(){ie.current.deactivate(),se.current.deactivate(),le.current.deactivate()}}),[le,se,ie]),oe(t,(function(){return{snapTo:function(e,t){var n=void 0===t?{}:t,r=n.velocity,i=void 0===r?1:r,o=n.source,a=void 0===o?"custom":o;Ce("SNAP",{payload:{y:me.current(e),velocity:i,source:a}})},get height(){return X.current}}}),[Ce]),J((function(){var e=F.current,t=function(e){ee.current&&e.preventDefault()},n=function(t){e.scrollTop<0&&(requestAnimationFrame((function(){e.style.overflow="hidden",e.scrollTop=0,e.style.removeProperty("overflow")})),t.preventDefault())};return L&&(e.addEventListener("scroll",t),e.addEventListener("touchmove",t),e.addEventListener("touchstart",n)),function(){e.removeEventListener("scroll",t),e.removeEventListener("touchmove",t),e.removeEventListener("touchstart",n)}}),[L,F]);var $e=oh((function(e){var t=e.args,n=(t=void 0===t?[]:t)[0],r=(n=void 0===n?{}:n).closeOnTap,i=void 0!==r&&r,o=n.isContentDragging,a=void 0!==o&&o,l=e.cancel,s=e.direction[1],c=e.down,d=e.first,p=e.last,h=e.memo,f=void 0===h?z.y.getValue():h,g=e.tap,v=e.velocity,m=-1*e.movement[1];if(!M.current)return l(),f;if(u&&i&&g)return l(),setTimeout((function(){return u()}),0),f;if(g)return f;var x=f+m,b=m*v,y=Math.max(ge.current,Math.min(ve.current,x+2*b));if(!c&&u&&s>0&&x+b<ge.current/2)return l(),u(),f;var w=c?u||ge.current!==ve.current?yp(x,u?0:ge.current,ve.current,.55):x<ge.current?yp(x,ge.current,2*ve.current,.55):yp(x,ge.current/2,ve.current,.55):y;return L&&a?(w>=ve.current&&(w=ve.current),f===ve.current&&F.current.scrollTop>0&&(w=ve.current),ee.current=w<ve.current):ee.current=!1,d&&Ce("DRAG"),p?(Ce("SNAP",{payload:{y:w,velocity:v>.05?v:1,source:"dragging"}}),f):(H({y:w,ready:1,maxHeight:fe.current,maxSnap:ve.current,minSnap:ge.current,immediate:!0,config:{velocity:v}}),f)}),{filterTaps:!0});if(Number.isNaN(ve.current))throw new TypeError("maxSnapRef is NaN!!");if(Number.isNaN(ge.current))throw new TypeError("minSnapRef is NaN!!");var ke=function(e){var t,n=e.spring,r=_u([n.y,n.maxHeight],(function(e,t){return Math.round(If(t-e,0,16))+"px"})),i=_u([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return If(e,t,n)+"px"})),o=_u([n.y,n.minSnap,n.maxSnap],(function(e,t,n){return e<t?t-e+"px":e>n?n-e+"px":"0px"})),a=_u([n.y,n.maxSnap],(function(e,t){return e>=t?Math.ceil(e-t):0})),l=_u([n.y,n.minSnap],(function(e,t){if(!t)return 0;var n=Math.max(t/2-45,0);return If((e-n)*(1/(Math.min(t/2+45,t)-n)+0),0,1)})),s=_u([n.y,n.minSnap],(function(e,t){return t?If(e/t,0,1):0}));return(t={})["--rsbs-content-opacity"]=l,t["--rsbs-backdrop-opacity"]=s,t["--rsbs-antigap-scale-y"]=a,t["--rsbs-overlay-translate-y"]=o,t["--rsbs-overlay-rounded"]=r,t["--rsbs-overlay-h"]=i,t}({spring:z});return U.createElement(fp.div,Nf({},R,{"data-rsbs-root":!0,"data-rsbs-state":Qf.find(we.matches),"data-rsbs-is-blocking":x,"data-rsbs-is-dismissable":!!u,"data-rsbs-has-header":!!a,"data-rsbs-has-footer":!!o,className:i,ref:B,style:Nf({},ke,w,{opacity:z.ready})}),r,x&&U.createElement("div",Nf({key:"backdrop","data-rsbs-backdrop":!0},$e({closeOnTap:!0}))),U.createElement("div",{key:"overlay","aria-modal":"true",role:"dialog","data-rsbs-overlay":!0,tabIndex:-1,ref:G,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),u&&u())}},!1!==a&&U.createElement("div",Nf({key:"header","data-rsbs-header":!0,ref:W},$e()),a),U.createElement("div",Nf({key:"scroll","data-rsbs-scroll":!0,ref:F},L?$e({isContentDragging:!0}):{}),U.createElement("div",{"data-rsbs-content":!0,ref:Z},n)),o&&U.createElement("div",Nf({key:"footer",ref:q,"data-rsbs-footer":!0},$e()),o)))})),Qf=["closed","opening","open","closing","dragging","snapping","resizing"];function eg(e){var t=e.lastSnap;return null!=t?t:Math.min.apply(Math,e.snapPoints)}function tg(e){return e.minHeight}var ng=["onSpringStart","onSpringEnd","skipInitialTransition"],rg=X((function(e,t){var n=e.onSpringStart,r=e.onSpringEnd,i=e.skipInitialTransition,o=Vf(e,ng),a=Y(!1),l=a[0],s=a[1],c=K(),d=K(null),u=K(i&&o.open?"OPEN":"CLOSED");jf((function(){if(o.open)return cancelAnimationFrame(c.current),s(!0),function(){u.current="CLOSED"}}),[o.open]);var p=re((function(e){return Promise.resolve(null==n?void 0:n(e)).then((function(){"OPEN"===e.type&&cancelAnimationFrame(c.current)}))}),[n]),h=re((function(e){return Promise.resolve(null==r?void 0:r(e)).then((function(){"CLOSE"===e.type&&(c.current=requestAnimationFrame((function(){return s(!1)})))}))}),[r]);return l?U.createElement(Js,{"data-rsbs-portal":!0},U.createElement(Jf,Nf({},o,{lastSnapRef:d,ref:t,initialState:u.current,onSpringStart:p,onSpringEnd:h}))):null}));const ig=se`
|
|
2467
|
+
width: 40px;
|
|
2468
|
+
height: 6px;
|
|
2469
|
+
border-color: ${be("neutral",300)};
|
|
2470
|
+
border-radius: 4px;
|
|
2471
|
+
margin: 8px auto;
|
|
2472
|
+
cursor: grab;
|
|
2473
|
+
border: 2px;
|
|
2474
|
+
&:focus {
|
|
2475
|
+
outline-color: ${be("primary",700)};
|
|
2476
|
+
}
|
|
2477
|
+
`,og=(e,t)=>se`
|
|
2467
2478
|
[data-rsbs-overlay] {
|
|
2468
2479
|
border-top-left-radius: 16px;
|
|
2469
2480
|
border-top-right-radius: 16px;
|
|
@@ -2492,7 +2503,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2492
2503
|
padding: 0px;
|
|
2493
2504
|
min-height: 64px;
|
|
2494
2505
|
}
|
|
2495
|
-
`;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("[data-rsbs-overlay] {\n border-top-left-radius: 16px;\n border-top-left-radius: var(--rsbs-overlay-rounded,16px);\n border-top-right-radius: 16px;\n border-top-right-radius: var(--rsbs-overlay-rounded,16px);\n display: flex;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n flex-direction: column;\n height: 0px;\n height: var(--rsbs-overlay-h,0px);\n transform: translate3d(0, 0px, 0);\n transform: translate3d(0, var(--rsbs-overlay-translate-y,0px), 0);\n will-change: height;\n}\n\n[data-rsbs-overlay]:focus {\n outline: none;\n}\n\n[data-rsbs-is-blocking='false'] [data-rsbs-overlay] {\n box-shadow: 0 -5px 60px 0 rgba(38, 89, 115, 0.11),\n 0 -1px 0 rgba(38, 89, 115, 0.05);\n}\n\n[data-rsbs-overlay],\n[data-rsbs-root]:after {\n max-width: auto;\n max-width: var(--rsbs-max-w,auto);\n margin-left: env(safe-area-inset-left);\n margin-left: var(--rsbs-ml,env(safe-area-inset-left));\n margin-right: env(safe-area-inset-right);\n margin-right: var(--rsbs-mr,env(safe-area-inset-right));\n}\n\n[data-rsbs-overlay],\n[data-rsbs-backdrop],\n[data-rsbs-root]:after {\n z-index: 3;\n -ms-scroll-chaining: none;\n overscroll-behavior: none;\n touch-action: none;\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n\n[data-rsbs-backdrop] {\n top: -60px;\n bottom: -60px;\n background-color: rgba(0, 0, 0, 0.6);\n background-color: var(--rsbs-backdrop-bg,rgba(0, 0, 0, 0.6));\n will-change: opacity;\n cursor: pointer;\n opacity: 1;\n}\n\n[data-rsbs-is-dismissable='false'] [data-rsbs-backdrop] {\n cursor: ns-resize;\n}\n\n[data-rsbs-root]:after {\n content: '';\n pointer-events: none;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n height: 1px;\n transform-origin: bottom;\n transform: scale3d(1, 0, 1);\n transform: scale3d(1, var(--rsbs-antigap-scale-y,0), 1);\n will-change: transform;\n}\n\n[data-rsbs-footer],\n[data-rsbs-header] {\n flex-shrink: 0;\n cursor: ns-resize;\n padding: 16px;\n}\n\n[data-rsbs-header] {\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(1 * 0.125));\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125));\n z-index: 1;\n padding-top: calc(20px + env(safe-area-inset-top));\n padding-bottom: 8px;\n}\n\n[data-rsbs-header]:before {\n position: absolute;\n content: '';\n display: block;\n width: 36px;\n height: 4px;\n top: calc(8px + env(safe-area-inset-top));\n left: 50%;\n transform: translateX(-50%);\n border-radius: 2px;\n background-color: hsla(0, 0%, 0%, 0.14);\n background-color: var(--rsbs-handle-bg,hsla(0, 0%, 0%, 0.14));\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {\n [data-rsbs-header]:before {\n transform: translateX(-50%) scaleY(0.75);\n }\n}\n\n[data-rsbs-has-header='false'] [data-rsbs-header] {\n box-shadow: none;\n padding-top: calc(12px + env(safe-area-inset-top));\n}\n\n[data-rsbs-scroll] {\n flex-shrink: 1;\n flex-grow: 1;\n -webkit-tap-highlight-color: revert;\n -webkit-touch-callout: revert;\n -webkit-user-select: auto;\n -ms-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n overflow: auto;\n -ms-scroll-chaining: none;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n\n[data-rsbs-scroll]:focus {\n outline: none;\n}\n\n[data-rsbs-has-footer='false'] [data-rsbs-content] {\n padding-bottom: env(safe-area-inset-bottom);\n}\n\n[data-rsbs-content] {\n /* The overflow hidden is to ensure any margin on child nodes are included when the resize observer is measuring the height */\n overflow: hidden;\n}\n\n[data-rsbs-footer] {\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(1 * 0.125)),\n 0 2px 0 #fff;\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125)),\n 0 2px 0 var(--rsbs-bg,#fff);\n overflow: hidden;\n z-index: 1;\n padding-bottom: calc(16px + env(safe-area-inset-bottom));\n}\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-footer] > * {\n opacity: 1;\n opacity: var(--rsbs-content-opacity,1);\n }\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-backdrop] {\n opacity: 1;\n opacity: var(--rsbs-backdrop-opacity,1);\n }\n\n[data-rsbs-state='closed'],\n[data-rsbs-state='closing'] {\n /* Allows interactions on the rest of the page before the close transition is finished */\n pointer-events: none;\n}\n");const
|
|
2506
|
+
`;!function(e,t){void 0===t&&(t={});var n=t.insertAt;if("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("[data-rsbs-overlay] {\n border-top-left-radius: 16px;\n border-top-left-radius: var(--rsbs-overlay-rounded,16px);\n border-top-right-radius: 16px;\n border-top-right-radius: var(--rsbs-overlay-rounded,16px);\n display: flex;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n flex-direction: column;\n height: 0px;\n height: var(--rsbs-overlay-h,0px);\n transform: translate3d(0, 0px, 0);\n transform: translate3d(0, var(--rsbs-overlay-translate-y,0px), 0);\n will-change: height;\n}\n\n[data-rsbs-overlay]:focus {\n outline: none;\n}\n\n[data-rsbs-is-blocking='false'] [data-rsbs-overlay] {\n box-shadow: 0 -5px 60px 0 rgba(38, 89, 115, 0.11),\n 0 -1px 0 rgba(38, 89, 115, 0.05);\n}\n\n[data-rsbs-overlay],\n[data-rsbs-root]:after {\n max-width: auto;\n max-width: var(--rsbs-max-w,auto);\n margin-left: env(safe-area-inset-left);\n margin-left: var(--rsbs-ml,env(safe-area-inset-left));\n margin-right: env(safe-area-inset-right);\n margin-right: var(--rsbs-mr,env(safe-area-inset-right));\n}\n\n[data-rsbs-overlay],\n[data-rsbs-backdrop],\n[data-rsbs-root]:after {\n z-index: 3;\n -ms-scroll-chaining: none;\n overscroll-behavior: none;\n touch-action: none;\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n\n[data-rsbs-backdrop] {\n top: -60px;\n bottom: -60px;\n background-color: rgba(0, 0, 0, 0.6);\n background-color: var(--rsbs-backdrop-bg,rgba(0, 0, 0, 0.6));\n will-change: opacity;\n cursor: pointer;\n opacity: 1;\n}\n\n[data-rsbs-is-dismissable='false'] [data-rsbs-backdrop] {\n cursor: ns-resize;\n}\n\n[data-rsbs-root]:after {\n content: '';\n pointer-events: none;\n background: #fff;\n background: var(--rsbs-bg,#fff);\n height: 1px;\n transform-origin: bottom;\n transform: scale3d(1, 0, 1);\n transform: scale3d(1, var(--rsbs-antigap-scale-y,0), 1);\n will-change: transform;\n}\n\n[data-rsbs-footer],\n[data-rsbs-header] {\n flex-shrink: 0;\n cursor: ns-resize;\n padding: 16px;\n}\n\n[data-rsbs-header] {\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(1 * 0.125));\n box-shadow: 0 1px 0\n rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125));\n z-index: 1;\n padding-top: calc(20px + env(safe-area-inset-top));\n padding-bottom: 8px;\n}\n\n[data-rsbs-header]:before {\n position: absolute;\n content: '';\n display: block;\n width: 36px;\n height: 4px;\n top: calc(8px + env(safe-area-inset-top));\n left: 50%;\n transform: translateX(-50%);\n border-radius: 2px;\n background-color: hsla(0, 0%, 0%, 0.14);\n background-color: var(--rsbs-handle-bg,hsla(0, 0%, 0%, 0.14));\n}\n\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {\n [data-rsbs-header]:before {\n transform: translateX(-50%) scaleY(0.75);\n }\n}\n\n[data-rsbs-has-header='false'] [data-rsbs-header] {\n box-shadow: none;\n padding-top: calc(12px + env(safe-area-inset-top));\n}\n\n[data-rsbs-scroll] {\n flex-shrink: 1;\n flex-grow: 1;\n -webkit-tap-highlight-color: revert;\n -webkit-touch-callout: revert;\n -webkit-user-select: auto;\n -ms-user-select: auto;\n -moz-user-select: auto;\n user-select: auto;\n overflow: auto;\n -ms-scroll-chaining: none;\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n}\n\n[data-rsbs-scroll]:focus {\n outline: none;\n}\n\n[data-rsbs-has-footer='false'] [data-rsbs-content] {\n padding-bottom: env(safe-area-inset-bottom);\n}\n\n[data-rsbs-content] {\n /* The overflow hidden is to ensure any margin on child nodes are included when the resize observer is measuring the height */\n overflow: hidden;\n}\n\n[data-rsbs-footer] {\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(1 * 0.125)),\n 0 2px 0 #fff;\n box-shadow: 0 -1px 0 rgba(46, 59, 66, calc(var(--rsbs-content-opacity,1) * 0.125)),\n 0 2px 0 var(--rsbs-bg,#fff);\n overflow: hidden;\n z-index: 1;\n padding-bottom: calc(16px + env(safe-area-inset-bottom));\n}\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='true'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-header] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-scroll] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-footer] > *, [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-footer] > * {\n opacity: 1;\n opacity: var(--rsbs-content-opacity,1);\n }\n\n[data-rsbs-is-dismissable='true'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='opening'] [data-rsbs-backdrop], [data-rsbs-is-dismissable='false'][data-rsbs-state='closing'] [data-rsbs-backdrop] {\n opacity: 1;\n opacity: var(--rsbs-backdrop-opacity,1);\n }\n\n[data-rsbs-state='closed'],\n[data-rsbs-state='closing'] {\n /* Allows interactions on the rest of the page before the close transition is finished */\n pointer-events: none;\n}\n");const ag=({header:e,content:t,footer:n,open:r=!1,onClose:i,minimizedHeight:o,midHeight:a=200,maxFullHeight:l,defaultSnap:s="minimized",className:c,blocking:d,zIndex:u=1e3})=>{const p=K(null),h=U.useRef([]),[f,g]=U.useState(null),v=window.innerWidth>768,m=h.current;let x="Expand sheet";if(null!=f){const e=m.indexOf(f);e>0&&e<m.length-1?x="Make full screen":e===m.length-1&&(x="Expand sheet")}return W(rg,{ref:p,css:og(!!e,u),className:c,open:r,onDismiss:i,header:Z("div",{children:[W("div",{tabIndex:0,role:"button","aria-label":x,"aria-expanded":r,css:ig,onKeyDown:e=>{if("Enter"!==e.key&&" "!==e.key)return;e.preventDefault();const t=m[m.length-1];if(v)return void p.current?.snapTo?.((()=>t));const n=f??m[0];let r=m.findIndex((e=>e>n));-1===r&&(r=m.length-1);const i=m[r];p.current?.snapTo?.((()=>i))}}),e]}),footer:n,snapPoints:({headerHeight:e,maxHeight:t,footerHeight:r})=>{const i=[20,o||e,a+(n?r:0),l||t-t/6];return h.current=i,i},onSpringEnd:()=>{const e=p.current?.height;e&&g(e)},defaultSnap:({headerHeight:e,maxHeight:t,footerHeight:r})=>{let i=20;return"minimized"===s?i=o||e:"mid"===s?i=a+(n?r:0):"full"===s&&(i=l||t-t/6),i},blocking:d,children:r?t:null})},lg=se`
|
|
2496
2507
|
a,
|
|
2497
2508
|
p {
|
|
2498
2509
|
font-size: 16px;
|
|
@@ -2524,19 +2535,19 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2524
2535
|
a:hover {
|
|
2525
2536
|
text-decoration: underline;
|
|
2526
2537
|
}
|
|
2527
|
-
`,
|
|
2538
|
+
`,sg=se`
|
|
2528
2539
|
svg {
|
|
2529
2540
|
height: 12px;
|
|
2530
2541
|
width: 12px;
|
|
2531
2542
|
color: ${be("neutral",600)};
|
|
2532
2543
|
}
|
|
2533
|
-
`,
|
|
2544
|
+
`,cg=se`
|
|
2534
2545
|
cursor: pointer;
|
|
2535
2546
|
color: ${be("neutral",600)};
|
|
2536
2547
|
display: flex;
|
|
2537
2548
|
justify-content: center;
|
|
2538
2549
|
align-items: center;
|
|
2539
|
-
`,
|
|
2550
|
+
`,dg=({links:e,separator:t,maxItems:n=99,linkRouter:r})=>{const[i,o]=Y(e.length>n);J((()=>{o(e.length>n)}),[e.length]);const a=r;return W(D.Root,{children:W(D.List,{gap:"16px",children:i?Z(q,{children:[W(D.Item,{css:lg,children:Z(a,{to:e[0].link,href:e[0].link,children:[e[0].icon,e[0].label]})}),W(D.Separator,{css:sg,children:t||W(Pe,{rotate:"270"})}),W("li",{className:"chakra-breadcrumb__item",children:W("button",{css:cg,type:"button",onClick:()=>o(!1),children:"..."})}),W(D.Separator,{css:sg,children:t||W(Pe,{rotate:"270"})}),W(D.Item,{css:lg,children:Z("p",{"aria-current":"page","aria-label":e[e.length-1].label,children:[e[e.length-1].icon,e[e.length-1].label]})})]}):e.map(((n,r)=>n?.label?Z(le,{children:[W(D.Item,{css:lg,children:r<e.length-1?Z(a,{to:n.link,href:n.link,children:[n.icon,n.label]}):Z("p",{"aria-current":"page","aria-label":n.label,children:[n.label&&n.icon?n.icon:"",n.label]})}),r<e.length-1?W(D.Separator,{css:sg,children:t||W(Pe,{rotate:"270"})}):null]},n.label):null))})})},ug=(e,t)=>se`
|
|
2540
2551
|
min-height: 56px;
|
|
2541
2552
|
width: 100vw;
|
|
2542
2553
|
position: ${e?"sticky":"absolute"};
|
|
@@ -2546,7 +2557,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2546
2557
|
background-color: ${be("neutral",t?200:100)};
|
|
2547
2558
|
border-top: 1px solid ${be("neutral",400)};
|
|
2548
2559
|
z-index: 101;
|
|
2549
|
-
`,
|
|
2560
|
+
`,pg=e=>se`
|
|
2550
2561
|
height: 100%;
|
|
2551
2562
|
width: 100%;
|
|
2552
2563
|
max-width: ${e?`${e}px`:"100%"};
|
|
@@ -2561,7 +2572,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2561
2572
|
flex-direction: column;
|
|
2562
2573
|
align-items: flex-start;
|
|
2563
2574
|
}
|
|
2564
|
-
`,
|
|
2575
|
+
`,hg=se`
|
|
2565
2576
|
display: flex;
|
|
2566
2577
|
align-items: center;
|
|
2567
2578
|
flex-wrap: wrap;
|
|
@@ -2574,7 +2585,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2574
2585
|
color: ${be("neutral",700)};
|
|
2575
2586
|
text-decoration: underline;
|
|
2576
2587
|
}
|
|
2577
|
-
`,
|
|
2588
|
+
`,fg=se`
|
|
2578
2589
|
width: 240px;
|
|
2579
2590
|
font-size: 14px;
|
|
2580
2591
|
line-height: 20px;
|
|
@@ -2585,13 +2596,13 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2585
2596
|
@media screen and (max-width: 768px) {
|
|
2586
2597
|
text-align: left;
|
|
2587
2598
|
}
|
|
2588
|
-
`,
|
|
2599
|
+
`,gg=({children:e,label:t="© World Resources Institute",fixed:n,filled:r,maxWidth:i})=>{const o=(new Date).getFullYear();return W("footer",{css:ug(n,r),children:Z("div",{css:pg(i),children:[W("div",{children:W(He,{height:"32px",width:"91px"})}),W("div",{css:hg,children:e}),W("div",{children:Z("p",{css:fg,children:[t," ",o]})})]})})},vg=se`
|
|
2589
2600
|
width: 100%;
|
|
2590
2601
|
display: flex;
|
|
2591
2602
|
align-items: center;
|
|
2592
2603
|
height: 56px;
|
|
2593
2604
|
background-color: ${be("neutral",200)};
|
|
2594
|
-
`,
|
|
2605
|
+
`,mg=se`
|
|
2595
2606
|
height: 56px;
|
|
2596
2607
|
width: 99%;
|
|
2597
2608
|
background-color: ${be("neutral",200)};
|
|
@@ -2685,9 +2696,9 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2685
2696
|
opacity: 1;
|
|
2686
2697
|
}
|
|
2687
2698
|
}
|
|
2688
|
-
`,mg=se`
|
|
2689
|
-
position: relative;
|
|
2690
2699
|
`,xg=se`
|
|
2700
|
+
position: relative;
|
|
2701
|
+
`,bg=se`
|
|
2691
2702
|
position: absolute;
|
|
2692
2703
|
top: -5px;
|
|
2693
2704
|
right: -5px;
|
|
@@ -2702,7 +2713,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2702
2713
|
display: flex;
|
|
2703
2714
|
justify-content: center;
|
|
2704
2715
|
align-items: center;
|
|
2705
|
-
`,
|
|
2716
|
+
`,yg=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),wg=({defaultValue:e,tabs:t,onTabClick:n,hideLabels:r,activationMode:i="manual"})=>{const o=t.length,[a,l]=Y((()=>yg(t,e)));return W("div",{css:vg,children:W(N.Root,{width:"full",defaultValue:e||t?.[0]?.value,onValueChange:({value:e})=>(e=>{const r=yg(t,e);l(r),n&&n(e)})(e),activationMode:i,children:W(N.List,{alignItems:"center",border:"none",children:t.map(((e,t)=>{const{label:n,icon:i,bagdeCount:l,"aria-label":s,"aria-describedby":c,disabled:d,...u}=e,p=`${e.value}-str-status`,h=[`tab ${t+1} of ${o}`,a===t?"selected":"not selected"];d&&h.push("disabled");const f=[c,p].filter(Boolean).join(" ")||void 0;return Z(N.Trigger,{css:mg,"aria-label":s||n,"aria-disabled":!!d||void 0,"aria-describedby":f,disabled:d,...u,children:[Z("div",{css:xg,children:[i,l?W("div",{css:bg,className:"ds-badge-count",children:l}):null]}),r?null:W("p",{children:n}),W(V,{id:p,children:h.join(", ")})]},e.value)}))})})})},Cg=(e,t)=>se`
|
|
2706
2717
|
height: ${e?"96px":"48px"};
|
|
2707
2718
|
width: 100%;
|
|
2708
2719
|
background-color: ${be("neutral",100)};
|
|
@@ -2711,7 +2722,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2711
2722
|
left: 0;
|
|
2712
2723
|
z-index: 102;
|
|
2713
2724
|
border-bottom: 1px solid ${be("neutral",400)};
|
|
2714
|
-
|
|
2725
|
+
`,$g=se`
|
|
2715
2726
|
height: 48px;
|
|
2716
2727
|
width: 100%;
|
|
2717
2728
|
background-color: ${be("neutral",100)};
|
|
@@ -2721,7 +2732,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2721
2732
|
justify-content: flex-start;
|
|
2722
2733
|
gap: 0px;
|
|
2723
2734
|
padding: 8px 16px;
|
|
2724
|
-
|
|
2735
|
+
`,kg=(e,t)=>se`
|
|
2725
2736
|
height: 48px;
|
|
2726
2737
|
width: 100%;
|
|
2727
2738
|
max-width: ${t?`${t}px`:"100%"};
|
|
@@ -2731,7 +2742,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2731
2742
|
justify-content: space-between;
|
|
2732
2743
|
margin: 0 auto;
|
|
2733
2744
|
padding: 8px 16px;
|
|
2734
|
-
`,
|
|
2745
|
+
`,Sg=se`
|
|
2735
2746
|
outline: none;
|
|
2736
2747
|
a {
|
|
2737
2748
|
&:focus-visible {
|
|
@@ -2742,12 +2753,12 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2742
2753
|
outline-width: 2px;
|
|
2743
2754
|
}
|
|
2744
2755
|
}
|
|
2745
|
-
`,
|
|
2756
|
+
`,Eg=e=>se`
|
|
2746
2757
|
display: ${e?"none":"flex"};
|
|
2747
2758
|
align-items: center;
|
|
2748
2759
|
justify-content: flex-start;
|
|
2749
2760
|
gap: 0px;
|
|
2750
|
-
`,
|
|
2761
|
+
`,Og=e=>se`
|
|
2751
2762
|
font-size: 16px;
|
|
2752
2763
|
line-height: 24px;
|
|
2753
2764
|
font-weight: 400;
|
|
@@ -2772,12 +2783,12 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2772
2783
|
font-weight: 700;
|
|
2773
2784
|
color: ${be("accessible","controls-on-neutral-lights")};
|
|
2774
2785
|
`:""}
|
|
2775
|
-
`,
|
|
2786
|
+
`,Lg=se`
|
|
2776
2787
|
height: 48px;
|
|
2777
2788
|
display: flex;
|
|
2778
2789
|
align-items: center;
|
|
2779
2790
|
justify-content: flex-end;
|
|
2780
|
-
`,
|
|
2791
|
+
`,Rg=e=>se`
|
|
2781
2792
|
height: 100%;
|
|
2782
2793
|
font-size: 16px;
|
|
2783
2794
|
line-height: 24px;
|
|
@@ -2796,7 +2807,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2796
2807
|
}
|
|
2797
2808
|
}
|
|
2798
2809
|
`:""}
|
|
2799
|
-
`,
|
|
2810
|
+
`,Tg=e=>se`
|
|
2800
2811
|
height: 100%;
|
|
2801
2812
|
display: flex;
|
|
2802
2813
|
align-items: center;
|
|
@@ -2804,7 +2815,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2804
2815
|
gap: 20px;
|
|
2805
2816
|
padding-left: 16px;
|
|
2806
2817
|
border-left: 1px solid ${be("neutral",e?700:300)};
|
|
2807
|
-
`,
|
|
2818
|
+
`,Pg=se`
|
|
2808
2819
|
background-color: none;
|
|
2809
2820
|
border: none;
|
|
2810
2821
|
cursor: pointer;
|
|
@@ -2829,7 +2840,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2829
2840
|
outline-width: 2px;
|
|
2830
2841
|
background-color: ${be("neutral",200)};
|
|
2831
2842
|
}
|
|
2832
|
-
`,
|
|
2843
|
+
`,_g=e=>se`
|
|
2833
2844
|
position: absolute;
|
|
2834
2845
|
top: 48px;
|
|
2835
2846
|
right: 0;
|
|
@@ -2842,10 +2853,10 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2842
2853
|
justify-content: flex-start;
|
|
2843
2854
|
gap: 16px;
|
|
2844
2855
|
transition: width 0.5s ease-in-out;
|
|
2845
|
-
`,
|
|
2856
|
+
`,Mg=se`
|
|
2846
2857
|
height: 100%;
|
|
2847
2858
|
width: 100%;
|
|
2848
|
-
`,
|
|
2859
|
+
`,Dg=se`
|
|
2849
2860
|
background-color: ${be("neutral",200)};
|
|
2850
2861
|
border-bottom: 1px solid ${be("neutral",300)};
|
|
2851
2862
|
|
|
@@ -2865,13 +2876,13 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2865
2876
|
margin-left: -12px;
|
|
2866
2877
|
}
|
|
2867
2878
|
}
|
|
2868
|
-
`,Dg=se`
|
|
2869
|
-
background-color: ${be("neutral",100)};
|
|
2870
2879
|
`,Ng=se`
|
|
2880
|
+
background-color: ${be("neutral",100)};
|
|
2881
|
+
`,Vg=se`
|
|
2871
2882
|
min-height: 100vh;
|
|
2872
2883
|
width: 100%;
|
|
2873
2884
|
overflow-y: scroll;
|
|
2874
|
-
`;se``;const
|
|
2885
|
+
`;se``;const jg=e=>se`
|
|
2875
2886
|
display: inline-block;
|
|
2876
2887
|
width: 100%;
|
|
2877
2888
|
padding: 12px 16px;
|
|
@@ -2900,7 +2911,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2900
2911
|
outline-width: 2px;
|
|
2901
2912
|
background-color: ${be("neutral",200)};
|
|
2902
2913
|
}
|
|
2903
|
-
`,
|
|
2914
|
+
`,Ig=se`
|
|
2904
2915
|
width: 100%;
|
|
2905
2916
|
padding: 12px 16px;
|
|
2906
2917
|
display: flex;
|
|
@@ -2924,7 +2935,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2924
2935
|
outline-width: 2px;
|
|
2925
2936
|
background-color: ${be("neutral",200)};
|
|
2926
2937
|
}
|
|
2927
|
-
`,
|
|
2938
|
+
`,Ag=e=>se`
|
|
2928
2939
|
position: absolute;
|
|
2929
2940
|
top: 0px;
|
|
2930
2941
|
right: 0;
|
|
@@ -2936,7 +2947,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2936
2947
|
align-items: flex-start;
|
|
2937
2948
|
justify-content: flex-start;
|
|
2938
2949
|
transition: width 0.5s ease-in-out;
|
|
2939
|
-
`,
|
|
2950
|
+
`,zg=se`
|
|
2940
2951
|
height: 48px;
|
|
2941
2952
|
width: 100%;
|
|
2942
2953
|
display: flex;
|
|
@@ -2947,7 +2958,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2947
2958
|
position: relative;
|
|
2948
2959
|
top: 0;
|
|
2949
2960
|
left: 0;
|
|
2950
|
-
`,
|
|
2961
|
+
`,Hg=se`
|
|
2951
2962
|
position: absolute;
|
|
2952
2963
|
bottom: 0;
|
|
2953
2964
|
left: 0;
|
|
@@ -2962,13 +2973,13 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2962
2973
|
button {
|
|
2963
2974
|
width: calc(48% - 24px);
|
|
2964
2975
|
}
|
|
2965
|
-
`,
|
|
2976
|
+
`,Bg=({navigationSection:e,utilitySection:t,actionsSection:n,linkRouter:r,isOpen:i,setIsOpen:o,pathname:a})=>{const[l,s]=Y(void 0),[c,d]=Y(-1),u=K(null),p=K([]),h=r;return Z(q,{children:[W("div",{css:_g(i),children:i&&Z("div",{css:Mg,children:[Z("div",{style:{overflowY:"scroll",width:"100%",height:"100%",paddingBottom:"72px"},children:[t?W("div",{css:Dg,children:t?.map((e=>W("div",{className:"ds-utility-item",children:e})))}):null,e?W("div",{css:Ng,children:e.map(((e,t)=>e.link?W(h,{to:e.link,href:e.link,onClick:()=>{s(void 0),d(-1),o(!1)},css:jg(a===e.link),children:e.label},e.label):Z("button",{css:Ig,type:"button",ref:e=>p.current[t]=e,onClick:()=>{e.items&&(s(e),d(t),setTimeout((()=>{u.current?.focus()}),100))},children:[e.label,e.items?W(Pe,{rotate:"270",color:"var(--chakra-colors-neutral-700)"}):null]},e.label)))}):null]}),n?W("div",{css:Hg,children:n.map((e=>W(Se,{label:e.label,onClick:()=>{e?.onClick?.(),s(void 0),d(-1),o(!1)}},e.label)))}):null]})}),W("div",{css:Ag(!!l?.items),children:l?.items?Z(q,{children:[Z("div",{css:zg,children:[Z("button",{type:"button",onClick:()=>{s(void 0),d(-1),p.current[c]?.focus()},"aria-label":"Go back",css:Pg,ref:u,children:[W(Pe,{rotate:"90",color:"var(--chakra-colors-neutral-700)"}),l?.label]}),Z("button",{type:"button",onClick:()=>{s(void 0),d(-1),o(!1)},"aria-label":"Close menu",css:Pg,children:["Close",W(Me,{height:"16px",width:"16px"})]})]}),W("div",{css:Vg,children:l?.items?.map((e=>W(h,{to:e.link,href:e.link,css:jg(),onClick:()=>{s(void 0),d(-1),o(!1)},children:e.label},e.label)))})]}):null})]})},Fg=1023,Zg=({logo:e,linkRouter:t,pathname:n,navigationSection:r,utilitySection:i,actionsSection:o,maxWidth:a,fixed:l,onNavbarHeightChange:s})=>{const c=K(null),d=K(null),u=K(null),[p,h]=Y(!1),[f,g]=Y(-1),[v,m]=Y("undefined"!=typeof window&&window?.innerWidth<=Fg),[x,b]=Y(!1),y=t,w=re((()=>{if(d.current&&c.current&&u.current){const e=c.current.getBoundingClientRect(),t=d.current.getBoundingClientRect(),n=u.current.getBoundingClientRect();t.width,e.width,window.innerWidth<=Fg||window.innerWidth<=f?(s?.(96),h(!0)):window.innerWidth>Fg&&window.innerWidth<=1440?e.right>=t.left?(s?.(96),h(!0),g(window.innerWidth)):window.innerWidth>f&&(s?.(48),h(!1),g(-1)):(s?.(48),h(!1),g(-1)),p&&(window.innerWidth<=Fg||n.right>=t.left?(m(!0),s?.(48)):(m(!1),s?.(96)))}}),[f,p]);return J((()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)})),[w]),Z("nav",{css:Cg(p&&!v,l),children:[Z("div",{css:kg(p&&!v,a),children:[Z("div",{css:(C=p&&!v,se`
|
|
2966
2977
|
display: flex;
|
|
2967
2978
|
align-items: center;
|
|
2968
2979
|
justify-content: flex-start;
|
|
2969
2980
|
gap: 12px;
|
|
2970
2981
|
color: ${be("neutral",C?100:900)};
|
|
2971
|
-
`),ref:c,children:[e?W("div",{ref:u,css:
|
|
2982
|
+
`),ref:c,children:[e?W("div",{ref:u,css:Sg,children:e}):null,W("div",{css:Eg(p),children:r?.map((e=>e.link?W(y,{to:e.link,href:e.link,css:Og(n===e.link),children:e.label},e.label):W(Lt,{label:e.label,items:e.items||[]},e.label)))})]}),W("div",{css:Lg,ref:d,children:v?Z("button",{type:"button",onClick:()=>b(!x),"aria-label":"Open menu",css:Pg,children:[x?"Close":"Menu",W(x?Me:it,{height:"16px",width:"16px"})]}):Z(q,{children:[W("div",{css:Lg,children:i?.map(((e,t)=>W("div",{css:Rg(p),children:e},t)))}),o?W("div",{css:Tg(p),children:o.map((e=>W(Se,{...e},e.label)))}):null]})})]}),p&&!v?W("div",{css:$g,children:r?.map((e=>e.link?W(y,{to:e.link,href:e.link,css:Og(n===e.link),children:e.label},e.label):W(Lt,{label:e.label,items:e.items||[]},e.label)))}):null,v?W(Bg,{navigationSection:r,utilitySection:i,actionsSection:o,linkRouter:t,isOpen:x,setIsOpen:b,pathname:n}):null]});var C},Wg=se`
|
|
2972
2983
|
width: 64px;
|
|
2973
2984
|
height: 100%;
|
|
2974
2985
|
z-index: 100;
|
|
@@ -2977,7 +2988,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
2977
2988
|
display: flex;
|
|
2978
2989
|
flex-direction: column;
|
|
2979
2990
|
justify-content: space-between;
|
|
2980
|
-
`,
|
|
2991
|
+
`,qg=se`
|
|
2981
2992
|
width: 64px;
|
|
2982
2993
|
height: 64px;
|
|
2983
2994
|
background-color: ${be("neutral",200)};
|
|
@@ -3067,7 +3078,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3067
3078
|
}
|
|
3068
3079
|
}
|
|
3069
3080
|
}
|
|
3070
|
-
`,
|
|
3081
|
+
`,Gg=se`
|
|
3071
3082
|
display: flex;
|
|
3072
3083
|
justify-content: center;
|
|
3073
3084
|
align-items: center;
|
|
@@ -3080,7 +3091,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3080
3091
|
fill: ${be("neutral",600)};
|
|
3081
3092
|
}
|
|
3082
3093
|
}
|
|
3083
|
-
`,
|
|
3094
|
+
`,Ug=se`
|
|
3084
3095
|
width: 64px;
|
|
3085
3096
|
height: 64px;
|
|
3086
3097
|
background-color: ${be("neutral",200)};
|
|
@@ -3118,7 +3129,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3118
3129
|
text-align: center;
|
|
3119
3130
|
color: ${be("neutral",600)};
|
|
3120
3131
|
}
|
|
3121
|
-
`,
|
|
3132
|
+
`,Xg=se`
|
|
3122
3133
|
width: 320px;
|
|
3123
3134
|
height: 100%;
|
|
3124
3135
|
z-index: 100;
|
|
@@ -3127,14 +3138,14 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3127
3138
|
overflow-y: auto;
|
|
3128
3139
|
overflow-x: hidden;
|
|
3129
3140
|
border-right: 1px solid ${be("neutral",300)};
|
|
3130
|
-
`,
|
|
3141
|
+
`,Yg=({tabs:e=[],defaultValue:t,onTabClick:n,children:i,onOpenChange:o})=>{const[a,l]=Y(!1),[s,c]=Y(t||e?.[0]?.value),d=e=>{c(e),n&&n(e)},[u]=j(["(max-width: 768px)"]);return u?Z(N.Root,{defaultValue:s,onValueChange:({value:e})=>d(e),children:[W(N.List,{style:{display:"flex",overflowX:"auto",whiteSpace:"nowrap",padding:"8px",gap:"8px"},children:e.map((e=>W(N.Trigger,{value:e.value,css:{"--indicator-color":be("primary",500),flexShrink:0,padding:"10px 16px",color:be("neutral",600),"&[data-selected]":{color:be("neutral",800),fontWeight:600}},children:e.label},e.value)))}),e.map((e=>W(N.Content,{value:e.value,children:i},e.value)))]}):Z("div",{style:{height:"calc(100vh - 48px - 56px)",position:"fixed",top:"48px",left:0,display:"flex"},children:[Z("div",{css:Wg,children:[W(N.Root,{defaultValue:t||e?.[0]?.value,orientation:"horizontal",width:"full",onValueChange:({value:e})=>{d(e)},role:"tablist",children:W(N.List,{alignItems:"center",border:"none",style:{flexDirection:"column"},children:e.map((e=>W(N.Trigger,{css:qg,"aria-label":e["aria-label"]||e.label,...e,children:Z(r,{display:"flex",alignItems:"center",flexDirection:"column",gap:"5px",className:"ds-tab-label",children:[e.icon?W("div",{css:Gg,children:e.icon}):null,W("p",{children:e.label})]})},e.label)))})}),i?W(I.Root,{onOpenChange:({open:e})=>{l(e),o&&o(!e)},children:Z(I.Trigger,{css:Ug,children:[W("div",{css:Gg,children:W(a?Oe:Ee,{})}),Z("div",{className:"ds-tab-label",children:[W("p",{children:a?"Show":"Hide"}),W("p",{children:"Sidebar"})]})]})}):null]}),i?W(I.Root,{defaultOpen:!0,open:!a,children:W(I.Content,{height:"100%",children:W("div",{css:Xg,role:"tabpanel","aria-labelledby":s,children:i})})}):null]})},Kg=e=>se`
|
|
3131
3142
|
width: 100%;
|
|
3132
3143
|
display: flex;
|
|
3133
3144
|
align-items: center;
|
|
3134
3145
|
height: 40px;
|
|
3135
3146
|
|
|
3136
3147
|
${"view"===e&&`\n border: 1px solid ${be("neutral",400)};\n background-color: ${be("neutral",200)};\n border-radius: 4px;\n padding: 4px;\n `}
|
|
3137
|
-
`,
|
|
3148
|
+
`,Jg=se`
|
|
3138
3149
|
width: 99%;
|
|
3139
3150
|
height: 40px;
|
|
3140
3151
|
padding: 8px 16px;
|
|
@@ -3150,7 +3161,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3150
3161
|
&:focus-visible {
|
|
3151
3162
|
box-shadow: none;
|
|
3152
3163
|
}
|
|
3153
|
-
`,
|
|
3164
|
+
`,Qg=se`
|
|
3154
3165
|
background-color: ${be("neutral",200)};
|
|
3155
3166
|
color: ${be("neutral",700)};
|
|
3156
3167
|
|
|
@@ -3207,11 +3218,11 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3207
3218
|
opacity: 1;
|
|
3208
3219
|
}
|
|
3209
3220
|
}
|
|
3210
|
-
`,
|
|
3221
|
+
`,ev=se`
|
|
3211
3222
|
width: 4px;
|
|
3212
3223
|
height: 24px;
|
|
3213
3224
|
background-color: ${be("neutral",400)};
|
|
3214
|
-
`,
|
|
3225
|
+
`,tv=se`
|
|
3215
3226
|
height: 32px;
|
|
3216
3227
|
border-radius: 2px;
|
|
3217
3228
|
background-color: ${be("neutral",200)};
|
|
@@ -3284,7 +3295,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3284
3295
|
opacity: 1;
|
|
3285
3296
|
}
|
|
3286
3297
|
}
|
|
3287
|
-
`,
|
|
3298
|
+
`,nv=(e,t)=>Math.max(0,e.findIndex((e=>e.value===t))),rv=e=>1===e?"none":2===e?"left":"right",iv=({variant:e="panel",defaultValue:t,tabs:n,onTabClick:i,activationMode:o="manual"})=>{const[a,l]=Y(nv(n,t)||0),s="view"===e;return W("div",{css:Kg(e),children:W(N.Root,{width:"full",defaultValue:t||n?.[0]?.value,onValueChange:({value:e})=>{return l(nv(n,t=e)),void(i&&i(t));var t},activationMode:o,children:W(N.List,{alignItems:"center",border:"none",children:n.map(((e,t)=>Z(le,{children:[s&&1===t&&"left"===rv(a)?W("div",{css:ev}):null,W(N.Trigger,{css:[Jg,s?tv:Qg],"aria-label":e["aria-label"]||e.label,...e,children:Z(r,{display:"flex",alignItems:"center",gap:"5px",children:[e.icon,e.label]})},e.label),s&&1===t&&"right"===rv(a)?W("div",{css:ev}):null]},e.label)))})})})},ov={small:"16px",medium:"24px",large:"40px",default:"16px"};function av(e,t,n,r){const i=function(e,t){return"string"==typeof t&&""!==t.trim()?t:e&&ov[e]?ov[e]:ov.default}(e,t),o=n?be("neutral",200):be("primary",300),a=r??o,l=r&&n?"opacity: 0.7;":"",s=be("neutral",n?400:800);return se`
|
|
3288
3299
|
height: ${i};
|
|
3289
3300
|
width: ${i};
|
|
3290
3301
|
border-radius: 50%;
|
|
@@ -3316,12 +3327,12 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3316
3327
|
background-color: ${be("primary",500)};
|
|
3317
3328
|
}
|
|
3318
3329
|
}
|
|
3319
|
-
`}const
|
|
3330
|
+
`}const lv=e=>se`
|
|
3320
3331
|
width: ${e||"16px"};
|
|
3321
3332
|
position: absolute;
|
|
3322
3333
|
top: -8px;
|
|
3323
3334
|
left: 15px;
|
|
3324
|
-
`,
|
|
3335
|
+
`,sv=X((({name:e,ariaLabel:t,size:n="medium",customSize:r="",src:i,srcSet:o,onClick:a,notificationCount:l,disabled:s=!0,customBackgroundColor:c=""},d)=>{const u=()=>{s||a?.()},p=(()=>{let e="";return l&&l>0&&(e=`${l>99?"99+":l}`),e})();let h="16px";l&&l>99?h="28px":l&&l>9&&(h="22px");const f=!!i||!!o,g=a&&!s;return Z(A.Root,{"aria-label":t||e,ref:d,css:av(n,r,s,c),onClick:u,onKeyDown:e=>{s||"Enter"!==e.key||u()},role:g?"button":void 0,tabIndex:g?0:void 0,"aria-disabled":s,children:[f?W(A.Image,{src:i,srcSet:o}):W(ot,{size:"100%",style:{padding:"15%",color:s?be("neutral",400):void 0}}),p.length>0?W("div",{css:lv(h),children:W("div",{css:se`
|
|
3325
3336
|
height: 16px;
|
|
3326
3337
|
width: auto;
|
|
3327
3338
|
background-color: ${be("error",500)};
|
|
@@ -3333,16 +3344,16 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3333
3344
|
font-size: 12px;
|
|
3334
3345
|
font-weight: 700;
|
|
3335
3346
|
color: ${be("error",100)};
|
|
3336
|
-
`,children:W("p",{"aria-label":`${l} unread message`,children:p})})}):null]})})),
|
|
3347
|
+
`,children:W("p",{"aria-label":`${l} unread message`,children:p})})}):null]})})),cv=se`
|
|
3337
3348
|
display: flex;
|
|
3338
3349
|
justify-content: flex-start;
|
|
3339
3350
|
align-items: center;
|
|
3340
3351
|
gap: 8px;
|
|
3341
|
-
`,
|
|
3352
|
+
`,dv=e=>se`
|
|
3342
3353
|
width: ${e||"16px"};
|
|
3343
3354
|
position: relative;
|
|
3344
3355
|
display: flex;
|
|
3345
|
-
`,
|
|
3356
|
+
`,uv=se`
|
|
3346
3357
|
height: 4px;
|
|
3347
3358
|
width: 4px;
|
|
3348
3359
|
background-color: ${be("error",500)};
|
|
@@ -3350,7 +3361,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3350
3361
|
position: absolute;
|
|
3351
3362
|
top: 0px;
|
|
3352
3363
|
right: 0px;
|
|
3353
|
-
`,
|
|
3364
|
+
`,pv=se`
|
|
3354
3365
|
height: 10px;
|
|
3355
3366
|
background-color: ${be("error",500)};
|
|
3356
3367
|
padding: 0 3px 1px 3px;
|
|
@@ -3361,11 +3372,11 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3361
3372
|
position: absolute;
|
|
3362
3373
|
top: -2px;
|
|
3363
3374
|
left: 9px;
|
|
3364
|
-
`,
|
|
3375
|
+
`,hv=se`
|
|
3365
3376
|
font-size: 9px;
|
|
3366
3377
|
font-weight: 700;
|
|
3367
3378
|
color: ${be("error",100)};
|
|
3368
|
-
`,
|
|
3379
|
+
`,fv=se`
|
|
3369
3380
|
height: 16px;
|
|
3370
3381
|
min-width: 16px;
|
|
3371
3382
|
background-color: ${be("error",500)};
|
|
@@ -3374,11 +3385,11 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3374
3385
|
justify-content: center;
|
|
3375
3386
|
align-items: center;
|
|
3376
3387
|
padding: 0px 4px 1px 4px;
|
|
3377
|
-
`,
|
|
3388
|
+
`,gv=se`
|
|
3378
3389
|
font-size: 16px;
|
|
3379
3390
|
font-weight: 700;
|
|
3380
3391
|
color: ${be("error",100)};
|
|
3381
|
-
`,
|
|
3392
|
+
`,vv=({hasNotification:e,notificationCount:t,label:n})=>{const[r,i]=Y(!1);J((()=>{const e=()=>{window.innerWidth<1024?i(!0):i(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const o=(()=>{let e="";return t&&t>0&&(e=`${t>99?"99+":t}`),e})();let a="16px";return t&&t>99?a="28px":t&&t>9&&(a="22px"),Z("div",r?{css:cv,role:"status","aria-live":"polite",children:[Z("div",{css:dv(),children:[W(Be,{color:"currentColor",height:"16px",width:"16px"}),!e||t||n?null:W("div",{css:uv,"aria-hidden":!0})]}),n?W("p",{children:n}):null,o.length>0?W("div",{css:fv,children:W("p",{css:gv,"aria-label":`${t} unread message`,children:o})}):null]}:{css:cv,role:"status","aria-live":"polite",children:[n?W("p",{children:n}):null,Z("div",{css:dv(a),children:[o.length>0?W("div",{css:pv,children:W("p",{css:hv,"aria-label":`${t} unread message`,children:o})}):null,e&&!t?W("div",{css:uv,"aria-hidden":!0}):null,W(Be,{color:"currentColor",height:"16px",width:"16px"})]})]})},mv=(e,t)=>se`
|
|
3382
3393
|
width: 100%;
|
|
3383
3394
|
max-width: ${"small"===e?"234px":"320px"};
|
|
3384
3395
|
border-radius: 4px;
|
|
@@ -3393,7 +3404,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3393
3404
|
button {
|
|
3394
3405
|
margin-left: ${t?0:"24px"};
|
|
3395
3406
|
}
|
|
3396
|
-
`,
|
|
3407
|
+
`,xv=se`
|
|
3397
3408
|
display: flex;
|
|
3398
3409
|
align-items: flex-start;
|
|
3399
3410
|
gap: 8px;
|
|
@@ -3401,28 +3412,28 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3401
3412
|
svg {
|
|
3402
3413
|
margin-top: 6px;
|
|
3403
3414
|
}
|
|
3404
|
-
`,
|
|
3415
|
+
`,bv=e=>se`
|
|
3405
3416
|
color: ${be("neutral",800)};
|
|
3406
3417
|
font-size: ${"small"===e?"14px":"18px"};
|
|
3407
3418
|
line-height: ${"small"===e?"20px":"28px"};
|
|
3408
3419
|
font-weight: 400;
|
|
3409
3420
|
text-align: left;
|
|
3410
|
-
`,
|
|
3421
|
+
`,yv=e=>se`
|
|
3411
3422
|
color: ${be("neutral",700)};
|
|
3412
3423
|
font-size: ${"small"===e?"12px":"16px"};
|
|
3413
3424
|
line-height: ${"small"===e?"16px":"24px"};
|
|
3414
3425
|
font-weight: 400;
|
|
3415
3426
|
margin-left: 24px;
|
|
3416
3427
|
text-align: left;
|
|
3417
|
-
`,
|
|
3428
|
+
`,wv=se`
|
|
3418
3429
|
background-color: ${be("neutral",100)};
|
|
3419
3430
|
border: 1px solid ${be("neutral",300)};
|
|
3420
3431
|
color: ${be("neutral",700)};
|
|
3421
|
-
`,
|
|
3432
|
+
`,Cv=se`
|
|
3422
3433
|
background-color: ${be("neutral",200)};
|
|
3423
3434
|
border: 1px solid ${be("neutral",300)};
|
|
3424
3435
|
color: ${be("neutral",700)};
|
|
3425
|
-
|
|
3436
|
+
`,$v=se`
|
|
3426
3437
|
background-color: ${be("success",100)};
|
|
3427
3438
|
border: 1px solid ${be("success",300)};
|
|
3428
3439
|
color: ${be("success",500)};
|
|
@@ -3430,7 +3441,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3430
3441
|
p {
|
|
3431
3442
|
color: ${be("success",900)};
|
|
3432
3443
|
}
|
|
3433
|
-
|
|
3444
|
+
`,kv=se`
|
|
3434
3445
|
background-color: ${be("warning",100)};
|
|
3435
3446
|
border: 1px solid ${be("warning",300)};
|
|
3436
3447
|
color: ${be("warning",500)};
|
|
@@ -3438,7 +3449,7 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3438
3449
|
p {
|
|
3439
3450
|
color: ${be("warning",900)};
|
|
3440
3451
|
}
|
|
3441
|
-
`,
|
|
3452
|
+
`,Sv=se`
|
|
3442
3453
|
background-color: ${be("error",100)};
|
|
3443
3454
|
border: 1px solid ${be("error",300)};
|
|
3444
3455
|
color: ${be("error",500)};
|
|
@@ -3446,32 +3457,32 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3446
3457
|
p {
|
|
3447
3458
|
color: ${be("error",900)};
|
|
3448
3459
|
}
|
|
3449
|
-
`,
|
|
3460
|
+
`,Ev=({label:e,caption:t,variant:n,size:r="large",icon:i=W(Te,{height:"16px",width:"16px"}),onActionClick:o,actionLabel:a,isButtonRight:l})=>{let s=wv;return"info-grey"===n?s=Cv:"success"===n?s=$v:"warning"===n?s=kv:"error"===n&&(s=Sv),Z("div",{css:[mv(r,l),s],"aria-roledescription":"Note",children:[Z("div",{children:[Z("div",{css:xv,children:[i,W("p",{css:bv(r),children:e})]}),W("p",{css:yv(r),children:t})]}),a?W(Se,{label:a,variant:"info-white"===n||"info-grey"===n?"primary":"secondary",size:"large"===r?"default":"small",onClick:o}):null]})},Ov=se`
|
|
3450
3461
|
height: 8px;
|
|
3451
3462
|
width: 100%;
|
|
3452
3463
|
background-color: ${be("neutral",300)};
|
|
3453
3464
|
display: flex;
|
|
3454
3465
|
align-items: center;
|
|
3455
3466
|
justify-content: flex-start;
|
|
3456
|
-
`,
|
|
3467
|
+
`,Lv=e=>se`
|
|
3457
3468
|
height: 100%;
|
|
3458
3469
|
width: ${e}%;
|
|
3459
3470
|
background-color: ${be("primary",500)};
|
|
3460
3471
|
transition: width 0.5s ease-in-out;
|
|
3461
|
-
`,
|
|
3472
|
+
`,Rv=({progress:e})=>{let t=e;return t>100&&(t=100),t<0&&(t=0),W("div",{css:Ov,role:"progressbar","aria-label":`Progress: ${t}%`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,children:W("div",{css:Lv(t)})})},Tv=se`
|
|
3462
3473
|
width: 100%;
|
|
3463
3474
|
display: flex;
|
|
3464
3475
|
align-items: center;
|
|
3465
3476
|
justify-content: space-between;
|
|
3466
3477
|
position: relative;
|
|
3467
|
-
`,
|
|
3478
|
+
`,Pv=se`
|
|
3468
3479
|
height: 60px;
|
|
3469
3480
|
width: 80px;
|
|
3470
3481
|
display: flex;
|
|
3471
3482
|
flex-direction: column;
|
|
3472
3483
|
align-items: center;
|
|
3473
3484
|
justify-content: space-between;
|
|
3474
|
-
`,
|
|
3485
|
+
`,_v=(e,t)=>se`
|
|
3475
3486
|
height: 32px;
|
|
3476
3487
|
width: 32px;
|
|
3477
3488
|
display: flex;
|
|
@@ -3507,12 +3518,12 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3507
3518
|
}
|
|
3508
3519
|
|
|
3509
3520
|
${t?`\n background-color: ${be("neutral",300)};\n \n &:hover {\n background-color: ${be("neutral",300)};\n box-shadow: none;\n }\n `:""}
|
|
3510
|
-
`,
|
|
3521
|
+
`,Mv=e=>se`
|
|
3511
3522
|
color: ${be("neutral",e?800:600)};
|
|
3512
3523
|
font-size: 14px;
|
|
3513
3524
|
line-height: 20px;
|
|
3514
3525
|
font-weight: 400;
|
|
3515
|
-
`,
|
|
3526
|
+
`,Dv=se`
|
|
3516
3527
|
height: 1px;
|
|
3517
3528
|
width: 100%;
|
|
3518
3529
|
padding: 0 30px;
|
|
@@ -3520,11 +3531,11 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3520
3531
|
top: 16px;
|
|
3521
3532
|
left: 0;
|
|
3522
3533
|
z-index: -1;
|
|
3523
|
-
`,
|
|
3534
|
+
`,Nv=se`
|
|
3524
3535
|
height: 1px;
|
|
3525
3536
|
width: 100%;
|
|
3526
3537
|
background-color: ${be("neutral",400)};
|
|
3527
|
-
`,
|
|
3538
|
+
`,Vv=({steps:e,currentStep:t})=>Z("div",{css:Tv,children:[e.map(((e,n)=>Z("div",{css:Pv,children:[W("button",{css:_v(t>=n+1,t<n+1),type:"button",onClick:e.onClick,"aria-current":t===n+1,"aria-disabled":t<n+1,disabled:t<n+1,"aria-label":`Current Step ${n}${e.label?` ${e.label}`:""}`,"data-active":t>=n+1,children:t>n+1?W(Le,{height:"16px",width:"16px"}):n+1}),e.label?W("p",{css:Mv(t===n+1),children:e.label}):null]},`${e.label}-${n}`))),W("div",{css:Dv,children:W("div",{css:Nv})})]}),jv=se`
|
|
3528
3539
|
justify-content: space-between;
|
|
3529
3540
|
align-items: center;
|
|
3530
3541
|
gap: 8px;
|
|
@@ -3567,18 +3578,18 @@ function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Obj
|
|
|
3567
3578
|
color: ${be("error",900)};
|
|
3568
3579
|
}
|
|
3569
3580
|
}
|
|
3570
|
-
`,
|
|
3581
|
+
`,Iv=se`
|
|
3571
3582
|
font-size: 18px;
|
|
3572
3583
|
line-height: 28px;
|
|
3573
3584
|
font-weight: 400;
|
|
3574
3585
|
color: ${be("neutral",800)};
|
|
3575
|
-
`,
|
|
3586
|
+
`,Av=se`
|
|
3576
3587
|
font-size: 16px;
|
|
3577
3588
|
line-height: 24px;
|
|
3578
3589
|
font-weight: 400;
|
|
3579
3590
|
color: ${be("neutral",700)};
|
|
3580
|
-
`,Av=se`
|
|
3581
|
-
padding: 6px;
|
|
3582
3591
|
`,zv=se`
|
|
3583
3592
|
padding: 6px;
|
|
3584
|
-
`,Hv=
|
|
3593
|
+
`,Hv=se`
|
|
3594
|
+
padding: 6px;
|
|
3595
|
+
`,Bv={pauseOnPageIdle:!0,offsets:"24px"},Fv={"top-start":z({placement:"top-start",...Bv}),"top-end":z({placement:"top-end",...Bv}),"bottom-start":z({placement:"bottom-start",...Bv}),"bottom-end":z({placement:"bottom-end",...Bv})},Zv=e=>{Fv[e.placement].create({title:e.label,description:e.caption,duration:e.duration||5e3,meta:{closable:e.closable,icon:e.icon,closableLabel:e.closableLabel},...e})},Wv=()=>Object.keys(Fv).map((e=>W(l,{children:W(H,{toaster:Fv[e],insetInline:{mdDown:"4"},children:t=>Z(B.Root,{css:jv,width:{md:"sm"},children:[Z(F,{flexDirection:"row",className:"ds-toast-icon-container",children:["info"===t.type?t.meta?.icon?t.meta.icon:W(Te,{color:"var(--chakra-colors-neutral-700)"}):null,"loading"===t.type?W(i,{size:"lg",borderWidth:"3px",color:"var(--chakra-colors-primary-500)"}):null,"success"===t.type?t.meta?.icon?t.meta.icon:W(Ie,{color:"var(--chakra-colors-success-500)"}):null,"warning"===t.type?t.meta?.icon?t.meta.icon:W(Ae,{color:"var(--chakra-colors-warning-500)"}):null,"error"===t.type?t.meta?.icon?t.meta.icon:W(ze,{color:"var(--chakra-colors-error-500)"}):null,Z(F,{gap:"1",flex:"1",maxWidth:"100%",children:[W(B.Title,{css:Iv,"aria-label":`${t.title}`,children:t.title}),t.description?W(B.Title,{css:Av,"aria-label":`${t.description}`,children:t.description}):null]})]}),t.action||t.meta?.closable?Z(F,{flexDirection:"row",children:[t.action?W(Se,{css:zv,label:t.action.label,size:"small",variant:"info"===t.type?"primary":"secondary",onClick:()=>{t?.action?.onClick&&t.action.onClick(),Fv[e].dismiss()}}):null,t.meta?.closable?W(Se,{css:Hv,label:t.meta.closableLabel,"aria-label":t.meta?.closableLabel||"Dismiss",leftIcon:W(Me,{height:"10px!",width:"10px!"}),size:"small",variant:"secondary",onClick:()=>Fv[e].dismiss()}):null]}):null]})})},e)));export{jl as AnalysisWidget,sv as Avatar,vv as Badge,Fr as BaseMap,dg as Breadcrumb,Se as Button,Vt as Checkbox,yn as CheckboxList,Ft as CheckboxOptionCard,pt as CloseButton,qr as ClusterPoint,_l as ExtendableCard,gg as Footer,ut as IconButton,Ev as InlineMessage,ar as InputWithUnits,ol as ItemCount,wa as LayerGroup,Ca as LayerGroupContainer,ya as LayerItem,Oa as LayerParameters,Aa as LegendItem,fl as List,yt as MapControlsToolbar,Wr as MapMarker,Ur as MapMarkers,da as MapPopUp,Lt as Menu,wg as MobileTabBar,zs as Modal,Dt as MultiActionButton,Zg as Navbar,Yg as NavigationRail,Yt as OptionCard,bl as Pagination,Gs as Panel,fr as Password,Rv as ProgressBar,Ua as QualitativeAttribute,en as Radio,tn as RadioGroup,Cr as RadioList,st as SSOButtons,tl as ScaleBar,or as Select,ag as Sheet,Gr as SimpleMapPin,un as Slider,Er as SliderInput,Vv as StepProgressIndicator,hn as Switch,iv as TabBar,Ol as Table,Rl as TableCell,Ll as TableRow,nr as Tag,Mn as TextInput,Dr as Textarea,Wv as Toast,bt as Toolbar,mt as Tooltip,xe as designSystemStyles,me as designSystemStylesForTailwind,be as getThemedColor,Zv as showToast};
|