@kylincloud/flamegraph 0.35.29 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/README.md +12 -1
- package/dist/FlameGraph/FlameGraphComponent/index.d.ts.map +1 -1
- package/dist/ProfilerTable.d.ts.map +1 -1
- package/dist/flamegraphRenderWorker.js +1 -1
- package/dist/flamegraphRenderWorker.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.esm.js +4 -4
- package/dist/index.node.esm.js.map +1 -1
- package/dist/shims/Table.d.ts.map +1 -1
- package/dist/workers/createFlamegraphRenderWorker.d.ts.map +1 -1
- package/dist/workers/profilerTableWorker.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/FlameGraph/FlameGraphComponent/ContextMenu.module.scss +37 -1
- package/src/FlameGraph/FlameGraphComponent/ContextMenu.tsx +1 -1
- package/src/FlameGraph/FlameGraphComponent/index.tsx +0 -31
- package/src/FlameGraph/FlameGraphComponent/styles.module.scss +1 -1
- package/src/ProfilerTable.module.scss +14 -9
- package/src/ProfilerTable.tsx +27 -43
- package/src/shims/Table.tsx +15 -4
- package/src/workers/createFlamegraphRenderWorker.ts +20 -4
- package/src/workers/flamegraphRenderWorker.ts +0 -6
- package/src/workers/profilerTableWorker.ts +0 -26
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),a=require("true-myth"),n=require("zod"),o=require("color"),i=require("d3-scale"),r=require("@react-hook/resize-observer"),l=require("lodash.debounce"),s=require("react-dom"),c=require("react-debounce-input"),d=require("./logo-v3-small.svg"),u=require("lodash.groupby"),b=require("lodash.map"),m="undefined"!=typeof document?document.currentScript:null;function h(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===a&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}function g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}h(":root,[data-flamegraph-color-mode=dark],[data-theme=dark]{--ps-neutral-1:#000;--ps-neutral-2:#fff;--ps-neutral-9:#ffffff08;--ps-ui-background:#0e0e13;--ps-ui-foreground:#212124;--ps-ui-element-bg-primary:#2c2c30;--ps-ui-element-bg-highlight:#47474e;--ps-ui-border:#3b3b44;--ps-disabled-button-text:#404047;--ps-ui-foreground-text:#d8d8d8;--ps-sidebar-separator:#d8d8d833;--ps-dropdown-background:#2c2c30;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' fill='%23fff' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#000;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#f2cd50;--ps-button-switch-bg:#2ecc40;--ps-button-switch-bg-highlight:#61ea71;--ps-button-switch-text:#242428;--ps-table-highlight-row-bg:#2ecc40;--ps-table-highlight-row-text:#000;--ps-table-row-text-shadow:#000;--ps-table-header-bg:#212124;--ps-table-header-text:#d8d8d8;--ps-table-sort-icon:#9a9aa0;--ps-table-sort-icon-active:var(--ps-button-switch-bg-highlight);--ps-selected-app:#df8b53;--ps-select-modal-title:#888;--ps-app-selector-filter:#9d9d9f;--ps-blue-primary:#3b78e7;--ps-blue-highlight:#578ae9;--ps-blue-disabled:#5374b0;--ps-green-primary:#2ecc40;--ps-green-highlight:#61ea71;--ps-green-disabled:#85c985;--ps-red-primary:#dc3545;--ps-red-highlight:#e4606d;--ps-red-disabled:#eb8c95;--ps-grey-primary:#3b3b44;--ps-grey-highlight:#47474e;--ps-grey-disabled:#404047;--ps-immutable-green-button-text:#242428;--ps-immutable-google-button:#e84d3c;--ps-immutable-google-button-hover:#e53825;--ps-immutable-gitlab-button:#3b3b44;--ps-immutable-gitlab-button-hover:#47474e;--ps-immutable-gradient-0:#d1283980;--ps-immutable-gradient-1:#3dc1d3cc;--ps-immutable-off-white:#e6e6e6;--ps-immutable-linked-border:#eb7b18;--ps-immutable-white:#fff;--ps-immutable-placeholder-text:#333;--ps-upload-profile-area-border:#4d4d4d;--ps-upload-profile-area-bg:#2c2c30;--ps-upload-profile-btn-bg:#2c2c30;--ps-upload-profile-icon:#575a6d;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#2c2c30;--ps-fl-toolbar-btn-bg:#3c7150;--ps-toolbar-icon-color:#fff;--ps-mui-tooltip-background:#3b3b44}[data-flamegraph-color-mode=kylin],[data-flamegraph-color-mode=light],[data-theme=kylin],[data-theme=light]{--ps-neutral-1:#fff;--ps-neutral-2:#000;--ps-neutral-9:#00000008;--ps-ui-element-bg-primary:#f8f8f8;--ps-ui-element-bg-highlight:#c4c4c4;--ps-ui-background:#eaeaea;--ps-ui-border:#ccc;--ps-disabled-button-text:#ccc;--ps-ui-foreground:#f8f8f8;--ps-ui-foreground-text:#272727;--ps-dropdown-background:#f8f8f8;--ps-sidebar-separator:#0000004d;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#3b78e7;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#00000052;--ps-button-switch-bg:#3b78e7;--ps-button-switch-bg-highlight:#578ae9;--ps-button-switch-text:#fff;--ps-table-highlight-row-bg:#3b78e7;--ps-table-highlight-row-text:#fff;--ps-table-row-text-shadow:#fff;--ps-table-header-bg:#f8f8f8;--ps-table-header-text:#272727;--ps-selected-app:#3b78e7;--ps-select-modal-title:#888;--ps-green-primary:#0bdb79;--ps-green-highlight:#5bdc9e;--ps-green-disabled:#00a757;--ps-upload-profile-area-border:#d8d8d8;--ps-upload-profile-area-bg:#f8f8f8;--ps-upload-profile-btn-bg:#f8f8f8;--ps-upload-profile-icon:#ccc;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#00000008;--ps-fl-toolbar-btn-bg:#3b78e7;--ps-toolbar-icon-color:#5f6367;--ps-mui-tooltip-background:#5f6367;--ps-app-selector-filter:#9d9d9f}[data-flamegraph-color-mode=kylin],[data-theme=kylin]{--ps-ui-background:#f5f5f5;--ps-ui-foreground:#fff;--ps-ui-border:#d9d9d9;--ps-ui-foreground-text:#000;--ps-fl-toolbar-bg:#fafafa;--ps-fl-toolbar-btn-bg:#1677ff;--ps-toolbar-icon-color:#595959;--ps-table-highlight-row-bg:#e6f4ff;--ps-table-highlight-row-text:#000;--ps-button-switch-bg:#1677ff;--ps-button-switch-bg-highlight:#4096ff;--ps-button-switch-text:#fff;--ps-dropdown-background:#fff;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#f0f0f0;--ps-table-header-bg:#fafafa;--ps-table-header-text:#000;--ps-table-sort-icon:#bfbfbf;--ps-table-sort-icon-active:#5d976f}*,:after,:before{box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}html{-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;cursor:default;line-height:1.5;-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}h1{font-size:2em;margin:.67em 0}dl dl,dl ol,dl ul,ol dl,ol ol,ol ul,ul dl,ul ol,ul ul{margin:0}hr{height:0;overflow:visible}main{display:block}nav ol,nav ul{list-style:none;padding:0}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}iframe,img{border-style:none}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,select{margin:0}button{overflow:visible;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{border:1px solid #a0a0a0;padding:.35em .75em .625em}input{overflow:visible}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}select{text-transform:none}textarea{margin:0;overflow:auto;resize:vertical}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}button,input,select,textarea{background-color:transparent;border:1px solid WindowFrame;color:inherit;font:inherit;letter-spacing:inherit;padding:.25em .375em}select{-moz-appearance:none;-webkit-appearance:none;background:no-repeat 100%/1em;border-radius:0;padding-right:1em}select:not([multiple]):not([size]){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\")}::-ms-expand{display:none}:-ms-input-placeholder{color:rgba(0,0,0,.54)}details,dialog{display:block}dialog{background-color:#fff;border:solid;color:#000;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}code,kbd,pre,samp{font-family:Menlo,Consolas,Roboto Mono,\"Ubuntu Monospace\",Noto Mono,Oxygen Mono,Liberation Mono,monospace,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}:focus-visible{outline:revert}code,pre,tt{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}tt{background-color:var(--ps-ui-foreground-text);border:1px solid var(--ps-gray-light-4);border-radius:3px;padding:2px 4px}.navbar{align-items:center;display:flex;height:60px}.navbar .logo{background-position:0 8px;background-repeat:no-repeat;background-size:40px 40px;font-weight:400;margin:0;padding:0}.navbar .logo:after{content:\"Pyroscope\";font-size:25px;font-weight:400;padding-left:44px;vertical-align:text-top}.footer .navbar-link,.navbar .navbar-link{margin-left:30px}.footer .navbar-link a,.navbar .navbar-link a{color:var(--ps-neutral-2);font-weight:500;text-decoration:none}.footer .navbar-link a:hover,.navbar .navbar-link a:hover{color:var(--ps-neutral-2);cursor:pointer}.flamegraph-table{border:1px solid var(--ps-ui-border);font-size:14px;width:100%}.flamegraph-table thead th{color:var(--ps-neutral-2)}.flamegraph-table td,.flamegraph-table th{border-bottom:1px solid var(--ps-ui-border);border-left:1px solid var(--ps-ui-border);color:var(--ps-neutral-2);line-height:1;max-width:150px;min-width:150px;padding:0 10px;text-align:right;width:150px}.flamegraph-table td span,.flamegraph-table th span{text-shadow:0 0 1px var(--ps-table-row-text-shadow)}.flamegraph-table td:first-child,.flamegraph-table th:first-child{border-left:none;max-width:auto;min-width:auto;text-align:left;white-space:nowrap;width:auto}.flamegraph-table.flamegraph-table-doubles td,.flamegraph-table.flamegraph-table-doubles th{max-width:130px;min-width:130px;width:130px}.flamegraph-table.flamegraph-table-doubles td:first-child,.flamegraph-table.flamegraph-table-doubles th:first-child{max-width:auto;min-width:auto;width:auto}.flamegraph-table .symbol-name{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}.flamegraph-table th{padding:6px 10px}.flamegraph-table thead th{background:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table td{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.flamegraph-table td:first-child{margin-left:15px;position:relative}.flamegraph-table td .table-item-button{align-items:baseline;background-color:transparent;border:none;cursor:pointer;display:flex;flex-flow:row nowrap;width:100%}.flamegraph-table .unsupported-format{padding:15px 40px;text-align:center}.btn-group{display:flex}.btn-group .btn{border-left:none;border-radius:0}.btn-group .btn:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.btn-group .btn:last-child{border-radius:0 4px 4px 0}:global([data-theme=kylin]) .flamegraph-table{border-color:#d9d9d9;font-size:12px}:global([data-theme=kylin]) .flamegraph-table th{border-bottom-color:#d9d9d9;border-left-color:#d9d9d9;padding:6px 8px}:global([data-theme=kylin]) .flamegraph-table td{border-bottom-color:#f0f0f0;border-left-color:#f0f0f0;padding:4px 8px}pyro-flamegraph{-webkit-font-smoothing:antialiased;color:var(--ps-neutral-2);font:400 16px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.flamegraph-table-wrapper{position:relative}.flamegraph-table-wrapper--double{background-color:var(--ps-ui-foreground,#fff);border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);overflow:hidden}.flamegraph-table-wrapper--double .flamegraph-table{border:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll{max-height:var(--kylin-flamegraph-table-max-height,1000px);overflow-x:hidden;overflow-y:auto;position:relative}.flamegraph-table-wrapper--double .flamegraph-table-scroll table{table-layout:fixed;width:100%}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{display:table-header-group;position:sticky;top:0;z-index:3}.flamegraph-table-wrapper--double .flamegraph-table-scroll tbody{display:table-row-group}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th,.flamegraph-table-wrapper--double .flamegraph-table-scroll thead tr{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th{background-clip:padding-box}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{box-shadow:0 2px 0 rgba(0,0,0,.06)}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar{width:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-track{background:#f5f5f5;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb{background-color:#bfbfbf;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb:hover{background-color:#8c8c8c}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsYW1lZ3JhcGguc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSwwREFHRSxtQkFBdUIsQ0FDdkIsbUJBQXVCLENBQ3ZCLHdCQUF5QixDQUN6QiwwQkFBMkIsQ0FDM0IsMEJBQTJCLENBQzNCLGtDQUFtQyxDQUNuQyxvQ0FBcUMsQ0FDckMsc0JBQXVCLENBQ3ZCLGlDQUFrQyxDQUNsQywrQkFBZ0MsQ0FDaEMsZ0NBQWlDLENBQ2pDLGdDQUFpQyxDQUNqQyxnTEFBZ0wsQ0FDaEwseUJBQTZCLENBQzdCLG9CQU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yYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjYmZiZmJmO1xuICBib3JkZXItcmFkaXVzOiA2cHg7XG59XG5cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGw6Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1iOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzhjOGM4Yztcbn0iXX0= */");var f,p={exports:{}};
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),a=require("true-myth"),n=require("zod"),o=require("color"),i=require("d3-scale"),l=require("@react-hook/resize-observer"),r=require("lodash.debounce"),s=require("react-dom"),c=require("react-debounce-input"),d=require("./logo-v3-small.svg"),u=require("lodash.groupby"),b=require("lodash.map"),m="undefined"!=typeof document?document.currentScript:null;function h(e,t){void 0===t&&(t={});var a=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===a&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}function g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}h(":root,[data-flamegraph-color-mode=dark],[data-theme=dark]{--ps-neutral-1:#000;--ps-neutral-2:#fff;--ps-neutral-9:#ffffff08;--ps-ui-background:#0e0e13;--ps-ui-foreground:#212124;--ps-ui-element-bg-primary:#2c2c30;--ps-ui-element-bg-highlight:#47474e;--ps-ui-border:#3b3b44;--ps-disabled-button-text:#404047;--ps-ui-foreground-text:#d8d8d8;--ps-sidebar-separator:#d8d8d833;--ps-dropdown-background:#2c2c30;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' fill='%23fff' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#000;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#f2cd50;--ps-button-switch-bg:#2ecc40;--ps-button-switch-bg-highlight:#61ea71;--ps-button-switch-text:#242428;--ps-table-highlight-row-bg:#2ecc40;--ps-table-highlight-row-text:#000;--ps-table-row-text-shadow:#000;--ps-table-header-bg:#212124;--ps-table-header-text:#d8d8d8;--ps-table-sort-icon:#9a9aa0;--ps-table-sort-icon-active:var(--ps-button-switch-bg-highlight);--ps-selected-app:#df8b53;--ps-select-modal-title:#888;--ps-app-selector-filter:#9d9d9f;--ps-blue-primary:#3b78e7;--ps-blue-highlight:#578ae9;--ps-blue-disabled:#5374b0;--ps-green-primary:#2ecc40;--ps-green-highlight:#61ea71;--ps-green-disabled:#85c985;--ps-red-primary:#dc3545;--ps-red-highlight:#e4606d;--ps-red-disabled:#eb8c95;--ps-grey-primary:#3b3b44;--ps-grey-highlight:#47474e;--ps-grey-disabled:#404047;--ps-immutable-green-button-text:#242428;--ps-immutable-google-button:#e84d3c;--ps-immutable-google-button-hover:#e53825;--ps-immutable-gitlab-button:#3b3b44;--ps-immutable-gitlab-button-hover:#47474e;--ps-immutable-gradient-0:#d1283980;--ps-immutable-gradient-1:#3dc1d3cc;--ps-immutable-off-white:#e6e6e6;--ps-immutable-linked-border:#eb7b18;--ps-immutable-white:#fff;--ps-immutable-placeholder-text:#333;--ps-upload-profile-area-border:#4d4d4d;--ps-upload-profile-area-bg:#2c2c30;--ps-upload-profile-btn-bg:#2c2c30;--ps-upload-profile-icon:#575a6d;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#2c2c30;--ps-fl-toolbar-btn-bg:#3c7150;--ps-toolbar-icon-color:#fff;--ps-mui-tooltip-background:#3b3b44}[data-flamegraph-color-mode=kylin],[data-flamegraph-color-mode=light],[data-theme=kylin],[data-theme=light]{--ps-neutral-1:#fff;--ps-neutral-2:#000;--ps-neutral-9:#00000008;--ps-ui-element-bg-primary:#f8f8f8;--ps-ui-element-bg-highlight:#c4c4c4;--ps-ui-background:#eaeaea;--ps-ui-border:#ccc;--ps-disabled-button-text:#ccc;--ps-ui-foreground:#f8f8f8;--ps-ui-foreground-text:#272727;--ps-dropdown-background:#f8f8f8;--ps-sidebar-separator:#0000004d;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#3b78e7;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#00000052;--ps-button-switch-bg:#3b78e7;--ps-button-switch-bg-highlight:#578ae9;--ps-button-switch-text:#fff;--ps-table-highlight-row-bg:#3b78e7;--ps-table-highlight-row-text:#fff;--ps-table-row-text-shadow:#fff;--ps-table-header-bg:#f8f8f8;--ps-table-header-text:#272727;--ps-selected-app:#3b78e7;--ps-select-modal-title:#888;--ps-green-primary:#0bdb79;--ps-green-highlight:#5bdc9e;--ps-green-disabled:#00a757;--ps-upload-profile-area-border:#d8d8d8;--ps-upload-profile-area-bg:#f8f8f8;--ps-upload-profile-btn-bg:#f8f8f8;--ps-upload-profile-icon:#ccc;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#00000008;--ps-fl-toolbar-btn-bg:#3b78e7;--ps-toolbar-icon-color:#5f6367;--ps-mui-tooltip-background:#5f6367;--ps-app-selector-filter:#9d9d9f}[data-flamegraph-color-mode=kylin],[data-theme=kylin]{--ps-ui-background:#f5f5f5;--ps-ui-foreground:#fff;--ps-ui-border:#d9d9d9;--ps-ui-foreground-text:#000;--ps-fl-toolbar-bg:#fafafa;--ps-fl-toolbar-btn-bg:#1677ff;--ps-toolbar-icon-color:#595959;--ps-table-highlight-row-bg:#e6f4ff;--ps-table-highlight-row-text:#000;--ps-button-switch-bg:#1677ff;--ps-button-switch-bg-highlight:#4096ff;--ps-button-switch-text:#fff;--ps-dropdown-background:#fff;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#f0f0f0;--ps-table-header-bg:#fafafa;--ps-table-header-text:#000;--ps-table-sort-icon:#bfbfbf;--ps-table-sort-icon-active:#5d976f}*,:after,:before{box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}html{-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;cursor:default;line-height:1.5;-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}h1{font-size:2em;margin:.67em 0}dl dl,dl ol,dl ul,ol dl,ol ol,ol ul,ul dl,ul ol,ul ul{margin:0}hr{height:0;overflow:visible}main{display:block}nav ol,nav ul{list-style:none;padding:0}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}iframe,img{border-style:none}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,select{margin:0}button{overflow:visible;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{border:1px solid #a0a0a0;padding:.35em .75em .625em}input{overflow:visible}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}select{text-transform:none}textarea{margin:0;overflow:auto;resize:vertical}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}button,input,select,textarea{background-color:transparent;border:1px solid WindowFrame;color:inherit;font:inherit;letter-spacing:inherit;padding:.25em .375em}select{-moz-appearance:none;-webkit-appearance:none;background:no-repeat 100%/1em;border-radius:0;padding-right:1em}select:not([multiple]):not([size]){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\")}::-ms-expand{display:none}:-ms-input-placeholder{color:rgba(0,0,0,.54)}details,dialog{display:block}dialog{background-color:#fff;border:solid;color:#000;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}code,kbd,pre,samp{font-family:Menlo,Consolas,Roboto Mono,\"Ubuntu Monospace\",Noto Mono,Oxygen Mono,Liberation Mono,monospace,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}:focus-visible{outline:revert}code,pre,tt{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}tt{background-color:var(--ps-ui-foreground-text);border:1px solid var(--ps-gray-light-4);border-radius:3px;padding:2px 4px}.navbar{align-items:center;display:flex;height:60px}.navbar .logo{background-position:0 8px;background-repeat:no-repeat;background-size:40px 40px;font-weight:400;margin:0;padding:0}.navbar .logo:after{content:\"Pyroscope\";font-size:25px;font-weight:400;padding-left:44px;vertical-align:text-top}.footer .navbar-link,.navbar .navbar-link{margin-left:30px}.footer .navbar-link a,.navbar .navbar-link a{color:var(--ps-neutral-2);font-weight:500;text-decoration:none}.footer .navbar-link a:hover,.navbar .navbar-link a:hover{color:var(--ps-neutral-2);cursor:pointer}.flamegraph-table{border:1px solid var(--ps-ui-border);font-size:14px;width:100%}.flamegraph-table thead th{color:var(--ps-neutral-2)}.flamegraph-table td,.flamegraph-table th{border-bottom:1px solid var(--ps-ui-border);border-left:1px solid var(--ps-ui-border);color:var(--ps-neutral-2);line-height:1;max-width:150px;min-width:150px;padding:0 10px;text-align:right;width:150px}.flamegraph-table td span,.flamegraph-table th span{text-shadow:0 0 1px var(--ps-table-row-text-shadow)}.flamegraph-table td:first-child,.flamegraph-table th:first-child{border-left:none;max-width:auto;min-width:auto;text-align:left;white-space:nowrap;width:auto}.flamegraph-table.flamegraph-table-doubles td,.flamegraph-table.flamegraph-table-doubles th{max-width:130px;min-width:130px;width:130px}.flamegraph-table.flamegraph-table-doubles td:first-child,.flamegraph-table.flamegraph-table-doubles th:first-child{max-width:auto;min-width:auto;width:auto}.flamegraph-table .symbol-name{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}.flamegraph-table th{padding:6px 10px}.flamegraph-table thead th{background:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table td{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.flamegraph-table td:first-child{margin-left:15px;position:relative}.flamegraph-table td .table-item-button{align-items:baseline;background-color:transparent;border:none;cursor:pointer;display:flex;flex-flow:row nowrap;width:100%}.flamegraph-table .unsupported-format{padding:15px 40px;text-align:center}.btn-group{display:flex}.btn-group .btn{border-left:none;border-radius:0}.btn-group .btn:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.btn-group .btn:last-child{border-radius:0 4px 4px 0}:global([data-theme=kylin]) .flamegraph-table{border-color:#d9d9d9;font-size:12px}:global([data-theme=kylin]) .flamegraph-table th{border-bottom-color:#d9d9d9;border-left-color:#d9d9d9;padding:6px 8px}:global([data-theme=kylin]) .flamegraph-table td{border-bottom-color:#f0f0f0;border-left-color:#f0f0f0;padding:4px 8px}pyro-flamegraph{-webkit-font-smoothing:antialiased;color:var(--ps-neutral-2);font:400 16px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.flamegraph-table-wrapper{position:relative}.flamegraph-table-wrapper--double{background-color:var(--ps-ui-foreground,#fff);border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);overflow:hidden}.flamegraph-table-wrapper--double .flamegraph-table{border:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll{max-height:var(--kylin-flamegraph-table-max-height,1000px);overflow-x:hidden;overflow-y:auto;position:relative}.flamegraph-table-wrapper--double .flamegraph-table-scroll table{table-layout:fixed;width:100%}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{display:table-header-group;position:sticky;top:0;z-index:3}.flamegraph-table-wrapper--double .flamegraph-table-scroll tbody{display:table-row-group}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th,.flamegraph-table-wrapper--double .flamegraph-table-scroll thead tr{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th{background-clip:padding-box}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{box-shadow:0 2px 0 rgba(0,0,0,.06)}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar{width:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-track{background:#f5f5f5;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb{background-color:#bfbfbf;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb:hover{background-color:#8c8c8c}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsYW1lZ3JhcGguc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSwwREFHRSxtQkFBdUIsQ0FDdkIsbUJBQXVCLENBQ3ZCLHdCQUF5QixDQUN6QiwwQkFBMkIsQ0FDM0IsMEJBQTJCLENBQzNCLGtDQUFtQyxDQUNuQyxvQ0FBcUMsQ0FDckMsc0JBQXVCLENBQ3ZCLGlDQUFrQyxDQUNsQywrQkFBZ0MsQ0FDaEMsZ0NBQWlDLENBQ2pDLGdDQUFpQyxDQUNqQyxnTEFBZ0wsQ0FDaEwseUJBQTZCLENBQzdCLG9CQUF3QixDQUN4QixzQkFBMEIsQ0FDMUIsOEJBQStCLENBQy9CLDZCQUE4QixDQUM5QixrQ0FBbUMsQ0FDbkMsNkJBQThCLENBQzlCLHVDQUF3QyxDQUN4QywrQkFBZ0MsQ0FDaEMsbUNBQW9DLENBQ3BDLGtDQUFzQyxDQUN0QywrQkFBbUMsQ0FDbkMsNEJBQTZCLENBQzdCLDhCQUErQixDQUMvQiw0QkFBNkIsQ0FDN0IsZ0VBQWlFLENBQ2pFLHlCQUEwQixDQUMxQiw0QkFBZ0MsQ0FDaEMsZ0NBQWlDLENBQ2pDLHlCQUEwQixDQUMxQiwyQkFBNEIsQ0FDNUIsMEJBQTJCLENBQzNCLDBCQUEyQixDQUMzQiw0QkFBNkIsQ0FDN0IsMkJBQTRCLENBQzVCLHdCQUF5QixDQUN6QiwwQkFBMkIsQ0FDM0IseUJBQTBCLENBQzFCLHlCQUEwQixDQUMxQiwyQkFBNEIsQ0FDNUIsMEJBQTJCLENBQzNCLHdDQUF5QyxDQUN6Qyxv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AwIDJweCAwIHJnYmEoMCwgMCwgMCwgMC4wNik7XG59XG5cbi8qIOWPr+mAie+8mueojeW+rue+juWMluS4gOS4i+WGhemDqOa7muWKqOadoe+8jOi9qOmBk+mAj+aYju+8jOmBv+WFjeWkquaKouecvCAqL1xuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXIge1xuICB3aWR0aDogNnB4O1xufVxuXG4uZmxhbWVncmFwaC10YWJsZS13cmFwcGVyLS1kb3VibGUgLmZsYW1lZ3JhcGgtdGFibGUtc2Nyb2xsOjotd2Via2l0LXNjcm9sbGJhci10cmFjayB7XG4gIGJhY2tncm91bmQ6ICNmNWY1ZjU7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbn1cblxuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjYmZiZmJmO1xuICBib3JkZXItcmFkaXVzOiA2cHg7XG59XG5cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGw6Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1iOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzhjOGM4Yztcbn0iXX0= */");var f,p={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
10
10
|
* Copyright 2025 Fonticons, Inc.
|
|
11
11
|
*/
|
|
12
|
-
function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function B(e,t,a){return t&&function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=w(e))||t){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){l=!0,i=e},f:function(){try{r||null==a.return||a.return()}finally{if(l)throw i}}}}function v(e,t,a){return(t=N(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){v(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,i,r,l=[],s=!0,c=!1;try{if(i=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(n=i.call(a)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=a.return&&(r=a.return(),Object(r)!==r))return}finally{if(c)throw o}}return l}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function w(e,t){if(e){if("string"==typeof e)return I(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?I(e,t):void 0}}var C=function(){},R={},U={},k=null,D={mark:C,measure:C};try{"undefined"!=typeof window&&(R=window),"undefined"!=typeof document&&(U=document),"undefined"!=typeof MutationObserver&&(k=MutationObserver),"undefined"!=typeof performance&&(D=performance)}catch(le){}var Y=(R.navigator||{}).userAgent,_=void 0===Y?"":Y,V=R,S=U,j=k,J=D;V.document;var M,A=!!S.documentElement&&!!S.head&&"function"==typeof S.addEventListener&&"function"==typeof S.createElement,E=~_.indexOf("MSIE")||~_.indexOf("Trident/"),O={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},z=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],T="classic",H="duotone",P="sharp",K="sharp-duotone",$="chisel",q="etch",ee="jelly",te="jelly-duo",ae="jelly-fill",ne="notdog",oe="notdog-duo",ie="slab",re="slab-press",le="thumbprint",se="utility",ce="utility-duo",de="utility-fill",ue="whiteboard",be=[T,H,P,K,$,q,ee,te,ae,ne,oe,ie,re,le,se,ce,de,ue];v(v(v(v(v(v(v(v(v(v(M={},T,"Classic"),H,"Duotone"),P,"Sharp"),K,"Sharp Duotone"),$,"Chisel"),q,"Etch"),ee,"Jelly"),te,"Jelly Duo"),ae,"Jelly Fill"),ne,"Notdog"),v(v(v(v(v(v(v(v(M,oe,"Notdog Duo"),ie,"Slab"),re,"Slab Press"),le,"Thumbprint"),se,"Utility"),ce,"Utility Duo"),de,"Utility Fill"),ue,"Whiteboard");var me=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),he=["fak","fa-kit","fakd","fa-kit-duotone"],ge={fak:"kit","fa-kit":"kit"},fe={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};v(v({},"kit","Kit"),"kit-duotone","Kit Duotone");var pe,xe={kit:"fak"},Ge={"kit-duotone":"fakd"},Qe="duotone-group",Ie="swap-opacity",Be="primary",ye="secondary";v(v(v(v(v(v(v(v(v(v(pe={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),v(v(v(v(v(v(v(v(pe,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");v(v({},"kit","Kit"),"kit-duotone","Kit Duotone");var ve={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},Fe=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),Ze=[1,2,3,4,5,6,7,8,9,10],Le=Ze.concat([11,12,13,14,15,16,17,18,19,20]),We=[].concat(W(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Qe,Ie,Be,ye]).concat(Ze.map(function(e){return"".concat(e,"x")})).concat(Le.map(function(e){return"w-".concat(e)})),Ne="___FONT_AWESOME___",Xe="svg-inline--fa",we="data-fa-i2svg",Ce="data-fa-pseudo-element",Re="data-prefix",Ue="data-icon",ke="fontawesome-i2svg",De=["HTML","HEAD","STYLE","SCRIPT"],Ye=["::before","::after",":before",":after"],_e=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function Ve(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[T]}})}var Se=Z({},O);Se[T]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),O[T]),ge),fe);var je=Ve(Se),Je=Z({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});Je[T]=Z(Z(Z(Z({},{duotone:"fad"}),Je[T]),xe),Ge);var Me=Ve(Je),Ae=Z({},ve);Ae[T]=Z(Z({},Ae[T]),{fak:"fa-kit"});var Ee=Ve(Ae),Oe=Z({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});Oe[T]=Z(Z({},Oe[T]),{"fa-kit":"fak"}),Ve(Oe);var ze=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Te="fa-layers-text",He=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i;Ve(Z({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}}));var Pe=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ke={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},$e=[].concat(W(["kit"]),W(We)),qe=V.FontAwesomeConfig||{};if(S&&"function"==typeof S.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=L(e,2),a=t[0],n=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=S.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=o&&(qe[n]=o)})}var et={styleDefault:"solid",familyDefault:T,cssPrefix:"fa",replacementClass:Xe,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qe.familyPrefix&&(qe.cssPrefix=qe.familyPrefix);var tt=Z(Z({},et),qe);tt.autoReplaceSvg||(tt.observeMutations=!1);var at={};Object.keys(et).forEach(function(e){Object.defineProperty(at,e,{enumerable:!0,set:function(t){tt[e]=t,nt.forEach(function(e){return e(at)})},get:function(){return tt[e]}})}),Object.defineProperty(at,"familyPrefix",{enumerable:!0,set:function(e){tt.cssPrefix=e,nt.forEach(function(e){return e(at)})},get:function(){return tt.cssPrefix}}),V.FontAwesomeConfig=at;var nt=[];var ot=16,it={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function rt(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function lt(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function st(e){return e.classList?lt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function ct(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function dt(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function ut(e){return e.size!==it.size||e.x!==it.x||e.y!==it.y||e.rotate!==it.rotate||e.flipX||e.flipY}function bt(){var e="fa",t=Xe,a=at.cssPrefix,n=at.replacementClass,o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(a!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),r=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(a,"-")).replace(r,"--".concat(a,"-")).replace(l,".".concat(n))}return o}var mt=!1;function ht(){at.autoAddCss&&!mt&&(!function(e){if(e&&A){var t=S.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=S.head.childNodes,n=null,o=a.length-1;o>-1;o--){var i=a[o],r=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(r)>-1&&(n=i)}S.head.insertBefore(t,n)}}(bt()),mt=!0)}var gt={mixout:function(){return{dom:{css:bt,insertCss:ht}}},hooks:function(){return{beforeDOMElementCreation:function(){ht()},beforeI2svg:function(){ht()}}}},ft=V||{};ft[Ne]||(ft[Ne]={}),ft[Ne].styles||(ft[Ne].styles={}),ft[Ne].hooks||(ft[Ne].hooks={}),ft[Ne].shims||(ft[Ne].shims=[]);var pt=ft[Ne],xt=[],Gt=function(){S.removeEventListener("DOMContentLoaded",Gt),Qt=1,xt.map(function(e){return e()})},Qt=!1;function It(e){var t=e.tag,a=e.attributes,n=void 0===a?{}:a,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?ct(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(ct(e[a]),'" ')},"").trim()}(n),">").concat(i.map(It).join(""),"</").concat(t,">")}function Bt(e,t,a){if(e&&e[t]&&e[t][a])return{prefix:t,iconName:a,icon:e[t][a]}}A&&((Qt=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState))||S.addEventListener("DOMContentLoaded",Gt));var yt=function(e,t,a,n){var o,i,r,l=Object.keys(e),s=l.length,c=t;for(void 0===a?(o=1,r=e[l[0]]):(o=0,r=a);o<s;o++)r=c(r,e[i=l[o]],i,e);return r};function vt(e){return 1!==W(e).length?null:e.codePointAt(0).toString(16)}function Ft(e){return Object.keys(e).reduce(function(t,a){var n=e[a];return!!n.icon?t[n.iconName]=n.icon:t[a]=n,t},{})}function Zt(e,t){var a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,n=void 0!==a&&a,o=Ft(t);"function"!=typeof pt.hooks.addPack||n?pt.styles[e]=Z(Z({},pt.styles[e]||{}),o):pt.hooks.addPack(e,Ft(t)),"fas"===e&&Zt("fa",t)}var Lt=pt.styles,Wt=pt.shims,Nt=Object.keys(Ee),Xt=Nt.reduce(function(e,t){return e[t]=Object.keys(Ee[t]),e},{}),wt=null,Ct={},Rt={},Ut={},kt={},Dt={};function Yt(e,t){var a,n=t.split("-"),o=n[0],i=n.slice(1).join("-");return o!==e||""===i||(a=i,~$e.indexOf(a))?null:i}var _t,Vt=function(){var e=function(e){return yt(Lt,function(t,a,n){return t[n]=yt(a,e,{}),t},{})};Ct=e(function(e,t,a){(t[3]&&(e[t[3]]=a),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=a});return e}),Rt=e(function(e,t,a){(e[a]=a,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=a});return e}),Dt=e(function(e,t,a){var n=t[2];return e[a]=a,n.forEach(function(t){e[t]=a}),e});var t="far"in Lt||at.autoFetchSvg,a=yt(Wt,function(e,a){var n=a[0],o=a[1],i=a[2];return"far"!==o||t||(o="fas"),"string"==typeof n&&(e.names[n]={prefix:o,iconName:i}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:o,iconName:i}),e},{names:{},unicodes:{}});Ut=a.names,kt=a.unicodes,wt=At(at.styleDefault,{family:at.familyDefault})};function St(e,t){return(Ct[e]||{})[t]}function jt(e,t){return(Dt[e]||{})[t]}function Jt(e){return Ut[e]||{prefix:null,iconName:null}}function Mt(){return wt}_t=function(e){wt=At(e.styleDefault,{family:at.familyDefault})},nt.push(_t),Vt();function At(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===t?T:t,n=je[a][e];if(a===H&&!e)return"fad";var o=Me[a][e]||Me[a][n],i=e in pt.styles?e:null;return o||i||null}function Et(e){return e.sort().filter(function(e,t,a){return a.indexOf(e)===t})}var Ot=Fe.concat(he);function zt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,a=void 0!==t&&t,n=null,o=Et(e.filter(function(e){return Ot.includes(e)})),i=Et(e.filter(function(e){return!Ot.includes(e)})),r=L(o.filter(function(e){return n=e,!z.includes(e)}),1)[0],l=void 0===r?null:r,s=function(e){var t=T,a=Nt.reduce(function(e,t){return e[t]="".concat(at.cssPrefix,"-").concat(t),e},{});return be.forEach(function(n){(e.includes(a[n])||e.some(function(e){return Xt[n].includes(e)}))&&(t=n)}),t}(o),c=Z(Z({},function(e){var t=[],a=null;return e.forEach(function(e){var n=Yt(at.cssPrefix,e);n?a=n:e&&t.push(e)}),{iconName:a,rest:t}}(i)),{},{prefix:At(l,{family:s})});return Z(Z(Z({},c),function(e){var t=e.values,a=e.family,n=e.canonical,o=e.givenPrefix,i=void 0===o?"":o,r=e.styles,l=void 0===r?{}:r,s=e.config,c=void 0===s?{}:s,d=a===H,u=t.includes("fa-duotone")||t.includes("fad"),b="duotone"===c.familyDefault,m="fad"===n.prefix||"fa-duotone"===n.prefix;!d&&(u||b||m)&&(n.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab");if(!n.prefix&&Tt.includes(a)){if(Object.keys(l).find(function(e){return Ht.includes(e)})||c.autoFetchSvg){var h=me.get(a).defaultShortPrefixId;n.prefix=h,n.iconName=jt(n.prefix,n.iconName)||n.iconName}}"fa"!==n.prefix&&"fa"!==i||(n.prefix=Mt()||"fas");return n}({values:e,family:s,styles:Lt,config:at,canonical:c,givenPrefix:n})),function(e,t,a){var n=a.prefix,o=a.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i="fa"===t?Jt(o):{},r=jt(n,o);o=i.iconName||r||o,"far"!==(n=i.prefix||n)||Lt.far||!Lt.fas||at.autoFetchSvg||(n="fas");return{prefix:n,iconName:o}}(a,n,c))}var Tt=be.filter(function(e){return e!==T||e!==H}),Ht=Object.keys(ve).filter(function(e){return e!==T}).map(function(e){return Object.keys(ve[e])}).flat();var Pt=function(){return B(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var o=a.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(t){e.definitions[t]=Z(Z({},e.definitions[t]||{}),o[t]),Zt(t,o[t]);var a=Ee[T][t];a&&Zt(a,o[t]),Vt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(a).map(function(t){var n=a[t],o=n.prefix,i=n.iconName,r=n.icon,l=r[2];e[o]||(e[o]={}),l.length>0&&l.forEach(function(t){"string"==typeof t&&(e[o][t]=r)}),e[o][i]=r}),e}}])}(),Kt=[],$t={},qt={},ea=Object.keys(qt);function ta(e,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),o=2;o<a;o++)n[o-2]=arguments[o];return($t[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function aa(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];($t[e]||[]).forEach(function(e){e.apply(null,a)})}function na(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return qt[e]?qt[e].apply(null,t):void 0}function oa(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,a=e.prefix||Mt();if(t)return t=jt(a,t)||t,Bt(ia.definitions,a,t)||Bt(pt.styles,a,t)}var ia=new Pt,ra={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return A?(aa("beforeI2svg",e),na("pseudoElements2svg",e),na("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.autoReplaceSvgRoot;!1===at.autoReplaceSvg&&(at.autoReplaceSvg=!0),at.observeMutations=!0,e=function(){sa({autoReplaceSvgRoot:a}),aa("watch",t)},A&&(Qt?setTimeout(e,0):xt.push(e))}},la={noAuto:function(){at.autoReplaceSvg=!1,at.observeMutations=!1,aa("noAuto")},config:at,dom:ra,parse:{icon:function(e){if(null===e)return null;if("object"===X(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:jt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],a=At(e[0]);return{prefix:a,iconName:jt(a,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(at.cssPrefix,"-"))>-1||e.match(ze))){var n=zt(e.split(" "),{skipLookups:!0});return{prefix:n.prefix||Mt(),iconName:jt(n.prefix,n.iconName)||n.iconName}}if("string"==typeof e){var o=Mt();return{prefix:o,iconName:jt(o,e)||e}}}},library:ia,findIconDefinition:oa,toHtml:It},sa=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?S:e;(Object.keys(pt.styles).length>0||at.autoFetchSvg)&&A&&at.autoReplaceSvg&&la.dom.i2svg({node:t})};function ca(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return It(e)})}}),Object.defineProperty(e,"node",{get:function(){if(A){var t=S.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function da(e){var t=e.icons,a=t.main,n=t.mask,o=e.prefix,i=e.iconName,r=e.transform,l=e.symbol,s=e.maskId,c=e.extra,d=e.watchable,u=void 0!==d&&d,b=n.found?n:a,m=b.width,h=b.height,g=[at.replacementClass,i?"".concat(at.cssPrefix,"-").concat(i):""].filter(function(e){return-1===c.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(c.classes).join(" "),f={children:[],attributes:Z(Z({},c.attributes),{},{"data-prefix":o,"data-icon":i,class:g,role:c.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(h)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(c.attributes)||c.attributes["aria-hidden"]||(f.attributes["aria-hidden"]="true"),u&&(f.attributes[we]="");var p=Z(Z({},f),{},{prefix:o,iconName:i,main:a,mask:n,maskId:s,transform:r,symbol:l,styles:Z({},c.styles)}),x=n.found&&a.found?na("generateAbstractMask",p)||{children:[],attributes:{}}:na("generateAbstractIcon",p)||{children:[],attributes:{}},G=x.children,Q=x.attributes;return p.children=G,p.attributes=Q,l?function(e){var t=e.prefix,a=e.iconName,n=e.children,o=e.attributes,i=e.symbol,r=!0===i?"".concat(t,"-").concat(at.cssPrefix,"-").concat(a):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},o),{},{id:r}),children:n}]}]}(p):function(e){var t=e.children,a=e.main,n=e.mask,o=e.attributes,i=e.styles,r=e.transform;if(ut(r)&&a.found&&!n.found){var l={x:a.width/a.height/2,y:.5};o.style=dt(Z(Z({},i),{},{"transform-origin":"".concat(l.x+r.x/16,"em ").concat(l.y+r.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(p)}function ua(e){var t=e.content,a=e.width,n=e.height,o=e.transform,i=e.extra,r=e.watchable,l=void 0!==r&&r,s=Z(Z({},i.attributes),{},{class:i.classes.join(" ")});l&&(s[we]="");var c=Z({},i.styles);ut(o)&&(c.transform=function(e){var t=e.transform,a=e.width,n=void 0===a?16:a,o=e.height,i=void 0===o?16:o,r="";return r+=E?"translate(".concat(t.x/ot-n/2,"em, ").concat(t.y/ot-i/2,"em) "):"translate(calc(-50% + ".concat(t.x/ot,"em), calc(-50% + ").concat(t.y/ot,"em)) "),r+="scale(".concat(t.size/ot*(t.flipX?-1:1),", ").concat(t.size/ot*(t.flipY?-1:1),") "),r+"rotate(".concat(t.rotate,"deg) ")}({transform:o,width:a,height:n}),c["-webkit-transform"]=c.transform);var d=dt(c);d.length>0&&(s.style=d);var u=[];return u.push({tag:"span",attributes:s,children:[t]}),u}var ba=pt.styles;function ma(e){var t=e[0],a=e[1],n=L(e.slice(4),1)[0];return{found:!0,width:t,height:a,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.GROUP)},children:[{tag:"path",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}var ha={found:!1,width:512,height:512};function ga(e,t){var a=t;return"fa"===t&&null!==at.styleDefault&&(t=Mt()),new Promise(function(n,o){if("fa"===a){var i=Jt(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ba[t]&&ba[t][e])return n(ma(ba[t][e]));!function(e,t){_e||at.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),n(Z(Z({},ha),{},{icon:at.showMissingIcons&&e&&na("missingIconAbstract")||{}}))})}var fa=function(){},pa=at.measurePerformance&&J&&J.mark&&J.measure?J:{mark:fa,measure:fa},xa='FA "7.1.0"',Ga=function(e){pa.mark("".concat(xa," ").concat(e," ends")),pa.measure("".concat(xa," ").concat(e),"".concat(xa," ").concat(e," begins"),"".concat(xa," ").concat(e," ends"))},Qa=function(e){return pa.mark("".concat(xa," ").concat(e," begins")),function(){return Ga(e)}},Ia=function(){};function Ba(e){return"string"==typeof(e.getAttribute?e.getAttribute(we):null)}function ya(e){return S.createElementNS("http://www.w3.org/2000/svg",e)}function va(e){return S.createElement(e)}function Fa(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===t?"svg"===e.tag?ya:va:t;if("string"==typeof e)return S.createTextNode(e);var n=a(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){n.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){n.appendChild(Fa(e,{ceFn:a}))}),n}var Za={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Fa(e),t)}),null===t.getAttribute(we)&&at.keepOriginalSource){var a=S.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(a,t)}else t.remove()},nest:function(e){var t=e[0],a=e[1];if(~st(t).indexOf(at.replacementClass))return Za.replace(e);var n=new RegExp("".concat(at.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var o=a[0].attributes.class.split(" ").reduce(function(e,t){return t===at.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});a[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=a.map(function(e){return It(e)}).join("\n");t.setAttribute(we,""),t.innerHTML=i}};function La(e){e()}function Wa(e,t){var a="function"==typeof t?t:Ia;if(0===e.length)a();else{var n=La;"async"===at.mutateApproach&&(n=V.requestAnimationFrame||La),n(function(){var t=!0===at.autoReplaceSvg?Za.replace:Za[at.autoReplaceSvg]||Za.replace,n=Qa("mutate");e.map(t),n(),a()})}}var Na=!1;function Xa(){Na=!0}function wa(){Na=!1}var Ca=null;function Ra(e){if(j&&at.observeMutations){var t=e.treeCallback,a=void 0===t?Ia:t,n=e.nodeCallback,o=void 0===n?Ia:n,i=e.pseudoElementsCallback,r=void 0===i?Ia:i,l=e.observeMutationsRoot,s=void 0===l?S:l;Ca=new j(function(e){if(!Na){var t=Mt();lt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ba(e.addedNodes[0])&&(at.searchPseudoElements&&r(e.target),a(e.target)),"attributes"===e.type&&e.target.parentNode&&at.searchPseudoElements&&r([e.target],!0),"attributes"===e.type&&Ba(e.target)&&~Pe.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Re):null,a=e.getAttribute?e.getAttribute(Ue):null;return t&&a}(e.target)){var n=zt(st(e.target)),i=n.prefix,l=n.iconName;e.target.setAttribute(Re,i||t),l&&e.target.setAttribute(Ue,l)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(at.replacementClass)&&o(e.target);var s})}}),A&&Ca.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ua(e){var t,a,n=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",r=zt(st(e));return r.prefix||(r.prefix=Mt()),n&&o&&(r.prefix=n,r.iconName=o),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=(t=r.prefix,a=e.innerText,(Rt[t]||{})[a]||St(r.prefix,vt(e.innerText)))),!r.iconName&&at.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}function ka(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},a=Ua(e),n=a.iconName,o=a.prefix,i=a.rest,r=function(e){return lt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),l=ta("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),a=[];return t&&(a=t.split(";").reduce(function(e,t){var a=t.split(":"),n=a[0],o=a.slice(1);return n&&o.length>0&&(e[n]=o.join(":").trim()),e},{})),a}(e):[];return Z({iconName:n,prefix:o,transform:it,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:r}},l)}var Da=pt.styles;function Ya(e){var t="nest"===at.autoReplaceSvg?ka(e,{styleParser:!1}):ka(e);return~t.extra.classes.indexOf(Te)?na("generateLayersText",e,t):na("generateSvgReplacementMutation",e,t)}function _a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!A)return Promise.resolve();var a=S.documentElement.classList,n=function(e){return a.add("".concat(ke,"-").concat(e))},o=function(e){return a.remove("".concat(ke,"-").concat(e))},i=at.autoFetchSvg?[].concat(W(he),W(Fe)):z.concat(Object.keys(Da));i.includes("fa")||i.push("fa");var r=[".".concat(Te,":not([").concat(we,"])")].concat(i.map(function(e){return".".concat(e,":not([").concat(we,"])")})).join(", ");if(0===r.length)return Promise.resolve();var l=[];try{l=lt(e.querySelectorAll(r))}catch(e){}if(!(l.length>0))return Promise.resolve();n("pending"),o("complete");var s=Qa("onTree"),c=l.reduce(function(e,t){try{var a=Ya(t);a&&e.push(a)}catch(e){_e||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,a){Promise.all(c).then(function(a){Wa(a,function(){n("active"),n("complete"),o("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),a(e)})})}function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ya(e).then(function(e){e&&Wa([e],t)})}var Sa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,o=t.symbol,i=void 0!==o&&o,r=t.mask,l=void 0===r?null:r,s=t.maskId,c=void 0===s?null:s,d=t.classes,u=void 0===d?[]:d,b=t.attributes,m=void 0===b?{}:b,h=t.styles,g=void 0===h?{}:h;if(e){var f=e.prefix,p=e.iconName,x=e.icon;return ca(Z({type:"icon"},e),function(){return aa("beforeDOMElementCreation",{iconDefinition:e,params:t}),da({icons:{main:ma(x),mask:l?ma(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:Z(Z({},it),n),symbol:i,maskId:c,extra:{attributes:m,styles:g,classes:u}})})}},ja={mixout:function(){return{icon:(e=Sa,function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:oa(t||{}),o=a.mask;return o&&(o=(o||{}).icon?o:oa(o||{})),e(n,Z(Z({},a),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=_a,e.nodeCallback=Va,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,a=void 0===t?S:t,n=e.callback;return _a(a,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var a=t.iconName,n=t.prefix,o=t.transform,i=t.symbol,r=t.mask,l=t.maskId,s=t.extra;return new Promise(function(t,c){Promise.all([ga(a,n),r.iconName?ga(r.iconName,r.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(r){var c=L(r,2),d=c[0],u=c[1];t([e,da({icons:{main:d,mask:u},prefix:n,iconName:a,transform:o,symbol:i,maskId:l,extra:s,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,a=e.children,n=e.attributes,o=e.main,i=e.transform,r=dt(e.styles);return r.length>0&&(n.style=r),ut(i)&&(t=na("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),a.push(t||o.icon),{children:a,attributes:n}}}},Ja={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.classes,n=void 0===a?[]:a;return ca({type:"layer"},function(){aa("beforeDOMElementCreation",{assembler:e,params:t});var a=[];return e(function(e){Array.isArray(e)?e.map(function(e){a=a.concat(e.abstract)}):a=a.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(at.cssPrefix,"-layers")].concat(W(n)).join(" ")},children:a}]})}}}},Ma={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var a=t.classes,n=void 0===a?[]:a,o=t.attributes,i=void 0===o?{}:o,r=t.styles,l=void 0===r?{}:r;return ca({type:"counter",content:e},function(){return aa("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,a=e.extra,n=Z(Z({},a.attributes),{},{class:a.classes.join(" ")}),o=dt(a.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}({content:e.toString(),extra:{attributes:i,styles:l,classes:["".concat(at.cssPrefix,"-layers-counter")].concat(W(n))}})})}}}},Aa={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,o=t.classes,i=void 0===o?[]:o,r=t.attributes,l=void 0===r?{}:r,s=t.styles,c=void 0===s?{}:s;return ca({type:"text",content:e},function(){return aa("beforeDOMElementCreation",{content:e,params:t}),ua({content:e,transform:Z(Z({},it),n),extra:{attributes:l,styles:c,classes:["".concat(at.cssPrefix,"-layers-text")].concat(W(i))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var a=t.transform,n=t.extra,o=null,i=null;if(E){var r=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();o=l.width/r,i=l.height/r}return Promise.resolve([e,ua({content:e.innerHTML,width:o,height:i,transform:a,extra:n,watchable:!0})])}}},Ea=new RegExp('"',"ug"),Oa=[1105920,1112319],za=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Ta=Object.keys(za).reduce(function(e,t){return e[t.toLowerCase()]=za[t],e},{}),Ha=Object.keys(Ta).reduce(function(e,t){var a=Ta[t];return e[t]=a[900]||W(Object.entries(a))[0][1],e},{});function Pa(e,t){var a="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(n,o){if(null!==e.getAttribute(a))return n();var i,r,l,s=lt(e.children).filter(function(e){return e.getAttribute(Ce)===t})[0],c=V.getComputedStyle(e,t),d=c.getPropertyValue("font-family"),u=d.match(He),b=c.getPropertyValue("font-weight"),m=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&"none"!==m&&""!==m){var h=c.getPropertyValue("content"),g=function(e,t){var a=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(Ta[a]||{})[o]||Ha[a]}(d,b),f=function(e){return vt(W(e.replace(Ea,""))[0]||"")}(h),p=u[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),a=e.getPropertyValue("content").replace(Ea,""),n=a.codePointAt(0),o=n>=Oa[0]&&n<=Oa[1],i=2===a.length&&a[0]===a[1];return o||i||t}(c),G=St(g,f),Q=G;if(p){var I=(r=kt[i=f],l=St("fas",i),r||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});I.iconName&&I.prefix&&(G=I.iconName,g=I.prefix)}if(!G||x||s&&s.getAttribute(Re)===g&&s.getAttribute(Ue)===Q)n();else{e.setAttribute(a,Q),s&&e.removeChild(s);var B={iconName:null,prefix:null,transform:it,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},y=B.extra;y.attributes[Ce]=t,ga(G,g).then(function(o){var i=da(Z(Z({},B),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:g,iconName:Q,extra:y,watchable:!0})),r=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(r,e.firstChild):e.appendChild(r),r.outerHTML=i.map(function(e){return It(e)}).join("\n"),e.removeAttribute(a),n()}).catch(o)}}else n()})}function Ka(e){return Promise.all([Pa(e,"::before"),Pa(e,"::after")])}function $a(e){return!(e.parentNode===document.head||~De.indexOf(e.tagName.toUpperCase())||e.getAttribute(Ce)||e.parentNode&&"svg"===e.parentNode.tagName)}var qa=function(e){return!!e&&Ye.some(function(t){return e.includes(t)})},en=function(e){if(!e)return[];var t=new Set,a=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});a=a.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var n,o=y(a);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(qa(i)){var r=Ye.reduce(function(e,t){return e.replace(t,"")},i);""!==r&&"*"!==r&&t.add(r)}}}catch(e){o.e(e)}finally{o.f()}return t};function tn(e){if(A){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(at.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var a,n=new Set,o=y(document.styleSheets);try{for(o.s();!(a=o.n()).done;){var i=a.value;try{var r,l=y(i.cssRules);try{for(l.s();!(r=l.n()).done;){var s,c=r.value,d=y(en(c.selectorText));try{for(d.s();!(s=d.n()).done;){var u=s.value;n.add(u)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){at.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){o.e(e)}finally{o.f()}if(!n.size)return;var b=Array.from(n).join(", ");try{t=e.querySelectorAll(b)}catch(e){}}return new Promise(function(e,a){var n=lt(t).filter($a).map(Ka),o=Qa("searchPseudoElements");Xa(),Promise.all(n).then(function(){o(),wa(),e()}).catch(function(){o(),wa(),a()})})}}var an={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=tn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,a=void 0===t?S:t;at.searchPseudoElements&&tn(a)}}},nn=!1,on=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var a=t.toLowerCase().split("-"),n=a[0],o=a.slice(1).join("-");if(n&&"h"===o)return e.flipX=!0,e;if(n&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(n){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},rn={mixout:function(){return{parse:{transform:function(e){return on(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-transform");return a&&(e.transform=on(a)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,a=e.transform,n=e.containerWidth,o=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},r="translate(".concat(32*a.x,", ").concat(32*a.y,") "),l="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),s="rotate(".concat(a.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(r," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Z({},c.outer),children:[{tag:"g",attributes:Z({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Z(Z({},t.icon.attributes),c.path)}]}]}}}},ln={x:0,y:0,width:"100%",height:"100%"};function sn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var cn={hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-mask"),n=a?zt(a.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return n.prefix||(n.prefix=Mt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,a=e.children,n=e.attributes,o=e.main,i=e.mask,r=e.maskId,l=e.transform,s=o.width,c=o.icon,d=i.width,u=i.icon,b=function(e){var t=e.transform,a=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(a/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),r="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(r," ").concat(l)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:l,containerWidth:d,iconWidth:s}),m={tag:"rect",attributes:Z(Z({},ln),{},{fill:"white"})},h=c.children?{children:c.children.map(sn)}:{},g={tag:"g",attributes:Z({},b.inner),children:[sn(Z({tag:c.tag,attributes:Z(Z({},c.attributes),b.path)},h))]},f={tag:"g",attributes:Z({},b.outer),children:[g]},p="mask-".concat(r||rt()),x="clip-".concat(r||rt()),G={tag:"mask",attributes:Z(Z({},ln),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,f]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=u,"g"===t.tag?t.children:[t])},G]};return a.push(Q,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},ln)}),{children:a,attributes:n}}}},dn={provides:function(e){var t=!1;V.matchMedia&&(t=V.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],a={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Z(Z({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Z(Z({},n),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Z(Z({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Z(Z({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Z(Z({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Z(Z({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Z(Z({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var a=t.mixoutsTo;Kt=e,$t={},Object.keys(qt).forEach(function(e){-1===ea.indexOf(e)&&delete qt[e]}),Kt.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(a[e]=t[e]),"object"===X(t[e])&&Object.keys(t[e]).forEach(function(n){a[e]||(a[e]={}),a[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){$t[e]||($t[e]=[]),$t[e].push(n[e])})}e.provides&&e.provides(qt)})}([gt,ja,Ja,Ma,Aa,an,{mixout:function(){return{dom:{unwatch:function(){Xa(),nn=!0}}}},hooks:function(){return{bootstrap:function(){Ra(ta("mutationObserverCallbacks",{}))},noAuto:function(){Ca&&Ca.disconnect()},watch:function(e){var t=e.observeMutationsRoot;nn?wa():Ra(ta("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},rn,cn,dn,{hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-symbol"),n=null!==a&&(""===a||a);return e.symbol=n,e}}}}],{mixoutsTo:la});var un=la.config,bn=la.parse,mn=la.icon;function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1);var t}function gn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var fn=new Map;function pn(e){if(fn.has(e))return fn.get(e);const t={};let a=0;const n=e.length;for(;a<n;){const o=e.indexOf(";",a),i=-1===o?n:o,r=e.slice(a,i).trim();if(r){const e=r.indexOf(":");if(e>0){const a=r.slice(0,e).trim(),n=r.slice(e+1).trim();if(a&&n){const e=hn(a);t[e.startsWith("webkit")?gn(e):e]=n}}}a=i+1}if(1e3===fn.size){const e=fn.keys().next().value;e&&fn.delete(e)}return fn.set(e,t),t}var xn=function e(t,a,n={}){if("string"==typeof a)return a;const o=(a.children||[]).map(a=>e(t,a)),i=a.attributes||{},r={};for(const[e,t]of Object.entries(i))switch(!0){case"class"===e:r.className=t;break;case"style"===e:r.style=pn(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):r[e.toLowerCase()]=t;break;default:r[hn(e)]=t}const{style:l,role:s,"aria-label":c,...d}=n;return l&&(r.style=r.style?{...r.style,...l}:l),s&&(r.role=s),c&&(r["aria-label"]=c,r["aria-hidden"]="false"),t(a.tag,{...d,...r},...o)}.bind(null,t.createElement),Gn=(e,a)=>{const n=t.useId();return e||(a?n:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var Qn="searchPseudoElementsFullScan"in un?"7.0.0":"6.0.0",In=Number.parseInt(Qn)>=7,Bn="fa",yn="fa-beat",vn="fa-fade",Fn="fa-beat-fade",Zn="fa-bounce",Ln="fa-shake",Wn="fa-spin",Nn="fa-spin-pulse",Xn="fa-spin-reverse",wn="fa-pulse",Cn={left:"fa-pull-left",right:"fa-pull-right"},Rn={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Un={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},kn="fa-border",Dn="fa-fw",Yn="fa-flip",_n="fa-flip-horizontal",Vn="fa-flip-vertical",Sn="fa-inverse",jn="fa-rotate-by",Jn="fa-swap-opacity",Mn="fa-width-auto";function An(e){const t=un.cssPrefix||un.familyPrefix||Bn;return t===Bn?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Bn}-`,"g"),`${t}-`)}function En(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:bn.icon(e)}var On=new class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t="undefined"!=typeof process&&"development"===process.env.NODE_ENV}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}}("FontAwesomeIcon"),zn={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},Tn=new Set(Object.keys(zn)),Hn=t.forwardRef((e,t)=>{const a={...zn,...e},{icon:n,mask:o,symbol:i,title:r,titleId:l,maskId:s,transform:c}=a,d=Gn(s,Boolean(o)),u=Gn(l,Boolean(r)),b=En(n);if(!b)return On.error("Icon lookup is undefined",n),null;const m=function(e){const{beat:t,fade:a,beatFade:n,bounce:o,shake:i,spin:r,spinPulse:l,spinReverse:s,pulse:c,fixedWidth:d,inverse:u,border:b,flip:m,size:h,rotation:g,pull:f,swapOpacity:p,rotateBy:x,widthAuto:G,className:Q}=e,I=[];return Q&&I.push(...Q.split(" ")),t&&I.push(yn),a&&I.push(vn),n&&I.push(Fn),o&&I.push(Zn),i&&I.push(Ln),r&&I.push(Wn),s&&I.push(Xn),l&&I.push(Nn),c&&I.push(wn),d&&I.push(Dn),u&&I.push(Sn),b&&I.push(kn),!0===m&&I.push(Yn),"horizontal"!==m&&"both"!==m||I.push(_n),"vertical"!==m&&"both"!==m||I.push(Vn),null!=h&&I.push(Un[h]),null!=g&&0!==g&&I.push(Rn[g]),null!=f&&I.push(Cn[f]),p&&I.push(Jn),In?(x&&I.push(jn),G&&I.push(Mn),(un.cssPrefix||un.familyPrefix||Bn)===Bn?I:I.map(An)):I}(a),h="string"==typeof c?bn.transform(c):c,g=En(o),f=mn(b,{...m.length>0&&{classes:m},...h&&{transform:h},...g&&{mask:g},symbol:i,title:r,titleId:u,maskId:d});if(!f)return On.error("Could not find icon",b),null;const{abstract:p}=f,x={ref:t};for(const e of(G=a,Object.keys(G)))Tn.has(e)||(x[e]=a[e]);var G;return xn(p[0],x)});Hn.displayName="FontAwesomeIcon";var Pn={box:"Box-module_box__SQLj3",collapseBox:"Box-module_collapseBox__5A5Fc",padding:"Box-module_padding__dIJ-L",collapsedContent:"Box-module_collapsedContent__yn-0g",collapseTitle:"Box-module_collapseTitle__-R0ge",collapseIcon:"Box-module_collapseIcon__OAiTO",collapsed:"Box-module_collapsed__nf76f"};h(".Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc{background-color:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:4px;position:relative}.Box-module_padding__dIJ-L{margin-bottom:10px;padding:10px}.Box-module_collapseBox__5A5Fc{margin-bottom:10px}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc .Box-module_collapseBox__5A5Fc{background-color:transparent;border:none;border-radius:0;height:auto;padding-bottom:0}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3.Box-module_collapsedContent__yn-0g,.Box-module_collapseBox__5A5Fc .Box-module_collapsedContent__yn-0g.Box-module_collapseBox__5A5Fc{height:0;margin:0;overflow:hidden;padding:0}.Box-module_collapseTitle__-R0ge{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:500;height:40px;justify-content:space-between;padding:5px 10px}.Box-module_collapseTitle__-R0ge:hover{background-color:var(--ps-ui-border)}.Box-module_collapseIcon__OAiTO{display:flex;transition:transform .1s}.Box-module_collapseIcon__OAiTO.Box-module_collapsed__nf76f{display:flex;transform:rotate(90deg)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU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mb250LXdlaWdodDogNTAwO1xuICBmb250LXNpemU6IDE4cHg7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcGFkZGluZzogNXB4IDEwcHg7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgaGVpZ2h0OiA0MHB4O1xufVxuLmNvbGxhcHNlVGl0bGU6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1ib3JkZXIpO1xufVxuXG4uY29sbGFwc2VJY29uIHtcbiAgZGlzcGxheTogZmxleDtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuMXM7XG59XG4uY29sbGFwc2VJY29uLmNvbGxhcHNlZCB7XG4gIHRyYW5zZm9ybTogcm90YXRlKDkwZGVnKTtcbiAgZGlzcGxheTogZmxleDtcbn0iXX0= */"),Q.bind(Pn);const Kn=["dotnetspy","ebpfspy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],$n=n.z.preprocess(e=>e&&Kn.includes(e)?e:"unknown",n.z.enum(Kn).default("unknown")),qn=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],eo=n.z.preprocess(e=>"string"==typeof e&&qn.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),to=n.z.object({names:n.z.array(n.z.preprocess(e=>e||"unknown",n.z.string().min(1))),levels:n.z.array(n.z.array(n.z.number())),numTicks:n.z.number(),maxSelf:n.z.number()}),ao=n.z.object({appName:n.z.string().optional(),name:n.z.string().optional(),startTime:n.z.number().optional(),endTime:n.z.number().optional(),query:n.z.string().optional(),maxNodes:n.z.number().optional(),format:n.z.enum(["single","double"]),sampleRate:n.z.number(),spyName:$n,units:eo});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:to,metadata:ao,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const no={format:"single",jStep:4,jName:3,getBarOffset:(e,t)=>e[t],getBarTotal:(e,t)=>e[t+1],getBarTotalDiff:(e,t)=>0,getBarSelf:(e,t)=>e[t+2],getBarSelfDiff:(e,t)=>0,getBarName:(e,t)=>e[t+3]},oo={format:"double",jStep:7,jName:6,getBarOffset:(e,t)=>e[t]+e[t+3],getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarTotalDiff:(e,t)=>e[t+4]-e[t+1],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarSelfDiff:(e,t)=>e[t+5]-e[t+2],getBarName:(e,t)=>e[t+6]};function io(e){switch(e){case"single":return no;case"double":return oo;default:throw new Error(`Unsupported type: '${e}'`)}}const ro=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),lo=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),so=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(ro),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(lo),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(lo)}),processID:n.z.string(),warnings:n.z.any()}),co=n.z.object({serviceName:n.z.string(),tags:n.z.array(lo)});n.z.object({traceID:n.z.string(),spans:n.z.array(so),processes:n.z.record(co),warnings:n.z.any()});const uo=n.z.object({watermark:n.z.object({}).optional(),startTime:n.z.number(),samples:n.z.array(n.z.number()),durationDelta:n.z.number()});n.z.record(n.z.string(),uo);const bo=22,mo=21.5;function ho(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function go(e){if(null==e)return null;if("number"==typeof e)return{value:e,unit:"",hasLessThan:!1,sign:""};let t=String(e).trim().replace(/\u2212/g,"-");if(!t)return null;let a=!1;t.startsWith("<")&&(a=!0,t=t.slice(1).trim());const n=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!n)return null;const o=n[1]||"",i=n[2],r=(n[3]||"").trim(),l=parseFloat(i);return Number.isFinite(l)?{value:l,unit:r,hasLessThan:a,sign:o}:null}function fo(e,t=!1){if(!e||!t)return e;const a=go(e);if(!a)return e;const{unit:n}=a;let o=n;const i=n.toLowerCase();"ms"===i?o="毫秒":"μs"===i||"µs"===i||"us"===i?o="微秒":"second"===i||"seconds"===i?o="秒":"minute"===i||"minutes"===i||"min"===i||"mins"===i?o="分钟":"hour"===i||"hours"===i?o="小时":"day"===i||"days"===i?o="天":"month"===i||"months"===i?o="月":"year"!==i&&"years"!==i||(o="年");const r=String(e).match(/^([<\s]*)([+\-]?\d*\.?\d+)(.*)$/);if(!r)return e;return`${r[1]||""}${r[2]||""} ${o}`.trim()}const po=[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}];function xo(e){return Math.round(1e4*e)/100}function Go(e,t){return(t-e)/e*100}function Qo(e,t,a){switch(a){case"samples":return new Io(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new yo(e);case"bytes":return new vo(e);case"lock_nanoseconds":return new Bo(e);case"trace_samples":return new Io(e/t,"",!0);default:return console.warn(`Unsupported unit: '${a}'. Defaulting to ''`),new Io(e/t," ")}}class Io{constructor(e,t,a){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",a&&(this.enableSubsecondPrecision=a,this.durations=[[1e3,"ms"],[1e3,"second"],...this.durations],this.suffix="μs",e*=1e6),this.units=t||"";for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e,t,a=!0){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;let o=n.toFixed(2);return 0===n?o="0.00":(n>=0&&n<.01||n<=0&&n>-.01)&&(o="< 0.01"),a?`${o} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`:o}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const a=e/t/this.divider;return`${parseFloat(a.toFixed(5))} ${this.units||`${this.suffix}${1===a||2===this.suffix.length?"":"s"}`}`}}class Bo{constructor(e){this.divider=1,this.multiplier=1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],e/=1e9;for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/1e9/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class yo{constructor(e){this.divider=1,this.suffix="",this.objects=[[1e3,"K"],[1e3,"M"],[1e3,"G"],[1e3,"T"],[1e3,"P"]];for(let t=0;t<this.objects.length;t++){const a=this.objects[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class vo{constructor(e){this.divider=1,this.suffix="bytes",this.bytes=[[1024,"KB"],[1024,"MB"],[1024,"GB"],[1024,"TB"],[1024,"PB"]];for(let t=0;t<this.bytes.length;t++){const a=this.bytes[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;{this.divider*=a[0],e/=a[0];const t=a[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Fo="TAIL",Zo="HEAD";function Lo({mode:e,charSize:t,rectWidth:a,fullText:n,shortText:o}){if(e===Fo){if(t*n.length<=a)return{mode:e,text:n,marginLeft:3};const i=t*o.length;return i<=a?{mode:e,text:o,marginLeft:3}:{mode:e,text:o,marginLeft:-(i-a+3)}}return{mode:e,text:n,marginLeft:3}}function Wo(e){return e===Fo?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}}function No(e,t){if(e===t)return 0;if(0===e)return 100;const a=(t-e)/e*100;return a>100?100:a<-100?-100:a}function Xo(e,t){return o.rgb(e,e,e).alpha(t)}function wo(e,t){if(0===t.length)return t;const a=function(e){switch(e){case"dotnetspy":return/^(?<packageName>.+)\.(.+)\.(.+)\(.*\)$/;case"ebpfspy":case"unknown":return/^(?<packageName>.+)$/;case"gospy":case"scrape":return/^(?<packageName>.*?\/.*?\.|.*?\.|.+)(?<functionName>.*)$/;case"phpspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.php+)(?<line_info>.*)$/;case"pyspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.py+)(?<line_info>.*)$/;case"rbspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.rb+)(?<line_info>.*)$/;case"nodespy":return/^(\.\/node_modules\/)?(?<packageName>[^/]*)(?<filename>.*\.?(jsx?|tsx?)?):(?<functionName>.*):(?<line_info>.*)$/;case"tracing":return/^(?<packageName>.+?):.*$/;case"javaspy":return/^(?<packageName>.+\/)(?<filename>.+\.)(?<functionName>.+)$/;case"pyroscope-rs":return/^(?<packageName>[^::]+)/}return/^(?<packageName>.+)$/}(e),n=t.match(a);return n&&n.groups?n.groups.packageName||"":t}function Co(e,t){const a=function(e,t=0){let a,n,o,i,r,l,s,c;for(a=3&e.length,n=e.length-a,o=t,r=3432918353,l=461845907,c=0;c<n;)s=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,o^=s,o=o<<13|o>>>19,i=5*(65535&o)+((5*(o>>>16)&65535)<<16)&4294967295,o=27492+(65535&i)+(((i>>>16)+58964&65535)<<16);switch(s=0,a){case 3:s^=(255&e.charCodeAt(c+2))<<16;case 2:s^=(255&e.charCodeAt(c+1))<<8;case 1:s^=255&e.charCodeAt(c);default:s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,o^=s}return o^=e.length,o^=o>>>16,o=2246822507*(65535&o)+((2246822507*(o>>>16)&65535)<<16)&4294967295,o^=o>>>13,o=3266489909*(65535&o)+((3266489909*(o>>>16)&65535)<<16)&4294967295,o^=o>>>16,o>>>0}(t,0),n=a%e.colors.length,o=e.colors[n];return o||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function Ro(e){const{goodColor:t,neutralColor:a,badColor:n}=e,r=i.scaleLinear().domain([-100,0,100]).range([t.rgb().toString(),a.rgb().toString(),n.rgb().toString()]);return e=>o(r(e).toString())}o.rgb(148,142,142),o.rgb(200,0,0),o.rgb(0,170,0),o("#48CE73");const Uo=new WeakMap,ko=new WeakMap,Do=new WeakMap,Yo=new WeakMap;const _o={collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",isZh:!1};function Vo(e){var t,a,n,o,i,r,l,s;const c=performance.now(),d=!1!==e.renderRects,u=!1!==e.renderText,b=null!==(t=e.renderMode)&&void 0!==t?t:"normal",m=e.timeBudgetMs,{canvas:h,fitMode:g,units:f,tickToX:p,levels:x,palette:G}=e,{numTicks:Q,sampleRate:I,pxPerTick:B}=e,{rangeMin:y,rangeMax:v}=e,{focusedNode:F,zoom:Z}=e,L=e.messages||_o,W=e.skipCanvasResize?h.width:function(e){if("clientWidth"in e&&"number"==typeof e.clientWidth)return e.clientWidth;return e.width}(h);if(e.skipCanvasResize||(h.width=W),y>=v)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:N}=e,X=io(N),w=h.getContext("2d");if(!w)throw new Error("Could not get ctx");const C=Z.mapOrElse(()=>0,e=>e.i),R=Qo(Q,I,f),U=F.isJust,k=F.mapOrElse(()=>0,e=>e.i),D=U?mo:0,Y=!!e.highlightQuery&&e.highlightQuery.length>0,_=bo*(x.length-k)+(U?mo:0);e.skipCanvasResize||(h.height=_);const V="number"==typeof e.devicePixelRatio?e.devicePixelRatio:"undefined"!=typeof devicePixelRatio?devicePixelRatio:1;!e.skipDprScale&&V>1&&(h.width*=V,h.height*=V,w.scale(V,V)),w.textBaseline="middle",w.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const S=w.measureText("a").width,{names:j}=e,J=function(e){const t=Uo.get(e);if(t)return t;const a=new Map;return Uo.set(e,a),a}(h),M=Y?function(e,t){const a=ko.get(e);if(a){const e=a.get(t);if(e)return e}const n=t.toLowerCase(),o=new Uint8Array(e.length);for(let t=1;t<e.length;t+=1){const a=e[t];a&&a.toLowerCase().includes(n)&&(o[t]=1)}const i=null!=a?a:new Map;return i.set(t,o),ko.set(e,i),o}(j,e.highlightQuery):null,A="single"===e.format?function(e,t,a){const n=`${t}|${a.name}`,o=Do.get(e);if(o){const e=o.get(n);if(e)return e}const i=new Array(e.length);for(let n=0;n<e.length;n+=1){const o=wo(t,e[n]||"")||"";i[n]=Co(a,o)}const r=null!=o?o:new Map;return r.set(n,i),Do.set(e,r),i}(j,e.spyName,G):null,E="double"===e.format?Ro({name:G.name,goodColor:G.goodColor,neutralColor:G.neutralColor,badColor:G.badColor}):null,O=(e,t)=>{const a=e[t+X.jName];return!(!a||a<0||!M)&&1===M[a]},z=null!==(a=e.startI)&&void 0!==a?a:0,T=null!==(n=e.startJ)&&void 0!==n?n:0;if(U&&"highlightOnly"!==b&&0===(null!==(o=e.levelStart)&&void 0!==o?o:0)&&0===z&&0===T){const e=Q*B;d&&(w.beginPath(),w.rect(0,0,Q*B,mo),w.fillStyle=Xo(200,1).rgb().string(),w.fill());const t=F.mapOrElse(()=>"total",e=>function(e,t){return 1===e?t.collapsedLevelsSingular:t.collapsedLevelsPlural.replace("{n}",String(e))}(e.i-1,L)),a=Lo({mode:g,charSize:S,rectWidth:e,fullText:t,shortText:t}),n=0,o=0,i=mo;if(u){w.beginPath(),w.rect(0,0,e,mo),w.save(),w.clip(),w.fillStyle="black";const t=Math.round(Math.max(n,0));w.fillText(a.text,t+a.marginLeft,o+i/2+1),w.restore()}}const H=Math.max(0,null!==(i=e.levelStart)&&void 0!==i?i:0),P=x.length-k,K=Math.min(P,null!==(r=e.levelEnd)&&void 0!==r?r:P),$=Math.max(H,null!==(l=e.startI)&&void 0!==l?l:H),q=Math.max(0,null!==(s=e.startJ)&&void 0!==s?s:0),{spyName:ee}=e,te=(t,a,n,o,i)=>{const r={level:t,j:a,i:n+F.mapOrElse(()=>0,e=>e.i),names:j,collapsed:o,selectedLevel:C,highlightModeOn:Y,isHighlighted:i,spyName:ee,palette:G,colorByNameIndex:A,diffColorFn:E};switch(N){case"single":return function(e){const t=Jo(e);if(t)return t;const a=io("single"),n=e.selectedLevel>e.i?.33:1;let o=e.level[e.j+a.jName];void 0===o&&(console.warn("Could nto find level",{l:e.j,jName:a.jName,level:e.level}),o=-1);if(e.colorByNameIndex&&o>=0&&e.colorByNameIndex[o])return e.colorByNameIndex[o].alpha(n);const i=e.names[o]||"",r=wo(e.spyName,i)||"";return Co(e.palette,r).alpha(n)}({...r});case"double":return function(e){const t=Jo(e);if(t)return t;const a=e.selectedLevel>e.i?.33:1,{leftRatio:n,rightRatio:o}=function(e,t,a,n){const o=oo;return a&&n?{leftRatio:o.getBarTotalLeft(e,t)/a,rightRatio:o.getBarTotalRght(e,t)/n}:(console.error("Properties 'rightTicks' and 'leftTicks' are required. Can't calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),i=xo(n),r=xo(o);if(e.diffColorFn)return e.diffColorFn(No(i,r)).alpha(a);return function(e,t,a){const n=No(t,a);return Ro(e)(n)}(e.palette,i,r).alpha(a)}({...r,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${N}`)}};if("highlightOnly"===b&&Y&&d){const e=function(e,t){const a=Yo.get(e);if(a)return a;const n=io(t),o=new Map;for(let t=0;t<e.length;t+=1){const a=e[t];for(let e=0;e<a.length;e+=n.jStep){const i=n.getBarName(a,e);if(void 0===i||i<0)continue;const r=o.get(i);r?r.push({i:t,j:e}):o.set(i,[{i:t,j:e}])}}return Yo.set(e,o),o}(x,N),t=[];for(let e=1;e<j.length;e+=1)M&&1===M[e]&&t.push(e);for(let a=0;a<t.length;a+=1){const n=t[a],o=e.get(n);if(o)for(let e=0;e<o.length;e+=1){const t=o[e],a=t.i-k;if(t.i<k||a<H||a>=K)continue;const n=x[t.i],i=p(X.getBarOffset(n,t.j)),r=a*bo+D,l=mo,s=X.getBarTotal(n,t.j),c=s*B<=5,d=s*B-(c?0:.5);if(d<=0)continue;w.beginPath(),w.rect(i,r,d,l);const u=te(n,t.j,a,c,!0);w.fillStyle=u.string(),w.fill()}}return{done:!0,nextI:K,nextJ:0}}for(let e=$;e<K;e+=1){const t=x[k+e];if(!t)throw new Error(`Could not find level: ${k+e}`);let a=e===$?q:0;for(;a<t.length;a+=X.jStep){const n=X.getBarOffset(t,a),o=p(n),i=e*bo+D,r=mo,l=Y&&O(t,a);let s=X.getBarTotal(t,a);const h=s*B<=5;if(h)for(;a<t.length-X.jStep&&n+s===X.getBarOffset(t,a+X.jStep)&&X.getBarTotal(t,a+X.jStep)*B<=5&&l===(Y&&O(t,a+X.jStep));)a+=X.jStep,s+=X.getBarTotal(t,a);const f=s*B-(h?0:.5);if(w.beginPath(),w.rect(o,i,f,r),d){if("forceGrey"===b)w.fillStyle=Xo(200,.66).rgb().string();else{const n=te(t,a,e,h,l);w.fillStyle=n.string()}w.fill()}if(!u||h||"forceGrey"===b){if(m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:a+X.jStep};continue}if(f<20)continue;const x=So(j,a,N,t),G=Lo({mode:g,charSize:S,rectWidth:f,fullText:jo(x,s,I,R,L,J),shortText:x});w.save(),w.clip(),w.fillStyle="black";const Q=Math.round(Math.max(o,0));if(w.fillText(G.text,Q+G.marginLeft,i+r/2+1),w.restore(),m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:a+X.jStep}}if(m&&performance.now()-c>m)return{done:!1,nextI:e+1,nextJ:0}}return{done:!0,nextI:K,nextJ:0}}function So(e,t,a,n){let o=n[t+io(a).jName];void 0===o&&(o=-1);const i=e[o];return i||(console.warn("Could not find function name for",{j:t,format:a,level:n,names:e}),"")}function jo(e,t,a,n,o,i){let r=null==i?void 0:i.get(t);if(!r){const e=n.format(t,a);r=fo(e,!!o.isZh)||e,null==i||i.set(t,r)}return`${e} (${r})`}function Jo({collapsed:e,highlightModeOn:t,isHighlighted:a}){return e||t&&!a?Xo(200,.66):null}class Mo{constructor(e,t,a,n,o,i,r,l){if(this.flamebearer=e,this.canvas=t,this.focusedNode=a,this.fitMode=n,this.highlightQuery=o,this.zoom=i,this.palette=r,this.messages=l,this.cachedRange=null,this.cachedPxPerTick=null,this.tickToX=e=>{var t;const a=this.cachedRange?this.cachedRange.rangeMin:this.getRange().rangeMin,n=null!==(t=this.cachedPxPerTick)&&void 0!==t?t:this.pxPerTick();return(e-this.flamebearer.numTicks*a)*n},this.xyToBarPosition=e=>{const{ff:t}=this,{i:a,j:n}=this.xyToBarIndex(e.x,e.y),o=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),i=this.flamebearer.levels[a];if(!i)throw new Error(`Could not find level: '${a}'`);const r=Math.max(this.tickToX(t.getBarOffset(i,n)),0);return{x:r,y:Math.max((a-o)*bo,0),width:Math.min(this.tickToX(t.getBarOffset(i,n)+t.getBarTotal(i,n))-r,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:a}=this.xyToBarIndex(e.x,e.y),n=this.flamebearer.levels[t];if(!n)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=no;return{format:"single",name:this.flamebearer.names[e.getBarName(n,a)],self:e.getBarSelf(n,a),offset:e.getBarOffset(n,a),total:e.getBarTotal(n,a)}}case"double":{const e=oo;return{format:"double",barTotal:e.getBarTotal(n,a),totalLeft:e.getBarTotalLeft(n,a),totalRight:e.getBarTotalRght(n,a),totalDiff:e.getBarTotalDiff(n,a),name:this.flamebearer.names[e.getBarName(n,a)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:a,j:n}=this.xyToBarIndex(e,t);if(-1===n||-1===a)return!1}catch(e){return!1}return!0},this.zoom=i,this.focusedNode=a,this.flamebearer=e,this.canvas=t,this.highlightQuery=o,this.ff=io(e.format),this.palette=r,this.messages=l,a.isJust&&i.isJust&&i.value.i<a.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(e){var t;const{rangeMin:a,rangeMax:n,pxPerTick:o}=this.updateCachedMetrics(),i=null!==(t=null==e?void 0:e.highlightQueryOverride)&&void 0!==t?t:this.highlightQuery,r={canvas:this.canvas,format:this.flamebearer.format,numTicks:this.flamebearer.numTicks,sampleRate:this.flamebearer.sampleRate,names:this.flamebearer.names,levels:this.flamebearer.levels,spyName:this.flamebearer.spyName,units:this.flamebearer.units,maxSelf:this.flamebearer.maxSelf,rangeMin:a,rangeMax:n,fitMode:this.fitMode,highlightQuery:i,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:o,tickToX:e=>(e-this.flamebearer.numTicks*a)*o,palette:this.palette,messages:this.messages,renderRects:null==e?void 0:e.renderRects,renderText:null==e?void 0:e.renderText,renderMode:null==e?void 0:e.renderMode,levelStart:null==e?void 0:e.levelStart,levelEnd:null==e?void 0:e.levelEnd,startI:null==e?void 0:e.startI,startJ:null==e?void 0:e.startJ,timeBudgetMs:null==e?void 0:e.timeBudgetMs,skipCanvasResize:null==e?void 0:e.skipCanvasResize,skipDprScale:null==e?void 0:e.skipDprScale,devicePixelRatio:null==e?void 0:e.devicePixelRatio},{format:l}=this.flamebearer;switch(l){case"single":return Vo({...r,format:"single"});case"double":return Vo({...r,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});default:throw new Error(`Invalid format: '${l}'`)}}pxPerTick(){if(null!==this.cachedPxPerTick)return this.cachedPxPerTick;const{rangeMin:e,rangeMax:t}=this.getRange(),a=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=a,a}updateCachedMetrics(){const{rangeMin:e,rangeMax:t}=this.getRange(),a=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=a,{rangeMin:e,rangeMax:t,pxPerTick:a}}getRange(){const{ff:e}=this,t=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},a=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},{zoom:n,focusedNode:o}=this;return n.match({Just:e=>o.match({Just:n=>{const o=a(n),i=t(e);return o.rangeMax-o.rangeMin<i.rangeMax-i.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),a(n)):t(e)},Nothing:()=>t(e)}),Nothing:()=>o.match({Just:e=>a(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return"clientWidth"in this.canvas&&"number"==typeof this.canvas.clientWidth?this.canvas.clientWidth:this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:a}=this;let n=0,o=t.length-a.jStep;for(;n<=o;){const i=a.jStep*(n/a.jStep+o/a.jStep>>1),r=this.tickToX(a.getBarOffset(t,i)),l=this.tickToX(a.getBarOffset(t,i)+a.getBarTotal(t,i));if(r<=e&&l>=e)return l-r>5?i:-1;r>e?o=i-a.jStep:n=i+a.jStep}return-1}xyToBarIndex(e,t){if(e<0||t<0)throw new Error(`x and y must be bigger than 0. x = ${e}, y = ${t}`);if(this.isFocused()&&t<=mo)return{i:0,j:0};const a=this.isFocused()?t-mo:t,n=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),o=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0})}),i=Math.floor(a/bo)+o;if(i>=0&&i<this.flamebearer.levels.length){const t=this.flamebearer.levels[i];if(!t)throw new Error(`Could not find level: '${i}'`);return{i:i,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?a.Maybe.of(n):a.Maybe.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(a=>{const{i:n,j:o}=this.xyToBarIndex(e,t);return{i:n,j:o,...this.xyToBarPosition(a),...this.xyToBarData(a)}})}}function Ao(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=Ao(e[t]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function Eo(){for(var e,t,a=0,n="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=Ao(e))&&(n&&(n+=" "),n+=t);return n}var Oo="NoData-module_noData__WuuID";function zo(){return e.jsx("div",{"data-testid":"no-data",className:Oo,children:e.jsx("span",{children:"No data available"})})}h(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var To,Ho,Po={},Ko={};function $o(){return To||(To=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",a=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n="f01e",o="M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Ko)),Ko}function qo(){return Ho||(Ho=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=$o();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faRedo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Po)),Po}var ei,ti=qo(),ai={};function ni(){return ei||(ei=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",a=[],n="f0c5",o="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";e.definition={prefix:"fas",iconName:t,icon:[448,512,a,n,o]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(ai)),ai}var oi,ii=ni(),ri={};function li(){return oi||(oi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",a=[],n="f591",o="M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(ri)),ri}var si,ci,di=li(),ui={},bi={};function mi(){return si||(si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",a=["compress-alt"],n="f422",o="M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(bi)),bi}function hi(){return ci||(ci=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=mi();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCompressAlt=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(ui)),ui}var gi=hi();const fi=e=>!!e&&"o"===e[0],pi=s.unstable_batchedUpdates,xi=(e,t)=>!0===e||!(!e||!e[t]),Gi=(e,t)=>"function"==typeof e?e(t):e,Qi="_szhsinMenu",Ii=(e,t)=>Object.defineProperty(t,Qi,{value:e}),Bi=(e,t)=>(t&&Object.keys(t).forEach(a=>{const n=e[a],o=t[a];e[a]="function"==typeof o&&n?(...e)=>{o(...e),n(...e)}:o}),e),yi=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:a,overflowY:n}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+n+a))return e}};function vi(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function Fi(e,t){for(let a=0;a<e.length;a++)if(e[a]===t)return a;return-1}const Zi=({block:e,element:a,modifiers:n,className:o})=>t.useMemo(()=>{const t=a?`${e}__${a}`:e;let i=t;n&&Object.keys(n).forEach(e=>{const a=n[e];a&&(i+=` ${t}--${!0===a?e:`${e}-${a}`}`)});let r="function"==typeof o?o(n):o;return"string"==typeof r&&(r=r.trim(),r&&(i+=` ${r}`)),i},[e,a,n,o]),Li="szh-menu",Wi=t.createContext(),Ni=t.createContext({}),Xi=t.createContext({}),wi=t.createContext({}),Ci=t.createContext({}),Ri=t.createContext({}),Ui=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),ki=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Di=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),Yi=Object.freeze({FIRST:"first",LAST:"last"}),_i=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),Vi="absolute",Si="none",ji={preventScroll:!0},Ji=Ii("MenuButton",t.forwardRef(function({className:a,isOpen:n,disabled:o,children:i,...r},l){const s=t.useMemo(()=>({open:n}),[n]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":n,"aria-disabled":o||void 0,type:"button",disabled:o,...r,ref:l,className:Zi({block:"szh-menu-button",modifiers:s,className:a}),children:i})})),Mi=({className:a,containerRef:n,containerProps:o,children:i,isOpen:r,theming:l,transition:s,onClose:c})=>{const d=xi(s,"item");return e.jsx("div",{...Bi({onKeyDown:({key:e})=>{if(e===Ui.ESC)Gi(c,{key:e,reason:Di.CANCEL})},onBlur:e=>{r&&!e.currentTarget.contains(e.relatedTarget)&&Gi(c,{reason:Di.BLUR})}},o),className:Zi({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:l,itemTransition:d}),[l,d]),className:a}),style:{position:"absolute",...o?.style},ref:n,children:i})},Ai=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(a,n,o)=>{t?e||(e=setTimeout(()=>{e=0,n()},a)):o?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},Ei=(e,t)=>Math.round(e)===t?e:t,Oi=(e,t,a,n)=>{const o=(e=>{const t=e.getBoundingClientRect();return t.width=Ei(t.width,e.offsetWidth),t.height=Ei(t.height,e.offsetHeight),t})(t),i=e.getBoundingClientRect(),r=a===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:a.getBoundingClientRect(),l=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),a=isNaN(t[0])?0:t[0],n=isNaN(t[1])?a:t[1];return{top:a,right:n,bottom:isNaN(t[2])?a:t[2],left:isNaN(t[3])?n:t[3]}})(n),s=e=>e+i.left-r.left-l.left,c=e=>e+i.left+o.width-r.right+l.right,d=e=>e+i.top-r.top-l.top,u=e=>e+i.top+o.height-r.bottom+l.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:d,getBottomOverflow:u,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{const a=c(e);a>0&&(t=s(e-=a),t<0&&(e-=t))}return e},confineVertically:e=>{let t=d(e);if(t<0)e-=t;else{const a=u(e);a>0&&(t=d(e-=a),t<0&&(e-=t))}return e}}},zi=({anchorRect:e,containerRect:t,menuRect:a,placeLeftorRightY:n,placeLeftX:o,placeRightX:i,getLeftOverflow:r,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:b,position:m})=>{let h,g,f,p=b,x=n;"initial"!==m&&(x=c(x),"anchor"===m&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-a.height))),"left"===p?(h=o,"initial"!==m&&(g=r(h),g<0&&(f=l(i),(f<=0||-g>f)&&(h=i,p="right")))):(h=i,"initial"!==m&&(f=l(h),f>0&&(g=r(o),(g>=0||-g<f)&&(h=o,p="left")))),"auto"===m&&(h=s(h));const G=u?(({arrowRef:e,menuY:t,anchorRect:a,containerRect:n,menuRect:o})=>{let i=a.top-n.top-t+a.height/2;const r=1.25*e.current.offsetHeight;return i=Math.max(r,i),i=Math.min(i,o.height-r),i})({menuY:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowY:G,x:h,y:x,computedDirection:p}},Ti=({anchorRect:e,containerRect:t,menuRect:a,placeToporBottomX:n,placeTopY:o,placeBottomY:i,getTopOverflow:r,getBottomOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:b,position:m})=>{let h,g,f,p="top"===b?"top":"bottom",x=n;"initial"!==m&&(x=s(x),"anchor"===m&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-a.width))),"top"===p?(h=o,"initial"!==m&&(g=r(h),g<0&&(f=l(i),(f<=0||-g>f)&&(h=i,p="bottom")))):(h=i,"initial"!==m&&(f=l(h),f>0&&(g=r(o),(g>=0||-g<f)&&(h=o,p="top")))),"auto"===m&&(h=c(h));const G=u?(({arrowRef:e,menuX:t,anchorRect:a,containerRect:n,menuRect:o})=>{let i=a.left-n.left-t+a.width/2;const r=1.25*e.current.offsetWidth;return i=Math.max(r,i),i=Math.min(i,o.width-r),i})({menuX:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowX:G,x:x,y:h,computedDirection:p}},Hi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function Pi(e,t){"function"==typeof e?e(t):e.current=t}const Ki=(e,a)=>t.useMemo(()=>e?a?t=>{Pi(e,t),Pi(a,t)}:e:a,[e,a]),$i=({ariaLabel:a,menuClassName:n,menuStyle:o,arrow:i,arrowProps:r={},anchorPoint:l,anchorRef:c,containerRef:d,containerProps:u,externalRef:b,parentScrollingRef:m,align:h="start",direction:g="bottom",position:f="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:G,captureFocus:Q=!0,state:I,endTransition:B,isDisabled:y,menuItemFocus:v,gap:F=0,shift:Z=0,children:L,onClose:W,focusProps:N,...X})=>{const[w,C]=t.useState({x:-9999,y:-9999}),[R,U]=t.useState({}),[k,D]=t.useState(),[Y,_]=t.useState(g),[V]=t.useState(Ai),[S,j]=t.useReducer(e=>e+1,1),{transition:J,boundingBoxRef:M,boundingBoxPadding:A,rootMenuRef:E,rootAnchorRef:O,scrollNodesRef:z,reposition:T,viewScroll:H,submenuCloseDelay:P}=t.useContext(Ri),{submenuCtx:K,reposSubmenu:$=G}=t.useContext(Xi),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ae,dispatch:ne,updateItems:oe}=(e=>{const[a,n]=t.useState(),o=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,i=t.useCallback((t,a)=>{const{items:i}=o;if(t)if(a)i.push(t);else{const a=i.indexOf(t);a>-1&&(i.splice(a,1),t.contains(document.activeElement)&&(e.current.focus(ji),n()))}else o.items=[];o.hoverIndex=-1,o.sorted=!1},[o,e]),r=t.useCallback((t,a,i)=>{const{items:r,hoverIndex:l}=o,s=()=>{if(o.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");r.sort((e,a)=>Fi(t,e)-Fi(t,a)),o.sorted=!0};let c,d=-1;switch(t){case ki.RESET:break;case ki.SET:c=a;break;case ki.UNSET:c=e=>e===a?void 0:e;break;case ki.FIRST:s(),d=0,c=r[d];break;case ki.LAST:s(),d=r.length-1,c=r[d];break;case ki.SET_INDEX:s(),d=i,c=r[d];break;case ki.INCREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d++,d>=r.length&&(d=0),c=r[d];break;case ki.DECREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d--,d<0&&(d=r.length-1),c=r[d];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(d=-1),n(c),o.hoverIndex=d},[e,o]);return{hoverItem:a,dispatch:r,updateItems:i}})(q),ie=fi(I),re=xi(J,"open"),le=xi(J,"close"),se=z.current,ce=t.useCallback(e=>{const t=q.current,a=d.current;if(!t||!a)return;const n=c?c.current?.getBoundingClientRect():l?{left:l.x,right:l.x,top:l.y,bottom:l.y,width:0,height:0}:null;if(!n)return void("production"!==process.env.NODE_ENV&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open."));se.menu||(se.menu=(M?M.current:yi(E.current))||window);const o=Oi(a,t,se.menu,A);let{arrowX:r,arrowY:s,x:u,y:b,computedDirection:m}=(({arrow:e,align:t,direction:a,gap:n,shift:o,position:i,anchorRect:r,arrowRef:l,positionHelpers:s})=>{const{menuRect:c,containerRect:d}=s,u="left"===a||"right"===a;let b=u?n:o,m=u?o:n;if(e){const e=l.current;u?b+=e.offsetWidth:m+=e.offsetHeight}const h=r.left-d.left-c.width-b,g=r.right-d.left+b,f=r.top-d.top-c.height-m,p=r.bottom-d.top+m;let x,G;"end"===t?(x=r.right-d.left-c.width,G=r.bottom-d.top-c.height):"center"===t?(x=r.left-d.left-(c.width-r.width)/2,G=r.top-d.top-(c.height-r.height)/2):(x=r.left-d.left,G=r.top-d.top),x+=b,G+=m;const Q={...s,anchorRect:r,placeLeftX:h,placeRightX:g,placeLeftorRightY:G,placeTopY:f,placeBottomY:p,placeToporBottomX:x,arrowRef:l,arrow:e,direction:a,position:i};switch(a){case"left":case"right":return zi(Q);default:return Ti(Q)}})({arrow:i,align:h,direction:g,gap:F,shift:Z,position:f,anchorRect:n,arrowRef:ee,positionHelpers:o});const{menuRect:x}=o,G=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=o;let a,n;const i=t(b);if(i>0)a=G-i,n=i;else{const t=e(b);t<0&&(a=G+t,n=0-t,a>=0&&(b-=t))}a>=0&&D({height:a,overflowAmt:n})}i&&U({x:r,y:s}),C({x:u,y:b}),_(m)},[i,h,A,g,F,Z,f,p,l,c,d,M,E,se]);Hi(()=>{ie&&(ce(),te.current&&j()),te.current=ie},[ie,ce,$]),Hi(()=>{k&&!x&&(q.current.scrollTop=0)},[k,x]),Hi(()=>oe,[oe]),t.useEffect(()=>{let{menu:e}=se;if(!ie||!e)return;if(e=e.addEventListener?e:window,!se.anchors){se.anchors=[];let t=yi(O&&O.current);for(;t&&t!==e;)se.anchors.push(t),t=yi(t)}let t=H;if(se.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const a=()=>{"auto"===t?pi(()=>ce(!0)):Gi(W,{reason:Di.SCROLL})},n=se.anchors.concat("initial"!==H?e:[]);return n.forEach(e=>e.addEventListener("scroll",a)),()=>n.forEach(e=>e.removeEventListener("scroll",a))},[O,se,ie,W,H,ce]);const de=!!k&&k.overflowAmt>0;t.useEffect(()=>{if(de||!ie||!m)return;const e=()=>pi(ce),t=m.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[ie,de,m,ce]),t.useEffect(()=>{if(!ie||"function"!=typeof ResizeObserver||"initial"===T)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):s.flushSync(()=>{ce(),j()})})),a={box:"border-box"};t.observe(q.current,a);const n=c?.current;return n&&t.observe(n,a),()=>t.disconnect()},[ie,T,c,ce]),t.useEffect(()=>{if(!ie)return ne(ki.RESET),void(le||D());const{position:e,alwaysUpdate:t}=v||{},a=()=>{e===Yi.FIRST?ne(ki.FIRST):e===Yi.LAST?ne(ki.LAST):e>=-1&&ne(ki.SET_INDEX,void 0,e)};if(t)a();else if(Q){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(ji),a())},re?170:100);return()=>clearTimeout(e)}},[ie,re,le,Q,v,ne]);const ue=t.useMemo(()=>({isParentOpen:ie,submenuCtx:V,dispatch:ne,updateItems:oe}),[ie,V,ne,oe]);let be,me;k&&(x?me=k.overflowAmt:be=k.height);const he=t.useMemo(()=>({reposSubmenu:S,submenuCtx:V,overflow:p,overflowAmt:me,parentMenuRef:q,parentDir:Y}),[S,V,p,me,Y]),ge=be>=0?{maxHeight:be,overflow:p}:void 0,fe=t.useMemo(()=>({state:I,align:h,dir:Y}),[I,h,Y]),pe=t.useMemo(()=>({dir:Y}),[Y]),xe=Zi({block:Li,element:"arrow",modifiers:pe,className:r.className}),Ge=e.jsxs("ul",{role:"menu","aria-label":a,...vi(y),...Bi({onPointerEnter:K?.off,onPointerMove:e=>{e.stopPropagation(),V.on(P,()=>{ne(ki.RESET),q.current.focus(ji)})},onPointerLeave:e=>{e.target===e.currentTarget&&V.off()},onKeyDown:e=>{switch(e.key){case Ui.HOME:ne(ki.FIRST);break;case Ui.END:ne(ki.LAST);break;case Ui.UP:ne(ki.DECREASE,ae);break;case Ui.DOWN:ne(ki.INCREASE,ae);break;case Ui.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Li)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===I&&D(),Gi(B)}},X),ref:Ki(b,q),className:Zi({block:Li,modifiers:fe,className:n}),style:{...o,...ge,margin:0,display:"closed"===I?"none":void 0,position:Vi,left:w.x,top:w.y},children:[i&&e.jsx("li",{"aria-hidden":!0,...r,className:xe,style:{display:"block",position:Vi,left:R.x,top:R.y,...r.style},ref:ee}),e.jsx(Xi.Provider,{value:he,children:e.jsx(Ni.Provider,{value:ue,children:e.jsx(Wi.Provider,{value:ae,children:Gi(L,fe)})})})]});return u?e.jsx(Mi,{...u,isOpen:ie,children:Ge}):Ge},qi=t.forwardRef(function({"aria-label":a,className:n,containerProps:o,initialMounted:i,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,reposition:b="auto",submenuOpenDelay:m=300,submenuCloseDelay:h=150,viewScroll:g="initial",portal:f,theming:p,onItemClick:x,...G},Q){const I=t.useRef(null),B=t.useRef({}),{anchorRef:y,state:v,onClose:F}=G,Z=t.useMemo(()=>({initialMounted:i,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,rootMenuRef:I,rootAnchorRef:y,scrollNodesRef:B,reposition:b,viewScroll:g,submenuOpenDelay:m,submenuCloseDelay:h}),[i,r,l,c,y,d,u,b,g,m,h]),L=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||Gi(x,e);let a=e.keepOpen;void 0===a&&(a=t&&e.key===Ui.SPACE),a||Gi(F,{value:e.value,key:e.key,reason:Di.CLICK})},handleClose(e){Gi(F,{key:e,reason:Di.CLICK})}}),[x,F]);if(!v)return null;const W=e.jsx(Ri.Provider,{value:Z,children:e.jsx(wi.Provider,{value:L,children:e.jsx($i,{...G,ariaLabel:a||"Menu",externalRef:Q,containerRef:I,containerProps:{className:n,containerRef:I,containerProps:o,theming:p,transition:l,onClose:F}})})});return!0===f&&"undefined"!=typeof document?s.createPortal(W,document.body):f?f.target?s.createPortal(W,f.target):f.stablePosition?null:W:W}),er=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],tr=e=>({_s:e,status:er[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),ar=e=>e?6:5,nr=(e,t,a,n,o)=>{clearTimeout(n.current);const i=tr(e);t(i),a.current=i,o&&o({current:i})},or=({enter:e=!0,exit:a=!0,preEnter:n,preExit:o,timeout:i,initialEntered:r,mountOnEnter:l,unmountOnExit:s,onStateChange:c}={})=>{const[d,u]=t.useState(()=>tr(r?2:ar(l))),b=t.useRef(d),m=t.useRef(),[h,g]=(e=>"object"==typeof e?[e.enter,e.exit]:[e,e])(i),f=t.useCallback(()=>{const e=((e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return ar(t)}})(b.current._s,s);e&&nr(e,u,b,m,c)},[c,s]);return[d,t.useCallback(t=>{const i=e=>{switch(nr(e,u,b,m,c),e){case 1:h>=0&&(m.current=setTimeout(f,h));break;case 4:g>=0&&(m.current=setTimeout(f,g));break;case 0:case 3:m.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(i,e)}},r=b.current.isEnter;"boolean"!=typeof t&&(t=!r),t?!r&&i(e?n?0:1:2):r&&i(a?o?3:4:ar(s))},[f,c,e,a,n,o,h,g,s]),f]},ir=({initialOpen:e,initialMounted:a,unmountOnClose:n,transition:o,transitionTimeout:i=500,onMenuChange:r}={})=>{const l=xi(o,"open"),s=xi(o,"close"),[{status:c},d,u]=or({initialEntered:e,mountOnEnter:!a,unmountOnExit:n,timeout:i,enter:l,exit:s,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!r||e&&l&&t||!e&&s&&t||r({open:e})},[r,l,s])});return[{state:_i[c],endTransition:u},d]},rr=parseInt(t.version)<19,lr=t.forwardRef(function({"aria-label":a,captureFocus:n,initialOpen:o,menuButton:i,instanceRef:r,onMenuChange:l,...s},c){const[d,u,b]=(e=>{const[a,n]=ir(e),[o,i]=t.useState();return[{menuItemFocus:o,...a},n,(e,t)=>{i({position:e,alwaysUpdate:t}),n(!0)}]})({...s,onMenuChange:l}),{state:m}=d,h=fi(m),g=t.useRef(null),f=((e,a)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof a)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=t.useState({});return{onMouseDown:()=>{n.v=e&&"closed"!==e},onClick:e=>n.v?n.v=!1:a(!0,e)}})(m,(e,t)=>b(t.detail?void 0:Yi.FIRST)),p=t.useCallback(e=>{u(!1),e.key&&g.current.focus()},[u]),x=Gi(i,{open:h});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const G={...Bi({onKeyDown:e=>{switch(e.key){case Ui.UP:b(Yi.LAST);break;case Ui.DOWN:b(Yi.FIRST);break;default:return}e.preventDefault()},...f},x.props),ref:Ki(rr?x.ref:x.props.ref,g)};"MenuButton"===x.type[Qi]&&(G.isOpen=h);const Q=t.cloneElement(x,G);return t.useImperativeHandle(r,()=>({openMenu:b,closeMenu:()=>u(!1)})),e.jsxs(t.Fragment,{children:[Q,e.jsx(qi,{...s,...d,"aria-label":a||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:g,ref:c,onClose:p})]})}),sr=(e,a,n,o)=>{const[i,r,l]=(e=>{const[a,n]=t.useState(!1);return t.useEffect(()=>{!e&&n(!1)},[e]),[a,()=>!a&&n(!0),()=>n(!1)]})(n),{submenuCloseDelay:s}=t.useContext(Ri),{isParentOpen:c,submenuCtx:d,dispatch:u,updateItems:b}=t.useContext(Ni),m=()=>{!n&&!o&&u(ki.SET,e.current)},h=()=>{!o&&u(ki.UNSET,e.current)};return((e,t,a)=>{Hi(()=>{if("production"!==process.env.NODE_ENV&&!a)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const n=t.current;return a(n,!0),()=>{a(n)}},[e,t,a])})(o,e,b),t.useEffect(()=>{n&&c&&a.current&&a.current.focus()},[a,n,c]),{mouseOver:i,setHover:m,onBlur:e=>{n&&!e.currentTarget.contains(e.relatedTarget)&&h()},onPointerMove:e=>{o||(e.stopPropagation(),r(),d.on(s,m,m))},onPointerLeave:(e,t)=>{l(),d.off(),!t&&h()}}},cr=((a,n)=>{const o=t.memo(n),i=t.forwardRef((a,n)=>{const i=t.useRef(null);return e.jsx(o,{...a,itemRef:i,externalRef:n,isHovering:t.useContext(Wi)===i.current})});return i.displayName=`WithHovering(${a})`,i})("MenuItem",function({className:a,value:n,href:o,type:i,checked:r,disabled:l,children:s,onClick:c,isHovering:d,itemRef:u,externalRef:b,...m}){const h=!!l,{mouseOver:g,setHover:f,...p}=sr(u,u,d,h),x=t.useContext(wi),G=t.useContext(Ci),Q="radio"===i,I="checkbox"===i,B=!(!o||h||Q||I),y=Q?G.value===n:!!I&&!!r,v=e=>{if(h)return e.stopPropagation(),void e.preventDefault();const t={value:n,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),I&&(t.checked=!y),Q&&(t.name=G.name),Gi(c,t),Q&&Gi(G.onRadioChange,t),x.handleClick(t,I||Q)},F=t.useMemo(()=>({type:i,disabled:h,hover:g||d,checked:y,anchor:B}),[i,h,g,d,y,B]),Z=Bi({...p,onPointerDown:f,onKeyDown:e=>{if(d)switch(e.key){case Ui.ENTER:e.preventDefault();case Ui.SPACE:B?u.current.click():v(e)}},onClick:v},m),L={role:Q?"menuitemradio":I?"menuitemcheckbox":"menuitem","aria-checked":Q||I?y:void 0,...vi(h,d),...Z,ref:Ki(b,u),className:Zi({block:Li,element:"item",modifiers:F,className:a}),children:t.useMemo(()=>Gi(s,F),[s,F])};return B?e.jsx("li",{role:Si,children:e.jsx("a",{href:o,...L})}):e.jsx("li",{...L})}),dr=t.memo(t.forwardRef(function({className:t,...a},n){return e.jsx("li",{role:Si,...a,ref:n,className:Zi({block:Li,element:"header",className:t})})}));var ur="canvas-module_canvas__Iiaz4",br="canvas-module_textCanvas__eFxM4";h(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}.canvas-module_textCanvas__eFxM4{left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YsQ0FFQSxpQ0FFRSxNQUFPLENBR1AsbUJBQW9CLENBSnBCLGlCQUFrQixDQUVsQixLQUFNLENBQ04sVUFBVyxDQUVYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuXG4udGV4dENhbnZhcyB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMDtcbiAgdG9wOiAwO1xuICB3aWR0aDogMTAwJTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var mr="Highlight-module_highlight__1VV-X";function hr(a){const{canvasRef:n,barHeight:o,xyToHighlightData:i,zoom:r}=a,[l,s]=t.useState({height:"0px",visibility:"hidden"}),c=t.useRef(null),d=t.useRef(null),u=t.useRef(null);t.useEffect(()=>{s({height:"0px",visibility:"hidden"})},[r]);const b=e=>{const t=c.current;if(!t)return void s(e);const a=u.current;a&&a.left===e.left&&a.top===e.top&&a.width===e.width&&a.visibility===e.visibility||(u.current=e,t.style.visibility=String(e.visibility||""),void 0!==e.left&&(t.style.left=String(e.left)),void 0!==e.top&&(t.style.top=String(e.top)),void 0!==e.width&&(t.style.width=String(e.width)),void 0!==e.height&&(t.style.height=String(e.height)))},m=e=>{d.current&&cancelAnimationFrame(d.current);const t=e.offsetX,a=e.offsetY;d.current=requestAnimationFrame(()=>{const e=i(t,a);if(e.isJust){const t=e.value;b({visibility:"visible",height:`${o}px`,...t})}else h()})},h=()=>{b({...u.current||{},visibility:"hidden"})};return t.useEffect(()=>{const e=n.current;return e?(e.addEventListener("mousemove",m),e.addEventListener("mouseout",h),()=>{e.removeEventListener("mousemove",m),e.removeEventListener("mouseout",h),d.current&&cancelAnimationFrame(d.current)}):()=>{}},[n.current,m,h]),e.jsx("div",{ref:c,className:mr,style:l,"data-testid":"flamegraph-highlight"})}h(".Highlight-module_highlight__1VV-X{background:#ffffff40;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhpZ2hsaWdodC5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUdFLG9CQUFxQixDQUNyQixzQkFBdUIsQ0FGdkIsbUJBQW9CLENBRHBCLGlCQUFrQixDQUlsQixTQUNGIiwiZmlsZSI6IkhpZ2hsaWdodC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmhpZ2hsaWdodCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIGJhY2tncm91bmQ6ICNmZmZmZmY0MDtcbiAgbWl4LWJsZW5kLW1vZGU6IG92ZXJsYXk7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var gr="ContextMenuHighlight-module_highlightContextMenu__WI1nK";h(".ContextMenuHighlight-module_highlightContextMenu__WI1nK{background:#ffffff8c;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51SGlnaGxpZ2h0Lm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBSUUsb0JBQXFCLENBQ3JCLHNCQUF1QixDQUh2QixtQkFBb0IsQ0FEcEIsaUJBQWtCLENBS2xCLFNBQ0YiLCJmaWxlIjoiQ29udGV4dE1lbnVIaWdobGlnaHQubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oaWdobGlnaHRDb250ZXh0TWVudSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIC8qIG1ha2UgaXQgYSBiaXQgbGlnaHRlciBzbyB0aGF0IGl0J3MgZWFzaWVyIHRvIGRpc3Rpbmd1aXNoIHdoZW4gYm90aCBoaWdobGlnaHRzIGFyZSBvbiAqL1xuICBiYWNrZ3JvdW5kOiAjZmZmZmZmOGM7XG4gIG1peC1ibGVuZC1tb2RlOiBvdmVybGF5O1xuICB6LWluZGV4OiAyO1xufVxuIl19 */");const fr={height:"0px",visibility:"hidden"};function pr(a){const{node:n,barHeight:o}=a,[i,r]=t.useState(fr);return t.useEffect(()=>{n.match({Nothing:()=>r(fr),Just:e=>r({visibility:"visible",height:`${o}px`,...e})})},[n]),e.jsx("div",{className:gr,style:i,"data-testid":"flamegraph-highlight-contextmenu"})}const xr={name:"Default",goodColor:o.rgb(0,170,0),neutralColor:o.rgb(148,142,142),badColor:o.rgb(200,0,0),colors:[o.hsl(24,69,60),o.hsl(34,65,65),o.hsl(194,52,61),o.hsl(163,45,55),o.hsl(211,48,60),o.hsl(246,40,65),o.hsl(305,63,79),o.hsl(47,100,73),o.rgb(183,219,171),o.rgb(244,213,152),o.rgb(78,146,249),o.rgb(249,186,143),o.rgb(242,145,145),o.rgb(130,181,216),o.rgb(229,168,226),o.rgb(174,162,224),o.rgb(154,196,138),o.rgb(242,201,109),o.rgb(101,197,219),o.rgb(249,147,78),o.rgb(234,100,96),o.rgb(81,149,206),o.rgb(214,131,206),o.rgb(128,110,183)]},Gr={...xr,name:"Color Blind",goodColor:o.rgb(26,133,255),neutralColor:o.rgb(148,142,142),badColor:o.rgb(220,50,32)};function Qr(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M5,19.56c0,5.22,3.54,9.44,7.92,9.44h3.17c4.37,0,7.92-4.23,7.92-9.44v-7.56H5v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M14,1h-.82c-4.52,0-8.18,3.73-8.18,8.33v1.67H14V1Z"}),e.jsx("path",{d:"M15.82,1h-.82V11h9v-1.67c0-4.6-3.66-8.33-8.18-8.33Z"})]})}function Ir(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M24,19.56c0,5.22-3.54,9.44-7.92,9.44h-3.17c-4.37,0-7.92-4.23-7.92-9.44v-7.56H24v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M15,1h.82c4.52,0,8.18,3.73,8.18,8.33v1.67H15V1Z"}),e.jsx("path",{d:"M13.18,1h.82V11H5v-1.67c0-4.6,3.66-8.33,8.18-8.33Z"})]})}var Br={tooltip:"Tooltip-module_tooltip__NMZ65",flamegraphDiffTooltip:"Tooltip-module_flamegraphDiffTooltip__Z983o",tooltipName:"Tooltip-module_tooltipName__y4Qs3",functionName:"Tooltip-module_functionName__z9LHO",tooltipTable:"Tooltip-module_tooltipTable__ct3pq",clickInfo:"Tooltip-module_clickInfo__Utux5"};h(".Tooltip-module_tooltip__NMZ65{background:var(--ps-tooltip-bg);border-radius:4px;box-shadow:1px 2px 4px 0 rgba(0,0,0,.3);color:var(--ps-tooltip-text);font-size:12px;pointer-events:none;position:fixed;visibility:hidden;width:420px;z-index:5}.Tooltip-module_tooltip__NMZ65.Tooltip-module_flamegraphDiffTooltip__Z983o{width:450px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipName__y4Qs3{background-color:var(--ps-tooltip-header-bg);border-top-left-radius:4px;border-top-right-radius:4px;color:var(--ps-tooltip-text);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-weight:700;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_functionName__z9LHO{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;padding:8px 10px 0;white-space:break-spaces;word-break:break-all}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq{display:table;margin:10px;width:calc(100% - 20px)}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq td,.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq th{background-color:var(--ps-tooltip-bg);border:1px solid var(--ps-tooltip-header-bg);font-weight:400;padding:5px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5{color:var(--ps-right-click-info);display:flex;justify-content:center;margin-bottom:10px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 svg{align-self:center;color:initial;display:block;height:22px;margin-right:5px;width:22px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 span{font-size:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURsQix1Q0FBOEMsQ0FFOUMsNEJBQTZCLENBQzdCLGNBQWUsQ0FHZixtQkFBb0IsQ0FScEIsY0FBZSxDQU1mLGlCQUFrQixDQVBsQixXQUFZLENBUVosU0FFRixDQUNBLDJFQUNFLFdBQ0YsQ0FDQSxrRUFFRSw0Q0FBNkMsQ0FFN0MsMEJBQTJCLENBRDNC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ItYmcpO1xuICBwYWRkaW5nOiA1cHg7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG59XG4udG9vbHRpcCAuY2xpY2tJbmZvIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGNvbG9yOiB2YXIoLS1wcy1yaWdodC1jbGljay1pbmZvKTtcbn1cbi50b29sdGlwIC5jbGlja0luZm8gc3ZnIHtcbiAgY29sb3I6IGluaXRpYWw7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBhbGlnbi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const yr={location:"Location",self:"Self",total:"Total",baseline:"Baseline",comparison:"Comparison",diff:"Diff",noItemsFound:"No items found",diffNew:"new",diffRemoved:"removed",tooltipSamples:"Samples:",tooltipUnitTitles:{objects:{percent:"% of objects in RAM",formattedValue:"Objects in RAM",total:"% of total RAM"},goroutines:{percent:"% of goroutines",formattedValue:"Goroutines",total:"% of total goroutines"},bytes:{percent:"% of RAM",formattedValue:"RAM",total:"% of total bytes"},samples:{percent:"Share of CPU",formattedValue:"CPU Time",total:"% of total CPU"},lock_nanoseconds:{percent:"% of Time spent",formattedValue:"Time",total:"% of total seconds"},lock_samples:{percent:"% of contended locks",formattedValue:"Contended locks",total:"% of total locks"},trace_samples:{percent:"% of time",formattedValue:"Samples",total:"% of total samples"},exceptions:{percent:"% of thrown exceptions",formattedValue:"Thrown exceptions",total:"% of total thrown exceptions"},unknown:{percent:"Percentage",formattedValue:"Units",total:"% of total units"}},resetView:"Reset View",collapseNodesAbove:"Collapse nodes above",copyFunctionName:"Copy function name",highlightSimilarNodes:"Highlight similar nodes",clearHighlight:"Clear highlight",openInSandwichView:"Open in sandwich view",showTextTailFirst:"Show text tail first",showTextHeadFirst:"Show text head first",headFirst:"Head first",tailFirst:"Tail first",clickToHighlightNode:"Click to highlight node in flamegraph",rightClickForMoreNodeOptions:"Right click for more node viewing options",viewTable:"Table",viewTableAndFlamegraph:"Table and Flamegraph",viewFlamegraph:"Flamegraph",viewSandwich:"Sandwich",viewGraphviz:"GraphViz",more:"More",diffLegendRemovedLabel:"(-) Removed",diffLegendAddedLabel:"Added (+)",diffLegendSelectPalette:"Select a palette",paletteDefaultName:"Default",paletteColorBlindName:"Color Blind",paletteDefaultDesc:"(green to red)",paletteColorBlindDesc:"(blue to red)",searchPlaceholder:"Search...",syncSearchBars:"Sync Search Bars",unsyncSearchBars:"Unsync Search Bars",focusOnThisFunction:"Focus on this function",tableDoubleClickToFocus:"Double-click to focus in flamegraph",tableRightClickForOptions:"Right-click for more options",collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",ofTotal:"of total",clearFocus:"Clear focus",sampleCountFormat:[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}]},vr={...yr,location:"位置",self:"自身",total:"总计",baseline:"基线",comparison:"对比",diff:"差异",noItemsFound:"没有找到任何条目",diffNew:"新增",diffRemoved:"移除",tooltipSamples:"样本数:",tooltipUnitTitles:{objects:{percent:"RAM 中对象占比",formattedValue:"RAM 中对象数",total:"占总 RAM 的百分比"},goroutines:{percent:"协程占比",formattedValue:"协程数量",total:"占协程总数的百分比"},bytes:{percent:"RAM 占比",formattedValue:"RAM",total:"占总字节数的百分比"},samples:{percent:"CPU 占比",formattedValue:"CPU 时间",total:"占总 CPU 的百分比"},lock_nanoseconds:{percent:"耗时占比",formattedValue:"时间",total:"占总秒数的百分比"},lock_samples:{percent:"锁竞争事件占比",formattedValue:"锁竞争事件数",total:"占锁竞争总数的百分比"},trace_samples:{percent:"时间占比",formattedValue:"样本数",total:"占样本总数的百分比"},exceptions:{percent:"异常抛出占比",formattedValue:"异常数",total:"占异常总数的百分比"},unknown:{percent:"百分比",formattedValue:"单位",total:"占单位总量的百分比"}},resetView:"重置视图",collapseNodesAbove:"收起上方节点",copyFunctionName:"复制函数名",highlightSimilarNodes:"高亮相似节点",clearHighlight:"清除高亮",openInSandwichView:"在 sandwich 视图中查看",showTextTailFirst:"显示文本尾部优先",showTextHeadFirst:"显示文本头部优先",headFirst:"从头部开始显示",tailFirst:"从尾部开始显示",clickToHighlightNode:"点击火焰图节点高亮",rightClickForMoreNodeOptions:"右键查看更多节点选项",viewTable:"表格",viewTableAndFlamegraph:"表格 + 火焰图",viewFlamegraph:"火焰图",viewSandwich:"三明治视图",viewGraphviz:"调用图 (GraphViz)",more:"更多",diffLegendRemovedLabel:"(-) 减少",diffLegendAddedLabel:"增加 (+)",diffLegendSelectPalette:"选择颜色方案",paletteDefaultName:"默认",paletteColorBlindName:"色盲",paletteDefaultDesc:"(绿色 → 红色)",paletteColorBlindDesc:"(蓝色 → 红色)",searchPlaceholder:"搜索...",syncSearchBars:"同步搜索栏",unsyncSearchBars:"取消同步搜索栏",focusOnThisFunction:"聚焦到此函数",tableDoubleClickToFocus:"双击可聚焦到火焰图",tableRightClickForOptions:"右键查看更多选项",collapsedLevelsSingular:"总计(已折叠 1 层)",collapsedLevelsPlural:"总计(已折叠 {n} 层)",ofTotal:"占总量",clearFocus:"清除聚焦",sampleCountFormat:[{value:1e12,label:"兆"},{value:1e8,label:"亿"},{value:1e4,label:"万"},{value:1e3,label:"千"}]},Fr=t.createContext(yr),Zr=Fr,Lr=({messages:a,children:n})=>{const o=t.useMemo(()=>{var e;return{...yr,...a,tooltipUnitTitles:{...yr.tooltipUnitTitles,...null!==(e=null==a?void 0:a.tooltipUnitTitles)&&void 0!==e?e:{}}}},[a]);return e.jsx(Fr.Provider,{value:o,children:n})},Wr=()=>t.useContext(Fr);function Nr(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const a=Number(t);return Number.isFinite(a)?a:null}function Xr(e,t){if(!e||!t)return;const a=e.trim().replace(/\u2212/g,"-");return a&&"0"!==a?a.startsWith("+")?t.badColor.rgb().string():a.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function wr(e,t,a){return a<t?t:Math.max(t,Math.min(a,e))}function Cr(e,t,a,n){const o=window.innerWidth,i=window.innerHeight,r=Math.max(0,a||0),l=Math.max(0,n||0);let s=e+12,c=t+20;return s+r+8>o&&(s=e-r-12),c+l+8>i&&(c=t-l-20),s=wr(s,8,o-r-8),c=wr(c,8,i-l-8),{left:s,top:c}}function Rr({shouldShowFooter:a=!0,shouldShowTitle:n=!0,dataSourceRef:o,clickInfoSide:i,setTooltipContent:r,palette:l}){const s=t.useRef(null),c=t.useRef(null),d=t.useRef(null),u=t.useRef(null),[b,m]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[h,g]=t.useState(),f=()=>{g({visibility:"hidden"}),m({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},p=t.useCallback(e=>{d.current&&cancelAnimationFrame(d.current);const t=e.clientX,a=e.clientY;d.current=requestAnimationFrame(()=>{if(!s.current)throw new Error("Missing tooltipElement");c.current={x:t,y:a},r(m,f,e);const n=s.current.clientWidth||0,o=s.current.clientHeight||0,{left:i,top:l}=Cr(t,a,n,o);g({top:l,left:i,visibility:"visible"})})},[r]);return t.useEffect(()=>{const e=o.current;if(!e)return()=>{};const t=()=>{f()},a=t=>{e.contains(t.target)||f()};return e.addEventListener("mousemove",p),e.addEventListener("mouseout",f),e.addEventListener("mouseleave",t),window.addEventListener("mousemove",a,{passive:!0}),window.addEventListener("blur",t),()=>{e.removeEventListener("mousemove",p),e.removeEventListener("mouseout",f),e.removeEventListener("mouseleave",t),window.removeEventListener("mousemove",a),window.removeEventListener("blur",t),d.current&&cancelAnimationFrame(d.current)}},[o.current,p]),t.useLayoutEffect(()=>{if(!s.current)return;if(!c.current)return;if(0===b.tooltipData.length)return;const{x:e,y:t}=c.current,a=s.current.getBoundingClientRect(),n=a.width,o=a.height,i=u.current;if(i&&Math.abs(i.w-n)<1&&Math.abs(i.h-o)<1)return;u.current={w:n,h:o};const{left:r,top:l}=Cr(e,t,n,o);g(e=>e&&e.left===r&&e.top===l&&"visible"===e.visibility?e:{...e||{},left:r,top:l,visibility:"visible"})},[b.tooltipData.length,b.title.text]),e.jsx("div",{"data-testid":"tooltip",className:Eo(Br.tooltip,{[Br.flamegraphDiffTooltip]:b.tooltipData.length>1}),style:{...h,textAlign:"center"},ref:s,children:b.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[n&&e.jsx("div",{className:Br.tooltipName,"data-testid":"tooltip-title",children:b.title.text}),e.jsx("div",{className:Br.functionName,"data-testid":"tooltip-function-name",children:b.title.text}),b.title.diff.text.length>0?e.jsx(Ur,{data:b.tooltipData,diff:b.title.diff,palette:l}):e.jsx(Ur,{data:b.tooltipData,palette:l}),a&&e.jsx(kr,{clickInfoSide:i})]})})}function Ur({data:t,diff:a,palette:n}){const o=Wr(),[i,r]=t,l="Location"!==o.location;if(!i)return null;let s;switch(i.tooltipType){case"flamegraph":s=()=>{const t=r&&function(e,t){const a=go(e),n=go(t);if(!a||!n)return"";const o=n.value-a.value;if(0===o)return"0";const i=o>0?"+":"-",r=Math.abs(o);let l;l=r>=100?r.toFixed(0):r>=10?r.toFixed(1):r.toFixed(2);const s=a.unit||n.unit;return s?`${i}${l} ${s}`:`${i}${l}`}(i.formattedValue,r.formattedValue),s=fo(t,l),c=r&&function(e,t){const a=Nr(e),n=Nr(t);if(null==a||null==n)return"";const o=n-a;return 0===o?"0":`${o>0?"+":"-"}${Math.abs(o).toLocaleString()}`}(i.samples,r.samples),d=fo(i.formattedValue,l),u=fo(null==r?void 0:r.formattedValue,l),b=null==a?void 0:a.color,m=Xr(t,n),h=Xr(c,n);return e.jsxs(e.Fragment,{children:[r&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:o.baseline}),e.jsx("th",{children:o.comparison}),e.jsx("th",{children:o.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].percent,":"]}),e.jsx("td",{children:i.percent}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.percent}),e.jsx("td",{style:{textAlign:"center"},children:a&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:b},children:a.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:d}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:u}),e.jsx("td",{style:{textAlign:"center"},children:s&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:m?{color:m}:void 0,children:s})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:o.tooltipSamples}),e.jsx("td",{children:i.samples}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.samples}),e.jsx("td",{style:{textAlign:"center"},children:c&&e.jsx("span",{"data-testid":"tooltip-samples-diff",style:h?{color:h}:void 0,children:c})})]})]})]})]})};break;case"table":s=()=>e.jsxs(e.Fragment,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{}),e.jsxs("td",{children:[o.self," (",o.tooltipUnitTitles[i.units].total,")"]}),e.jsxs("td",{children:[o.total," (",o.tooltipUnitTitles[i.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:i.self}),e.jsx("td",{children:i.total})]})})]});break;default:s=()=>null}return e.jsx("table",{"data-testid":"tooltip-table",className:Eo(Br.tooltipTable,{[Br[`${i.tooltipType}${r?"Diff":""}`]]:i.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:s()})}function kr({clickInfoSide:t}){const a=Wr();let n;switch(t){case"right":n=e.jsxs(e.Fragment,{children:[e.jsx(Qr,{}),e.jsx("span",{children:a.rightClickForMoreNodeOptions})]});break;case"left":n=e.jsxs(e.Fragment,{children:[e.jsx(Ir,{}),e.jsx("span",{children:a.clickToHighlightNode})]});break;default:n=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:Br.clickInfo,children:n})}function Dr(a){const{format:n,canvasRef:o,xyToData:i,numTicks:r,sampleRate:l,units:s,leftTicks:c,rightTicks:d,palette:u}=a,b=Wr(),m=t.useCallback((e,t,a)=>{const o=Qo(r,l,s),m=i(a.offsetX,a.offsetY);let h;var g;if(m.isJust)switch(h=m.value,h.format){case"single":{const t={percent:(g=h.total/r,`${xo(g)}%`),samples:"trace_samples"===s?"":ho(h.total),units:s,formattedValue:o.format(h.total,l),tooltipType:"flamegraph"};e({title:{text:h.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===n)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=Yr({formatter:o,sampleRate:l,totalLeft:h.totalLeft,leftTicks:c,totalRight:h.totalRight,rightTicks:d,title:h.name,units:s},u,b);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${h.format}'`)}else t()},[r,l,s,c,d,u,i,n,b]);return e.jsx(Rr,{dataSourceRef:o,clickInfoSide:"right",setTooltipContent:m,palette:u})}function Yr({formatter:e,sampleRate:t,totalLeft:a,leftTicks:n,totalRight:o,rightTicks:i,title:r,units:l},s=xr,c){var d,u;const b=i>0?o/i:0,m=xo(n>0?a/n:0),h=xo(b),g={percent:`${m}%`,samples:ho(a),units:l,formattedValue:e.format(a,t),tooltipType:"flamegraph"},f={percent:`${h}%`,samples:ho(o),units:l,formattedValue:e.format(o,t),tooltipType:"flamegraph"};let p=Go(m,h);Number.isFinite(p)||(p=0);let x="";p>0?x=s.badColor.rgb().string():p<0&&(x=s.goodColor.rgb().string());let G="";return 0===a&&o>0?G=null!==(d=null==c?void 0:c.diffNew)&&void 0!==d?d:"新增":0===o&&a>0?G=null!==(u=null==c?void 0:c.diffRemoved)&&void 0!==u?u:"移除":0===p?G="0%":p>0?G=`+${p.toFixed(2)}%`:p<0&&(G=`${p.toFixed(2)}%`),{title:{text:r,diff:{text:G,color:x}},tooltipData:[g,f]}}h('@charset "UTF-8";.szh-menu{background-color:#fff;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;list-style:none;margin:0;padding:0;width:max-content;z-index:100}.szh-menu:focus{outline:none}.szh-menu__arrow{background-color:#fff;border-color:rgba(0,0,0,.1) transparent transparent rgba(0,0,0,.1);border-style:solid;border-width:1px;box-sizing:border-box;height:.75rem;width:.75rem;z-index:-1}.szh-menu__arrow--dir-left{right:-.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:-.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:-.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:-.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{background-color:inherit;cursor:default}.szh-menu__item--disabled{color:#aaa;cursor:default}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{list-style:none;margin:0;padding:0}.szh-menu__divider{background-color:rgba(0,0,0,.12);height:1px;margin:.5rem 0}.szh-menu-button{box-sizing:border-box}.szh-menu{border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);color:#212529;min-width:10rem;padding:.5rem 0;user-select:none}.szh-menu__item{align-items:center;display:flex;padding:.375rem 1.5rem;position:relative}.szh-menu-container--itemTransition .szh-menu__item{transition-duration:.15s;transition-property:background-color,color;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio:before{content:"○";font-size:.8rem;left:.8rem;position:absolute;top:.55rem}.szh-menu__item--type-radio.szh-menu__item--checked:before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox:before{left:.8rem;position:absolute}.szh-menu__item--type-checkbox.szh-menu__item--checked:before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item:after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrR0EsZ0JBTUEsQ0F2R0EsVUFRRSxxQkFBc0IsQ0FEdEIsK0JBQW9DLENBSHBDLHFCQUFzQixDQUR0QixlQUFnQixDQUZoQixRQUFTLENBQ1QsU0FBVSxDQUdWLGlCQUFrQixDQUNsQixXQUdGLENBQ0EsZ0JBQ0UsWUFDRixDQUNBLGlCQUlFLHFCQUFzQixDQUd0QixrRUFBb0MsQ0FBcEMsa0JBQW9DLENBQXBDLGdCQUFvQyxDQU5wQyxxQkFBc0IsQ0FFdEIsYUFBZSxDQURmLFlBQWMsQ0FNZCxVQUNGLENBQ0EsMkJBQ0UsY0FBZ0IsQ0FDaEIseUNBQ0YsQ0FDQSw0QkFDRSxhQUFlLENBQ2YseUNBQ0YsQ0FDQSwwQkFDRSxlQUFpQixDQUNqQiwwQ0FDRixDQUNBLDZCQUNFLFlBQWMsQ0FDZCx3Q0FDRixDQUNBLGdCQUNFLGNBQ0YsQ0FDQSxzQkFDRSxZQUNGLENBQ0EsdUJBQ0Usd0JBQ0YsQ0FDQSwyQkFFRSx3QkFBeUIsQ0FEekIsY0FFRixDQUNBLDBCQUVFLFVBQVcsQ0FEWCxjQUVGLENBQ0EsaUJBQ0UscUJBQ0YsQ0FDQSx1QkFHRSxlQUFnQixDQUZoQixRQUFTLENBQ1QsU0FFRixDQUNBLG1CQUdFLGdDQUFx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mlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var _r="ContextMenu-module_dummy__5n2-N";function Vr(a){const[n,o]=ir({transition:!0}),[i,r]=t.useState({x:0,y:0}),{canvasRef:l}=a,[s,c]=t.useState([]),{xyToMenuItems:d,onClose:u,onOpen:b}=a;return t.useEffect(()=>{o(!1);const e=l.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=d(e.offsetX,e.offsetY);c(t);const a=e.clientX,n=e.clientY+20;r({x:a,y:n}),o(!0),b(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[d]),e.jsx(qi,{...n,className:_r,anchorPoint:i,onClose:()=>{o(!1),u()},children:s})}h(".ContextMenu-module_dummy__5n2-N{display:block}.ContextMenu-module_dummy__5n2-N svg{margin-right:10px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQUNFLGFBQ0YsQ0FDQSxxQ0FDRSxpQkFDRiIsImZpbGUiOiJDb250ZXh0TWVudS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5kdW1teSB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmR1bW15IHN2ZyB7XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn0iXX0= */");var Sr="LogoLink-module_logoLink__oWRri";function jr(){return e.jsxs("a",{className:Sr,href:"https://github.com/pyroscope-io/pyroscope/",target:"_blank",rel:"noreferrer",children:[e.jsxs("svg",{width:"22px",height:"22px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{cx:"49.4236252%",cy:"92.6627823%",fx:"49.4236252%",fy:"92.6627823%",r:"195.066755%",gradientTransform:"translate(0.494236,0.926628),scale(1.000000,0.735610),rotate(-90.000000),translate(-0.494236,-0.926628)",id:"radialGradient-1",children:[e.jsx("stop",{stopColor:"#FFB90C",offset:"0%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"38.390924%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"50.5405%"}),e.jsx("stop",{stopColor:"#B51424",offset:"73.98091%"}),e.jsx("stop",{stopColor:"#B51424",offset:"100%"})]})}),e.jsx("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e.jsx("g",{id:"fire-part",transform:"translate(148.516736, 0.000000)",fillRule:"nonzero",children:e.jsxs("g",{id:"whole-thing",transform:"translate(363.983264, 495.000000) scale(-1, 1) rotate(-180.000000) translate(-363.983264, -495.000000) translate(0.483264, 0.000000)",children:[e.jsx("g",{id:"g70",transform:"translate(-0.000091, 0.685815)",fill:"url(#radialGradient-1)",children:e.jsx("path",{d:"M65.3646667,571.739321 L65.4492471,571.698868 C19.5139147,505.999969 -5.32464048,424.477859 1.04305801,336.877516 L1.04305801,336.877516 C14.0321963,158.179446 159.192462,13.7596653 338.059844,1.5917266 L338.059844,1.5917266 C419.418369,-3.93888015 495.500283,17.3823334 558.456522,57.4611191 L558.456522,57.4611191 L481.301947,162.097965 C437.516468,136.521928 399.367671,129.590556 363.486536,130.155994 L363.486536,130.155994 C234.497143,130.155994 129.556988,235.032238 129.556988,363.946998 L129.556988,363.946998 C129.556988,492.865683 234.497143,597.738003 363.486536,597.738003 L363.486536,597.738003 C492.483783,597.738003 597.427864,492.865683 597.427864,363.946998 L597.427864,363.946998 C597.41276,304.634864 581.39383,255.677522 530.630465,199.668053 L607.770843,95.1329436 C680.936847,161.576603 726.932594,257.364176 726.932594,363.946998 L726.932594,363.946998 C726.932594,458.031616 691.13483,543.75602 632.416071,608.271816 L632.416071,608.271816 L632.416071,608.275741 L533.597728,748.122808 L428.601388,617.203806 L434.703262,646.563419 C459.453008,765.59222 433.664131,889.543925 363.49439,988.853335 L363.49439,988.853335 L65.3646667,571.723019 L65.3646667,571.739321 Z",id:"path84"})}),e.jsx("g",{id:"blue",transform:"translate(191.447039, 191.331780)",children:e.jsxs("g",{id:"g88",transform:"translate(-0.000063, 0.685930)",children:[e.jsx("g",{id:"g94",transform:"translate(0.177296, 0.699054)",fill:"#3EC1D3",children:e.jsx("path",{d:"M171.862466,343.697728 C77.0961324,343.697728 -0.00497405932,266.647602 -0.00497405932,171.934957 C-0.00497405932,77.2182874 77.0961324,0.168162396 171.862466,0.168162396 C266.632828,0.168162396 343.741988,77.2182874 343.741988,171.934957 C343.741988,266.647602 266.632828,343.697728 171.862466,343.697728",id:"path96"})}),e.jsx("g",{id:"g98",transform:"translate(29.362379, 172.629585)",fill:"#FFFFFF",children:e.jsx("path",{d:"M22.8397982,0 L0.671669409,0 C0.671669409,78.2496309 64.380874,141.920035 142.678189,141.920035 L142.678189,119.765407 C76.6007327,119.765407 22.8397982,66.0372141 22.8397982,0",id:"path100"})})]})})]})})})]}),e.jsx("span",{children:"Pyroscope"})]})}h(".LogoLink-module_logoLink__oWRri{bottom:0;color:var(--ps-neutral-2);font-weight:500;opacity:.5;position:absolute;right:0;text-decoration:none;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxvZ29MaW5rLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU9FLFFBQVMsQ0FIVCx5QkFBMEIsQ0FGMUIsZUFBZ0IsQ0FDaEIsVUFBWSxDQUVaLGlCQUFrQixDQUNsQixPQUFRLENBTFIsb0JBQXFCLENBT3JCLFNBQ0YiLCJmaWxlIjoiTG9nb0xpbmsubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubG9nb0xpbmsge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgY29sb3I6IHZhcigtLXBzLW5ldXRyYWwtMik7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMDtcbn0iXX0= */");const Jr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"})}),Mr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),Ar=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"})}),Er=({fill:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:t,children:[e.jsx("g",{id:"shape_squiggle",children:e.jsx("path",{d:"M60,38.42c-4.62,0-6.97-2.64-8.86-4.75-1.81-2.03-2.86-3.08-5.13-3.08s-3.32,1.06-5.13,3.08c-1.89,2.12-4.24,4.75-8.86,4.75s-6.97-2.64-8.87-4.75c-1.81-2.03-2.86-3.08-5.14-3.08s-3.33,1.06-5.14,3.08c-1.89,2.12-4.25,4.75-8.87,4.75-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5c2.28,0,3.33-1.06,5.14-3.09,1.89-2.12,4.25-4.75,8.87-4.75s6.97,2.64,8.87,4.75c1.81,2.03,2.86,3.09,5.14,3.09s3.32-1.06,5.13-3.08c1.89-2.12,4.24-4.75,8.86-4.75s6.97,2.64,8.86,4.75c1.81,2.03,2.86,3.08,5.13,3.08,1.38,0,2.5,1.12,2.5,2.5s-1.12,2.5-2.5,2.5Z"})}),e.jsxs("g",{id:"Layer_4",children:[e.jsx("rect",{x:"2",y:"8",width:"60",height:"14",rx:"3.94",ry:"3.94"}),e.jsx("path",{d:"M58.06,41h-18.64c-1.58,0-3.14,.42-4.5,1.22l-6.88,4.02c-1.87,1.09-4.19,1.09-6.06,0l-6.88-4.02c-1.37-.8-2.92-1.22-4.5-1.22H5.94c-2.18,0-3.94,1.76-3.94,3.94v7.12c0,2.18,1.76,3.94,3.94,3.94H58.06c2.18,0,3.94-1.76,3.94-3.94v-7.12c0-2.18-1.76-3.94-3.94-3.94Z"})]})]}),Or=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"ab_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M16.71,41l-.42-2.45h-.16c-1.63,1.95-4.06,2.95-6.91,2.95-4.8,0-7.86-3.45-7.86-7.45,0-6.4,6.01-9.3,14.13-9.3v-.4c0-1.5-.84-3.2-4.38-3.2-2.48,0-4.9,.75-6.54,1.7l-1.42-4.75c1.69-.9,5.01-2.1,9.44-2.1,8.33,0,10.65,4.95,10.65,10.45v8.7c0,2.25,.11,4.4,.37,5.85h-6.91Zm-.95-11.7c-3.64,0-6.91,.9-6.91,4,0,2.1,1.37,3,3,3s3.22-1.05,3.74-2.6c.11-.35,.16-.8,.16-1.2v-3.2Z"}),e.jsx("path",{d:"M29.36,41c.11-1.79,.21-4.62,.21-7.25V6h7.7v13.46h.11c1.42-1.99,3.8-3.28,7.06-3.28,5.85,0,9.7,5.01,9.65,12.16,0,8.69-5.22,13.16-10.81,13.16-2.74,0-5.22-.99-6.91-3.72h-.11l-.37,3.23h-6.54Zm7.91-9.83c0,.55,.05,.99,.16,1.39,.58,1.94,2.16,3.18,4.01,3.18,3.11,0,4.9-2.53,4.9-7,0-3.92-1.58-6.8-4.9-6.8-1.85,0-3.53,1.39-3.95,3.28-.16,.4-.21,.94-.21,1.44v4.52Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"62 54 52 45 52 51 35 51 35 57 52 57 52 63 62 54"})})]}),zr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"yz_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M22.75,13l3.43,12.39c.42,1.47,.84,3.2,1.16,4.52h.11c.32-1.32,.69-3.05,1-4.47l2.9-12.44h8.01l-5.8,17.16c-2.95,8.33-5.17,12.54-8.07,15.23-2.58,2.39-5.43,3.3-7.17,3.55l-1.85-6.3c1.11-.25,2.32-.76,3.48-1.52,1.16-.71,2.32-1.88,2.95-3.05,.26-.41,.42-.76,.42-1.12,0-.31-.05-.66-.26-1.17L14.32,13h8.43Z"}),e.jsx("path",{d:"M41.62,33.46l7.59-10.16c1.27-1.57,2.37-2.95,3.58-4.27v-.15h-10.33v-5.89h19.45l-.05,4.57-7.28,9.8c-1.21,1.57-2.48,3.15-3.69,4.42v.1h11.33v5.94h-20.61v-4.37Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"12 51 12 45 2 54 12 63 12 57 29 57 29 51 12 51"})})]});var Tr="Header-module_flamegraphHeader__nIrXP",Hr="Header-module_row__P7-2L",Pr="Header-module_flamegraphTitle__sjsvB";function Kr(t){const{format:a,units:n,toolbarVisible:o}=t,i={objects:"number of objects in RAM per function",goroutines:"number of goroutines",bytes:"amount of RAM per function",samples:"CPU time per function",lock_nanoseconds:"time spent waiting on locks per function",lock_samples:"number of contended locks per function",trace_samples:"aggregated span duration",exceptions:"number of exceptions thrown",unknown:""},r=o&&"single"===a?e.jsx("div",{className:`${Hr} ${Pr}`,role:"heading","aria-level":2,children:i[n]&&e.jsxs(e.Fragment,{children:["Frame width represents ",i[n]]})}):null;return r?e.jsx("div",{className:Tr,children:e.jsx("div",{children:r})}):null}h(".Header-module_flamegraphHeader__nIrXP{align-items:flex-start;display:flex;justify-content:space-between;padding-bottom:5px}.Header-module_flamegraphHeader__nIrXP>div:first-child{width:100%}.Header-module_row__P7-2L{display:flex;justify-content:center}.Header-module_flamegraphTitle__sjsvB{display:block;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlci5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVDQUtFLHNCQUF1QixDQUh2QixZQUFhLENBQ2IsNkJBQThCLENBRjlCLGtCQUtGLENBRUEsdURBQ0UsVUFDRixDQU9BLDBCQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLHNDQUVFLGFBQWMsQ0FDZCxpQkFBa0IsQ0FGbEIsVUFHRiIsImZpbGUiOiJIZWFkZXIubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGFtZWdyYXBoSGVhZGVyIHtcbiAgcGFkZGluZy1ib3R0b206IDVweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuXG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciA+IGRpdjpmaXJzdC1jaGlsZCB7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciBidXR0b24ge1xuICAvKiBtYXJnaW46IGF1dG87XG4gIGRpc3BsYXk6IGJsb2NrOyAqL1xufVxuXG4ucm93IHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5mbGFtZWdyYXBoVGl0bGUge1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbiJdfQ== */");var $r="FlamegraphBreadcrumb-module_bar__v8uhn",qr="FlamegraphBreadcrumb-module_chip__pdv1k",el="FlamegraphBreadcrumb-module_focusTooltip__nX30y",tl="FlamegraphBreadcrumb-module_separator__Zj-rC",al="FlamegraphBreadcrumb-module_chipSeparator__S-Gld",nl="FlamegraphBreadcrumb-module_unitLabel__bjHEA",ol="FlamegraphBreadcrumb-module_focusIcon__aJBb6",il="FlamegraphBreadcrumb-module_ofTotal__kk4dt",rl="FlamegraphBreadcrumb-module_clearBtn__spimK";function ll(t){const{totalValueText:a,totalSamplesText:n,samplesLabel:o,unitLabel:i,hasFocus:r,focusPercent:l,focusLabel:s,ofTotalPlacement:c="after",ofTotalLabel:d,clearFocusLabel:u,onClearFocus:b}=t,m=s&&s.trim().length>0?s:void 0;return e.jsxs("div",{className:$r,"aria-live":"polite",children:[e.jsxs("span",{className:qr,children:[e.jsx("span",{children:a}),e.jsx("span",{className:tl,children:"|"}),e.jsxs("span",{children:[n," ",o]}),e.jsxs("span",{className:nl,children:["(",i,")"]})]}),r&&void 0!==l&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:al,children:">"}),e.jsxs("span",{className:`${qr} ${el}`,"data-tooltip":m,children:[e.jsx("span",{className:ol,"aria-hidden":"true",children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6Z"}),e.jsx("circle",{cx:"12",cy:"12",r:"3.2"})]})}),"before"===c?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:il,children:d}),e.jsxs("span",{children:[l.toFixed(2),"%"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{children:[l.toFixed(2),"%"]}),e.jsx("span",{className:il,children:d})]}),e.jsx("button",{type:"button",className:rl,"aria-label":u,onClick:e=>{e.preventDefault(),e.stopPropagation(),b()},children:"×"})]})]})]})}h('.FlamegraphBreadcrumb-module_bar__v8uhn{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0;width:100%}.FlamegraphBreadcrumb-module_chip__pdv1k{align-items:center;background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:999px;color:var(--ps-ui-foreground-text);display:inline-flex;font-size:12px;gap:6px;line-height:1.2;padding:4px 10px}.FlamegraphBreadcrumb-module_focusTooltip__nX30y{position:relative}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:before{opacity:1;transform:translate(-50%,-6px)}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after{background:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:6px;color:var(--ps-ui-foreground-text);content:attr(data-tooltip);font-size:12px;padding:6px 8px;white-space:nowrap;z-index:3}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{bottom:100%;left:50%;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%,-2px);transition:opacity .12s ease,transform .12s ease}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{border-color:var(--ps-ui-border) transparent transparent transparent;border-style:solid;border-width:6px 6px 0;content:"";z-index:2}.FlamegraphBreadcrumb-module_separator__Zj-rC{opacity:.6}.FlamegraphBreadcrumb-module_chipSeparator__S-Gld{color:var(--ps-ui-foreground-text);opacity:.6}.FlamegraphBreadcrumb-module_unitLabel__bjHEA{opacity:.8}.FlamegraphBreadcrumb-module_focusIcon__aJBb6{align-items:center;color:currentColor;display:inline-flex;font-size:12px}.FlamegraphBreadcrumb-module_ofTotal__kk4dt{opacity:.8}.FlamegraphBreadcrumb-module_clearBtn__spimK{background:transparent;border:none;color:var(--ps-toolbar-icon-color);cursor:pointer;font-size:14px;line-height:1;margin-left:4px;padding:0}.FlamegraphBreadcrumb-module_clearBtn__spimK:focus-visible{border-radius:4px;outline:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhCcmVhZGNydW1iLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdDQUVFLGtCQUFtQixDQURuQixZQUFhLENBSWIsY0FBZSxDQUNmLE9BQVEsQ0FIUixzQkFBdUIsQ0FJdkIsWUFBYSxDQUhiLFVBSUYsQ0FFQSx5Q0FFRSxrQkFBbUIsQ0FNbkIsZ0RBQWlELENBQ2pELG9DQUFxQyxDQUpyQyxtQkFBb0IsQ0FLcEIsa0NBQW1DLENBVG5DLG1CQUFvQixDQUtwQixjQUFlLENBSGYsT0FBUSxDQUlSLGVBQWdCLENBSGhCLGdCQU9GLENBRUEsaURBQ0UsaUJBQ0YsQ0FFQSx1SkFFRSxTQUFVLENBQ1YsOEJBQ0YsQ0FFQSxxRUFRRSxrQ0FBbUMsQ0FFbkMsb0NBQXFDLENBSHJDLGlCQUFrQixDQUVsQixrQ0FBbUMsQ0FSbkMsMEJBQTJCLENBVTNCLGNBQWUsQ0FMZixlQUFnQixDQU1oQixrQkFBbUIsQ0FJbkIsU0FDRixDQUVBLDJJQWZFLFdBQVksQ0FEW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3I6IHBvaW50ZXI7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgbGluZS1oZWlnaHQ6IDE7XG59XG5cbi5jbGVhckJ0bjpmb2N1cy12aXNpYmxlIHtcbiAgb3V0bGluZTogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */');var sl="styles-module_flamegraphPane__ejguD",cl="styles-module_fitModeItem__0UBwN",dl="styles-module_sandwichItem__WYvnd",ul="styles-module_flamegraphFrame__9ZW-z";function bl(n){const o=t.useRef(null),i=t.useRef(null),s=t.useRef(),c=t.useRef(),d=t.useRef(0),u=t.useRef(null),b=t.useRef(null),h=t.useRef(null),g=t.useRef({rect:!1,text:!1}),f=Wr(),p=t.useRef({lastWidth:0,lastHeight:0}),x="undefined"!=typeof window&&"undefined"!=typeof OffscreenCanvas&&"transferControlToOffscreen"in HTMLCanvasElement.prototype,G=t.useMemo(()=>({collapsedLevelsSingular:f.collapsedLevelsSingular,collapsedLevelsPlural:f.collapsedLevelsPlural,isZh:"Location"!==f.location}),[f.collapsedLevelsSingular,f.collapsedLevelsPlural,f.location]),Q=t.useCallback(e=>({name:e.name,goodColor:e.goodColor.rgb().array(),neutralColor:e.neutralColor.rgb().array(),badColor:e.badColor.rgb().array(),colors:e.colors.map(e=>e.rgb().array())}),[]),[I,B]=t.useState(a.Maybe.nothing()),{flamebearer:y,focusedNode:v,fitMode:F,updateFitMode:Z,highlightQuery:L,zoom:W,toolbarVisible:N,headerVisible:X=!0,disableClick:w=!1,showSingleLevel:C=!1,showCredit:R,setActiveItem:U,selectedItem:k,updateView:D,enableSandwichView:Y=!0,breadcrumb:_}=n,{onZoom:V,onReset:S,isDirty:j,onFocusOnNode:J}=n,{"data-testid":M}=n,{palette:A,setPalette:E}=n,O=t.useCallback(l(()=>{$(),q()},50),[]);t.useEffect(()=>{if(!x)return()=>{};const e=function(){const e=("undefined"==typeof document?require("url").pathToFileURL(__filename).href:m&&"SCRIPT"===m.tagName.toUpperCase()&&m.src||new URL("index.cjs.js",document.baseURI).href).includes("/src/")?new URL("./flamegraphRenderWorker.ts","undefined"==typeof document?require("url").pathToFileURL(__filename).href:m&&"SCRIPT"===m.tagName.toUpperCase()&&m.src||new URL("index.cjs.js",document.baseURI).href):new URL("./flamegraphRenderWorker.js","undefined"==typeof document?require("url").pathToFileURL(__filename).href:m&&"SCRIPT"===m.tagName.toUpperCase()&&m.src||new URL("index.cjs.js",document.baseURI).href);return new Worker(e,{type:"module"})}();return u.current=e,console.debug("[flamegraph] render worker created"),setTimeout(()=>{$(),q()},0),()=>{e.terminate(),u.current=null,b.current=null,h.current=null,g.current={rect:!1,text:!1},console.debug("[flamegraph] render worker terminated")}},[x]),r(o,()=>{if(s){if(o.current){const e=o.current.clientWidth,t=o.current.clientHeight,a=p.current;if(!(Math.abs(e-a.lastWidth)>=2))return;a.lastWidth=e,a.lastHeight=t}O()}});const z=(e,t)=>ae().xyToBar(e,t).map(e=>({left:te().offsetLeft+e.x,top:te().offsetTop+e.y,width:e.width})),T=t.useCallback((t,a)=>{const n=j(),o=ae().xyToBar(t,a),i=o.isJust?o.value.name:"";return[e.jsxs(cr,{disabled:!n,onClick:S,children:[e.jsx(Hn,{icon:ti.faRedo}),f.resetView]},"reset"),(()=>{const t=o.mapOrElse(()=>!1,()=>!0),a=o.mapOrElse(()=>()=>{},e=>J.bind(null,e.i,e.j));return e.jsxs(cr,{disabled:!t,onClick:a,children:[e.jsx(Hn,{icon:gi.faCompressAlt}),f.collapseNodesAbove]},"focus")})(),e.jsxs(cr,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(i)},children:[e.jsx(Hn,{icon:ii.faCopy}),f.copyFunctionName]},"copy"),(()=>{const t=k.isJust&&k.value===i?f.clearHighlight:f.highlightSimilarNodes;return e.jsxs(cr,{onClick:()=>{U({name:i})},children:[e.jsx(Hn,{icon:di.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!D||!Y)return null;return e.jsxs(cr,{className:dl,onClick:()=>{D("sandwich"),U({name:i})},children:[e.jsx(Er,{fill:"black"}),f.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=F===Zo;return e.jsxs(cr,{className:cl,onClick:()=>{Z(t?Fo:Zo)},children:[t?e.jsx(zr,{}):e.jsx(Or,{}),t?f.showTextTailFirst:f.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[s,k,F,j,S,J,U,D,f,Y]),H=()=>{const e=d.current+1;if(d.current=e,console.time(`[flamegraph] constructCanvas #${e}`),o.current){const e=new Mo(y,o.current,v,F,L,W,A,G);s.current=e}if(i.current){const e=new Mo(y,i.current,v,F,L,W,A,G);c.current=e}console.timeEnd(`[flamegraph] constructCanvas #${e}`)},P=t.useCallback(()=>{if(!x||!u.current)return!1;const e=u.current;if(o.current&&!b.current)try{const t=o.current.transferControlToOffscreen();b.current=t,e.postMessage({type:"init",payload:{kind:"rect",canvas:t}},[t]),g.current.rect=!0}catch(e){console.debug("[flamegraph] rect transfer failed",e)}if(i.current&&!h.current)try{const t=i.current.transferControlToOffscreen();h.current=t,e.postMessage({type:"init",payload:{kind:"text",canvas:t}},[t]),g.current.text=!0}catch(e){console.debug("[flamegraph] text transfer failed",e)}return!0},[x]);t.useEffect(()=>{H(),$(),q()},[A,G]),t.useEffect(()=>{H(),$(),q()},[o.current,y,v,F,W]),t.useEffect(()=>{H(),$(),q()},[L]);const K=(e,t)=>{if(!x)return!1;if(!u.current)return console.debug("[flamegraph] worker not ready yet"),!0;if(!P())return!0;const a="rect"===e?o.current:i.current,n=(null==a?void 0:a.clientWidth)||(null==a?void 0:a.width)||0,r={kind:e,flamebearer:y,focusedNode:v.isJust?v.value:null,fitMode:F,highlightQuery:L,zoom:W.isJust?W.value:null,palette:Q(A),messages:G,renderRects:t.renderRects,renderText:t.renderText,width:n,devicePixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1};return u.current.postMessage({type:"render",payload:r}),!0},$=()=>{var e,t,a;const n=d.current;K("rect",{renderText:!1})?console.debug(`[flamegraph] renderRects via worker #${n}`):(console.time(`[flamegraph] renderRects #${n}`),null===(e=null==o?void 0:o.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==s?void 0:s.current)||void 0===t||t.render({renderText:!1}),null===(a=null==o?void 0:o.current)||void 0===a||a.setAttribute("data-state","rendered"),console.timeEnd(`[flamegraph] renderRects #${n}`))},q=()=>{var e,t,a;const n=d.current;K("text",{renderRects:!1})?console.debug(`[flamegraph] renderText via worker #${n}`):(console.time(`[flamegraph] renderText #${n}`),null===(e=null==i?void 0:i.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==c?void 0:c.current)||void 0===t||t.render({renderRects:!1}),null===(a=null==i?void 0:i.current)||void 0===a||a.setAttribute("data-state","rendered"),console.timeEnd(`[flamegraph] renderText #${n}`))},ee=!y||y&&y.names.length<=1,te=()=>{if(!o.current)throw new Error("Missing canvas");return o.current},ae=()=>{if(!s.current)throw new Error("Missing canvas");return s.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:Eo(sl,{"vertical-orientation":"double"===y.format}),children:[e.jsxs("div",{className:ul,children:[_&&e.jsx(ll,{totalValueText:_.totalValueText,totalSamplesText:_.totalSamplesText,samplesLabel:_.samplesLabel,unitLabel:_.unitLabel,hasFocus:_.hasFocus,focusPercent:_.focusPercent,focusLabel:_.focusLabel,ofTotalPlacement:_.ofTotalPlacement,ofTotalLabel:_.ofTotalLabel,clearFocusLabel:_.clearFocusLabel,onClearFocus:_.onClearFocus}),X&&e.jsx(Kr,{format:y.format,units:y.units,toolbarVisible:N}),e.jsxs("div",{"data-testid":M,style:{position:"relative",opacity:ee&&!C?0:1},children:[e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":L,className:Eo("flamegraph-canvas",ur),ref:o,onClick:w?void 0:e=>{const t=ae().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{W.match({Nothing:()=>{V(t)},Just:n=>{e.i===n.i&&e.j===n.j?V(a.Maybe.nothing()):V(t)}})}})}}),e.jsx("canvas",{height:"0","data-testid":"flamegraph-text-canvas",className:Eo("flamegraph-text-canvas",br),ref:i}),s&&o&&e.jsx(hr,{barHeight:bo,canvasRef:o,zoom:W,xyToHighlightData:z}),s&&e.jsx(pr,{barHeight:bo,node:I})]}),R?e.jsx(jr,{}):""]}),s&&e.jsx(Dr,{format:y.format,canvasRef:o,xyToData:(e,t)=>ae().xyToBar(e,t),numTicks:y.numTicks,sampleRate:y.sampleRate,leftTicks:"double"===y.format?y.leftTicks:0,rightTicks:"double"===y.format?y.rightTicks:0,units:y.units,palette:A}),!w&&s&&o&&e.jsx(Vr,{canvasRef:o,xyToMenuItems:T,onClose:()=>{B(a.Maybe.nothing())},onOpen:(e,t)=>{B(z(e,t))}})]})}h(".styles-module_flamegraphPane__ejguD{flex:1;position:relative}.styles-module_flamegraphPane__ejguD .styles-module_fitModeItem__0UBwN svg,.styles-module_flamegraphPane__ejguD .styles-module_sandwichItem__WYvnd svg{margin-right:10px;width:1em}.styles-module_flamegraphFrame__9ZW-z{background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);padding:6px 8px 8px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxpQkFBa0IsQ0FEbEIsU0FFRixDQUVBLHNDQUlFLDRCQUE2QixDQUg3QixvQ0FBcUMsQ0FDckMsaUJBQWtCLENBR2xCLHdEQUEwRCxDQUYxRCxtQkFHRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn1cblxuLmZsYW1lZ3JhcGhGcmFtZSB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgcGFkZGluZzogNnB4IDhweCA4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICBtaW4taGVpZ2h0OiB2YXIoLS1reWxpbi1mbGFtZWdyYXBoLXBhbmUtbWluLWhlaWdodCwgMzIwcHgpO1xufSJdfQ== */");var ml,hl={exports:{}};
|
|
12
|
+
function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function B(e,t,a){return t&&function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=w(e))||t){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,r=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return l=e.done,e},e:function(e){r=!0,i=e},f:function(){try{l||null==a.return||a.return()}finally{if(r)throw i}}}}function y(e,t,a){return(t=N(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function F(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function Z(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?F(Object(a),!0).forEach(function(t){y(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):F(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function L(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,o,i,l,r=[],s=!0,c=!1;try{if(i=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(n=i.call(a)).done)&&(r.push(n.value),r.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=a.return&&(l=a.return(),Object(l)!==l))return}finally{if(c)throw o}}return r}}(e,t)||w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e){return function(e){if(Array.isArray(e))return I(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function w(e,t){if(e){if("string"==typeof e)return I(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?I(e,t):void 0}}var C=function(){},R={},U={},k=null,D={mark:C,measure:C};try{"undefined"!=typeof window&&(R=window),"undefined"!=typeof document&&(U=document),"undefined"!=typeof MutationObserver&&(k=MutationObserver),"undefined"!=typeof performance&&(D=performance)}catch(re){}var Y=(R.navigator||{}).userAgent,_=void 0===Y?"":Y,V=R,S=U,j=k,J=D;V.document;var M,A=!!S.documentElement&&!!S.head&&"function"==typeof S.addEventListener&&"function"==typeof S.createElement,E=~_.indexOf("MSIE")||~_.indexOf("Trident/"),O={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},z=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],T="classic",H="duotone",P="sharp",K="sharp-duotone",$="chisel",q="etch",ee="jelly",te="jelly-duo",ae="jelly-fill",ne="notdog",oe="notdog-duo",ie="slab",le="slab-press",re="thumbprint",se="utility",ce="utility-duo",de="utility-fill",ue="whiteboard",be=[T,H,P,K,$,q,ee,te,ae,ne,oe,ie,le,re,se,ce,de,ue];y(y(y(y(y(y(y(y(y(y(M={},T,"Classic"),H,"Duotone"),P,"Sharp"),K,"Sharp Duotone"),$,"Chisel"),q,"Etch"),ee,"Jelly"),te,"Jelly Duo"),ae,"Jelly Fill"),ne,"Notdog"),y(y(y(y(y(y(y(y(M,oe,"Notdog Duo"),ie,"Slab"),le,"Slab Press"),re,"Thumbprint"),se,"Utility"),ce,"Utility Duo"),de,"Utility Fill"),ue,"Whiteboard");var me=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),he=["fak","fa-kit","fakd","fa-kit-duotone"],ge={fak:"kit","fa-kit":"kit"},fe={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var pe,xe={kit:"fak"},Ge={"kit-duotone":"fakd"},Qe="duotone-group",Ie="swap-opacity",Be="primary",ve="secondary";y(y(y(y(y(y(y(y(y(y(pe={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),y(y(y(y(y(y(y(y(pe,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var ye={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},Fe=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),Ze=[1,2,3,4,5,6,7,8,9,10],Le=Ze.concat([11,12,13,14,15,16,17,18,19,20]),We=[].concat(W(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Qe,Ie,Be,ve]).concat(Ze.map(function(e){return"".concat(e,"x")})).concat(Le.map(function(e){return"w-".concat(e)})),Ne="___FONT_AWESOME___",Xe="svg-inline--fa",we="data-fa-i2svg",Ce="data-fa-pseudo-element",Re="data-prefix",Ue="data-icon",ke="fontawesome-i2svg",De=["HTML","HEAD","STYLE","SCRIPT"],Ye=["::before","::after",":before",":after"],_e=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function Ve(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[T]}})}var Se=Z({},O);Se[T]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),O[T]),ge),fe);var je=Ve(Se),Je=Z({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});Je[T]=Z(Z(Z(Z({},{duotone:"fad"}),Je[T]),xe),Ge);var Me=Ve(Je),Ae=Z({},ye);Ae[T]=Z(Z({},Ae[T]),{fak:"fa-kit"});var Ee=Ve(Ae),Oe=Z({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});Oe[T]=Z(Z({},Oe[T]),{"fa-kit":"fak"}),Ve(Oe);var ze=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Te="fa-layers-text",He=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i;Ve(Z({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}}));var Pe=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ke={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},$e=[].concat(W(["kit"]),W(We)),qe=V.FontAwesomeConfig||{};if(S&&"function"==typeof S.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=L(e,2),a=t[0],n=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=S.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=o&&(qe[n]=o)})}var et={styleDefault:"solid",familyDefault:T,cssPrefix:"fa",replacementClass:Xe,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};qe.familyPrefix&&(qe.cssPrefix=qe.familyPrefix);var tt=Z(Z({},et),qe);tt.autoReplaceSvg||(tt.observeMutations=!1);var at={};Object.keys(et).forEach(function(e){Object.defineProperty(at,e,{enumerable:!0,set:function(t){tt[e]=t,nt.forEach(function(e){return e(at)})},get:function(){return tt[e]}})}),Object.defineProperty(at,"familyPrefix",{enumerable:!0,set:function(e){tt.cssPrefix=e,nt.forEach(function(e){return e(at)})},get:function(){return tt.cssPrefix}}),V.FontAwesomeConfig=at;var nt=[];var ot=16,it={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function lt(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function rt(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function st(e){return e.classList?rt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function ct(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function dt(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function ut(e){return e.size!==it.size||e.x!==it.x||e.y!==it.y||e.rotate!==it.rotate||e.flipX||e.flipY}function bt(){var e="fa",t=Xe,a=at.cssPrefix,n=at.replacementClass,o=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(a!==e||n!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),l=new RegExp("\\--".concat(e,"\\-"),"g"),r=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(a,"-")).replace(l,"--".concat(a,"-")).replace(r,".".concat(n))}return o}var mt=!1;function ht(){at.autoAddCss&&!mt&&(!function(e){if(e&&A){var t=S.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=S.head.childNodes,n=null,o=a.length-1;o>-1;o--){var i=a[o],l=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(l)>-1&&(n=i)}S.head.insertBefore(t,n)}}(bt()),mt=!0)}var gt={mixout:function(){return{dom:{css:bt,insertCss:ht}}},hooks:function(){return{beforeDOMElementCreation:function(){ht()},beforeI2svg:function(){ht()}}}},ft=V||{};ft[Ne]||(ft[Ne]={}),ft[Ne].styles||(ft[Ne].styles={}),ft[Ne].hooks||(ft[Ne].hooks={}),ft[Ne].shims||(ft[Ne].shims=[]);var pt=ft[Ne],xt=[],Gt=function(){S.removeEventListener("DOMContentLoaded",Gt),Qt=1,xt.map(function(e){return e()})},Qt=!1;function It(e){var t=e.tag,a=e.attributes,n=void 0===a?{}:a,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?ct(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(ct(e[a]),'" ')},"").trim()}(n),">").concat(i.map(It).join(""),"</").concat(t,">")}function Bt(e,t,a){if(e&&e[t]&&e[t][a])return{prefix:t,iconName:a,icon:e[t][a]}}A&&((Qt=(S.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(S.readyState))||S.addEventListener("DOMContentLoaded",Gt));var vt=function(e,t,a,n){var o,i,l,r=Object.keys(e),s=r.length,c=t;for(void 0===a?(o=1,l=e[r[0]]):(o=0,l=a);o<s;o++)l=c(l,e[i=r[o]],i,e);return l};function yt(e){return 1!==W(e).length?null:e.codePointAt(0).toString(16)}function Ft(e){return Object.keys(e).reduce(function(t,a){var n=e[a];return!!n.icon?t[n.iconName]=n.icon:t[a]=n,t},{})}function Zt(e,t){var a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,n=void 0!==a&&a,o=Ft(t);"function"!=typeof pt.hooks.addPack||n?pt.styles[e]=Z(Z({},pt.styles[e]||{}),o):pt.hooks.addPack(e,Ft(t)),"fas"===e&&Zt("fa",t)}var Lt=pt.styles,Wt=pt.shims,Nt=Object.keys(Ee),Xt=Nt.reduce(function(e,t){return e[t]=Object.keys(Ee[t]),e},{}),wt=null,Ct={},Rt={},Ut={},kt={},Dt={};function Yt(e,t){var a,n=t.split("-"),o=n[0],i=n.slice(1).join("-");return o!==e||""===i||(a=i,~$e.indexOf(a))?null:i}var _t,Vt=function(){var e=function(e){return vt(Lt,function(t,a,n){return t[n]=vt(a,e,{}),t},{})};Ct=e(function(e,t,a){(t[3]&&(e[t[3]]=a),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=a});return e}),Rt=e(function(e,t,a){(e[a]=a,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=a});return e}),Dt=e(function(e,t,a){var n=t[2];return e[a]=a,n.forEach(function(t){e[t]=a}),e});var t="far"in Lt||at.autoFetchSvg,a=vt(Wt,function(e,a){var n=a[0],o=a[1],i=a[2];return"far"!==o||t||(o="fas"),"string"==typeof n&&(e.names[n]={prefix:o,iconName:i}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:o,iconName:i}),e},{names:{},unicodes:{}});Ut=a.names,kt=a.unicodes,wt=At(at.styleDefault,{family:at.familyDefault})};function St(e,t){return(Ct[e]||{})[t]}function jt(e,t){return(Dt[e]||{})[t]}function Jt(e){return Ut[e]||{prefix:null,iconName:null}}function Mt(){return wt}_t=function(e){wt=At(e.styleDefault,{family:at.familyDefault})},nt.push(_t),Vt();function At(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===t?T:t,n=je[a][e];if(a===H&&!e)return"fad";var o=Me[a][e]||Me[a][n],i=e in pt.styles?e:null;return o||i||null}function Et(e){return e.sort().filter(function(e,t,a){return a.indexOf(e)===t})}var Ot=Fe.concat(he);function zt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,a=void 0!==t&&t,n=null,o=Et(e.filter(function(e){return Ot.includes(e)})),i=Et(e.filter(function(e){return!Ot.includes(e)})),l=L(o.filter(function(e){return n=e,!z.includes(e)}),1)[0],r=void 0===l?null:l,s=function(e){var t=T,a=Nt.reduce(function(e,t){return e[t]="".concat(at.cssPrefix,"-").concat(t),e},{});return be.forEach(function(n){(e.includes(a[n])||e.some(function(e){return Xt[n].includes(e)}))&&(t=n)}),t}(o),c=Z(Z({},function(e){var t=[],a=null;return e.forEach(function(e){var n=Yt(at.cssPrefix,e);n?a=n:e&&t.push(e)}),{iconName:a,rest:t}}(i)),{},{prefix:At(r,{family:s})});return Z(Z(Z({},c),function(e){var t=e.values,a=e.family,n=e.canonical,o=e.givenPrefix,i=void 0===o?"":o,l=e.styles,r=void 0===l?{}:l,s=e.config,c=void 0===s?{}:s,d=a===H,u=t.includes("fa-duotone")||t.includes("fad"),b="duotone"===c.familyDefault,m="fad"===n.prefix||"fa-duotone"===n.prefix;!d&&(u||b||m)&&(n.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab");if(!n.prefix&&Tt.includes(a)){if(Object.keys(r).find(function(e){return Ht.includes(e)})||c.autoFetchSvg){var h=me.get(a).defaultShortPrefixId;n.prefix=h,n.iconName=jt(n.prefix,n.iconName)||n.iconName}}"fa"!==n.prefix&&"fa"!==i||(n.prefix=Mt()||"fas");return n}({values:e,family:s,styles:Lt,config:at,canonical:c,givenPrefix:n})),function(e,t,a){var n=a.prefix,o=a.iconName;if(e||!n||!o)return{prefix:n,iconName:o};var i="fa"===t?Jt(o):{},l=jt(n,o);o=i.iconName||l||o,"far"!==(n=i.prefix||n)||Lt.far||!Lt.fas||at.autoFetchSvg||(n="fas");return{prefix:n,iconName:o}}(a,n,c))}var Tt=be.filter(function(e){return e!==T||e!==H}),Ht=Object.keys(ye).filter(function(e){return e!==T}).map(function(e){return Object.keys(ye[e])}).flat();var Pt=function(){return B(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var o=a.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(t){e.definitions[t]=Z(Z({},e.definitions[t]||{}),o[t]),Zt(t,o[t]);var a=Ee[T][t];a&&Zt(a,o[t]),Vt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(a).map(function(t){var n=a[t],o=n.prefix,i=n.iconName,l=n.icon,r=l[2];e[o]||(e[o]={}),r.length>0&&r.forEach(function(t){"string"==typeof t&&(e[o][t]=l)}),e[o][i]=l}),e}}])}(),Kt=[],$t={},qt={},ea=Object.keys(qt);function ta(e,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),o=2;o<a;o++)n[o-2]=arguments[o];return($t[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function aa(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];($t[e]||[]).forEach(function(e){e.apply(null,a)})}function na(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return qt[e]?qt[e].apply(null,t):void 0}function oa(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,a=e.prefix||Mt();if(t)return t=jt(a,t)||t,Bt(ia.definitions,a,t)||Bt(pt.styles,a,t)}var ia=new Pt,la={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return A?(aa("beforeI2svg",e),na("pseudoElements2svg",e),na("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.autoReplaceSvgRoot;!1===at.autoReplaceSvg&&(at.autoReplaceSvg=!0),at.observeMutations=!0,e=function(){sa({autoReplaceSvgRoot:a}),aa("watch",t)},A&&(Qt?setTimeout(e,0):xt.push(e))}},ra={noAuto:function(){at.autoReplaceSvg=!1,at.observeMutations=!1,aa("noAuto")},config:at,dom:la,parse:{icon:function(e){if(null===e)return null;if("object"===X(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:jt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],a=At(e[0]);return{prefix:a,iconName:jt(a,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(at.cssPrefix,"-"))>-1||e.match(ze))){var n=zt(e.split(" "),{skipLookups:!0});return{prefix:n.prefix||Mt(),iconName:jt(n.prefix,n.iconName)||n.iconName}}if("string"==typeof e){var o=Mt();return{prefix:o,iconName:jt(o,e)||e}}}},library:ia,findIconDefinition:oa,toHtml:It},sa=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?S:e;(Object.keys(pt.styles).length>0||at.autoFetchSvg)&&A&&at.autoReplaceSvg&&ra.dom.i2svg({node:t})};function ca(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return It(e)})}}),Object.defineProperty(e,"node",{get:function(){if(A){var t=S.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function da(e){var t=e.icons,a=t.main,n=t.mask,o=e.prefix,i=e.iconName,l=e.transform,r=e.symbol,s=e.maskId,c=e.extra,d=e.watchable,u=void 0!==d&&d,b=n.found?n:a,m=b.width,h=b.height,g=[at.replacementClass,i?"".concat(at.cssPrefix,"-").concat(i):""].filter(function(e){return-1===c.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(c.classes).join(" "),f={children:[],attributes:Z(Z({},c.attributes),{},{"data-prefix":o,"data-icon":i,class:g,role:c.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(h)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(c.attributes)||c.attributes["aria-hidden"]||(f.attributes["aria-hidden"]="true"),u&&(f.attributes[we]="");var p=Z(Z({},f),{},{prefix:o,iconName:i,main:a,mask:n,maskId:s,transform:l,symbol:r,styles:Z({},c.styles)}),x=n.found&&a.found?na("generateAbstractMask",p)||{children:[],attributes:{}}:na("generateAbstractIcon",p)||{children:[],attributes:{}},G=x.children,Q=x.attributes;return p.children=G,p.attributes=Q,r?function(e){var t=e.prefix,a=e.iconName,n=e.children,o=e.attributes,i=e.symbol,l=!0===i?"".concat(t,"-").concat(at.cssPrefix,"-").concat(a):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},o),{},{id:l}),children:n}]}]}(p):function(e){var t=e.children,a=e.main,n=e.mask,o=e.attributes,i=e.styles,l=e.transform;if(ut(l)&&a.found&&!n.found){var r={x:a.width/a.height/2,y:.5};o.style=dt(Z(Z({},i),{},{"transform-origin":"".concat(r.x+l.x/16,"em ").concat(r.y+l.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(p)}function ua(e){var t=e.content,a=e.width,n=e.height,o=e.transform,i=e.extra,l=e.watchable,r=void 0!==l&&l,s=Z(Z({},i.attributes),{},{class:i.classes.join(" ")});r&&(s[we]="");var c=Z({},i.styles);ut(o)&&(c.transform=function(e){var t=e.transform,a=e.width,n=void 0===a?16:a,o=e.height,i=void 0===o?16:o,l="";return l+=E?"translate(".concat(t.x/ot-n/2,"em, ").concat(t.y/ot-i/2,"em) "):"translate(calc(-50% + ".concat(t.x/ot,"em), calc(-50% + ").concat(t.y/ot,"em)) "),l+="scale(".concat(t.size/ot*(t.flipX?-1:1),", ").concat(t.size/ot*(t.flipY?-1:1),") "),l+"rotate(".concat(t.rotate,"deg) ")}({transform:o,width:a,height:n}),c["-webkit-transform"]=c.transform);var d=dt(c);d.length>0&&(s.style=d);var u=[];return u.push({tag:"span",attributes:s,children:[t]}),u}var ba=pt.styles;function ma(e){var t=e[0],a=e[1],n=L(e.slice(4),1)[0];return{found:!0,width:t,height:a,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.GROUP)},children:[{tag:"path",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(at.cssPrefix,"-").concat(Ke.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}var ha={found:!1,width:512,height:512};function ga(e,t){var a=t;return"fa"===t&&null!==at.styleDefault&&(t=Mt()),new Promise(function(n,o){if("fa"===a){var i=Jt(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ba[t]&&ba[t][e])return n(ma(ba[t][e]));!function(e,t){_e||at.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),n(Z(Z({},ha),{},{icon:at.showMissingIcons&&e&&na("missingIconAbstract")||{}}))})}var fa=function(){},pa=at.measurePerformance&&J&&J.mark&&J.measure?J:{mark:fa,measure:fa},xa='FA "7.1.0"',Ga=function(e){pa.mark("".concat(xa," ").concat(e," ends")),pa.measure("".concat(xa," ").concat(e),"".concat(xa," ").concat(e," begins"),"".concat(xa," ").concat(e," ends"))},Qa=function(e){return pa.mark("".concat(xa," ").concat(e," begins")),function(){return Ga(e)}},Ia=function(){};function Ba(e){return"string"==typeof(e.getAttribute?e.getAttribute(we):null)}function va(e){return S.createElementNS("http://www.w3.org/2000/svg",e)}function ya(e){return S.createElement(e)}function Fa(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===t?"svg"===e.tag?va:ya:t;if("string"==typeof e)return S.createTextNode(e);var n=a(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){n.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){n.appendChild(Fa(e,{ceFn:a}))}),n}var Za={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Fa(e),t)}),null===t.getAttribute(we)&&at.keepOriginalSource){var a=S.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(a,t)}else t.remove()},nest:function(e){var t=e[0],a=e[1];if(~st(t).indexOf(at.replacementClass))return Za.replace(e);var n=new RegExp("".concat(at.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var o=a[0].attributes.class.split(" ").reduce(function(e,t){return t===at.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});a[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=a.map(function(e){return It(e)}).join("\n");t.setAttribute(we,""),t.innerHTML=i}};function La(e){e()}function Wa(e,t){var a="function"==typeof t?t:Ia;if(0===e.length)a();else{var n=La;"async"===at.mutateApproach&&(n=V.requestAnimationFrame||La),n(function(){var t=!0===at.autoReplaceSvg?Za.replace:Za[at.autoReplaceSvg]||Za.replace,n=Qa("mutate");e.map(t),n(),a()})}}var Na=!1;function Xa(){Na=!0}function wa(){Na=!1}var Ca=null;function Ra(e){if(j&&at.observeMutations){var t=e.treeCallback,a=void 0===t?Ia:t,n=e.nodeCallback,o=void 0===n?Ia:n,i=e.pseudoElementsCallback,l=void 0===i?Ia:i,r=e.observeMutationsRoot,s=void 0===r?S:r;Ca=new j(function(e){if(!Na){var t=Mt();rt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ba(e.addedNodes[0])&&(at.searchPseudoElements&&l(e.target),a(e.target)),"attributes"===e.type&&e.target.parentNode&&at.searchPseudoElements&&l([e.target],!0),"attributes"===e.type&&Ba(e.target)&&~Pe.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Re):null,a=e.getAttribute?e.getAttribute(Ue):null;return t&&a}(e.target)){var n=zt(st(e.target)),i=n.prefix,r=n.iconName;e.target.setAttribute(Re,i||t),r&&e.target.setAttribute(Ue,r)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(at.replacementClass)&&o(e.target);var s})}}),A&&Ca.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ua(e){var t,a,n=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",l=zt(st(e));return l.prefix||(l.prefix=Mt()),n&&o&&(l.prefix=n,l.iconName=o),l.iconName&&l.prefix||(l.prefix&&i.length>0&&(l.iconName=(t=l.prefix,a=e.innerText,(Rt[t]||{})[a]||St(l.prefix,yt(e.innerText)))),!l.iconName&&at.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(l.iconName=e.firstChild.data)),l}function ka(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},a=Ua(e),n=a.iconName,o=a.prefix,i=a.rest,l=function(e){return rt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),r=ta("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),a=[];return t&&(a=t.split(";").reduce(function(e,t){var a=t.split(":"),n=a[0],o=a.slice(1);return n&&o.length>0&&(e[n]=o.join(":").trim()),e},{})),a}(e):[];return Z({iconName:n,prefix:o,transform:it,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:l}},r)}var Da=pt.styles;function Ya(e){var t="nest"===at.autoReplaceSvg?ka(e,{styleParser:!1}):ka(e);return~t.extra.classes.indexOf(Te)?na("generateLayersText",e,t):na("generateSvgReplacementMutation",e,t)}function _a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!A)return Promise.resolve();var a=S.documentElement.classList,n=function(e){return a.add("".concat(ke,"-").concat(e))},o=function(e){return a.remove("".concat(ke,"-").concat(e))},i=at.autoFetchSvg?[].concat(W(he),W(Fe)):z.concat(Object.keys(Da));i.includes("fa")||i.push("fa");var l=[".".concat(Te,":not([").concat(we,"])")].concat(i.map(function(e){return".".concat(e,":not([").concat(we,"])")})).join(", ");if(0===l.length)return Promise.resolve();var r=[];try{r=rt(e.querySelectorAll(l))}catch(e){}if(!(r.length>0))return Promise.resolve();n("pending"),o("complete");var s=Qa("onTree"),c=r.reduce(function(e,t){try{var a=Ya(t);a&&e.push(a)}catch(e){_e||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,a){Promise.all(c).then(function(a){Wa(a,function(){n("active"),n("complete"),o("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),a(e)})})}function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ya(e).then(function(e){e&&Wa([e],t)})}var Sa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,o=t.symbol,i=void 0!==o&&o,l=t.mask,r=void 0===l?null:l,s=t.maskId,c=void 0===s?null:s,d=t.classes,u=void 0===d?[]:d,b=t.attributes,m=void 0===b?{}:b,h=t.styles,g=void 0===h?{}:h;if(e){var f=e.prefix,p=e.iconName,x=e.icon;return ca(Z({type:"icon"},e),function(){return aa("beforeDOMElementCreation",{iconDefinition:e,params:t}),da({icons:{main:ma(x),mask:r?ma(r.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:Z(Z({},it),n),symbol:i,maskId:c,extra:{attributes:m,styles:g,classes:u}})})}},ja={mixout:function(){return{icon:(e=Sa,function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:oa(t||{}),o=a.mask;return o&&(o=(o||{}).icon?o:oa(o||{})),e(n,Z(Z({},a),{},{mask:o}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=_a,e.nodeCallback=Va,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,a=void 0===t?S:t,n=e.callback;return _a(a,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var a=t.iconName,n=t.prefix,o=t.transform,i=t.symbol,l=t.mask,r=t.maskId,s=t.extra;return new Promise(function(t,c){Promise.all([ga(a,n),l.iconName?ga(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(l){var c=L(l,2),d=c[0],u=c[1];t([e,da({icons:{main:d,mask:u},prefix:n,iconName:a,transform:o,symbol:i,maskId:r,extra:s,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,a=e.children,n=e.attributes,o=e.main,i=e.transform,l=dt(e.styles);return l.length>0&&(n.style=l),ut(i)&&(t=na("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),a.push(t||o.icon),{children:a,attributes:n}}}},Ja={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.classes,n=void 0===a?[]:a;return ca({type:"layer"},function(){aa("beforeDOMElementCreation",{assembler:e,params:t});var a=[];return e(function(e){Array.isArray(e)?e.map(function(e){a=a.concat(e.abstract)}):a=a.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(at.cssPrefix,"-layers")].concat(W(n)).join(" ")},children:a}]})}}}},Ma={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var a=t.classes,n=void 0===a?[]:a,o=t.attributes,i=void 0===o?{}:o,l=t.styles,r=void 0===l?{}:l;return ca({type:"counter",content:e},function(){return aa("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,a=e.extra,n=Z(Z({},a.attributes),{},{class:a.classes.join(" ")}),o=dt(a.styles);o.length>0&&(n.style=o);var i=[];return i.push({tag:"span",attributes:n,children:[t]}),i}({content:e.toString(),extra:{attributes:i,styles:r,classes:["".concat(at.cssPrefix,"-layers-counter")].concat(W(n))}})})}}}},Aa={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,o=t.classes,i=void 0===o?[]:o,l=t.attributes,r=void 0===l?{}:l,s=t.styles,c=void 0===s?{}:s;return ca({type:"text",content:e},function(){return aa("beforeDOMElementCreation",{content:e,params:t}),ua({content:e,transform:Z(Z({},it),n),extra:{attributes:r,styles:c,classes:["".concat(at.cssPrefix,"-layers-text")].concat(W(i))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var a=t.transform,n=t.extra,o=null,i=null;if(E){var l=parseInt(getComputedStyle(e).fontSize,10),r=e.getBoundingClientRect();o=r.width/l,i=r.height/l}return Promise.resolve([e,ua({content:e.innerHTML,width:o,height:i,transform:a,extra:n,watchable:!0})])}}},Ea=new RegExp('"',"ug"),Oa=[1105920,1112319],za=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Ta=Object.keys(za).reduce(function(e,t){return e[t.toLowerCase()]=za[t],e},{}),Ha=Object.keys(Ta).reduce(function(e,t){var a=Ta[t];return e[t]=a[900]||W(Object.entries(a))[0][1],e},{});function Pa(e,t){var a="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(n,o){if(null!==e.getAttribute(a))return n();var i,l,r,s=rt(e.children).filter(function(e){return e.getAttribute(Ce)===t})[0],c=V.getComputedStyle(e,t),d=c.getPropertyValue("font-family"),u=d.match(He),b=c.getPropertyValue("font-weight"),m=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&"none"!==m&&""!==m){var h=c.getPropertyValue("content"),g=function(e,t){var a=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(Ta[a]||{})[o]||Ha[a]}(d,b),f=function(e){return yt(W(e.replace(Ea,""))[0]||"")}(h),p=u[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),a=e.getPropertyValue("content").replace(Ea,""),n=a.codePointAt(0),o=n>=Oa[0]&&n<=Oa[1],i=2===a.length&&a[0]===a[1];return o||i||t}(c),G=St(g,f),Q=G;if(p){var I=(l=kt[i=f],r=St("fas",i),l||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null});I.iconName&&I.prefix&&(G=I.iconName,g=I.prefix)}if(!G||x||s&&s.getAttribute(Re)===g&&s.getAttribute(Ue)===Q)n();else{e.setAttribute(a,Q),s&&e.removeChild(s);var B={iconName:null,prefix:null,transform:it,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},v=B.extra;v.attributes[Ce]=t,ga(G,g).then(function(o){var i=da(Z(Z({},B),{},{icons:{main:o,mask:{prefix:null,iconName:null,rest:[]}},prefix:g,iconName:Q,extra:v,watchable:!0})),l=S.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=i.map(function(e){return It(e)}).join("\n"),e.removeAttribute(a),n()}).catch(o)}}else n()})}function Ka(e){return Promise.all([Pa(e,"::before"),Pa(e,"::after")])}function $a(e){return!(e.parentNode===document.head||~De.indexOf(e.tagName.toUpperCase())||e.getAttribute(Ce)||e.parentNode&&"svg"===e.parentNode.tagName)}var qa=function(e){return!!e&&Ye.some(function(t){return e.includes(t)})},en=function(e){if(!e)return[];var t=new Set,a=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});a=a.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var n,o=v(a);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(qa(i)){var l=Ye.reduce(function(e,t){return e.replace(t,"")},i);""!==l&&"*"!==l&&t.add(l)}}}catch(e){o.e(e)}finally{o.f()}return t};function tn(e){if(A){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(at.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var a,n=new Set,o=v(document.styleSheets);try{for(o.s();!(a=o.n()).done;){var i=a.value;try{var l,r=v(i.cssRules);try{for(r.s();!(l=r.n()).done;){var s,c=l.value,d=v(en(c.selectorText));try{for(d.s();!(s=d.n()).done;){var u=s.value;n.add(u)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){r.e(e)}finally{r.f()}}catch(e){at.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){o.e(e)}finally{o.f()}if(!n.size)return;var b=Array.from(n).join(", ");try{t=e.querySelectorAll(b)}catch(e){}}return new Promise(function(e,a){var n=rt(t).filter($a).map(Ka),o=Qa("searchPseudoElements");Xa(),Promise.all(n).then(function(){o(),wa(),e()}).catch(function(){o(),wa(),a()})})}}var an={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=tn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,a=void 0===t?S:t;at.searchPseudoElements&&tn(a)}}},nn=!1,on=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var a=t.toLowerCase().split("-"),n=a[0],o=a.slice(1).join("-");if(n&&"h"===o)return e.flipX=!0,e;if(n&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(n){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ln={mixout:function(){return{parse:{transform:function(e){return on(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-transform");return a&&(e.transform=on(a)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,a=e.transform,n=e.containerWidth,o=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},l="translate(".concat(32*a.x,", ").concat(32*a.y,") "),r="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),s="rotate(".concat(a.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(l," ").concat(r," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Z({},c.outer),children:[{tag:"g",attributes:Z({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Z(Z({},t.icon.attributes),c.path)}]}]}}}},rn={x:0,y:0,width:"100%",height:"100%"};function sn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var cn={hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-mask"),n=a?zt(a.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return n.prefix||(n.prefix=Mt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,a=e.children,n=e.attributes,o=e.main,i=e.mask,l=e.maskId,r=e.transform,s=o.width,c=o.icon,d=i.width,u=i.icon,b=function(e){var t=e.transform,a=e.containerWidth,n=e.iconWidth,o={transform:"translate(".concat(a/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),l="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),r="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(l," ").concat(r)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:r,containerWidth:d,iconWidth:s}),m={tag:"rect",attributes:Z(Z({},rn),{},{fill:"white"})},h=c.children?{children:c.children.map(sn)}:{},g={tag:"g",attributes:Z({},b.inner),children:[sn(Z({tag:c.tag,attributes:Z(Z({},c.attributes),b.path)},h))]},f={tag:"g",attributes:Z({},b.outer),children:[g]},p="mask-".concat(l||lt()),x="clip-".concat(l||lt()),G={tag:"mask",attributes:Z(Z({},rn),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,f]},Q={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=u,"g"===t.tag?t.children:[t])},G]};return a.push(Q,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},rn)}),{children:a,attributes:n}}}},dn={provides:function(e){var t=!1;V.matchMedia&&(t=V.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],a={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Z(Z({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Z(Z({},n),{},{attributeName:"opacity"}),i={tag:"circle",attributes:Z(Z({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:Z(Z({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:Z(Z({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Z(Z({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Z(Z({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var a=t.mixoutsTo;Kt=e,$t={},Object.keys(qt).forEach(function(e){-1===ea.indexOf(e)&&delete qt[e]}),Kt.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(a[e]=t[e]),"object"===X(t[e])&&Object.keys(t[e]).forEach(function(n){a[e]||(a[e]={}),a[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){$t[e]||($t[e]=[]),$t[e].push(n[e])})}e.provides&&e.provides(qt)})}([gt,ja,Ja,Ma,Aa,an,{mixout:function(){return{dom:{unwatch:function(){Xa(),nn=!0}}}},hooks:function(){return{bootstrap:function(){Ra(ta("mutationObserverCallbacks",{}))},noAuto:function(){Ca&&Ca.disconnect()},watch:function(e){var t=e.observeMutationsRoot;nn?wa():Ra(ta("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ln,cn,dn,{hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-symbol"),n=null!==a&&(""===a||a);return e.symbol=n,e}}}}],{mixoutsTo:ra});var un=ra.config,bn=ra.parse,mn=ra.icon;function hn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1);var t}function gn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var fn=new Map;function pn(e){if(fn.has(e))return fn.get(e);const t={};let a=0;const n=e.length;for(;a<n;){const o=e.indexOf(";",a),i=-1===o?n:o,l=e.slice(a,i).trim();if(l){const e=l.indexOf(":");if(e>0){const a=l.slice(0,e).trim(),n=l.slice(e+1).trim();if(a&&n){const e=hn(a);t[e.startsWith("webkit")?gn(e):e]=n}}}a=i+1}if(1e3===fn.size){const e=fn.keys().next().value;e&&fn.delete(e)}return fn.set(e,t),t}var xn=function e(t,a,n={}){if("string"==typeof a)return a;const o=(a.children||[]).map(a=>e(t,a)),i=a.attributes||{},l={};for(const[e,t]of Object.entries(i))switch(!0){case"class"===e:l.className=t;break;case"style"===e:l.style=pn(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):l[e.toLowerCase()]=t;break;default:l[hn(e)]=t}const{style:r,role:s,"aria-label":c,...d}=n;return r&&(l.style=l.style?{...l.style,...r}:r),s&&(l.role=s),c&&(l["aria-label"]=c,l["aria-hidden"]="false"),t(a.tag,{...d,...l},...o)}.bind(null,t.createElement),Gn=(e,a)=>{const n=t.useId();return e||(a?n:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var Qn="searchPseudoElementsFullScan"in un?"7.0.0":"6.0.0",In=Number.parseInt(Qn)>=7,Bn="fa",vn="fa-beat",yn="fa-fade",Fn="fa-beat-fade",Zn="fa-bounce",Ln="fa-shake",Wn="fa-spin",Nn="fa-spin-pulse",Xn="fa-spin-reverse",wn="fa-pulse",Cn={left:"fa-pull-left",right:"fa-pull-right"},Rn={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Un={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},kn="fa-border",Dn="fa-fw",Yn="fa-flip",_n="fa-flip-horizontal",Vn="fa-flip-vertical",Sn="fa-inverse",jn="fa-rotate-by",Jn="fa-swap-opacity",Mn="fa-width-auto";function An(e){const t=un.cssPrefix||un.familyPrefix||Bn;return t===Bn?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Bn}-`,"g"),`${t}-`)}function En(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:bn.icon(e)}var On=new class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t="undefined"!=typeof process&&"development"===process.env.NODE_ENV}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}}("FontAwesomeIcon"),zn={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},Tn=new Set(Object.keys(zn)),Hn=t.forwardRef((e,t)=>{const a={...zn,...e},{icon:n,mask:o,symbol:i,title:l,titleId:r,maskId:s,transform:c}=a,d=Gn(s,Boolean(o)),u=Gn(r,Boolean(l)),b=En(n);if(!b)return On.error("Icon lookup is undefined",n),null;const m=function(e){const{beat:t,fade:a,beatFade:n,bounce:o,shake:i,spin:l,spinPulse:r,spinReverse:s,pulse:c,fixedWidth:d,inverse:u,border:b,flip:m,size:h,rotation:g,pull:f,swapOpacity:p,rotateBy:x,widthAuto:G,className:Q}=e,I=[];return Q&&I.push(...Q.split(" ")),t&&I.push(vn),a&&I.push(yn),n&&I.push(Fn),o&&I.push(Zn),i&&I.push(Ln),l&&I.push(Wn),s&&I.push(Xn),r&&I.push(Nn),c&&I.push(wn),d&&I.push(Dn),u&&I.push(Sn),b&&I.push(kn),!0===m&&I.push(Yn),"horizontal"!==m&&"both"!==m||I.push(_n),"vertical"!==m&&"both"!==m||I.push(Vn),null!=h&&I.push(Un[h]),null!=g&&0!==g&&I.push(Rn[g]),null!=f&&I.push(Cn[f]),p&&I.push(Jn),In?(x&&I.push(jn),G&&I.push(Mn),(un.cssPrefix||un.familyPrefix||Bn)===Bn?I:I.map(An)):I}(a),h="string"==typeof c?bn.transform(c):c,g=En(o),f=mn(b,{...m.length>0&&{classes:m},...h&&{transform:h},...g&&{mask:g},symbol:i,title:l,titleId:u,maskId:d});if(!f)return On.error("Could not find icon",b),null;const{abstract:p}=f,x={ref:t};for(const e of(G=a,Object.keys(G)))Tn.has(e)||(x[e]=a[e]);var G;return xn(p[0],x)});Hn.displayName="FontAwesomeIcon";var Pn={box:"Box-module_box__SQLj3",collapseBox:"Box-module_collapseBox__5A5Fc",padding:"Box-module_padding__dIJ-L",collapsedContent:"Box-module_collapsedContent__yn-0g",collapseTitle:"Box-module_collapseTitle__-R0ge",collapseIcon:"Box-module_collapseIcon__OAiTO",collapsed:"Box-module_collapsed__nf76f"};h(".Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc{background-color:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:4px;position:relative}.Box-module_padding__dIJ-L{margin-bottom:10px;padding:10px}.Box-module_collapseBox__5A5Fc{margin-bottom:10px}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc .Box-module_collapseBox__5A5Fc{background-color:transparent;border:none;border-radius:0;height:auto;padding-bottom:0}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3.Box-module_collapsedContent__yn-0g,.Box-module_collapseBox__5A5Fc .Box-module_collapsedContent__yn-0g.Box-module_collapseBox__5A5Fc{height:0;margin:0;overflow:hidden;padding:0}.Box-module_collapseTitle__-R0ge{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:500;height:40px;justify-content:space-between;padding:5px 10px}.Box-module_collapseTitle__-R0ge:hover{background-color:var(--ps-ui-border)}.Box-module_collapseIcon__OAiTO{display:flex;transition:transform .1s}.Box-module_collapseIcon__OAiTO.Box-module_collapsed__nf76f{display:flex;transform:rotate(90deg)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU0FFRixDQUVBLGlDQU9FLGtCQUFtQixDQUpuQixjQUFlLENBRWYsWUFBYSxDQUhiLGNBQWUsQ0FEZixlQUFnQixDQU9oQixXQUFZLENBRlosNkJBQThCLENBRjlCLGdCQUtGLENBQ0EsdUNBQ0Usb0NBQ0YsQ0FFQSxnQ0FDRSxZQUFhLENBQ2Isd0JBQ0YsQ0FDQSw0REFFRSxZQUFhLENBRGIsdUJBRUYiLCJmaWxlIjoiQm94Lm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmJveCwgLmNvbGxhcHNlQm94IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZm9yZWdyb3VuZCk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuXG4ucGFkZGluZyB7XG4gIG1hcmdpbi1ib3R0b206IDEwcHg7XG4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spy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],$n=n.z.preprocess(e=>e&&Kn.includes(e)?e:"unknown",n.z.enum(Kn).default("unknown")),qn=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],eo=n.z.preprocess(e=>"string"==typeof e&&qn.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),to=n.z.object({names:n.z.array(n.z.preprocess(e=>e||"unknown",n.z.string().min(1))),levels:n.z.array(n.z.array(n.z.number())),numTicks:n.z.number(),maxSelf:n.z.number()}),ao=n.z.object({appName:n.z.string().optional(),name:n.z.string().optional(),startTime:n.z.number().optional(),endTime:n.z.number().optional(),query:n.z.string().optional(),maxNodes:n.z.number().optional(),format:n.z.enum(["single","double"]),sampleRate:n.z.number(),spyName:$n,units:eo});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:to,metadata:ao,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const no={format:"single",jStep:4,jName:3,getBarOffset:(e,t)=>e[t],getBarTotal:(e,t)=>e[t+1],getBarTotalDiff:(e,t)=>0,getBarSelf:(e,t)=>e[t+2],getBarSelfDiff:(e,t)=>0,getBarName:(e,t)=>e[t+3]},oo={format:"double",jStep:7,jName:6,getBarOffset:(e,t)=>e[t]+e[t+3],getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarTotalDiff:(e,t)=>e[t+4]-e[t+1],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarSelfDiff:(e,t)=>e[t+5]-e[t+2],getBarName:(e,t)=>e[t+6]};function io(e){switch(e){case"single":return no;case"double":return oo;default:throw new Error(`Unsupported type: '${e}'`)}}const lo=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),ro=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),so=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(lo),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(ro),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(ro)}),processID:n.z.string(),warnings:n.z.any()}),co=n.z.object({serviceName:n.z.string(),tags:n.z.array(ro)});n.z.object({traceID:n.z.string(),spans:n.z.array(so),processes:n.z.record(co),warnings:n.z.any()});const uo=n.z.object({watermark:n.z.object({}).optional(),startTime:n.z.number(),samples:n.z.array(n.z.number()),durationDelta:n.z.number()});n.z.record(n.z.string(),uo);const bo=22,mo=21.5;function ho(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function go(e){if(null==e)return null;if("number"==typeof e)return{value:e,unit:"",hasLessThan:!1,sign:""};let t=String(e).trim().replace(/\u2212/g,"-");if(!t)return null;let a=!1;t.startsWith("<")&&(a=!0,t=t.slice(1).trim());const n=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!n)return null;const o=n[1]||"",i=n[2],l=(n[3]||"").trim(),r=parseFloat(i);return Number.isFinite(r)?{value:r,unit:l,hasLessThan:a,sign:o}:null}function fo(e,t=!1){if(!e||!t)return e;const a=go(e);if(!a)return e;const{unit:n}=a;let o=n;const i=n.toLowerCase();"ms"===i?o="毫秒":"μs"===i||"µs"===i||"us"===i?o="微秒":"second"===i||"seconds"===i?o="秒":"minute"===i||"minutes"===i||"min"===i||"mins"===i?o="分钟":"hour"===i||"hours"===i?o="小时":"day"===i||"days"===i?o="天":"month"===i||"months"===i?o="月":"year"!==i&&"years"!==i||(o="年");const l=String(e).match(/^([<\s]*)([+\-]?\d*\.?\d+)(.*)$/);if(!l)return e;return`${l[1]||""}${l[2]||""} ${o}`.trim()}const po=[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}];function xo(e){return Math.round(1e4*e)/100}function Go(e,t){return(t-e)/e*100}function Qo(e,t,a){switch(a){case"samples":return new Io(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new vo(e);case"bytes":return new yo(e);case"lock_nanoseconds":return new Bo(e);case"trace_samples":return new Io(e/t,"",!0);default:return console.warn(`Unsupported unit: '${a}'. Defaulting to ''`),new Io(e/t," ")}}class Io{constructor(e,t,a){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",a&&(this.enableSubsecondPrecision=a,this.durations=[[1e3,"ms"],[1e3,"second"],...this.durations],this.suffix="μs",e*=1e6),this.units=t||"";for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e,t,a=!0){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;let o=n.toFixed(2);return 0===n?o="0.00":(n>=0&&n<.01||n<=0&&n>-.01)&&(o="< 0.01"),a?`${o} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`:o}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const a=e/t/this.divider;return`${parseFloat(a.toFixed(5))} ${this.units||`${this.suffix}${1===a||2===this.suffix.length?"":"s"}`}`}}class Bo{constructor(e){this.divider=1,this.multiplier=1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],e/=1e9;for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/1e9/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class vo{constructor(e){this.divider=1,this.suffix="",this.objects=[[1e3,"K"],[1e3,"M"],[1e3,"G"],[1e3,"T"],[1e3,"P"]];for(let t=0;t<this.objects.length;t++){const a=this.objects[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class yo{constructor(e){this.divider=1,this.suffix="bytes",this.bytes=[[1024,"KB"],[1024,"MB"],[1024,"GB"],[1024,"TB"],[1024,"PB"]];for(let t=0;t<this.bytes.length;t++){const a=this.bytes[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;{this.divider*=a[0],e/=a[0];const t=a[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Fo="TAIL",Zo="HEAD";function Lo({mode:e,charSize:t,rectWidth:a,fullText:n,shortText:o}){if(e===Fo){if(t*n.length<=a)return{mode:e,text:n,marginLeft:3};const i=t*o.length;return i<=a?{mode:e,text:o,marginLeft:3}:{mode:e,text:o,marginLeft:-(i-a+3)}}return{mode:e,text:n,marginLeft:3}}function Wo(e){return e===Fo?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}}function No(e,t){if(e===t)return 0;if(0===e)return 100;const a=(t-e)/e*100;return a>100?100:a<-100?-100:a}function Xo(e,t){return o.rgb(e,e,e).alpha(t)}function wo(e,t){if(0===t.length)return t;const a=function(e){switch(e){case"dotnetspy":return/^(?<packageName>.+)\.(.+)\.(.+)\(.*\)$/;case"ebpfspy":case"unknown":return/^(?<packageName>.+)$/;case"gospy":case"scrape":return/^(?<packageName>.*?\/.*?\.|.*?\.|.+)(?<functionName>.*)$/;case"phpspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.php+)(?<line_info>.*)$/;case"pyspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.py+)(?<line_info>.*)$/;case"rbspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.rb+)(?<line_info>.*)$/;case"nodespy":return/^(\.\/node_modules\/)?(?<packageName>[^/]*)(?<filename>.*\.?(jsx?|tsx?)?):(?<functionName>.*):(?<line_info>.*)$/;case"tracing":return/^(?<packageName>.+?):.*$/;case"javaspy":return/^(?<packageName>.+\/)(?<filename>.+\.)(?<functionName>.+)$/;case"pyroscope-rs":return/^(?<packageName>[^::]+)/}return/^(?<packageName>.+)$/}(e),n=t.match(a);return n&&n.groups?n.groups.packageName||"":t}function Co(e,t){const a=function(e,t=0){let a,n,o,i,l,r,s,c;for(a=3&e.length,n=e.length-a,o=t,l=3432918353,r=461845907,c=0;c<n;)s=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,o^=s,o=o<<13|o>>>19,i=5*(65535&o)+((5*(o>>>16)&65535)<<16)&4294967295,o=27492+(65535&i)+(((i>>>16)+58964&65535)<<16);switch(s=0,a){case 3:s^=(255&e.charCodeAt(c+2))<<16;case 2:s^=(255&e.charCodeAt(c+1))<<8;case 1:s^=255&e.charCodeAt(c);default:s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,o^=s}return o^=e.length,o^=o>>>16,o=2246822507*(65535&o)+((2246822507*(o>>>16)&65535)<<16)&4294967295,o^=o>>>13,o=3266489909*(65535&o)+((3266489909*(o>>>16)&65535)<<16)&4294967295,o^=o>>>16,o>>>0}(t,0),n=a%e.colors.length,o=e.colors[n];return o||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function Ro(e){const{goodColor:t,neutralColor:a,badColor:n}=e,l=i.scaleLinear().domain([-100,0,100]).range([t.rgb().toString(),a.rgb().toString(),n.rgb().toString()]);return e=>o(l(e).toString())}o.rgb(148,142,142),o.rgb(200,0,0),o.rgb(0,170,0),o("#48CE73");const Uo=new WeakMap,ko=new WeakMap,Do=new WeakMap,Yo=new WeakMap;const _o={collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",isZh:!1};function Vo(e){var t,a,n,o,i,l,r,s;const c=performance.now(),d=!1!==e.renderRects,u=!1!==e.renderText,b=null!==(t=e.renderMode)&&void 0!==t?t:"normal",m=e.timeBudgetMs,{canvas:h,fitMode:g,units:f,tickToX:p,levels:x,palette:G}=e,{numTicks:Q,sampleRate:I,pxPerTick:B}=e,{rangeMin:v,rangeMax:y}=e,{focusedNode:F,zoom:Z}=e,L=e.messages||_o,W=e.skipCanvasResize?h.width:function(e){if("clientWidth"in e&&"number"==typeof e.clientWidth)return e.clientWidth;return e.width}(h);if(e.skipCanvasResize||(h.width=W),v>=y)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:N}=e,X=io(N),w=h.getContext("2d");if(!w)throw new Error("Could not get ctx");const C=Z.mapOrElse(()=>0,e=>e.i),R=Qo(Q,I,f),U=F.isJust,k=F.mapOrElse(()=>0,e=>e.i),D=U?mo:0,Y=!!e.highlightQuery&&e.highlightQuery.length>0,_=bo*(x.length-k)+(U?mo:0);e.skipCanvasResize||(h.height=_);const V="number"==typeof e.devicePixelRatio?e.devicePixelRatio:"undefined"!=typeof devicePixelRatio?devicePixelRatio:1;!e.skipDprScale&&V>1&&(h.width*=V,h.height*=V,w.scale(V,V)),w.textBaseline="middle",w.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const S=w.measureText("a").width,{names:j}=e,J=function(e){const t=Uo.get(e);if(t)return t;const a=new Map;return Uo.set(e,a),a}(h),M=Y?function(e,t){const a=ko.get(e);if(a){const e=a.get(t);if(e)return e}const n=t.toLowerCase(),o=new Uint8Array(e.length);for(let t=1;t<e.length;t+=1){const a=e[t];a&&a.toLowerCase().includes(n)&&(o[t]=1)}const i=null!=a?a:new Map;return i.set(t,o),ko.set(e,i),o}(j,e.highlightQuery):null,A="single"===e.format?function(e,t,a){const n=`${t}|${a.name}`,o=Do.get(e);if(o){const e=o.get(n);if(e)return e}const i=new Array(e.length);for(let n=0;n<e.length;n+=1){const o=wo(t,e[n]||"")||"";i[n]=Co(a,o)}const l=null!=o?o:new Map;return l.set(n,i),Do.set(e,l),i}(j,e.spyName,G):null,E="double"===e.format?Ro({name:G.name,goodColor:G.goodColor,neutralColor:G.neutralColor,badColor:G.badColor}):null,O=(e,t)=>{const a=e[t+X.jName];return!(!a||a<0||!M)&&1===M[a]},z=null!==(a=e.startI)&&void 0!==a?a:0,T=null!==(n=e.startJ)&&void 0!==n?n:0;if(U&&"highlightOnly"!==b&&0===(null!==(o=e.levelStart)&&void 0!==o?o:0)&&0===z&&0===T){const e=Q*B;d&&(w.beginPath(),w.rect(0,0,Q*B,mo),w.fillStyle=Xo(200,1).rgb().string(),w.fill());const t=F.mapOrElse(()=>"total",e=>function(e,t){return 1===e?t.collapsedLevelsSingular:t.collapsedLevelsPlural.replace("{n}",String(e))}(e.i-1,L)),a=Lo({mode:g,charSize:S,rectWidth:e,fullText:t,shortText:t}),n=0,o=0,i=mo;if(u){w.beginPath(),w.rect(0,0,e,mo),w.save(),w.clip(),w.fillStyle="black";const t=Math.round(Math.max(n,0));w.fillText(a.text,t+a.marginLeft,o+i/2+1),w.restore()}}const H=Math.max(0,null!==(i=e.levelStart)&&void 0!==i?i:0),P=x.length-k,K=Math.min(P,null!==(l=e.levelEnd)&&void 0!==l?l:P),$=Math.max(H,null!==(r=e.startI)&&void 0!==r?r:H),q=Math.max(0,null!==(s=e.startJ)&&void 0!==s?s:0),{spyName:ee}=e,te=(t,a,n,o,i)=>{const l={level:t,j:a,i:n+F.mapOrElse(()=>0,e=>e.i),names:j,collapsed:o,selectedLevel:C,highlightModeOn:Y,isHighlighted:i,spyName:ee,palette:G,colorByNameIndex:A,diffColorFn:E};switch(N){case"single":return function(e){const t=Jo(e);if(t)return t;const a=io("single"),n=e.selectedLevel>e.i?.33:1;let o=e.level[e.j+a.jName];void 0===o&&(console.warn("Could nto find level",{l:e.j,jName:a.jName,level:e.level}),o=-1);if(e.colorByNameIndex&&o>=0&&e.colorByNameIndex[o])return e.colorByNameIndex[o].alpha(n);const i=e.names[o]||"",l=wo(e.spyName,i)||"";return Co(e.palette,l).alpha(n)}({...l});case"double":return function(e){const t=Jo(e);if(t)return t;const a=e.selectedLevel>e.i?.33:1,{leftRatio:n,rightRatio:o}=function(e,t,a,n){const o=oo;return a&&n?{leftRatio:o.getBarTotalLeft(e,t)/a,rightRatio:o.getBarTotalRght(e,t)/n}:(console.error("Properties 'rightTicks' and 'leftTicks' are required. Can't calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),i=xo(n),l=xo(o);if(e.diffColorFn)return e.diffColorFn(No(i,l)).alpha(a);return function(e,t,a){const n=No(t,a);return Ro(e)(n)}(e.palette,i,l).alpha(a)}({...l,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${N}`)}};if("highlightOnly"===b&&Y&&d){const e=function(e,t){const a=Yo.get(e);if(a)return a;const n=io(t),o=new Map;for(let t=0;t<e.length;t+=1){const a=e[t];for(let e=0;e<a.length;e+=n.jStep){const i=n.getBarName(a,e);if(void 0===i||i<0)continue;const l=o.get(i);l?l.push({i:t,j:e}):o.set(i,[{i:t,j:e}])}}return Yo.set(e,o),o}(x,N),t=[];for(let e=1;e<j.length;e+=1)M&&1===M[e]&&t.push(e);for(let a=0;a<t.length;a+=1){const n=t[a],o=e.get(n);if(o)for(let e=0;e<o.length;e+=1){const t=o[e],a=t.i-k;if(t.i<k||a<H||a>=K)continue;const n=x[t.i],i=p(X.getBarOffset(n,t.j)),l=a*bo+D,r=mo,s=X.getBarTotal(n,t.j),c=s*B<=5,d=s*B-(c?0:.5);if(d<=0)continue;w.beginPath(),w.rect(i,l,d,r);const u=te(n,t.j,a,c,!0);w.fillStyle=u.string(),w.fill()}}return{done:!0,nextI:K,nextJ:0}}for(let e=$;e<K;e+=1){const t=x[k+e];if(!t)throw new Error(`Could not find level: ${k+e}`);let a=e===$?q:0;for(;a<t.length;a+=X.jStep){const n=X.getBarOffset(t,a),o=p(n),i=e*bo+D,l=mo,r=Y&&O(t,a);let s=X.getBarTotal(t,a);const h=s*B<=5;if(h)for(;a<t.length-X.jStep&&n+s===X.getBarOffset(t,a+X.jStep)&&X.getBarTotal(t,a+X.jStep)*B<=5&&r===(Y&&O(t,a+X.jStep));)a+=X.jStep,s+=X.getBarTotal(t,a);const f=s*B-(h?0:.5);if(w.beginPath(),w.rect(o,i,f,l),d){if("forceGrey"===b)w.fillStyle=Xo(200,.66).rgb().string();else{const n=te(t,a,e,h,r);w.fillStyle=n.string()}w.fill()}if(!u||h||"forceGrey"===b){if(m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:a+X.jStep};continue}if(f<20)continue;const x=So(j,a,N,t),G=Lo({mode:g,charSize:S,rectWidth:f,fullText:jo(x,s,I,R,L,J),shortText:x});w.save(),w.clip(),w.fillStyle="black";const Q=Math.round(Math.max(o,0));if(w.fillText(G.text,Q+G.marginLeft,i+l/2+1),w.restore(),m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:a+X.jStep}}if(m&&performance.now()-c>m)return{done:!1,nextI:e+1,nextJ:0}}return{done:!0,nextI:K,nextJ:0}}function So(e,t,a,n){let o=n[t+io(a).jName];void 0===o&&(o=-1);const i=e[o];return i||(console.warn("Could not find function name for",{j:t,format:a,level:n,names:e}),"")}function jo(e,t,a,n,o,i){let l=null==i?void 0:i.get(t);if(!l){const e=n.format(t,a);l=fo(e,!!o.isZh)||e,null==i||i.set(t,l)}return`${e} (${l})`}function Jo({collapsed:e,highlightModeOn:t,isHighlighted:a}){return e||t&&!a?Xo(200,.66):null}class Mo{constructor(e,t,a,n,o,i,l,r){if(this.flamebearer=e,this.canvas=t,this.focusedNode=a,this.fitMode=n,this.highlightQuery=o,this.zoom=i,this.palette=l,this.messages=r,this.cachedRange=null,this.cachedPxPerTick=null,this.tickToX=e=>{var t;const a=this.cachedRange?this.cachedRange.rangeMin:this.getRange().rangeMin,n=null!==(t=this.cachedPxPerTick)&&void 0!==t?t:this.pxPerTick();return(e-this.flamebearer.numTicks*a)*n},this.xyToBarPosition=e=>{const{ff:t}=this,{i:a,j:n}=this.xyToBarIndex(e.x,e.y),o=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),i=this.flamebearer.levels[a];if(!i)throw new Error(`Could not find level: '${a}'`);const l=Math.max(this.tickToX(t.getBarOffset(i,n)),0);return{x:l,y:Math.max((a-o)*bo,0),width:Math.min(this.tickToX(t.getBarOffset(i,n)+t.getBarTotal(i,n))-l,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:a}=this.xyToBarIndex(e.x,e.y),n=this.flamebearer.levels[t];if(!n)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=no;return{format:"single",name:this.flamebearer.names[e.getBarName(n,a)],self:e.getBarSelf(n,a),offset:e.getBarOffset(n,a),total:e.getBarTotal(n,a)}}case"double":{const e=oo;return{format:"double",barTotal:e.getBarTotal(n,a),totalLeft:e.getBarTotalLeft(n,a),totalRight:e.getBarTotalRght(n,a),totalDiff:e.getBarTotalDiff(n,a),name:this.flamebearer.names[e.getBarName(n,a)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:a,j:n}=this.xyToBarIndex(e,t);if(-1===n||-1===a)return!1}catch(e){return!1}return!0},this.zoom=i,this.focusedNode=a,this.flamebearer=e,this.canvas=t,this.highlightQuery=o,this.ff=io(e.format),this.palette=l,this.messages=r,a.isJust&&i.isJust&&i.value.i<a.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(e){var t;const{rangeMin:a,rangeMax:n,pxPerTick:o}=this.updateCachedMetrics(),i=null!==(t=null==e?void 0:e.highlightQueryOverride)&&void 0!==t?t:this.highlightQuery,l={canvas:this.canvas,format:this.flamebearer.format,numTicks:this.flamebearer.numTicks,sampleRate:this.flamebearer.sampleRate,names:this.flamebearer.names,levels:this.flamebearer.levels,spyName:this.flamebearer.spyName,units:this.flamebearer.units,maxSelf:this.flamebearer.maxSelf,rangeMin:a,rangeMax:n,fitMode:this.fitMode,highlightQuery:i,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:o,tickToX:e=>(e-this.flamebearer.numTicks*a)*o,palette:this.palette,messages:this.messages,renderRects:null==e?void 0:e.renderRects,renderText:null==e?void 0:e.renderText,renderMode:null==e?void 0:e.renderMode,levelStart:null==e?void 0:e.levelStart,levelEnd:null==e?void 0:e.levelEnd,startI:null==e?void 0:e.startI,startJ:null==e?void 0:e.startJ,timeBudgetMs:null==e?void 0:e.timeBudgetMs,skipCanvasResize:null==e?void 0:e.skipCanvasResize,skipDprScale:null==e?void 0:e.skipDprScale,devicePixelRatio:null==e?void 0:e.devicePixelRatio},{format:r}=this.flamebearer;switch(r){case"single":return Vo({...l,format:"single"});case"double":return Vo({...l,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});default:throw new Error(`Invalid format: '${r}'`)}}pxPerTick(){if(null!==this.cachedPxPerTick)return this.cachedPxPerTick;const{rangeMin:e,rangeMax:t}=this.getRange(),a=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=a,a}updateCachedMetrics(){const{rangeMin:e,rangeMax:t}=this.getRange(),a=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=a,{rangeMin:e,rangeMax:t,pxPerTick:a}}getRange(){const{ff:e}=this,t=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},a=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},{zoom:n,focusedNode:o}=this;return n.match({Just:e=>o.match({Just:n=>{const o=a(n),i=t(e);return o.rangeMax-o.rangeMin<i.rangeMax-i.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),a(n)):t(e)},Nothing:()=>t(e)}),Nothing:()=>o.match({Just:e=>a(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return"clientWidth"in this.canvas&&"number"==typeof this.canvas.clientWidth?this.canvas.clientWidth:this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:a}=this;let n=0,o=t.length-a.jStep;for(;n<=o;){const i=a.jStep*(n/a.jStep+o/a.jStep>>1),l=this.tickToX(a.getBarOffset(t,i)),r=this.tickToX(a.getBarOffset(t,i)+a.getBarTotal(t,i));if(l<=e&&r>=e)return r-l>5?i:-1;l>e?o=i-a.jStep:n=i+a.jStep}return-1}xyToBarIndex(e,t){if(e<0||t<0)throw new Error(`x and y must be bigger than 0. x = ${e}, y = ${t}`);if(this.isFocused()&&t<=mo)return{i:0,j:0};const a=this.isFocused()?t-mo:t,n=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),o=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0})}),i=Math.floor(a/bo)+o;if(i>=0&&i<this.flamebearer.levels.length){const t=this.flamebearer.levels[i];if(!t)throw new Error(`Could not find level: '${i}'`);return{i:i,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?a.Maybe.of(n):a.Maybe.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(a=>{const{i:n,j:o}=this.xyToBarIndex(e,t);return{i:n,j:o,...this.xyToBarPosition(a),...this.xyToBarData(a)}})}}function Ao(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(a=Ao(e[t]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function Eo(){for(var e,t,a=0,n="",o=arguments.length;a<o;a++)(e=arguments[a])&&(t=Ao(e))&&(n&&(n+=" "),n+=t);return n}var Oo="NoData-module_noData__WuuID";function zo(){return e.jsx("div",{"data-testid":"no-data",className:Oo,children:e.jsx("span",{children:"No data available"})})}h(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var To,Ho,Po={},Ko={};function $o(){return To||(To=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",a=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n="f01e",o="M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Ko)),Ko}function qo(){return Ho||(Ho=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=$o();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faRedo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Po)),Po}var ei,ti=qo(),ai={};function ni(){return ei||(ei=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",a=[],n="f0c5",o="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";e.definition={prefix:"fas",iconName:t,icon:[448,512,a,n,o]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(ai)),ai}var oi,ii=ni(),li={};function ri(){return oi||(oi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",a=[],n="f591",o="M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(li)),li}var si,ci,di=ri(),ui={},bi={};function mi(){return si||(si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",a=["compress-alt"],n="f422",o="M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(bi)),bi}function hi(){return ci||(ci=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=mi();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCompressAlt=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(ui)),ui}var gi=hi();const fi=e=>!!e&&"o"===e[0],pi=s.unstable_batchedUpdates,xi=(e,t)=>!0===e||!(!e||!e[t]),Gi=(e,t)=>"function"==typeof e?e(t):e,Qi="_szhsinMenu",Ii=(e,t)=>Object.defineProperty(t,Qi,{value:e}),Bi=(e,t)=>(t&&Object.keys(t).forEach(a=>{const n=e[a],o=t[a];e[a]="function"==typeof o&&n?(...e)=>{o(...e),n(...e)}:o}),e),vi=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:a,overflowY:n}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+n+a))return e}};function yi(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function Fi(e,t){for(let a=0;a<e.length;a++)if(e[a]===t)return a;return-1}const Zi=({block:e,element:a,modifiers:n,className:o})=>t.useMemo(()=>{const t=a?`${e}__${a}`:e;let i=t;n&&Object.keys(n).forEach(e=>{const a=n[e];a&&(i+=` ${t}--${!0===a?e:`${e}-${a}`}`)});let l="function"==typeof o?o(n):o;return"string"==typeof l&&(l=l.trim(),l&&(i+=` ${l}`)),i},[e,a,n,o]),Li="szh-menu",Wi=t.createContext(),Ni=t.createContext({}),Xi=t.createContext({}),wi=t.createContext({}),Ci=t.createContext({}),Ri=t.createContext({}),Ui=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),ki=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Di=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),Yi=Object.freeze({FIRST:"first",LAST:"last"}),_i=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),Vi="absolute",Si="none",ji={preventScroll:!0},Ji=Ii("MenuButton",t.forwardRef(function({className:a,isOpen:n,disabled:o,children:i,...l},r){const s=t.useMemo(()=>({open:n}),[n]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":n,"aria-disabled":o||void 0,type:"button",disabled:o,...l,ref:r,className:Zi({block:"szh-menu-button",modifiers:s,className:a}),children:i})})),Mi=({className:a,containerRef:n,containerProps:o,children:i,isOpen:l,theming:r,transition:s,onClose:c})=>{const d=xi(s,"item");return e.jsx("div",{...Bi({onKeyDown:({key:e})=>{if(e===Ui.ESC)Gi(c,{key:e,reason:Di.CANCEL})},onBlur:e=>{l&&!e.currentTarget.contains(e.relatedTarget)&&Gi(c,{reason:Di.BLUR})}},o),className:Zi({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:r,itemTransition:d}),[r,d]),className:a}),style:{position:"absolute",...o?.style},ref:n,children:i})},Ai=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(a,n,o)=>{t?e||(e=setTimeout(()=>{e=0,n()},a)):o?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},Ei=(e,t)=>Math.round(e)===t?e:t,Oi=(e,t,a,n)=>{const o=(e=>{const t=e.getBoundingClientRect();return t.width=Ei(t.width,e.offsetWidth),t.height=Ei(t.height,e.offsetHeight),t})(t),i=e.getBoundingClientRect(),l=a===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:a.getBoundingClientRect(),r=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),a=isNaN(t[0])?0:t[0],n=isNaN(t[1])?a:t[1];return{top:a,right:n,bottom:isNaN(t[2])?a:t[2],left:isNaN(t[3])?n:t[3]}})(n),s=e=>e+i.left-l.left-r.left,c=e=>e+i.left+o.width-l.right+r.right,d=e=>e+i.top-l.top-r.top,u=e=>e+i.top+o.height-l.bottom+r.bottom;return{menuRect:o,containerRect:i,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:d,getBottomOverflow:u,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{const a=c(e);a>0&&(t=s(e-=a),t<0&&(e-=t))}return e},confineVertically:e=>{let t=d(e);if(t<0)e-=t;else{const a=u(e);a>0&&(t=d(e-=a),t<0&&(e-=t))}return e}}},zi=({anchorRect:e,containerRect:t,menuRect:a,placeLeftorRightY:n,placeLeftX:o,placeRightX:i,getLeftOverflow:l,getRightOverflow:r,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:b,position:m})=>{let h,g,f,p=b,x=n;"initial"!==m&&(x=c(x),"anchor"===m&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-a.height))),"left"===p?(h=o,"initial"!==m&&(g=l(h),g<0&&(f=r(i),(f<=0||-g>f)&&(h=i,p="right")))):(h=i,"initial"!==m&&(f=r(h),f>0&&(g=l(o),(g>=0||-g<f)&&(h=o,p="left")))),"auto"===m&&(h=s(h));const G=u?(({arrowRef:e,menuY:t,anchorRect:a,containerRect:n,menuRect:o})=>{let i=a.top-n.top-t+a.height/2;const l=1.25*e.current.offsetHeight;return i=Math.max(l,i),i=Math.min(i,o.height-l),i})({menuY:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowY:G,x:h,y:x,computedDirection:p}},Ti=({anchorRect:e,containerRect:t,menuRect:a,placeToporBottomX:n,placeTopY:o,placeBottomY:i,getTopOverflow:l,getBottomOverflow:r,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:b,position:m})=>{let h,g,f,p="top"===b?"top":"bottom",x=n;"initial"!==m&&(x=s(x),"anchor"===m&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-a.width))),"top"===p?(h=o,"initial"!==m&&(g=l(h),g<0&&(f=r(i),(f<=0||-g>f)&&(h=i,p="bottom")))):(h=i,"initial"!==m&&(f=r(h),f>0&&(g=l(o),(g>=0||-g<f)&&(h=o,p="top")))),"auto"===m&&(h=c(h));const G=u?(({arrowRef:e,menuX:t,anchorRect:a,containerRect:n,menuRect:o})=>{let i=a.left-n.left-t+a.width/2;const l=1.25*e.current.offsetWidth;return i=Math.max(l,i),i=Math.min(i,o.width-l),i})({menuX:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowX:G,x:x,y:h,computedDirection:p}},Hi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function Pi(e,t){"function"==typeof e?e(t):e.current=t}const Ki=(e,a)=>t.useMemo(()=>e?a?t=>{Pi(e,t),Pi(a,t)}:e:a,[e,a]),$i=({ariaLabel:a,menuClassName:n,menuStyle:o,arrow:i,arrowProps:l={},anchorPoint:r,anchorRef:c,containerRef:d,containerProps:u,externalRef:b,parentScrollingRef:m,align:h="start",direction:g="bottom",position:f="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:G,captureFocus:Q=!0,state:I,endTransition:B,isDisabled:v,menuItemFocus:y,gap:F=0,shift:Z=0,children:L,onClose:W,focusProps:N,...X})=>{const[w,C]=t.useState({x:-9999,y:-9999}),[R,U]=t.useState({}),[k,D]=t.useState(),[Y,_]=t.useState(g),[V]=t.useState(Ai),[S,j]=t.useReducer(e=>e+1,1),{transition:J,boundingBoxRef:M,boundingBoxPadding:A,rootMenuRef:E,rootAnchorRef:O,scrollNodesRef:z,reposition:T,viewScroll:H,submenuCloseDelay:P}=t.useContext(Ri),{submenuCtx:K,reposSubmenu:$=G}=t.useContext(Xi),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ae,dispatch:ne,updateItems:oe}=(e=>{const[a,n]=t.useState(),o=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,i=t.useCallback((t,a)=>{const{items:i}=o;if(t)if(a)i.push(t);else{const a=i.indexOf(t);a>-1&&(i.splice(a,1),t.contains(document.activeElement)&&(e.current.focus(ji),n()))}else o.items=[];o.hoverIndex=-1,o.sorted=!1},[o,e]),l=t.useCallback((t,a,i)=>{const{items:l,hoverIndex:r}=o,s=()=>{if(o.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");l.sort((e,a)=>Fi(t,e)-Fi(t,a)),o.sorted=!0};let c,d=-1;switch(t){case ki.RESET:break;case ki.SET:c=a;break;case ki.UNSET:c=e=>e===a?void 0:e;break;case ki.FIRST:s(),d=0,c=l[d];break;case ki.LAST:s(),d=l.length-1,c=l[d];break;case ki.SET_INDEX:s(),d=i,c=l[d];break;case ki.INCREASE:s(),d=r,d<0&&(d=l.indexOf(a)),d++,d>=l.length&&(d=0),c=l[d];break;case ki.DECREASE:s(),d=r,d<0&&(d=l.indexOf(a)),d--,d<0&&(d=l.length-1),c=l[d];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(d=-1),n(c),o.hoverIndex=d},[e,o]);return{hoverItem:a,dispatch:l,updateItems:i}})(q),ie=fi(I),le=xi(J,"open"),re=xi(J,"close"),se=z.current,ce=t.useCallback(e=>{const t=q.current,a=d.current;if(!t||!a)return;const n=c?c.current?.getBoundingClientRect():r?{left:r.x,right:r.x,top:r.y,bottom:r.y,width:0,height:0}:null;if(!n)return void("production"!==process.env.NODE_ENV&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open."));se.menu||(se.menu=(M?M.current:vi(E.current))||window);const o=Oi(a,t,se.menu,A);let{arrowX:l,arrowY:s,x:u,y:b,computedDirection:m}=(({arrow:e,align:t,direction:a,gap:n,shift:o,position:i,anchorRect:l,arrowRef:r,positionHelpers:s})=>{const{menuRect:c,containerRect:d}=s,u="left"===a||"right"===a;let b=u?n:o,m=u?o:n;if(e){const e=r.current;u?b+=e.offsetWidth:m+=e.offsetHeight}const h=l.left-d.left-c.width-b,g=l.right-d.left+b,f=l.top-d.top-c.height-m,p=l.bottom-d.top+m;let x,G;"end"===t?(x=l.right-d.left-c.width,G=l.bottom-d.top-c.height):"center"===t?(x=l.left-d.left-(c.width-l.width)/2,G=l.top-d.top-(c.height-l.height)/2):(x=l.left-d.left,G=l.top-d.top),x+=b,G+=m;const Q={...s,anchorRect:l,placeLeftX:h,placeRightX:g,placeLeftorRightY:G,placeTopY:f,placeBottomY:p,placeToporBottomX:x,arrowRef:r,arrow:e,direction:a,position:i};switch(a){case"left":case"right":return zi(Q);default:return Ti(Q)}})({arrow:i,align:h,direction:g,gap:F,shift:Z,position:f,anchorRect:n,arrowRef:ee,positionHelpers:o});const{menuRect:x}=o,G=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=o;let a,n;const i=t(b);if(i>0)a=G-i,n=i;else{const t=e(b);t<0&&(a=G+t,n=0-t,a>=0&&(b-=t))}a>=0&&D({height:a,overflowAmt:n})}i&&U({x:l,y:s}),C({x:u,y:b}),_(m)},[i,h,A,g,F,Z,f,p,r,c,d,M,E,se]);Hi(()=>{ie&&(ce(),te.current&&j()),te.current=ie},[ie,ce,$]),Hi(()=>{k&&!x&&(q.current.scrollTop=0)},[k,x]),Hi(()=>oe,[oe]),t.useEffect(()=>{let{menu:e}=se;if(!ie||!e)return;if(e=e.addEventListener?e:window,!se.anchors){se.anchors=[];let t=vi(O&&O.current);for(;t&&t!==e;)se.anchors.push(t),t=vi(t)}let t=H;if(se.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const a=()=>{"auto"===t?pi(()=>ce(!0)):Gi(W,{reason:Di.SCROLL})},n=se.anchors.concat("initial"!==H?e:[]);return n.forEach(e=>e.addEventListener("scroll",a)),()=>n.forEach(e=>e.removeEventListener("scroll",a))},[O,se,ie,W,H,ce]);const de=!!k&&k.overflowAmt>0;t.useEffect(()=>{if(de||!ie||!m)return;const e=()=>pi(ce),t=m.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[ie,de,m,ce]),t.useEffect(()=>{if(!ie||"function"!=typeof ResizeObserver||"initial"===T)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):s.flushSync(()=>{ce(),j()})})),a={box:"border-box"};t.observe(q.current,a);const n=c?.current;return n&&t.observe(n,a),()=>t.disconnect()},[ie,T,c,ce]),t.useEffect(()=>{if(!ie)return ne(ki.RESET),void(re||D());const{position:e,alwaysUpdate:t}=y||{},a=()=>{e===Yi.FIRST?ne(ki.FIRST):e===Yi.LAST?ne(ki.LAST):e>=-1&&ne(ki.SET_INDEX,void 0,e)};if(t)a();else if(Q){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(ji),a())},le?170:100);return()=>clearTimeout(e)}},[ie,le,re,Q,y,ne]);const ue=t.useMemo(()=>({isParentOpen:ie,submenuCtx:V,dispatch:ne,updateItems:oe}),[ie,V,ne,oe]);let be,me;k&&(x?me=k.overflowAmt:be=k.height);const he=t.useMemo(()=>({reposSubmenu:S,submenuCtx:V,overflow:p,overflowAmt:me,parentMenuRef:q,parentDir:Y}),[S,V,p,me,Y]),ge=be>=0?{maxHeight:be,overflow:p}:void 0,fe=t.useMemo(()=>({state:I,align:h,dir:Y}),[I,h,Y]),pe=t.useMemo(()=>({dir:Y}),[Y]),xe=Zi({block:Li,element:"arrow",modifiers:pe,className:l.className}),Ge=e.jsxs("ul",{role:"menu","aria-label":a,...yi(v),...Bi({onPointerEnter:K?.off,onPointerMove:e=>{e.stopPropagation(),V.on(P,()=>{ne(ki.RESET),q.current.focus(ji)})},onPointerLeave:e=>{e.target===e.currentTarget&&V.off()},onKeyDown:e=>{switch(e.key){case Ui.HOME:ne(ki.FIRST);break;case Ui.END:ne(ki.LAST);break;case Ui.UP:ne(ki.DECREASE,ae);break;case Ui.DOWN:ne(ki.INCREASE,ae);break;case Ui.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Li)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===I&&D(),Gi(B)}},X),ref:Ki(b,q),className:Zi({block:Li,modifiers:fe,className:n}),style:{...o,...ge,margin:0,display:"closed"===I?"none":void 0,position:Vi,left:w.x,top:w.y},children:[i&&e.jsx("li",{"aria-hidden":!0,...l,className:xe,style:{display:"block",position:Vi,left:R.x,top:R.y,...l.style},ref:ee}),e.jsx(Xi.Provider,{value:he,children:e.jsx(Ni.Provider,{value:ue,children:e.jsx(Wi.Provider,{value:ae,children:Gi(L,fe)})})})]});return u?e.jsx(Mi,{...u,isOpen:ie,children:Ge}):Ge},qi=t.forwardRef(function({"aria-label":a,className:n,containerProps:o,initialMounted:i,unmountOnClose:l,transition:r,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,reposition:b="auto",submenuOpenDelay:m=300,submenuCloseDelay:h=150,viewScroll:g="initial",portal:f,theming:p,onItemClick:x,...G},Q){const I=t.useRef(null),B=t.useRef({}),{anchorRef:v,state:y,onClose:F}=G,Z=t.useMemo(()=>({initialMounted:i,unmountOnClose:l,transition:r,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,rootMenuRef:I,rootAnchorRef:v,scrollNodesRef:B,reposition:b,viewScroll:g,submenuOpenDelay:m,submenuCloseDelay:h}),[i,l,r,c,v,d,u,b,g,m,h]),L=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||Gi(x,e);let a=e.keepOpen;void 0===a&&(a=t&&e.key===Ui.SPACE),a||Gi(F,{value:e.value,key:e.key,reason:Di.CLICK})},handleClose(e){Gi(F,{key:e,reason:Di.CLICK})}}),[x,F]);if(!y)return null;const W=e.jsx(Ri.Provider,{value:Z,children:e.jsx(wi.Provider,{value:L,children:e.jsx($i,{...G,ariaLabel:a||"Menu",externalRef:Q,containerRef:I,containerProps:{className:n,containerRef:I,containerProps:o,theming:p,transition:r,onClose:F}})})});return!0===f&&"undefined"!=typeof document?s.createPortal(W,document.body):f?f.target?s.createPortal(W,f.target):f.stablePosition?null:W:W}),el=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],tl=e=>({_s:e,status:el[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),al=e=>e?6:5,nl=(e,t,a,n,o)=>{clearTimeout(n.current);const i=tl(e);t(i),a.current=i,o&&o({current:i})},ol=({enter:e=!0,exit:a=!0,preEnter:n,preExit:o,timeout:i,initialEntered:l,mountOnEnter:r,unmountOnExit:s,onStateChange:c}={})=>{const[d,u]=t.useState(()=>tl(l?2:al(r))),b=t.useRef(d),m=t.useRef(),[h,g]=(e=>"object"==typeof e?[e.enter,e.exit]:[e,e])(i),f=t.useCallback(()=>{const e=((e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return al(t)}})(b.current._s,s);e&&nl(e,u,b,m,c)},[c,s]);return[d,t.useCallback(t=>{const i=e=>{switch(nl(e,u,b,m,c),e){case 1:h>=0&&(m.current=setTimeout(f,h));break;case 4:g>=0&&(m.current=setTimeout(f,g));break;case 0:case 3:m.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(i,e)}},l=b.current.isEnter;"boolean"!=typeof t&&(t=!l),t?!l&&i(e?n?0:1:2):l&&i(a?o?3:4:al(s))},[f,c,e,a,n,o,h,g,s]),f]},il=({initialOpen:e,initialMounted:a,unmountOnClose:n,transition:o,transitionTimeout:i=500,onMenuChange:l}={})=>{const r=xi(o,"open"),s=xi(o,"close"),[{status:c},d,u]=ol({initialEntered:e,mountOnEnter:!a,unmountOnExit:n,timeout:i,enter:r,exit:s,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!l||e&&r&&t||!e&&s&&t||l({open:e})},[l,r,s])});return[{state:_i[c],endTransition:u},d]},ll=parseInt(t.version)<19,rl=t.forwardRef(function({"aria-label":a,captureFocus:n,initialOpen:o,menuButton:i,instanceRef:l,onMenuChange:r,...s},c){const[d,u,b]=(e=>{const[a,n]=il(e),[o,i]=t.useState();return[{menuItemFocus:o,...a},n,(e,t)=>{i({position:e,alwaysUpdate:t}),n(!0)}]})({...s,onMenuChange:r}),{state:m}=d,h=fi(m),g=t.useRef(null),f=((e,a)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof a)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=t.useState({});return{onMouseDown:()=>{n.v=e&&"closed"!==e},onClick:e=>n.v?n.v=!1:a(!0,e)}})(m,(e,t)=>b(t.detail?void 0:Yi.FIRST)),p=t.useCallback(e=>{u(!1),e.key&&g.current.focus()},[u]),x=Gi(i,{open:h});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const G={...Bi({onKeyDown:e=>{switch(e.key){case Ui.UP:b(Yi.LAST);break;case Ui.DOWN:b(Yi.FIRST);break;default:return}e.preventDefault()},...f},x.props),ref:Ki(ll?x.ref:x.props.ref,g)};"MenuButton"===x.type[Qi]&&(G.isOpen=h);const Q=t.cloneElement(x,G);return t.useImperativeHandle(l,()=>({openMenu:b,closeMenu:()=>u(!1)})),e.jsxs(t.Fragment,{children:[Q,e.jsx(qi,{...s,...d,"aria-label":a||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:g,ref:c,onClose:p})]})}),sl=(e,a,n,o)=>{const[i,l,r]=(e=>{const[a,n]=t.useState(!1);return t.useEffect(()=>{!e&&n(!1)},[e]),[a,()=>!a&&n(!0),()=>n(!1)]})(n),{submenuCloseDelay:s}=t.useContext(Ri),{isParentOpen:c,submenuCtx:d,dispatch:u,updateItems:b}=t.useContext(Ni),m=()=>{!n&&!o&&u(ki.SET,e.current)},h=()=>{!o&&u(ki.UNSET,e.current)};return((e,t,a)=>{Hi(()=>{if("production"!==process.env.NODE_ENV&&!a)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const n=t.current;return a(n,!0),()=>{a(n)}},[e,t,a])})(o,e,b),t.useEffect(()=>{n&&c&&a.current&&a.current.focus()},[a,n,c]),{mouseOver:i,setHover:m,onBlur:e=>{n&&!e.currentTarget.contains(e.relatedTarget)&&h()},onPointerMove:e=>{o||(e.stopPropagation(),l(),d.on(s,m,m))},onPointerLeave:(e,t)=>{r(),d.off(),!t&&h()}}},cl=((a,n)=>{const o=t.memo(n),i=t.forwardRef((a,n)=>{const i=t.useRef(null);return e.jsx(o,{...a,itemRef:i,externalRef:n,isHovering:t.useContext(Wi)===i.current})});return i.displayName=`WithHovering(${a})`,i})("MenuItem",function({className:a,value:n,href:o,type:i,checked:l,disabled:r,children:s,onClick:c,isHovering:d,itemRef:u,externalRef:b,...m}){const h=!!r,{mouseOver:g,setHover:f,...p}=sl(u,u,d,h),x=t.useContext(wi),G=t.useContext(Ci),Q="radio"===i,I="checkbox"===i,B=!(!o||h||Q||I),v=Q?G.value===n:!!I&&!!l,y=e=>{if(h)return e.stopPropagation(),void e.preventDefault();const t={value:n,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),I&&(t.checked=!v),Q&&(t.name=G.name),Gi(c,t),Q&&Gi(G.onRadioChange,t),x.handleClick(t,I||Q)},F=t.useMemo(()=>({type:i,disabled:h,hover:g||d,checked:v,anchor:B}),[i,h,g,d,v,B]),Z=Bi({...p,onPointerDown:f,onKeyDown:e=>{if(d)switch(e.key){case Ui.ENTER:e.preventDefault();case Ui.SPACE:B?u.current.click():y(e)}},onClick:y},m),L={role:Q?"menuitemradio":I?"menuitemcheckbox":"menuitem","aria-checked":Q||I?v:void 0,...yi(h,d),...Z,ref:Ki(b,u),className:Zi({block:Li,element:"item",modifiers:F,className:a}),children:t.useMemo(()=>Gi(s,F),[s,F])};return B?e.jsx("li",{role:Si,children:e.jsx("a",{href:o,...L})}):e.jsx("li",{...L})}),dl=t.memo(t.forwardRef(function({className:t,...a},n){return e.jsx("li",{role:Si,...a,ref:n,className:Zi({block:Li,element:"header",className:t})})}));var ul="canvas-module_canvas__Iiaz4",bl="canvas-module_textCanvas__eFxM4";h(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}.canvas-module_textCanvas__eFxM4{left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YsQ0FFQSxpQ0FFRSxNQUFPLENBR1AsbUJBQW9CLENBSnBCLGlCQUFrQixDQUVsQixLQUFNLENBQ04sVUFBVyxDQUVYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuXG4udGV4dENhbnZhcyB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMDtcbiAgdG9wOiAwO1xuICB3aWR0aDogMTAwJTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var ml="Highlight-module_highlight__1VV-X";function hl(a){const{canvasRef:n,barHeight:o,xyToHighlightData:i,zoom:l}=a,[r,s]=t.useState({height:"0px",visibility:"hidden"}),c=t.useRef(null),d=t.useRef(null),u=t.useRef(null);t.useEffect(()=>{s({height:"0px",visibility:"hidden"})},[l]);const b=e=>{const t=c.current;if(!t)return void s(e);const a=u.current;a&&a.left===e.left&&a.top===e.top&&a.width===e.width&&a.visibility===e.visibility||(u.current=e,t.style.visibility=String(e.visibility||""),void 0!==e.left&&(t.style.left=String(e.left)),void 0!==e.top&&(t.style.top=String(e.top)),void 0!==e.width&&(t.style.width=String(e.width)),void 0!==e.height&&(t.style.height=String(e.height)))},m=e=>{d.current&&cancelAnimationFrame(d.current);const t=e.offsetX,a=e.offsetY;d.current=requestAnimationFrame(()=>{const e=i(t,a);if(e.isJust){const t=e.value;b({visibility:"visible",height:`${o}px`,...t})}else h()})},h=()=>{b({...u.current||{},visibility:"hidden"})};return t.useEffect(()=>{const e=n.current;return e?(e.addEventListener("mousemove",m),e.addEventListener("mouseout",h),()=>{e.removeEventListener("mousemove",m),e.removeEventListener("mouseout",h),d.current&&cancelAnimationFrame(d.current)}):()=>{}},[n.current,m,h]),e.jsx("div",{ref:c,className:ml,style:r,"data-testid":"flamegraph-highlight"})}h(".Highlight-module_highlight__1VV-X{background:#ffffff40;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhpZ2hsaWdodC5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUdFLG9CQUFxQixDQUNyQixzQkFBdUIsQ0FGdkIsbUJBQW9CLENBRHBCLGlCQUFrQixDQUlsQixTQUNGIiwiZmlsZSI6IkhpZ2hsaWdodC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmhpZ2hsaWdodCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIGJhY2tncm91bmQ6ICNmZmZmZmY0MDtcbiAgbWl4LWJsZW5kLW1vZGU6IG92ZXJsYXk7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var gl="ContextMenuHighlight-module_highlightContextMenu__WI1nK";h(".ContextMenuHighlight-module_highlightContextMenu__WI1nK{background:#ffffff8c;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51SGlnaGxpZ2h0Lm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBSUUsb0JBQXFCLENBQ3JCLHNCQUF1QixDQUh2QixtQkFBb0IsQ0FEcEIsaUJBQWtCLENBS2xCLFNBQ0YiLCJmaWxlIjoiQ29udGV4dE1lbnVIaWdobGlnaHQubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oaWdobGlnaHRDb250ZXh0TWVudSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIC8qIG1ha2UgaXQgYSBiaXQgbGlnaHRlciBzbyB0aGF0IGl0J3MgZWFzaWVyIHRvIGRpc3Rpbmd1aXNoIHdoZW4gYm90aCBoaWdobGlnaHRzIGFyZSBvbiAqL1xuICBiYWNrZ3JvdW5kOiAjZmZmZmZmOGM7XG4gIG1peC1ibGVuZC1tb2RlOiBvdmVybGF5O1xuICB6LWluZGV4OiAyO1xufVxuIl19 */");const fl={height:"0px",visibility:"hidden"};function pl(a){const{node:n,barHeight:o}=a,[i,l]=t.useState(fl);return t.useEffect(()=>{n.match({Nothing:()=>l(fl),Just:e=>l({visibility:"visible",height:`${o}px`,...e})})},[n]),e.jsx("div",{className:gl,style:i,"data-testid":"flamegraph-highlight-contextmenu"})}const xl={name:"Default",goodColor:o.rgb(0,170,0),neutralColor:o.rgb(148,142,142),badColor:o.rgb(200,0,0),colors:[o.hsl(24,69,60),o.hsl(34,65,65),o.hsl(194,52,61),o.hsl(163,45,55),o.hsl(211,48,60),o.hsl(246,40,65),o.hsl(305,63,79),o.hsl(47,100,73),o.rgb(183,219,171),o.rgb(244,213,152),o.rgb(78,146,249),o.rgb(249,186,143),o.rgb(242,145,145),o.rgb(130,181,216),o.rgb(229,168,226),o.rgb(174,162,224),o.rgb(154,196,138),o.rgb(242,201,109),o.rgb(101,197,219),o.rgb(249,147,78),o.rgb(234,100,96),o.rgb(81,149,206),o.rgb(214,131,206),o.rgb(128,110,183)]},Gl={...xl,name:"Color Blind",goodColor:o.rgb(26,133,255),neutralColor:o.rgb(148,142,142),badColor:o.rgb(220,50,32)};function Ql(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M5,19.56c0,5.22,3.54,9.44,7.92,9.44h3.17c4.37,0,7.92-4.23,7.92-9.44v-7.56H5v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M14,1h-.82c-4.52,0-8.18,3.73-8.18,8.33v1.67H14V1Z"}),e.jsx("path",{d:"M15.82,1h-.82V11h9v-1.67c0-4.6-3.66-8.33-8.18-8.33Z"})]})}function Il(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M24,19.56c0,5.22-3.54,9.44-7.92,9.44h-3.17c-4.37,0-7.92-4.23-7.92-9.44v-7.56H24v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M15,1h.82c4.52,0,8.18,3.73,8.18,8.33v1.67H15V1Z"}),e.jsx("path",{d:"M13.18,1h.82V11H5v-1.67c0-4.6,3.66-8.33,8.18-8.33Z"})]})}var Bl={tooltip:"Tooltip-module_tooltip__NMZ65",flamegraphDiffTooltip:"Tooltip-module_flamegraphDiffTooltip__Z983o",tooltipName:"Tooltip-module_tooltipName__y4Qs3",functionName:"Tooltip-module_functionName__z9LHO",tooltipTable:"Tooltip-module_tooltipTable__ct3pq",clickInfo:"Tooltip-module_clickInfo__Utux5"};h(".Tooltip-module_tooltip__NMZ65{background:var(--ps-tooltip-bg);border-radius:4px;box-shadow:1px 2px 4px 0 rgba(0,0,0,.3);color:var(--ps-tooltip-text);font-size:12px;pointer-events:none;position:fixed;visibility:hidden;width:420px;z-index:5}.Tooltip-module_tooltip__NMZ65.Tooltip-module_flamegraphDiffTooltip__Z983o{width:450px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipName__y4Qs3{background-color:var(--ps-tooltip-header-bg);border-top-left-radius:4px;border-top-right-radius:4px;color:var(--ps-tooltip-text);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-weight:700;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_functionName__z9LHO{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;padding:8px 10px 0;white-space:break-spaces;word-break:break-all}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq{display:table;margin:10px;width:calc(100% - 20px)}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq td,.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq th{background-color:var(--ps-tooltip-bg);border:1px solid var(--ps-tooltip-header-bg);font-weight:400;padding:5px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5{color:var(--ps-right-click-info);display:flex;justify-content:center;margin-bottom:10px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 svg{align-self:center;color:initial;display:block;height:22px;margin-right:5px;width:22px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 span{font-size:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURsQix1Q0FBOEMsQ0FFOUMsNEJBQTZCLENBQzdCLGNBQWUsQ0FHZixtQkFBb0IsQ0FScEIsY0FBZSxDQU1mLGlCQUFrQixDQVBsQixXQUFZLENBUVosU0FFRixDQUNBLDJFQUNFLFdBQ0YsQ0FDQSxrRUFFRSw0Q0FBNkMsQ0FFN0MsMEJBQTJCLENBRDNCLDJCQUE0QixDQUY1Qiw0QkFBNkIsQ0FTN0IsbUVBQXdFLENBTHhFLGVBQWlCLENBRWpCLGVBQWdCLENBRWhCLGdCQUFpQixDQURqQixzQkFBdUIsQ0FGdkIsa0JBS0YsQ0FDQSxtRUFFRSxtRUFBd0UsQ0FEeEUsa0JBQW1CLENBRW5CLHdCQUF5QixDQUN6QixvQkFDRixDQUNBLG1FQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosdUJBR0YsQ0FDQSw0SUFFRSxxQ0FBc0MsQ0FDdEMsNENBQTZDLENBRTdDLGVBQW1CLENBRG5CLFdBRUYsQ0FDQSxnRUFJRSxnQ0FBaUMsQ0FGakMsWUFBYSxDQUNiLHNCQUF1QixDQUZ2QixrQkFJRixDQUNBLG9FQUdFLGlCQUFrQixDQUZsQixhQUFjLENBQ2QsYUFBYyxDQUdkLFdBQVksQ0FDWixnQkFBaUIsQ0FGakIsVUFHRixDQUNBLHFFQUNFLGNBQ0YiLCJmaWxlIjoiVG9vbHRpcC5tb2R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WJlcmF0aW9uIE1vbm8sIE1lbmxvLCBtb25vc3BhY2U7XG4gIHdoaXRlLXNwYWNlOiBicmVhay1zcGFjZXM7XG4gIHdvcmQtYnJlYWs6IGJyZWFrLWFsbDtcbn1cbi50b29sdGlwIC50b29sdGlwVGFibGUge1xuICB3aWR0aDogY2FsYygxMDAlIC0gMjBweCk7XG4gIG1hcmdpbjogMTBweDtcbiAgZGlzcGxheTogdGFibGU7IC8qIGFsdGhvdWdoIHRoaXMgaXMgdGhlIGRlZmF1bHQsIHVzZXJzIG1heSBoYXZlIGFuIG92ZXJ3cml0ZSAqL1xufVxuLnRvb2x0aXAgLnRvb2x0aXBUYWJsZSB0aCxcbi50b29sdGlwIC50b29sdGlwVGFibGUgdGQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy10b29sdGlwLWJnKTtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdG9vbHRpcC1oZWFkZXItYmcpO1xuICBwYWRkaW5nOiA1cHg7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG59XG4udG9vbHRpcCAuY2xpY2tJbmZvIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGNvbG9yOiB2YXIoLS1wcy1yaWdodC1jbGljay1pbmZvKTtcbn1cbi50b29sdGlwIC5jbGlja0luZm8gc3ZnIHtcbiAgY29sb3I6IGluaXRpYWw7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBhbGlnbi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const vl={location:"Location",self:"Self",total:"Total",baseline:"Baseline",comparison:"Comparison",diff:"Diff",noItemsFound:"No items found",diffNew:"new",diffRemoved:"removed",tooltipSamples:"Samples:",tooltipUnitTitles:{objects:{percent:"% of objects in RAM",formattedValue:"Objects in RAM",total:"% of total RAM"},goroutines:{percent:"% of goroutines",formattedValue:"Goroutines",total:"% of total goroutines"},bytes:{percent:"% of RAM",formattedValue:"RAM",total:"% of total bytes"},samples:{percent:"Share of CPU",formattedValue:"CPU Time",total:"% of total CPU"},lock_nanoseconds:{percent:"% of Time spent",formattedValue:"Time",total:"% of total seconds"},lock_samples:{percent:"% of contended locks",formattedValue:"Contended locks",total:"% of total locks"},trace_samples:{percent:"% of time",formattedValue:"Samples",total:"% of total samples"},exceptions:{percent:"% of thrown exceptions",formattedValue:"Thrown exceptions",total:"% of total thrown exceptions"},unknown:{percent:"Percentage",formattedValue:"Units",total:"% of total units"}},resetView:"Reset View",collapseNodesAbove:"Collapse nodes above",copyFunctionName:"Copy function name",highlightSimilarNodes:"Highlight similar nodes",clearHighlight:"Clear highlight",openInSandwichView:"Open in sandwich view",showTextTailFirst:"Show text tail first",showTextHeadFirst:"Show text head first",headFirst:"Head first",tailFirst:"Tail first",clickToHighlightNode:"Click to highlight node in flamegraph",rightClickForMoreNodeOptions:"Right click for more node viewing options",viewTable:"Table",viewTableAndFlamegraph:"Table and Flamegraph",viewFlamegraph:"Flamegraph",viewSandwich:"Sandwich",viewGraphviz:"GraphViz",more:"More",diffLegendRemovedLabel:"(-) Removed",diffLegendAddedLabel:"Added (+)",diffLegendSelectPalette:"Select a palette",paletteDefaultName:"Default",paletteColorBlindName:"Color Blind",paletteDefaultDesc:"(green to red)",paletteColorBlindDesc:"(blue to red)",searchPlaceholder:"Search...",syncSearchBars:"Sync Search Bars",unsyncSearchBars:"Unsync Search Bars",focusOnThisFunction:"Focus on this function",tableDoubleClickToFocus:"Double-click to focus in flamegraph",tableRightClickForOptions:"Right-click for more options",collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",ofTotal:"of total",clearFocus:"Clear focus",sampleCountFormat:[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}]},yl={...vl,location:"位置",self:"自身",total:"总计",baseline:"基线",comparison:"对比",diff:"差异",noItemsFound:"没有找到任何条目",diffNew:"新增",diffRemoved:"移除",tooltipSamples:"样本数:",tooltipUnitTitles:{objects:{percent:"RAM 中对象占比",formattedValue:"RAM 中对象数",total:"占总 RAM 的百分比"},goroutines:{percent:"协程占比",formattedValue:"协程数量",total:"占协程总数的百分比"},bytes:{percent:"RAM 占比",formattedValue:"RAM",total:"占总字节数的百分比"},samples:{percent:"CPU 占比",formattedValue:"CPU 时间",total:"占总 CPU 的百分比"},lock_nanoseconds:{percent:"耗时占比",formattedValue:"时间",total:"占总秒数的百分比"},lock_samples:{percent:"锁竞争事件占比",formattedValue:"锁竞争事件数",total:"占锁竞争总数的百分比"},trace_samples:{percent:"时间占比",formattedValue:"样本数",total:"占样本总数的百分比"},exceptions:{percent:"异常抛出占比",formattedValue:"异常数",total:"占异常总数的百分比"},unknown:{percent:"百分比",formattedValue:"单位",total:"占单位总量的百分比"}},resetView:"重置视图",collapseNodesAbove:"收起上方节点",copyFunctionName:"复制函数名",highlightSimilarNodes:"高亮相似节点",clearHighlight:"清除高亮",openInSandwichView:"在 sandwich 视图中查看",showTextTailFirst:"显示文本尾部优先",showTextHeadFirst:"显示文本头部优先",headFirst:"从头部开始显示",tailFirst:"从尾部开始显示",clickToHighlightNode:"点击火焰图节点高亮",rightClickForMoreNodeOptions:"右键查看更多节点选项",viewTable:"表格",viewTableAndFlamegraph:"表格 + 火焰图",viewFlamegraph:"火焰图",viewSandwich:"三明治视图",viewGraphviz:"调用图 (GraphViz)",more:"更多",diffLegendRemovedLabel:"(-) 减少",diffLegendAddedLabel:"增加 (+)",diffLegendSelectPalette:"选择颜色方案",paletteDefaultName:"默认",paletteColorBlindName:"色盲",paletteDefaultDesc:"(绿色 → 红色)",paletteColorBlindDesc:"(蓝色 → 红色)",searchPlaceholder:"搜索...",syncSearchBars:"同步搜索栏",unsyncSearchBars:"取消同步搜索栏",focusOnThisFunction:"聚焦到此函数",tableDoubleClickToFocus:"双击可聚焦到火焰图",tableRightClickForOptions:"右键查看更多选项",collapsedLevelsSingular:"总计(已折叠 1 层)",collapsedLevelsPlural:"总计(已折叠 {n} 层)",ofTotal:"占总量",clearFocus:"清除聚焦",sampleCountFormat:[{value:1e12,label:"兆"},{value:1e8,label:"亿"},{value:1e4,label:"万"},{value:1e3,label:"千"}]},Fl=t.createContext(vl),Zl=Fl,Ll=({messages:a,children:n})=>{const o=t.useMemo(()=>{var e;return{...vl,...a,tooltipUnitTitles:{...vl.tooltipUnitTitles,...null!==(e=null==a?void 0:a.tooltipUnitTitles)&&void 0!==e?e:{}}}},[a]);return e.jsx(Fl.Provider,{value:o,children:n})},Wl=()=>t.useContext(Fl);function Nl(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const a=Number(t);return Number.isFinite(a)?a:null}function Xl(e,t){if(!e||!t)return;const a=e.trim().replace(/\u2212/g,"-");return a&&"0"!==a?a.startsWith("+")?t.badColor.rgb().string():a.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function wl(e,t,a){return a<t?t:Math.max(t,Math.min(a,e))}function Cl(e,t,a,n){const o=window.innerWidth,i=window.innerHeight,l=Math.max(0,a||0),r=Math.max(0,n||0);let s=e+12,c=t+20;return s+l+8>o&&(s=e-l-12),c+r+8>i&&(c=t-r-20),s=wl(s,8,o-l-8),c=wl(c,8,i-r-8),{left:s,top:c}}function Rl({shouldShowFooter:a=!0,shouldShowTitle:n=!0,dataSourceRef:o,clickInfoSide:i,setTooltipContent:l,palette:r}){const s=t.useRef(null),c=t.useRef(null),d=t.useRef(null),u=t.useRef(null),[b,m]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[h,g]=t.useState(),f=()=>{g({visibility:"hidden"}),m({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},p=t.useCallback(e=>{d.current&&cancelAnimationFrame(d.current);const t=e.clientX,a=e.clientY;d.current=requestAnimationFrame(()=>{if(!s.current)throw new Error("Missing tooltipElement");c.current={x:t,y:a},l(m,f,e);const n=s.current.clientWidth||0,o=s.current.clientHeight||0,{left:i,top:r}=Cl(t,a,n,o);g({top:r,left:i,visibility:"visible"})})},[l]);return t.useEffect(()=>{const e=o.current;if(!e)return()=>{};const t=()=>{f()},a=t=>{e.contains(t.target)||f()};return e.addEventListener("mousemove",p),e.addEventListener("mouseout",f),e.addEventListener("mouseleave",t),window.addEventListener("mousemove",a,{passive:!0}),window.addEventListener("blur",t),()=>{e.removeEventListener("mousemove",p),e.removeEventListener("mouseout",f),e.removeEventListener("mouseleave",t),window.removeEventListener("mousemove",a),window.removeEventListener("blur",t),d.current&&cancelAnimationFrame(d.current)}},[o.current,p]),t.useLayoutEffect(()=>{if(!s.current)return;if(!c.current)return;if(0===b.tooltipData.length)return;const{x:e,y:t}=c.current,a=s.current.getBoundingClientRect(),n=a.width,o=a.height,i=u.current;if(i&&Math.abs(i.w-n)<1&&Math.abs(i.h-o)<1)return;u.current={w:n,h:o};const{left:l,top:r}=Cl(e,t,n,o);g(e=>e&&e.left===l&&e.top===r&&"visible"===e.visibility?e:{...e||{},left:l,top:r,visibility:"visible"})},[b.tooltipData.length,b.title.text]),e.jsx("div",{"data-testid":"tooltip",className:Eo(Bl.tooltip,{[Bl.flamegraphDiffTooltip]:b.tooltipData.length>1}),style:{...h,textAlign:"center"},ref:s,children:b.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[n&&e.jsx("div",{className:Bl.tooltipName,"data-testid":"tooltip-title",children:b.title.text}),e.jsx("div",{className:Bl.functionName,"data-testid":"tooltip-function-name",children:b.title.text}),b.title.diff.text.length>0?e.jsx(Ul,{data:b.tooltipData,diff:b.title.diff,palette:r}):e.jsx(Ul,{data:b.tooltipData,palette:r}),a&&e.jsx(kl,{clickInfoSide:i})]})})}function Ul({data:t,diff:a,palette:n}){const o=Wl(),[i,l]=t,r="Location"!==o.location;if(!i)return null;let s;switch(i.tooltipType){case"flamegraph":s=()=>{const t=l&&function(e,t){const a=go(e),n=go(t);if(!a||!n)return"";const o=n.value-a.value;if(0===o)return"0";const i=o>0?"+":"-",l=Math.abs(o);let r;r=l>=100?l.toFixed(0):l>=10?l.toFixed(1):l.toFixed(2);const s=a.unit||n.unit;return s?`${i}${r} ${s}`:`${i}${r}`}(i.formattedValue,l.formattedValue),s=fo(t,r),c=l&&function(e,t){const a=Nl(e),n=Nl(t);if(null==a||null==n)return"";const o=n-a;return 0===o?"0":`${o>0?"+":"-"}${Math.abs(o).toLocaleString()}`}(i.samples,l.samples),d=fo(i.formattedValue,r),u=fo(null==l?void 0:l.formattedValue,r),b=null==a?void 0:a.color,m=Xl(t,n),h=Xl(c,n);return e.jsxs(e.Fragment,{children:[l&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:o.baseline}),e.jsx("th",{children:o.comparison}),e.jsx("th",{children:o.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].percent,":"]}),e.jsx("td",{children:i.percent}),l&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:l.percent}),e.jsx("td",{style:{textAlign:"center"},children:a&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:b},children:a.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:d}),l&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:u}),e.jsx("td",{style:{textAlign:"center"},children:s&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:m?{color:m}:void 0,children:s})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:o.tooltipSamples}),e.jsx("td",{children:i.samples}),l&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:l.samples}),e.jsx("td",{style:{textAlign:"center"},children:c&&e.jsx("span",{"data-testid":"tooltip-samples-diff",style:h?{color:h}:void 0,children:c})})]})]})]})]})};break;case"table":s=()=>e.jsxs(e.Fragment,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{}),e.jsxs("td",{children:[o.self," (",o.tooltipUnitTitles[i.units].total,")"]}),e.jsxs("td",{children:[o.total," (",o.tooltipUnitTitles[i.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[o.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:i.self}),e.jsx("td",{children:i.total})]})})]});break;default:s=()=>null}return e.jsx("table",{"data-testid":"tooltip-table",className:Eo(Bl.tooltipTable,{[Bl[`${i.tooltipType}${l?"Diff":""}`]]:i.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:s()})}function kl({clickInfoSide:t}){const a=Wl();let n;switch(t){case"right":n=e.jsxs(e.Fragment,{children:[e.jsx(Ql,{}),e.jsx("span",{children:a.rightClickForMoreNodeOptions})]});break;case"left":n=e.jsxs(e.Fragment,{children:[e.jsx(Il,{}),e.jsx("span",{children:a.clickToHighlightNode})]});break;default:n=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:Bl.clickInfo,children:n})}function Dl(a){const{format:n,canvasRef:o,xyToData:i,numTicks:l,sampleRate:r,units:s,leftTicks:c,rightTicks:d,palette:u}=a,b=Wl(),m=t.useCallback((e,t,a)=>{const o=Qo(l,r,s),m=i(a.offsetX,a.offsetY);let h;var g;if(m.isJust)switch(h=m.value,h.format){case"single":{const t={percent:(g=h.total/l,`${xo(g)}%`),samples:"trace_samples"===s?"":ho(h.total),units:s,formattedValue:o.format(h.total,r),tooltipType:"flamegraph"};e({title:{text:h.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===n)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=Yl({formatter:o,sampleRate:r,totalLeft:h.totalLeft,leftTicks:c,totalRight:h.totalRight,rightTicks:d,title:h.name,units:s},u,b);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${h.format}'`)}else t()},[l,r,s,c,d,u,i,n,b]);return e.jsx(Rl,{dataSourceRef:o,clickInfoSide:"right",setTooltipContent:m,palette:u})}function Yl({formatter:e,sampleRate:t,totalLeft:a,leftTicks:n,totalRight:o,rightTicks:i,title:l,units:r},s=xl,c){var d,u;const b=i>0?o/i:0,m=xo(n>0?a/n:0),h=xo(b),g={percent:`${m}%`,samples:ho(a),units:r,formattedValue:e.format(a,t),tooltipType:"flamegraph"},f={percent:`${h}%`,samples:ho(o),units:r,formattedValue:e.format(o,t),tooltipType:"flamegraph"};let p=Go(m,h);Number.isFinite(p)||(p=0);let x="";p>0?x=s.badColor.rgb().string():p<0&&(x=s.goodColor.rgb().string());let G="";return 0===a&&o>0?G=null!==(d=null==c?void 0:c.diffNew)&&void 0!==d?d:"新增":0===o&&a>0?G=null!==(u=null==c?void 0:c.diffRemoved)&&void 0!==u?u:"移除":0===p?G="0%":p>0?G=`+${p.toFixed(2)}%`:p<0&&(G=`${p.toFixed(2)}%`),{title:{text:l,diff:{text:G,color:x}},tooltipData:[g,f]}}h('@charset "UTF-8";.szh-menu{background-color:#fff;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;list-style:none;margin:0;padding:0;width:max-content;z-index:100}.szh-menu:focus{outline:none}.szh-menu__arrow{background-color:#fff;border-color:rgba(0,0,0,.1) transparent transparent rgba(0,0,0,.1);border-style:solid;border-width:1px;box-sizing:border-box;height:.75rem;width:.75rem;z-index:-1}.szh-menu__arrow--dir-left{right:-.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:-.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:-.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:-.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{background-color:inherit;cursor:default}.szh-menu__item--disabled{color:#aaa;cursor:default}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{list-style:none;margin:0;padding:0}.szh-menu__divider{background-color:rgba(0,0,0,.12);height:1px;margin:.5rem 0}.szh-menu-button{box-sizing:border-box}.szh-menu{border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);color:#212529;min-width:10rem;padding:.5rem 0;user-select:none}.szh-menu__item{align-items:center;display:flex;padding:.375rem 1.5rem;position:relative}.szh-menu-container--itemTransition .szh-menu__item{transition-duration:.15s;transition-property:background-color,color;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio:before{content:"○";font-size:.8rem;left:.8rem;position:absolute;top:.55rem}.szh-menu__item--type-radio.szh-menu__item--checked:before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox:before{left:.8rem;position:absolute}.szh-menu__item--type-checkbox.szh-menu__item--checked:before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item:after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrR0EsZ0JBTUEsQ0F2R0EsVUFRRSxxQkFBc0IsQ0FEdEIsK0JBQW9DLENBSHBDLHFCQUFzQixDQUR0QixlQUFnQixDQUZoQixRQUFTLENBQ1QsU0FBVSxDQUdWLGlCQUFrQixDQUNsQixXQUdGLENBQ0EsZ0JBQ0UsWUFDRixDQUNBLGlCQUlFLHFCQUFzQixD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xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94IHtcbiAgcGFkZGluZy1sZWZ0OiAyLjJyZW07XG59XG4uc3poLW1lbnVfX2l0ZW0tLXR5cGUtY2hlY2tib3g6OmJlZm9yZSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94LnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKclFwiO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtIHtcbiAgcGFkZGluZy1yaWdodDogMi41cmVtO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwi4p2vXCI7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var _l="ContextMenu-module_menu__x-AtY";function Vl(a){const[n,o]=il({transition:!0}),[i,l]=t.useState({x:0,y:0}),{canvasRef:r}=a,[s,c]=t.useState([]),{xyToMenuItems:d,onClose:u,onOpen:b}=a;return t.useEffect(()=>{o(!1);const e=r.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=d(e.offsetX,e.offsetY);c(t);const a=e.clientX,n=e.clientY+20;l({x:a,y:n}),o(!0),b(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[d]),e.jsx(qi,{...n,className:_l,anchorPoint:i,onClose:()=>{o(!1),u()},children:s})}h(".ContextMenu-module_menu__x-AtY{display:block}.ContextMenu-module_menu__x-AtY svg{margin-right:10px}.ContextMenu-module_menu__x-AtY .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);color:var(--ps-ui-foreground-text,#000);font-size:13px;min-width:180px;padding:4px 0}.ContextMenu-module_menu__x-AtY .szh-menu__item{align-items:center;color:inherit;cursor:pointer;display:flex;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ContextMenu-module_menu__x-AtY .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ContextMenu-module_menu__x-AtY .szh-menu__item svg{flex-shrink:0;height:14px;margin-right:0;width:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdDQUNFLGFBQ0YsQ0FDQSxvQ0FDRSxpQkFDRixDQUNBLDBDQUNFLG1EQUFxRCxDQUNyRCw0Q0FBOEMsQ0FDOUMsaUJBQWtCLENBQ2xCLHFHQUFvSCxDQUlwSCx1Q0FBeUMsQ0FEekMsY0FBZSxDQURmLGVBQWdCLENBRGhCLGFBSUYsQ0FDQSxnREFFRSxrQkFBbUIsQ0FLbkIsYUFBYyxDQURkLGNBQWUsQ0FMZixZQUFhLENBRWIsT0FBUSxDQUVSLFdBQVksQ0FEWixnQkFBaUIsQ0FJakIsZ0NBQ0YsQ0FDQSxzREFDRSwwREFDRixDQUNBLG9EQUdFLGFBQWMsQ0FEZCxXQUFZLENBRVosY0FBZSxDQUhmLFVBSUYiLCJmaWxlIjoiQ29udGV4dE1lbnUubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubWVudSB7XG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cbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG4gIG1hcmdpbi1yaWdodDogMDtcbn0iXX0= */");var Sl="LogoLink-module_logoLink__oWRri";function jl(){return e.jsxs("a",{className:Sl,href:"https://github.com/pyroscope-io/pyroscope/",target:"_blank",rel:"noreferrer",children:[e.jsxs("svg",{width:"22px",height:"22px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{cx:"49.4236252%",cy:"92.6627823%",fx:"49.4236252%",fy:"92.6627823%",r:"195.066755%",gradientTransform:"translate(0.494236,0.926628),scale(1.000000,0.735610),rotate(-90.000000),translate(-0.494236,-0.926628)",id:"radialGradient-1",children:[e.jsx("stop",{stopColor:"#FFB90C",offset:"0%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"38.390924%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"50.5405%"}),e.jsx("stop",{stopColor:"#B51424",offset:"73.98091%"}),e.jsx("stop",{stopColor:"#B51424",offset:"100%"})]})}),e.jsx("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e.jsx("g",{id:"fire-part",transform:"translate(148.516736, 0.000000)",fillRule:"nonzero",children:e.jsxs("g",{id:"whole-thing",transform:"translate(363.983264, 495.000000) scale(-1, 1) rotate(-180.000000) translate(-363.983264, -495.000000) translate(0.483264, 0.000000)",children:[e.jsx("g",{id:"g70",transform:"translate(-0.000091, 0.685815)",fill:"url(#radialGradient-1)",children:e.jsx("path",{d:"M65.3646667,571.739321 L65.4492471,571.698868 C19.5139147,505.999969 -5.32464048,424.477859 1.04305801,336.877516 L1.04305801,336.877516 C14.0321963,158.179446 159.192462,13.7596653 338.059844,1.5917266 L338.059844,1.5917266 C419.418369,-3.93888015 495.500283,17.3823334 558.456522,57.4611191 L558.456522,57.4611191 L481.301947,162.097965 C437.516468,136.521928 399.367671,129.590556 363.486536,130.155994 L363.486536,130.155994 C234.497143,130.155994 129.556988,235.032238 129.556988,363.946998 L129.556988,363.946998 C129.556988,492.865683 234.497143,597.738003 363.486536,597.738003 L363.486536,597.738003 C492.483783,597.738003 597.427864,492.865683 597.427864,363.946998 L597.427864,363.946998 C597.41276,304.634864 581.39383,255.677522 530.630465,199.668053 L607.770843,95.1329436 C680.936847,161.576603 726.932594,257.364176 726.932594,363.946998 L726.932594,363.946998 C726.932594,458.031616 691.13483,543.75602 632.416071,608.271816 L632.416071,608.271816 L632.416071,608.275741 L533.597728,748.122808 L428.601388,617.203806 L434.703262,646.563419 C459.453008,765.59222 433.664131,889.543925 363.49439,988.853335 L363.49439,988.853335 L65.3646667,571.723019 L65.3646667,571.739321 Z",id:"path84"})}),e.jsx("g",{id:"blue",transform:"translate(191.447039, 191.331780)",children:e.jsxs("g",{id:"g88",transform:"translate(-0.000063, 0.685930)",children:[e.jsx("g",{id:"g94",transform:"translate(0.177296, 0.699054)",fill:"#3EC1D3",children:e.jsx("path",{d:"M171.862466,343.697728 C77.0961324,343.697728 -0.00497405932,266.647602 -0.00497405932,171.934957 C-0.00497405932,77.2182874 77.0961324,0.168162396 171.862466,0.168162396 C266.632828,0.168162396 343.741988,77.2182874 343.741988,171.934957 C343.741988,266.647602 266.632828,343.697728 171.862466,343.697728",id:"path96"})}),e.jsx("g",{id:"g98",transform:"translate(29.362379, 172.629585)",fill:"#FFFFFF",children:e.jsx("path",{d:"M22.8397982,0 L0.671669409,0 C0.671669409,78.2496309 64.380874,141.920035 142.678189,141.920035 L142.678189,119.765407 C76.6007327,119.765407 22.8397982,66.0372141 22.8397982,0",id:"path100"})})]})})]})})})]}),e.jsx("span",{children:"Pyroscope"})]})}h(".LogoLink-module_logoLink__oWRri{bottom:0;color:var(--ps-neutral-2);font-weight:500;opacity:.5;position:absolute;right:0;text-decoration:none;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxvZ29MaW5rLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU9FLFFBQVMsQ0FIVCx5QkFBMEIsQ0FGMUIsZUFBZ0IsQ0FDaEIsVUFBWSxDQUVaLGlCQUFrQixDQUNsQixPQUFRLENBTFIsb0JBQXFCLENBT3JCLFNBQ0YiLCJmaWxlIjoiTG9nb0xpbmsubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubG9nb0xpbmsge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgY29sb3I6IHZhcigtLXBzLW5ldXRyYWwtMik7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMDtcbn0iXX0= */");const Jl=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"})}),Ml=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),Al=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"})}),El=({fill:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:t,children:[e.jsx("g",{id:"shape_squiggle",children:e.jsx("path",{d:"M60,38.42c-4.62,0-6.97-2.64-8.86-4.75-1.81-2.03-2.86-3.08-5.13-3.08s-3.32,1.06-5.13,3.08c-1.89,2.12-4.24,4.75-8.86,4.75s-6.97-2.64-8.87-4.75c-1.81-2.03-2.86-3.08-5.14-3.08s-3.33,1.06-5.14,3.08c-1.89,2.12-4.25,4.75-8.87,4.75-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5c2.28,0,3.33-1.06,5.14-3.09,1.89-2.12,4.25-4.75,8.87-4.75s6.97,2.64,8.87,4.75c1.81,2.03,2.86,3.09,5.14,3.09s3.32-1.06,5.13-3.08c1.89-2.12,4.24-4.75,8.86-4.75s6.97,2.64,8.86,4.75c1.81,2.03,2.86,3.08,5.13,3.08,1.38,0,2.5,1.12,2.5,2.5s-1.12,2.5-2.5,2.5Z"})}),e.jsxs("g",{id:"Layer_4",children:[e.jsx("rect",{x:"2",y:"8",width:"60",height:"14",rx:"3.94",ry:"3.94"}),e.jsx("path",{d:"M58.06,41h-18.64c-1.58,0-3.14,.42-4.5,1.22l-6.88,4.02c-1.87,1.09-4.19,1.09-6.06,0l-6.88-4.02c-1.37-.8-2.92-1.22-4.5-1.22H5.94c-2.18,0-3.94,1.76-3.94,3.94v7.12c0,2.18,1.76,3.94,3.94,3.94H58.06c2.18,0,3.94-1.76,3.94-3.94v-7.12c0-2.18-1.76-3.94-3.94-3.94Z"})]})]}),Ol=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"ab_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M16.71,41l-.42-2.45h-.16c-1.63,1.95-4.06,2.95-6.91,2.95-4.8,0-7.86-3.45-7.86-7.45,0-6.4,6.01-9.3,14.13-9.3v-.4c0-1.5-.84-3.2-4.38-3.2-2.48,0-4.9,.75-6.54,1.7l-1.42-4.75c1.69-.9,5.01-2.1,9.44-2.1,8.33,0,10.65,4.95,10.65,10.45v8.7c0,2.25,.11,4.4,.37,5.85h-6.91Zm-.95-11.7c-3.64,0-6.91,.9-6.91,4,0,2.1,1.37,3,3,3s3.22-1.05,3.74-2.6c.11-.35,.16-.8,.16-1.2v-3.2Z"}),e.jsx("path",{d:"M29.36,41c.11-1.79,.21-4.62,.21-7.25V6h7.7v13.46h.11c1.42-1.99,3.8-3.28,7.06-3.28,5.85,0,9.7,5.01,9.65,12.16,0,8.69-5.22,13.16-10.81,13.16-2.74,0-5.22-.99-6.91-3.72h-.11l-.37,3.23h-6.54Zm7.91-9.83c0,.55,.05,.99,.16,1.39,.58,1.94,2.16,3.18,4.01,3.18,3.11,0,4.9-2.53,4.9-7,0-3.92-1.58-6.8-4.9-6.8-1.85,0-3.53,1.39-3.95,3.28-.16,.4-.21,.94-.21,1.44v4.52Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"62 54 52 45 52 51 35 51 35 57 52 57 52 63 62 54"})})]}),zl=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"yz_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M22.75,13l3.43,12.39c.42,1.47,.84,3.2,1.16,4.52h.11c.32-1.32,.69-3.05,1-4.47l2.9-12.44h8.01l-5.8,17.16c-2.95,8.33-5.17,12.54-8.07,15.23-2.58,2.39-5.43,3.3-7.17,3.55l-1.85-6.3c1.11-.25,2.32-.76,3.48-1.52,1.16-.71,2.32-1.88,2.95-3.05,.26-.41,.42-.76,.42-1.12,0-.31-.05-.66-.26-1.17L14.32,13h8.43Z"}),e.jsx("path",{d:"M41.62,33.46l7.59-10.16c1.27-1.57,2.37-2.95,3.58-4.27v-.15h-10.33v-5.89h19.45l-.05,4.57-7.28,9.8c-1.21,1.57-2.48,3.15-3.69,4.42v.1h11.33v5.94h-20.61v-4.37Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"12 51 12 45 2 54 12 63 12 57 29 57 29 51 12 51"})})]});var Tl="Header-module_flamegraphHeader__nIrXP",Hl="Header-module_row__P7-2L",Pl="Header-module_flamegraphTitle__sjsvB";function Kl(t){const{format:a,units:n,toolbarVisible:o}=t,i={objects:"number of objects in RAM per function",goroutines:"number of goroutines",bytes:"amount of RAM per function",samples:"CPU time per function",lock_nanoseconds:"time spent waiting on locks per function",lock_samples:"number of contended locks per function",trace_samples:"aggregated span duration",exceptions:"number of exceptions thrown",unknown:""},l=o&&"single"===a?e.jsx("div",{className:`${Hl} ${Pl}`,role:"heading","aria-level":2,children:i[n]&&e.jsxs(e.Fragment,{children:["Frame width represents ",i[n]]})}):null;return l?e.jsx("div",{className:Tl,children:e.jsx("div",{children:l})}):null}h(".Header-module_flamegraphHeader__nIrXP{align-items:flex-start;display:flex;justify-content:space-between;padding-bottom:5px}.Header-module_flamegraphHeader__nIrXP>div:first-child{width:100%}.Header-module_row__P7-2L{display:flex;justify-content:center}.Header-module_flamegraphTitle__sjsvB{display:block;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlci5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVDQUtFLHNCQUF1QixDQUh2QixZQUFhLENBQ2IsNkJBQThCLENBRjlCLGtCQUtGLENBRUEsdURBQ0UsVUFDRixDQU9BLDBCQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLHNDQUVFLGFBQWMsQ0FDZCxpQkFBa0IsQ0FGbEIsVUFHRiIsImZpbGUiOiJIZWFkZXIubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGFtZWdyYXBoSGVhZGVyIHtcbiAgcGFkZGluZy1ib3R0b206IDVweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuXG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciA+IGRpdjpmaXJzdC1jaGlsZCB7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciBidXR0b24ge1xuICAvKiBtYXJnaW46IGF1dG87XG4gIGRpc3BsYXk6IGJsb2NrOyAqL1xufVxuXG4ucm93IHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5mbGFtZWdyYXBoVGl0bGUge1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbiJdfQ== */");var $l="FlamegraphBreadcrumb-module_bar__v8uhn",ql="FlamegraphBreadcrumb-module_chip__pdv1k",er="FlamegraphBreadcrumb-module_focusTooltip__nX30y",tr="FlamegraphBreadcrumb-module_separator__Zj-rC",ar="FlamegraphBreadcrumb-module_chipSeparator__S-Gld",nr="FlamegraphBreadcrumb-module_unitLabel__bjHEA",or="FlamegraphBreadcrumb-module_focusIcon__aJBb6",ir="FlamegraphBreadcrumb-module_ofTotal__kk4dt",lr="FlamegraphBreadcrumb-module_clearBtn__spimK";function rr(t){const{totalValueText:a,totalSamplesText:n,samplesLabel:o,unitLabel:i,hasFocus:l,focusPercent:r,focusLabel:s,ofTotalPlacement:c="after",ofTotalLabel:d,clearFocusLabel:u,onClearFocus:b}=t,m=s&&s.trim().length>0?s:void 0;return e.jsxs("div",{className:$l,"aria-live":"polite",children:[e.jsxs("span",{className:ql,children:[e.jsx("span",{children:a}),e.jsx("span",{className:tr,children:"|"}),e.jsxs("span",{children:[n," ",o]}),e.jsxs("span",{className:nr,children:["(",i,")"]})]}),l&&void 0!==r&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:ar,children:">"}),e.jsxs("span",{className:`${ql} ${er}`,"data-tooltip":m,children:[e.jsx("span",{className:or,"aria-hidden":"true",children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6Z"}),e.jsx("circle",{cx:"12",cy:"12",r:"3.2"})]})}),"before"===c?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:ir,children:d}),e.jsxs("span",{children:[r.toFixed(2),"%"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{children:[r.toFixed(2),"%"]}),e.jsx("span",{className:ir,children:d})]}),e.jsx("button",{type:"button",className:lr,"aria-label":u,onClick:e=>{e.preventDefault(),e.stopPropagation(),b()},children:"×"})]})]})]})}h('.FlamegraphBreadcrumb-module_bar__v8uhn{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0;width:100%}.FlamegraphBreadcrumb-module_chip__pdv1k{align-items:center;background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:999px;color:var(--ps-ui-foreground-text);display:inline-flex;font-size:12px;gap:6px;line-height:1.2;padding:4px 10px}.FlamegraphBreadcrumb-module_focusTooltip__nX30y{position:relative}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:before{opacity:1;transform:translate(-50%,-6px)}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after{background:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:6px;color:var(--ps-ui-foreground-text);content:attr(data-tooltip);font-size:12px;padding:6px 8px;white-space:nowrap;z-index:3}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{bottom:100%;left:50%;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%,-2px);transition:opacity .12s ease,transform .12s ease}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{border-color:var(--ps-ui-border) transparent transparent transparent;border-style:solid;border-width:6px 6px 0;content:"";z-index:2}.FlamegraphBreadcrumb-module_separator__Zj-rC{opacity:.6}.FlamegraphBreadcrumb-module_chipSeparator__S-Gld{color:var(--ps-ui-foreground-text);opacity:.6}.FlamegraphBreadcrumb-module_unitLabel__bjHEA{opacity:.8}.FlamegraphBreadcrumb-module_focusIcon__aJBb6{align-items:center;color:currentColor;display:inline-flex;font-size:12px}.FlamegraphBreadcrumb-module_ofTotal__kk4dt{opacity:.8}.FlamegraphBreadcrumb-module_clearBtn__spimK{background:transparent;border:none;color:var(--ps-toolbar-icon-color);cursor:pointer;font-size:14px;line-height:1;margin-left:4px;padding:0}.FlamegraphBreadcrumb-module_clearBtn__spimK:focus-visible{border-radius:4px;outline:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhCcmVhZGNydW1iLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdDQUVFLGtCQUFtQixDQURuQixZQUFhLENBSWIsY0FBZSxDQUNmLE9BQVEsQ0FIUixzQkFBdUIsQ0FJdkIsWUFBYSxDQUhiLFVBSUYsQ0FFQSx5Q0FFRSxrQkFBbUIsQ0FNbkIsZ0RBQWlELENBQ2pELG9DQUFxQyxDQUpyQyxtQkFBb0IsQ0FLcEIsa0NBQW1DLENBVG5DLG1CQUFvQixDQUtwQixjQUFlLENBSGYsT0FBUSxDQUlSLGVBQWdCLENBSGhCLGdCQU9GLENBRUEsaURBQ0Us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n1cblxuLm9mVG90YWwge1xuICBvcGFjaXR5OiAwLjg7XG59XG5cbi5jbGVhckJ0biB7XG4gIG1hcmdpbi1sZWZ0OiA0cHg7XG4gIHBhZGRpbmc6IDA7XG4gIGJvcmRlcjogbm9uZTtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIGNvbG9yOiB2YXIoLS1wcy10b29sYmFyLWljb24tY29sb3IpO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgbGluZS1oZWlnaHQ6IDE7XG59XG5cbi5jbGVhckJ0bjpmb2N1cy12aXNpYmxlIHtcbiAgb3V0bGluZTogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */');var sr="styles-module_flamegraphPane__ejguD",cr="styles-module_fitModeItem__0UBwN",dr="styles-module_sandwichItem__WYvnd",ur="styles-module_flamegraphFrame__9ZW-z";function br(n){const o=t.useRef(null),i=t.useRef(null),s=t.useRef(),c=t.useRef(),d=t.useRef(null),u=t.useRef(null),b=t.useRef(null),h=t.useRef({rect:!1,text:!1}),g=Wl(),f=t.useRef({lastWidth:0,lastHeight:0}),p="undefined"!=typeof window&&"undefined"!=typeof OffscreenCanvas&&"transferControlToOffscreen"in HTMLCanvasElement.prototype,x=t.useMemo(()=>({collapsedLevelsSingular:g.collapsedLevelsSingular,collapsedLevelsPlural:g.collapsedLevelsPlural,isZh:"Location"!==g.location}),[g.collapsedLevelsSingular,g.collapsedLevelsPlural,g.location]),G=t.useCallback(e=>({name:e.name,goodColor:e.goodColor.rgb().array(),neutralColor:e.neutralColor.rgb().array(),badColor:e.badColor.rgb().array(),colors:e.colors.map(e=>e.rgb().array())}),[]),[Q,I]=t.useState(a.Maybe.nothing()),{flamebearer:B,focusedNode:v,fitMode:y,updateFitMode:F,highlightQuery:Z,zoom:L,toolbarVisible:W,headerVisible:N=!0,disableClick:X=!1,showSingleLevel:w=!1,showCredit:C,setActiveItem:R,selectedItem:U,updateView:k,enableSandwichView:D=!0,breadcrumb:Y}=n,{onZoom:_,onReset:V,isDirty:S,onFocusOnNode:j}=n,{"data-testid":J}=n,{palette:M,setPalette:A}=n,E=t.useCallback(r(()=>{K(),$()},50),[]);t.useEffect(()=>{if(!p)return()=>{};const e=function(){const e=new URL("undefined"==typeof document?require("url").pathToFileURL(__filename).href:m&&"SCRIPT"===m.tagName.toUpperCase()&&m.src||new URL("index.cjs.js",document.baseURI).href),t=e.pathname,a=t.includes("/src/");if(t.includes("/dist/"),t.includes("/node_modules/.vite/deps/")){const t=new URL("../../@kylincloud/flamegraph/dist/flamegraphRenderWorker.js",e);return new Worker(t,{type:"module"})}const n=a?new URL("./flamegraphRenderWorker.ts",e):new URL("./flamegraphRenderWorker.js",e);return new Worker(n,{type:"module"})}();return d.current=e,setTimeout(()=>{K(),$()},0),()=>{e.terminate(),d.current=null,u.current=null,b.current=null,h.current={rect:!1,text:!1}}},[p]),l(o,()=>{if(s){if(o.current){const e=o.current.clientWidth,t=o.current.clientHeight,a=f.current;if(!(Math.abs(e-a.lastWidth)>=2))return;a.lastWidth=e,a.lastHeight=t}E()}});const O=(e,t)=>te().xyToBar(e,t).map(e=>({left:ee().offsetLeft+e.x,top:ee().offsetTop+e.y,width:e.width})),z=t.useCallback((t,a)=>{const n=S(),o=te().xyToBar(t,a),i=o.isJust?o.value.name:"";return[e.jsxs(cl,{disabled:!n,onClick:V,children:[e.jsx(Hn,{icon:ti.faRedo}),g.resetView]},"reset"),(()=>{const t=o.mapOrElse(()=>!1,()=>!0),a=o.mapOrElse(()=>()=>{},e=>j.bind(null,e.i,e.j));return e.jsxs(cl,{disabled:!t,onClick:a,children:[e.jsx(Hn,{icon:gi.faCompressAlt}),g.collapseNodesAbove]},"focus")})(),e.jsxs(cl,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(i)},children:[e.jsx(Hn,{icon:ii.faCopy}),g.copyFunctionName]},"copy"),(()=>{const t=U.isJust&&U.value===i?g.clearHighlight:g.highlightSimilarNodes;return e.jsxs(cl,{onClick:()=>{R({name:i})},children:[e.jsx(Hn,{icon:di.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!k||!D)return null;return e.jsxs(cl,{className:dr,onClick:()=>{k("sandwich"),R({name:i})},children:[e.jsx(El,{fill:"black"}),g.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=y===Zo;return e.jsxs(cl,{className:cr,onClick:()=>{F(t?Fo:Zo)},children:[t?e.jsx(zl,{}):e.jsx(Ol,{}),t?g.showTextTailFirst:g.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[s,U,y,S,V,j,R,k,g,D]),T=()=>{if(o.current){const e=new Mo(B,o.current,v,y,Z,L,M,x);s.current=e}if(i.current){const e=new Mo(B,i.current,v,y,Z,L,M,x);c.current=e}},H=t.useCallback(()=>{if(!p||!d.current)return!1;const e=d.current;if(o.current&&!u.current)try{const t=o.current.transferControlToOffscreen();u.current=t,e.postMessage({type:"init",payload:{kind:"rect",canvas:t}},[t]),h.current.rect=!0}catch(e){}if(i.current&&!b.current)try{const t=i.current.transferControlToOffscreen();b.current=t,e.postMessage({type:"init",payload:{kind:"text",canvas:t}},[t]),h.current.text=!0}catch(e){}return!0},[p]);t.useEffect(()=>{T(),K(),$()},[M,x]),t.useEffect(()=>{T(),K(),$()},[o.current,B,v,y,L]),t.useEffect(()=>{T(),K(),$()},[Z]);const P=(e,t)=>{if(!p)return!1;if(!d.current)return!0;if(!H())return!0;const a="rect"===e?o.current:i.current,n=(null==a?void 0:a.clientWidth)||(null==a?void 0:a.width)||0,l={kind:e,flamebearer:B,focusedNode:v.isJust?v.value:null,fitMode:y,highlightQuery:Z,zoom:L.isJust?L.value:null,palette:G(M),messages:x,renderRects:t.renderRects,renderText:t.renderText,width:n,devicePixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1};return d.current.postMessage({type:"render",payload:l}),!0},K=()=>{var e,t,a;P("rect",{renderText:!1})||(null===(e=null==o?void 0:o.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==s?void 0:s.current)||void 0===t||t.render({renderText:!1}),null===(a=null==o?void 0:o.current)||void 0===a||a.setAttribute("data-state","rendered"))},$=()=>{var e,t,a;P("text",{renderRects:!1})||(null===(e=null==i?void 0:i.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==c?void 0:c.current)||void 0===t||t.render({renderRects:!1}),null===(a=null==i?void 0:i.current)||void 0===a||a.setAttribute("data-state","rendered"))},q=!B||B&&B.names.length<=1,ee=()=>{if(!o.current)throw new Error("Missing canvas");return o.current},te=()=>{if(!s.current)throw new Error("Missing canvas");return s.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:Eo(sr,{"vertical-orientation":"double"===B.format}),children:[e.jsxs("div",{className:ur,children:[Y&&e.jsx(rr,{totalValueText:Y.totalValueText,totalSamplesText:Y.totalSamplesText,samplesLabel:Y.samplesLabel,unitLabel:Y.unitLabel,hasFocus:Y.hasFocus,focusPercent:Y.focusPercent,focusLabel:Y.focusLabel,ofTotalPlacement:Y.ofTotalPlacement,ofTotalLabel:Y.ofTotalLabel,clearFocusLabel:Y.clearFocusLabel,onClearFocus:Y.onClearFocus}),N&&e.jsx(Kl,{format:B.format,units:B.units,toolbarVisible:W}),e.jsxs("div",{"data-testid":J,style:{position:"relative",opacity:q&&!w?0:1},children:[e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":Z,className:Eo("flamegraph-canvas",ul),ref:o,onClick:X?void 0:e=>{const t=te().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{L.match({Nothing:()=>{_(t)},Just:n=>{e.i===n.i&&e.j===n.j?_(a.Maybe.nothing()):_(t)}})}})}}),e.jsx("canvas",{height:"0","data-testid":"flamegraph-text-canvas",className:Eo("flamegraph-text-canvas",bl),ref:i}),s&&o&&e.jsx(hl,{barHeight:bo,canvasRef:o,zoom:L,xyToHighlightData:O}),s&&e.jsx(pl,{barHeight:bo,node:Q})]}),C?e.jsx(jl,{}):""]}),s&&e.jsx(Dl,{format:B.format,canvasRef:o,xyToData:(e,t)=>te().xyToBar(e,t),numTicks:B.numTicks,sampleRate:B.sampleRate,leftTicks:"double"===B.format?B.leftTicks:0,rightTicks:"double"===B.format?B.rightTicks:0,units:B.units,palette:M}),!X&&s&&o&&e.jsx(Vl,{canvasRef:o,xyToMenuItems:z,onClose:()=>{I(a.Maybe.nothing())},onOpen:(e,t)=>{I(O(e,t))}})]})}h(".styles-module_flamegraphPane__ejguD{flex:1;position:relative}.styles-module_flamegraphPane__ejguD .styles-module_fitModeItem__0UBwN svg,.styles-module_flamegraphPane__ejguD .styles-module_sandwichItem__WYvnd svg{margin-right:0;width:1em}.styles-module_flamegraphFrame__9ZW-z{background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);padding:6px 8px 8px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxjQUFlLENBRGYsU0FFRixDQUVBLHNDQUlFLDRCQUE2QixDQUg3QixvQ0FBcUMsQ0FDckMsaUJBQWtCLENBR2xCLHdEQUEwRCxDQUYxRCxtQkFHRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMDtcbn1cblxuLmZsYW1lZ3JhcGhGcmFtZSB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgcGFkZGluZzogNnB4IDhweCA4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICBtaW4taGVpZ2h0OiB2YXIoLS1reWxpbi1mbGFtZWdyYXBoLXBhbmUtbWluLWhlaWdodCwgMzIwcHgpO1xufSJdfQ== */");var mr,hr={exports:{}};
|
|
13
13
|
/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
17
|
-
*/var gl,fl=(ml||(ml=1,function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=o(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var i in e)t.call(e,i)&&e[i]&&(n=o(n,i));return n}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}(hl)),hl.exports),pl=g(fl),xl={};function Gl(){return gl||(gl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="crosshairs",a=[],n="f05b",o="M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faCrosshairs=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(xl)),xl}var Ql,Il=Gl(),Bl={};function yl(){return Ql||(Ql=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",a=[9001],n="f053",o="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,o]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Bl)),Bl}var vl,Fl=yl(),Zl={};function Ll(){return vl||(vl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",a=[9002],n="f054",o="M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,o]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Zl)),Zl}var Wl=Ll(),Nl="Table-module_table__6A8SM",Xl="Table-module_sortable__J6kyp",wl="Table-module_sortArrow__Nrncn",Cl="Table-module_sortArrowUp__WmbEG",Rl="Table-module_sortArrowDown__Gyue1",Ul="Table-module_asc__tJDI9",kl="Table-module_desc__fjVRY",Dl="Table-module_isRowSelected__UhIAJ",Yl="Table-module_isRowDisabled__sz3NJ",_l="Table-module_virtualSpacer__C1hxH",Vl="Table-module_active__EShS8",Sl="Table-module_loadingSpinner__SSjMK",jl="Table-module_pagination__VXgcO";h(".Table-module_table__6A8SM{table-layout:fixed;width:100%}.Table-module_table__6A8SM thead{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff));color:var(--ps-table-header-text,var(--ps-ui-foreground-text,#000))}.Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{cursor:pointer;user-select:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:5px solid transparent;border-top:5px solid var(--ps-ui-foreground-text);display:inline-block;margin-left:7px;position:relative;top:3px}.Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,.Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{display:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9{border-bottom-color:var(--ps-button-switch-bg-highlight);border-top-color:transparent;top:-2px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY{border-top-color:var(--ps-button-switch-bg-highlight);top:3px}.Table-module_table__6A8SM tbody{cursor:pointer}.Table-module_table__6A8SM tbody td{font-weight:400;text-align:center}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ{background:var(--ps-table-highlight-row-bg,#bae0ff)!important;color:var(--ps-table-highlight-row-text,#0958d9);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ td:first-child{box-shadow:inset 3px 0 0 0 var(--ps-table-highlight-border,#1677ff)}.Table-module_table__6A8SM tbody tr.Table-module_isRowDisabled__sz3NJ td{text-decoration:line-through}.Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:var(--ps-ui-element-bg-highlight);color:var(--ps-neutral-2);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_virtualSpacer__C1hxH{background:transparent!important;pointer-events:none}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px}[data-theme=kylin] .Table-module_table__6A8SM thead th{background:#fafafa;border-color:#d9d9d9;text-align:left}[data-theme=kylin] .Table-module_table__6A8SM tbody td{border-color:#f0f0f0}[data-theme=kylin] .Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:#f5f5f5;color:var(--ps-neutral-2)}[data-theme=kylin] .Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{padding-right:18px;position:relative}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:0;display:inline-flex;flex-direction:column;line-height:1;margin-left:6px;position:absolute;right:6px;top:50%;transform:translateY(-50%);vertical-align:middle}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-left:4px solid transparent;border-right:4px solid transparent;display:inline-block;height:0;opacity:.35;width:0}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-bottom:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text));margin-bottom:2px}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1{border-top:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text))}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowUp__WmbEG{opacity:.45}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9 .Table-module_sortArrowUp__WmbEG{border-bottom-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY .Table-module_sortArrowDown__Gyue1{border-top-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}.Table-module_table__6A8SM.flamegraph-table-doubles td:first-child,.Table-module_table__6A8SM.flamegraph-table-doubles th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(4),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(4){width:15%}.Table-module_table__6A8SM.flamegraph-table td:first-child,.Table-module_table__6A8SM.flamegraph-table th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table th:nth-child(3){width:22.5%}.Table-module_loadingSpinner__SSjMK{margin-top:50px;text-align:center}.Table-module_pagination__VXgcO{display:flex;justify-content:flex-end}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJCQUVFLGtCQ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G9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgyKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRoOm50aC1jaGlsZCgzKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgzKSB7XG4gIHdpZHRoOiAyMi41JTtcbn1cblxuLmxvYWRpbmdTcGlubmVyIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBtYXJnaW4tdG9wOiA1MHB4O1xufVxuXG4ucGFnaW5hdGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG59Il19 */");var Jl="Button-module_button__Ed1ge",Ml="Button-module_noIcon__Uzjvv",Al="Button-module_noBox__mLreC",El="Button-module_customIcon__-slpC",Ol="Button-module_iconWithText__DQRkr",zl="Button-module_default__HhXlQ",Tl="Button-module_outline__Flf4r",Hl="Button-module_float__4marx",Pl="Button-module_primary__xByv0",Kl="Button-module_secondary__D0K-F",$l="Button-module_danger__5-vIq",ql="Button-module_grouped__j8KwB";h(".Button-module_button__Ed1ge{border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Button-module_button__Ed1ge[type=button],.Button-module_button__Ed1ge[type=reset],.Button-module_button__Ed1ge[type=submit]{-webkit-appearance:button}.Button-module_noIcon__Uzjvv{min-width:48px}.Button-module_noBox__mLreC{background:inherit!important;border:none;border-radius:none}.Button-module_customIcon__-slpC svg{margin-right:5px;vertical-align:-.125em;width:1rem}.Button-module_iconWithText__DQRkr{margin-right:5px}.Button-module_default__HhXlQ,.Button-module_float__4marx,.Button-module_outline__Flf4r{background:var(--ps-ui-element-bg-primary)}.Button-module_default__HhXlQ:hover:not(:disabled),.Button-module_float__4marx:hover:not(:disabled),.Button-module_outline__Flf4r:hover:not(:disabled){background-color:var(--ps-ui-element-bg-highlight)}.Button-module_default__HhXlQ:disabled,.Button-module_float__4marx:disabled,.Button-module_outline__Flf4r:disabled{color:var(--ps-disabled-button-text);pointer-events:none}.Button-module_primary__xByv0{background-color:var(--ps-button-switch-bg);border-color:transparent;color:var(--ps-button-switch-text)!important}.Button-module_primary__xByv0:hover{background-color:var(--ps-button-switch-bg-highlight)}.Button-module_primary__xByv0:disabled{background-color:var(--ps-green-disabled);pointer-events:none}.Button-module_secondary__D0K-F{background-color:var(--ps-blue-primary);border-color:transparent;color:var(--ps-immutable-off-white)}.Button-module_secondary__D0K-F:hover{background-color:var(--ps-blue-highlight)}.Button-module_secondary__D0K-F:disabled{background-color:var(--ps-blue-disabled);pointer-events:none}.Button-module_float__4marx{background-color:transparent;border-color:transparent}.Button-module_danger__5-vIq{background-color:var(--ps-red-primary);border-color:transparent;color:var(--ps-neutral-2)}.Button-module_danger__5-vIq:hover{background-color:var(--ps-red-highlight)}.Button-module_danger__5-vIq:disabled{background-color:var(--ps-red-disabled);pointer-events:none}.Button-module_outline__Flf4r{background-color:transparent}.Button-module_outline__Flf4r:hover:not(:disabled){background-color:rgba(144,202,249,.08)}.Button-module_grouped__j8KwB{border-radius:0;border-right:0;margin:0;padding-left:12px;padding-right:12px}.Button-module_grouped__j8KwB:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.Button-module_grouped__j8KwB:last-child{border-radius:0 4px 4px 0;border-right:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx5QkFDRixDQUVBLDZCQUNFLGNBQ0YsQ0FF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ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtaGlnaGxpZ2h0KTtcbn1cbi5kYW5nZXI6ZGlzYWJsZWQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtZGlzYWJsZWQpO1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLm91dGxpbmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbn1cbi5vdXRsaW5lOmhvdmVyOm5vdCg6ZGlzYWJsZWQpIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNDQsIDIwMiwgMjQ5LCAwLjA4KTtcbn1cblxuLmdyb3VwZWQge1xuICBtYXJnaW46IDA7XG4gIGJvcmRlci1yaWdodDogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgcGFkZGluZy1sZWZ0OiAxMnB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxMnB4O1xufVxuXG4uZ3JvdXBlZDpmaXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const es=t.forwardRef(function({disabled:t=!1,kind:a="default",type:n="button",icon:o,iconNode:i,children:r,grouped:l,onClick:s,id:c,className:d,form:u,noBox:b,autoFocus:m,...h},g){return e.jsxs("button",{...h,id:c,ref:g,type:n,"data-testid":h["data-testid"],disabled:t,onClick:s,form:u,autoFocus:m,"aria-label":h["aria-label"],className:pl(Jl,l?ql:"",ts(a),d,b&&Al,i&&El,!o&&!i&&Ml),children:[o?e.jsx(Hn,{icon:o,className:r?Ol:""}):null,i,r]})});function ts(e){switch(e){case"default":return zl;case"primary":return Pl;case"secondary":return Kl;case"danger":return $l;case"outline":return Tl;case"float":return Hl;default:throw Error(`Unsupported kind ${e}`)}}function as({row:a}){const{cells:n,isRowSelected:o,isRowDisabled:i,className:r,onClick:l,onDoubleClick:s,onContextMenu:c,...d}=a,u=t.useRef(Math.random()).current;return e.jsx("tr",{...d,onClick:l,onDoubleClick:s,onContextMenu:c,className:Eo(r,{[Dl]:o,[Yl]:i}),children:n&&n.map(({style:t,value:a,...n},o)=>e.jsx("td",{style:t,...n,children:a},u+o))})}function ns({sortByDirection:a,sortBy:n,updateSortParams:o,table:i,tableBodyRef:r,className:l,isLoading:s,itemsPerPage:c,virtualize:d,virtualizeRowHeight:u,virtualizeOverscan:b=6,scrollRef:m,disableSort:h}){const g=!h&&a&&n&&o,[f,p]=t.useState(0),[x,G]=t.useState(0),[Q,I]=t.useState(null),[B,y]=t.useState(null),v=t.useRef(null);t.useLayoutEffect(()=>{(null==m?void 0:m.current)&&m.current!==B&&y(m.current)},[null==m?void 0:m.current,B]),t.useEffect(()=>{if(!B||!d)return()=>{};const e=()=>{v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{G(B.scrollTop||0)})};return B.addEventListener("scroll",e,{passive:!0}),()=>{B.removeEventListener("scroll",e),v.current&&cancelAnimationFrame(v.current)}},[B,d]),t.useEffect(()=>{if(!d||Q||!(null==r?void 0:r.current))return;const e=r.current.querySelectorAll("tr[data-row]");if(!e.length)return;const t=e[0].getBoundingClientRect();t.height&&I(t.height)},[d,Q,null==r?void 0:r.current,i]);const F="filled"===i.type?os(i.bodyRows,f,c):null,Z="virtual"===i.type?i.rowCount:F?F.length:0,L=u||Q||0,W=!!d&&!!B&&("filled"===i.type||"virtual"===i.type)&&L>0,N=W?(()=>{const e=B.clientHeight||0,t=Math.max(0,Math.floor(x/L)-b),a=Math.min(Z,Math.ceil((x+e)/L)+b),n=t*L,o=Math.max(0,(Z-a)*L),r="filled"===i.type&&F?F.slice(t,a):[];return{viewportHeight:e,totalRows:Z,startIndex:t,endIndex:a,topSpacer:n,bottomSpacer:o,visibleRows:r}})():null,X=!!d&&!W&&"filled"===i.type,w=X?(F||[]).slice(0,Math.max(24,4*b)):null;t.useEffect(()=>{var e;"virtual"===i.type&&N&&(null===(e=i.onRangeChange)||void 0===e||e.call(i,N.startIndex,N.endIndex))},[i,null==N?void 0:N.startIndex,null==N?void 0:N.endIndex]);const C="virtual"===i.type&&N?Math.max(0,N.endIndex-N.startIndex):0,R="virtual"===i.type&&C>0?Array.from({length:C},()=>({cells:Array.from({length:i.headRow.length},()=>({value:" "}))})):[],U="virtual"===i.type&&N&&i.range&&i.range.start===N.startIndex&&i.range.end===N.endIndex?i.rows:R;return s?e.jsx("div",{className:Sl}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:Eo(Nl,{[l||""]:l}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:i.headRow.map(({sortable:r,label:l,name:s,...c},d)=>r&&"not-filled"!==i.type&&g?t.createElement("th",{...c,key:d,className:Xl,onClick:()=>o(s)},l,e.jsxs("span",{className:Eo(wl,{[Vl]:n===s,[Ul]:n===s&&"asc"===a,[kl]:n===s&&"desc"===a}),children:[e.jsx("span",{className:Cl}),e.jsx("span",{className:Rl})]})):e.jsx("th",{...c,children:l},d))})}),e.jsx("tbody",{ref:r,children:"not-filled"===i.type?e.jsx("tr",{className:null==i?void 0:i.bodyClassName,children:e.jsx("td",{colSpan:i.headRow.length,children:i.value})}):N?e.jsxs(e.Fragment,{children:[N.topSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:_l,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:N.topSpacer,padding:0,border:0}})}),("virtual"===i.type?U:N.visibleRows).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${N.startIndex+a}`)}),N.bottomSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:_l,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:N.bottomSpacer,padding:0,border:0}})})]}):X?(w||[]).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${a}`)}):(F||[]).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${a}`)})})]}),e.jsx(is,{bodyRows:"filled"===i.type?i.bodyRows:void 0,itemsPerPage:c,currPage:f,setCurrPage:p})]})}function os(e,t,a){return a?e.slice(t*a,a*(t+1)):e}function is({itemsPerPage:t,currPage:a,setCurrPage:n,bodyRows:o}){if(!t)return null;const i=!!o&&os(o,a+1,t).length>0,r=!!o&&os(o,a-1,t).length>0;return e.jsxs("nav",{className:jl,children:[e.jsx(es,{"aria-label":"Previous Page",disabled:!r,kind:"float",icon:Fl.faChevronLeft,onClick:()=>n(a-1)}),e.jsx(es,{disabled:!i,"aria-label":"Next Page",kind:"float",icon:Wl.faChevronRight,onClick:()=>n(a+1)})]})}function rs({numTicks:a,sampleRate:n,units:o,tableBodyRef:i,palette:r}){const l=Qo(a,n,o),s=l.format(a,n),c=Wr(),d=t.useCallback((e,t,a)=>{var i;const d=null===(i=a.target.closest("tr"))||void 0===i?void 0:i.dataset.row;if(!d)return void t();const[u,b,...m]=d.split(";");switch(u){case"single":{const[t,a]=m,i=l.format(parseInt(t,10),n),r=l.format(parseInt(a,10),n),c=s.split(" "),d="<"===c[0]?c[1]:c[0],u=i.split(" "),h="<"===u[0]?u[1]:u[0],g=r.split(" "),f="<"===g[0]?g[1]:g[0];e({title:{text:b,diff:{text:"",color:""}},tooltipData:[{units:o,self:`${i}(${(parseFloat(h)/parseFloat(d)*100).toFixed(2)}%)`,total:`${r}(${(parseFloat(f)/parseFloat(d)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,a,i,s]=m,d=Yr({formatter:l,sampleRate:n,totalLeft:parseInt(t,10),leftTicks:parseInt(a,10),totalRight:parseInt(i,10),rightTicks:parseInt(s,10),title:b,units:o},r,c);e({title:d.title,tooltipData:d.tooltipData});break}}},[l,n,o,s,r,c]);return e.jsx(Rr,{dataSourceRef:i,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:d,palette:r})}function ls(){const e=new Blob([`(${(()=>{const e=e=>e||0,t={format:"single",jStep:4,jName:3,getBarTotal:(e,t)=>e[t+1],getBarSelf:(e,t)=>e[t+2],getBarName:(e,t)=>e[t+3]},a={format:"double",jStep:7,jName:6,getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarName:(e,t)=>e[t+6]},n=e=>Math.round(1e4*e)/100,o=(e,t)=>(t-e)/e*100,i={baseRows:[],rows:[],bestNodeByName:new Map,sortBy:"total",sortByDirection:"desc",highlightQuery:"",format:"single",leftTicks:0,rightTicks:0},r=()=>{const e=i.highlightQuery.trim().toLowerCase(),t=e?i.baseRows.filter(t=>t.name.toLowerCase().includes(e)):i.baseRows.slice(),a="asc"===i.sortByDirection?1:-1;t.sort((e,t)=>{if("name"===i.sortBy)return a*e.name.localeCompare(t.name);switch(i.sortBy){case"total":case"self":{const n=e[i.sortBy]||0,o=t[i.sortBy]||0;return a*(n-o)}case"baseline":{const n=e.leftTicks>0?e.totalLeft/e.leftTicks:0,o=t.leftTicks>0?t.totalLeft/t.leftTicks:0;return a*(n-o)}case"comparison":{const n=e.rightTicks>0?e.totalRght/e.rightTicks:0,o=t.rightTicks>0?t.totalRght/t.rightTicks:0;return a*(n-o)}case"diff":{const i=e.leftTicks>0?e.totalLeft/e.leftTicks:0,r=e.rightTicks>0?e.totalRght/e.rightTicks:0,l=t.leftTicks>0?t.totalLeft/t.leftTicks:0,s=t.rightTicks>0?t.totalRght/t.rightTicks:0,c=o(n(i),n(r)),d=o(n(l),n(s));return a*(c-d)}default:return 0}}),i.rows=t},l=n=>{const{rows:o,bestNodeByName:l,format:s,leftTicks:c,rightTicks:d}=(n=>{const{names:o,levels:i,format:r}=n,l=new Map,s=new Map,c=n.leftTicks||0,d=n.rightTicks||0;if("double"===r){const t=a;for(let a=0;a<i.length;a+=1){const n=i[a];for(let i=0;i<n.length;i+=t.jStep){const r=o[t.getBarName(n,i)]||"<empty>";l.has(r)||l.set(r,{type:"double",name:r,totalLeft:0,totalRght:0,leftTicks:c,rightTicks:d});const u=l.get(r);if(!u)continue;u.totalLeft=e(u.totalLeft)+t.getBarTotalLeft(n,i),u.totalRght=e(u.totalRght)+t.getBarTotalRght(n,i);const b=t.getBarTotal(n,i),m=s.get(r);(!m||b>m.total)&&s.set(r,{i:a,j:i,total:b})}}}else{const a=t;for(let t=0;t<i.length;t+=1){const n=i[t];for(let i=0;i<n.length;i+=a.jStep){const r=o[a.getBarName(n,i)]||"<empty>";l.has(r)||l.set(r,{type:"single",name:r,self:0,total:0});const c=l.get(r);if(!c)continue;c.self=e(c.self)+a.getBarSelf(n,i),c.total=e(c.total)+a.getBarTotal(n,i);const d=a.getBarTotal(n,i),u=s.get(r);(!u||d>u.total)&&s.set(r,{i:t,j:i,total:d})}}}return{rows:Array.from(l.values()),bestNodeByName:s,format:r,leftTicks:c,rightTicks:d}})(n.flamebearer);i.baseRows=o,i.bestNodeByName=l,i.format=s,i.leftTicks=c,i.rightTicks=d,i.sortBy=n.sortBy,i.sortByDirection=n.sortByDirection,i.highlightQuery=n.highlightQuery||"",r(),console.debug("[profiler-table-worker] init ready",{rowCount:i.rows.length,sortBy:i.sortBy,sortByDirection:i.sortByDirection,highlightQuery:i.highlightQuery}),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}})};self.onmessage=e=>{const t=e.data;var a;if(t&&t.type)switch(t.type){case"init":l(t.payload);break;case"update":a=t.payload,i.sortBy=a.sortBy,i.sortByDirection=a.sortByDirection,i.highlightQuery=a.highlightQuery||"",r(),console.debug("[profiler-table-worker] update ready",{rowCount:i.rows.length,sortBy:i.sortBy,sortByDirection:i.sortByDirection,highlightQuery:i.highlightQuery}),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}});break;case"range":(e=>{const{start:t,end:a,requestId:n}=e,o=Math.max(0,t),r=Math.min(i.rows.length,a),l=i.rows.slice(o,r);console.debug("[profiler-table-worker] range",{start:o,end:r,requestId:n}),self.postMessage({type:"range",payload:{rows:l,start:o,end:r,requestId:n}})})(t.payload);break;case"findNode":(e=>{const{name:t,requestId:a}=e,n=i.bestNodeByName.get(t);console.debug("[profiler-table-worker] findNode",{name:t,found:!!n,requestId:a}),self.postMessage({type:"findNode",payload:{node:n?{i:n.i,j:n.j}:null,requestId:a}})})(t.payload)}}}).toString()})()`],{type:"text/javascript"});return new Worker(URL.createObjectURL(e))}var ss="ProfilerTable-module_tableContextMenu__7Svm8",cs="ProfilerTable-module_sandwichItem__b9Ipy";h(".ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu{background-color:var(--ps-ui-background,#fff);border:1px solid var(--ps-ui-border,#ccc);border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);min-width:180px;padding:4px 0;z-index:1000}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item{align-items:center;color:var(--ps-ui-foreground-text,#333);cursor:pointer;display:flex;font-size:13px;gap:8px;padding:8px 12px;transition:background-color .15s}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f0f0f0)}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item svg{flex-shrink:0;height:14px;width:14px}.ProfilerTable-module_sandwichItem__b9Ipy svg{height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsd0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pb246IGJhY2tncm91bmQtY29sb3IgMC4xNXM7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSk6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCwgI2YwZjBmMCk7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSkgc3ZnIHtcbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG5cbi5zYW5kd2ljaEl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbn0iXX0= */");const ds=e=>e||0,us="undefined"!=typeof Worker&&"undefined"!=typeof Blob&&"undefined"!=typeof URL;function bs(e,t,a,n){const o=t;return o.type="single",o.self=ds(o.self)+e.getBarSelf(a,n),o.total=ds(o.total)+e.getBarTotal(a,n),o}function ms(e,t,a,n,o,i){const r=t;return r.type="double",r.self=ds(r.self)+e.getBarSelf(a,n),r.total=ds(r.total)+e.getBarTotal(a,n),r.selfLeft=ds(r.selfLeft)+e.getBarSelfLeft(a,n),r.selfRght=ds(r.selfRght)+e.getBarSelfRght(a,n),r.selfDiff=ds(r.selfDiff)+e.getBarSelfDiff(a,n),r.totalLeft=ds(r.totalLeft)+e.getBarTotalLeft(a,n),r.totalRght=ds(r.totalRght)+e.getBarTotalRght(a,n),r.totalDiff=ds(r.totalDiff)+e.getBarTotalDiff(a,n),r.leftTicks=o,r.rightTicks=i,r}const hs=new WeakMap;function gs(e){const t=hs.get(e);if(t)return t;const a=function(e){if(!e)return[];const{names:t,levels:a,format:n}=e,o="double"!==n?no:oo,i=new Map;for(let r=0;r<a.length;r++){const l=a[r];for(let a=0;a<l.length;a+=o.jStep){const r=t[o.getBarName(l,a)];i.has(r)||i.set(r,{name:r||"<empty>",self:0,total:0});const s=i.get(r);if(!s)break;"single"===n?bs(no,s,l,a):ms(oo,s,l,a,e.leftTicks,e.rightTicks)}}return Array.from(i.values())}(e);return hs.set(e,a),a}function fs(e,t,a){const n=148-e/t*148,o=a.alpha(1);return{backgroundImage:`linear-gradient(${o}, ${o})`,backgroundPosition:`-${n}px 0px`,backgroundRepeat:"no-repeat"}}const ps=({flamebearer:t,sortBy:a,sortByDirection:n,fitMode:o,handleTableItemClick:i,highlightQuery:r,palette:l,selectedItem:s,messages:c,onRowContextMenu:d,onRowDoubleClick:u})=>{const{numTicks:b,maxSelf:m,sampleRate:h,spyName:g,units:f}=t,p=[...gs(t)].sort((e,t)=>t.total-e.total),x="asc"===n?1:-1;let G;if("name"===a)G=p.sort((e,t)=>x*e[a].localeCompare(t[a]));else switch(a){case"total":case"self":G=p.sort((e,t)=>x*(e[a]-t[a]));break;case"baseline":G=p.sort((e,t)=>x*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":G=p.sort((e,t)=>x*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":G=p.sort((e,t)=>{const a=Go(xo(e.totalLeft/e.leftTicks),xo(e.totalRght/e.rightTicks)),n=Go(xo(t.totalLeft/t.leftTicks),xo(t.totalRght/t.rightTicks));return x*(a-n)});break;default:G=p}const Q=Qo(b,h,f),I=e=>!!s.isJust&&e===s.value,B=t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:Wo(o),children:e.jsx("bdi",{dir:"ltr",children:t.name})})}),y=G.filter(e=>{return!r||(t=r,e.name.toLowerCase().includes(t.toLowerCase()));var t}).map(e=>{if("double"===e.type)return(e=>{const t=xo(e.leftTicks>0?e.totalLeft/e.leftTicks:0),a=xo(e.rightTicks>0?e.totalRght/e.rightTicks:0);let n=Go(t,a);Number.isFinite(n)||(n=0);let o="";n>0?o=l.badColor.rgb().string():n<0&&(o=l.goodColor.rgb().string());let r="";return 0===e.totalLeft&&e.totalRght>0?r=c.diffNew:0===e.totalRght&&e.totalLeft>0?r=c.diffRemoved:0===n?r="0%":n>0?r=`+${n.toFixed(2)}%`:n<0&&(r=`${n.toFixed(2)}%`),{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:I(e.name),onClick:()=>i(e),onContextMenu:t=>d(t,e.name),onDoubleClick:()=>u(e.name),cells:[{value:B(e)},{value:`${t} %`},{value:`${a} %`},{value:r,style:{color:o}}]}})(e);const t=wo(g,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:I(e.name),onClick:()=>i(e),onContextMenu:t=>d(t,e.name),onDoubleClick:()=>u(e.name),cells:[{value:B(e)},{value:Q.format(e.self,h),style:fs(e.self,m,t)},{value:Q.format(e.total,h),style:fs(e.total,b,t)}]}))(e,Co(l,t))});return y.length>0?{bodyRows:y,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function xs({tableBodyRef:a,flamebearer:n,isDoubles:o,fitMode:i,handleTableItemClick:r,highlightQuery:l,selectedItem:s,palette:c,onFocusOnNode:d,updateView:u,enableSandwichView:b=!0,virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:g,scrollRef:f}){const p=Wr(),[x,G]=ir({transition:!0}),[Q,I]=t.useState({x:0,y:0}),[B,y]=t.useState(null),v=us,F=t.useRef(null),Z=t.useRef(null),L=t.useRef(0),W=t.useRef(0),N=t.useRef(new Map),[X,w]=t.useState(!1),[C,R]=t.useState(0),[U,k]=t.useState([]),[D,Y]=t.useState({start:0,end:0}),[_,V]=t.useState(null),[S,j]=t.useState(0),[J,M]=t.useState(0);t.useEffect(()=>{if(!v)return()=>{};const e=ls();F.current=e,M(e=>e+1),console.debug("[profiler-table] worker created");const t=e=>{const t=e.data;if(t&&t.type)switch(t.type){case"ready":R(t.payload.rowCount),w(!0),j(e=>e+1),console.debug("[profiler-table] worker ready",{rowCount:t.payload.rowCount});break;case"range":if(t.payload.requestId!==L.current)return;k(t.payload.rows),Y({start:t.payload.start,end:t.payload.end}),console.debug("[profiler-table] range received",{start:t.payload.start,end:t.payload.end,rows:t.payload.rows.length});break;case"findNode":{const e=N.current.get(t.payload.requestId);e&&(N.current.delete(t.payload.requestId),e(t.payload.node)),console.debug("[profiler-table] findNode response",{found:!!t.payload.node});break}}};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t),e.terminate(),F.current=null,N.current.clear(),console.debug("[profiler-table] worker terminated")}},[v]);const A=t.useCallback(e=>{if(!v||!F.current)return Promise.resolve(function(e,t){if(!e||!e.levels)return null;const{names:a,levels:n,format:o}=e,i=io(o);let r=null;for(let e=0;e<n.length;e++){const o=n[e];for(let n=0;n<o.length;n+=i.jStep)if(a[i.getBarName(o,n)]===t){const t=i.getBarTotal(o,n);(!r||t>r.total)&&(r={i:e,j:n,total:t})}}return r?{i:r.i,j:r.j}:null}(n,e));const t=++W.current;return console.debug("[profiler-table] findNode request",{name:e,requestId:t}),new Promise(a=>{var n;N.current.set(t,a),null===(n=F.current)||void 0===n||n.postMessage({type:"findNode",payload:{name:e,requestId:t}})})},[n,v]),E=t.useCallback(e=>{d&&A(e).then(e=>{e&&d(e.i,e.j)})},[d,A]),O=t.useCallback(e=>{s.isJust&&s.value===e||(console.time(`[profiler-table] dblclick highlight ${e}`),r({name:e}),console.timeEnd(`[profiler-table] dblclick highlight ${e}`)),console.time(`[profiler-table] dblclick focus ${e}`),E(e),console.timeEnd(`[profiler-table] dblclick focus ${e}`)},[E,s,r]),z=t.useCallback((e,t)=>{e.preventDefault(),I({x:e.clientX,y:e.clientY}),y(t),G(!0)},[G]),T=t.useCallback(()=>{G(!1),y(null)},[G]),H=t.useCallback(()=>{B&&(console.time(`[profiler-table] menu focus ${B}`),E(B),console.timeEnd(`[profiler-table] menu focus ${B}`),T())},[B,E,T]),P=t.useCallback(()=>{B&&navigator.clipboard&&(navigator.clipboard.writeText(B),T())},[B,T]),K=t.useCallback(()=>{B&&(r({name:B}),T())},[B,r,T]),$=t.useCallback(()=>{B&&u&&(u("sandwich"),r({name:B}),T())},[B,u,r,T]),q=t.useMemo(()=>o?[{sortable:1,name:"name",label:p.location},{sortable:1,name:"baseline",label:p.baseline,default:!0},{sortable:1,name:"comparison",label:p.comparison},{sortable:1,name:"diff",label:p.diff}]:[{sortable:1,name:"name",label:p.location},{sortable:1,name:"self",label:p.self,default:!0},{sortable:1,name:"total",label:p.total}],[p,o]),ee=(e=>{const a=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[n,o]=t.useState(a.name),[i,r]=t.useState("desc");return{sortBy:n,sortByDirection:i,updateSortParams:e=>{let t=i;t=n===e?"asc"===t?"desc":"asc":"desc",o(e),r(t)}}})(q);t.useEffect(()=>{if(!v||!F.current)return;const e=F.current,t={sortBy:ee.sortBy,sortByDirection:ee.sortByDirection,highlightQuery:l};Z.current!==n?(Z.current=n,w(!1),R(0),k([]),e.postMessage({type:"init",payload:{flamebearer:n,...t}})):(w(!1),k([]),e.postMessage({type:"update",payload:t}))},[n,l,ee.sortBy,ee.sortByDirection,v,J]);const te=t.useCallback((e,t)=>{console.debug("[profiler-table] range requested",{start:e,end:t}),V(a=>a&&a.start===e&&a.end===t?a:{start:e,end:t})},[]);t.useEffect(()=>{if(!v||!F.current||!_)return;const e=++L.current;F.current.postMessage({type:"range",payload:{start:_.start,end:_.end,requestId:e}})},[_,S,v]);const{numTicks:ae,maxSelf:ne,sampleRate:oe,spyName:ie,units:re}=n,le=t.useMemo(()=>Qo(ae,oe,re),[ae,oe,re]),se=t.useMemo(()=>Wo(i),[i]),ce=t.useCallback(e=>s.isJust&&s.value===e,[s]),de=t.useCallback(t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:se,children:e.jsx("bdi",{dir:"ltr",children:t})})}),[se]),ue=t.useCallback(e=>{const t=wo(ie,e.name),a=Co(c,t);return{"data-row":`single;${e.name};${e.self};${e.total}`,isRowSelected:ce(e.name),onClick:()=>{console.time(`[profiler-table] click ${e.name}`),r({name:e.name}),console.timeEnd(`[profiler-table] click ${e.name}`)},onContextMenu:t=>z(t,e.name),onDoubleClick:()=>O(e.name),cells:[{value:de(e.name)},{value:le.format(e.self,oe),style:fs(e.self,ne,a)},{value:le.format(e.total,oe),style:fs(e.total,ae,a)}]}},[le,z,O,r,ce,ne,de,ae,c,oe,ie]),be=t.useCallback(e=>{const t=xo(e.leftTicks>0?e.totalLeft/e.leftTicks:0),a=xo(e.rightTicks>0?e.totalRght/e.rightTicks:0);let n=Go(t,a);Number.isFinite(n)||(n=0);let o="";n>0?o=c.badColor.rgb().string():n<0&&(o=c.goodColor.rgb().string());let i="";return 0===e.totalLeft&&e.totalRght>0?i=p.diffNew:0===e.totalRght&&e.totalLeft>0?i=p.diffRemoved:0===n?i="0%":n>0?i=`+${n.toFixed(2)}%`:n<0&&(i=`${n.toFixed(2)}%`),{"data-row":`double;${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:ce(e.name),onClick:()=>{console.time(`[profiler-table] click ${e.name}`),r({name:e.name}),console.timeEnd(`[profiler-table] click ${e.name}`)},onContextMenu:t=>z(t,e.name),onDoubleClick:()=>O(e.name),cells:[{value:de(e.name)},{value:`${t} %`},{value:`${a} %`},{value:i,style:{color:o}}]}},[z,O,r,p,ce,de,c]),me=t.useMemo(()=>v?U.map(e=>"double"===e.type?be(e):ue(e)):[],[be,ue,v,U]),he=t.useMemo(()=>v?X&&0===C?{headRow:q,type:"not-filled",value:e.jsx("div",{className:"unsupported-format",children:p.noItemsFound})}:{headRow:q,type:"virtual",rowCount:C,rows:me,range:D,onRangeChange:te}:{headRow:q,...ps({flamebearer:n,sortBy:ee.sortBy,sortByDirection:ee.sortByDirection,fitMode:i,handleTableItemClick:r,highlightQuery:l,palette:c,selectedItem:s,messages:p,onRowContextMenu:z,onRowDoubleClick:O})},[be,ue,b,i,n,z,O,te,r,l,p,d,c,C,s,q,ee.sortBy,ee.sortByDirection,u,v,me,D,X]),ge=s.isJust&&s.value===B;return e.jsxs(e.Fragment,{children:[e.jsx(ns,{...ee,tableBodyRef:a,table:he,isLoading:v&&!X,className:pl("flamegraph-table",{"flamegraph-table-doubles":o}),virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:g,scrollRef:f}),e.jsxs(qi,{...x,anchorPoint:Q,onClose:T,className:ss,children:[d&&e.jsxs(cr,{onClick:H,children:[e.jsx(Hn,{icon:Il.faCrosshairs}),p.focusOnThisFunction]}),e.jsxs(cr,{onClick:P,children:[e.jsx(Hn,{icon:ii.faCopy}),p.copyFunctionName]}),e.jsxs(cr,{onClick:K,children:[e.jsx(Hn,{icon:di.faHighlighter}),ge?p.clearHighlight:p.highlightSimilarNodes]}),u&&b&&e.jsxs(cr,{onClick:$,className:cs,children:[e.jsx(Er,{fill:"currentColor"}),p.openInSandwichView]})]})]})}const Gs=t.memo(function({flamebearer:a,fitMode:n,handleTableItemClick:o,highlightQuery:i,palette:r,selectedItem:l,onFocusOnNode:s,updateView:c,enableSandwichView:d}){const u=t.useRef(null),b=t.useRef(null),m=t.useRef(null),[h,g]=t.useState(0),f="double"===a.format;return t.useEffect(()=>{const e=u.current;if(!e)return;const t=e.offsetWidth-e.clientWidth;Number.isFinite(t)&&t!==h&&g(t)},[u.current,f,h]),e.jsxs("div",{"data-testid":"table-view",ref:b,style:{"--kylin-flamegraph-scrollbar-size":`${h}px`},className:f?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",ref:m,children:e.jsx(xs,{tableBodyRef:u,flamebearer:a,isDoubles:f,fitMode:n,highlightQuery:i,handleTableItemClick:o,palette:r,selectedItem:l,onFocusOnNode:s,updateView:c,enableSandwichView:d,virtualize:!0,virtualizeRowHeight:26,virtualizeOverscan:8,scrollRef:m})}),e.jsx(rs,{tableBodyRef:u,numTicks:a.numTicks,sampleRate:a.sampleRate,units:a.units,palette:r})]})});var Qs,Is,Bs={},ys={};function vs(){return Qs||(Qs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",a=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],n="f0e2",o="M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(ys)),ys}function Fs(){return Is||(Is=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=vs();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUndo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Bs)),Bs}var Zs,Ls,Ws=Fs(),Ns={},Xs={};function ws(){return Zs||(Zs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",a=["project-diagram"],n="f542",o="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Xs)),Xs}function Cs(){return Ls||(Ls=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ws();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faProjectDiagram=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ns)),Ns}var Rs,Us,ks=Cs(),Ds={},Ys={};function _s(){return Rs||(Rs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",a=["ellipsis-v"],n="f142",o="M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z";e.definition={prefix:"fas",iconName:t,icon:[128,512,a,n,o]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Ys)),Ys}function Vs(){return Us||(Us=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=_s();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faEllipsisV=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ds)),Ds}var Ss=Vs(),js="Tooltip-module_tooltipWrapper__leDK-",Js="Tooltip-module_tooltipBubble__8vweF",Ms="Tooltip-module_tooltipArrow__7wGyN";function As(e){if(null!=e&&!1!==e){if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e)){const t=e.map(e=>As(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?As(e.props.children):void 0}}h(".Tooltip-module_tooltipWrapper__leDK-{align-items:center;display:inline-flex;position:relative}.Tooltip-module_tooltipBubble__8vweF{background:rgba(0,0,0,.85);border-radius:4px;bottom:100%;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#fff;font-size:12px;left:50%;line-height:1.4;opacity:0;padding:6px 10px;pointer-events:none;position:absolute;transform:translate(-50%,-8px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap;z-index:5}.Tooltip-module_tooltipArrow__7wGyN{border-color:rgba(0,0,0,.85) transparent transparent;border-style:solid;border-width:6px 6px 0;left:50%;pointer-events:none;position:absolute;top:100%;transform:translate(-50%,-2px)}.Tooltip-module_tooltipWrapper__leDK-:hover .Tooltip-module_tooltipBubble__8vweF{opacity:1;transform:translate(-50%,-14px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsc0NBR0Usa0JBQW1CLENBRG5CLG1CQUFvQixDQURwQixpQkFHRixDQUVBLHFDQU9FLDBCQUErQixDQUQvQixpQkFBa0IsQ0FIbEIsV0FBWSxDQWFaLG9DQUF5QyxDQVJ6QyxVQUFjLENBQ2QsY0FBZSxDQVBmLFFBQVMsQ0FRVCxlQUFnQixDQUdoQixTQUFVLENBUlYsZ0JBQWlCLENBT2pCLG1CQUFvQixDQVhwQixpQkFBa0IsQ0FHbEIsOEJBQWdDLENBVWhDLGdEQUFvRCxDQUhwRCxrQkFBbUIsQ0FJ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iB0cmFuc2xhdGUoLTUwJSwgLTJweCk7XG4gIGJvcmRlci13aWR0aDogNnB4IDZweCAwIDZweDtcbiAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgYm9yZGVyLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuODUpIHRyYW5zcGFyZW50IHRyYW5zcGFyZW50IHRyYW5zcGFyZW50O1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLnRvb2x0aXBXcmFwcGVyOmhvdmVyIC50b29sdGlwQnViYmxlIHtcbiAgb3BhY2l0eTogMTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTE0cHgpO1xufSJdfQ== */");const Es=({placement:a,title:n,content:o,children:i})=>{const r=As(null!=n?n:o),l=t.useRef(null),[s,c]=t.useState(!1);return t.useEffect(()=>{const e=l.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");c(!!t)},[]),r?e.jsxs("span",{ref:l,className:js,"data-placement":a||"top","data-tooltip":s?r:void 0,title:s?void 0:r,children:[i,s?e.jsxs("span",{className:Js,role:"tooltip",children:[r,e.jsx("span",{className:Ms})]}):null]}):e.jsx(e.Fragment,{children:i})};var Os,zs={};function Ts(){return Os||(Os=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",a=[128279,"chain"],n="f0c1",o="M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(zs)),zs}var Hs,Ps,Ks=Ts(),$s={},qs={};function ec(){return Hs||(Hs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="magnifying-glass",a=[128269,"search"],n="f002",o="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faMagnifyingGlass=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(qs)),qs}function tc(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ec();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faSearch=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}($s)),$s}var ac=tc(),nc="Input-module_input__ulQdV";h(".Input-module_input__ulQdV,.Input-module_input__ulQdV:focus,.Input-module_input__ulQdV:focus:active{outline:none}.Input-module_input__ulQdV{border:1px solid var(--ps-ui-border);border-radius:4px;display:inline-block;padding:.25em .375em;position:relative}.Input-module_input__ulQdV[type=search]{-webkit-appearance:textfield;outline-offset:-2px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIklucHV0Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLG9HQUNFLFlBQ0YsQ0FDQSwyQkFLRSxvQ0FBcUMsQ0FGckMsaUJBQWtCLENBRmxCLG9CQUFxQixDQUdyQixvQkFBdUIsQ0FGdkIsaUJBSUYsQ0FDQSx3Q0FDRSw0QkFBNkIsQ0FDN0IsbUJBQ0YiLCJmaWxlIjoiSW5wdXQubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaW5wdXQge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0OmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5pbnB1dDpmb2N1czphY3RpdmUge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0IHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMC4yNWVtIDAuMzc1ZW07XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uaW5wdXRbdHlwZT1zZWFyY2hdIHtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiB0ZXh0ZmllbGQ7XG4gIG91dGxpbmUtb2Zmc2V0OiAtMnB4O1xufSJdfQ== */");const oc=t.forwardRef(({testId:t,className:a,type:n,name:o,placeholder:i,minLength:r=0,debounceTimeout:l=100,onChange:s,value:d,htmlId:u},b)=>e.jsx(c.DebounceInput,{inputRef:b,"data-testid":t,className:`${nc} ${a||""}`,type:n,name:o,placeholder:i,minLength:r,debounceTimeout:l,onChange:s,value:d,id:u}));var ic="SharedQueryInput-module_wrapper__XRxrd",rc="SharedQueryInput-module_search__XlzRv",lc="SharedQueryInput-module_search-synced__J4T4b",sc="SharedQueryInput-module_searchWithSync__ryuQa",cc="SharedQueryInput-module_icon__Aq0Hv",dc="SharedQueryInput-module_checked__oRvod",uc="SharedQueryInput-module_sync__0IO2N",bc="SharedQueryInput-module_syncSelected__hstBI",mc="SharedQueryInput-module_searchIcon__kfJxO";h(".SharedQueryInput-module_wrapper__XRxrd{align-items:center;display:flex;flex-direction:row;width:100%}.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv{background:var(--ps-immutable-white);border:1px solid var(--ps-ui-border);color:rgba(0,0,0,.85);display:flex;font:inherit;height:37px;margin-right:1.5px;transition:background-color .1s ease-out,border-color .1s ease-out,box-shadow .1s ease-out;width:100%}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:rgba(0,0,0,.25)}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS{background:var(--ps-immutable-white);border-color:var(--ps-ui-border);color:rgba(0,0,0,.65)}@media (prefers-color-scheme:dark){.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB{background:var(--ps-immutable-dark-background);border-color:var(--ps-ui-border-dark);color:hsla(0,0%,100%,.75)}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:hsla(0,0%,100%,.5)}}.SharedQueryInput-module_search-synced__J4T4b:focus-visible,.SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,.SharedQueryInput-module_search__XlzRv:focus-visible{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 3px rgba(93,151,111,.4);outline:none}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS:focus{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 2px rgba(93,151,111,.2);outline:none}@media (prefers-color-scheme:dark){.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB:focus{background:var(--ps-immutable-dark-background);border-color:#303030;box-shadow:0 0 0 2px rgba(48,48,48,.6);outline:none}}.SharedQueryInput-module_searchWithSync__ryuQa{border-bottom-right-radius:0;border-right:1px solid var(--ps-ui-border);border-top-right-radius:0;margin-right:0}.SharedQueryInput-module_search-synced__J4T4b{border-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_checked__oRvod,.SharedQueryInput-module_icon__Aq0Hv{cursor:pointer}.SharedQueryInput-module_checked__oRvod path,.SharedQueryInput-module_icon__Aq0Hv path{fill:var(--ps-grey-primary)}.SharedQueryInput-module_checked__oRvod path{fill:var(--ps-immutable-linked-border)}.SharedQueryInput-module_syncSelected__hstBI,.SharedQueryInput-module_sync__0IO2N{align-items:center;align-self:stretch;background-color:var(--ps-immutable-off-white);border:none;border:1px solid var(--ps-ui-border);border-bottom-right-radius:4px;border-left:none;border-top-right-radius:4px;cursor:pointer;display:flex;justify-content:center;position:relative;width:40px}.SharedQueryInput-module_syncSelected__hstBI{border-bottom-color:var(--ps-immutable-linked-border);border-right-color:var(--ps-immutable-linked-border);border-top-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_searchIcon__kfJxO{align-items:center;color:var(--ps-toolbar-icon-color);display:inline-flex;font-size:12px;left:10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:2}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv{background:#fff;border-color:#d9d9d9;border-radius:4px;color:#262626;font-size:12px;height:28px;padding:0 10px 0 28px}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b::placeholder,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa::placeholder,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv::placeholder{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:hover,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:hover,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:hover{border-color:#3c7150}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus,[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus-visible,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus-visible{border-color:#3c7150;box-shadow:0 0 0 2px rgba(60,113,80,.2)}[data-theme=kylin] .SharedQueryInput-module_searchIcon__kfJxO{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_syncSelected__hstBI,[data-theme=kylin] .SharedQueryInput-module_sync__0IO2N{border-radius:4px;height:28px;width:28px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNoYXJlZFF1ZXJ5SW5wdXQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsd0NBR0Usa0JBQW1CLENBRm5CLFlBQWEsQ0FDYixrQkFBbUIsQ0FHbkIsVUFDRixDQUVBLG9JQUNFLG9DQUFxQyxDQUlyQyxvQ0FBcUMsQ0FLckMscUJBQTBCLENBSjFCLFlBQWEsQ0FIYixZQUFhLENBSWIsV0FBWSxDQUhaLGtCQUFtQixDQUZuQiwwRkFBZ0csQ0FNaEcsVUFJRixDQUNBLDJLQUNFLHFCQUNGLENBSUEsc2VBQ0Usb0NBQXFDLENBRXJDLGdDQUFpQyxDQURqQyxxQkFFRixDQUlBLG1DQUNFLCtNQUNFLDhDQUErQyxDQUMvQyxxQ0FBc0MsQ0FDdEMseUJBQ0YsQ0FDQSxtUUFDRSx3QkFDRixDQUNGLENBSUEsOEtBQ0Usb0NBQXFDLENBQ3JDLG9CQUErQixDQUMvQix3Q0FBNkMsQ0FDN0MsWUFDRixDQUlBLDBnQkFDRSxvQ0FBcUMsQ0FDckMsb0JBQSt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J2t5bGluJ10pIC5zZWFyY2g6Zm9jdXMtdmlzaWJsZSwgOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaFdpdGhTeW5jOmZvY3VzLXZpc2libGUsIDpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC5zZWFyY2gtc3luY2VkOmZvY3VzLXZpc2libGUsXG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAuc2VhcmNoOmZvY3VzLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaFdpdGhTeW5jOmZvY3VzLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaC1zeW5jZWQ6Zm9jdXMge1xuICBib3JkZXItY29sb3I6ICMzYzcxNTA7XG4gIGJveC1zaGFkb3c6IDAgMCAwIDJweCByZ2JhKDYwLCAxMTMsIDgwLCAwLjIpO1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaEljb24ge1xuICBjb2xvcjogIzhjOGM4Yztcbn1cbjpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC5zeW5jLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnN5bmNTZWxlY3RlZCB7XG4gIGhlaWdodDogMjhweDtcbiAgd2lkdGg6IDI4cHg7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */");const hc=({onHighlightChange:a,highlightQuery:n,sharedQuery:o,width:i})=>{const r=Wr(),l=(e=>{const a=t.useRef();return t.useEffect(()=>{a.current=e},[e]),a.current})(null==o?void 0:o.syncEnabled),s=t.useRef(null),[c,d]=t.useState(!1);t.useEffect(()=>{"string"==typeof(null==o?void 0:o.searchQuery)&&(o.syncEnabled&&a(o.searchQuery),!o.syncEnabled&&l&&l!==(null==o?void 0:o.id)&&a(""))},[null==o?void 0:o.searchQuery,null==o?void 0:o.syncEnabled]),t.useEffect(()=>{const e=s.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");d(!!t)},[]);const u=t.useMemo(()=>o&&o.syncEnabled?o.searchQuery||"":n,[o,n]),b=t.useMemo(()=>`${o?sc:rc} ${(null==o?void 0:o.syncEnabled)?lc:""}`,[o]),m=(null==o?void 0:o.syncEnabled)?r.unsyncSearchBars:r.syncSearchBars;return e.jsxs("div",{ref:s,className:ic,style:{width:i},children:[e.jsx("span",{className:mc,children:e.jsx(Hn,{icon:ac.faSearch})}),e.jsx(oc,{testId:"flamegraph-search",className:b,type:"search",name:"flamegraph-search",placeholder:c?"搜索函数 / 过滤":r.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{a(e.target.value),o&&o.syncEnabled&&o.onQueryChange(e.target.value)},value:u}),o?e.jsx(Es,{placement:"top",title:m,children:e.jsx("button",{className:o.syncEnabled?bc:uc,onClick:()=>{const e=!(null==o?void 0:o.syncEnabled)&&(null==o?void 0:o.id);null==o||o.toggleSync(e),e?null==o||o.onQueryChange(n):(a(n),null==o||o.onQueryChange(""))},children:e.jsx(Hn,{className:`${o.syncEnabled?dc:cc}`,icon:Ks.faLink})})}):null]})};var gc="DiffLegend-module_flamegraph-legend__Cywr1",fc="DiffLegend-module_flamegraph-legend-list__swdXj",pc="DiffLegend-module_flamegraph-legend-item__0P-6g";function xc(t){const{palette:a,showMode:n}=t,o=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-50,0,50,100];default:throw new Error(`Unsupported ${e}`)}}(n),i=Ro(a),r="small"===n?{"--legend-item-width":"32px","--legend-item-padding":"2px 2px","--legend-font-size":"10px","--legend-line-height":"1.1","--legend-item-height":"16px"}:void 0;return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${gc} ${fc}`,style:r,children:o.map(t=>e.jsxs("div",{className:pc,style:{backgroundColor:i(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}h(".DiffLegend-module_flamegraph-legend__Cywr1{--legend-item-width:37px;--legend-item-padding:0;--legend-item-height:auto;align-items:center;display:flex;font-size:var(--legend-font-size,11px);justify-content:center;line-height:var(--legend-line-height,1)}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{height:var(--legend-item-height,auto);overflow:hidden;padding:var(--legend-item-padding,0);text-align:center;white-space:nowrap;width:var(--legend-item-width,37px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FLRSx3QkFBeUIsQ0FDekIsdUJBQXdCLENBQ3hCLHlCQUEwQixDQUwxQixrQkFBbUIsQ0FEbkIsWUFBYSxDQUViLHNDQUF3QyxDQUt4QyxzQkFBdUIsQ0FKdkIsdUNBS0YsQ0FFQSxpREFDRSxZQUFhLENBQ2Isc0JBQ0YsQ0FFQSxpREFFRSxxQ0FBdUMsQ0FPdkMsZUFBZ0IsQ0FOaEIsb0NBQXNDLENBQ3RDLGlCQUFrQixDQUlsQixrQkFBbUIsQ0FQbkIsbUNBU0YiLCJmaWxlIjoiRGlmZkxlZ2VuZC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZsYW1lZ3JhcGgtbGVnZW5kIHtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZm9udC1zaXplOiB2YXIoLS1sZWdlbmQtZm9udC1zaXplLCAxMXB4KTtcbiAgbGluZS1oZWlnaHQ6IHZhcigtLWxlZ2VuZC1saW5lLWhlaWdodCwgMSk7XG4gIC0tbGVnZW5kLWl0ZW0td2lkdGg6IDM3cHg7XG4gIC0tbGVnZW5kLWl0ZW0tcGFkZGluZzogMDtcbiAgLS1sZWdlbmQtaXRlbS1oZWlnaHQ6IGF1dG87XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtbGlzdCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtaXRlbSB7XG4gIHdpZHRoOiB2YXIoLS1sZWdlbmQtaXRlbS13aWR0aCwgMzdweCk7XG4gIGhlaWdodDogdmFyKC0tbGVnZW5kLWl0ZW0taGVpZ2h0LCBhdXRvKTtcbiAgcGFkZGluZzogdmFyKC0tbGVnZW5kLWl0ZW0tcGFkZGluZywgMCk7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcblxuICAvKiBpZiBmb3Igc29tZSByZWFzb24gdGhlIGNvbnRlbnRzIGNhbid0IGZpdCBcbiAgICogZG9uJ3QgYnJlYWsgaW50byAyIGxpbmVzICovXG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4iXX0= */");var Gc="Dropdown-module_dropdownMenu__tbN8r",Qc="Dropdown-module_dropdownMenuButton__Xy8M4";function Ic({id:t,children:a,className:n,disabled:o,value:i,label:r,onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:b,arrow:m,menuButtonClassName:h="",ariaLabel:g,portal:f,...p}){const x=p.menuButton||e.jsx(yc,{"aria-label":g,className:`${Qc} ${h}`,disabled:o,type:"button",children:i||r});return e.jsxs(lr,{id:t,"aria-label":g,className:pl(n,Gc),"data-testid":p["data-testid"],onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:b,arrow:m,menuButton:x,portal:f,children:[e.jsx(dr,{children:r}),a]})}h('@charset "UTF-8";.Dropdown-module_dropdownMenu__tbN8r{box-shadow:0 2px 6px var(--ps-dropdown-shadow)!important;padding:.25rem 0}.Dropdown-module_dropdownMenu__tbN8r,.Dropdown-module_dropdownMenu__tbN8r ul[class*=szh-menu]{background-color:var(--ps-dropdown-background)!important;color:var(--ps-neutral-2)!important}.Dropdown-module_dropdownMenu__tbN8r li[class=szh-menu__header]{text-align:left}.Dropdown-module_dropdownMenu__tbN8r div[class*=hover],.Dropdown-module_dropdownMenu__tbN8r li[class*=hover]{background-color:var(--ps-ui-element-bg-highlight)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu--open]:empty{display:none}.Dropdown-module_dropdownMenu__tbN8r [class*="szh-menu__item active"]{background-color:var(--ps-ui-element-bg-highlight);color:var(--ps-selected-app)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable]{background-color:inherit!important;padding-bottom:1rem;padding-top:1rem}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable] input{width:100%}.Dropdown-module_dropdownMenuButton__Xy8M4{background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:4px;display:flex;flex-shrink:0;margin-right:5px;outline:none;padding-right:20px;position:relative}.Dropdown-module_dropdownMenuButton__Xy8M4:after{content:"▾";position:absolute;right:5px;top:3px}.Dropdown-module_dropdownMenuButton__Xy8M4:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDQSxnQkFLQSxDQWpEQSxxQ0FFRSx3REFBNEQsQ0FENUQsZ0JBSUYsQ0FDQSw4RkFIRSx3REFBMEQsQ0FDMUQsbUNBS0YsQ0FDQSxnRUFDRSxlQUNGLENBQ0EsNkdBRUUsa0RBQ0YsQ0FDQSxtRUFDRSxZQUNGLENBQ0Esc0VBQ0Usa0RBQW1ELENBQ25ELDRCQUNGLENBQ0Esd0VBQ0Usa0NBQW9DLENBRXBDLG1CQUFvQixDQURwQixnQkFFRixDQUNBLDhFQUNFLFVBQ0YsQ0FFQSwyQ0FNRSx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jpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const Bc=cr,yc=Ji;var vc="DiffLegendPaletteDropdown-module_container__h8Tts",Fc="DiffLegendPaletteDropdown-module_triggerButton__oezA6",Zc="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",Lc="DiffLegendPaletteDropdown-module_menuItem__5iWry",Wc="DiffLegendPaletteDropdown-module_menuItemText__a-tt0",Nc="DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR",Xc="DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q",wc="DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m";h(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:4px;height:32px;margin-right:0;padding:2px 16px 2px 6px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:transparent;border-color:#6aa27d}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:focus-visible,.DiffLegendPaletteDropdown-module_triggerButton__oezA6[aria-expanded=true]{border-color:#3c7150;box-shadow:0 0 0 3px rgba(60,113,80,.22)}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:after{font-size:10px;right:6px;top:50%;transform:translateY(-50%)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:2px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:6px;justify-content:flex-start;min-width:148px;padding:4px 8px}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px;line-height:1.2}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu__header{color:#8a8f99;font-size:12px;font-weight:500;letter-spacing:.2px;padding:6px 12px 4px}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx .18s ease-out;margin-top:4px;transform-origin:top center}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q{background-color:transparent!important;border:1px solid transparent;border-radius:6px;margin:2px 6px;padding:0}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m{background-color:rgba(93,151,111,.38)!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m .DiffLegendPaletteDropdown-module_menuItemText__a-tt0{font-weight:600}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--hover{background-color:#f5f5f5!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--hover{background-color:rgba(93,151,111,.38)!important;border-color:transparent}@keyframes DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx{0%{opacity:0;transform:scaleY(.92)}to{opacity:1;transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:none}}.DiffLegendPaletteDropdown-module_row__Dgure{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:2px}.DiffLegendPaletteDropdown-module_row__Dgure p{font-size:13px;margin:0}.DiffLegendPaletteDropdown-module_dropdownWrapper__oQiLG{display:flex}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9{background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;padding:4px 8px}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownItem__qp936{align-items:center;display:flex;gap:8px;margin-top:4px}.DiffLegendPaletteDropdown-module_dropdownItem__qp936 svg{flex-shrink:0;height:16px;width:16px}[data-theme=kylin] .DiffLegendPaletteDropdown-module_triggerButton__oezA6{height:28px;padding:1px 14px 1px 6px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxtREFFRSxrQkFBbUIsQ0FEbkIsWUFFRixDQUdBLHVEQUVFLGtCQUFtQixDQUtuQiw0QkFBNkIsQ0FGN0Isb0NBQXFDLENBQ3JDLGlCQUFrQixDQUVsQixjQUFlLENBUGYsWUFBYSxDQUViLE9BQVEsQ0FNUixXQUFZLENBQ1osY0FBZSxDQU5mLHdCQU9GLENBRUEsNkRBQ0UsNEJBQTZCLENBQzdCLG9CQUNGLENBRUEsZ0pBRUUsb0JBQXFCLENBQ3JCLHdDQUNGLENBRUEsNkRBSUUsY0FBZSxDQUZmLFNBQVUsQ0FEVixPQUFRLENBRVIsMEJBRUYsQ0FFQSx1REFFRSw4QkFBK0IsQ0FEL0IsYUFBYyxDQUVkLGVBQ0YsQ0FHQSxrREFFRSxrQkFBbUIsQ0FEbkIsWUFBYSxDQUdiLE9BQVEsQ0FEUiwwQkFBMkIsQ0FFM0IsZUFBZ0IsQ0FDaEIsZUFDRixDQUVBLHNEQUNFLDRCQUE2QixDQUM3QixjQUFlLENBQ2YsZUFDRixDQUVBLHdFQUVFLGFBQWMsQ0FDZCxjQUFlLENBQ2YsZUFBZ0IsQ0FDaEIsbUJBQXFCLENBSnJCLG9CQUtGLENBRUEsZ0VBR0UsOEVBQXdDLENBRnhDLGNBQWUsQ0FDZiwyQkFFRixD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paletteDefaultName:"Color Blind"===e.name?o.paletteColorBlindName:e.name,r=e=>"Default"===e.name?o.paletteDefaultDesc:"Color Blind"===e.name?o.paletteColorBlindDesc:"";return e.jsx("div",{className:vc,children:e.jsx(Ic,{label:o.diffLegendSelectPalette,align:"end",className:Nc,menuButton:e.jsxs(yc,{className:pl(Qc,Fc),children:[e.jsx(xc,{palette:a,showMode:"small"}),e.jsx("span",{className:Zc})]}),onItemClick:e=>{e.value&&n(e.value)},children:Cc.map(t=>e.jsx(Bc,{value:t,className:pl(Xc,t.name===a.name&&wc),children:e.jsx("div",{className:Lc,children:e.jsxs("span",{className:Wc,children:[i(t)," ",r(t)]})})},t.name))})})};var Uc={navbar:"Toolbar-module_navbar__XN6xZ",searchWrapper:"Toolbar-module_searchWrapper__k--ua",rightSection:"Toolbar-module_rightSection__if7LO",viewType:"Toolbar-module_viewType__AKARg",toggleViewButton:"Toolbar-module_toggleViewButton__OQ9-U",fitModeButton:"Toolbar-module_fitModeButton__jOxve",selected:"Toolbar-module_selected__vwBQt",collapseNodeButton:"Toolbar-module_collapseNodeButton__bLdiw",resetViewButton:"Toolbar-module_resetViewButton__y2ebV",divider:"Toolbar-module_divider__dG6pE",itemsContainer:"Toolbar-module_itemsContainer__gSTMF",item:"Toolbar-module_item__o-hKc",moreButton:"Toolbar-module_moreButton__rhOdT",active:"Toolbar-module_active__36Kt-",navbarCollapsedItems:"Toolbar-module_navbarCollapsedItems__vojhw"};h(".Toolbar-module_navbar__XN6xZ{align-items:center;background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;flex-direction:row;height:47px;justify-content:space-between;margin:10px 0;padding:4px;position:relative}.Toolbar-module_searchWrapper__k--ua{flex-shrink:0;width:360px}.Toolbar-module_rightSection__if7LO{align-items:center;display:flex;gap:4px}.Toolbar-module_viewType__AKARg{display:flex;flex-direction:row;flex-wrap:nowrap}.Toolbar-module_navbar__XN6xZ button{color:var(--ps-toolbar-icon-color)}.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_toggleViewButton__OQ9-U{align-items:center;background-color:transparent;border-color:transparent;display:flex;height:37px;justify-content:center;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U svg{height:22px;width:22px}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve:hover,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}.Toolbar-module_collapseNodeButton__bLdiw,.Toolbar-module_resetViewButton__y2ebV{background-color:transparent;border-color:transparent;height:37px;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_resetViewButton__y2ebV{margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_divider__dG6pE{background-color:var(--ps-ui-border);height:37px;margin:0 2px;width:1px}.Toolbar-module_item__o-hKc,.Toolbar-module_itemsContainer__gSTMF{display:flex}.Toolbar-module_moreButton__rhOdT{border:none;border-radius:4px;height:37px;padding:0 5px}.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-,.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_moreButton__rhOdT:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}.Toolbar-module_navbarCollapsedItems__vojhw{background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;height:47px;padding:4px;position:absolute;right:0;top:50px;z-index:1}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ{background-color:transparent;border-color:transparent;height:40px;padding:4px 0}[data-theme=kylin] .Toolbar-module_searchWrapper__k--ua{width:180px}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ button{color:#595959}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px;width:28px}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:hover,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve:hover,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:hover,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV{background-color:#fafafa}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:disabled,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt{background-color:#3c7150;border-color:#3c7150}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt svg,[data-theme=kylin] .Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw svg,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U svg{height:16px;width:16px}[data-theme=kylin] .Toolbar-module_divider__dG6pE{background-color:#e5e5e5;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcUMsQ0FOckMsWUFBYSxDQUNiLGtCQUFtQixDQUduQixXQUFZLENBRFosNkJBQThCLENBRDlCLGFBQWMsQ0FLZCxXQUFZLENBUlosaUJBVUYsQ0FFQSxxQ0FFRSxhQUFjLENBRGQsV0FFRixDQUVBLG9DQUVFLGtCQUFtQixDQURuQixZQUFhLENBRWIsT0FDRixDQUVBLGdDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsZ0JBQ0YsQ0FFQSxxQ0FDRSxrQ0FDRixDQUVBLDZFQVVFLGtCQUFtQixDQUhuQiw0QkFBNkIsQ0FEN0Isd0JBQXlCLENBRXpCLFlBQWEsQ0FQYixXQUFZLENBUVosc0JBQXVCLENBTHZCLFlBQWEsQ0FGYixjQUFlLENBR2YsU0FBVSxDQUZWLFVBUUYsQ0FDQSxxRkFFRSxXQUFZLENBRFosVUFFRixDQUlBLGtTQUNFLDRDQUNGLENBQ0EsbUpBQ0UsVUFDRixDQUVBLGlGQU1FLDRCQUE2QixDQUM3Qix3QkFBeUIsQ0FKekIsV0FBWSxDQUNaLFlBQWEsQ0FIYixjQUFrQixDQUlsQixTQUFVLENBSFYsVUFNRixDQUVBLHVDQUdFLFlBQWEsQ0FEYixjQUFrQixDQUVsQixTQUFVLENBSFYsVUFJRixDQUVBLCt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c3ZnLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnJlc2V0Vmlld0J1dHRvbiBzdmcge1xuICB3aWR0aDogMTZweDtcbiAgaGVpZ2h0OiAxNnB4O1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLmRpdmlkZXIge1xuICBoZWlnaHQ6IDI4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6ICNlNWU1ZTU7XG59XG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAubW9yZUJ1dHRvbiB7XG4gIGhlaWdodDogMjhweDtcbiAgYm9yZGVyOiAxcHggc29saWQgI2Q5ZDlkOTtcbiAgYm9yZGVyLXJhZGl1czogNHB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLm1vcmVCdXR0b246aG92ZXIge1xuICBib3JkZXItY29sb3I6ICMzYzcxNTA7XG4gIGNvbG9yOiAjM2M3MTUwO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZTZmNGVhO1xufSJdfQ== */");const kc=Q.bind(Uc),Dc=(e,t,a)=>{const n=0===t?e-360-5:e-360-16-5;let o=0,i=0;return a.reverse().forEach(e=>{i+=e,n<=i&&(o+=1)}),o},Yc=()=>e.jsx("div",{className:Uc.divider}),_c=t.memo(({view:a,handleSearchChange:n,highlightQuery:o,isFlamegraphDirty:i,reset:l,updateFitMode:s,fitMode:c,updateView:d,selectedNode:u,onFocusOnSubtree:b,flamegraphType:m,enableChangingDisplay:h=!0,sharedQuery:g,ExportData:f,palette:p,setPalette:x})=>{const G=t.useRef(null),[Q,I]=t.useState(!1),B=Wr();t.useEffect(()=>{const e=G.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");I(!!t)},[]);const y=Q?32:44,v=Q?220:360,F="double"===m&&p&&x,Z=[{el:e.jsxs(e.Fragment,{children:[e.jsx(jc,{fitMode:c,updateFitMode:s}),e.jsx(Yc,{})]}),width:2*y+5},{el:e.jsx(Sc,{isFlamegraphDirty:i,reset:l}),width:y},{el:e.jsxs(e.Fragment,{children:[e.jsx(Vc,{selectedNode:u,onFocusOnSubtree:b}),e.jsx(Yc,{})]}),width:y+5},h?{el:e.jsx(Mc,{flamegraphType:m,view:a,updateView:d}),width:y*("single"===m?5:3)}:null,t.isValidElement(f)?{el:e.jsxs(e.Fragment,{children:[e.jsx(Yc,{}),f]}),width:y+5}:null].filter(e=>null!==e),L=Z.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:W,collapsedItemsNumber:N,handleMoreClick:X}=((e,a)=>{const[n,o]=t.useState(!0),[i,l]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),n=Dc(t,i,a);l(n)}},[e.current,a]),r(e,e=>{const{width:t}=e.target.getBoundingClientRect(),n=Dc(t,i,a);l(n),o(!0)}),{isCollapsed:n,handleMoreClick:()=>{o(e=>!e)},collapsedItemsNumber:i}})(G,L),w=Z.reduce((e,t,a)=>(a<N?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:G,children:e.jsxs("div",{className:Uc.navbar,children:[e.jsx("div",{className:Uc.searchWrapper,children:e.jsx(hc,{width:v,onHighlightChange:n,highlightQuery:o,sharedQuery:g})}),e.jsxs("div",{className:Uc.rightSection,children:[F&&e.jsxs(e.Fragment,{children:[e.jsx(Rc,{palette:p,onChange:x}),e.jsx(Yc,{})]}),e.jsxs("div",{className:Uc.itemsContainer,children:[w.visible.map((t,a)=>e.jsx("div",{className:Uc.item,style:{width:t.width},children:t.el},a)),0!==N&&e.jsx(Es,{placement:"top",title:B.more,children:e.jsx("button",{onClick:X,className:kc({[Uc.moreButton]:!0,[Uc.active]:!W}),children:e.jsx(Hn,{icon:Ss.faEllipsisV})})})]})]}),!W&&e.jsx("div",{className:Uc.navbarCollapsedItems,children:w.hidden.map((t,a)=>e.jsx("div",{className:Uc.item,style:{width:t.width},children:t.el},a))})]})})});function Vc({onFocusOnSubtree:t,selectedNode:a}){const n=Wr(),o=a.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(Es,{placement:"top",title:n.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(es,{disabled:!a.isJust,onClick:o,className:Uc.collapseNodeButton,"aria-label":n.collapseNodesAbove,children:e.jsx(Hn,{icon:gi.faCompressAlt})})})})}function Sc({isFlamegraphDirty:t,reset:a}){const n=Wr();return e.jsx(Es,{placement:"top",title:n.resetView,children:e.jsx("span",{children:e.jsx(es,{id:"reset",disabled:!t,onClick:a,className:Uc.resetViewButton,"aria-label":n.resetView,children:e.jsx(Hn,{icon:Ws.faUndo})})})})}function jc({fitMode:t,updateFitMode:a}){const n=Wr(),o=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(Es,{placement:"top",title:n.headFirst,children:e.jsx(es,{onClick:()=>a("HEAD"),className:kc({[Uc.fitModeButton]:!0,[Uc.selected]:o("HEAD")}),children:e.jsx(Or,{})})}),e.jsx(Es,{placement:"top",title:n.tailFirst,children:e.jsx(es,{onClick:()=>a("TAIL"),className:kc({[Uc.fitModeButton]:!0,[Uc.selected]:o("TAIL")}),children:e.jsx(zr,{})})})]})}const Jc=(t,a)=>"single"===t?[{label:a.viewFlamegraph,value:"flamegraph",Icon:Ar},{label:a.viewTable,value:"table",Icon:Jr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Mr},{label:a.viewSandwich,value:"sandwich",Icon:Er},{label:a.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Hn,{icon:ks.faProjectDiagram})}]:[{label:a.viewFlamegraph,value:"flamegraph",Icon:Ar},{label:a.viewTable,value:"table",Icon:Jr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Mr}];function Mc({view:t,updateView:a,flamegraphType:n}){const o=Wr(),i=Jc(n,o);return e.jsx("div",{className:Uc.viewType,children:i.map(({label:n,value:o,Icon:i})=>e.jsx(Es,{placement:"top",title:n,children:e.jsx(es,{"data-testid":o,onClick:()=>a(o),className:kc({[Uc.toggleViewButton]:!0,selected:t===o}),children:e.jsx(i,{})})},o))})}function Ac(e,t){const a={},n={};let o={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var i,r;for(let l=0;l<e.levels.length;l+=1)for(let s=0;s<e.levels[l].length;s+=4){const c=[t,l,s].join("/"),d=e.names[e.levels[l][s+3]],u=e.levels[l][s+0],b=e.levels[l][s+1],m=e.levels[l][s+2];let h="";if(0!==l){const a=l-1,o=e.levels[a];for(let e=0;e<o.length;e+=4){const i=o[e+0],r=o[e+1];if(u>=i&&u<i+r){const o=[t,a,e].join("/");h=n[o].key;break}}}const g=[h||"",d].join("/"),f=!a[g];a[g]||(a[g]={name:d,children:[],self:[],total:[],key:g});const p=a[g];(i=p.total)[t]||(i[t]=0),p.total[t]+=b,(r=p.self)[t]||(r[t]=0),p.self[t]+=m,n[c]=p,h&&f&&a[h].children.push(p),0===l&&(o=p)}}),o}const Ec=e=>{const t={maxSelf:100,names:[],levels:[]},a=(e,n,o)=>{var i;const{name:r,children:l,self:s,total:c,offset:d}=e;t.names.push(r),(i=t.levels)[n]||(i[n]=[]),t.maxSelf=Math.max(t.maxSelf,s[0]||0),t.levels[n]=t.levels[n].concat([o,c[0]||0,s[0]||0,t.names.length-1]);for(let e=0;e<l.length;e+=1){o+=a(l[e],n+1,o)}return d||c[0]||0};return a(e,0,0),t};function Oc(e){const t=new Map;for(let a=0;a<e.children.length;a+=1)t.has(e.children[a].name)||t.set(e.children[a].name,e.children[a]);for(let a=0;a<e.children.length;a+=1){const n=e.children[a],o=t.get(e.children[a].name);o&&o!==n&&(o.total[0]+=n.total[0],o.self[0]+=n.self[0],o.children=o.children.concat(n.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)Oc(e.children[t])}function zc(e,t){const a=function(e,t){const a=Ac(e),n={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},o={name:t,total:[],self:[0],children:[]},i=e=>{e.name===t&&(n.numTicks+=e.total[0],o.total=[n.numTicks],o.children=o.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)i(e.children[t])};return i(a),Oc(o),{...n,...Ec(o)}}(JSON.parse(JSON.stringify(e)),t);return a}function Tc(e,t){const a=function(e,t){const a=Ac(e),n={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},o=[],i=[],r={name:t,total:[0],self:[0],children:[]},l=(e,a=[])=>{const r=a.concat([{...e,children:[]}]);e.name===t&&(i.push(r),o.push(e.total[0]),n.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)l(e.children[t],r)};l(a),i.forEach((e,t)=>{r.children.push(((e,t)=>{const a={};let n=a;return e.forEach(({name:e,...a})=>{const o={name:e,...a,total:[t]};n.children=[o],n=o}),a.children[0]})(e.reverse(),o[t]))}),Oc(r);const s=Ec(r);return s.levels=s.levels.reverse().slice(0,-1),{...n,...s}}(JSON.parse(JSON.stringify(e)),t);return a}var Hc={flamegraphContainer:"FlamegraphRenderer-module_flamegraphContainer__-7FRV",createdBy:"FlamegraphRenderer-module_createdBy__rHAOT",horizontal:"FlamegraphRenderer-module_horizontal__zs7--",vertical:"FlamegraphRenderer-module_vertical__fRcHg",panesWrapper:"FlamegraphRenderer-module_panesWrapper__L-mlA",tablePane:"FlamegraphRenderer-module_tablePane__Gin7Y",sandwichPane:"FlamegraphRenderer-module_sandwichPane__IEOyR",sandwichPaneInfo:"FlamegraphRenderer-module_sandwichPaneInfo__5hT4a",arrow:"FlamegraphRenderer-module_arrow__dPzpE",sandwichTop:"FlamegraphRenderer-module_sandwichTop__7N0ZY",sandwichBottom:"FlamegraphRenderer-module_sandwichBottom__Dc64g",name:"FlamegraphRenderer-module_name__XRbN9"};h(".FlamegraphRenderer-module_flamegraphContainer__-7FRV{width:100%}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:first-child{margin-right:8px}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:nth-child(2){margin-left:8px}.FlamegraphRenderer-module_createdBy__rHAOT{color:#fff;margin:10px 0;text-align:center}.FlamegraphRenderer-module_createdBy__rHAOT a{color:#199bef!important}.FlamegraphRenderer-module_horizontal__zs7--{flex-direction:row}.FlamegraphRenderer-module_vertical__fRcHg{flex-direction:column-reverse}.FlamegraphRenderer-module_panesWrapper__L-mlA{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR,.FlamegraphRenderer-module_tablePane__Gin7Y{flex:1}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a{background-color:var(--ps-sandwich-pane-info-bg);border-radius:5px;color:var(--ps-neutral-1);display:inline-block;margin:30px 0 0 10px;padding:8px;position:relative}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg{margin:30px 0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg .FlamegraphRenderer-module_arrow__dPzpE{bottom:-15px;left:20px;top:auto;transform:rotate(-90deg)}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a .FlamegraphRenderer-module_arrow__dPzpE{border-color:transparent var(--ps-sandwich-pane-info-bg) transparent transparent;border-style:solid;border-width:8px 20px 8px 0;height:0;left:-20px;position:absolute;top:14px;width:0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{margin-bottom:10px}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g .FlamegraphRenderer-module_name__XRbN9,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY .FlamegraphRenderer-module_name__XRbN9{padding:5px 0;transform:rotate(-180deg);writing-mode:vertical-rl}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g span{text-align:right}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhSZW5kZXJlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSxVQUNGLENBR0EsbUVBQ0UsZ0JBQ0YsQ0FFQSxvRUFDRSxlQUVGLENBRUEsNENBQ0UsVUFBWSxDQUVaLGFBQWMsQ0FEZCxpQkFFRixDQUVBLDhDQUNFLHVCQUNGLENBRUEsNkNBQ0Usa0JBQ0YsQ0FFQSwyQ0FFRSw2QkFDRixDQUVBLCtDQUNFLFlBQ0YsQ0FFQSwyRkFFRSxNQUNGLENBRUEsa0dBTUUsZ0RBQWlELENBRGpELGlCQUFrQixDQUVsQix5QkFBMEIsQ0FOMUIsb0JBQXFCLENBRXJCLG9CQUFxQixDQUNyQixXQUFZLENBRlosaUJBTUYsQ0FDQSw0SUFDRSxhQUNGLENBQ0Esb0xBRUUsWUFBYSxDQUNiLFNBQVUsQ0FGVixRQUFZLENBR1osd0JBQ0YsQ0FDQSwwSUFRRSxnRkFBaUYsQ0FGakYsa0JBQW1CLENBQ25CLDJCQUE0QixDQUY1QixRQUFTLENBRlQsVUFBVyxDQUZYLGlCQUFrQixDQUNsQixRQUFTLENBRVQsT0FLRixDQUNBLDZGQUNFLGtCQUNGLENBQ0EsNkxBRUUsWUFDRixDQUNBLDJRQUlFLGFBQWMsQ0FEZCx5QkFBMEIsQ0FEMUIsd0JBR0YsQ0FDQSx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C5zYW5kd2ljaEJvdHRvbSAubmFtZSB7XG4gIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7XG4gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICBwYWRkaW5nOiA1cHggMDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoQm90dG9tIHNwYW4ge1xuICB0ZXh0LWFsaWduOiByaWdodDtcbn0iXX0= */");function Pc(e){const t=[];return Object.keys(e).forEach(a=>{var n;t.push(`${a}="${n=String(e[a]||""),n.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Kc(e,t){return`${(100*e/t).toFixed(2)}%`}function $c(e,t){let a,n,o,i;t?(a=.1,n=.93):(a=1,n=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(a*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(i=n,o=n*(1+a*e)):(o=n,i=n*(1-a*e));const r=n*(1-a);return`#${Math.floor(255*o).toString(16).padStart(2,"0")}${Math.floor(255*i).toString(16).padStart(2,"0")}${Math.floor(255*r).toString(16).padStart(2,"0")}`}function qc(e,t,a,n){const{self:o}=t,{total:i}=t,r=t.name.replace(/"/g,'\\"'),l=e(o),s=8+Math.ceil(16*Math.sqrt(o/a)),c=$c(i/n,!1),d=$c(i/n,!0),u=function(e,t,a,n,o){let i="";i=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const r=e(a);0!==a?i=`${i+r} (${Kc(a,o)})`:i+="0";let l=r;n!==a&&(i+=0!==a?"\n":" ",l=e(n),i=`${i}of ${l} (${Kc(n,o)})`);return i}(e,r,o,i,n),b={label:u,id:`node${t.index}`,fontsize:s,shape:"box",tooltip:`${r} (${l})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:d};return`N${t.index} ${Pc(b)}`}function ed(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Ac(e.flamebearer),a=[],n=[];const[o,i,,r]=function e(t,a,n,o,i){return t.children.forEach(t=>{const[r,l]=e(t,a,n,o,i);a=Math.max(a,r),n=Math.max(n,l)}),a=Math.max(a,t.self[0]),n=Math.max(n,t.total[0]),o+=t.self[0],i+=t.total[0],[a,n,o,i]}(t,0,0,0,0),{sampleRate:l,units:s}=e.metadata,c=Qo(i,l,s),d=e=>c.format(e,l,!0);let u={};const b={};let m=0;function h(e,t){return-1===t.indexOf(e.name)&&(u[e.name]?(u[e.name].self+=e.self[0],u[e.name].total+=e.total[0]):(m+=1,u[e.name]={index:m,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(a=>{const n=h(a,t.concat([e.name])),o=`${e.name}/${a.name}`;a.name!==e.name&&(b[o]?b[o].weight+=a.total[0]:b[o]={from:u[e.name],to:n,weight:a.total[0],residual:!1},n.parents.push(b[o]),u[e.name].children.push(b[o]))}),u[e.name]}t.children.forEach(e=>{h(e,[])});const g=.005*r,f=.001*r;function p(e,t){let a=0,n=t;if(e.forEach(e=>{e.weight>0&&(n+=Math.abs(e.weight))}),0!==n&&(e.forEach(e=>{const t=Math.abs(e.weight)/n;a+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/n;a+=-e*Math.log2(e)}return a}Object.keys(u).forEach(e=>{u[e].total<g&&delete u[e]});const x={};Object.keys(u).forEach(e=>{x[u[e].name]=function(e){let t=0;return 0===e.parents.length?t+=1:t+=p(e.parents,0),0===e.children.length?t+=1:t+=p(e.children,e.self),t*e.total+e.self}(u[e])});const G=Object.values(u).sort((e,t)=>{const a=x[e.name],n=x[t.name];return a!==n?n-a:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?n-a:e.name<t.name?-1:1}),Q={};function I(e){const[t,a]=[e.from,e.to],n={},o=[a];for(;o.length>0;){const a=o.shift();for(let i=0;i<a.parents.length;i+=1){const r=a.parents[i];if(e!==r&&!n[r.from.name]){if(r.from===t)return!0;n[r.from.name]=!0,o.push(r.from)}}}return!1}return G.forEach(e=>{Q[e.name]=e}),G.slice(80).forEach(e=>{delete Q[e.name]}),function e(t,a){const n=!Q[t.name];t.children.forEach(o=>{const i=!Q[o.name];if(e(o,n?a:t),!i&&a&&n){const e=`${a.name}/${o.name}`;b[e]||(b[e]={from:u[a.name],to:u[o.name],weight:0,residual:!0}),b[e].weight+=o.total[0],b[e].residual=!0}})}(t,null),u=Q,G.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),a=[];for(let e=0;e<t.length;e+=1){const n=t[e];if(!n.residual)break;I(n)&&(a.push(n),delete b[`${n.from.name}/${n.to.name}`])}a.forEach(e=>{e.from.children=e.from.children.filter(t=>t.to!==e.to),e.to.parents=e.to.parents.filter(t=>t.from!==e.from)})}),Object.keys(b).forEach(e=>{const t=b[e];u[t.from.name]||delete b[e],u[t.to.name]||delete b[e],t.weight<f&&delete b[e]}),Object.keys(u).forEach(e=>{a.push(qc(d,u[e],o,i))}),Object.keys(b).forEach(e=>{n.push(function(e,t,a){const n=t.from.name.replace(/"/g,'\\"'),o=t.to.name.replace(/"/g,'\\"'),i=t.weight,r=e(t.weight),l=`${n} -> ${o} (${r})`,s={label:r,weight:1+100*i/a,penwidth:1+5*i/a,tooltip:l,labeltooltip:l,fontname:"",color:$c(i/a,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Pc(s)}`}(d,b[e],i))}),`digraph "unnamed" {\n fontname= ""\n ${a.join("\n")}\n ${n.join("\n")}\n }`}var td="GraphVizPanel-module_graphVizPane__B18cQ";h(".GraphVizPanel-module_graphVizPane__B18cQ{display:flex;flex:1}.GraphVizPanel-module_graphVizPane__B18cQ.GraphVizPanel-module_graphVizPane__B18cQ{border:1px solid var(--ps-ui-border);margin-right:0}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz]{overflow:hidden;width:100%}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .graph>polygon{fill:none}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .edge text[text-anchor=middle]{fill:var(--ps-toolbar-icon-color)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkdyYXBoVml6UGFuZWwubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQ0UsWUFBYSxDQUNiLE1BQ0YsQ0FDQSxtRkFFRSxvQ0FBcUMsQ0FEckMsY0FFRixDQUNBLDREQUVFLGVBQWdCLENBRGhCLFVBRUYsQ0FDQSwyRUFDRSxTQUNGLENBQ0EsMkZBQ0UsaUNBQ0YiLCJmaWxlIjoiR3JhcGhWaXpQYW5lbC5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ncmFwaFZpelBhbmUge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4OiAxO1xufVxuLmdyYXBoVml6UGFuZS5ncmFwaFZpelBhbmUge1xuICBtYXJnaW4tcmlnaHQ6IDA7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmdyYXBoID4gcG9seWdvbiB7XG4gIGZpbGw6IG5vbmU7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmVkZ2UgdGV4dFt0ZXh0LWFuY2hvcj1taWRkbGVdIHtcbiAgZmlsbDogdmFyKC0tcHMtdG9vbGJhci1pY29uLWNvbG9yKTtcbn0iXX0= */");const ad=()=>null;function nd({flamebearer:a}){var n,o;const i=a,r=(null===(n=i.metadata)||void 0===n?void 0:n.format)&&(null===(o=i.flamebearer)||void 0===o?void 0:o.levels),l=`graphviz-pane-${(null==i?void 0:i.appName)||String((new Date).valueOf())}`,s=t.useMemo(()=>ed(i),[JSON.stringify(i)]);return e.jsx("div",{className:td,children:r?e.jsx(ad,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:s}):e.jsx("div",{children:"NO DATA"})},l)}function od(e){let t=2166136261;const a=e.length;if(0===a)return t>>>0;const n=[0,Math.floor(a/2),a-1];for(let a=0;a<n.length;a+=1){const o=e[n[a]];if(!o||0===o.length)continue;const i=Math.min(8,o.length);for(let e=0;e<i;e+=1)t^=0|o[e],t=Math.imul(t,16777619);for(let e=Math.max(0,o.length-i);e<o.length;e+=1)t^=0|o[e],t=Math.imul(t,16777619)}return t>>>0}function id(e){let t=2166136261;const a=e.length;if(0===a)return t>>>0;const n=Math.min(32,a),o=[...Array.from({length:n},(e,t)=>t),...Array.from({length:n},(e,t)=>a-n+t)];for(let a=0;a<o.length;a+=1){const n=e[o[a]]||"";for(let e=0;e<n.length;e+=1)t^=n.charCodeAt(e),t=Math.imul(t,16777619)}return t>>>0}function rd(e){var t,a,n,o,i,r;const l=e.__kylinSignature;if(l)return l;const s=e,c=[e.format,e.numTicks,e.sampleRate,e.units,e.maxSelf,null!==(a=null===(t=e.names)||void 0===t?void 0:t.length)&&void 0!==a?a:0,null!==(o=null===(n=e.levels)||void 0===n?void 0:n.length)&&void 0!==o?o:0,null!==(i=s.leftTicks)&&void 0!==i?i:"na",null!==(r=s.rightTicks)&&void 0!==r?r:"na",od(e.levels),id(e.names||[])].join("|");return e.__kylinSignature=c,c}function ld(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let o=t;o<n.length;o+=a)n[o]-=e,e+=n[o]+n[o+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function sd(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let o=t;o<n.length;o+=a)n[o]+=e,e=n[o]+n[o+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function cd(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const a=e.profile,n={...a,flamebearer:{...a.flamebearer}};a.__kylinDecoded||((t=n).flamebearer.levels=sd(t.metadata.format,t.flamebearer.levels),a.__kylinDecoded=!0,n.__kylinDecoded=!0);const o={...n,...n.metadata,...n.flamebearer,flamebearer:void 0,metadata:void 0};return delete o.flamebearer,delete o.metadata,o}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class dd extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:a.Maybe.nothing(),zoom:a.Maybe.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const a=this.state.flamegraphConfigs,n=(e,t,a)=>{const n=(e,t,a)=>e.names[io(e.format).getBarName(e.levels[t],a)];if(a.isNothing)return!0;try{const o=a,i=n(e,o.value.i,o.value.j);return i===n(t,o.value.i,o.value.j)}catch{return!1}};n(e,t,this.state.flamegraphConfigs.zoom)||(a.zoom=this.resetFlamegraphState.zoom);return n(e,t,this.state.flamegraphConfigs.focusedNode)||(a.focusedNode=this.resetFlamegraphState.focusedNode),a},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){return rd(e)===rd(t)}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:a.Maybe.nothing()})},this.onFlamegraphZoom=e=>{e.isJust&&0===e.value.i&&0===e.value.j?this.onReset():this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,zoom:e}})},this.onFocusOnNode=(e,t)=>{if(0===e&&0===t)return void this.onReset();let n={...this.state.flamegraphConfigs};const{zoom:o}=this.state.flamegraphConfigs;o.isJust&&o.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:a.Maybe.just({i:e,j:t})}})},this.isNameInFocusedSubtree=e=>{const{focusedNode:t}=this.state.flamegraphConfigs;if(t.isNothing)return!0;const{flamebearer:a}=this.state;if(!a||!a.levels)return!0;const{names:n,levels:o,format:i}=a,r=io(i),l=t.value.i,s=t.value.j,c=o[l];if(!c)return!0;const d=r.getBarOffset(c,s),u=d+r.getBarTotal(c,s);for(let t=l;t<o.length;t++){const a=o[t];for(let t=0;t<a.length;t+=r.jStep){const o=r.getBarOffset(a,t),i=r.getBarTotal(a,t);if(o>=d&&o+i<=u){if(n[r.getBarName(a,t)]===e)return!0}}}return!1},this.setActiveItem=e=>{const{name:t}=e;if(this.state.selectedItem.isJust&&t===this.state.selectedItem.value)return void this.setState({selectedItem:a.Maybe.nothing()});this.isNameInFocusedSubtree(t)?this.setState({selectedItem:a.Maybe.just(t)}):this.setState({selectedItem:a.Maybe.just(t),flamegraphConfigs:{...this.state.flamegraphConfigs,focusedNode:this.resetFlamegraphState.focusedNode}})},this.getHighlightQuery=()=>this.state.selectedItem.isJust?this.state.selectedItem.value:this.state.searchQuery,this.updateView=e=>{"sandwich"===e&&this.setState({searchQuery:"",flamegraphConfigs:this.resetFlamegraphState}),this.setState({view:e})},this.updateFlamegraphDirtiness=()=>{const e=this.isDirty();this.setState({isFlamegraphDirty:e})},this.updateFitMode=e=>{this.setState({fitMode:e})},this.clearFocus=()=>{this.setState(e=>({...e,flamegraphConfigs:{...e.flamegraphConfigs,...this.resetFlamegraphState}}))},this.getActiveRange=()=>{const{flamebearer:e}=this.state,{zoom:t,focusedNode:a}=this.state.flamegraphConfigs,n=e.numTicks;if(!n)return{rangeMin:0,rangeMax:1};const o=io(e.format),i=t=>{const a=e.levels[t.i];if(!a)return{rangeMin:0,rangeMax:1};const i=o.getBarOffset(a,t.j),r=o.getBarTotal(a,t.j);return{rangeMin:i/n,rangeMax:(i+r)/n}};return t.match({Just:e=>a.match({Just:t=>{const a=i(t),n=i(e);return a.rangeMax-a.rangeMin<n.rangeMax-n.rangeMin?a:n},Nothing:()=>i(e)}),Nothing:()=>a.match({Just:e=>i(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{var t;const a=e.jsx("div",{className:Eo(Hc.tablePane,"vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal),children:e.jsx(Gs,{"data-testid":"table-view",flamebearer:this.state.flamebearer,fitMode:this.state.fitMode,highlightQuery:this.state.searchQuery,selectedItem:this.state.selectedItem,handleTableItemClick:this.setActiveItem,palette:this.state.palette,onFocusOnNode:this.onFocusOnNode,updateView:this.props.onlyDisplay?void 0:this.updateView,enableSandwichView:this.props.enableSandwichView})},"table-pane"),n=this.shouldShowToolbar(),o=!this.state.flamebearer||this.state.flamebearer.names.length<=1,i=this.context,r="Location"!==i.location,l=this.state.flamebearer.numTicks,s=Qo(l,this.state.flamebearer.sampleRate,this.state.flamebearer.units).format(l,this.state.flamebearer.sampleRate),c=fo(s,r)||s,u=function(e,t=po){const a=Math.abs(e);for(const{value:n,label:o}of t)if(a>=n)return`${(e/n).toFixed(2).replace(/\.?0+$/,"")} ${o}`;return ho(e)}(l,i.sampleCountFormat),b=i.tooltipSamples.replace(/[::]\s*$/,""),m=(null===(t=i.tooltipUnitTitles[this.state.flamebearer.units])||void 0===t?void 0:t.formattedValue)||i.tooltipUnitTitles.unknown.formattedValue,h=this.getActiveRange(),g=h.rangeMin>0||h.rangeMax<1,f=Math.max(0,Math.min(l,(h.rangeMax-h.rangeMin)*l)),p=l>0?f/l*100:0,x=(()=>{const e=io(this.state.flamebearer.format),t=this.state.flamegraphConfigs.focusedNode.mapOrElse(()=>this.state.flamegraphConfigs.zoom.mapOrElse(()=>null,e=>e),e=>e);if(!t)return"";const a=this.state.flamebearer.levels[t.i];if(!a)return"";const n=e.getBarName(a,t.j);return this.state.flamebearer.names[n]||""})(),G=e.jsx(bl,{showCredit:this.props.showCredit,flamebearer:this.state.flamebearer,highlightQuery:this.getHighlightQuery(),setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,updateView:this.props.onlyDisplay?void 0:this.updateView,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:n,setPalette:this.handleSetPalette,enableSandwichView:this.props.enableSandwichView,breadcrumb:o?void 0:{totalValueText:c,totalSamplesText:u,samplesLabel:b,unitLabel:m,hasFocus:g,focusPercent:p,focusLabel:x,ofTotalPlacement:r?"before":"after",ofTotalLabel:i.ofTotal,clearFocusLabel:i.clearFocus,onClearFocus:this.clearFocus}},"flamegraph-pane"),Q=(()=>{if("sandwich"!==this.state.view)return e.jsx("div",{className:Hc.sandwichPane},"sandwich-pane");if(this.state.selectedItem.isNothing)return e.jsx("div",{className:Hc.sandwichPane,children:e.jsxs("div",{className:Eo(Hc.sandwichPaneInfo,"vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal),children:[e.jsx("div",{className:Hc.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Tc(this.state.flamebearer,this.state.selectedItem.value),a=zc(this.state.flamebearer,this.state.selectedItem.value),o=t=>e.jsx(bl,{disableClick:!0,showCredit:this.props.showCredit,highlightQuery:"",setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:n,setPalette:this.handleSetPalette,...t});return e.jsxs("div",{className:Hc.sandwichPane,children:[e.jsxs("div",{className:Hc.sandwichTop,children:[e.jsx("span",{className:Hc.name,children:"Callers"}),o({flamebearer:t})]}),e.jsxs("div",{className:Hc.sandwichBottom,children:[e.jsx("span",{className:Hc.name,children:"Callees"}),o({flamebearer:a,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),I=function(e,t,a,n,o){switch(e){case"table":return[a];case"flamegraph":return[t];case"sandwich":return[a,n];case"both":return[a,t];case"graphviz":return[o];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,G,a,Q,e.jsx(nd,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[n&&e.jsx(_c,{sharedQuery:this.props.sharedQuery,enableChangingDisplay:!this.props.onlyDisplay,flamegraphType:this.state.flamebearer.format,view:this.state.view,handleSearchChange:this.onSearchChange,reset:this.onReset,updateView:this.updateView,updateFitMode:this.updateFitMode,fitMode:this.state.fitMode,isFlamegraphDirty:this.isDirty(),selectedNode:this.state.flamegraphConfigs.zoom,highlightQuery:this.state.searchQuery,onFocusOnSubtree:this.onFocusOnNode,ExportData:this.props.ExportData,palette:this.state.palette,setPalette:this.handleSetPalette}),this.props.children,e.jsx("div",{className:`${Hc.flamegraphContainer} ${Eo("vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal,Hc[this.state.panesOrientation],Hc.panesWrapper)}`,children:o?e.jsx(zo,{}):I.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:Hc.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(d,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:cd(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:a.Maybe.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:xr}}componentDidUpdate(e,t){if(e.profile!==this.props.profile||e.flamebearer!==this.props.flamebearer){const e=t.flamebearer,n=cd(this.props);if(!this.isSameFlamebearer(e,n)){const t=this.calcNewConfigs(e,n);return void this.setState({flamebearer:n,flamegraphConfigs:{...this.state.flamegraphConfigs,...t},selectedItem:a.Maybe.nothing()})}}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}dd.contextType=Zr,dd.defaultProps={showCredit:!1};const ud={showPyroscopeLogo:!1},bd=(e,t)=>{if(t)return t;const a=null!=e?e:"auto";return"zh-CN"===("auto"===a?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":a)?vr:yr};exports.Box=function(t){const{children:a,noPadding:n,className:o="",theme:i="dark"}=t,r=n?"":Pn.padding;return e.jsx("div",{className:`${Pn.box} ${r} ${o}`,"data-theme":i,children:a})},exports.DefaultPalette=xr,exports.Flamegraph=Mo,exports.FlamegraphI18nProvider=Lr,exports.FlamegraphRenderer=a=>{const{i18n:n,locale:o,colorMode:i="light",sandwich:r=!0,...l}=a,s=t.useMemo(()=>bd(o,n),[o,n]),c=t.useMemo(()=>(e=>{switch(e){case"dark":return"ps-theme-dark";case"kylin":return"ps-theme-kylin";default:return"ps-theme-light"}})(i),[i]);return e.jsx("pyro-flamegraph",{className:c,children:e.jsx(Lr,{messages:s,children:e.jsx(dd,{...ud,enableSandwichView:r,...l})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},a={},n={children:[]};return e.spans.forEach(e=>{e.children=[],a[e.spanID]=e}),e.spans.forEach(e=>{let t=n;e.references&&e.references.length>0&&(t=a[e.references[0].spanID]||n),t.children.push(e)}),function e(t,a){(t.children||[]).forEach(t=>e(t));let n=0;const o=u(t.children||[],e=>e.operationName);t.children=b(o,e=>{const t=e[0];for(let a=1;a<e.length;a+=1)t.duration+=e[a].duration;return n+=t.duration,t}),t.total=t.duration||n,t.self=Math.max(0,t.total-n)}(n),function a(n,o,i){var r;return t.numTicks||(t.numTicks=n.total),(r=t.levels)[o]||(r[o]=[]),t.levels[o].push(i),t.levels[o].push(n.total),t.levels[o].push(n.self),t.names.push((n.processID?`${e.processes[n.processID].serviceName}: `:"")+(n.operationName||"total")),t.levels[o].push(t.names.length-1),(n.children||[]).forEach(e=>{i+=a(e,o+1,i)}),n.total}(n,0,0),t.levels=ld("single",t.levels),{version:1,flamebearer:t,metadata:{format:"single",units:"trace_samples",spyName:"tracing",sampleRate:1e6}}},exports.diffTwoProfiles=function(e,t){e.flamebearer.levels=sd("single",e.flamebearer.levels),t.flamebearer.levels=sd("single",t.flamebearer.levels);const a=function(e,t){const a={format:"double",numTicks:e.numTicks+t.numTicks,leftTicks:e.numTicks,rightTicks:t.numTicks,maxSelf:100,sampleRate:e.sampleRate,names:[],levels:[],units:e.units,spyName:e.spyName},n=Ac(e,t),o=(e,t,n,i)=>{var r;const{name:l,children:s,self:c,total:d}=e;a.names.push(l),(r=a.levels)[t]||(r[t]=[]),a.maxSelf=Math.max(a.maxSelf,c[0]||0,c[1]||0),a.levels[t]=a.levels[t].concat([n,d[0]||0,c[0]||0,i,d[1]||0,c[1]||0,a.names.length-1]);for(let e=0;e<s.length;e+=1){const[a,r]=o(s[e],t+1,n,i);n+=a,i+=r}return[d[0]||0,d[1]||0]};return o(n,0,0,0),a}(e.flamebearer,t.flamebearer);a.levels=ld("double",a.levels);const n={...e.metadata};return n.format="double",{version:1,flamebearer:a,metadata:n,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=yr,exports.flamegraphZhCNMessages=vr;
|
|
17
|
+
*/var gr,fr=(mr||(mr=1,function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=o(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var i in e)t.call(e,i)&&e[i]&&(n=o(n,i));return n}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}(hr)),hr.exports),pr=g(fr),xr={};function Gr(){return gr||(gr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="crosshairs",a=[],n="f05b",o="M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faCrosshairs=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(xr)),xr}var Qr,Ir=Gr(),Br={};function vr(){return Qr||(Qr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",a=[9001],n="f053",o="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,o]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Br)),Br}var yr,Fr=vr(),Zr={};function Lr(){return yr||(yr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",a=[9002],n="f054",o="M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,o]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Zr)),Zr}var Wr=Lr(),Nr="Table-module_table__6A8SM",Xr="Table-module_sortable__J6kyp",wr="Table-module_sortArrow__Nrncn",Cr="Table-module_sortArrowUp__WmbEG",Rr="Table-module_sortArrowDown__Gyue1",Ur="Table-module_asc__tJDI9",kr="Table-module_desc__fjVRY",Dr="Table-module_isRowSelected__UhIAJ",Yr="Table-module_isRowDisabled__sz3NJ",_r="Table-module_virtualSpacer__C1hxH",Vr="Table-module_active__EShS8",Sr="Table-module_loadingSpinner__SSjMK",jr="Table-module_pagination__VXgcO";h(".Table-module_table__6A8SM{table-layout:fixed;width:100%}.Table-module_table__6A8SM thead{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff));color:var(--ps-table-header-text,var(--ps-ui-foreground-text,#000))}.Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{cursor:pointer;user-select:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:5px solid transparent;border-top:5px solid var(--ps-ui-foreground-text);display:inline-block;margin-left:7px;position:relative;top:3px}.Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,.Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{display:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9{border-bottom-color:var(--ps-button-switch-bg-highlight);border-top-color:transparent;top:-2px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY{border-top-color:var(--ps-button-switch-bg-highlight);top:3px}.Table-module_table__6A8SM tbody{cursor:pointer}.Table-module_table__6A8SM tbody td{font-weight:400;text-align:center}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ{background:var(--ps-table-highlight-row-bg,#bae0ff)!important;color:var(--ps-table-highlight-row-text,#0958d9);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ td:first-child{box-shadow:inset 3px 0 0 0 var(--ps-table-highlight-border,#1677ff)}.Table-module_table__6A8SM tbody tr.Table-module_isRowDisabled__sz3NJ td{text-decoration:line-through}.Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:var(--ps-ui-element-bg-highlight);color:var(--ps-neutral-2);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_virtualSpacer__C1hxH{background:transparent!important;pointer-events:none}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px}[data-theme=kylin] .Table-module_table__6A8SM thead th{background:#fafafa;border-color:#d9d9d9;text-align:left}[data-theme=kylin] .Table-module_table__6A8SM tbody td{border-color:#f0f0f0}[data-theme=kylin] .Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:#f5f5f5;color:var(--ps-neutral-2)}[data-theme=kylin] .Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{padding-right:18px;position:relative}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:0;display:inline-flex;flex-direction:column;line-height:1;margin-left:6px;position:absolute;right:6px;top:50%;transform:translateY(-50%);vertical-align:middle}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-left:4px solid transparent;border-right:4px solid transparent;display:inline-block;height:0;opacity:.35;width:0}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-bottom:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text));margin-bottom:2px}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1{border-top:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text))}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowUp__WmbEG{opacity:.45}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9 .Table-module_sortArrowUp__WmbEG{border-bottom-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY .Table-module_sortArrowDown__Gyue1{border-top-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}.Table-module_table__6A8SM.flamegraph-table-doubles td:first-child,.Table-module_table__6A8SM.flamegraph-table-doubles th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(4),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(4){width:15%}.Table-module_table__6A8SM.flamegraph-table td:first-child,.Table-module_table__6A8SM.flamegraph-table th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table th:nth-child(3){width:22.5%}.Table-module_loadingSpinner__SSjMK{margin-top:50px;text-align:center}.Table-module_pagination__VXgcO{display:flex;justify-content:flex-end}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJCQUVFLGtCQUFtQixDQURuQixVQUdGLENBQ0EsaUNBQ0UsdUVBQTZFLENBQzdFLG1FQUNGLENBQ0EsaUVBQ0UsY0FBZSxDQUNmLGdCQUNGLENBQ0EsbUVBR0UsNEJBQThDLENBQTlDLGlEQUE4QyxDQUY5QyxvQkFBcUIsQ0FLckIsZUFBZ0IsQ0FEaEIsaUJBQWtCLENBRGxCLE9BR0YsQ0FDQSw0SUFFRSxZQUNGLENBQ0EsMkZBRUUsd0RBQXlELENBRHpELDRCQUE2QixDQUU3QixRQUNGLENBQ0EsNEZBQ0UscURBQXNELENBQ3RELE9BQ0YsQ0FDQSxpQ0FDRSxjQUNGLENBQ0Esb0NBQ0UsZUFBb0IsQ0FDcEIsaUJBQ0YsQ0FJQSxzRUFHRSw2REFBZ0UsQ0FDaEUsZ0RBQWtELENBSGxELGNBS0YsQ0FDQSxxRkFDRSxtRUFDRixDQUNBLHlFQUNFLDRCQUNGLENBQ0Esa0ZBR0UsNENBQTZDLENBRDdDLHlCQUEwQixDQUQxQixjQUdGLENBQ0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yksXG4udGFibGU6Z2xvYmFsKC5mbGFtZWdyYXBoLXRhYmxlLWRvdWJsZXMpIHRkOm50aC1jaGlsZCgzKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUtZG91YmxlcykgdGg6bnRoLWNoaWxkKDQpLFxuLnRhYmxlOmdsb2JhbCguZmxhbWVncmFwaC10YWJsZS1kb3VibGVzKSB0ZDpudGgtY2hpbGQoNCkge1xuICB3aWR0aDogMTUlO1xufVxuXG4udGFibGU6Z2xvYmFsKC5mbGFtZWdyYXBoLXRhYmxlKSB0aDpmaXJzdC1jaGlsZCxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOmZpcnN0LWNoaWxkIHtcbiAgd2lkdGg6IDU1JTtcbn1cbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRoOm50aC1jaGlsZCgyKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgyKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRoOm50aC1jaGlsZCgzKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgzKSB7XG4gIHdpZHRoOiAyMi41JTtcbn1cblxuLmxvYWRpbmdTcGlubmVyIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBtYXJnaW4tdG9wOiA1MHB4O1xufVxuXG4ucGFnaW5hdGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG59Il19 */");var Jr="Button-module_button__Ed1ge",Mr="Button-module_noIcon__Uzjvv",Ar="Button-module_noBox__mLreC",Er="Button-module_customIcon__-slpC",Or="Button-module_iconWithText__DQRkr",zr="Button-module_default__HhXlQ",Tr="Button-module_outline__Flf4r",Hr="Button-module_float__4marx",Pr="Button-module_primary__xByv0",Kr="Button-module_secondary__D0K-F",$r="Button-module_danger__5-vIq",qr="Button-module_grouped__j8KwB";h(".Button-module_button__Ed1ge{border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Button-module_button__Ed1ge[type=button],.Button-module_button__Ed1ge[type=reset],.Button-module_button__Ed1ge[type=submit]{-webkit-appearance:button}.Button-module_noIcon__Uzjvv{min-width:48px}.Button-module_noBox__mLreC{background:inherit!important;border:none;border-radius:none}.Button-module_customIcon__-slpC svg{margin-right:5px;vertical-align:-.125em;width:1rem}.Button-module_iconWithText__DQRkr{margin-right:5px}.Button-module_default__HhXlQ,.Button-module_float__4marx,.Button-module_outline__Flf4r{background:var(--ps-ui-element-bg-primary)}.Button-module_default__HhXlQ:hover:not(:disabled),.Button-module_float__4marx:hover:not(:disabled),.Button-module_outline__Flf4r:hover:not(:disabled){background-color:var(--ps-ui-element-bg-highlight)}.Button-module_default__HhXlQ:disabled,.Button-module_float__4marx:disabled,.Button-module_outline__Flf4r:disabled{color:var(--ps-disabled-button-text);pointer-events:none}.Button-module_primary__xByv0{background-color:var(--ps-button-switch-bg);border-color:transparent;color:var(--ps-button-switch-text)!important}.Button-module_primary__xByv0:hover{background-color:var(--ps-button-switch-bg-highlight)}.Button-module_primary__xByv0:disabled{background-color:var(--ps-green-disabled);pointer-events:none}.Button-module_secondary__D0K-F{background-color:var(--ps-blue-primary);border-color:transparent;color:var(--ps-immutable-off-white)}.Button-module_secondary__D0K-F:hover{background-color:var(--ps-blue-highlight)}.Button-module_secondary__D0K-F:disabled{background-color:var(--ps-blue-disabled);pointer-events:none}.Button-module_float__4marx{background-color:transparent;border-color:transparent}.Button-module_danger__5-vIq{background-color:var(--ps-red-primary);border-color:transparent;color:var(--ps-neutral-2)}.Button-module_danger__5-vIq:hover{background-color:var(--ps-red-highlight)}.Button-module_danger__5-vIq:disabled{background-color:var(--ps-red-disabled);pointer-events:none}.Button-module_outline__Flf4r{background-color:transparent}.Button-module_outline__Flf4r:hover:not(:disabled){background-color:rgba(144,202,249,.08)}.Button-module_grouped__j8KwB{border-radius:0;border-right:0;margin:0;padding-left:12px;padding-right:12px}.Button-module_grouped__j8KwB:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.Button-module_grouped__j8KwB:last-child{border-radius:0 4px 4px 0;border-right:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx5QkFDRixDQUVBLDZCQUNFLGNBQ0YsQ0FFQSw0QkFHRSw0QkFBOEIsQ0FGOUIsV0FBWSxDQUNaLGtCQUVGLENBRUEscUNBRUUsZ0JBQWlCLENBQ2pCLHNCQUF3QixDQUZ4QixVQUdGLENBRUEsbUNBQ0UsZ0JBQ0YsQ0FFQSx3RkFDRSwwQ0FDRixDQUNBLHVKQUNFLGtEQUNGLENBQ0EsbUhBQ0Usb0NBQXFDLENBQ3JDLG1CQUNGLENBRUEsOEJBR0UsMkNBQTRDLENBRjVDLHdCQUF5QixDQUN6Qiw0Q0FFRixDQUNBLG9DQUNFLHFEQUNGLENBQ0EsdUNBQ0UseUNBQTBDLENBQzFDLG1CQUNGLENBRUEsZ0NBR0UsdUNBQXdDLENBRnhDLHdCQUF5QixDQUN6QixtQ0FFRixDQUNBLHNDQUNFLHlDQUNGLENBQ0EseUNBQ0Usd0NBQXlDLENBQ3pDLG1CQUNGLENBRUEsNEJBRUUsNEJBQTZCLENBRDdCLHdCQUVGLENBRUEsNkJBR0Usc0NBQXVDLENBRnZDLHdCQUF5QixDQUN6Q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maXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const es=t.forwardRef(function({disabled:t=!1,kind:a="default",type:n="button",icon:o,iconNode:i,children:l,grouped:r,onClick:s,id:c,className:d,form:u,noBox:b,autoFocus:m,...h},g){return e.jsxs("button",{...h,id:c,ref:g,type:n,"data-testid":h["data-testid"],disabled:t,onClick:s,form:u,autoFocus:m,"aria-label":h["aria-label"],className:pr(Jr,r?qr:"",ts(a),d,b&&Ar,i&&Er,!o&&!i&&Mr),children:[o?e.jsx(Hn,{icon:o,className:l?Or:""}):null,i,l]})});function ts(e){switch(e){case"default":return zr;case"primary":return Pr;case"secondary":return Kr;case"danger":return $r;case"outline":return Tr;case"float":return Hr;default:throw Error(`Unsupported kind ${e}`)}}function as({row:a}){const{cells:n,isRowSelected:o,isRowDisabled:i,className:l,onClick:r,onDoubleClick:s,onContextMenu:c,...d}=a,u=t.useRef(Math.random()).current;return e.jsx("tr",{...d,onClick:r,onDoubleClick:s,onContextMenu:c,className:Eo(l,{[Dr]:o,[Yr]:i}),children:n&&n.map(({style:t,value:a,...n},o)=>e.jsx("td",{style:t,...n,children:a},u+o))})}function ns({sortByDirection:a,sortBy:n,updateSortParams:o,table:i,tableBodyRef:l,className:r,isLoading:s,itemsPerPage:c,virtualize:d,virtualizeRowHeight:u,virtualizeOverscan:b=6,scrollRef:m,disableSort:h}){const g=!h&&a&&n&&o,[f,p]=t.useState(0),[x,G]=t.useState(0),[Q,I]=t.useState(null),[B,v]=t.useState(null),y=t.useRef(null),F=t.useRef(null);t.useLayoutEffect(()=>{(null==m?void 0:m.current)&&m.current!==B&&v(m.current)},[null==m?void 0:m.current,B]),t.useEffect(()=>{if(!B||!d)return()=>{};const e=()=>{y.current&&cancelAnimationFrame(y.current),y.current=requestAnimationFrame(()=>{G(B.scrollTop||0)})};return B.addEventListener("scroll",e,{passive:!0}),()=>{B.removeEventListener("scroll",e),y.current&&cancelAnimationFrame(y.current)}},[B,d]),t.useEffect(()=>{if(!d||Q||!(null==l?void 0:l.current))return;const e=l.current.querySelectorAll("tr[data-row]");if(!e.length)return;const t=e[0].getBoundingClientRect();t.height&&I(t.height)},[d,Q,null==l?void 0:l.current,i]);const Z="filled"===i.type?os(i.bodyRows,f,c):null,L="virtual"===i.type?i.rowCount:Z?Z.length:0,W=u||Q||26,N=!!d&&!!B&&("filled"===i.type||"virtual"===i.type)&&W>0,X=N?(()=>{const e=B.clientHeight||0,t=Math.max(0,Math.floor(x/W)-b),a=Math.min(L,Math.ceil((x+e)/W)+b),n=t*W,o=Math.max(0,(L-a)*W),l="filled"===i.type&&Z?Z.slice(t,a):[];return{viewportHeight:e,totalRows:L,startIndex:t,endIndex:a,topSpacer:n,bottomSpacer:o,visibleRows:l}})():null,w=!!d&&!N&&"filled"===i.type,C=w?(Z||[]).slice(0,Math.max(24,4*b)):null;t.useEffect(()=>{var e;"virtual"===i.type&&X&&(null===(e=i.onRangeChange)||void 0===e||e.call(i,X.startIndex,X.endIndex))},[i,null==X?void 0:X.startIndex,null==X?void 0:X.endIndex]);const R="virtual"===i.type&&X?Math.max(0,X.endIndex-X.startIndex):0,U="virtual"===i.type&&R>0?Array.from({length:R},()=>({cells:Array.from({length:i.headRow.length},()=>({value:" "}))})):[],k="virtual"===i.type&&X&&i.range&&i.range.start===X.startIndex&&i.range.end===X.endIndex;"virtual"===i.type&&k&&(F.current=i.rows);const D="virtual"===i.type?k?i.rows:F.current||U:U;return s?e.jsx("div",{className:Sr}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:Eo(Nr,{[r||""]:r}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:i.headRow.map(({sortable:l,label:r,name:s,...c},d)=>l&&"not-filled"!==i.type&&g?t.createElement("th",{...c,key:d,className:Xr,onClick:()=>o(s)},r,e.jsxs("span",{className:Eo(wr,{[Vr]:n===s,[Ur]:n===s&&"asc"===a,[kr]:n===s&&"desc"===a}),children:[e.jsx("span",{className:Cr}),e.jsx("span",{className:Rr})]})):e.jsx("th",{...c,children:r},d))})}),e.jsx("tbody",{ref:l,children:"not-filled"===i.type?e.jsx("tr",{className:null==i?void 0:i.bodyClassName,children:e.jsx("td",{colSpan:i.headRow.length,children:i.value})}):X?e.jsxs(e.Fragment,{children:[X.topSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:_r,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:X.topSpacer,padding:0,border:0}})}),("virtual"===i.type?D:X.visibleRows).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${X.startIndex+a}`)}),X.bottomSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:_r,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:X.bottomSpacer,padding:0,border:0}})})]}):w?(C||[]).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${a}`)}):(Z||[]).map((t,a)=>{var n;return e.jsx(as,{row:t},null!==(n=t["data-row"])&&void 0!==n?n:`row-${a}`)})})]}),e.jsx(is,{bodyRows:"filled"===i.type?i.bodyRows:void 0,itemsPerPage:c,currPage:f,setCurrPage:p})]})}function os(e,t,a){return a?e.slice(t*a,a*(t+1)):e}function is({itemsPerPage:t,currPage:a,setCurrPage:n,bodyRows:o}){if(!t)return null;const i=!!o&&os(o,a+1,t).length>0,l=!!o&&os(o,a-1,t).length>0;return e.jsxs("nav",{className:jr,children:[e.jsx(es,{"aria-label":"Previous Page",disabled:!l,kind:"float",icon:Fr.faChevronLeft,onClick:()=>n(a-1)}),e.jsx(es,{disabled:!i,"aria-label":"Next Page",kind:"float",icon:Wr.faChevronRight,onClick:()=>n(a+1)})]})}function ls({numTicks:a,sampleRate:n,units:o,tableBodyRef:i,palette:l}){const r=Qo(a,n,o),s=r.format(a,n),c=Wl(),d=t.useCallback((e,t,a)=>{var i;const d=null===(i=a.target.closest("tr"))||void 0===i?void 0:i.dataset.row;if(!d)return void t();const[u,b,...m]=d.split(";");switch(u){case"single":{const[t,a]=m,i=r.format(parseInt(t,10),n),l=r.format(parseInt(a,10),n),c=s.split(" "),d="<"===c[0]?c[1]:c[0],u=i.split(" "),h="<"===u[0]?u[1]:u[0],g=l.split(" "),f="<"===g[0]?g[1]:g[0];e({title:{text:b,diff:{text:"",color:""}},tooltipData:[{units:o,self:`${i}(${(parseFloat(h)/parseFloat(d)*100).toFixed(2)}%)`,total:`${l}(${(parseFloat(f)/parseFloat(d)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,a,i,s]=m,d=Yl({formatter:r,sampleRate:n,totalLeft:parseInt(t,10),leftTicks:parseInt(a,10),totalRight:parseInt(i,10),rightTicks:parseInt(s,10),title:b,units:o},l,c);e({title:d.title,tooltipData:d.tooltipData});break}}},[r,n,o,s,l,c]);return e.jsx(Rl,{dataSourceRef:i,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:d,palette:l})}function rs(){const e=new Blob([`(${(()=>{const e=e=>e||0,t={format:"single",jStep:4,jName:3,getBarTotal:(e,t)=>e[t+1],getBarSelf:(e,t)=>e[t+2],getBarName:(e,t)=>e[t+3]},a={format:"double",jStep:7,jName:6,getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarName:(e,t)=>e[t+6]},n=e=>Math.round(1e4*e)/100,o=(e,t)=>(t-e)/e*100,i={baseRows:[],rows:[],bestNodeByName:new Map,sortBy:"total",sortByDirection:"desc",highlightQuery:"",format:"single",leftTicks:0,rightTicks:0},l=()=>{const e=i.highlightQuery.trim().toLowerCase(),t=e?i.baseRows.filter(t=>t.name.toLowerCase().includes(e)):i.baseRows.slice(),a="asc"===i.sortByDirection?1:-1;t.sort((e,t)=>{if("name"===i.sortBy)return a*e.name.localeCompare(t.name);switch(i.sortBy){case"total":case"self":{const n=e[i.sortBy]||0,o=t[i.sortBy]||0;return a*(n-o)}case"baseline":{const n=e.leftTicks>0?e.totalLeft/e.leftTicks:0,o=t.leftTicks>0?t.totalLeft/t.leftTicks:0;return a*(n-o)}case"comparison":{const n=e.rightTicks>0?e.totalRght/e.rightTicks:0,o=t.rightTicks>0?t.totalRght/t.rightTicks:0;return a*(n-o)}case"diff":{const i=e.leftTicks>0?e.totalLeft/e.leftTicks:0,l=e.rightTicks>0?e.totalRght/e.rightTicks:0,r=t.leftTicks>0?t.totalLeft/t.leftTicks:0,s=t.rightTicks>0?t.totalRght/t.rightTicks:0,c=o(n(i),n(l)),d=o(n(r),n(s));return a*(c-d)}default:return 0}}),i.rows=t},r=n=>{const{rows:o,bestNodeByName:r,format:s,leftTicks:c,rightTicks:d}=(n=>{const{names:o,levels:i,format:l}=n,r=new Map,s=new Map,c=n.leftTicks||0,d=n.rightTicks||0;if("double"===l){const t=a;for(let a=0;a<i.length;a+=1){const n=i[a];for(let i=0;i<n.length;i+=t.jStep){const l=o[t.getBarName(n,i)]||"<empty>";r.has(l)||r.set(l,{type:"double",name:l,totalLeft:0,totalRght:0,leftTicks:c,rightTicks:d});const u=r.get(l);if(!u)continue;u.totalLeft=e(u.totalLeft)+t.getBarTotalLeft(n,i),u.totalRght=e(u.totalRght)+t.getBarTotalRght(n,i);const b=t.getBarTotal(n,i),m=s.get(l);(!m||b>m.total)&&s.set(l,{i:a,j:i,total:b})}}}else{const a=t;for(let t=0;t<i.length;t+=1){const n=i[t];for(let i=0;i<n.length;i+=a.jStep){const l=o[a.getBarName(n,i)]||"<empty>";r.has(l)||r.set(l,{type:"single",name:l,self:0,total:0});const c=r.get(l);if(!c)continue;c.self=e(c.self)+a.getBarSelf(n,i),c.total=e(c.total)+a.getBarTotal(n,i);const d=a.getBarTotal(n,i),u=s.get(l);(!u||d>u.total)&&s.set(l,{i:t,j:i,total:d})}}}return{rows:Array.from(r.values()),bestNodeByName:s,format:l,leftTicks:c,rightTicks:d}})(n.flamebearer);i.baseRows=o,i.bestNodeByName=r,i.format=s,i.leftTicks=c,i.rightTicks=d,i.sortBy=n.sortBy,i.sortByDirection=n.sortByDirection,i.highlightQuery=n.highlightQuery||"",l(),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}})};self.onmessage=e=>{const t=e.data;var a;if(t&&t.type)switch(t.type){case"init":r(t.payload);break;case"update":a=t.payload,i.sortBy=a.sortBy,i.sortByDirection=a.sortByDirection,i.highlightQuery=a.highlightQuery||"",l(),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}});break;case"range":(e=>{const{start:t,end:a,requestId:n}=e,o=Math.max(0,t),l=Math.min(i.rows.length,a),r=i.rows.slice(o,l);self.postMessage({type:"range",payload:{rows:r,start:o,end:l,requestId:n}})})(t.payload);break;case"findNode":(e=>{const{name:t,requestId:a}=e,n=i.bestNodeByName.get(t);self.postMessage({type:"findNode",payload:{node:n?{i:n.i,j:n.j}:null,requestId:a}})})(t.payload)}}}).toString()})()`],{type:"text/javascript"});return new Worker(URL.createObjectURL(e))}var ss="ProfilerTable-module_tableContextMenu__7Svm8",cs="ProfilerTable-module_sandwichItem__b9Ipy";h(".ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);font-size:13px;min-width:180px;padding:4px 0;z-index:3000}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item{align-items:center;color:var(--ps-ui-foreground-text,#000);cursor:pointer;display:flex;font-size:inherit;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item svg{flex-shrink:0;height:14px;width:14px}.ProfilerTable-module_sandwichItem__b9Ipy svg{height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsd0RBQ0UsbURBQXFELENBQ3JELDRDQUE4QyxDQUM5QyxpQkFBa0IsQ0FDbEIscUdBQW9ILENBR3BILGNBQWUsQ0FEZixlQUFnQixDQURoQixhQUFjLENBR2QsWUFDRixDQUNBLDhEQUVFLGtCQUFtQixDQUtuQix1Q0FBeUMsQ0FEekMsY0FBZSxDQUxmLFlBQWEsQ0FPYixpQkFBa0IsQ0FMbEIsT0FBUSxDQUVSLFdBQVksQ0FEWixnQkFBaUIsQ0FLakIsZ0NBQ0YsQ0FDQSxvRUFDRSwwREFDRixDQUNBLGtFQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosVUFHRixDQUVBLDhDQUVFLFdBQVksQ0FEWixVQUVGIiwiZmlsZSI6IlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudSkge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1kcm9wZG93bi1iYWNrZ3JvdW5kLCAjZmZmKTtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyLCAjZDlkOWQ5KTtcbiAgYm9yZGVyLXJhZGl1czogNnB4O1xuICBib3gtc2hhZG93OiAwIDZweCAxNnB4IDAgcmdiYSgwLCAwLCAwLCAwLjA4KSwgMCAzcHggNnB4IC00cHggcmdiYSgwLCAwLCAwLCAwLjEyKSwgMCA5cHggMjhweCA4cHggcmdiYSgwLCAwLCAwLCAwLjA1KTtcbiAgcGFkZGluZzogNHB4IDA7XG4gIG1pbi13aWR0aDogMTgwcHg7XG4gIGZvbnQtc2l6ZTogMTNweDtcbiAgei1pbmRleDogMzAwMDtcbn1cbi50YWJsZUNvbnRleHRNZW51IDpnbG9iYWwoLnN6aC1tZW51X19pdGVtKSB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogOHB4O1xuICBwYWRkaW5nOiA2cHggMTJweDtcbiAgaGVpZ2h0OiAzMnB4O1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGNvbG9yOiB2YXIoLS1wcy11aS1mb3JlZ3JvdW5kLXRleHQsICMwMDApO1xuICBmb250LXNpemU6IGluaGVyaXQ7XG4gIHRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC4xNXM7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSk6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCwgI2Y1ZjVmNSk7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSkgc3ZnIHtcbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG5cbi5zYW5kd2ljaEl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbn0iXX0= */");const ds=e=>e||0,us="undefined"!=typeof Worker&&"undefined"!=typeof Blob&&"undefined"!=typeof URL;function bs(e,t,a,n){const o=t;return o.type="single",o.self=ds(o.self)+e.getBarSelf(a,n),o.total=ds(o.total)+e.getBarTotal(a,n),o}function ms(e,t,a,n,o,i){const l=t;return l.type="double",l.self=ds(l.self)+e.getBarSelf(a,n),l.total=ds(l.total)+e.getBarTotal(a,n),l.selfLeft=ds(l.selfLeft)+e.getBarSelfLeft(a,n),l.selfRght=ds(l.selfRght)+e.getBarSelfRght(a,n),l.selfDiff=ds(l.selfDiff)+e.getBarSelfDiff(a,n),l.totalLeft=ds(l.totalLeft)+e.getBarTotalLeft(a,n),l.totalRght=ds(l.totalRght)+e.getBarTotalRght(a,n),l.totalDiff=ds(l.totalDiff)+e.getBarTotalDiff(a,n),l.leftTicks=o,l.rightTicks=i,l}const hs=new WeakMap;function gs(e){const t=hs.get(e);if(t)return t;const a=function(e){if(!e)return[];const{names:t,levels:a,format:n}=e,o="double"!==n?no:oo,i=new Map;for(let l=0;l<a.length;l++){const r=a[l];for(let a=0;a<r.length;a+=o.jStep){const l=t[o.getBarName(r,a)];i.has(l)||i.set(l,{name:l||"<empty>",self:0,total:0});const s=i.get(l);if(!s)break;"single"===n?bs(no,s,r,a):ms(oo,s,r,a,e.leftTicks,e.rightTicks)}}return Array.from(i.values())}(e);return hs.set(e,a),a}function fs(e,t,a){const n=148-e/t*148,o=a.alpha(1);return{backgroundImage:`linear-gradient(${o}, ${o})`,backgroundPosition:`-${n}px 0px`,backgroundRepeat:"no-repeat"}}const ps=({flamebearer:t,sortBy:a,sortByDirection:n,fitMode:o,handleTableItemClick:i,highlightQuery:l,palette:r,selectedItem:s,messages:c,onRowContextMenu:d,onRowDoubleClick:u})=>{const{numTicks:b,maxSelf:m,sampleRate:h,spyName:g,units:f}=t,p=[...gs(t)].sort((e,t)=>t.total-e.total),x="asc"===n?1:-1;let G;if("name"===a)G=p.sort((e,t)=>x*e[a].localeCompare(t[a]));else switch(a){case"total":case"self":G=p.sort((e,t)=>x*(e[a]-t[a]));break;case"baseline":G=p.sort((e,t)=>x*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":G=p.sort((e,t)=>x*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":G=p.sort((e,t)=>{const a=Go(xo(e.totalLeft/e.leftTicks),xo(e.totalRght/e.rightTicks)),n=Go(xo(t.totalLeft/t.leftTicks),xo(t.totalRght/t.rightTicks));return x*(a-n)});break;default:G=p}const Q=Qo(b,h,f),I=e=>!!s.isJust&&e===s.value,B=t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:Wo(o),children:e.jsx("bdi",{dir:"ltr",children:t.name})})}),v=G.filter(e=>{return!l||(t=l,e.name.toLowerCase().includes(t.toLowerCase()));var t}).map(e=>{if("double"===e.type)return(e=>{const t=xo(e.leftTicks>0?e.totalLeft/e.leftTicks:0),a=xo(e.rightTicks>0?e.totalRght/e.rightTicks:0);let n=Go(t,a);Number.isFinite(n)||(n=0);let o="";n>0?o=r.badColor.rgb().string():n<0&&(o=r.goodColor.rgb().string());let l="";return 0===e.totalLeft&&e.totalRght>0?l=c.diffNew:0===e.totalRght&&e.totalLeft>0?l=c.diffRemoved:0===n?l="0%":n>0?l=`+${n.toFixed(2)}%`:n<0&&(l=`${n.toFixed(2)}%`),{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:I(e.name),onClick:()=>i(e),onContextMenu:t=>d(t,e.name),onDoubleClick:()=>u(e.name),cells:[{value:B(e)},{value:`${t} %`},{value:`${a} %`},{value:l,style:{color:o}}]}})(e);const t=wo(g,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:I(e.name),onClick:()=>i(e),onContextMenu:t=>d(t,e.name),onDoubleClick:()=>u(e.name),cells:[{value:B(e)},{value:Q.format(e.self,h),style:fs(e.self,m,t)},{value:Q.format(e.total,h),style:fs(e.total,b,t)}]}))(e,Co(r,t))});return v.length>0?{bodyRows:v,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function xs({tableBodyRef:a,flamebearer:n,isDoubles:o,fitMode:i,handleTableItemClick:l,highlightQuery:r,selectedItem:s,palette:c,onFocusOnNode:d,updateView:u,enableSandwichView:b=!0,virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:g,scrollRef:f,menuPortalTarget:p}){const x=Wl(),[G,Q]=il({transition:!0}),[I,B]=t.useState({x:0,y:0}),[v,y]=t.useState(null),F=us,Z=t.useRef(null),L=t.useRef(null),W=t.useRef(0),N=t.useRef(0),X=t.useRef(new Map),[w,C]=t.useState(!1),[R,U]=t.useState(0),[k,D]=t.useState([]),[Y,_]=t.useState({start:0,end:0}),[V,S]=t.useState(null),[j,J]=t.useState(0),[M,A]=t.useState(0);t.useEffect(()=>{if(!F)return()=>{};const e=rs();Z.current=e,A(e=>e+1);const t=e=>{const t=e.data;if(t&&t.type)switch(t.type){case"ready":U(t.payload.rowCount),C(!0),J(e=>e+1);break;case"range":if(t.payload.requestId!==W.current)return;D(t.payload.rows),_({start:t.payload.start,end:t.payload.end});break;case"findNode":{const e=X.current.get(t.payload.requestId);e&&(X.current.delete(t.payload.requestId),e(t.payload.node));break}}};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t),e.terminate(),Z.current=null,X.current.clear()}},[F]);const E=t.useCallback(e=>{if(!F||!Z.current)return Promise.resolve(function(e,t){if(!e||!e.levels)return null;const{names:a,levels:n,format:o}=e,i=io(o);let l=null;for(let e=0;e<n.length;e++){const o=n[e];for(let n=0;n<o.length;n+=i.jStep)if(a[i.getBarName(o,n)]===t){const t=i.getBarTotal(o,n);(!l||t>l.total)&&(l={i:e,j:n,total:t})}}return l?{i:l.i,j:l.j}:null}(n,e));const t=++N.current;return new Promise(a=>{var n;X.current.set(t,a),null===(n=Z.current)||void 0===n||n.postMessage({type:"findNode",payload:{name:e,requestId:t}})})},[n,F]),O=t.useCallback(e=>{d&&E(e).then(e=>{e&&d(e.i,e.j)})},[d,E]),z=t.useCallback(e=>{s.isJust&&s.value===e||l({name:e}),O(e)},[O,s,l]),T=t.useCallback((e,t)=>{e.preventDefault(),B({x:e.clientX,y:e.clientY}),y(t),Q(!0)},[Q]),H=t.useCallback(()=>{Q(!1),y(null)},[Q]),P=t.useCallback(()=>{v&&(O(v),H())},[v,O,H]),K=t.useCallback(()=>{v&&navigator.clipboard&&(navigator.clipboard.writeText(v),H())},[v,H]),$=t.useCallback(()=>{v&&(l({name:v}),H())},[v,l,H]),q=t.useCallback(()=>{v&&u&&(u("sandwich"),l({name:v}),H())},[v,u,l,H]),ee=t.useMemo(()=>o?[{sortable:1,name:"name",label:x.location},{sortable:1,name:"baseline",label:x.baseline,default:!0},{sortable:1,name:"comparison",label:x.comparison},{sortable:1,name:"diff",label:x.diff}]:[{sortable:1,name:"name",label:x.location},{sortable:1,name:"self",label:x.self,default:!0},{sortable:1,name:"total",label:x.total}],[x,o]),te=(e=>{const a=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[n,o]=t.useState(a.name),[i,l]=t.useState("desc");return{sortBy:n,sortByDirection:i,updateSortParams:e=>{let t=i;t=n===e?"asc"===t?"desc":"asc":"desc",o(e),l(t)}}})(ee);t.useEffect(()=>{if(!F||!Z.current)return;const e=Z.current,t={sortBy:te.sortBy,sortByDirection:te.sortByDirection,highlightQuery:r};L.current!==n?(L.current=n,C(!1),U(0),D([]),e.postMessage({type:"init",payload:{flamebearer:n,...t}})):(C(!1),D([]),e.postMessage({type:"update",payload:t}))},[n,r,te.sortBy,te.sortByDirection,F,M]);const ae=t.useCallback((e,t)=>{S(a=>a&&a.start===e&&a.end===t?a:{start:e,end:t})},[]);t.useEffect(()=>{if(!F||!Z.current||!V)return;const e=++W.current;Z.current.postMessage({type:"range",payload:{start:V.start,end:V.end,requestId:e}})},[V,j,F]);const{numTicks:ne,maxSelf:oe,sampleRate:ie,spyName:le,units:re}=n,se=t.useMemo(()=>Qo(ne,ie,re),[ne,ie,re]),ce=t.useMemo(()=>Wo(i),[i]),de=t.useCallback(e=>s.isJust&&s.value===e,[s]),ue=t.useCallback(t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:ce,children:e.jsx("bdi",{dir:"ltr",children:t})})}),[ce]),be=t.useCallback(e=>{const t=wo(le,e.name),a=Co(c,t);return{"data-row":`single;${e.name};${e.self};${e.total}`,isRowSelected:de(e.name),onClick:()=>{l({name:e.name})},onContextMenu:t=>T(t,e.name),onDoubleClick:()=>z(e.name),cells:[{value:ue(e.name)},{value:se.format(e.self,ie),style:fs(e.self,oe,a)},{value:se.format(e.total,ie),style:fs(e.total,ne,a)}]}},[se,T,z,l,de,oe,ue,ne,c,ie,le]),me=t.useCallback(e=>{const t=xo(e.leftTicks>0?e.totalLeft/e.leftTicks:0),a=xo(e.rightTicks>0?e.totalRght/e.rightTicks:0);let n=Go(t,a);Number.isFinite(n)||(n=0);let o="";n>0?o=c.badColor.rgb().string():n<0&&(o=c.goodColor.rgb().string());let i="";return 0===e.totalLeft&&e.totalRght>0?i=x.diffNew:0===e.totalRght&&e.totalLeft>0?i=x.diffRemoved:0===n?i="0%":n>0?i=`+${n.toFixed(2)}%`:n<0&&(i=`${n.toFixed(2)}%`),{"data-row":`double;${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:de(e.name),onClick:()=>{l({name:e.name})},onContextMenu:t=>T(t,e.name),onDoubleClick:()=>z(e.name),cells:[{value:ue(e.name)},{value:`${t} %`},{value:`${a} %`},{value:i,style:{color:o}}]}},[T,z,l,x,de,ue,c]),he=t.useMemo(()=>F?k.map(e=>"double"===e.type?me(e):be(e)):[],[me,be,F,k]),ge=t.useMemo(()=>F?w&&0===R?{headRow:ee,type:"not-filled",value:e.jsx("div",{className:"unsupported-format",children:x.noItemsFound})}:{headRow:ee,type:"virtual",rowCount:R,rows:he,range:Y,onRangeChange:ae}:{headRow:ee,...ps({flamebearer:n,sortBy:te.sortBy,sortByDirection:te.sortByDirection,fitMode:i,handleTableItemClick:l,highlightQuery:r,palette:c,selectedItem:s,messages:x,onRowContextMenu:T,onRowDoubleClick:z})},[me,be,b,i,n,T,z,ae,l,r,x,d,c,R,s,ee,te.sortBy,te.sortByDirection,u,F,he,Y,w]),fe=s.isJust&&s.value===v;return e.jsxs(e.Fragment,{children:[e.jsx(ns,{...te,tableBodyRef:a,table:ge,isLoading:F&&!w,className:pr("flamegraph-table",{"flamegraph-table-doubles":o}),virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:g,scrollRef:f}),e.jsxs(qi,{...G,anchorPoint:I,onClose:H,className:ss,portal:!p||{target:p},children:[d&&e.jsxs(cl,{onClick:P,children:[e.jsx(Hn,{icon:Ir.faCrosshairs}),x.focusOnThisFunction]}),e.jsxs(cl,{onClick:K,children:[e.jsx(Hn,{icon:ii.faCopy}),x.copyFunctionName]}),e.jsxs(cl,{onClick:$,children:[e.jsx(Hn,{icon:di.faHighlighter}),fe?x.clearHighlight:x.highlightSimilarNodes]}),u&&b&&e.jsxs(cl,{onClick:q,className:cs,children:[e.jsx(El,{fill:"currentColor"}),x.openInSandwichView]})]})]})}const Gs=t.memo(function({flamebearer:a,fitMode:n,handleTableItemClick:o,highlightQuery:i,palette:l,selectedItem:r,onFocusOnNode:s,updateView:c,enableSandwichView:d}){const u=t.useRef(null),b=t.useRef(null),m=t.useRef(null),[h,g]=t.useState(0),[f,p]=t.useState(null),x="double"===a.format;return t.useEffect(()=>{const e=u.current;if(!e)return;const t=e.offsetWidth-e.clientWidth;Number.isFinite(t)&&t!==h&&g(t)},[u.current,x,h]),t.useEffect(()=>{const e=b.current;if(!e||"undefined"==typeof document)return;const t=e.closest("[data-theme], [data-flamegraph-color-mode]")||e,a=document.createElement("div");return a.className="flamegraph-menu-portal",t.appendChild(a),p(a),()=>{a.parentElement&&a.parentElement.removeChild(a)}},[]),e.jsxs("div",{"data-testid":"table-view",ref:b,style:{"--kylin-flamegraph-scrollbar-size":`${h}px`},className:x?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",ref:m,children:e.jsx(xs,{tableBodyRef:u,flamebearer:a,isDoubles:x,fitMode:n,highlightQuery:i,handleTableItemClick:o,palette:l,selectedItem:r,onFocusOnNode:s,updateView:c,enableSandwichView:d,virtualize:!0,virtualizeOverscan:8,scrollRef:m,menuPortalTarget:f})}),e.jsx(ls,{tableBodyRef:u,numTicks:a.numTicks,sampleRate:a.sampleRate,units:a.units,palette:l})]})});var Qs,Is,Bs={},vs={};function ys(){return Qs||(Qs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",a=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],n="f0e2",o="M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(vs)),vs}function Fs(){return Is||(Is=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ys();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUndo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Bs)),Bs}var Zs,Ls,Ws=Fs(),Ns={},Xs={};function ws(){return Zs||(Zs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",a=["project-diagram"],n="f542",o="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Xs)),Xs}function Cs(){return Ls||(Ls=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ws();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faProjectDiagram=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ns)),Ns}var Rs,Us,ks=Cs(),Ds={},Ys={};function _s(){return Rs||(Rs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",a=["ellipsis-v"],n="f142",o="M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z";e.definition={prefix:"fas",iconName:t,icon:[128,512,a,n,o]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(Ys)),Ys}function Vs(){return Us||(Us=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=_s();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faEllipsisV=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ds)),Ds}var Ss=Vs(),js="Tooltip-module_tooltipWrapper__leDK-",Js="Tooltip-module_tooltipBubble__8vweF",Ms="Tooltip-module_tooltipArrow__7wGyN";function As(e){if(null!=e&&!1!==e){if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e)){const t=e.map(e=>As(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?As(e.props.children):void 0}}h(".Tooltip-module_tooltipWrapper__leDK-{align-items:center;display:inline-flex;position:relative}.Tooltip-module_tooltipBubble__8vweF{background:rgba(0,0,0,.85);border-radius:4px;bottom:100%;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#fff;font-size:12px;left:50%;line-height:1.4;opacity:0;padding:6px 10px;pointer-events:none;position:absolute;transform:translate(-50%,-8px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap;z-index:5}.Tooltip-module_tooltipArrow__7wGyN{border-color:rgba(0,0,0,.85) transparent transparent;border-style:solid;border-width:6px 6px 0;left:50%;pointer-events:none;position:absolute;top:100%;transform:translate(-50%,-2px)}.Tooltip-module_tooltipWrapper__leDK-:hover .Tooltip-module_tooltipBubble__8vweF{opacity:1;transform:translate(-50%,-14px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI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bnRlci1ldmVudHM6IG5vbmU7XG4gIG9wYWNpdHk6IDA7XG4gIHRyYW5zaXRpb246IG9wYWNpdHkgMTIwbXMgZWFzZSwgdHJhbnNmb3JtIDEyMG1zIGVhc2U7XG4gIHotaW5kZXg6IDU7XG4gIGJveC1zaGFkb3c6IDAgNHB4IDEycHggcmdiYSgwLCAwLCAwLCAwLjIpO1xufVxuXG4udG9vbHRpcEFycm93IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiA1MCU7XG4gIHRvcDogMTAwJTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTJweCk7XG4gIGJvcmRlci13aWR0aDogNnB4IDZweCAwIDZweDtcbiAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgYm9yZGVyLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuODUpIHRyYW5zcGFyZW50IHRyYW5zcGFyZW50IHRyYW5zcGFyZW50O1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLnRvb2x0aXBXcmFwcGVyOmhvdmVyIC50b29sdGlwQnViYmxlIHtcbiAgb3BhY2l0eTogMTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTE0cHgpO1xufSJdfQ== */");const Es=({placement:a,title:n,content:o,children:i})=>{const l=As(null!=n?n:o),r=t.useRef(null),[s,c]=t.useState(!1);return t.useEffect(()=>{const e=r.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");c(!!t)},[]),l?e.jsxs("span",{ref:r,className:js,"data-placement":a||"top","data-tooltip":s?l:void 0,title:s?void 0:l,children:[i,s?e.jsxs("span",{className:Js,role:"tooltip",children:[l,e.jsx("span",{className:Ms})]}):null]}):e.jsx(e.Fragment,{children:i})};var Os,zs={};function Ts(){return Os||(Os=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",a=[128279,"chain"],n="f0c1",o="M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,o]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(zs)),zs}var Hs,Ps,Ks=Ts(),$s={},qs={};function ec(){return Hs||(Hs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="magnifying-glass",a=[128269,"search"],n="f002",o="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,o]},e.faMagnifyingGlass=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=o,e.aliases=a}(qs)),qs}function tc(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ec();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faSearch=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}($s)),$s}var ac=tc(),nc="Input-module_input__ulQdV";h(".Input-module_input__ulQdV,.Input-module_input__ulQdV:focus,.Input-module_input__ulQdV:focus:active{outline:none}.Input-module_input__ulQdV{border:1px solid var(--ps-ui-border);border-radius:4px;display:inline-block;padding:.25em .375em;position:relative}.Input-module_input__ulQdV[type=search]{-webkit-appearance:textfield;outline-offset:-2px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIklucHV0Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLG9HQUNFLFlBQ0YsQ0FDQSwyQkFLRSxvQ0FBcUMsQ0FGckMsaUJBQWtCLENBRmxCLG9CQUFxQixDQUdyQixvQkFBdUIsQ0FGdkIsaUJBSUYsQ0FDQSx3Q0FDRSw0QkFBNkIsQ0FDN0IsbUJBQ0YiLCJmaWxlIjoiSW5wdXQubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaW5wdXQge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0OmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5pbnB1dDpmb2N1czphY3RpdmUge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0IHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMC4yNWVtIDAuMzc1ZW07XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uaW5wdXRbdHlwZT1zZWFyY2hdIHtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiB0ZXh0ZmllbGQ7XG4gIG91dGxpbmUtb2Zmc2V0OiAtMnB4O1xufSJdfQ== */");const oc=t.forwardRef(({testId:t,className:a,type:n,name:o,placeholder:i,minLength:l=0,debounceTimeout:r=100,onChange:s,value:d,htmlId:u},b)=>e.jsx(c.DebounceInput,{inputRef:b,"data-testid":t,className:`${nc} ${a||""}`,type:n,name:o,placeholder:i,minLength:l,debounceTimeout:r,onChange:s,value:d,id:u}));var ic="SharedQueryInput-module_wrapper__XRxrd",lc="SharedQueryInput-module_search__XlzRv",rc="SharedQueryInput-module_search-synced__J4T4b",sc="SharedQueryInput-module_searchWithSync__ryuQa",cc="SharedQueryInput-module_icon__Aq0Hv",dc="SharedQueryInput-module_checked__oRvod",uc="SharedQueryInput-module_sync__0IO2N",bc="SharedQueryInput-module_syncSelected__hstBI",mc="SharedQueryInput-module_searchIcon__kfJxO";h(".SharedQueryInput-module_wrapper__XRxrd{align-items:center;display:flex;flex-direction:row;width:100%}.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv{background:var(--ps-immutable-white);border:1px solid var(--ps-ui-border);color:rgba(0,0,0,.85);display:flex;font:inherit;height:37px;margin-right:1.5px;transition:background-color .1s ease-out,border-color .1s ease-out,box-shadow .1s ease-out;width:100%}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:rgba(0,0,0,.25)}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS{background:var(--ps-immutable-white);border-color:var(--ps-ui-border);color:rgba(0,0,0,.65)}@media (prefers-color-scheme:dark){.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB{background:var(--ps-immutable-dark-background);border-color:var(--ps-ui-border-dark);color:hsla(0,0%,100%,.75)}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:hsla(0,0%,100%,.5)}}.SharedQueryInput-module_search-synced__J4T4b:focus-visible,.SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,.SharedQueryInput-module_search__XlzRv:focus-visible{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 3px rgba(93,151,111,.4);outline:none}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS:focus{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 2px rgba(93,151,111,.2);outline:none}@media (prefers-color-scheme:dark){.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB:focus{background:var(--ps-immutable-dark-background);border-color:#303030;box-shadow:0 0 0 2px rgba(48,48,48,.6);outline:none}}.SharedQueryInput-module_searchWithSync__ryuQa{border-bottom-right-radius:0;border-right:1px solid var(--ps-ui-border);border-top-right-radius:0;margin-right:0}.SharedQueryInput-module_search-synced__J4T4b{border-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_checked__oRvod,.SharedQueryInput-module_icon__Aq0Hv{cursor:pointer}.SharedQueryInput-module_checked__oRvod path,.SharedQueryInput-module_icon__Aq0Hv path{fill:var(--ps-grey-primary)}.SharedQueryInput-module_checked__oRvod path{fill:var(--ps-immutable-linked-border)}.SharedQueryInput-module_syncSelected__hstBI,.SharedQueryInput-module_sync__0IO2N{align-items:center;align-self:stretch;background-color:var(--ps-immutable-off-white);border:none;border:1px solid var(--ps-ui-border);border-bottom-right-radius:4px;border-left:none;border-top-right-radius:4px;cursor:pointer;display:flex;justify-content:center;position:relative;width:40px}.SharedQueryInput-module_syncSelected__hstBI{border-bottom-color:var(--ps-immutable-linked-border);border-right-color:var(--ps-immutable-linked-border);border-top-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_searchIcon__kfJxO{align-items:center;color:var(--ps-toolbar-icon-color);display:inline-flex;font-size:12px;left:10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:2}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv{background:#fff;border-color:#d9d9d9;border-radius:4px;color:#262626;font-size:12px;height:28px;padding:0 10px 0 28px}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b::placeholder,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa::placeholder,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv::placeholder{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:hover,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:hover,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:hover{border-color:#3c7150}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus,[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus-visible,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus-visible{border-color:#3c7150;box-shadow:0 0 0 2px rgba(60,113,80,.2)}[data-theme=kylin] .SharedQueryInput-module_searchIcon__kfJxO{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_syncSelected__hstBI,[data-theme=kylin] .SharedQueryInput-module_sync__0IO2N{border-radius:4px;height:28px;width:28px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNoYXJlZFF1ZXJ5SW5wdXQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsd0NBR0Usa0JBQW1CLENBRm5CLFlBQWEsQ0FDYixrQkFBbUIsQ0FHbkIsVUFDRixDQUVBLG9JQUNFLG9DQUFxQyxDQUlyQyxvQ0FBcUMsQ0FLckMscUJBQTBCLENBSjFCLFlBQWEsQ0FIYixZQUFhLENBSWIsV0FBWSxDQUhaLGtCQUFtQixDQUZuQiwwRkFBZ0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G4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */");const hc=({onHighlightChange:a,highlightQuery:n,sharedQuery:o,width:i})=>{const l=Wl(),r=(e=>{const a=t.useRef();return t.useEffect(()=>{a.current=e},[e]),a.current})(null==o?void 0:o.syncEnabled),s=t.useRef(null),[c,d]=t.useState(!1);t.useEffect(()=>{"string"==typeof(null==o?void 0:o.searchQuery)&&(o.syncEnabled&&a(o.searchQuery),!o.syncEnabled&&r&&r!==(null==o?void 0:o.id)&&a(""))},[null==o?void 0:o.searchQuery,null==o?void 0:o.syncEnabled]),t.useEffect(()=>{const e=s.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");d(!!t)},[]);const u=t.useMemo(()=>o&&o.syncEnabled?o.searchQuery||"":n,[o,n]),b=t.useMemo(()=>`${o?sc:lc} ${(null==o?void 0:o.syncEnabled)?rc:""}`,[o]),m=(null==o?void 0:o.syncEnabled)?l.unsyncSearchBars:l.syncSearchBars;return e.jsxs("div",{ref:s,className:ic,style:{width:i},children:[e.jsx("span",{className:mc,children:e.jsx(Hn,{icon:ac.faSearch})}),e.jsx(oc,{testId:"flamegraph-search",className:b,type:"search",name:"flamegraph-search",placeholder:c?"搜索函数 / 过滤":l.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{a(e.target.value),o&&o.syncEnabled&&o.onQueryChange(e.target.value)},value:u}),o?e.jsx(Es,{placement:"top",title:m,children:e.jsx("button",{className:o.syncEnabled?bc:uc,onClick:()=>{const e=!(null==o?void 0:o.syncEnabled)&&(null==o?void 0:o.id);null==o||o.toggleSync(e),e?null==o||o.onQueryChange(n):(a(n),null==o||o.onQueryChange(""))},children:e.jsx(Hn,{className:`${o.syncEnabled?dc:cc}`,icon:Ks.faLink})})}):null]})};var gc="DiffLegend-module_flamegraph-legend__Cywr1",fc="DiffLegend-module_flamegraph-legend-list__swdXj",pc="DiffLegend-module_flamegraph-legend-item__0P-6g";function xc(t){const{palette:a,showMode:n}=t,o=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-50,0,50,100];default:throw new Error(`Unsupported ${e}`)}}(n),i=Ro(a),l="small"===n?{"--legend-item-width":"32px","--legend-item-padding":"2px 2px","--legend-font-size":"10px","--legend-line-height":"1.1","--legend-item-height":"16px"}:void 0;return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${gc} ${fc}`,style:l,children:o.map(t=>e.jsxs("div",{className:pc,style:{backgroundColor:i(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}h(".DiffLegend-module_flamegraph-legend__Cywr1{--legend-item-width:37px;--legend-item-padding:0;--legend-item-height:auto;align-items:center;display:flex;font-size:var(--legend-font-size,11px);justify-content:center;line-height:var(--legend-line-height,1)}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{height:var(--legend-item-height,auto);overflow:hidden;padding:var(--legend-item-padding,0);text-align:center;white-space:nowrap;width:var(--legend-item-width,37px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FLRSx3QkFBeUIsQ0FDekIsdUJBQXdCLENBQ3hCLHlCQUEwQixDQUwxQixrQkFBbUIsQ0FEbkIsWUFBYSxDQUViLHNDQUF3QyxDQUt4QyxzQkFBdUIsQ0FKdkIsdUNBS0YsQ0FFQSxpREFDRSxZQUFhLENBQ2Isc0JBQ0YsQ0FFQSxpREFFRSxxQ0FBdUMsQ0FPdkMsZUFBZ0IsQ0FOaEIsb0NBQXNDLENBQ3RDLGlCQUFrQixDQUlsQixrQkFBbUIsQ0FQbkIsbUNBU0YiLCJmaWxlIjoiRGlmZkxlZ2VuZC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZsYW1lZ3JhcGgtbGVnZW5kIHtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZm9udC1zaXplOiB2YXIoLS1sZWdlbmQtZm9udC1zaXplLCAxMXB4KTtcbiAgbGluZS1oZWlnaHQ6IHZhcigtLWxlZ2VuZC1saW5lLWhlaWdodCwgMSk7XG4gIC0tbGVnZW5kLWl0ZW0td2lkdGg6IDM3cHg7XG4gIC0tbGVnZW5kLWl0ZW0tcGFkZGluZzogMDtcbiAgLS1sZWdlbmQtaXRlbS1oZWlnaHQ6IGF1dG87XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtbGlzdCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtaXRlbSB7XG4gIHdpZHRoOiB2YXIoLS1sZWdlbmQtaXRlbS13aWR0aCwgMzdweCk7XG4gIGhlaWdodDogdmFyKC0tbGVnZW5kLWl0ZW0taGVpZ2h0LCBhdXRvKTtcbiAgcGFkZGluZzogdmFyKC0tbGVnZW5kLWl0ZW0tcGFkZGluZywgMCk7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcblxuICAvKiBpZiBmb3Igc29tZSByZWFzb24gdGhlIGNvbnRlbnRzIGNhbid0IGZpdCBcbiAgICogZG9uJ3QgYnJlYWsgaW50byAyIGxpbmVzICovXG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4iXX0= */");var Gc="Dropdown-module_dropdownMenu__tbN8r",Qc="Dropdown-module_dropdownMenuButton__Xy8M4";function Ic({id:t,children:a,className:n,disabled:o,value:i,label:l,onItemClick:r,overflow:s,position:c,direction:d,align:u,viewScroll:b,arrow:m,menuButtonClassName:h="",ariaLabel:g,portal:f,...p}){const x=p.menuButton||e.jsx(vc,{"aria-label":g,className:`${Qc} ${h}`,disabled:o,type:"button",children:i||l});return e.jsxs(rl,{id:t,"aria-label":g,className:pr(n,Gc),"data-testid":p["data-testid"],onItemClick:r,overflow:s,position:c,direction:d,align:u,viewScroll:b,arrow:m,menuButton:x,portal:f,children:[e.jsx(dl,{children:l}),a]})}h('@charset "UTF-8";.Dropdown-module_dropdownMenu__tbN8r{box-shadow:0 2px 6px var(--ps-dropdown-shadow)!important;padding:.25rem 0}.Dropdown-module_dropdownMenu__tbN8r,.Dropdown-module_dropdownMenu__tbN8r ul[class*=szh-menu]{background-color:var(--ps-dropdown-background)!important;color:var(--ps-neutral-2)!important}.Dropdown-module_dropdownMenu__tbN8r li[class=szh-menu__header]{text-align:left}.Dropdown-module_dropdownMenu__tbN8r div[class*=hover],.Dropdown-module_dropdownMenu__tbN8r li[class*=hover]{background-color:var(--ps-ui-element-bg-highlight)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu--open]:empty{display:none}.Dropdown-module_dropdownMenu__tbN8r [class*="szh-menu__item active"]{background-color:var(--ps-ui-element-bg-highlight);color:var(--ps-selected-app)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable]{background-color:inherit!important;padding-bottom:1rem;padding-top:1rem}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable] input{width:100%}.Dropdown-module_dropdownMenuButton__Xy8M4{background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:4px;display:flex;flex-shrink:0;margin-right:5px;outline:none;padding-right:20px;position:relative}.Dropdown-module_dropdownMenuButton__Xy8M4:after{content:"▾";position:absolute;right:5px;top:3px}.Dropdown-module_dropdownMenuButton__Xy8M4:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJ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LWVsZW1lbnQtYmctcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xuICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIuKWvlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogM3B4O1xuICByaWdodDogNXB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const Bc=cl,vc=Ji;var yc="DiffLegendPaletteDropdown-module_container__h8Tts",Fc="DiffLegendPaletteDropdown-module_triggerButton__oezA6",Zc="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",Lc="DiffLegendPaletteDropdown-module_menuItem__5iWry",Wc="DiffLegendPaletteDropdown-module_menuItemText__a-tt0",Nc="DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR",Xc="DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q",wc="DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m";h(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:4px;height:32px;margin-right:0;padding:2px 16px 2px 6px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:transparent;border-color:#6aa27d}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:focus-visible,.DiffLegendPaletteDropdown-module_triggerButton__oezA6[aria-expanded=true]{border-color:#3c7150;box-shadow:0 0 0 3px rgba(60,113,80,.22)}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:after{font-size:10px;right:6px;top:50%;transform:translateY(-50%)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:2px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:6px;justify-content:flex-start;min-width:148px;padding:4px 8px}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px;line-height:1.2}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu__header{color:#8a8f99;font-size:12px;font-weight:500;letter-spacing:.2px;padding:6px 12px 4px}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx .18s ease-out;margin-top:4px;transform-origin:top center}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q{background-color:transparent!important;border:1px solid transparent;border-radius:6px;margin:2px 6px;padding:0}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m{background-color:rgba(93,151,111,.38)!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m .DiffLegendPaletteDropdown-module_menuItemText__a-tt0{font-weight:600}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--hover{background-color:#f5f5f5!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--hover{background-color:rgba(93,151,111,.38)!important;border-color:transparent}@keyframes DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx{0%{opacity:0;transform:scaleY(.92)}to{opacity:1;transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:none}}.DiffLegendPaletteDropdown-module_row__Dgure{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:2px}.DiffLegendPaletteDropdown-module_row__Dgure p{font-size:13px;margin:0}.DiffLegendPaletteDropdown-module_dropdownWrapper__oQiLG{display:flex}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9{background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;padding:4px 8px}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownItem__qp936{align-items:center;display:flex;gap:8px;margin-top:4px}.DiffLegendPaletteDropdown-module_dropdownItem__qp936 svg{flex-shrink:0;height:16px;width:16px}[data-theme=kylin] .DiffLegendPaletteDropdown-module_triggerButton__oezA6{height:28px;padding:1px 14px 1px 6px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxtREFFRSxrQkFBbUIsQ0FEbkIsWUFFRixDQUdBLHVEQUVFLGtCQUFtQixDQUtuQiw0QkFBNkIsQ0FGN0Isb0NBQXFDLENBQ3JDLGlCQUFrQixDQUVsQixjQUFlLENBUGYsWUFBYSxDQUViLE9BQVEsQ0FNUixXQUFZLENBQ1osY0FBZSxDQU5mLHdCQU9GLENBRUEsNkRBQ0UsNEJBQTZCLENBQzdCLG9CQUNGLENBRUEsZ0pBRUUsb0JBQXFCLENBQ3JCLHdDQUNGLENBRUEsNkRBSUUsY0FBZSxDQUZmLFNBQVUsQ0FEVixPQUFRLENBRVIsMEJBRUYsQ0FFQSx1REFFRSw4QkFBK0IsQ0FEL0IsYUFBYyxDQUV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uXG4uZHJvcGRvd25JdGVtIHN2ZyB7XG4gIHdpZHRoOiAxNnB4O1xuICBoZWlnaHQ6IDE2cHg7XG4gIGZsZXgtc2hyaW5rOiAwO1xufVxuXG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAudHJpZ2dlckJ1dHRvbiB7XG4gIGhlaWdodDogMjhweDtcbiAgcGFkZGluZzogMXB4IDE0cHggMXB4IDZweDtcbn1cbiJdfQ== */");const Cc=[xl,Gl],Rc=t=>{const{palette:a=xl,onChange:n}=t,o=Wl(),i=e=>"Default"===e.name?o.paletteDefaultName:"Color Blind"===e.name?o.paletteColorBlindName:e.name,l=e=>"Default"===e.name?o.paletteDefaultDesc:"Color Blind"===e.name?o.paletteColorBlindDesc:"";return e.jsx("div",{className:yc,children:e.jsx(Ic,{label:o.diffLegendSelectPalette,align:"end",className:Nc,menuButton:e.jsxs(vc,{className:pr(Qc,Fc),children:[e.jsx(xc,{palette:a,showMode:"small"}),e.jsx("span",{className:Zc})]}),onItemClick:e=>{e.value&&n(e.value)},children:Cc.map(t=>e.jsx(Bc,{value:t,className:pr(Xc,t.name===a.name&&wc),children:e.jsx("div",{className:Lc,children:e.jsxs("span",{className:Wc,children:[i(t)," ",l(t)]})})},t.name))})})};var Uc={navbar:"Toolbar-module_navbar__XN6xZ",searchWrapper:"Toolbar-module_searchWrapper__k--ua",rightSection:"Toolbar-module_rightSection__if7LO",viewType:"Toolbar-module_viewType__AKARg",toggleViewButton:"Toolbar-module_toggleViewButton__OQ9-U",fitModeButton:"Toolbar-module_fitModeButton__jOxve",selected:"Toolbar-module_selected__vwBQt",collapseNodeButton:"Toolbar-module_collapseNodeButton__bLdiw",resetViewButton:"Toolbar-module_resetViewButton__y2ebV",divider:"Toolbar-module_divider__dG6pE",itemsContainer:"Toolbar-module_itemsContainer__gSTMF",item:"Toolbar-module_item__o-hKc",moreButton:"Toolbar-module_moreButton__rhOdT",active:"Toolbar-module_active__36Kt-",navbarCollapsedItems:"Toolbar-module_navbarCollapsedItems__vojhw"};h(".Toolbar-module_navbar__XN6xZ{align-items:center;background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;flex-direction:row;height:47px;justify-content:space-between;margin:10px 0;padding:4px;position:relative}.Toolbar-module_searchWrapper__k--ua{flex-shrink:0;width:360px}.Toolbar-module_rightSection__if7LO{align-items:center;display:flex;gap:4px}.Toolbar-module_viewType__AKARg{display:flex;flex-direction:row;flex-wrap:nowrap}.Toolbar-module_navbar__XN6xZ button{color:var(--ps-toolbar-icon-color)}.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_toggleViewButton__OQ9-U{align-items:center;background-color:transparent;border-color:transparent;display:flex;height:37px;justify-content:center;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U svg{height:22px;width:22px}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve:hover,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}.Toolbar-module_collapseNodeButton__bLdiw,.Toolbar-module_resetViewButton__y2ebV{background-color:transparent;border-color:transparent;height:37px;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_resetViewButton__y2ebV{margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_divider__dG6pE{background-color:var(--ps-ui-border);height:37px;margin:0 2px;width:1px}.Toolbar-module_item__o-hKc,.Toolbar-module_itemsContainer__gSTMF{display:flex}.Toolbar-module_moreButton__rhOdT{border:none;border-radius:4px;height:37px;padding:0 5px}.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-,.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_moreButton__rhOdT:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}.Toolbar-module_navbarCollapsedItems__vojhw{background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;height:47px;padding:4px;position:absolute;right:0;top:50px;z-index:1}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ{background-color:transparent;border-color:transparent;height:40px;padding:4px 0}[data-theme=kylin] .Toolbar-module_searchWrapper__k--ua{width:180px}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ button{color:#595959}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px;width:28px}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:hover,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve:hover,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:hover,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV{background-color:#fafafa}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:disabled,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt{background-color:#3c7150;border-color:#3c7150}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt svg,[data-theme=kylin] .Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw svg,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U svg{height:16px;width:16px}[data-theme=kylin] .Toolbar-module_divider__dG6pE{background-color:#e5e5e5;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcUMsQ0FOckMsWUFBYSxDQUNiLGtCQUFtQixDQUduQixXQUFZLENBRFosNkJBQThCLENBRDlCLGFBQWMsQ0FLZCxXQUFZLENBUlosaUJBVUYsQ0FFQSxxQ0FFRSxhQUFjLENBRGQsV0FFRixDQUVBLG9DQUVFLGtCQUFtQixDQURuQixZQUFhLENBRWIsT0FDRixDQUVBLGdDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsZ0JBQ0YsQ0FFQSxxQ0FDRSxrQ0FDRixDQUVBLDZFQVVFLGtCQUFtQixDQUhuQiw0QkFBNkIsQ0FEN0Isd0JBQXlCLENBRXpCLFlBQWEsQ0FQYixXQUFZLENBUVosc0JBQXVCLENBTHZ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KFtkYXRhLXRoZW1lPSdreWxpbiddKSAuZml0TW9kZUJ1dHRvbi5zZWxlY3RlZCBzdmcge1xuICBjb2xvcjogI2ZmZmZmZjtcbn1cbjpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC50b2dnbGVWaWV3QnV0dG9uIHN2ZyxcbjpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC5maXRNb2RlQnV0dG9uIHN2ZyxcbjpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC5jb2xsYXBzZU5vZGVCdXR0b24gc3ZnLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnJlc2V0Vmlld0J1dHRvbiBzdmcge1xuICB3aWR0aDogMTZweDtcbiAgaGVpZ2h0OiAxNnB4O1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLmRpdmlkZXIge1xuICBoZWlnaHQ6IDI4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6ICNlNWU1ZTU7XG59XG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAubW9yZUJ1dHRvbiB7XG4gIGhlaWdodDogMjhweDtcbiAgYm9yZGVyOiAxcHggc29saWQgI2Q5ZDlkOTtcbiAgYm9yZGVyLXJhZGl1czogNHB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLm1vcmVCdXR0b246aG92ZXIge1xuICBib3JkZXItY29sb3I6ICMzYzcxNTA7XG4gIGNvbG9yOiAjM2M3MTUwO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZTZmNGVhO1xufSJdfQ== */");const kc=Q.bind(Uc),Dc=(e,t,a)=>{const n=0===t?e-360-5:e-360-16-5;let o=0,i=0;return a.reverse().forEach(e=>{i+=e,n<=i&&(o+=1)}),o},Yc=()=>e.jsx("div",{className:Uc.divider}),_c=t.memo(({view:a,handleSearchChange:n,highlightQuery:o,isFlamegraphDirty:i,reset:r,updateFitMode:s,fitMode:c,updateView:d,selectedNode:u,onFocusOnSubtree:b,flamegraphType:m,enableChangingDisplay:h=!0,sharedQuery:g,ExportData:f,palette:p,setPalette:x})=>{const G=t.useRef(null),[Q,I]=t.useState(!1),B=Wl();t.useEffect(()=>{const e=G.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");I(!!t)},[]);const v=Q?32:44,y=Q?220:360,F="double"===m&&p&&x,Z=[{el:e.jsxs(e.Fragment,{children:[e.jsx(jc,{fitMode:c,updateFitMode:s}),e.jsx(Yc,{})]}),width:2*v+5},{el:e.jsx(Sc,{isFlamegraphDirty:i,reset:r}),width:v},{el:e.jsxs(e.Fragment,{children:[e.jsx(Vc,{selectedNode:u,onFocusOnSubtree:b}),e.jsx(Yc,{})]}),width:v+5},h?{el:e.jsx(Mc,{flamegraphType:m,view:a,updateView:d}),width:v*("single"===m?5:3)}:null,t.isValidElement(f)?{el:e.jsxs(e.Fragment,{children:[e.jsx(Yc,{}),f]}),width:v+5}:null].filter(e=>null!==e),L=Z.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:W,collapsedItemsNumber:N,handleMoreClick:X}=((e,a)=>{const[n,o]=t.useState(!0),[i,r]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),n=Dc(t,i,a);r(n)}},[e.current,a]),l(e,e=>{const{width:t}=e.target.getBoundingClientRect(),n=Dc(t,i,a);r(n),o(!0)}),{isCollapsed:n,handleMoreClick:()=>{o(e=>!e)},collapsedItemsNumber:i}})(G,L),w=Z.reduce((e,t,a)=>(a<N?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:G,children:e.jsxs("div",{className:Uc.navbar,children:[e.jsx("div",{className:Uc.searchWrapper,children:e.jsx(hc,{width:y,onHighlightChange:n,highlightQuery:o,sharedQuery:g})}),e.jsxs("div",{className:Uc.rightSection,children:[F&&e.jsxs(e.Fragment,{children:[e.jsx(Rc,{palette:p,onChange:x}),e.jsx(Yc,{})]}),e.jsxs("div",{className:Uc.itemsContainer,children:[w.visible.map((t,a)=>e.jsx("div",{className:Uc.item,style:{width:t.width},children:t.el},a)),0!==N&&e.jsx(Es,{placement:"top",title:B.more,children:e.jsx("button",{onClick:X,className:kc({[Uc.moreButton]:!0,[Uc.active]:!W}),children:e.jsx(Hn,{icon:Ss.faEllipsisV})})})]})]}),!W&&e.jsx("div",{className:Uc.navbarCollapsedItems,children:w.hidden.map((t,a)=>e.jsx("div",{className:Uc.item,style:{width:t.width},children:t.el},a))})]})})});function Vc({onFocusOnSubtree:t,selectedNode:a}){const n=Wl(),o=a.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(Es,{placement:"top",title:n.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(es,{disabled:!a.isJust,onClick:o,className:Uc.collapseNodeButton,"aria-label":n.collapseNodesAbove,children:e.jsx(Hn,{icon:gi.faCompressAlt})})})})}function Sc({isFlamegraphDirty:t,reset:a}){const n=Wl();return e.jsx(Es,{placement:"top",title:n.resetView,children:e.jsx("span",{children:e.jsx(es,{id:"reset",disabled:!t,onClick:a,className:Uc.resetViewButton,"aria-label":n.resetView,children:e.jsx(Hn,{icon:Ws.faUndo})})})})}function jc({fitMode:t,updateFitMode:a}){const n=Wl(),o=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(Es,{placement:"top",title:n.headFirst,children:e.jsx(es,{onClick:()=>a("HEAD"),className:kc({[Uc.fitModeButton]:!0,[Uc.selected]:o("HEAD")}),children:e.jsx(Ol,{})})}),e.jsx(Es,{placement:"top",title:n.tailFirst,children:e.jsx(es,{onClick:()=>a("TAIL"),className:kc({[Uc.fitModeButton]:!0,[Uc.selected]:o("TAIL")}),children:e.jsx(zl,{})})})]})}const Jc=(t,a)=>"single"===t?[{label:a.viewFlamegraph,value:"flamegraph",Icon:Al},{label:a.viewTable,value:"table",Icon:Jl},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ml},{label:a.viewSandwich,value:"sandwich",Icon:El},{label:a.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Hn,{icon:ks.faProjectDiagram})}]:[{label:a.viewFlamegraph,value:"flamegraph",Icon:Al},{label:a.viewTable,value:"table",Icon:Jl},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ml}];function Mc({view:t,updateView:a,flamegraphType:n}){const o=Wl(),i=Jc(n,o);return e.jsx("div",{className:Uc.viewType,children:i.map(({label:n,value:o,Icon:i})=>e.jsx(Es,{placement:"top",title:n,children:e.jsx(es,{"data-testid":o,onClick:()=>a(o),className:kc({[Uc.toggleViewButton]:!0,selected:t===o}),children:e.jsx(i,{})})},o))})}function Ac(e,t){const a={},n={};let o={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var i,l;for(let r=0;r<e.levels.length;r+=1)for(let s=0;s<e.levels[r].length;s+=4){const c=[t,r,s].join("/"),d=e.names[e.levels[r][s+3]],u=e.levels[r][s+0],b=e.levels[r][s+1],m=e.levels[r][s+2];let h="";if(0!==r){const a=r-1,o=e.levels[a];for(let e=0;e<o.length;e+=4){const i=o[e+0],l=o[e+1];if(u>=i&&u<i+l){const o=[t,a,e].join("/");h=n[o].key;break}}}const g=[h||"",d].join("/"),f=!a[g];a[g]||(a[g]={name:d,children:[],self:[],total:[],key:g});const p=a[g];(i=p.total)[t]||(i[t]=0),p.total[t]+=b,(l=p.self)[t]||(l[t]=0),p.self[t]+=m,n[c]=p,h&&f&&a[h].children.push(p),0===r&&(o=p)}}),o}const Ec=e=>{const t={maxSelf:100,names:[],levels:[]},a=(e,n,o)=>{var i;const{name:l,children:r,self:s,total:c,offset:d}=e;t.names.push(l),(i=t.levels)[n]||(i[n]=[]),t.maxSelf=Math.max(t.maxSelf,s[0]||0),t.levels[n]=t.levels[n].concat([o,c[0]||0,s[0]||0,t.names.length-1]);for(let e=0;e<r.length;e+=1){o+=a(r[e],n+1,o)}return d||c[0]||0};return a(e,0,0),t};function Oc(e){const t=new Map;for(let a=0;a<e.children.length;a+=1)t.has(e.children[a].name)||t.set(e.children[a].name,e.children[a]);for(let a=0;a<e.children.length;a+=1){const n=e.children[a],o=t.get(e.children[a].name);o&&o!==n&&(o.total[0]+=n.total[0],o.self[0]+=n.self[0],o.children=o.children.concat(n.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)Oc(e.children[t])}function zc(e,t){const a=function(e,t){const a=Ac(e),n={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},o={name:t,total:[],self:[0],children:[]},i=e=>{e.name===t&&(n.numTicks+=e.total[0],o.total=[n.numTicks],o.children=o.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)i(e.children[t])};return i(a),Oc(o),{...n,...Ec(o)}}(JSON.parse(JSON.stringify(e)),t);return a}function Tc(e,t){const a=function(e,t){const a=Ac(e),n={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},o=[],i=[],l={name:t,total:[0],self:[0],children:[]},r=(e,a=[])=>{const l=a.concat([{...e,children:[]}]);e.name===t&&(i.push(l),o.push(e.total[0]),n.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)r(e.children[t],l)};r(a),i.forEach((e,t)=>{l.children.push(((e,t)=>{const a={};let n=a;return e.forEach(({name:e,...a})=>{const o={name:e,...a,total:[t]};n.children=[o],n=o}),a.children[0]})(e.reverse(),o[t]))}),Oc(l);const s=Ec(l);return s.levels=s.levels.reverse().slice(0,-1),{...n,...s}}(JSON.parse(JSON.stringify(e)),t);return a}var Hc={flamegraphContainer:"FlamegraphRenderer-module_flamegraphContainer__-7FRV",createdBy:"FlamegraphRenderer-module_createdBy__rHAOT",horizontal:"FlamegraphRenderer-module_horizontal__zs7--",vertical:"FlamegraphRenderer-module_vertical__fRcHg",panesWrapper:"FlamegraphRenderer-module_panesWrapper__L-mlA",tablePane:"FlamegraphRenderer-module_tablePane__Gin7Y",sandwichPane:"FlamegraphRenderer-module_sandwichPane__IEOyR",sandwichPaneInfo:"FlamegraphRenderer-module_sandwichPaneInfo__5hT4a",arrow:"FlamegraphRenderer-module_arrow__dPzpE",sandwichTop:"FlamegraphRenderer-module_sandwichTop__7N0ZY",sandwichBottom:"FlamegraphRenderer-module_sandwichBottom__Dc64g",name:"FlamegraphRenderer-module_name__XRbN9"};h(".FlamegraphRenderer-module_flamegraphContainer__-7FRV{width:100%}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:first-child{margin-right:8px}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:nth-child(2){margin-left:8px}.FlamegraphRenderer-module_createdBy__rHAOT{color:#fff;margin:10px 0;text-align:center}.FlamegraphRenderer-module_createdBy__rHAOT a{color:#199bef!important}.FlamegraphRenderer-module_horizontal__zs7--{flex-direction:row}.FlamegraphRenderer-module_vertical__fRcHg{flex-direction:column-reverse}.FlamegraphRenderer-module_panesWrapper__L-mlA{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR,.FlamegraphRenderer-module_tablePane__Gin7Y{flex:1}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a{background-color:var(--ps-sandwich-pane-info-bg);border-radius:5px;color:var(--ps-neutral-1);display:inline-block;margin:30px 0 0 10px;padding:8px;position:relative}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg{margin:30px 0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg .FlamegraphRenderer-module_arrow__dPzpE{bottom:-15px;left:20px;top:auto;transform:rotate(-90deg)}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a .FlamegraphRenderer-module_arrow__dPzpE{border-color:transparent var(--ps-sandwich-pane-info-bg) transparent transparent;border-style:solid;border-width:8px 20px 8px 0;height:0;left:-20px;position:absolute;top:14px;width:0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{margin-bottom:10px}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g .FlamegraphRenderer-module_name__XRbN9,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY .FlamegraphRenderer-module_name__XRbN9{padding:5px 0;transform:rotate(-180deg);writing-mode:vertical-rl}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g span{text-align:right}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhSZW5kZXJlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSxVQUNGLENBR0EsbUVBQ0UsZ0JBQ0YsQ0FFQSxvRUFDRSxlQUVGLENBRUEsNENBQ0UsVUFBWSxDQUVaLGFBQWMsQ0FEZCxpQkFFRixDQUVBLDhDQUNFLHVCQUNGLENBRUEsNkNBQ0Usa0JBQ0YsQ0FFQSwyQ0FFRSw2QkFDRixDQUVBLCtDQUNFLFlBQ0YsQ0FFQSwyRkFFRSxNQUNGLENBRUEsa0dBTUUsZ0RBQWlELENBRGpELGlCQUFrQixDQUVsQix5QkFBMEIsQ0FOMUIsb0JBQXFCLENBRXJCLG9CQUFxQixDQUNyQixXQUFZLENBRlosaUJBTUYsQ0FDQSw0SUFDRSx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ZS1pbmZvLWJnKSB0cmFuc3BhcmVudCB0cmFuc3BhcmVudDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wLFxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hCb3R0b20ge1xuICBkaXNwbGF5OiBmbGV4O1xufVxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hUb3AgLm5hbWUsXG4uc2FuZHdpY2hQYW5lIC5zYW5kd2ljaEJvdHRvbSAubmFtZSB7XG4gIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7XG4gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICBwYWRkaW5nOiA1cHggMDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoQm90dG9tIHNwYW4ge1xuICB0ZXh0LWFsaWduOiByaWdodDtcbn0iXX0= */");function Pc(e){const t=[];return Object.keys(e).forEach(a=>{var n;t.push(`${a}="${n=String(e[a]||""),n.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Kc(e,t){return`${(100*e/t).toFixed(2)}%`}function $c(e,t){let a,n,o,i;t?(a=.1,n=.93):(a=1,n=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(a*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(i=n,o=n*(1+a*e)):(o=n,i=n*(1-a*e));const l=n*(1-a);return`#${Math.floor(255*o).toString(16).padStart(2,"0")}${Math.floor(255*i).toString(16).padStart(2,"0")}${Math.floor(255*l).toString(16).padStart(2,"0")}`}function qc(e,t,a,n){const{self:o}=t,{total:i}=t,l=t.name.replace(/"/g,'\\"'),r=e(o),s=8+Math.ceil(16*Math.sqrt(o/a)),c=$c(i/n,!1),d=$c(i/n,!0),u=function(e,t,a,n,o){let i="";i=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const l=e(a);0!==a?i=`${i+l} (${Kc(a,o)})`:i+="0";let r=l;n!==a&&(i+=0!==a?"\n":" ",r=e(n),i=`${i}of ${r} (${Kc(n,o)})`);return i}(e,l,o,i,n),b={label:u,id:`node${t.index}`,fontsize:s,shape:"box",tooltip:`${l} (${r})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:d};return`N${t.index} ${Pc(b)}`}function ed(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Ac(e.flamebearer),a=[],n=[];const[o,i,,l]=function e(t,a,n,o,i){return t.children.forEach(t=>{const[l,r]=e(t,a,n,o,i);a=Math.max(a,l),n=Math.max(n,r)}),a=Math.max(a,t.self[0]),n=Math.max(n,t.total[0]),o+=t.self[0],i+=t.total[0],[a,n,o,i]}(t,0,0,0,0),{sampleRate:r,units:s}=e.metadata,c=Qo(i,r,s),d=e=>c.format(e,r,!0);let u={};const b={};let m=0;function h(e,t){return-1===t.indexOf(e.name)&&(u[e.name]?(u[e.name].self+=e.self[0],u[e.name].total+=e.total[0]):(m+=1,u[e.name]={index:m,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(a=>{const n=h(a,t.concat([e.name])),o=`${e.name}/${a.name}`;a.name!==e.name&&(b[o]?b[o].weight+=a.total[0]:b[o]={from:u[e.name],to:n,weight:a.total[0],residual:!1},n.parents.push(b[o]),u[e.name].children.push(b[o]))}),u[e.name]}t.children.forEach(e=>{h(e,[])});const g=.005*l,f=.001*l;function p(e,t){let a=0,n=t;if(e.forEach(e=>{e.weight>0&&(n+=Math.abs(e.weight))}),0!==n&&(e.forEach(e=>{const t=Math.abs(e.weight)/n;a+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/n;a+=-e*Math.log2(e)}return a}Object.keys(u).forEach(e=>{u[e].total<g&&delete u[e]});const x={};Object.keys(u).forEach(e=>{x[u[e].name]=function(e){let t=0;return 0===e.parents.length?t+=1:t+=p(e.parents,0),0===e.children.length?t+=1:t+=p(e.children,e.self),t*e.total+e.self}(u[e])});const G=Object.values(u).sort((e,t)=>{const a=x[e.name],n=x[t.name];return a!==n?n-a:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?n-a:e.name<t.name?-1:1}),Q={};function I(e){const[t,a]=[e.from,e.to],n={},o=[a];for(;o.length>0;){const a=o.shift();for(let i=0;i<a.parents.length;i+=1){const l=a.parents[i];if(e!==l&&!n[l.from.name]){if(l.from===t)return!0;n[l.from.name]=!0,o.push(l.from)}}}return!1}return G.forEach(e=>{Q[e.name]=e}),G.slice(80).forEach(e=>{delete Q[e.name]}),function e(t,a){const n=!Q[t.name];t.children.forEach(o=>{const i=!Q[o.name];if(e(o,n?a:t),!i&&a&&n){const e=`${a.name}/${o.name}`;b[e]||(b[e]={from:u[a.name],to:u[o.name],weight:0,residual:!0}),b[e].weight+=o.total[0],b[e].residual=!0}})}(t,null),u=Q,G.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),a=[];for(let e=0;e<t.length;e+=1){const n=t[e];if(!n.residual)break;I(n)&&(a.push(n),delete b[`${n.from.name}/${n.to.name}`])}a.forEach(e=>{e.from.children=e.from.children.filter(t=>t.to!==e.to),e.to.parents=e.to.parents.filter(t=>t.from!==e.from)})}),Object.keys(b).forEach(e=>{const t=b[e];u[t.from.name]||delete b[e],u[t.to.name]||delete b[e],t.weight<f&&delete b[e]}),Object.keys(u).forEach(e=>{a.push(qc(d,u[e],o,i))}),Object.keys(b).forEach(e=>{n.push(function(e,t,a){const n=t.from.name.replace(/"/g,'\\"'),o=t.to.name.replace(/"/g,'\\"'),i=t.weight,l=e(t.weight),r=`${n} -> ${o} (${l})`,s={label:l,weight:1+100*i/a,penwidth:1+5*i/a,tooltip:r,labeltooltip:r,fontname:"",color:$c(i/a,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Pc(s)}`}(d,b[e],i))}),`digraph "unnamed" {\n fontname= ""\n ${a.join("\n")}\n ${n.join("\n")}\n }`}var td="GraphVizPanel-module_graphVizPane__B18cQ";h(".GraphVizPanel-module_graphVizPane__B18cQ{display:flex;flex:1}.GraphVizPanel-module_graphVizPane__B18cQ.GraphVizPanel-module_graphVizPane__B18cQ{border:1px solid var(--ps-ui-border);margin-right:0}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz]{overflow:hidden;width:100%}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .graph>polygon{fill:none}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .edge text[text-anchor=middle]{fill:var(--ps-toolbar-icon-color)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkdyYXBoVml6UGFuZWwubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQ0UsWUFBYSxDQUNiLE1BQ0YsQ0FDQSxtRkFFRSxvQ0FBcUMsQ0FEckMsY0FFRixDQUNBLDREQUVFLGVBQWdCLENBRGhCLFVBRUYsQ0FDQSwyRUFDRSxTQUNGLENBQ0EsMkZBQ0UsaUNBQ0YiLCJmaWxlIjoiR3JhcGhWaXpQYW5lbC5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ncmFwaFZpelBhbmUge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4OiAxO1xufVxuLmdyYXBoVml6UGFuZS5ncmFwaFZpelBhbmUge1xuICBtYXJnaW4tcmlnaHQ6IDA7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmdyYXBoID4gcG9seWdvbiB7XG4gIGZpbGw6IG5vbmU7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmVkZ2UgdGV4dFt0ZXh0LWFuY2hvcj1taWRkbGVdIHtcbiAgZmlsbDogdmFyKC0tcHMtdG9vbGJhci1pY29uLWNvbG9yKTtcbn0iXX0= */");const ad=()=>null;function nd({flamebearer:a}){var n,o;const i=a,l=(null===(n=i.metadata)||void 0===n?void 0:n.format)&&(null===(o=i.flamebearer)||void 0===o?void 0:o.levels),r=`graphviz-pane-${(null==i?void 0:i.appName)||String((new Date).valueOf())}`,s=t.useMemo(()=>ed(i),[JSON.stringify(i)]);return e.jsx("div",{className:td,children:l?e.jsx(ad,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:s}):e.jsx("div",{children:"NO DATA"})},r)}function od(e){let t=2166136261;const a=e.length;if(0===a)return t>>>0;const n=[0,Math.floor(a/2),a-1];for(let a=0;a<n.length;a+=1){const o=e[n[a]];if(!o||0===o.length)continue;const i=Math.min(8,o.length);for(let e=0;e<i;e+=1)t^=0|o[e],t=Math.imul(t,16777619);for(let e=Math.max(0,o.length-i);e<o.length;e+=1)t^=0|o[e],t=Math.imul(t,16777619)}return t>>>0}function id(e){let t=2166136261;const a=e.length;if(0===a)return t>>>0;const n=Math.min(32,a),o=[...Array.from({length:n},(e,t)=>t),...Array.from({length:n},(e,t)=>a-n+t)];for(let a=0;a<o.length;a+=1){const n=e[o[a]]||"";for(let e=0;e<n.length;e+=1)t^=n.charCodeAt(e),t=Math.imul(t,16777619)}return t>>>0}function ld(e){var t,a,n,o,i,l;const r=e.__kylinSignature;if(r)return r;const s=e,c=[e.format,e.numTicks,e.sampleRate,e.units,e.maxSelf,null!==(a=null===(t=e.names)||void 0===t?void 0:t.length)&&void 0!==a?a:0,null!==(o=null===(n=e.levels)||void 0===n?void 0:n.length)&&void 0!==o?o:0,null!==(i=s.leftTicks)&&void 0!==i?i:"na",null!==(l=s.rightTicks)&&void 0!==l?l:"na",od(e.levels),id(e.names||[])].join("|");return e.__kylinSignature=c,c}function rd(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let o=t;o<n.length;o+=a)n[o]-=e,e+=n[o]+n[o+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function sd(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let o=t;o<n.length;o+=a)n[o]+=e,e=n[o]+n[o+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function cd(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const a=e.profile,n={...a,flamebearer:{...a.flamebearer}};a.__kylinDecoded||((t=n).flamebearer.levels=sd(t.metadata.format,t.flamebearer.levels),a.__kylinDecoded=!0,n.__kylinDecoded=!0);const o={...n,...n.metadata,...n.flamebearer,flamebearer:void 0,metadata:void 0};return delete o.flamebearer,delete o.metadata,o}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class dd extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:a.Maybe.nothing(),zoom:a.Maybe.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const a=this.state.flamegraphConfigs,n=(e,t,a)=>{const n=(e,t,a)=>e.names[io(e.format).getBarName(e.levels[t],a)];if(a.isNothing)return!0;try{const o=a,i=n(e,o.value.i,o.value.j);return i===n(t,o.value.i,o.value.j)}catch{return!1}};n(e,t,this.state.flamegraphConfigs.zoom)||(a.zoom=this.resetFlamegraphState.zoom);return n(e,t,this.state.flamegraphConfigs.focusedNode)||(a.focusedNode=this.resetFlamegraphState.focusedNode),a},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){return ld(e)===ld(t)}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:a.Maybe.nothing()})},this.onFlamegraphZoom=e=>{e.isJust&&0===e.value.i&&0===e.value.j?this.onReset():this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,zoom:e}})},this.onFocusOnNode=(e,t)=>{if(0===e&&0===t)return void this.onReset();let n={...this.state.flamegraphConfigs};const{zoom:o}=this.state.flamegraphConfigs;o.isJust&&o.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:a.Maybe.just({i:e,j:t})}})},this.isNameInFocusedSubtree=e=>{const{focusedNode:t}=this.state.flamegraphConfigs;if(t.isNothing)return!0;const{flamebearer:a}=this.state;if(!a||!a.levels)return!0;const{names:n,levels:o,format:i}=a,l=io(i),r=t.value.i,s=t.value.j,c=o[r];if(!c)return!0;const d=l.getBarOffset(c,s),u=d+l.getBarTotal(c,s);for(let t=r;t<o.length;t++){const a=o[t];for(let t=0;t<a.length;t+=l.jStep){const o=l.getBarOffset(a,t),i=l.getBarTotal(a,t);if(o>=d&&o+i<=u){if(n[l.getBarName(a,t)]===e)return!0}}}return!1},this.setActiveItem=e=>{const{name:t}=e;if(this.state.selectedItem.isJust&&t===this.state.selectedItem.value)return void this.setState({selectedItem:a.Maybe.nothing()});this.isNameInFocusedSubtree(t)?this.setState({selectedItem:a.Maybe.just(t)}):this.setState({selectedItem:a.Maybe.just(t),flamegraphConfigs:{...this.state.flamegraphConfigs,focusedNode:this.resetFlamegraphState.focusedNode}})},this.getHighlightQuery=()=>this.state.selectedItem.isJust?this.state.selectedItem.value:this.state.searchQuery,this.updateView=e=>{"sandwich"===e&&this.setState({searchQuery:"",flamegraphConfigs:this.resetFlamegraphState}),this.setState({view:e})},this.updateFlamegraphDirtiness=()=>{const e=this.isDirty();this.setState({isFlamegraphDirty:e})},this.updateFitMode=e=>{this.setState({fitMode:e})},this.clearFocus=()=>{this.setState(e=>({...e,flamegraphConfigs:{...e.flamegraphConfigs,...this.resetFlamegraphState}}))},this.getActiveRange=()=>{const{flamebearer:e}=this.state,{zoom:t,focusedNode:a}=this.state.flamegraphConfigs,n=e.numTicks;if(!n)return{rangeMin:0,rangeMax:1};const o=io(e.format),i=t=>{const a=e.levels[t.i];if(!a)return{rangeMin:0,rangeMax:1};const i=o.getBarOffset(a,t.j),l=o.getBarTotal(a,t.j);return{rangeMin:i/n,rangeMax:(i+l)/n}};return t.match({Just:e=>a.match({Just:t=>{const a=i(t),n=i(e);return a.rangeMax-a.rangeMin<n.rangeMax-n.rangeMin?a:n},Nothing:()=>i(e)}),Nothing:()=>a.match({Just:e=>i(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{var t;const a=e.jsx("div",{className:Eo(Hc.tablePane,"vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal),children:e.jsx(Gs,{"data-testid":"table-view",flamebearer:this.state.flamebearer,fitMode:this.state.fitMode,highlightQuery:this.state.searchQuery,selectedItem:this.state.selectedItem,handleTableItemClick:this.setActiveItem,palette:this.state.palette,onFocusOnNode:this.onFocusOnNode,updateView:this.props.onlyDisplay?void 0:this.updateView,enableSandwichView:this.props.enableSandwichView})},"table-pane"),n=this.shouldShowToolbar(),o=!this.state.flamebearer||this.state.flamebearer.names.length<=1,i=this.context,l="Location"!==i.location,r=this.state.flamebearer.numTicks,s=Qo(r,this.state.flamebearer.sampleRate,this.state.flamebearer.units).format(r,this.state.flamebearer.sampleRate),c=fo(s,l)||s,u=function(e,t=po){const a=Math.abs(e);for(const{value:n,label:o}of t)if(a>=n)return`${(e/n).toFixed(2).replace(/\.?0+$/,"")} ${o}`;return ho(e)}(r,i.sampleCountFormat),b=i.tooltipSamples.replace(/[::]\s*$/,""),m=(null===(t=i.tooltipUnitTitles[this.state.flamebearer.units])||void 0===t?void 0:t.formattedValue)||i.tooltipUnitTitles.unknown.formattedValue,h=this.getActiveRange(),g=h.rangeMin>0||h.rangeMax<1,f=Math.max(0,Math.min(r,(h.rangeMax-h.rangeMin)*r)),p=r>0?f/r*100:0,x=(()=>{const e=io(this.state.flamebearer.format),t=this.state.flamegraphConfigs.focusedNode.mapOrElse(()=>this.state.flamegraphConfigs.zoom.mapOrElse(()=>null,e=>e),e=>e);if(!t)return"";const a=this.state.flamebearer.levels[t.i];if(!a)return"";const n=e.getBarName(a,t.j);return this.state.flamebearer.names[n]||""})(),G=e.jsx(br,{showCredit:this.props.showCredit,flamebearer:this.state.flamebearer,highlightQuery:this.getHighlightQuery(),setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,updateView:this.props.onlyDisplay?void 0:this.updateView,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:n,setPalette:this.handleSetPalette,enableSandwichView:this.props.enableSandwichView,breadcrumb:o?void 0:{totalValueText:c,totalSamplesText:u,samplesLabel:b,unitLabel:m,hasFocus:g,focusPercent:p,focusLabel:x,ofTotalPlacement:l?"before":"after",ofTotalLabel:i.ofTotal,clearFocusLabel:i.clearFocus,onClearFocus:this.clearFocus}},"flamegraph-pane"),Q=(()=>{if("sandwich"!==this.state.view)return e.jsx("div",{className:Hc.sandwichPane},"sandwich-pane");if(this.state.selectedItem.isNothing)return e.jsx("div",{className:Hc.sandwichPane,children:e.jsxs("div",{className:Eo(Hc.sandwichPaneInfo,"vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal),children:[e.jsx("div",{className:Hc.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Tc(this.state.flamebearer,this.state.selectedItem.value),a=zc(this.state.flamebearer,this.state.selectedItem.value),o=t=>e.jsx(br,{disableClick:!0,showCredit:this.props.showCredit,highlightQuery:"",setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:n,setPalette:this.handleSetPalette,...t});return e.jsxs("div",{className:Hc.sandwichPane,children:[e.jsxs("div",{className:Hc.sandwichTop,children:[e.jsx("span",{className:Hc.name,children:"Callers"}),o({flamebearer:t})]}),e.jsxs("div",{className:Hc.sandwichBottom,children:[e.jsx("span",{className:Hc.name,children:"Callees"}),o({flamebearer:a,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),I=function(e,t,a,n,o){switch(e){case"table":return[a];case"flamegraph":return[t];case"sandwich":return[a,n];case"both":return[a,t];case"graphviz":return[o];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,G,a,Q,e.jsx(nd,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[n&&e.jsx(_c,{sharedQuery:this.props.sharedQuery,enableChangingDisplay:!this.props.onlyDisplay,flamegraphType:this.state.flamebearer.format,view:this.state.view,handleSearchChange:this.onSearchChange,reset:this.onReset,updateView:this.updateView,updateFitMode:this.updateFitMode,fitMode:this.state.fitMode,isFlamegraphDirty:this.isDirty(),selectedNode:this.state.flamegraphConfigs.zoom,highlightQuery:this.state.searchQuery,onFocusOnSubtree:this.onFocusOnNode,ExportData:this.props.ExportData,palette:this.state.palette,setPalette:this.handleSetPalette}),this.props.children,e.jsx("div",{className:`${Hc.flamegraphContainer} ${Eo("vertical"===this.state.panesOrientation?Hc.vertical:Hc.horizontal,Hc[this.state.panesOrientation],Hc.panesWrapper)}`,children:o?e.jsx(zo,{}):I.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:Hc.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(d,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:cd(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:a.Maybe.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:xl}}componentDidUpdate(e,t){if(e.profile!==this.props.profile||e.flamebearer!==this.props.flamebearer){const e=t.flamebearer,n=cd(this.props);if(!this.isSameFlamebearer(e,n)){const t=this.calcNewConfigs(e,n);return void this.setState({flamebearer:n,flamegraphConfigs:{...this.state.flamegraphConfigs,...t},selectedItem:a.Maybe.nothing()})}}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}dd.contextType=Zl,dd.defaultProps={showCredit:!1};const ud={showPyroscopeLogo:!1},bd=(e,t)=>{if(t)return t;const a=null!=e?e:"auto";return"zh-CN"===("auto"===a?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":a)?yl:vl};exports.Box=function(t){const{children:a,noPadding:n,className:o="",theme:i="dark"}=t,l=n?"":Pn.padding;return e.jsx("div",{className:`${Pn.box} ${l} ${o}`,"data-theme":i,children:a})},exports.DefaultPalette=xl,exports.Flamegraph=Mo,exports.FlamegraphI18nProvider=Ll,exports.FlamegraphRenderer=a=>{const{i18n:n,locale:o,colorMode:i="light",sandwich:l=!0,...r}=a,s=t.useMemo(()=>bd(o,n),[o,n]),c=t.useMemo(()=>(e=>{switch(e){case"dark":return"ps-theme-dark";case"kylin":return"ps-theme-kylin";default:return"ps-theme-light"}})(i),[i]);return e.jsx("pyro-flamegraph",{className:c,children:e.jsx(Ll,{messages:s,children:e.jsx(dd,{...ud,enableSandwichView:l,...r})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},a={},n={children:[]};return e.spans.forEach(e=>{e.children=[],a[e.spanID]=e}),e.spans.forEach(e=>{let t=n;e.references&&e.references.length>0&&(t=a[e.references[0].spanID]||n),t.children.push(e)}),function e(t,a){(t.children||[]).forEach(t=>e(t));let n=0;const o=u(t.children||[],e=>e.operationName);t.children=b(o,e=>{const t=e[0];for(let a=1;a<e.length;a+=1)t.duration+=e[a].duration;return n+=t.duration,t}),t.total=t.duration||n,t.self=Math.max(0,t.total-n)}(n),function a(n,o,i){var l;return t.numTicks||(t.numTicks=n.total),(l=t.levels)[o]||(l[o]=[]),t.levels[o].push(i),t.levels[o].push(n.total),t.levels[o].push(n.self),t.names.push((n.processID?`${e.processes[n.processID].serviceName}: `:"")+(n.operationName||"total")),t.levels[o].push(t.names.length-1),(n.children||[]).forEach(e=>{i+=a(e,o+1,i)}),n.total}(n,0,0),t.levels=rd("single",t.levels),{version:1,flamebearer:t,metadata:{format:"single",units:"trace_samples",spyName:"tracing",sampleRate:1e6}}},exports.diffTwoProfiles=function(e,t){e.flamebearer.levels=sd("single",e.flamebearer.levels),t.flamebearer.levels=sd("single",t.flamebearer.levels);const a=function(e,t){const a={format:"double",numTicks:e.numTicks+t.numTicks,leftTicks:e.numTicks,rightTicks:t.numTicks,maxSelf:100,sampleRate:e.sampleRate,names:[],levels:[],units:e.units,spyName:e.spyName},n=Ac(e,t),o=(e,t,n,i)=>{var l;const{name:r,children:s,self:c,total:d}=e;a.names.push(r),(l=a.levels)[t]||(l[t]=[]),a.maxSelf=Math.max(a.maxSelf,c[0]||0,c[1]||0),a.levels[t]=a.levels[t].concat([n,d[0]||0,c[0]||0,i,d[1]||0,c[1]||0,a.names.length-1]);for(let e=0;e<s.length;e+=1){const[a,l]=o(s[e],t+1,n,i);n+=a,i+=l}return[d[0]||0,d[1]||0]};return o(n,0,0,0),a}(e.flamebearer,t.flamebearer);a.levels=rd("double",a.levels);const n={...e.metadata};return n.format="double",{version:1,flamebearer:a,metadata:n,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=vl,exports.flamegraphZhCNMessages=yl;
|
|
18
18
|
//# sourceMappingURL=index.cjs.js.map
|