@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.106 → 0.0.1-alpha.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import o, { useDebugValue, createElement, useRef, useContext, useState, useLayoutEffect, useEffect, Fragment, createContext, useMemo, memo, useCallback, Suspense } from 'react';
1
+ import o, { useRef, useContext, useDebugValue, createElement, useState, useLayoutEffect, useEffect, Fragment, createContext, useMemo, isValidElement, cloneElement, useCallback, useInsertionEffect, useSyncExternalStore, memo, Suspense } from 'react';
2
2
  import { Input, Tree, Modal, Alert, theme, Select, Tag, Breadcrumb, Spin, Menu, Tooltip, Space, Button, Flex, Typography, Card, Row, Col, Tabs, Form, Popover, notification, Table, Slider, InputNumber, Switch, Dropdown, Result, Progress } from 'antd';
3
- import { LoadingOutlined, ExclamationCircleFilled, CloseCircleFilled, CheckCircleFilled, CaretDownOutlined, CaretRightOutlined, InfoCircleOutlined, SearchOutlined, EditOutlined, DeleteOutlined, CheckOutlined, CloseOutlined, BugOutlined, PlusOutlined, EllipsisOutlined } from '@ant-design/icons';
3
+ import { LoadingOutlined, ExclamationCircleFilled, CloseCircleFilled, CheckCircleFilled, CaretDownOutlined, CaretRightOutlined, InfoCircleOutlined, EyeOutlined, EyeInvisibleOutlined, SearchOutlined, EditOutlined, DeleteOutlined, CheckOutlined, CloseOutlined, BugOutlined, PlusOutlined, EllipsisOutlined } from '@ant-design/icons';
4
4
  import { useQuery, useQueries, useQueryClient } from '@tanstack/react-query';
5
5
  import { Link, useLocation, useNavigate } from 'react-router-dom';
6
6
 
@@ -1133,9 +1133,9 @@ var unitlessKeys = {
1133
1133
  strokeWidth: 1
1134
1134
  };
1135
1135
 
1136
- var f="undefined"!=typeof process$1&&void 0!==process$1.env&&(process$1.env.REACT_APP_SC_ATTR||process$1.env.SC_ATTR)||"data-styled",y="undefined"!=typeof window&&"HTMLElement"in window,v$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process$1&&void 0!==process$1.env&&void 0!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY&&process$1.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process$1&&void 0!==process$1.env&&void 0!==process$1.env.SC_DISABLE_SPEEDY&&""!==process$1.env.SC_DISABLE_SPEEDY?"false"!==process$1.env.SC_DISABLE_SPEEDY&&process$1.env.SC_DISABLE_SPEEDY:"production"!==process$1.env.NODE_ENV),S=/invalid hook call/i,w=new Set,b=function(t,n){if("production"!==process$1.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];S.test(t)?(a=!1,w.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},useRef(),a&&!w.has(s)&&(console.warn(s),w.add(s));}catch(e){S.test(e.message)&&w.delete(s);}finally{console.error=i;}}},E=Object.freeze([]),N=Object.freeze({});function P(e,t,n){return void 0===n&&(n=N),e.theme!==n.theme&&e.theme||t||n.theme}var _$2=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),C=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,I=/(^-|-$)/g;function A(e){return e.replace(C,"-").replace(I,"")}var O=/(a)(d)/gi,D$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function R(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=D$1(t%52)+n;return (D$1(t%52)+n).replace(O,"$1-$2")}var T,k$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},j=function(e){return k$1(5381,e)};function x(e){return R(j(e)>>>0)}function V(e){return "production"!==process$1.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function M(e){return "string"==typeof e&&("production"===process$1.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var F="function"==typeof Symbol&&Symbol.for,$$1=F?Symbol.for("react.memo"):60115,z=F?Symbol.for("react.forward_ref"):60112,B={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},L={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},G={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},Y$1=((T={})[z]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},T[$$1]=G,T);function W(e){return ("type"in(t=e)&&t.type.$$typeof)===$$1?G:"$$typeof"in e?Y$1[e.$$typeof]:B;var t;}var q=Object.defineProperty,H$1=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,J=Object.getOwnPropertyDescriptor,X=Object.getPrototypeOf,Z$1=Object.prototype;function K(e,t,n){if("string"!=typeof t){if(Z$1){var o=X(t);o&&o!==Z$1&&K(e,o,n);}var r=H$1(t);U&&(r=r.concat(U(t)));for(var s=W(e),i=W(t),a=0;a<r.length;++a){var c=r[a];if(!(c in L||n&&n[c]||i&&c in i||s&&c in s)){var l=J(t,c);try{q(e,c,l);}catch(e){}}}}return e}function Q(e){return "function"==typeof e}function ee$1(e){return "object"==typeof e&&"styledComponentId"in e}function te$1(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ne(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=e[o];return n}function oe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function re(e,t,n){if(void 0===n&&(n=false),!n&&!oe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=re(e[o],t[o]);else if(oe(t))for(var o in t)e[o]=re(e[o],t[o]);return e}function se$1(e,t){Object.defineProperty(e,"toString",{value:t});}var ie$1="production"!==process$1.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ae$1(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function ce(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process$1.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(ae$1.apply(void 0,__spreadArray([ie$1[t]],n,false)).trim())}var le$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw ce(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat("/*!sc*/\n");return t},e}(),ue=new Map,pe=new Map,de$1=1,he$1=function(e){if(ue.has(e))return ue.get(e);for(;pe.has(de$1);)de$1++;var t=de$1++;if("production"!==process$1.env.NODE_ENV&&((0|t)<0||t>1073741824))throw ce(16,"".concat(t));return ue.set(e,t),pe.set(t,e),t},fe$1=function(e,t){ue.set(e,t),pe.set(t,e);},me="style[".concat(f,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),ye=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ve=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},ge=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(ye);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(fe$1(u,l),ve(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}};function Se(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var we$1=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,"active"),o.setAttribute("data-styled-version","6.0.7");var i=Se();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},be$1=function(){function e(e){this.element=we$1(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw ce(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ee$1=function(){function e(e){this.element=we$1(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ne=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Pe$1=y,_e={isServer:!y,useCSSOMInjection:!v$1},Ce$1=function(){function e(e,n,o){ void 0===e&&(e=N),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},_e),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&y&&Pe$1&&(Pe$1=false,function(e){for(var t=document.querySelectorAll(me),n=0,o=t.length;n<o;n++){var r=t[n];r&&"active"!==r.getAttribute(f)&&(ge(e,r),r.parentNode&&r.parentNode.removeChild(r));}}(this)),se$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return pe.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat("/*!sc*/\n");},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return he$1(e)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=true),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Ne(n):t?new be$1(n):new Ee$1(n)}(this.options),new le$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(he$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(he$1(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(he$1(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),Ie=/&/g,Ae=/^\s*\/\/.*$/gm;function Oe$1(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Oe$1(e.children,t)),e})}function De$1(e){var t,n,o,r=N,s=r.options,i=void 0===s?N:s,a=r.plugins,c=void 0===a?E:a,l=function(e,o,r){return r===n||r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ie,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify$2);var p=function(e,r,s,a){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(Ae,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Oe$1(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||ce(15),k$1(e,t.name)},5381).toString():"",p}var Re=new Ce$1,Te=De$1(),ke=o.createContext({shouldForwardProp:void 0,styleSheet:Re,stylis:Te});ke.Consumer;o.createContext(void 0);function Ve$1(){return useContext(ke)}var Fe=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=Te);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,se$1(this,function(){throw ce(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=Te),this.name+e.hash},e}(),$e=function(e){return e>="A"&&e<="Z"};function ze(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;$e(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Be=function(e){return null==e||false===e||""===e},Le$1=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Be(i)&&(Array.isArray(i)&&i.isCss||Q(i)?r.push("".concat(ze(s),":"),i,";"):oe(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Le$1(i),false),["}"],false)):r.push("".concat(ze(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Ge(e,t,n,o){if(Be(e))return [];if(ee$1(e))return [".".concat(e.styledComponentId)];if(Q(e)){if(!Q(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process$1.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Fe||oe(r)||null===r||console.error("".concat(V(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ge(r,t,n,o)}var s;return e instanceof Fe?n?(e.inject(n,o),[e.getName(o)]):[e]:oe(e)?Le$1(e):Array.isArray(e)?Array.prototype.concat.apply(E,e.map(function(e){return Ge(e,t,n,o)})):[e.toString()]}function Ye(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Q(n)&&!ee$1(n))return false}return true}var We=j("6.0.7"),qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process$1.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ye(e),this.componentId=t,this.baseHash=k$1(We,t),this.baseStyle=n,Ce$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=te$1(o,this.staticRulesId);else {var r=ne(Ge(this.rules,e,t,n)),s=R(k$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=te$1(o,s),this.staticRulesId=s;}else {for(var a=k$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process$1.env.NODE_ENV&&(a=k$1(a,u));else if(u){var p=ne(Ge(u,e,t,n));a=k$1(a,p),c+=p;}}if(c){var d=R(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=te$1(o,d);}}return o},e}(),He$1=o.createContext(void 0);He$1.Consumer;var Ze={},Ke=new Set;function Qe(e,r,s){var i=ee$1(e),a=e,c=!M(e),p=r.attrs,d=void 0===p?E:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":A(e);Ze[n]=(Ze[n]||0)+1;var o="".concat(n,"-").concat(x("6.0.7"+n+Ze[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return M(e)?"styled.".concat(e):"Styled(".concat(V(e),")")}(e):m,v=r.displayName&&r.componentId?"".concat(A(r.displayName),"-").concat(r.componentId):r.componentId||f,g=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,S=r.shouldForwardProp;if(i&&a.shouldForwardProp){var w=a.shouldForwardProp;if(r.shouldForwardProp){var C=r.shouldForwardProp;S=function(e,t){return w(e,t)&&C(e,t)};}else S=w;}var I=new qe(s,v,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(He$1),m=Ve$1(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process$1.env.NODE_ENV&&useDebugValue(d);var v=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=Q(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?te$1(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=te$1(s.className,n.className)),s}(i,r,P(r,f,c)||N),g=v.as||h,S={};for(var w in v) void 0===v[w]||"$"===w[0]||"as"===w||"theme"===w||("forwardedAs"===w?S.as=v.forwardedAs:y&&!y(w,g)||(S[w]=v[w],y||"development"!==process$1.env.NODE_ENV||isPropValid(w)||Ke.has(w)||!_$2.has(g)||(Ke.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var b=function(e,t){var n=Ve$1(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process$1.env.NODE_ENV&&useDebugValue(o),o}(a,v);"production"!==process$1.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(b);var E=te$1(p,d);return b&&(E+=" "+b),v.className&&(E+=" "+v.className),S[M(g)&&!_$2.has(g)?"class":"className"]=E,S.ref=s,createElement(g,S)}(D,e,r)}"production"!==process$1.env.NODE_ENV&&(O.displayName=y);var D=o.forwardRef(O);return D.attrs=g,D.componentStyle=I,D.shouldForwardProp=S,"production"!==process$1.env.NODE_ENV&&(D.displayName=y),D.foldedComponentIds=i?te$1(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=v,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)re(e,r[o],true);return e}({},a.defaultProps,e):e;}}),"production"!==process$1.env.NODE_ENV&&(b(y,v),D.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=true,n={};}}}(y,v)),se$1(D,function(){return ".".concat(D.styledComponentId)}),c&&K(D,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),D}function et(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var tt=function(e){return Object.assign(e,{isCss:true})};function nt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(Q(t)||oe(t)){var r=t;return tt(Ge(et(E,__spreadArray([r],n,true))))}var s=t;return 0===n.length&&1===s.length&&"string"==typeof s[0]?Ge(s):tt(Ge(et(s,n)))}function ot(n,o,r){if(void 0===r&&(r=N),!o)throw ce(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,nt.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return ot(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ot(n,o,__assign(__assign({},r),e))},s}var rt=function(e){return ot(Qe,e)},st=rt;_$2.forEach(function(e){st[e]=rt(e);});"production"!==process$1.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var dt="__sc-".concat(f,"__");"production"!==process$1.env.NODE_ENV&&"test"!==process$1.env.NODE_ENV&&"undefined"!=typeof window&&(window[dt]||(window[dt]=0),1===window[dt]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[dt]+=1);
1136
+ var f$1="undefined"!=typeof process$1&&void 0!==process$1.env&&(process$1.env.REACT_APP_SC_ATTR||process$1.env.SC_ATTR)||"data-styled",y$1="undefined"!=typeof window&&"HTMLElement"in window,v$2=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process$1&&void 0!==process$1.env&&void 0!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process$1.env.REACT_APP_SC_DISABLE_SPEEDY&&process$1.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process$1&&void 0!==process$1.env&&void 0!==process$1.env.SC_DISABLE_SPEEDY&&""!==process$1.env.SC_DISABLE_SPEEDY?"false"!==process$1.env.SC_DISABLE_SPEEDY&&process$1.env.SC_DISABLE_SPEEDY:"production"!==process$1.env.NODE_ENV),g={},S=/invalid hook call/i,w=new Set,b=function(t,n){if("production"!==process$1.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",s="The component ".concat(t).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];S.test(t)?(a=!1,w.delete(s)):i.apply(void 0,__spreadArray([t],n,!1));},useRef(),a&&!w.has(s)&&(console.warn(s),w.add(s));}catch(e){S.test(e.message)&&w.delete(s);}finally{console.error=i;}}},E$1=Object.freeze([]),N$1=Object.freeze({});function P$1(e,t,n){return void 0===n&&(n=N$1),e.theme!==n.theme&&e.theme||t||n.theme}var _$2=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),C=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,I$1=/(^-|-$)/g;function A(e){return e.replace(C,"-").replace(I$1,"")}var O$1=/(a)(d)/gi,D$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function R(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=D$1(t%52)+n;return (D$1(t%52)+n).replace(O$1,"$1-$2")}var T$1,k$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},j=function(e){return k$1(5381,e)};function x$1(e){return R(j(e)>>>0)}function V(e){return "production"!==process$1.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function M(e){return "string"==typeof e&&("production"===process$1.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var F="function"==typeof Symbol&&Symbol.for,$$1=F?Symbol.for("react.memo"):60115,z=F?Symbol.for("react.forward_ref"):60112,B$1={childContextTypes:true,contextType:true,contextTypes:true,defaultProps:true,displayName:true,getDefaultProps:true,getDerivedStateFromError:true,getDerivedStateFromProps:true,mixins:true,propTypes:true,type:true},L={name:true,length:true,prototype:true,caller:true,callee:true,arguments:true,arity:true},G$1={$$typeof:true,compare:true,defaultProps:true,displayName:true,propTypes:true,type:true},Y$1=((T$1={})[z]={$$typeof:true,render:true,defaultProps:true,displayName:true,propTypes:true},T$1[$$1]=G$1,T$1);function W$1(e){return ("type"in(t=e)&&t.type.$$typeof)===$$1?G$1:"$$typeof"in e?Y$1[e.$$typeof]:B$1;var t;}var q=Object.defineProperty,H$2=Object.getOwnPropertyNames,U=Object.getOwnPropertySymbols,J$1=Object.getOwnPropertyDescriptor,X$1=Object.getPrototypeOf,Z$1=Object.prototype;function K(e,t,n){if("string"!=typeof t){if(Z$1){var o=X$1(t);o&&o!==Z$1&&K(e,o,n);}var r=H$2(t);U&&(r=r.concat(U(t)));for(var s=W$1(e),i=W$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in L||n&&n[c]||i&&c in i||s&&c in s)){var l=J$1(t,c);try{q(e,c,l);}catch(e){}}}}return e}function Q(e){return "function"==typeof e}function ee$1(e){return "object"==typeof e&&"styledComponentId"in e}function te$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ne(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=e[o];return n}function oe(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function re(e,t,n){if(void 0===n&&(n=false),!n&&!oe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=re(e[o],t[o]);else if(oe(t))for(var o in t)e[o]=re(e[o],t[o]);return e}function se$1(e,t){Object.defineProperty(e,"toString",{value:t});}var ie$1="production"!==process$1.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function ae$1(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e);}),n}function ce(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return "production"===process$1.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):"")):new Error(ae$1.apply(void 0,__spreadArray([ie$1[t]],n,false)).trim())}var le$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw ce(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat("/*!sc*/\n");return t},e}(),ue=new Map,pe=new Map,de$1=1,he$1=function(e){if(ue.has(e))return ue.get(e);for(;pe.has(de$1);)de$1++;var t=de$1++;if("production"!==process$1.env.NODE_ENV&&((0|t)<0||t>1073741824))throw ce(16,"".concat(t));return ue.set(e,t),pe.set(t,e),t},fe$1=function(e,t){ue.set(e,t),pe.set(t,e);},me="style[".concat(f$1,"][").concat("data-styled-version",'="').concat("6.0.7",'"]'),ye=new RegExp("^".concat(f$1,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ve=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},ge=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split("/*!sc*/\n"),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(ye);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(fe$1(u,l),ve(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}};function Se(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var we$1=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f$1,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f$1,"active"),o.setAttribute("data-styled-version","6.0.7");var i=Se();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},be$1=function(){function e(e){this.element=we$1(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw ce(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return false}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ee$1=function(){function e(e){this.element=we$1(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,true}return false},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Ne=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,true)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Pe$1=y$1,_e={isServer:!y$1,useCSSOMInjection:!v$2},Ce$1=function(){function e(e,n,o){ void 0===e&&(e=N$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},_e),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&y$1&&Pe$1&&(Pe$1=false,function(e){for(var t=document.querySelectorAll(me),n=0,o=t.length;n<o;n++){var r=t[n];r&&"active"!==r.getAttribute(f$1)&&(ge(e,r),r.parentNode&&r.parentNode.removeChild(r));}}(this)),se$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return pe.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||0===i.length)return "continue";var a="".concat(f$1,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat("/*!sc*/\n");},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return he$1(e)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=true),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Ne(n):t?new be$1(n):new Ee$1(n)}(this.options),new le$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(he$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(he$1(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(he$1(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),Ie=/&/g,Ae=/^\s*\/\/.*$/gm;function Oe$1(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Oe$1(e.children,t)),e})}function De$1(e){var t,n,o,r=N$1,s=r.options,i=void 0===s?N$1:s,a=r.plugins,c=void 0===a?E$1:a,l=function(e,o,r){return r===n||r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ie,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify$2);var p=function(e,r,s,a){ void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(Ae,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Oe$1(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||ce(15),k$1(e,t.name)},5381).toString():"",p}var Re=new Ce$1,Te=De$1(),ke=o.createContext({shouldForwardProp:void 0,styleSheet:Re,stylis:Te});ke.Consumer;o.createContext(void 0);function Ve$1(){return useContext(ke)}var Fe=function(){function e(e,t){var n=this;this.inject=function(e,t){ void 0===t&&(t=Te);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,se$1(this,function(){throw ce(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=Te),this.name+e.hash},e}(),$e=function(e){return e>="A"&&e<="Z"};function ze(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;$e(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Be=function(e){return null==e||false===e||""===e},Le$1=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Be(i)&&(Array.isArray(i)&&i.isCss||Q(i)?r.push("".concat(ze(s),":"),i,";"):oe(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Le$1(i),false),["}"],false)):r.push("".concat(ze(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Ge(e,t,n,o){if(Be(e))return [];if(ee$1(e))return [".".concat(e.styledComponentId)];if(Q(e)){if(!Q(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return "production"===process$1.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Fe||oe(r)||null===r||console.error("".concat(V(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Ge(r,t,n,o)}var s;return e instanceof Fe?n?(e.inject(n,o),[e.getName(o)]):[e]:oe(e)?Le$1(e):Array.isArray(e)?Array.prototype.concat.apply(E$1,e.map(function(e){return Ge(e,t,n,o)})):[e.toString()]}function Ye(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Q(n)&&!ee$1(n))return false}return true}var We=j("6.0.7"),qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process$1.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ye(e),this.componentId=t,this.baseHash=k$1(We,t),this.baseStyle=n,Ce$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=te$2(o,this.staticRulesId);else {var r=ne(Ge(this.rules,e,t,n)),s=R(k$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=te$2(o,s),this.staticRulesId=s;}else {for(var a=k$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u,"production"!==process$1.env.NODE_ENV&&(a=k$1(a,u));else if(u){var p=ne(Ge(u,e,t,n));a=k$1(a,p),c+=p;}}if(c){var d=R(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=te$2(o,d);}}return o},e}(),He$1=o.createContext(void 0);He$1.Consumer;var Ze={},Ke=new Set;function Qe(e,r,s){var i=ee$1(e),a=e,c=!M(e),p=r.attrs,d=void 0===p?E$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":A(e);Ze[n]=(Ze[n]||0)+1;var o="".concat(n,"-").concat(x$1("6.0.7"+n+Ze[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return M(e)?"styled.".concat(e):"Styled(".concat(V(e),")")}(e):m,v=r.displayName&&r.componentId?"".concat(A(r.displayName),"-").concat(r.componentId):r.componentId||f,g=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,S=r.shouldForwardProp;if(i&&a.shouldForwardProp){var w=a.shouldForwardProp;if(r.shouldForwardProp){var C=r.shouldForwardProp;S=function(e,t){return w(e,t)&&C(e,t)};}else S=w;}var I=new qe(s,v,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(He$1),m=Ve$1(),y=e.shouldForwardProp||m.shouldForwardProp;"production"!==process$1.env.NODE_ENV&&useDebugValue(d);var v=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=Q(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?te$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=te$2(s.className,n.className)),s}(i,r,P$1(r,f,c)||N$1),g=v.as||h,S={};for(var w in v) void 0===v[w]||"$"===w[0]||"as"===w||"theme"===w||("forwardedAs"===w?S.as=v.forwardedAs:y&&!y(w,g)||(S[w]=v[w],y||"development"!==process$1.env.NODE_ENV||isPropValid(w)||Ke.has(w)||!_$2.has(g)||(Ke.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var b=function(e,t){var n=Ve$1(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return "production"!==process$1.env.NODE_ENV&&useDebugValue(o),o}(a,v);"production"!==process$1.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(b);var E=te$2(p,d);return b&&(E+=" "+b),v.className&&(E+=" "+v.className),S[M(g)&&!_$2.has(g)?"class":"className"]=E,S.ref=s,createElement(g,S)}(D,e,r)}"production"!==process$1.env.NODE_ENV&&(O.displayName=y);var D=o.forwardRef(O);return D.attrs=g,D.componentStyle=I,D.shouldForwardProp=S,"production"!==process$1.env.NODE_ENV&&(D.displayName=y),D.foldedComponentIds=i?te$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=v,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)re(e,r[o],true);return e}({},a.defaultProps,e):e;}}),"production"!==process$1.env.NODE_ENV&&(b(y,v),D.warnTooManyClasses=function(e,t){var n={},o=false;return function(r){if(!o&&(n[r]=true,Object.keys(n).length>=200)){var s=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(s,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=true,n={};}}}(y,v)),se$1(D,function(){return ".".concat(D.styledComponentId)}),c&&K(D,e,{attrs:true,componentStyle:true,displayName:true,foldedComponentIds:true,shouldForwardProp:true,styledComponentId:true,target:true}),D}function et$1(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var tt$1=function(e){return Object.assign(e,{isCss:true})};function nt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(Q(t)||oe(t)){var r=t;return tt$1(Ge(et$1(E$1,__spreadArray([r],n,true))))}var s=t;return 0===n.length&&1===s.length&&"string"==typeof s[0]?Ge(s):tt$1(Ge(et$1(s,n)))}function ot$1(n,o,r){if(void 0===r&&(r=N$1),!o)throw ce(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,nt$1.apply(void 0,__spreadArray([t],s,false)))};return s.attrs=function(e){return ot$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ot$1(n,o,__assign(__assign({},r),e))},s}var rt$1=function(e){return ot$1(Qe,e)},st$1=rt$1;_$2.forEach(function(e){st$1[e]=rt$1(e);});var it$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ye(e),Ce$1.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ne(Ge(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&Ce$1.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function at$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=nt$1.apply(void 0,__spreadArray([n],r,false)),a="sc-global-".concat(x$1(JSON.stringify(i))),c=new it$1(i,a);"production"!==process$1.env.NODE_ENV&&b(a);var l=function(e){var t=Ve$1(),n=o.useContext(He$1),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return "production"!==process$1.env.NODE_ENV&&o.Children.count(e.children)&&console.warn("The global style component ".concat(a," was given child JSX. createGlobalStyle does not render children.")),"production"!==process$1.env.NODE_ENV&&i.some(function(e){return "string"==typeof e&&-1!==e.indexOf("@import")})&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,g,o,s);else {var i=__assign(__assign({},n),{theme:P$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return o.memo(l)}"production"!==process$1.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var dt$1="__sc-".concat(f$1,"__");"production"!==process$1.env.NODE_ENV&&"test"!==process$1.env.NODE_ENV&&"undefined"!=typeof window&&(window[dt$1]||(window[dt$1]=0),1===window[dt$1]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[dt$1]+=1);
1137
1137
 
1138
- const Spacer$1 = st.div`
1138
+ const Spacer$1 = st$1.div`
1139
1139
  height: ${({ $space, $spaceMob, $samespace }) => {
1140
1140
  if ($spaceMob) {
1141
1141
  return $spaceMob;
@@ -2497,14 +2497,14 @@ if (process$1.env.NODE_ENV === 'production') {
2497
2497
 
2498
2498
  var jsxRuntimeExports = jsxRuntime.exports;
2499
2499
 
2500
- const CustomTreeProvider = st.div`
2500
+ const CustomTreeProvider = st$1.div`
2501
2501
  .ant-tree-switcher {
2502
2502
  display: flex;
2503
2503
  align-items: center;
2504
2504
  justify-content: center;
2505
2505
  }
2506
2506
  `;
2507
- const Styled$t = {
2507
+ const Styled$u = {
2508
2508
  CustomTreeProvider
2509
2509
  };
2510
2510
 
@@ -2569,7 +2569,7 @@ const TreeWithSearch = ({ treeData, onSelect }) => {
2569
2569
  });
2570
2570
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
2571
2571
  /* @__PURE__ */ jsxRuntimeExports.jsx(Search, { style: { marginBottom: 8 }, placeholder: "Search", onChange }),
2572
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.CustomTreeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
2572
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.CustomTreeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
2573
2573
  Tree,
2574
2574
  {
2575
2575
  treeData: loop(treeData),
@@ -8431,7 +8431,7 @@ const ResumeCircleIcon = () => {
8431
8431
  ) });
8432
8432
  };
8433
8433
 
8434
- const ContentContainer = st.div`
8434
+ const ContentContainer = st$1.div`
8435
8435
  border: 1px solid ${({ $borderColor }) => $borderColor};
8436
8436
  border-radius: 6px;
8437
8437
  background-color: ${({ $bgColor }) => $bgColor};
@@ -8443,14 +8443,14 @@ const ContentContainer = st.div`
8443
8443
  display: ${({ $displayFlex }) => $displayFlex ? "flex" : "block"};
8444
8444
  flex-flow: ${({ $flexFlow }) => $flexFlow};
8445
8445
  `;
8446
- const Styled$s = {
8446
+ const Styled$t = {
8447
8447
  ContentContainer
8448
8448
  };
8449
8449
 
8450
8450
  const ContentCard$1 = ({ children, flexGrow, displayFlex, flexFlow, maxHeight }) => {
8451
8451
  const { token } = theme.useToken();
8452
8452
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
8453
- Styled$s.ContentContainer,
8453
+ Styled$t.ContentContainer,
8454
8454
  {
8455
8455
  $flexGrow: flexGrow,
8456
8456
  $bgColor: token.colorBgContainer,
@@ -8463,11 +8463,11 @@ const ContentCard$1 = ({ children, flexGrow, displayFlex, flexFlow, maxHeight })
8463
8463
  );
8464
8464
  };
8465
8465
 
8466
- const FlexGrow = st.div`
8466
+ const FlexGrow = st$1.div`
8467
8467
  flex-grow: 1;
8468
8468
  `;
8469
8469
 
8470
- const UncontrolledSelect$1 = st(Select)`
8470
+ const UncontrolledSelect$1 = st$1(Select)`
8471
8471
  width: 100%;
8472
8472
  margin: 0;
8473
8473
  padding: 4px;
@@ -8511,16 +8511,16 @@ const UncontrolledSelect$1 = st(Select)`
8511
8511
  padding-inline: 8px;
8512
8512
  }
8513
8513
  `;
8514
- const Styled$r = {
8514
+ const Styled$s = {
8515
8515
  UncontrolledSelect: UncontrolledSelect$1
8516
8516
  };
8517
8517
 
8518
8518
  const UncontrolledSelect = (props) => {
8519
8519
  const { isCursorPointer } = props;
8520
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.UncontrolledSelect, { ...props, $isCursorPointer: isCursorPointer });
8520
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.UncontrolledSelect, { ...props, $isCursorPointer: isCursorPointer });
8521
8521
  };
8522
8522
 
8523
- const CustomSelect$5 = st(Select)`
8523
+ const CustomSelect$5 = st$1(Select)`
8524
8524
  width: 100%;
8525
8525
  margin: 0;
8526
8526
  padding: 4px;
@@ -8565,20 +8565,20 @@ const CustomSelect$5 = st(Select)`
8565
8565
  margin-block: 0 !important;
8566
8566
  }
8567
8567
  `;
8568
- const Styled$q = {
8568
+ const Styled$r = {
8569
8569
  CustomSelect: CustomSelect$5
8570
8570
  };
8571
8571
 
8572
8572
  const CustomSelect$4 = (props) => {
8573
8573
  const { paddingContainerEnd, ...rest } = props;
8574
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
8574
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
8575
8575
  };
8576
8576
 
8577
- const CursorPointerTag = st(Tag)`
8577
+ const CursorPointerTag = st$1(Tag)`
8578
8578
  cursor: pointer;
8579
8579
  `;
8580
8580
 
8581
- const CursorDefaultDiv = st.div`
8581
+ const CursorDefaultDiv = st$1.div`
8582
8582
  cursor: ${({ $default }) => $default ? "default" : "inherit"};
8583
8583
  `;
8584
8584
 
@@ -8660,17 +8660,17 @@ const prepareDataForManageableBreadcrumbs = ({
8660
8660
  return result;
8661
8661
  };
8662
8662
 
8663
- const PositionRelativeContainer = st.div`
8663
+ const PositionRelativeContainer = st$1.div`
8664
8664
  position: relative;
8665
8665
  `;
8666
- const FullWidthContainer = st.div`
8666
+ const FullWidthContainer = st$1.div`
8667
8667
  width: 100%;
8668
8668
 
8669
8669
  .ant-dropdown-trigger svg {
8670
8670
  display: none;
8671
8671
  }
8672
8672
  `;
8673
- const NoWrapContainer = st.div`
8673
+ const NoWrapContainer = st$1.div`
8674
8674
  position: absolute;
8675
8675
  visibility: hidden;
8676
8676
  pointer-events: none;
@@ -8685,7 +8685,7 @@ const NoWrapContainer = st.div`
8685
8685
  flex-wrap: nowrap !important;
8686
8686
  }
8687
8687
  `;
8688
- const Styled$p = {
8688
+ const Styled$q = {
8689
8689
  PositionRelativeContainer,
8690
8690
  FullWidthContainer,
8691
8691
  NoWrapContainer
@@ -8728,22 +8728,22 @@ const CollapsibleBreadcrumb = ({ items }) => {
8728
8728
  };
8729
8729
  return [firstItem, ellipsisItem, lastItem];
8730
8730
  };
8731
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.PositionRelativeContainer, { children: [
8732
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items: renderItems() }) }),
8733
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
8731
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.PositionRelativeContainer, { children: [
8732
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items: renderItems() }) }),
8733
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
8734
8734
  ] });
8735
8735
  };
8736
8736
 
8737
- const HeightDiv = st.div`
8737
+ const HeightDiv = st$1.div`
8738
8738
  min-height: 22px;
8739
8739
  width: 100%;
8740
8740
  `;
8741
- const Styled$o = {
8741
+ const Styled$p = {
8742
8742
  HeightDiv
8743
8743
  };
8744
8744
 
8745
8745
  const ManageableBreadcrumbs = ({ data }) => {
8746
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
8746
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
8747
8747
  };
8748
8748
  const ManageableBreadcrumbsWithDataProvider = ({
8749
8749
  uri,
@@ -8767,7 +8767,7 @@ const ManageableBreadcrumbsWithDataProvider = ({
8767
8767
  return null;
8768
8768
  }
8769
8769
  if (rawDataLoading) {
8770
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
8770
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
8771
8771
  }
8772
8772
  if (!rawData) {
8773
8773
  return null;
@@ -8782,7 +8782,7 @@ const ManageableBreadcrumbsWithDataProvider = ({
8782
8782
  idToCompare
8783
8783
  });
8784
8784
  if (!result) {
8785
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.HeightDiv, {});
8785
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.HeightDiv, {});
8786
8786
  }
8787
8787
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ManageableBreadcrumbs, { data: result });
8788
8788
  };
@@ -8850,7 +8850,7 @@ const prepareDataForManageableSidebar = ({
8850
8850
  return { ...result, selectedKeys: stringedOpenedKeys };
8851
8851
  };
8852
8852
 
8853
- const CustomMenu = st(Menu)`
8853
+ const CustomMenu = st$1(Menu)`
8854
8854
  margin-top: ${({ $noMarginTop }) => $noMarginTop ? "0" : "16px"};
8855
8855
  font-size: 14px;
8856
8856
  line-height: 24px;
@@ -8873,7 +8873,7 @@ const CustomMenu = st(Menu)`
8873
8873
  margin: 0 !important;
8874
8874
  }
8875
8875
  `;
8876
- const Styled$n = {
8876
+ const Styled$o = {
8877
8877
  CustomMenu
8878
8878
  };
8879
8879
 
@@ -8900,7 +8900,7 @@ const ManageableSidebar = ({ data, noMarginTop }) => {
8900
8900
  setSelectedKeys(data.selectedKeys);
8901
8901
  }, [data.selectedKeys]);
8902
8902
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
8903
- Styled$n.CustomMenu,
8903
+ Styled$o.CustomMenu,
8904
8904
  {
8905
8905
  selectedKeys,
8906
8906
  onSelect: () => {
@@ -32981,13 +32981,13 @@ lodash.exports;
32981
32981
  var lodashExports = lodash.exports;
32982
32982
  const _$1 = /*@__PURE__*/getDefaultExportFromCjs(lodashExports);
32983
32983
 
32984
- const ShortenedText = st.div`
32984
+ const ShortenedText = st$1.div`
32985
32985
  max-width: ${({ $maxWidth }) => $maxWidth}px;
32986
32986
  overflow: hidden;
32987
32987
  white-space: nowrap;
32988
32988
  text-overflow: ellipsis;
32989
32989
  `;
32990
- const Styled$m = {
32990
+ const Styled$n = {
32991
32991
  ShortenedText
32992
32992
  };
32993
32993
 
@@ -32996,7 +32996,7 @@ const ShortenedTextWithTooltip = ({ text, trimLength, maxWidth = 200 }) => {
32996
32996
  const trimmedText = text.substring(0, trimLength);
32997
32997
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: text, placement: "top", children: trimmedText });
32998
32998
  }
32999
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.ShortenedText, { $maxWidth: maxWidth, children: text }) });
32999
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.ShortenedText, { $maxWidth: maxWidth, children: text }) });
33000
33000
  };
33001
33001
 
33002
33002
  const FilterDropdown = ({
@@ -33057,7 +33057,7 @@ const FilterDropdown = ({
33057
33057
  ] });
33058
33058
  };
33059
33059
 
33060
- const TableContainer = st.div`
33060
+ const TableContainer = st$1.div`
33061
33061
  td {
33062
33062
  cursor: ${({ $isCursorPointer }) => $isCursorPointer && "pointer"};
33063
33063
  }
@@ -33108,7 +33108,7 @@ const TableContainer = st.div`
33108
33108
  width: auto !important;
33109
33109
  }
33110
33110
  `;
33111
- const HideableControls = st.div`
33111
+ const HideableControls = st$1.div`
33112
33112
  && .ant-table-row .hideable {
33113
33113
  display: none;
33114
33114
  }
@@ -33124,11 +33124,11 @@ const TableComponents = {
33124
33124
  HideableControls
33125
33125
  };
33126
33126
 
33127
- const TinyButton = st(Button)`
33127
+ const TinyButton = st$1(Button)`
33128
33128
  height: 24px !important;
33129
33129
  `;
33130
33130
 
33131
- const TextAlignContainer = st.div`
33131
+ const TextAlignContainer = st$1.div`
33132
33132
  text-align: ${({ $align }) => $align};
33133
33133
  `;
33134
33134
 
@@ -34050,10 +34050,10 @@ const YamlEditorSingleton$1 = ({
34050
34050
  ] });
34051
34051
  };
34052
34052
 
34053
- const VisibilityContainer$2 = st.div`
34053
+ const VisibilityContainer$2 = st$1.div`
34054
34054
  display: ${({ $hidden }) => $hidden ? "none" : "block"};
34055
34055
  `;
34056
- const Styled$l = {
34056
+ const Styled$m = {
34057
34057
  VisibilityContainer: VisibilityContainer$2
34058
34058
  };
34059
34059
 
@@ -34076,7 +34076,7 @@ const VisibilityContainer$1 = ({
34076
34076
  if (isMultiqueryLoading) {
34077
34077
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading multiquery" });
34078
34078
  }
34079
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$l.VisibilityContainer, { $hidden: valuePrepared === "~undefined-value~", children });
34079
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.VisibilityContainer, { $hidden: valuePrepared === "~undefined-value~", children });
34080
34080
  };
34081
34081
 
34082
34082
  const unknownToString = (value) => {
@@ -34315,7 +34315,7 @@ const useUpdateIsTouchedPersisted = () => {
34315
34315
  return dispatch;
34316
34316
  };
34317
34317
 
34318
- const Container$1 = st.div`
34318
+ const Container$1 = st$1.div`
34319
34319
  display: flex;
34320
34320
  flex-direction: column;
34321
34321
  gap: ${({ $designNewLayout }) => $designNewLayout ? "4px" : "8px"};
@@ -34330,18 +34330,18 @@ const Container$1 = st.div`
34330
34330
  0 3px 6px -4px #0000001f,
34331
34331
  0 9px 28px 8px #0000000d` : "initial"};
34332
34332
  `;
34333
- const TitleBar = st.div`
34333
+ const TitleBar = st$1.div`
34334
34334
  display: flex;
34335
34335
  align-items: center;
34336
34336
  justify-content: flex-start;
34337
34337
  gap: 4px;
34338
34338
  cursor: pointer;
34339
34339
  `;
34340
- const Content$1 = st.div`
34340
+ const Content$1 = st$1.div`
34341
34341
  display: ${({ $isOpen }) => $isOpen ? "block" : "none"};
34342
34342
  padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
34343
34343
  `;
34344
- const Styled$k = {
34344
+ const Styled$l = {
34345
34345
  Container: Container$1,
34346
34346
  TitleBar,
34347
34347
  Content: Content$1
@@ -34368,14 +34368,14 @@ const CustomCollapse = ({
34368
34368
  }
34369
34369
  };
34370
34370
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
34371
- Styled$k.Container,
34371
+ Styled$l.Container,
34372
34372
  {
34373
34373
  $designNewLayout: designNewLayout,
34374
34374
  $borderColor: token.colorBorder,
34375
34375
  $bgColor: token.colorBgContainer,
34376
34376
  children: [
34377
34377
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { justify: "space-between", children: [
34378
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$k.TitleBar, { onClick: () => toggleCollapse(), children: [
34378
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$l.TitleBar, { onClick: () => toggleCollapse(), children: [
34379
34379
  !designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(CaretDownOutlined, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(CaretRightOutlined, { size: 14 }) }),
34380
34380
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title }),
34381
34381
  designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UpIcon, {}) })
@@ -34386,7 +34386,7 @@ const CustomCollapse = ({
34386
34386
  persistedCheckbox
34387
34387
  ] })
34388
34388
  ] }),
34389
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$k.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
34389
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$l.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
34390
34390
  ]
34391
34391
  }
34392
34392
  );
@@ -34404,29 +34404,29 @@ const PersistedCheckbox = ({ formName, persistedControls, type }) => {
34404
34404
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { size: "small", type: "text", onClick: toggleCheckbox, children: isChecked ? /* @__PURE__ */ jsxRuntimeExports.jsx(LockedIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UnlockedIcon, {}) }) });
34405
34405
  };
34406
34406
 
34407
- const PossibleHiddenContainer = st.div`
34407
+ const PossibleHiddenContainer = st$1.div`
34408
34408
  display: ${({ $isHidden }) => $isHidden ? "none" : "block"};
34409
34409
  `;
34410
34410
 
34411
- const ResetedFormItem = st(Form.Item)`
34411
+ const ResetedFormItem = st$1(Form.Item)`
34412
34412
  margin-bottom: 8px;
34413
34413
  `;
34414
34414
 
34415
- const CustomSizeTitle = st.div`
34415
+ const CustomSizeTitle = st$1.div`
34416
34416
  font-size: ${({ $designNewLayout }) => $designNewLayout ? "16px" : "14px"};
34417
34417
  line-height: ${({ $designNewLayout }) => $designNewLayout ? "24px" : "22px"};
34418
34418
  `;
34419
34419
 
34420
- const Content = st.div`
34420
+ const Content = st$1.div`
34421
34421
  padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
34422
34422
  `;
34423
- const Styled$j = {
34423
+ const Styled$k = {
34424
34424
  Content
34425
34425
  };
34426
34426
 
34427
34427
  const ArrayInsideContainer = ({ children }) => {
34428
34428
  const designNewLayout = useDesignNewLayout();
34429
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.Content, { $designNewLayout: designNewLayout, children });
34429
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$k.Content, { $designNewLayout: designNewLayout, children });
34430
34430
  };
34431
34431
 
34432
34432
  const arraysEqual = (arr1, arr2) => {
@@ -34464,7 +34464,7 @@ const HiddenContainer = ({ name, secondName, children }) => {
34464
34464
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PossibleHiddenContainer, { $isHidden: !hiddenPaths || isHidden || isHiddenSecond, children });
34465
34465
  };
34466
34466
 
34467
- const HeightContainer = st.div`
34467
+ const HeightContainer = st$1.div`
34468
34468
  height: ${({ $height }) => $height}px;
34469
34469
  `;
34470
34470
 
@@ -34871,10 +34871,10 @@ const LabelsToSearchParams = ({ data, children }) => {
34871
34871
  ] });
34872
34872
  };
34873
34873
 
34874
- const ResetedFormList$3 = st(Form.List)`
34874
+ const ResetedFormList$3 = st$1(Form.List)`
34875
34875
  margin-bottom: 8px;
34876
34876
  `;
34877
- const Styled$i = {
34877
+ const Styled$j = {
34878
34878
  ResetedFormList: ResetedFormList$3
34879
34879
  };
34880
34880
 
@@ -34959,7 +34959,7 @@ const EditModal$2 = ({
34959
34959
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[3], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
34960
34960
  ] }),
34961
34961
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
34962
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
34962
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
34963
34963
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
34964
34964
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
34965
34965
  ResetedFormItem,
@@ -35196,10 +35196,10 @@ const Taints = ({ data, children }) => {
35196
35196
  ] });
35197
35197
  };
35198
35198
 
35199
- const ResetedFormList$2 = st(Form.List)`
35199
+ const ResetedFormList$2 = st$1(Form.List)`
35200
35200
  margin-bottom: 8px;
35201
35201
  `;
35202
- const Styled$h = {
35202
+ const Styled$i = {
35203
35203
  ResetedFormList: ResetedFormList$2
35204
35204
  };
35205
35205
 
@@ -35294,7 +35294,7 @@ const EditModal$1 = ({
35294
35294
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[4], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
35295
35295
  ] }),
35296
35296
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
35297
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$h.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
35297
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
35298
35298
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
35299
35299
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
35300
35300
  ResetedFormItem,
@@ -35568,10 +35568,10 @@ const Tolerations = ({
35568
35568
  ] });
35569
35569
  };
35570
35570
 
35571
- const ResetedFormList$1 = st(Form.List)`
35571
+ const ResetedFormList$1 = st$1(Form.List)`
35572
35572
  margin-bottom: 8px;
35573
35573
  `;
35574
- const Styled$g = {
35574
+ const Styled$h = {
35575
35575
  ResetedFormList: ResetedFormList$1
35576
35576
  };
35577
35577
 
@@ -35661,7 +35661,7 @@ const EditModal = ({
35661
35661
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[2], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
35662
35662
  ] }),
35663
35663
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
35664
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$g.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
35664
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$h.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
35665
35665
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
35666
35666
  /* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
35667
35667
  ResetedFormItem,
@@ -35849,6 +35849,997 @@ const Annotations = ({
35849
35849
  ] });
35850
35850
  };
35851
35851
 
35852
+ const UNIT_FACTORS = {
35853
+ B: 1,
35854
+ kB: 1e3,
35855
+ MB: 1e6,
35856
+ GB: 1e9,
35857
+ TB: 1e12,
35858
+ PB: 1e15,
35859
+ EB: 1e18,
35860
+ KiB: 1024,
35861
+ MiB: 1024 ** 2,
35862
+ GiB: 1024 ** 3,
35863
+ TiB: 1024 ** 4,
35864
+ PiB: 1024 ** 5,
35865
+ EiB: 1024 ** 6
35866
+ };
35867
+ const ALIASES = (() => {
35868
+ const siPairs = [
35869
+ [["b", "byte", "bytes"], "B"],
35870
+ [["k", "kb", "kB", "KB"], "kB"],
35871
+ [["m", "mb", "MB"], "MB"],
35872
+ [["g", "gb", "GB"], "GB"],
35873
+ [["t", "tb, TB".replace(",", "")], "TB"],
35874
+ [["p", "pb", "PB"], "PB"],
35875
+ [["e", "eb", "EB"], "EB"]
35876
+ ];
35877
+ const iecPairs = [
35878
+ [["ki", "kib", "Ki", "KiB"], "KiB"],
35879
+ [["mi", "mib", "Mi", "MiB"], "MiB"],
35880
+ [["gi", "gib", "Gi", "GiB"], "GiB"],
35881
+ [["ti", "tib", "Ti", "TiB"], "TiB"],
35882
+ [["pi", "pib", "Pi", "PiB"], "PiB"],
35883
+ [["ei", "eib", "Ei", "EiB"], "EiB"]
35884
+ ];
35885
+ const entries = [...siPairs, ...iecPairs].flatMap(([keys, unit]) => keys.map((k) => [k.toLowerCase(), unit]));
35886
+ const canon = Object.keys(UNIT_FACTORS).map((u) => [u.toLowerCase(), u]);
35887
+ return Object.fromEntries([...entries, ...canon]);
35888
+ })();
35889
+ const normalizeUnit = (u) => {
35890
+ const key = String(u).trim().toLowerCase();
35891
+ const canon = ALIASES[key];
35892
+ if (!canon) {
35893
+ console.error(`Unknown unit: "${u}"`);
35894
+ return "GB";
35895
+ }
35896
+ return canon;
35897
+ };
35898
+ const convertBytes = (bytes, unit, opts) => {
35899
+ if (!Number.isFinite(bytes)) {
35900
+ console.error("bytes must be a finite number");
35901
+ return -1;
35902
+ }
35903
+ if (bytes < 0) {
35904
+ console.error("bytes must be >= 0");
35905
+ return -1;
35906
+ }
35907
+ const canon = normalizeUnit(unit);
35908
+ const factor = UNIT_FACTORS[canon];
35909
+ const value = bytes / factor;
35910
+ return opts?.format ? `${value.toLocaleString(opts.locale, {
35911
+ minimumFractionDigits: 0,
35912
+ maximumFractionDigits: opts?.precision ?? 2
35913
+ })} ${canon}` : value;
35914
+ };
35915
+ const formatBytesAuto = (bytes, { standard = "si", precision = 2, locale } = {}) => {
35916
+ if (!Number.isFinite(bytes)) {
35917
+ console.error("bytes must be a finite number");
35918
+ return "infinite";
35919
+ }
35920
+ if (bytes < 0) {
35921
+ console.error("bytes must be >= 0");
35922
+ return "less then zero";
35923
+ }
35924
+ const ladder = standard === "iec" ? ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB"] : ["B", "kB", "MB", "GB", "TB", "PB", "EB"];
35925
+ const base = standard === "iec" ? 1024 : 1e3;
35926
+ const idx = bytes > 0 ? Math.min(ladder.length - 1, Math.floor(Math.log(bytes) / Math.log(base))) : 0;
35927
+ const unit = ladder[Math.max(0, idx)];
35928
+ return String(convertBytes(bytes, unit, { format: true, precision, locale }));
35929
+ };
35930
+
35931
+ const ConverterBytes = ({ data }) => {
35932
+ const {
35933
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
35934
+ id,
35935
+ bytesValue,
35936
+ unit,
35937
+ format,
35938
+ precision,
35939
+ locale,
35940
+ standard,
35941
+ notANumberText,
35942
+ style
35943
+ } = data;
35944
+ const { data: multiQueryData, isLoading, isError, errors } = useMultiQuery();
35945
+ const partsOfUrl = usePartsOfUrl();
35946
+ if (isLoading) {
35947
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." });
35948
+ }
35949
+ if (isError) {
35950
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
35951
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children: "Errors:" }),
35952
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errors.map((e, i) => e && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: e.message }, i)) })
35953
+ ] });
35954
+ }
35955
+ const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value, index) => {
35956
+ acc[index.toString()] = value;
35957
+ return acc;
35958
+ }, {});
35959
+ const parsedText = parseAll({ text: bytesValue, replaceValues, multiQueryData });
35960
+ const parsedNumber = Number(parsedText);
35961
+ if (Number.isNaN(parsedNumber)) {
35962
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: notANumberText || "Not a proper value" });
35963
+ }
35964
+ if (unit) {
35965
+ const result2 = String(convertBytes(parsedNumber, unit, { format, precision, locale }));
35966
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result2 });
35967
+ }
35968
+ const result = formatBytesAuto(parsedNumber, { standard, precision, locale });
35969
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, children: result });
35970
+ };
35971
+
35972
+ const Mt = "matchMedia" in globalThis && typeof globalThis.matchMedia == "function";
35973
+ function _t(e, t = false) {
35974
+ const n = useMemo(
35975
+ () => Mt ? globalThis.matchMedia(e) : void 0,
35976
+ [e]
35977
+ ), r = useCallback(
35978
+ (s) => n ? (n.addEventListener("change", s), () => n.removeEventListener("change", s)) : () => {
35979
+ },
35980
+ [n]
35981
+ );
35982
+ return useSyncExternalStore(
35983
+ r,
35984
+ () => n?.matches ?? false,
35985
+ () => t
35986
+ // value on the server
35987
+ );
35988
+ }
35989
+ const ct = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", H$1 = ct ? useLayoutEffect : useEffect, G = ct ? useInsertionEffect : useEffect, v$1 = /* @__PURE__ */ new Map(), kt = (e, t) => {
35990
+ const [n] = useState(() => e), [r] = useState(
35991
+ () => (
35992
+ /* note: `document` can be `undefined` in some environments like SSR */
35993
+ t.current ? t.current.ownerDocument : globalThis.document
35994
+ )
35995
+ );
35996
+ G(() => {
35997
+ if (!(!n || typeof r > "u")) {
35998
+ if (!v$1.has(r)) {
35999
+ const s = r.createElement("style");
36000
+ s.innerHTML = n, s.setAttribute("data-spoiled", ""), v$1.set(r, { element: s, refCount: 0 }), r.head.appendChild(s);
36001
+ }
36002
+ v$1.get(r).refCount++;
36003
+ }
36004
+ }, []), G(() => () => {
36005
+ if (!n || typeof r > "u") return;
36006
+ const s = v$1.get(r);
36007
+ s && --s.refCount <= 0 && (v$1.delete(r), r.head.removeChild(s.element));
36008
+ }, []);
36009
+ }, Wt = (e) => {
36010
+ for (; e && e.parentNode; ) {
36011
+ const t = e.parentNode;
36012
+ if (t.nodeType === 1 && (t.offsetWidth !== 0 || t.offsetHeight !== 0))
36013
+ return t;
36014
+ e = t;
36015
+ }
36016
+ return e;
36017
+ }, J = (e, t) => {
36018
+ let { width: n, height: r } = e.getBoundingClientRect();
36019
+ return t > 1 && (n = Math.round(n / t) * t, r = Math.round(r / t) * t), [n, r];
36020
+ };
36021
+ function Pt(e, t = 4) {
36022
+ const [n, r] = useState(() => e.current ? J(e.current, t) : [0, 0]);
36023
+ return useEffect(() => {
36024
+ if (!e.current || typeof ResizeObserver > "u") return;
36025
+ const s = Wt(e.current), i = new ResizeObserver((a) => {
36026
+ if (!e.current) return;
36027
+ const [o, u] = J(e.current, t);
36028
+ (o !== n[0] || u !== n[1]) && r([o, u]);
36029
+ });
36030
+ return i.observe(s), () => {
36031
+ i.disconnect();
36032
+ };
36033
+ }, [e, t]), n;
36034
+ }
36035
+ var Et = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, f = function(e) {
36036
+ return typeof e == "string" ? e.length > 0 : typeof e == "number";
36037
+ }, l$1 = function(e, t, n) {
36038
+ return t === void 0 && (t = 0), n === void 0 && (n = Math.pow(10, t)), Math.round(n * e) / n + 0;
36039
+ }, d = function(e, t, n) {
36040
+ return t === void 0 && (t = 0), n === void 0 && (n = 1), e > n ? n : e > t ? e : t;
36041
+ }, lt = function(e) {
36042
+ return (e = isFinite(e) ? e % 360 : 0) > 0 ? e : e + 360;
36043
+ }, X = function(e) {
36044
+ return { r: d(e.r, 0, 255), g: d(e.g, 0, 255), b: d(e.b, 0, 255), a: d(e.a) };
36045
+ }, N = function(e) {
36046
+ return { r: l$1(e.r), g: l$1(e.g), b: l$1(e.b), a: l$1(e.a, 3) };
36047
+ }, It = /^#([0-9a-f]{3,8})$/i, W = function(e) {
36048
+ var t = e.toString(16);
36049
+ return t.length < 2 ? "0" + t : t;
36050
+ }, dt = function(e) {
36051
+ var t = e.r, n = e.g, r = e.b, s = e.a, i = Math.max(t, n, r), a = i - Math.min(t, n, r), o = a ? i === t ? (n - r) / a : i === n ? 2 + (r - t) / a : 4 + (t - n) / a : 0;
36052
+ return { h: 60 * (o < 0 ? o + 6 : o), s: i ? a / i * 100 : 0, v: i / 255 * 100, a: s };
36053
+ }, ut = function(e) {
36054
+ var t = e.h, n = e.s, r = e.v, s = e.a;
36055
+ t = t / 360 * 6, n /= 100, r /= 100;
36056
+ var i = Math.floor(t), a = r * (1 - n), o = r * (1 - (t - i) * n), u = r * (1 - (1 - t + i) * n), c = i % 6;
36057
+ return { r: 255 * [r, o, a, a, u, r][c], g: 255 * [u, r, r, o, a, a][c], b: 255 * [a, a, u, r, r, o][c], a: s };
36058
+ }, tt = function(e) {
36059
+ return { h: lt(e.h), s: d(e.s, 0, 100), l: d(e.l, 0, 100), a: d(e.a) };
36060
+ }, et = function(e) {
36061
+ return { h: l$1(e.h), s: l$1(e.s), l: l$1(e.l), a: l$1(e.a, 3) };
36062
+ }, nt = function(e) {
36063
+ return ut((n = (t = e).s, { h: t.h, s: (n *= ((r = t.l) < 50 ? r : 100 - r) / 100) > 0 ? 2 * n / (r + n) * 100 : 0, v: r + n, a: t.a }));
36064
+ var t, n, r;
36065
+ }, x = function(e) {
36066
+ return { h: (t = dt(e)).h, s: (s = (200 - (n = t.s)) * (r = t.v) / 100) > 0 && s < 200 ? n * r / 100 / (s <= 100 ? s : 200 - s) * 100 : 0, l: s / 2, a: t.a };
36067
+ var t, n, r, s;
36068
+ }, Dt = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Ft$1 = /^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Rt = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, Ct = /^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i, rt = { string: [[function(e) {
36069
+ var t = It.exec(e);
36070
+ return t ? (e = t[1]).length <= 4 ? { r: parseInt(e[0] + e[0], 16), g: parseInt(e[1] + e[1], 16), b: parseInt(e[2] + e[2], 16), a: e.length === 4 ? l$1(parseInt(e[3] + e[3], 16) / 255, 2) : 1 } : e.length === 6 || e.length === 8 ? { r: parseInt(e.substr(0, 2), 16), g: parseInt(e.substr(2, 2), 16), b: parseInt(e.substr(4, 2), 16), a: e.length === 8 ? l$1(parseInt(e.substr(6, 2), 16) / 255, 2) : 1 } : null : null;
36071
+ }, "hex"], [function(e) {
36072
+ var t = Rt.exec(e) || Ct.exec(e);
36073
+ return t ? t[2] !== t[4] || t[4] !== t[6] ? null : X({ r: Number(t[1]) / (t[2] ? 100 / 255 : 1), g: Number(t[3]) / (t[4] ? 100 / 255 : 1), b: Number(t[5]) / (t[6] ? 100 / 255 : 1), a: t[7] === void 0 ? 1 : Number(t[7]) / (t[8] ? 100 : 1) }) : null;
36074
+ }, "rgb"], [function(e) {
36075
+ var t = Dt.exec(e) || Ft$1.exec(e);
36076
+ if (!t) return null;
36077
+ var n, r, s = tt({ h: (n = t[1], r = t[2], r === void 0 && (r = "deg"), Number(n) * (Et[r] || 1)), s: Number(t[3]), l: Number(t[4]), a: t[5] === void 0 ? 1 : Number(t[5]) / (t[6] ? 100 : 1) });
36078
+ return nt(s);
36079
+ }, "hsl"]], object: [[function(e) {
36080
+ var t = e.r, n = e.g, r = e.b, s = e.a, i = s === void 0 ? 1 : s;
36081
+ return f(t) && f(n) && f(r) ? X({ r: Number(t), g: Number(n), b: Number(r), a: Number(i) }) : null;
36082
+ }, "rgb"], [function(e) {
36083
+ var t = e.h, n = e.s, r = e.l, s = e.a, i = s === void 0 ? 1 : s;
36084
+ if (!f(t) || !f(n) || !f(r)) return null;
36085
+ var a = tt({ h: Number(t), s: Number(n), l: Number(r), a: Number(i) });
36086
+ return nt(a);
36087
+ }, "hsl"], [function(e) {
36088
+ var t = e.h, n = e.s, r = e.v, s = e.a, i = s === void 0 ? 1 : s;
36089
+ if (!f(t) || !f(n) || !f(r)) return null;
36090
+ var a = function(o) {
36091
+ return { h: lt(o.h), s: d(o.s, 0, 100), v: d(o.v, 0, 100), a: d(o.a) };
36092
+ }({ h: Number(t), s: Number(n), v: Number(r), a: Number(i) });
36093
+ return ut(a);
36094
+ }, "hsv"]] }, st = function(e, t) {
36095
+ for (var n = 0; n < t.length; n++) {
36096
+ var r = t[n][0](e);
36097
+ if (r) return [r, t[n][1]];
36098
+ }
36099
+ return [null, void 0];
36100
+ }, Ht = function(e) {
36101
+ return typeof e == "string" ? st(e.trim(), rt.string) : typeof e == "object" && e !== null ? st(e, rt.object) : [null, void 0];
36102
+ }, O = function(e, t) {
36103
+ var n = x(e);
36104
+ return { h: n.h, s: d(n.s + 100 * t, 0, 100), l: n.l, a: n.a };
36105
+ }, T = function(e) {
36106
+ return (299 * e.r + 587 * e.g + 114 * e.b) / 1e3 / 255;
36107
+ }, it = function(e, t) {
36108
+ var n = x(e);
36109
+ return { h: n.h, s: n.s, l: d(n.l + 100 * t, 0, 100), a: n.a };
36110
+ }, at = function() {
36111
+ function e(t) {
36112
+ this.parsed = Ht(t)[0], this.rgba = this.parsed || { r: 0, g: 0, b: 0, a: 1 };
36113
+ }
36114
+ return e.prototype.isValid = function() {
36115
+ return this.parsed !== null;
36116
+ }, e.prototype.brightness = function() {
36117
+ return l$1(T(this.rgba), 2);
36118
+ }, e.prototype.isDark = function() {
36119
+ return T(this.rgba) < 0.5;
36120
+ }, e.prototype.isLight = function() {
36121
+ return T(this.rgba) >= 0.5;
36122
+ }, e.prototype.toHex = function() {
36123
+ return t = N(this.rgba), n = t.r, r = t.g, s = t.b, a = (i = t.a) < 1 ? W(l$1(255 * i)) : "", "#" + W(n) + W(r) + W(s) + a;
36124
+ var t, n, r, s, i, a;
36125
+ }, e.prototype.toRgb = function() {
36126
+ return N(this.rgba);
36127
+ }, e.prototype.toRgbString = function() {
36128
+ return t = N(this.rgba), n = t.r, r = t.g, s = t.b, (i = t.a) < 1 ? "rgba(" + n + ", " + r + ", " + s + ", " + i + ")" : "rgb(" + n + ", " + r + ", " + s + ")";
36129
+ var t, n, r, s, i;
36130
+ }, e.prototype.toHsl = function() {
36131
+ return et(x(this.rgba));
36132
+ }, e.prototype.toHslString = function() {
36133
+ return t = et(x(this.rgba)), n = t.h, r = t.s, s = t.l, (i = t.a) < 1 ? "hsla(" + n + ", " + r + "%, " + s + "%, " + i + ")" : "hsl(" + n + ", " + r + "%, " + s + "%)";
36134
+ var t, n, r, s, i;
36135
+ }, e.prototype.toHsv = function() {
36136
+ return t = dt(this.rgba), { h: l$1(t.h), s: l$1(t.s), v: l$1(t.v), a: l$1(t.a, 3) };
36137
+ var t;
36138
+ }, e.prototype.invert = function() {
36139
+ return p({ r: 255 - (t = this.rgba).r, g: 255 - t.g, b: 255 - t.b, a: t.a });
36140
+ var t;
36141
+ }, e.prototype.saturate = function(t) {
36142
+ return t === void 0 && (t = 0.1), p(O(this.rgba, t));
36143
+ }, e.prototype.desaturate = function(t) {
36144
+ return t === void 0 && (t = 0.1), p(O(this.rgba, -t));
36145
+ }, e.prototype.grayscale = function() {
36146
+ return p(O(this.rgba, -1));
36147
+ }, e.prototype.lighten = function(t) {
36148
+ return t === void 0 && (t = 0.1), p(it(this.rgba, t));
36149
+ }, e.prototype.darken = function(t) {
36150
+ return t === void 0 && (t = 0.1), p(it(this.rgba, -t));
36151
+ }, e.prototype.rotate = function(t) {
36152
+ return t === void 0 && (t = 15), this.hue(this.hue() + t);
36153
+ }, e.prototype.alpha = function(t) {
36154
+ return typeof t == "number" ? p({ r: (n = this.rgba).r, g: n.g, b: n.b, a: t }) : l$1(this.rgba.a, 3);
36155
+ var n;
36156
+ }, e.prototype.hue = function(t) {
36157
+ var n = x(this.rgba);
36158
+ return typeof t == "number" ? p({ h: t, s: n.s, l: n.l, a: n.a }) : l$1(n.h);
36159
+ }, e.prototype.isEqual = function(t) {
36160
+ return this.toHex() === p(t).toHex();
36161
+ }, e;
36162
+ }(), p = function(e) {
36163
+ return e instanceof at ? e : new at(e);
36164
+ };
36165
+ const Nt = `const _IS_WORKLET = typeof registerPaint !== "undefined";
36166
+ const M = Math;
36167
+
36168
+ const lcgrand =
36169
+ (seed = 1) =>
36170
+ (a = 0, b = 1) =>
36171
+ a +
36172
+ (M.abs(b - a) * (M.imul(48271, (seed = M.imul(214013, seed) + 2531011)) & 0x7fffffff)) /
36173
+ 0x7fffffff;
36174
+
36175
+ // vector utils
36176
+ const pol2vec = (l, a = 0) => [l * M.cos(a), l * M.sin(a)];
36177
+ const vecmag = ([x, y]) => M.sqrt(x * x + y * y);
36178
+ const vecnorm = ([x, y], l = vecmag([x, y])) => (l === 0 ? [0, 0] : [x / l, y / l]);
36179
+
36180
+ // ..____.
36181
+ // ____/ \\___
36182
+ // -1..0.a...b..l...
36183
+ const trapezoidalWave = (l, a, b) => {
36184
+ const s = M.max(a, l - b);
36185
+
36186
+ return (t) => {
36187
+ if (t < a) return M.max(0, t / a);
36188
+ if (t > s) return M.max(0, 1 - (t - s) / (l - s));
36189
+ return 1;
36190
+ };
36191
+ };
36192
+
36193
+ const _cycle = (x, n) => ((x % n) + n) % n;
36194
+ const _mirror = (x, n, r) => (x < r ? n + x : x > n - r ? x - n : x);
36195
+ const clamp = (min, x, max) => Math.max(min, Math.min(x, max));
36196
+
36197
+ const cycleBounds = ([x, y], [w, h], r) => {
36198
+ const [tx, ty] = [_cycle(x, w), _cycle(y, h)];
36199
+ return [
36200
+ [tx, ty],
36201
+ [_mirror(tx, w, r), _mirror(ty, h, r)],
36202
+ ];
36203
+ };
36204
+
36205
+ /**
36206
+ * WORKLET
36207
+ */
36208
+
36209
+ const getCSSVar = (props, name) => {
36210
+ const val = props.get(name);
36211
+
36212
+ if (typeof val === "string") return val;
36213
+ return val?.length >= 1 ? val[0] : undefined;
36214
+ };
36215
+
36216
+ class SpoilerPainterWorklet {
36217
+ static get contextOptions() {
36218
+ return { alpha: true };
36219
+ }
36220
+
36221
+ /*
36222
+ use this function to retrieve any custom properties (or regular properties, such as 'height')
36223
+ defined for the element, return them in the specified array
36224
+ */
36225
+ static get inputProperties() {
36226
+ return ["--t", "--t-stop", "--fade", "--gap", "--accent", "--words", "--density"];
36227
+ }
36228
+
36229
+ paint(ctx, size, props) {
36230
+ const rand = lcgrand(4011505); // predictable random
36231
+
36232
+ const // \`devicePixelRatio\` and \`dprx\` are not the same
36233
+ // user agents use higher density bitmaps for canvases when
36234
+ // painting from worklets, so 1px stands for 1px on the screen
36235
+ dprx = _IS_WORKLET ? 1.0 : devicePixelRatio,
36236
+ // hsl format
36237
+ accent = (getCSSVar(props, "--accent") || "0 0% 0%").split(" "), // default: black
36238
+ mimicWords = getCSSVar(props, "--words") === "true",
36239
+ frict = 0,
36240
+ vmin = 2,
36241
+ vmax = 12,
36242
+ width = size.width / dprx,
36243
+ height = size.height / dprx,
36244
+ // gaps to the edges
36245
+ [hgap, vgap] = (getCSSVar(props, "--gap") || "0px 0px").split(" ").map(parseFloat),
36246
+ density = parseFloat(getCSSVar(props, "--density")) || 0.08,
36247
+ // size deviation, disabled for low DPR devices, so we don't end up with
36248
+ // particles that have initial size of 0 px
36249
+ sizedev = devicePixelRatio > 1 ? 0.5 : 0.0,
36250
+ fadeDuration = parseFloat(getCSSVar(props, "--fade")) || 0.0;
36251
+
36252
+ const World = {
36253
+ // global world time in seconds (always increasing)
36254
+ t: parseFloat(getCSSVar(props, "--t") ?? 0.0),
36255
+
36256
+ // fade in animation starts after this point in time
36257
+ tStop: parseFloat(getCSSVar(props, "--t-stop") ?? "Infinity"),
36258
+
36259
+ // fade out animation starts after this point in time
36260
+ tStart: 0,
36261
+
36262
+ // given \`density\`, total number of particles depends
36263
+ // on the sq area, but we limit it so it doesn't hurt performance
36264
+ n: M.round(M.min(5000, density * (width - 2 * hgap) * (height - 2 * vgap))),
36265
+ };
36266
+
36267
+ const lineWidth = width - 2 * hgap,
36268
+ lineHeight = height - 2 * vgap;
36269
+
36270
+ const wordDist = mimicWords
36271
+ ? // we assume that the space character is 4 times smaller than a character,
36272
+ // (which is an average difference between an EM and a whitespace)
36273
+ // however it can't be too small otherwise it will be barely visible
36274
+ makeWordDistribution(lineWidth, lineHeight, Math.max(12, lineHeight / 4))
36275
+ : (x) => x * (width - 2 * hgap);
36276
+
36277
+ ctx.clearRect(0, 0, size.width, size.height);
36278
+
36279
+ for (let i = 0; i < World.n; ++i) {
36280
+ /** Initial values */
36281
+ const x0 = hgap + wordDist(rand());
36282
+ const y0 = rand(vgap, height - vgap);
36283
+
36284
+ const v0mag = rand(vmin, vmax),
36285
+ size0 = rand(1.0, 1.0 + sizedev);
36286
+
36287
+ const _l = parseInt(accent[2]);
36288
+ const ldir = _l > 50 ? -1 : 1; // light or dark
36289
+ const lightness = M.floor(clamp(0, _l + ldir * rand(0, 30), 100));
36290
+
36291
+ const v0 = pol2vec(v0mag, rand(0, M.PI * 2));
36292
+ const [vx0norm, vy0norm] = vecnorm(v0);
36293
+ const [vx0, vy0] = v0;
36294
+
36295
+ const shape = rand() > 0.5 ? "square" : "circle";
36296
+
36297
+ /** Time */
36298
+ const lifetime = rand(0.3, 1.5); // in sec
36299
+ const respawn = rand(0, 1); // how long until the next respawn
36300
+
36301
+ // make particles appear in 0.15s and disappear in 0.3s
36302
+ const visibilityFn = trapezoidalWave(lifetime, 0.15, 0.3);
36303
+
36304
+ // ensures that particles don't all spawn at the same time
36305
+ const phase = rand(0, lifetime + respawn);
36306
+
36307
+ const cantSpawnNoMore =
36308
+ Math.floor((World.tStop + phase) / (lifetime + respawn)) <
36309
+ Math.floor((World.t + phase) / (lifetime + respawn));
36310
+
36311
+ if (cantSpawnNoMore) continue; // can not respawn after \`tstop\`
36312
+
36313
+ let t = M.min(lifetime, (World.t + phase) % (lifetime + respawn));
36314
+
36315
+ const vx = vx0 - 0.5 * frict * t * vx0norm;
36316
+ const vy = vy0 - 0.5 * frict * t * vy0norm;
36317
+
36318
+ const x = x0 + vx * t;
36319
+ const y = y0 + vy * t;
36320
+
36321
+ const fade = animateFadeInOut(World, i, fadeDuration);
36322
+
36323
+ const alpha = fade * (1 - t / lifetime);
36324
+ const size = fade * (size0 * visibilityFn(t));
36325
+
36326
+ for (const [wx, wy] of cycleBounds([x, y], [width, height], size / 2)) {
36327
+ ctx.beginPath();
36328
+
36329
+ ctx.fillStyle = \`hsl(\${accent[0]} \${accent[1]} \${lightness}% / \${M.round(alpha * 100)}%)\`;
36330
+
36331
+ // Two types of shapes ■ and ●
36332
+ if (shape === "square") {
36333
+ ctx.rect(dprx * wx, dprx * wy, dprx * size, dprx * size);
36334
+ } else {
36335
+ ctx.arc(dprx * wx, dprx * wy, (dprx * size) / 2, 0, M.PI * 2);
36336
+ }
36337
+
36338
+ ctx.closePath();
36339
+ ctx.fill();
36340
+ }
36341
+ }
36342
+ }
36343
+ }
36344
+
36345
+ /**
36346
+ * Returns a fade in/out scale factor for a particle at a given index
36347
+ * @param {object} World world state, including current time and stop points
36348
+ * @param {number} idx index of the particle
36349
+ * @param {number} duration total time of the animation
36350
+ * @returns number between 0 and 1 (fully opaque)
36351
+ *
36352
+ * How animation is performed. Particles start to animate sequentially, from
36353
+ * 0 to 2 / 3 of the duration, the animation lasts for 1 / 3 of the duration.
36354
+ *
36355
+ * ___duration___
36356
+ * [....+....+....]
36357
+ * 1 5 10.....
36358
+ */
36359
+ const animateFadeInOut = (World, idx, duration, ease = easeOutCubic) => {
36360
+ const direction = World.tStop <= World.t ? "out" : "in";
36361
+ const animationStartT = direction === "in" ? World.tStart : World.tStop;
36362
+
36363
+ // when this particle should start fading
36364
+ const t = animationStartT + ((2 / 3) * duration * idx) / World.n;
36365
+ const fadeFor = (1 / 3) * duration;
36366
+
36367
+ let progress = 0.0;
36368
+
36369
+ if (direction === "in") {
36370
+ progress = (fadeFor + t - World.t) / fadeFor || 0;
36371
+ } else {
36372
+ progress = (World.t - t) / fadeFor || 1;
36373
+ }
36374
+
36375
+ return ease(1.0 - clamp(0, progress, 1));
36376
+ };
36377
+
36378
+ function easeOutCubic(t) {
36379
+ return --t * t * t + 1;
36380
+ }
36381
+
36382
+ const FAKE_WORDS = [5, 3, 4, 4, 2, 4, 7, 6, 8, 6, 3, 1, 6];
36383
+
36384
+ /**
36385
+ *
36386
+ * @param {number} line width of the line
36387
+ * @param {number} em width of a character
36388
+ * @param {number} space whitespace width
36389
+ * @returns
36390
+ */
36391
+ const makeWordDistribution = (line, em, space) => {
36392
+ let marker = 0,
36393
+ i = 0,
36394
+ wordslen = 0,
36395
+ chunks = [];
36396
+
36397
+ do {
36398
+ const endOfWord = Math.min(line, marker + FAKE_WORDS[i++ % FAKE_WORDS.length] * em);
36399
+ wordslen += endOfWord - marker; // total length of words excl gaps
36400
+
36401
+ chunks.push([marker, (marker = endOfWord)]);
36402
+ } while ((marker += space) < line);
36403
+
36404
+ // ensure the last word always ends at the end of the line
36405
+ if (chunks.length >= 0) chunks[chunks.length - 1][1] = line;
36406
+
36407
+ return (t) => {
36408
+ const w = t * wordslen;
36409
+
36410
+ let m = 0.0;
36411
+
36412
+ for (const [start, end] of chunks) {
36413
+ const wordLength = end - start;
36414
+
36415
+ if (m < w && w <= m + wordLength) {
36416
+ return start + w - m;
36417
+ }
36418
+
36419
+ m += wordLength;
36420
+ }
36421
+
36422
+ return 0;
36423
+ };
36424
+ };
36425
+
36426
+ export { SpoilerPainterWorklet };
36427
+ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
36428
+ `, I = typeof CSS < "u" && CSS.paintWorklet !== void 0, y = {
36429
+ fps: 24,
36430
+ gap: 6,
36431
+ density: 0.12,
36432
+ mimicWords: false,
36433
+ fallback: "black"
36434
+ }, Ot = 24, P = 293, Tt = 333, Bt = 1.5, B = 8, ot = "matchMedia" in globalThis && typeof globalThis.matchMedia == "function" && matchMedia("(prefers-reduced-motion: reduce)").matches;
36435
+ class Lt {
36436
+ el;
36437
+ maxFPS = Ot;
36438
+ #i = false;
36439
+ constructor(t, n = {}) {
36440
+ this.el = t, this.#t = 0, this.update(n), n.onlyInViewport === true && this.#h();
36441
+ }
36442
+ #a = false;
36443
+ /**
36444
+ * Stops everything and reverts the styles
36445
+ */
36446
+ destroy() {
36447
+ this.#a = true, this.stopAnimation(), ["background", "--t", "--t-stop", "--fade", "--gap", "--words", "--density"].forEach((t) => {
36448
+ this.el.style.removeProperty(t);
36449
+ }), this.#n && (this.#n.disconnect(), this.#n = null);
36450
+ }
36451
+ /**
36452
+ * `fps` - the maximum frames per second
36453
+ * `mimicWords` - if true, the spoiler will try to mimic the shape of words (cssvar)
36454
+ * `density` - overrides the density of the noise (cssvar)
36455
+ * `gap` - in px a gap that particles won't spawn within (ignored for elements that exceed
36456
+ * the size limit)
36457
+ */
36458
+ update({
36459
+ fps: t = y.fps,
36460
+ gap: n = y.gap,
36461
+ mimicWords: r = y.mimicWords,
36462
+ density: s = y.density,
36463
+ fallback: i = y.fallback,
36464
+ forceFallback: a,
36465
+ accentColor: o
36466
+ } = {}) {
36467
+ if (this.#a)
36468
+ throw new Error("Painter has been destroyed and can't be used again.");
36469
+ if (this.maxFPS = ot ? 0 : t, this.#i = !!a, !I || a) {
36470
+ this.el.style.setProperty("--fallback", i || "initial");
36471
+ return;
36472
+ }
36473
+ const u = getComputedStyle(this.el).getPropertyValue("display") !== "inline";
36474
+ if (this.useBackgroundStyle("auto", "auto", { tile: false }), u) {
36475
+ r = false;
36476
+ const c = this.el.getBoundingClientRect();
36477
+ if (c.width * c.height > P * P)
36478
+ this.useBackgroundStyle(
36479
+ Math.min(c.width, P),
36480
+ Math.min(c.height, P),
36481
+ { tile: true }
36482
+ );
36483
+ else {
36484
+ const m = Math.floor(
36485
+ Math.min(Number(n), c.width / B, c.height / B)
36486
+ );
36487
+ this.el.style.setProperty("--gap", `${m}px ${m}px`);
36488
+ }
36489
+ }
36490
+ if (!u) {
36491
+ const c = [...this.el.getClientRects()], m = Math.min(...c.map((S) => S.height));
36492
+ this.useBackgroundStyle(Tt, m, { tile: true });
36493
+ const A = Math.floor(Math.min(m / B, Number(n)));
36494
+ this.el.style.setProperty("--gap", `0 ${A}px`);
36495
+ }
36496
+ if (this.el.style.setProperty("--words", String(r)), this.el.style.setProperty("--density", String(s)), o) {
36497
+ const c = p(o).toHsl();
36498
+ this.el.style.setProperty("--accent", `${c.h}deg ${c.s}% ${c.l}%`);
36499
+ } else
36500
+ this.el.style.removeProperty("--accent");
36501
+ }
36502
+ useBackgroundStyle(t, n, r) {
36503
+ t = typeof t == "number" ? `${t}px` : t, n = typeof n == "number" ? `${n}px` : n;
36504
+ const s = r?.tile ? "repeat left center" : "no-repeat center center";
36505
+ this.el.style.background = `paint(spoiler) ${s} / ${t} ${n}`;
36506
+ }
36507
+ /**
36508
+ * Hides and reveals the content. Turns the noise animation on and off.
36509
+ */
36510
+ #o = false;
36511
+ get isHidden() {
36512
+ return this.#o;
36513
+ }
36514
+ #c = 0;
36515
+ set #r(t) {
36516
+ this.el.style.setProperty("--fade", `${this.#c = Number(t)}s`);
36517
+ }
36518
+ get #r() {
36519
+ return this.#c;
36520
+ }
36521
+ parseFadeDuration(t) {
36522
+ return ot ? 0 : t === true ? Bt : Number(t);
36523
+ }
36524
+ hide({ animate: t = true } = {}) {
36525
+ if (this.#o = true, !I || this.#i) {
36526
+ this.el.style.setProperty("background", "var(--fallback)");
36527
+ return;
36528
+ }
36529
+ this.#r = this.parseFadeDuration(t), this.#t = null, this.t = 0, this.startAnimation();
36530
+ }
36531
+ reveal({ animate: t = true } = {}) {
36532
+ if (this.#o = false, !I || this.#i) {
36533
+ this.el.style.removeProperty("background");
36534
+ return;
36535
+ }
36536
+ const n = this.parseFadeDuration(t);
36537
+ this.#r = n, this.#t = this.t, n <= 0 && this.stopAnimation();
36538
+ }
36539
+ /**
36540
+ * Clock states
36541
+ */
36542
+ #l = 0;
36543
+ #s = 0;
36544
+ #d = null;
36545
+ get #t() {
36546
+ return this.#d;
36547
+ }
36548
+ set #t(t) {
36549
+ this.#d = t, t !== null ? this.el.style.setProperty("--t-stop", t.toFixed(3)) : this.el.style.removeProperty("--t-stop");
36550
+ }
36551
+ get t() {
36552
+ return this.#l;
36553
+ }
36554
+ set t(t) {
36555
+ this.#l = t, this.el.style.setProperty("--t", t.toFixed(3));
36556
+ }
36557
+ // animation loop
36558
+ #u = (t) => {
36559
+ if (this.#a) return;
36560
+ const n = this.#t && this.t > this.#t + this.#r;
36561
+ this.maxFPS > 0 && !n && (this.#e = requestAnimationFrame(this.#u));
36562
+ const r = t - this.#s;
36563
+ r > 0 && r < 1e3 / this.maxFPS || (this.t += r / 1e3, this.#s = t);
36564
+ };
36565
+ /** Animation state */
36566
+ #e = null;
36567
+ startAnimation() {
36568
+ this.#s = performance.now(), this.#u(this.#s);
36569
+ }
36570
+ stopAnimation() {
36571
+ this.#e && (cancelAnimationFrame(this.#e), this.#e = null);
36572
+ }
36573
+ get isAnimating() {
36574
+ return this.#e !== null;
36575
+ }
36576
+ #n = null;
36577
+ #h() {
36578
+ typeof IntersectionObserver > "u" || (this.#n = new IntersectionObserver(
36579
+ (t) => {
36580
+ t.forEach((n) => {
36581
+ n.isIntersecting ? this.startAnimation() : this.stopAnimation();
36582
+ });
36583
+ },
36584
+ {
36585
+ root: null,
36586
+ // observes the element in the viewport
36587
+ threshold: 0.1
36588
+ // trigger if 10% of the element is visible
36589
+ }
36590
+ ), this.#n.observe(this.el));
36591
+ }
36592
+ }
36593
+ I && CSS.paintWorklet.addModule(
36594
+ URL.createObjectURL(new Blob([Nt], { type: "application/javascript" }))
36595
+ );
36596
+ const zt = "_spoiler_1cf3f_1", $t = "_hidden_1cf3f_1", Vt = "_transition_1cf3f_1", Qt = "_fade_1cf3f_17", Ut = "_iris_1cf3f_51", E = {
36597
+ spoiler: zt,
36598
+ hidden: $t,
36599
+ transition: Vt,
36600
+ fade: Qt,
36601
+ iris: Ut,
36602
+ "remove-mask": "_remove-mask_1cf3f_1"
36603
+ }, Kt = "data:image/webp;base64,UklGRuIAAABXRUJQVlA4WAoAAAAQAAAAHwAAHwAAQUxQSHEAAAABJyAQSOFmFxERg4PatlLpIgE0wLcAYwWQ/qXegzuLBBH9nwDsfPyUc2EYAMcwk/ABgDDsZBoAINgFtRWmeuYwzDTczGsw4QHwKgtqfZgjM3o3RBiWwAc7BsO0ophZfcQxZofRzEQPF3Z8WaYVpjrm/wBWUDggSgAAAHADAJ0BKiAAIAA+nUCYSaWkIqE36ACwE4lnAM50PvlSI7/wMAD+7rf8db9v/7SWp6hM/Twt6Iatza3v6Hxf/+ugJP+n55BGQsAA", qt = "data:image/webp;base64,UklGRswAAABXRUJQVlA4WAoAAAAQAAAAHwAAHwAAQUxQSHEAAAABJyAQSOFmFxERg4PatlLpIgE0wLcAYwWQ/qXegzuLBBH9nwDsfPyUc2EYAMcwk/ABgDDsZBoAINgFtRWmeuYwzDTczGsw4QHwKgtqfZgjM3o3RBiWwAc7BsO0ophZfcQxZofRzEQPF3Z8WaYVpjrm/wBWUDggNAAAAFADAJ0BKiAAIAA/MYKzVK6opKM3+qgB0CYJZwAAd47WlJcAAP7tvYyWGro6+OiP70TIoAA=";
36604
+ let Yt = { css: null };
36605
+ const jt = (e) => {
36606
+ const [t] = useState(() => e.hidden !== void 0), [n, r] = useState(e.defaultHidden ?? true);
36607
+ if (t !== (e.hidden !== void 0))
36608
+ throw new Error("Cannot change from controlled to uncontrolled or vice versa.");
36609
+ const s = useCallback(
36610
+ (i) => {
36611
+ t || r(i), e.onHiddenChange?.(i);
36612
+ },
36613
+ [t, e.onHiddenChange]
36614
+ );
36615
+ return t ? [
36616
+ e.hidden,
36617
+ // we know that it is not `undefined` because of the useState initializer
36618
+ s
36619
+ ] : [n, s];
36620
+ }, Zt = (e, t) => {
36621
+ const [n, r] = t, s = useCallback(() => r(false), [r]), i = useCallback(() => r(true), [r]), a = useCallback(() => r(!n), [n, r]);
36622
+ return useMemo(() => {
36623
+ switch (e) {
36624
+ case "hover":
36625
+ return { onMouseEnter: s, onMouseLeave: i };
36626
+ case "click":
36627
+ return { onClick: a };
36628
+ default:
36629
+ return {};
36630
+ }
36631
+ }, [e, s, i, a]);
36632
+ }, Gt = (e) => {
36633
+ const t = _t("(prefers-color-scheme: dark)");
36634
+ return e === "system" ? t : e === "dark";
36635
+ }, Jt = (e, t) => {
36636
+ const [n, r = n] = [e].flat();
36637
+ return t ? r : n;
36638
+ }, te$1 = (e) => {
36639
+ const {
36640
+ asChild: t = false,
36641
+ tagName: n = "span",
36642
+ transition: r = "iris",
36643
+ hidden: s,
36644
+ revealOn: i = s === void 0 ? "hover" : false,
36645
+ defaultHidden: a,
36646
+ onHiddenChange: o,
36647
+ // background noise settings
36648
+ accentColor: u = ["#333", "#fff"],
36649
+ theme: c = "system",
36650
+ mimicWords: m = true,
36651
+ fps: A = 24,
36652
+ gap: S,
36653
+ density: $,
36654
+ noiseFadeDuration: V,
36655
+ fallback: Q,
36656
+ forceFallback: U = false,
36657
+ // inherited props
36658
+ className: ht,
36659
+ children: M,
36660
+ ...pt
36661
+ } = e, _ = useRef(null), k = useRef(), [ft, mt] = Pt(_, 4), K = jt(e), [g] = K, D = Gt(c), q = Jt(u, D), F = useRef(V);
36662
+ F.current = V, kt(Yt.css, _);
36663
+ const R = useMemo(() => {
36664
+ let h = Q ?? // image is 32x32
36665
+ `repeat top left / 16px 16px url(${D ? qt : Kt})`;
36666
+ return {
36667
+ fps: A,
36668
+ gap: S,
36669
+ density: $,
36670
+ mimicWords: m,
36671
+ accentColor: q,
36672
+ fallback: h,
36673
+ forceFallback: U
36674
+ };
36675
+ }, [
36676
+ A,
36677
+ S,
36678
+ $,
36679
+ m,
36680
+ q,
36681
+ Q,
36682
+ D,
36683
+ ft,
36684
+ mt,
36685
+ U
36686
+ ]), [gt] = useState(() => R);
36687
+ H$1(() => {
36688
+ const h = new Lt(_.current, gt);
36689
+ return k.current = h, () => {
36690
+ h.destroy(), k.current = void 0;
36691
+ };
36692
+ }, []), H$1(() => {
36693
+ const h = k.current, j = F.current !== void 0 ? { animate: F.current } : {};
36694
+ h && g !== h.isHidden && (g ? h.hide(j) : h.reveal(j));
36695
+ }, [g]), H$1(() => {
36696
+ k.current?.update(R);
36697
+ }, [R]);
36698
+ const bt = [
36699
+ E.spoiler,
36700
+ g ? `${E.hidden}` : "",
36701
+ // append className provided above
36702
+ ht
36703
+ ].filter((h) => h).join(" ");
36704
+ let Y = M;
36705
+ (r === "fade" || r === "iris") && (Y = createElement(n, {
36706
+ className: `${E.transition} ${E[r]}`,
36707
+ children: M
36708
+ }));
36709
+ const vt = t && isValidElement(M) ? M : createElement(n, {
36710
+ children: Y,
36711
+ "aria-expanded": !g,
36712
+ "data-hidden": g ? true : void 0
36713
+ });
36714
+ return cloneElement(vt, {
36715
+ ref: _,
36716
+ className: bt,
36717
+ ...Zt(i, K),
36718
+ ...pt
36719
+ });
36720
+ };
36721
+
36722
+ Yt.css = "._spoiler_1cf3f_1._hidden_1cf3f_1:not(:has(>._transition_1cf3f_1)){color:transparent;border-color:transparent;text-decoration-color:transparent;-webkit-text-emphasis-color:transparent;text-emphasis-color:transparent}._spoiler_1cf3f_1._hidden_1cf3f_1:not(:has(>._transition_1cf3f_1))>*{opacity:0}._transition_1cf3f_1._fade_1cf3f_17{--hide-transition: .2s ease-out;--reveal-transition: .5s ease-out;transition:opacity var(--reveal-transition),filter var(--reveal-transition)}._spoiler_1cf3f_1._hidden_1cf3f_1>._transition_1cf3f_1._fade_1cf3f_17{opacity:0;transition:opacity var(--hide-transition),filter var(--hide-transition);filter:blur(.5px)}@property --iris-gradient-length{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --iris-radius{syntax: \"<length> | <percentage>\"; inherits: false; initial-value: 16px;}._spoiler_1cf3f_1>._transition_1cf3f_1._iris_1cf3f_51{--hide-duration: .15s;--reveal-duration: .3s}._spoiler_1cf3f_1._hidden_1cf3f_1>._transition_1cf3f_1._iris_1cf3f_51{--iris-gradient-length: 0%;--iris-radius: 0px;opacity:0;filter:blur(1px);transition:--iris-gradient-length 0s linear var(--hide-duration),filter 0s linear var(--hide-duration),opacity var(--hide-duration) ease-out}._transition_1cf3f_1._iris_1cf3f_51{-webkit-mask:radial-gradient(circle closest-corner,black var(--iris-gradient-length),transparent calc(var(--iris-gradient-length) + var(--iris-radius))) no-repeat center;mask:radial-gradient(circle closest-corner,black var(--iris-gradient-length),transparent calc(var(--iris-gradient-length) + var(--iris-radius))) no-repeat center;transition:--iris-gradient-length var(--reveal-duration) ease-out,opacity var(--reveal-duration) ease-out,filter var(--reveal-duration) ease-out}@keyframes _remove-mask_1cf3f_1{to{-webkit-mask-image:none;mask-image:none}}._spoiler_1cf3f_1:not(._hidden_1cf3f_1)>._transition_1cf3f_1._iris_1cf3f_51{animation:0s linear var(--reveal-duration) 1 forwards _remove-mask_1cf3f_1}\n";
36723
+
36724
+ const NoSelect = st$1.div`
36725
+ * {
36726
+ user-select: none;
36727
+ }
36728
+ `;
36729
+ const DisabledInput = st$1(Input)`
36730
+ /* stylelint-disable declaration-no-important */
36731
+ cursor: ${({ $hidden }) => $hidden ? "default" : "pointer"} !important;
36732
+ `;
36733
+ const NotificationOverrides = at$1`
36734
+ .no-message-notif .ant-notification-notice-message {
36735
+ margin-bottom: 0 !important;
36736
+ }
36737
+ `;
36738
+ const Styled$g = {
36739
+ NoSelect,
36740
+ DisabledInput,
36741
+ NotificationOverrides
36742
+ };
36743
+
36744
+ const SecretBase64Plain = ({ data }) => {
36745
+ const {
36746
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
36747
+ id,
36748
+ base64Value,
36749
+ plainTextValue,
36750
+ containerStyle,
36751
+ inputContainerStyle,
36752
+ flexProps,
36753
+ niceLooking,
36754
+ notificationText,
36755
+ notificationWidth
36756
+ } = data;
36757
+ const [hidden, setHidden] = useState(true);
36758
+ const inputRef = useRef(null);
36759
+ const [notificationApi, contextHolder] = notification.useNotification();
36760
+ const { data: multiQueryData, isLoading, isError, errors } = useMultiQuery();
36761
+ const partsOfUrl = usePartsOfUrl();
36762
+ const theme = useTheme();
36763
+ if (isLoading) {
36764
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." });
36765
+ }
36766
+ if (isError) {
36767
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
36768
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h4", { children: "Errors:" }),
36769
+ /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { children: errors.map((e, i) => e && /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: e.message }, i)) })
36770
+ ] });
36771
+ }
36772
+ const replaceValues = partsOfUrl.partsOfUrl.reduce((acc, value, index) => {
36773
+ acc[index.toString()] = value;
36774
+ return acc;
36775
+ }, {});
36776
+ const parsedText = parseAll({
36777
+ text: base64Value || plainTextValue || "Oneof required",
36778
+ replaceValues,
36779
+ multiQueryData
36780
+ });
36781
+ const decodedText = base64Value ? atob(parsedText) : parsedText;
36782
+ const copyToClipboard = async () => {
36783
+ try {
36784
+ if (decodedText !== null && decodedText !== void 0) {
36785
+ await navigator.clipboard.writeText(decodedText);
36786
+ notificationApi.info({
36787
+ // message: `Copied: ${decodedText.substring(0, 5)}...`,
36788
+ message: notificationText || "Text copied to clipboard",
36789
+ placement: "bottomRight",
36790
+ closeIcon: null,
36791
+ style: {
36792
+ width: notificationWidth || "300px"
36793
+ },
36794
+ className: "no-message-notif"
36795
+ });
36796
+ } else {
36797
+ console.log("Failed to copy text");
36798
+ }
36799
+ } catch (error) {
36800
+ console.error(error);
36801
+ }
36802
+ };
36803
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
36804
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$g.NotificationOverrides, {}),
36805
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 8, ...flexProps, children: [
36806
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$g.NoSelect, { style: inputContainerStyle, children: niceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te$1, { theme, hidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
36807
+ Styled$g.DisabledInput,
36808
+ {
36809
+ $hidden: hidden,
36810
+ ref: inputRef,
36811
+ onClick: () => {
36812
+ if (!hidden) {
36813
+ inputRef.current?.focus({
36814
+ cursor: "all"
36815
+ });
36816
+ copyToClipboard();
36817
+ }
36818
+ },
36819
+ value: decodedText
36820
+ }
36821
+ ) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
36822
+ Styled$g.DisabledInput,
36823
+ {
36824
+ $hidden: hidden,
36825
+ ref: inputRef,
36826
+ onClick: () => {
36827
+ if (!hidden) {
36828
+ inputRef.current?.focus({
36829
+ cursor: "all"
36830
+ });
36831
+ copyToClipboard();
36832
+ }
36833
+ },
36834
+ value: hidden ? "" : decodedText
36835
+ }
36836
+ ) }),
36837
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { type: "text", onClick: () => setHidden(!hidden), children: hidden ? /* @__PURE__ */ jsxRuntimeExports.jsx(EyeOutlined, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(EyeInvisibleOutlined, {}) })
36838
+ ] }),
36839
+ contextHolder
36840
+ ] });
36841
+ };
36842
+
35852
36843
  const DynamicComponents = {
35853
36844
  DefaultDiv,
35854
36845
  antdText: AntdText,
@@ -35881,7 +36872,9 @@ const DynamicComponents = {
35881
36872
  KeyCounter,
35882
36873
  Taints,
35883
36874
  Tolerations,
35884
- Annotations
36875
+ Annotations,
36876
+ ConverterBytes,
36877
+ SecretBase64Plain
35885
36878
  };
35886
36879
 
35887
36880
  const prepareUrlsToFetchForDynamicRenderer = ({
@@ -44566,7 +45559,7 @@ function stringify(value, replacer, options) {
44566
45559
  return new Document$1(value, _replacer, options).toString(options);
44567
45560
  }
44568
45561
 
44569
- const BorderRadiusContainer$1 = st.div`
45562
+ const BorderRadiusContainer$1 = st$1.div`
44570
45563
  height: 100%;
44571
45564
 
44572
45565
  .monaco-editor,
@@ -44602,7 +45595,7 @@ const YamlEditor = ({ theme, currentValues, onChange }) => {
44602
45595
  ) });
44603
45596
  };
44604
45597
 
44605
- const BorderRadiusContainer = st.div`
45598
+ const BorderRadiusContainer = st$1.div`
44606
45599
  height: ${({ $designNewLayoutHeight }) => $designNewLayoutHeight ? `${$designNewLayoutHeight}px` : "75vh"};
44607
45600
 
44608
45601
  .monaco-editor,
@@ -44610,7 +45603,7 @@ const BorderRadiusContainer = st.div`
44610
45603
  border-radius: 8px;
44611
45604
  }
44612
45605
  `;
44613
- const ControlsRowContainer$1 = st.div`
45606
+ const ControlsRowContainer$1 = st$1.div`
44614
45607
  margin-top: 10px;
44615
45608
  display: flex;
44616
45609
  align-items: center;
@@ -44618,7 +45611,7 @@ const ControlsRowContainer$1 = st.div`
44618
45611
  border-radius: 8px;
44619
45612
  padding: 4px;
44620
45613
  `;
44621
- const BigText$1 = st.div`
45614
+ const BigText$1 = st$1.div`
44622
45615
  font-size: 16px;
44623
45616
  line-height: 24px;
44624
45617
  `;
@@ -45389,10 +46382,10 @@ const FormStringInput = ({
45389
46382
  ] });
45390
46383
  };
45391
46384
 
45392
- const SwitchAndCrossContainer = st.div`
46385
+ const SwitchAndCrossContainer = st$1.div`
45393
46386
  display: flex;
45394
46387
  `;
45395
- const CrossContainer = st.div`
46388
+ const CrossContainer = st$1.div`
45396
46389
  margin-left: 4px;
45397
46390
  cursor: pointer;
45398
46391
  padding-top: 11px;
@@ -45620,20 +46613,20 @@ const FormArrayHeader = ({
45620
46613
  ] });
45621
46614
  };
45622
46615
 
45623
- const Container = st.div`
46616
+ const Container = st$1.div`
45624
46617
  display: grid;
45625
46618
  grid-template-columns: repeat(2, 1fr);
45626
46619
  gap: ${({ $designNewLayout }) => $designNewLayout ? "36px" : "8px"};
45627
46620
  height: ${({ $designNewLayoutHeight }) => $designNewLayoutHeight ? `${$designNewLayoutHeight}px` : "75vh"};
45628
46621
  `;
45629
- const OverflowContainer$1 = st.div`
46622
+ const OverflowContainer$1 = st$1.div`
45630
46623
  overflow-x: auto;
45631
46624
  scrollbar-width: thin;
45632
46625
  `;
45633
- const ResetedFormList = st(Form.List)`
46626
+ const ResetedFormList = st$1(Form.List)`
45634
46627
  margin-bottom: 8px;
45635
46628
  `;
45636
- const ControlsRowContainer = st.div`
46629
+ const ControlsRowContainer = st$1.div`
45637
46630
  margin-top: 10px;
45638
46631
  display: flex;
45639
46632
  align-items: center;
@@ -45641,10 +46634,10 @@ const ControlsRowContainer = st.div`
45641
46634
  border-radius: 8px;
45642
46635
  padding: 4px;
45643
46636
  `;
45644
- const DebugContainer = st.div`
46637
+ const DebugContainer = st$1.div`
45645
46638
  height: ${({ $designNewLayoutHeight }) => $designNewLayoutHeight ? `${$designNewLayoutHeight}px` : "75vh"};
45646
46639
  `;
45647
- const BigText = st.div`
46640
+ const BigText = st$1.div`
45648
46641
  font-size: 16px;
45649
46642
  line-height: 24px;
45650
46643
  `;
@@ -46839,7 +47832,7 @@ const BlackholeFormDataProvider = ({
46839
47832
  );
46840
47833
  };
46841
47834
 
46842
- const CustomCard$5 = st(Card)`
47835
+ const CustomCard$5 = st$1(Card)`
46843
47836
  display: flex;
46844
47837
  justify-content: center;
46845
47838
  align-items: center;
@@ -47097,7 +48090,7 @@ const getListPath = ({
47097
48090
  return `/api/clusters/${clusterName}/k8s/api/v1${namespace ? `/namespaces/${namespace}` : ""}/${typeName}`;
47098
48091
  };
47099
48092
 
47100
- const CustomCard$4 = st(Card)`
48093
+ const CustomCard$4 = st$1(Card)`
47101
48094
  position: relative;
47102
48095
  width: 238px;
47103
48096
  overflow-x: auto;
@@ -47117,7 +48110,7 @@ const CustomCard$4 = st(Card)`
47117
48110
  padding: 8px;
47118
48111
  }
47119
48112
  `;
47120
- const ImageContainer = st.div`
48113
+ const ImageContainer = st$1.div`
47121
48114
  min-width: 45px;
47122
48115
  min-height: 45px;
47123
48116
  padding: 6px;
@@ -47127,12 +48120,12 @@ const ImageContainer = st.div`
47127
48120
  height: 45px;
47128
48121
  }
47129
48122
  `;
47130
- const OverflowContainer = st.div`
48123
+ const OverflowContainer = st$1.div`
47131
48124
  overflow-x: auto;
47132
48125
  scrollbar-width: thin;
47133
48126
  margin-bottom: 20px;
47134
48127
  `;
47135
- const TitleContainer = st.div`
48128
+ const TitleContainer = st$1.div`
47136
48129
  padding-left: 6px;
47137
48130
  padding-right: 6px;
47138
48131
  font-size: 16px;
@@ -47142,7 +48135,7 @@ const TitleContainer = st.div`
47142
48135
  font-weight: 700;
47143
48136
  }
47144
48137
  `;
47145
- const TagsContainer = st.div`
48138
+ const TagsContainer = st$1.div`
47146
48139
  margin-top: 6px;
47147
48140
  margin-bottom: 6px;
47148
48141
  padding-left: 6px;
@@ -47151,7 +48144,7 @@ const TagsContainer = st.div`
47151
48144
  flex-flow: row wrap;
47152
48145
  align-items: flex-start;
47153
48146
  `;
47154
- const CustomTag = st(Tag)`
48147
+ const CustomTag = st$1(Tag)`
47155
48148
  margin-right: 4px;
47156
48149
  margin-bottom: 4px;
47157
48150
 
@@ -47159,11 +48152,11 @@ const CustomTag = st(Tag)`
47159
48152
  margin-right: 0;
47160
48153
  }
47161
48154
  `;
47162
- const DescriptionContainer = st.div`
48155
+ const DescriptionContainer = st$1.div`
47163
48156
  padding-left: 6px;
47164
48157
  padding-right: 6px;
47165
48158
  `;
47166
- const EditButtonContainer = st.div`
48159
+ const EditButtonContainer = st$1.div`
47167
48160
  position: absolute;
47168
48161
  bottom: 6px;
47169
48162
  right: 6px;
@@ -47329,7 +48322,7 @@ const SearchTextInput = ({ uniqueTags, selectedTags, onSelectedTags }) => {
47329
48322
  );
47330
48323
  };
47331
48324
 
47332
- const BigValue = st.div`
48325
+ const BigValue = st$1.div`
47333
48326
  font-size: 36px;
47334
48327
  line-height: 36px;
47335
48328
  font-weight: 700;
@@ -47640,11 +48633,11 @@ const DropdownAccessGroups = ({ accessGroups }) => {
47640
48633
  ) });
47641
48634
  };
47642
48635
 
47643
- const ActionMenuPlaceholder = st.div`
48636
+ const ActionMenuPlaceholder = st$1.div`
47644
48637
  width: 45.33px;
47645
48638
  height: 1px;
47646
48639
  `;
47647
- st.div`
48640
+ st$1.div`
47648
48641
  font-size: 36px;
47649
48642
  line-height: 36px;
47650
48643
  font-weight: 700;
@@ -47808,7 +48801,7 @@ var addonFit = {exports: {}};
47808
48801
 
47809
48802
  var addonFitExports = addonFit.exports;
47810
48803
 
47811
- const CustomCard$3 = st.div`
48804
+ const CustomCard$3 = st$1.div`
47812
48805
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
47813
48806
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
47814
48807
 
@@ -47816,7 +48809,7 @@ const CustomCard$3 = st.div`
47816
48809
  scrollbar-width: thin;
47817
48810
  }
47818
48811
  `;
47819
- const FullWidthDiv$3 = st.div`
48812
+ const FullWidthDiv$3 = st$1.div`
47820
48813
  display: flex;
47821
48814
  justify-content: center;
47822
48815
  width: 100%;
@@ -47913,7 +48906,7 @@ const XTerminal$2 = ({ endpoint, namespace, podName, container, substractHeight
47913
48906
  ] });
47914
48907
  };
47915
48908
 
47916
- const CustomSelect$3 = st.div`
48909
+ const CustomSelect$3 = st$1.div`
47917
48910
  .ant-select {
47918
48911
  width: 200px;
47919
48912
  }
@@ -47958,7 +48951,7 @@ const PodTerminal = ({ cluster, namespace, podName, containers, substractHeight
47958
48951
  ] });
47959
48952
  };
47960
48953
 
47961
- const CustomCard$2 = st.div`
48954
+ const CustomCard$2 = st$1.div`
47962
48955
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
47963
48956
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
47964
48957
 
@@ -47966,13 +48959,13 @@ const CustomCard$2 = st.div`
47966
48959
  scrollbar-width: thin;
47967
48960
  }
47968
48961
  `;
47969
- const FullWidthDiv$2 = st.div`
48962
+ const FullWidthDiv$2 = st$1.div`
47970
48963
  display: flex;
47971
48964
  justify-content: center;
47972
48965
  width: 100%;
47973
48966
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
47974
48967
  `;
47975
- const ProgressContainer = st.div`
48968
+ const ProgressContainer = st$1.div`
47976
48969
  margin-top: calc(${({ $substractHeight }) => $substractHeight}px - 100vh);
47977
48970
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
47978
48971
  display: flex;
@@ -48130,7 +49123,7 @@ const XTerminal$1 = ({ endpoint, nodeName, profile, substractHeight }) => {
48130
49123
  ] });
48131
49124
  };
48132
49125
 
48133
- const CustomSelect$2 = st.div`
49126
+ const CustomSelect$2 = st$1.div`
48134
49127
  .ant-select {
48135
49128
  width: 200px;
48136
49129
  }
@@ -48169,7 +49162,7 @@ const NodeTerminal = ({ cluster, nodeName, substractHeight, defaultProfile }) =>
48169
49162
  ] });
48170
49163
  };
48171
49164
 
48172
- const CustomCard$1 = st.div`
49165
+ const CustomCard$1 = st$1.div`
48173
49166
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
48174
49167
  height: calc(100vh - ${({ $substractHeight }) => $substractHeight}px);
48175
49168
 
@@ -48177,7 +49170,7 @@ const CustomCard$1 = st.div`
48177
49170
  scrollbar-width: thin;
48178
49171
  }
48179
49172
  `;
48180
- const FullWidthDiv$1 = st.div`
49173
+ const FullWidthDiv$1 = st$1.div`
48181
49174
  display: flex;
48182
49175
  justify-content: center;
48183
49176
  width: 100%;
@@ -48270,7 +49263,7 @@ const XTerminal = ({ endpoint, namespace, podName, container, substractHeight })
48270
49263
  ] });
48271
49264
  };
48272
49265
 
48273
- const CustomSelect$1 = st.div`
49266
+ const CustomSelect$1 = st$1.div`
48274
49267
  .ant-select {
48275
49268
  width: 200px;
48276
49269
  }
@@ -48315,12 +49308,12 @@ const PodLogs = ({ cluster, namespace, podName, containers, substractHeight }) =
48315
49308
  ] });
48316
49309
  };
48317
49310
 
48318
- const FullWidthDiv = st.div`
49311
+ const FullWidthDiv = st$1.div`
48319
49312
  display: flex;
48320
49313
  justify-content: center;
48321
49314
  width: 100%;
48322
49315
  `;
48323
- const CustomCard = st.div`
49316
+ const CustomCard = st$1.div`
48324
49317
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
48325
49318
  max-height: calc(100vh - 158px);
48326
49319
 
@@ -48328,11 +49321,11 @@ const CustomCard = st.div`
48328
49321
  scrollbar-width: thin;
48329
49322
  }
48330
49323
  `;
48331
- const VisibilityContainer = st.div`
49324
+ const VisibilityContainer = st$1.div`
48332
49325
  visibility: ${({ $isVisible }) => $isVisible ? "visible" : "hidden"};
48333
49326
  margin-top: -51px;
48334
49327
  `;
48335
- const CursorPointerDiv = st.div`
49328
+ const CursorPointerDiv = st$1.div`
48336
49329
  cursor: pointer;
48337
49330
  user-select: none;
48338
49331
  `;
@@ -48457,13 +49450,13 @@ const MonacoEditor = ({
48457
49450
  ] });
48458
49451
  };
48459
49452
 
48460
- const TopRowContent = st.div`
49453
+ const TopRowContent = st$1.div`
48461
49454
  height: 35px;
48462
49455
  margin-left: 202px;
48463
49456
  display: flex;
48464
49457
  align-items: center;
48465
49458
  `;
48466
- const CustomSelect = st.div`
49459
+ const CustomSelect = st$1.div`
48467
49460
  .ant-select {
48468
49461
  width: 200px;
48469
49462
  }