diff --git a/1341.4cf7055e.iframe.bundle.js b/1341.4cf7055e.iframe.bundle.js new file mode 100644 index 00000000..fc6b2b34 --- /dev/null +++ b/1341.4cf7055e.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[1341],{"./node_modules/@mdx-js/react/index.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXContext:function(){return MDXContext},MDXProvider:function(){return MDXProvider},useMDXComponents:function(){return useMDXComponents},withMDXComponents:function(){return withMDXComponents}});var react=__webpack_require__("./node_modules/react/index.js");const MDXContext=react.createContext({});function withMDXComponents(Component){return function boundMDXComponent(props){const allComponents=useMDXComponents(props.components);return react.createElement(Component,{...props,allComponents:allComponents})}}function useMDXComponents(components){const contextComponents=react.useContext(MDXContext);return react.useMemo((()=>"function"==typeof components?components(contextComponents):{...contextComponents,...components}),[contextComponents,components])}const emptyObject={};function MDXProvider({components:components,children:children,disableParentContext:disableParentContext}){let allComponents;return allComponents=disableParentContext?"function"==typeof components?components({}):components||emptyObject:useMDXComponents(components),react.createElement(MDXContext.Provider,{value:allComponents},children)}}}]); \ No newline at end of file diff --git a/1613.62df7469.iframe.bundle.js b/1613.62df7469.iframe.bundle.js new file mode 100644 index 00000000..461e4f55 --- /dev/null +++ b/1613.62df7469.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[1613],{"./node_modules/@storybook/icons/dist/Devices-SUYACUPO.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{BottomBar:function(){return BottomBar},BottomBarToggle:function(){return BottomBarToggle},Box:function(){return Box},Browser:function(){return Browser},CPU:function(){return CPU},Database:function(){return Database},Memory:function(){return Memory},Mobile:function(){return Mobile},Power:function(){return Power},Sidebar:function(){return Sidebar},SidebarAlt:function(){return SidebarAlt},SidebarAltToggle:function(){return SidebarAltToggle},SidebarToggle:function(){return SidebarToggle},Structure:function(){return Structure},Tablet:function(){return Tablet},Watch:function(){return Watch}});var _chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs"),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/index.js"),Browser=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:"currentColor"})),...restProps})},Tablet=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:"currentColor"})),...restProps})},Mobile=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:"currentColor"})),...restProps})},Watch=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:"currentColor"})),...restProps})},Sidebar=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:"currentColor"})),...restProps})},SidebarAlt=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:"currentColor"})),...restProps})},SidebarAltToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:"currentColor"})),...restProps})},SidebarToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:"currentColor"})),...restProps})},BottomBar=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:"currentColor"})),...restProps})},BottomBarToggle=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:"currentColor"})),...restProps})},CPU=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:"currentColor"})),...restProps})},Database=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:"currentColor"})),...restProps})},Memory=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:"currentColor"})),...restProps})},Structure=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:"currentColor"})),...restProps})},Box=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:"currentColor"})),...restProps})},Power=allProps=>{const{svgProps:props,...restProps}=allProps;return react__WEBPACK_IMPORTED_MODULE_1__.createElement(_chunk_MSDTXLE7_mjs__WEBPACK_IMPORTED_MODULE_0__.a,{icon:react__WEBPACK_IMPORTED_MODULE_1__.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...props},react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:"currentColor"}),react__WEBPACK_IMPORTED_MODULE_1__.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:"currentColor"})),...restProps})}},"./node_modules/@storybook/icons/dist/chunk-MSDTXLE7.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{a:function(){return IconWrapper}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/react/index.js"),IconWrapper=({icon:icon,color:colorProp,size:sizeProp,...restProps})=>{const color=colorProp||"currentColor",size=sizeProp||"14px";return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{role:"img","aria-hidden":"true",style:{color:color,width:size,height:size,display:"inline-flex",fontSize:"inherit"},...restProps},icon)}}}]); \ No newline at end of file diff --git a/1729.6d778a11.iframe.bundle.js b/1729.6d778a11.iframe.bundle.js new file mode 100644 index 00000000..7b902f97 --- /dev/null +++ b/1729.6d778a11.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[1729],{"./node_modules/@storybook/blocks/dist/Color-6VNJS4EI.mjs":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ColorControl:function(){return ColorControl},default:function(){return Color_default}});var chunk_GWAJ4KRU=__webpack_require__("./node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),react=__webpack_require__("./node_modules/react/index.js");function u(){return(u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=(0,react.useRef)(e),n=(0,react.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return(0,react.useEffect)((function(){return H}),[H]),react.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},N=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},k=function(e){var r=y(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return"#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=react.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react.createElement("div",{className:o},react.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},react.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))})),T=react.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return react.createElement("div",{className:"react-colorful__saturation",style:o},react.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))})),F=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},P=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=(0,react.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=(0,react.useRef)({color:t,hsva:s});(0,react.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),(0,react.useEffect)((function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=(0,react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var R,ColorSpace2,V="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,J=new Map,Q=function(e){V((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=R||__webpack_require__.nc;n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+k(Object.assign({},n,{a:0}))+", "+k(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]),u=b(100*n.a);return react.createElement("div",{className:l},react.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},react.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h}),react.createElement(ee,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:k,equal:P},Ee={defaultColor:"rgba(0, 0, 0, 1)",toHsva:z,fromHsva:function(e){var r=I(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:P},color_convert=__webpack_require__("./node_modules/@storybook/blocks/node_modules/color-convert/index.js"),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__("./node_modules/lodash/throttle.js"),throttle_default=__webpack_require__.n(throttle),dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/theming/dist/index.mjs"),components_dist=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/index.mjs"),Wrapper=dist.zo.div({position:"relative",maxWidth:250}),PickerTooltip=(0,dist.zo)(components_dist.Rl)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=dist.zo.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=(0,dist.zo)(components_dist.gu)((({theme:theme})=>({fontFamily:theme.typography.fonts.base}))),Swatches=dist.zo.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=dist.zo.div((({theme:theme,active:active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius}))),Swatch=({value:value,active:active,onClick:onClick,style:style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), url('data:image/svg+xml;charset=utf-8,'), linear-gradient(#fff, #fff)`;return react.createElement(SwatchColor,{...props,active:active,onClick:onClick,style:{...style,backgroundImage:backgroundImage}})},Input=(0,dist.zo)(components_dist.l0.Input)((({theme:theme})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:theme.typography.fonts.base}))),ToggleIcon=(0,dist.zo)(components_dist.PJ)((({theme:theme})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:theme.input.color}))),ColorSpace=((ColorSpace2=ColorSpace||{}).RGB="rgb",ColorSpace2.HSL="hsl",ColorSpace2.HEX="hex",ColorSpace2),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker={hex:function(r){return react.createElement(U,u({},r,{colorModel:W}))},rgb:function(r){return react.createElement(re,u({},r,{colorModel:Ee}))},hsl:function(r){return react.createElement(re,u({},r,{colorModel:le}))}},fallbackColor={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return[0,0,0,1];let[,x,y,z,a=1]=match;return[x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=color_convert_default().rgb.hsl([r,g,b])||[0,0,0];return{valid:valid,value:value,keyword:color_convert_default().rgb.keyword([r,g,b]),colorSpace:"rgb",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${color_convert_default().rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=color_convert_default().hsl.rgb([h,s,l])||[0,0,0];return{valid:valid,value:value,keyword:color_convert_default().hsl.keyword([h,s,l]),colorSpace:"hsl",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${color_convert_default().hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace("#",""),rgb=color_convert_default().keyword.rgb(plain)||color_convert_default().hex.rgb(plain),hsl=color_convert_default().rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default().keyword.hex(mapped)}catch{valid=!1}return{valid:valid,value:mapped,keyword:color_convert_default().rgb.keyword(rgb),colorSpace:"hex",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},useColorInput=(initialValue,onChange)=>{let[value,setValue]=(0,react.useState)(initialValue||""),[color,setColor]=(0,react.useState)((()=>parseValue(value))),[colorSpace,setColorSpace]=(0,react.useState)(color?.colorSpace||"hex");(0,react.useEffect)((()=>{let nextValue=initialValue||"",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||"hex")}),[initialValue]);let realValue=(0,react.useMemo)((()=>((value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if("hex"!==colorSpace)return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return`#${color_convert_default().keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split("");return`#${r}${r}${g}${g}${b}${b}`})(value,color,colorSpace).toLowerCase()),[value,color,colorSpace]),updateValue=(0,react.useCallback)((update=>{let parsed=parseValue(update),v=parsed?.value||update||"";setValue(v),""===v&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=(0,react.useCallback)((()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=value=>value.replace(/\s*/,"").toLowerCase(),ColorControl=({name:name,value:initialValue,onChange:onChange,onFocus:onFocus,onBlur:onBlur,presetColors:presetColors,startOpen:startOpen=!1})=>{let throttledOnChange=(0,react.useCallback)(throttle_default()(onChange,200),[onChange]),{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets:presets,addPreset:addPreset}=((presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=(0,react.useState)(currentColor?.valid?[currentColor]:[]);(0,react.useEffect)((()=>{void 0===currentColor&&setSelectedColors([])}),[currentColor]);let presets=(0,react.useMemo)((()=>(presetColors||[]).map((preset=>"string"==typeof preset?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color))).concat(selectedColors).filter(Boolean).slice(-27)),[presetColors,selectedColors]),addPreset=(0,react.useCallback)((color=>{color?.valid&&(presets.some((preset=>id(preset[colorSpace])===id(color[colorSpace])))||setSelectedColors((arr=>arr.concat(color))))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}})(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return react.createElement(Wrapper,null,react.createElement(PickerTooltip,{startOpen:startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:react.createElement(TooltipContent,null,react.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react.createElement(Swatches,null,presets.map(((preset,index)=>react.createElement(components_dist.Rl,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:react.createElement(Note,{note:preset.keyword||preset.value})},react.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)}))))))},react.createElement(Swatch,{value:realValue,style:{margin:4}})),react.createElement(Input,{id:(0,chunk_GWAJ4KRU.d)(name),value:value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:"Choose color..."}),value?react.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}):null)},Color_default=ColorControl},"./node_modules/@storybook/blocks/node_modules/color-convert/conversions.js":function(module,__unused_webpack_exports,__webpack_require__){const cssKeywords=__webpack_require__("./node_modules/@storybook/blocks/node_modules/color-name/index.js"),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},"./node_modules/@storybook/blocks/node_modules/color-convert/index.js":function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__("./node_modules/@storybook/blocks/node_modules/color-convert/conversions.js"),route=__webpack_require__("./node_modules/@storybook/blocks/node_modules/color-convert/route.js"),convert={};Object.keys(conversions).forEach((fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach((toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))})),module.exports=convert},"./node_modules/@storybook/blocks/node_modules/color-convert/route.js":function(module,__unused_webpack_exports,__webpack_require__){const conversions=__webpack_require__("./node_modules/@storybook/blocks/node_modules/color-convert/conversions.js");function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},"./node_modules/lodash/now.js":function(module,__unused_webpack_exports,__webpack_require__){var root=__webpack_require__("./node_modules/lodash/_root.js");module.exports=function(){return root.Date.now()}},"./node_modules/lodash/throttle.js":function(module,__unused_webpack_exports,__webpack_require__){var debounce=__webpack_require__("./node_modules/lodash/debounce.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js");module.exports=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading:leading,maxWait:wait,trailing:trailing})}},"./node_modules/lodash/toNumber.js":function(module,__unused_webpack_exports,__webpack_require__){var baseTrim=__webpack_require__("./node_modules/lodash/_baseTrim.js"),isObject=__webpack_require__("./node_modules/lodash/isObject.js"),isSymbol=__webpack_require__("./node_modules/lodash/isSymbol.js"),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}}}]); \ No newline at end of file diff --git a/2487.8a2dcce4.iframe.bundle.js b/2487.8a2dcce4.iframe.bundle.js new file mode 100644 index 00000000..2e9b5554 --- /dev/null +++ b/2487.8a2dcce4.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[2487],{"./src/components/GridCellFiller.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{U:function(){return GridCellFiller},Yf:function(){return isGridCellFiller},zm:function(){return GridCellFillerColId}});var GridCellFillerColId="gridCellFiller",isGridCellFiller=function isGridCellFiller(col){return col.colId===GridCellFillerColId},GridCellFiller=function GridCellFiller(){return{colId:GridCellFillerColId,headerName:"",flex:1}};try{isGridCellFiller.displayName="isGridCellFiller",isGridCellFiller.__docgenInfo={description:"",displayName:"isGridCellFiller",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/GridCellFiller.tsx#isGridCellFiller"]={docgenInfo:isGridCellFiller.__docgenInfo,name:"isGridCellFiller",path:"src/components/GridCellFiller.tsx#isGridCellFiller"})}catch(__react_docgen_typescript_loader_error){}},"./src/index.ts":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Kk:function(){return ActionButton.K},ML:function(){return components.ML},Xq:function(){return FormError.X},rj:function(){return components.rj},r8:function(){return components.r8},hE:function(){return components.hE},_p:function(){return GridContext._},dD:function(){return GridContextProvider},Zq:function(){return components.Zq},Em:function(){return components.Em},Mu:function(){return components.Mu},Vr:function(){return components.Vr},Dz:function(){return components.Dz},$E:function(){return components.$E},Z5:function(){return components.Z5},BW:function(){return components.BW},Xy:function(){return components.Xy},i$:function(){return components.i$},aV:function(){return components.aV},US:function(){return components.US},wZ:function(){return components.wZ},Io:function(){return components.Io},Oi:function(){return components.Oi},ps:function(){return components.ps},ws:function(){return components.ws},e:function(){return components.e},dB:function(){return components.dB},w5:function(){return components.w5},T2:function(){return components.T2},xe:function(){return components.xe},NO:function(){return components.NO},JK:function(){return components.JK},Vd:function(){return components.Vd},If:function(){return components.If},zo:function(){return GridUpdatingContextProvider},zc:function(){return components.zc},TI:function(){return components.TI},sN:function(){return react_menu3.sN},Cl:function(){return components.Cl},o6:function(){return components.o6},lX:function(){return components.lX},Q7:function(){return util.Q7},Lb:function(){return components.Lb},rI:function(){return GridPopoverContext.r},Kj:function(){return components.Kj},Dc:function(){return util.Dc}});var components=__webpack_require__("./src/components/index.ts"),GridContext=__webpack_require__("./src/contexts/GridContext.tsx"),objectSpread2=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/objectSpread2.js"),toConsumableArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js"),regeneratorRuntime=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),dist=__webpack_require__("./node_modules/debounce-promise/dist/index.js"),dist_default=__webpack_require__.n(dist),pull=__webpack_require__("./node_modules/lodash-es/pull.js"),defer=__webpack_require__("./node_modules/lodash-es/defer.js"),compact=__webpack_require__("./node_modules/lodash-es/compact.js"),difference=__webpack_require__("./node_modules/lodash-es/difference.js"),filter=__webpack_require__("./node_modules/lodash-es/filter.js"),isEmpty=__webpack_require__("./node_modules/lodash-es/isEmpty.js"),delay=__webpack_require__("./node_modules/lodash-es/delay.js"),sortBy=__webpack_require__("./node_modules/lodash-es/sortBy.js"),last=__webpack_require__("./node_modules/lodash-es/last.js"),sumBy=__webpack_require__("./node_modules/lodash-es/sumBy.js"),remove=__webpack_require__("./node_modules/lodash-es/remove.js"),react=__webpack_require__("./node_modules/react/index.js"),GridCellFiller=__webpack_require__("./src/components/GridCellFiller.tsx"),getColId=function getColId(colDef){var _colDef$colId;return null!==(_colDef$colId=colDef.colId)&&void 0!==_colDef$colId?_colDef$colId:""},isFlexColumn=function isFlexColumn(colDef){return!!colDef.flex&&!(0,GridCellFiller.Yf)(colDef)},util=__webpack_require__("./src/utils/util.ts"),GridUpdatingContext=__webpack_require__("./src/contexts/GridUpdatingContext.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),GridContextProvider=function GridContextProvider(props){var _useContext=(0,react.useContext)(GridUpdatingContext.y),modifyUpdating=_useContext.modifyUpdating,checkUpdating=_useContext.checkUpdating,_useState=(0,react.useState)(),_useState2=(0,slicedToArray.Z)(_useState,2),gridApi=_useState2[0],setGridApi=_useState2[1],_useState3=(0,react.useState)(),_useState4=(0,slicedToArray.Z)(_useState3,2),columnApi=_useState4[0],setColumnApi=_useState4[1],_useState5=(0,react.useState)(!1),_useState6=(0,slicedToArray.Z)(_useState5,2),gridReady=_useState6[0],setGridReady=_useState6[1],_useState7=(0,react.useState)(""),_useState8=(0,slicedToArray.Z)(_useState7,2),quickFilter=_useState8[0],setQuickFilter=_useState8[1],_useState9=(0,react.useState)(),_useState10=(0,slicedToArray.Z)(_useState9,2),invisibleColumnIds=_useState10[0],_setInvisibleColumnIds=_useState10[1],testId=(0,react.useRef)(),idsBeforeUpdate=(0,react.useRef)([]),prePopupFocusedCell=(0,react.useRef)(),_useState11=(0,react.useState)(!1),_useState12=(0,slicedToArray.Z)(_useState11,2),externallySelectedItemsAreInSync=_useState12[0],setExternallySelectedItemsAreInSync=_useState12[1],externalFilters=(0,react.useRef)([]);(0,react.useEffect)((function(){null==gridApi||gridApi.setQuickFilter(quickFilter)}),[gridApi,quickFilter]);var gridApiOp=(0,react.useCallback)((function(hasApiFn,noApiFn){return noApiFn||(noApiFn=function noApiFn(){}),gridApi?hasApiFn(gridApi):noApiFn()}),[gridApi]),ensureRowVisible=(0,react.useCallback)((function(id){if(!gridApi)return!1;var node=null==gridApi?void 0:gridApi.getRowNode("".concat(id));return!!node&&((0,defer.Z)((function(){return gridApi.ensureNodeVisible(node)})),!0)}),[gridApi]),getFirstRowId=(0,react.useCallback)((function(){var id=0;try{null==gridApi||gridApi.forEachNodeAfterFilterAndSort((function(rowNode){var _rowNode$id;throw id=parseInt(null!==(_rowNode$id=rowNode.id)&&void 0!==_rowNode$id?_rowNode$id:"0"),"expected exception - exit_loop"}))}catch(ex){}return id}),[gridApi]),setApis=(0,react.useCallback)((function(gridApi,columnApi,dataTestId){testId.current=dataTestId,setGridApi(gridApi),setColumnApi(columnApi),null==gridApi||gridApi.setQuickFilter(quickFilter),setGridReady(!!gridApi)}),[quickFilter]);(0,react.useEffect)((function(){var globalSupport=window.__stepAgGrid||(window.__stepAgGrid={grids:{}});testId.current&&(globalSupport.grids[testId.current]={scrollRowIntoViewById:function scrollRowIntoViewById(rowId){if(!ensureRowVisible(rowId))throw"scrollRowIntoView failed on grid '".concat(testId.current,"' as row with id: '").concat(rowId,"' was not found")}})}),[ensureRowVisible]);var prePopupOps=(0,react.useCallback)((function(){var _gridApi$getFocusedCe;prePopupFocusedCell.current=null!==(_gridApi$getFocusedCe=null==gridApi?void 0:gridApi.getFocusedCell())&&void 0!==_gridApi$getFocusedCe?_gridApi$getFocusedCe:void 0}),[gridApi]),postPopupOps=(0,react.useCallback)((function(){gridApi&&prePopupFocusedCell.current&&(null==gridApi||gridApi.setFocusedCell(prePopupFocusedCell.current.rowIndex,prePopupFocusedCell.current.column))}),[gridApi]),_getAllRowIds=(0,react.useCallback)((function(){var result=[];return gridApiOp((function(gridApi){return gridApi.forEachNode((function(node){return result.push(node.data.id)})),result}),(function(){return result}))}),[gridApiOp]),beforeUpdate=(0,react.useCallback)((function(){idsBeforeUpdate.current=_getAllRowIds()}),[_getAllRowIds]),_getNewNodes=(0,react.useCallback)((function(){return gridApiOp((function(gridApi){return(0,compact.Z)((0,difference.Z)(_getAllRowIds(),idsBeforeUpdate.current).map((function(rowId){return gridApi.getRowNode(""+rowId)})))}),(function(){return[]}))}),[_getAllRowIds,gridApiOp]),_rowIdsToNodes=(0,react.useCallback)((function(rowIds){return gridApiOp((function(gridApi){return(0,compact.Z)(rowIds.map((function(rowId){return gridApi.getRowNode(""+rowId)})))}),(function(){return[]}))}),[gridApiOp]),getColumns=(0,react.useCallback)((function(){var _columnApi$getAllColu,_columnApi$getAllColu2,filterDef=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return(0,filter.Z)(null!==(_columnApi$getAllColu=null==columnApi||null===(_columnApi$getAllColu2=columnApi.getAllColumns())||void 0===_columnApi$getAllColu2?void 0:_columnApi$getAllColu2.map((function(col){return col.getColDef()})))&&void 0!==_columnApi$getAllColu?_columnApi$getAllColu:[],filterDef)}),[columnApi]),getColumnIds=(0,react.useCallback)((function(){var filterDef=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};return(0,compact.Z)(getColumns(filterDef).map(getColId))}),[getColumns]),_selectRowsWithOptionalFlash=(0,react.useCallback)((function(_ref){var rowIds=_ref.rowIds,select=_ref.select,flash=_ref.flash,_ref$ifNoCellFocused=_ref.ifNoCellFocused,ifNoCellFocused=void 0!==_ref$ifNoCellFocused&&_ref$ifNoCellFocused,_ref$retryCount=_ref.retryCount,retryCount=void 0===_ref$retryCount?15:_ref$retryCount;return gridApiOp((function(gridApi){var rowNodes=rowIds?_rowIdsToNodes(rowIds):_getNewNodes(),gridRowIdsNotUpdatedYet=rowIds&&rowNodes.length!==rowIds.length,gridRowIdsNotChangedYet=!rowIds&&(0,isEmpty.Z)(rowNodes);if((gridRowIdsNotUpdatedYet||gridRowIdsNotChangedYet)&&retryCount>0)(0,delay.Z)((function(){return _selectRowsWithOptionalFlash({rowIds:rowIds,select:select,flash:flash,ifNoCellFocused:ifNoCellFocused,retryCount:retryCount-1})}),250);else{var _gridApi$getSelectedN,rowsThatNeedSelecting=(0,sortBy.Z)(rowNodes.filter((function(node){return!node.isSelected()})),(function(node){return node.data.id})),firstNode=rowsThatNeedSelecting[0];if(firstNode){(0,defer.Z)((function(){return gridApi.ensureNodeVisible(firstNode)}));var colDefs=getColumns();if(!(0,isEmpty.Z)(colDefs)){var col=colDefs[0],rowIndex=firstNode.rowIndex;if(null!=rowIndex&&null!=col){var colId=col.colId;colId&&(0,delay.Z)((function(){!(0,isEmpty.Z)(gridApi.getEditingCells())||ifNoCellFocused&&null!=gridApi.getFocusedCell()||gridApi.setFocusedCell(rowIndex,colId)}),100)}}}if(select)rowsThatNeedSelecting.forEach((function(node){return node.setSelected(!0)})),null===(_gridApi$getSelectedN=gridApi.getSelectedNodes())||void 0===_gridApi$getSelectedN||_gridApi$getSelectedN.forEach((function(node){node&&!rowNodes.includes(node)&&node.setSelected(!1)}));flash&&(0,delay.Z)((function(){try{gridApi.flashCells({rowNodes:rowNodes})}catch(_unused){}}),250)}}))}),[_getNewNodes,_rowIdsToNodes,getColumns,gridApiOp]),selectRowsById=(0,react.useCallback)((function(rowIds){return _selectRowsWithOptionalFlash({rowIds:rowIds,select:!0,flash:!1})}),[_selectRowsWithOptionalFlash]),selectRowsByIdWithFlash=(0,react.useCallback)((function(rowIds){return _selectRowsWithOptionalFlash({rowIds:rowIds,select:!0,flash:!0})}),[_selectRowsWithOptionalFlash]),flashRows=(0,react.useCallback)((function(rowIds){return _selectRowsWithOptionalFlash({rowIds:rowIds,select:!1,flash:!0})}),[_selectRowsWithOptionalFlash]),selectRowsDiff=(0,react.useCallback)(function(){var _ref2=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee(fn){return(0,regeneratorRuntime.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return beforeUpdate(),_context.next=3,fn();case 3:_selectRowsWithOptionalFlash({rowIds:void 0,select:!0,flash:!1});case 4:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref2.apply(this,arguments)}}(),[_selectRowsWithOptionalFlash,beforeUpdate]),selectRowsWithFlashDiff=(0,react.useCallback)(function(){var _ref3=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee2(fn){return(0,regeneratorRuntime.Z)().wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return beforeUpdate(),_context2.next=3,fn();case 3:_selectRowsWithOptionalFlash({rowIds:void 0,select:!0,flash:!0});case 4:case"end":return _context2.stop()}}),_callee2)})));return function(_x2){return _ref3.apply(this,arguments)}}(),[_selectRowsWithOptionalFlash,beforeUpdate]),flashRowsDiff=(0,react.useCallback)(function(){var _ref4=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee3(fn){return(0,regeneratorRuntime.Z)().wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return beforeUpdate(),_context3.next=3,fn();case 3:_selectRowsWithOptionalFlash({rowIds:void 0,select:!1,flash:!0});case 4:case"end":return _context3.stop()}}),_callee3)})));return function(_x3){return _ref4.apply(this,arguments)}}(),[_selectRowsWithOptionalFlash,beforeUpdate]),focusByRowById=(0,react.useCallback)((function(rowId,ifNoCellFocused){return _selectRowsWithOptionalFlash({rowIds:[rowId],select:!1,flash:!1,ifNoCellFocused:ifNoCellFocused})}),[_selectRowsWithOptionalFlash]),getSelectedRows=(0,react.useCallback)((function(){return gridApiOp((function(gridApi){return gridApi.getSelectedRows()}),(function(){return[]}))}),[gridApiOp]),getFilteredSelectedRows=(0,react.useCallback)((function(){return gridApiOp((function(gridApi){var rowData=[];return gridApi.forEachNodeAfterFilter((function(node){node.isSelected()&&rowData.push(node.data)})),rowData}))}),[gridApiOp]),getSelectedRowIds=(0,react.useCallback)((function(){return getSelectedRows().map((function(row){return row.id}))}),[getSelectedRows]),getFilteredSelectedRowIds=(0,react.useCallback)((function(){return getFilteredSelectedRows().map((function(row){return row.id}))}),[getFilteredSelectedRows]),editingCells=(0,react.useCallback)((function(){return gridApiOp((function(gridApi){return(0,util.UE)(gridApi.getEditingCells())}),(function(){return!1}))}),[gridApiOp]),ensureSelectedRowIsVisible=(0,react.useCallback)((function(){gridApiOp((function(gridApi){var selectedNodes=gridApi.getSelectedNodes();(0,isEmpty.Z)(selectedNodes)||(0,defer.Z)((function(){return gridApi.ensureNodeVisible((0,last.Z)(selectedNodes))}))}))}),[gridApiOp]),autoSizeColumns=(0,react.useCallback)((function(){var _ref5=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},skipHeader=_ref5.skipHeader,colIds=_ref5.colIds,userSizedColIds=_ref5.userSizedColIds;if(!columnApi)return null;var colIdsSet=colIds instanceof Set?colIds:new Set(null!=colIds?colIds:[]);return columnApi.getColumnState().forEach((function(col){var colId=col.colId;!(0,isEmpty.Z)(colIdsSet)&&!colIdsSet.has(colId)||null!=userSizedColIds&&userSizedColIds.has(colId)||columnApi.autoSizeColumn(colId,skipHeader)})),{width:(0,sumBy.Z)(columnApi.getColumnState().filter((function(col){return!col.hide})),"width")}}),[columnApi]),sizeColumnsToFit=(0,react.useCallback)((function(){gridApi&&gridApi.sizeColumnsToFit()}),[gridApi]),stopEditing=(0,react.useCallback)((function(){gridApi&&(prePopupFocusedCell.current&&(null==gridApi||gridApi.setFocusedCell(prePopupFocusedCell.current.rowIndex,prePopupFocusedCell.current.column)),gridApi.stopEditing())}),[gridApi]),startCellEditing=(0,react.useCallback)(function(){var _ref7=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee4(_ref6){var _colDef$field,rowId,colId,colDef,rowNode,rowIndex,focusAndEdit;return(0,regeneratorRuntime.Z)().wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:if(rowId=_ref6.rowId,colId=_ref6.colId,gridApi){_context4.next=3;break}return _context4.abrupt("return");case 3:if(colDef=gridApi.getColumnDef(colId)){_context4.next=6;break}return _context4.abrupt("return");case 6:if(prePopupOps(),rowNode=gridApi.getRowNode("".concat(rowId))){_context4.next=10;break}return _context4.abrupt("return");case 10:if(rowNode.isSelected()||rowNode.setSelected(!0,!0),!checkUpdating([null!==(_colDef$field=colDef.field)&&void 0!==_colDef$field?_colDef$field:""],rowId)){_context4.next=13;break}return _context4.abrupt("return");case 13:null!=(rowIndex=rowNode.rowIndex)&&(focusAndEdit=function focusAndEdit(){gridApi.startEditingCell({rowIndex:rowIndex,colKey:colId})},(0,defer.Z)(focusAndEdit));case 15:case"end":return _context4.stop()}}),_callee4)})));return function(_x4){return _ref7.apply(this,arguments)}}(),[checkUpdating,gridApi,prePopupOps]),cancelEdit=(0,react.useCallback)((function(){stopEditing(),cellEditingCompleteCallbackRef.current&&cellEditingCompleteCallbackRef.current()}),[stopEditing]),cellEditingCompleteCallbackRef=(0,react.useRef)(),setOnCellEditingComplete=(0,react.useCallback)((function(cellEditingCompleteCallback){cellEditingCompleteCallbackRef.current=cellEditingCompleteCallback}),[]),selectNextEditableCell=(0,react.useCallback)((function(tabDirection){if(!gridApi)return!0;for(var focusedCellIsEditable=function focusedCellIsEditable(){var _nextColDef$cellEdito,_nextColDef$cellRende,focusedCell=gridApi.getFocusedCell(),nextColumn=null==focusedCell?void 0:focusedCell.column,nextColDef=null==nextColumn?void 0:nextColumn.getColDef(),rowNode=focusedCell&&gridApi.getDisplayedRowAtIndex(null==focusedCell?void 0:focusedCell.rowIndex);return!!(rowNode&&nextColumn&&nextColDef)&&nextColumn.isCellEditable(rowNode)&&!(null!==(_nextColDef$cellEdito=nextColDef.cellEditorParams)&&void 0!==_nextColDef$cellEdito&&_nextColDef$cellEdito.preventAutoEdit)&&!(null!==(_nextColDef$cellRende=nextColDef.cellRendererParams)&&void 0!==_nextColDef$cellRende&&_nextColDef$cellRende.editAction)},maxIterations=0;maxIterations<50;maxIterations++){var preRow=gridApi.getFocusedCell();1===tabDirection?gridApi.tabToNextCell():gridApi.tabToPreviousCell();var postRow=gridApi.getFocusedCell();if((null==preRow?void 0:preRow.rowIndex)!==(null==postRow?void 0:postRow.rowIndex)||(null==preRow?void 0:preRow.column)===(null==postRow?void 0:postRow.column))break;if(focusedCellIsEditable()){var focusedCell=null==gridApi?void 0:gridApi.getFocusedCell();if(focusedCell)return prePopupOps(),gridApi.startEditingCell({rowIndex:focusedCell.rowIndex,colKey:focusedCell.column.getColId()}),!0}}return!1}),[gridApi,prePopupOps]),updatingCells=(0,react.useCallback)(function(){var _ref8=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee7(props,fnUpdate,setSaving,tabDirection){return(0,regeneratorRuntime.Z)().wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:return setSaving&&setSaving(!0),_context7.next=3,gridApiOp(function(){var _ref9=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee6(gridApi){var _props$field,selectedRows,ok,cell,postPopupFocusedCell;return(0,regeneratorRuntime.Z)().wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:return selectedRows=props.selectedRows,ok=!1,_context6.next=4,modifyUpdating(null!==(_props$field=props.field)&&void 0!==_props$field?_props$field:"",selectedRows.map((function(data){return data.id})),(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee5(){return(0,regeneratorRuntime.Z)().wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return gridApi.refreshCells({rowNodes:props.selectedRows,force:!0}),_context5.next=3,fnUpdate(selectedRows).catch((function(ex){return console.error("Exception during modifyUpdating",ex),!1}));case 3:ok=_context5.sent;case 4:case"end":return _context5.stop()}}),_callee5)}))));case 4:return gridApi.refreshCells({rowNodes:selectedRows,force:!0}),ok?((cell=gridApi.getFocusedCell())&&null==gridApi.getFocusedCell()&&gridApi.setFocusedCell(cell.rowIndex,cell.column),gridApi.refreshClientSideRowModel()):setSaving&&setSaving(!1),postPopupFocusedCell=gridApi.getFocusedCell(),prePopupFocusedCell.current&&postPopupFocusedCell&&prePopupFocusedCell.current.rowIndex==postPopupFocusedCell.rowIndex&&prePopupFocusedCell.current.column.getColId()==postPopupFocusedCell.column.getColId()&&(tabDirection&&selectNextEditableCell(tabDirection)||cellEditingCompleteCallbackRef.current&&cellEditingCompleteCallbackRef.current()),_context6.abrupt("return",ok);case 9:case"end":return _context6.stop()}}),_callee6)})));return function(_x9){return _ref9.apply(this,arguments)}}());case 3:return _context7.abrupt("return",_context7.sent);case 4:case"end":return _context7.stop()}}),_callee7)})));return function(_x5,_x6,_x7,_x8){return _ref8.apply(this,arguments)}}(),[gridApiOp,modifyUpdating,selectNextEditableCell]),redrawRows=(0,react.useCallback)((function(rowNodes){gridApiOp((function(gridApi){return gridApi.redrawRows(rowNodes?{rowNodes:rowNodes}:void 0)}))}),[gridApiOp]),externallySelectedItemsAreInSyncRef=(0,react.useRef)(!1);(0,react.useEffect)((function(){externallySelectedItemsAreInSyncRef.current=externallySelectedItemsAreInSync}),[externallySelectedItemsAreInSync]);var waitForExternallySelectedItemsToBeInSync=(0,react.useCallback)((0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee8(){var i;return(0,regeneratorRuntime.Z)().wrap((function _callee8$(_context8){for(;;)switch(_context8.prev=_context8.next){case 0:i=0;case 1:if(!(i<25)||externallySelectedItemsAreInSyncRef.current){_context8.next=7;break}return _context8.next=4,(0,util.Dc)(200);case 4:i++,_context8.next=1;break;case 7:case"end":return _context8.stop()}}),_callee8)}))),[]),onFilterChanged=(0,react.useMemo)((function(){return dist_default()((function(){gridApi&&gridApi.onFilterChanged()}),200)}),[gridApi]),getColDef=(0,react.useCallback)((function(colId){return!!colId&&(null==gridApi?void 0:gridApi.getColumnDef(colId))||void 0}),[gridApi]);(0,react.useEffect)((function(){if(columnApi&&invisibleColumnIds){var newVisibleColumns=getColumns((function(col){return!col.lockVisible&&col.colId&&!invisibleColumnIds.includes(col.colId)&&!(0,GridCellFiller.Yf)(col)})),visibleColumnsContainsAFlex=newVisibleColumns.some(isFlexColumn);if(!visibleColumnsContainsAFlex){var fillerColumn=getColumns(GridCellFiller.Yf)[0];fillerColumn&&newVisibleColumns.push(fillerColumn)}columnApi.setColumnsVisible((0,compact.Z)(newVisibleColumns.map(getColId)),!0);var invisibleColumnIdsWithOptionalFiller=visibleColumnsContainsAFlex?[].concat((0,toConsumableArray.Z)(invisibleColumnIds),[GridCellFiller.zm]):invisibleColumnIds;columnApi.setColumnsVisible(invisibleColumnIdsWithOptionalFiller,!1)}}),[invisibleColumnIds,columnApi,getColumns]);var downloadCsv=(0,react.useCallback)((function(csvExportParams){if(gridApi&&columnApi){var fileName=(null==csvExportParams?void 0:csvExportParams.fileName)&&(0,util.fB)(csvExportParams.fileName),columnKeys=null==columnApi?void 0:columnApi.getColumnState().filter((function(cs){var _colDef$headerCompone,colDef=gridApi.getColumnDef(cs.colId);return!cs.hide&&colDef&&!(0,GridCellFiller.Yf)(colDef)&&!1!==(null===(_colDef$headerCompone=colDef.headerComponentParams)||void 0===_colDef$headerCompone?void 0:_colDef$headerCompone.exportable)})).map((function(cs){return cs.colId}));gridApi.exportDataAsCsv((0,objectSpread2.Z)((0,objectSpread2.Z)({columnKeys:columnKeys,processCellCallback:downloadCsvUseValueFormattersProcessCellCallback},csvExportParams),{},{fileName:fileName}))}}),[columnApi,gridApi]);return(0,jsx_runtime.jsx)(GridContext._.Provider,{value:{getColDef:getColDef,getColumns:getColumns,getColumnIds:getColumnIds,invisibleColumnIds:invisibleColumnIds,setInvisibleColumnIds:function setInvisibleColumnIds(invisibleColumnIds){return _setInvisibleColumnIds((0,pull.Z)(invisibleColumnIds,GridCellFiller.zm))},gridReady:gridReady,prePopupOps:prePopupOps,postPopupOps:postPopupOps,setApis:setApis,setQuickFilter:setQuickFilter,selectRowsById:selectRowsById,selectRowsDiff:selectRowsDiff,selectRowsByIdWithFlash:selectRowsByIdWithFlash,selectRowsWithFlashDiff:selectRowsWithFlashDiff,flashRows:flashRows,flashRowsDiff:flashRowsDiff,focusByRowById:focusByRowById,getSelectedRows:getSelectedRows,getFilteredSelectedRows:getFilteredSelectedRows,getSelectedRowIds:getSelectedRowIds,getFilteredSelectedRowIds:getFilteredSelectedRowIds,getFirstRowId:getFirstRowId,editingCells:editingCells,ensureRowVisible:ensureRowVisible,ensureSelectedRowIsVisible:ensureSelectedRowIsVisible,sizeColumnsToFit:sizeColumnsToFit,autoSizeColumns:autoSizeColumns,startCellEditing:startCellEditing,stopEditing:stopEditing,cancelEdit:cancelEdit,updatingCells:updatingCells,redrawRows:redrawRows,externallySelectedItemsAreInSync:externallySelectedItemsAreInSync,setExternallySelectedItemsAreInSync:setExternallySelectedItemsAreInSync,waitForExternallySelectedItemsToBeInSync:waitForExternallySelectedItemsToBeInSync,addExternalFilter:function addExternalFilter(filter){externalFilters.current.push(filter),onFilterChanged().then()},removeExternalFilter:function removeExternalFilter(filter){(0,remove.Z)(externalFilters.current,(function(v){return v===filter})),onFilterChanged().then()},isExternalFilterPresent:function isExternalFilterPresent(){return!(0,isEmpty.Z)(externalFilters.current)},doesExternalFilterPass:function doesExternalFilterPass(node){return externalFilters.current.every((function(filter){return filter(node.data,node)}))},downloadCsv:downloadCsv,setOnCellEditingComplete:setOnCellEditingComplete},children:props.children})},downloadCsvUseValueFormattersProcessCellCallback=function downloadCsvUseValueFormattersProcessCellCallback(params){var _params$column,_params$node,encodeToString=function encodeToString(value){return"-"===value||"–"===value||null==value?"":"string"==typeof value?value:JSON.stringify(value)},colDef=null==params||null===(_params$column=params.column)||void 0===_params$column?void 0:_params$column.getColDef();if(!colDef)return encodeToString(params.value);var valueFormatter=colDef.valueFormatter;if(null==valueFormatter)return null!=params.value&&"string"!=typeof params.value&&console.error("downloadCsv: valueFormatter missing and getValue is not a string, colId: ".concat(colDef.colId)),encodeToString(params.value);if("function"!=typeof valueFormatter)return console.error("downloadCsv: String type (registered) value formatters are unsupported in downloadCsv, colId: ".concat(colDef.colId)),encodeToString(params.value);var result=valueFormatter((0,objectSpread2.Z)((0,objectSpread2.Z)({},params),{},{data:null===(_params$node=params.node)||void 0===_params$node?void 0:_params$node.data,colDef:colDef}));return null!=params.value&&"string"!=typeof result&&console.error('downloadCsv: valueFormatter is returning non string values, colDef:", colId: '.concat(colDef.colId)),encodeToString(result)};try{GridContextProvider.displayName="GridContextProvider",GridContextProvider.__docgenInfo={description:"Context for AgGrid operations.\nMake sure you wrap AgGrid in this.\nAlso, make sure the provider is created in a separate component, otherwise it won't be found.",displayName:"GridContextProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/contexts/GridContextProvider.tsx#GridContextProvider"]={docgenInfo:GridContextProvider.__docgenInfo,name:"GridContextProvider",path:"src/contexts/GridContextProvider.tsx#GridContextProvider"})}catch(__react_docgen_typescript_loader_error){}try{downloadCsvUseValueFormattersProcessCellCallback.displayName="downloadCsvUseValueFormattersProcessCellCallback",downloadCsvUseValueFormattersProcessCellCallback.__docgenInfo={description:"Aggrid defaults to using getters and ignores formatters.\nstep-ag-grid by default has a valueFormatter for every column that defaults to the getter if no valueFormatter\nThis function uses valueFormatter by default",displayName:"downloadCsvUseValueFormattersProcessCellCallback",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/contexts/GridContextProvider.tsx#downloadCsvUseValueFormattersProcessCellCallback"]={docgenInfo:downloadCsvUseValueFormattersProcessCellCallback.__docgenInfo,name:"downloadCsvUseValueFormattersProcessCellCallback",path:"src/contexts/GridContextProvider.tsx#downloadCsvUseValueFormattersProcessCellCallback"})}catch(__react_docgen_typescript_loader_error){}var flatten=__webpack_require__("./node_modules/lodash-es/flatten.js"),castArray=__webpack_require__("./node_modules/lodash-es/castArray.js"),GridUpdatingContextProvider=function GridUpdatingContextProvider(props){var updatingBlocks=(0,react.useRef)({}),updating=(0,react.useRef)({}),_useState=(0,react.useState)(0),_useState2=(0,slicedToArray.Z)(_useState,2),updatedDep=_useState2[0],setUpdatedDep=_useState2[1],resetUpdating=function resetUpdating(){var mergedUpdatingBlocks={};for(var key in updatingBlocks.current){var arr=(0,flatten.Z)(updatingBlocks.current[key]);arr.length&&(mergedUpdatingBlocks[key]=arr)}updating.current=mergedUpdatingBlocks,setUpdatedDep((function(updatedDep){return updatedDep+1}))},modifyUpdating=function(){var _ref=(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee(fields,ids,fn){var idRef;return(0,regeneratorRuntime.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:return idRef=(0,toConsumableArray.Z)(ids),(0,castArray.Z)(fields).forEach((function(field){var _updatingBlocks$curre;(null!==(_updatingBlocks$curre=updatingBlocks.current[field])&&void 0!==_updatingBlocks$curre?_updatingBlocks$curre:updatingBlocks.current[field]=[]).push(idRef)})),resetUpdating(),_context.next=5,fn();case 5:(0,castArray.Z)(fields).forEach((function(field){var fieldUpdatingIds=updatingBlocks.current[field];(0,remove.Z)(fieldUpdatingIds,(function(idList){return idList===idRef}))})),resetUpdating();case 7:case"end":return _context.stop()}}),_callee)})));return function modifyUpdating(_x,_x2,_x3){return _ref.apply(this,arguments)}}();return(0,jsx_runtime.jsx)(GridUpdatingContext.y.Provider,{value:{modifyUpdating:modifyUpdating,checkUpdating:function checkUpdating(fields,id){return(0,castArray.Z)(fields).some((function(f){var _updating$current$f;return null===(_updating$current$f=updating.current[f])||void 0===_updating$current$f?void 0:_updating$current$f.includes(id)}))},updatingCols:function updatingCols(){return Object.keys(updating.current)},updatedDep:updatedDep},children:props.children})};try{GridUpdatingContextProvider.displayName="GridUpdatingContextProvider",GridUpdatingContextProvider.__docgenInfo={description:"",displayName:"GridUpdatingContextProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/contexts/GridUpdatingContextProvider.tsx#GridUpdatingContextProvider"]={docgenInfo:GridUpdatingContextProvider.__docgenInfo,name:"GridUpdatingContextProvider",path:"src/contexts/GridUpdatingContextProvider.tsx#GridUpdatingContextProvider"})}catch(__react_docgen_typescript_loader_error){}var GridPopoverContext=__webpack_require__("./src/contexts/GridPopoverContext.tsx"),ActionButton=(__webpack_require__("./src/contexts/GridPopoverContextProvider.tsx"),__webpack_require__("./src/contexts/GridSubComponentContext.ts"),__webpack_require__("./src/lui/ActionButton.tsx")),FormError=__webpack_require__("./src/lui/FormError.tsx"),react_menu3=(__webpack_require__("./src/lui/TextAreaInput.tsx"),__webpack_require__("./src/lui/TextInputFormatted.tsx"),__webpack_require__("./src/react-menu3/index.ts"));__webpack_require__("./node_modules/@testing-library/react/dist/@testing-library/react.esm.js"),__webpack_require__("./node_modules/@testing-library/user-event/dist/esm/index.js")},"./src/lui/ActionButton.tsx":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{K:function(){return ActionButton_ActionButton}});var regeneratorRuntime=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js"),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"),slicedToArray=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ActionButton=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/lui/ActionButton.scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ActionButton.Z,options),ActionButton.Z&&ActionButton.Z.locals&&ActionButton.Z.locals;var clsx_m=__webpack_require__("./node_modules/clsx/dist/clsx.m.js"),react=__webpack_require__("./node_modules/react/index.js"),lui_esm=__webpack_require__("./node_modules/@linzjs/lui/dist/lui.esm.js"),usePrevious=function usePrevious(value){var ref=(0,react.useRef)();return(0,react.useEffect)((function(){ref.current=value}),[value]),ref.current};try{usePrevious.displayName="usePrevious",usePrevious.__docgenInfo={description:"Track previous values of states.",displayName:"usePrevious",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/lui/reactUtils.tsx#usePrevious"]={docgenInfo:usePrevious.__docgenInfo,name:"usePrevious",path:"src/lui/reactUtils.tsx#usePrevious"})}catch(__react_docgen_typescript_loader_error){}var stateDeferredHook=__webpack_require__("./src/lui/stateDeferredHook.tsx"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),ActionButton_ActionButton=function ActionButton(_ref){var _ref2,_ref3,_ref5,icon=_ref.icon,name=_ref.name,inProgressName=_ref.inProgressName,disabled=_ref.disabled,dataTestId=_ref.dataTestId,style=_ref.style,className=_ref.className,title=_ref.title,onClick=_ref.onClick,_ref$size=_ref.size,size=void 0===_ref$size?"sm":_ref$size,_ref$iconPosition=_ref.iconPosition,iconPosition=void 0===_ref$iconPosition?"left":_ref$iconPosition,_ref$level=_ref.level,level=void 0===_ref$level?"tertiary":_ref$level,ariaLabel=_ref["aria-label"],_useState=(0,react.useState)(!1),_useState2=(0,slicedToArray.Z)(_useState,2),inProgress=_useState2[0],setInProgress=_useState2[1],lastInProgress=usePrevious(null!=inProgress&&inProgress),_useStateDeferred=(0,stateDeferredHook.G)(inProgress),_useStateDeferred2=(0,slicedToArray.Z)(_useStateDeferred,3),localInProgress=_useStateDeferred2[0],setLocalInProgress=_useStateDeferred2[1],setLocalInProgressDeferred=_useStateDeferred2[2];(0,react.useEffect)((function(){inProgress!=lastInProgress&&(inProgress?setLocalInProgress(!0):setLocalInProgressDeferred(!1,950))}),[inProgress,lastInProgress,setLocalInProgress,setLocalInProgressDeferred]);var buttonText=(0,jsx_runtime.jsxs)("span",{className:"ActionButton-minimalArea",children:[(0,jsx_runtime.jsx)("span",{className:"ActionButton-minimalAreaDisplay",children:null!==(_ref2=localInProgress?inProgressName:name)&&void 0!==_ref2?_ref2:name}),(0,jsx_runtime.jsx)("span",{className:"ActionButton-minimalAreaExpand",children:name})]});return(0,jsx_runtime.jsxs)(lui_esm.n8,{"data-testid":dataTestId,type:"button",level:level,title:null!==(_ref3=null!=title?title:ariaLabel)&&void 0!==_ref3?_ref3:name,"aria-label":null!=ariaLabel?ariaLabel:name,className:(0,clsx_m.Z)("lui-button-icon-right","ActionButton",className,localInProgress&&"ActionButton-inProgress",null!=name&&!(null!=className&&className.includes("ActionButton-fill"))&&"ActionButton-minimal",null==name&&"ActionButton-iconOnly"),size:"lg",style:style,onClick:(0,asyncToGenerator.Z)((0,regeneratorRuntime.Z)().mark((function _callee(){var promise,isPromise;return(0,regeneratorRuntime.Z)().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(promise=onClick(),!(isPromise=void 0!==promise)){_context.next=8;break}if(setInProgress(!0),!isPromise){_context.next=7;break}return _context.next=7,promise;case 7:setInProgress(!1);case 8:case"end":return _context.stop()}}),_callee)}))),disabled:localInProgress||disabled,children:["right"===iconPosition&&buttonText,localInProgress?(0,jsx_runtime.jsx)(lui_esm.XQ,{size:16,divProps:{"data-testid":"loading-spinner",style:{margin:0,paddingRight:5,paddingLeft:3,paddingBottom:0,paddingTop:0},role:"status","aria-label":"Loading"}}):(0,jsx_runtime.jsx)(lui_esm.$s,{name:icon,alt:null!==(_ref5=null!=ariaLabel?ariaLabel:name)&&void 0!==_ref5?_ref5:"",size:size}),"left"===iconPosition&&buttonText]})};try{ActionButton_ActionButton.displayName="ActionButton",ActionButton_ActionButton.__docgenInfo={description:"",displayName:"ActionButton",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string"}},inProgressName:{defaultValue:null,description:"",name:"inProgressName",required:!1,type:{name:"string"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},dataTestId:{defaultValue:null,description:"",name:"dataTestId",required:!1,type:{name:"string"}},size:{defaultValue:{value:"sm"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"xs"'},{value:'"sm"'},{value:'"md"'},{value:'"lg"'},{value:'"xl"'},{value:'"ns"'}]}},iconPosition:{defaultValue:{value:"left"},description:"",name:"iconPosition",required:!1,type:{name:"enum",value:[{value:'"left"'},{value:'"right"'}]}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void | Promise"}},level:{defaultValue:{value:"tertiary"},description:"",name:"level",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"plain-text"'},{value:'"primary"'},{value:'"secondary"'},{value:'"tertiary"'},{value:'"success"'},{value:'"error"'}]}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/lui/ActionButton.tsx#ActionButton"]={docgenInfo:ActionButton_ActionButton.__docgenInfo,name:"ActionButton",path:"src/lui/ActionButton.tsx#ActionButton"})}catch(__react_docgen_typescript_loader_error){}},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/lui/ActionButton.scss":function(module,__webpack_exports__,__webpack_require__){var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".ActionButton{display:flex;align-items:center}.ActionButton-minimal.lui-button-lg.lui-button-icon-right{padding-right:38px}.ActionButton.lui-button-lg.lui-button-icon-right:not(.ActionButton-tight) .LuiIcon{margin:0 4px}.ActionButton.ActionButton-tight.lui-button-lg.lui-button-icon-right .LuiIcon{margin:0}.ActionButton-iconOnly.lui-button-lg.lui-button-icon-right:not(.ActionButton-tight){padding:8px 5px}.ActionButton-iconOnly.lui-button-lg.lui-button-icon-right.ActionButton-tight{padding:0}.ActionButton-minimalArea{position:relative}.ActionButton-minimalAreaDisplay{position:absolute}.ActionButton-minimalAreaExpand{visibility:hidden}.ActionButton-inProgress.lui-button-lg.lui-button-icon-right{cursor:progress;color:#007198;background-color:#e2f3f7}.ActionButton-inProgress.lui-button-lg.lui-button-icon-right svg *{fill:rgba(0,0,0,0)}.ActionButton-fill{width:100%;justify-content:center}","",{version:3,sources:["webpack://./src/lui/ActionButton.scss","webpack://./node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars.scss"],names:[],mappings:"AAEA,cACE,YAAA,CACA,kBAAA,CAGF,0DACE,kBAAA,CAGF,oFACE,YAAA,CAGF,8EACE,QAAA,CAGF,oFACE,eAAA,CAGF,8EACE,SAAA,CAGF,0BACE,iBAAA,CAGF,iCACE,iBAAA,CAGF,gCACE,iBAAA,CAGF,6DACE,eAAA,CACA,aAAA,CACA,wBC1BM,CD4BN,mEACE,kBAAA,CAIJ,mBACE,UAAA,CACA,sBAAA",sourcesContent:['@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars" as colors;\n\n.ActionButton {\n display: flex;\n align-items: center;\n}\n\n.ActionButton-minimal.lui-button-lg.lui-button-icon-right {\n padding-right: 38px;\n}\n\n.ActionButton.lui-button-lg.lui-button-icon-right:not(.ActionButton-tight) .LuiIcon {\n margin: 0 4px;\n}\n\n.ActionButton.ActionButton-tight.lui-button-lg.lui-button-icon-right .LuiIcon {\n margin: 0;\n}\n\n.ActionButton-iconOnly.lui-button-lg.lui-button-icon-right:not(.ActionButton-tight) {\n padding: 8px 5px;\n}\n\n.ActionButton-iconOnly.lui-button-lg.lui-button-icon-right.ActionButton-tight {\n padding: 0;\n}\n\n.ActionButton-minimalArea {\n position: relative;\n}\n\n.ActionButton-minimalAreaDisplay {\n position: absolute;\n}\n\n.ActionButton-minimalAreaExpand {\n visibility: hidden;\n}\n\n.ActionButton-inProgress.lui-button-lg.lui-button-icon-right {\n cursor: progress;\n color: #007198;\n background-color: colors.$polar;\n\n svg * {\n fill: transparent;\n }\n}\n\n.ActionButton-fill {\n width: 100%;\n justify-content: center;\n}\n\n',"@use \"sass:color\";\n// ============\n// Colours\n// ============\n\n// Colours are hard. We've remapped the names in FigLui so that's what's below.\n\n// ----------------------------\n// Brand\n// ----------------------------\n\n// Blues\n$teal: #00425d;\n$sea: #007198;\n$electric: #0096cc;\n$spray: #73c8e1;\n$polar: #e2f3f7;\n$linz-linear-gradient-blue: linear-gradient(70deg, $teal 12%, $sea 100%);\n\n// Teals\n$sherpa: #004b50;\n$surfie: #017a76;\n$persian: #00a599;\n$downy: #73cdc8;\n$iceberg: #dcf5f0;\n$linz-linear-gradient-teal: linear-gradient(270deg, $persian 1%, $downy 100%);\n\n// Greens\n$sacramento: #004e32;\n$salem: #08814d;\n$pigment: #0aa245;\n$granny: #9bd79b;\n$panache: #e9fae7;\n\n// ----------------------------\n// Neutrals\n// ----------------------------\n\n$charcoal: #2a292c;\n$fuscous: #6b6966;\n$gray: #989189;\n$silver: #beb9b4;\n$lily: #eaeaea;\n$dew: #DAD7D6;\n$hint: #f9f9f9;\n$snow: #ffffff;\n$white: $snow;\n\n// ----------------------------\n// Reserved\n// ----------------------------\n\n$engine: #cc0000;\n$carrot: #EA6A2E;\n$kendall: #F5CCCC;\n$elizabeth: #FBDED0;\n$andrea: #3A7CDF;\n$celestial: #D7E5F9;\n$golf: #0AA345;\n$memesia: #1F69C3;\n\n\n// error\n$error: $engine;\n$error-bg: $kendall; \n$error-focus: #5a0000;\n\n// warning\n$warning: $carrot;\n$warning-bg: #fbdfd2;\n$warning-focus: #b33a01;\n\n// info\n$info: $andrea;\n$info-bg: #d8e5f9;\n\n// success\n$success: $pigment;\n$success-bg: $panache;\n\n// text link\n$txt-link: $memesia;\n$test-pink: #f09;\n\n// --------------------------------------------------------\n// Deprecated variable sets\n// --------------------------------------------------------\n\n$grey-80: $charcoal;\n$grey-60: $fuscous;\n$grey-30: $gray;\n$grey-20: $silver;\n$grey-10: $lily;\n$grey-05: $hint;\n\n$blue-100: $teal;\n$blue-75: $sea;\n$blue-50: $electric;\n$blue-25: $spray;\n$blue-05: $polar;\n\n$teal-100: $sherpa;\n$teal-75: $surfie;\n$teal-50: $persian;\n$teal-25: $downy;\n$teal-05: $iceberg;\n\n$green-100: $sacramento;\n$green-75: $salem;\n$green-50: $pigment;\n$green-25: $granny;\n$green-05: $panache;\n\n$brand-primary: $sherpa;\n$brand-secondary: $surfie;\n\n// System colours\n\n$visited: $teal;\n$selection: lighten($spray, 20%);\n\n// restricted colours for btn hover states\n$primary-hover-btn: #005678;\n$primary-active-btn: $teal;\n\n$secondary-hover-btn: $polar;\n$secondary-active-btn: $sea;\n\n$tertiary-hover-btn: $polar;\n$tertiary-active-btn: $sea;\n$tertiary-btn: #f0f;\n\n$green-hover: #107c3a;\n$green-active: #094a22;\n$green-btn: $success;\n\n$error-hover-btn: #8f0000;\n$error-active-btn: #5a0000;\n\n//Restricted colours for spatial maps\n$hot-pink: #f81bef;\n\n//Type\n$heading-color: $surfie;\n$heading-color--secondary: $charcoal;\n$base-type-color: $charcoal;\n\n// Icons, inputs & radio/checkboxes\n$input-text: $charcoal;\n$input-placeholder: $fuscous;\n$input-placeholder-when-disabled: $gray;\n$base-icon-color: $sea;\n$disabled-color: $gray;\n$disabled-bg-color: $lily;\n$disabled-color-dark: $fuscous;\n$input-focus: $teal;\n\n//LINZ public site colour variables\n\n$linz-color-primary: #023d48;\n$linz-color-primary-hover: #01818a;\n\n$linz-color-tertiary: #e1e44a;\n$linz-color-tertiary-hover: #cdcf59;\n"],sourceRoot:""}]),__webpack_exports__.Z=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/styles/index.scss":function(module,__webpack_exports__,__webpack_require__){var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'.step-ag-grid-react-menu ::-webkit-scrollbar{width:20px}.step-ag-grid-react-menu ::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.step-ag-grid-react-menu ::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid rgba(0,0,0,0);background-clip:content-box}.step-ag-grid-react-menu ::-webkit-scrollbar-thumb:hover{background-color:#a8bbbf}.step-ag-grid-react-menu .szh-menu__item,.step-ag-grid-react-menu .szh-menu__header{padding:.375rem .75rem}.step-ag-grid-react-menu .LuiCheckboxInput{margin-bottom:0}.step-ag-grid-react-menu .free-text-input{line-height:33px;padding-left:4px}.step-ag-grid-react-menu textarea.free-text-input{font-weight:400;line-height:1.5;width:300px;height:150px;resize:none;border:.06rem solid #beb9b4}.step-ag-grid-react-menu.szh-menu{z-index:900;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal}.step-ag-grid-react-menu.szh-menu div,.step-ag-grid-react-menu.szh-menu a[role=menuitem]{text-decoration:none;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal}.step-ag-grid-react-menu.szh-menu li[role=menuitem]:hover{background-color:#e2f3f7}.step-ag-grid-react-menu.szh-menu .szh-menu__header{display:flex;align-items:center}@media screen and (min-width: 480px){.lui-select-menu.szh-menu-container{position:absolute}}.lui-select-menu.szh-menu{z-index:900;width:92vw;overflow-y:scroll;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:300}@media screen and (min-width: 480px){.lui-select-menu.szh-menu{overflow:visible;height:auto;width:240px}}.lui-select-menuItem{padding:.5rem .75rem .5rem .5rem;display:flex;line-height:1;transition:all .2s ease-in-out;fill:#6b6966}.lui-select-menuItem:hover{background-color:#e2f3f7}.lui-select-menuItem--error p{color:#c00}.lui-select-menuItem--error .LuiIcon{fill:#c00}.lui-select-menuItemText{font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;color:#2a292c;margin:0;padding-left:2rem}.lui-select-menuItemText--noPadding{padding-left:.25rem}.lui-select-icon+.lui-select-menuItemText{padding-left:.5rem}.lui-select-menu-group{height:32px;color:#6b6966;padding-left:.75rem;text-transform:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:600}.lui-select-submenu{flex:1}.lui-select-submenu div[role=menuitem]{padding:.5rem .5rem .5rem 2.5rem;text-decoration:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;height:40px}.lui-select-submenu .szh-menu__item--hover{background-color:#e2f3f7}.lui-select-submenu-with-icon{flex:1}.lui-select-submenu-with-icon div[role=menuitem]{padding-left:0;text-decoration:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;height:40px}.lui-select-divider{margin:.25rem}.step-ag-grid-react-menu-sub-header-icon{margin:.5rem;fill:#6b6966}.ComponentLoadingWrapper-saveOverlay{position:absolute;left:0;top:0;bottom:0;right:0;background-color:rgba(64,64,64,.1);z-index:1000}.szh-menu{margin:0;padding:0;list-style:none;box-sizing:border-box;width:max-content;z-index:100;border:1px solid rgba(0,0,0,.1);background-color:#fff}.szh-menu:focus{outline:none}.szh-menu__arrow{box-sizing:border-box;width:.75rem;height:.75rem;background-color:#fff;border:1px solid rgba(0,0,0,0);border-left-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);z-index:-1}.szh-menu__arrow--dir-left{right:.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{cursor:default;background-color:inherit}.szh-menu__item--disabled{cursor:default;color:#989189}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{margin:0;padding:0;list-style:none}.szh-menu__divider{height:1px;margin:.5rem 0;background-color:rgba(0,0,0,.12)}.szh-menu-button{box-sizing:border-box}.szh-menu{user-select:none;color:#212529;border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);min-width:10rem;padding:.5rem 0}.szh-menu__item{display:flex;align-items:center;position:relative;padding:.375rem 1.5rem}.szh-menu-container--itemTransition .szh-menu__item{transition-property:background-color,color;transition-duration:.15s;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio::before{content:"○";position:absolute;left:.8rem;top:.55rem;font-size:.8rem}.szh-menu__item--type-radio.szh-menu__item--checked::before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox::before{position:absolute;left:.8rem}.szh-menu__item--type-checkbox.szh-menu__item--checked::before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item::after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}.react-menu-inline-test .szh-menu-container,.react-menu-inline-test .szh-menu{position:static !important}.Grid-container{flex:1;width:100%;display:flex;flex-direction:column}.Grid-wrapper{display:flex;flex-direction:column;flex:1}.Grid-sortIsStale span.ag-icon.ag-icon-desc::after{content:"*"}.Grid-sortIsStale span.ag-icon.ag-icon-asc::after{content:"*"}.Grid-container-filters{width:100%;flex:0;display:flex;align-items:center;flex-direction:row;padding:12px;background-color:#f9f9f9;border-bottom:1px solid #beb9b4;border-top:2px solid #eaeaea}.Grid-container-filters button{margin-left:0 !important}.GridFilterQuick-container:not(:last-child),.GridFilter-container:not(:last-child){margin-right:8px}.GridFilterQuick-container{flex:1}.GridFilterQuick-input{width:100%;height:40px;min-height:40px;border:.06rem solid #beb9b4;border-radius:3px;padding-left:.75rem;padding-right:.75rem;font-family:"Open Sans",system-ui,sans-serif}.Grid-popoverContainer{padding:.375rem .75rem}.ag-cell-value{display:flex;align-items:center}.ag-cell .GridCell-editableIcon{fill:#beb9b4;visibility:hidden}.ag-cell:hover .GridCell-editableIcon,.ag-cell.ag-cell-focus .GridCell-editableIcon{visibility:visible}.GridFormMessage-container{padding:4px 8px;max-width:400px}.GridCell-readonly{color:#6b6966}.Grid-container.ag-theme-alpine .ag-cell{font-weight:400}.Grid-container.ag-theme-alpine .ag-cell:not(.ag-cell-focus) .Grid-displayWhenCellFocused{visibility:hidden}.Grid-container.ag-theme-alpine .ag-cell:hover .Grid-displayWhenCellFocused{visibility:inherit}.Grid-container.ag-theme-alpine .ag-cell-wrapper{width:100%}.flex-col-center{display:flex;flex-direction:column;align-items:center}.flex-row-center{display:flex;flex-direction:row;align-items:center}.GridCell-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.GridCell-hoverRight{position:absolute;right:8px;display:flex;align-items:center}.GridPopoverEditDropDown-containerSmall .GridFormDropDown-options{max-height:120px;overflow-y:auto}.GridPopoverEditDropDown-containerMedium .GridFormDropDown-options{max-height:220px;overflow-y:auto}.GridPopoverEditDropDown-containerLarge .GridFormDropDown-options{max-height:400px;overflow-y:auto}.GridPopoverEditDropDown-containerUnlimited .GridFormDropDown-options{overflow-y:auto}.GridPopoverEditDropDown-noOptions{justify-content:center}.GridFormEditBearing-input{width:320px}.GridMultiSelect-containerSmall .GridFormMultiSelect-options{max-height:130px;overflow-y:auto}.GridMultiSelect-containerMedium .GridFormMultiSelect-options{max-height:190px;overflow-y:auto}.GridMultiSelect-containerLarge .GridFormMultiSelect-options{max-height:320px;overflow-y:auto}.GridMultiSelect-containerUnlimited .GridFormMultiSelect-options{overflow-y:auto}.GridMultiSelect-noOptions{justify-content:center}.GridMultiSelect-noOptions{justify-content:center}.GridMultiSelectGrid-Label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GridFormSubComponentTextInput-full-width-input{width:100%;padding:0}.AgGridGenericCellRenderer-icon{margin-right:4px}.AgGridGenericCellRenderer-ic_infoIcon{margin-right:4px;fill:#3a7cdf}.AgGridGenericCellRenderer-ic_info_outlineIcon{margin-right:4px;fill:#3a7cdf}.AgGridGenericCellRenderer-ic_warningIcon{margin-right:4px;fill:#ea6a2e}.AgGridGenericCellRenderer-ic_warning_outlineIcon{margin-right:4px;fill:#ea6a2e}.GridIcon-disabled{fill:#beb9b4 !important}.GridLoadableCell-container{width:100%;display:flex;align-items:center;margin-bottom:6px}.ag-cell .GridPopoutMenu-burger{cursor:pointer;display:block}.ag-cell .GridPopoutMenu-burger svg{fill:#007198}.ag-cell .GridPopoutMenu-burgerDisabled svg{fill:#989189}.GridFilterColumnsToggle-container{max-height:280px;overflow:auto}.MenuItem-icon{margin-right:8px}',"",{version:3,sources:["webpack://./src/styles/index.scss","webpack://./src/styles/lui-overrides.scss","webpack://./src/styles/react-menu-customisations.scss","webpack://./node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars.scss","webpack://./node_modules/@linzjs/lui/dist/scss/Foundation/Variables/FontVars.scss","webpack://./node_modules/@linzjs/lui/dist/scss/Foundation/Utilities/Breakpoint.scss","webpack://./node_modules/@linzjs/lui/dist/scss/Foundation/Variables/SpacingVars.scss","webpack://./src/styles/ComponentLoadingWrapper.scss","webpack://./src/react-menu3/styles/core.scss","webpack://./src/react-menu3/styles/_mixins.scss","webpack://./src/react-menu3/styles/_var.scss","webpack://./src/react-menu3/styles/index.scss","webpack://./src/styles/Grid.scss","webpack://./src/styles/GridCell.scss","webpack://./src/styles/GridFormDropDown.scss","webpack://./src/styles/GridFormEditBearing.scss","webpack://./src/styles/GridFormMultiSelect.scss","webpack://./src/styles/GridFormMultiSelectGrid.scss","webpack://./src/styles/GridFormSubComponentTextInput.scss","webpack://./src/styles/GridIcon.scss","webpack://./src/styles/GridLoadableCell.scss","webpack://./src/styles/GridPopoverMenu.scss","webpack://./src/styles/GridFilterColumnsToggle.scss","webpack://./src/styles/GridFilterHeaderIconButton.scss"],names:[],mappings:"AAAA,6CCIE,UACE,CAAA,mDAGF,8BACE,CAAA,mDAGF,wBACE,CAAA,kBACA,CAAA,8BACA,CAAA,2BACA,CAAA,yDAGF,wBACE,CAAA,oFAGF,sBAEE,CAAA,2CAGF,eACE,CAAA,0CAIF,gBACE,CAAA,gBACA,CAAA,kDAGF,eACE,CAAA,eACA,CAAA,WACA,CAAA,YACA,CAAA,WACA,CAAA,2BACA,CAAA,kCCpCJ,WACE,CAAA,aC6BS,CAAA,4CC9BW,CAAA,iBAkBpB,CAAA,kBACA,CAAA,yFFdA,oBAEE,CAAA,aCuBO,CAAA,4CC9BW,CAAA,iBAkBpB,CAAA,kBACA,CAAA,0DFPA,wBCJM,CAAA,oDDQN,YACE,CAAA,kBACA,CAAA,qCGtBA,oCH6BJ,iBAEI,CAAA,CAAA,0BAIJ,WACE,CAAA,UACA,CAAA,iBACA,CAAA,aCJS,CAAA,4CC9BW,CAAA,iBAYpB,CAAA,eACA,CAAA,qCCjBE,0BHmCJ,gBAMI,CAAA,WACA,CAAA,WACA,CAAA,CAAA,qBAOJ,gCACE,CAAA,YACA,CAAA,aACA,CAAA,8BACA,CAAA,YCnBQ,CAAA,2BDsBR,wBC7CM,CAAA,8BDmDN,UCfO,CAAA,qCDmBP,SCnBO,CAAA,yBDwBT,4CEpEsB,CAAA,iBAkBpB,CAAA,kBACA,CAAA,aDWS,CAAA,QDyCT,CAAA,iBIlEQ,CAAA,oCJsER,mBI3ES,CAAA,0CJgFX,kBIlFY,CAAA,uBJsFZ,WACE,CAAA,aCtDQ,CAAA,mBDwDR,CAAA,mBACA,CAAA,4CExFoB,CAAA,iBA8BpB,CAAA,eACA,CAAA,oBF6DF,MACE,CAAA,uCAEA,gCACE,CAAA,oBACA,CAAA,4CEjGkB,CAAA,iBAkBpB,CAAA,kBACA,CAAA,WFgFE,CAAA,2CAGF,wBC9FM,CAAA,8BDmGR,MACE,CAAA,iDAEA,cACE,CAAA,oBACA,CAAA,4CEhHkB,CAAA,iBAkBpB,CAAA,kBACA,CAAA,WF+FE,CAAA,oBAIJ,aACE,CAAA,yCAIF,YI7HY,CAAA,YHiCF,CAAA,qCIvCV,iBACE,CAAA,MACA,CAAA,KACA,CAAA,QACA,CAAA,OACA,CAAA,kCACA,CAAA,YACA,CAAA,UCJF,QCFE,CAAA,SACA,CAAA,eACA,CAAA,qBDGA,CAAA,iBACA,CAAA,WACA,CAAA,+BACA,CAAA,qBEIiB,CAAA,gBDNjB,YACE,CAAA,iBDIF,qBACE,CAAA,YEKS,CAAA,aAAA,CAAA,qBALM,CAAA,8BFIf,CAAA,gCEPW,CAAA,+BAAA,CAAA,UFUX,CAAA,2BAEA,aEHQ,CAAA,yCFKN,CAAA,4BAGF,YERQ,CAAA,yCFUN,CAAA,0BAGF,cEbQ,CAAA,0CFeN,CAAA,6BAGF,WElBQ,CAAA,wCFoBN,CAAA,gBAIJ,cAEE,CAAA,sBCtCF,YACE,CAAA,uBDuCA,wBEhCqB,CAAA,2BFoCrB,cACE,CAAA,wBACA,CAAA,0BAGF,cACE,CAAA,aErDW,CAAA,iBF0Df,qBACE,CAAA,uBAGF,QCjEA,CAAA,SACA,CAAA,eACA,CAAA,mBDmEA,UACE,CAAA,cACA,CAAA,gCEhEY,CAAA,iBFqEhB,qBACE,CAAA,UG3EF,gBACE,CAAA,aDFM,CAAA,WCIN,CAAA,oBACA,CAAA,+DACA,CAAA,eACA,CAAA,eACA,CAAA,gBAEA,YACE,CAAA,kBACA,CAAA,iBACA,CAAA,sBACA,CAAA,oDAEA,0CAEI,CAAA,wBACA,CAAA,sCACA,CAAA,4BAIJ,mBACE,CAAA,oCAEA,WACE,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,eACA,CAAA,4DAIJ,WACE,CAAA,+BAGF,mBACE,CAAA,uCAEA,iBACE,CAAA,UACA,CAAA,+DAIJ,WACE,CAAA,mCAIJ,oBACE,CAAA,0CAEA,WACE,CAAA,iBACA,CAAA,UACA,CAAA,kBAIJ,UD3Da,CAAA,eC6DX,CAAA,oBACA,CAAA,wBACA,CAAA,8EAIJ,0BACE,CAAA,gBCvEF,MACE,CAAA,UACA,CAAA,YACA,CAAA,qBACA,CAAA,cAGF,YACE,CAAA,qBACA,CAAA,MACA,CAAA,mDAIA,WACE,CAAA,kDAGF,WACE,CAAA,wBAIJ,UACE,CAAA,MACA,CAAA,YACA,CAAA,kBACA,CAAA,kBACA,CAAA,YACA,CAAA,wBTWK,CAAA,+BSTL,CAAA,4BACA,CAAA,+BAGF,wBACE,CAAA,mFAIA,gBACE,CAAA,2BAQJ,MAEE,CAAA,uBAGF,UACE,CAAA,WACA,CAAA,eACA,CAAA,2BACA,CAAA,iBACA,CAAA,mBACA,CAAA,oBACA,CAAA,4CACA,CAAA,uBAGF,sBACE,CAAA,eAGF,YACE,CAAA,kBACA,CAAA,gCAGF,YTrCS,CAAA,iBSuCP,CAAA,oFAGF,kBACE,CAAA,2BAGF,eACE,CAAA,eACA,CAAA,mBAGF,aTrDU,CAAA,yCSyDV,eACE,CAAA,0FAGF,iBACE,CAAA,4EAGF,kBACE,CAAA,iDAGF,UACE,CAAA,iBAGF,YACE,CAAA,qBACA,CAAA,kBACA,CAAA,iBAGF,YACE,CAAA,kBACA,CAAA,kBACA,CAAA,oBCzHF,eACE,CAAA,sBACA,CAAA,kBACA,CAAA,UACA,CAAA,qBAGF,iBACE,CAAA,SACA,CAAA,YACA,CAAA,kBACA,CAAA,kECXF,gBACE,CAAA,eACA,CAAA,mEAGF,gBACE,CAAA,eACA,CAAA,kEAGF,gBACE,CAAA,eACA,CAAA,sEAGF,eACE,CAAA,mCAGF,sBACE,CAAA,2BCpBF,WACE,CAAA,6DCDF,gBACE,CAAA,eACA,CAAA,8DAGF,gBACE,CAAA,eACA,CAAA,6DAGF,gBACE,CAAA,eACA,CAAA,iEAGF,eACE,CAAA,2BAGF,sBACE,CAAA,2BCpBF,sBACE,CAAA,2BAGF,sBACE,CAAA,kBACA,CAAA,eACA,CAAA,gDCPF,UACE,CAAA,SACA,CAAA,gCAAA,gBCCA,CAAA,uCAGF,gBACE,CAAA,YhBiDO,CAAA,+CgB7CT,gBACE,CAAA,YhB4CO,CAAA,0CgBxCT,gBACE,CAAA,YhBoCO,CAAA,kDgBhCT,gBACE,CAAA,YhB+BO,CAAA,mBgB3BT,uBACE,CAAA,4BC3BF,UACE,CAAA,YACA,CAAA,kBACA,CAAA,iBACA,CAAA,gCCFF,cACE,CAAA,aACA,CAAA,oCAEA,YlBOI,CAAA,4CkBFN,YlB6BO,CAAA,mCmBxCP,gBACE,CAAA,aACA,CAAA,eCFF,gBACE",sourcesContent:['.step-ag-grid-react-menu ::-webkit-scrollbar{width:20px}.step-ag-grid-react-menu ::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}.step-ag-grid-react-menu ::-webkit-scrollbar-thumb{background-color:#d6dee1;border-radius:20px;border:6px solid rgba(0,0,0,0);background-clip:content-box}.step-ag-grid-react-menu ::-webkit-scrollbar-thumb:hover{background-color:#a8bbbf}.step-ag-grid-react-menu .szh-menu__item,.step-ag-grid-react-menu .szh-menu__header{padding:.375rem .75rem}.step-ag-grid-react-menu .LuiCheckboxInput{margin-bottom:0}.step-ag-grid-react-menu .free-text-input{line-height:33px;padding-left:4px}.step-ag-grid-react-menu textarea.free-text-input{font-weight:400;line-height:1.5;width:300px;height:150px;resize:none;border:.06rem solid #beb9b4}.step-ag-grid-react-menu.szh-menu{z-index:900;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal}.step-ag-grid-react-menu.szh-menu div,.step-ag-grid-react-menu.szh-menu a[role=menuitem]{text-decoration:none;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal}.step-ag-grid-react-menu.szh-menu li[role=menuitem]:hover{background-color:#e2f3f7}.step-ag-grid-react-menu.szh-menu .szh-menu__header{display:flex;align-items:center}@media screen and (min-width: 480px){.lui-select-menu.szh-menu-container{position:absolute}}.lui-select-menu.szh-menu{z-index:900;width:92vw;overflow-y:scroll;color:#2a292c;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:300}@media screen and (min-width: 480px){.lui-select-menu.szh-menu{overflow:visible;height:auto;width:240px}}.lui-select-menuItem{padding:.5rem .75rem .5rem .5rem;display:flex;line-height:1;transition:all .2s ease-in-out;fill:#6b6966}.lui-select-menuItem:hover{background-color:#e2f3f7}.lui-select-menuItem--error p{color:#c00}.lui-select-menuItem--error .LuiIcon{fill:#c00}.lui-select-menuItemText{font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;color:#2a292c;margin:0;padding-left:2rem}.lui-select-menuItemText--noPadding{padding-left:.25rem}.lui-select-icon+.lui-select-menuItemText{padding-left:.5rem}.lui-select-menu-group{height:32px;color:#6b6966;padding-left:.75rem;text-transform:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:600}.lui-select-submenu{flex:1}.lui-select-submenu div[role=menuitem]{padding:.5rem .5rem .5rem 2.5rem;text-decoration:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;height:40px}.lui-select-submenu .szh-menu__item--hover{background-color:#e2f3f7}.lui-select-submenu-with-icon{flex:1}.lui-select-submenu-with-icon div[role=menuitem]{padding-left:0;text-decoration:none;font-family:"Open Sans",system-ui,sans-serif;font-style:normal;font-weight:normal;height:40px}.lui-select-divider{margin:.25rem}.step-ag-grid-react-menu-sub-header-icon{margin:.5rem;fill:#6b6966}.ComponentLoadingWrapper-saveOverlay{position:absolute;left:0;top:0;bottom:0;right:0;background-color:rgba(64,64,64,.1);z-index:1000}.szh-menu{margin:0;padding:0;list-style:none;box-sizing:border-box;width:max-content;z-index:100;border:1px solid rgba(0,0,0,.1);background-color:#fff}.szh-menu:focus{outline:none}.szh-menu__arrow{box-sizing:border-box;width:.75rem;height:.75rem;background-color:#fff;border:1px solid rgba(0,0,0,0);border-left-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);z-index:-1}.szh-menu__arrow--dir-left{right:.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{cursor:default;background-color:inherit}.szh-menu__item--disabled{cursor:default;color:#989189}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{margin:0;padding:0;list-style:none}.szh-menu__divider{height:1px;margin:.5rem 0;background-color:rgba(0,0,0,.12)}.szh-menu-button{box-sizing:border-box}.szh-menu{user-select:none;color:#212529;border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);min-width:10rem;padding:.5rem 0}.szh-menu__item{display:flex;align-items:center;position:relative;padding:.375rem 1.5rem}.szh-menu-container--itemTransition .szh-menu__item{transition-property:background-color,color;transition-duration:.15s;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio::before{content:"○";position:absolute;left:.8rem;top:.55rem;font-size:.8rem}.szh-menu__item--type-radio.szh-menu__item--checked::before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox::before{position:absolute;left:.8rem}.szh-menu__item--type-checkbox.szh-menu__item--checked::before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item::after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}.react-menu-inline-test .szh-menu-container,.react-menu-inline-test .szh-menu{position:static !important}.Grid-container{flex:1;width:100%;display:flex;flex-direction:column}.Grid-wrapper{display:flex;flex-direction:column;flex:1}.Grid-sortIsStale span.ag-icon.ag-icon-desc::after{content:"*"}.Grid-sortIsStale span.ag-icon.ag-icon-asc::after{content:"*"}.Grid-container-filters{width:100%;flex:0;display:flex;align-items:center;flex-direction:row;padding:12px;background-color:#f9f9f9;border-bottom:1px solid #beb9b4;border-top:2px solid #eaeaea}.Grid-container-filters button{margin-left:0 !important}.GridFilterQuick-container:not(:last-child),.GridFilter-container:not(:last-child){margin-right:8px}.GridFilterQuick-container{flex:1}.GridFilterQuick-input{width:100%;height:40px;min-height:40px;border:.06rem solid #beb9b4;border-radius:3px;padding-left:.75rem;padding-right:.75rem;font-family:"Open Sans",system-ui,sans-serif}.Grid-popoverContainer{padding:.375rem .75rem}.ag-cell-value{display:flex;align-items:center}.ag-cell .GridCell-editableIcon{fill:#beb9b4;visibility:hidden}.ag-cell:hover .GridCell-editableIcon,.ag-cell.ag-cell-focus .GridCell-editableIcon{visibility:visible}.GridFormMessage-container{padding:4px 8px;max-width:400px}.GridCell-readonly{color:#6b6966}.Grid-container.ag-theme-alpine .ag-cell{font-weight:400}.Grid-container.ag-theme-alpine .ag-cell:not(.ag-cell-focus) .Grid-displayWhenCellFocused{visibility:hidden}.Grid-container.ag-theme-alpine .ag-cell:hover .Grid-displayWhenCellFocused{visibility:inherit}.Grid-container.ag-theme-alpine .ag-cell-wrapper{width:100%}.flex-col-center{display:flex;flex-direction:column;align-items:center}.flex-row-center{display:flex;flex-direction:row;align-items:center}.GridCell-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.GridCell-hoverRight{position:absolute;right:8px;display:flex;align-items:center}.GridPopoverEditDropDown-containerSmall .GridFormDropDown-options{max-height:120px;overflow-y:auto}.GridPopoverEditDropDown-containerMedium .GridFormDropDown-options{max-height:220px;overflow-y:auto}.GridPopoverEditDropDown-containerLarge .GridFormDropDown-options{max-height:400px;overflow-y:auto}.GridPopoverEditDropDown-containerUnlimited .GridFormDropDown-options{overflow-y:auto}.GridPopoverEditDropDown-noOptions{justify-content:center}.GridFormEditBearing-input{width:320px}.GridMultiSelect-containerSmall .GridFormMultiSelect-options{max-height:130px;overflow-y:auto}.GridMultiSelect-containerMedium .GridFormMultiSelect-options{max-height:190px;overflow-y:auto}.GridMultiSelect-containerLarge .GridFormMultiSelect-options{max-height:320px;overflow-y:auto}.GridMultiSelect-containerUnlimited .GridFormMultiSelect-options{overflow-y:auto}.GridMultiSelect-noOptions{justify-content:center}.GridMultiSelect-noOptions{justify-content:center}.GridMultiSelectGrid-Label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GridFormSubComponentTextInput-full-width-input{width:100%;padding:0}.AgGridGenericCellRenderer-icon{margin-right:4px}.AgGridGenericCellRenderer-ic_infoIcon{margin-right:4px;fill:#3a7cdf}.AgGridGenericCellRenderer-ic_info_outlineIcon{margin-right:4px;fill:#3a7cdf}.AgGridGenericCellRenderer-ic_warningIcon{margin-right:4px;fill:#ea6a2e}.AgGridGenericCellRenderer-ic_warning_outlineIcon{margin-right:4px;fill:#ea6a2e}.GridIcon-disabled{fill:#beb9b4 !important}.GridLoadableCell-container{width:100%;display:flex;align-items:center;margin-bottom:6px}.ag-cell .GridPopoutMenu-burger{cursor:pointer;display:block}.ag-cell .GridPopoutMenu-burger svg{fill:#007198}.ag-cell .GridPopoutMenu-burgerDisabled svg{fill:#989189}.GridFilterColumnsToggle-container{max-height:280px;overflow:auto}.MenuItem-icon{margin-right:8px}',".step-ag-grid-react-menu {\n /**\n * Scrollbar (Only Chrome)\n */\n ::-webkit-scrollbar {\n width: 20px;\n }\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: #d6dee1;\n border-radius: 20px;\n border: 6px solid transparent;\n background-clip: content-box;\n }\n\n ::-webkit-scrollbar-thumb:hover {\n background-color: #a8bbbf;\n }\n\n .szh-menu__item,\n .szh-menu__header {\n padding: 0.375rem 0.75rem;\n }\n\n .LuiCheckboxInput {\n margin-bottom: 0;\n }\n\n /** Free text input */\n .free-text-input {\n line-height: 33px;\n padding-left: 4px;\n }\n\n textarea.free-text-input {\n font-weight: 400;\n line-height: 1.5;\n width: 300px;\n height: 150px;\n resize: none;\n border: 0.06rem solid #beb9b4;\n }\n}\n",'@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars" as colors;\r\n@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/FontVars" as fonts;\r\n@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/SpacingVars" as spacing;\r\n@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Utilities" as *;\r\n\r\n/**\r\n * Here is where we can override the styles of react-menu\r\n */\r\n.step-ag-grid-react-menu.szh-menu {\r\n z-index: 900;\r\n color: colors.$base-type-color;\r\n @include fonts.font-regular();\r\n\r\n div,\r\n a[role="menuitem"] {\r\n text-decoration: none;\r\n color: colors.$base-type-color;\r\n @include fonts.font-regular();\r\n }\r\n\r\n li[role="menuitem"]:hover {\r\n background-color: colors.$polar;\r\n }\r\n\r\n .szh-menu__header {\r\n display: flex;\r\n align-items: center;\r\n }\r\n}\r\n\r\n/**\r\n * Here are styles for lui select menu\r\n */\r\n.lui-select-menu.szh-menu-container {\r\n @include breakpoint(sm) {\r\n position: absolute;\r\n }\r\n}\r\n\r\n.lui-select-menu.szh-menu {\r\n z-index: 900;\r\n width: 92vw;\r\n overflow-y: scroll;\r\n\r\n @include breakpoint(sm) {\r\n overflow: visible;\r\n height: auto;\r\n width: 240px;\r\n }\r\n\r\n color: colors.$base-type-color;\r\n @include fonts.font-light();\r\n}\r\n\r\n.lui-select-menuItem {\r\n padding: spacing.$unit-xs spacing.$unit-sm spacing.$unit-xs spacing.$unit-xs;\r\n display: flex;\r\n line-height: 1;\r\n transition: all 0.2s ease-in-out;\r\n fill: colors.$fuscous;\r\n\r\n &:hover {\r\n background-color: colors.$polar;\r\n }\r\n}\r\n\r\n.lui-select-menuItem--error {\r\n p {\r\n color: colors.$error;\r\n }\r\n\r\n .LuiIcon {\r\n fill: colors.$error;\r\n }\r\n}\r\n\r\n.lui-select-menuItemText {\r\n @include fonts.font-regular();\r\n color: colors.$charcoal;\r\n margin: 0;\r\n padding-left: spacing.$unit-lg;\r\n\r\n // if no icon, give it 4px to align with the group header\r\n &--noPadding {\r\n padding-left: spacing.$unit-xxs;\r\n }\r\n}\r\n\r\n.lui-select-icon + .lui-select-menuItemText {\r\n padding-left: spacing.$unit-xs;\r\n}\r\n\r\n.lui-select-menu-group {\r\n height: 32px;\r\n color: colors.$fuscous;\r\n padding-left: 0.75rem;\r\n text-transform: none;\r\n @include fonts.font-semibold();\r\n}\r\n\r\n.lui-select-submenu {\r\n flex: 1;\r\n\r\n div[role="menuitem"] {\r\n padding: spacing.$unit-xs spacing.$unit-xs spacing.$unit-xs 2.5rem;\r\n text-decoration: none;\r\n @include fonts.font-regular();\r\n height: 40px;\r\n }\r\n // overwrite the hover color\r\n .szh-menu__item--hover {\r\n background-color: colors.$polar;\r\n }\r\n}\r\n\r\n.lui-select-submenu-with-icon {\r\n flex: 1;\r\n // width: 200px;\r\n div[role="menuitem"] {\r\n padding-left: 0;\r\n text-decoration: none;\r\n @include fonts.font-regular();\r\n height: 40px;\r\n }\r\n}\r\n\r\n.lui-select-divider {\r\n margin: 0.25rem;\r\n}\r\n\r\n\r\n.step-ag-grid-react-menu-sub-header-icon {\r\n margin: spacing.$unit-xs;\r\n fill: colors.$fuscous;\r\n}\r\n',"@use \"sass:color\";\n// ============\n// Colours\n// ============\n\n// Colours are hard. We've remapped the names in FigLui so that's what's below.\n\n// ----------------------------\n// Brand\n// ----------------------------\n\n// Blues\n$teal: #00425d;\n$sea: #007198;\n$electric: #0096cc;\n$spray: #73c8e1;\n$polar: #e2f3f7;\n$linz-linear-gradient-blue: linear-gradient(70deg, $teal 12%, $sea 100%);\n\n// Teals\n$sherpa: #004b50;\n$surfie: #017a76;\n$persian: #00a599;\n$downy: #73cdc8;\n$iceberg: #dcf5f0;\n$linz-linear-gradient-teal: linear-gradient(270deg, $persian 1%, $downy 100%);\n\n// Greens\n$sacramento: #004e32;\n$salem: #08814d;\n$pigment: #0aa245;\n$granny: #9bd79b;\n$panache: #e9fae7;\n\n// ----------------------------\n// Neutrals\n// ----------------------------\n\n$charcoal: #2a292c;\n$fuscous: #6b6966;\n$gray: #989189;\n$silver: #beb9b4;\n$lily: #eaeaea;\n$dew: #DAD7D6;\n$hint: #f9f9f9;\n$snow: #ffffff;\n$white: $snow;\n\n// ----------------------------\n// Reserved\n// ----------------------------\n\n$engine: #cc0000;\n$carrot: #EA6A2E;\n$kendall: #F5CCCC;\n$elizabeth: #FBDED0;\n$andrea: #3A7CDF;\n$celestial: #D7E5F9;\n$golf: #0AA345;\n$memesia: #1F69C3;\n\n\n// error\n$error: $engine;\n$error-bg: $kendall; \n$error-focus: #5a0000;\n\n// warning\n$warning: $carrot;\n$warning-bg: #fbdfd2;\n$warning-focus: #b33a01;\n\n// info\n$info: $andrea;\n$info-bg: #d8e5f9;\n\n// success\n$success: $pigment;\n$success-bg: $panache;\n\n// text link\n$txt-link: $memesia;\n$test-pink: #f09;\n\n// --------------------------------------------------------\n// Deprecated variable sets\n// --------------------------------------------------------\n\n$grey-80: $charcoal;\n$grey-60: $fuscous;\n$grey-30: $gray;\n$grey-20: $silver;\n$grey-10: $lily;\n$grey-05: $hint;\n\n$blue-100: $teal;\n$blue-75: $sea;\n$blue-50: $electric;\n$blue-25: $spray;\n$blue-05: $polar;\n\n$teal-100: $sherpa;\n$teal-75: $surfie;\n$teal-50: $persian;\n$teal-25: $downy;\n$teal-05: $iceberg;\n\n$green-100: $sacramento;\n$green-75: $salem;\n$green-50: $pigment;\n$green-25: $granny;\n$green-05: $panache;\n\n$brand-primary: $sherpa;\n$brand-secondary: $surfie;\n\n// System colours\n\n$visited: $teal;\n$selection: lighten($spray, 20%);\n\n// restricted colours for btn hover states\n$primary-hover-btn: #005678;\n$primary-active-btn: $teal;\n\n$secondary-hover-btn: $polar;\n$secondary-active-btn: $sea;\n\n$tertiary-hover-btn: $polar;\n$tertiary-active-btn: $sea;\n$tertiary-btn: #f0f;\n\n$green-hover: #107c3a;\n$green-active: #094a22;\n$green-btn: $success;\n\n$error-hover-btn: #8f0000;\n$error-active-btn: #5a0000;\n\n//Restricted colours for spatial maps\n$hot-pink: #f81bef;\n\n//Type\n$heading-color: $surfie;\n$heading-color--secondary: $charcoal;\n$base-type-color: $charcoal;\n\n// Icons, inputs & radio/checkboxes\n$input-text: $charcoal;\n$input-placeholder: $fuscous;\n$input-placeholder-when-disabled: $gray;\n$base-icon-color: $sea;\n$disabled-color: $gray;\n$disabled-bg-color: $lily;\n$disabled-color-dark: $fuscous;\n$input-focus: $teal;\n\n//LINZ public site colour variables\n\n$linz-color-primary: #023d48;\n$linz-color-primary-hover: #01818a;\n\n$linz-color-tertiary: #e1e44a;\n$linz-color-tertiary-hover: #cdcf59;\n","///////////////////////////////////////////\n// Base definition of our font variables //\n///////////////////////////////////////////\n\n$base-line-height: 1.5;\n$base-font-size: 16px;\n\n//Adjust these to your font – don't need all of them if you don't need\n$base-font--combined: 'Open Sans', system-ui, sans-serif;\n\n// =====================\n// Font Mixins\n// =====================\n// These mixins are just to bundle up code snippets – instead of extending, you can use these to add\n// common styles without having a relationship created. Also, you can use different Mixins at different breakpoints.\n//\n// Feel free to adjust/rename as required. We will use these to setup our generic type styles in the next section.\n\n@mixin font-light {\n font-family: $base-font--combined;\n font-style: normal;\n font-weight: 300;\n}\n\n@mixin font-regular {\n font-family: $base-font--combined;\n font-style: normal;\n font-weight: normal;\n}\n\n@mixin font-italic {\n font-family: $base-font--combined;\n font-style: italic;\n font-weight: normal;\n}\n\n@mixin font-semibold {\n font-family: $base-font--combined;\n font-style: normal;\n font-weight: 600;\n}\n\n@mixin font-bold {\n font-family: $base-font--combined;\n font-style: normal;\n font-weight: 700;\n}\n\n@mixin font-header {\n font-family: $base-font--combined;\n font-style: normal;\n font-weight: 300;\n}\n\n// =====================\n// Margin Mixin\n// =====================\n\n// This is purely for creating vertical rhythm on typography if you want to use it\n$base: 16 * ($base-font-size * 0.01);\n$leading: $base * $base-line-height;\n\n@mixin type-margin-bottom($number) {\n margin-bottom: #{$number * $leading + 'px'};\n margin-bottom: #{$number * $line-height + 'rem'};\n}\n",'@use "../Variables/BreakpointVars.scss" as *;\n\n@mixin breakpoint($breakpoint) {\n @if ($breakpoint == sm) {\n @media screen and (min-width: #{$breakpoint1}) {\n @content;\n }\n } @else if ($breakpoint == md) {\n @media screen and (min-width: #{$breakpoint2}) {\n @content;\n }\n } @else if ($breakpoint == lg) {\n @media screen and (min-width: #{$breakpoint3}) {\n @content;\n }\n } @else if ($breakpoint == xl) {\n @media screen and (min-width: #{$breakpoint4}) {\n @content;\n }\n } @else if ($breakpoint == xxl) {\n @media screen and (min-width: #{$breakpoint5}) {\n @content;\n }\n } @else {\n @media screen and (min-width: #{$breakpoint}) {\n @content;\n }\n }\n}\n','// These are for defining global spacing units – might not be neccessary but helps with consistency – talk to the designer to see if these will help, and whether useful in your use case\n\n@use "sass:math";\n\n// Grid variables and margins\n\n$base-unit: 0.5rem; // changes base unit to 8px\n\n$unit-xxs: $base-unit * 0.5; // 4px\n$unit-xs: $base-unit; // 8px\n$unit-sm: $base-unit * 1.5; // 12px\n$unit-rg: $base-unit * 2; // 16px // NOTE: chose an additive approach – ideally these numbers would shuffle down\n$unit-md: $base-unit * 3; // 24px\n$unit-lg: $base-unit * 4; // 32px\n$unit-xl: $base-unit * 6; // 48px\n$unit-xxl: $base-unit * 10; // 80px\n\n/**\n @deprecated\n */\n$px: 24px;\n/**\n @deprecated\n */\n$v: $px;\n/**\n @deprecated\n */\n$h: $v;\n',".ComponentLoadingWrapper-saveOverlay {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n background-color: rgb(64 64 64 / 10%);\n z-index: 1000;\n}",'@use "var";\n@use "mixins";\n\n.szh-menu {\n @include mixins.reset-list ();\n @include mixins.remove-focus ();\n box-sizing: border-box;\n width: max-content;\n z-index: 100;\n border: 1px solid var.$border-color;\n background-color: var.$background-color;\n\n &__arrow {\n box-sizing: border-box;\n width: var.$arrow-size;\n height: var.$arrow-size;\n background-color: var.$background-color;\n border: 1px solid transparent;\n border-left-color: var.$border-color;\n border-top-color: var.$border-color;\n z-index: -1;\n\n &--dir-left {\n right: var.$arrow-pos;\n transform: translateY(-50%) rotate(135deg);\n }\n\n &--dir-right {\n left: var.$arrow-pos;\n transform: translateY(-50%) rotate(-45deg);\n }\n\n &--dir-top {\n bottom: var.$arrow-pos;\n transform: translateX(-50%) rotate(-135deg);\n }\n\n &--dir-bottom {\n top: var.$arrow-pos;\n transform: translateX(-50%) rotate(45deg);\n }\n }\n\n &__item {\n @include mixins.remove-focus ();\n cursor: pointer;\n\n &--hover {\n background-color: var.$background-color-hover;\n }\n\n &--focusable {\n cursor: default;\n background-color: inherit;\n }\n\n &--disabled {\n cursor: default;\n color: var.$color-disabled;\n }\n }\n\n &__group {\n box-sizing: border-box;\n }\n\n &__radio-group {\n @include mixins.reset-list ();\n }\n\n &__divider {\n height: 1px;\n margin: 0.5rem 0;\n background-color: var.$divider-color;\n }\n}\n\n.szh-menu-button {\n box-sizing: border-box;\n}\n',"@mixin reset-list {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n@mixin remove-focus {\n &:focus {\n outline: none;\n }\n}\n",'@use "sass:math";\n\n$color: #212529;\n$color-dark: #cad1d8;\n$color-disabled: #989189;\n$color-disabled-dark: #666;\n\n$header-color: #888;\n$divider-color: rgb(0 0 0 / 12%);\n$divider-color-dark: #3a3a3a;\n$border-color: rgb(0 0 0 / 10%);\n$border-color-dark: #333;\n\n$background-color: #fff;\n$background-color-dark: #22262c;\n$background-color-hover: #ebebeb;\n$background-color-hover-dark: #31363c;\n\n$arrow-size: 0.75rem;\n$arrow-pos: (math.div($arrow-size, 2));\n','@use "var";\n@use "core";\n\n.szh-menu {\n user-select: none;\n color: var.$color;\n border: none;\n border-radius: 0.25rem;\n box-shadow: 0 3px 7px rgb(0 0 0 / 13.3%), 0 0.6px 2px rgb(0 0 0 / 10%);\n min-width: 10rem;\n padding: 0.5rem 0;\n\n &__item {\n display: flex;\n align-items: center;\n position: relative;\n padding: 0.375rem 1.5rem;\n\n .szh-menu-container--itemTransition & {\n transition: {\n property: background-color, color;\n duration: 0.15s;\n timing-function: ease-in-out;\n }\n }\n\n &--type-radio {\n padding-left: 2.2rem;\n\n &::before {\n content: "\\25cb";\n position: absolute;\n left: 0.8rem;\n top: 0.55rem;\n font-size: 0.8rem;\n }\n }\n\n &--type-radio#{&}--checked::before {\n content: "\\25cf";\n }\n\n &--type-checkbox {\n padding-left: 2.2rem;\n\n &::before {\n position: absolute;\n left: 0.8rem;\n }\n }\n\n &--type-checkbox#{&}--checked::before {\n content: "\\2714";\n }\n }\n\n &__submenu > .szh-menu__item {\n padding-right: 2.5rem;\n\n &::after {\n content: "\\276f";\n position: absolute;\n right: 1rem;\n }\n }\n\n &__header {\n color: var.$header-color;\n font-size: 0.8rem;\n padding: 0.2rem 1.5rem;\n text-transform: uppercase;\n }\n}\n\n.react-menu-inline-test .szh-menu-container, .react-menu-inline-test .szh-menu {\n position: static !important;\n}\n','@use "../react-menu3/styles/index";\n@use "./react-menu-customisations";\n@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars" as colors;\n\n.Grid-container {\n flex: 1;\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.Grid-wrapper {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n\n.Grid-sortIsStale {\n span.ag-icon.ag-icon-desc::after {\n content: "*";\n }\n\n span.ag-icon.ag-icon-asc::after {\n content: "*";\n }\n}\n\n.Grid-container-filters {\n width: 100%;\n flex: 0;\n display: flex;\n align-items: center;\n flex-direction: row;\n padding: 12px;\n background-color: colors.$hint;\n border-bottom: 1px solid colors.$silver;\n border-top: 2px solid colors.$lily;\n}\n\n.Grid-container-filters button {\n margin-left: 0 !important;\n}\n\n%GridFilter-container {\n &:not(:last-child) {\n margin-right: 8px;\n }\n}\n\n.GridFilter-container {\n @extend %GridFilter-container;\n}\n\n.GridFilterQuick-container {\n @extend %GridFilter-container;\n flex: 1;\n}\n\n.GridFilterQuick-input {\n width: 100%;\n height: 40px;\n min-height: 40px;\n border: 0.06rem solid colors.$silver;\n border-radius: 3px;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n font-family: "Open Sans", system-ui, sans-serif;\n}\n\n.Grid-popoverContainer {\n padding: 0.375rem 0.75rem;\n}\n\n.ag-cell-value {\n display: flex;\n align-items: center;\n}\n\n.ag-cell .GridCell-editableIcon {\n fill: colors.$silver;\n visibility: hidden;\n}\n\n.ag-cell:hover .GridCell-editableIcon, .ag-cell.ag-cell-focus .GridCell-editableIcon {\n visibility: visible;\n}\n\n.GridFormMessage-container {\n padding: 4px 8px;\n max-width: 400px;\n}\n\n.GridCell-readonly {\n color: colors.$fuscous;\n}\n\n.Grid-container.ag-theme-alpine .ag-cell {\n font-weight: 400;\n}\n\n.Grid-container.ag-theme-alpine .ag-cell:not(.ag-cell-focus) .Grid-displayWhenCellFocused {\n visibility: hidden;\n}\n\n.Grid-container.ag-theme-alpine .ag-cell:hover .Grid-displayWhenCellFocused {\n visibility: inherit;\n}\n\n.Grid-container.ag-theme-alpine .ag-cell-wrapper {\n width: 100%;\n}\n\n.flex-col-center {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.flex-row-center {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n',".GridCell-container {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n\n.GridCell-hoverRight {\n position: absolute;\n right: 8px;\n display: flex;\n align-items: center;\n}",".GridPopoverEditDropDown-containerSmall .GridFormDropDown-options {\n max-height: 120px;\n overflow-y: auto;\n}\n\n.GridPopoverEditDropDown-containerMedium .GridFormDropDown-options {\n max-height: 220px;\n overflow-y: auto;\n}\n\n.GridPopoverEditDropDown-containerLarge .GridFormDropDown-options {\n max-height: 400px;\n overflow-y: auto;\n}\n\n.GridPopoverEditDropDown-containerUnlimited .GridFormDropDown-options {\n overflow-y: auto;\n}\n\n.GridPopoverEditDropDown-noOptions {\n justify-content: center;\n}\n",".GridFormEditBearing-input {\n width: 320px;\n}\n",".GridMultiSelect-containerSmall .GridFormMultiSelect-options {\n max-height: 130px;\n overflow-y: auto;\n}\n\n.GridMultiSelect-containerMedium .GridFormMultiSelect-options {\n max-height: 190px;\n overflow-y: auto;\n}\n\n.GridMultiSelect-containerLarge .GridFormMultiSelect-options {\n max-height: 320px;\n overflow-y: auto;\n}\n\n.GridMultiSelect-containerUnlimited .GridFormMultiSelect-options {\n overflow-y: auto;\n}\n\n.GridMultiSelect-noOptions {\n justify-content: center;\n}\n",".GridMultiSelect-noOptions {\n justify-content: center;\n}\n\n.GridMultiSelectGrid-Label {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}",".GridFormSubComponentTextInput-full-width-input {\r\n width: 100%;\r\n padding: 0;\r\n}\r\n",'@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars" as colors;\n\n.AgGridGenericCellRenderer-icon {\n margin-right: 4px;\n}\n\n.AgGridGenericCellRenderer-ic_infoIcon {\n margin-right: 4px;\n fill: colors.$info;\n}\n\n.AgGridGenericCellRenderer-ic_info_outlineIcon {\n margin-right: 4px;\n fill: colors.$info;\n}\n\n.AgGridGenericCellRenderer-ic_warningIcon {\n margin-right: 4px;\n fill: colors.$warning;\n}\n\n.AgGridGenericCellRenderer-ic_warning_outlineIcon {\n margin-right: 4px;\n fill: colors.$warning;\n}\n\n.GridIcon-disabled {\n fill: colors.$silver !important;\n}\n',".GridLoadableCell-container {\n width: 100%;\n display: flex;\n align-items: center;\n margin-bottom: 6px;\n}\n",'@use "../../node_modules/@linzjs/lui/dist/scss/Foundation/Variables/ColorVars" as colors;\n\n.ag-cell .GridPopoutMenu-burger {\n cursor: pointer;\n display: block;\n\n svg {\n fill: colors.$sea;\n }\n}\n\n.ag-cell .GridPopoutMenu-burgerDisabled svg {\n fill: colors.$disabled-color;\n}\n',".GridFilterColumnsToggle-container {\n max-height: 280px;\n overflow: auto;\n}",".MenuItem-icon {\n margin-right: 8px;\n}\n"],sourceRoot:""}]),__webpack_exports__.Z=___CSS_LOADER_EXPORT___},"./src/styles/index.scss":function(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_index_scss__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/styles/index.scss"),options={};options.styleTagTransform=_node_modules_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default(),options.setAttributes=_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default(),options.insert=_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null,"head"),options.domAPI=_node_modules_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default(),options.insertStyleElement=_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default();_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_index_scss__WEBPACK_IMPORTED_MODULE_6__.Z,options),_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_index_scss__WEBPACK_IMPORTED_MODULE_6__.Z&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_index_scss__WEBPACK_IMPORTED_MODULE_6__.Z.locals&&_node_modules_css_loader_dist_cjs_js_node_modules_sass_loader_dist_cjs_js_index_scss__WEBPACK_IMPORTED_MODULE_6__.Z.locals}}]); \ No newline at end of file diff --git a/2667.4a8a5c0e.iframe.bundle.js b/2667.4a8a5c0e.iframe.bundle.js new file mode 100644 index 00000000..476b4175 --- /dev/null +++ b/2667.4a8a5c0e.iframe.bundle.js @@ -0,0 +1,133 @@ +(self.webpackChunk_linzjs_step_ag_grid=self.webpackChunk_linzjs_step_ag_grid||[]).push([[2667],{"./node_modules/@babel/runtime/helpers/esm/extends.js":function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}var isRgb=function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)},isRgba=function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha},isHsl=function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)},isHsla=function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha};function toColorString(color){if("object"!=typeof color)throw new PolishedError(8);if(isRgba(color))return rgba(color);if(isRgb(color))return rgb(color);if(isHsla(color))return hsla(color);if(isHsl(color))return hsl(color);throw new PolishedError(8)}function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,esm_extends.Z)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken$1=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString((0,esm_extends.Z)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten$1=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba((0,esm_extends.Z)({},parsedColor,{alpha:guard(0,1,(100*alpha+100*parseFloat(amount))/100)}))}var curriedOpacify$1=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba((0,esm_extends.Z)({},parsedColor,{alpha:guard(0,1,+(100*alpha-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize$1=curry(transparentize);var global_dist=__webpack_require__("./node_modules/@storybook/global/dist/index.mjs"),pickBy=__webpack_require__("./node_modules/lodash/pickBy.js"),pickBy_default=__webpack_require__.n(pickBy),B=Object.create,R=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,x=((r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports))((T=>{Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=function(){var r=Object.prototype.toString,e=Object.getPrototypeOf,t=Object.getOwnPropertySymbols?function(n){return Object.keys(n).concat(Object.getOwnPropertySymbols(n))}:Object.keys;return function(n,a){return function i(o,s,d){var y,g,p,A=r.call(o),F=r.call(s);if(o===s)return!0;if(null==o||null==s)return!1;if(d.indexOf(o)>-1&&d.indexOf(s)>-1)return!0;if(d.push(o,s),A!=F||(y=t(o),g=t(s),y.length!=g.length||y.some((function(l){return!i(o[l],s[l],d)}))))return!1;switch(A.slice(8,-1)){case"Symbol":return o.valueOf()==s.valueOf();case"Date":case"Number":return+o==+s||+o!=+o&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+o==""+s;case"Set":case"Map":y=o.entries(),g=s.entries();do{if(!i((p=y.next()).value,g.next().value,d))return!1}while(!p.done);return!0;case"ArrayBuffer":o=new Uint8Array(o),s=new Uint8Array(s);case"DataView":o=new Uint8Array(o.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=s.length)return!1;for(p=0;p(t=null!=r?B(h(r)):{},((r,e,t,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of C(e))!w.call(r,a)&&a!==t&&R(r,a,{get:()=>e[a],enumerable:!(n=b(e,a))||n.enumerable});return r})(!e&&r&&r.__esModule?t:R(t,"default",{value:r,enumerable:!0}),r)))(x()),S=r=>r.map((e=>typeof e<"u")).filter(Boolean).length,v=(r,e,t)=>{if(!r.if)return!0;let{arg:n,global:a}=r.if;if(1!==S([n,a]))throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let i=n?e[n]:t[a];return((r,e)=>{let{exists:t,eq:n,neq:a,truthy:i}=r;if(S([t,n,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:t,eq:n,neq:a})}`);if(typeof n<"u")return(0,c.isEqual)(e,n);if(typeof a<"u")return!(0,c.isEqual)(e,a);if(typeof t<"u"){let s=typeof e<"u";return t?s:!s}return typeof i>"u"||i?!!e:!e})(r.if,i)};var external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),chunk_4ZEOWDHL=__webpack_require__("./node_modules/@storybook/builder-webpack5/node_modules/@storybook/components/dist/chunk-4ZEOWDHL.mjs"),react_dom=__webpack_require__("./node_modules/react-dom/index.js");function $ae6933e535247d3d$export$7d15b64cf5a3a4c4(value,[min,max]){return Math.min(max,Math.max(min,value))}function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler,ourEventHandler,{checkForDefaultPrevented:checkForDefaultPrevented=!0}={}){return function handleEvent(event){if(null==originalEventHandler||originalEventHandler(event),!1===checkForDefaultPrevented||!event.defaultPrevented)return null==ourEventHandler?void 0:ourEventHandler(event)}}function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName,createContextScopeDeps=[]){let defaultContexts=[];const createScope=()=>{const scopeContexts=defaultContexts.map((defaultContext=>(0,react.createContext)(defaultContext)));return function useScope(scope){const contexts=(null==scope?void 0:scope[scopeName])||scopeContexts;return(0,react.useMemo)((()=>({[`__scope${scopeName}`]:{...scope,[scopeName]:contexts}})),[scope,contexts])}};return createScope.scopeName=scopeName,[function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName,defaultContext){const BaseContext=(0,react.createContext)(defaultContext),index=defaultContexts.length;function Provider(props){const{scope:scope,children:children,...context}=props,Context=(null==scope?void 0:scope[scopeName][index])||BaseContext,value=(0,react.useMemo)((()=>context),Object.values(context));return(0,react.createElement)(Context.Provider,{value:value},children)}return defaultContexts=[...defaultContexts,defaultContext],Provider.displayName=rootComponentName+"Provider",[Provider,function useContext(consumerName,scope){const Context=(null==scope?void 0:scope[scopeName][index])||BaseContext,context=(0,react.useContext)(Context);if(context)return context;if(void 0!==defaultContext)return defaultContext;throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``)}]},$c512c27ab02ef895$var$composeContextScopes(createScope,...createContextScopeDeps)]}function $c512c27ab02ef895$var$composeContextScopes(...scopes){const baseScope=scopes[0];if(1===scopes.length)return baseScope;const createScope1=()=>{const scopeHooks=scopes.map((createScope=>({useScope:createScope(),scopeName:createScope.scopeName})));return function useComposedScopes(overrideScopes){const nextScopes1=scopeHooks.reduce(((nextScopes,{useScope:useScope,scopeName:scopeName})=>({...nextScopes,...useScope(overrideScopes)[`__scope${scopeName}`]})),{});return(0,react.useMemo)((()=>({[`__scope${baseScope.scopeName}`]:nextScopes1})),[nextScopes1])}};return createScope1.scopeName=baseScope.scopeName,createScope1}function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs){return node=>refs.forEach((ref=>function $6ed0406888f73fc4$var$setRef(ref,value){"function"==typeof ref?ref(value):null!=ref&&(ref.current=value)}(ref,node)))}function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs){return(0,react.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af(...refs),refs)}const $5e63c961fc1ce211$export$8c6ed5c666ac1360=(0,react.forwardRef)(((props,forwardedRef)=>{const{children:children,...slotProps}=props,childrenArray=react.Children.toArray(children),slottable=childrenArray.find($5e63c961fc1ce211$var$isSlottable);if(slottable){const newElement=slottable.props.children,newChildren=childrenArray.map((child=>child===slottable?react.Children.count(newElement)>1?react.Children.only(null):(0,react.isValidElement)(newElement)?newElement.props.children:null:child));return(0,react.createElement)($5e63c961fc1ce211$var$SlotClone,(0,esm_extends.Z)({},slotProps,{ref:forwardedRef}),(0,react.isValidElement)(newElement)?(0,react.cloneElement)(newElement,void 0,newChildren):null)}return(0,react.createElement)($5e63c961fc1ce211$var$SlotClone,(0,esm_extends.Z)({},slotProps,{ref:forwardedRef}),children)}));$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName="Slot";const $5e63c961fc1ce211$var$SlotClone=(0,react.forwardRef)(((props,forwardedRef)=>{const{children:children,...slotProps}=props;return(0,react.isValidElement)(children)?(0,react.cloneElement)(children,{...$5e63c961fc1ce211$var$mergeProps(slotProps,children.props),ref:forwardedRef?$6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef,children.ref):children.ref}):react.Children.count(children)>1?react.Children.only(null):null}));$5e63c961fc1ce211$var$SlotClone.displayName="SlotClone";const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45=({children:children})=>(0,react.createElement)(react.Fragment,null,children);function $5e63c961fc1ce211$var$isSlottable(child){return(0,react.isValidElement)(child)&&child.type===$5e63c961fc1ce211$export$d9f1ccf0bdb05d45}function $5e63c961fc1ce211$var$mergeProps(slotProps,childProps){const overrideProps={...childProps};for(const propName in childProps){const slotPropValue=slotProps[propName],childPropValue=childProps[propName];/^on[A-Z]/.test(propName)?slotPropValue&&childPropValue?overrideProps[propName]=(...args)=>{childPropValue(...args),slotPropValue(...args)}:slotPropValue&&(overrideProps[propName]=slotPropValue):"style"===propName?overrideProps[propName]={...slotPropValue,...childPropValue}:"className"===propName&&(overrideProps[propName]=[slotPropValue,childPropValue].filter(Boolean).join(" "))}return{...slotProps,...overrideProps}}const $8927f6f2acc4f386$export$250ffa63cdc0d034=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((primitive,node)=>{const Node=(0,react.forwardRef)(((props,forwardedRef)=>{const{asChild:asChild,...primitiveProps}=props,Comp=asChild?$5e63c961fc1ce211$export$8c6ed5c666ac1360:node;return(0,react.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,react.createElement)(Comp,(0,esm_extends.Z)({},primitiveProps,{ref:forwardedRef}))}));return Node.displayName=`Primitive.${node}`,{...primitive,[node]:Node}}),{});function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback){const callbackRef=(0,react.useRef)(callback);return(0,react.useEffect)((()=>{callbackRef.current=callback})),(0,react.useMemo)((()=>(...args)=>{var _callbackRef$current;return null===(_callbackRef$current=callbackRef.current)||void 0===_callbackRef$current?void 0:_callbackRef$current.call(callbackRef,...args)}),[])}let $5cb92bef7577960e$var$originalBodyPointerEvents;const $5cb92bef7577960e$var$DismissableLayerContext=(0,react.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$5cb92bef7577960e$export$177fb62ff3ec1f22=(0,react.forwardRef)(((props,forwardedRef)=>{var _node$ownerDocument;const{disableOutsidePointerEvents:disableOutsidePointerEvents=!1,onEscapeKeyDown:onEscapeKeyDown,onPointerDownOutside:onPointerDownOutside,onFocusOutside:onFocusOutside,onInteractOutside:onInteractOutside,onDismiss:onDismiss,...layerProps}=props,context=(0,react.useContext)($5cb92bef7577960e$var$DismissableLayerContext),[node1,setNode]=(0,react.useState)(null),ownerDocument=null!==(_node$ownerDocument=null==node1?void 0:node1.ownerDocument)&&void 0!==_node$ownerDocument?_node$ownerDocument:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,force]=(0,react.useState)({}),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setNode(node))),layers=Array.from(context.layers),[highestLayerWithOutsidePointerEventsDisabled]=[...context.layersWithOutsidePointerEventsDisabled].slice(-1),highestLayerWithOutsidePointerEventsDisabledIndex=layers.indexOf(highestLayerWithOutsidePointerEventsDisabled),index=node1?layers.indexOf(node1):-1,isBodyPointerEventsDisabled=context.layersWithOutsidePointerEventsDisabled.size>0,isPointerEventsEnabled=index>=highestLayerWithOutsidePointerEventsDisabledIndex,pointerDownOutside=function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const handlePointerDownOutside=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside),isPointerInsideReactTreeRef=(0,react.useRef)(!1),handleClickRef=(0,react.useRef)((()=>{}));return(0,react.useEffect)((()=>{const handlePointerDown=event=>{if(event.target&&!isPointerInsideReactTreeRef.current){const eventDetail={originalEvent:event};function handleAndDispatchPointerDownOutsideEvent(){$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.pointerDownOutside",handlePointerDownOutside,eventDetail,{discrete:!0})}"touch"===event.pointerType?(ownerDocument.removeEventListener("click",handleClickRef.current),handleClickRef.current=handleAndDispatchPointerDownOutsideEvent,ownerDocument.addEventListener("click",handleClickRef.current,{once:!0})):handleAndDispatchPointerDownOutsideEvent()}isPointerInsideReactTreeRef.current=!1},timerId=window.setTimeout((()=>{ownerDocument.addEventListener("pointerdown",handlePointerDown)}),0);return()=>{window.clearTimeout(timerId),ownerDocument.removeEventListener("pointerdown",handlePointerDown),ownerDocument.removeEventListener("click",handleClickRef.current)}}),[ownerDocument,handlePointerDownOutside]),{onPointerDownCapture:()=>isPointerInsideReactTreeRef.current=!0}}((event=>{const target=event.target,isPointerDownOnBranch=[...context.branches].some((branch=>branch.contains(target)));isPointerEventsEnabled&&!isPointerDownOnBranch&&(null==onPointerDownOutside||onPointerDownOutside(event),null==onInteractOutside||onInteractOutside(event),event.defaultPrevented||null==onDismiss||onDismiss())}),ownerDocument),focusOutside=function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const handleFocusOutside=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside),isFocusInsideReactTreeRef=(0,react.useRef)(!1);return(0,react.useEffect)((()=>{const handleFocus=event=>{if(event.target&&!isFocusInsideReactTreeRef.current){$5cb92bef7577960e$var$handleAndDispatchCustomEvent("dismissableLayer.focusOutside",handleFocusOutside,{originalEvent:event},{discrete:!1})}};return ownerDocument.addEventListener("focusin",handleFocus),()=>ownerDocument.removeEventListener("focusin",handleFocus)}),[ownerDocument,handleFocusOutside]),{onFocusCapture:()=>isFocusInsideReactTreeRef.current=!0,onBlurCapture:()=>isFocusInsideReactTreeRef.current=!1}}((event=>{const target=event.target;[...context.branches].some((branch=>branch.contains(target)))||(null==onFocusOutside||onFocusOutside(event),null==onInteractOutside||onInteractOutside(event),event.defaultPrevented||null==onDismiss||onDismiss())}),ownerDocument);return function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp,ownerDocument=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const onEscapeKeyDown=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);(0,react.useEffect)((()=>{const handleKeyDown=event=>{"Escape"===event.key&&onEscapeKeyDown(event)};return ownerDocument.addEventListener("keydown",handleKeyDown),()=>ownerDocument.removeEventListener("keydown",handleKeyDown)}),[onEscapeKeyDown,ownerDocument])}((event=>{index===context.layers.size-1&&(null==onEscapeKeyDown||onEscapeKeyDown(event),!event.defaultPrevented&&onDismiss&&(event.preventDefault(),onDismiss()))}),ownerDocument),(0,react.useEffect)((()=>{if(node1)return disableOutsidePointerEvents&&(0===context.layersWithOutsidePointerEventsDisabled.size&&($5cb92bef7577960e$var$originalBodyPointerEvents=ownerDocument.body.style.pointerEvents,ownerDocument.body.style.pointerEvents="none"),context.layersWithOutsidePointerEventsDisabled.add(node1)),context.layers.add(node1),$5cb92bef7577960e$var$dispatchUpdate(),()=>{disableOutsidePointerEvents&&1===context.layersWithOutsidePointerEventsDisabled.size&&(ownerDocument.body.style.pointerEvents=$5cb92bef7577960e$var$originalBodyPointerEvents)}}),[node1,ownerDocument,disableOutsidePointerEvents,context]),(0,react.useEffect)((()=>()=>{node1&&(context.layers.delete(node1),context.layersWithOutsidePointerEventsDisabled.delete(node1),$5cb92bef7577960e$var$dispatchUpdate())}),[node1,context]),(0,react.useEffect)((()=>{const handleUpdate=()=>force({});return document.addEventListener("dismissableLayer.update",handleUpdate),()=>document.removeEventListener("dismissableLayer.update",handleUpdate)}),[]),(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,(0,esm_extends.Z)({},layerProps,{ref:composedRefs,style:{pointerEvents:isBodyPointerEventsDisabled?isPointerEventsEnabled?"auto":"none":void 0,...props.style},onFocusCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onFocusCapture,focusOutside.onFocusCapture),onBlurCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onBlurCapture,focusOutside.onBlurCapture),onPointerDownCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerDownCapture,pointerDownOutside.onPointerDownCapture)}))}));function $5cb92bef7577960e$var$dispatchUpdate(){const event=new CustomEvent("dismissableLayer.update");document.dispatchEvent(event)}function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name,handler,detail,{discrete:discrete}){const target=detail.originalEvent.target,event=new CustomEvent(name,{bubbles:!1,cancelable:!0,detail:detail});handler&&target.addEventListener(name,handler,{once:!0}),discrete?function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target,event){target&&(0,react_dom.flushSync)((()=>target.dispatchEvent(event)))}(target,event):target.dispatchEvent(event)}let $3db38b7d1fb3fe6a$var$count=0;function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c(){(0,react.useEffect)((()=>{var _edgeGuards$,_edgeGuards$2;const edgeGuards=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(_edgeGuards$=edgeGuards[0])&&void 0!==_edgeGuards$?_edgeGuards$:$3db38b7d1fb3fe6a$var$createFocusGuard()),document.body.insertAdjacentElement("beforeend",null!==(_edgeGuards$2=edgeGuards[1])&&void 0!==_edgeGuards$2?_edgeGuards$2:$3db38b7d1fb3fe6a$var$createFocusGuard()),$3db38b7d1fb3fe6a$var$count++,()=>{1===$3db38b7d1fb3fe6a$var$count&&document.querySelectorAll("[data-radix-focus-guard]").forEach((node=>node.remove())),$3db38b7d1fb3fe6a$var$count--}}),[])}function $3db38b7d1fb3fe6a$var$createFocusGuard(){const element=document.createElement("span");return element.setAttribute("data-radix-focus-guard",""),element.tabIndex=0,element.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",element}const $d3863c46a17e8a28$var$EVENT_OPTIONS={bubbles:!1,cancelable:!0},$d3863c46a17e8a28$export$20e40289641fbbb6=(0,react.forwardRef)(((props,forwardedRef)=>{const{loop:loop=!1,trapped:trapped=!1,onMountAutoFocus:onMountAutoFocusProp,onUnmountAutoFocus:onUnmountAutoFocusProp,...scopeProps}=props,[container1,setContainer]=(0,react.useState)(null),onMountAutoFocus=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp),onUnmountAutoFocus=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp),lastFocusedElementRef=(0,react.useRef)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setContainer(node))),focusScope=(0,react.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,react.useEffect)((()=>{if(trapped){function handleFocusIn(event){if(focusScope.paused||!container1)return;const target=event.target;container1.contains(target)?lastFocusedElementRef.current=target:$d3863c46a17e8a28$var$focus(lastFocusedElementRef.current,{select:!0})}function handleFocusOut(event){if(focusScope.paused||!container1)return;const relatedTarget=event.relatedTarget;null!==relatedTarget&&(container1.contains(relatedTarget)||$d3863c46a17e8a28$var$focus(lastFocusedElementRef.current,{select:!0}))}function handleMutations(mutations){const focusedElement=document.activeElement;for(const mutation of mutations)mutation.removedNodes.length>0&&(null!=container1&&container1.contains(focusedElement)||$d3863c46a17e8a28$var$focus(container1))}document.addEventListener("focusin",handleFocusIn),document.addEventListener("focusout",handleFocusOut);const mutationObserver=new MutationObserver(handleMutations);return container1&&mutationObserver.observe(container1,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",handleFocusIn),document.removeEventListener("focusout",handleFocusOut),mutationObserver.disconnect()}}}),[trapped,container1,focusScope.paused]),(0,react.useEffect)((()=>{if(container1){$d3863c46a17e8a28$var$focusScopesStack.add(focusScope);const previouslyFocusedElement=document.activeElement;if(!container1.contains(previouslyFocusedElement)){const mountEvent=new CustomEvent("focusScope.autoFocusOnMount",$d3863c46a17e8a28$var$EVENT_OPTIONS);container1.addEventListener("focusScope.autoFocusOnMount",onMountAutoFocus),container1.dispatchEvent(mountEvent),mountEvent.defaultPrevented||(!function $d3863c46a17e8a28$var$focusFirst(candidates,{select:select=!1}={}){const previouslyFocusedElement=document.activeElement;for(const candidate of candidates)if($d3863c46a17e8a28$var$focus(candidate,{select:select}),document.activeElement!==previouslyFocusedElement)return}(function $d3863c46a17e8a28$var$removeLinks(items){return items.filter((item=>"A"!==item.tagName))}($d3863c46a17e8a28$var$getTabbableCandidates(container1)),{select:!0}),document.activeElement===previouslyFocusedElement&&$d3863c46a17e8a28$var$focus(container1))}return()=>{container1.removeEventListener("focusScope.autoFocusOnMount",onMountAutoFocus),setTimeout((()=>{const unmountEvent=new CustomEvent("focusScope.autoFocusOnUnmount",$d3863c46a17e8a28$var$EVENT_OPTIONS);container1.addEventListener("focusScope.autoFocusOnUnmount",onUnmountAutoFocus),container1.dispatchEvent(unmountEvent),unmountEvent.defaultPrevented||$d3863c46a17e8a28$var$focus(null!=previouslyFocusedElement?previouslyFocusedElement:document.body,{select:!0}),container1.removeEventListener("focusScope.autoFocusOnUnmount",onUnmountAutoFocus),$d3863c46a17e8a28$var$focusScopesStack.remove(focusScope)}),0)}}}),[container1,onMountAutoFocus,onUnmountAutoFocus,focusScope]);const handleKeyDown=(0,react.useCallback)((event=>{if(!loop&&!trapped)return;if(focusScope.paused)return;const isTabKey="Tab"===event.key&&!event.altKey&&!event.ctrlKey&&!event.metaKey,focusedElement=document.activeElement;if(isTabKey&&focusedElement){const container=event.currentTarget,[first,last]=function $d3863c46a17e8a28$var$getTabbableEdges(container){const candidates=$d3863c46a17e8a28$var$getTabbableCandidates(container),first=$d3863c46a17e8a28$var$findVisible(candidates,container),last=$d3863c46a17e8a28$var$findVisible(candidates.reverse(),container);return[first,last]}(container);first&&last?event.shiftKey||focusedElement!==last?event.shiftKey&&focusedElement===first&&(event.preventDefault(),loop&&$d3863c46a17e8a28$var$focus(last,{select:!0})):(event.preventDefault(),loop&&$d3863c46a17e8a28$var$focus(first,{select:!0})):focusedElement===container&&event.preventDefault()}}),[loop,trapped,focusScope.paused]);return(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,(0,esm_extends.Z)({tabIndex:-1},scopeProps,{ref:composedRefs,onKeyDown:handleKeyDown}))}));function $d3863c46a17e8a28$var$getTabbableCandidates(container){const nodes=[],walker=document.createTreeWalker(container,NodeFilter.SHOW_ELEMENT,{acceptNode:node=>{const isHiddenInput="INPUT"===node.tagName&&"hidden"===node.type;return node.disabled||node.hidden||isHiddenInput?NodeFilter.FILTER_SKIP:node.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;walker.nextNode();)nodes.push(walker.currentNode);return nodes}function $d3863c46a17e8a28$var$findVisible(elements,container){for(const element of elements)if(!$d3863c46a17e8a28$var$isHidden(element,{upTo:container}))return element}function $d3863c46a17e8a28$var$isHidden(node,{upTo:upTo}){if("hidden"===getComputedStyle(node).visibility)return!0;for(;node;){if(void 0!==upTo&&node===upTo)return!1;if("none"===getComputedStyle(node).display)return!0;node=node.parentElement}return!1}function $d3863c46a17e8a28$var$focus(element,{select:select=!1}={}){if(element&&element.focus){const previouslyFocusedElement=document.activeElement;element.focus({preventScroll:!0}),element!==previouslyFocusedElement&&function $d3863c46a17e8a28$var$isSelectableInput(element){return element instanceof HTMLInputElement&&"select"in element}(element)&&select&&element.select()}}const $d3863c46a17e8a28$var$focusScopesStack=function $d3863c46a17e8a28$var$createFocusScopesStack(){let stack=[];return{add(focusScope){const activeFocusScope=stack[0];focusScope!==activeFocusScope&&(null==activeFocusScope||activeFocusScope.pause()),stack=$d3863c46a17e8a28$var$arrayRemove(stack,focusScope),stack.unshift(focusScope)},remove(focusScope){var _stack$;stack=$d3863c46a17e8a28$var$arrayRemove(stack,focusScope),null===(_stack$=stack[0])||void 0===_stack$||_stack$.resume()}}}();function $d3863c46a17e8a28$var$arrayRemove(array,item){const updatedArray=[...array],index=updatedArray.indexOf(item);return-1!==index&&updatedArray.splice(index,1),updatedArray}const $9f79659886946c16$export$e5c5a5f917a5871c=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?react.useLayoutEffect:()=>{},$1746a345f3d73bb7$var$useReactId=react_namespaceObject["useId".toString()]||(()=>{});let $1746a345f3d73bb7$var$count=0;function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId){const[id,setId]=react.useState($1746a345f3d73bb7$var$useReactId());return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{deterministicId||setId((reactId=>null!=reactId?reactId:String($1746a345f3d73bb7$var$count++)))}),[deterministicId]),deterministicId||(id?`radix-${id}`:"")}const sides=["top","right","bottom","left"],floating_ui_utils_min=Math.min,floating_ui_utils_max=Math.max,round=Math.round,floor=Math.floor,createCoords=v=>({x:v,y:v}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(start,value,end){return floating_ui_utils_max(start,floating_ui_utils_min(value,end))}function floating_ui_utils_evaluate(value,param){return"function"==typeof value?value(param):value}function floating_ui_utils_getSide(placement){return placement.split("-")[0]}function floating_ui_utils_getAlignment(placement){return placement.split("-")[1]}function getOppositeAxis(axis){return"x"===axis?"y":"x"}function getAxisLength(axis){return"y"===axis?"height":"width"}function floating_ui_utils_getSideAxis(placement){return["top","bottom"].includes(floating_ui_utils_getSide(placement))?"y":"x"}function getAlignmentAxis(placement){return getOppositeAxis(floating_ui_utils_getSideAxis(placement))}function floating_ui_utils_getOppositeAlignmentPlacement(placement){return placement.replace(/start|end/g,(alignment=>oppositeAlignmentMap[alignment]))}function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(side=>oppositeSideMap[side]))}function floating_ui_utils_getPaddingObject(padding){return"number"!=typeof padding?function expandPaddingObject(padding){return{top:0,right:0,bottom:0,left:0,...padding}}(padding):{top:padding,right:padding,bottom:padding,left:padding}}function floating_ui_utils_rectToClientRect(rect){return{...rect,top:rect.y,left:rect.x,right:rect.x+rect.width,bottom:rect.y+rect.height}}function computeCoordsFromPlacement(_ref,placement,rtl){let{reference:reference,floating:floating}=_ref;const sideAxis=floating_ui_utils_getSideAxis(placement),alignmentAxis=getAlignmentAxis(placement),alignLength=getAxisLength(alignmentAxis),side=floating_ui_utils_getSide(placement),isVertical="y"===sideAxis,commonX=reference.x+reference.width/2-floating.width/2,commonY=reference.y+reference.height/2-floating.height/2,commonAlign=reference[alignLength]/2-floating[alignLength]/2;let coords;switch(side){case"top":coords={x:commonX,y:reference.y-floating.height};break;case"bottom":coords={x:commonX,y:reference.y+reference.height};break;case"right":coords={x:reference.x+reference.width,y:commonY};break;case"left":coords={x:reference.x-floating.width,y:commonY};break;default:coords={x:reference.x,y:reference.y}}switch(floating_ui_utils_getAlignment(placement)){case"start":coords[alignmentAxis]-=commonAlign*(rtl&&isVertical?-1:1);break;case"end":coords[alignmentAxis]+=commonAlign*(rtl&&isVertical?-1:1)}return coords}async function detectOverflow(state,options){var _await$platform$isEle;void 0===options&&(options={});const{x:x,y:y,platform:platform,rects:rects,elements:elements,strategy:strategy}=state,{boundary:boundary="clippingAncestors",rootBoundary:rootBoundary="viewport",elementContext:elementContext="floating",altBoundary:altBoundary=!1,padding:padding=0}=floating_ui_utils_evaluate(options,state),paddingObject=floating_ui_utils_getPaddingObject(padding),element=elements[altBoundary?"floating"===elementContext?"reference":"floating":elementContext],clippingClientRect=floating_ui_utils_rectToClientRect(await platform.getClippingRect({element:null==(_await$platform$isEle=await(null==platform.isElement?void 0:platform.isElement(element)))||_await$platform$isEle?element:element.contextElement||await(null==platform.getDocumentElement?void 0:platform.getDocumentElement(elements.floating)),boundary:boundary,rootBoundary:rootBoundary,strategy:strategy})),rect="floating"===elementContext?{...rects.floating,x:x,y:y}:rects.reference,offsetParent=await(null==platform.getOffsetParent?void 0:platform.getOffsetParent(elements.floating)),offsetScale=await(null==platform.isElement?void 0:platform.isElement(offsetParent))&&await(null==platform.getScale?void 0:platform.getScale(offsetParent))||{x:1,y:1},elementClientRect=floating_ui_utils_rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect?await platform.convertOffsetParentRelativeRectToViewportRelativeRect({rect:rect,offsetParent:offsetParent,strategy:strategy}):rect);return{top:(clippingClientRect.top-elementClientRect.top+paddingObject.top)/offsetScale.y,bottom:(elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom)/offsetScale.y,left:(clippingClientRect.left-elementClientRect.left+paddingObject.left)/offsetScale.x,right:(elementClientRect.right-clippingClientRect.right+paddingObject.right)/offsetScale.x}}const arrow=options=>({name:"arrow",options:options,async fn(state){const{x:x,y:y,placement:placement,rects:rects,platform:platform,elements:elements}=state,{element:element,padding:padding=0}=floating_ui_utils_evaluate(options,state)||{};if(null==element)return{};const paddingObject=floating_ui_utils_getPaddingObject(padding),coords={x:x,y:y},axis=getAlignmentAxis(placement),length=getAxisLength(axis),arrowDimensions=await platform.getDimensions(element),isYAxis="y"===axis,minProp=isYAxis?"top":"left",maxProp=isYAxis?"bottom":"right",clientProp=isYAxis?"clientHeight":"clientWidth",endDiff=rects.reference[length]+rects.reference[axis]-coords[axis]-rects.floating[length],startDiff=coords[axis]-rects.reference[axis],arrowOffsetParent=await(null==platform.getOffsetParent?void 0:platform.getOffsetParent(element));let clientSize=arrowOffsetParent?arrowOffsetParent[clientProp]:0;clientSize&&await(null==platform.isElement?void 0:platform.isElement(arrowOffsetParent))||(clientSize=elements.floating[clientProp]||rects.floating[length]);const centerToReference=endDiff/2-startDiff/2,largestPossiblePadding=clientSize/2-arrowDimensions[length]/2-1,minPadding=floating_ui_utils_min(paddingObject[minProp],largestPossiblePadding),maxPadding=floating_ui_utils_min(paddingObject[maxProp],largestPossiblePadding),min$1=minPadding,max=clientSize-arrowDimensions[length]-maxPadding,center=clientSize/2-arrowDimensions[length]/2+centerToReference,offset=clamp(min$1,center,max),alignmentOffset=null!=floating_ui_utils_getAlignment(placement)&¢er!=offset&&rects.reference[length]/2-(centerside+"-"+alignment)),flipAlignment&&(list=list.concat(list.map(floating_ui_utils_getOppositeAlignmentPlacement)))),list}(initialPlacement,flipAlignment,fallbackAxisSideDirection,rtl));const placements=[initialPlacement,...fallbackPlacements],overflow=await detectOverflow(state,detectOverflowOptions),overflows=[];let overflowsData=(null==(_middlewareData$flip=middlewareData.flip)?void 0:_middlewareData$flip.overflows)||[];if(checkMainAxis&&overflows.push(overflow[side]),checkCrossAxis){const sides=function floating_ui_utils_getAlignmentSides(placement,rects,rtl){void 0===rtl&&(rtl=!1);const alignment=floating_ui_utils_getAlignment(placement),alignmentAxis=getAlignmentAxis(placement),length=getAxisLength(alignmentAxis);let mainAlignmentSide="x"===alignmentAxis?alignment===(rtl?"end":"start")?"right":"left":"start"===alignment?"bottom":"top";return rects.reference[length]>rects.floating[length]&&(mainAlignmentSide=getOppositePlacement(mainAlignmentSide)),[mainAlignmentSide,getOppositePlacement(mainAlignmentSide)]}(placement,rects,rtl);overflows.push(overflow[sides[0]],overflow[sides[1]])}if(overflowsData=[...overflowsData,{placement:placement,overflows:overflows}],!overflows.every((side=>side<=0))){var _middlewareData$flip2,_overflowsData$filter;const nextIndex=((null==(_middlewareData$flip2=middlewareData.flip)?void 0:_middlewareData$flip2.index)||0)+1,nextPlacement=placements[nextIndex];if(nextPlacement)return{data:{index:nextIndex,overflows:overflowsData},reset:{placement:nextPlacement}};let resetPlacement=null==(_overflowsData$filter=overflowsData.filter((d=>d.overflows[0]<=0)).sort(((a,b)=>a.overflows[1]-b.overflows[1]))[0])?void 0:_overflowsData$filter.placement;if(!resetPlacement)switch(fallbackStrategy){case"bestFit":{var _overflowsData$map$so;const placement=null==(_overflowsData$map$so=overflowsData.map((d=>[d.placement,d.overflows.filter((overflow=>overflow>0)).reduce(((acc,overflow)=>acc+overflow),0)])).sort(((a,b)=>a[1]-b[1]))[0])?void 0:_overflowsData$map$so[0];placement&&(resetPlacement=placement);break}case"initialPlacement":resetPlacement=initialPlacement}if(placement!==resetPlacement)return{reset:{placement:resetPlacement}}}return{}}}};function getSideOffsets(overflow,rect){return{top:overflow.top-rect.height,right:overflow.right-rect.width,bottom:overflow.bottom-rect.height,left:overflow.left-rect.width}}function isAnySideFullyClipped(overflow){return sides.some((side=>overflow[side]>=0))}const hide=function(options){return void 0===options&&(options={}),{name:"hide",options:options,async fn(state){const{rects:rects}=state,{strategy:strategy="referenceHidden",...detectOverflowOptions}=floating_ui_utils_evaluate(options,state);switch(strategy){case"referenceHidden":{const offsets=getSideOffsets(await detectOverflow(state,{...detectOverflowOptions,elementContext:"reference"}),rects.reference);return{data:{referenceHiddenOffsets:offsets,referenceHidden:isAnySideFullyClipped(offsets)}}}case"escaped":{const offsets=getSideOffsets(await detectOverflow(state,{...detectOverflowOptions,altBoundary:!0}),rects.floating);return{data:{escapedOffsets:offsets,escaped:isAnySideFullyClipped(offsets)}}}default:return{}}}}};const offset=function(options){return void 0===options&&(options=0),{name:"offset",options:options,async fn(state){const{x:x,y:y}=state,diffCoords=await async function convertValueToCoords(state,options){const{placement:placement,platform:platform,elements:elements}=state,rtl=await(null==platform.isRTL?void 0:platform.isRTL(elements.floating)),side=floating_ui_utils_getSide(placement),alignment=floating_ui_utils_getAlignment(placement),isVertical="y"===floating_ui_utils_getSideAxis(placement),mainAxisMulti=["left","top"].includes(side)?-1:1,crossAxisMulti=rtl&&isVertical?-1:1,rawValue=floating_ui_utils_evaluate(options,state);let{mainAxis:mainAxis,crossAxis:crossAxis,alignmentAxis:alignmentAxis}="number"==typeof rawValue?{mainAxis:rawValue,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...rawValue};return alignment&&"number"==typeof alignmentAxis&&(crossAxis="end"===alignment?-1*alignmentAxis:alignmentAxis),isVertical?{x:crossAxis*crossAxisMulti,y:mainAxis*mainAxisMulti}:{x:mainAxis*mainAxisMulti,y:crossAxis*crossAxisMulti}}(state,options);return{x:x+diffCoords.x,y:y+diffCoords.y,data:diffCoords}}}},shift=function(options){return void 0===options&&(options={}),{name:"shift",options:options,async fn(state){const{x:x,y:y,placement:placement}=state,{mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!1,limiter:limiter={fn:_ref=>{let{x:x,y:y}=_ref;return{x:x,y:y}}},...detectOverflowOptions}=floating_ui_utils_evaluate(options,state),coords={x:x,y:y},overflow=await detectOverflow(state,detectOverflowOptions),crossAxis=floating_ui_utils_getSideAxis(floating_ui_utils_getSide(placement)),mainAxis=getOppositeAxis(crossAxis);let mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];if(checkMainAxis){const maxSide="y"===mainAxis?"bottom":"right";mainAxisCoord=clamp(mainAxisCoord+overflow["y"===mainAxis?"top":"left"],mainAxisCoord,mainAxisCoord-overflow[maxSide])}if(checkCrossAxis){const maxSide="y"===crossAxis?"bottom":"right";crossAxisCoord=clamp(crossAxisCoord+overflow["y"===crossAxis?"top":"left"],crossAxisCoord,crossAxisCoord-overflow[maxSide])}const limitedCoords=limiter.fn({...state,[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord});return{...limitedCoords,data:{x:limitedCoords.x-x,y:limitedCoords.y-y}}}}},limitShift=function(options){return void 0===options&&(options={}),{options:options,fn(state){const{x:x,y:y,placement:placement,rects:rects,middlewareData:middlewareData}=state,{offset:offset=0,mainAxis:checkMainAxis=!0,crossAxis:checkCrossAxis=!0}=floating_ui_utils_evaluate(options,state),coords={x:x,y:y},crossAxis=floating_ui_utils_getSideAxis(placement),mainAxis=getOppositeAxis(crossAxis);let mainAxisCoord=coords[mainAxis],crossAxisCoord=coords[crossAxis];const rawOffset=floating_ui_utils_evaluate(offset,state),computedOffset="number"==typeof rawOffset?{mainAxis:rawOffset,crossAxis:0}:{mainAxis:0,crossAxis:0,...rawOffset};if(checkMainAxis){const len="y"===mainAxis?"height":"width",limitMin=rects.reference[mainAxis]-rects.floating[len]+computedOffset.mainAxis,limitMax=rects.reference[mainAxis]+rects.reference[len]-computedOffset.mainAxis;mainAxisCoordlimitMax&&(mainAxisCoord=limitMax)}if(checkCrossAxis){var _middlewareData$offse,_middlewareData$offse2;const len="y"===mainAxis?"width":"height",isOriginSide=["top","left"].includes(floating_ui_utils_getSide(placement)),limitMin=rects.reference[crossAxis]-rects.floating[len]+(isOriginSide&&(null==(_middlewareData$offse=middlewareData.offset)?void 0:_middlewareData$offse[crossAxis])||0)+(isOriginSide?0:computedOffset.crossAxis),limitMax=rects.reference[crossAxis]+rects.reference[len]+(isOriginSide?0:(null==(_middlewareData$offse2=middlewareData.offset)?void 0:_middlewareData$offse2[crossAxis])||0)-(isOriginSide?computedOffset.crossAxis:0);crossAxisCoordlimitMax&&(crossAxisCoord=limitMax)}return{[mainAxis]:mainAxisCoord,[crossAxis]:crossAxisCoord}}}},floating_ui_core_size=function(options){return void 0===options&&(options={}),{name:"size",options:options,async fn(state){const{placement:placement,rects:rects,platform:platform,elements:elements}=state,{apply:apply=(()=>{}),...detectOverflowOptions}=floating_ui_utils_evaluate(options,state),overflow=await detectOverflow(state,detectOverflowOptions),side=floating_ui_utils_getSide(placement),alignment=floating_ui_utils_getAlignment(placement),isYAxis="y"===floating_ui_utils_getSideAxis(placement),{width:width,height:height}=rects.floating;let heightSide,widthSide;"top"===side||"bottom"===side?(heightSide=side,widthSide=alignment===(await(null==platform.isRTL?void 0:platform.isRTL(elements.floating))?"start":"end")?"left":"right"):(widthSide=side,heightSide="end"===alignment?"top":"bottom");const overflowAvailableHeight=height-overflow[heightSide],overflowAvailableWidth=width-overflow[widthSide],noShift=!state.middlewareData.shift;let availableHeight=overflowAvailableHeight,availableWidth=overflowAvailableWidth;if(isYAxis){const maximumClippingWidth=width-overflow.left-overflow.right;availableWidth=alignment||noShift?floating_ui_utils_min(overflowAvailableWidth,maximumClippingWidth):maximumClippingWidth}else{const maximumClippingHeight=height-overflow.top-overflow.bottom;availableHeight=alignment||noShift?floating_ui_utils_min(overflowAvailableHeight,maximumClippingHeight):maximumClippingHeight}if(noShift&&!alignment){const xMin=floating_ui_utils_max(overflow.left,0),xMax=floating_ui_utils_max(overflow.right,0),yMin=floating_ui_utils_max(overflow.top,0),yMax=floating_ui_utils_max(overflow.bottom,0);isYAxis?availableWidth=width-2*(0!==xMin||0!==xMax?xMin+xMax:floating_ui_utils_max(overflow.left,overflow.right)):availableHeight=height-2*(0!==yMin||0!==yMax?yMin+yMax:floating_ui_utils_max(overflow.top,overflow.bottom))}await apply({...state,availableWidth:availableWidth,availableHeight:availableHeight});const nextDimensions=await platform.getDimensions(elements.floating);return width!==nextDimensions.width||height!==nextDimensions.height?{reset:{rects:!0}}:{}}}};function getNodeName(node){return isNode(node)?(node.nodeName||"").toLowerCase():"#document"}function getWindow(node){var _node$ownerDocument;return(null==node||null==(_node$ownerDocument=node.ownerDocument)?void 0:_node$ownerDocument.defaultView)||window}function getDocumentElement(node){var _ref;return null==(_ref=(isNode(node)?node.ownerDocument:node.document)||window.document)?void 0:_ref.documentElement}function isNode(value){return value instanceof Node||value instanceof getWindow(value).Node}function isElement(value){return value instanceof Element||value instanceof getWindow(value).Element}function isHTMLElement(value){return value instanceof HTMLElement||value instanceof getWindow(value).HTMLElement}function isShadowRoot(value){return"undefined"!=typeof ShadowRoot&&(value instanceof ShadowRoot||value instanceof getWindow(value).ShadowRoot)}function isOverflowElement(element){const{overflow:overflow,overflowX:overflowX,overflowY:overflowY,display:display}=floating_ui_utils_dom_getComputedStyle(element);return/auto|scroll|overlay|hidden|clip/.test(overflow+overflowY+overflowX)&&!["inline","contents"].includes(display)}function isTableElement(element){return["table","td","th"].includes(getNodeName(element))}function isContainingBlock(element){const webkit=isWebKit(),css=floating_ui_utils_dom_getComputedStyle(element);return"none"!==css.transform||"none"!==css.perspective||!!css.containerType&&"normal"!==css.containerType||!webkit&&!!css.backdropFilter&&"none"!==css.backdropFilter||!webkit&&!!css.filter&&"none"!==css.filter||["transform","perspective","filter"].some((value=>(css.willChange||"").includes(value)))||["paint","layout","strict","content"].some((value=>(css.contain||"").includes(value)))}function isWebKit(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(node){return["html","body","#document"].includes(getNodeName(node))}function floating_ui_utils_dom_getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function getNodeScroll(element){return isElement(element)?{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}:{scrollLeft:element.pageXOffset,scrollTop:element.pageYOffset}}function getParentNode(node){if("html"===getNodeName(node))return node;const result=node.assignedSlot||node.parentNode||isShadowRoot(node)&&node.host||getDocumentElement(node);return isShadowRoot(result)?result.host:result}function getNearestOverflowAncestor(node){const parentNode=getParentNode(node);return isLastTraversableNode(parentNode)?node.ownerDocument?node.ownerDocument.body:node.body:isHTMLElement(parentNode)&&isOverflowElement(parentNode)?parentNode:getNearestOverflowAncestor(parentNode)}function getOverflowAncestors(node,list){var _node$ownerDocument2;void 0===list&&(list=[]);const scrollableAncestor=getNearestOverflowAncestor(node),isBody=scrollableAncestor===(null==(_node$ownerDocument2=node.ownerDocument)?void 0:_node$ownerDocument2.body),win=getWindow(scrollableAncestor);return isBody?list.concat(win,win.visualViewport||[],isOverflowElement(scrollableAncestor)?scrollableAncestor:[]):list.concat(scrollableAncestor,getOverflowAncestors(scrollableAncestor))}function getCssDimensions(element){const css=floating_ui_utils_dom_getComputedStyle(element);let width=parseFloat(css.width)||0,height=parseFloat(css.height)||0;const hasOffset=isHTMLElement(element),offsetWidth=hasOffset?element.offsetWidth:width,offsetHeight=hasOffset?element.offsetHeight:height,shouldFallback=round(width)!==offsetWidth||round(height)!==offsetHeight;return shouldFallback&&(width=offsetWidth,height=offsetHeight),{width:width,height:height,$:shouldFallback}}function unwrapElement(element){return isElement(element)?element:element.contextElement}function getScale(element){const domElement=unwrapElement(element);if(!isHTMLElement(domElement))return createCoords(1);const rect=domElement.getBoundingClientRect(),{width:width,height:height,$:$}=getCssDimensions(domElement);let x=($?round(rect.width):rect.width)/width,y=($?round(rect.height):rect.height)/height;return x&&Number.isFinite(x)||(x=1),y&&Number.isFinite(y)||(y=1),{x:x,y:y}}const noOffsets=createCoords(0);function getVisualOffsets(element){const win=getWindow(element);return isWebKit()&&win.visualViewport?{x:win.visualViewport.offsetLeft,y:win.visualViewport.offsetTop}:noOffsets}function getBoundingClientRect(element,includeScale,isFixedStrategy,offsetParent){void 0===includeScale&&(includeScale=!1),void 0===isFixedStrategy&&(isFixedStrategy=!1);const clientRect=element.getBoundingClientRect(),domElement=unwrapElement(element);let scale=createCoords(1);includeScale&&(offsetParent?isElement(offsetParent)&&(scale=getScale(offsetParent)):scale=getScale(element));const visualOffsets=function shouldAddVisualOffsets(element,isFixed,floatingOffsetParent){return void 0===isFixed&&(isFixed=!1),!(!floatingOffsetParent||isFixed&&floatingOffsetParent!==getWindow(element))&&isFixed}(domElement,isFixedStrategy,offsetParent)?getVisualOffsets(domElement):createCoords(0);let x=(clientRect.left+visualOffsets.x)/scale.x,y=(clientRect.top+visualOffsets.y)/scale.y,width=clientRect.width/scale.x,height=clientRect.height/scale.y;if(domElement){const win=getWindow(domElement),offsetWin=offsetParent&&isElement(offsetParent)?getWindow(offsetParent):offsetParent;let currentIFrame=win.frameElement;for(;currentIFrame&&offsetParent&&offsetWin!==win;){const iframeScale=getScale(currentIFrame),iframeRect=currentIFrame.getBoundingClientRect(),css=floating_ui_utils_dom_getComputedStyle(currentIFrame),left=iframeRect.left+(currentIFrame.clientLeft+parseFloat(css.paddingLeft))*iframeScale.x,top=iframeRect.top+(currentIFrame.clientTop+parseFloat(css.paddingTop))*iframeScale.y;x*=iframeScale.x,y*=iframeScale.y,width*=iframeScale.x,height*=iframeScale.y,x+=left,y+=top,currentIFrame=getWindow(currentIFrame).frameElement}}return floating_ui_utils_rectToClientRect({width:width,height:height,x:x,y:y})}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getNodeScroll(element).scrollLeft}function getClientRectFromClippingAncestor(element,clippingAncestor,strategy){let rect;if("viewport"===clippingAncestor)rect=function getViewportRect(element,strategy){const win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport;let width=html.clientWidth,height=html.clientHeight,x=0,y=0;if(visualViewport){width=visualViewport.width,height=visualViewport.height;const visualViewportBased=isWebKit();(!visualViewportBased||visualViewportBased&&"fixed"===strategy)&&(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)}return{width:width,height:height,x:x,y:y}}(element,strategy);else if("document"===clippingAncestor)rect=function getDocumentRect(element){const html=getDocumentElement(element),scroll=getNodeScroll(element),body=element.ownerDocument.body,width=floating_ui_utils_max(html.scrollWidth,html.clientWidth,body.scrollWidth,body.clientWidth),height=floating_ui_utils_max(html.scrollHeight,html.clientHeight,body.scrollHeight,body.clientHeight);let x=-scroll.scrollLeft+getWindowScrollBarX(element);const y=-scroll.scrollTop;return"rtl"===floating_ui_utils_dom_getComputedStyle(body).direction&&(x+=floating_ui_utils_max(html.clientWidth,body.clientWidth)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element));else if(isElement(clippingAncestor))rect=function getInnerBoundingClientRect(element,strategy){const clientRect=getBoundingClientRect(element,!0,"fixed"===strategy),top=clientRect.top+element.clientTop,left=clientRect.left+element.clientLeft,scale=isHTMLElement(element)?getScale(element):createCoords(1);return{width:element.clientWidth*scale.x,height:element.clientHeight*scale.y,x:left*scale.x,y:top*scale.y}}(clippingAncestor,strategy);else{const visualOffsets=getVisualOffsets(element);rect={...clippingAncestor,x:clippingAncestor.x-visualOffsets.x,y:clippingAncestor.y-visualOffsets.y}}return floating_ui_utils_rectToClientRect(rect)}function hasFixedPositionAncestor(element,stopNode){const parentNode=getParentNode(element);return!(parentNode===stopNode||!isElement(parentNode)||isLastTraversableNode(parentNode))&&("fixed"===floating_ui_utils_dom_getComputedStyle(parentNode).position||hasFixedPositionAncestor(parentNode,stopNode))}function getRectRelativeToOffsetParent(element,offsetParent,strategy){const isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent),isFixed="fixed"===strategy,rect=getBoundingClientRect(element,!0,isFixed,offsetParent);let scroll={scrollLeft:0,scrollTop:0};const offsets=createCoords(0);if(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)if(("body"!==getNodeName(offsetParent)||isOverflowElement(documentElement))&&(scroll=getNodeScroll(offsetParent)),isOffsetParentAnElement){const offsetRect=getBoundingClientRect(offsetParent,!0,isFixed,offsetParent);offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}else documentElement&&(offsets.x=getWindowScrollBarX(documentElement));return{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getTrueOffsetParent(element,polyfill){return isHTMLElement(element)&&"fixed"!==floating_ui_utils_dom_getComputedStyle(element).position?polyfill?polyfill(element):element.offsetParent:null}function getOffsetParent(element,polyfill){const window=getWindow(element);if(!isHTMLElement(element))return window;let offsetParent=getTrueOffsetParent(element,polyfill);for(;offsetParent&&isTableElement(offsetParent)&&"static"===floating_ui_utils_dom_getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent,polyfill);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===floating_ui_utils_dom_getComputedStyle(offsetParent).position&&!isContainingBlock(offsetParent))?window:offsetParent||function getContainingBlock(element){let currentNode=getParentNode(element);for(;isHTMLElement(currentNode)&&!isLastTraversableNode(currentNode);){if(isContainingBlock(currentNode))return currentNode;currentNode=getParentNode(currentNode)}return null}(element)||window}const platform={convertOffsetParentRelativeRectToViewportRelativeRect:function convertOffsetParentRelativeRectToViewportRelativeRect(_ref){let{rect:rect,offsetParent:offsetParent,strategy:strategy}=_ref;const isOffsetParentAnElement=isHTMLElement(offsetParent),documentElement=getDocumentElement(offsetParent);if(offsetParent===documentElement)return rect;let scroll={scrollLeft:0,scrollTop:0},scale=createCoords(1);const offsets=createCoords(0);if((isOffsetParentAnElement||!isOffsetParentAnElement&&"fixed"!==strategy)&&(("body"!==getNodeName(offsetParent)||isOverflowElement(documentElement))&&(scroll=getNodeScroll(offsetParent)),isHTMLElement(offsetParent))){const offsetRect=getBoundingClientRect(offsetParent);scale=getScale(offsetParent),offsets.x=offsetRect.x+offsetParent.clientLeft,offsets.y=offsetRect.y+offsetParent.clientTop}return{width:rect.width*scale.x,height:rect.height*scale.y,x:rect.x*scale.x-scroll.scrollLeft*scale.x+offsets.x,y:rect.y*scale.y-scroll.scrollTop*scale.y+offsets.y}},getDocumentElement:getDocumentElement,getClippingRect:function getClippingRect(_ref){let{element:element,boundary:boundary,rootBoundary:rootBoundary,strategy:strategy}=_ref;const clippingAncestors=[..."clippingAncestors"===boundary?function getClippingElementAncestors(element,cache){const cachedResult=cache.get(element);if(cachedResult)return cachedResult;let result=getOverflowAncestors(element).filter((el=>isElement(el)&&"body"!==getNodeName(el))),currentContainingBlockComputedStyle=null;const elementIsFixed="fixed"===floating_ui_utils_dom_getComputedStyle(element).position;let currentNode=elementIsFixed?getParentNode(element):element;for(;isElement(currentNode)&&!isLastTraversableNode(currentNode);){const computedStyle=floating_ui_utils_dom_getComputedStyle(currentNode),currentNodeIsContaining=isContainingBlock(currentNode);currentNodeIsContaining||"fixed"!==computedStyle.position||(currentContainingBlockComputedStyle=null),(elementIsFixed?!currentNodeIsContaining&&!currentContainingBlockComputedStyle:!currentNodeIsContaining&&"static"===computedStyle.position&¤tContainingBlockComputedStyle&&["absolute","fixed"].includes(currentContainingBlockComputedStyle.position)||isOverflowElement(currentNode)&&!currentNodeIsContaining&&hasFixedPositionAncestor(element,currentNode))?result=result.filter((ancestor=>ancestor!==currentNode)):currentContainingBlockComputedStyle=computedStyle,currentNode=getParentNode(currentNode)}return cache.set(element,result),result}(element,this._c):[].concat(boundary),rootBoundary],firstClippingAncestor=clippingAncestors[0],clippingRect=clippingAncestors.reduce(((accRect,clippingAncestor)=>{const rect=getClientRectFromClippingAncestor(element,clippingAncestor,strategy);return accRect.top=floating_ui_utils_max(rect.top,accRect.top),accRect.right=floating_ui_utils_min(rect.right,accRect.right),accRect.bottom=floating_ui_utils_min(rect.bottom,accRect.bottom),accRect.left=floating_ui_utils_max(rect.left,accRect.left),accRect}),getClientRectFromClippingAncestor(element,firstClippingAncestor,strategy));return{width:clippingRect.right-clippingRect.left,height:clippingRect.bottom-clippingRect.top,x:clippingRect.left,y:clippingRect.top}},getOffsetParent:getOffsetParent,getElementRects:async function(_ref){let{reference:reference,floating:floating,strategy:strategy}=_ref;const getOffsetParentFn=this.getOffsetParent||getOffsetParent,getDimensionsFn=this.getDimensions;return{reference:getRectRelativeToOffsetParent(reference,await getOffsetParentFn(floating),strategy),floating:{x:0,y:0,...await getDimensionsFn(floating)}}},getClientRects:function getClientRects(element){return Array.from(element.getClientRects())},getDimensions:function getDimensions(element){return getCssDimensions(element)},getScale:getScale,isElement:isElement,isRTL:function isRTL(element){return"rtl"===floating_ui_utils_dom_getComputedStyle(element).direction}};function autoUpdate(reference,floating,update,options){void 0===options&&(options={});const{ancestorScroll:ancestorScroll=!0,ancestorResize:ancestorResize=!0,elementResize:elementResize="function"==typeof ResizeObserver,layoutShift:layoutShift="function"==typeof IntersectionObserver,animationFrame:animationFrame=!1}=options,referenceEl=unwrapElement(reference),ancestors=ancestorScroll||ancestorResize?[...referenceEl?getOverflowAncestors(referenceEl):[],...getOverflowAncestors(floating)]:[];ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.addEventListener("scroll",update,{passive:!0}),ancestorResize&&ancestor.addEventListener("resize",update)}));const cleanupIo=referenceEl&&layoutShift?function observeMove(element,onMove){let timeoutId,io=null;const root=getDocumentElement(element);function cleanup(){clearTimeout(timeoutId),io&&io.disconnect(),io=null}return function refresh(skip,threshold){void 0===skip&&(skip=!1),void 0===threshold&&(threshold=1),cleanup();const{left:left,top:top,width:width,height:height}=element.getBoundingClientRect();if(skip||onMove(),!width||!height)return;const options={rootMargin:-floor(top)+"px "+-floor(root.clientWidth-(left+width))+"px "+-floor(root.clientHeight-(top+height))+"px "+-floor(left)+"px",threshold:floating_ui_utils_max(0,floating_ui_utils_min(1,threshold))||1};let isFirstUpdate=!0;function handleObserve(entries){const ratio=entries[0].intersectionRatio;if(ratio!==threshold){if(!isFirstUpdate)return refresh();ratio?refresh(!1,ratio):timeoutId=setTimeout((()=>{refresh(!1,1e-7)}),100)}isFirstUpdate=!1}try{io=new IntersectionObserver(handleObserve,{...options,root:root.ownerDocument})}catch(e){io=new IntersectionObserver(handleObserve,options)}io.observe(element)}(!0),cleanup}(referenceEl,update):null;let frameId,reobserveFrame=-1,resizeObserver=null;elementResize&&(resizeObserver=new ResizeObserver((_ref=>{let[firstEntry]=_ref;firstEntry&&firstEntry.target===referenceEl&&resizeObserver&&(resizeObserver.unobserve(floating),cancelAnimationFrame(reobserveFrame),reobserveFrame=requestAnimationFrame((()=>{resizeObserver&&resizeObserver.observe(floating)}))),update()})),referenceEl&&!animationFrame&&resizeObserver.observe(referenceEl),resizeObserver.observe(floating));let prevRefRect=animationFrame?getBoundingClientRect(reference):null;return animationFrame&&function frameLoop(){const nextRefRect=getBoundingClientRect(reference);!prevRefRect||nextRefRect.x===prevRefRect.x&&nextRefRect.y===prevRefRect.y&&nextRefRect.width===prevRefRect.width&&nextRefRect.height===prevRefRect.height||update();prevRefRect=nextRefRect,frameId=requestAnimationFrame(frameLoop)}(),update(),()=>{ancestors.forEach((ancestor=>{ancestorScroll&&ancestor.removeEventListener("scroll",update),ancestorResize&&ancestor.removeEventListener("resize",update)})),cleanupIo&&cleanupIo(),resizeObserver&&resizeObserver.disconnect(),resizeObserver=null,animationFrame&&cancelAnimationFrame(frameId)}}const floating_ui_dom_computePosition=(reference,floating,options)=>{const cache=new Map,mergedOptions={platform:platform,...options},platformWithCache={...mergedOptions.platform,_c:cache};return(async(reference,floating,config)=>{const{placement:placement="bottom",strategy:strategy="absolute",middleware:middleware=[],platform:platform}=config,validMiddleware=middleware.filter(Boolean),rtl=await(null==platform.isRTL?void 0:platform.isRTL(floating));let rects=await platform.getElementRects({reference:reference,floating:floating,strategy:strategy}),{x:x,y:y}=computeCoordsFromPlacement(rects,placement,rtl),statefulPlacement=placement,middlewareData={},resetCount=0;for(let i=0;i({name:"arrow",options:options,fn(state){const{element:element,padding:padding}="function"==typeof options?options(state):options;return element&&function isRef(value){return{}.hasOwnProperty.call(value,"current")}(element)?null!=element.current?arrow({element:element.current,padding:padding}).fn(state):{}:element?arrow({element:element,padding:padding}).fn(state):{}}});var index="undefined"!=typeof document?react.useLayoutEffect:react.useEffect;function deepEqual(a,b){if(a===b)return!0;if(typeof a!=typeof b)return!1;if("function"==typeof a&&a.toString()===b.toString())return!0;let length,i,keys;if(a&&b&&"object"==typeof a){if(Array.isArray(a)){if(length=a.length,length!=b.length)return!1;for(i=length;0!=i--;)if(!deepEqual(a[i],b[i]))return!1;return!0}if(keys=Object.keys(a),length=keys.length,length!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!{}.hasOwnProperty.call(b,keys[i]))return!1;for(i=length;0!=i--;){const key=keys[i];if(("_owner"!==key||!a.$$typeof)&&!deepEqual(a[key],b[key]))return!1}return!0}return a!=a&&b!=b}function getDPR(element){if("undefined"==typeof window)return 1;return(element.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(element,value){const dpr=getDPR(element);return Math.round(value*dpr)/dpr}function useLatestRef(value){const ref=react.useRef(value);return index((()=>{ref.current=value})),ref}const[$cf1ac5d9fe0e8206$var$createPopperContext,$cf1ac5d9fe0e8206$export$722aac194ae923]=$c512c27ab02ef895$export$50c7b4e9d9f19c1("Popper"),[$cf1ac5d9fe0e8206$var$PopperProvider,$cf1ac5d9fe0e8206$var$usePopperContext]=$cf1ac5d9fe0e8206$var$createPopperContext("Popper"),$cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d=(0,react.forwardRef)(((props,forwardedRef)=>{const{__scopePopper:__scopePopper,virtualRef:virtualRef,...anchorProps}=props,context=$cf1ac5d9fe0e8206$var$usePopperContext("PopperAnchor",__scopePopper),ref=(0,react.useRef)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref);return(0,react.useEffect)((()=>{context.onAnchorChange((null==virtualRef?void 0:virtualRef.current)||ref.current)})),virtualRef?null:(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,(0,esm_extends.Z)({},anchorProps,{ref:composedRefs}))})),[$cf1ac5d9fe0e8206$var$PopperContentProvider,$cf1ac5d9fe0e8206$var$useContentContext]=$cf1ac5d9fe0e8206$var$createPopperContext("PopperContent"),$cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc=(0,react.forwardRef)(((props,forwardedRef)=>{var _arrowSize$width,_arrowSize$height,_middlewareData$arrow,_middlewareData$arrow2,_middlewareData$arrow3,_middlewareData$trans,_middlewareData$trans2,_middlewareData$hide;const{__scopePopper:__scopePopper,side:side="bottom",sideOffset:sideOffset=0,align:align="center",alignOffset:alignOffset=0,arrowPadding:arrowPadding=0,collisionBoundary:collisionBoundary=[],collisionPadding:collisionPaddingProp=0,sticky:sticky="partial",hideWhenDetached:hideWhenDetached=!1,avoidCollisions:avoidCollisions=!0,onPlaced:onPlaced,...contentProps}=props,context=$cf1ac5d9fe0e8206$var$usePopperContext("PopperContent",__scopePopper),[content,setContent]=(0,react.useState)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,(node=>setContent(node))),[arrow,setArrow]=(0,react.useState)(null),arrowSize=function $db6c3485150b8e66$export$1ab7ae714698c4b8(element){const[size,setSize]=(0,react.useState)(void 0);return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{if(element){setSize({width:element.offsetWidth,height:element.offsetHeight});const resizeObserver=new ResizeObserver((entries=>{if(!Array.isArray(entries))return;if(!entries.length)return;const entry=entries[0];let width,height;if("borderBoxSize"in entry){const borderSizeEntry=entry.borderBoxSize,borderSize=Array.isArray(borderSizeEntry)?borderSizeEntry[0]:borderSizeEntry;width=borderSize.inlineSize,height=borderSize.blockSize}else width=element.offsetWidth,height=element.offsetHeight;setSize({width:width,height:height})}));return resizeObserver.observe(element,{box:"border-box"}),()=>resizeObserver.unobserve(element)}setSize(void 0)}),[element]),size}(arrow),arrowWidth=null!==(_arrowSize$width=null==arrowSize?void 0:arrowSize.width)&&void 0!==_arrowSize$width?_arrowSize$width:0,arrowHeight=null!==(_arrowSize$height=null==arrowSize?void 0:arrowSize.height)&&void 0!==_arrowSize$height?_arrowSize$height:0,desiredPlacement=side+("center"!==align?"-"+align:""),collisionPadding="number"==typeof collisionPaddingProp?collisionPaddingProp:{top:0,right:0,bottom:0,left:0,...collisionPaddingProp},boundary=Array.isArray(collisionBoundary)?collisionBoundary:[collisionBoundary],hasExplicitBoundaries=boundary.length>0,detectOverflowOptions={padding:collisionPadding,boundary:boundary.filter($cf1ac5d9fe0e8206$var$isNotNull),altBoundary:hasExplicitBoundaries},{refs:refs,floatingStyles:floatingStyles,placement:placement,isPositioned:isPositioned,middlewareData:middlewareData}=function useFloating(options){void 0===options&&(options={});const{placement:placement="bottom",strategy:strategy="absolute",middleware:middleware=[],platform:platform,elements:{reference:externalReference,floating:externalFloating}={},transform:transform=!0,whileElementsMounted:whileElementsMounted,open:open}=options,[data,setData]=react.useState({x:0,y:0,strategy:strategy,placement:placement,middlewareData:{},isPositioned:!1}),[latestMiddleware,setLatestMiddleware]=react.useState(middleware);deepEqual(latestMiddleware,middleware)||setLatestMiddleware(middleware);const[_reference,_setReference]=react.useState(null),[_floating,_setFloating]=react.useState(null),setReference=react.useCallback((node=>{node!=referenceRef.current&&(referenceRef.current=node,_setReference(node))}),[_setReference]),setFloating=react.useCallback((node=>{node!==floatingRef.current&&(floatingRef.current=node,_setFloating(node))}),[_setFloating]),referenceEl=externalReference||_reference,floatingEl=externalFloating||_floating,referenceRef=react.useRef(null),floatingRef=react.useRef(null),dataRef=react.useRef(data),whileElementsMountedRef=useLatestRef(whileElementsMounted),platformRef=useLatestRef(platform),update=react.useCallback((()=>{if(!referenceRef.current||!floatingRef.current)return;const config={placement:placement,strategy:strategy,middleware:latestMiddleware};platformRef.current&&(config.platform=platformRef.current),floating_ui_dom_computePosition(referenceRef.current,floatingRef.current,config).then((data=>{const fullData={...data,isPositioned:!0};isMountedRef.current&&!deepEqual(dataRef.current,fullData)&&(dataRef.current=fullData,react_dom.flushSync((()=>{setData(fullData)})))}))}),[latestMiddleware,placement,strategy,platformRef]);index((()=>{!1===open&&dataRef.current.isPositioned&&(dataRef.current.isPositioned=!1,setData((data=>({...data,isPositioned:!1}))))}),[open]);const isMountedRef=react.useRef(!1);index((()=>(isMountedRef.current=!0,()=>{isMountedRef.current=!1})),[]),index((()=>{if(referenceEl&&(referenceRef.current=referenceEl),floatingEl&&(floatingRef.current=floatingEl),referenceEl&&floatingEl){if(whileElementsMountedRef.current)return whileElementsMountedRef.current(referenceEl,floatingEl,update);update()}}),[referenceEl,floatingEl,update,whileElementsMountedRef]);const refs=react.useMemo((()=>({reference:referenceRef,floating:floatingRef,setReference:setReference,setFloating:setFloating})),[setReference,setFloating]),elements=react.useMemo((()=>({reference:referenceEl,floating:floatingEl})),[referenceEl,floatingEl]),floatingStyles=react.useMemo((()=>{const initialStyles={position:strategy,left:0,top:0};if(!elements.floating)return initialStyles;const x=roundByDPR(elements.floating,data.x),y=roundByDPR(elements.floating,data.y);return transform?{...initialStyles,transform:"translate("+x+"px, "+y+"px)",...getDPR(elements.floating)>=1.5&&{willChange:"transform"}}:{position:strategy,left:x,top:y}}),[strategy,transform,elements.floating,data.x,data.y]);return react.useMemo((()=>({...data,update:update,refs:refs,elements:elements,floatingStyles:floatingStyles})),[data,update,refs,elements,floatingStyles])}({strategy:"fixed",placement:desiredPlacement,whileElementsMounted:autoUpdate,elements:{reference:context.anchor},middleware:[offset({mainAxis:sideOffset+arrowHeight,alignmentAxis:alignOffset}),avoidCollisions&&shift({mainAxis:!0,crossAxis:!1,limiter:"partial"===sticky?limitShift():void 0,...detectOverflowOptions}),avoidCollisions&&flip({...detectOverflowOptions}),floating_ui_core_size({...detectOverflowOptions,apply:({elements:elements,rects:rects,availableWidth:availableWidth,availableHeight:availableHeight})=>{const{width:anchorWidth,height:anchorHeight}=rects.reference,contentStyle=elements.floating.style;contentStyle.setProperty("--radix-popper-available-width",`${availableWidth}px`),contentStyle.setProperty("--radix-popper-available-height",`${availableHeight}px`),contentStyle.setProperty("--radix-popper-anchor-width",`${anchorWidth}px`),contentStyle.setProperty("--radix-popper-anchor-height",`${anchorHeight}px`)}}),arrow&&floating_ui_react_dom_esm_arrow({element:arrow,padding:arrowPadding}),$cf1ac5d9fe0e8206$var$transformOrigin({arrowWidth:arrowWidth,arrowHeight:arrowHeight}),hideWhenDetached&&hide({strategy:"referenceHidden"})]}),[placedSide,placedAlign]=$cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement),handlePlaced=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPlaced);$9f79659886946c16$export$e5c5a5f917a5871c((()=>{isPositioned&&(null==handlePlaced||handlePlaced())}),[isPositioned,handlePlaced]);const arrowX=null===(_middlewareData$arrow=middlewareData.arrow)||void 0===_middlewareData$arrow?void 0:_middlewareData$arrow.x,arrowY=null===(_middlewareData$arrow2=middlewareData.arrow)||void 0===_middlewareData$arrow2?void 0:_middlewareData$arrow2.y,cannotCenterArrow=0!==(null===(_middlewareData$arrow3=middlewareData.arrow)||void 0===_middlewareData$arrow3?void 0:_middlewareData$arrow3.centerOffset),[contentZIndex,setContentZIndex]=(0,react.useState)();return $9f79659886946c16$export$e5c5a5f917a5871c((()=>{content&&setContentZIndex(window.getComputedStyle(content).zIndex)}),[content]),(0,react.createElement)("div",{ref:refs.setFloating,"data-radix-popper-content-wrapper":"",style:{...floatingStyles,transform:isPositioned?floatingStyles.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:contentZIndex,"--radix-popper-transform-origin":[null===(_middlewareData$trans=middlewareData.transformOrigin)||void 0===_middlewareData$trans?void 0:_middlewareData$trans.x,null===(_middlewareData$trans2=middlewareData.transformOrigin)||void 0===_middlewareData$trans2?void 0:_middlewareData$trans2.y].join(" ")},dir:props.dir},(0,react.createElement)($cf1ac5d9fe0e8206$var$PopperContentProvider,{scope:__scopePopper,placedSide:placedSide,onArrowChange:setArrow,arrowX:arrowX,arrowY:arrowY,shouldHideArrow:cannotCenterArrow},(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,(0,esm_extends.Z)({"data-side":placedSide,"data-align":placedAlign},contentProps,{ref:composedRefs,style:{...contentProps.style,animation:isPositioned?void 0:"none",opacity:null!==(_middlewareData$hide=middlewareData.hide)&&void 0!==_middlewareData$hide&&_middlewareData$hide.referenceHidden?0:void 0}}))))}));function $cf1ac5d9fe0e8206$var$isNotNull(value){return null!==value}const $cf1ac5d9fe0e8206$var$transformOrigin=options=>({name:"transformOrigin",options:options,fn(data){var _middlewareData$arrow4,_middlewareData$arrow5,_middlewareData$arrow6,_middlewareData$arrow7,_middlewareData$arrow8;const{placement:placement,rects:rects,middlewareData:middlewareData}=data,isArrowHidden=0!==(null===(_middlewareData$arrow4=middlewareData.arrow)||void 0===_middlewareData$arrow4?void 0:_middlewareData$arrow4.centerOffset),arrowWidth=isArrowHidden?0:options.arrowWidth,arrowHeight=isArrowHidden?0:options.arrowHeight,[placedSide,placedAlign]=$cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement),noArrowAlign={start:"0%",center:"50%",end:"100%"}[placedAlign],arrowXCenter=(null!==(_middlewareData$arrow5=null===(_middlewareData$arrow6=middlewareData.arrow)||void 0===_middlewareData$arrow6?void 0:_middlewareData$arrow6.x)&&void 0!==_middlewareData$arrow5?_middlewareData$arrow5:0)+arrowWidth/2,arrowYCenter=(null!==(_middlewareData$arrow7=null===(_middlewareData$arrow8=middlewareData.arrow)||void 0===_middlewareData$arrow8?void 0:_middlewareData$arrow8.y)&&void 0!==_middlewareData$arrow7?_middlewareData$arrow7:0)+arrowHeight/2;let x="",y="";return"bottom"===placedSide?(x=isArrowHidden?noArrowAlign:`${arrowXCenter}px`,y=-arrowHeight+"px"):"top"===placedSide?(x=isArrowHidden?noArrowAlign:`${arrowXCenter}px`,y=`${rects.floating.height+arrowHeight}px`):"right"===placedSide?(x=-arrowHeight+"px",y=isArrowHidden?noArrowAlign:`${arrowYCenter}px`):"left"===placedSide&&(x=`${rects.floating.width+arrowHeight}px`,y=isArrowHidden?noArrowAlign:`${arrowYCenter}px`),{data:{x:x,y:y}}}});function $cf1ac5d9fe0e8206$var$getSideAndAlignFromPlacement(placement){const[side,align="center"]=placement.split("-");return[side,align]}const $cf1ac5d9fe0e8206$export$b688253958b8dfe7=$cf1ac5d9fe0e8206$export$ecd4e1ccab6ed6d,$cf1ac5d9fe0e8206$export$7c6e2c02157bb7d2=$cf1ac5d9fe0e8206$export$bc4ae5855d3c4fc,$f1701beae083dbae$export$602eac185826482c=(0,react.forwardRef)(((props,forwardedRef)=>{var _globalThis$document;const{container:container=(null===globalThis||void 0===globalThis||null===(_globalThis$document=globalThis.document)||void 0===_globalThis$document?void 0:_globalThis$document.body),...portalProps}=props;return container?react_dom.createPortal((0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,(0,esm_extends.Z)({},portalProps,{ref:forwardedRef})),container):null}));const $ea1ef594cf570d83$export$439d29a4e110a164=(0,react.forwardRef)(((props,forwardedRef)=>(0,react.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.span,(0,esm_extends.Z)({},props,{ref:forwardedRef,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...props.style}}))));var getDefaultParent=function(originalTarget){return"undefined"==typeof document?null:(Array.isArray(originalTarget)?originalTarget[0]:originalTarget).ownerDocument.body},counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={},lockCount=0,unwrapHost=function(node){return node&&(node.host||unwrapHost(node.parentNode))},applyAttributeToOthers=function(originalTarget,parentNode,markerName,controlAttribute){var targets=function(parent,targets){return targets.map((function(target){if(parent.contains(target))return target;var correctedTarget=unwrapHost(target);return correctedTarget&&parent.contains(correctedTarget)?correctedTarget:(console.error("aria-hidden",target,"in not contained inside",parent,". Doing nothing"),null)})).filter((function(x){return Boolean(x)}))}(parentNode,Array.isArray(originalTarget)?originalTarget:[originalTarget]);markerMap[markerName]||(markerMap[markerName]=new WeakMap);var markerCounter=markerMap[markerName],hiddenNodes=[],elementsToKeep=new Set,elementsToStop=new Set(targets),keep=function(el){el&&!elementsToKeep.has(el)&&(elementsToKeep.add(el),keep(el.parentNode))};targets.forEach(keep);var deep=function(parent){parent&&!elementsToStop.has(parent)&&Array.prototype.forEach.call(parent.children,(function(node){if(elementsToKeep.has(node))deep(node);else{var attr=node.getAttribute(controlAttribute),alreadyHidden=null!==attr&&"false"!==attr,counterValue=(counterMap.get(node)||0)+1,markerValue=(markerCounter.get(node)||0)+1;counterMap.set(node,counterValue),markerCounter.set(node,markerValue),hiddenNodes.push(node),1===counterValue&&alreadyHidden&&uncontrolledNodes.set(node,!0),1===markerValue&&node.setAttribute(markerName,"true"),alreadyHidden||node.setAttribute(controlAttribute,"true")}}))};return deep(parentNode),elementsToKeep.clear(),lockCount++,function(){hiddenNodes.forEach((function(node){var counterValue=counterMap.get(node)-1,markerValue=markerCounter.get(node)-1;counterMap.set(node,counterValue),markerCounter.set(node,markerValue),counterValue||(uncontrolledNodes.has(node)||node.removeAttribute(controlAttribute),uncontrolledNodes.delete(node)),markerValue||node.removeAttribute(markerName)})),--lockCount||(counterMap=new WeakMap,counterMap=new WeakMap,uncontrolledNodes=new WeakMap,markerMap={})}},hideOthers=function(originalTarget,parentNode,markerName){void 0===markerName&&(markerName="data-aria-hidden");var targets=Array.from(Array.isArray(originalTarget)?originalTarget:[originalTarget]),activeParentNode=parentNode||getDefaultParent(originalTarget);return activeParentNode?(targets.push.apply(targets,Array.from(activeParentNode.querySelectorAll("[aria-live]"))),applyAttributeToOthers(targets,activeParentNode,markerName,"aria-hidden")):function(){return null}};var __assign=function(){return __assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i