diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 5d17fe607..43433f6a1 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -12,7 +12,7 @@ jobs: - name: "CLA Assistant" if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' # Beta Release - uses: cla-assistant/github-action@v2.1.1-beta + uses: cla-assistant/github-action@v2.6.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # the below token should have repo scope and must be manually added by you in the repository's secret diff --git a/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/entrypoints.json b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/entrypoints.json new file mode 100644 index 000000000..7cd54321c --- /dev/null +++ b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/entrypoints.json @@ -0,0 +1,9 @@ +{ + "entrypoints": { + "main": { + "js": [ + "/bundles/pimcorestudioui/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js" + ] + } + } +} \ No newline at end of file diff --git a/public/build/ad8564c6-5174-41d3-a0a0-c70389fb3f97/main.js b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js similarity index 100% rename from public/build/ad8564c6-5174-41d3-a0a0-c70389fb3f97/main.js rename to public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js diff --git a/public/build/ad8564c6-5174-41d3-a0a0-c70389fb3f97/main.js.LICENSE.txt b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js.LICENSE.txt similarity index 100% rename from public/build/ad8564c6-5174-41d3-a0a0-c70389fb3f97/main.js.LICENSE.txt rename to public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js.LICENSE.txt diff --git a/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/manifest.json b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/manifest.json new file mode 100644 index 000000000..b4416e2a5 --- /dev/null +++ b/public/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/manifest.json @@ -0,0 +1,3 @@ +{ + "bundles/pimcorestudioui/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js": "/bundles/pimcorestudioui/build/1418b3fb-0a74-4b6c-9574-a026db1d7c1a/main.js" +} \ No newline at end of file diff --git a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/947.js b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/947.js similarity index 100% rename from public/build/ed782268-588c-4cb8-8846-ac37f9034efd/947.js rename to public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/947.js diff --git a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/947.js.LICENSE.txt b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/947.js.LICENSE.txt similarity index 100% rename from public/build/ed782268-588c-4cb8-8846-ac37f9034efd/947.js.LICENSE.txt rename to public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/947.js.LICENSE.txt diff --git a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.css b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.css similarity index 98% rename from public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.css rename to public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.css index 5570e900a..d5711e3d8 100644 --- a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.css +++ b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.css @@ -13,4 +13,4 @@ * * @license https://github.com/pimcore/studio-ui-bundle/blob/1.x/LICENSE.md POCL and PCL * * / * - */.flexlayout__layout{--color-text:#000;--color-background:#fff;--color-base:#fff;--color-1:#f7f7f7;--color-2:#f0f0f0;--color-3:#e9e9e9;--color-4:#e2e2e2;--color-5:#dbdbdb;--color-6:#d4d4d4;--color-drag1:#5f86c4;--color-drag2:#77a677;--color-drag1-background:rgba(95,134,196,.1);--color-drag2-background:rgba(119,166,119,.075);--font-size:medium;--font-family:Roboto,Arial,sans-serif;--color-overflow:gray;--color-icon:gray;--color-tabset-background:var(--color-background);--color-tabset-background-selected:var(--color-1);--color-tabset-background-maximized:var(--color-6);--color-tabset-divider-line:var(--color-4);--color-tabset-header-background:var(--color-background);--color-tabset-header:var(--color-text);--color-border-background:var(--color-background);--color-border-divider-line:var(--color-4);--color-tab-selected:var(--color-text);--color-tab-selected-background:var(--color-4);--color-tab-unselected:gray;--color-tab-unselected-background:transparent;--color-tab-textbox:var(--color-text);--color-tab-textbox-background:var(--color-3);--color-border-tab-selected:var(--color-text);--color-border-tab-selected-background:var(--color-4);--color-border-tab-unselected:gray;--color-border-tab-unselected-background:var(--color-2);--color-splitter:var(--color-1);--color-splitter-hover:var(--color-4);--color-splitter-drag:var(--color-4);--color-drag-rect-border:var(--color-6);--color-drag-rect-background:var(--color-4);--color-drag-rect:var(--color-text);--color-popup-border:var(--color-6);--color-popup-unselected:var(--color-text);--color-popup-unselected-background:#fff;--color-popup-selected:var(--color-text);--color-popup-selected-background:var(--color-3);--color-edge-marker:#aaa;--color-edge-icon:#555;bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.flexlayout__splitter{background-color:var(--color-splitter)}@media (hover:hover){.flexlayout__splitter:hover{background-color:var(--color-splitter-hover);transition:background-color .1s ease-in;transition-delay:.05s}}.flexlayout__splitter_border{z-index:10}.flexlayout__splitter_drag{background-color:var(--color-splitter-drag);z-index:1000}.flexlayout__splitter_extra{background-color:transparent}.flexlayout__outline_rect{background:var(--color-drag1-background);border:2px solid var(--color-drag1);border-radius:5px;box-sizing:border-box;pointer-events:none;position:absolute;z-index:1000}.flexlayout__outline_rect_edge{background:var(--color-drag2-background);border:2px solid var(--color-drag2);border-radius:5px;box-sizing:border-box;pointer-events:none;z-index:1000}.flexlayout__edge_rect{align-items:center;background-color:var(--color-edge-marker);pointer-events:none}.flexlayout__drag_rect,.flexlayout__edge_rect{display:flex;justify-content:center;position:absolute;z-index:1000}.flexlayout__drag_rect{background-color:var(--color-drag-rect-background);border:2px solid var(--color-drag-rect-border);border-radius:5px;color:var(--color-drag-rect);cursor:move;opacity:.9;padding:.3em 1em;text-align:center;word-wrap:break-word}.flexlayout__drag_rect,.flexlayout__tabset{box-sizing:border-box;flex-direction:column;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__tabset{background-color:var(--color-tabset-background);display:flex}.flexlayout__tabset_tab_divider{width:4px}.flexlayout__tabset_content{align-items:center;display:flex;flex-grow:1;justify-content:center}.flexlayout__tabset_header{align-items:center;background-color:var(--color-tabset-header-background);border-bottom:1px solid var(--color-tabset-divider-line);box-sizing:border-box;color:var(--color-tabset-header);display:flex;padding:3px 3px 3px 5px}.flexlayout__tabset_header_content{flex-grow:1}.flexlayout__tabset_tabbar_outer{background-color:var(--color-tabset-background);box-sizing:border-box;display:flex;overflow:hidden}.flexlayout__tabset_tabbar_outer_top{border-bottom:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_outer_bottom{border-top:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_inner{box-sizing:border-box;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__tabset_tabbar_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:4px;padding-right:4px;position:absolute;top:0;width:10000px}.flexlayout__tabset_tabbar_inner_tab_container_top{border-top:2px solid transparent}.flexlayout__tabset_tabbar_inner_tab_container_bottom{border-bottom:2px solid transparent}.flexlayout__tabset-selected{background-color:var(--color-tabset-background-selected)}.flexlayout__tabset-maximized{background-color:var(--color-tabset-background-maximized)}.flexlayout__tab_button_stamp{align-items:center;box-sizing:border-box;display:inline-flex;gap:.3em;white-space:nowrap}.flexlayout__tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto;position:absolute}.flexlayout__tab_button{padding:3px .5em}.flexlayout__tab_button,.flexlayout__tab_button_stretch{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em}.flexlayout__tab_button_stretch{background-color:transparent;color:var(--color-tab-selected);padding:3px 0;text-wrap:nowrap;width:100%}@media (hover:hover){.flexlayout__tab_button_stretch:hover{color:var(--color-tab-selected)}}.flexlayout__tab_button--selected{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}@media (hover:hover){.flexlayout__tab_button:hover{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}}.flexlayout__tab_button--unselected{background-color:var(--color-tab-unselected-background);color:var(--color-tab-unselected);color:gray}.flexlayout__tab_button_content,.flexlayout__tab_button_leading{display:flex}.flexlayout__tab_button_textbox{background-color:var(--color-tab-textbox-background);border:none;border:1px inset var(--color-1);border-radius:3px;color:var(--color-tab-textbox);font-family:var(--font-family);font-size:var(--font-size);width:10em}.flexlayout__tab_button_textbox:focus{outline:none}.flexlayout__tab_button_trailing{border-radius:4px;display:flex;visibility:hidden}.flexlayout__tab_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__tab_button:hover .flexlayout__tab_button_trailing{visibility:visible}}.flexlayout__tab_button--selected .flexlayout__tab_button_trailing{visibility:visible}.flexlayout__tab_button_overflow{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__tab_toolbar{align-items:center;display:flex;gap:.3em;padding-left:.5em;padding-right:.3em}.flexlayout__tab_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;margin:0;outline:none;padding:1px}@media (hover:hover){.flexlayout__tab_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__tab_toolbar_sticky_buttons_container{align-items:center;display:flex;gap:.3em;padding-left:5px}.flexlayout__tab_floating{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);position:absolute}.flexlayout__tab_floating,.flexlayout__tab_floating_inner{align-items:center;display:flex;justify-content:center;overflow:auto}.flexlayout__tab_floating_inner{flex-direction:column}.flexlayout__tab_floating_inner div{margin-bottom:5px;text-align:center}.flexlayout__tab_floating_inner div a{color:#4169e1}.flexlayout__border{background-color:var(--color-border-background);box-sizing:border-box;color:var(--color-border);display:flex;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__border_top{align-items:center;border-bottom:1px solid var(--color-border-divider-line)}.flexlayout__border_bottom{align-items:center;border-top:1px solid var(--color-border-divider-line)}.flexlayout__border_left{align-content:center;border-right:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_right{align-content:center;border-left:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_inner{box-sizing:border-box;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__border_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:2px;padding-right:2px;position:absolute;top:0;white-space:nowrap;width:10000px}.flexlayout__border_inner_tab_container_right{transform:rotate(90deg);transform-origin:top left}.flexlayout__border_inner_tab_container_left{flex-direction:row-reverse;transform:rotate(-90deg);transform-origin:top right}.flexlayout__border_tab_divider{width:4px}.flexlayout__border_button{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em;margin:2px 0;padding:3px .5em;white-space:nowrap}.flexlayout__border_button--selected{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}@media (hover:hover){.flexlayout__border_button:hover{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}}.flexlayout__border_button--unselected{background-color:var(--color-border-tab-unselected-background);color:var(--color-border-tab-unselected)}.flexlayout__border_button_content,.flexlayout__border_button_leading{display:flex}.flexlayout__border_button_trailing{border-radius:4px;display:flex;visibility:hidden}.flexlayout__border_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__border_button:hover .flexlayout__border_button_trailing{visibility:visible}}.flexlayout__border_button--selected .flexlayout__border_button_trailing{visibility:visible}.flexlayout__border_toolbar{align-items:center;display:flex;gap:.3em}.flexlayout__border_toolbar_left,.flexlayout__border_toolbar_right{flex-direction:column;padding-bottom:.3em;padding-top:.5em}.flexlayout__border_toolbar_bottom,.flexlayout__border_toolbar_top{padding-left:.5em;padding-right:.3em}.flexlayout__border_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;outline:none;padding:1px}@media (hover:hover){.flexlayout__border_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__border_toolbar_button_overflow{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__popup_menu{font-family:var(--font-family);font-size:var(--font-size)}.flexlayout__popup_menu_item{border-radius:2px;cursor:pointer;padding:2px .5em;white-space:nowrap}@media (hover:hover){.flexlayout__popup_menu_item:hover{background-color:var(--color-6)}}.flexlayout__popup_menu_container{background:var(--color-popup-unselected-background);border:1px solid var(--color-popup-border);border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.15);color:var(--color-popup-unselected);max-height:50%;min-width:100px;overflow:auto;padding:2px;position:absolute;z-index:1000}.flexlayout__floating_window _body{height:100%}.flexlayout__floating_window_content,.flexlayout__floating_window_tab{bottom:0;left:0;position:absolute;right:0;top:0}.flexlayout__floating_window_tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto}.flexlayout__error_boundary_container{bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.flexlayout__error_boundary_content{align-items:center;display:flex}.flexlayout__tabset_sizer{padding-top:5px}.flexlayout__tabset_header_sizer,.flexlayout__tabset_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:3px}.flexlayout__tabset_header_sizer{padding-top:3px}.flexlayout__border_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:5px;padding-top:6px}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/ed782268-588c-4cb8-8846-ac37f9034efd/fonts/Lato-Regular.9d883d54.ttf)}@font-face{font-family:Lato;font-weight:300;src:url(/bundles/pimcorestudioui/build/ed782268-588c-4cb8-8846-ac37f9034efd/fonts/Lato-Light.c7400fca.ttf)}@font-face{font-family:Lato;font-weight:700;src:url(/bundles/pimcorestudioui/build/ed782268-588c-4cb8-8846-ac37f9034efd/fonts/Lato-Bold.636be8de.ttf)}*{box-sizing:border-box}.ant-message{bottom:20px!important;position:absolute;top:unset!important}@keyframes moveUp{0%{opacity:0;transform:translateY(30%)}to{opacity:1;transform:translateY(0)}}.ant-message .ant-message-move-up-appear,.ant-message .ant-message-move-up-enter{animation-name:moveUp}.ant-message .ant-message-move-up-leave{animation-direction:reverse;animation-name:moveUp} \ No newline at end of file + */.flexlayout__layout{--color-text:#000;--color-background:#fff;--color-base:#fff;--color-1:#f7f7f7;--color-2:#f0f0f0;--color-3:#e9e9e9;--color-4:#e2e2e2;--color-5:#dbdbdb;--color-6:#d4d4d4;--color-drag1:#5f86c4;--color-drag2:#77a677;--color-drag1-background:rgba(95,134,196,.1);--color-drag2-background:rgba(119,166,119,.075);--font-size:medium;--font-family:Roboto,Arial,sans-serif;--color-overflow:gray;--color-icon:gray;--color-tabset-background:var(--color-background);--color-tabset-background-selected:var(--color-1);--color-tabset-background-maximized:var(--color-6);--color-tabset-divider-line:var(--color-4);--color-tabset-header-background:var(--color-background);--color-tabset-header:var(--color-text);--color-border-background:var(--color-background);--color-border-divider-line:var(--color-4);--color-tab-selected:var(--color-text);--color-tab-selected-background:var(--color-4);--color-tab-unselected:gray;--color-tab-unselected-background:transparent;--color-tab-textbox:var(--color-text);--color-tab-textbox-background:var(--color-3);--color-border-tab-selected:var(--color-text);--color-border-tab-selected-background:var(--color-4);--color-border-tab-unselected:gray;--color-border-tab-unselected-background:var(--color-2);--color-splitter:var(--color-1);--color-splitter-hover:var(--color-4);--color-splitter-drag:var(--color-4);--color-drag-rect-border:var(--color-6);--color-drag-rect-background:var(--color-4);--color-drag-rect:var(--color-text);--color-popup-border:var(--color-6);--color-popup-unselected:var(--color-text);--color-popup-unselected-background:#fff;--color-popup-selected:var(--color-text);--color-popup-selected-background:var(--color-3);--color-edge-marker:#aaa;--color-edge-icon:#555;bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.flexlayout__splitter{background-color:var(--color-splitter)}@media (hover:hover){.flexlayout__splitter:hover{background-color:var(--color-splitter-hover);transition:background-color .1s ease-in;transition-delay:.05s}}.flexlayout__splitter_border{z-index:10}.flexlayout__splitter_drag{background-color:var(--color-splitter-drag);z-index:1000}.flexlayout__splitter_extra{background-color:transparent}.flexlayout__outline_rect{background:var(--color-drag1-background);border:2px solid var(--color-drag1);border-radius:5px;box-sizing:border-box;pointer-events:none;position:absolute;z-index:1000}.flexlayout__outline_rect_edge{background:var(--color-drag2-background);border:2px solid var(--color-drag2);border-radius:5px;box-sizing:border-box;pointer-events:none;z-index:1000}.flexlayout__edge_rect{align-items:center;background-color:var(--color-edge-marker);pointer-events:none}.flexlayout__drag_rect,.flexlayout__edge_rect{display:flex;justify-content:center;position:absolute;z-index:1000}.flexlayout__drag_rect{background-color:var(--color-drag-rect-background);border:2px solid var(--color-drag-rect-border);border-radius:5px;color:var(--color-drag-rect);cursor:move;opacity:.9;padding:.3em 1em;text-align:center;word-wrap:break-word}.flexlayout__drag_rect,.flexlayout__tabset{box-sizing:border-box;flex-direction:column;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__tabset{background-color:var(--color-tabset-background);display:flex}.flexlayout__tabset_tab_divider{width:4px}.flexlayout__tabset_content{align-items:center;display:flex;flex-grow:1;justify-content:center}.flexlayout__tabset_header{align-items:center;background-color:var(--color-tabset-header-background);border-bottom:1px solid var(--color-tabset-divider-line);box-sizing:border-box;color:var(--color-tabset-header);display:flex;padding:3px 3px 3px 5px}.flexlayout__tabset_header_content{flex-grow:1}.flexlayout__tabset_tabbar_outer{background-color:var(--color-tabset-background);box-sizing:border-box;display:flex;overflow:hidden}.flexlayout__tabset_tabbar_outer_top{border-bottom:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_outer_bottom{border-top:1px solid var(--color-tabset-divider-line)}.flexlayout__tabset_tabbar_inner{box-sizing:border-box;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__tabset_tabbar_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:4px;padding-right:4px;position:absolute;top:0;width:10000px}.flexlayout__tabset_tabbar_inner_tab_container_top{border-top:2px solid transparent}.flexlayout__tabset_tabbar_inner_tab_container_bottom{border-bottom:2px solid transparent}.flexlayout__tabset-selected{background-color:var(--color-tabset-background-selected)}.flexlayout__tabset-maximized{background-color:var(--color-tabset-background-maximized)}.flexlayout__tab_button_stamp{align-items:center;box-sizing:border-box;display:inline-flex;gap:.3em;white-space:nowrap}.flexlayout__tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto;position:absolute}.flexlayout__tab_button{padding:3px .5em}.flexlayout__tab_button,.flexlayout__tab_button_stretch{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em}.flexlayout__tab_button_stretch{background-color:transparent;color:var(--color-tab-selected);padding:3px 0;text-wrap:nowrap;width:100%}@media (hover:hover){.flexlayout__tab_button_stretch:hover{color:var(--color-tab-selected)}}.flexlayout__tab_button--selected{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}@media (hover:hover){.flexlayout__tab_button:hover{background-color:var(--color-tab-selected-background);color:var(--color-tab-selected)}}.flexlayout__tab_button--unselected{background-color:var(--color-tab-unselected-background);color:var(--color-tab-unselected);color:gray}.flexlayout__tab_button_content,.flexlayout__tab_button_leading{display:flex}.flexlayout__tab_button_textbox{background-color:var(--color-tab-textbox-background);border:none;border:1px inset var(--color-1);border-radius:3px;color:var(--color-tab-textbox);font-family:var(--font-family);font-size:var(--font-size);width:10em}.flexlayout__tab_button_textbox:focus{outline:none}.flexlayout__tab_button_trailing{border-radius:4px;display:flex;visibility:hidden}.flexlayout__tab_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__tab_button:hover .flexlayout__tab_button_trailing{visibility:visible}}.flexlayout__tab_button--selected .flexlayout__tab_button_trailing{visibility:visible}.flexlayout__tab_button_overflow{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__tab_toolbar{align-items:center;display:flex;gap:.3em;padding-left:.5em;padding-right:.3em}.flexlayout__tab_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;margin:0;outline:none;padding:1px}@media (hover:hover){.flexlayout__tab_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__tab_toolbar_sticky_buttons_container{align-items:center;display:flex;gap:.3em;padding-left:5px}.flexlayout__tab_floating{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);position:absolute}.flexlayout__tab_floating,.flexlayout__tab_floating_inner{align-items:center;display:flex;justify-content:center;overflow:auto}.flexlayout__tab_floating_inner{flex-direction:column}.flexlayout__tab_floating_inner div{margin-bottom:5px;text-align:center}.flexlayout__tab_floating_inner div a{color:#4169e1}.flexlayout__border{background-color:var(--color-border-background);box-sizing:border-box;color:var(--color-border);display:flex;font-family:var(--font-family);font-size:var(--font-size);overflow:hidden}.flexlayout__border_top{align-items:center;border-bottom:1px solid var(--color-border-divider-line)}.flexlayout__border_bottom{align-items:center;border-top:1px solid var(--color-border-divider-line)}.flexlayout__border_left{align-content:center;border-right:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_right{align-content:center;border-left:1px solid var(--color-border-divider-line);flex-direction:column}.flexlayout__border_inner{box-sizing:border-box;display:flex;flex-grow:1;overflow:hidden;position:relative}.flexlayout__border_inner_tab_container{bottom:0;box-sizing:border-box;display:flex;padding-left:2px;padding-right:2px;position:absolute;top:0;white-space:nowrap;width:10000px}.flexlayout__border_inner_tab_container_right{transform:rotate(90deg);transform-origin:top left}.flexlayout__border_inner_tab_container_left{flex-direction:row-reverse;transform:rotate(-90deg);transform-origin:top right}.flexlayout__border_tab_divider{width:4px}.flexlayout__border_button{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;gap:.3em;margin:2px 0;padding:3px .5em;white-space:nowrap}.flexlayout__border_button--selected{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}@media (hover:hover){.flexlayout__border_button:hover{background-color:var(--color-border-tab-selected-background);color:var(--color-border-tab-selected)}}.flexlayout__border_button--unselected{background-color:var(--color-border-tab-unselected-background);color:var(--color-border-tab-unselected)}.flexlayout__border_button_content,.flexlayout__border_button_leading{display:flex}.flexlayout__border_button_trailing{border-radius:4px;display:flex;visibility:hidden}.flexlayout__border_button_trailing:hover{background-color:var(--color-3)}@media (hover:hover){.flexlayout__border_button:hover .flexlayout__border_button_trailing{visibility:visible}}.flexlayout__border_button--selected .flexlayout__border_button_trailing{visibility:visible}.flexlayout__border_toolbar{align-items:center;display:flex;gap:.3em}.flexlayout__border_toolbar_left,.flexlayout__border_toolbar_right{flex-direction:column;padding-bottom:.3em;padding-top:.5em}.flexlayout__border_toolbar_bottom,.flexlayout__border_toolbar_top{padding-left:.5em;padding-right:.3em}.flexlayout__border_toolbar_button{background-color:transparent;border:none;border-radius:4px;font-size:inherit;outline:none;padding:1px}@media (hover:hover){.flexlayout__border_toolbar_button:hover{background-color:var(--color-2)}}.flexlayout__border_toolbar_button_overflow{align-items:center;background-color:transparent;border:none;color:var(--color-overflow);display:flex;font-size:inherit}.flexlayout__popup_menu{font-family:var(--font-family);font-size:var(--font-size)}.flexlayout__popup_menu_item{border-radius:2px;cursor:pointer;padding:2px .5em;white-space:nowrap}@media (hover:hover){.flexlayout__popup_menu_item:hover{background-color:var(--color-6)}}.flexlayout__popup_menu_container{background:var(--color-popup-unselected-background);border:1px solid var(--color-popup-border);border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.15);color:var(--color-popup-unselected);max-height:50%;min-width:100px;overflow:auto;padding:2px;position:absolute;z-index:1000}.flexlayout__floating_window _body{height:100%}.flexlayout__floating_window_content,.flexlayout__floating_window_tab{bottom:0;left:0;position:absolute;right:0;top:0}.flexlayout__floating_window_tab{background-color:var(--color-background);box-sizing:border-box;color:var(--color-text);overflow:auto}.flexlayout__error_boundary_container{bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.flexlayout__error_boundary_content{align-items:center;display:flex}.flexlayout__tabset_sizer{padding-top:5px}.flexlayout__tabset_header_sizer,.flexlayout__tabset_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:3px}.flexlayout__tabset_header_sizer{padding-top:3px}.flexlayout__border_sizer{font-family:var(--font-family);font-size:var(--font-size);padding-bottom:5px;padding-top:6px}@font-face{font-family:Lato;src:url(/bundles/pimcorestudioui/build/553cba99-a9df-41bb-ba4a-31703476cc6c/fonts/Lato-Regular.9d883d54.ttf)}@font-face{font-family:Lato;font-weight:300;src:url(/bundles/pimcorestudioui/build/553cba99-a9df-41bb-ba4a-31703476cc6c/fonts/Lato-Light.c7400fca.ttf)}@font-face{font-family:Lato;font-weight:700;src:url(/bundles/pimcorestudioui/build/553cba99-a9df-41bb-ba4a-31703476cc6c/fonts/Lato-Bold.636be8de.ttf)}*{box-sizing:border-box}.ant-message{bottom:20px!important;position:absolute;top:unset!important}@keyframes moveUp{0%{opacity:0;transform:translateY(30%)}to{opacity:1;transform:translateY(0)}}.ant-message .ant-message-move-up-appear,.ant-message .ant-message-move-up-enter{animation-name:moveUp}.ant-message .ant-message-move-up-leave{animation-direction:reverse;animation-name:moveUp} \ No newline at end of file diff --git a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.js b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.js similarity index 99% rename from public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.js rename to public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.js index e1ac64f6b..329cb4bd3 100644 --- a/public/build/ed782268-588c-4cb8-8846-ac37f9034efd/core-dll.js +++ b/public/build/553cba99-a9df-41bb-ba4a-31703476cc6c/core-dll.js @@ -1,2 +1,2 @@ /*! For license information please see core-dll.js.LICENSE.txt */ -var studio_core;(()=>{var e,t,r,n,o,i,a,s,l={51664:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(64674),o=2,i=.16,a=.05,s=.05,l=.15,c=5,u=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function d(e){var t=e.r,r=e.g,o=e.b,i=(0,n.rgbToHsv)(t,r,o);return{h:360*i.h,s:i.s,v:i.v}}function p(e){var t=e.r,r=e.g,o=e.b;return"#".concat((0,n.rgbToHex)(t,r,o,!1))}function h(e,t,r){var n;return(n=Math.round(e.h)>=60&&Math.round(e.h)<=240?r?Math.round(e.h)-o*t:Math.round(e.h)+o*t:r?Math.round(e.h)+o*t:Math.round(e.h)-o*t)<0?n+=360:n>=360&&(n-=360),n}function m(e,t,r){return 0===e.h&&0===e.s?e.s:((n=r?e.s-i*t:t===u?e.s+i:e.s+a*t)>1&&(n=1),r&&t===c&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2)));var n}function g(e,t,r){var n;return(n=r?e.v+s*t:e.v-l*t)>1&&(n=1),Number(n.toFixed(2))}function y(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],o=(0,n.inputToRGB)(e),i=c;i>0;i-=1){var a=d(o),s=p((0,n.inputToRGB)({h:h(a,i,!0),s:m(a,i,!0),v:g(a,i,!0)}));r.push(s)}r.push(p(o));for(var l=1;l<=u;l+=1){var y=d(o),v=p((0,n.inputToRGB)({h:h(y,l),s:m(y,l),v:g(y,l)}));r.push(v)}return"dark"===t.theme?f.map((function(e){var o,i,a,s=e.index,l=e.opacity;return p((o=(0,n.inputToRGB)(t.backgroundColor||"#141414"),i=(0,n.inputToRGB)(r[s]),a=100*l/100,{r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b}))})):r}},87463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blue:()=>o.blue,blueDark:()=>o.blueDark,cyan:()=>o.cyan,cyanDark:()=>o.cyanDark,geekblue:()=>o.geekblue,geekblueDark:()=>o.geekblueDark,generate:()=>n.default,gold:()=>o.gold,goldDark:()=>o.goldDark,gray:()=>o.gray,green:()=>o.green,greenDark:()=>o.greenDark,grey:()=>o.grey,greyDark:()=>o.greyDark,lime:()=>o.lime,limeDark:()=>o.limeDark,magenta:()=>o.magenta,magentaDark:()=>o.magentaDark,orange:()=>o.orange,orangeDark:()=>o.orangeDark,presetDarkPalettes:()=>o.presetDarkPalettes,presetPalettes:()=>o.presetPalettes,presetPrimaryColors:()=>o.presetPrimaryColors,purple:()=>o.purple,purpleDark:()=>o.purpleDark,red:()=>o.red,redDark:()=>o.redDark,volcano:()=>o.volcano,volcanoDark:()=>o.volcanoDark,yellow:()=>o.yellow,yellowDark:()=>o.yellowDark});var n=r(51664),o=r(23087);r(80094)},23087:(e,t,r)=>{"use strict";r.r(t),r.d(t,{blue:()=>d,blueDark:()=>j,cyan:()=>f,cyanDark:()=>T,geekblue:()=>p,geekblueDark:()=>C,gold:()=>s,goldDark:()=>S,gray:()=>y,green:()=>u,greenDark:()=>P,grey:()=>g,greyDark:()=>A,lime:()=>c,limeDark:()=>x,magenta:()=>m,magentaDark:()=>_,orange:()=>a,orangeDark:()=>w,presetDarkPalettes:()=>D,presetPalettes:()=>v,presetPrimaryColors:()=>n,purple:()=>h,purpleDark:()=>k,red:()=>o,redDark:()=>b,volcano:()=>i,volcanoDark:()=>O,yellow:()=>l,yellowDark:()=>E});var n={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},o=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];o.primary=o[5];var i=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];i.primary=i[5];var a=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];a.primary=a[5];var s=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];s.primary=s[5];var l=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];l.primary=l[5];var c=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];c.primary=c[5];var u=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];u.primary=u[5];var f=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];f.primary=f[5];var d=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];d.primary=d[5];var p=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];p.primary=p[5];var h=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];h.primary=h[5];var m=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];m.primary=m[5];var g=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];g.primary=g[5];var y=g,v={red:o,volcano:i,orange:a,gold:s,yellow:l,lime:c,green:u,cyan:f,blue:d,geekblue:p,purple:h,magenta:m,grey:g},b=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];b.primary=b[5];var O=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];O.primary=O[5];var w=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];w.primary=w[5];var S=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];S.primary=S[5];var E=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];E.primary=E[5];var x=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];x.primary=x[5];var P=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];P.primary=P[5];var T=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];T.primary=T[5];var j=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];j.primary=j[5];var C=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];C.primary=C[5];var k=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];k.primary=k[5];var _=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];_.primary=_[5];var A=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];A.primary=A[5];var D={red:b,volcano:O,orange:w,gold:S,yellow:E,lime:x,green:P,cyan:T,blue:j,geekblue:C,purple:k,magenta:_,grey:A}},80094:(e,t,r)=>{"use strict";r.r(t)},42513:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(82284),o=r(23029),i=r(92901),a=r(64467),s=r(49244),l=new(function(){function e(){(0,o.default)(this,e),(0,a.default)(this,"map",new Map),(0,a.default)(this,"objectIDMap",new WeakMap),(0,a.default)(this,"nextID",0),(0,a.default)(this,"lastAccessBeat",new Map),(0,a.default)(this,"accessBeat",0)}return(0,i.default)(e,[{key:"set",value:function(e,t){this.clear();var r=this.getCompositeKey(e);this.map.set(r,t),this.lastAccessBeat.set(r,Date.now())}},{key:"get",value:function(e){var t=this.getCompositeKey(e),r=this.map.get(t);return this.lastAccessBeat.set(t,Date.now()),this.accessBeat+=1,r}},{key:"getCompositeKey",value:function(e){var t=this;return e.map((function(e){return e&&"object"===(0,n.default)(e)?"obj_".concat(t.getObjectID(e)):"".concat((0,n.default)(e),"_").concat(e)})).join("|")}},{key:"getObjectID",value:function(e){if(this.objectIDMap.has(e))return this.objectIDMap.get(e);var t=this.nextID;return this.objectIDMap.set(e,t),this.nextID+=1,t}},{key:"clear",value:function(){var e=this;if(this.accessBeat>1e4){var t=Date.now();this.lastAccessBeat.forEach((function(r,n){t-r>6e5&&(e.map.delete(n),e.lastAccessBeat.delete(n))})),this.accessBeat=0}}}]),e}());const c=function(e,t){return s.useMemo((function(){var r=l.get(t);if(r)return r;var n=e();return l.set(t,n),n}),t)}},20294:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){return{}}},67906:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genCalc:()=>o.default,genStyleUtils:()=>n.default,mergeToken:()=>i.merge,statistic:()=>i.statistic,statisticToken:()=>i.default});var n=r(25431),o=r(89477),i=r(8941)},37398:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(82284),o=r(23029),i=r(92901),a=r(9417),s=r(85501),l=r(29426),c=r(64467),u=r(13985),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(r,e);var t=(0,l.default)(r);function r(e,i){var s;(0,o.default)(this,r),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,n.default)(e);return s.unitlessCssVar=i,e instanceof r?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(p(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof r?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(p(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,r=(e||{}).unit,n=!0;return"boolean"==typeof r?n=r:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(n=!1),this.result=this.result.replace(d,n?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),r}(u.default)},12713:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(23029),o=r(92901),i=r(9417),a=r(85501),s=r(29426),l=r(64467);const c=function(e){(0,a.default)(r,e);var t=(0,s.default)(r);function r(e){var o;return(0,n.default)(this,r),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof r?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof r?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof r?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof r?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),r}(r(13985).default)},13985:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(92901),o=r(23029);const i=(0,n.default)((function e(){(0,o.default)(this,e)}))},89477:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(37398),o=r(12713);const i=function(e,t){var r="css"===e?n.default:o.default;return function(e){return new r(e,t)}}},25431:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(82284),o=r(3453),i=r(64467),a=r(89379),s=r(49244),l=r(54018),c=r(89477),u=r(14379),f=r(83823),d=r(5938),p=r(55317),h=r(8941),m=r(42513),g=r(20294);const y=function(e){var t=e.useCSP,r=void 0===t?g.default:t,y=e.useToken,v=e.usePrefix,b=e.getResetStyles,O=e.getCommonStyle,w=e.getCompUnitless;function S(t,i,s){var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},w=Array.isArray(t)?t:[t,t],S=(0,o.default)(w,1)[0],E=w.join("-"),x=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=y(),w=o.theme,P=o.realToken,T=o.hashId,j=o.token,C=o.cssVar,k=v(),_=k.rootPrefixCls,A=k.iconPrefixCls,D=r(),R=C?"css":"js",L=(0,m.default)((function(){var e=new Set;return C&&Object.keys(g.unitless||{}).forEach((function(t){e.add((0,l.token2CSSVar)(t,C.prefix)),e.add((0,l.token2CSSVar)(t,(0,u.default)(S,C.prefix)))})),(0,c.default)(R,e)}),[R,S,null==C?void 0:C.prefix]),M=(0,p.default)(R),I=M.max,N=M.min,$={theme:w,token:j,hashId:T,nonce:function(){return D.nonce},clientOnly:g.clientOnly,layer:x,order:g.order||-999};return(0,l.useStyleRegister)((0,a.default)((0,a.default)({},$),{},{clientOnly:!1,path:["Shared",_]}),(function(){return"function"==typeof b?b(j):[]})),[(0,l.useStyleRegister)((0,a.default)((0,a.default)({},$),{},{path:[E,e,A]}),(function(){if(!1===g.injectStyle)return[];var r=(0,h.default)(j),o=r.token,a=r.flush,c=(0,d.default)(S,P,s),p=".".concat(e),m=(0,f.default)(S,P,c,{deprecatedTokens:g.deprecatedTokens});C&&c&&"object"===(0,n.default)(c)&&Object.keys(c).forEach((function(e){c[e]="var(".concat((0,l.token2CSSVar)(e,(0,u.default)(S,C.prefix)),")")}));var y=(0,h.merge)(o,{componentCls:p,prefixCls:e,iconCls:".".concat(A),antCls:".".concat(_),calc:L,max:I,min:N},C?c:m),v=i(y,{hashId:T,prefixCls:e,rootPrefixCls:_,iconPrefixCls:A});a(S,m);var b="function"==typeof O?O(y,e,t,g.resetFont):null;return[!1===g.resetStyle?null:b,v]})),T]}}return{genStyleHooks:function(e,t,r,n){var c=Array.isArray(e)?e[0]:e;function u(e){return"".concat(String(c)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var p=(null==n?void 0:n.unitless)||{},h="function"==typeof w?w(e):{},m=(0,a.default)((0,a.default)({},h),{},(0,i.default)({},u("zIndexPopup"),!0));Object.keys(p).forEach((function(e){m[u(e)]=p[e]}));var g=(0,a.default)((0,a.default)({},n),{},{unitless:m,prefixToken:u}),v=S(e,t,r,g),b=function(e,t,r){var n=r.unitless,o=r.injectStyle,i=void 0===o||o,a=r.prefixToken,c=r.ignore,u=function(o){var i=o.rootCls,s=o.cssVar,u=void 0===s?{}:s,p=y().realToken;return(0,l.useCSSVarRegister)({path:[e],prefix:u.prefix,key:u.key,unitless:n,ignore:c,token:p,scope:i},(function(){var n=(0,d.default)(e,p,t),o=(0,f.default)(e,p,n,{deprecatedTokens:null==r?void 0:r.deprecatedTokens});return Object.keys(n).forEach((function(e){o[a(e)]=o[e],delete o[e]})),o})),null},p=function(t){var r=y().cssVar;return[function(n){return i&&r?s.createElement(s.Fragment,null,s.createElement(u,{rootCls:t,cssVar:r,component:e}),n):n},null==r?void 0:r.key]};return p}(c,r,g);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=v(e,t),n=(0,o.default)(r,2)[1],i=b(t),a=(0,o.default)(i,2);return[a[0],n,a[1]]}},genSubStyleComponent:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=S(e,t,r,(0,a.default)({resetStyle:!1,order:-998},n));return function(e){var t=e.prefixCls,r=e.rootCls;return o(t,void 0===r?t:r),null}},genComponentStyleHook:S}}},14379:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))}},83823:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(3453),o=r(89379);r(81470);const i=function(e,t,r,i){var a=(0,o.default)({},t[e]);null!=i&&i.deprecatedTokens&&i.deprecatedTokens.forEach((function(e){var t,r=(0,n.default)(e,2),o=r[0],i=r[1];(null!=a&&a[o]||null!=a&&a[i])&&(null!==(t=a[i])&&void 0!==t||(a[i]=null==a?void 0:a[o]))}));var s=(0,o.default)((0,o.default)({},r),a);return Object.keys(s).forEach((function(e){s[e]===t[e]&&delete s[e]})),s}},5938:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(8941);const o=function(e,t,r){var o;return"function"==typeof r?r((0,n.merge)(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=r?r:{}}},55317:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(54018);const o=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{_statistic_build_:()=>c,default:()=>f,merge:()=>s,statistic:()=>l});var n=r(89379),o=r(82284),i="undefined"!=typeof CSSINJS_STATISTIC,a=!0;function s(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{default:()=>l,pathKey:()=>s});var n=r(23029),o=r(92901),i=r(64467),a="%";function s(e){return e.join(a)}const l=function(){function e(t){(0,n.default)(this,e),(0,i.default)(this,"instanceId",void 0),(0,i.default)(this,"cache",new Map),this.instanceId=t}return(0,o.default)(e,[{key:"get",value:function(e){return this.opGet(s(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(s(e),t)}},{key:"opUpdate",value:function(e,t){var r=t(this.cache.get(e));null===r?this.cache.delete(e):this.cache.set(e,r)}}]),e}()},86831:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(23029),o=r(92901),i=r(64467);const a=function(){function e(t,r){(0,n.default)(this,e),(0,i.default)(this,"name",void 0),(0,i.default)(this,"style",void 0),(0,i.default)(this,"_keyframe",!0),this.name=t,this.style=r}return(0,o.default)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}()},34532:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ATTR_CACHE_PATH:()=>d,ATTR_MARK:()=>f,ATTR_TOKEN:()=>u,CSS_IN_JS_INSTANCE:()=>p,StyleProvider:()=>g,createCache:()=>h,default:()=>y});var n=r(89379),o=r(80045),i=r(28104),a=r(43210),s=r(49244),l=r(43492),c=["children"],u="data-token-hash",f="data-css-hash",d="data-cache-path",p="__cssinjs_instance__";function h(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(f,"]"))||[],r=document.head.firstChild;Array.from(t).forEach((function(t){t[p]=t[p]||e,t[p]===e&&document.head.insertBefore(t,r)}));var n={};Array.from(document.querySelectorAll("style[".concat(f,"]"))).forEach((function(t){var r,o=t.getAttribute(f);n[o]?t[p]===e&&(null===(r=t.parentNode)||void 0===r||r.removeChild(t)):n[o]=!0}))}return new l.default(e)}var m=s.createContext({hashPriority:"low",cache:h(),defaultCache:!0}),g=function(e){var t=e.children,r=(0,o.default)(e,c),l=s.useContext(m),u=(0,i.default)((function(){var e=(0,n.default)({},l);Object.keys(r).forEach((function(t){var n=r[t];void 0!==r[t]&&(e[t]=n)}));var t=r.cache;return e.cache=e.cache||h(),e.defaultCache=!t&&l.defaultCache,e}),[l,r],(function(e,t){return!(0,a.default)(e[0],t[0],!0)||!(0,a.default)(e[1],t[1],!0)}));return s.createElement(m.Provider,{value:u},t)};const y=m},83686:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n,o=r(3453),i=r(64467),a=r(88153),s=r(13207),l=r(38816),c=r(8259),u=r(13167),f=(n={},(0,i.default)(n,l.STYLE_PREFIX,l.extract),(0,i.default)(n,a.TOKEN_PREFIX,a.extract),(0,i.default)(n,s.CSS_VAR_PREFIX,s.extract),n);function d(e){return null!==e}function p(e,t){var r="boolean"==typeof t?{plain:t}:t||{},n=r.plain,a=void 0!==n&&n,s=r.types,l=void 0===s?["style","token","cssVar"]:s,p=new RegExp("^(".concat(("string"==typeof l?[l]:l).join("|"),")%")),h=Array.from(e.cache.keys()).filter((function(e){return p.test(e)})),m={},g={},y="";return h.map((function(t){var r=t.replace(p,"").replace(/%/g,"|"),n=t.split("%"),i=(0,o.default)(n,1)[0],s=(0,f[i])(e.cache.get(t)[1],m,{plain:a});if(!s)return null;var l=(0,o.default)(s,3),c=l[0],u=l[1],d=l[2];return t.startsWith("style")&&(g[r]=u),[c,d]})).filter(d).sort((function(e,t){return(0,o.default)(e,1)[0]-(0,o.default)(t,1)[0]})).forEach((function(e){var t=(0,o.default)(e,2)[1];y+=t})),y+=(0,c.toStyleStr)(".".concat(u.ATTR_CACHE_MAP,'{content:"').concat((0,u.serialize)(g),'";}'),void 0,void 0,(0,i.default)({},u.ATTR_CACHE_MAP,u.ATTR_CACHE_MAP),a)}},13207:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CSS_VAR_PREFIX:()=>d,default:()=>h,extract:()=>p});var n=r(3453),o=r(89394),i=r(85089),a=r(49244),s=r(34532),l=r(8259),c=r(66040),u=r(93607),f=r(38816),d="cssVar",p=function(e,t,r){var o=(0,n.default)(e,4),i=o[1],a=o[2],s=o[3],c=(r||{}).plain;if(!i)return null;var u={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,a,(0,l.toStyleStr)(i,s,a,u,c)]};const h=function(e,t){var r=e.key,p=e.prefix,h=e.unitless,m=e.ignore,g=e.token,y=e.scope,v=void 0===y?"":y,b=(0,a.useContext)(s.default),O=b.cache.instanceId,w=b.container,S=g._tokenKey,E=[].concat((0,o.default)(e.path),[r,v,S]);return(0,u.default)(d,E,(function(){var e=t(),o=(0,c.transformToken)(e,r,{prefix:p,unitless:h,ignore:m,scope:v}),i=(0,n.default)(o,2),a=i[0],s=i[1];return[a,s,(0,f.uniqueHash)(E,s),r]}),(function(e){var t=(0,n.default)(e,3)[2];l.isClientSide&&(0,i.removeCSS)(t,{mark:s.ATTR_MARK})}),(function(e){var t=(0,n.default)(e,3),o=t[1],a=t[2];if(o){var l=(0,i.updateCSS)(o,a,{mark:s.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});l[s.CSS_IN_JS_INSTANCE]=O,l.setAttribute(s.ATTR_TOKEN,r)}}))}},88153:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TOKEN_PREFIX:()=>b,default:()=>O,extract:()=>w,getComputedToken:()=>v});var n=r(3453),o=r(89394),i=r(89379),a=r(76795),s=r(85089),l=r(49244),c=r(34532),u=r(8259),f=r(66040),d=r(93607),p={},h="css",m=new Map;var g=0;function y(e,t){m.set(e,(m.get(e)||0)-1);var r=Array.from(m.keys()),n=r.filter((function(e){return(m.get(e)||0)<=0}));r.length-n.length>g&&n.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(c.ATTR_TOKEN,'="').concat(e,'"]')).forEach((function(e){var r;e[c.CSS_IN_JS_INSTANCE]===t&&(null===(r=e.parentNode)||void 0===r||r.removeChild(e))}))}(e,t),m.delete(e)}))}var v=function(e,t,r,n){var o=r.getDerivativeToken(e),a=(0,i.default)((0,i.default)({},o),t);return n&&(a=n(a)),a},b="token";function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},g=(0,l.useContext)(c.default),O=g.cache.instanceId,w=g.container,S=r.salt,E=void 0===S?"":S,x=r.override,P=void 0===x?p:x,T=r.formatToken,j=r.getComputedToken,C=r.cssVar,k=(0,u.memoResult)((function(){return Object.assign.apply(Object,[{}].concat((0,o.default)(t)))}),t),_=(0,u.flattenToken)(k),A=(0,u.flattenToken)(P),D=C?(0,u.flattenToken)(C):"";return(0,d.default)(b,[E,e.id,_,A,D],(function(){var t,r=j?j(k,P,e):v(k,P,e,T),o=(0,i.default)({},r),s="";if(C){var l=(0,f.transformToken)(r,C.key,{prefix:C.prefix,ignore:C.ignore,unitless:C.unitless,preserve:C.preserve}),c=(0,n.default)(l,2);r=c[0],s=c[1]}var d=(0,u.token2key)(r,E);r._tokenKey=d,o._tokenKey=(0,u.token2key)(o,E);var p=null!==(t=null==C?void 0:C.key)&&void 0!==t?t:d;r._themeKey=p,function(e){m.set(e,(m.get(e)||0)+1)}(p);var g="".concat(h,"-").concat((0,a.default)(d));return r._hashId=g,[r,g,o,s,(null==C?void 0:C.key)||""]}),(function(e){y(e[0]._themeKey,O)}),(function(e){var t=(0,n.default)(e,4),r=t[0],o=t[3];if(C&&o){var i=(0,s.updateCSS)(o,(0,a.default)("css-variables-".concat(r._themeKey)),{mark:c.ATTR_MARK,prepend:"queue",attachTo:w,priority:-999});i[c.CSS_IN_JS_INSTANCE]=O,i.setAttribute(c.ATTR_TOKEN,r._themeKey)}}))}var w=function(e,t,r){var o=(0,n.default)(e,5),i=o[2],a=o[3],s=o[4],l=(r||{}).plain;if(!a)return null;var c=i._tokenKey,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)};return[-999,c,(0,u.toStyleStr)(a,s,c,f,l)]}},62826:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>l});var o=r(89379),i=r(30981),a=r(49244),s=(0,o.default)({},n||(n=r.t(a,2))).useInsertionEffect;const l=s?function(e,t,r){return s((function(){return e(),t()}),r)}:function(e,t,r){a.useMemo(e,r),(0,i.default)((function(){return t(!0)}),r)}},46030:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>a});var o=r(89379),i=(r(68210),r(49244));const a=void 0!==(0,o.default)({},n||(n=r.t(i,2))).useInsertionEffect?function(e){var t=[],r=!1;return i.useEffect((function(){return r=!1,function(){r=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){r||t.push(e)}}:function(){return function(e){e()}}},93607:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(3453),o=r(89394),i=r(49244),a=r(43492),s=r(34532),l=r(62826),c=r(46030),u=r(40943);function f(e,t,r,f,d){var p=i.useContext(s.default).cache,h=[e].concat((0,o.default)(t)),m=(0,a.pathKey)(h),g=(0,c.default)([m]),y=((0,u.default)(),function(e){p.opUpdate(m,(function(t){var o=t||[void 0,void 0],i=(0,n.default)(o,2),a=i[0];var s=[void 0===a?0:a,i[1]||r()];return e?e(s):s}))});i.useMemo((function(){y()}),[m]);var v=p.opGet(m)[1];return(0,l.default)((function(){null==d||d(v)}),(function(e){return y((function(t){var r=(0,n.default)(t,2),o=r[0],i=r[1];return e&&0===o&&(null==d||d(v)),[o+1,i]})),function(){p.opUpdate(m,(function(t){var r=t||[],o=(0,n.default)(r,2),i=o[0],a=void 0===i?0:i,s=o[1];return 0===a-1?(g((function(){!e&&p.opGet(m)||null==f||f(s,!1)})),null):[a-1,s]}))}}),[m]),v}},40943:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(){return!1}},38816:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STYLE_PREFIX:()=>x,default:()=>P,extract:()=>T,normalizeStyle:()=>b,parseStyle:()=>w,uniqueHash:()=>S});var n=r(58168),o=r(64467),i=r(89379),a=r(3453),s=r(89394),l=r(82284),c=r(76795),u=r(85089),f=r(49244),d=r(17103),p=r(90898),h=(r(82930),r(34532)),m=r(8259),g=r(13167),y=r(93607),v="_multi_value_";function b(e){return(0,p.serialize)((0,p.compile)(e),p.stringify).replace(/\{%%%\:[^;];}/g,";")}function O(e,t,r){if(!t)return e;var n=".".concat(t),o="low"===r?":where(".concat(n,")"):n;return e.split(",").map((function(e){var t,r=e.trim().split(/\s+/),n=r[0]||"",i=(null===(t=n.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[n="".concat(i).concat(o).concat(n.slice(i.length))].concat((0,s.default)(r.slice(1))).join(" ")})).join(",")}var w=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,c=n.injectHash,u=n.parentSelectors,f=r.hashId,p=r.layer,h=(r.path,r.hashPriority),m=r.transformers,g=void 0===m?[]:m,y=(r.linters,""),b={};function w(t){var n=t.getName(f);if(!b[n]){var o=e(t.style,r,{root:!1,parentSelectors:u}),i=(0,a.default)(o,1)[0];b[n]="@keyframes ".concat(t.getName(f)).concat(i)}}var S=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,r):t&&r.push(t)})),r}(Array.isArray(t)?t:[t]);return S.forEach((function(t){var n="string"!=typeof t||o?t:{};if("string"==typeof n)y+="".concat(n,"\n");else if(n._keyframe)w(n);else{var p=g.reduce((function(e,t){var r;return(null==t||null===(r=t.visit)||void 0===r?void 0:r.call(t,e))||e}),n);Object.keys(p).forEach((function(t){var n=p[t];if("object"!==(0,l.default)(n)||!n||"animationName"===t&&n._keyframe||function(e){return"object"===(0,l.default)(e)&&e&&("_skip_check_"in e||v in e)}(n)){var m;function k(e,t){var r=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),n=t;d.default[e]||"number"!=typeof n||0===n||(n="".concat(n,"px")),"animationName"===e&&null!=t&&t._keyframe&&(w(t),n=t.getName(f)),y+="".concat(r,":").concat(n,";")}var g=null!==(m=null==n?void 0:n.value)&&void 0!==m?m:n;"object"===(0,l.default)(n)&&null!=n&&n[v]&&Array.isArray(g)?g.forEach((function(e){k(t,e)})):k(t,g)}else{var S=!1,E=t.trim(),x=!1;(o||c)&&f?E.startsWith("@")?S=!0:E=O("&"===E?"":t,f,h):!o||f||"&"!==E&&""!==E||(E="",x=!0);var P=e(n,r,{root:x,injectHash:S,parentSelectors:[].concat((0,s.default)(u),[E])}),T=(0,a.default)(P,2),j=T[0],C=T[1];b=(0,i.default)((0,i.default)({},b),C),y+="".concat(E).concat(j)}}))}})),o?p&&(y="@layer ".concat(p.name," {").concat(y,"}"),p.dependencies&&(b["@layer ".concat(p.name)]=p.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(p.name,";")})).join("\n"))):y="{".concat(y,"}"),[y,b]};function S(e,t){return(0,c.default)("".concat(e.join("%")).concat(t))}function E(){return null}var x="style";function P(e,t){var r=e.token,l=e.path,c=e.hashId,d=e.layer,p=e.nonce,v=e.clientOnly,O=e.order,P=void 0===O?0:O,T=f.useContext(h.default),j=T.autoClear,C=(T.mock,T.defaultCache),k=T.hashPriority,_=T.container,A=T.ssrInline,D=T.transformers,R=T.linters,L=T.cache,M=T.layer,I=r._tokenKey,N=[I];M&&N.push("layer"),N.push.apply(N,(0,s.default)(l));var $=m.isClientSide;var B=(0,y.default)(x,N,(function(){var e=N.join("|");if((0,g.existPath)(e)){var r=(0,g.getStyleAndHash)(e),n=(0,a.default)(r,2),o=n[0],i=n[1];if(o)return[o,I,i,{},v,P]}var s=t(),u=w(s,{hashId:c,hashPriority:k,layer:M?d:void 0,path:l.join("-"),transformers:D,linters:R}),f=(0,a.default)(u,2),p=f[0],h=f[1],m=b(p),y=S(N,m);return[m,I,y,h,v,P]}),(function(e,t){var r=(0,a.default)(e,3)[2];(t||j)&&m.isClientSide&&(0,u.removeCSS)(r,{mark:h.ATTR_MARK})}),(function(e){var t=(0,a.default)(e,4),r=t[0],n=(t[1],t[2]),o=t[3];if($&&r!==g.CSS_FILE_STYLE){var s={mark:h.ATTR_MARK,prepend:!M&&"queue",attachTo:_,priority:P},l="function"==typeof p?p():p;l&&(s.csp={nonce:l});var c=[],f=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?c.push(e):f.push(e)})),c.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_layer-".concat(e),(0,i.default)((0,i.default)({},s),{},{prepend:!0}))}));var d=(0,u.updateCSS)(r,n,s);d[h.CSS_IN_JS_INSTANCE]=L.instanceId,d.setAttribute(h.ATTR_TOKEN,I),f.forEach((function(e){(0,u.updateCSS)(b(o[e]),"_effect-".concat(e),s)}))}})),F=(0,a.default)(B,3),Q=F[0],V=F[1],z=F[2];return function(e){var t,r;A&&!$&&C?t=f.createElement("style",(0,n.default)({},(r={},(0,o.default)(r,h.ATTR_TOKEN,V),(0,o.default)(r,h.ATTR_MARK,z),r),{dangerouslySetInnerHTML:{__html:Q}})):t=f.createElement(E,null);return f.createElement(f.Fragment,null,t,e)}}var T=function(e,t,r){var n=(0,a.default)(e,6),o=n[0],i=n[1],s=n[2],l=n[3],c=n[4],u=n[5],f=(r||{}).plain;if(c)return null;var d=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return d=(0,m.toStyleStr)(o,i,s,p,f),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var r=b(l[e]),n=(0,m.toStyleStr)(r,i,"_effect-".concat(e),p,f);e.startsWith("@layer")?d=n+d:d+=n}})),[u,s,d]}},54018:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Keyframes:()=>s.default,NaNLinter:()=>l.NaNLinter,StyleProvider:()=>c.StyleProvider,Theme:()=>u.Theme,_experimental:()=>m,createCache:()=>c.createCache,createTheme:()=>u.createTheme,extractStyle:()=>n.default,genCalc:()=>u.genCalc,getComputedToken:()=>o.getComputedToken,legacyLogicalPropertiesTransformer:()=>f.default,legacyNotSelectorLinter:()=>l.legacyNotSelectorLinter,logicalPropertiesLinter:()=>l.logicalPropertiesLinter,parentSelectorLinter:()=>l.parentSelectorLinter,px2remTransformer:()=>d.default,token2CSSVar:()=>h.token2CSSVar,unit:()=>p.unit,useCSSVarRegister:()=>i.default,useCacheToken:()=>o.default,useStyleRegister:()=>a.default});var n=r(83686),o=r(88153),i=r(13207),a=r(38816),s=r(86831),l=r(82930),c=r(34532),u=r(23236),f=r(80112),d=r(21133),p=r(8259),h=r(66040),m={supportModernCSS:function(){return(0,p.supportWhere)()&&(0,p.supportLogicProps)()}}},39501:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25555);const o=function(e,t,r){("string"==typeof t&&/NaN/g.test(t)||Number.isNaN(t))&&(0,n.lintWarning)("Unexpected 'NaN' in property '".concat(e,": ").concat(t,"'."),r)}},16220:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25555);const o=function(e,t,r){if("content"===e){("string"!=typeof t||-1===["normal","none","initial","inherit","unset"].indexOf(t)&&!/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0)))&&(0,n.lintWarning)("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(t,"\"'`."),r)}}},8521:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25555);const o=function(e,t,r){"animation"===e&&r.hashId&&"none"!==t&&(0,n.lintWarning)("You seem to be using hashed animation '".concat(t,"', in which case 'animationName' with Keyframe as value is recommended."),r)}},82930:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NaNLinter:()=>s.default,contentQuotesLinter:()=>n.default,hashedAnimationLinter:()=>o.default,legacyNotSelectorLinter:()=>i.default,logicalPropertiesLinter:()=>a.default,parentSelectorLinter:()=>l.default});var n=r(16220),o=r(8521),i=r(87165),a=r(87662),s=r(39501),l=r(5271)},87165:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(25555);function o(e){var t;return((null===(t=e.match(/:not\(([^)]*)\)/))||void 0===t?void 0:t[1])||"").split(/(\[[^[]*])|(?=[.#])/).filter((function(e){return e})).length>1}const i=function(e,t,r){var i=function(e){return e.parentSelectors.reduce((function(e,t){return e?t.includes("&")?t.replace(/&/g,e):"".concat(e," ").concat(t):t}),"")}(r),a=i.match(/:not\([^)]*\)/g)||[];a.length>0&&a.some(o)&&(0,n.lintWarning)("Concat ':not' selector not support in legacy browsers.",r)}},87662:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25555);const o=function(e,t,r){switch(e){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":return void(0,n.lintWarning)("You seem to be using non-logical property '".concat(e,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);case"margin":case"padding":case"borderWidth":case"borderStyle":if("string"==typeof t){var o=t.split(" ").map((function(e){return e.trim()}));4===o.length&&o[1]!==o[3]&&(0,n.lintWarning)("You seem to be using '".concat(e,"' property with different left ").concat(e," and right ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":return void("left"!==t&&"right"!==t||(0,n.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r));case"borderRadius":if("string"==typeof t)t.split("/").map((function(e){return e.trim()})).reduce((function(e,t){if(e)return e;var r=t.split(" ").map((function(e){return e.trim()}));return r.length>=2&&r[0]!==r[1]||(3===r.length&&r[1]!==r[2]||(4===r.length&&r[2]!==r[3]||e))}),!1)&&(0,n.lintWarning)("You seem to be using non-logical value '".concat(t,"' of ").concat(e,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return}}},5271:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(25555);const o=function(e,t,r){r.parentSelectors.some((function(e){return e.split(",").some((function(e){return e.split("&").length>2}))}))&&(0,n.lintWarning)("Should not use more than one `&` in a selector.",r)}},25555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{lintWarning:()=>o});var n=r(68210);function o(e,t){var r=t.path,o=t.parentSelectors;(0,n.default)(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(o.length?" Selector: ".concat(o.join(" | ")):""))}},61001:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(23029),o=r(92901),i=r(64467),a=r(68210),s=0,l=function(){function e(t){(0,n.default)(this,e),(0,i.default)(this,"derivatives",void 0),(0,i.default)(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=s,0===t.length&&(0,a.warning)(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),s+=1}return(0,o.default)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,r){return r(e,t)}),void 0)}}]),e}()},92627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,sameDerivativeOption:()=>s});var n=r(3453),o=r(23029),i=r(92901),a=r(64467);function s(e,t){if(e.length!==t.length)return!1;for(var r=0;r1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&n&&(o.value[1]=this.cacheCallTimes++),null===(r=o)||void 0===r?void 0:r.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,r){var o=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var r=(0,n.default)(e,2)[1];return o.internalGet(t)[1]{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(82284),o=r(23029),i=r(92901),a=r(9417),s=r(85501),l=r(29426),c=r(64467),u=r(73758),f="CALC_UNIT",d=new RegExp(f,"g");function p(e){return"number"==typeof e?"".concat(e).concat(f):e}var h=function(e){(0,s.default)(r,e);var t=(0,l.default)(r);function r(e,i){var s;(0,o.default)(this,r),s=t.call(this),(0,c.default)((0,a.default)(s),"result",""),(0,c.default)((0,a.default)(s),"unitlessCssVar",void 0),(0,c.default)((0,a.default)(s),"lowPriority",void 0);var l=(0,n.default)(e);return s.unitlessCssVar=i,e instanceof r?s.result="(".concat(e.result,")"):"number"===l?s.result=p(e):"string"===l&&(s.result=e),s}return(0,i.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(p(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof r?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(p(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof r?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,r=(e||{}).unit,n=!0;return"boolean"==typeof r?n=r:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(n=!1),this.result=this.result.replace(d,n?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),r}(u.default)},30816:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(23029),o=r(92901),i=r(9417),a=r(85501),s=r(29426),l=r(64467),c=function(e){(0,a.default)(r,e);var t=(0,s.default)(r);function r(e){var o;return(0,n.default)(this,r),o=t.call(this),(0,l.default)((0,i.default)(o),"result",0),e instanceof r?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,o.default)(r,[{key:"add",value:function(e){return e instanceof r?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof r?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof r?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof r?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),r}(r(73758).default)},73758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(92901),o=r(23029);const i=(0,n.default)((function e(){(0,o.default)(this,e)}))},86696:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(7287),o=r(30816);const i=function(e,t){var r="css"===e?n.default:o.default;return function(e){return new r(e,t)}}},9969:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(92627),o=r(61001),i=new n.default;function a(e){var t=Array.isArray(e)?e:[e];return i.has(t)||i.set(t,new o.default(t)),i.get(t)}},23236:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Theme:()=>i.default,ThemeCache:()=>a.default,createTheme:()=>o.default,genCalc:()=>n.default});var n=r(86696),o=r(9969),i=r(61001),a=r(92627)},80112:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3453);function o(e){return e.notSplit=!0,e}var i={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:o(["borderTop","borderBottom"]),borderBlockStart:o(["borderTop"]),borderBlockEnd:o(["borderBottom"]),borderInline:o(["borderLeft","borderRight"]),borderInlineStart:o(["borderLeft"]),borderInlineEnd:o(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function a(e,t){var r=e;return t&&(r="".concat(r," !important")),{_skip_check_:!0,value:r}}const s={visit:function(e){var t={};return Object.keys(e).forEach((function(r){var o=e[r],s=i[r];if(!s||"number"!=typeof o&&"string"!=typeof o)t[r]=o;else{var l=function(e){if("number"==typeof e)return[[e],!1];var t=String(e).trim(),r=t.match(/(.*)(!important)/),n=(r?r[1]:t).trim().split(/\s+/),o=[],i=0;return[n.reduce((function(e,t){if(t.includes("(")||t.includes(")")){var r=t.split("(").length-1,n=t.split(")").length-1;i+=r-n}return i>=0&&o.push(t),0===i&&(e.push(o.join(" ")),o=[]),e}),[]),!!r]}(o),c=(0,n.default)(l,2),u=c[0],f=c[1];s.length&&s.notSplit?s.forEach((function(e){t[e]=a(o,f)})):1===s.length?t[s[0]]=a(u[0],f):2===s.length?s.forEach((function(e,r){var n;t[e]=a(null!==(n=u[r])&&void 0!==n?n:u[0],f)})):4===s.length?s.forEach((function(e,r){var n,o;t[e]=a(null!==(n=null!==(o=u[r])&&void 0!==o?o:u[r-2])&&void 0!==n?n:u[0],f)})):t[r]=o}})),t}}},21133:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3453),o=r(89379),i=r(17103),a=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;const s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.rootValue,r=void 0===t?16:t,s=e.precision,l=void 0===s?5:s,c=e.mediaQuery,u=void 0!==c&&c,f=function(e,t){if(!t)return e;var n=parseFloat(t);if(n<=1)return e;var o=function(e,t){var r=Math.pow(10,t+1),n=Math.floor(e*r);return 10*Math.round(n/10)/r}(n/r,l);return"".concat(o,"rem")};return{visit:function(e){var t=(0,o.default)({},e);return Object.entries(e).forEach((function(e){var r=(0,n.default)(e,2),o=r[0],s=r[1];if("string"==typeof s&&s.includes("px")){var l=s.replace(a,f);t[o]=l}i.default[o]||"number"!=typeof s||0===s||(t[o]="".concat(s,"px").replace(a,f));var c=o.trim();if(c.startsWith("@")&&c.includes("px")&&u){var d=o.replace(a,f);t[d]=t[o],delete t[o]}})),t}}}},13167:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ATTR_CACHE_MAP:()=>s,CSS_FILE_STYLE:()=>l,existPath:()=>p,getStyleAndHash:()=>h,prepare:()=>d,reset:()=>f,serialize:()=>c});var n,o=r(3453),i=r(20998),a=r(34532),s="data-ant-cssinjs-cache-path",l="_FILE_STYLE__";function c(e){return Object.keys(e).map((function(t){var r=e[t];return"".concat(t,":").concat(r)})).join(";")}var u=!0;function f(e){n=e,u=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]}function d(){if(!n&&(n={},(0,i.default)())){var e=document.createElement("div");e.className=s,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),r=(0,o.default)(t,2),i=r[0],a=r[1];n[i]=a}));var r,a=document.querySelector("style[".concat(s,"]"));if(a)u=!1,null===(r=a.parentNode)||void 0===r||r.removeChild(a);document.body.removeChild(e)}}function p(e){return d(),!!n[e]}function h(e){var t=n[e],r=null;if(t&&(0,i.default)())if(u)r=l;else{var o=document.querySelector("style[".concat(a.ATTR_MARK,'="').concat(n[e],'"]'));o?r=o.innerHTML:delete n[e]}return[r,t]}},66040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{serializeCSSVar:()=>i,token2CSSVar:()=>o,transformToken:()=>a});var n=r(3453),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},i=function(e,t,r){return Object.keys(e).length?".".concat(t).concat(null!=r&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,n.default)(e,2),r=t[0],o=t[1];return"".concat(r,":").concat(o,";")})).join(""),"}"):""},a=function(e,t,r){var a={},s={};return Object.entries(e).forEach((function(e){var t,i,l=(0,n.default)(e,2),c=l[0],u=l[1];if(null!=r&&null!==(t=r.preserve)&&void 0!==t&&t[c])s[c]=u;else if(!("string"!=typeof u&&"number"!=typeof u||null!=r&&null!==(i=r.ignore)&&void 0!==i&&i[c])){var f,d=o(c,null==r?void 0:r.prefix);a[d]="number"!=typeof u||null!=r&&null!==(f=r.unitless)&&void 0!==f&&f[c]?String(u):"".concat(u,"px"),s[c]="var(".concat(d,")")}})),[s,i(a,t,{scope:null==r?void 0:r.scope})]}},8259:(e,t,r)=>{"use strict";r.r(t),r.d(t,{flattenToken:()=>m,isClientSide:()=>T,memoResult:()=>p,supportLayer:()=>w,supportLogicProps:()=>P,supportWhere:()=>E,toStyleStr:()=>C,token2key:()=>g,unit:()=>j});var n=r(64467),o=r(89379),i=r(82284),a=r(76795),s=r(20998),l=r(85089),c=r(34532),u=r(23236),f=new WeakMap,d={};function p(e,t){for(var r=f,n=0;n3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var s=(0,o.default)((0,o.default)({},a),{},(i={},(0,n.default)(i,c.ATTR_TOKEN,t),(0,n.default)(i,c.ATTR_MARK,r),i)),l=Object.keys(s).map((function(e){var t=s[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}},78250:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FastColor:()=>l});var n=r(64467);const o=Math.round;function i(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map((e=>parseFloat(e)));for(let e=0;e<3;e+=1)n[e]=t(n[e]||0,r[e]||"",e);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const a=(e,t,r)=>0===r?e:e/100;function s(e,t){const r=t||255;return e>r?r:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,n.default)(this,"isValid",!0),(0,n.default)(this,"r",0),(0,n.default)(this,"g",0),(0,n.default)(this,"b",0),(0,n.default)(this,"a",1),(0,n.default)(this,"_h",void 0),(0,n.default)(this,"_s",void 0),(0,n.default)(this,"_l",void 0),(0,n.default)(this,"_v",void 0),(0,n.default)(this,"_max",void 0),(0,n.default)(this,"_min",void 0),(0,n.default)(this,"_brightness",void 0),e)if("string"==typeof e){const r=e.trim();function o(e){return r.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):o("rgb")?this.fromRgbString(r):o("hsl")?this.fromHslString(r):(o("hsv")||o("hsb"))&&this.fromHsvString(r)}else if(e instanceof l)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:o(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g1&&(n=1),this._c({h:t,s:r,l:n,a:this.a})}mix(e,t=50){const r=this._c(e),n=t/100,i=e=>(r[e]-this[e])*n+this[e],a={r:o(i("r")),g:o(i("g")),b:o(i("b")),a:o(100*i("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),r=this.a+t.a*(1-this.a),n=e=>o((this[e]*this.a+t[e]*t.a*(1-this.a))/r);return this._c({r:n("r"),g:n("g"),b:n("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const r=(this.g||0).toString(16);e+=2===r.length?r:"0"+r;const n=(this.b||0).toString(16);if(e+=2===n.length?n:"0"+n,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=o(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=o(100*this.getSaturation()),r=o(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${r}%,${this.a})`:`hsl(${e},${t}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,r){const n=this.clone();return n[e]=s(t,r),n}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function r(e,r){return parseInt(t[e]+t[r||e],16)}t.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=t[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=t[6]?r(6,7)/255:1)}fromHsl({h:e,s:t,l:r,a:n}){if(this._h=e%360,this._s=t,this._l=r,this.a="number"==typeof n?n:1,t<=0){const e=o(255*r);this.r=e,this.g=e,this.b=e}let i=0,a=0,s=0;const l=e/60,c=(1-Math.abs(2*r-1))*t,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(i=c,a=u):l>=1&&l<2?(i=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(i=u,s=c):l>=5&&l<6&&(i=c,s=u);const f=r-c/2;this.r=o(255*(i+f)),this.g=o(255*(a+f)),this.b=o(255*(s+f))}fromHsv({h:e,s:t,v:r,a:n}){this._h=e%360,this._s=t,this._v=r,this.a="number"==typeof n?n:1;const i=o(255*r);if(this.r=i,this.g=i,this.b=i,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,c=o(r*(1-t)*255),u=o(r*(1-t*l)*255),f=o(r*(1-t*(1-l))*255);switch(s){case 0:this.g=f,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=f;break;case 3:this.r=c,this.g=u;break;case 4:this.r=f,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){const t=i(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=i(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=i(e,((e,t)=>t.includes("%")?o(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},31619:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FastColor:()=>n.FastColor});var n=r(78250);r(4962)},4962:(e,t,r)=>{"use strict";r.r(t)},7653:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"}},26211:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"}},62257:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},50607:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"}},12226:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(58168),o=r(3453),i=r(64467),a=r(80045),s=r(49244),l=r(46942),c=r.n(l),u=r(87463),f=r(61053),d=r(96020),p=r(42225),h=r(42860),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,p.setTwoToneColor)(u.blue.primary);var g=s.forwardRef((function(e,t){var r=e.className,l=e.icon,u=e.spin,p=e.rotate,g=e.tabIndex,y=e.onClick,v=e.twoToneColor,b=(0,a.default)(e,m),O=s.useContext(f.default),w=O.prefixCls,S=void 0===w?"anticon":w,E=O.rootClassName,x=c()(E,S,(0,i.default)((0,i.default)({},"".concat(S,"-").concat(l.name),!!l.name),"".concat(S,"-spin"),!!u||"loading"===l.name),r),P=g;void 0===P&&y&&(P=-1);var T=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,j=(0,h.normalizeTwoToneColors)(v),C=(0,o.default)(j,2),k=C[0],_=C[1];return s.createElement("span",(0,n.default)({role:"img","aria-label":l.name},b,{ref:t,tabIndex:P,onClick:y,className:x}),s.createElement(d.default,{icon:l,primaryColor:k,secondaryColor:_,style:T}))}));g.displayName="AntdIcon",g.getTwoToneColor=p.getTwoToneColor,g.setTwoToneColor=p.setTwoToneColor;const y=g},61053:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(49244).createContext)({})},96020:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(80045),o=r(89379),i=r(49244),a=r(42860),s=["icon","className","onClick","style","primaryColor","secondaryColor"],l={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var c=function(e){var t=e.icon,r=e.className,c=e.onClick,u=e.style,f=e.primaryColor,d=e.secondaryColor,p=(0,n.default)(e,s),h=i.useRef(),m=l;if(f&&(m={primaryColor:f,secondaryColor:d||(0,a.getSecondaryColor)(f)}),(0,a.useInsertStyles)(h),(0,a.warning)((0,a.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,a.isIconDefinition)(t))return null;var g=t;return g&&"function"==typeof g.icon&&(g=(0,o.default)((0,o.default)({},g),{},{icon:g.icon(m.primaryColor,m.secondaryColor)})),(0,a.generate)(g.icon,"svg-".concat(g.name),(0,o.default)((0,o.default)({className:r,onClick:c,style:u,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},p),{},{ref:h}))};c.displayName="IconReact",c.getTwoToneColors=function(){return(0,o.default)({},l)},c.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;l.primaryColor=t,l.secondaryColor=r||(0,a.getSecondaryColor)(t),l.calculated=!!r};const u=c},42225:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getTwoToneColor:()=>s,setTwoToneColor:()=>a});var n=r(3453),o=r(96020),i=r(42860);function a(e){var t=(0,i.normalizeTwoToneColors)(e),r=(0,n.default)(t,2),a=r[0],s=r[1];return o.default.setTwoToneColors({primaryColor:a,secondaryColor:s})}function s(){var e=o.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}},4732:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(58168),o=r(49244),i=r(7653),a=r(12226),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},36962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(58168),o=r(49244),i=r(26211),a=r(12226),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},14588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(58168),o=r(49244),i=r(62257),a=r(12226),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},20736:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(58168),o=r(49244),i=r(50607),a=r(12226),s=function(e,t){return o.createElement(a.default,(0,n.default)({},e,{ref:t,icon:i.default}))};const l=o.forwardRef(s)},42860:(e,t,r)=>{"use strict";r.r(t),r.d(t,{generate:()=>h,getSecondaryColor:()=>m,iconStyles:()=>v,isIconDefinition:()=>d,normalizeAttrs:()=>p,normalizeTwoToneColors:()=>g,svgBaseProps:()=>y,useInsertStyles:()=>b,warning:()=>f});var n=r(89379),o=r(82284),i=r(87463),a=r(85089),s=r(72633),l=r(68210),c=r(49244),u=r(61053);function f(e,t){(0,l.default)(e,"[@ant-design/icons] ".concat(t))}function d(e){return"object"===(0,o.default)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.default)(e.icon)||"function"==typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,r){var n,o=e[r];if("class"===r)t.className=o,delete t.class;else delete t[r],t[(n=r,n.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function h(e,t,r){return r?c.createElement(e.tag,(0,n.default)((0,n.default)({key:t},p(e.attrs)),r),(e.children||[]).map((function(r,n){return h(r,"".concat(t,"-").concat(e.tag,"-").concat(n))}))):c.createElement(e.tag,(0,n.default)({key:t},p(e.attrs)),(e.children||[]).map((function(r,n){return h(r,"".concat(t,"-").concat(e.tag,"-").concat(n))})))}function m(e){return(0,i.generate)(e)[0]}function g(e){return e?Array.isArray(e)?e:[e]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},v="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",b=function(e){var t=(0,c.useContext)(u.default),r=t.csp,n=t.prefixCls,o=v;n&&(o=o.replace(/anticon/g,n)),(0,c.useEffect)((function(){var t=e.current,n=(0,s.getShadowRoot)(t);(0,a.updateCSS)(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[])}},62456:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convertDecimalToHex:()=>p,convertHexToDecimal:()=>h,hslToRgb:()=>s,hsvToRgb:()=>c,numberInputToObject:()=>g,parseIntFromHex:()=>m,rgbToHex:()=>u,rgbToHsl:()=>i,rgbToHsv:()=>l,rgbToRgb:()=>o,rgbaToArgbHex:()=>d,rgbaToHex:()=>f});var n=r(89244);function o(e,t,r){return{r:255*(0,n.bound01)(e,255),g:255*(0,n.bound01)(t,255),b:255*(0,n.bound01)(r,255)}}function i(e,t,r){e=(0,n.bound01)(e,255),t=(0,n.bound01)(t,255),r=(0,n.bound01)(r,255);var o=Math.max(e,t,r),i=Math.min(e,t,r),a=0,s=0,l=(o+i)/2;if(o===i)s=0,a=0;else{var c=o-i;switch(s=l>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-r)/c+(t1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function s(e,t,r){var o,i,s;if(e=(0,n.bound01)(e,360),t=(0,n.bound01)(t,100),r=(0,n.bound01)(r,100),0===t)i=r,s=r,o=r;else{var l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;o=a(c,l,e+1/3),i=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*o,g:255*i,b:255*s}}function l(e,t,r){e=(0,n.bound01)(e,255),t=(0,n.bound01)(t,255),r=(0,n.bound01)(r,255);var o=Math.max(e,t,r),i=Math.min(e,t,r),a=0,s=o,l=o-i,c=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-r)/l+(t>16,g:(65280&e)>>8,b:255&e}}},42434:(e,t,r)=>{"use strict";r.r(t),r.d(t,{names:()=>n});var n={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76250:(e,t,r)=>{"use strict";r.r(t),r.d(t,{inputToRGB:()=>a,isValidCSSUnit:()=>d,stringInputToObject:()=>f});var n=r(62456),o=r(42434),i=r(89244);function a(e){var t={r:0,g:0,b:0},r=1,o=null,a=null,s=null,l=!1,c=!1;return"string"==typeof e&&(e=f(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,n.rgbToRgb)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.convertToPercentage)(e.s),a=(0,i.convertToPercentage)(e.v),t=(0,n.hsvToRgb)(e.h,o,a),l=!0,c="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.convertToPercentage)(e.s),s=(0,i.convertToPercentage)(e.l),t=(0,n.hslToRgb)(e.h,o,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=(0,i.boundAlpha)(r),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.names[e])e=o.names[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=u.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=u.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=u.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=u.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=u.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=u.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=u.hex8.exec(e))?{r:(0,n.parseIntFromHex)(r[1]),g:(0,n.parseIntFromHex)(r[2]),b:(0,n.parseIntFromHex)(r[3]),a:(0,n.convertHexToDecimal)(r[4]),format:t?"name":"hex8"}:(r=u.hex6.exec(e))?{r:(0,n.parseIntFromHex)(r[1]),g:(0,n.parseIntFromHex)(r[2]),b:(0,n.parseIntFromHex)(r[3]),format:t?"name":"hex"}:(r=u.hex4.exec(e))?{r:(0,n.parseIntFromHex)(r[1]+r[1]),g:(0,n.parseIntFromHex)(r[2]+r[2]),b:(0,n.parseIntFromHex)(r[3]+r[3]),a:(0,n.convertHexToDecimal)(r[4]+r[4]),format:t?"name":"hex8"}:!!(r=u.hex3.exec(e))&&{r:(0,n.parseIntFromHex)(r[1]+r[1]),g:(0,n.parseIntFromHex)(r[2]+r[2]),b:(0,n.parseIntFromHex)(r[3]+r[3]),format:t?"name":"hex"}}function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},53678:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fromRatio:()=>i,legacyRandom:()=>a});var n=r(24978),o=r(89244);function i(e,t){var r={r:(0,o.convertToPercentage)(e.r),g:(0,o.convertToPercentage)(e.g),b:(0,o.convertToPercentage)(e.b)};return void 0!==e.a&&(r.a=Number(e.a)),new n.TinyColor(r,t)}function a(){return new n.TinyColor({r:Math.random(),g:Math.random(),b:Math.random()})}},24978:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TinyColor:()=>s,tinycolor:()=>l});var n=r(62456),o=r(42434),i=r(76250),a=r(89244),s=function(){function e(t,r){var o;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=(0,n.numberInputToObject)(t)),this.originalInput=t;var a=(0,i.inputToRGB)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=r.format)&&void 0!==o?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,n=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.boundAlpha)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,n.rgbToHsv)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,n.rgbToHsv)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,n.rgbToHsl)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,n.rgbToHsl)(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,n.rgbToHex)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,n.rgbaToHex)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.bound01)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.bound01)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,n.rgbToHex)(this.r,this.g,this.b,!1),t=0,r=Object.entries(o.names);t=0;return t||!n||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=(0,a.clamp01)(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=(0,a.clamp01)(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=(0,a.clamp01)(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=(0,a.clamp01)(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var n=this.toRgb(),o=new e(t).toRgb(),i=r/100;return new e({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var n=this.toHsl(),o=360/r,i=[this];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(new e(n));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(new e({h:n,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),o=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/o,g:(r.g*r.a+n.g*n.a*(1-r.a))/o,b:(r.b*r.a+n.b*n.a*(1-r.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,o=[this],i=360/t,a=1;a{"use strict";r.r(t)},64674:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TinyColor:()=>n.TinyColor,bounds:()=>c.bounds,convertDecimalToHex:()=>u.convertDecimalToHex,convertHexToDecimal:()=>u.convertHexToDecimal,default:()=>f,fromRatio:()=>s.fromRatio,hslToRgb:()=>u.hslToRgb,hsvToRgb:()=>u.hsvToRgb,inputToRGB:()=>l.inputToRGB,isReadable:()=>i.isReadable,isValidCSSUnit:()=>l.isValidCSSUnit,legacyRandom:()=>s.legacyRandom,mostReadable:()=>i.mostReadable,names:()=>o.names,numberInputToObject:()=>u.numberInputToObject,parseIntFromHex:()=>u.parseIntFromHex,random:()=>c.random,readability:()=>i.readability,rgbToHex:()=>u.rgbToHex,rgbToHsl:()=>u.rgbToHsl,rgbToHsv:()=>u.rgbToHsv,rgbToRgb:()=>u.rgbToRgb,rgbaToArgbHex:()=>u.rgbaToArgbHex,rgbaToHex:()=>u.rgbaToHex,stringInputToObject:()=>l.stringInputToObject,tinycolor:()=>n.tinycolor,toMsFilter:()=>a.toMsFilter});var n=r(24978),o=r(42434),i=r(72488),a=r(85853),s=r(53678),l=r(76250),c=r(2219),u=(r(52800),r(62456));const f=n.tinycolor},2219:(e,t,r)=>{"use strict";r.r(t),r.d(t,{bounds:()=>l,random:()=>o});var n=r(24978);function o(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(o(e));return e.count=t,r}var c=function(e,t){var r=a(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"==typeof e){var r=l.find((function(t){return t.name===e}));if(r){var o=s(r);if(o.hueRange)return o.hueRange}var i=new n.TinyColor(e);if(i.isValid){var a=i.toHsv().h;return[a,a]}}return[0,360]}(e),t);r<0&&(r=360+r);return r}(e.hue,e.seed),u=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return a([0,100],t.seed);var r=i(e).saturationRange,n=r[0],o=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=o-10;break;case"light":o=55}return a([n,o],t.seed)}(c,e),f=function(e,t,r){var n=function(e,t){for(var r=i(e).lowerBounds,n=0;n=o&&t<=s){var c=(l-a)/(s-o);return c*t+(a-c*o)}}return 0}(e,t),o=100;switch(r.luminosity){case"dark":o=n+20;break;case"light":n=(o+n)/2;break;case"random":n=0,o=100}return a([n,o],r.seed)}(c,u,e),d={h:c,s:u,v:f};return void 0!==e.alpha&&(d.a=e.alpha),new n.TinyColor(d)}function i(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=l;t=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function a(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,o=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+o*(r-n))}function s(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],o=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,o]}}var l=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}]},72488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isReadable:()=>i,mostReadable:()=>a,readability:()=>o});var n=r(24978);function o(e,t){var r=new n.TinyColor(e),o=new n.TinyColor(t);return(Math.max(r.getLuminance(),o.getLuminance())+.05)/(Math.min(r.getLuminance(),o.getLuminance())+.05)}function i(e,t,r){var n,i;void 0===r&&(r={level:"AA",size:"small"});var a=o(e,t);switch((null!==(n=r.level)&&void 0!==n?n:"AA")+(null!==(i=r.size)&&void 0!==i?i:"small")){case"AAsmall":case"AAAlarge":return a>=4.5;case"AAlarge":return a>=3;case"AAAsmall":return a>=7;default:return!1}}function a(e,t,r){void 0===r&&(r={includeFallbackColors:!1,level:"AA",size:"small"});for(var s=null,l=0,c=r.includeFallbackColors,u=r.level,f=r.size,d=0,p=t;dl&&(l=m,s=new n.TinyColor(h))}return i(e,s,{level:u,size:f})||!c?s:(r.includeFallbackColors=!1,a(e,["#fff","#000"],r))}},85853:(e,t,r)=>{"use strict";r.r(t),r.d(t,{toMsFilter:()=>i});var n=r(62456),o=r(24978);function i(e,t){var r=new o.TinyColor(e),i="#"+(0,n.rgbaToArgbHex)(r.r,r.g,r.b,r.a),a=i,s=r.gradientType?"GradientType = 1, ":"";if(t){var l=new o.TinyColor(t);a="#"+(0,n.rgbaToArgbHex)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(s,"startColorstr=").concat(i,",endColorstr=").concat(a,")")}},89244:(e,t,r)=>{"use strict";function n(e,t){i(e)&&(e="100%");var r=a(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function a(e){return"string"==typeof e&&-1!==e.indexOf("%")}function s(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}r.r(t),r.d(t,{bound01:()=>n,boundAlpha:()=>s,clamp01:()=>o,convertToPercentage:()=>l,isOnePointZero:()=>i,isPercentage:()=>a,pad2:()=>c})},19251:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HiddenText:()=>i,LiveRegion:()=>a,useAnnouncement:()=>s});var n=r(49244);const o={display:"none"};function i(e){let{id:t,value:r}=e;return n.createElement("div",{id:t,style:o},r)}function a(e){let{id:t,announcement:r,ariaLiveType:o="assertive"}=e;return n.createElement("div",{id:t,style:{position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},r)}function s(){const[e,t]=(0,n.useState)("");return{announce:(0,n.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}},15871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AutoScrollActivator:()=>ve,DndContext:()=>qe,DragOverlay:()=>ht,KeyboardCode:()=>re,KeyboardSensor:()=>se,MeasuringFrequency:()=>Ee,MeasuringStrategy:()=>Se,MouseSensor:()=>me,PointerSensor:()=>de,TouchSensor:()=>ye,TraversalOrder:()=>be,applyModifiers:()=>Ge,closestCenter:()=>x,closestCorners:()=>P,defaultAnnouncements:()=>u,defaultCoordinates:()=>g,defaultDropAnimation:()=>ut,defaultDropAnimationSideEffects:()=>ct,defaultScreenReaderInstructions:()=>c,getClientRect:()=>M,getFirstCollision:()=>S,getScrollableAncestors:()=>N,pointerWithin:()=>k,rectIntersection:()=>j,useDndContext:()=>Je,useDndMonitor:()=>l,useDraggable:()=>Ke,useDroppable:()=>rt,useSensor:()=>h,useSensors:()=>m});var n=r(49244),o=r(2787),i=r(74979),a=r(19251);const s=(0,n.createContext)(null);function l(e){const t=(0,n.useContext)(s);(0,n.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)}),[e,t])}const c={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},u={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function f(e){let{announcements:t=u,container:r,hiddenTextDescribedById:s,screenReaderInstructions:f=c}=e;const{announce:d,announcement:p}=(0,a.useAnnouncement)(),h=(0,i.useUniqueId)("DndLiveRegion"),[m,g]=(0,n.useState)(!1);if((0,n.useEffect)((()=>{g(!0)}),[]),l((0,n.useMemo)((()=>({onDragStart(e){let{active:r}=e;d(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:n}=e;t.onDragMove&&d(t.onDragMove({active:r,over:n}))},onDragOver(e){let{active:r,over:n}=e;d(t.onDragOver({active:r,over:n}))},onDragEnd(e){let{active:r,over:n}=e;d(t.onDragEnd({active:r,over:n}))},onDragCancel(e){let{active:r,over:n}=e;d(t.onDragCancel({active:r,over:n}))}})),[d,t])),!m)return null;const y=n.createElement(n.Fragment,null,n.createElement(a.HiddenText,{id:s,value:f.draggable}),n.createElement(a.LiveRegion,{id:h,announcement:p}));return r?(0,o.createPortal)(y,r):y}var d;function p(){}function h(e,t){return(0,n.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function m(){for(var e=arguments.length,t=new Array(e),r=0;r[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(d||(d={}));const g=Object.freeze({x:0,y:0});function y(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function v(e,t){const r=(0,i.getEventCoordinates)(e);if(!r)return"0 0";return(r.x-t.left)/t.width*100+"% "+(r.y-t.top)/t.height*100+"%"}function b(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function O(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function w(e){let{left:t,top:r,height:n,width:o}=e;return[{x:t,y:r},{x:t+o,y:r},{x:t,y:r+n},{x:t+o,y:r+n}]}function S(e,t){if(!e||0===e.length)return null;const[r]=e;return t?r[t]:r}function E(e,t,r){return void 0===t&&(t=e.left),void 0===r&&(r=e.top),{x:t+.5*e.width,y:r+.5*e.height}}const x=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=E(t,t.left,t.top),i=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=y(E(n),o);i.push({id:t,data:{droppableContainer:e,value:r}})}}return i.sort(b)},P=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=w(t),i=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=w(n),a=o.reduce(((e,t,n)=>e+y(r[n],t)),0),s=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:s}})}}return i.sort(b)};function T(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-n,s=i-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const o=[];for(const e of n){const{id:n}=e,i=r.get(n);if(i){const r=T(i,t);r>0&&o.push({id:n,data:{droppableContainer:e,value:r}})}}return o.sort(O)};function C(e,t){const{top:r,left:n,bottom:o,right:i}=t;return r<=e.y&&e.y<=o&&n<=e.x&&e.x<=i}const k=e=>{let{droppableContainers:t,droppableRects:r,pointerCoordinates:n}=e;if(!n)return[];const o=[];for(const e of t){const{id:t}=e,i=r.get(t);if(i&&C(n,i)){const r=w(i).reduce(((e,t)=>e+y(n,t)),0),a=Number((r/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(b)};function _(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:g}function A(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const D=A(1);function R(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const L={ignoreTransform:!1};function M(e,t){void 0===t&&(t=L);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:n}=(0,i.getWindow)(e).getComputedStyle(e);t&&(r=function(e,t,r){const n=R(t);if(!n)return e;const{scaleX:o,scaleY:i,x:a,y:s}=n,l=e.left-a-(1-o)*parseFloat(r),c=e.top-s-(1-i)*parseFloat(r.slice(r.indexOf(" ")+1)),u=o?e.width/o:e.width,f=i?e.height/i:e.height;return{width:u,height:f,top:c,right:l+u,bottom:c+f,left:l}}(r,t,n))}const{top:n,left:o,width:a,height:s,bottom:l,right:c}=r;return{top:n,left:o,width:a,height:s,bottom:l,right:c}}function I(e){return M(e,{ignoreTransform:!0})}function N(e,t){const r=[];return e?function n(o){if(null!=t&&r.length>=t)return r;if(!o)return r;if((0,i.isDocument)(o)&&null!=o.scrollingElement&&!r.includes(o.scrollingElement))return r.push(o.scrollingElement),r;if(!(0,i.isHTMLElement)(o)||(0,i.isSVGElement)(o))return r;if(r.includes(o))return r;const a=(0,i.getWindow)(e).getComputedStyle(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const n=t[e];return"string"==typeof n&&r.test(n)}))}(o,a)&&r.push(o),function(e,t){return void 0===t&&(t=(0,i.getWindow)(e).getComputedStyle(e)),"fixed"===t.position}(o,a)?r:n(o.parentNode)}(e):r}function $(e){const[t]=N(e,1);return null!=t?t:null}function B(e){return i.canUseDOM&&e?(0,i.isWindow)(e)?e:(0,i.isNode)(e)?(0,i.isDocument)(e)||e===(0,i.getOwnerDocument)(e).scrollingElement?window:(0,i.isHTMLElement)(e)?e:null:null:null}function F(e){return(0,i.isWindow)(e)?e.scrollX:e.scrollLeft}function Q(e){return(0,i.isWindow)(e)?e.scrollY:e.scrollTop}function V(e){return{x:F(e),y:Q(e)}}var z;function U(e){return!(!i.canUseDOM||!e)&&e===document.scrollingElement}function G(e){const t={x:0,y:0},r=U(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(z||(z={}));const W={x:.2,y:.2};function X(e,t,r,n,o){let{top:i,left:a,right:s,bottom:l}=r;void 0===n&&(n=10),void 0===o&&(o=W);const{isTop:c,isBottom:u,isLeft:f,isRight:d}=G(e),p={x:0,y:0},h={x:0,y:0},m=t.height*o.y,g=t.width*o.x;return!c&&i<=t.top+m?(p.y=z.Backward,h.y=n*Math.abs((t.top+m-i)/m)):!u&&l>=t.bottom-m&&(p.y=z.Forward,h.y=n*Math.abs((t.bottom-m-l)/m)),!d&&s>=t.right-g?(p.x=z.Forward,h.x=n*Math.abs((t.right-g-s)/g)):!f&&a<=t.left+g&&(p.x=z.Backward,h.x=n*Math.abs((t.left+g-a)/g)),{direction:p,speed:h}}function q(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:n,bottom:o}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:o,width:e.clientWidth,height:e.clientHeight}}function H(e){return e.reduce(((e,t)=>(0,i.add)(e,V(t))),g)}function Z(e,t){if(void 0===t&&(t=M),!e)return;const{top:r,left:n,bottom:o,right:i}=t(e);$(e)&&(o<=0||i<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Y=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+F(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+Q(t)),0)}]];class K{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=N(t),n=H(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of Y)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(r),a=n[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class J{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var n;null==(n=this.target)||n.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function ee(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t&&n>t.y}var te,re;function ne(e){e.preventDefault()}function oe(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(te||(te={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(re||(re={}));const ie={start:[re.Space,re.Enter],cancel:[re.Esc],end:[re.Space,re.Enter]},ae=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case re.Right:return{...r,x:r.x+25};case re.Left:return{...r,x:r.x-25};case re.Down:return{...r,y:r.y+25};case re.Up:return{...r,y:r.y-25}}};class se{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new J((0,i.getOwnerDocument)(t)),this.windowListeners=new J((0,i.getWindow)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(te.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&Z(r),t(g)}handleKeyDown(e){if((0,i.isKeyboardEvent)(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:o=ie,coordinateGetter:a=ae,scrollBehavior:s="smooth"}=n,{code:l}=e;if(o.end.includes(l))return void this.handleEnd(e);if(o.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:c}=r.current,u=c?{x:c.left,y:c.top}:g;this.referenceCoordinates||(this.referenceCoordinates=u);const f=a(e,{active:t,context:r.current,currentCoordinates:u});if(f){const t=(0,i.subtract)(f,u),n={x:0,y:0},{scrollableAncestors:o}=r.current;for(const r of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:c,maxScroll:u,minScroll:d}=G(r),p=q(r),h={x:Math.min(o===re.Right?p.right-p.width/2:p.right,Math.max(o===re.Right?p.left:p.left+p.width/2,f.x)),y:Math.min(o===re.Down?p.bottom-p.height/2:p.bottom,Math.max(o===re.Down?p.top:p.top+p.height/2,f.y))},m=o===re.Right&&!a||o===re.Left&&!l,g=o===re.Down&&!c||o===re.Up&&!i;if(m&&h.x!==f.x){const e=r.scrollLeft+t.x,i=o===re.Right&&e<=u.x||o===re.Left&&e>=d.x;if(i&&!t.y)return void r.scrollTo({left:e,behavior:s});n.x=i?r.scrollLeft-e:o===re.Right?r.scrollLeft-u.x:r.scrollLeft-d.x,n.x&&r.scrollBy({left:-n.x,behavior:s});break}if(g&&h.y!==f.y){const e=r.scrollTop+t.y,i=o===re.Down&&e<=u.y||o===re.Up&&e>=d.y;if(i&&!t.x)return void r.scrollTo({top:e,behavior:s});n.y=i?r.scrollTop-e:o===re.Down?r.scrollTop-u.y:r.scrollTop-d.y,n.y&&r.scrollBy({top:-n.y,behavior:s});break}}this.handleMove(e,(0,i.add)((0,i.subtract)(f,this.referenceCoordinates),n))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function le(e){return Boolean(e&&"distance"in e)}function ce(e){return Boolean(e&&"delay"in e)}se.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=ie,onActivation:o}=t,{active:i}=r;const{code:a}=e.nativeEvent;if(n.start.includes(a)){const t=i.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==o||o({event:e.nativeEvent}),!0)}return!1}}];class ue{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=(0,i.getWindow)(e);return e instanceof t?e:(0,i.getOwnerDocument)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.getOwnerDocument)(a),this.documentListeners=new J(this.document),this.listeners=new J(r),this.windowListeners=new J((0,i.getWindow)(a)),this.initialCoordinates=null!=(n=(0,i.getEventCoordinates)(o))?n:g,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:r}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(te.Resize,this.handleCancel),this.windowListeners.add(te.DragStart,ne),this.windowListeners.add(te.VisibilityChange,this.handleCancel),this.windowListeners.add(te.ContextMenu,ne),this.documentListeners.add(te.Keydown,this.handleKeydown),t){if(null!=r&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ce(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay));if(le(t))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(te.Click,oe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(te.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:n,props:o}=this,{onMove:a,options:{activationConstraint:s}}=o;if(!n)return;const l=null!=(t=(0,i.getEventCoordinates)(e))?t:g,c=(0,i.subtract)(n,l);if(!r&&s){if(le(s)){if(null!=s.tolerance&&ee(c,s.tolerance))return this.handleCancel();if(ee(c,s.distance))return this.handleStart()}return ce(s)&&ee(c,s.tolerance)?this.handleCancel():void 0}e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===re.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const fe={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends ue{constructor(e){const{event:t}=e,r=(0,i.getOwnerDocument)(t.target);super(e,fe,r)}}de.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!(!r.isPrimary||0!==r.button)&&(null==n||n({event:r}),!0)}}];const pe={move:{name:"mousemove"},end:{name:"mouseup"}};var he;!function(e){e[e.RightClick=2]="RightClick"}(he||(he={}));class me extends ue{constructor(e){super(e,pe,(0,i.getOwnerDocument)(e.event.target))}}me.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==he.RightClick&&(null==n||n({event:r}),!0)}}];const ge={move:{name:"touchmove"},end:{name:"touchend"}};class ye extends ue{constructor(e){super(e,ge)}static setup(){return window.addEventListener(ge.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ge.move.name,e)};function e(){}}}var ve,be;function Oe(e){let{acceleration:t,activator:r=ve.Pointer,canScroll:o,draggingRect:a,enabled:s,interval:l=5,order:c=be.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:d,delta:p,threshold:h}=e;const m=function(e){let{delta:t,disabled:r}=e;const n=(0,i.usePrevious)(t);return(0,i.useLazyMemo)((e=>{if(r||!n||!e)return we;const o={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[z.Backward]:e.x[z.Backward]||-1===o.x,[z.Forward]:e.x[z.Forward]||1===o.x},y:{[z.Backward]:e.y[z.Backward]||-1===o.y,[z.Forward]:e.y[z.Forward]||1===o.y}}}),[r,t,n])}({delta:p,disabled:!s}),[g,y]=(0,i.useInterval)(),v=(0,n.useRef)({x:0,y:0}),b=(0,n.useRef)({x:0,y:0}),O=(0,n.useMemo)((()=>{switch(r){case ve.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ve.DraggableRect:return a}}),[r,a,u]),w=(0,n.useRef)(null),S=(0,n.useCallback)((()=>{const e=w.current;if(!e)return;const t=v.current.x*b.current.x,r=v.current.y*b.current.y;e.scrollBy(t,r)}),[]),E=(0,n.useMemo)((()=>c===be.TreeOrder?[...f].reverse():f),[c,f]);(0,n.useEffect)((()=>{if(s&&f.length&&O){for(const e of E){if(!1===(null==o?void 0:o(e)))continue;const r=f.indexOf(e),n=d[r];if(!n)continue;const{direction:i,speed:a}=X(e,n,O,t,h);for(const e of["x","y"])m[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return y(),w.current=e,g(S,l),v.current=a,void(b.current=i)}v.current={x:0,y:0},b.current={x:0,y:0},y()}else y()}),[t,S,o,y,s,l,JSON.stringify(O),JSON.stringify(m),g,f,E,d,JSON.stringify(h)])}ye.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:o}=r;return!(o.length>1)&&(null==n||n({event:r}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ve||(ve={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(be||(be={}));const we={x:{[z.Backward]:!1,[z.Forward]:!1},y:{[z.Backward]:!1,[z.Forward]:!1}};var Se,Ee;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(Se||(Se={})),function(e){e.Optimized="optimized"}(Ee||(Ee={}));const xe=new Map;function Pe(e,t){return(0,i.useLazyMemo)((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function Te(e){let{callback:t,disabled:r}=e;const o=(0,i.useEvent)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)}),[r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function je(e){return new K(M(e),e)}function Ce(e,t,r){void 0===t&&(t=je);const[o,a]=(0,n.useReducer)((function(n){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=n?n:r)?o:null;const i=t(e);if(JSON.stringify(n)===JSON.stringify(i))return n;return i}),null),s=function(e){let{callback:t,disabled:r}=e;const o=(0,i.useEvent)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)}),[o,r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const r of t){const{type:t,target:n}=r;if("childList"===t&&n instanceof HTMLElement&&n.contains(e)){a();break}}}}),l=Te({callback:a});return(0,i.useIsomorphicLayoutEffect)((()=>{a(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const ke=[];function _e(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(null);return(0,n.useEffect)((()=>{r.current=null}),t),(0,n.useEffect)((()=>{const t=e!==g;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?(0,i.subtract)(e,r.current):g}function Ae(e){return(0,n.useMemo)((()=>e?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(e):null),[e])}const De=[];function Re(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.isHTMLElement)(t)?t:e}const Le=[{sensor:de,options:{}},{sensor:se,options:{}}],Me={current:{}},Ie={draggable:{measure:I},droppable:{measure:I,strategy:Se.WhileDragging,frequency:Ee.Optimized},dragOverlay:{measure:M}};class Ne extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const $e={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ne,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},Be={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Fe=(0,n.createContext)(Be),Qe=(0,n.createContext)($e);function Ve(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ne}}}function ze(e,t){switch(t.type){case d.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case d.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case d.DragEnd:case d.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case d.RegisterDroppable:{const{element:r}=t,{id:n}=r,o=new Ne(e.droppable.containers);return o.set(n,r),{...e,droppable:{...e.droppable,containers:o}}}case d.SetDroppableDisabled:{const{id:r,key:n,disabled:o}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const a=new Ne(e.droppable.containers);return a.set(r,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case d.UnregisterDroppable:{const{id:r,key:n}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const i=new Ne(e.droppable.containers);return i.delete(r),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ue(e){let{disabled:t}=e;const{active:r,activatorEvent:o,draggableNodes:a}=(0,n.useContext)(Fe),s=(0,i.usePrevious)(o),l=(0,i.usePrevious)(null==r?void 0:r.id);return(0,n.useEffect)((()=>{if(!t&&!o&&s&&null!=l){if(!(0,i.isKeyboardEvent)(s))return;if(document.activeElement===s.target)return;const e=a.get(l);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=(0,i.findFirstFocusableNode)(e);if(t){t.focus();break}}}))}}),[o,t,a,l,s]),null}function Ge(e,t){let{transform:r,...n}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...n})),r):r}const We=(0,n.createContext)({...g,scaleX:1,scaleY:1});var Xe;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Xe||(Xe={}));const qe=(0,n.memo)((function(e){var t,r,a,l;let{id:c,accessibility:u,autoScroll:p=!0,children:h,sensors:m=Le,collisionDetection:y=j,measuring:v,modifiers:b,...O}=e;const w=(0,n.useReducer)(ze,void 0,Ve),[E,x]=w,[P,T]=function(){const[e]=(0,n.useState)((()=>new Set)),t=(0,n.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,n.useCallback)((t=>{let{type:r,event:n}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[e]),t]}(),[C,k]=(0,n.useState)(Xe.Uninitialized),A=C===Xe.Initialized,{draggable:{active:R,nodes:L,translate:I},droppable:{containers:F}}=E,Q=R?L.get(R):null,z=(0,n.useRef)({initial:null,translated:null}),G=(0,n.useMemo)((()=>{var e;return null!=R?{id:R,data:null!=(e=null==Q?void 0:Q.data)?e:Me,rect:z}:null}),[R,Q]),W=(0,n.useRef)(null),[X,q]=(0,n.useState)(null),[Z,Y]=(0,n.useState)(null),J=(0,i.useLatestValue)(O,Object.values(O)),ee=(0,i.useUniqueId)("DndDescribedBy",c),te=(0,n.useMemo)((()=>F.getEnabled()),[F]),re=(ne=v,(0,n.useMemo)((()=>({draggable:{...Ie.draggable,...null==ne?void 0:ne.draggable},droppable:{...Ie.droppable,...null==ne?void 0:ne.droppable},dragOverlay:{...Ie.dragOverlay,...null==ne?void 0:ne.dragOverlay}})),[null==ne?void 0:ne.draggable,null==ne?void 0:ne.droppable,null==ne?void 0:ne.dragOverlay]));var ne;const{droppableRects:oe,measureDroppableContainers:ie,measuringScheduled:ae}=function(e,t){let{dragging:r,dependencies:o,config:a}=t;const[s,l]=(0,n.useState)(null),{frequency:c,measure:u,strategy:f}=a,d=(0,n.useRef)(e),p=function(){switch(f){case Se.Always:return!1;case Se.BeforeDragging:return r;default:return!r}}(),h=(0,i.useLatestValue)(p),m=(0,n.useCallback)((function(e){void 0===e&&(e=[]),h.current||l((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[h]),g=(0,n.useRef)(null),y=(0,i.useLazyMemo)((t=>{if(p&&!r)return xe;if(!t||t===xe||d.current!==e||null!=s){const t=new Map;for(let r of e){if(!r)continue;if(s&&s.length>0&&!s.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,n=e?new K(u(e),e):null;r.rect.current=n,n&&t.set(r.id,n)}return t}return t}),[e,s,r,p,u]);return(0,n.useEffect)((()=>{d.current=e}),[e]),(0,n.useEffect)((()=>{p||m()}),[r,p]),(0,n.useEffect)((()=>{s&&s.length>0&&l(null)}),[JSON.stringify(s)]),(0,n.useEffect)((()=>{p||"number"!=typeof c||null!==g.current||(g.current=setTimeout((()=>{m(),g.current=null}),c))}),[c,p,m,...o]),{droppableRects:y,measureDroppableContainers:m,measuringScheduled:null!=s}}(te,{dragging:A,dependencies:[I.x,I.y],config:re.droppable}),se=function(e,t){const r=null!==t?e.get(t):void 0,n=r?r.node.current:null;return(0,i.useLazyMemo)((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(L,R),le=(0,n.useMemo)((()=>Z?(0,i.getEventCoordinates)(Z):null),[Z]),ce=function(){const e=!1===(null==X?void 0:X.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,r=A&&!e&&!t;if("object"==typeof p)return{...p,enabled:r};return{enabled:r}}(),ue=function(e,t){return Pe(e,t)}(se,re.draggable.measure);!function(e){let{activeNode:t,measure:r,initialRect:o,config:a=!0}=e;const s=(0,n.useRef)(!1),{x:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.useIsomorphicLayoutEffect)((()=>{if(!l&&!c||!t)return void(s.current=!1);if(s.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=_(r(e),o);if(l||(n.x=0),c||(n.y=0),s.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=$(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,l,c,o,r])}({activeNode:R?L.get(R):null,config:ce.layoutShiftCompensation,initialRect:ue,measure:re.draggable.measure});const fe=Ce(se,re.draggable.measure,ue),de=Ce(se?se.parentElement:null),pe=(0,n.useRef)({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:oe,draggableNodes:L,draggingNode:null,draggingNodeRect:null,droppableContainers:F,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=F.getNodeFor(null==(t=pe.current.over)?void 0:t.id),me=function(e){let{measure:t}=e;const[r,o]=(0,n.useState)(null),a=Te({callback:(0,n.useCallback)((e=>{for(const{target:r}of e)if((0,i.isHTMLElement)(r)){o((e=>{const n=t(r);return e?{...e,width:n.width,height:n.height}:n}));break}}),[t])}),s=(0,n.useCallback)((e=>{const r=Re(e);null==a||a.disconnect(),r&&(null==a||a.observe(r)),o(r?t(r):null)}),[t,a]),[l,c]=(0,i.useNodeRef)(s);return(0,n.useMemo)((()=>({nodeRef:l,rect:r,setRef:c})),[r,l,c])}({measure:re.dragOverlay.measure}),ge=null!=(r=me.nodeRef.current)?r:se,ye=A?null!=(a=me.rect)?a:fe:null,ve=Boolean(me.nodeRef.current&&me.rect),be=_(we=ve?null:fe,Pe(we));var we;const Ee=Ae(ge?(0,i.getWindow)(ge):null),je=function(e){const t=(0,n.useRef)(e),r=(0,i.useLazyMemo)((r=>e?r&&r!==ke&&e&&t.current&&e.parentNode===t.current.parentNode?r:N(e):ke),[e]);return(0,n.useEffect)((()=>{t.current=e}),[e]),r}(A?null!=he?he:se:null),Ne=function(e,t){void 0===t&&(t=M);const[r]=e,o=Ae(r?(0,i.getWindow)(r):null),[a,s]=(0,n.useReducer)((function(){return e.length?e.map((e=>U(e)?o:new K(t(e),e))):De}),De),l=Te({callback:s});return e.length>0&&a===De&&s(),(0,i.useIsomorphicLayoutEffect)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),a}(je),$e=Ge(b,{transform:{x:I.x-be.x,y:I.y-be.y,scaleX:1,scaleY:1},activatorEvent:Z,active:G,activeNodeRect:fe,containerNodeRect:de,draggingNodeRect:ye,over:pe.current.over,overlayNodeRect:me.rect,scrollableAncestors:je,scrollableAncestorRects:Ne,windowRect:Ee}),Be=le?(0,i.add)(le,I):null,qe=function(e){const[t,r]=(0,n.useState)(null),o=(0,n.useRef)(e),a=(0,n.useCallback)((e=>{const t=B(e.target);t&&r((e=>e?(e.set(t,V(t)),new Map(e)):null))}),[]);return(0,n.useEffect)((()=>{const t=o.current;if(e!==t){n(t);const i=e.map((e=>{const t=B(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,V(t)]):null})).filter((e=>null!=e));r(i.length?new Map(i):null),o.current=e}return()=>{n(e),n(t)};function n(e){e.forEach((e=>{const t=B(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,n.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,i.add)(e,t)),g):H(e):g),[e,t])}(je),He=_e(qe),Ze=_e(qe,[fe]),Ye=(0,i.add)($e,He),Ke=ye?D(ye,$e):null,Je=G&&Ke?y({active:G,collisionRect:Ke,droppableRects:oe,droppableContainers:te,pointerCoordinates:Be}):null,et=S(Je,"id"),[tt,rt]=(0,n.useState)(null),nt=function(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}(ve?$e:(0,i.add)($e,Ze),null!=(l=null==tt?void 0:tt.rect)?l:null,fe),ot=(0,n.useCallback)(((e,t)=>{let{sensor:r,options:n}=t;if(null==W.current)return;const i=L.get(W.current);if(!i)return;const a=e.nativeEvent,s=new r({active:W.current,activeNode:i,event:a,options:n,context:pe,onStart(e){const t=W.current;if(null==t)return;const r=L.get(t);if(!r)return;const{onDragStart:n}=J.current,i={active:{id:t,data:r.data,rect:z}};(0,o.unstable_batchedUpdates)((()=>{null==n||n(i),k(Xe.Initializing),x({type:d.DragStart,initialCoordinates:e,active:t}),P({type:"onDragStart",event:i})}))},onMove(e){x({type:d.DragMove,coordinates:e})},onEnd:l(d.DragEnd),onCancel:l(d.DragCancel)});function l(e){return async function(){const{active:t,collisions:r,over:n,scrollAdjustedTranslate:i}=pe.current;let s=null;if(t&&i){const{cancelDrop:o}=J.current;if(s={activatorEvent:a,active:t,collisions:r,delta:i,over:n},e===d.DragEnd&&"function"==typeof o){await Promise.resolve(o(s))&&(e=d.DragCancel)}}W.current=null,(0,o.unstable_batchedUpdates)((()=>{x({type:e}),k(Xe.Uninitialized),rt(null),q(null),Y(null);const t=e===d.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=J.current[t];null==e||e(s),P({type:t,event:s})}}))}}(0,o.unstable_batchedUpdates)((()=>{q(s),Y(e.nativeEvent)}))}),[L]),it=(0,n.useCallback)(((e,t)=>(r,n)=>{const o=r.nativeEvent,i=L.get(n);if(null!==W.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(r,t.options,a)&&(o.dndKit={capturedBy:t.sensor},W.current=n,ot(r,t))}),[L,ot]),at=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{const{sensor:n}=r;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}(m,it);!function(e){(0,n.useEffect)((()=>{if(!i.canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(m),(0,i.useIsomorphicLayoutEffect)((()=>{fe&&C===Xe.Initializing&&k(Xe.Initialized)}),[fe,C]),(0,n.useEffect)((()=>{const{onDragMove:e}=J.current,{active:t,activatorEvent:r,collisions:n,over:i}=pe.current;if(!t||!r)return;const a={active:t,activatorEvent:r,collisions:n,delta:{x:Ye.x,y:Ye.y},over:i};(0,o.unstable_batchedUpdates)((()=>{null==e||e(a),P({type:"onDragMove",event:a})}))}),[Ye.x,Ye.y]),(0,n.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:n,scrollAdjustedTranslate:i}=pe.current;if(!e||null==W.current||!t||!i)return;const{onDragOver:a}=J.current,s=n.get(et),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:r,delta:{x:i.x,y:i.y},over:l};(0,o.unstable_batchedUpdates)((()=>{rt(l),null==a||a(c),P({type:"onDragOver",event:c})}))}),[et]),(0,i.useIsomorphicLayoutEffect)((()=>{pe.current={activatorEvent:Z,active:G,activeNode:se,collisionRect:Ke,collisions:Je,droppableRects:oe,draggableNodes:L,draggingNode:ge,draggingNodeRect:ye,droppableContainers:F,over:tt,scrollableAncestors:je,scrollAdjustedTranslate:Ye},z.current={initial:ye,translated:Ke}}),[G,se,Je,Ke,L,ge,ye,oe,F,tt,je,Ye]),Oe({...ce,delta:I,draggingRect:Ke,pointerCoordinates:Be,scrollableAncestors:je,scrollableAncestorRects:Ne});const st=(0,n.useMemo)((()=>({active:G,activeNode:se,activeNodeRect:fe,activatorEvent:Z,collisions:Je,containerNodeRect:de,dragOverlay:me,draggableNodes:L,droppableContainers:F,droppableRects:oe,over:tt,measureDroppableContainers:ie,scrollableAncestors:je,scrollableAncestorRects:Ne,measuringConfiguration:re,measuringScheduled:ae,windowRect:Ee})),[G,se,fe,Z,Je,de,me,L,F,oe,tt,ie,je,Ne,re,ae,Ee]),lt=(0,n.useMemo)((()=>({activatorEvent:Z,activators:at,active:G,activeNodeRect:fe,ariaDescribedById:{draggable:ee},dispatch:x,draggableNodes:L,over:tt,measureDroppableContainers:ie})),[Z,at,G,fe,x,ee,L,tt,ie]);return n.createElement(s.Provider,{value:T},n.createElement(Fe.Provider,{value:lt},n.createElement(Qe.Provider,{value:st},n.createElement(We.Provider,{value:nt},h)),n.createElement(Ue,{disabled:!1===(null==u?void 0:u.restoreFocus)})),n.createElement(f,{...u,hiddenTextDescribedById:ee}))})),He=(0,n.createContext)(null),Ze="button",Ye="Droppable";function Ke(e){let{id:t,data:r,disabled:o=!1,attributes:a}=e;const s=(0,i.useUniqueId)(Ye),{activators:l,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:d,draggableNodes:p,over:h}=(0,n.useContext)(Fe),{role:m=Ze,roleDescription:g="draggable",tabIndex:y=0}=null!=a?a:{},v=(null==u?void 0:u.id)===t,b=(0,n.useContext)(v?We:He),[O,w]=(0,i.useNodeRef)(),[S,E]=(0,i.useNodeRef)(),x=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{let{eventName:n,handler:o}=r;return e[n]=e=>{o(e,t)},e}),{})),[e,t])}(l,t),P=(0,i.useLatestValue)(r);(0,i.useIsomorphicLayoutEffect)((()=>(p.set(t,{id:t,key:s,node:O,activatorNode:S,data:P}),()=>{const e=p.get(t);e&&e.key===s&&p.delete(t)})),[p,t]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:(0,n.useMemo)((()=>({role:m,tabIndex:y,"aria-disabled":o,"aria-pressed":!(!v||m!==Ze)||void 0,"aria-roledescription":g,"aria-describedby":d.draggable})),[o,m,y,v,g,d.draggable]),isDragging:v,listeners:o?void 0:x,node:O,over:h,setNodeRef:w,setActivatorNodeRef:E,transform:b}}function Je(){return(0,n.useContext)(Qe)}const et="Droppable",tt={timeout:25};function rt(e){let{data:t,disabled:r=!1,id:o,resizeObserverConfig:a}=e;const s=(0,i.useUniqueId)(et),{active:l,dispatch:c,over:u,measureDroppableContainers:f}=(0,n.useContext)(Fe),p=(0,n.useRef)({disabled:r}),h=(0,n.useRef)(!1),m=(0,n.useRef)(null),g=(0,n.useRef)(null),{disabled:y,updateMeasurementsFor:v,timeout:b}={...tt,...a},O=(0,i.useLatestValue)(null!=v?v:o),w=Te({callback:(0,n.useCallback)((()=>{h.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{f(Array.isArray(O.current)?O.current:[O.current]),g.current=null}),b)):h.current=!0}),[b]),disabled:y||!l}),S=(0,n.useCallback)(((e,t)=>{w&&(t&&(w.unobserve(t),h.current=!1),e&&w.observe(e))}),[w]),[E,x]=(0,i.useNodeRef)(S),P=(0,i.useLatestValue)(t);return(0,n.useEffect)((()=>{w&&E.current&&(w.disconnect(),h.current=!1,w.observe(E.current))}),[E,w]),(0,i.useIsomorphicLayoutEffect)((()=>(c({type:d.RegisterDroppable,element:{id:o,key:s,disabled:r,node:E,rect:m,data:P}}),()=>c({type:d.UnregisterDroppable,key:s,id:o}))),[o]),(0,n.useEffect)((()=>{r!==p.current.disabled&&(c({type:d.SetDroppableDisabled,id:o,key:s,disabled:r}),p.current.disabled=r)}),[o,s,r,c]),{active:l,rect:m,isOver:(null==u?void 0:u.id)===o,node:E,over:u,setNodeRef:x}}function nt(e){let{animation:t,children:r}=e;const[o,a]=(0,n.useState)(null),[s,l]=(0,n.useState)(null),c=(0,i.usePrevious)(r);return r||o||!c||a(c),(0,i.useIsomorphicLayoutEffect)((()=>{if(!s)return;const e=null==o?void 0:o.key,r=null==o?void 0:o.props.id;null!=e&&null!=r?Promise.resolve(t(r,s)).then((()=>{a(null)})):a(null)}),[t,o,s]),n.createElement(n.Fragment,null,r,o?(0,n.cloneElement)(o,{ref:l}):null)}const ot={x:0,y:0,scaleX:1,scaleY:1};function it(e){let{children:t}=e;return n.createElement(Fe.Provider,{value:Be},n.createElement(We.Provider,{value:ot},t))}const at={position:"fixed",touchAction:"none"},st=e=>(0,i.isKeyboardEvent)(e)?"transform 250ms ease":void 0,lt=(0,n.forwardRef)(((e,t)=>{let{as:r,activatorEvent:o,adjustScale:a,children:s,className:l,rect:c,style:u,transform:f,transition:d=st}=e;if(!c)return null;const p=a?f:{...f,scaleX:1,scaleY:1},h={...at,width:c.width,height:c.height,top:c.top,left:c.left,transform:i.CSS.Transform.toString(p),transformOrigin:a&&o?v(o,c):void 0,transition:"function"==typeof d?d(o):d,...u};return n.createElement(r,{className:l,style:h,ref:t},s)})),ct=e=>t=>{let{active:r,dragOverlay:n}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=r.node.style.getPropertyValue(e),r.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&n.node.style.setProperty(e,t);return null!=a&&a.active&&r.node.classList.add(a.active),null!=a&&a.dragOverlay&&n.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))r.node.style.setProperty(e,t);null!=a&&a.active&&r.node.classList.remove(a.active)}},ut={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:r}}=e;return[{transform:i.CSS.Transform.toString(t)},{transform:i.CSS.Transform.toString(r)}]},sideEffects:ct({styles:{active:{opacity:"0"}}})};function ft(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:o}=e;return(0,i.useEvent)(((e,a)=>{if(null===t)return;const s=r.get(e);if(!s)return;const l=s.node.current;if(!l)return;const c=Re(a);if(!c)return;const{transform:u}=(0,i.getWindow)(a).getComputedStyle(a),f=R(u);if(!f)return;const d="function"==typeof t?t:function(e){const{duration:t,easing:r,sideEffects:n,keyframes:o}={...ut,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},u={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},f={x:s.x-c.x,y:s.y-c.y,...u},d=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:f}}),[p]=d,h=d[d.length-1];if(JSON.stringify(p)===JSON.stringify(h))return;const m=null==n?void 0:n({active:i,dragOverlay:a,...l}),g=a.node.animate(d,{duration:t,easing:r,fill:"forwards"});return new Promise((e=>{g.onfinish=()=>{null==m||m(),e()}}))}}(t);return Z(l,o.draggable.measure),d({active:{id:e,data:s.data,node:l,rect:o.draggable.measure(l)},draggableNodes:r,dragOverlay:{node:a,rect:o.dragOverlay.measure(c)},droppableContainers:n,measuringConfiguration:o,transform:f})}))}let dt=0;function pt(e){return(0,n.useMemo)((()=>{if(null!=e)return dt++,dt}),[e])}const ht=n.memo((e=>{let{adjustScale:t=!1,children:r,dropAnimation:o,style:i,transition:a,modifiers:s,wrapperElement:l="div",className:c,zIndex:u=999}=e;const{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggableNodes:m,droppableContainers:g,dragOverlay:y,over:v,measuringConfiguration:b,scrollableAncestors:O,scrollableAncestorRects:w,windowRect:S}=Je(),E=(0,n.useContext)(We),x=pt(null==d?void 0:d.id),P=Ge(s,{activatorEvent:f,active:d,activeNodeRect:p,containerNodeRect:h,draggingNodeRect:y.rect,over:v,overlayNodeRect:y.rect,scrollableAncestors:O,scrollableAncestorRects:w,transform:E,windowRect:S}),T=Pe(p),j=ft({config:o,draggableNodes:m,droppableContainers:g,measuringConfiguration:b}),C=T?y.setRef:void 0;return n.createElement(it,null,n.createElement(nt,{animation:j},d&&x?n.createElement(lt,{key:x,id:d.id,ref:C,as:l,activatorEvent:f,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:u,...i},transform:P},r):null))}))},18831:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createSnapModifier:()=>o,restrictToFirstScrollableAncestor:()=>l,restrictToHorizontalAxis:()=>i,restrictToParentElement:()=>s,restrictToVerticalAxis:()=>c,restrictToWindowEdges:()=>u,snapCenterToCursor:()=>f});var n=r(74979);function o(e){return t=>{let{transform:r}=t;return{...r,x:Math.ceil(r.x/e)*e,y:Math.ceil(r.y/e)*e}}}const i=e=>{let{transform:t}=e;return{...t,y:0}};function a(e,t,r){const n={...e};return t.top+e.y<=r.top?n.y=r.top-t.top:t.bottom+e.y>=r.top+r.height&&(n.y=r.top+r.height-t.bottom),t.left+e.x<=r.left?n.x=r.left-t.left:t.right+e.x>=r.left+r.width&&(n.x=r.left+r.width-t.right),n}const s=e=>{let{containerNodeRect:t,draggingNodeRect:r,transform:n}=e;return r&&t?a(n,r,t):n},l=e=>{let{draggingNodeRect:t,transform:r,scrollableAncestorRects:n}=e;const o=n[0];return t&&o?a(r,t,o):r},c=e=>{let{transform:t}=e;return{...t,x:0}},u=e=>{let{transform:t,draggingNodeRect:r,windowRect:n}=e;return r&&n?a(t,r,n):t},f=e=>{let{activatorEvent:t,draggingNodeRect:r,transform:o}=e;if(r&&t){const e=(0,n.getEventCoordinates)(t);if(!e)return o;const i=e.x-r.left,a=e.y-r.top;return{...o,x:o.x+i-r.width/2,y:o.y+a-r.height/2}}return o}},43627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SortableContext:()=>v,arrayMove:()=>a,arraySwap:()=>s,defaultAnimateLayoutChanges:()=>O,defaultNewIndexGetter:()=>b,hasSortableData:()=>T,horizontalListSortingStrategy:()=>f,rectSortingStrategy:()=>d,rectSwappingStrategy:()=>p,sortableKeyboardCoordinates:()=>C,useSortable:()=>P,verticalListSortingStrategy:()=>m});var n=r(49244),o=r(15871),i=r(74979);function a(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function s(e,t,r){const n=e.slice();return n[t]=e[r],n[r]=e[t],n}function l(e,t){return e.reduce(((e,r,n)=>{const o=t.get(r);return o&&(e[n]=o),e}),Array(e.length))}function c(e){return null!==e&&e>=0}const u={scaleX:1,scaleY:1},f=e=>{var t;let{rects:r,activeNodeRect:n,activeIndex:o,overIndex:i,index:a}=e;const s=null!=(t=r[o])?t:n;if(!s)return null;const l=function(e,t,r){const n=e[t],o=e[t-1],i=e[t+1];if(!n||!o&&!i)return 0;if(ro&&a<=i?{x:-s.width-l,y:0,...u}:a=i?{x:s.width+l,y:0,...u}:{x:0,y:0,...u}};const d=e=>{let{rects:t,activeIndex:r,overIndex:n,index:o}=e;const i=a(t,n,r),s=t[o],l=i[o];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},p=e=>{let t,r,{activeIndex:n,index:o,rects:i,overIndex:a}=e;return o===n&&(t=i[o],r=i[a]),o===a&&(t=i[o],r=i[n]),r&&t?{x:r.left-t.left,y:r.top-t.top,scaleX:r.width/t.width,scaleY:r.height/t.height}:null},h={scaleX:1,scaleY:1},m=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:o,rects:i,overIndex:a}=e;const s=null!=(t=i[r])?t:n;if(!s)return null;if(o===r){const e=i[a];return e?{x:0,y:rr&&o<=a?{x:0,y:-s.height-l,...h}:o=a?{x:0,y:s.height+l,...h}:{x:0,y:0,...h}};const g="Sortable",y=n.createContext({activeIndex:-1,containerId:g,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:d,disabled:{draggable:!1,droppable:!1}});function v(e){let{children:t,id:r,items:a,strategy:s=d,disabled:c=!1}=e;const{active:u,dragOverlay:f,droppableRects:p,over:h,measureDroppableContainers:m}=(0,o.useDndContext)(),v=(0,i.useUniqueId)(g,r),b=Boolean(null!==f.rect),O=(0,n.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),w=null!=u,S=u?O.indexOf(u.id):-1,E=h?O.indexOf(h.id):-1,x=(0,n.useRef)(O),P=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{P&&w&&m(O)}),[P,O,w,m]),(0,n.useEffect)((()=>{x.current=O}),[O]);const C=(0,n.useMemo)((()=>({activeIndex:S,containerId:v,disabled:j,disableTransforms:T,items:O,overIndex:E,useDragOverlay:b,sortedRects:l(O,p),strategy:s})),[S,v,j.draggable,j.droppable,T,O,E,p,b,s]);return n.createElement(y.Provider,{value:C},t)}const b=e=>{let{id:t,items:r,activeIndex:n,overIndex:o}=e;return a(r,n,o).indexOf(t)},O=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!n)&&((s===i||o!==a)&&(!!r||a!==o&&t===l))},w={duration:200,easing:"ease"},S="transform",E=i.CSS.Transition.toString({property:S,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function P(e){let{animateLayoutChanges:t=O,attributes:r,disabled:a,data:s,getNewIndex:l=b,id:u,strategy:f,resizeObserverConfig:d,transition:p=w}=e;const{items:h,containerId:m,activeIndex:g,disabled:v,disableTransforms:P,sortedRects:T,overIndex:j,useDragOverlay:C,strategy:k}=(0,n.useContext)(y),_=function(e,t){var r,n;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n:t.droppable}}(a,v),A=h.indexOf(u),D=(0,n.useMemo)((()=>({sortable:{containerId:m,index:A,items:h},...s})),[m,s,A,h]),R=(0,n.useMemo)((()=>h.slice(h.indexOf(u))),[h,u]),{rect:L,node:M,isOver:I,setNodeRef:N}=(0,o.useDroppable)({id:u,data:D,disabled:_.droppable,resizeObserverConfig:{updateMeasurementsFor:R,...d}}),{active:$,activatorEvent:B,activeNodeRect:F,attributes:Q,setNodeRef:V,listeners:z,isDragging:U,over:G,setActivatorNodeRef:W,transform:X}=(0,o.useDraggable)({id:u,data:D,attributes:{...x,...r},disabled:_.draggable}),q=(0,i.useCombinedRefs)(N,V),H=Boolean($),Z=H&&!P&&c(g)&&c(j),Y=!C&&U,K=Y&&Z?X:null,J=Z?null!=K?K:(null!=f?f:k)({rects:T,activeNodeRect:F,activeIndex:g,overIndex:j,index:A}):null,ee=c(g)&&c(j)?l({id:u,items:h,activeIndex:g,overIndex:j}):A,te=null==$?void 0:$.id,re=(0,n.useRef)({activeId:te,items:h,newIndex:ee,containerId:m}),ne=h!==re.current.items,oe=t({active:$,containerId:m,isDragging:U,isSorting:H,id:u,index:A,items:h,newIndex:re.current.newIndex,previousItems:re.current.items,previousContainerId:re.current.containerId,transition:p,wasDragging:null!=re.current.activeId}),ie=function(e){let{disabled:t,index:r,node:a,rect:s}=e;const[l,c]=(0,n.useState)(null),u=(0,n.useRef)(r);return(0,i.useIsomorphicLayoutEffect)((()=>{if(!t&&r!==u.current&&a.current){const e=s.current;if(e){const t=(0,o.getClientRect)(a.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&c(r)}}r!==u.current&&(u.current=r)}),[t,r,a,s]),(0,n.useEffect)((()=>{l&&c(null)}),[l]),l}({disabled:!oe,index:A,node:M,rect:L});return(0,n.useEffect)((()=>{H&&re.current.newIndex!==ee&&(re.current.newIndex=ee),m!==re.current.containerId&&(re.current.containerId=m),h!==re.current.items&&(re.current.items=h)}),[H,ee,m,h]),(0,n.useEffect)((()=>{if(te===re.current.activeId)return;if(te&&!re.current.activeId)return void(re.current.activeId=te);const e=setTimeout((()=>{re.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:$,activeIndex:g,attributes:Q,data:D,rect:L,index:A,newIndex:ee,items:h,isOver:I,isSorting:H,isDragging:U,listeners:z,node:M,overIndex:j,over:G,setNodeRef:q,setActivatorNodeRef:W,setDroppableNodeRef:N,setDraggableNodeRef:V,transform:null!=ie?ie:J,transition:function(){if(ie||ne&&re.current.newIndex===A)return E;if(Y&&!(0,i.isKeyboardEvent)(B)||!p)return;if(H||oe)return i.CSS.Transition.toString({...p,property:S});return}()}}function T(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const j=[o.KeyboardCode.Down,o.KeyboardCode.Right,o.KeyboardCode.Up,o.KeyboardCode.Left],C=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:c}}=t;if(j.includes(e.code)){if(e.preventDefault(),!r||!n)return;const t=[];s.getEnabled().forEach((r=>{if(!r||null!=r&&r.disabled)return;const i=a.get(r.id);if(i)switch(e.code){case o.KeyboardCode.Down:n.topi.top&&t.push(r);break;case o.KeyboardCode.Left:n.left>i.left&&t.push(r);break;case o.KeyboardCode.Right:n.left1&&(f=u[1].id),null!=f){const e=s.get(r.id),t=s.get(f),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const r=(0,o.getScrollableAncestors)(u).some(((e,t)=>c[t]!==e)),a=k(e,t),s=function(e,t){if(!T(e)||!T(t))return!1;if(!k(e,t))return!1;return e.data.current.sortable.index{"use strict";r.r(t),r.d(t,{CSS:()=>k,add:()=>E,canUseDOM:()=>i,findFirstFocusableNode:()=>A,getEventCoordinates:()=>C,getOwnerDocument:()=>d,getWindow:()=>l,hasViewportRelativeCoordinates:()=>P,isDocument:()=>c,isHTMLElement:()=>u,isKeyboardEvent:()=>T,isNode:()=>s,isSVGElement:()=>f,isTouchEvent:()=>j,isWindow:()=>a,subtract:()=>x,useCombinedRefs:()=>o,useEvent:()=>h,useInterval:()=>m,useIsomorphicLayoutEffect:()=>p,useLatestValue:()=>g,useLazyMemo:()=>y,useNodeRef:()=>v,usePrevious:()=>b,useUniqueId:()=>w});var n=r(49244);function o(){for(var e=arguments.length,t=new Array(e),r=0;re=>{t.forEach((t=>t(e)))}),t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function s(e){return"nodeType"in e}function l(e){var t,r;return e?a(e)?e:s(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function f(e){return e instanceof l(e).SVGElement}function d(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)||f(e)?e.ownerDocument:document:document:document}const p=i?n.useLayoutEffect:n.useEffect;function h(e){const t=(0,n.useRef)(e);return p((()=>{t.current=e})),(0,n.useCallback)((function(){for(var e=arguments.length,r=new Array(e),n=0;n{e.current=setInterval(t,r)}),[]),(0,n.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function g(e,t){void 0===t&&(t=[e]);const r=(0,n.useRef)(e);return p((()=>{r.current!==e&&(r.current=e)}),t),r}function y(e,t){const r=(0,n.useRef)();return(0,n.useMemo)((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function v(e){const t=h(e),r=(0,n.useRef)(null),o=(0,n.useCallback)((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,o]}function b(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current}let O={};function w(e,t){return(0,n.useMemo)((()=>{if(t)return t;const r=null==O[e]?0:O[e]+1;return O[e]=r,e+"-"+r}),[e,t])}function S(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o{const n=Object.entries(r);for(const[r,o]of n){const n=t[r];null!=n&&(t[r]=n+e*o)}return t}),{...t})}}const E=S(1),x=S(-1);function P(e){return"clientX"in e&&"clientY"in e}function T(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function j(e){if(!e)return!1;const{TouchEvent:t}=l(e.target);return t&&e instanceof t}function C(e){if(j(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return P(e)?{x:e.clientX,y:e.clientY}:null}const k=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[k.Translate.toString(e),k.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),_="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function A(e){return e.matches(_)?e:e.querySelector(_)}},76795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},17103:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},70095:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var n=r(89379),o=r(89394),i=r(82284),a=r(23029),s=r(92901),l=r(64467),c=r(71967),u=r(46671),f=r(43118),d=(r(85508),function(){function e(t){(0,a.default)(this,e),(0,l.default)(this,"rules",null),(0,l.default)(this,"_messages",c.messages),this.define(t)}return(0,s.default)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,i.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(r){var n=e[r];t.rules[r]=Array.isArray(n)?n:[n]}))}},{key:"messages",value:function(e){return e&&(this._messages=(0,u.deepMerge)((0,c.newMessages)(),e)),this._messages}},{key:"validate",value:function(t){var r=this,a=t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,a),Promise.resolve(a);if(s.messages){var f=this.messages();f===c.messages&&(f=(0,c.newMessages)()),(0,u.deepMerge)(f,s.messages),s.messages=f}else s.messages=this.messages();var d={};(s.keys||Object.keys(this.rules)).forEach((function(e){var o=r.rules[e],s=a[e];o.forEach((function(o){var l=o;"function"==typeof l.transform&&(a===t&&(a=(0,n.default)({},a)),null!=(s=a[e]=l.transform(s))&&(l.type=l.type||(Array.isArray(s)?"array":(0,i.default)(s)))),(l="function"==typeof l?{validator:l}:(0,n.default)({},l)).validator=r.getValidationMethod(l),l.validator&&(l.field=e,l.fullField=l.fullField||e,l.type=r.getType(l),d[e]=d[e]||[],d[e].push({rule:l,value:s,source:a,field:e}))}))}));var p={};return(0,u.asyncMap)(d,s,(function(t,r){var l,c=t.rule,f=!("object"!==c.type&&"array"!==c.type||"object"!==(0,i.default)(c.fields)&&"object"!==(0,i.default)(c.defaultField));function d(e,t){return(0,n.default)((0,n.default)({},t),{},{fullField:"".concat(c.fullField,".").concat(e),fullFields:c.fullFields?[].concat((0,o.default)(c.fullFields),[e]):[e]})}function h(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=Array.isArray(i)?i:[i];!s.suppressWarning&&l.length&&e.warning("async-validator:",l),l.length&&void 0!==c.message&&(l=[].concat(c.message));var h=l.map((0,u.complementError)(c,a));if(s.first&&h.length)return p[c.field]=1,r(h);if(f){if(c.required&&!t.value)return void 0!==c.message?h=[].concat(c.message).map((0,u.complementError)(c,a)):s.error&&(h=[s.error(c,(0,u.format)(s.messages.required,c.field))]),r(h);var m={};c.defaultField&&Object.keys(t.value).map((function(e){m[e]=c.defaultField})),m=(0,n.default)((0,n.default)({},m),t.rule.fields);var g={};Object.keys(m).forEach((function(e){var t=m[e],r=Array.isArray(t)?t:[t];g[e]=r.map(d.bind(null,e))}));var y=new e(g);y.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),y.validate(t.value,t.rule.options||s,(function(e){var t=[];h&&h.length&&t.push.apply(t,(0,o.default)(h)),e&&e.length&&t.push.apply(t,(0,o.default)(e)),r(t.length?t:null)}))}else r(h)}if(f=f&&(c.required||!c.required&&t.value),c.field=t.field,c.asyncValidator)l=c.asyncValidator(c,t.value,h,t.source,s);else if(c.validator){try{l=c.validator(c,t.value,h,t.source,s)}catch(e){var m,g;null===(m=(g=console).error)||void 0===m||m.call(g,e),s.suppressValidatorError||setTimeout((function(){throw e}),0),h(e.message)}!0===l?h():!1===l?h("function"==typeof c.message?c.message(c.fullField||c.field):c.message||"".concat(c.fullField||c.field," fails")):l instanceof Array?h(l):l instanceof Error&&h(l.message)}l&&l.then&&l.then((function(){return h()}),(function(e){return h(e)}))}),(function(e){!function(e){for(var t,r,n=[],i={},s=0;s{"use strict";r.r(t)},71967:(e,t,r)=>{"use strict";function n(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}r.r(t),r.d(t,{messages:()=>o,newMessages:()=>n});var o=n()},67081:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(46671),o="enum";const i=function(e,t,r,i,a){e[o]=Array.isArray(e[o])?e[o]:[],-1===e[o].indexOf(t)&&i.push((0,n.format)(a.messages[o],e.fullField,e[o].join(", ")))}},68350:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(67081),o=r(80652),i=r(38419),a=r(64597),s=r(77052),l=r(10849);const c={required:a.default,whitespace:l.default,type:s.default,range:i.default,enum:n.default,pattern:o.default}},80652:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(46671);const o=function(e,t,r,o,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push((0,n.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push((0,n.format)(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},38419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(46671);const o=function(e,t,r,o,i){var a="number"==typeof e.len,s="number"==typeof e.min,l="number"==typeof e.max,c=t,u=null,f="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(f?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),d&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?c!==e.len&&o.push((0,n.format)(i.messages[u].len,e.fullField,e.len)):s&&!l&&ce.max?o.push((0,n.format)(i.messages[u].max,e.fullField,e.max)):s&&l&&(ce.max)&&o.push((0,n.format)(i.messages[u].range,e.fullField,e.min,e.max))}},64597:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(46671);const o=function(e,t,r,o,i,a){!e.required||r.hasOwnProperty(e.field)&&!(0,n.isEmptyValue)(t,a||e.type)||o.push((0,n.format)(i.messages.required,e.fullField))}},77052:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(82284),o=r(46671),i=r(64597),a=r(35399),s=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,l=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,c={integer:function(e){return c.number(e)&&parseInt(e,10)===e},float:function(e){return c.number(e)&&!c.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,n.default)(e)&&!c.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(s)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match((0,a.default)())},hex:function(e){return"string"==typeof e&&!!e.match(l)}};const u=function(e,t,r,a,s){if(e.required&&void 0===t)(0,i.default)(e,t,r,a,s);else{var l=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(l)>-1?c[l](t)||a.push((0,o.format)(s.messages.types[l],e.fullField,e.type)):l&&(0,n.default)(t)!==e.type&&a.push((0,o.format)(s.messages.types[l],e.fullField,e.type))}}},35399:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>o});const o=function(){if(n)return n;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",i=["(?:".concat(o,":){7}(?:").concat(o,"|:)"),"(?:".concat(o,":){6}(?:").concat(r,"|:").concat(o,"|:)"),"(?:".concat(o,":){5}(?::").concat(r,"|(?::").concat(o,"){1,2}|:)"),"(?:".concat(o,":){4}(?:(?::").concat(o,"){0,1}:").concat(r,"|(?::").concat(o,"){1,3}|:)"),"(?:".concat(o,":){3}(?:(?::").concat(o,"){0,2}:").concat(r,"|(?::").concat(o,"){1,4}|:)"),"(?:".concat(o,":){2}(?:(?::").concat(o,"){0,3}:").concat(r,"|(?::").concat(o,"){1,5}|:)"),"(?:".concat(o,":){1}(?:(?::").concat(o,"){0,4}:").concat(r,"|(?::").concat(o,"){1,6}|:)"),"(?::(?:(?::".concat(o,"){0,5}:").concat(r,"|(?::").concat(o,"){1,7}|:))")],a="(?:".concat(i.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),s=new RegExp("(?:^".concat(r,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(r,"$")),c=new RegExp("^".concat(a,"$")),u=function(e){return e&&e.exact?s:new RegExp("(?:".concat(t(e)).concat(r).concat(t(e),")|(?:").concat(t(e)).concat(a).concat(t(e),")"),"g")};u.v4=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(r).concat(t(e)),"g")},u.v6=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(a).concat(t(e)),"g")};var f=u.v4().source,d=u.v6().source,p="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(f,"|").concat(d,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return n=new RegExp("(?:^".concat(p,"$)"),"i")}},10849:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(46671);const o=function(e,t,r,o,i){(/^\s+$/.test(t)||""===t)&&o.push((0,n.format)(i.messages.whitespace,e.fullField))}},46671:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AsyncValidationError:()=>O,asyncMap:()=>w,complementError:()=>S,convertFieldsError:()=>m,deepMerge:()=>E,format:()=>g,isEmptyObject:()=>v,isEmptyValue:()=>y,warning:()=>h});var n=r(89379),o=r(82284),i=r(92901),a=r(23029),s=r(9417),l=r(85501),c=r(29426),u=r(65579),f=r(64467),d=r(89394),p=/%[sdj%]/g,h=function(){};function m(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function g(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=i)return e;switch(e){case"%s":return String(r[o++]);case"%d":return Number(r[o++]);case"%j":try{return JSON.stringify(r[o++])}catch(e){return"[Circular]"}break;default:return e}})):e}function y(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function v(e){return 0===Object.keys(e).length}function b(e,t,r){var n=0,o=e.length;!function i(a){if(a&&a.length)r(a);else{var s=n;n+=1,s{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a)}r(s)}},72163:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(68350);const o=function(e,t,r,o,i){var a=[];if(e.required||!e.required&&o.hasOwnProperty(e.field)){if(null==t&&!e.required)return r();n.default.required(e,t,o,a,i,"array"),null!=t&&(n.default.type(e,t,o,a,i),n.default.range(e,t,o,a,i))}r(a)}},83894:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},20656:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"date")&&!e.required)return r();var l;if(n.default.required(e,t,i,s,a),!(0,o.isEmptyValue)(t,"date"))l=t instanceof Date?t:new Date(t),n.default.type(e,l,i,s,a),l&&n.default.range(e,l.getTime(),i,s,a)}r(s)}},20985:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.enum(e,t,i,s,a)}r(s)}},29120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},43118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(85988),o=r(72163),i=r(83894),a=r(20656),s=r(20985),l=r(29120),c=r(81284),u=r(19697),f=r(49377),d=r(36931),p=r(44764),h=r(32461),m=r(41957),g=r(67053),y=r(83948);const v={string:g.default,method:u.default,number:f.default,boolean:i.default,regexp:h.default,integer:c.default,float:l.default,array:o.default,object:d.default,enum:s.default,pattern:p.default,date:a.default,url:y.default,hex:y.default,email:y.default,required:m.default,any:n.default}},81284:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},19697:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},49377:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a))}r(s)}},36931:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),void 0!==t&&n.default.type(e,t,i,s,a)}r(s)}},44764:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return r();n.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t,"string")||n.default.pattern(e,t,i,s,a)}r(s)}},32461:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();n.default.required(e,t,i,s,a),(0,o.isEmptyValue)(t)||n.default.type(e,t,i,s,a)}r(s)}},41957:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(82284),o=r(68350);const i=function(e,t,r,i,a){var s=[],l=Array.isArray(t)?"array":(0,n.default)(t);o.default.required(e,t,i,s,a,l),r(s)}},67053:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,"string")&&!e.required)return r();n.default.required(e,t,i,s,a,"string"),(0,o.isEmptyValue)(t,"string")||(n.default.type(e,t,i,s,a),n.default.range(e,t,i,s,a),n.default.pattern(e,t,i,s,a),!0===e.whitespace&&n.default.whitespace(e,t,i,s,a))}r(s)}},83948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(68350),o=r(46671);const i=function(e,t,r,i,a){var s=e.type,l=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t,s)&&!e.required)return r();n.default.required(e,t,i,l,a,s),(0,o.isEmptyValue)(t,s)||n.default.type(e,t,i,l,a)}r(l)}},37545:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(58168),o=r(64467),i=r(3453),a=r(49244),s=r(87614),l=r(46942),c=r.n(l),u=r(66915),f=r(20897),d=r(43499),p=r(67724),h=r(83870),m=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}];const g=(0,a.forwardRef)((function(e,t){var r=e.value,l=e.defaultValue,g=e.prefixCls,y=void 0===g?s.ColorPickerPrefixCls:g,v=e.onChange,b=e.onChangeComplete,O=e.className,w=e.style,S=e.panelRender,E=e.disabledAlpha,x=void 0!==E&&E,P=e.disabled,T=void 0!==P&&P,j=e.components,C=(0,h.default)(j),k=(0,i.default)(C,1)[0],_=(0,p.default)(l||s.defaultColor,r),A=(0,i.default)(_,2),D=A[0],R=A[1],L=(0,a.useMemo)((function(){return D.setA(1).toRgbString()}),[D]),M=function(e,t){r||R(e),null==v||v(e,t)},I=function(e){return new u.Color(D.setHue(e))},N=function(e){return new u.Color(D.setA(e/100))},$=c()("".concat(y,"-panel"),O,(0,o.default)({},"".concat(y,"-panel-disabled"),T)),B={prefixCls:y,disabled:T,color:D},F=a.createElement(a.Fragment,null,a.createElement(d.default,(0,n.default)({onChange:M},B,{onChangeComplete:b})),a.createElement("div",{className:"".concat(y,"-slider-container")},a.createElement("div",{className:c()("".concat(y,"-slider-group"),(0,o.default)({},"".concat(y,"-slider-group-disabled-alpha"),x))},a.createElement(k,(0,n.default)({},B,{type:"hue",colors:m,min:0,max:359,value:D.getHue(),onChange:function(e){M(I(e),{type:"hue",value:e})},onChangeComplete:function(e){b&&b(I(e))}})),!x&&a.createElement(k,(0,n.default)({},B,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:L}],min:0,max:100,value:100*D.a,onChange:function(e){M(N(e),{type:"alpha",value:e})},onChangeComplete:function(e){b&&b(N(e))}}))),a.createElement(f.default,{color:D.toRgbString(),prefixCls:y})));return a.createElement("div",{className:$,style:w,ref:t},"function"==typeof S?S(F):F)}))},66915:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Color:()=>h,getRoundNumber:()=>p});var n=r(23029),o=r(92901),i=r(85501),a=r(29426),s=r(89379),l=r(80045),c=r(82284),u=r(31619),f=["b"],d=["v"],p=function(e){return Math.round(Number(e||0))},h=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(e){return(0,n.default)(this,r),t.call(this,function(e){if(e instanceof u.FastColor)return e;if(e&&"object"===(0,c.default)(e)&&"h"in e&&"b"in e){var t=e,r=t.b,n=(0,l.default)(t,f);return(0,s.default)((0,s.default)({},n),{},{v:r})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return(0,o.default)(r,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=p(100*e.s),r=p(100*e.b),n=p(e.h),o=e.a,i="hsb(".concat(n,", ").concat(t,"%, ").concat(r,"%)"),a="hsba(".concat(n,", ").concat(t,"%, ").concat(r,"%, ").concat(o.toFixed(0===o?0:2),")");return 1===o?i:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,r=(0,l.default)(e,d);return(0,s.default)((0,s.default)({},r),{},{b:t,a:this.a})}}]),r}(u.FastColor)},20897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(46942),o=r.n(n),i=r(49244);const a=function(e){var t=e.color,r=e.prefixCls,n=e.className,a=e.style,s=e.onClick,l="".concat(r,"-color-block");return i.createElement("div",{className:o()(l,n),style:a,onClick:s},i.createElement("div",{className:"".concat(l,"-inner"),style:{background:t}}))}},84557:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(66915),i=r(87614);const a=function(e){var t=e.colors,r=e.children,a=e.direction,s=void 0===a?"to right":a,l=e.type,c=e.prefixCls,u=(0,n.useMemo)((function(){return t.map((function(e,r){var n=(0,i.generateColor)(e);return"alpha"===l&&r===t.length-1&&(n=new o.Color(n.setA(1))),n.toRgbString()})).join(",")}),[t,l]);return n.createElement("div",{className:"".concat(c,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(s,", ").concat(u,")")}},r)}},39865:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(64467),o=r(46942),i=r.n(o),a=r(49244);const s=function(e){var t=e.size,r=void 0===t?"default":t,o=e.color,s=e.prefixCls;return a.createElement("div",{className:i()("".concat(s,"-handler"),(0,n.default)({},"".concat(s,"-handler-sm"),"small"===r)),style:{backgroundColor:o}})}},52826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(89379),o=r(49244);const i=function(e){var t=e.children,r=e.style,i=e.prefixCls;return o.createElement("div",{className:"".concat(i,"-palette"),style:(0,n.default)({position:"relative"},r)},t)}},43499:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(3453),o=r(49244),i=r(50379),a=r(87614),s=r(81470),l=r(39865),c=r(52826),u=r(32473);const f=function(e){var t=e.color,r=e.onChange,f=e.prefixCls,d=e.onChangeComplete,p=e.disabled,h=(0,o.useRef)(),m=(0,o.useRef)(),g=(0,o.useRef)(t),y=(0,s.useEvent)((function(e){var n=(0,a.calculateColor)({offset:e,targetRef:m,containerRef:h,color:t});g.current=n,r(n)})),v=(0,i.default)({color:t,containerRef:h,targetRef:m,calculate:function(){return(0,a.calcOffset)(t)},onDragChange:y,onDragChangeComplete:function(){return null==d?void 0:d(g.current)},disabledDrag:p}),b=(0,n.default)(v,2),O=b[0],w=b[1];return o.createElement("div",{ref:h,className:"".concat(f,"-select"),onMouseDown:w,onTouchStart:w},o.createElement(c.default,{prefixCls:f},o.createElement(u.default,{x:O.x,y:O.y,ref:m},o.createElement(l.default,{color:t.toRgbString(),prefixCls:f})),o.createElement("div",{className:"".concat(f,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))}},99464:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(3453),o=r(49244),i=r(50379),a=r(52826),s=r(46942),l=r.n(s),c=r(81470),u=r(66915),f=r(87614),d=r(84557),p=r(39865),h=r(32473);const m=function(e){var t=e.prefixCls,r=e.colors,s=e.disabled,m=e.onChange,g=e.onChangeComplete,y=e.color,v=e.type,b=(0,o.useRef)(),O=(0,o.useRef)(),w=(0,o.useRef)(y),S=function(e){return"hue"===v?e.getHue():100*e.a},E=(0,c.useEvent)((function(e){var t=(0,f.calculateColor)({offset:e,targetRef:O,containerRef:b,color:y,type:v});w.current=t,m(S(t))})),x=(0,i.default)({color:y,targetRef:O,containerRef:b,calculate:function(){return(0,f.calcOffset)(y,v)},onDragChange:E,onDragChangeComplete:function(){g(S(w.current))},direction:"x",disabledDrag:s}),P=(0,n.default)(x,2),T=P[0],j=P[1],C=o.useMemo((function(){if("hue"===v){var e=y.toHsb();return e.s=1,e.b=1,e.a=1,new u.Color(e)}return y}),[y,v]),k=o.useMemo((function(){return r.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[r]);return o.createElement("div",{ref:b,className:l()("".concat(t,"-slider"),"".concat(t,"-slider-").concat(v)),onMouseDown:j,onTouchStart:j},o.createElement(a.default,{prefixCls:t},o.createElement(h.default,{x:T.x,y:T.y,ref:O},o.createElement(p.default,{size:"small",color:C.toHexString(),prefixCls:t})),o.createElement(d.default,{colors:k,type:v,prefixCls:t})))}},32473:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(49244);const o=(0,n.forwardRef)((function(e,t){var r=e.children,o=e.x,i=e.y;return n.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(o,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},r)}))},50379:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(3453),o=r(49244);const i=function(e){var t=e.targetRef,r=e.containerRef,i=e.direction,a=e.onDragChange,s=e.onDragChangeComplete,l=e.calculate,c=e.color,u=e.disabledDrag,f=(0,o.useState)({x:0,y:0}),d=(0,n.default)(f,2),p=d[0],h=d[1],m=(0,o.useRef)(null),g=(0,o.useRef)(null);(0,o.useEffect)((function(){h(l())}),[c]),(0,o.useEffect)((function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null}}),[]);var y=function(e){var n=function(e){var t="touches"in e?e.touches[0]:e,r=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,n=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-r,pageY:t.pageY-n}}(e),o=n.pageX,s=n.pageY,l=r.current.getBoundingClientRect(),c=l.x,u=l.y,f=l.width,d=l.height,h=t.current.getBoundingClientRect(),m=h.width,g=h.height,y=m/2,v=g/2,b=Math.max(0,Math.min(o-c,f))-y,O=Math.max(0,Math.min(s-u,d))-v,w={x:b,y:"x"===i?p.y:O};if(0===m&&0===g||m!==g)return!1;null==a||a(w)},v=function(e){e.preventDefault(),y(e)},b=function(e){e.preventDefault(),document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null,null==s||s()};return[p,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),u||(y(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",b),document.addEventListener("touchmove",v),document.addEventListener("touchend",b),m.current=v,g.current=b)}]}},67724:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(3453),o=r(81470),i=r(49244),a=r(87614);const s=function(e,t){var r=(0,o.useMergedState)(e,{value:t}),s=(0,n.default)(r,2),l=s[0],c=s[1];return[(0,i.useMemo)((function(){return(0,a.generateColor)(l)}),[l]),c]}},83870:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(49244),o=r(99464);function i(e){return n.useMemo((function(){return[(e||{}).slider||o.default]}),[e])}},89372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Color:()=>o.Color,ColorBlock:()=>i.default,default:()=>a});var n=r(37545),o=r(66915),i=r(20897);r(93467);const a=n.default},93467:(e,t,r)=>{"use strict";r.r(t)},87614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ColorPickerPrefixCls:()=>i,calcOffset:()=>c,calculateColor:()=>l,defaultColor:()=>s,generateColor:()=>a});var n=r(89379),o=r(66915),i="rc-color-picker",a=function(e){return e instanceof o.Color?e:new o.Color(e)},s=a("#1677ff"),l=function(e){var t=e.offset,r=e.targetRef,o=e.containerRef,i=e.color,s=e.type,l=o.current.getBoundingClientRect(),c=l.width,u=l.height,f=r.current.getBoundingClientRect(),d=f.width/2,p=f.height/2,h=(t.x+d)/c,m=1-(t.y+p)/u,g=i.toHsb(),y=h,v=(t.x+d)/c*360;if(s)switch(s){case"hue":return a((0,n.default)((0,n.default)({},g),{},{h:v<=0?0:v}));case"alpha":return a((0,n.default)((0,n.default)({},g),{},{a:y<=0?0:y}))}return a({h:g.h,s:h<=0?0:h,b:m>=1?1:m,a:g.a})},c=function(e,t){var r=e.toHsb();switch(t){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*r.s,y:100*(1-r.b)}}}},45588:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;tZ,Action:()=>o,IDLE_BLOCKER:()=>pe,IDLE_FETCHER:()=>de,IDLE_NAVIGATION:()=>fe,UNSAFE_DEFERRED_SYMBOL:()=>ve,UNSAFE_DeferredData:()=>Y,UNSAFE_ErrorResponseImpl:()=>ne,UNSAFE_convertRouteMatchToUiMatch:()=>w,UNSAFE_convertRoutesToDataRoutes:()=>v,UNSAFE_decodePath:()=>M,UNSAFE_getResolveToMatches:()=>F,UNSAFE_invariant:()=>c,UNSAFE_warning:()=>u,createBrowserHistory:()=>s,createHashHistory:()=>l,createMemoryHistory:()=>a,createPath:()=>p,createRouter:()=>ye,createStaticHandler:()=>be,data:()=>H,defer:()=>J,generatePath:()=>R,getStaticContextFromError:()=>Oe,getToPathname:()=>V,isDataWithResponseInit:()=>Ke,isDeferredData:()=>Je,isRouteErrorResponse:()=>oe,joinPaths:()=>z,json:()=>X,matchPath:()=>L,matchRoutes:()=>b,normalizePathname:()=>U,parsePath:()=>h,redirect:()=>ee,redirectDocument:()=>te,replace:()=>re,resolvePath:()=>N,resolveTo:()=>Q,stripBasename:()=>I}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:r=["/"],initialIndex:n,v5Compat:i=!1}=e;t=r.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=c(null==n?t.length-1:n),s=o.Pop,l=null;function c(e){return Math.min(Math.max(e,0),t.length-1)}function f(){return t[a]}function m(e,r,n){void 0===r&&(r=null);let o=d(t?f().pathname:"/",e,r,n);return u("/"===o.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),o}function g(e){return"string"==typeof e?e:p(e)}return{get index(){return a},get action(){return s},get location(){return f()},createHref:g,createURL:e=>new URL(g(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?h(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,r){s=o.Push;let n=m(e,r);a+=1,t.splice(a,t.length,n),i&&l&&l({action:s,location:n,delta:1})},replace(e,r){s=o.Replace;let n=m(e,r);t[a]=n,i&&l&&l({action:s,location:n,delta:0})},go(e){s=o.Pop;let r=c(a+e),n=t[r];a=r,l&&l({action:s,location:n,delta:e})},listen:e=>(l=e,()=>{l=null})}}function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return d("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:p(t)}),null,e)}function l(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=h(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),d("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:p(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function f(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,r,o){return void 0===r&&(r=null),n({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:r,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function p(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function h(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function m(e,t,r,a){void 0===a&&(a={});let{window:s=document.defaultView,v5Compat:l=!1}=a,u=s.history,h=o.Pop,m=null,g=y();function y(){return(u.state||{idx:null}).idx}function v(){h=o.Pop;let e=y(),t=null==e?null:e-g;g=e,m&&m({action:h,location:O.location,delta:t})}function b(e){let t="null"!==s.location.origin?s.location.origin:s.location.href,r="string"==typeof e?e:p(e);return r=r.replace(/ $/,"%20"),c(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==g&&(g=0,u.replaceState(n({},u.state,{idx:g}),""));let O={get action(){return h},get location(){return e(s,u)},listen(e){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(i,v),m=e,()=>{s.removeEventListener(i,v),m=null}},createHref:e=>t(s,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let n=d(O.location,e,t);r&&r(n,e),g=y()+1;let i=f(n,g),a=O.createHref(n);try{u.pushState(i,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;s.location.assign(a)}l&&m&&m({action:h,location:O.location,delta:1})},replace:function(e,t){h=o.Replace;let n=d(O.location,e,t);r&&r(n,e),g=y();let i=f(n,g),a=O.createHref(n);u.replaceState(i,"",a),l&&m&&m({action:h,location:O.location,delta:0})},go:e=>u.go(e)};return O}var g;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={}));const y=new Set(["lazy","caseSensitive","path","id","index","children"]);function v(e,t,r,o){return void 0===r&&(r=[]),void 0===o&&(o={}),e.map(((e,i)=>{let a=[...r,String(i)],s="string"==typeof e.id?e.id:a.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!o[s],'Found a route id collision on id "'+s+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let r=n({},e,t(e),{id:s});return o[s]=r,r}{let r=n({},e,t(e),{id:s,children:void 0});return o[s]=r,e.children&&(r.children=v(e.children,t,a,o)),r}}))}function b(e,t,r){return void 0===r&&(r="/"),O(e,t,r,!1)}function O(e,t,r,n){let o=I(("string"==typeof t?h(t):t).pathname||"/",r);if(null==o)return null;let i=S(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(c(a.relativePath.startsWith(n),'Absolute route path "'+a.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(n.length));let s=z([n,a.relativePath]),l=r.concat(a);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),S(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:A(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of E(e.path))o(e,t,r);else o(e,t)})),t}function E(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),i=r.replace(/\?$/,"");if(0===n.length)return o?[i,""]:[i];let a=E(n.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const x=/^:[\w-]+$/,P=3,T=2,j=1,C=10,k=-2,_=e=>"*"===e;function A(e,t){let r=e.split("/"),n=r.length;return r.some(_)&&(n+=k),t&&(n+=T),r.filter((e=>!_(e))).reduce(((e,t)=>e+(x.test(t)?P:""===t?j:C)),n)}function D(e,t,r){void 0===r&&(r=!1);let{routesMeta:n}=e,o={},i="/",a=[];for(let e=0;enull==e?"":"string"==typeof e?e:String(e);return n+r.split(/\/+/).map(((e,r,n)=>{if(r===n.length-1&&"*"===e){return o(t["*"])}const i=e.match(/^:([\w-]+)(\??)$/);if(i){const[,e,r]=i;let n=t[e];return c("?"===r||null!=n,'Missing ":'+e+'" param'),o(n)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{let{paramName:n,isOptional:o}=t;if("*"===n){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[n]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function I(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function N(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?h(e):e,i=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:i,search:G(n),hash:W(o)}}function $(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function B(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function F(e,t){let r=B(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}function Q(e,t,r,o){let i;void 0===o&&(o=!1),"string"==typeof e?i=h(e):(i=n({},e),c(!i.pathname||!i.pathname.includes("?"),$("?","pathname","search",i)),c(!i.pathname||!i.pathname.includes("#"),$("#","pathname","hash",i)),c(!i.search||!i.search.includes("#"),$("#","search","hash",i)));let a,s=""===e||""===i.pathname,l=s?"/":i.pathname;if(null==l)a=r;else{let e=t.length-1;if(!o&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=N(i,a),f=l&&"/"!==l&&l.endsWith("/"),d=(s||"."===l)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}function V(e){return""===e||""===e.pathname?"/":"string"==typeof e?h(e).pathname:e.pathname}const z=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),G=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",W=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",X=function(e,t){void 0===t&&(t={});let r="number"==typeof t?{status:t}:t,o=new Headers(r.headers);return o.has("Content-Type")||o.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),n({},r,{headers:o}))};class q{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}}function H(e,t){return new q(e,"number"==typeof t?{status:t}:t)}class Z extends Error{}class Y{constructor(e,t){let r;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],c(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise(((e,t)=>r=t)),this.controller=new AbortController;let n=()=>r(new Z("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",n),this.controller.signal.addEventListener("abort",n),this.data=Object.entries(e).reduce(((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:this.trackPromise(r,n)})}),{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then((t=>this.onSettle(r,e,void 0,t)),(t=>this.onSettle(r,e,t)));return r.catch((()=>{})),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,n){if(this.controller.signal.aborted&&r instanceof Z)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){let r=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)}return void 0===n?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>n}),this.emit(!1,t),n)}emit(e,t){this.subscribers.forEach((r=>r(e,t)))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach(((e,t)=>this.pendingKeysSet.delete(t))),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise((t=>{this.subscribe((n=>{e.removeEventListener("abort",r),(n||this.done)&&t(n)}))}))}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return c(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(((e,t)=>{let[r,n]=t;return Object.assign(e,{[r]:K(n)})}),{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function K(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}const J=function(e,t){return void 0===t&&(t={}),new Y(e,"number"==typeof t?{status:t}:t)},ee=function(e,t){void 0===t&&(t=302);let r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);let o=new Headers(r.headers);return o.set("Location",e),new Response(null,n({},r,{headers:o}))},te=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},re=(e,t)=>{let r=ee(e,t);return r.headers.set("X-Remix-Replace","true"),r};class ne{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function oe(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const ie=["post","put","patch","delete"],ae=new Set(ie),se=["get",...ie],le=new Set(se),ce=new Set([301,302,303,307,308]),ue=new Set([307,308]),fe={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},de={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},pe={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},he=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,me=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ge="remix-router-transitions";function ye(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,r=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,i=!r;let a;if(c(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=me;let s,l,f,p={},h=v(e.routes,a,void 0,p),m=e.basename||"/",y=e.dataStrategy||Ae,S=e.patchRoutesOnNavigation,E=n({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),x=null,P=new Set,T=null,j=null,C=null,k=null!=e.hydrationData,_=b(h,e.history.location,m),A=null;if(null==_&&!S){let t=Ge(404,{pathname:e.history.location.pathname}),{matches:r,route:n}=Ue(h);_=r,A={[n.id]:t}}if(_&&!e.hydrationData){et(_,h,e.history.location.pathname).active&&(_=null)}if(_)if(_.some((e=>e.route.lazy)))l=!1;else if(_.some((e=>e.route.loader)))if(E.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,r=e.hydrationData?e.hydrationData.errors:null;if(r){let e=_.findIndex((e=>void 0!==r[e.route.id]));l=_.slice(0,e+1).every((e=>!Te(e.route,t,r)))}else l=_.every((e=>!Te(e.route,t,r)))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,_=[],E.v7_partialHydration){let t=et(null,h,e.history.location.pathname);t.active&&t.matches&&(_=t.matches)}let D,R,L={historyAction:e.history.action,location:e.history.location,matches:_,initialized:l,navigation:fe,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||A,fetchers:new Map,blockers:new Map},M=o.Pop,N=!1,$=!1,B=new Map,F=null,Q=!1,V=!1,z=[],U=new Set,G=new Map,W=0,X=-1,q=new Map,H=new Set,Z=new Map,Y=new Map,K=new Set,J=new Map,ee=new Map;function te(e,t){void 0===t&&(t={}),L=n({},L,e);let r=[],o=[];E.v7_fetcherPersist&&L.fetchers.forEach(((e,t)=>{"idle"===e.state&&(K.has(t)?o.push(t):r.push(t))})),[...P].forEach((e=>e(L,{deletedFetchers:o,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),E.v7_fetcherPersist&&(r.forEach((e=>L.fetchers.delete(e))),o.forEach((e=>Oe(e))))}function re(t,r,i){var a,l;let c,{flushSync:u}=void 0===i?{}:i,f=null!=L.actionData&&null!=L.navigation.formMethod&&rt(L.navigation.formMethod)&&"loading"===L.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);c=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:f?L.actionData:null;let d=r.loaderData?Qe(L.loaderData,r.loaderData,r.matches||[],r.errors):L.loaderData,p=L.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,pe))));let m,g=!0===N||null!=L.navigation.formMethod&&rt(L.navigation.formMethod)&&!0!==(null==(l=t.state)?void 0:l._isRedirect);if(s&&(h=s,s=void 0),Q||M===o.Pop||(M===o.Push?e.history.push(t,t.state):M===o.Replace&&e.history.replace(t,t.state)),M===o.Pop){let e=B.get(L.location.pathname);e&&e.has(t.pathname)?m={currentLocation:L.location,nextLocation:t}:B.has(t.pathname)&&(m={currentLocation:t,nextLocation:L.location})}else if($){let e=B.get(L.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),B.set(L.location.pathname,e)),m={currentLocation:L.location,nextLocation:t}}te(n({},r,{actionData:c,loaderData:d,historyAction:M,location:t,initialized:!0,navigation:fe,revalidation:"idle",restoreScrollPosition:Je(t,r.matches||L.matches),preventScrollReset:g,blockers:p}),{viewTransitionOpts:m,flushSync:!0===u}),M=o.Pop,N=!1,$=!1,Q=!1,V=!1,z=[]}async function ne(t,r,i){D&&D.abort(),D=null,M=t,Q=!0===(i&&i.startUninterruptedRevalidation),function(e,t){if(T&&C){let r=Ke(e,t);T[r]=C()}}(L.location,L.matches),N=!0===(i&&i.preventScrollReset),$=!0===(i&&i.enableViewTransition);let a=s||h,l=i&&i.overrideNavigation,c=b(a,r,m),u=!0===(i&&i.flushSync),f=et(c,a,r.pathname);if(f.active&&f.matches&&(c=f.matches),!c){let{error:e,notFoundMatches:t,route:n}=Be(r.pathname);return void re(r,{matches:t,loaderData:{},errors:{[n.id]:e}},{flushSync:u})}if(L.initialized&&!V&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(L.location,r)&&!(i&&i.submission&&rt(i.submission.formMethod)))return void re(r,{matches:c},{flushSync:u});D=new AbortController;let d,p=Ie(e.history,r,D.signal,i&&i.submission);if(i&&i.pendingError)d=[ze(c).route.id,{type:g.error,error:i.pendingError}];else if(i&&i.submission&&rt(i.submission.formMethod)){let t=await async function(e,t,r,n,i,a){void 0===a&&(a={});ce();let s,l=function(e,t){let r={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return r}(t,r);if(te({navigation:l},{flushSync:!0===a.flushSync}),i){let r=await tt(n,t.pathname,e.signal);if("aborted"===r.type)return{shortCircuited:!0};if("error"===r.type){let e=ze(r.partialMatches).route.id;return{matches:r.partialMatches,pendingActionResult:[e,{type:g.error,error:r.error}]}}if(!r.matches){let{notFoundMatches:e,error:r,route:n}=Be(t.pathname);return{matches:e,pendingActionResult:[n.id,{type:g.error,error:r}]}}n=r.matches}let c=st(n,t);if(c.route.action||c.route.lazy){if(s=(await se("action",L,e,[c],n,null))[c.route.id],e.signal.aborted)return{shortCircuited:!0}}else s={type:g.error,error:Ge(405,{method:e.method,pathname:t.pathname,routeId:c.route.id})};if(Ye(s)){let t;if(a&&null!=a.replace)t=a.replace;else{t=Me(s.response.headers.get("Location"),new URL(e.url),m)===L.location.pathname+L.location.search}return await ae(e,s,!0,{submission:r,replace:t}),{shortCircuited:!0}}if(He(s))throw Ge(400,{type:"defer-action"});if(Ze(s)){let e=ze(n,c.route.id);return!0!==(a&&a.replace)&&(M=o.Push),{matches:n,pendingActionResult:[e.route.id,s]}}return{matches:n,pendingActionResult:[c.route.id,s]}}(p,r,i.submission,c,f.active,{replace:i.replace,flushSync:u});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,n]=t.pendingActionResult;if(Ze(n)&&oe(n.error)&&404===n.error.status)return D=null,void re(r,{matches:t.matches,loaderData:{},errors:{[e]:n.error}})}c=t.matches||c,d=t.pendingActionResult,l=ct(r,i.submission),u=!1,f.active=!1,p=Ie(e.history,p.url,p.signal)}let{shortCircuited:y,matches:v,loaderData:O,errors:w}=await async function(t,r,o,i,a,l,c,u,f,d,p){let g=a||ct(r,l),y=l||c||lt(g),v=!(Q||E.v7_partialHydration&&f);if(i){if(v){let e=ie(p);te(n({navigation:g},void 0!==e?{actionData:e}:{}),{flushSync:d})}let e=await tt(o,r.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=ze(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:n}=Be(r.pathname);return{matches:t,loaderData:{},errors:{[n.id]:e}}}o=e.matches}let b=s||h,[O,w]=Pe(e.history,L,o,y,r,E.v7_partialHydration&&!0===f,E.v7_skipActionErrorRevalidation,V,z,U,K,Z,H,b,m,p);if(Xe((e=>!(o&&o.some((t=>t.route.id===e)))||O&&O.some((t=>t.route.id===e)))),X=++W,0===O.length&&0===w.length){let e=je();return re(r,n({matches:o,loaderData:{},errors:p&&Ze(p[1])?{[p[0]]:p[1].error}:null},Ve(p),e?{fetchers:new Map(L.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(v){let e={};if(!i){e.navigation=g;let t=ie(p);void 0!==t&&(e.actionData=t)}w.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=L.fetchers.get(e.key),r=ut(void 0,t?t.data:void 0);L.fetchers.set(e.key,r)})),new Map(L.fetchers)}(w)),te(e,{flushSync:d})}w.forEach((e=>{we(e.key),e.controller&&G.set(e.key,e.controller)}));let S=()=>w.forEach((e=>we(e.key)));D&&D.signal.addEventListener("abort",S);let{loaderResults:x,fetcherResults:P}=await le(L,o,O,w,t);if(t.signal.aborted)return{shortCircuited:!0};D&&D.signal.removeEventListener("abort",S);w.forEach((e=>G.delete(e.key)));let T=We(x);if(T)return await ae(t,T.result,!0,{replace:u}),{shortCircuited:!0};if(T=We(P),T)return H.add(T.key),await ae(t,T.result,!0,{replace:u}),{shortCircuited:!0};let{loaderData:j,errors:C}=Fe(L,o,x,p,w,P,J);J.forEach(((e,t)=>{e.subscribe((r=>{(r||e.done)&&J.delete(t)}))})),E.v7_partialHydration&&f&&L.errors&&(C=n({},L.errors,C));let k=je(),_=Ce(X),A=k||_||w.length>0;return n({matches:o,loaderData:j,errors:C},A?{fetchers:new Map(L.fetchers)}:{})}(p,r,c,f.active,l,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,u,d);y||(D=null,re(r,n({matches:v||c},Ve(d),{loaderData:O,errors:w})))}function ie(e){return e&&!Ze(e[1])?{[e[0]]:e[1].data}:L.actionData?0===Object.keys(L.actionData).length?null:L.actionData:void 0}async function ae(i,a,s,l){let{submission:u,fetcherSubmission:f,preventScrollReset:p,replace:h}=void 0===l?{}:l;a.response.headers.has("X-Remix-Revalidate")&&(V=!0);let g=a.response.headers.get("Location");c(g,"Expected a Location header on the redirect Response"),g=Me(g,new URL(i.url),m);let y=d(L.location,g,{_isRedirect:!0});if(r){let r=!1;if(a.response.headers.has("X-Remix-Reload-Document"))r=!0;else if(he.test(g)){const n=e.history.createURL(g);r=n.origin!==t.location.origin||null==I(n.pathname,m)}if(r)return void(h?t.location.replace(g):t.location.assign(g))}D=null;let v=!0===h||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:O,formEncType:w}=L.navigation;!u&&!f&&b&&O&&w&&(u=lt(L.navigation));let S=u||f;if(ue.has(a.response.status)&&S&&rt(S.formMethod))await ne(v,y,{submission:n({},S,{formAction:g}),preventScrollReset:p||N,enableViewTransition:s?$:void 0});else{let e=ct(y,u);await ne(v,y,{overrideNavigation:e,fetcherSubmission:f,preventScrollReset:p||N,enableViewTransition:s?$:void 0})}}async function se(e,t,r,n,o,i){let s,l={};try{s=await De(y,e,t,r,n,o,i,p,a)}catch(e){return n.forEach((t=>{l[t.route.id]={type:g.error,error:e}})),l}for(let[e,t]of Object.entries(s))if(qe(t)){let n=t.result;l[e]={type:g.redirect,response:Le(n,r,e,o,m,E.v7_relativeSplatPath)}}else l[e]=await Re(t);return l}async function le(t,r,n,o,i){let a=t.matches,s=se("loader",t,i,n,r,null),l=Promise.all(o.map((async r=>{if(r.matches&&r.match&&r.controller){let n=(await se("loader",t,Ie(e.history,r.path,r.controller.signal),[r.match],r.matches,r.key))[r.match.route.id];return{[r.key]:n}}return Promise.resolve({[r.key]:{type:g.error,error:Ge(404,{pathname:r.path})}})}))),c=await s,u=(await l).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([nt(r,c,i.signal,a,t.loaderData),ot(r,u,o)]),{loaderResults:c,fetcherResults:u}}function ce(){V=!0,z.push(...Xe()),Z.forEach(((e,t)=>{G.has(t)&&U.add(t),we(t)}))}function ye(e,t,r){void 0===r&&(r={}),L.fetchers.set(e,t),te({fetchers:new Map(L.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function ve(e,t,r,n){void 0===n&&(n={});let o=ze(L.matches,t);Oe(e),te({errors:{[o.route.id]:r},fetchers:new Map(L.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function be(e){return E.v7_fetcherPersist&&(Y.set(e,(Y.get(e)||0)+1),K.has(e)&&K.delete(e)),L.fetchers.get(e)||de}function Oe(e){let t=L.fetchers.get(e);!G.has(e)||t&&"loading"===t.state&&q.has(e)||we(e),Z.delete(e),q.delete(e),H.delete(e),K.delete(e),U.delete(e),L.fetchers.delete(e)}function we(e){let t=G.get(e);t&&(t.abort(),G.delete(e))}function xe(e){for(let t of e){let e=ft(be(t).data);L.fetchers.set(t,e)}}function je(){let e=[],t=!1;for(let r of H){let n=L.fetchers.get(r);c(n,"Expected fetcher: "+r),"loading"===n.state&&(H.delete(r),e.push(r),t=!0)}return xe(e),t}function Ce(e){let t=[];for(let[r,n]of q)if(n0}function _e(e){L.blockers.delete(e),ee.delete(e)}function Ne(e,t){let r=L.blockers.get(e)||pe;c("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);let n=new Map(L.blockers);n.set(e,t),te({blockers:n})}function $e(e){let{currentLocation:t,nextLocation:r,historyAction:n}=e;if(0===ee.size)return;ee.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(ee.entries()),[i,a]=o[o.length-1],s=L.blockers.get(i);return s&&"proceeding"===s.state?void 0:a({currentLocation:t,nextLocation:r,historyAction:n})?i:void 0}function Be(e){let t=Ge(404,{pathname:e}),r=s||h,{matches:n,route:o}=Ue(r);return Xe(),{notFoundMatches:n,route:o,error:t}}function Xe(e){let t=[];return J.forEach(((r,n)=>{e&&!e(n)||(r.cancel(),t.push(n),J.delete(n))})),t}function Ke(e,t){if(j){return j(e,t.map((e=>w(e,L.loaderData))))||e.key}return e.key}function Je(e,t){if(T){let r=Ke(e,t),n=T[r];if("number"==typeof n)return n}return null}function et(e,t,r){if(S){if(!e){return{active:!0,matches:O(t,r,m,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:O(t,r,m,!0)}}}return{active:!1,matches:null}}async function tt(e,t,r){if(!S)return{type:"success",matches:e};let n=e;for(;;){let e=null==s,o=s||h,i=p;try{await S({path:t,matches:n,patch:(e,t)=>{r.aborted||ke(e,t,o,i,a)}})}catch(e){return{type:"error",error:e,partialMatches:n}}finally{e&&!r.aborted&&(h=[...h])}if(r.aborted)return{type:"aborted"};let l=b(o,t,m);if(l)return{type:"success",matches:l};let c=O(o,t,m,!0);if(!c||n.length===c.length&&n.every(((e,t)=>e.route.id===c[t].route.id)))return{type:"success",matches:null};n=c}}return f={get basename(){return m},get future(){return E},get state(){return L},get routes(){return h},get window(){return t},initialize:function(){if(x=e.history.listen((t=>{let{action:r,location:n,delta:o}=t;if(R)return R(),void(R=void 0);u(0===ee.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=$e({currentLocation:L.location,nextLocation:n,historyAction:r});if(i&&null!=o){let t=new Promise((e=>{R=e}));return e.history.go(-1*o),void Ne(i,{state:"blocked",location:n,proceed(){Ne(i,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),t.then((()=>e.history.go(o)))},reset(){let e=new Map(L.blockers);e.set(i,pe),te({blockers:e})}})}return ne(r,n)})),r){!function(e,t){try{let r=e.sessionStorage.getItem(ge);if(r){let e=JSON.parse(r);for(let[r,n]of Object.entries(e||{}))n&&Array.isArray(n)&&t.set(r,new Set(n||[]))}}catch(e){}}(t,B);let e=()=>function(e,t){if(t.size>0){let r={};for(let[e,n]of t)r[e]=[...n];try{e.sessionStorage.setItem(ge,JSON.stringify(r))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,B);t.addEventListener("pagehide",e),F=()=>t.removeEventListener("pagehide",e)}return L.initialized||ne(o.Pop,L.location,{initialHydration:!0}),f},subscribe:function(e){return P.add(e),()=>P.delete(e)},enableScrollRestoration:function(e,t,r){if(T=e,C=t,j=r||null,!k&&L.navigation===fe){k=!0;let e=Je(L.location,L.matches);null!=e&&te({restoreScrollPosition:e})}return()=>{T=null,C=null,j=null}},navigate:async function t(r,i){if("number"==typeof r)return void e.history.go(r);let a=Se(L.location,L.matches,m,E.v7_prependBasename,r,E.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:s,submission:l,error:c}=Ee(E.v7_normalizeFormMethod,!1,a,i),u=L.location,f=d(L.location,s,i&&i.state);f=n({},f,e.history.encodeLocation(f));let p=i&&null!=i.replace?i.replace:void 0,h=o.Push;!0===p?h=o.Replace:!1===p||null!=l&&rt(l.formMethod)&&l.formAction===L.location.pathname+L.location.search&&(h=o.Replace);let g=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,y=!0===(i&&i.flushSync),v=$e({currentLocation:u,nextLocation:f,historyAction:h});if(!v)return await ne(h,f,{submission:l,pendingError:c,preventScrollReset:g,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:y});Ne(v,{state:"blocked",location:f,proceed(){Ne(v,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(r,i)},reset(){let e=new Map(L.blockers);e.set(v,pe),te({blockers:e})}})},fetch:function(t,r,n,o){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");we(t);let a=!0===(o&&o.flushSync),l=s||h,u=Se(L.location,L.matches,m,E.v7_prependBasename,n,E.v7_relativeSplatPath,r,null==o?void 0:o.relative),f=b(l,u,m),d=et(f,l,u);if(d.active&&d.matches&&(f=d.matches),!f)return void ve(t,r,Ge(404,{pathname:u}),{flushSync:a});let{path:p,submission:g,error:y}=Ee(E.v7_normalizeFormMethod,!0,u,o);if(y)return void ve(t,r,y,{flushSync:a});let v=st(f,p),O=!0===(o&&o.preventScrollReset);g&&rt(g.formMethod)?async function(t,r,n,o,i,a,l,u,f){function d(e){if(!e.route.action&&!e.route.lazy){let e=Ge(405,{method:f.formMethod,pathname:n,routeId:r});return ve(t,r,e,{flushSync:l}),!0}return!1}if(ce(),Z.delete(t),!a&&d(o))return;let p=L.fetchers.get(t);ye(t,function(e,t){let r={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return r}(f,p),{flushSync:l});let g=new AbortController,y=Ie(e.history,n,g.signal,f);if(a){let e=await tt(i,n,y.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,r,e.error,{flushSync:l});if(!e.matches)return void ve(t,r,Ge(404,{pathname:n}),{flushSync:l});if(d(o=st(i=e.matches,n)))return}G.set(t,g);let v=W,O=await se("action",L,y,[o],i,t),w=O[o.route.id];if(y.signal.aborted)return void(G.get(t)===g&&G.delete(t));if(E.v7_fetcherPersist&&K.has(t)){if(Ye(w)||Ze(w))return void ye(t,ft(void 0))}else{if(Ye(w))return G.delete(t),X>v?void ye(t,ft(void 0)):(H.add(t),ye(t,ut(f)),ae(y,w,!1,{fetcherSubmission:f,preventScrollReset:u}));if(Ze(w))return void ve(t,r,w.error)}if(He(w))throw Ge(400,{type:"defer-action"});let S=L.navigation.location||L.location,x=Ie(e.history,S,g.signal),P=s||h,T="idle"!==L.navigation.state?b(P,L.navigation.location,m):L.matches;c(T,"Didn't find any matches after fetcher action");let j=++W;q.set(t,j);let C=ut(f,w.data);L.fetchers.set(t,C);let[k,_]=Pe(e.history,L,T,f,S,!1,E.v7_skipActionErrorRevalidation,V,z,U,K,Z,H,P,m,[o.route.id,w]);_.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,r=L.fetchers.get(t),n=ut(void 0,r?r.data:void 0);L.fetchers.set(t,n),we(t),e.controller&&G.set(t,e.controller)})),te({fetchers:new Map(L.fetchers)});let A=()=>_.forEach((e=>we(e.key)));g.signal.addEventListener("abort",A);let{loaderResults:R,fetcherResults:I}=await le(L,T,k,_,x);if(g.signal.aborted)return;g.signal.removeEventListener("abort",A),q.delete(t),G.delete(t),_.forEach((e=>G.delete(e.key)));let N=We(R);if(N)return ae(x,N.result,!1,{preventScrollReset:u});if(N=We(I),N)return H.add(N.key),ae(x,N.result,!1,{preventScrollReset:u});let{loaderData:$,errors:B}=Fe(L,T,R,void 0,_,I,J);if(L.fetchers.has(t)){let e=ft(w.data);L.fetchers.set(t,e)}Ce(j),"loading"===L.navigation.state&&j>X?(c(M,"Expected pending action"),D&&D.abort(),re(L.navigation.location,{matches:T,loaderData:$,errors:B,fetchers:new Map(L.fetchers)})):(te({errors:B,loaderData:Qe(L.loaderData,$,T,B),fetchers:new Map(L.fetchers)}),V=!1)}(t,r,p,v,f,d.active,a,O,g):(Z.set(t,{routeId:r,path:p}),async function(t,r,n,o,i,a,s,l,u){let f=L.fetchers.get(t);ye(t,ut(u,f?f.data:void 0),{flushSync:s});let d=new AbortController,p=Ie(e.history,n,d.signal);if(a){let e=await tt(i,n,p.signal);if("aborted"===e.type)return;if("error"===e.type)return void ve(t,r,e.error,{flushSync:s});if(!e.matches)return void ve(t,r,Ge(404,{pathname:n}),{flushSync:s});o=st(i=e.matches,n)}G.set(t,d);let h=W,m=await se("loader",L,p,[o],i,t),g=m[o.route.id];He(g)&&(g=await it(g,p.signal,!0)||g);G.get(t)===d&&G.delete(t);if(p.signal.aborted)return;if(K.has(t))return void ye(t,ft(void 0));if(Ye(g))return X>h?void ye(t,ft(void 0)):(H.add(t),void await ae(p,g,!1,{preventScrollReset:l}));if(Ze(g))return void ve(t,r,g.error);c(!He(g),"Unhandled fetcher deferred data"),ye(t,ft(g.data))}(t,r,p,v,f,d.active,a,O,g))},revalidate:function(){ce(),te({revalidation:"loading"}),"submitting"!==L.navigation.state&&("idle"!==L.navigation.state?ne(M||L.historyAction,L.navigation.location,{overrideNavigation:L.navigation,enableViewTransition:!0===$}):ne(L.historyAction,L.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:be,deleteFetcher:function(e){if(E.v7_fetcherPersist){let t=(Y.get(e)||0)-1;t<=0?(Y.delete(e),K.add(e)):Y.set(e,t)}else Oe(e);te({fetchers:new Map(L.fetchers)})},dispose:function(){x&&x(),F&&F(),P.clear(),D&&D.abort(),L.fetchers.forEach(((e,t)=>Oe(t))),L.blockers.forEach(((e,t)=>_e(t)))},getBlocker:function(e,t){let r=L.blockers.get(e)||pe;return ee.get(e)!==t&&ee.set(e,t),r},deleteBlocker:_e,patchRoutes:function(e,t){let r=null==s;ke(e,t,s||h,p,a),r&&(h=[...h],te({}))},_internalFetchControllers:G,_internalActiveDeferreds:J,_internalSetRoutes:function(e){p={},s=v(e,a,void 0,p)}},f}const ve=Symbol("deferred");function be(e,t){c(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let r,o={},i=(t?t.basename:null)||"/";if(null!=t&&t.mapRouteProperties)r=t.mapRouteProperties;else if(null!=t&&t.detectErrorBoundary){let e=t.detectErrorBoundary;r=t=>({hasErrorBoundary:e(t)})}else r=me;let a=n({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},t?t.future:null),s=v(e,r,void 0,o);async function l(e,t,r,o,i,s,l){c(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(rt(e.method.toLowerCase())){let c=await async function(e,t,r,o,i,s,l){let c;if(r.route.action||r.route.lazy){c=(await f("action",e,[r],t,l,o,i))[r.route.id],e.signal.aborted&&we(e,l,a)}else{let t=Ge(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:r.route.id});if(l)throw t;c={type:g.error,error:t}}if(Ye(c))throw new Response(null,{status:c.response.status,headers:{Location:c.response.headers.get("Location")}});if(He(c)){let e=Ge(400,{type:"defer-action"});if(l)throw e;c={type:g.error,error:e}}if(l){if(Ze(c))throw c.error;return{matches:[r],loaderData:{},actionData:{[r.route.id]:c.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let d=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal});if(Ze(c)){let e=s?r:ze(t,r.route.id);return n({},await u(d,t,o,i,s,null,[e.route.id,c]),{statusCode:oe(c.error)?c.error.status:null!=c.statusCode?c.statusCode:500,actionData:null,actionHeaders:n({},c.headers?{[r.route.id]:c.headers}:{})})}let p=await u(d,t,o,i,s,null);return n({},p,{actionData:{[r.route.id]:c.data}},c.statusCode?{statusCode:c.statusCode}:{},{actionHeaders:c.headers?{[r.route.id]:c.headers}:{}})}(e,r,l||st(r,t),o,i,s,null!=l);return c}let c=await u(e,r,o,i,s,l);return et(c)?c:n({},c,{actionData:null,actionHeaders:{}})}catch(e){if(null!=(d=e)&&"object"==typeof d&&"type"in d&&"result"in d&&(d.type===g.data||d.type===g.error)&&et(e.result)){if(e.type===g.error)throw e.result;return e.result}if(function(e){if(!et(e))return!1;let t=e.status,r=e.headers.get("Location");return t>=300&&t<=399&&null!=r}(e))return e;throw e}var d}async function u(e,t,r,o,i,s,l){let c=null!=s;if(c&&(null==s||!s.route.loader)&&(null==s||!s.route.lazy))throw Ge(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==s?void 0:s.route.id});let u=(s?[s]:l&&Ze(l[1])?xe(t,l[0]):t).filter((e=>e.route.loader||e.route.lazy));if(0===u.length)return{matches:t,loaderData:t.reduce(((e,t)=>Object.assign(e,{[t.route.id]:null})),{}),errors:l&&Ze(l[1])?{[l[0]]:l[1].error}:null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let d=await f("loader",e,u,t,c,r,o);e.signal.aborted&&we(e,c,a);let p=new Map,h=Be(t,d,l,p,i),m=new Set(u.map((e=>e.route.id)));return t.forEach((e=>{m.has(e.route.id)||(h.loaderData[e.route.id]=null)})),n({},h,{matches:t,activeDeferreds:p.size>0?Object.fromEntries(p.entries()):null})}async function f(e,t,n,s,l,c,u){let f=await De(u||Ae,e,null,t,n,s,null,o,r,c),d={};return await Promise.all(s.map((async e=>{if(!(e.route.id in f))return;let r=f[e.route.id];if(qe(r)){throw Le(r.result,t,e.route.id,s,i,a.v7_relativeSplatPath)}if(et(r.result)&&l)throw r;d[e.route.id]=await Re(r)}))),d}return{dataRoutes:s,query:async function(e,t){let{requestContext:r,skipLoaderErrorBubbling:o,dataStrategy:a}=void 0===t?{}:t,c=new URL(e.url),u=e.method,f=d("",p(c),null,"default"),h=b(s,f,i);if(!tt(u)&&"HEAD"!==u){let e=Ge(405,{method:u}),{matches:t,route:r}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[r.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!h){let e=Ge(404,{pathname:f.pathname}),{matches:t,route:r}=Ue(s);return{basename:i,location:f,matches:t,loaderData:{},actionData:null,errors:{[r.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let m=await l(e,f,h,r,a||null,!0===o,null);return et(m)?m:n({location:f,basename:i},m)},queryRoute:async function(e,t){let{routeId:r,requestContext:n,dataStrategy:o}=void 0===t?{}:t,a=new URL(e.url),c=e.method,u=d("",p(a),null,"default"),f=b(s,u,i);if(!tt(c)&&"HEAD"!==c&&"OPTIONS"!==c)throw Ge(405,{method:c});if(!f)throw Ge(404,{pathname:u.pathname});let h=r?f.find((e=>e.route.id===r)):st(f,u);if(r&&!h)throw Ge(403,{pathname:u.pathname,routeId:r});if(!h)throw Ge(404,{pathname:u.pathname});let m=await l(e,u,f,n,o||null,!1,h);if(et(m))return m;let g=m.errors?Object.values(m.errors)[0]:void 0;if(void 0!==g)throw g;if(m.actionData)return Object.values(m.actionData)[0];if(m.loaderData){var y;let e=Object.values(m.loaderData)[0];return null!=(y=m.activeDeferreds)&&y[h.route.id]&&(e[ve]=m.activeDeferreds[h.route.id]),e}}}}function Oe(e,t,r){return n({},t,{statusCode:oe(r)?r.status:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:r}})}function we(e,t,r){if(r.v7_throwAbortReason&&void 0!==e.signal.reason)throw e.signal.reason;throw new Error((t?"queryRoute":"query")+"() call aborted: "+e.method+" "+e.url)}function Se(e,t,r,n,o,i,a,s){let l,c;if(a){l=[];for(let e of t)if(l.push(e),e.route.id===a){c=e;break}}else l=t,c=t[t.length-1];let u=Q(o||".",F(l,i),I(e.pathname,r)||e.pathname,"path"===s);if(null==o&&(u.search=e.search,u.hash=e.hash),(null==o||""===o||"."===o)&&c){let e=at(u.search);if(c.route.index&&!e)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&e){let e=new URLSearchParams(u.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();u.search=r?"?"+r:""}}return n&&"/"!==r&&(u.pathname="/"===u.pathname?r:z([r,u.pathname])),p(u)}function Ee(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&!tt(n.formMethod))return{path:r,error:Ge(405,{method:n.formMethod})};let o,i,a=()=>({path:r,error:Ge(400,{type:"invalid-body"})}),s=n.formMethod||"get",l=e?s.toUpperCase():s.toLowerCase(),u=Xe(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!rt(l))return a();let e="string"==typeof n.body?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce(((e,t)=>{let[r,n]=t;return""+e+r+"="+n+"\n"}),""):String(n.body);return{path:r,submission:{formMethod:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===n.formEncType){if(!rt(l))return a();try{let e="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:l,formAction:u,formEncType:n.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(c("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Ne(n.formData),i=n.formData;else if(n.body instanceof FormData)o=Ne(n.body),i=n.body;else if(n.body instanceof URLSearchParams)o=n.body,i=$e(o);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(n.body),i=$e(o)}catch(e){return a()}let f={formMethod:l,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(rt(f.formMethod))return{path:r,submission:f};let d=h(r);return t&&d.search&&at(d.search)&&o.append("index",""),d.search="?"+o,{path:p(d),submission:f}}function xe(e,t,r){void 0===r&&(r=!1);let n=e.findIndex((e=>e.route.id===t));return n>=0?e.slice(0,r?n+1:n):e}function Pe(e,t,r,o,i,a,s,l,c,u,f,d,p,h,m,g){let y=g?Ze(g[1])?g[1].error:g[1].data:void 0,v=e.createURL(t.location),O=e.createURL(i),w=r;a&&t.errors?w=xe(r,Object.keys(t.errors)[0],!0):g&&Ze(g[1])&&(w=xe(r,g[0]));let S=g?g[1].statusCode:void 0,E=s&&S&&S>=400,x=w.filter(((e,r)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return Te(i,t.loaderData,t.errors);if(function(e,t,r){let n=!t||r.route.id!==t.route.id,o=void 0===e[r.route.id];return n||o}(t.loaderData,t.matches[r],e)||c.some((t=>t===e.route.id)))return!0;let s=t.matches[r],u=e;return Ce(e,n({currentUrl:v,currentParams:s.params,nextUrl:O,nextParams:u.params},o,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!E&&(l||v.pathname+v.search===O.pathname+O.search||v.search!==O.search||je(s,u))}))})),P=[];return d.forEach(((e,i)=>{if(a||!r.some((t=>t.route.id===e.routeId))||f.has(i))return;let s=b(h,e.path,m);if(!s)return void P.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let c=t.fetchers.get(i),d=st(s,e.path),g=!1;p.has(i)?g=!1:u.has(i)?(u.delete(i),g=!0):g=c&&"idle"!==c.state&&void 0===c.data?l:Ce(d,n({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:O,nextParams:r[r.length-1].params},o,{actionResult:y,actionStatus:S,defaultShouldRevalidate:!E&&l})),g&&P.push({key:i,routeId:e.routeId,path:e.path,matches:s,match:d,controller:new AbortController})})),[x,P]}function Te(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;let n=null!=t&&void 0!==t[e.id],o=null!=r&&void 0!==r[e.id];return!(!n&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!o)}function je(e,t){let r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ce(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function ke(e,t,r,n,o){var i;let a;if(e){let t=n[e];c(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=r;let s=v(t.filter((e=>!a.some((t=>_e(e,t))))),o,[e||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],n);a.push(...s)}function _e(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(((e,r)=>{var n;return null==(n=t.children)?void 0:n.some((t=>_e(e,t)))})))}async function Ae(e){let{matches:t}=e,r=t.filter((e=>e.shouldLoad));return(await Promise.all(r.map((e=>e.resolve())))).reduce(((e,t,n)=>Object.assign(e,{[r[n].route.id]:t})),{})}async function De(e,t,r,o,i,a,s,l,f,d){let p=a.map((e=>e.route.lazy?async function(e,t,r){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=r[e.id];c(i,"No route found in manifest");let a={};for(let e in o){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+i.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||y.has(e)||(a[e]=o[e])}Object.assign(i,a),Object.assign(i,n({},t(i),{lazy:void 0}))}(e.route,f,l):void 0)),h=a.map(((e,r)=>{let a=p[r],s=i.some((t=>t.route.id===e.route.id));return n({},e,{shouldLoad:s,resolve:async r=>(r&&"GET"===o.method&&(e.route.lazy||e.route.loader)&&(s=!0),s?async function(e,t,r,n,o,i){let a,s,l=n=>{let a,l=new Promise(((e,t)=>a=t));s=()=>a(),t.signal.addEventListener("abort",s);let c=o=>"function"!=typeof n?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+r.route.id+"]")):n({request:t,params:r.params,context:i},...void 0!==o?[o]:[]),u=(async()=>{try{return{type:"data",result:await(o?o((e=>c(e))):c())}}catch(e){return{type:"error",result:e}}})();return Promise.race([u,l])};try{let o=r.route[e];if(n)if(o){let e,[t]=await Promise.all([l(o).catch((t=>{e=t})),n]);if(void 0!==e)throw e;a=t}else{if(await n,o=r.route[e],!o){if("action"===e){let e=new URL(t.url),n=e.pathname+e.search;throw Ge(405,{method:t.method,pathname:n,routeId:r.route.id})}return{type:g.data,result:void 0}}a=await l(o)}else{if(!o){let e=new URL(t.url);throw Ge(404,{pathname:e.pathname+e.search})}a=await l(o)}c(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:g.error,result:e}}finally{s&&t.signal.removeEventListener("abort",s)}return a}(t,o,e,a,r,d):Promise.resolve({type:g.data,result:void 0}))})})),m=await e({matches:h,request:o,params:a[0].params,fetcherKey:s,context:d});try{await Promise.all(p)}catch(e){}return m}async function Re(e){let{result:t,type:r}=e;if(et(t)){let e;try{let r=t.headers.get("Content-Type");e=r&&/\bapplication\/json\b/.test(r)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:g.error,error:e}}return r===g.error?{type:g.error,error:new ne(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:g.data,data:e,statusCode:t.status,headers:t.headers}}if(r===g.error){if(Ke(t)){var n,o;if(t.data instanceof Error)return{type:g.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status};t=new ne((null==(n=t.init)?void 0:n.status)||500,void 0,t.data)}return{type:g.error,error:t,statusCode:oe(t)?t.status:void 0}}var i,a,s,l;return Je(t)?{type:g.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:Ke(t)?{type:g.data,data:t.data,statusCode:null==(s=t.init)?void 0:s.status,headers:null!=(l=t.init)&&l.headers?new Headers(t.init.headers):void 0}:{type:g.data,data:t}}function Le(e,t,r,n,o,i){let a=e.headers.get("Location");if(c(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!he.test(a)){let s=n.slice(0,n.findIndex((e=>e.route.id===r))+1);a=Se(new URL(t.url),s,o,!0,a,i),e.headers.set("Location",a)}return e}function Me(e,t,r){if(he.test(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=null!=I(o.pathname,r);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function Ie(e,t,r,n){let o=e.createURL(Xe(t)).toString(),i={signal:r};if(n&&rt(n.formMethod)){let{formMethod:e,formEncType:t}=n;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(n.json)):"text/plain"===t?i.body=n.text:"application/x-www-form-urlencoded"===t&&n.formData?i.body=Ne(n.formData):i.body=n.formData}return new Request(o,i)}function Ne(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,"string"==typeof n?n:n.name);return t}function $e(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function Be(e,t,r,n,o){let i,a={},s=null,l=!1,u={},f=r&&Ze(r[1])?r[1].error:void 0;return e.forEach((r=>{if(!(r.route.id in t))return;let d=r.route.id,p=t[d];if(c(!Ye(p),"Cannot handle redirect results in processLoaderData"),Ze(p)){let t=p.error;if(void 0!==f&&(t=f,f=void 0),s=s||{},o)s[d]=t;else{let r=ze(e,d);null==s[r.route.id]&&(s[r.route.id]=t)}a[d]=void 0,l||(l=!0,i=oe(p.error)?p.error.status:500),p.headers&&(u[d]=p.headers)}else He(p)?(n.set(d,p.deferredData),a[d]=p.deferredData.data,null==p.statusCode||200===p.statusCode||l||(i=p.statusCode),p.headers&&(u[d]=p.headers)):(a[d]=p.data,p.statusCode&&200!==p.statusCode&&!l&&(i=p.statusCode),p.headers&&(u[d]=p.headers))})),void 0!==f&&r&&(s={[r[0]]:f},a[r[0]]=void 0),{loaderData:a,errors:s,statusCode:i||200,loaderHeaders:u}}function Fe(e,t,r,o,i,a,s){let{loaderData:l,errors:u}=Be(t,r,o,s,!1);return i.forEach((t=>{let{key:r,match:o,controller:i}=t,s=a[r];if(c(s,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(Ze(s)){let t=ze(e.matches,null==o?void 0:o.route.id);u&&u[t.route.id]||(u=n({},u,{[t.route.id]:s.error})),e.fetchers.delete(r)}else if(Ye(s))c(!1,"Unhandled fetcher revalidation redirect");else if(He(s))c(!1,"Unhandled fetcher deferred data");else{let t=ft(s.data);e.fetchers.set(r,t)}})),{loaderData:l,errors:u}}function Qe(e,t,r,o){let i=n({},t);for(let n of r){let r=n.route.id;if(t.hasOwnProperty(r)?void 0!==t[r]&&(i[r]=t[r]):void 0!==e[r]&&n.route.loader&&(i[r]=e[r]),o&&o.hasOwnProperty(r))break}return i}function Ve(e){return e?Ze(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ze(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function Ue(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ge(e,t){let{pathname:r,routeId:n,method:o,type:i,message:a}=void 0===t?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return 400===e?(s="Bad Request",o&&r&&n?l="You made a "+o+' request to "'+r+'" but did not provide a `loader` for route "'+n+'", so there is no way to handle the request.':"defer-action"===i?l="defer() is not supported in actions":"invalid-body"===i&&(l="Unable to encode submission body")):403===e?(s="Forbidden",l='Route "'+n+'" does not match URL "'+r+'"'):404===e?(s="Not Found",l='No route matches URL "'+r+'"'):405===e&&(s="Method Not Allowed",o&&r&&n?l="You made a "+o.toUpperCase()+' request to "'+r+'" but did not provide an `action` for route "'+n+'", so there is no way to handle the request.':o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new ne(e||500,s,new Error(l),!0)}function We(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[r,n]=t[e];if(Ye(n))return{key:r,result:n}}}function Xe(e){return p(n({},"string"==typeof e?h(e):e,{hash:""}))}function qe(e){return et(e.result)&&ce.has(e.result.status)}function He(e){return e.type===g.deferred}function Ze(e){return e.type===g.error}function Ye(e){return(e&&e.type)===g.redirect}function Ke(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Je(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}function et(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function tt(e){return le.has(e.toLowerCase())}function rt(e){return ae.has(e.toLowerCase())}async function nt(e,t,r,n,o){let i=Object.entries(t);for(let a=0;a(null==e?void 0:e.route.id)===s));if(!c)continue;let u=n.find((e=>e.route.id===c.route.id)),f=null!=u&&!je(u,c)&&void 0!==(o&&o[c.route.id]);He(l)&&f&&await it(l,r,!1).then((e=>{e&&(t[s]=e)}))}}async function ot(e,t,r){for(let n=0;n(null==e?void 0:e.route.id)===i))&&(He(s)&&(c(a,"Expected an AbortController for revalidating fetcher deferred result"),await it(s,a.signal,!0).then((e=>{e&&(t[o]=e)}))))}}async function it(e,t,r){if(void 0===r&&(r=!1),!await e.deferredData.resolveData(t)){if(r)try{return{type:g.data,data:e.deferredData.unwrappedData}}catch(e){return{type:g.error,error:e}}return{type:g.data,data:e.deferredData.data}}}function at(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function st(e,t){let r="string"==typeof t?h(t).search:t.search;if(e[e.length-1].route.index&&at(r||""))return e[e.length-1];let n=B(e);return n[n.length-1]}function lt(e){let{formMethod:t,formAction:r,formEncType:n,text:o,formData:i,json:a}=e;if(t&&r&&n)return null!=o?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:r,formEncType:n,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:a,text:void 0}:void 0}function ct(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ut(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ft(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},94791:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>l});var n,o,i,a=r(49244);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(49244);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(49244);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>l});var n,o,i,a=r(49244);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>c});var n,o,i,a,s=r(49244);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>s});var n,o,i=r(49244);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>a});var n,o=r(49244);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{basicSetup:()=>u,minimalSetup:()=>f});var n=r(1371),o=r(6585),i=r(45230),a=r(54528),s=r(47404),l=r(15874),c=r(51419),u=function(e){void 0===e&&(e={});var{crosshairCursor:t=!1}=e,r=[];!1!==e.closeBracketsKeymap&&(r=r.concat(s.closeBracketsKeymap)),!1!==e.defaultKeymap&&(r=r.concat(i.defaultKeymap)),!1!==e.searchKeymap&&(r=r.concat(a.searchKeymap)),!1!==e.historyKeymap&&(r=r.concat(i.historyKeymap)),!1!==e.foldKeymap&&(r=r.concat(l.foldKeymap)),!1!==e.completionKeymap&&(r=r.concat(s.completionKeymap)),!1!==e.lintKeymap&&(r=r.concat(c.lintKeymap));var u=[];return!1!==e.lineNumbers&&u.push((0,n.lineNumbers)()),!1!==e.highlightActiveLineGutter&&u.push((0,n.highlightActiveLineGutter)()),!1!==e.highlightSpecialChars&&u.push((0,n.highlightSpecialChars)()),!1!==e.history&&u.push((0,i.history)()),!1!==e.foldGutter&&u.push((0,l.foldGutter)()),!1!==e.drawSelection&&u.push((0,n.drawSelection)()),!1!==e.dropCursor&&u.push((0,n.dropCursor)()),!1!==e.allowMultipleSelections&&u.push(o.EditorState.allowMultipleSelections.of(!0)),!1!==e.indentOnInput&&u.push((0,l.indentOnInput)()),!1!==e.syntaxHighlighting&&u.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),!1!==e.bracketMatching&&u.push((0,l.bracketMatching)()),!1!==e.closeBrackets&&u.push((0,s.closeBrackets)()),!1!==e.autocompletion&&u.push((0,s.autocompletion)()),!1!==e.rectangularSelection&&u.push((0,n.rectangularSelection)()),!1!==t&&u.push((0,n.crosshairCursor)()),!1!==e.highlightActiveLine&&u.push((0,n.highlightActiveLine)()),!1!==e.highlightSelectionMatches&&u.push((0,a.highlightSelectionMatches)()),e.tabSize&&"number"==typeof e.tabSize&&u.push(l.indentUnit.of(" ".repeat(e.tabSize))),u.concat([n.keymap.of(r.flat())]).filter(Boolean)},f=function(e){void 0===e&&(e={});var t=[];!1!==e.defaultKeymap&&(t=t.concat(i.defaultKeymap)),!1!==e.historyKeymap&&(t=t.concat(i.historyKeymap));var r=[];return!1!==e.highlightSpecialChars&&r.push((0,n.highlightSpecialChars)()),!1!==e.history&&r.push((0,i.history)()),!1!==e.drawSelection&&r.push((0,n.drawSelection)()),!1!==e.syntaxHighlighting&&r.push((0,l.syntaxHighlighting)(l.defaultHighlightStyle,{fallback:!0})),r.concat([n.keymap.of(t.flat())]).filter(Boolean)}},27804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{color:()=>a.color,defaultLightThemeOption:()=>l.defaultLightThemeOption,getDefaultExtensions:()=>c,oneDark:()=>a.oneDark,oneDarkHighlightStyle:()=>a.oneDarkHighlightStyle,oneDarkTheme:()=>a.oneDarkTheme});var n=r(45230),o=r(41369),i=r(1371),a=r(85109),s=r(6585),l=r(11917),c=function(e){void 0===e&&(e={});var{indentWithTab:t=!0,editable:r=!0,readOnly:c=!1,theme:u="light",placeholder:f="",basicSetup:d=!0}=e,p=[];switch(t&&p.unshift(i.keymap.of([n.indentWithTab])),d&&("boolean"==typeof d?p.unshift((0,o.basicSetup)()):p.unshift((0,o.basicSetup)(d))),f&&p.unshift((0,i.placeholder)(f)),u){case"light":p.push(l.defaultLightThemeOption);break;case"dark":p.push(a.oneDark);break;case"none":break;default:p.push(u)}return!1===r&&p.push(i.EditorView.editable.of(!1)),c&&p.push(s.EditorState.readOnly.of(!0)),[...p]}},31523:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Annotation:()=>c.Annotation,AnnotationType:()=>c.AnnotationType,BidiSpan:()=>l.BidiSpan,BlockInfo:()=>l.BlockInfo,BlockType:()=>l.BlockType,ChangeDesc:()=>c.ChangeDesc,ChangeSet:()=>c.ChangeSet,CharCategory:()=>c.CharCategory,Compartment:()=>c.Compartment,Decoration:()=>l.Decoration,Direction:()=>l.Direction,EditorSelection:()=>c.EditorSelection,EditorState:()=>c.EditorState,EditorView:()=>l.EditorView,Facet:()=>c.Facet,GutterMarker:()=>l.GutterMarker,Line:()=>c.Line,MapMode:()=>c.MapMode,MatchDecorator:()=>l.MatchDecorator,Prec:()=>c.Prec,Range:()=>c.Range,RangeSet:()=>c.RangeSet,RangeSetBuilder:()=>c.RangeSetBuilder,RangeValue:()=>c.RangeValue,RectangleMarker:()=>l.RectangleMarker,SelectionRange:()=>c.SelectionRange,StateEffect:()=>c.StateEffect,StateEffectType:()=>c.StateEffectType,StateField:()=>c.StateField,Text:()=>c.Text,Transaction:()=>c.Transaction,ViewPlugin:()=>l.ViewPlugin,ViewUpdate:()=>l.ViewUpdate,WidgetType:()=>l.WidgetType,__test:()=>l.__test,basicSetup:()=>u.basicSetup,closeHoverTooltips:()=>l.closeHoverTooltips,codePointAt:()=>c.codePointAt,codePointSize:()=>c.codePointSize,color:()=>f.color,combineConfig:()=>c.combineConfig,countColumn:()=>c.countColumn,crosshairCursor:()=>l.crosshairCursor,default:()=>m,defaultLightThemeOption:()=>f.defaultLightThemeOption,drawSelection:()=>l.drawSelection,dropCursor:()=>l.dropCursor,findClusterBreak:()=>c.findClusterBreak,findColumn:()=>c.findColumn,fromCodePoint:()=>c.fromCodePoint,getDefaultExtensions:()=>f.getDefaultExtensions,getDrawSelectionConfig:()=>l.getDrawSelectionConfig,getPanel:()=>l.getPanel,getStatistics:()=>d.getStatistics,getTooltip:()=>l.getTooltip,gutter:()=>l.gutter,gutterLineClass:()=>l.gutterLineClass,gutterWidgetClass:()=>l.gutterWidgetClass,gutters:()=>l.gutters,hasHoverTooltips:()=>l.hasHoverTooltips,highlightActiveLine:()=>l.highlightActiveLine,highlightActiveLineGutter:()=>l.highlightActiveLineGutter,highlightSpecialChars:()=>l.highlightSpecialChars,highlightTrailingWhitespace:()=>l.highlightTrailingWhitespace,highlightWhitespace:()=>l.highlightWhitespace,hoverTooltip:()=>l.hoverTooltip,keymap:()=>l.keymap,layer:()=>l.layer,lineNumberMarkers:()=>l.lineNumberMarkers,lineNumberWidgetMarker:()=>l.lineNumberWidgetMarker,lineNumbers:()=>l.lineNumbers,logException:()=>l.logException,minimalSetup:()=>u.minimalSetup,oneDark:()=>f.oneDark,oneDarkHighlightStyle:()=>f.oneDarkHighlightStyle,oneDarkTheme:()=>f.oneDarkTheme,panels:()=>l.panels,placeholder:()=>l.placeholder,rectangularSelection:()=>l.rectangularSelection,repositionTooltips:()=>l.repositionTooltips,runScopeHandlers:()=>l.runScopeHandlers,scrollPastEnd:()=>l.scrollPastEnd,showPanel:()=>l.showPanel,showTooltip:()=>l.showTooltip,tooltips:()=>l.tooltips,useCodeMirror:()=>a.useCodeMirror});var n=r(58168),o=r(98587),i=r(49244),a=r(67246),s=r(74848),l=r(1371),c=r(6585),u=r(41369),f=r(27804),d=r(25758),p=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],h=(0,i.forwardRef)(((e,t)=>{var{className:r,value:l="",selection:c,extensions:u=[],onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,autoFocus:g,theme:y="light",height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:E,basicSetup:x,placeholder:P,indentWithTab:T,editable:j,readOnly:C,root:k,initialState:_}=e,A=(0,o.default)(e,p),D=(0,i.useRef)(null),{state:R,view:L,container:M}=(0,a.useCodeMirror)({container:D.current,root:k,value:l,autoFocus:g,theme:y,height:v,minHeight:b,maxHeight:O,width:w,minWidth:S,maxWidth:E,basicSetup:x,placeholder:P,indentWithTab:T,editable:j,readOnly:C,selection:c,onChange:f,onStatistics:d,onCreateEditor:h,onUpdate:m,extensions:u,initialState:_});if((0,i.useImperativeHandle)(t,(()=>({editor:D.current,state:R,view:L})),[D,M,R,L]),"string"!=typeof l)throw new Error("value must be typeof string but got "+typeof l);var I="string"==typeof y?"cm-theme-"+y:"cm-theme";return(0,s.jsx)("div",(0,n.default)({ref:D,className:I+(r?" "+r:"")},A))}));h.displayName="CodeMirror";const m=h},11917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultLightThemeOption:()=>n});var n=r(1371).EditorView.theme({"&":{backgroundColor:"#fff"}},{dark:!1})},67246:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCodeMirror:()=>u});var n=r(49244),o=r(6585),i=r(1371),a=r(27804),s=r(25758),l=o.Annotation.define(),c=[];function u(e){var{value:t,selection:r,onChange:u,onStatistics:f,onCreateEditor:d,onUpdate:p,extensions:h=c,autoFocus:m,theme:g="light",height:y=null,minHeight:v=null,maxHeight:b=null,width:O=null,minWidth:w=null,maxWidth:S=null,placeholder:E="",editable:x=!0,readOnly:P=!1,indentWithTab:T=!0,basicSetup:j=!0,root:C,initialState:k}=e,[_,A]=(0,n.useState)(),[D,R]=(0,n.useState)(),[L,M]=(0,n.useState)(),I=i.EditorView.theme({"&":{height:y,minHeight:v,maxHeight:b,width:O,minWidth:w,maxWidth:S},"& .cm-scroller":{height:"100% !important"}}),N=[i.EditorView.updateListener.of((e=>{if(e.docChanged&&"function"==typeof u&&!e.transactions.some((e=>e.annotation(l)))){var t=e.state.doc.toString();u(t,e)}f&&f((0,s.getStatistics)(e))})),I,...(0,a.getDefaultExtensions)({theme:g,editable:x,readOnly:P,placeholder:E,indentWithTab:T,basicSetup:j})];return p&&"function"==typeof p&&N.push(i.EditorView.updateListener.of(p)),N=N.concat(h),(0,n.useEffect)((()=>{if(_&&!L){var e={doc:t,selection:r,extensions:N},n=k?o.EditorState.fromJSON(k.json,e,k.fields):o.EditorState.create(e);if(M(n),!D){var a=new i.EditorView({state:n,parent:_,root:C});R(a),d&&d(a,n)}}return()=>{D&&(M(void 0),R(void 0))}}),[_,L]),(0,n.useEffect)((()=>A(e.container)),[e.container]),(0,n.useEffect)((()=>()=>{D&&(D.destroy(),R(void 0))}),[D]),(0,n.useEffect)((()=>{m&&D&&D.focus()}),[m,D]),(0,n.useEffect)((()=>{D&&D.dispatch({effects:o.StateEffect.reconfigure.of(N)})}),[g,h,y,v,b,O,w,S,E,x,P,T,j,u,p]),(0,n.useEffect)((()=>{if(void 0!==t){var e=D?D.state.doc.toString():"";D&&t!==e&&D.dispatch({changes:{from:0,to:e.length,insert:t||""},annotations:[l.of(!0)]})}}),[t,D]),{state:L,setState:M,view:D,setView:R,container:_,setContainer:A}}},25758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getStatistics:()=>n});var n=e=>({line:e.state.doc.lineAt(e.state.selection.main.from),lineCount:e.state.doc.lines,lineBreak:e.state.lineBreak,length:e.state.doc.length,readOnly:e.state.readOnly,tabSize:e.state.tabSize,selection:e.state.selection,selectionAsSingle:e.state.selection.asSingle().main,ranges:e.state.selection.ranges,selectionCode:e.state.sliceDoc(e.state.selection.main.from,e.state.selection.main.to),selections:e.state.selection.ranges.map((t=>e.state.sliceDoc(t.from,t.to))),selectedText:e.state.selection.ranges.some((e=>!e.empty))})},62897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(94241),i=r(76327);const a=e=>{const{space:t,form:r,children:a}=e;if(null==a)return null;let s=a;return r&&(s=n.createElement(o.NoFormStyle,{override:!0,status:!0},s)),t&&(s=n.createElement(i.NoCompactStyle,null,s)),s}},96311:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(49244),o=r(4732);const i=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:n.createElement(o.default,null)}),t}},23723:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,getTransitionName:()=>l});var n=r(68676);const o=()=>({height:0,opacity:0}),i=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},a=e=>({height:e?e.offsetHeight:0}),s=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,l=(e,t,r)=>void 0!==r?r:`${e}-${t}`,c=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.defaultPrefixCls}-motion-collapse`,onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:a,onLeaveActive:o,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}}},40682:(e,t,r)=>{"use strict";r.r(t),r.d(t,{cloneElement:()=>a,isFragment:()=>o,replaceElement:()=>i});var n=r(49244);function o(e){return e&&n.isValidElement(e)&&e.type===n.Fragment}const i=(e,t,r)=>n.isValidElement(e)?n.cloneElement(e,"function"==typeof r?r(e.props||{}):r):t;function a(e,t){return i(e,e,t)}},58182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getMergedStatus:()=>a,getStatusClassNames:()=>i});var n=r(46942),o=r.n(n);function i(e,t,r){return o()({[`${e}-status-success`]:"success"===t,[`${e}-status-warning`]:"warning"===t,[`${e}-status-error`]:"error"===t,[`${e}-status-validating`]:"validating"===t,[`${e}-has-feedback`]:r})}const a=(e,t)=>t||e},18877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WarningContext:()=>c,default:()=>f,devUseWarning:()=>u,noop:()=>i,resetWarned:()=>s});var n=r(49244),o=r(68210);function i(){}let a=null;function s(){a=null,(0,o.resetWarned)()}let l=i;const c=n.createContext({}),u=()=>{const e=()=>{};return e.deprecated=i,e},f=l},36055:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(49244),o=r(46942),i=r.n(o),a=r(30156),s=r(25371),l=r(14832),c=r(8719),u=r(4424),f=r(56411);function d(e){return Number.isNaN(e)?0:e}const p=e=>{const{className:t,target:r,component:o}=e,p=n.useRef(null),[h,m]=n.useState(null),[g,y]=n.useState([]),[v,b]=n.useState(0),[O,w]=n.useState(0),[S,E]=n.useState(0),[x,P]=n.useState(0),[T,j]=n.useState(!1),C={left:v,top:O,width:S,height:x,borderRadius:g.map((e=>`${e}px`)).join(" ")};function k(){const e=getComputedStyle(r);m((0,f.getTargetWaveColor)(r));const t="static"===e.position,{borderLeftWidth:n,borderTopWidth:o}=e;b(t?r.offsetLeft:d(-parseFloat(n))),w(t?r.offsetTop:d(-parseFloat(o))),E(r.offsetWidth),P(r.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:s,borderBottomRightRadius:l}=e;y([i,a,l,s].map((e=>d(parseFloat(e)))))}if(h&&(C["--wave-color"]=h),n.useEffect((()=>{if(r){const e=(0,s.default)((()=>{k(),j(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(k),t.observe(r)),()=>{s.default.cancel(e),null==t||t.disconnect()}}}),[]),!T)return null;const _=("Checkbox"===o||"Radio"===o)&&(null==r?void 0:r.classList.contains(u.TARGET_CLS));return n.createElement(a.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var r;if(t.deadline||"opacity"===t.propertyName){const e=null===(r=p.current)||void 0===r?void 0:r.parentElement;(0,l.unmount)(e).then((()=>{null==e||e.remove()}))}return!1}},((e,r)=>{let{className:o}=e;return n.createElement("div",{ref:(0,c.composeRef)(p,r),className:i()(t,o,{"wave-quick":_}),style:C})}))},h=(e,t)=>{var r;const{component:o}=t;if("Checkbox"===o&&!(null===(r=e.querySelector("input"))||void 0===r?void 0:r.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",null==e||e.insertBefore(i,null==e?void 0:e.firstChild),(0,l.render)(n.createElement(p,Object.assign({},t,{target:e})),i)}},89555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(49244),o=r(46942),i=r.n(o),a=r(42467),s=r(8719),l=r(68676),c=r(40682),u=r(68790),f=r(57797);const d=e=>{const{children:t,disabled:r,component:o}=e,{getPrefixCls:d}=(0,n.useContext)(l.ConfigContext),p=(0,n.useRef)(null),h=d("wave"),[,m]=(0,u.default)(h),g=(0,f.default)(p,i()(h,m),o);if(n.useEffect((()=>{const e=p.current;if(!e||1!==e.nodeType||r)return;const t=t=>{!(0,a.default)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||g(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[r]),!n.isValidElement(t))return null!=t?t:null;const y=(0,s.supportRef)(t)?(0,s.composeRef)(t.ref,p):p;return(0,c.cloneElement)(t,{ref:y})}},4424:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TARGET_CLS:()=>n});const n=`${r(68676).defaultPrefixCls}-wave-target`},68790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(87892);const o=e=>{const{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},i=(0,n.genComponentStyleHook)("Wave",(e=>[o(e)]))},57797:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(49244),o=r(26956),i=r(25371),a=r(68676),s=r(93093),l=r(4424),c=r(36055);const u=(e,t,r)=>{const{wave:u}=n.useContext(a.ConfigContext),[,f,d]=(0,s.default)(),p=(0,o.default)((n=>{const o=e.current;if((null==u?void 0:u.disabled)||!o)return;const i=o.querySelector(`.${l.TARGET_CLS}`)||o,{showEffect:a}=u||{};(a||c.default)(i,{className:t,token:f,component:r,event:n,hashId:d})})),h=n.useRef();return e=>{i.default.cancel(h.current),h.current=(0,i.default)((()=>{p(e)}))}}},56411:(e,t,r)=>{"use strict";function n(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function o(e){const{borderTopColor:t,borderColor:r,backgroundColor:o}=getComputedStyle(e);return n(t)?t:n(r)?r:n(o)?o:null}r.r(t),r.d(t,{getTargetWaveColor:()=>o,isValidWaveColor:()=>n})},26552:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(46942),i=r.n(o);const a=(0,n.forwardRef)(((e,t)=>{const{className:r,style:o,children:a,prefixCls:s}=e,l=i()(`${s}-icon`,r);return n.createElement("span",{ref:t,className:l,style:o},a)}))},54097:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(49244),o=r(36962),i=r(46942),a=r.n(i),s=r(30156),l=r(26552);const c=(0,n.forwardRef)(((e,t)=>{const{prefixCls:r,className:i,style:s,iconClassName:c}=e,u=a()(`${r}-loading-icon`,i);return n.createElement(l.default,{prefixCls:r,className:u,style:s,ref:t},n.createElement(o.default,{className:c}))})),u=()=>({width:0,opacity:0,transform:"scale(0)"}),f=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),d=e=>{const{prefixCls:t,loading:r,existIcon:o,className:i,style:a}=e,l=!!r;return o?n.createElement(c,{prefixCls:t,className:i,style:a}):n.createElement(s.default,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:u,onAppearActive:f,onEnterStart:u,onEnterActive:f,onLeaveStart:f,onLeaveActive:u},((e,r)=>{let{className:o,style:s}=e;return n.createElement(c,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),s),ref:r,iconClassName:o})}))}},26476:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GroupSizeContext:()=>c,default:()=>u});var n=r(49244),o=r(46942),i=r.n(o),a=(r(18877),r(68676)),s=r(87892),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:r}=n.useContext(a.ConfigContext),{prefixCls:o,size:u,className:f}=e,d=l(e,["prefixCls","size","className"]),p=t("btn-group",o),[,,h]=(0,s.useToken)();let m="";switch(u){case"large":m="lg";break;case"small":m="sm"}const g=i()(p,{[`${p}-${m}`]:m,[`${p}-rtl`]:"rtl"===r},f,h);return n.createElement(c.Provider,{value:u},n.createElement("div",Object.assign({},d,{className:g})))}},21250:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var n=r(49244),o=r(46942),i=r.n(o),a=r(19853),s=r(8719),l=(r(18877),r(89555)),c=r(68676),u=r(98119),f=r(829),d=r(76327),p=r(26476),h=r(39449),m=r(26552),g=r(54097),y=r(31306),v=r(89863),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r,o,w,S;const{loading:E=!1,prefixCls:x,color:P,variant:T,type:j,danger:C=!1,shape:k="default",size:_,styles:A,disabled:D,className:R,rootClassName:L,children:M,icon:I,iconPosition:N="start",ghost:$=!1,block:B=!1,htmlType:F="button",classNames:Q,style:V={},autoInsertSpace:z}=e,U=b(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),G=j||"default",[W,X]=(0,n.useMemo)((()=>{if(P&&T)return[P,T];const e=O[G]||[];return C?["danger",e[1]]:e}),[j,P,T,C]),q="danger"===W?"dangerous":W,{getPrefixCls:H,direction:Z,button:Y}=(0,n.useContext)(c.ConfigContext),K=null===(r=null!=z?z:null==Y?void 0:Y.autoInsertSpace)||void 0===r||r,J=H("btn",x),[ee,te,re]=(0,y.default)(J),ne=(0,n.useContext)(u.default),oe=null!=D?D:ne,ie=(0,n.useContext)(p.GroupSizeContext),ae=(0,n.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(E)),[E]),[se,le]=(0,n.useState)(ae.loading),[ce,ue]=(0,n.useState)(!1),fe=(0,n.createRef)(),de=(0,s.composeRef)(t,fe),pe=1===n.Children.count(M)&&!I&&!(0,h.isUnBorderedButtonVariant)(X);(0,n.useEffect)((()=>{let e=null;return ae.delay>0?e=setTimeout((()=>{e=null,le(!0)}),ae.delay):le(ae.loading),function(){e&&(clearTimeout(e),e=null)}}),[ae]),(0,n.useEffect)((()=>{if(!de||!de.current||!K)return;const e=de.current.textContent;pe&&(0,h.isTwoCNChar)(e)?ce||ue(!0):ce&&ue(!1)}),[de]);const he=n.useCallback((t=>{var r;se||oe?t.preventDefault():null===(r=e.onClick)||void 0===r||r.call(e,t)}),[e.onClick,se,oe]);const{compactSize:me,compactItemClassnames:ge}=(0,d.useCompactItemContext)(J,Z),ye={large:"lg",small:"sm",middle:void 0},ve=(0,f.default)((e=>{var t,r;return null!==(r=null!==(t=null!=_?_:me)&&void 0!==t?t:ie)&&void 0!==r?r:e})),be=ve&&null!==(o=ye[ve])&&void 0!==o?o:"",Oe=se?"loading":I,we=(0,a.default)(U,["navigate"]),Se=i()(J,te,re,{[`${J}-${k}`]:"default"!==k&&k,[`${J}-${G}`]:G,[`${J}-dangerous`]:C,[`${J}-color-${q}`]:q,[`${J}-variant-${X}`]:X,[`${J}-${be}`]:be,[`${J}-icon-only`]:!M&&0!==M&&!!Oe,[`${J}-background-ghost`]:$&&!(0,h.isUnBorderedButtonVariant)(X),[`${J}-loading`]:se,[`${J}-two-chinese-chars`]:ce&&K&&!se,[`${J}-block`]:B,[`${J}-rtl`]:"rtl"===Z,[`${J}-icon-end`]:"end"===N},ge,R,L,null==Y?void 0:Y.className),Ee=Object.assign(Object.assign({},null==Y?void 0:Y.style),V),xe=i()(null==Q?void 0:Q.icon,null===(w=null==Y?void 0:Y.classNames)||void 0===w?void 0:w.icon),Pe=Object.assign(Object.assign({},(null==A?void 0:A.icon)||{}),(null===(S=null==Y?void 0:Y.styles)||void 0===S?void 0:S.icon)||{}),Te=I&&!se?n.createElement(m.default,{prefixCls:J,className:xe,style:Pe},I):n.createElement(g.default,{existIcon:!!I,prefixCls:J,loading:se}),je=M||0===M?(0,h.spaceChildren)(M,pe&&K):null;if(void 0!==we.href)return ee(n.createElement("a",Object.assign({},we,{className:i()(Se,{[`${J}-disabled`]:oe}),href:oe?void 0:we.href,style:Ee,onClick:he,ref:de,tabIndex:oe?-1:0}),Te,je));let Ce=n.createElement("button",Object.assign({},U,{type:F,className:Se,style:Ee,onClick:he,disabled:oe,ref:de}),Te,je,!!ge&&n.createElement(v.default,{key:"compact",prefixCls:J}));return(0,h.isUnBorderedButtonVariant)(X)||(Ce=n.createElement(l.default,{component:"Button",disabled:se},Ce)),ee(Ce)}));w.Group=p.default,w.__ANT_BUTTON=!0;const S=w},39449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_ButtonColorTypes:()=>d,_ButtonVariantTypes:()=>f,convertLegacyProps:()=>s,isString:()=>l,isTwoCNChar:()=>a,isUnBorderedButtonVariant:()=>c,spaceChildren:()=>u});var n=r(49244),o=r(40682);const i=/^[\u4E00-\u9FA5]{2}$/,a=i.test.bind(i);function s(e){return"danger"===e?{danger:!0}:{type:e}}function l(e){return"string"==typeof e}function c(e){return"text"===e||"link"===e}function u(e,t){let r=!1;const i=[];return n.Children.forEach(e,(e=>{const t=typeof e,n="string"===t||"number"===t;if(r&&n){const t=i.length-1,r=i[t];i[t]=`${r}${e}`}else i.push(e);r=n})),n.Children.map(i,(e=>function(e,t){if(null==e)return;const r=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&l(e.type)&&a(e.props.children)?(0,o.cloneElement)(e,{children:e.props.children.split("").join(r)}):l(e)?a(e)?n.createElement("span",null,e.split("").join(r)):n.createElement("span",null,e):(0,o.isFragment)(e)?n.createElement("span",null,e):e}(e,t)))}const f=["outlined","dashed","solid","filled","text","link"],d=["default","primary","danger"]},50400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_ButtonColorTypes:()=>o._ButtonColorTypes,_ButtonVariantTypes:()=>o._ButtonVariantTypes,convertLegacyProps:()=>o.convertLegacyProps,default:()=>i,isString:()=>o.isString,isTwoCNChar:()=>o.isTwoCNChar,isUnBorderedButtonVariant:()=>o.isUnBorderedButtonVariant,spaceChildren:()=>o.spaceChildren});var n=r(21250),o=r(39449);const i=n.default},89863:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(54018),o=r(55974),i=r(65461),a=r(87892),s=r(10559);const l=e=>{const{componentCls:t,calc:r}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:r(e.lineWidth).mul(-1).equal(),insetInlineStart:r(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,n.unit)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:r(e.lineWidth).mul(-1).equal(),insetInlineStart:r(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,n.unit)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},c=(0,a.genSubStyleComponent)(["Button","compact"],(e=>{const t=(0,s.prepareToken)(e);return[(0,o.genCompactItemStyle)(t),(0,i.genCompactItemVerticalStyle)(t),l(t)]}),s.prepareComponentToken)},79861:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});const n=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),o=e=>{const{componentCls:t,fontSize:r,lineWidth:o,groupBorderColor:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(o).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},n(`${t}-primary`,i),n(`${t}-danger`,a)]}}},31306:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>D});var n=r(54018),o=r(25905),i=r(87892),a=r(79861),s=r(10559);const l=e=>{const{componentCls:t,iconCls:r,fontWeight:i}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:i,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,o.genFocusStyle)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${r})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},c=(e,t,r)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":r}}),u=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),f=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),d=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),p=(e,t,r,n,o,i,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:r||void 0,background:t,borderColor:n||void 0,boxShadow:"none"},c(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),h=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},d(e))}),m=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),g=(e,t,r,n)=>{const o=n&&["link","text"].includes(n)?m:h;return Object.assign(Object.assign({},o(e)),c(e.componentCls,t,r))},y=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:r},g(e,n,o))}),v=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:r},g(e,n,o))}),b=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),O=(e,t,r,n)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},g(e,r,n))}),w=(e,t,r,n,o)=>({[`&${e.componentCls}-variant-${r}`]:Object.assign({color:t,boxShadow:"none"},g(e,n,o,r))}),S=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},y(e,e.solidTextColor,e.colorBgSolid,{background:e.colorBgSolidHover},{background:e.colorBgSolidActive})),b(e)),O(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),w(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),p(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),E=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},v(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),b(e)),O(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),w(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),p(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),x=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},y(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),v(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),b(e)),O(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),w(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),w(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),p(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),P=e=>{const{componentCls:t}=e;return{[`${t}-color-default`]:S(e),[`${t}-color-primary`]:E(e),[`${t}-color-dangerous`]:x(e)}},T=e=>Object.assign(Object.assign(Object.assign(Object.assign({},v(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),w(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),y(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),w(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),j=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:r,controlHeight:o,fontSize:i,lineHeight:a,borderRadius:s,buttonPaddingHorizontal:l,iconCls:c,buttonPaddingVertical:d}=e,p=`${r}-icon-only`;return[{[t]:{fontSize:i,lineHeight:a,height:o,padding:`${(0,n.unit)(d)} ${(0,n.unit)(l)}`,borderRadius:s,[`&${p}`]:{width:o,paddingInline:0,[`&${r}-compact-item`]:{flex:"none"},[`&${r}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${r}${r}-circle${t}`]:u(e)},{[`${r}${r}-round${t}`]:f(e)}]},C=e=>{const t=(0,i.mergeToken)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return j(t,e.componentCls)},k=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return j(t,`${e.componentCls}-sm`)},_=e=>{const t=(0,i.mergeToken)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return j(t,`${e.componentCls}-lg`)},A=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},D=(0,i.genStyleHooks)("Button",(e=>{const t=(0,s.prepareToken)(e);return[l(t),C(t),k(t),_(t),A(t),P(t),T(t),(0,a.default)(t)]}),s.prepareComponentToken,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}})},10559:(e,t,r)=>{"use strict";r.r(t),r.d(t,{prepareComponentToken:()=>s,prepareToken:()=>a});var n=r(19911),o=r(53596),i=r(87892);const a=e=>{const{paddingInline:t,onlyIconSize:r,paddingBlock:n}=e;return(0,i.mergeToken)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:n,buttonIconOnlyFontSize:r})},s=e=>{var t,r,a,s,l,c;const u=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,f=null!==(r=e.contentFontSizeSM)&&void 0!==r?r:e.fontSize,d=null!==(a=e.contentFontSizeLG)&&void 0!==a?a:e.fontSizeLG,p=null!==(s=e.contentLineHeight)&&void 0!==s?s:(0,i.getLineHeight)(u),h=null!==(l=e.contentLineHeightSM)&&void 0!==l?l:(0,i.getLineHeight)(f),m=null!==(c=e.contentLineHeightLG)&&void 0!==c?c:(0,i.getLineHeight)(d),g=(0,o.isBright)(new n.AggregationColor(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:g,contentFontSize:u,contentFontSizeSM:f,contentFontSizeLG:d,contentLineHeight:p,contentLineHeightSM:h,contentLineHeightLG:m,paddingBlock:Math.max((e.controlHeight-u*p)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-f*h)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-d*m)/2-e.lineWidth,0)}}},24685:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(61340).default},29653:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(49244),o=r(46942),i=r.n(o),a=r(68676),s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:r,avatar:o,title:l,description:c}=e,u=s(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:f}=n.useContext(a.ConfigContext),d=f("card",t),p=i()(`${d}-meta`,r),h=o?n.createElement("div",{className:`${d}-meta-avatar`},o):null,m=l?n.createElement("div",{className:`${d}-meta-title`},l):null,g=c?n.createElement("div",{className:`${d}-meta-description`},c):null,y=m||g?n.createElement("div",{className:`${d}-meta-detail`},m,g):null;return n.createElement("div",Object.assign({},u,{className:p}),h,y)}},4696:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(49244),o=r(14588),i=r(46942),a=r.n(i),s=r(26900),l=r(82546),c=r(19853),u=r(23723),f=r(40682),d=(r(18877),r(68676)),p=r(829),h=r(54336),m=r(39801);const g=n.forwardRef(((e,t)=>{const{getPrefixCls:r,direction:i,collapse:h}=n.useContext(d.ConfigContext),{prefixCls:g,className:y,rootClassName:v,style:b,bordered:O=!0,ghost:w,size:S,expandIconPosition:E="start",children:x,expandIcon:P}=e,T=(0,p.default)((e=>{var t;return null!==(t=null!=S?S:e)&&void 0!==t?t:"middle"})),j=r("collapse",g),C=r(),[k,_,A]=(0,m.default)(j);const D=n.useMemo((()=>"left"===E?"start":"right"===E?"end":E),[E]),R=null!=P?P:null==h?void 0:h.expandIcon,L=n.useCallback((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t="function"==typeof R?R(e):n.createElement(o.default,{rotate:e.isActive?90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,f.cloneElement)(t,(()=>{var e;return{className:a()(null===(e=null==t?void 0:t.props)||void 0===e?void 0:e.className,`${j}-arrow`)}}))}),[R,j]),M=a()(`${j}-icon-position-${D}`,{[`${j}-borderless`]:!O,[`${j}-rtl`]:"rtl"===i,[`${j}-ghost`]:!!w,[`${j}-${T}`]:"middle"!==T},null==h?void 0:h.className,y,v,_,A),I=Object.assign(Object.assign({},(0,u.default)(C)),{motionAppear:!1,leavedClassName:`${j}-content-hidden`}),N=n.useMemo((()=>x?(0,l.default)(x).map(((e,t)=>{var r,n;if(null===(r=e.props)||void 0===r?void 0:r.disabled){const r=null!==(n=e.key)&&void 0!==n?n:String(t),{disabled:o,collapsible:i}=e.props,a=Object.assign(Object.assign({},(0,c.default)(e.props,["disabled"])),{key:r,collapsible:null!=i?i:o?"disabled":void 0});return(0,f.cloneElement)(e,a)}return e})):null),[x]);return k(n.createElement(s.default,Object.assign({ref:t,openMotion:I},(0,c.default)(e,["rootClassName"]),{expandIcon:L,prefixCls:j,className:M,style:Object.assign(Object.assign({},null==h?void 0:h.style),b)}),N))}));const y=Object.assign(g,{Panel:h.default})},54336:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(49244),o=r(46942),i=r.n(o),a=r(26900),s=(r(18877),r(68676));const l=n.forwardRef(((e,t)=>{const{getPrefixCls:r}=n.useContext(s.ConfigContext),{prefixCls:o,className:l,showArrow:c=!0}=e,u=r("collapse",o),f=i()({[`${u}-no-arrow`]:!c},l);return n.createElement(a.default.Panel,Object.assign({ref:t},e,{prefixCls:u,className:f}))}))},62567:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(4696).default},39801:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d,genBaseStyle:()=>s,prepareComponentToken:()=>f});var n=r(54018),o=r(25905),i=r(1464),a=r(87892);const s=e=>{const{componentCls:t,contentBg:r,padding:i,headerBg:a,headerPadding:s,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:c,collapsePanelBorderRadius:u,lineWidth:f,lineType:d,colorBorder:p,colorText:h,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:y,lineHeight:v,lineHeightLG:b,marginSM:O,paddingSM:w,paddingLG:S,paddingXS:E,motionDurationSlow:x,fontSizeIcon:P,contentPadding:T,fontHeight:j,fontHeightLG:C}=e,k=`${(0,n.unit)(f)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{backgroundColor:a,border:k,borderRadius:u,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:k,"&:last-child":{[`\n &,\n & > ${t}-header`]:{borderRadius:`0 0 ${(0,n.unit)(u)} ${(0,n.unit)(u)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:m,lineHeight:v,cursor:"pointer",transition:`all ${x}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:j,display:"flex",alignItems:"center",paddingInlineEnd:O},[`${t}-arrow`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{fontSize:P,transition:`transform ${x}`,svg:{transition:`transform ${x}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:h,backgroundColor:r,borderTop:k,[`& > ${t}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:E,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(w).sub(E).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},"&-large":{[`> ${t}-item`]:{fontSize:y,lineHeight:b,[`> ${t}-header`]:{padding:c,paddingInlineStart:i,[`> ${t}-expand-icon`]:{height:C,marginInlineStart:e.calc(S).sub(i).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${(0,n.unit)(u)} ${(0,n.unit)(u)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:O}}}}})}},l=e=>{const{componentCls:t}=e,r=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[r]:{transform:"rotate(180deg)"}}}},c=e=>{const{componentCls:t,headerBg:r,paddingXXS:n,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:r,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[`\n > ${t}-item:last-child,\n > ${t}-item:last-child ${t}-header\n `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:n}}}},u=e=>{const{componentCls:t,paddingSM:r}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:r}}}}}},f=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),d=(0,a.genStyleHooks)("Collapse",(e=>{const t=(0,a.mergeToken)(e,{collapseHeaderPaddingSM:`${(0,n.unit)(e.paddingXS)} ${(0,n.unit)(e.paddingSM)}`,collapseHeaderPaddingLG:`${(0,n.unit)(e.padding)} ${(0,n.unit)(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[s(t),c(t),u(t),l(t),(0,i.genCollapseMotion)(t)]}),f)},19911:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AggregationColor:()=>l,getHex:()=>s,toHexFormat:()=>a});var n=r(23029),o=r(92901),i=r(89372);const a=(e,t)=>(null==e?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",s=(e,t)=>e?a(e,t):"";let l=function(){return(0,o.default)((function e(t){var r;if((0,n.default)(this,e),this.cleared=!1,t instanceof e)return this.metaColor=t.metaColor.clone(),this.colors=null===(r=t.colors)||void 0===r?void 0:r.map((t=>({color:new e(t.color),percent:t.percent}))),void(this.cleared=t.cleared);const o=Array.isArray(t);o&&t.length?(this.colors=t.map((t=>{let{color:r,percent:n}=t;return{color:new e(r),percent:n}})),this.metaColor=new i.Color(this.colors[0].color.metaColor)):this.metaColor=new i.Color(o?"":t),(!t||o&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}),[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return s(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:e}=this;if(e){return`linear-gradient(90deg, ${e.map((e=>`${e.color.toRgbString()} ${e.percent}%`)).join(", ")})`}return this.metaColor.toRgbString()}},{key:"equals",value:function(e){return!(!e||this.isGradient()!==e.isGradient())&&(this.isGradient()?this.colors.length===e.colors.length&&this.colors.every(((t,r)=>{const n=e.colors[r];return t.percent===n.percent&&t.color.equals(n.color)})):this.toHexString()===e.toHexString())}}])}()},53596:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,isBright:()=>p});var n=r(49244),o=r(89372),i=r(46942),a=r.n(i),s=r(12533),l=r(62567),c=r(21282),u=r(87892),f=r(36058);const d=e=>e.map((e=>(e.colors=e.colors.map(f.generateColor),e))),p=(e,t)=>{const{r,g:n,b:i,a}=e.toRgb(),s=new o.Color(e.toRgbString()).onBackground(t).toHsv();return a<=.5?s.v>.5:.299*r+.587*n+.114*i>192},h=e=>{let{label:t}=e;return`panel-${t}`},m=e=>{let{prefixCls:t,presets:r,value:i,onChange:m}=e;const[g]=(0,c.useLocale)("ColorPicker"),[,y]=(0,u.useToken)(),[v]=(0,s.default)(d(r),{value:d(r),postState:d}),b=`${t}-presets`,O=(0,n.useMemo)((()=>v.reduce(((e,t)=>{const{defaultOpen:r=!0}=t;return r&&e.push(h(t)),e}),[])),[v]),w=v.map((e=>{var r;return{key:h(e),label:n.createElement("div",{className:`${b}-label`},null==e?void 0:e.label),children:n.createElement("div",{className:`${b}-items`},Array.isArray(null==e?void 0:e.colors)&&(null===(r=e.colors)||void 0===r?void 0:r.length)>0?e.colors.map(((e,r)=>n.createElement(o.ColorBlock,{key:`preset-${r}-${e.toHexString()}`,color:(0,f.generateColor)(e).toRgbString(),prefixCls:t,className:a()(`${b}-color`,{[`${b}-color-checked`]:e.toHexString()===(null==i?void 0:i.toHexString()),[`${b}-color-bright`]:p(e,y.colorBgElevated)}),onClick:()=>{return t=e,void(null==m||m(t));var t}}))):n.createElement("span",{className:`${b}-empty`},g.presetEmpty))}}));return n.createElement("div",{className:b},n.createElement(l.default,{defaultActiveKey:O,ghost:!0,items:w}))}},36058:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genAlphaColor:()=>c,generateColor:()=>a,getColorAlpha:()=>l,getGradientPercentColor:()=>u,getRoundNumber:()=>s});var n=r(89394),o=r(89372),i=r(19911);const a=e=>e instanceof i.AggregationColor?e:new i.AggregationColor(e),s=e=>Math.round(Number(e||0)),l=e=>s(100*e.toHsb().a),c=(e,t)=>{const r=e.toRgb();if(!r.r&&!r.g&&!r.b){const r=e.toHsb();return r.a=t||1,a(r)}return r.a=t||1,a(r)},u=(e,t)=>{const r=[{percent:0,color:e[0].color}].concat((0,n.default)(e),[{percent:100,color:e[e.length-1].color}]);for(let e=0;e{"use strict";r.r(t),r.d(t,{DisabledContextProvider:()=>i,default:()=>a});var n=r(49244);const o=n.createContext(!1),i=e=>{let{children:t,disabled:r}=e;const i=n.useContext(o);return n.createElement(o.Provider,{value:null!=r?r:i},t)},a=o},72013:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(30156),i=r(87892);function a(e){const{children:t}=e,[,r]=(0,i.useToken)(),{motion:a}=r,s=n.useRef(!1);return s.current=s.current||!1===a,s.current?n.createElement(o.Provider,{motion:a},t):t}},67775:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});r(49244),r(18877);const n=()=>null},48224:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SizeContextProvider:()=>i,default:()=>a});var n=r(49244);const o=n.createContext(void 0),i=e=>{let{children:t,size:r}=e;const i=n.useContext(o);return n.createElement(o.Provider,{value:r||i},t)},a=o},73094:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getStyle:()=>l,registerTheme:()=>c});var n=r(87463),o=r(64674),i=r(20998),a=r(85089);r(18877);const s=`-ant-${Date.now()}-${Math.random()}`;function l(e,t){const r={},i=(e,t)=>{let r=e.clone();return r=(null==t?void 0:t(r))||r,r.toRgbString()},a=(e,t)=>{const a=new o.TinyColor(e),s=(0,n.generate)(a.toRgbString());r[`${t}-color`]=i(a),r[`${t}-color-disabled`]=s[1],r[`${t}-color-hover`]=s[4],r[`${t}-color-active`]=s[6],r[`${t}-color-outline`]=a.clone().setAlpha(.2).toRgbString(),r[`${t}-color-deprecated-bg`]=s[0],r[`${t}-color-deprecated-border`]=s[2]};if(t.primaryColor){a(t.primaryColor,"primary");const e=new o.TinyColor(t.primaryColor),s=(0,n.generate)(e.toRgbString());s.forEach(((e,t)=>{r[`primary-${t+1}`]=e})),r["primary-color-deprecated-l-35"]=i(e,(e=>e.lighten(35))),r["primary-color-deprecated-l-20"]=i(e,(e=>e.lighten(20))),r["primary-color-deprecated-t-20"]=i(e,(e=>e.tint(20))),r["primary-color-deprecated-t-50"]=i(e,(e=>e.tint(50))),r["primary-color-deprecated-f-12"]=i(e,(e=>e.setAlpha(.12*e.getAlpha())));const l=new o.TinyColor(s[0]);r["primary-color-active-deprecated-f-30"]=i(l,(e=>e.setAlpha(.3*e.getAlpha()))),r["primary-color-active-deprecated-d-02"]=i(l,(e=>e.darken(2)))}t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info");return`\n :root {\n ${Object.keys(r).map((t=>`--${e}-${t}: ${r[t]};`)).join("\n")}\n }\n `.trim()}function c(e,t){const r=l(e,t);(0,i.default)()&&(0,a.updateCSS)(r,`${s}-dynamic-theme`)}},20934:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(87892);const o=e=>{const[,,,,t]=(0,n.useToken)();return t?`${e}-css-var`:""}},27786:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(98119),i=r(48224);const a=function(){return{componentDisabled:(0,n.useContext)(o.default),componentSize:(0,n.useContext)(i.default)}}},829:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(49244),o=r(48224);const i=e=>{const t=n.useContext(o.default);return n.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},62811:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(28104),o=r(43210),i=r(18877),a=r(87892),s=r(39240);function l(e,t,r){var l;(0,i.devUseWarning)("ConfigProvider");const c=e||{},u=!1!==c.inherit&&t?t:Object.assign(Object.assign({},a.defaultConfig),{hashed:null!==(l=null==t?void 0:t.hashed)&&void 0!==l?l:a.defaultConfig.hashed,cssVar:null==t?void 0:t.cssVar}),f=(0,s.default)();return(0,n.default)((()=>{var n,o;if(!e)return t;const i=Object.assign({},u.components);Object.keys(e.components||{}).forEach((t=>{i[t]=Object.assign(Object.assign({},i[t]),e.components[t])}));const a=`css-var-${f.replace(/:/g,"")}`,s=(null!==(n=c.cssVar)&&void 0!==n?n:u.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==r?void 0:r.prefixCls},"object"==typeof u.cssVar?u.cssVar:{}),"object"==typeof c.cssVar?c.cssVar:{}),{key:"object"==typeof c.cssVar&&(null===(o=c.cssVar)||void 0===o?void 0:o.key)||a});return Object.assign(Object.assign(Object.assign({},u),c),{token:Object.assign(Object.assign({},u.token),c.token),components:i,cssVar:s})}),[c,u],((e,t)=>e.some(((e,r)=>{const n=t[r];return!(0,o.default)(e,n,!0)}))))}},39240:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{default:()=>s});var o=r(49244);const i=Object.assign({},n||(n=r.t(o,2))),{useId:a}=i,s=void 0===a?()=>"":a},68676:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ConfigConsumer:()=>m.ConfigConsumer,ConfigContext:()=>m.ConfigContext,Variants:()=>m.Variants,configConsumerProps:()=>T,default:()=>N,defaultIconPrefixCls:()=>m.defaultIconPrefixCls,defaultPrefixCls:()=>m.defaultPrefixCls,globalConfig:()=>L,warnContext:()=>P});var n=r(49244),o=r(54018),i=r(61053),a=r(28104),s=r(20488),l=r(18877),c=r(69407),u=r(21282),f=r(60685),d=r(8182),p=r(49806),h=r(50723),m=r(81225),g=r(73094),y=r(98119),v=r(27786),b=r(62811),O=r(72013),w=r(67775),S=r(48224),E=r(26622),x=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o({getPrefixCls:(e,t)=>t||(e?`${D()}-${e}`:D()),getIconPrefixCls:R,getRootPrefixCls:()=>C||D(),getTheme:()=>_,holderRender:A}),M=e=>{const{children:t,csp:r,autoInsertSpaceInButton:f,alert:g,anchor:v,form:P,locale:T,componentSize:C,direction:k,space:_,splitter:A,virtual:D,dropdownMatchSelectWidth:R,popupMatchSelectWidth:L,popupOverflow:M,legacyLocale:I,parentContext:N,iconPrefixCls:$,theme:B,componentDisabled:F,segmented:Q,statistic:V,spin:z,calendar:U,carousel:G,cascader:W,collapse:X,typography:q,checkbox:H,descriptions:Z,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,layout:re,list:ne,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,input:de,textArea:pe,empty:he,badge:me,radio:ge,rate:ye,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:Ee,card:xe,tabs:Pe,timeline:Te,timePicker:je,upload:Ce,notification:ke,tree:_e,colorPicker:Ae,datePicker:De,rangePicker:Re,flex:Le,wave:Me,dropdown:Ie,warning:Ne,tour:$e,floatButtonGroup:Be,variant:Fe,inputNumber:Qe,treeSelect:Ve}=e,ze=n.useCallback(((t,r)=>{const{prefixCls:n}=e;if(r)return r;const o=n||N.getPrefixCls("");return t?`${o}-${t}`:o}),[N.getPrefixCls,e.prefixCls]),Ue=$||N.iconPrefixCls||m.defaultIconPrefixCls,Ge=r||N.csp;(0,E.default)(Ue,Ge);const We=(0,b.default)(B,N.theme,{prefixCls:ze("")});const Xe={csp:Ge,autoInsertSpaceInButton:f,alert:g,anchor:v,locale:T||I,direction:k,space:_,splitter:A,virtual:D,popupMatchSelectWidth:null!=L?L:R,popupOverflow:M,getPrefixCls:ze,iconPrefixCls:Ue,theme:We,segmented:Q,statistic:V,spin:z,calendar:U,carousel:G,cascader:W,collapse:X,typography:q,checkbox:H,descriptions:Z,divider:Y,drawer:K,skeleton:J,steps:ee,image:te,input:de,textArea:pe,layout:re,list:ne,mentions:oe,modal:ie,progress:ae,result:se,slider:le,breadcrumb:ce,menu:ue,pagination:fe,empty:he,badge:me,radio:ge,rate:ye,switch:ve,transfer:be,avatar:Oe,message:we,tag:Se,table:Ee,card:xe,tabs:Pe,timeline:Te,timePicker:je,upload:Ce,notification:ke,tree:_e,colorPicker:Ae,datePicker:De,rangePicker:Re,flex:Le,wave:Me,dropdown:Ie,warning:Ne,tour:$e,floatButtonGroup:Be,variant:Fe,inputNumber:Qe,treeSelect:Ve};const qe=Object.assign({},N);Object.keys(Xe).forEach((e=>{void 0!==Xe[e]&&(qe[e]=Xe[e])})),j.forEach((t=>{const r=e[t];r&&(qe[t]=r)})),void 0!==f&&(qe.button=Object.assign({autoInsertSpace:f},qe.button));const He=(0,a.default)((()=>qe),qe,((e,t)=>{const r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some((r=>e[r]!==t[r]))})),Ze=n.useMemo((()=>({prefixCls:Ue,csp:Ge})),[Ue,Ge]);let Ye=n.createElement(n.Fragment,null,n.createElement(w.default,{dropdownMatchSelectWidth:R}),t);const Ke=n.useMemo((()=>{var e,t,r,n;return(0,s.merge)((null===(e=d.default.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(r=null===(t=He.locale)||void 0===t?void 0:t.Form)||void 0===r?void 0:r.defaultValidateMessages)||{},(null===(n=He.form)||void 0===n?void 0:n.validateMessages)||{},(null==P?void 0:P.validateMessages)||{})}),[He,null==P?void 0:P.validateMessages]);Object.keys(Ke).length>0&&(Ye=n.createElement(c.default.Provider,{value:Ke},Ye)),T&&(Ye=n.createElement(u.default,{locale:T,_ANT_MARK__:u.ANT_MARK},Ye)),(Ue||Ge)&&(Ye=n.createElement(i.default.Provider,{value:Ze},Ye)),C&&(Ye=n.createElement(S.SizeContextProvider,{size:C},Ye)),Ye=n.createElement(O.default,null,Ye);const Je=n.useMemo((()=>{const e=We||{},{algorithm:t,token:r,components:n,cssVar:i}=e,a=x(e,["algorithm","token","components","cssVar"]),s=t&&(!Array.isArray(t)||t.length>0)?(0,o.createTheme)(t):p.defaultTheme,l={};Object.entries(n||{}).forEach((e=>{let[t,r]=e;const n=Object.assign({},r);"algorithm"in n&&(!0===n.algorithm?n.theme=s:(Array.isArray(n.algorithm)||"function"==typeof n.algorithm)&&(n.theme=(0,o.createTheme)(n.algorithm)),delete n.algorithm),l[t]=n}));const c=Object.assign(Object.assign({},h.default),r);return Object.assign(Object.assign({},a),{theme:s,token:c,components:l,override:Object.assign({override:c},l),cssVar:i})}),[We]);return B&&(Ye=n.createElement(p.DesignTokenContext.Provider,{value:Je},Ye)),He.warning&&(Ye=n.createElement(l.WarningContext.Provider,{value:He.warning},Ye)),void 0!==F&&(Ye=n.createElement(y.DisabledContextProvider,{disabled:F},Ye)),n.createElement(m.ConfigContext.Provider,{value:He},Ye)},I=e=>{const t=n.useContext(m.ConfigContext),r=n.useContext(f.default);return n.createElement(M,Object.assign({parentContext:t,legacyLocale:r},e))};I.ConfigContext=m.ConfigContext,I.SizeContext=S.default,I.config=e=>{const{prefixCls:t,iconPrefixCls:r,theme:n,holderRender:o}=e;void 0!==t&&(C=t),void 0!==r&&(k=r),"holderRender"in e&&(A=o),n&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(n)?_=n:(0,g.registerTheme)(D(),n))},I.useConfig=v.default,Object.defineProperty(I,"SizeContext",{get:()=>S.default});const N=I},26622:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.useResetIconStyle});var n=r(87892)},61340:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(64395),o=r(65341);const i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},n.default),timePickerLocale:Object.assign({},o.default)}},51966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{List:()=>a.List,default:()=>v,useForm:()=>p.default,useWatch:()=>a.useWatch});var n=r(49244),o=r(46942),i=r.n(o),a=r(55353),s=r(68676),l=r(98119),c=r(20934),u=r(829),f=r(48224),d=r(94241),p=r(52292),h=(r(70130),r(72888)),m=r(69407),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const r=n.useContext(l.default),{getPrefixCls:o,direction:y,form:v}=n.useContext(s.ConfigContext),{prefixCls:b,className:O,rootClassName:w,size:S,disabled:E=r,form:x,colon:P,labelAlign:T,labelWrap:j,labelCol:C,wrapperCol:k,hideRequiredMark:_,layout:A="horizontal",scrollToFirstError:D,requiredMark:R,onFinishFailed:L,name:M,style:I,feedbackIcons:N,variant:$}=e,B=g(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),F=(0,u.default)(S),Q=n.useContext(m.default);const V=(0,n.useMemo)((()=>void 0!==R?R:!_&&(!v||void 0===v.requiredMark||v.requiredMark)),[_,R,v]),z=null!=P?P:null==v?void 0:v.colon,U=o("form",b),G=(0,c.default)(U),[W,X,q]=(0,h.default)(U,G),H=i()(U,`${U}-${A}`,{[`${U}-hide-required-mark`]:!1===V,[`${U}-rtl`]:"rtl"===y,[`${U}-${F}`]:F},q,G,X,null==v?void 0:v.className,O,w),[Z]=(0,p.default)(x),{__INTERNAL__:Y}=Z;Y.name=M;const K=(0,n.useMemo)((()=>({name:M,labelAlign:T,labelCol:C,labelWrap:j,wrapperCol:k,vertical:"vertical"===A,colon:z,requiredMark:V,itemRef:Y.itemRef,form:Z,feedbackIcons:N})),[M,T,C,k,A,z,V,Z,N]),J=n.useRef(null);n.useImperativeHandle(t,(()=>{var e;return Object.assign(Object.assign({},Z),{nativeElement:null===(e=J.current)||void 0===e?void 0:e.nativeElement})}));const ee=(e,t)=>{if(e){let r={block:"nearest"};"object"==typeof e&&(r=Object.assign(Object.assign({},r),e)),Z.scrollToField(t,r),r.focus&&Z.focusField(t)}};return W(n.createElement(d.VariantContext.Provider,{value:$},n.createElement(l.DisabledContextProvider,{disabled:E},n.createElement(f.default.Provider,{value:F},n.createElement(d.FormProvider,{validateMessages:Q},n.createElement(d.FormContext.Provider,{value:K},n.createElement(a.default,Object.assign({id:M},B,{name:M,onFinishFailed:e=>{if(null==L||L(e),e.errorFields.length){const t=e.errorFields[0].name;if(void 0!==D)return void ee(D,t);v&&void 0!==v.scrollToFirstError&&ee(v.scrollToFirstError,t)}},form:Z,ref:J,style:Object.assign(Object.assign({},null==v?void 0:v.style),I),className:H}))))))))};const v=n.forwardRef(y)},94241:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormContext:()=>a,FormItemInputContext:()=>u,FormItemPrefixContext:()=>c,FormProvider:()=>l,NoFormStyle:()=>f,NoStyleItemContext:()=>s,VariantContext:()=>d});var n=r(49244),o=r(55353),i=r(19853);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),l=e=>{const t=(0,i.default)(e,["prefixCls"]);return n.createElement(o.FormProvider,Object.assign({},t))},c=n.createContext({prefixCls:""}),u=n.createContext({});const f=e=>{let{children:t,status:r,override:o}=e;const i=(0,n.useContext)(u),a=(0,n.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,r&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[r,o,i]);return n.createElement(u.Provider,{value:a},t)},d=(0,n.createContext)(void 0)},52292:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(49244),o=r(55353),i=r(66588),a=r(68499),s=r(16984);function l(e){return(0,s.toArray)(e).join("_")}function c(e,t){const r=t.getFieldInstance(e),n=(0,i.getDOM)(r);if(n)return n;const o=(0,s.getFieldId)((0,s.toArray)(e),t.__INTERNAL__.name);return o?document.getElementById(o):void 0}function u(e){const[t]=(0,o.useForm)(),r=n.useRef({}),i=n.useMemo((()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{const n=l(e);t?r.current[n]=t:delete r.current[n]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=c(e,i);r&&(0,a.default)(r,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},focusField:e=>{var t;const r=c(e,i);r&&(null===(t=r.focus)||void 0===t||t.call(r))},getFieldInstance:e=>{const t=l(e);return r.current[t]}})),[e,t]);return[i]}},70130:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(18877);const i={};function a(e){let{name:t}=e;(0,o.devUseWarning)("Form");(0,n.useEffect)((()=>{if(t)return i[t]=(i[t]||0)+1,()=>{i[t]-=1}}),[t])}},90124:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(94241),i=r(68676);const a=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;var a,s;const{variant:l,[e]:c}=(0,n.useContext)(i.ConfigContext),u=(0,n.useContext)(o.VariantContext),f=null==c?void 0:c.variant;let d;d=void 0!==t?t:!1===r?"borderless":null!==(s=null!==(a=null!=u?u:f)&&void 0!==a?a:l)&&void 0!==s?s:"outlined";return[d,i.Variants.includes(d)]}},70219:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{componentCls:t}=e,r=`${t}-show-help`,n=`${t}-show-help-item`;return{[r]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[n]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut},\n opacity ${e.motionDurationFast} ${e.motionEaseInOut},\n transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${n}-appear, &${n}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${n}-leave-active`]:{transform:"translateY(-5px)"}}}}}},72888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O,prepareComponentToken:()=>v,prepareToken:()=>b});var n=r(54018),o=r(25905),i=r(1464),a=r(87892),s=r(70219);const l=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,n.unit)(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),c=(e,t)=>{const{formItemCls:r}=e;return{[r]:{[`${r}-label > label`]:{height:t},[`${r}-control-input`]:{minHeight:t}}}},u=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),l(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},c(e,e.controlHeightSM)),"&-large":Object.assign({},c(e,e.controlHeightLG))})}},f=e=>{const{formItemCls:t,iconCls:r,componentCls:n,rootPrefixCls:a,antCls:s,labelRequiredMarkColor:l,labelColor:c,labelFontSize:u,labelHeight:f,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:h}=e;return{[t]:Object.assign(Object.assign({},(0,o.resetComponent)(e)),{marginBottom:h,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,\n &-hidden${s}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:f,color:c,fontSize:u,[`> ${r}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:l,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${n}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:p},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:i.zoomIn,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},d=(e,t)=>{const{formItemCls:r}=e;return{[`${t}-horizontal`]:{[`${r}-label`]:{flexGrow:0},[`${r}-control`]:{flex:"1 1 0",minWidth:0},[`${r}-label[class$='-24'], ${r}-label[class*='-24 ']`]:{[`& + ${r}-control`]:{minWidth:"unset"}}}}},p=e=>{const{componentCls:t,formItemCls:r,inlineItemMarginBottom:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[r]:{flex:"none",marginInlineEnd:e.margin,marginBottom:n,"&-row":{flexWrap:"nowrap"},[`> ${r}-label,\n > ${r}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${r}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${r}-has-feedback`]:{display:"inline-block"}}}}},h=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),m=e=>{const{componentCls:t,formItemCls:r,rootPrefixCls:n}=e;return{[`${r} ${r}-label`]:h(e),[`${t}:not(${t}-inline)`]:{[r]:{flexWrap:"wrap",[`${r}-label, ${r}-control`]:{[`&:not([class*=" ${n}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},g=e=>{const{componentCls:t,formItemCls:r,antCls:o}=e;return{[`${t}-vertical`]:{[`${r}:not(${r}-horizontal)`]:{[`${r}-row`]:{flexDirection:"column"},[`${r}-label > label`]:{height:"auto"},[`${r}-control`]:{width:"100%"},[`${r}-label,\n ${o}-col-24${r}-label,\n ${o}-col-xl-24${r}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-xs-24${r}-label`]:h(e)}}}],[`@media (max-width: ${(0,n.unit)(e.screenSMMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-sm-24${r}-label`]:h(e)}}},[`@media (max-width: ${(0,n.unit)(e.screenMDMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-md-24${r}-label`]:h(e)}}},[`@media (max-width: ${(0,n.unit)(e.screenLGMax)})`]:{[t]:{[`${r}:not(${r}-horizontal)`]:{[`${o}-col-lg-24${r}-label`]:h(e)}}}}},y=e=>{const{formItemCls:t,antCls:r}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label,\n ${r}-col-24${t}-label,\n ${r}-col-xl-24${t}-label`]:h(e),[`@media (max-width: ${(0,n.unit)(e.screenXSMax)})`]:[m(e),{[t]:{[`${r}-col-xs-24${t}-label`]:h(e)}}],[`@media (max-width: ${(0,n.unit)(e.screenSMMax)})`]:{[t]:{[`${r}-col-sm-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenMDMax)})`]:{[t]:{[`${r}-col-md-24${t}-label`]:h(e)}},[`@media (max-width: ${(0,n.unit)(e.screenLGMax)})`]:{[t]:{[`${r}-col-lg-24${t}-label`]:h(e)}}}},v=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),b=(e,t)=>(0,a.mergeToken)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),O=(0,a.genStyleHooks)("Form",((e,t)=>{let{rootPrefixCls:r}=t;const n=b(e,r);return[u(n),f(n),(0,s.default)(n),d(n,n.componentCls),d(n,n.formItemCls),p(n),g(n),y(n),(0,i.genCollapseMotion)(n),i.zoomIn]}),v,{order:-1e3})},16984:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getFieldId:()=>a,getStatus:()=>s,toArray:()=>i});const n=["parentNode"],o="form_item";function i(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;const r=e.join("_");if(t)return`${t}_${r}`;return n.includes(r)?`${o}_${r}`:r}function s(e,t,r,n,o,i){let a=n;return void 0!==i?a=i:r.validating?a="validating":e.length?a="error":t.length?a="warning":(r.touched||o&&r.validated)&&(a="success"),a}},69407:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(49244).createContext)(void 0)},50992:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>E,triggerFocus:()=>s.triggerFocus});var n=r(49244),o=r(46942),i=r.n(o),a=r(70472),s=r(11980),l=r(8719),c=r(62897),u=r(96311),f=r(58182),d=(r(18877),r(68676)),p=r(98119),h=r(20934),m=r(829),g=r(94241),y=r(90124),v=r(76327),b=r(55254),O=r(81594),w=r(17001),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r;const{prefixCls:o,bordered:s=!0,status:E,size:x,disabled:P,onBlur:T,onFocus:j,suffix:C,allowClear:k,addonAfter:_,addonBefore:A,className:D,style:R,styles:L,rootClassName:M,onChange:I,classNames:N,variant:$}=e,B=S(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);const{getPrefixCls:F,direction:Q,input:V}=n.useContext(d.ConfigContext),z=F("input",o),U=(0,n.useRef)(null),G=(0,h.default)(z),[W,X,q]=(0,O.default)(z,G),{compactSize:H,compactItemClassnames:Z}=(0,v.useCompactItemContext)(z,Q),Y=(0,m.default)((e=>{var t;return null!==(t=null!=x?x:H)&&void 0!==t?t:e})),K=n.useContext(p.default),J=null!=P?P:K,{status:ee,hasFeedback:te,feedbackIcon:re}=(0,n.useContext)(g.FormItemInputContext),ne=(0,f.getMergedStatus)(ee,E),oe=(0,w.hasPrefixSuffix)(e)||!!te;(0,n.useRef)(oe);const ie=(0,b.default)(U,!0),ae=(te||C)&&n.createElement(n.Fragment,null,C,te&&re),se=(0,u.default)(null!=k?k:null==V?void 0:V.allowClear),[le,ce]=(0,y.default)("input",$,s);return W(n.createElement(a.default,Object.assign({ref:(0,l.composeRef)(t,U),prefixCls:z,autoComplete:null==V?void 0:V.autoComplete},B,{disabled:J,onBlur:e=>{ie(),null==T||T(e)},onFocus:e=>{ie(),null==j||j(e)},style:Object.assign(Object.assign({},null==V?void 0:V.style),R),styles:Object.assign(Object.assign({},null==V?void 0:V.styles),L),suffix:ae,allowClear:se,className:i()(D,M,q,G,Z,null==V?void 0:V.className),onChange:e=>{ie(),null==I||I(e)},addonBefore:A&&n.createElement(c.default,{form:!0,space:!0},A),addonAfter:_&&n.createElement(c.default,{form:!0,space:!0},_),classNames:Object.assign(Object.assign(Object.assign({},N),null==V?void 0:V.classNames),{input:i()({[`${z}-sm`]:"small"===Y,[`${z}-lg`]:"large"===Y,[`${z}-rtl`]:"rtl"===Q},null==N?void 0:N.input,null===(r=null==V?void 0:V.classNames)||void 0===r?void 0:r.input,X),variant:i()({[`${z}-${le}`]:ce},(0,f.getStatusClassNames)(z,ne)),affixWrapper:i()({[`${z}-affix-wrapper-sm`]:"small"===Y,[`${z}-affix-wrapper-lg`]:"large"===Y,[`${z}-affix-wrapper-rtl`]:"rtl"===Q},X),wrapper:i()({[`${z}-group-rtl`]:"rtl"===Q},X),groupWrapper:i()({[`${z}-group-wrapper-sm`]:"small"===Y,[`${z}-group-wrapper-lg`]:"large"===Y,[`${z}-group-wrapper-rtl`]:"rtl"===Q,[`${z}-group-wrapper-${le}`]:ce},(0,f.getStatusClassNames)(`${z}-group-wrapper`,ne,te),X)})})))}))},30298:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m});var n=r(49244),o=r(20736),i=r(46942),a=r.n(i),s=r(8719),l=r(40682),c=r(50400),u=r(68676),f=r(829),d=r(76327),p=r(50992),h=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const{prefixCls:r,inputPrefixCls:i,className:m,size:g,suffix:y,enterButton:v=!1,addonAfter:b,loading:O,disabled:w,onSearch:S,onChange:E,onCompositionStart:x,onCompositionEnd:P}=e,T=h(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:j,direction:C}=n.useContext(u.ConfigContext),k=n.useRef(!1),_=j("input-search",r),A=j("input",i),{compactSize:D}=(0,d.useCompactItemContext)(_,C),R=(0,f.default)((e=>{var t;return null!==(t=null!=g?g:D)&&void 0!==t?t:e})),L=n.useRef(null),M=e=>{var t;document.activeElement===(null===(t=L.current)||void 0===t?void 0:t.input)&&e.preventDefault()},I=e=>{var t,r;S&&S(null===(r=null===(t=L.current)||void 0===t?void 0:t.input)||void 0===r?void 0:r.value,e,{source:"input"})},N="boolean"==typeof v?n.createElement(o.default,null):null,$=`${_}-button`;let B;const F=v||{},Q=F.type&&!0===F.type.__ANT_BUTTON;B=Q||"button"===F.type?(0,l.cloneElement)(F,Object.assign({onMouseDown:M,onClick:e=>{var t,r;null===(r=null===(t=null==F?void 0:F.props)||void 0===t?void 0:t.onClick)||void 0===r||r.call(t,e),I(e)},key:"enterButton"},Q?{className:$,size:R}:{})):n.createElement(c.default,{className:$,type:v?"primary":void 0,size:R,disabled:w,key:"enterButton",onMouseDown:M,onClick:I,loading:O,icon:N},v),b&&(B=[B,(0,l.cloneElement)(b,{key:"addonAfter"})]);const V=a()(_,{[`${_}-rtl`]:"rtl"===C,[`${_}-${R}`]:!!R,[`${_}-with-button`]:!!v},m);return n.createElement(p.default,Object.assign({ref:(0,s.composeRef)(L,t),onPressEnter:e=>{k.current||O||I(e)}},T,{size:R,onCompositionStart:e=>{k.current=!0,null==x||x(e)},onCompositionEnd:e=>{k.current=!1,null==P||P(e)},prefixCls:A,addonAfter:B,suffix:y,onChange:e=>{(null==e?void 0:e.target)&&"click"===e.type&&S&&S(e.target.value,e,{source:"clear"}),null==E||E(e)},className:V,disabled:w}))}))},88592:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(49244),o=r(46942),i=r.n(o),a=r(68200),s=r(96311),l=r(58182),c=(r(18877),r(68676)),u=r(98119),f=r(20934),d=r(829),p=r(94241),h=r(90124),m=r(50992),g=r(81594),y=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{var r,o;const{prefixCls:v,bordered:b=!0,size:O,disabled:w,status:S,allowClear:E,classNames:x,rootClassName:P,className:T,style:j,styles:C,variant:k}=e,_=y(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]);const{getPrefixCls:A,direction:D,textArea:R}=n.useContext(c.ConfigContext),L=(0,d.default)(O),M=n.useContext(u.default),I=null!=w?w:M,{status:N,hasFeedback:$,feedbackIcon:B}=n.useContext(p.FormItemInputContext),F=(0,l.getMergedStatus)(N,S),Q=n.useRef(null);n.useImperativeHandle(t,(()=>{var e;return{resizableTextArea:null===(e=Q.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,r;(0,m.triggerFocus)(null===(r=null===(t=Q.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e)},blur:()=>{var e;return null===(e=Q.current)||void 0===e?void 0:e.blur()}}}));const V=A("input",v),z=(0,f.default)(V),[U,G,W]=(0,g.default)(V,z),[X,q]=(0,h.default)("textArea",k,b),H=(0,s.default)(null!=E?E:null==R?void 0:R.allowClear);return U(n.createElement(a.default,Object.assign({autoComplete:null==R?void 0:R.autoComplete},_,{style:Object.assign(Object.assign({},null==R?void 0:R.style),j),styles:Object.assign(Object.assign({},null==R?void 0:R.styles),C),disabled:I,allowClear:H,className:i()(W,z,T,P,null==R?void 0:R.className),classNames:Object.assign(Object.assign(Object.assign({},x),null==R?void 0:R.classNames),{textarea:i()({[`${V}-sm`]:"small"===L,[`${V}-lg`]:"large"===L},G,null==x?void 0:x.textarea,null===(r=null==R?void 0:R.classNames)||void 0===r?void 0:r.textarea),variant:i()({[`${V}-${X}`]:q},(0,l.getStatusClassNames)(V,F)),affixWrapper:i()(`${V}-textarea-affix-wrapper`,{[`${V}-affix-wrapper-rtl`]:"rtl"===D,[`${V}-affix-wrapper-sm`]:"small"===L,[`${V}-affix-wrapper-lg`]:"large"===L,[`${V}-textarea-show-count`]:e.showCount||(null===(o=e.count)||void 0===o?void 0:o.show)},G)}),prefixCls:V,suffix:$&&n.createElement("span",{className:`${V}-textarea-suffix`},B),ref:Q})))}))},55254:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(49244);function o(e,t){const r=(0,n.useRef)([]),o=()=>{r.current.push(setTimeout((()=>{var t,r,n,o;(null===(t=e.current)||void 0===t?void 0:t.input)&&"password"===(null===(r=e.current)||void 0===r?void 0:r.input.getAttribute("type"))&&(null===(n=e.current)||void 0===n?void 0:n.input.hasAttribute("value"))&&(null===(o=e.current)||void 0===o||o.input.removeAttribute("value"))})))};return(0,n.useEffect)((()=>(t&&o(),()=>r.current.forEach((e=>{e&&clearTimeout(e)})))),[]),o}},81594:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S,genActiveStyle:()=>u,genBasicInputStyle:()=>p,genInputGroupStyle:()=>h,genInputSmallStyle:()=>d,genPlaceholderStyle:()=>c,initComponentToken:()=>s.initComponentToken,initInputToken:()=>s.initInputToken});var n=r(54018),o=r(25905),i=r(55974),a=r(87892),s=r(44335),l=r(89222);const c=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),u=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),f=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:o,paddingInlineLG:i}=e;return{padding:`${(0,n.unit)(t)} ${(0,n.unit)(i)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:o}},d=e=>({padding:`${(0,n.unit)(e.paddingBlockSM)} ${(0,n.unit)(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),p=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,n.unit)(e.paddingBlock)} ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},c(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},f(e)),"&-sm":Object.assign({},d(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},f(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},d(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,n.unit)(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${(0,n.unit)(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${(0,n.unit)(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,o.clearFix)()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`\n & > ${t}-affix-wrapper,\n & > ${t}-number-affix-wrapper,\n & > ${r}-picker-range\n `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,\n & > ${r}-select-auto-complete ${t},\n & > ${r}-cascader-picker ${t},\n & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,\n & > ${r}-select:first-child > ${r}-select-selector,\n & > ${r}-select-auto-complete:first-child ${t},\n & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,\n & > ${r}-select:last-child > ${r}-select-selector,\n & > ${r}-cascader-picker:last-child ${t},\n & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},m=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:i}=e,a=i(r).sub(i(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),p(e)),(0,l.genOutlinedStyle)(e)),(0,l.genFilledStyle)(e)),(0,l.genBorderlessStyle)(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},g=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,n.unit)(e.inputAffixPadding)}`}}}},y=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:s}=e,l=`${t}-affix-wrapper`,c=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},p(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),g(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[c]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},v=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},(0,o.resetComponent)(e)),h(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},(0,l.genOutlinedGroupStyle)(e)),(0,l.genFilledGroupStyle)(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},b=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,\n > ${t},\n ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},O=e=>{const{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[n]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`\n &-allow-clear > ${t},\n &-affix-wrapper${n}-has-feedback ${t}\n `]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},w=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},S=(0,a.genStyleHooks)("Input",(e=>{const t=(0,a.mergeToken)(e,(0,s.initInputToken)(e));return[m(t),O(t),y(t),v(t),b(t),w(t),(0,i.genCompactItemStyle)(t)]}),s.initComponentToken,{resetFont:!1})},44335:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initComponentToken:()=>i,initInputToken:()=>o});var n=r(87892);function o(e){return(0,n.mergeToken)(e,{inputAffixPadding:e.paddingXXS})}const i=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:f,colorFillAlter:d,colorPrimaryHover:p,colorPrimary:h,controlOutlineWidth:m,controlOutline:g,colorErrorOutline:y,colorWarningOutline:v,colorBgContainer:b}=e;return{paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((i-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-o,paddingInline:c-o,paddingInlineSM:u-o,paddingInlineLG:f-o,addonBg:d,activeBorderColor:h,hoverBorderColor:p,activeShadow:`0 0 0 ${m}px ${g}`,errorActiveShadow:`0 0 0 ${m}px ${y}`,warningActiveShadow:`0 0 0 ${m}px ${v}`,hoverBg:b,activeBg:b,inputFontSize:r,inputFontSizeLG:s,inputFontSizeSM:r}}},89222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genBaseOutlinedStyle:()=>s,genBorderlessStyle:()=>d,genDisabledStyle:()=>a,genFilledGroupStyle:()=>y,genFilledStyle:()=>m,genHoverStyle:()=>i,genOutlinedGroupStyle:()=>f,genOutlinedStyle:()=>c});var n=r(54018),o=r(87892);const i=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),a=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},i((0,o.mergeToken)(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),s=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),l=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},s(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),c=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},s(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),l(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),l(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),u=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),f=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},u(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),u(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},a(e))}})}),d=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},p=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:null==t?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),h=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},p(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),m=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},a(e))}),h(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),h(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),g=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),y=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},g(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),g(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${(0,n.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})})},17001:(e,t,r)=>{"use strict";function n(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}r.r(t),r.d(t,{hasPrefixSuffix:()=>n})},60685:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(49244).createContext)(void 0)},8182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(96069),o=r(24685),i=r(61340),a=r(65341);const s="${label} is not a valid ${type}",l={locale:"en",Pagination:n.default,DatePicker:i.default,TimePicker:a.default,Calendar:o.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},21282:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ANT_MARK:()=>s,default:()=>l,useLocale:()=>a.default});var n=r(49244),o=(r(18877),r(21815)),i=r(60685),a=r(19155);const s="internalMark";const l=e=>{const{locale:t={},children:r,_ANT_MARK__:a}=e;n.useEffect((()=>(0,o.changeConfirmLocale)(null==t?void 0:t.Modal)),[t]);const s=n.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return n.createElement(i.default.Provider,{value:s},r)}},19155:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244),o=r(60685),i=r(8182);const a=(e,t)=>{const r=n.useContext(o.default);return[n.useMemo((()=>{var n;const o=t||i.default[e],a=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,r]),n.useMemo((()=>{const e=null==r?void 0:r.locale;return(null==r?void 0:r.exist)&&!e?i.default.locale:e}),[r])]}},21815:(e,t,r)=>{"use strict";r.r(t),r.d(t,{changeConfirmLocale:()=>s,getConfirmLocale:()=>l});var n=r(8182);let o=Object.assign({},n.default.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),n.default.Modal);function s(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},n.default.Modal)}function l(){return o}},76327:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NoCompactStyle:()=>p,SpaceCompactItemContext:()=>f,default:()=>m,useCompactItemContext:()=>d});var n=r(49244),o=r(46942),i=r.n(o),a=r(82546),s=r(68676),l=r(829),c=r(60776),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const r=n.useContext(f),o=n.useMemo((()=>{if(!r)return"";const{compactDirection:n,isFirstItem:o,isLastItem:a}=r,s="vertical"===n?"-vertical-":"-";return i()(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:"rtl"===t})}),[e,t,r]);return{compactSize:null==r?void 0:r.compactSize,compactDirection:null==r?void 0:r.compactDirection,compactItemClassnames:o}},p=e=>{let{children:t}=e;return n.createElement(f.Provider,{value:null},t)},h=e=>{var{children:t}=e,r=u(e,["children"]);return n.createElement(f.Provider,{value:r},t)},m=e=>{const{getPrefixCls:t,direction:r}=n.useContext(s.ConfigContext),{size:o,direction:d,block:p,prefixCls:m,className:g,rootClassName:y,children:v}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),O=(0,l.default)((e=>null!=o?o:e)),w=t("space-compact",m),[S,E]=(0,c.default)(w),x=i()(w,E,{[`${w}-rtl`]:"rtl"===r,[`${w}-block`]:p,[`${w}-vertical`]:"vertical"===d},g,y),P=n.useContext(f),T=(0,a.default)(v),j=n.useMemo((()=>T.map(((e,t)=>{const r=(null==e?void 0:e.key)||`${w}-item-${t}`;return n.createElement(h,{key:r,compactSize:O,compactDirection:d,isFirstItem:0===t&&(!P||(null==P?void 0:P.isFirstItem)),isLastItem:t===T.length-1&&(!P||(null==P?void 0:P.isLastItem))},e)}))),[o,T,P]);return 0===T.length?null:S(n.createElement("div",Object.assign({className:x},b),j))}},58521:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}}},60776:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,prepareComponentToken:()=>s});var n=r(87892),o=r(58521);const i=e=>{const{componentCls:t,antCls:r}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${r}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},a=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},s=()=>({}),l=(0,n.genStyleHooks)("Space",(e=>{const t=(0,n.mergeToken)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[i(t),a(t),(0,o.default)(t)]}),(()=>({})),{resetStyle:!1})},65461:(e,t,r)=>{"use strict";function n(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function o(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},n(e,t)),(r=e.componentCls,o=t,{[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${r}-sm, &${r}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var r,o}r.r(t),r.d(t,{genCompactItemVerticalStyle:()=>o})},55974:(e,t,r)=>{"use strict";function n(e,t,r){const{focusElCls:n,focus:o,borderElCls:i}=r,a=i?"> *":"",s=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},n?{[`&${n}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,r){const{borderElCls:n}=r,o=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:r}=e,i=`${r}-compact`;return{[i]:Object.assign(Object.assign({},n(e,i,t)),o(r,i,t))}}r.r(t),r.d(t,{genCompactItemStyle:()=>i})},25905:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearFix:()=>s,genCommonStyle:()=>c,genFocusOutline:()=>u,genFocusStyle:()=>f,genLinkStyle:()=>l,operationUnit:()=>d,resetComponent:()=>i,resetIcon:()=>a,textEllipsis:()=>o});var n=r(54018);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),c=(e,t,r,n)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=r?`.${r}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return!1!==n&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),a),{[o]:a})}},u=e=>({outline:`${(0,n.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),f=e=>({"&:focus-visible":Object.assign({},u(e))}),d=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},f(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},60977:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},28680:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fadeIn:()=>i,fadeOut:()=>a,initFadeMotion:()=>s});var n=r(54018),o=r(14980);const i=new n.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new n.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:r}=e,n=`${r}-fade`,s=t?"&":"";return[(0,o.initMotion)(n,i,a,e.motionDurationMid,t),{[`\n ${s}${n}-enter,\n ${s}${n}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${s}${n}-leave`]:{animationTimingFunction:"linear"}}]}},1464:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fadeIn:()=>o.fadeIn,fadeOut:()=>o.fadeOut,genCollapseMotion:()=>n.default,initFadeMotion:()=>o.initFadeMotion,initMoveMotion:()=>i.initMoveMotion,initSlideMotion:()=>a.initSlideMotion,initZoomMotion:()=>s.initZoomMotion,moveDownIn:()=>i.moveDownIn,moveDownOut:()=>i.moveDownOut,moveLeftIn:()=>i.moveLeftIn,moveLeftOut:()=>i.moveLeftOut,moveRightIn:()=>i.moveRightIn,moveRightOut:()=>i.moveRightOut,moveUpIn:()=>i.moveUpIn,moveUpOut:()=>i.moveUpOut,slideDownIn:()=>a.slideDownIn,slideDownOut:()=>a.slideDownOut,slideLeftIn:()=>a.slideLeftIn,slideLeftOut:()=>a.slideLeftOut,slideRightIn:()=>a.slideRightIn,slideRightOut:()=>a.slideRightOut,slideUpIn:()=>a.slideUpIn,slideUpOut:()=>a.slideUpOut,zoomBigIn:()=>s.zoomBigIn,zoomBigOut:()=>s.zoomBigOut,zoomDownIn:()=>s.zoomDownIn,zoomDownOut:()=>s.zoomDownOut,zoomIn:()=>s.zoomIn,zoomLeftIn:()=>s.zoomLeftIn,zoomLeftOut:()=>s.zoomLeftOut,zoomOut:()=>s.zoomOut,zoomRightIn:()=>s.zoomRightIn,zoomRightOut:()=>s.zoomRightOut,zoomUpIn:()=>s.zoomUpIn,zoomUpOut:()=>s.zoomUpOut});var n=r(60977),o=r(28680),i=r(24211),a=r(53561),s=r(99077)},14980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initMotion:()=>i});const n=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,r,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},n(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}}},24211:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initMoveMotion:()=>h,moveDownIn:()=>i,moveDownOut:()=>a,moveLeftIn:()=>s,moveLeftOut:()=>l,moveRightIn:()=>c,moveRightOut:()=>u,moveUpIn:()=>f,moveUpOut:()=>d});var n=r(54018),o=r(14980);const i=new n.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new n.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),s=new n.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),l=new n.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new n.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new n.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new n.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new n.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:s,outKeyframes:l},"move-right":{inKeyframes:c,outKeyframes:u}},h=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},53561:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initSlideMotion:()=>h,slideDownIn:()=>s,slideDownOut:()=>l,slideLeftIn:()=>c,slideLeftOut:()=>u,slideRightIn:()=>f,slideRightOut:()=>d,slideUpIn:()=>i,slideUpOut:()=>a});var n=r(54018),o=r(14980);const i=new n.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new n.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),s=new n.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new n.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new n.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new n.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new n.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new n.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:s,outKeyframes:l},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},h=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.initMotion)(n,i,a,e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},99077:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initZoomMotion:()=>v,zoomBigIn:()=>s,zoomBigOut:()=>l,zoomDownIn:()=>m,zoomDownOut:()=>g,zoomIn:()=>i,zoomLeftIn:()=>f,zoomLeftOut:()=>d,zoomOut:()=>a,zoomRightIn:()=>p,zoomRightOut:()=>h,zoomUpIn:()=>c,zoomUpOut:()=>u});var n=r(54018),o=r(14980);const i=new n.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new n.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new n.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),l=new n.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new n.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new n.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new n.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),d=new n.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new n.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new n.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=new n.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),g=new n.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),y={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:l},"zoom-big-fast":{inKeyframes:s,outKeyframes:l},"zoom-left":{inKeyframes:f,outKeyframes:d},"zoom-right":{inKeyframes:p,outKeyframes:h},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:m,outKeyframes:g}},v=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:i,outKeyframes:a}=y[t];return[(0,o.initMotion)(n,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${n}-enter,\n ${n}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},49806:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DesignTokenContext:()=>c,defaultConfig:()=>l,defaultTheme:()=>s});var n=r(49244),o=r(54018),i=r(31874),a=r(50723);const s=(0,o.createTheme)(i.default),l={token:a.default,override:{override:a.default},hashed:!0},c=n.createContext(l)},77729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PresetColors:()=>n.PresetColors});var n=r(13950)},13950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PresetColors:()=>n});const n=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},87892:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DesignTokenContext:()=>f.DesignTokenContext,PresetColors:()=>i.PresetColors,calc:()=>o.genCalc,defaultConfig:()=>f.defaultConfig,genComponentStyleHook:()=>l.genComponentStyleHook,genPresetColor:()=>c.default,genStyleHooks:()=>l.genStyleHooks,genSubStyleComponent:()=>l.genSubStyleComponent,getLineHeight:()=>a.getLineHeight,mergeToken:()=>o.mergeToken,statistic:()=>o.statistic,statisticToken:()=>o.statisticToken,useResetIconStyle:()=>u.default,useStyleRegister:()=>n.useStyleRegister,useToken:()=>s.default});var n=r(54018),o=r(67906),i=r(77729),a=r(94925),s=r(93093),l=r(37358),c=r(31108),u=r(62366),f=r(49806)},30796:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getAlphaColor:()=>o,getSolidColor:()=>i});var n=r(64674);const o=(e,t)=>new n.TinyColor(e).setAlpha(t).toRgbString(),i=(e,t)=>new n.TinyColor(e).darken(t).toHexString()},19200:(e,t,r)=>{"use strict";r.r(t),r.d(t,{generateColorPalettes:()=>i,generateNeutralColorPalettes:()=>a});var n=r(87463),o=r(30796);const i=e=>{const t=(0,n.generate)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},a=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:(0,o.getAlphaColor)(n,.88),colorTextSecondary:(0,o.getAlphaColor)(n,.65),colorTextTertiary:(0,o.getAlphaColor)(n,.45),colorTextQuaternary:(0,o.getAlphaColor)(n,.25),colorFill:(0,o.getAlphaColor)(n,.15),colorFillSecondary:(0,o.getAlphaColor)(n,.06),colorFillTertiary:(0,o.getAlphaColor)(n,.04),colorFillQuaternary:(0,o.getAlphaColor)(n,.02),colorBgSolid:(0,o.getAlphaColor)(n,1),colorBgSolidHover:(0,o.getAlphaColor)(n,.75),colorBgSolidActive:(0,o.getAlphaColor)(n,.95),colorBgLayout:(0,o.getSolidColor)(r,4),colorBgContainer:(0,o.getSolidColor)(r,0),colorBgElevated:(0,o.getSolidColor)(r,0),colorBgSpotlight:(0,o.getAlphaColor)(n,.85),colorBgBlur:"transparent",colorBorder:(0,o.getSolidColor)(r,15),colorBorderSecondary:(0,o.getSolidColor)(r,6)}}},31874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(87463),o=r(50723),i=r(27484),a=r(99800),s=r(78690),l=r(51892),c=r(21312),u=r(19200);function f(e){n.presetPrimaryColors.pink=n.presetPrimaryColors.magenta,n.presetPalettes.pink=n.presetPalettes.magenta;const t=Object.keys(o.defaultPresetColors).map((t=>{const r=e[t]===n.presetPrimaryColors[t]?n.presetPalettes[t]:(0,n.generate)(e[t]);return new Array(10).fill(1).reduce(((e,n,o)=>(e[`${t}-${o+1}`]=r[o],e[`${t}${o+1}`]=r[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.default)(e,{generateColorPalettes:u.generateColorPalettes,generateNeutralColorPalettes:u.generateNeutralColorPalettes})),(0,l.default)(e.fontSize)),(0,c.default)(e)),(0,s.default)(e)),(0,a.default)(e))}},50723:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o,defaultPresetColors:()=>n});const n={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},n),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},27484:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(64674);function o(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:s,colorInfo:l,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=r(c),p=r(i),h=r(a),m=r(s),g=r(l),y=o(u,f),v=r(e.colorLink||e.colorInfo),b=new n.TinyColor(m[1]).mix(new n.TinyColor(m[3]),50).toHexString();return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:b,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new n.TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},99800:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(84916);function o(e){const{motionUnit:t,motionBase:r,borderRadius:o,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:i+1},(0,n.default)(o))}},78690:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},51892:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(94925);const o=e=>{const t=(0,n.default)(e),r=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),i=r[1],a=r[0],s=r[2],l=o[1],c=o[0],u=o[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:s,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*s),fontHeightSM:Math.round(c*a),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},94925:(e,t,r)=>{"use strict";function n(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,r)=>{const n=r-1,o=e*Math.pow(Math.E,n/5),i=r>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:n(e)})))}r.r(t),r.d(t,{default:()=>o,getLineHeight:()=>n})},84916:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}}},21312:(e,t,r)=>{"use strict";function n(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}r.r(t),r.d(t,{default:()=>n})},93093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h,getComputedToken:()=>p,ignore:()=>f,unitless:()=>u});var n=r(49244),o=r(54018),i=r(16056),a=r(49806),s=r(50723),l=r(68734),c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const n=r.getDerivativeToken(e),{override:o}=t,i=c(t,["override"]);let a=Object.assign(Object.assign({},n),{override:o});return a=(0,l.default)(a),i&&Object.entries(i).forEach((e=>{let[t,r]=e;const{theme:n}=r,o=c(r,["theme"]);let i=o;n&&(i=p(Object.assign(Object.assign({},a),o),{override:o},n)),a[t]=i})),a};function h(){const{token:e,hashed:t,theme:r,override:c,cssVar:h}=n.useContext(a.DesignTokenContext),m=`${i.default}-${t||""}`,g=r||a.defaultTheme,[y,v,b]=(0,o.useCacheToken)(g,[s.default,e],{salt:m,override:c,getComputedToken:p,formatToken:l.default,cssVar:h&&{prefix:h.prefix,key:h.key,unitless:u,ignore:f,preserve:d}});return[g,b,t?v:"",y,h]}},68734:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(64674),o=r(50723),i=r(85045),a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o{delete s[e]}));const l=Object.assign(Object.assign({},r),s),c=1200,u=1600;if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:(0,i.default)(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:(0,i.default)(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:(0,i.default)(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:3*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:(0,i.default)(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:c,screenXLMin:c,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new n.TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new n.TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new n.TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),s)}},31108:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(77729);function o(e,t){return n.PresetColors.reduce(((r,n)=>{const o=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],s=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:s}))}),{})}},37358:(e,t,r)=>{"use strict";r.r(t),r.d(t,{genComponentStyleHook:()=>u,genStyleHooks:()=>c,genSubStyleComponent:()=>f});var n=r(49244),o=r(67906),i=r(81225),a=r(25905),s=r(93093),l=r(62366);const{genStyleHooks:c,genComponentStyleHook:u,genSubStyleComponent:f}=(0,o.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,n.useContext)(i.ConfigContext);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,r,n,o]=(0,s.default)();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=(0,n.useContext)(i.ConfigContext);return(0,l.default)(t,e),null!=e?e:{}},getResetStyles:e=>[{"&":(0,a.genLinkStyle)(e)}],getCommonStyle:a.genCommonStyle,getCompUnitless:()=>s.unitless})},85045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(64674);function o(e){return e>=0&&e<=255}const i=function(e,t){const{r,g:i,b:a,a:s}=new n.TinyColor(e).toRgb();if(s<1)return e;const{r:l,g:c,b:u}=new n.TinyColor(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((r-l*(1-e))/e),s=Math.round((i-c*(1-e))/e),f=Math.round((a-u*(1-e))/e);if(o(t)&&o(s)&&o(f))return new n.TinyColor({r:t,g:s,b:f,a:Math.round(100*e)/100}).toRgbString()}return new n.TinyColor({r,g:i,b:a,a:1}).toRgbString()}},62366:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(54018),o=r(25905),i=r(93093);const a=(e,t)=>{const[r,a]=(0,i.default)();return(0,n.useStyleRegister)({theme:r,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.resetIcon)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},65341:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},16056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(77700).default},77700:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n="5.22.1"},62115:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o});var n=r(75816),o=(0,n.createApi)({baseQuery:(0,n.fetchBaseQuery)({baseUrl:"/"}),endpoints:function(){return{}}})},35238:(e,t,r)=>{"use strict";function n(){return"http://localhost"}function o(){return"/pimcore-studio/api"}function i(){return"".concat("http://localhost").concat("/pimcore-studio/api")}r.r(t),r.d(t,{getDomain:()=>n,getDomainWithPrefix:()=>i,getPrefix:()=>o})},51430:(e,t,r)=>{"use strict";r.r(t),r.d(t,{invalidatingTags:()=>i,providingTags:()=>o,tagNames:()=>n});var n={ELEMENT:"ELEMENT",ASSET:"ASSET",ASSET_DETAIL:"ASSET_DETAIL",ASSET_TREE:"ASSET_TREE",DATA_OBJECT:"DATA_OBJECT",DATA_OBJECT_DETAIL:"DATA_OBJECT_DETAIL",DATA_OBJECT_TREE:"DATA_OBJECT_TREE",WORKFLOW:"WORKFLOW",VERSIONS:"VERSION",PROPERTIES:"PROPERTIES",SCHEDULES:"SCHEDULES",DEPENDENCIES:"DEPENDENCIES",NOTES_AND_EVENTS:"NOTES_AND_EVENTS"},o={ELEMENT:function(){return[n.ELEMENT]},ASSET:function(){return[n.ASSET]},ASSET_DETAIL:function(){return[n.ASSET,n.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[n.ASSET,{type:n.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[n.ASSET,n.ASSET_TREE]},ASSET_TREE_ID:function(e){return[n.ASSET,n.ASSET_TREE,{type:n.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:n.ASSET_DETAIL,id:e},n.VERSIONS]},DATA_OBJECT_DETAIL:function(){return[n.DATA_OBJECT,n.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[n.DATA_OBJECT,{type:n.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[n.DATA_OBJECT,n.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[n.DATA_OBJECT,n.DATA_OBJECT_TREE,{type:n.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t),n.PROPERTIES]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t),n.DEPENDENCIES]},ELEMENT_SCHEDULES:function(e,t){return[{type:n.SCHEDULES,id:t,elementType:e},n.SCHEDULES]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t),n.WORKFLOW]},VERSIONS_DETAIL:function(e){return[{type:n.VERSIONS,id:e},n.VERSIONS]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),n.NOTES_AND_EVENTS]},NOTES_AND_EVENTS_ID:function(e){return[n.NOTES_AND_EVENTS,{type:n.NOTES_AND_EVENTS,id:e}]}},i={ELEMENT:function(){return[n.ELEMENT]},ASSET:function(){return[n.ASSET]},ASSET_DETAIL:function(){return[n.ASSET_DETAIL]},ASSET_DETAIL_ID:function(e){return[{type:n.ASSET_DETAIL,id:e}]},ASSET_TREE:function(){return[n.ASSET_TREE]},ASSET_TREE_ID:function(e){return[{type:n.ASSET_TREE,id:e}]},ASSET_VERSIONS:function(e){return[{type:n.ASSET_DETAIL,id:e}]},DATA_OBJECT:function(){return[n.DATA_OBJECT]},DATA_OBJECT_DETAIL:function(){return[n.DATA_OBJECT_DETAIL]},DATA_OBJECT_DETAIL_ID:function(e){return[{type:n.DATA_OBJECT_DETAIL,id:e}]},DATA_OBJECT_TREE:function(){return[n.DATA_OBJECT_TREE]},DATA_OBJECT_TREE_ID:function(e){return[{type:n.DATA_OBJECT_TREE,id:e}]},ELEMENT_PROPERTIES:function(e,t){return[a(e,t)]},ELEMENT_DEPENDENCIES:function(e,t){return[a(e,t)]},ELEMENT_SCHEDULES:function(e,t){return[{type:n.SCHEDULES,id:t,elementType:e}]},ELEMENT_WORKFLOW:function(e,t){return[a(e,t)]},NOTES_AND_EVENTS_ID:function(e){return[{type:n.NOTES_AND_EVENTS,id:e}]},VERSIONS_DETAIL:function(e){return[{type:n.VERSIONS,id:e}]},ELEMENT_NOTES_AND_EVENTS:function(e,t){return[a(e,t),n.NOTES_AND_EVENTS]}},a=function(e,t){switch(e){case"asset":return{type:n.ASSET_DETAIL,id:t};case"data-object":return{type:n.DATA_OBJECT_DETAIL,id:t}}throw new Error("Unknown element type: ".concat(e))}},32629:(e,t,r)=>{"use strict";var n,o,i,a,s,l,c;r.r(t),r.d(t,{appConfig:()=>h,currentDomain:()=>f});var u=document.querySelector("#app"),f=window.location.origin;null===u&&console.warn("App element not found");var d=null!==(n=null==u?void 0:u.getAttribute("data-app-config"))&&void 0!==n?n:null,p=null;null!==d&&(p=JSON.parse(d));var h={baseUrl:null!==(o=null===(i=p)||void 0===i?void 0:i.baseUrl)&&void 0!==o?o:"/pimcore-studio/",mercureUrl:null!==(a=null===(s=p)||void 0===s?void 0:s.mercureUrl)&&void 0!==a?a:"".concat(f,"/.well-known/mercure"),maxPageSize:null!==(l=null===(c=p)||void 0===c?void 0:c.maxPageSize)&&void 0!==l?l:9999999}},81841:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DateTimeConfig:()=>S});var n=r(49244),o=r(74353),i=r.n(o),a=r(90445),s=r.n(a),l=r(97375),c=r.n(l),u=r(46986),f=r.n(u),d=r(21840),p=r.n(d),h=r(8134),m=r.n(h),g=r(28623),y=r.n(g),v=r(83826),b=r.n(v),O=r(88569),w=r.n(O),S=function(e){return i().extend(s()),i().extend(c()),i().extend(f()),i().extend(p()),i().extend(m()),i().extend(y()),i().extend(b()),i().extend(w()),n.createElement(n.Fragment,null,e.children)}},53346:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(31972),i=r(48292),a=r(3240),s=r(55826),l=r(39122),c=r(97626),u=r(38198),f=r(76414),d=r(65686),p=r(63496),h=r(21574),m=r(81815),g=r(26894),y=r(41450),v=r(28255),b=r(7478),O=r(77574),w=r(65510),S=r(36676),E=r(38250),x=r(51049),P=r(73105),T=r(90762),j=r(79869),C=r(33465),k=r(39117),_=r(50489),A=r(12137),D=r(72265),R=r(31793),L=r(70973),M=r(6861),I=r(20719),N=r(84360),$=r(75131),B=r(17632),F=r(35728),Q=r(60646),V=r(33842),z=r(74147),U=r(18014),G=r(42691),W=r(94088),X=r(132),q=r(20097),H=r(71050),Z=r(64381),Y=r(33576),K=r(99835),J=r(48510),ee=r(68708),te=r(11102),re=r(28734),ne=r(34499),oe=r(47422),ie=r(59880),ae=r(62883),se=r(79349),le=r(43552),ce=r(21669),ue=r(33804),fe=r(19761),de=r(68887),pe=r(62846),he=r(28957),me=r(33146),ge=r(11463),ye=r(17879),ve=r(75991),be=r(90311),Oe=r(45592),we=r(37456),Se=r(37544),Ee=r(64928),xe=r(56142),Pe=r(74019),Te=r(83898),je=r(96768),Ce=r(80217),ke=r(95330),_e=r(1165),Ae=r(90041),De=r(22406),Re=r(43697),Le=r(15226),Me=r(62140),Ie=r(6806),Ne=r(85458),$e=r(97713),Be=r(17693),Fe=r(44701),Qe=r(31255);n.container.bind(b.serviceIds.widgetManager).to(a.WidgetRegistry).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/TypeRegistry"]).to(te.TypeRegistry).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/DocumentTabManager"]).to(c.DocumentTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/ImageTabManager"]).to(s.ImageTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/TextTabManager"]).to(l.TextTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/VideoTabManager"]).to(u.VideoTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/AudioTabManager"]).to(f.AudioTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/ArchiveTabManager"]).to(h.ArchiveTabManager).inSingletonScope(),n.container.bind(b.serviceIds["Asset/Editor/UnknownTabManager"]).to(d.UnknownTabManager).inSingletonScope(),n.container.bind(b.serviceIds["DataObject/Editor/TypeRegistry"]).to(te.TypeRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DataObject/Editor/ObjectTabManager"]).to(g.ObjectTabManager).inSingletonScope(),n.container.bind(b.serviceIds["DataObject/Editor/FolderTabManager"]).to(o.FolderTabManager).inSingletonScope(),n.container.bind(b.serviceIds.iconLibrary).to(i.IconLibrary).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/FieldFilterRegistry"]).to(y.DynamicTypeFieldFilterRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/FieldFilter/Text"]).to(O.DynamicTypeFieldFilterText).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/FieldFilter/Number"]).to(w.DynamicTypeFieldFilterNumber).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/FieldFilter/Select"]).to(S.DynamicTypeFieldFilterSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/FieldFilter/Datetime"]).to(E.DynamicTypeFieldFilterDatetime).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCellRegistry"]).to(P.DynamicTypeGridCellRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Text"]).to(x.DynamicTypeGridCellText).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Textarea"]).to(T.DynamicTypeGridCellTextarea).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Select"]).to(j.DynamicTypeGridCellSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Checkbox"]).to(C.DynamicTypeGridCellCheckbox).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Date"]).to(k.DynamicTypeGridCellDate).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Time"]).to(_.DynamicTypeGridCellTime).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/DateTime"]).to(A.DynamicTypeGridCellDateTime).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetLink"]).to(D.DynamicTypeGridCellAssetLink).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/ObjectLink"]).to(R.DynamicTypeGridCellObjectLink).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/DocumentLink"]).to(L.DynamicTypeGridCellDocumentLink).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/OpenElement"]).to(M.DynamicTypeGridCellOpenElement).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetPreview"]).to(I.DynamicTypeGridCellAssetPreview).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetActions"]).to(N.DynamicTypeGridCellAssetActions).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"]).to($.DynamicTypeGridCellDependencyTypeIcon).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"]).to(B.DynamicTypeGridCellAssetCustomMetadataIcon).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"]).to(F.DynamicTypeGridCellAssetCustomMetadataValue).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/PropertyIcon"]).to(Q.DynamicTypeGridCellPropertyIcon).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/PropertyValue"]).to(V.DynamicTypeGridCellPropertyValue).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"]).to(z.DynamicTypeGridCellScheduleActionsSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"]).to(U.DynamicTypeGridCellVersionIdSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"]).to(G.DynamicTypeGridCellAssetVersionPreviewFieldLabel).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Asset"]).to($e.DynamicTypeGridCellAsset).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Object"]).to(Be.DynamicTypeGridCellObject).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/Document"]).to(Fe.DynamicTypeGridCellDocument).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/GridCell/LanguageSelect"]).to(Qe.DynamicTypeGridCellLanguageSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ListingRegistry"]).to(v.DynamicTypeListingRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/MetadataRegistry"]).to(W.DynamicTypeMetaDataRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Asset"]).to(X.DynamicTypeMetaDataAsset).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Checkbox"]).to(q.DynamicTypeMetaDataCheckbox).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Date"]).to(H.DynamicTypeMetaDataDate).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Document"]).to(Z.DynamicTypeMetaDataDocument).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Input"]).to(Y.DynamicTypeMetaDataInput).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Object"]).to(K.DynamicTypeMetaDataObject).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Select"]).to(J.DynamicTypeMetaDataSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/Metadata/Textarea"]).to(ee.DynamicTypeMetaDataTextarea).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayoutRegistry"]).to(re.DynamicTypeObjectLayoutRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Panel"]).to(ne.DynamicTypeObjectLayoutPanel).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"]).to(ie.DynamicTypeObjectLayoutTabpanel).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Accordion"]).to(ae.DynamicTypeObjectLayoutAccordion).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Region"]).to(se.DynamicTypeObjectLayoutRegion).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Text"]).to(le.DynamicTypeObjectLayoutText).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/Fieldset"]).to(ce.DynamicTypeObjectLayoutFieldset).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]).to(ue.DynamicTypeObjectLayoutFieldContainer).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectDataRegistry"]).to(oe.DynamicTypeObjectDataRegistry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Input"]).to(fe.DynamicTypeObjectDataInput).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Textarea"]).to(de.DynamicTypeObjectDataTextarea).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Password"]).to(pe.DynamicTypeObjectDataPassword).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Select"]).to(he.DynamicTypeObjectDataSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/MultiSelect"]).to(me.DynamicTypeObjectDataMultiSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Language"]).to(ge.DynamicTypeObjectDataLanguage).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"]).to(ye.DynamicTypeObjectDataLanguageMultiSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Country"]).to(ve.DynamicTypeObjectDataCountry).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"]).to(be.DynamicTypeObjectDataCountryMultiSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/User"]).to(Oe.DynamicTypeObjectDataUser).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/BooleanSelect"]).to(we.DynamicTypeObjectDataBooleanSelect).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Numeric"]).to(Se.DynamicTypeObjectDataNumeric).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/NumericRange"]).to(Ee.DynamicTypeObjectDataNumericRange).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Slider"]).to(xe.DynamicTypeObjectDataSlider).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Consent"]).to(Pe.DynamicTypeObjectDataConsent).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Firstname"]).to(Te.DynamicTypeObjectDataFirstname).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Lastname"]).to(je.DynamicTypeObjectDataLastname).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Email"]).to(Ce.DynamicTypeObjectDataEmail).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Gender"]).to(ke.DynamicTypeObjectDataGender).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/RgbaColor"]).to(_e.DynamicTypeObjectDataRgbaColor).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Date"]).to(Ae.DynamicTypeObjectDataDate).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Datetime"]).to(De.DynamicTypeObjectDataDatetime).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/DateRange"]).to(Re.DynamicTypeObjectDataDateRange).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Time"]).to(Le.DynamicTypeObjectDataTime).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/ExternalImage"]).to(Me.DynamicTypeObjectDataExternalImage).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/Block"]).to(Ie.DynamicTypeObjectDataBlock).inSingletonScope(),n.container.bind(b.serviceIds["DynamicTypes/ObjectData/LocalizedFields"]).to(Ne.DynamicTypeObjectDataLocalizedFields).inSingletonScope(),n.container.bind(b.serviceIds["ExecutionEngine/JobComponentRegistry"]).to(p.JobComponentRegistry).inSingletonScope(),n.container.bind(b.serviceIds["App/ComponentRegistry/ComponentRegistry"]).to(m.ComponentRegistry).inSingletonScope()},7478:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;ts,serviceIds:()=>l});var s={"DynamicTypes/FieldFilterRegistry":"DynamicTypes/FieldFilterRegistry","DynamicTypes/GridCellRegistry":"DynamicTypes/GridCellRegistry","DynamicTypes/ListingRegistry":"DynamicTypes/ListingRegistry","DynamicTypes/MetadataRegistry":"DynamicTypes/MetadataRegistry","DynamicTypes/ObjectLayoutRegistry":"DynamicTypes/ObjectLayoutRegistry","DynamicTypes/ObjectDataRegistry":"DynamicTypes/ObjectDataRegistry"},l=i(i({widgetManager:"WidgetManagerService","Asset/Editor/TypeRegistry":"Asset/Editor/TypeRegistry","Asset/Editor/TypeComponentRegistry":"Asset/Editor/TypeComponentRegistry","Asset/Editor/DocumentTabManager":"Asset/Editor/DocumentTabManager","Asset/Editor/FolderTabManager":"Asset/Editor/FolderTabManager","Asset/Editor/ImageTabManager":"Asset/Editor/ImageTabManager","Asset/Editor/TextTabManager":"Asset/Editor/TextTabManager","Asset/Editor/VideoTabManager":"Asset/Editor/VideoTabManager","Asset/Editor/AudioTabManager":"Asset/Editor/AudioTabManager","Asset/Editor/ArchiveTabManager":"Asset/Editor/ArchiveTabManager","Asset/Editor/UnknownTabManager":"Asset/Editor/UnknownTabManager","DataObject/Editor/TypeRegistry":"DataObject/Editor/TypeRegistry","DataObject/Editor/ObjectTabManager":"DataObject/Editor/ObjectTabManager","DataObject/Editor/FolderTabManager":"DataObject/Editor/FolderTabManager",iconLibrary:"IconLibrary","Grid/TypeRegistry":"Grid/TypeRegistry"},s),{},{"DynamicTypes/FieldFilter/Text":"DynamicTypes/FieldFilter/Text","DynamicTypes/FieldFilter/Number":"DynamicTypes/FieldFilter/Number","DynamicTypes/FieldFilter/Select":"DynamicTypes/FieldFilter/Select","DynamicTypes/FieldFilter/Datetime":"DynamicTypes/FieldFilter/Datetime","DynamicTypes/GridCell/Text":"DynamicTypes/GridCell/Text","DynamicTypes/GridCell/Textarea":"DynamicTypes/GridCell/Textarea","DynamicTypes/GridCell/Select":"DynamicTypes/GridCell/Select","DynamicTypes/GridCell/Checkbox":"DynamicTypes/GridCell/Checkbox","DynamicTypes/GridCell/Date":"DynamicTypes/GridCell/Date","DynamicTypes/GridCell/Time":"DynamicTypes/GridCell/Time","DynamicTypes/GridCell/DateTime":"DynamicTypes/GridCell/DateTime","DynamicTypes/GridCell/AssetLink":"DynamicTypes/GridCell/AssetLink","DynamicTypes/GridCell/ObjectLink":"DynamicTypes/GridCell/ObjectLink","DynamicTypes/GridCell/DocumentLink":"DynamicTypes/GridCell/DocumentLink","DynamicTypes/GridCell/OpenElement":"DynamicTypes/GridCell/OpenElement","DynamicTypes/GridCell/AssetPreview":"DynamicTypes/GridCell/AssetPreview","DynamicTypes/GridCell/AssetActions":"DynamicTypes/GridCell/AssetActions","DynamicTypes/GridCell/DependencyTypeIcon":"DynamicTypes/GridCell/DependencyTypeIcon","DynamicTypes/GridCell/AssetCustomMetadataIcon":"DynamicTypes/GridCell/AssetCustomMetadataIcon","DynamicTypes/GridCell/AssetCustomMetadataValue":"DynamicTypes/GridCell/AssetCustomMetadataValue","DynamicTypes/GridCell/PropertyIcon":"DynamicTypes/GridCell/PropertyIcon","DynamicTypes/GridCell/PropertyValue":"DynamicTypes/GridCell/PropertyValue","DynamicTypes/GridCell/ScheduleActionsSelect":"DynamicTypes/GridCell/ScheduleActionsSelect","DynamicTypes/GridCell/VersionsIdSelect":"DynamicTypes/GridCell/VersionsIdSelect","DynamicTypes/GridCell/AssetVersionPreviewFieldLabel":"DynamicTypes/GridCell/AssetVersionPreviewFieldLabel","DynamicTypes/GridCell/Asset":"DynamicTypes/GridCell/Asset","DynamicTypes/GridCell/Object":"DynamicTypes/GridCell/Object","DynamicTypes/GridCell/Document":"DynamicTypes/GridCell/Document","DynamicTypes/GridCell/LanguageSelect":"DynamicTypes/GridCell/LanguageSelect","DynamicTypes/Listing/Text":"DynamicTypes/Listing/Text","DynamicTypes/Listing/Select":"DynamicTypes/Listing/Select","DynamicTypes/Metadata/Asset":"DynamicTypes/Metadata/Asset","DynamicTypes/Metadata/Document":"DynamicTypes/Metadata/Document","DynamicTypes/Metadata/Object":"DynamicTypes/Metadata/Object","DynamicTypes/Metadata/Input":"DynamicTypes/Metadata/Input","DynamicTypes/Metadata/Textarea":"DynamicTypes/Metadata/Textarea","DynamicTypes/Metadata/Checkbox":"DynamicTypes/Metadata/Checkbox","DynamicTypes/Metadata/Select":"DynamicTypes/Metadata/Select","DynamicTypes/Metadata/Date":"DynamicTypes/Metadata/Date","DynamicTypes/ObjectLayout/Panel":"DynamicTypes/ObjectLayout/Panel","DynamicTypes/ObjectLayout/Tabpanel":"DynamicTypes/ObjectLayout/Tabpanel","DynamicTypes/ObjectLayout/Accordion":"DynamicTypes/ObjectLayout/Accordion","DynamicTypes/ObjectLayout/Region":"DynamicTypes/ObjectLayout/Region","DynamicTypes/ObjectLayout/Text":"DynamicTypes/ObjectLayout/Text","DynamicTypes/ObjectLayout/Fieldset":"DynamicTypes/ObjectLayout/Fieldset","DynamicTypes/ObjectLayout/FieldContainer":"DynamicTypes/ObjectLayout/FieldContainer","DynamicTypes/ObjectData/Input":"DynamicTypes/ObjectData/Input","DynamicTypes/ObjectData/Textarea":"DynamicTypes/ObjectData/Textarea","DynamicTypes/ObjectData/Password":"DynamicTypes/ObjectData/Password","DynamicTypes/ObjectData/Select":"DynamicTypes/ObjectData/Select","DynamicTypes/ObjectData/MultiSelect":"DynamicTypes/ObjectData/MultiSelect","DynamicTypes/ObjectData/Language":"DynamicTypes/ObjectData/Language","DynamicTypes/ObjectData/LanguageMultiSelect":"DynamicTypes/ObjectData/LanguageMultiSelect","DynamicTypes/ObjectData/Country":"DynamicTypes/ObjectData/Country","DynamicTypes/ObjectData/CountryMultiSelect":"DynamicTypes/ObjectData/CountryMultiSelect","DynamicTypes/ObjectData/User":"DynamicTypes/ObjectData/User","DynamicTypes/ObjectData/BooleanSelect":"DynamicTypes/ObjectData/BooleanSelect","DynamicTypes/ObjectData/Numeric":"DynamicTypes/ObjectData/Numeric","DynamicTypes/ObjectData/NumericRange":"DynamicTypes/ObjectData/NumericRange","DynamicTypes/ObjectData/Slider":"DynamicTypes/ObjectData/Slider","DynamicTypes/ObjectData/Consent":"DynamicTypes/ObjectData/Consent","DynamicTypes/ObjectData/Firstname":"DynamicTypes/ObjectData/Firstname","DynamicTypes/ObjectData/Lastname":"DynamicTypes/ObjectData/Lastname","DynamicTypes/ObjectData/Email":"DynamicTypes/ObjectData/Email","DynamicTypes/ObjectData/Gender":"DynamicTypes/ObjectData/Gender","DynamicTypes/ObjectData/RgbaColor":"DynamicTypes/ObjectData/RgbaColor","DynamicTypes/ObjectData/Date":"DynamicTypes/ObjectData/Date","DynamicTypes/ObjectData/Datetime":"DynamicTypes/ObjectData/Datetime","DynamicTypes/ObjectData/DateRange":"DynamicTypes/ObjectData/DateRange","DynamicTypes/ObjectData/Time":"DynamicTypes/ObjectData/Time","DynamicTypes/ObjectData/ExternalImage":"DynamicTypes/ObjectData/ExternalImage","DynamicTypes/ObjectData/Block":"DynamicTypes/ObjectData/Block","DynamicTypes/ObjectData/LocalizedFields":"DynamicTypes/ObjectData/LocalizedFields","ExecutionEngine/JobComponentRegistry":"ExecutionEngine/JobComponentRegistry","App/ComponentRegistry/ComponentRegistry":"App/ComponentRegistry/ComponentRegistry"})},47587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ContainerContext:()=>i,ContainerProvider:()=>a,container:()=>o,useInjection:()=>s,useMultiInjection:()=>l,useOptionalInjection:()=>c});var n=(0,r(93102).createDiInstance)(),o=n.container,i=n.ContainerContext,a=n.ContainerProvider,s=n.useInjection,l=n.useMultiInjection,c=n.useOptionalInjection},46919:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(72635),o=r(78291);n.default.use(o.initReactI18next).init({fallbackLng:"en",ns:["translation"],resources:{},saveMissing:!0}).catch((function(e){console.error(e)})),n.default.on("missingKey",(function(e,t,r,n){}));const i=n.default},97137:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ra,moduleSystem:()=>s});var a=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=[],(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"registerModule",value:function(e){this.registry.push(e)}},{key:"initModules",value:function(){this.registry.forEach((function(e){e.onInit()}))}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}(),s=new a},76649:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PluginSystem:()=>u,pluginSystem:()=>f});var n=r(47587),o=r(97137);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,l)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{router:()=>c,routes:()=>l});var n=r(49244),o=r(84976),i=r(82507),a=r(94984),s=r(32629).appConfig.baseUrl;s.endsWith("/")&&(s=s.slice(0,-1)+"/");var l={root:s,login:"".concat(s,"login/")},c=(0,o.createBrowserRouter)([{path:l.root,element:n.createElement(i.DefaultPage,null)},{path:l.login,element:n.createElement(a.LoginPage,null)}])},89184:(e,t,r)=>{"use strict";r.r(t),r.d(t,{injectSliceWithState:()=>c,rootReducer:()=>s,store:()=>l,useAppDispatch:()=>u,useAppSelector:()=>f});var n=r(20038),o=r(71468),i=r(62115),a=[i.api],s=n.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l=(0,n.configureStore)({reducer:s,middleware:function(e){return e({serializableCheck:{ignoredActions:["execution-engine/jobReceived"],ignoredActionPaths:["execution-engine","meta"],ignoredPaths:["execution-engine","meta"]}}).concat(i.api.middleware)}}),c=function(e){return a.push(e),s=n.combineSlices.apply(void 0,[{}].concat(a)).withLazyLoadedSlices(),l.replaceReducer(s),s},u=o.useDispatch,f=o.useSelector},88540:(e,t,r)=>{"use strict";r.r(t);r(77984),r(32629),r(97137),r(53346),r(46919),r(74938),r(53363),r(77767),r(54627),r(9026),r(99257),r(78190),r(54581)},61156:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{card:(0,e.css)(n||(t=["\n & .ant-collapse {\n width: 340px;\n background-color: white;\n }\n\n & span, & div, div.anticon, button {\n vertical-align: middle;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},35234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AccordionTimeline:()=>s});var n=r(49244),o=r(61156),i=r(71968),a=r(82964),s=function(e){var t=e.items,r=(0,o.useStyle)().styles,s=t.map((function(e){return n.createElement("div",{className:[r.card,e.className].join(" "),key:e.key},!0===e.selected?n.createElement(a.Accordion,{activeKey:e.key,expandIconPosition:"after-title",items:[e]}):n.createElement(a.Accordion,{expandIconPosition:"after-title",items:[e]}))}));return n.createElement(i.VerticalTimeline,{timeStamps:s})}},74946:(e,t,r)=>{"use strict";var n,o,i;function a(e){return a="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},a(e)}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>u});var u=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css,a=function(e){for(var t=1;t .ant-collapse-item:last-child {\n > .ant-collapse-header[aria-expanded='false'] {\n border-radius: ","px;\n }\n\n > .ant-collapse-header[aria-expanded='true'] {\n border-top-left-radius: ","px;\n border-top-right-radius: ","px;\n }\n }\n }\n\n .ant-collapse-item.accordion__item--theme-success {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .ant-collapse-item.accordion__item--theme-primary {\n border: 1px solid ",";\n border-radius: ","px !important;\n background-color: ",";\n\n > .ant-collapse-content {\n border-top: 1px solid ",";\n background-color: transparent;\n }\n }\n\n .accordion__item {\n > .ant-collapse-header {\n display: inline-flex;\n width: 100%;\n align-items: center;\n\n > .ant-collapse-header-text {\n margin-inline-end: 0;\n }\n\n > .ant-collapse-expand-icon {\n display: none;\n }\n }\n\n .accordion__chevron-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 ","px;\n }\n\n .accordion__chevron {\n rotate: 180deg;\n transition-duration: 0.6s;\n transition-property: transform;\n }\n\n .accordion__chevron--up {\n transform: rotate(-180deg);\n }\n }\n\n .ant-collapse-extra {\n order: 1;\n margin-left: 5px;\n }\n "])),a.borderRadiusLG,a.borderRadiusLG,a.borderRadiusLG,a.highlightBorderColor,a.borderRadiusLG,a.highlightBackgroundColor,a.highlightBorderColor,a.colorBorder,a.borderRadiusLG,a.colorFillAlter,a.colorBorder,t.marginXXS),bordered:r(o||(o=s(["\n &.accordion--bordered {\n .ant-collapse-item {\n background: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n font-weight: ",";\n }\n\n .accordion-item__header-info {\n font-weight: 400;\n color: ",";\n }\n\n .ant-collapse-content {\n border-color: ",";\n }\n \n &.ant-collapse-small {\n .ant-collapse-item {\n border-radius: ","px;\n }\n \n .ant-collapse-header {\n padding: ","px ","px;\n }\n }\n }\n "])),t.colorBgContainer,t.colorBorderSecondary,t.borderRadius,t.fontWeightStrong,t.colorTextSecondary,t.colorBorderSecondary,t.borderRadiusSM,t.paddingXXS,t.paddingSM),spaced:r(i||(i=s(["\n background: ",";\n\n .accordion__item {\n margin-bottom: 24px;\n border-bottom: none;\n }\n\n .ant-collapse-header[aria-expanded='false'] {\n background-color: ",";\n border: 1px solid ",";\n border-radius: 5px;\n }\n\n .ant-collapse-header[aria-expanded='true'] {\n background-color: ",";\n border: 1px solid ",";\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n }\n\n .ant-collapse-content-box {\n border: 1px solid ",";\n border-top: none;\n border-bottom-left-radius: 5px;\n border-bottom-right-radius: 5px;\n background-color: ",";\n }\n "])),t.colorBgContainer,t.colorBgSelectedTab,t.colorBorder,t.colorBgSelectedTab,t.colorBorder,t.colorBorder,t.colorBgSelectedTab)}}))},82964:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Accordion:()=>b});var n=r(49244),o=r(72919),i=r(74946),a=r(72635),s=r(98308);function l(e){return l="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},l(e)}var c=["items","accordion","spaced","bordered","className","activeKey","expandIconPosition"],u=["disabled"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{alert:o(n||(t=["\n &.ant-alert-banner {\n padding: ","px ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.paddingContentVerticalSM,i.paddingSM)}}))},25140:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Alert:()=>d});var n=r(49244),o=r(46942),i=r.n(o),a=r(72919),s=r(54033);function l(e){return l="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},l(e)}var c=["className","rootClassName"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){var t=e.className,r=e.rootClassName,o=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{background:(0,e.css)(n||(t=["\n position: absolute;\n inset: 0;\n background: #FFF;\n overflow: hidden; \n opacity: 0.3;\n\n .background-figure {\n position: absolute;\n\n &--top-left {\n top: -80%;\n left: -30%;\n width: 1324px;\n height: 1324px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1324px);\n background: rgba(55, 217, 243, 0.20);\n filter: blur(310px);\n }\n\n\n &--bottom-left {\n width: 651.152px;\n height: 1503.398px;\n transform: rotate(28.303deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1503.398px);\n background: #FDFFFF;\n filter: blur(310px);\n }\n\n &--bottom-right {\n left: 11%;\n width: 1642px;\n height: 686px;\n transform: rotate(65.637deg);\n flex-shrink: 0;\n border-radius: var(--Components-Input-Component-paddingBlockSM, 1642px);\n background: rgba(122, 58, 212, 0.42);\n filter: blur(310px);\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},26466:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Background:()=>i});var n=r(49244),o=r(99796),i=function(){var e=(0,o.useStyle)().styles;return n.createElement("div",{className:e.background},n.createElement("div",{className:"background-figure background-figure--bottom-left"}),n.createElement("div",{className:"background-figure background-figure--bottom-right"}),n.createElement("div",{className:"background-figure background-figure--top-left"}))}},1836:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Badge:()=>c});var n=r(49244),o=r(72919);function i(e){return i="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},i(e)}var a=["color","children"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=e.color,r=(e.children,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{box:(0,e.css)(n||(t=["\n &.box--inline {\n display: inline-block;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},80188:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Box:()=>u,getSizingClasses:()=>c});var n=r(49244),o=r(24134),i=["children","padding","margin","className","component","inline"];function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return l="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},l(e)}var c=function(e,t){var r=[];return"string"==typeof t?(r.push("".concat(e,"-").concat(t)),r):"object"===l(t)?("x"in t&&r.push("".concat(e,"-x-").concat(t.x)),"y"in t&&r.push("".concat(e,"-y-").concat(t.y)),"top"in t&&r.push("".concat(e,"-t-").concat(t.top)),"bottom"in t&&r.push("".concat(e,"-b-").concat(t.bottom)),"left"in t&&r.push("".concat(e,"-l-").concat(t.left)),"right"in t&&r.push("".concat(e,"-r-").concat(t.right)),r):r},u=function(e){var t=e.children,r=e.padding,l=e.margin,u=e.className,f=e.component,d=void 0===f?"div":f,p=e.inline,h=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n,o,i,a,s;function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>c});var c=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{breadcrumb:r(n||(n=l(['\n .ant-dropdown-trigger {\n cursor: pointer;\n \n > span[role="img"] {\n display: none\n }\n }\n ']))),breadcrumbLink:r(o||(o=l(["\n color: ",";\n "])),t.colorTextTertiary),breadcrumbLinkLast:r(i||(i=l(["\n color: ",";\n "])),t.colorText),pathItem:r(a||(a=l(["\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n "])),t.colorPrimaryHover),dropdownMenu:r(s||(s=l(["\n max-width: 400px;\n "])))}}))},26628:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Breadcrumb:()=>w});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(89184),l=r(37193),c=r(94483),u=r(97292),f=r(59177),d=r(63954);function p(e){return p="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},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r2&&"L"===p&&(j.push({title:s({content:t[o-2],style:{maxWidth:"100px"}}),className:E.pathItem,onClick:function(){i(t.slice(0,o-1).join("/"))}}),o>3)){for(var f=[],d=function(e){f.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},g=1;g2&&"L"!==p){for(var v=[],b=function(e){v.push({title:t[e],onClick:function(){i(t.slice(0,e+1).join("/"))}})},O=1;O{"use strict";r.r(t),r.d(t,{useBreadcrumbSize:()=>a});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r375&&e<=450&&(a(!0),c(70)),e>450&&e<=550&&(a(!0),c(85)),e>550&&e<=700&&(a(!0),c(100)),e>700&&e<=800&&(a(!0),c(150)),e>800&&e<=900&&(a(!0),c(200)),e>900&&e<=1e3&&(a(!0),c(300)),e>1e3&&e<=1100&&(a(!0),c(400)),e>1100&&e<=1200&&(a(!0),c(500)),e>1200&&e<=1300&&(a(!0),c(600)),e>1300&&(a(!1),c(t)))}),[e,t]),{isHideBreadcrumb:i,currentBreadcrumbWidth:l}}},7228:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{buttonGroup:o(n||(t=["\n &.button-group--with-separator {\n & > .button-group__item:not(:last-child) {\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n right: -4px;\n top: 3px;\n bottom: 3px;\n width: 1px;\n background-color: ",";\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.Divider.colorSplit)}}))},554:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ButtonGroup:()=>a});var n=r(49244),o=r(72919),i=r(7228),a=function(e){var t=e.items,r=e.noSpacing,a=void 0!==r&&r,s=e.withSeparator,l=void 0!==s&&s,c=[(0,i.useStyles)().styles.buttonGroup,"button-group"];return l&&c.push("button-group--with-separator"),n.createElement(n.Fragment,null,!a&&n.createElement(o.Flex,{align:"center",className:c.join(" "),gap:"small"},t.map((function(e,t){return n.createElement("div",{className:"button-group__item",key:t},e)}))),a&&n.createElement(o.Button.Group,null,t.map((function(e,t){return n.createElement("span",{key:t},e)}))))}},85944:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{button:(0,e.css)(n||(t=["\n position: relative;\n\n .button__loading-spinner,\n .ant-spin-dot {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n margin: auto;\n color: inherit;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},52734:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Button:()=>m});var n=r(49244),o=r(72919),i=r(51391),a=r(46942),s=r.n(a),l=r(63818),c=r(85944);function u(e){return u="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},u(e)}var f=["loading","children","className"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e,t){var r=e.loading,a=e.children,u=e.className,h=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{card:(0,e.css)(n||(t=["\n .ant-card-head {\n min-height: 38px;\n padding: ","px ","px;\n }\n\n &.ant-card:not(.ant-card-bordered) {\n box-shadow: none;\n }\n\n .ant-card-head-title {\n display: flex;\n align-items: center;\n gap: ","px;\n font-size: ","px;\n }\n\n .ant-card-extra {\n display: flex;\n align-items: center;\n gap: ","px;\n color: ",";\n }\n\n .ant-card-body {\n padding: ","px;\n }\n\n &.card-with-footer {\n .ant-card-body {\n padding: 0;\n }\n\n .card-body-inner {\n padding: ","px\n }\n .card-footer {\n padding: ","px ","px;\n border-top: 1px solid ",";\n }\n }\n \n &.card-fit-content {\n width: fit-content;\n }\n \n .ant-card-actions {\n padding: ","px;\n\n li {\n margin: 0;\n max-width: fit-content;\n }\n\n li:not(:last-child) {\n border: none;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingSM,o.marginXS,o.fontSize,o.marginXXS,o.colorTextSecondary,o.paddingSM,o.paddingSM,o.paddingXXS,o.paddingXS,o.colorBorderSecondary,o.paddingXXS)}}))},17089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Card:()=>g});var n=r(49244),o=r(72919),i=r(94344),a=r(98308),s=r(54212),l=r(8084),c=r(78291),u=["loading","children","footer","fitContent","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{ContentToolbarSidebarLayout:(0,e.css)(n||(t=["\n &.content-toolbar-sidebar-layout {\n position: relative;\n display: grid;\n grid-template-columns: 1fr auto;\n grid-template-rows: 1fr auto;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__content {\n display: flex;\n grid-column: 1 / 2;\n grid-row: 1 / 2;\n overflow: auto;\n height: 100%;\n width: 100%;\n }\n\n .content-toolbar-sidebar-layout__toolbar {\n border-top: 1px solid ",";\n grid-column: 1 / 2;\n grid-row: 2 / 3;\n position: sticky;\n bottom: 0;\n height: ","px; \n overflow: hidden;\n }\n\n .content-toolbar-sidebar-layout__sidebar {\n grid-column: 2 / 3;\n grid-row: 1 / 3;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBorderTertiary,o.sizeXXL)}}),{hashPriority:"low"})},95916:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ContentToolbarSidebarLayout:()=>s});var n=r(49244),o=r(86678),i=r(23676),a=function(e){var t=["content-toolbar-sidebar-layout",(0,o.useStyles)().styles.ContentToolbarSidebarLayout];return void 0!==e.renderToolbar&&t.push("content-toolbar-sidebar-layout--with-toolbar"),n.createElement("div",{className:t.join(" ")},n.createElement(i.Content,{className:"content-toolbar-sidebar-layout__content"},e.children),void 0!==e.renderToolbar&&n.createElement("div",{className:"content-toolbar-sidebar-layout__toolbar"},e.renderToolbar),void 0!==e.renderSidebar&&n.createElement("div",{className:"content-toolbar-sidebar-layout__sidebar"},e.renderSidebar))},s=(0,n.memo)(a)},72038:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{content:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: auto;\n gap: 12px;\n\n &.content--padded {\n padding: ","px;\n }\n\n &.content--centered {\n justify-content: center;\n align-items: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM)}}))},23676:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Content:()=>p});var n=r(49244),o=r(72038),i=r(63372),a=r(63818),s=r(80188);function l(e){return l="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},l(e)}var c=["children","padded","padding","className","loading","none","centered","noneOptions"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DatePicker:()=>h});var n=r(49244),o=r(72919),i=r(82450),a=r(94628),s=r(83301);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DateRangePicker:()=>d});var n=r(49244),o=r(72919),i=r(82450);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TimePicker:()=>d});var n=r(49244),o=r(82450),i=r(72919);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{formatDatePickerDate:()=>s,fromDayJs:()=>a,toDayJs:()=>i});var n=r(74353),o=r.n(n),i=function(e){return o().isDayjs(e)?e:"number"==typeof e?o().unix(e):"string"==typeof e?o()(e):null},a=function(e,t,r){return null===e?null:"timestamp"===t?e.unix():"dateString"===t?void 0!==r?e.format(r):e.format():e},s=function(e){return null==e?"":o().isDayjs(e)?"[dayjs object]: "+e.toString():e.toString()}},27599:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ra});var a=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="callbacks"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e,t){this.callbacks[e]=t}},{key:"unregister",value:function(e){delete this.callbacks[e]}},{key:"get",value:function(e){return this.callbacks[e]}},{key:"getCallbacks",value:function(){return this.callbacks}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},39470:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}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 a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);ra,transformBoundingRectToCoordinates:()=>i});var i=function(e){return{x1:e.left,x2:e.right,y1:e.top,y2:e.bottom}},a=function(e){var t=e.droppableContainers,r=document.querySelector(".dnd-overlay"),o=[],a=null==r?void 0:r.getBoundingClientRect();if(void 0===a)return[];var s,l=i(a),c=n(t);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(null!==u.node.current){var f=u.node.current.getBoundingClientRect();if(0!==f.width){var d=i(f),p=Math.max(l.x1,d.x1),h=Math.min(l.x2,d.x2),m=Math.max(l.y1,d.y1),g=Math.min(l.y2,d.y2);p{"use strict";r.r(t),r.d(t,{DragAndDropContextProvider:()=>g,DragAndDropInfoContext:()=>m});var n=r(49244),o=r(15871),i=r(27599),a=r(15639),s=r(39470);function l(e){return l="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},l(e)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{dragOverlay:(0,e.css)(n||(t=["\n display: inline-flex;\n gap: 5px;\n align-items: center;\n padding: 5px;\n width: max-content;\n background: white;\n box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12), 0px 9px 28px 8px rgba(0, 0, 0, 0.05);\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},15639:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DragOverlay:()=>a});var n=r(49244),o=r(54212),i=r(72353),a=function(e){var t=(0,i.useStyle)().styles,r=n.useRef(null);return n.createElement("div",{className:["dnd__overlay",t.dragOverlay].join(" "),ref:r},n.createElement(o.Icon,{value:e.info.icon})," ",e.info.title)}},26907:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyle:()=>n});var n=(0,r(91539).createGlobalStyle)((function(e){var t=e.theme;return{".dnd--dragging":{cursor:"move"},".dnd--invalid":{".dnd__overlay":{background:t.colorErrorBg,color:t.colorErrorActive}}}}))},84877:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Draggable:()=>h});var n=r(49244),o=r(15871),i=r(47981),a=r(26907);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DroppableContextProvider:()=>o,droppableContext:()=>n});var n=(0,r(49244).createContext)({isOver:!1,isValid:!1,isDragActive:!1}),o=n.Provider},11423:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{droppable:(0,e.css)(n||(t=["\n & .dnd--drag-active {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n\n & .dnd--drag-valid {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n\n & .dnd--drag-error {\n background: ",";\n border: 1px dashed ",";\n border-radius: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBgContainerDisabled,o.colorBorder,o.borderRadius,o.colorBgTextActive,o.colorInfoBorder,o.borderRadius,o.colorErrorBg,o.colorErrorActive,o.borderRadius)}}))},15745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Droppable:()=>m});var n=r(49244),o=r(5415),i=r(15871),a=r(11423),s=r(94617),l=r(47981);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useDroppable:()=>i});var n=r(49244),o=r(94617),i=function(){var e=(0,n.useContext)(o.droppableContext),t=e.isDragActive,r=e.isOver,i=e.isValid;return{isDragActive:t,isOver:r,isValid:i,getStateClasses:function(){var e=[];return t&&e.push("dnd--drag-active"),r&&i&&e.push("dnd--drag-valid"),r&&!i&&e.push("dnd--drag-error"),e}}}},73373:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSortableContext:()=>a});var n=r(15871),o=r(43627),i=r(49244),a=function(e){var t=e.onDragEnd,r=e.items,a=e.sortingStrategy,s=void 0===a?o.verticalListSortingStrategy:a,l=(0,n.useSensors)((0,n.useSensor)(n.PointerSensor),(0,n.useSensor)(n.KeyboardSensor,{coordinateGetter:o.sortableKeyboardCoordinates}));return{ContextHolder:function(e){var a=e.children;return i.createElement(n.DndContext,{collisionDetection:n.closestCenter,onDragEnd:t,sensors:l},i.createElement(o.SortableContext,{items:r,strategy:s},a))}}}},54016:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DropdownButton:()=>u});var n=r(49244),o=r(4802);function i(e){return i="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},i(e)}var a=["icon"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DropdownInner:()=>f});var n=r(49244),o=r(72919),i=r(60644);function a(e){return a="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},a(e)}var s=["selectedKeys","onSelect","menu","menuRef"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{dropdown:(0,e.css)(n||(t=["\n .ant-dropdown-menu {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-item-group-list {\n display: flex;\n flex-direction: column;\n }\n \n .ant-dropdown-menu-submenu {\n .ant-dropdown-menu-submenu-title {\n display: flex;\n align-items: center;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},10340:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Dropdown:()=>d});var n=r(49244),o=r(90683),i=r(51470),a=r(10194);function s(e){return s="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},s(e)}var l=["selectedKeys","onSelect","menu"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{CustomItem:()=>o});var n=r(49244),o=function(e){var t=e.component;return n.createElement(n.Fragment,null,t)}},62548:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{dropdownItem:(0,e.css)(n||(t=["\n &.ant-dropdown-menu-item-active {\n background-color: "," !important;\n\n &:hover {\n background-color: rgba(0, 0, 0, 0.04) !important;\n }\n }\n\n &.default-item--with-icon-right {\n padding-right: 4px !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBgContainer)}}))},1106:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultItem:()=>h,WithExtendedApi:()=>p});var n=r(49244),o=r(72919),i=r(62548),a=r(65709),s=r(95507);function l(e){return l="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},l(e)}var c=["label","key","selectable","id"];function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DividerItem:()=>l});var n=r(72919),o=r(49244);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(e){return o.createElement(n.Menu.Divider,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{groupItem:(0,e.css)(n||(t=["\n .ant-dropdown-menu-item-group-list {\n margin: 0 !important;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},96950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GroupItem:()=>p,WithExtendedApi:()=>d});var n=r(72919),o=r(60644),i=r(49244),a=r(80515);function s(e){return s="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},s(e)}var l=["children","label"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SubMenuItem:()=>f,WithExtendedApi:()=>u});var n=r(72919),o=r(60644),i=r(49244);function a(e){return a="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},a(e)}var s=["children","popupOffset","label"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){return function(t){var r=t.children,n=(t.popupOffset,t.label),a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{renderDropdownItem:()=>p});var n=r(49244),o=r(35710),i=r(94526),a=r(96950),s=r(93076),l=r(1106);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useSelection:()=>f});var n=r(49244),o=r(51470);function i(e){return i="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},i(e)}var a=["selectedKeys","setSelectedKeys","selectionType"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{selectionButton:o(n||(t=["\n color: transparent;\n transition: color 0.3s;\n\n &.selection-button--active {\n color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorPrimary)}}))},65709:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectionButton:()=>s});var n=r(98308),o=r(49244),i=r(95507),a=r(21961),s=function(e){var t=e.id,r=(0,a.useStyles)().styles,s=(0,i.useSelection)(),l=s.toggle,c=s.isSelected,u=[r.selectionButton];return c(t)&&u.push("selection-button--active"),o.createElement(n.IconButton,{className:u.join(" "),icon:{value:"pin-02"},onClick:function(e){e.stopPropagation(),l(t)},variant:"minimal"})}},51470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectionContext:()=>l,SelectionProvider:()=>c,SelectionType:()=>n});var n,o=r(49244),i=["children","onSelected"];function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{toolbar:(0,e.css)(n||(t=["\n display: flex;\n align-items: center;\n gap: 8px;\n height: 40px;\n border-bottom: 1px solid #DFD7EA;\n\n .ant-breadcrumb {\n padding-left: ","px;\n }\n\n .element-toolbar__info-dropdown {\n .ant-dropdown-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n border: 1px solid ",";\n background: ",";\n color: ",";\n\n .ant-btn-icon.ant-btn-icon-end {\n margin-left: 0;\n }\n }\n }\n \n .pimcore-icon {\n color: ",";\n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.colorBorder,o.colorFillTertiary,o.colorText,o.colorPrimary,o.colorPrimaryHover)}}))},6056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementToolbar:()=>d});var n=r(49244),o=r(53466),i=r(72919),a=r(10340),s=r(54212),l=r(26628),c=r(92020);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{tree:(0,e.css)(n||(t=["\n padding: ","px 0 ","px 0;\n max-width: 100%;\n color: ","\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingXS,o.colorTextTreeElement)}}),{hashPriority:"low"})},36236:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementTree:()=>b,TreeContext:()=>v,defaultProps:()=>y});var n=r(49244),o=r(76345),i=r(13939),a=r(61850),s=r(85668),l=["maxItemsPerNode","nodeApiHook","renderNode","renderNodeContent","contextMenu"];function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TreeExpander:()=>d});var n=r(49244),o=r(36236),i=r(54212),a=r(78291);function s(e){return s="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},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{"tree-list__pager":r(n||(n=i([" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "])),t.paddingSM),"tree-list__search":r(o||(o=i(["\n padding: ","px ","px ","px 0;\n\n &:empty {\n padding: 0;\n }\n\n .ant-btn-default {\n border-color: ","\n }\n "])),t.paddingXXS,t.paddingSM,t.paddingXS,t.colorBorder)}}),{hashPriority:"low"})},99449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeList:()=>p});var n=r(49244),o=r(36236),i=r(72919),a=r(81079),s=r(18870),l=r(85668);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=i.theme.useToken,p=function(e){var t=e.node,r=d().token,i=(0,a.useStyles)().styles,c=(0,n.useContext)(o.TreeContext),p=c.renderFilter,h=c.renderPager,m=c.renderNode,g=(0,c.nodeApiHook)(t),y=g.apiHookResult,v=g.dataTransformer,b=g.mergeAdditionalQueryParams,O=y.isLoading,w=y.isError,S=y.data,E=(0,n.useContext)(l.UploadContext),x=E.uploadFileList,P=E.uploadingNode;if(!0===O)return n.createElement(n.Fragment,null);if(!0===w)return n.createElement(n.Fragment,null,"Error");var T=v(S),j=T.nodes,C=T.total;return n.createElement(n.Fragment,null,void 0!==p&&n.createElement("div",{className:["tree-list__search",i["tree-list__search"]].join(" "),style:{paddingLeft:r.paddingSM+24*(t.level+1)}},n.createElement(p,{mergeAdditionalQueryParams:b,node:t,total:C})),n.createElement("div",{className:"tree-list"},x.length>0&&t.id===P&&n.createElement("div",{className:["tree-list__upload",i["tree-list__search"]].join(" "),style:{paddingLeft:r.paddingSM+24*(t.level+1)}},n.createElement(s.UploadList,{items:x,locale:{uploading:"uploading"},showRemoveIcon:!1})),0===x.length&&(null==j?void 0:j.map((function(e,r){return n.createElement(m,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TreeNodeContent:()=>u});var n=r(49244),o=r(72919),i=r(54212);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{treeNode:(0,e.css)(n||(t=["\n user-select: none;\n\n .tree-node__content {\n cursor: pointer;\n width: 100%;\n padding: 2px ","px 2px 0;\n white-space: nowrap;\n align-items: center;\n \n .ant-upload-wrapper {\n width: 100%;\n \n .ant-upload {\n width: 100%;\n display: flex;\n align-items: center;\n gap: 8px\n }\n }\n\n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n }\n\n &.tree-node--selected > .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n //max-width: max(100%, calc(100px - 16px));\n width: 100%;\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.controlItemBgActiveHover,o.controlItemBgActiveHover,o.controlItemBgActive)}}),{hashPriority:"low"})},76345:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeNode:()=>b});var n=r(72919),o=r(49244),i=r(29719),a=r(36236),s=r(99449),l=r(78725),c=r(92908);function u(e){return u="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},u(e)}var f=["id","internalKey","icon","label","level"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&R.current[L()[t-1]].el.focus()}(e)},ref:function(e){!function(e){var t={el:e,node:Q};R.current[d]=t}(e)},role:"button",style:{paddingLeft:x.paddingSM+20*S,minWidth:"".concat(20*S+200,"px")},tabIndex:-1},o.createElement(l.TreeExpander,{node:Q,state:[I,N]}),o.createElement(n.Upload,p({},G),o.createElement("div",{className:"tree-node__content-wrapper"},o.createElement(k,{node:Q})))),I&&o.createElement(s.TreeList,{node:Q}))}},10858:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e,t){var r,o;return{rowColGap:(0,e.css)(n||(r=["\n column-gap: ","px;\n row-gap: ","px;\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),t.x,t.y)}}))},860:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Flex:()=>m});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(15052),l=r(72650),c=r(10858);function u(e){return u="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},u(e)}var f=["gap","className","rootClassName","children"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=o.theme.useToken,m=function(e){var t=e.gap,r=void 0===t?0:t,i=e.className,u=e.rootClassName,m=e.children,g=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";function n(e){var t=e.token;switch(e.gap){case"mini":return t.sizeXXS;case"extra-small":return t.sizeXS;case"small":return t.sizeSM;case"normal":return t.size;case"medium":return t.sizeMD;case"large":return t.sizeLG;case"extra-large":return t.sizeXL;case"maxi":return t.sizeXXL;default:return 0}}r.r(t),r.d(t,{mapGapToTokenValue:()=>n})},43714:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{draggableContainer:r(n||(n=i(["\n display: flex;\n position: relative;\n "]))),draggableItem:r(o||(o=i(["\n color: ",";\n width: ","px !important;\n height: ","px !important;\n background: ",";\n box-shadow: none;\n border: 2px dashed;\n display: flex;\n justify-content: center;\n align-items: center;\n\n &:hover {\n color: ",";\n background: "," !important;\n }\n "])),t.colorPrimary,t.Button.controlHeightSM,t.Button.controlHeightSM,t.Colors.Neutral.Fill.colorFill,t.colorPrimary,t.Colors.Neutral.Fill.colorFill)}}))},64980:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DraggableItem:()=>p});var n=r(49244),o=r(15871),i=r(74979),a=r(43714),s=r(8518),l=r(98308);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FocalPointContext:()=>n});var n=r(49244).createContext(void 0)},38959:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FocalPoint:()=>p});var n=r(49244),o=r(15871),i=r(64980),a=r(18831),s=r(15208),l=r(7559),c=r(8518);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=e.activationConstraint,r=e.children,u=n.Children.only(r),p=(0,n.useContext)(l.AssetContext).id,h=(0,n.useContext)(c.FocalPointContext),m=(0,s.useAssetDraft)(p),g=m.imageSettings,y=m.isLoading,v=(0,o.useSensor)(o.MouseSensor,{activationConstraint:t}),b=(0,o.useSensor)(o.TouchSensor,{activationConstraint:t}),O=(0,o.useSensor)(o.KeyboardSensor,{}),w=(0,o.useSensors)(v,b,O),S=(0,s.useAssetDraft)(p),E=S.addImageSettings,x=S.removeImageSetting;if(void 0===h)throw new Error("FocalPoint must be used within the FocalPointProvider");var P=h.coordinates,T=h.setCoordinates,j=h.isActive,C=h.setIsActive,k=h.disabled,_=h.containerRef;if(!(0,n.isValidElement)(u))throw new Error("Children must be a valid react component");var A=u.type;return(0,n.useEffect)((function(){j||y||null===_.current||(T({x:0,y:0}),x("focalPoint"))}),[j]),n.createElement(o.DndContext,{modifiers:[a.restrictToParentElement],onDragEnd:function(e){var t=e.delta,r=P.x+t.x,n=P.y+t.y;T({x:r,y:n}),null!==_.current&&E({focalPoint:{x:Number(Number(100*r/(null==_?void 0:_.current.clientWidth)).toPrecision(8)),y:Number(Number(100*n/(null==_?void 0:_.current.clientHeight)).toPrecision(8))}})},sensors:w},n.createElement(i.DraggableItem,{active:j,disabled:k,left:P.x,top:P.y},n.createElement(A,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FocalPointProvider:()=>s});var n=r(49244),o=r(8518);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Form:()=>u});var n=r(49244),o=r(72919),i=r(39756);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FormattedDateTime:()=>i});var n=r(49244),o=r(69314),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatDateTime)({timestamp:e.timestamp,dateStyle:"short",timeStyle:"short"}))}},16364:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormattedDate:()=>i});var n=r(49244),o=r(69314),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatDate)(e.timestamp))}},73498:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormattedTime:()=>i});var n=r(49244),o=r(69314),i=function(e){return n.createElement(n.Fragment,null,(0,o.formatTime)(e.timestamp))}},65052:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{"default-cell":(0,e.css)(n||(t=["\n display: flex;\n width: 100%;\n height: 100%;\n \n &:focus {\n outline: 1px solid ",";\n outline-offset: -1px;\n }\n\n .default-cell__content {\n display: flex;\n width: 100%;\n height: 100%;\n margin: 0 ","px; \n overflow: hidden;\n text-overflow: ellipsis;\n align-items: center;\n }\n\n &.default-cell--modified, .default-cell--modified {\n &::after {\n content: '*';\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n pointer-events: none;\n color: ",";\n padding: 3px 4px;\n font-size: 12px;\n line-height: 12px;\n border-left: 3px solid ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimaryActive,o.paddingXXS,o.colorAccentSecondary,o.colorAccentSecondary)}}))},64618:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultCell:()=>h});var n=r(49244),o=r(94010),i=r(65052),a=r(38425),s=r(79636),l=r(38608);function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(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 u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||f(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 f(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;ts});var s=function(e,t){return i(i({},e),{},{column:i(i({},e.column),{},{columnDef:i(i({},e.column.columnDef),{},{meta:i(i({},e.column.columnDef.meta),{},{config:t})})})})}},84900:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"icon-view":(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: 7px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},22258:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconView:()=>c});var n=r(49244),o=r(84900),i=r(54212);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:[t["icon-view"],"default-cell__content"].join(" ")},n.createElement(i.Icon,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{image:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n aspect-ratio: 1;\n width: 100%;\n height: 100%;\n\n &.image-cell.default-cell__content {\n margin: ","px;\n }\n\n .ant-image {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n img {\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS)}}),{hashPriority:"low"})},1030:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageView:()=>c});var n=r(49244),o=r(42696),i=r(8084);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:[t.image,"image-cell","default-cell__content"].join(" ")},n.createElement(i.PimcoreImage,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditableCellContext:()=>o,EditableCellContextProvider:()=>i});var n=r(49244),o=(0,n.createContext)({isInEditMode:!1,setIsInEditMode:function(e){}}),i=function(e){var t=e.children,r=e.value;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:r},t)}),[t,r])}},13363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useEditMode:()=>i});var n=r(49244),o=r(94010),i=function(e){var t=(0,n.useContext)(o.EditableCellContext),r=t.isInEditMode,i=t.setIsInEditMode;return{isInEditMode:r,disableEditMode:function(){i(!1)},fireOnUpdateCellDataEvent:function(t){var r;null===(r=e.table.options.meta)||void 0===r||r.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:t,rowData:e.row.original})}}}},93285:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridCell:()=>u});var n=r(1530),o=r(49244),i=r(24528);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{GridRow:()=>s});var n=r(49244),o=r(93285),i=["row","isSelected","modifiedCells"];var a=function(e){var t=e.row,r=e.isSelected,a=e.modifiedCells,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{GridContext:()=>o,GridContextProvider:()=>i});var n=r(49244),o=(0,n.createContext)({table:null}),i=function(e){var t=e.table,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{table:t}},r)}),[t,r])}},37772:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{grid:(0,e.css)(n||(t=["\n display: flex; \n width: 100%;\n max-width: 100%;\n\n table {\n table-layout: fixed;\n width: auto;\n height: 0;\n }\n\n th {\n user-select: none;\n }\n\n th, td {\n line-height: 1.83;\n padding: ","px ","px;\n }\n\n &.ant-table-wrapper .ant-table.ant-table-small .ant-table-tbody>tr>td {\n padding: 0;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid ",";\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &.ant-table-cell__no-data {\n padding: ","px 0px ","px ","px !important;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n justify-content: space-between;\n align-items: center;\n }\n\n .grid__sorter {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 26px;\n }\n }\n\n .ant-table-row {\n height: 41px;\n }\n\n .ant-table-content {\n table {\n border: 1px solid #F0F0F0;\n border-radius: 8px;\n }\n \n .ant-table-tbody {\n .ant-table-row:last-of-type {\n .ant-table-cell:first-of-type {\n border-bottom-left-radius: 8px;\n }\n .ant-table-cell:last-of-type {\n border-bottom-right-radius: 8px;\n }\n }\n }\n }\n\n .grid__cell-content {\n display: flex;\n width: 100%;\n height: 100%;\n \n .ant-skeleton {\n width: 100%;\n margin: 4px;\n \n .ant-skeleton-input {\n min-width: unset;\n width: 100%;\n }\n }\n }\n\n .grid__cell-content > * {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n .ant-table-row-selected td {\n background-color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.Table.cellPaddingBlockSM,o.Table.cellPaddingInlineSM,o.Table.colorBorderSecondary,o.paddingXS,o.paddingXS,o.paddingXS,o.controlItemBgActive)}}),{hashPriority:"low"})},48442:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Grid:()=>S});var n=r(32556),o=r(1530),i=r(49244),a=r(37772),s=r(63217),l=r(64618),c=r(78291),u=r(72919),f=r(33081),d=r(54636),p=r(73143);function h(e){return h="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},h(e)}var m=["enableMultipleRowSelection","modifiedCells","sorting","manualSorting","enableSorting","enableRowSelection","selectedRows"];function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function y(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r=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,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(X);try{for(r.s();!(e=r.n()).done;){var n;if(!0===(null===(n=e.value.meta)||void 0===n?void 0:n.autoWidth)){if(t)throw new Error("Only one column can have autoWidth set to true");t=!0}}}catch(e){r.e(e)}finally{r.f()}}}),[X,I]);var K=(0,o.useReactTable)(q);return(0,i.useMemo)((function(){return i.createElement(p.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/GridCellRegistry"]},i.createElement("div",{className:["ant-table-wrapper",D,R.grid].join(" ")},i.createElement("div",{className:"ant-table ant-table-small"},i.createElement("div",{className:"ant-table-container"},i.createElement("div",{className:"ant-table-content"},i.createElement("table",{ref:$,style:{width:I?"100%":K.getCenterTotalSize(),minWidth:K.getCenterTotalSize()}},i.createElement("thead",{className:"ant-table-thead"},K.getHeaderGroups().map((function(e){return i.createElement("tr",{key:e.id},e.headers.map((function(e,t){var r,n;return i.createElement("th",{className:"ant-table-cell",key:e.id,ref:!0===(null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.autoWidth)?U:null,style:!0!==(null===(n=e.column.columnDef.meta)||void 0===n?void 0:n.autoWidth)||e.column.getIsResizing()?{width:e.column.getSize(),maxWidth:e.column.getSize()}:{width:"auto",minWidth:e.column.getSize()}},i.createElement("div",{className:"grid__cell-content"},i.createElement("span",null,(0,o.flexRender)(e.column.columnDef.header,e.getContext())),e.column.getCanSort()&&i.createElement("div",{className:"grid__sorter"},i.createElement(d.SortButton,{allowUnsorted:void 0===w,onSortingChange:function(t){!function(e,t){if(void 0===t)return void K.setSorting([]);K.setSorting([{id:e.id,desc:t===d.SortDirections.DESC}])}(e.column,t)},value:re(e.column)}))),!0===_.resizable&&e.column.getCanResize()&&i.createElement(s.Resizer,{header:e,isResizing:e.column.getIsResizing(),table:K}))})))}))),i.createElement("tbody",{className:"ant-table-tbody"},0===K.getRowModel().rows.length&&i.createElement("tr",{className:"ant-table-row"},i.createElement("td",{className:"ant-table-cell ant-table-cell__no-data",colSpan:K.getAllColumns().length},A("no-data-available-yet"))),K.getRowModel().rows.map((function(e){return i.createElement(f.GridRow,{columns:X,isSelected:e.getIsSelected(),key:e.id,modifiedCells:JSON.stringify((t=e.id,null!==(r=z.filter((function(e){var r=e.rowIndex;return String(r)===String(t)})))&&void 0!==r?r:[])),row:e,tableElement:$});var t,r})))))))))}),[K,v,G,X,W,Q]);function J(e){var t;null===(t=_.onSelectedRowsChange)||void 0===t||t.call(_,e)}function ee(){return X.some((function(e){return"selection"===e.id}))}function te(e){void 0===_.onSortingChange?V(e):_.onSortingChange(e)}function re(e){var t,r=null===(t=Q.find((function(t){return t.id===e.id})))||void 0===t?void 0:t.desc;if(void 0!==r)return r?d.SortDirections.DESC:d.SortDirections.ASC}}},38425:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useKeyboardNavigation:()=>o});var n=r(55512),o=function(e){var t=(0,n.useGrid)().tableElement;return{handleArrowNavigation:function(r){var n=e.row.index,o=e.column.getIndex();if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(r.key)){if(r.preventDefault(),"ArrowDown"===r.key)n++;else if("ArrowUp"===r.key)n--;else if("ArrowLeft"===r.key){var i=function(e){if(0===e)return;return e-1}(o);void 0!==i&&(o=i)}else if("ArrowRight"===r.key){var a=function(t){var r=e.table.getAllColumns();if(t===r.length-1)return;return t+1}(o);void 0!==a&&(o=a)}if(null!==(null==t?void 0:t.current)){var s=t.current.querySelector('[data-grid-row="'.concat(n,'"][data-grid-column="').concat(o,'"]'));if(null===s)return;s.focus();var l=document.createRange(),c=window.getSelection();l.setStart(s,0),null==c||c.removeAllRanges(),null==c||c.addRange(l)}}}}}},8853:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{resizer:(0,e.css)(n||(t=["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n\n &:focus {\n outline: none;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary)}}),{hashPriority:"low"})},63217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Resizer:()=>f});var n=r(49244),o=r(8853),i=r(78291);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useGrid:()=>i});var n=r(49244),o=r(24528),i=function(){var e=(0,n.useContext)(o.GridContext).table;return(0,n.useMemo)((function(){return{tableElement:e}}),[e])}},83878:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{header:(0,e.css)(n||(t=["\n display: flex;\n width: 100%;\n height: 32px;\n min-height: 32px;\n align-items: center;\n gap: 8px;\n\n .header__title {\n font-weight: 600;\n color: ",";\n white-space: nowrap;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary)}}),{hashPriority:"low"})},5052:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Header:()=>a});var n=r(49244),o=r(52584),i=r(83878),a=function(e){var t=(0,i.useStyles)().styles,r=e.icon,a=e.title,s=e.children;return n.createElement("div",{className:t.header},n.createElement("span",{className:"header__text"},n.createElement(o.Title,{icon:r},a)),n.createElement("div",{className:"header__content"},s))}},49950:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e,t){var r=e.css,a=t.scrollWidth,s=t.hideElement;return{scrollContainer:r(n||(n=i(["\n visibility: ",";\n display: flex;\n overflow-x: auto;\n "])),!0===s?"hidden":"visible"),scroll:r(o||(o=i(["\n overflow-x: auto;\n white-space: nowrap;\n ","\n\n &::-webkit-scrollbar {\n display: none;\n }\n "])),null!=a?"width: ".concat(a,"px;"):"")}}))},89168:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HorizontalScroll:()=>c});var n=r(49244),o=r(49950),i=r(98308),a=r(72919);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=r),O(l.current.scrollWidth>l.current.clientWidth),E(l.current.clientWidth<50)}};(0,n.useEffect)((function(){if(null!==l.current){P(),l.current.addEventListener("scroll",P);var e=new ResizeObserver((function(){P()})),t=new MutationObserver((function(){P()}));return e.observe(l.current),t.observe(l.current,{childList:!0,subtree:!0}),function(){var r;null===(r=l.current)||void 0===r||r.removeEventListener("scroll",P),e.disconnect(),t.disconnect(),f(null)}}}),[]);var T=function(e){if(null===u){var t=setInterval((function(){if(null!==l.current){var t="left"===e?-50:50;l.current.scrollBy({left:t,behavior:"smooth"})}}),30);f(t)}},j=function(){T("left")},C=function(){T("right")},k=function(){null!==u&&(clearInterval(u),f(null))},_=function(e){"Enter"!==e.key&&" "!==e.key||k()},A=function(e,t){"Enter"!==e.key&&" "!==e.key||("left"===t?j():"right"===t&&C())};return n.createElement(a.Flex,{align:"center",className:["horizontal-scroll",x.scrollContainer].join(" ")},b&&n.createElement(i.IconButton,{disabled:p,icon:{value:"chevron-left",options:{height:18,width:18}},onKeyDown:function(e){A(e,"left")},onKeyUp:_,onMouseDown:j,onMouseLeave:k,onMouseUp:k,theme:"secondary"}),n.createElement(a.Flex,{align:"center",className:[x.scroll,"w-full"].join(" "),ref:l},t),b&&n.createElement(i.IconButton,{disabled:g,icon:{value:"chevron-right",options:{height:18,width:18}},onKeyDown:function(e){A(e,"right")},onKeyUp:_,onMouseDown:C,onMouseLeave:k,onMouseUp:k,theme:"secondary"}))}},17938:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{button:(0,e.css)(n||(t=["\n padding: 6px;\n height: 32px;\n width: 32px;\n line-height: 0;\n\n &.icon-button--theme-secondary {\n color: ",";\n }\n \n &.icon-button--hide-shadow {\n box-shadow: none;\n }\n\n &.icon-button--variant-minimal {\n padding: 0;\n width: auto;\n height: auto;\n }\n\n &.icon-button--variant-static {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 1px solid ",";\n background-color: ",";\n border-radius: ",";\n\n &:hover, &:disabled, &:active {\n border-color: "," !important;\n }\n\n &:focus-visible {\n outline: none !important;\n outline-offset: 0 !important;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText,o.colorBorderContainer,o.IconButton.colorBgContainer,o.IconButton.borderRadiusSM,o.colorBorderContainer)}}))},98308:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconButton:()=>m});var n=r(49244),o=r(46942),i=r.n(o),a=r(52734),s=r(54212),l=r(17938);function c(e){return c="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},c(e)}var u=["children","icon","type","theme","hideShadow","variant","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{IconTextButton:()=>d});var n=r(52734),o=r(49244),i=r(54212),a=r(72919);function s(e){return s="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},s(e)}var l=["icon","children","iconOptions","iconPlacement"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Icon:()=>c});var n=r(47587),o=r(49244),i=r(7478);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t,r,a=e.value,c=e.type,u=void 0===c?"name":c,f=e.options,d=e.className,p=(0,n.useInjection)(i.serviceIds.iconLibrary),h=null!==(t=null==f?void 0:f.width)&&void 0!==t?t:16,m=null!==(r=null==f?void 0:f.height)&&void 0!==r?r:16;return o.createElement("div",{className:"pimcore-icon pimcore-icon-".concat(a," anticon ").concat(d),style:{width:h,height:m}},function(){if("path"===u)return o.createElement("img",{alt:"foo",src:a,style:{width:h,height:m}});var e=p.get(a);return void 0===e?o.createElement("div",{style:{width:h,height:m}}):o.createElement(e,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{imageTargetContainer:(0,e.css)(n||(t=["\n border-radius: ","px;\n border: 1px dashed ",";\n background: ",";\n padding: ","px;\n \n .image-target-title {\n text-align: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.borderRadiusLG,o.colorBorder,o.controlItemBgHover,o.paddingSM)}}))},18700:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageTarget:()=>c});var n=r(49244),o=r(860),i=r(55766),a=r(46942),s=r.n(a),l=r(37473),c=function(e){var t=e.title,r=e.width,a=e.height,c=e.className,u=(0,i.useStyle)().styles;return n.createElement(o.Flex,{align:"center",className:s()(c,u.imageTargetContainer),justify:"center",style:{maxWidth:(0,l.toCssDimension)(r),height:(0,l.toCssDimension)(a)}},n.createElement("div",{className:"image-target-title"},t))}},91334:(e,t,r)=>{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{imageZoomContainer:r(n||(n=s(["\n display: flex;\n gap: 5px\n "]))),imageZoom:r(o||(o=s(["\n .ant-select {\n min-width: 70px;\n text-align: center;\n\n .ant-select-selector {\n border: 1px solid ",";\n\n .ant-select-selection-item {\n padding-inline-end: unset;\n }\n }\n\n .ant-select-arrow {\n display: none;\n }\n }\n "])),t.Button.defaultBorderColor),imageZoomBtn:r(i||(i=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: ","px;\n height: ","px;\n padding: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .pimcore-icon {\n display: flex;\n }\n\n &:disabled {\n background: ",";\n }\n "])),t.Button.defaultBorderColor,t.controlHeight,t.controlHeight,t.colorBgContainer),imageZoomResetBtn:r(a||(a=s(["\n border: 1px solid ",";\n box-shadow: none !important;\n width: auto;\n height: ","px;\n "])),t.Button.defaultBorderColor,t.controlHeight)}}))},76636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageZoom:()=>d});var n=r(49244),o=r(78291),i=r(72919),a=r(54212),s=r(91334),l=r(65227),c=r(32254);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=500&&m(!0),h&&t<500&&m(!1),t<=25&&v(!0),y&&t>25&&v(!1)}),[t]),n.createElement("div",{className:b.imageZoomContainer},100!==t&&n.createElement(i.Button,{"aria-label":O("aria.asset.image.editor.zoom.reset"),className:b.imageZoomResetBtn,onClick:function(){r(100)},onKeyDown:l.onKeyEnterExecuteClick},O("asset.image.editor.zoom.reset")),n.createElement(i.Space.Compact,{className:b.imageZoom},n.createElement(i.Button,{"aria-disabled":y,"aria-label":O("aria.asset.image.editor.zoom.zoom-out"),className:b.imageZoomBtn,disabled:y,onClick:function(){r(t-d)},onKeyDown:l.onKeyEnterExecuteClick},n.createElement(a.Icon,{value:"MinusOutlined"})),n.createElement(c.Select,{"aria-label":O("aria.asset.image.editor.zoom.preconfigured-zoom-levels"),defaultActiveFirstOption:!0,defaultValue:"100",onChange:function(e){r(parseInt(e))},options:[{value:"100",label:"100%"},{value:"125",label:"125%"},{value:"150",label:"150%"},{value:"175",label:"175%"},{value:"200",label:"200%"},{value:"225",label:"225%"},{value:"250",label:"250%"}],value:"".concat(t,"%")}),n.createElement(i.Button,{"aria-disabled":h,"aria-label":O("aria.asset.image.editor.zoom.zoom-in"),className:b.imageZoomBtn,disabled:h,onClick:function(){r(t+d)},onKeyDown:l.onKeyEnterExecuteClick},n.createElement(a.Icon,{value:"PlusOutlined"}))))}},80877:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{languageSelect:(0,e.css)(n||(t=["\n display: flex;\n gap: 2px;\n align-items: center;\n justify-content: center;\n height: 32px;\n\n button {\n width: 20px;\n height: 20px;\n color: ",";\n padding: 2px;\n }\n\n .language-select__current-value {\n display: flex;\n align-items: center;\n justify-content: center;\n text-transform: uppercase;\n gap: 2px;\n width: 45px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText)}}))},33044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LanguageSelection:()=>u,transformLanguage:()=>c});var n=r(52734),o=r(49244),i=r(54212),a=r(80877);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{form:(0,e.css)(n||(t=["\n form {\n display: flex;\n flex-direction: column;\n gap: 8px;\n font-family: Lato, sans-serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n\n .flex-space {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .ant-btn-link {\n color: ",";\n\n &:hover {\n color: ",";\n }\n }\n }\n \n .login__additional-logins {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n \n .ant-btn {\n width: 100%;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},11694:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LoginForm:()=>w});var n=r(72919),o=r(52734),i=r(49244),a=r(24674),s=r(71468),l=r(79118),c=r(78291),u=r(81723),f=r(54212),d=r(77980);function p(e){return p="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},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function v(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}(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 O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{logo:(0,e.css)(n||(t=["\n padding: 13px 16px 0 16px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},44276:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Logo:()=>a});var n=r(49244),o=r(64522),i=r(13566),a=function(){var e=(0,i.useStlyes)().styles;return n.createElement("div",{className:["logo",e.logo].join(" ")},n.createElement(o.default,{color:"#333",fill:"#ff0000",height:24,width:24}))}},5689:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{message:(0,e.css)(n||(t=["\n .ant-message-custom-content {\n font-family: Lato,serif;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 22px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},79118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useMessage:()=>f});var n=r(72919),o=r(54212),i=r(49244),a=r(5689);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{footer:(0,e.css)(n||(t=["\n &.--divider {\n padding-top: 10px;\n border-top: 1px solid ","\n }\n \n .ant-btn-link {\n color: ",";\n margin: 0;\n padding: 0;\n\n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.Divider.colorSplit,o.colorPrimary,o.colorPrimaryHover)}}),{hashPriority:"low"})},65854:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ModalFooter:()=>d});var n=r(49244),o=r(21784),i=r(860);function a(e){return a="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},a(e)}var s=["justify","divider"],l=["children"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{useFormModal:()=>v,withConfirm:()=>O,withInput:()=>b});var n=r(49244),o=r(72919),i=r(47981),a=r(72635),s=r(88738);function l(e){return l="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},l(e)}var c=["label","rule","initialValue"];function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{ModalTitle:()=>s});var n=r(72919),o=r(49244),i=r(54212),a=["iconName"];var s=function(e){var t=e.iconName,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{modal:(0,e.css)(n||(t=["\n &.ant-modal .ant-modal-footer > .ant-btn + .ant-btn {\n margin-inline-start: 0;\n }\n\n .ant-modal-content {\n width: 100%;\n display: inline-flex;\n flex-direction: column;\n align-items: start;\n gap: ","px;\n\n .ant-modal-header {\n margin-bottom: 0;\n\n .ant-modal-title {\n font-size: 16px;\n font-weight: 900;\n line-height: 24px;\n display: flex;\n gap: 4px;\n }\n }\n\n .ant-modal-footer {\n width: 100%;\n }\n\n .ant-modal-body {\n width: 100%;\n line-height: 22px;\n\n & > p {\n margin: 0;\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginSM)}}),{hashPriority:"low"})},24280:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Modal:()=>f});var n=r(72919),o=r(49244),i=r(90506),a=r(46946);function s(e){return s="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},s(e)}var l=["iconName","size","className","title","children"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.iconName,r=e.size,s=void 0===r?"M":r,f=e.className,d=e.title,p=e.children,h=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{useModal:()=>y,withError:()=>v,withInfo:()=>O,withSuccess:()=>b,withWarn:()=>w});var n=r(49244),o=r(24280);function i(e){return i="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},i(e)}var a=["children"],s=["children"],l=["children"],c=["children"],u=["children"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:{type:"default"},t=m((0,n.useState)(!1),2),r=t[0],i=t[1],s=function(){i(!1)},l=function(){s()},c=function(){s()};return{renderModal:function(t){var i=t.children,s=h(t,a),u=function(e){var t=o.Modal;switch(e){case"error":t=v(o.Modal);break;case"success":t=b(o.Modal);break;case"info":t=O(o.Modal);break;case"warn":t=w(o.Modal)}return t}(e.type);return n.createElement(u,d({onCancel:c,onOk:l,open:r},s),i)},showModal:function(){i(!0)},handleOk:l,handleCancel:c,closeModal:s}},v=function(e){return function(t){var r=t.children,o=h(t,s);return n.createElement(e,d({iconName:"close-circle-filled",title:"Error"},o),r)}},b=function(e){return function(t){var r=t.children,o=h(t,l);return n.createElement(e,d({iconName:"check-circle-filled",title:"Success"},o),r)}},O=function(e){return function(t){var r=t.children,o=h(t,c);return n.createElement(e,d({iconName:"info-circle-filled",title:"Info"},o),r)}},w=function(e){return function(t){var r=t.children,o=h(t,u);return n.createElement(e,d({iconName:"exclamation-circle-filled",title:"Warn"},o),r)}}},81690:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{content:(0,e.css)(n||(t=["\n .ant-empty-image {\n margin-bottom: ","px;\n height: auto;\n }\n \n .ant-empty-description {\n padding: 5px ","px;\n font-size: 14px;\n color: ",";\n line-height: 20px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginXS,o.controlPaddingHorizontal,o.Empty.colorTextDisabled)}}))},63372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NoContent:()=>s});var n=r(72919),o=r(81690),i=r(49244),a=r(54212),s=function(e){var t=e.text,r=(0,o.useStyle)().styles;return i.createElement("div",{className:r.content},i.createElement(n.Empty,{description:t,image:i.createElement(a.Icon,{options:{width:184,height:123},value:"no-content"})}))}},40649:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{notification:(0,e.css)(n||(t=["\n .ant-notification-notice-content { \n .ant-notification-notice-message {\n color: ",";\n font-size: 16px !important;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n margin-bottom: ","\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorText,o.marginXS)}}),{hashPriority:"low"})},85844:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useNotification:()=>c});var n=r(72919),o=r(40649);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{NumericRange:()=>v,validateOneFieldEmpty:()=>g,validateSecondValueGreater:()=>y});var n=r(49244),o=r(72919),i=r(860),a=r(72635);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function m(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){h(i,n,o,a,s,"next",e)}function s(e){h(i,n,o,a,s,"throw",e)}a(void 0)}))}}var g=function(){var e=m(p().mark((function e(t,r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==r){e.next=4;break}return e.next=3,Promise.resolve();case 3:return e.abrupt("return");case 4:if(null!==r[0]){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.first-value-missing")));case 7:if(null!==r[1]){e.next=10;break}return e.next=10,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-missing")));case 10:return e.next=12,Promise.resolve();case 12:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),y=function(){var e=m(p().mark((function e(t,r){return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t,r);case 2:if(null!==r){e.next=4;break}return e.abrupt("return");case 4:if(!(r[0]>r[1])){e.next=7;break}return e.next=7,Promise.reject(Error((0,a.t)("form.validation.numeric-range.second-value-greater")));case 7:return e.next=9,Promise.resolve();case 9:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),v=function(e){var t,r=f((0,n.useState)(null!==(t=e.value)&&void 0!==t?t:null),2),a=r[0],s=r[1];(0,n.useEffect)((function(){void 0!==e.onChange&&e.onChange(a)}),[a]);var l=function(e,t){s((function(r){null===r&&(r=[null,null]);var n=0===e?[t,r[1]]:[r[0],t];return null===n[0]&&null===n[1]?null:n}))};return n.createElement(i.Flex,{align:"center",className:e.className,gap:"mini"},n.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l(0,e)},value:null!==a?a[0]:null})),n.createElement("div",null,"–"),n.createElement(o.InputNumber,c(c({},e),{},{onChange:function(e){l(1,e)},value:null!==a?a[1]:null})))}},98713:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{"editable-container":(0,e.css)(n||(t=["\n position: relative;\n height: 30px;\n\n .input-field {\n font-family: Lato, sans-serif;\n font-size: 12px;\n text-align: center;\n line-height: ","px;\n\n border-radius: ","px;\n border-color: ",';\n background-color: white;\n\n /* Firefox */\n -moz-appearance: textfield;\n }\n\n .input-field:focus-visible {\n outline: none;\n }\n\n /* Chrome, Safari, Edge, Opera */\n\n .input-field::-webkit-outer-spin-button,\n .input-field::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n & button[type="button"], .input-field {\n display: block;\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n bottom: 0;\n inset-inline-start: 0;\n padding: unset;\n margin: auto;\n\n width: ',"px;\n height: ","px;\n }\n\n .input-field.remove-decoration {\n border: none;\n background: none;\n }\n\n & button.inline-label.display-none, & button.inline-label-dots.display-none, & input.input-field.display-none {\n display: none;\n }\n\n button.inline-label-dots {\n border: none;\n }\n\n button.inline-label-dots, button.inline-label {\n font-family: Lato, sans-serif;\n line-height: 30px;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n background-color: transparent;\n cursor: text;\n }\n\n button.inline-label {\n color: ",";\n border: 1px solid ",";\n border-radius: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.controlHeight,o.borderRadius,o.colorBorder,o.controlHeight,o.controlHeight,o.colorPrimary,o.colorPrimary,o.borderRadius)}}),{hashPriority:"low"})},68701:(e,t,r)=>{"use strict";r.r(t),r.d(t,{InlineTextfield:()=>f});var n,o=r(49244),i=r(98713),a=r(65227),s=r(52734),l=r(54212);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{pagination:(0,e.css)(n||(t=["\n .ant-pagination .ant-pagination-item {\n padding: unset;\n margin-top: unset;\n margin-bottom: unset;\n vertical-align: middle;\n }\n\n button.page-number-node {\n color: black;\n text-align: center;\n vertical-align: text-bottom;\n box-shadow: none;\n padding: 0 2px 2px 0;\n border: none;\n }\n\n button.page-number-node, .ant-pagination .ant-pagination-item {\n width: ","px;\n height: ","px;\n background-color: transparent;\n }\n \n & .ant-pagination-item-active span {\n color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.controlHeight,o.controlHeight,o.colorPrimary)}}),{hashPriority:"low"})},98666:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Pagination:()=>g});var n=r(49244),o=r(32556),i=r(21772),a=r(54212),s=r(52734),l=r(46919),c=r(65227),u=r(73043),f=r(68701);function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(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 p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||h(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 h(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=N){var F=d(Array(N).keys()).map((function(e){return e+1}));$.push.apply($,d(B(F)))}else{var Q=function(e){if(e<=0)return[];var t=Math.floor(e/2);return d(Array(t).keys()).map((function(e){return e+1}))}(x),V=function(e,t){if(e<=0)return[];var r=Math.floor(e/2);e%2==0&&r--;var n=t-r+1;return d(Array(r).keys()).map((function(e){return e+n}))}(x,N);if($.push.apply($,d(B(Q))),N>3){$.push(n.createElement("li",{className:"ant-pagination-item",key:"page-jumper"},n.createElement(f.InlineTextfield,{onKeyDown:function(e){if("Enter"===e.key){var t=Number(e.target.value);t>0&&t<=N?R(t):t<1?R(1):t>N&&R(N),e.target.value="",e.target.blur()}},showDotsValues:[].concat(d(Q.map(String)),d(V.map(String))),value:null==D?void 0:D.toString()})))}$.push.apply($,d(B(V)))}return n.createElement("div",{className:k.pagination},n.createElement("ul",{className:"ant-pagination "+_},(0,c.isSet)(j)&&n.createElement(b,{showTotal:j,total:t}),n.createElement(y,{currentPage:D,onClickPrev:function(){R(D-1)}}),$,n.createElement(v,{currentPage:D,onClickNext:function(){R(D+1)},pages:N}),S&&n.createElement("li",{className:"ant-pagination-options",key:"page-jumper"},n.createElement(u.SizeChanger,{defaultSize:m,handleChange:function(e){I(e),R(1)},label:l.default.t("pagination.page"),sizeOptions:O}))))};function y(e){var t=e.currentPage,r=e.onClickPrev;return n.createElement("li",{className:"ant-pagination-prev ".concat(1===t?"ant-pagination-disabled":"")},n.createElement(s.Button,{className:"ant-pagination-item-link",disabled:1===t,icon:n.createElement(a.Icon,{options:{width:10,height:10},value:"left-outlined"}),onClick:r,size:"small",type:"text"}))}function v(e){var t=e.currentPage,r=e.pages,o=e.onClickNext;return n.createElement("li",{className:"ant-pagination-next ".concat(t===r?"ant-pagination-disabled":"")},n.createElement(s.Button,{className:"ant-pagination-item-link",disabled:t===r,icon:n.createElement(a.Icon,{options:{width:10,height:10},value:"right-outlined"}),onClick:o,size:"small",type:"text"}))}function b(e){var t=e.total,r=e.showTotal;return n.createElement("li",{className:"ant-pagination-total-text"},r(t))}},73043:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SizeChanger:()=>s});var n=r(49244),o=r(32254);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Paragraph:()=>l});var n=r(49244);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(72919).Typography.Paragraph,l=function(e){return n.createElement(s,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PimcoreAudio:()=>i});var n=r(49244),o=r(78291),i=function(e){var t=e.sources,r=e.tracks,i=e.className,a=(0,o.useTranslation)().t;return n.createElement("audio",{className:i,controls:!0},t.map((function(e,t){return n.createElement("source",{key:t,src:e.src,type:e.type})})),null==r?void 0:r.map((function(e,t){return n.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),a("asset.preview.no-audio-support"))}},86178:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"document-container":(0,e.css)(n||(t=["\n width: 100%;\n height: 100%;\n .loading-div {\n position: absolute;\n top: calc(50% - 11px);\n left: calc(50% - 8px);\n }\n \n .display-none {\n display: none;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},2896:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PimcoreDocument:()=>i});var n=r(49244),o=r(86178),i=function(e){var t=e.src,r=e.className,i=(0,o.useStyle)().styles;return n.createElement("div",{className:[i["document-container"],r].join(" ")},n.createElement("iframe",{src:t,title:t}))}},22078:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{image:(0,e.css)(n||(t=["\n transition: transform ","s;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.motionDurationFast)}}),{hashPriority:"low"})},8084:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PimcoreImage:()=>u});var n=r(72919),o=r(49244),i=r(22078),a=r(94695);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=(0,i.useStyle)().styles,r=(0,o.useContext)(a.ZoomContext).zoom;return o.createElement(n.Image,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PimcoreVideo:()=>a});var n=r(49244),o=r(78291),i=r(55773),a=function(e){var t=e.sources,r=e.tracks,a=e.width,s=e.height,l=e.className,c=e.poster,u=(0,o.useTranslation)().t,f=(0,n.useContext)(i.VideoContext).setPlayerPosition;return n.createElement("video",{className:l,controls:!0,height:s,key:t[0].src,onTimeUpdate:function(e){var t=e.target;f(t.currentTime)},poster:c,width:a},t.map((function(e,t){return n.createElement("source",{key:t,src:e.src,type:e.type})})),null==r?void 0:r.map((function(e,t){return n.createElement("track",{key:t,kind:e.kind,label:e.label,src:e.src,srcLang:e.srcLang})})),u("asset.preview.no-video-support"))}},66554:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.css,r=e.token;return{infoIcon:t(n||(n=i(["\n color: rgba(0, 0, 0, 0.45);\n cursor: pointer;\n "]))),link:t(o||(o=i(["\n color: ",";\n }\n "])),r.colorTextLightSolid)}}))},37228:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PQLQueryInput:()=>m});var n=r(49244),o=r(72919),i=r(88592),a=r(860),s=r(97292),l=r(25140),c=r(72650),u=r(66554),f=r(54212);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{card:(0,e.css)(n||(t=["\n &.ant-card {\n height: 103px;\n cursor: pointer;\n }\n\n &.card-medium {\n height: 150px;\n }\n \n &.ant-card .ant-card-body {\n padding: ","px ","px;\n margin-top: 7px;\n margin-bottom: 7px;\n width: 166px;\n }\n \n &.ant-card .ant-card-meta-title {\n font-weight: normal;\n }\n\n .checkbox, .checkbox-medium {\n position: absolute;\n top: ","px;\n left: ","px;\n }\n\n .checkbox-medium {\n left: ","px;\n }\n\n .dots-button, .dots-button-medium {\n position: absolute;\n top: ","px;\n right: ","px;\n }\n\n .dots-button-medium {\n right: ","px;\n }\n \n .dropdown-menu__icon {\n vertical-align: text-bottom;\n }\n\n .dots-button-open-dropdown:not(:disabled):not(.ant-btn-disabled):hover {\n background-color: ",";\n color: white;\n }\n\n .ant-card-cover .img-container, .ant-card-cover .img-container-medium {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .ant-card-cover .img-container {\n height: 64px;\n width: 170px;\n }\n\n .ant-image .ant-image-img.img, .ant-image .ant-image-img.img-medium {\n border-radius: unset;\n margin-top: 3px;\n }\n \n .ant-image .ant-image-img.img {\n max-height: 61px;\n max-width: 168px;\n }\n\n .ant-card-cover .img-container-medium {\n height: 109px;\n width: 236px;\n }\n\n .ant-image .ant-image-img.img-medium {\n max-height: 106px;\n max-width: 234px;\n }\n\n .menu-icon {\n margin-right: ","px;\n }\n\n .flexbox-start-end {\n display: flex;\n justify-content: space-between;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.paddingXXS,o.paddingXXS,o.paddingXS,o.Button.defaultColor,o.marginXS)}}),{hashPriority:"low"})},11164:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewCard:()=>p,SizeTypes:()=>n});var n,o=r(72919),i=r(49244),a=r(47878),s=r(29653),l=r(54212),c=r(10340),u=r(8084);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{progressbar:(0,e.css)(n||(t=["\n padding-bottom: ","px; \n \n .progressbar-description {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n \n p {\n color: ",";\n margin: 0;\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n }\n\n .progressbar-description__action {\n .ant-btn {\n color: ",";\n height: ","px;\n display: flex;\n justify-content: center;\n padding: 0 ","px;\n align-items: flex-end;\n\n &:hover {\n color: ","\n }\n }\n }\n }\n \n .ant-progress {\n margin-bottom: 0;\n \n .ant-progress-bg {\n background: ","; \n }\n }\n\n .progressbar-status {\n p {\n color: ",";\n font-size: 12px;\n font-weight: 400;\n line-height: 22px;\n margin: 0;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.marginXXS,o.colorTextTertiary,o.colorPrimary,o.controlHeight,o.paddingXXS,o.colorPrimaryHover,o.colorTextDescription,o.colorTextSecondary)}}),{hashPriority:"low"})},94680:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Progressbar:()=>f});var n=r(72919),o=r(49244),i=r(54933);function a(e){return a="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},a(e)}var s=["progressStatus","description","descriptionAction"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e,t){e.token;var r,o,i=e.css,a=t.region;return{regionItem:i(n||(r=["\n grid-area: ",";\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),a)}}))},6354:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RegionItem:()=>f});var n=r(50596),o=r(49244),i=r(46942),a=r.n(i);function s(e){return s="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},s(e)}var l=["region","component"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){e.region;var t=e.component,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{useStyles:()=>a});var n,o=r(91539),i=r(22470);var a=(0,o.createStyles)((function(e,t){e.token;var r=e.css,o=t.layoutDefinition,a=t.items,s=o.map((function(e){return'"'.concat(e,'"')})).join(" "),l=a.map((function(e){return{region:e.region,maxWidth:e.maxWidth}})),c=[];o.forEach((function(e){e.split(" ").forEach((function(e,t){var r,n=null===(r=l.find((function(t){return t.region===e})))||void 0===r?void 0:r.maxWidth;Array.isArray(c[t])||(c[t]=[]);var o=Number(null!=n?n:"0"),i=!isNaN(o);void 0!==n&&(""!==n&&"0"!==n&&!i||i&&o>0)&&(i?c[t].push("".concat(o,"px")):c[t].push(n))}))}));var u,f,d=c.map((function(e){return 0===e.length?"1fr":"max(".concat(e.join(","),")")})).join(" ");return{region:r(n||(u=["\n display: flex;\n flex-direction: column;\n // @todo make this configurable\n gap: 12px;\n\n // @todo we should introduce a predefined set of breakpoints\n @container "," (min-width: 768px) {\n display: grid;\n grid-template-areas: ",";\n grid-template-columns: ",";\n }\n "],f||(f=u.slice(0)),n=Object.freeze(Object.defineProperties(u,{raw:{value:Object.freeze(f)}}))),i.cssContainerWidget.name,s,d)}}))},36338:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Region:()=>l});var n=r(49244),o=r(61604),i=r(46942),a=r.n(i),s=r(6354),l=function(e){var t=e.items,r=(0,o.useStyles)(e).styles,i=a()(r.region);return n.createElement("div",{className:i},t.map((function(e){return n.createElement(s.RegionItem,{component:e.component,key:e.region,maxWidth:e.maxWidth,region:e.region})})))}},43092:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SanitizeHtml:()=>i});var n=r(49244),o=r(99418),i=function(e){var t,r=e.html,i=e.options;return t=void 0!==i?o.default.sanitize(r,i):o.default.sanitize(r),n.createElement("div",{dangerouslySetInnerHTML:{__html:t}})}},8254:(e,t,r)=>{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>l});var l=(0,r(91539).createStyles)((function(e){var t=e.css,r=e.token;return{search:t(n||(n=s(["\n .ant-input-prefix {\n margin-inline-end: ","px;\n }\n \n .ant-input-clear-icon {\n display: flex;\n }\n "])),r.marginXS),searchWithoutAddon:t(o||(o=s(["\n .ant-input-group-addon {\n display: none;\n }\n \n .ant-input-affix-wrapper,\n .ant-input {\n border-radius: ","px !important;\n }\n "])),r.borderRadius),searchIcon:t(i||(i=s(["\n color: ",";\n "])),r.colorTextPlaceholder),closeIcon:t(a||(a=s(["\n color: ",";\n "])),r.colorIcon)}}))},11248:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SearchInput:()=>p});var n=r(49244),o=r(30298),i=r(46942),a=r.n(i),s=r(54212),l=r(8254);function c(e){return c="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},c(e)}var u=["className","withoutAddon","withPrefix","withClear"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=e.className,r=e.withoutAddon,i=void 0===r||r,c=e.withPrefix,p=void 0===c||c,h=e.withClear,m=void 0===h||h,g=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{segmented:(0,e.css)(n||(t=["\n .ant-segmented-group {\n padding: 2px;\n border-radius: ","px;\n border: 1px solid ",";\n background: ",";\n box-shadow: ",";\n\n .ant-segmented-item {\n color: ",";\n\n &.ant-segmented-item-selected {\n background: ",";\n border-color: ",";\n color: ",";\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.borderRadius,o.colorBorderSecondary,o.colorBgLayout,o.boxShadow,o.itemColor,o.controlItemBgActive,o.controlItemBgActive,o.itemSelectedColor)}}))},60956:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Segmented:()=>u});var n=r(49244),o=r(52838),i=r(72919);function a(e){return a="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},a(e)}var s=["options"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=n.forwardRef((function(e,t){var r=e.options,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{useStyles:()=>g});var n,o,i,a,s,l,c,u,f,d,p=r(91539),h=r(72650);function m(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var g=(0,p.createStyles)((function(e,t){var r=e.css,p=e.token;return{selectContainer:r(n||(n=m(["\n position: relative;\n \n &:hover {\n .custom-select-icon {\n color: ",";\n }\n }\n "])),p.colorPrimary),selectContainerWarning:r(o||(o=m(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-warning {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),p.colorWarningHover,p.colorText,p.colorWarningHover,p.colorText,p.colorWarningHover),selectContainerError:r(i||(i=m(["\n &:hover {\n .custom-select-icon {\n color: "," !important;\n }\n }\n \n .ant-select-status-error {\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n }\n "])),p.colorErrorHover,p.colorText,p.colorErrorHover,p.colorText,p.colorErrorHover),select:r(a||(a=m(["\n width: ",";\n \n .ant-select-selector {\n padding: 0 ","px !important;\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n\n // DEFAULT select\n &.ant-select-open, &.ant-select-focused {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n &:hover {\n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n\n // MULTIPLE select\n &.ant-select-multiple {\n &.ant-select {\n .ant-select-selector {\n padding: 2px ","px 2px ","px !important;\n }\n }\n \n &:hover {\n .ant-select-selection-item {\n .ant-select-selection-item-content {\n color: "," !important;\n }\n }\n }\n }\n\n // DISABLED state\n &.ant-select.ant-select-disabled {\n .ant-select-selector {\n border-color: "," !important;\n }\n \n .ant-select-selection-item {\n color: ",";\n }\n\n .ant-select-arrow {\n color: "," !important;\n }\n }\n "])),(0,h.isEmptyValue)(t.width)?"initial":"".concat(t.width,"px"),p.controlPaddingHorizontal,p.colorIcon,p.colorPrimary,p.colorPrimary,p.colorPrimary,p.colorPrimary,p.controlPaddingHorizontal,p.paddingXXS,p.colorText,p.colorBorder,p.colorTextDisabled,p.colorTextDisabled),arrowIcon:r(s||(s=m(["\n pointer-events: none !important\n "]))),selectWithCustomIcon:r(l||(l=m(["\n &.ant-select {\n .ant-select-selector {\n padding: 0 ","px 0 ","px !important;\n }\n }\n "])),p.controlPaddingHorizontal,p.controlPaddingHorizontal+16+p.marginXXS),customIcon:r(c||(c=m(["\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n z-index: 1;\n color: ",";\n "])),p.colorIcon),customIconActive:r(u||(u=m(["\n color: "," !important;\n "])),p.colorPrimary),customIconWarning:r(f||(f=m(["\n color: ",";\n "])),p.colorWarningHover),customIconError:r(d||(d=m(["\n color: ",";\n "])),p.colorErrorHover)}}))},32254:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Select:()=>g});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(54212),l=r(72650),c=r(23360);function u(e){return u="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},u(e)}var f=["customIcon","customArrowIcon","mode","status","className","width"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{sidebar:(0,e.css)(n||(t=["\n display: flex;\n height: 100%;\n \n .sidebar__navigation {\n display: flex;\n width: 45px;\n padding: 4px 8px ","px 8px;\n flex-direction: column;\n align-items: center;\n flex-shrink: 0;\n align-self: stretch;\n border-right: 1px solid rgba(0, 0, 0, 0.08);\n border-left: 1px solid rgba(0, 0, 0, 0.08);\n justify-content: space-between;\n color: ",";\n background: ",";\n\n .sidebar__navigation__tabs,\n .sidebar__navigation__buttons {\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n }\n\n .sidebar__navigation__tabs {\n .entry {\n display: flex;\n width: 45px;\n padding: ","px ","px;\n justify-content: center;\n align-items: center;\n\n &:not(.active).entry--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n }\n }\n\n .pimcore-icon {\n flex-shrink: 0;\n color: ",";\n\n &:hover {\n color: ",";\n cursor: pointer;\n }\n }\n\n &.active {\n background: ",";\n border-right: 2px solid ",";\n\n .pimcore-icon {\n color: ","\n }\n }\n }\n },\n \n .sidebar__navigation__buttons\n .button {\n &.button--highlighted {\n .pimcore-icon {\n background: ",";\n border-radius: 2px;\n outline: 8px solid ",";\n color: ",";\n }\n }\n }\n }\n \n .sidebar__content {\n position: relative;\n overflow: auto;\n width: 250px;\n\n .tab {\n display: none;\n \n &.active {\n display: flex;\n width: 100%;\n height: 100%;\n }\n }\n \n &:not(.expanded) {\n display: none;\n }\n\n &--sizing-large {\n width: 432px;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.colorIconSidebar,o.colorBgToolbar,o.colorIconSidebar,o.colorIconHover,o.paddingXS,o.paddingXXS,o.colorFillQuaternary,o.colorFillQuaternary,o.colorIconSidebar,o.colorIconHover,o.colorFillQuaternary,o.colorPrimaryActive,o.colorPrimaryActive,o.colorFillQuaternary,o.colorFillQuaternary,o.colorPrimary)}}),{hashPriority:"low"})},33496:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Sidebar:()=>d});var n=r(29350),o=r(49244),i=["component","key"];function a(e){return a="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},a(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Slider:()=>g});var n=r(49244),o=r(72919),i=r(67199),a=r(80188),s=r(860),l=r(98308),c=r(72635);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{button:o(n||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n width: 16px;\n height: 16px;\n\n &:hover {\n cursor: pointer; \n }\n\n .sort-button__arrow {\n color: ",";\n }\n\n .sort-button__asc {\n margin-bottom: -4px;\n }\n\n &.sort-button--sorting-asc {\n .sort-button__asc {\n color: ",";\n }\n }\n\n &.sort-button--sorting-desc {\n .sort-button__desc {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorTextDisabled,i.colorPrimary,i.colorPrimary)}}),{hashPriority:"low"})},54636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SortButton:()=>u,SortDirections:()=>n});var n,o=r(49244),i=r(21974),a=r(54212),s=["onSortingChange"];function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{space:o(n||(t=["\n &.space--sizing-none {\n gap: 0;\n }\n\n &.space--sizing-mini {\n gap: ","px;\n }\n\n &.space--sizing-extra-small {\n gap: ","px;\n }\n\n &.space--sizing-small {\n gap: ","px;\n }\n\n &.space--sizing-normal {\n gap: ","px;\n }\n\n &.space--sizing-medium {\n gap: ","px;\n }\n\n &.space--sizing-large {\n gap: ","px;\n }\n\n &.space--sizing-extra-large {\n gap: ","px;\n }\n\n &.space--sizing-maxi {\n gap: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.sizeXXS,i.sizeXS,i.sizeSM,i.size,i.sizeMD,i.sizeLG,i.sizeXL,i.sizeXXL)}}))},39756:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Space:()=>u});var n=r(72919),o=r(49244),i=r(21402);function a(e){return a="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},a(e)}var s=["size","className"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.size,r=void 0===t?"small":t,a=e.className,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{spin:r(n||(n=i(["\n @keyframes spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes spin-dot {\n 0% {\n opacity: 0.3;\n } \n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0.3;\n }\n }\n\n animation-name: spin;\n animation-duration: 2s;\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n\n circle {\n animation: spin-dot 2s infinite;\n\n &:nth-child(1) {\n animation-delay: 0.5s;\n }\n\n &:nth-child(2) {\n animation-delay: 1.5s;\n }\n\n &:nth-child(3) {\n animation-delay: 1s;\n }\n\n \n &:nth-child(4) {\n animation-delay: 2s;\n }\n }\n "]))),spinContainer:r(o||(o=i(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n justify-content: center;\n align-items: center;\n height: 100px;\n width: 100px;\n color: ",";\n "])),t.colorPrimary)}}))},63818:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Spin:()=>d});var n=r(49244),o=r(72919),i=r(54212),a=r(31244);function s(e){return s="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},s(e)}var l=["asContainer","tip"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>l});var l=(0,r(91539).createStyles)((function(e){var t=e.css,r=e.token;return{dividerContainer:t(n||(n=s(["\n position: relative;\n min-width: 24px;\n outline: none;\n "]))),resizable:t(o||(o=s(["\n cursor: col-resize;\n "]))),divider:t(i||(i=s(["\n position: absolute;\n left: 50%;\n width: 1px;\n height: 100%;\n overflow: hidden;\n background-color: ",";\n "])),r.Divider.colorSplit),iconContainer:t(a||(a=s(["\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n cursor: col-resize;\n "])))}}))},90347:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Divider:()=>d});var n=r(49244),o=r(46942),i=r.n(o),a=r(98308),s=r(85461);function l(e){return l="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},l(e)}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{splitLayoutItem:(0,e.css)(n||(t=["\n position: relative;\n height: 100%;\n width: 100%;\n overflow: hidden;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},3717:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplitLayoutItem:()=>a});var n=r(49244),o=r(81139),i=function(e,t){var r=e.children,i=e.size,a=e.minSize,s=e.maxSize,l=(0,o.useStyles)().styles;return n.createElement("div",{className:l.splitLayoutItem,ref:t,style:{width:"".concat(i,"%"),minWidth:void 0!==a?"".concat(a,"px"):"auto",maxWidth:void 0!==s?"".concat(s,"px"):"auto"}},r)},a=(0,n.forwardRef)(i)},99506:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{splitLayout:(0,e.css)(n||(t=["\n display: flex;\n height: 100%;\n width: 100%;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},28e3:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SplitLayout:()=>b});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(3717),l=r(90347),c=r(99506);function u(e){return u="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},u(e)}var f=["children"],d=["children"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{split:o(n||(t=["\n .ant-divider {\n margin-inline: 0;\n }\n\n &.split--theme-secondary {\n .ant-divider {\n border-color: ",";\n }\n }\n\n &.split--divider-size-large {\n .ant-divider {\n height: 24px;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorTextSecondary)}}))},14611:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Split:()=>f});var n=r(49244),o=r(39756),i=r(72919),a=r(70446);function s(e){return s="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},s(e)}var l=["theme","dividerSize"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.theme,r=void 0===t?"primary":t,s=e.dividerSize,f=void 0===s?"large":s,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{stackListItem:(0,e.css)(n||(t=["\n border-radius: 4px;\n border: 1px solid ",";\n background-color: #fff;\n\n .stack-list-item__title {\n display: flex;\n align-items: center;\n gap: 2px;\n padding: 4px;\n }\n\n .stack-list-item__body {\n padding: 0 4px 4px 4px;\n }\n\n .stack-list-item__content {\n flex: 1;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBorder)}}))},7810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{StackListItem:()=>f});var n=r(49244),o=r(85860),i=r(43627),a=r(74979),s=r(98308);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.id,r=e.children,l=e.body,f=e.sortable,d=void 0!==f&&f,p=e.renderLeftToolbar,h=e.renderRightToolbar,m=(0,o.useStyles)().styles,g=(0,i.useSortable)({id:t}),y=g.listeners,v=g.setNodeRef,b=g.setActivatorNodeRef,O=g.transform,w=g.transition,S={transform:a.CSS.Transform.toString(O),transition:null!=w?w:void 0};return n.createElement("div",{className:["stack-list-item",m.stackListItem].join(" "),ref:v,style:S},n.createElement("div",{className:"stack-list-item__title"},d&&n.createElement(s.IconButton,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{stackList:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n gap: 8px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},31212:(e,t,r)=>{"use strict";r.r(t),r.d(t,{StackList:()=>m});var n=r(49244),o=r(46942),i=r.n(o),a=r(7810),s=r(77050),l=r(73373),c=r(43627);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Switch:()=>u});var n=r(49244),o=r(72919),i=r(860);function a(e){return a="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},a(e)}var s=["labelLeft","labelRight"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.labelLeft,r=e.labelRight,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{TagList:()=>f});var n=r(49244),o=r(46942),i=r.n(o),a=r(29664),s=r(860);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.list,r=e.itemGap,o=e.tagListClassNames,l=e.tagListItemClassNames,f=e.wrap,d=void 0===f||f;return n.createElement(s.Flex,{gap:"small",rootClassName:i()(o),vertical:!0},t.map((function(e,t){return n.createElement(s.Flex,{gap:r,key:t,rootClassName:i()(l),wrap:d},e.map((function(e,r){return n.createElement(a.Tag,function(e){for(var t=1;t{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.css,r=e.token;return{tag:t(n||(n=i(["\n &.ant-tag {\n margin-inline-end: 0;\n \n &.ant-tag-default {\n background-color: ",";\n color: ",";\n border-color: ",";\n }\n \n &.theme-transparent {\n background-color: ",";\n border-color: ",";\n }\n\n .anticon + span {\n margin-inline-start: 4px;\n }\n }\n "])),r.colorFillTertiary,r.colorTextLabel,r.Tag.colorBorder,r.colorFillTertiary,r.colorBorder),tooltip:t(o||(o=i(["\n .ant-tooltip-inner {\n color: ",";\n background-color: ",";\n border-radius: ","px;\n }\n \n .ant-tooltip-arrow {\n &::before {\n background-color: ",";\n }\n }\n "])),r.colorTextLightSolid,r.colorBgSpotlight,r.borderRadius,r.colorBgSpotlight)}}))},29664:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tag:()=>p});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(54212),l=r(19470);function c(e){return c="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},c(e)}var u=["children","icon","iconName","theme","className"];function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t,r=e.children,i=e.icon,c=e.iconName,p=e.theme,h=e.className,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{detectLanguageFromFilename:()=>d,getLanguageExtensions:()=>f});var n=r(70028),o=r(40734),i=r(64110),a=r(47521),s=r(4652),l=r(49075),c=r(40772),u={html:{codeMirrorExtension:(0,n.html)(),fileExtensions:["html","htm","shtm","shtml","xhtml","cfm","cfml","cfc","dhtml","xht","tpl","twig","kit","jsp","aspx","ascx","asp","master","cshtml","vbhtml"]},css:{codeMirrorExtension:(0,o.css)(),fileExtensions:["css","less","scss","sass"]},javascript:{codeMirrorExtension:(0,i.javascript)({jsx:!0}),fileExtensions:["js","js.erb","jsm","_js","jsx"]},json:{codeMirrorExtension:(0,a.json)(),fileExtensions:["json","map"]},xml:{codeMirrorExtension:(0,s.xml)(),fileExtensions:["xml","wxs","wxl","wsdl","rss","atom","rdf","xslt","xsl","xul","xsd","xbl","mathml","config","plist","xaml"]},sql:{codeMirrorExtension:(0,l.sql)(),fileExtensions:["sql"]},markdown:{codeMirrorExtension:(0,c.markdown)(),fileExtensions:["md","markdown","mdown","mkdn"]}},f=function(e){return null==e?[]:[u[e].codeMirrorExtension]},d=function(e){var t=e.split(".").pop();if(void 0===t)return null;for(var r in u)if(u[r].fileExtensions.includes(t))return r;return null}},12390:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{editor:(0,e.css)(n||(t=["\n height: 100%;\n width: 100%;\n \n & .CodeMirror {\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},29052:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextEditor:()=>c});var n=r(49244),o=r(12390),i=r(31523),a=r(57833);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Text:()=>l});var n=r(49244);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(72919).Typography.Text,l=function(e){return n.createElement(s,function(e){for(var t=1;t{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{flex:r(n||(n=i(["\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary),title:r(o||(o=i(["\n &.pimcore-title.ant-typography {\n font-size: 12px;\n font-weight: 600;\n color: ",";\n }\n .pimcore-icon {\n color: ",";\n margin-right: 4px;\n }\n "])),t.colorPrimary,t.colorPrimary)}}),{hashPriority:"low"})},52584:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Title:()=>f});var n=r(72919),o=r(49244),i=r(82134);function a(e){return a="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},a(e)}var s=["children","icon"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=n.Typography.Title,f=function(e){var t=e.children,r=e.icon,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{toolbar:(0,e.css)(n||(t=["\n width: 100%;\n height: 48px;\n border-top: 1px solid ",";\n \n padding: ","px;\n\n &.toolbar--theme-primary {\n // @todo: use token\n background-color: #F5F3FA;\n }\n\n &.toolbar--theme-secondary {\n background-color: ",";\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorBorder,o.paddingXS,o.colorBgBase)}}))},57468:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Toolbar:()=>f});var n=r(93190),o=r(72919),i=r(49244),a=r(89168);function s(e){return s="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},s(e)}var l=["children","justify","theme"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.children,r=e.justify,s=void 0===r?"space-between":r,f=e.theme,d=void 0===f?"primary":f,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{TreeElementItem:()=>s});var n=r(49244),o=r(72919),i=r(78291),a=r(54212),s=function(e){var t=e.title,r=e.actions,s=e.onSelected,l=e.onActionsClick,c=(0,i.useTranslation)().t,u=[];null==r||r.forEach((function(e){null==u||u.push({key:e.key,label:c("tree.actions.".concat(e.key)),icon:n.createElement(a.Icon,{value:e.icon}),onClick:function(){null==l||l(e.key)}})}));var f=function(){return n.createElement("span",{onClick:s,onKeyDown:function(e){"Enter"!==e.key&&"Escape"!==e.key||null!=s&&s()},role:"button",tabIndex:0},t)};return(null==u?void 0:u.length)>0?n.createElement(o.Dropdown,{menu:{items:u},trigger:["contextMenu"]},f()):f()}},66734:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e,t){var r,o,i=e.token;return{treeContainer:(0,e.css)(n||(r=["\n .ant-tree-list-holder-inner {\n .ant-tree-treenode-leaf-last {\n &:first-child {\n .ant-tree-checkbox {\n display: ",";\n }\n }\n }\n\n .ant-tree-treenode {\n padding: 0;\n \n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n\n &:focus {\n outline: none;\n background-color: ",";\n }\n\n .ant-tree-node-content-wrapper {\n padding: 0;\n background: none;\n\n &:hover {\n background: none;\n }\n }\n }\n\n .ant-tree-treenode-selected {\n background-color: ",";\n }\n }\n \n .ant-tree-switcher {\n display: flex;\n align-items: center;\n justify-content: center;\n \n &:hover {\n background-color: transparent !important;\n }\n }\n\n .ant-tree-switcher-noop {\n pointer-events: none;\n }\n \n .ant-tree-switcher_close {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(0deg);\n }\n }\n }\n\n .ant-tree-switcher_open {\n .ant-tree-switcher-icon {\n svg {\n transform: rotate(-180deg);\n }\n }\n }\n\n .ant-tree-draggable-icon {\n display: none;\n }\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),!0===t.isHideRootChecker?"none":"block",i.controlItemBgHover,i.controlItemBgActiveHover,i.controlItemBgActive)}}),{hashPriority:"high"})},29184:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeElement:()=>d});var n=r(49244),o=r(72919),i=r(46942),a=r.n(i),s=r(54212),l=r(1422),c=r(66734);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{uploadList:(0,e.css)(n||(t=["\n margin-top: ","px;\n margin-bottom: ","px;\n display: flex;\n flex-direction: column;\n align-items: center;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM,o.paddingSM)}}))},18870:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UploadList:()=>u});var n=r(49244),o=r(72919),i=r(74392);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{upload:(0,e.css)(n||(t=["\n display: none\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},84847:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Upload:()=>d});var n=r(49244),o=r(72919),i=r(36042);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{timeline:(0,e.css)(n||(t=["\n padding-left: ","px;\n \n & > div {\n position: relative;\n margin: 0;\n \n padding: 3px 0 7px 21px;\n \n border-left: 2px solid rgba(0,0,0,6%);\n }\n\n & > div:before {\n content: '';\n \n position: absolute;\n margin-top: 16px;\n margin-right: -4px;\n right: 100%;\n text-align: center;\n\n height: 6px;\n width: 6px;\n border-radius: 50%;\n background-color: white;\n border: 2px solid ",";\n }\n\n & > .is-active:before {\n height: 10px;\n width: 10px;\n margin-right: -6px;\n border-color: ",";\n }\n\n & > .is-published:before {\n border-color: ",";\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.colorTextDisabled,o.colorPrimary,o.colorSuccess)}}),{hashPriority:"low"})},71968:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VerticalTimeline:()=>i});var n=r(49244),o=r(81138),i=function(e){var t=e.timeStamps,r=(0,o.useStyle)().styles;return n.createElement("div",{className:r.timeline},t)}},87554:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{workflowCard:(0,e.css)(n||(t=["\n .ant-card-head-title {\n display: flex !important;\n gap: 8px;\n font-size: 12px;\n align-items: center;\n \n p {\n margin: 0;\n }\n\n .ant-tag {\n background: ",";\n border: 1px solid ",";\n cursor: pointer;\n height: 22px;\n display: flex;\n align-items: center;\n gap: 8px;\n \n &.color-inverted {\n border: transparent;\n }\n \n .ant-badge { \n .ant-badge-status-dot {\n width: 6px;\n height: 6px;\n top: unset;\n }\n }\n }\n }\n\n .ant-card-body {\n overflow: auto;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorFillSecondary,o.colorBorder)}}),{hashPriority:"low"})},89172:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowCard:()=>p});var n=r(49244),o=r(72919),i=r(87554),a=r(78291),s=r(10340),l=r(21719),c=r(34604),u=r(52734);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&r.workflowStatus.map((function(e,t){return n.createElement(o.Tag,{className:e.colorInverted?"color-inverted":"",icon:n.createElement(o.Badge,{color:e.color,styles:e.colorInverted?{indicator:{outline:"1px solid ".concat(e.color,"4D")}}:{}}),key:t,style:e.colorInverted?{backgroundColor:"".concat(e.color,"33")}:{},title:e.title},e.label)})))},void 0!==r.graph&&n.createElement("img",{alt:"workflow",src:"data:image/svg+xml;utf8,".concat(encodeURIComponent(r.graph))}))}},93102:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createDiInstance:()=>i});var n=r(49244),o=r(71618);function i(){var e=new o.Container,t=(0,n.createContext)(e);return{container:e,ContainerContext:t,ContainerProvider:function(r){var o=r.children;return n.createElement(t.Provider,{value:e},o)},useInjection:function(e){return window.Pimcore.container.get(e)},useOptionalInjection:function(e){var t=window.Pimcore.container;return t.isBound(e)?t.get(e):null},useMultiInjection:function(e){return window.Pimcore.container.getAll(e)}}}},39338:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ra});var a=new(function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=[],(r=i(r="subscribers"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"subscribe",value:function(e,t){var r={identifier:e,callback:t};return this.subscribers.push(r),r}},{key:"unsubscribe",value:function(e){this.subscribers=this.subscribers.filter((function(t){return t!==e}))}},{key:"publish",value:function(e){this.subscribers.forEach((function(t){t.identifier.type===e.identifier.type&&t.identifier.id===e.identifier.id&&t.callback(e)}))}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}())},82173:(e,t,r)=>{"use strict";r.a(e,(async(n,o)=>{try{r.r(t);r(88540);var i=r(50252),a=r(76649),s=r(97137);void 0!==(e=r.hmd(e)).hot&&e.hot.accept(),window.Pimcore=(await r.e(947).then(r.bind(r,90947))).Pimcore,await a.pluginSystem.loadPlugins(),a.pluginSystem.initPlugins(),a.pluginSystem.startupPlugins(),s.moduleSystem.initModules(),(0,i.runApp)(),o()}catch(e){o(e)}}),1)},32556:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCssComponentHash:()=>s});var n=r(89622),o=r(78187),i=r(81225),a=r(49244),s=function(e){var t,r=(0,a.useContext)(i.ConfigContext).getPrefixCls(e,"");switch(e){case"table":t=(0,n.default)(r)[1];break;case"pagination":t=(0,o.default)(r)[1]}return t}},8445:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AppLoader:()=>O});var n=r(49244),o=r(94398),i=r(42032),a=r(89184),s=r(37947),l=r(78291),c=r(81723),u=r(29492),f=r(77211),d=r(23676),p=r(82584);function h(e){return h="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},h(e)}function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,s,"next",e)}function s(e){g(i,n,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(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 b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{AppView:()=>u});var n=r(49244),o=r(24013),i=r(72919),a=r(84976),s=r(52619),l=r(8445),c=r(81841),u=function(){return n.createElement(n.Fragment,null,n.createElement(n.StrictMode,null,n.createElement(o.GlobalProvider,null,n.createElement(i.App,null,n.createElement(c.DateTimeConfig,null,n.createElement(l.AppLoader,null,n.createElement(a.RouterProvider,{router:s.router})))))))}},43005:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{baseLayout:(0,e.css)(n||(t=["\n position: absolute;\n overflow: hidden;\n inset: 0;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},42387:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseLayoutView:()=>c});var n=r(49244),o=r(8549),i=r(93665),a=r(9494),s=r(43005),l=r(27495),c=function(){var e=(0,s.useStlyes)().styles;return n.createElement("div",{className:["base-layout",e.baseLayout].join(" ")},n.createElement(o.LeftSidebarView,null),n.createElement(i.WidgetManagerContainer,null),n.createElement(l.Notification,null),n.createElement(a.RightSidebarView,null))}},40627:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{leftSidebar:(0,e.css)(n||(t=["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .left-sidebar__avatar {\n margin: 8px 15px 0 15px;\n pointer-events: all;\n }\n\n .ant-avatar {\n background-color: rgba(114, 46, 209, 0.66);\n\n .anticon {\n vertical-align: 0;\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},8549:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LeftSidebarView:()=>s});var n=r(72919),o=r(49244),i=r(40627),a=r(54212),s=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.leftSidebar},o.createElement(n.Avatar,{className:"left-sidebar__avatar",icon:o.createElement(a.Icon,{value:"user-01"}),size:26}))}},48600:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStlyes:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{rightSidebar:(0,e.css)(n||(t=["\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n z-index: 2;\n pointer-events: none;\n\n .logo \n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},9494:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RightSidebarView:()=>a});var n=r(44276),o=r(49244),i=r(48600),a=function(){var e=(0,i.useStlyes)().styles;return o.createElement("div",{className:e.rightSidebar},o.createElement(n.Logo,null))}},81815:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComponentRegistry:()=>l});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Component with the name "'.concat(e.name,'" already exists. Use the override method to override it'));this.registry[e.name]=e}},{key:"getAll",value:function(){return this.registry}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No component with the name "'.concat(e,'" found'));return this.registry[e].component}},{key:"has",value:function(e){return e in this.registry}},{key:"override",value:function(e,t){if(!this.has(e))throw new Error('No component named "'.concat(e,'" found to override'));this.registry[e]=t}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},82507:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultPage:()=>s});var n=r(49244),o=r(26466),i=r(42387),a=r(83668),s=function(){(0,a.useMiddleware)();var e=function(e){e.preventDefault()};return n.createElement("div",{onDragOver:e,onDrop:e},n.createElement(o.Background,null),n.createElement(i.BaseLayoutView,null))}},43188:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addGlobalContext:()=>a,removeGlobalContext:()=>s,selectContextByType:()=>l});var n=r(89184),o=(0,r(20038).createSlice)({name:"global-context",initialState:[],reducers:{addGlobalContext:function(e,t){e.push(t.payload)},removeGlobalContext:function(e,t){return e.filter((function(e){return e.type!==t.payload}))}},selectors:{selectContextByType:function(e,t){return e.find((function(e){return e.type===t}))}}});(0,n.injectSliceWithState)(o);var i=o.actions,a=i.addGlobalContext,s=i.removeGlobalContext,l=o.getSelectors((function(e){return e["global-context"]})).selectContextByType},24013:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalProvider:()=>c});var n=r(47587),o=r(89184),i=r(5415),a=r(71739),s=r(49244),l=r(71468),c=function(e){var t=e.children;return s.createElement(n.ContainerProvider,null,s.createElement(a.ThemeProvider,null,s.createElement(l.Provider,{store:o.store},s.createElement(i.DragAndDropContextProvider,null,t))))}},36608:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSettings:()=>a});var n=r(71468),o=r(29492),i=r(49244),a=function(){var e=(0,n.useSelector)(o.getSettings);return(0,i.useMemo)((function(){return e}),[e])}},42032:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useAssetCustomSettingsGetByIdQuery:()=>a,useSystemSettingsGetQuery:()=>s});var n=r(62115),o=["Assets","Settings"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),systemSettingsGet:e.query({query:function(){return{url:"/pimcore-studio/api/settings"}},providesTags:["Settings"]})}},overrideExisting:!1}),a=i.useAssetCustomSettingsGetByIdQuery,s=i.useSystemSettingsGetQuery},29492:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getSettings:()=>l,setSettings:()=>s});var n=r(20038),o=r(89184);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{ThemeProvider:()=>a});var n=r(91539),o=r(49244),i=r(67678),a=function(e){var t=e.children;return o.createElement(n.ThemeProvider,{theme:i.PimcoreDefaultTheme},t)}},67678:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;tl});var s={Form:{itemMarginBottom:12,verticalLabelPadding:4}},l={token:i(i({},{fontFamily:"Lato, sans-serif"}),{},{colorLink:"#722ed1",colorLinkActive:"#531dab",colorLinkHover:"#9254de",controlOutline:"rgba(114, 46, 209, 0.1)",controlItemBgActive:"#f8eeff",itemSelectedColor:"rgba(0, 0, 0, 0.88)",boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02)",colorTextTertiary:"rgba(0, 0, 0, 0.6)",colorFill:"rgba(215, 199, 236, 0.6)",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorBgLayout:"#fcfcfc",colorPrimary:"#722ed1",fontSize:12,fontSizeHeading1:35,colorIconSecondary:"#4d4169",colorFillNav:"rgba(77, 65, 105, 0.08)",colorIconSidebar:"#22075e",colorBorderActive:"#00bab3",colorLogo:"#5520a6",colorBorderTertiary:"#eae8ed",colorTextTreeElement:"#404655",colorIconTree:"#404655",colorIconTreeUnpublished:"rgba(64, 70, 85, 0.4)",paddingTabs:8,colorTextSidebarTitle:"#531dab",colorBgToolbar:"#f5f3fa",colorFillActive:"#d7c7ec",colorFillAdditional:"#f5f3fa",colorBgSidebarOptions:"#f5f3fa",colorBgSelectedTab:"#ffffff",cardGutter:2,cardHeight:40,horizontalItemGutter:32,itemActiveColor:"#531dab",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderContainer:"#eae8ed",colorBorderActiveTab:"#00bab3",colorFillAlter:"rgba(215, 199, 236, 0.4)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorAccentSecondary:"#08979c"}),components:i(i({},s),{},{Pagination:{colorPrimary:"#531dab"},Tree:{colorBorderTree:"#eae8ed",colorTextTree:"#404655",colorPrimaryHeading:"#531dab",colorTextTreeUnpublished:"rgba(0, 0, 0, 0.25)"},Progress:{colorText:"rgba(0, 0, 0, 0.65)",circleTextColor:"rgba(0, 0, 0, 0.25)"},Divider:{colorSplit:"#d3adf7"},IconButton:{colorBgContainer:"#ffffff",borderRadiusSM:"4px"},Button:{defaultBorderColor:"#d3adf7",defaultColor:"#722ed1",defaultGhostBorderColor:"#d9d9d9",defaultGhostColor:"#722ed1",textGhostColor:"rgba(0, 0, 0, 0.88)",controlHeightSM:24},Breadcrumb:{lastItemColor:"#531dab"},Menu:{darkItemColor:"rgba(255, 255, 255, 0.65)",darkItemDisabledColor:"rgba(255, 255, 255, 0.25)",darkGroupTitleColor:"rgba(255, 255, 255, 0.65)"},Collapse:{headerBg:"rgba(0, 0, 0, 0.04)"},Image:{previewOperationColor:"rgba(255, 255, 255, 0.65)",previewOperationColorDisabled:"rgba(255, 255, 255, 0.25)",previewOperationHoverColor:"rgba(255, 255, 255, 0.85)"},Table:{cellPaddingBlockSM:4,cellPaddingInlineSM:4,colorBorderSecondary:"#D9D9D9AA",controlItemBgActive:"#f8eeff",footerBg:"#fafafa",headerBg:"#fafafa"},Tabs:{colorBgSelectedTab:"#ffffff",itemColor:"rgba(0, 0, 0, 0.65)",itemHoverColor:"rgba(215, 199, 236, 0.6)",itemUnselectedIconColor:"#4d4169",colorBorderActiveTab:"#00bab3",colorBgUnselectedTab:"rgba(215, 199, 236, 0.4)",colorBgHoverUnselectedTab:"rgba(215, 199, 236, 0.6)",colorBorderContainer:"#eae8ed"},Avatar:{colorUserIndicator:"#722ed1"},Modal:{colorTextSecondary:"rgba(0, 0, 0, 0.6)"},Alert:{colorInfo:"#722ed1",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7"},Empty:{colorTextDisabled:"rgba(0, 0, 0, 0.25)"},Colors:{Neutral:{Fill:{colorFill:"rgba(215, 199, 236, 0.60)"}}},Tag:{colorBorder:"#d9d9d9",colorErrorBg:"#fff2f0",colorErrorBorder:"#ffccc7",colorFillQuaternary:"rgba(215, 199, 236, 0.4)",colorFillSecondary:"rgba(0, 0, 0, 0.06)",colorFillTertiary:"rgba(0, 0, 0, 0.04)",colorInfoBg:"#f9f0ff",colorInfoBorder:"#d3adf7",colorPrimary:"#722ed1",colorPrimaryActive:"#531dab",colorPrimaryHover:"#9254de",colorSuccessBg:"#f6ffed",colorSuccessBorder:"#b7eb8f",colorText:"rgba(0, 0, 0, 0.88)",colorTextDescription:"rgba(0, 0, 0, 0.6)",colorTextHeading:"rgba(0, 0, 0, 0.88)",colorTextLightSolid:"#ffffff",colorWarningBg:"#fffbe6",colorWarningBorder:"#ffe58f",borderRadiusSM:4,lineWidth:1,marginXS:8,paddingXXS:4,fontSize:12,fontSizeIcon:12,fontSizeSM:12,defaultBg:"#fafafa",defaultColor:"rgba(0, 0, 0, 0.88)"}})}},37947:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useTranslationGetCollectionMutation:()=>a});var n=r(62115),o=["Translation"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{translationGetCollection:e.mutation({query:function(e){return{url:"/pimcore-studio/api/translations",method:"POST",body:e.translation}},invalidatesTags:["Translation"]})}},overrideExisting:!1}),a=i.useTranslationGetCollectionMutation},50252:(e,t,r)=>{"use strict";r.r(t),r.d(t,{runApp:()=>a});var n=r(49244),o=r(5338),i=r(90239);function a(){var e=document.getElementById("app");if(null===e)throw new Error("Root element not found");(0,o.createRoot)(e).render(n.createElement(i.AppView,null))}},51e3:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useZipDownload:()=>v});var n=r(64414),o=r(72272),i=r(1078),a=r(78291),s=r(78060),l=r(54212),c=r(49244),u=r(3638);function f(e){return f="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},f(e)}function d(){d=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==f(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function p(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function h(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(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 m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||g(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 g(e,t){if(e){if("string"==typeof e)return y(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{api:()=>o,useAssetCloneMutation:()=>l,useAssetCustomMetadataGetByIdQuery:()=>u,useAssetCustomSettingsGetByIdQuery:()=>f,useAssetExportCsvAssetMutation:()=>y,useAssetExportCsvFolderMutation:()=>v,useAssetExportZipAssetMutation:()=>m,useAssetExportZipFolderMutation:()=>g,useAssetGetByIdQuery:()=>i,useAssetGetGridMutation:()=>p,useAssetGetSavedGridConfigurationsQuery:()=>b,useAssetGetTextDataByIdQuery:()=>d,useAssetGetTreeQuery:()=>a,useAssetPatchByIdMutation:()=>h,useAssetReplaceMutation:()=>c,useAssetSaveGridConfigurationMutation:()=>O,useAssetUpdateByIdMutation:()=>s});var n=r(51430),o=r(73309).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET,n.tagNames.ASSET_TREE,n.tagNames.ASSET_DETAIL],endpoints:{assetClone:{invalidatesTags:function(e,t,r){return n.invalidatingTags.ASSET_TREE_ID(r.parentId)}},assetCustomMetadataGetById:{providesTags:function(e,t,r){return n.providingTags.ASSET_DETAIL_ID(r.id)}},assetCustomSettingsGetById:{providesTags:function(e,t,r){return n.providingTags.ASSET_DETAIL_ID(r.id)}},assetGetTextDataById:{providesTags:function(e,t,r){return n.providingTags.ASSET_DETAIL_ID(r.id)}},assetGetById:{providesTags:function(e,t,r){return n.providingTags.ASSET_DETAIL_ID(r.id)}},assetGetTree:{providesTags:function(e,t,r){return void 0!==r.parentId?n.providingTags.ASSET_TREE_ID(r.parentId):n.providingTags.ASSET_TREE()}},assetUpdateById:{invalidatesTags:function(e,t,r){return n.invalidatingTags.ASSET_DETAIL_ID(r.id)}},assetAdd:{invalidatesTags:function(e,t,r){return n.invalidatingTags.ASSET_TREE_ID(r.parentId)}}}}),i=o.useAssetGetByIdQuery,a=o.useAssetGetTreeQuery,s=o.useAssetUpdateByIdMutation,l=o.useAssetCloneMutation,c=o.useAssetReplaceMutation,u=o.useAssetCustomMetadataGetByIdQuery,f=o.useAssetCustomSettingsGetByIdQuery,d=o.useAssetGetTextDataByIdQuery,p=o.useAssetGetGridMutation,h=o.useAssetPatchByIdMutation,m=o.useAssetExportZipAssetMutation,g=o.useAssetExportZipFolderMutation,y=o.useAssetExportCsvAssetMutation,v=o.useAssetExportCsvFolderMutation,b=o.useAssetGetSavedGridConfigurationsQuery,O=o.useAssetSaveGridConfigurationMutation},73309:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useAssetAddMutation:()=>N,useAssetCloneMutation:()=>a,useAssetCustomMetadataGetByIdQuery:()=>s,useAssetCustomSettingsGetByIdQuery:()=>l,useAssetDeleteCsvMutation:()=>d,useAssetDeleteGridConfigurationByConfigurationIdMutation:()=>S,useAssetDeleteZipMutation:()=>h,useAssetDocumentStreamPreviewQuery:()=>u,useAssetDownloadByIdQuery:()=>m,useAssetDownloadCsvQuery:()=>f,useAssetDownloadZipQuery:()=>p,useAssetExportCsvAssetMutation:()=>g,useAssetExportCsvFolderMutation:()=>y,useAssetExportZipAssetMutation:()=>v,useAssetExportZipFolderMutation:()=>b,useAssetGetAvailableGridColumnsQuery:()=>E,useAssetGetByIdQuery:()=>O,useAssetGetGridConfigurationByFolderIdQuery:()=>x,useAssetGetGridMutation:()=>k,useAssetGetSavedGridConfigurationsQuery:()=>P,useAssetGetTextDataByIdQuery:()=>c,useAssetGetTreeQuery:()=>I,useAssetImageDownloadByFormatQuery:()=>A,useAssetImageDownloadByThumbnailQuery:()=>R,useAssetImageDownloadCustomQuery:()=>_,useAssetImageStreamPreviewQuery:()=>D,useAssetPatchByIdMutation:()=>L,useAssetPatchFolderByIdMutation:()=>M,useAssetReplaceMutation:()=>B,useAssetSaveGridConfigurationMutation:()=>T,useAssetSetGridConfigurationAsFavoriteMutation:()=>j,useAssetUpdateByIdMutation:()=>w,useAssetUpdateGridConfigurationMutation:()=>C,useAssetUploadInfoQuery:()=>$,useAssetUploadZipMutation:()=>F,useAssetVideoDownloadByThumbnailQuery:()=>V,useAssetVideoImageThumbnailStreamQuery:()=>Q,useAssetVideoStreamByThumbnailQuery:()=>z,useVersionAssetDownloadByIdQuery:()=>U});var n=r(62115),o=["Assets","Asset Grid","Versions"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{assetClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/clone/").concat(e.parentId),method:"POST"}},invalidatesTags:["Assets"]}),assetCustomMetadataGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-metadata")}},providesTags:["Assets"]}),assetCustomSettingsGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/custom-settings")}},providesTags:["Assets"]}),assetGetTextDataById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/text")}},providesTags:["Assets"]}),assetDocumentStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/document/stream/pdf-preview")}},providesTags:["Assets"]}),assetDownloadCsv:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteCsv:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/csv/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadZip:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId)}},providesTags:["Assets"]}),assetDeleteZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/download/zip/".concat(e.jobRunId),method:"DELETE"}},invalidatesTags:["Assets"]}),assetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/download")}},providesTags:["Assets"]}),assetExportCsvAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportCsvFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/csv/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipAsset:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/asset",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetExportZipFolder:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/export/zip/folder",method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id)}},providesTags:["Assets"]}),assetUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Assets"]}),assetDeleteGridConfigurationByConfigurationId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId,"/").concat(e.configurationId),method:"DELETE"}},invalidatesTags:["Asset Grid"]}),assetGetAvailableGridColumns:e.query({query:function(){return{url:"/pimcore-studio/api/assets/grid/available-columns"}},providesTags:["Asset Grid"]}),assetGetGridConfigurationByFolderId:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/".concat(e.folderId),params:{configurationId:e.configurationId}}},providesTags:["Asset Grid"]}),assetGetSavedGridConfigurations:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configurations/".concat(e.folderId)}},providesTags:["Asset Grid"]}),assetSaveGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/save",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetSetGridConfigurationAsFavorite:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/set-as-favorite/".concat(e.configurationId,"/").concat(e.folderId),method:"POST"}},invalidatesTags:["Asset Grid"]}),assetUpdateGridConfiguration:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid/configuration/update/".concat(e.configurationId),method:"PUT",body:e.body}},invalidatesTags:["Asset Grid"]}),assetGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/grid",method:"POST",body:e.body}},invalidatesTags:["Asset Grid"]}),assetImageDownloadCustom:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/custom"),params:{mimeType:e.mimeType,resizeMode:e.resizeMode,width:e.width,height:e.height,quality:e.quality,dpi:e.dpi}}},providesTags:["Assets"]}),assetImageDownloadByFormat:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/format/").concat(e.format)}},providesTags:["Assets"]}),assetImageStreamPreview:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/stream/preview")}},providesTags:["Assets"]}),assetImageDownloadByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/image/download/thumbnail/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetPatchFolderById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/folder",method:"PATCH",body:e.body}},invalidatesTags:["Assets"]}),assetGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants}}},providesTags:["Assets"]}),assetAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/exists/".concat(e.parentId),params:{fileName:e.fileName}}},providesTags:["Assets"]}),assetReplace:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/replace"),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetUploadZip:e.mutation({query:function(e){return{url:"/pimcore-studio/api/assets/add-zip/".concat(e.parentId),method:"POST",body:e.body}},invalidatesTags:["Assets"]}),assetVideoImageThumbnailStream:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/stream/image-thumbnail"),params:{width:e.width,height:e.height,aspectRatio:e.aspectRatio,frame:e.frame,async:e.async}}},providesTags:["Assets"]}),assetVideoDownloadByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/download/").concat(e.thumbnailName)}},providesTags:["Assets"]}),assetVideoStreamByThumbnail:e.query({query:function(e){return{url:"/pimcore-studio/api/assets/".concat(e.id,"/video/stream/").concat(e.thumbnailName)}},providesTags:["Assets"]}),versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]})}},overrideExisting:!1}),a=i.useAssetCloneMutation,s=i.useAssetCustomMetadataGetByIdQuery,l=i.useAssetCustomSettingsGetByIdQuery,c=i.useAssetGetTextDataByIdQuery,u=i.useAssetDocumentStreamPreviewQuery,f=i.useAssetDownloadCsvQuery,d=i.useAssetDeleteCsvMutation,p=i.useAssetDownloadZipQuery,h=i.useAssetDeleteZipMutation,m=i.useAssetDownloadByIdQuery,g=i.useAssetExportCsvAssetMutation,y=i.useAssetExportCsvFolderMutation,v=i.useAssetExportZipAssetMutation,b=i.useAssetExportZipFolderMutation,O=i.useAssetGetByIdQuery,w=i.useAssetUpdateByIdMutation,S=i.useAssetDeleteGridConfigurationByConfigurationIdMutation,E=i.useAssetGetAvailableGridColumnsQuery,x=i.useAssetGetGridConfigurationByFolderIdQuery,P=i.useAssetGetSavedGridConfigurationsQuery,T=i.useAssetSaveGridConfigurationMutation,j=i.useAssetSetGridConfigurationAsFavoriteMutation,C=i.useAssetUpdateGridConfigurationMutation,k=i.useAssetGetGridMutation,_=i.useAssetImageDownloadCustomQuery,A=i.useAssetImageDownloadByFormatQuery,D=i.useAssetImageStreamPreviewQuery,R=i.useAssetImageDownloadByThumbnailQuery,L=i.useAssetPatchByIdMutation,M=i.useAssetPatchFolderByIdMutation,I=i.useAssetGetTreeQuery,N=i.useAssetAddMutation,$=i.useAssetUploadInfoQuery,B=i.useAssetReplaceMutation,F=i.useAssetUploadZipMutation,Q=i.useAssetVideoImageThumbnailStreamQuery,V=i.useAssetVideoDownloadByThumbnailQuery,z=i.useAssetVideoStreamByThumbnailQuery,U=i.useVersionAssetDownloadByIdQuery},71798:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addCustomMetadataToAsset:()=>I,addImageSettingsToAsset:()=>E,addPropertyToAsset:()=>T,addScheduleToAsset:()=>_,assetReceived:()=>v,assetsAdapter:()=>m,removeAsset:()=>b,removeCustomMetadataFromAsset:()=>N,removeImageSettingFromAsset:()=>x,removePropertyFromAsset:()=>j,removeScheduleFromAsset:()=>A,resetAsset:()=>O,resetChanges:()=>w,resetSchedulesChangesForAsset:()=>L,selectAssetById:()=>Q,setActiveTabForAsset:()=>F,setCustomMetadataForAsset:()=>B,setModifiedCells:()=>S,setPropertiesForAsset:()=>C,setSchedulesForAsset:()=>D,slice:()=>g,updateAllCustomMetadataForAsset:()=>M,updateCustomMetadataForAsset:()=>$,updateImageSettingForAsset:()=>P,updatePropertyForAsset:()=>k,updateScheduleForAsset:()=>R});var n=r(20038),o=r(89184),i=r(50469),a=r(46309),s=r(58765),l=r(4321),c=r(42332),u=r(83500);function f(e){return f="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},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{AssetContext:()=>o,AssetProvider:()=>i});var n=r(49244),o=(0,n.createContext)({id:0}),i=function(e){var t=e.id,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{id:t}},r)}),[t])}},46309:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCustomMetadataDraft:()=>f,useCustomMetadataReducers:()=>u});var n=r(89184);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useImageSettingsDraft:()=>c,useImageSettingsReducers:()=>l});var n=r(89184);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditorContainer:()=>d});var n=r(49244),o=r(15208),i=r(39554),a=r(37888),s=r(7559),l=r(23676),c=r(29227),u=r(63586),f=r(99691),d=function(e){var t=e.id,r=(0,o.useAssetDraft)(t),d=r.isLoading,p=r.isError,h=r.asset,m=r.removeAssetFromState,g=r.editorType,y=(0,i.useIsAcitveMainWidget)(),v=(0,a.useGlobalAssetContext)(),b=v.setContext,O=v.removeContext;return(0,n.useEffect)((function(){return function(){O(),m()}}),[]),(0,n.useEffect)((function(){return y&&b({id:t}),function(){y||O()}}),[y]),p?n.createElement("div",null,"Error"):d?n.createElement(l.Content,{loading:!0}):void 0===h||void 0===g?n.createElement(n.Fragment,null):n.createElement(s.AssetProvider,{id:t},n.createElement(f.TabsToolbarView,{renderTabbar:n.createElement(c.TabsContainer,{elementEditorType:g}),renderToolbar:n.createElement(u.Toolbar,null)}))}},68741:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=(r(45919),r(91292),r(20215),r(73685),r(55157),r(522),r(20222),r(51574),r(7478)),i=r(97137),a=r(25418),s=r(88247);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/TypeRegistry"]);e.register({name:"image",tabManagerServiceId:"Asset/Editor/ImageTabManager"}),e.register({name:"video",tabManagerServiceId:"Asset/Editor/VideoTabManager"}),e.register({name:"audio",tabManagerServiceId:"Asset/Editor/AudioTabManager"}),e.register({name:"document",tabManagerServiceId:"Asset/Editor/DocumentTabManager"}),e.register({name:"text",tabManagerServiceId:"Asset/Editor/TextTabManager"}),e.register({name:"folder",tabManagerServiceId:"Asset/Editor/FolderTabManager"}),e.register({name:"archive",tabManagerServiceId:"Asset/Editor/ArchiveTabManager"}),e.register({name:"unknown",tabManagerServiceId:"Asset/Editor/UnknownTabManager"}),n.container.get(o.serviceIds.widgetManager).registerWidget(s.AssetEditorWidget),n.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuAsset",component:a.EditorToolbarContextMenu})}})},6221:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_CUSTOM_METADATA:()=>f,TAB_EMBEDDED_METADATA:()=>u,TAB_VERSIONS:()=>d});var n=r(54212),o=r(49244),i=r(83535),a=r(45467),s=r(40243),l=r(90357),c=r(97153),u={key:"embedded-metadata",label:"asset.asset-editor-tabs.embedded-metadata",children:o.createElement(i.EmbeddedMetadataTabContainer,null),icon:o.createElement(n.Icon,{value:"data-sheet"}),isDetachable:!0},f={key:"custom-metadata",label:"asset.asset-editor-tabs.custom-metadata",children:o.createElement(a.CustomMetadataTabContainer,null),icon:o.createElement(n.Icon,{value:"data-management-2"}),isDetachable:!0},d={key:"versions",label:"version.label",workspacePermission:"versions",children:o.createElement(s.VersionsTabContainer,{ComparisonViewComponent:l.ComparisonView,SingleViewComponent:c.SingleView}),icon:o.createElement(n.Icon,{value:"history-outlined"}),isDetachable:!0}},54542:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CustomMetadataTable:()=>O});var n=r(49244),o=r(78291),i=r(1530),a=r(72272),s=r(48442),l=r(7559),c=r(15208),u=r(98308),f=r(45176),d=r(80188),p=r(860);function h(e){return h="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},h(e)}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0===(null==w?void 0:w.changes.customMetadata)&&T(_,[])}),[w]);var R=(0,i.createColumnHelper)(),L=[R.accessor("type",{header:g("asset.asset-editor-tabs.custom-metadata.columns.type"),meta:{type:"asset-custom-metadata-icon"},size:40}),R.accessor("name",{header:g("asset.asset-editor-tabs.custom-metadata.columns.name"),meta:{editable:!0},size:200}),R.accessor("language",{header:g("asset.asset-editor-tabs.custom-metadata.columns.language"),meta:{type:"language-select",editable:!0},size:100}),R.accessor("data",{header:g("asset.asset-editor-tabs.custom-metadata.columns.value"),meta:{type:"asset-custom-metadata-value",editable:!0,autoWidth:!0},size:400}),R.accessor("actions",{header:g("asset.asset-editor-tabs.custom-metadata.columns.actions"),cell:function(e){return n.createElement(d.Box,{padding:"mini"},n.createElement(p.Flex,{align:"center",className:"w-full h-full",justify:"center"},n.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){x(e.row.original)},type:"link"})))},size:60})];return n.createElement(s.Grid,{autoWidth:!0,columns:L,data:null!=D?D:[],isLoading:k,modifiedCells:A,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,n=e.value,o=e.rowData,i=m(null!=S?S:[]),a=i.findIndex((function(e){return e.name===o.name&&e.language===o.language})),s=v(v({},i.at(a)),{},b({},t,n));i[a]=s;var l=i.filter((function(e){return e.name===s.name&&e.language===s.language})).length>1;if((0,f.verifyUpdate)(n,t,"name",l,h,r)){var c=i.map((function(e){var t;return v(v({},e),{},{type:null!==(t=e.type.split(".")[1])&&void 0!==t?t:e.type})}));P(c),T(_,[].concat(m(A),[{rowIndex:o.rowId,columnId:t}]))}},setRowId:function(e){return e.rowId}})}},45467:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CustomMetadataTabContainer:()=>P});var n=r(49244),o=r(78291),i=r(52734),a=r(50992),s=r(54542),l=r(36608),c=r(15208),u=r(7559),f=r(65474),d=r(65854),p=r(47587),h=r(7478),m=r(4802),g=r(554),y=r(5052),v=r(23676),b=r(39756),O=r(32254);function w(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||E(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 S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||E(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 E(e,t){if(e){if("string"==typeof e)return x(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0,t=void 0!==B.current;if(e&&t)if(void 0===(null==C?void 0:C.find((function(e){return e.name===N.current&&e.language===F.current})))){var r={additionalAttributes:[],name:N.current,type:B.current,language:F.current,data:null,rowId:crypto.randomUUID()};j(r)}else _();else L()}()}},e("asset.asset-editor-tabs.custom-metadata.add-custom-metadata.add"))),n.createElement(D,{footer:n.createElement(d.ModalFooter,null,n.createElement(i.Button,{onClick:A,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.title")},e("asset.asset-editor-tabs.custom-metadata.custom-metadata-already-exist.error")),n.createElement(I,{footer:n.createElement(d.ModalFooter,null,n.createElement(i.Button,{onClick:M,type:"primary"},e("button.ok"))),title:e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.title")},e("asset.asset-editor-tabs.custom-metadata.add-entry-mandatory-fields-missing.error"))),!r&&n.createElement(g.ButtonGroup,{items:[n.createElement(i.Button,{key:e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition"),onClick:function(){console.log("clicked")}},e("asset.asset-editor-tabs.custom-metadata.add-predefined-definition")),n.createElement(m.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"),onClick:function(){E(!0)}},e("asset.asset-editor-tabs.custom-metadata.add-custom-definition.add"))]})))),n.createElement(s.CustomMetadataTable,{showDuplicateEntryModal:_,showMandatoryModal:L}))}},83535:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EmbeddedMetadataTabContainer:()=>p});var n=r(49244),o=r(72272),i=r(1530),a=r(48442),s=r(78291),l=r(23676),c=r(5052),u=r(30450);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>s});var s=(0,r(91539).createStyles)((function(e){var t,r,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{ComparisonViewUi:()=>m});var n=r(49244),o=r(46919),i=r(1303),a=r(48442),s=r(1530),l=r(64618),c=r(8084),u=r(72919);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t1?1200:600}},n.createElement(u.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},t.map((function(e,t){return n.createElement("div",{key:t},null!==e.previewImageUrl?n.createElement(c.PimcoreImage,{src:e.previewImageUrl,style:{maxHeight:500,maxWidth:500}}):"No preview available")}))),n.createElement(u.Flex,{align:"center",className:"w-full"},n.createElement(a.Grid,{autoWidth:!0,columns:g,data:r}))))}},90357:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComparisonView:()=>h});var n=r(49244),o=r(92725),i=r(18010),a=r(84030),s=r(89184),l=r(23676);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{hydrateVersionData:()=>m,loadPreviewImage:()=>v,versionsDataToTableData:()=>b});var n=r(69314),o=r(71377),i=r(47587),a=r(7478),s=r(72635);function l(e){return l="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},l(e)}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,s,"next",e)}function s(e){f(i,n,o,a,s,"throw",e)}a(void 0)}))}}function p(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);ro?1:0})),[].concat(r,n)}},19262:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleViewUi:()=>u});var n=r(49244),o=r(46919),i=r(48442),a=r(1530),s=r(8084),l=r(72919),c=r(98308),u=function(e){var t=e.versionId,r=e.data,u=e.imgSrc,f=e.firstVersion,d=e.lastVersion,p=e.onClickPrevious,h=e.onClickNext,m=(0,a.createColumnHelper)(),g=[m.accessor(o.default.t("field"),{size:162,meta:{type:"asset-version-preview-field-label"}}),m.accessor(o.default.t("version.version")+" "+t.count,{size:180})];return n.createElement(l.Space,{align:"center",direction:"vertical",size:"large",style:{maxWidth:600}},n.createElement(l.Flex,{align:"center",gap:"small",justify:"center",style:{minHeight:100}},n.createElement(c.IconButton,{disabled:f,icon:{value:"left-outlined"},onClick:p,type:"text"}),null!==u?n.createElement(s.PimcoreImage,{className:"image-slider__image",src:u,style:{maxHeight:500,maxWidth:500}}):null,n.createElement(c.IconButton,{disabled:d,icon:{value:"right-outlined"},onClick:h,type:"text"})),n.createElement(l.Flex,{className:"w-full",justify:"center"},n.createElement(i.Grid,{autoWidth:!0,columns:g,data:r})))}},97153:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleView:()=>f});var n=r(49244),o=r(92725),i=r(89184),a=r(84030),s=r(19262),l=r(23676);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0&&r+e{"use strict";r.r(t),r.d(t,{TitleContainer:()=>a});var n=r(49244),o=r(78148),i=r(15208),a=function(e){var t,r=e.node,a=(0,i.useAssetDraft)(r.getConfig().id).asset;return n.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:r})}},25418:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorToolbarContextMenu:()=>m});var n=r(72919),o=r(98308),i=r(26476),a=r(49244),s=r(72272),l=r(51430),c=r(89184),u=r(78291),f=r(7559),d=r(15208);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){g(),t(s.api.util.invalidateTags(l.invalidatingTags.ASSET_DETAIL_ID(r)))}}},63586:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Toolbar:()=>j});var n=r(49244),o=r(57468),i=r(78291),a=r(52734),s=r(15208),l=r(72272),c=r(79118),u=r(98447),f=r(7478),d=r(47587),p=r(88992),h=r(85750),m=r(860),g=r(73003),y=r(47536),v=["rowId"],b=["rowId"];function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useSubmitWorkflow:()=>d});var n=r(1899),o=r(79118),i=r(72635),a=r(2543),s=r.n(a),l=r(34604),c=r(30450);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useWorkflow:()=>l});var n=r(49244),o=r(73003),i=r(1899),a=r(88992),s=r(15208),l=function(){var e,t=(0,n.useContext)(o.WorkflowContext),r=t.openModal,l=t.closeModal,c=t.isModalOpen,u=t.contextWorkflowDetails,f=t.setContextWorkflowDetails,d=(0,a.useElementContext)(),p=d.id,h=d.elementType,m=(0,s.useAssetDraft)(p).asset,g=null!==(e=null==m?void 0:m.hasWorkflowAvailable)&&void 0!==e&&e,y=(0,i.useWorkflowGetDetailsQuery)({elementType:h,elementId:p},{skip:!g});return{openModal:r,closeModal:l,isModalOpen:c,contextWorkflowDetails:u,setContextWorkflowDetails:f,workflowDetailsData:y.data,isFetchingWorkflowDetails:y.isFetching}}},47536:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowLogModal:()=>g});var n=r(49244),o=r(65854),i=r(52734),a=r(24280),s=r(860),l=r(46946),c=r(34604),u=r(88738),f=r(72919),d=r(72635),p=r(21719);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{WorkFlowProvider:()=>s,WorkflowContext:()=>a});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{EditorToolbarWorkflowMenu:()=>m});var n=r(49244),o=r(19916),i=r(1836),a=r(10340),s=r(78291),l=r(22192),c=r(860),u=r(54212),f=r(54016),d=r(34604);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0){var t=g.items.flatMap((function(t){var r,o,i=[];return i.push({key:((null!==(r=null==g||null===(o=g.items)||void 0===o?void 0:o.length)&&void 0!==r?r:0)+1).toString(),type:"custom",component:n.createElement(l.WorkflowTransitionGroup,{workflow:t})}),{key:e("".concat(t.workflowName)),type:"group",label:e("".concat(t.workflowName)).toUpperCase(),children:i}}));h(t)}}),[g]);return n.createElement(c.Flex,{align:"center",justify:"flex-end"},n.createElement(o.TagList,{itemGap:"extra-small",list:void 0!==(null==g?void 0:g.items)&&g.items.length>0?[g.items.reduce((function(t,r){return r.workflowStatus.forEach((function(r){if(void 0!==r.visibleInDetail&&r.visibleInDetail){var o=r.colorInverted?{backgroundColor:"".concat(r.color,"33")}:{},a={children:e("".concat(r.label)),icon:n.createElement(i.Badge,{color:r.color}),style:o};t.push(a)}})),t}),[])]:[[]],wrap:!1}),n.createElement(a.Dropdown,{disabled:y,menu:{items:r}},n.createElement(f.DropdownButton,null,n.createElement(u.Icon,{options:{height:16,width:16},value:"workflow"}))))}},12510:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyles:()=>a});var a=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{button:r(n||(n=i(["\n min-width: 100%;\n justify-items: flex-start;\n "]))),"not-first":r(o||(o=i(["\n margin-top: ","px;\n "])),t.marginXXS)}}),{hashPriority:"low"})},22192:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowTransitionGroup:()=>c});var n=r(49244),o=r(78291),i=r(34604),a=r(52734),s=r(21719),l=r(12510),c=(r(46942),function(e){var t,r,c=e.workflow,u=(0,i.useWorkflow)().openModal,f=(0,s.useSubmitWorkflow)(c.workflowName),d=f.submitWorkflowAction,p=f.submissionLoading,h=(0,l.useStyles)().styles,m=(0,o.useTranslation)().t,g=function(e,t){return n.createElement(a.Button,{className:"".concat(h.button),onClick:function(){!function(e,t,r){"global"===t?u({action:e,transition:t,workflowName:r}):"transition"===t&&d(e,t,r,{})}(e,t,c.workflowName)},type:"text"},m("".concat(e)))};return p?n.createElement(a.Button,{loading:p,type:"link"}):n.createElement("div",null,null===(t=c.allowedTransitions)||void 0===t?void 0:t.map((function(e){return g(e.label,"transition")})),null===(r=c.globalActions)||void 0===r?void 0:r.map((function(e){return g(e.label,"global")})))})},20222:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(7478),i=r(97137),a=r(6221),s=r(37213);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/ArchiveTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},21574:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="archive",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(41358).TabManager)},40967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useThumbnailImageGetCollectionQuery:()=>a,useThumbnailVideoGetCollectionQuery:()=>s});var n=r(62115),o=["Asset Thumbnails"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{thumbnailImageGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/image"}},providesTags:["Asset Thumbnails"]}),thumbnailVideoGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/thumbnails/video"}},providesTags:["Asset Thumbnails"]})}},overrideExisting:!1}),a=i.useThumbnailImageGetCollectionQuery,s=i.useThumbnailVideoGetCollectionQuery},522:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(75780),i=r(47587),a=r(7478),s=r(97137),l=r(6221),c=r(37213),u=r(54212);s.moduleSystem.registerModule({onInit:function(){var e=i.container.get(a.serviceIds["Asset/Editor/AudioTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(o.PreviewContainer,null),icon:n.createElement(u.Icon,{value:"image-05"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(c.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(c.TAB_SCHEDULE),e.register(c.TAB_DEPENDENCIES),e.register(c.TAB_NOTES_AND_EVENTS),e.register(c.TAB_TAGS),e.register(c.TAB_WORKFLOW)}})},76414:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="audio",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(41358).TabManager)},75780:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>l});var n=r(49244),o=r(90730),i=r(72272),a=r(7559),s=r(95916),l=function(){var e=(0,n.useContext)(a.AssetContext),t=(0,i.useAssetGetByIdQuery)({id:e.id}).data;return n.createElement(s.ContentToolbarSidebarLayout,null,n.createElement(o.PreviewView,{src:t.fullPath}))}},63292:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},90730:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(49244),o=r(63292),i=r(50376),a=function(e){var t=(0,o.useStyle)().styles,r=e.src;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreAudio,{sources:[{src:r}]}))}},45919:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(54212),i=r(21407),a=r(47587),s=r(7478),l=r(97137),c=r(6221),u=r(37213);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/DocumentTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(i.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},97626:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DocumentTabManager:()=>h});var n=r(41358),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="document",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},21407:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>p});var n=r(49244),o=r(22631),i=r(95916),a=r(23676),s=r(30450),l=r(15208),c=r(35238),u=r(18796);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},22631:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(49244),o=r(96241),i=r(2896),a=function(e){var t=(0,o.useStyle)().styles,r=e.src;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreDocument,{src:r}))}},91292:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(54212),i=r(72740),a=r(42222),s=r(47587),l=r(7478),c=r(97137),u=r(37213);c.moduleSystem.registerModule({onInit:function(){var e=s.container.get(l.serviceIds["Asset/Editor/FolderTabManager"]);e.register({children:n.createElement(a.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"}),key:"preview",label:"folder.folder-editor-tabs.preview"}),e.register({children:n.createElement(i.ListContainer,null),icon:n.createElement(o.Icon,{value:"unordered-list-outlined"}),key:"list",label:"folder.folder-editor-tabs.view"}),e.register(u.TAB_PROPERTIES),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},31972:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FolderTabManager:()=>h});var n=r(41358),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="folder",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},27837:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_IS_INCLUDE_DESCENDANTS_VALUE:()=>n,defaultFilterOptions:()=>o,defaultTagFilterOptions:()=>i});var n=!1,o={columnFilters:[],includeDescendants:n},i={columnFilters:[]}},43580:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{FILTER_TYPE:()=>n}),function(e){e.TAG_TYPE="system.tag",e.PQL_QUERY_TYPE="system.pql",e.FULL_TEXT_TYPE="system.fulltext"}(n||(n={}))},60216:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridContainer:()=>m,createColumnIdentifier:()=>d,decodeColumnIdentifier:()=>p,encodeColumnIdentifier:()=>h});var n=r(49244),o=r(48442),i=r(1530),a=r(78291),s=r(3769),l=r(47981),c=r(38608);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{generateQueryArgsForGrid:()=>u});var n=r(60216);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0){var h=o[0],m=(0,n.encodeColumnIdentifier)(h.id);p={key:m.key,locale:m.locale,direction:h.desc?"DESC":"ASC"}}return{body:{folderId:u,columns:f.map((function(e){return{config:[],key:e.key,type:e.type,locale:e.locale}})),filters:a(a({page:i,pageSize:parseInt(s.toString())},c),{},{sortFilter:p})}}}},3769:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getFormattedDropDownMenu:()=>u,useListColumns:()=>f,useListData:()=>b,useListFilterOptions:()=>d,useListGridAvailableColumns:()=>p,useListGridConfig:()=>h,useListPage:()=>m,useListPageSize:()=>g,useListSelectedRows:()=>y,useListSorting:()=>v});var n=r(49244),o=r(99694),i=r(72635),a=r(20555),s=r(99212);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{ListContainerInner:()=>j});var n=r(72272),o=r(49244),i=r(60216),a=r(5610),s=r(7559),l=r(8519),c=r(3769),u=r(89184),f=r(99694),d=r(95916),p=r(23676),h=r(39338),m=r(90303),g=r(89649);function y(e){return y="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},y(e)}function v(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P(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 b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function O(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function E(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||P(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 P(e,t){if(e){if("string"==typeof e)return T(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:void 0;G((function(t){return N((function(r){var n,o=null!=e?e:r,i=null==o?void 0:o.items.map((function(e){var r,n=null===(r=e.columns.find((function(e){return"id"===e.key})))||void 0===r?void 0:r.value;if(!t.some((function(e){return e.rowIndex===n})))return e;var o=e.columns.map((function(e){var r=t.find((function(t){return t.rowIndex===n&&t.columnId===e.key&&t.locale===e.locale}));return void 0===r?e:O(O({},e),{},{value:r.value})}));return O(O({},e),{},{columns:o})}));return{items:null!=i?i:[],totalItems:null!==(n=null==o?void 0:o.totalItems)&&void 0!==n?n:0}})),t}))},Y=function(){if(0!==C.length){var e=(0,m.generateQueryArgsForGrid)({columns:C,availableColumns:D,assetId:L,page:y,pageSize:b,sorting:W,filterOptions:T});return B(O({},e)).then((function(e){var t=e.data;Z(t)})).catch((function(e){console.error(e)}))}},K=function(e){var t=e.value,r=e.columnId,n=e.rowData,o=(0,i.encodeColumnIdentifier)(r),a=C.find((function(e){return e.key===o.key&&e.locale===o.locale}));if(void 0!==a){if(G((function(e){return[].concat(v(e),[{columnId:o.key,locale:o.locale,rowIndex:n.id,value:t}])})),U((function(e){return[].concat(v(null!=e?e:[]),[{columnId:r,rowIndex:n.id}])})),Z(),"metadata"!==a.type.split(".")[0])throw new Error("Only metadata columns are supported for now");var s={body:{data:[{id:n.id,metadata:[{name:o.key,language:o.locale,data:t}]}]}};Q(s).catch((function(e){console.error(e)})).then((function(){var e;null===(e=Y())||void 0===e||e.finally((function(){U((function(e){return null==e?void 0:e.filter((function(e){return!(e.columnId===r&&e.rowIndex===n.id)}))})),G((function(e){return e.filter((function(e){return!(e.columnId===o.key&&a.locale===o.locale&&e.rowIndex===n.id)}))}))})).catch((function(e){console.error(e)}))})).catch((function(e){console.error(e)}))}};return(0,o.useMemo)((function(){var e;return o.createElement(f.ListDataProvider,{data:I},o.createElement(p.Content,{loading:q},o.createElement(d.ContentToolbarSidebarLayout,{renderSidebar:o.createElement(l.SidebarContainer,{errorData:F.error}),renderToolbar:o.createElement(a.GridToolbarContainer,{pager:{current:y,total:null!==(e=null==I?void 0:I.totalItems)&&void 0!==e?e:0,pageSize:b,onChange:w}})},o.createElement(i.GridContainer,{assets:I,modifiedCells:z,onUpdateCellData:K}))))}),[I,y,b,z,q])}},72740:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ListContainer:()=>s});var n=r(49244),o=r(82555),i=r(99694),a=r(73143),s=function(){return n.createElement(i.ListProvider,null,n.createElement(a.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/MetadataRegistry","DynamicTypes/ListingRegistry"]},n.createElement(o.ListContainerInner,null)))}},99694:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ListColumnsContext:()=>v,ListColumnsProvider:()=>b,ListDataContext:()=>A,ListDataProvider:()=>D,ListFilterOptionsContext:()=>w,ListFilterOptionsProvider:()=>S,ListGridAvailableColumnsContext:()=>g,ListGridAvailableColumnsProvider:()=>y,ListGridConfigContext:()=>h,ListGridConfigProvider:()=>m,ListPageContext:()=>E,ListPageProvider:()=>x,ListPageSizeContext:()=>P,ListPageSizeProvider:()=>T,ListProvider:()=>R,ListSelectedRowsContext:()=>j,ListSelectedRowsProvider:()=>C,ListSortingContext:()=>k,ListSortingProvider:()=>_});var n=r(49244),o=r(27837),i=r(72650);function a(e){return a="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},a(e)}function s(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(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 l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{FieldFiltersContainer:()=>y});var n=r(49244),o=r(3769),i=r(38608),a=r(72919),s=r(78291),l=r(4802),c=r(89705),u=r(66869),f=r(10340),d=r(72650);function p(e){return p="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},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=["size"],y=function(){var e,t=(0,s.useTranslation)().t,r=(0,o.useListGridAvailableColumns)().dropDownMenu,p=(0,u.useFilters)(),y=p.columns,v=p.addColumn,b=(0,i.useDynamicTypeResolver)().hasType,O=(e=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldFiltersListContainer:()=>u});var n=r(49244),o=r(31212),i=r(72919),a=r(554),s=r(98308),l=r(83869),c=r(66869),u=function(e){var t=e.columns,r=(0,c.useFilters)(),u=r.removeFieldFilter,f=r.removeColumn,d=t.map((function(e){return{id:e.key,children:n.createElement(i.Tag,null,e.key),renderRightToolbar:n.createElement(a.ButtonGroup,{items:[n.createElement(s.IconButton,{icon:{value:"close"},key:"remove",onClick:function(){!function(e){f(e),u(e)}(e)}})]}),body:n.createElement(l.DefaultFilter,{column:e})}}));return n.createElement(n.Fragment,null,0===d.length&&n.createElement(i.Empty,{image:i.Empty.PRESENTED_IMAGE_SIMPLE}),d.length>0&&n.createElement(o.StackList,{items:d}))}},83869:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DefaultFilter:()=>i});var n=r(49244),o=r(38608),i=function(e){var t=e.column,r=t.frontendType,i=t.type,a=(0,(0,o.useDynamicTypeResolver)().getComponentRenderer)({target:"FIELD_FILTER",dynamicTypeIds:[i,r]}).ComponentRenderer;return null===a?n.createElement(n.Fragment,null,"Dynamic Field Filter not supported"):n.createElement(n.Fragment,null,a({column:t}))}},97362:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilterContainerInner:()=>T});var n=r(4802),o=r(52584),i=r(72919),a=r(52734),s=r(860),l=r(97292),c=r(5806),u=r(11248),f=r(37228),d=r(49244),p=r(39050),h=r(66869),m=r(49397),g=r(54255),y=r(72070),v=r(3769),b=r(95916),O=r(57468),w=r(23676),S=r(27837),E=r(72650);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?P(e,t):void 0}}(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 P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{FilterContainer:()=>l});var n=r(49244),o=r(97362),i=r(44733),a=r(99212),s=r(73143),l=function(e){var t=e.errorData;return n.createElement(i.FilterProvider,{errorData:t},n.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/ListingRegistry"]},n.createElement(s.DynamicTypeRegistryProvider,{serviceIds:["DynamicTypes/FieldFilterRegistry"]},n.createElement(a.GridConfigProvider,null,n.createElement(o.FilterContainerInner,null)))))}},44733:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilterContext:()=>s,FilterProvider:()=>l});var n=r(49244),o=r(27837);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useFilters:()=>m});var n=r(49244),o=r(44733),i=r(27837),a=r(4519),s=r(72650);function l(e){return l="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},l(e)}var c=["resetColumns"];function u(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useIncludeDescendantsFilter:()=>s});var n=r(49244),o=r(66869);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{usePQLQueryFilter:()=>l});var n=r(49244),o=r(66869),i=r(43580);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useSearchFilter:()=>l});var n=r(49244),o=r(66869),i=r(43580);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{SaveForm:()=>m,defaultValues:()=>h});var n=r(39756),o=r(72919),i=r(88738),a=r(5806),s=r(49244),l=r(97292);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{GridConfigInner:()=>v});var n=r(49244),o=r(3769),i=r(4519),a=r(72272),s=r(30450),l=r(99914),c=r(62911),u=r(51966),f=r(38245);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{GridConfigList:()=>b});var n=r(49244),o=r(31212),i=r(72919),a=r(98308),s=r(33044),l=r(4519),c=r(78291),u=r(39756),f=r(36608),d=r(47981);function p(e){return p="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},p(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&n.createElement(o.StackList,{items:g,onItemsChange:function(e){var t=e.map((function(e){return e.meta}));r(t)}}));function v(e,t){var o;if(!t.localizable)return n.createElement(n.Fragment,null);var i=["-"].concat(y(p.requiredLanguages));return n.createElement(s.LanguageSelection,{languages:i,onSelectLanguage:function(t){!function(e,t,n){var o=g.map((function(t){return t.id===e?m(m({},t),{},{meta:m(m({},t.meta),{},{locale:(0,s.transformLanguage)(n)})}):t})),i=o.map((function(e){return e.meta}));r(i)}(e,0,t)},selectedLanguage:null!==(o=t.locale)&&void 0!==o?o:"-"})}}},99212:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridConfigContext:()=>a,GridConfigProvider:()=>s});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{GridConfig:()=>a});var n=r(49244),o=r(99212),i=r(72979),a=function(){return n.createElement(o.GridConfigProvider,null,n.createElement(i.GridConfigInner,null))}},4519:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGridConfig:()=>s});var n=r(49244),o=r(99212);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{EditView:()=>g});var n=r(52734),o=r(95916),i=r(23676),a=r(5052),s=r(39756),l=r(57468),c=r(10340),u=r(49244),f=r(78291),d=r(72919),p=r(4802),h=r(66699),m=r(72650),g=function(e){var t=e.onCancelClick,r=e.onApplyClick,g=e.onSaveConfigurationClick,y=e.savedGridConfigurations,v=e.addColumnMenu,b=e.isLoading,O=e.columns,w=(0,f.useTranslation)().t;return u.createElement(o.ContentToolbarSidebarLayout,{renderToolbar:u.createElement(l.Toolbar,{theme:"secondary"},u.createElement(n.Button,{onClick:t,type:"default"},w("button.cancel")),u.createElement(s.Space,{size:"extra-small"},u.createElement(n.Button,{onClick:g,type:"default"},"Save as template"),u.createElement(n.Button,{onClick:r,type:"primary"},w("button.apply"))))},u.createElement(i.Content,{padded:!0},u.createElement(a.Header,{title:w("listing.grid-config.title")},u.createElement(c.Dropdown,{disabled:0===(null==y?void 0:y.length)&&!b,menu:{items:y}},u.createElement(d.Tooltip,{title:0!==(null==y?void 0:y.length)||b?"":"No saved templates available"},u.createElement(p.IconTextButton,{disabled:0===(null==y?void 0:y.length)&&!b,icon:{value:"magic-wand-01"},loading:b},"Templates")))),u.createElement(s.Space,{direction:"vertical",style:{width:"100%"}},u.createElement(h.GridConfigList,{columns:O}),!(0,m.isEmptyValue)(v)&&u.createElement(c.Dropdown,{menu:{items:v}},u.createElement(p.IconTextButton,{icon:{value:"PlusCircleOutlined"},type:"link"},w("listing.add-column"))))))}},62911:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SaveView:()=>y});var n=r(49244),o=r(38245),i=r(95916),a=r(23676),s=r(57468),l=r(39756),c=r(52734),u=r(4802),f=r(5052),d=r(72919),p=r(97292);function h(e){return h="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},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(e){var t=e.formProps,r=e.onCancelClick,h=e.isLoading,y=t.form;return n.createElement(i.ContentToolbarSidebarLayout,{renderToolbar:n.createElement(s.Toolbar,{justify:"flex-end",theme:"secondary"},n.createElement(l.Space,{size:"mini"},n.createElement(u.IconTextButton,{icon:{value:"close"},onClick:r,type:"default"},"Cancel"),n.createElement(c.Button,{loading:h,onClick:function(){return null==y?void 0:y.submit()},type:"primary"},"Save & Apply")))},n.createElement(a.Content,{padded:!0},n.createElement(d.Flex,{gap:"small",vertical:!0},n.createElement(f.Header,{title:"Save configuration as template"}),n.createElement(d.Row,null,n.createElement(d.Col,{span:6},n.createElement(p.Text,null,"Owner:")," ",n.createElement(p.Text,{type:"secondary"},"Admin")),n.createElement(d.Col,{span:12},n.createElement(p.Text,null,"Modification date:")," ",n.createElement(p.Text,{type:"secondary"},"22.10.2024 10:11"))),n.createElement(o.SaveForm,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SidebarContainer:()=>c});var n=r(49244),o=r(33496),i=r(54212),a=r(43068),s=r(72846),l=r(31169),c=function(e){var t=e.errorData,r=(0,n.useMemo)((function(){return[{key:"filter",component:n.createElement(l.FilterContainer,{errorData:t}),icon:n.createElement(i.Icon,{value:"filter-outlined"})},{key:"tags",component:n.createElement(s.TagFiltersContainer,null),icon:n.createElement(i.Icon,{value:"tag-two-tone"})},{key:"grid-config",component:n.createElement(a.GridConfig,null),icon:n.createElement(i.Icon,{value:"settings-outlined"})}]}),[t]);return(0,n.useMemo)((function(){return n.createElement(o.Sidebar,{entries:r,sizing:"large"})}),[r,t])}},96453:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useTagFilters:()=>f});var n=r(49244),o=r(50208),i=r(27837),a=r(43580);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TagFiltersContainerInner:()=>m});var n=r(49244),o=r(52584),i=r(4802),a=r(52734),s=r(95916),l=r(57468),c=r(23676),u=r(2070),f=r(96453),d=r(3769);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TagFiltersContainer:()=>a});var n=r(49244),o=r(49769),i=r(50208),a=function(){return n.createElement(i.TagFiltersProvider,null,n.createElement(o.TagFiltersContainerInner,null))}},50208:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagFiltersContext:()=>s,TagFiltersProvider:()=>l});var n=r(49244),o=r(27837);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TagsTreeFiltersContainer:()=>c});var n=r(15837),o=r(49244),i=r(23676),a=r(860),s=r(29184),l=r(26236),c=function(e){var t=e.addOrUpdateFieldFilter,r=e.checkedKeys,c=e.setCheckedKeys,u=(0,n.useTagGetCollectionQuery)({page:1,pageSize:9999}),f=u.data,d=u.isLoading,p=(0,l.useCreateTreeStructure)().createTreeStructure;if(d)return o.createElement(i.Content,{loading:!0});if(void 0===(null==f?void 0:f.items))return o.createElement("div",null,"Failed to load tags");var h=p({tags:f.items});return o.createElement(o.Fragment,null,o.createElement(a.Flex,{gap:"small",vertical:!0},o.createElement(s.TreeElement,{checkStrictly:!0,checkedKeys:{checked:r,halfChecked:[]},defaultExpandedKeys:["root"],onCheck:function(e){var r=e.checked,n=null==r?void 0:r.map(Number);c(r),t(n)},treeData:h,withCustomSwitcherIcon:!0})))}},5610:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridToolbarContainer:()=>l});var n=r(49244),o=r(25528),i=r(98666),a=r(78291),s=r(5396),l=function(e){var t=e.pager,r=(0,a.useTranslation)().t;return n.createElement(o.GridToolbarView,{renderPagination:void 0!==t&&t.total>0?n.createElement(i.Pagination,{current:t.current,defaultPageSize:t.pageSize,onChange:t.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return r("pagination.show-total",{total:e})},total:t.total}):void 0,renderTools:n.createElement(s.GridTools,null)})}},25528:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridToolbarView:()=>i});var n=r(49244),o=r(57468),i=function(e){return n.createElement(o.Toolbar,{theme:"secondary"},void 0!==e.renderTools&&n.createElement(n.Fragment,null,e.renderTools),void 0===e.renderTools&&n.createElement("div",null),void 0!==e.renderPagination&&n.createElement(n.Fragment,null,e.renderPagination))}},34282:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditListContainer:()=>g});var n=r(49244),o=r(39192),i=r(72919),a=r(31212),s=r(554),l=r(98308),c=r(2289),u=r(63372),f=r(72635),d=r(33044),p=r(36608);function h(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&n.createElement(a.StackList,{items:v}))}},69441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditModal:()=>C});var n=r(49244),o=r(65854),i=r(10340),a=r(3769),s=r(4802),l=r(52734),c=r(72635),u=r(39192),f=r(34282),d=r(73309),p=r(24280),h=r(64414),m=r(73987),g=r(78060),y=r(860),v=r(46946),b=r(39338),O=r(7559);function w(e){return w="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},w(e)}function S(){S=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function y(){}function v(){}function b(){}var O={};c(O,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(O=x);var P=b.prototype=y.prototype=Object.create(O);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==w(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function E(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function x(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(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 P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||T(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 T(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&n.createElement(y.Flex,{align:"center",gap:"extra-small"},n.createElement(s.IconTextButton,{icon:{value:"close"},onClick:function(){A()},type:"link"},(0,c.t)("batch-edit.modal-footer.discard-all-changes")),n.createElement(l.Button,{onClick:function(){1===Object.keys(L).length?$():B()},type:"primary"},(0,c.t)("batch-edit.modal-footer.apply-changes")))),onCancel:function(){r(!1)},open:t,size:"M",title:n.createElement(v.ModalTitle,null,(0,c.t)("batch-edit.modal-title"))},n.createElement(f.BatchEditListContainer,null))}},20555:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BatchEditContext:()=>a,BatchEditProvider:()=>s});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DefaultBatchEdit:()=>l});var n=r(49244),o=r(72919),i=r(39192);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useBatchEdit:()=>d});var n=r(49244),o=r(20555),i=r(3769);function a(e){return a="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},a(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{CreateCSVForm:()=>d});var n=r(49244),o=r(78291),i=r(72919),a=r(88738),s=r(32254);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{CsvModal:()=>j});var n=r(72919),o=r(49244),i=r(30372),a=r(51966),s=r(64414),l=r(1078),c=r(30450),u=r(72272),f=r(78060),d=r(3769),p=r(46946),h=r(78291),m=r(32629);function g(e){return g="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},g(e)}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function w(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function S(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){w(i,n,o,a,s,"next",e)}function s(e){w(i,n,o,a,s,"throw",e)}a(void 0)}))}}function E(e){return function(e){if(Array.isArray(e))return T(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||P(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 x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||P(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 P(e,t){if(e){if("string"==typeof e)return T(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{GridActions:()=>y});var n=r(54016),o=r(49244),i=r(54212),a=r(3769),s=r(72272),l=r(30450),c=r(7505),u=r(78291),f=r(10340),d=r(20555),p=r(69441),h=r(51e3);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0,g=(0,h.useZipDownload)({type:"folder"}).createZipDownload,y=(0,h.useZipDownload)({type:"asset-list"}).createZipDownload,v=(0,l.useAsset)().id,b=(0,s.useAssetGetByIdQuery)({id:v}).data,O=m((0,o.useState)("Asset"),2),w=O[0],S=O[1],E=m((0,o.useState)(!1),2),x=E[0],P=E[1],T=m((0,o.useState)(!1),2),j=T[0],C=T[1],k=(0,u.useTranslation)().t;(0,o.useEffect)((function(){void 0!==b&&S("".concat(b.filename))}),[b]);var _={items:[{key:"1",label:k("listing.actions.batch-edit"),icon:o.createElement(i.Icon,{value:"grid"}),onClick:function(){C(!0)}},{key:"2",label:k("listing.actions.export"),icon:o.createElement(i.Icon,{value:"export"}),children:[{key:"2.1",label:k("listing.actions.csv-export"),icon:o.createElement(i.Icon,{value:"export"}),onClick:function(){P(!0)}}]},{key:"3",label:k("listing.actions.zip-download"),icon:o.createElement(i.Icon,{value:"download-02"}),onClick:function(){r?y({jobTitle:w,requestData:{body:{assets:t}}}):g({jobTitle:w,requestData:{body:{folders:[v]}}})}}]};return o.createElement(o.Fragment,null,o.createElement(f.Dropdown,{menu:_},o.createElement(n.DropdownButton,{key:"dropdown-button"},k(r?"listing.actions":"listing.non-selected.actions"))),o.createElement(c.CsvModal,{open:x,setOpen:P}),o.createElement(d.BatchEditProvider,null,o.createElement(p.BatchEditModal,{batchEditModalOpen:j,setBatchEditModalOpen:C})))}},87804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridSelections:()=>a});var n=r(49244),o=r(3769),i=r(72919),a=function(){var e=(0,o.useListSelectedRows)(),t=e.selectedRows,r=e.setSelectedRows,a=Object.keys(t).length,s=(0,o.useListData)().data,l=a>0,c=!1;return void 0!==s&&(c=a===s.items.length&&s.items.length>0),n.createElement(i.Checkbox,{checked:c,indeterminate:l&&!c,onClick:function(e){if(e.stopPropagation(),void 0===s)return;if(c)return void r({});var t={};s.items.forEach((function(e){var r,n=null===(r=e.columns)||void 0===r?void 0:r.find((function(e){return"id"===e.key}));t[null==n?void 0:n.value]=!0})),r(t)}},a," selected")}},5396:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GridTools:()=>l});var n=r(554),o=r(49244),i=r(87804),a=r(57016),s=r(3769),l=function(){var e=(0,s.useListData)().data;return o.createElement(o.Fragment,null,void 0!==e&&o.createElement(n.ButtonGroup,{items:[o.createElement(i.GridSelections,{key:"grid-selections"}),o.createElement(a.GridActions,{key:"grid-actions"})],withSeparator:!0}),void 0===e&&o.createElement("div",null))}},77211:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useMercureCreateCookieMutation:()=>a});var n=r(62115),o=["Mercure"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{mercureCreateCookie:e.mutation({query:function(){return{url:"/pimcore-studio/api/mercure/auth",method:"POST"}},invalidatesTags:["Mercure"]})}},overrideExisting:!1}),a=i.useMercureCreateCookieMutation},30619:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FlexContainerView:()=>i});var n=r(860),o=r(49244),i=function(e){return o.createElement(n.Flex,{gap:"extra-small",wrap:!0},e.renderElements)}},23385:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FlexContainer:()=>c});var n=r(49244),o=r(78291),i=r(30619),a=r(11164),s=r(52047),l=r(54212),c=function(e){var t=e.assets,r=(0,o.useTranslation)().t,c=(0,s.useAssetHelper)().openAsset,u=[{key:"locate-in-tree",icon:n.createElement(l.Icon,{value:"target"}),label:r("preview-card.locate-in-tree")},{key:"info",icon:n.createElement(l.Icon,{value:"info-circle-outlined"}),label:r("info")},{key:"rename",icon:n.createElement(l.Icon,{value:"rich-edit"}),label:r("preview-card.rename")},{key:"download-zip",icon:n.createElement(l.Icon,{value:"download-02"}),label:r("preview-card.download-zip")},{key:"delete",icon:n.createElement(l.Icon,{value:"trash"}),label:r("preview-card.delete")}],f=[];return t.items.forEach((function(e){"imageThumbnailPath"in e&&void 0!==e.imageThumbnailPath&&null!==e.imageThumbnailPath&&f.push(n.createElement(a.PreviewCard,{dropdownItems:u,imgSrc:e.imageThumbnailPath,key:e.id,name:e.filename,onClick:function(t){c({config:{id:e.id}})}}))})),n.createElement(i.FlexContainerView,{renderElements:f})}},42222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>p});var n=r(72272),o=r(49244),i=r(5610),a=r(23385),s=r(15208),l=r(7559),c=r(95916),u=r(23676);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?{current:d,total:S,pageSize:m,onChange:E}:void 0})},o.createElement(u.Content,{loading:w,padded:!0},void 0!==(null==O?void 0:O.items)&&O.items.length>0&&o.createElement(a.FlexContainer,{assets:O})))}),[d,m,O,w])}},20215:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(54212),i=r(17409),a=r(94695),s=r(97137),l=r(47587),c=r(7478),u=r(6221),f=r(37213);s.moduleSystem.registerModule({onInit:function(){var e=l.container.get(c.serviceIds["Asset/Editor/ImageTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(a.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:n.createElement(i.EditTabContainer,null),icon:n.createElement(o.Icon,{value:"edit"})}),e.register(u.TAB_EMBEDDED_METADATA),e.register(u.TAB_CUSTOM_METADATA),e.register(f.TAB_PROPERTIES),e.register(u.TAB_VERSIONS),e.register(f.TAB_SCHEDULE),e.register(f.TAB_DEPENDENCIES),e.register(f.TAB_NOTES_AND_EVENTS),e.register(f.TAB_TAGS),e.register(f.TAB_WORKFLOW)}})},55826:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ImageTabManager:()=>h});var n=r(41358),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="image",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},17409:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditTabContainer:()=>a});var n=r(23676),o=r(5052),i=r(49244),a=function(){return i.createElement(n.Content,{padded:!0},i.createElement(o.Header,{title:"Edit"}))}},94695:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>g,ZoomContext:()=>m});var n=r(49244),o=r(81295),i=r(33496),a=r(35904),s=r(7559),l=r(47e3),c=r(95916),u=r(23676),f=r(15208),d=r(35238);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(91539).createStyles)((function(e){e.token;var t=e.css;return{preview:t(n||(n=s(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n max-height: 100%;\n object-fit: contain;\n\n .ant-image {\n display: flex;\n max-height: 100%;\n max-width: 100%;\n }\n\n .ant-image-img {\n object-fit: contain;\n }\n "]))),floatingContainer:t(o||(o=s(["\n position: absolute;\n bottom: 20px;\n width: 100%;\n z-index: 9999;\n "]))),flexContainer:t(i||(i=s(["\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n padding-left: 15px;\n padding-right: 15px;\n "]))),imageContainer:t(a||(a=s(["\n max-height: 100%;\n "])))}}),{hashPriority:"low"})},81295:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>u});var n=r(8084),o=r(49244),i=r(90585),a=r(76636),s=r(94695),l=r(860),c=r(38959),u=function(e){var t=(0,i.useStyle)().styles,r=e.src,u=o.useContext(s.ZoomContext),f=u.zoom,d=u.setZoom;return o.createElement("div",{className:t.preview},o.createElement(l.Flex,{className:t.imageContainer},o.createElement(c.FocalPoint,null,o.createElement(n.PimcoreImage,{src:r}))),o.createElement("div",{className:t.floatingContainer},o.createElement("div",{className:t.flexContainer},o.createElement(a.ImageZoom,{setZoom:d,zoom:f}))))}},47828:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FocalPointSidebarButton:()=>i});var n=r(49244),o=r(8518),i=function(e){var t=(0,n.useContext)(o.FocalPointContext),r=function(){if(void 0!==t){var e=t.isActive,r=t.setIsActive,n=t.setCoordinates,o=t.containerRef;if(null!==o.current)n({x:.5*o.current.clientWidth,y:.5*o.current.clientHeight}),r(!e)}};return n.createElement("div",{"aria-label":e.key,className:["button",!0===(null==t?void 0:t.isActive)?"button--highlighted":""].join(" "),key:e.key,onClick:r,onKeyDown:r,role:"button",tabIndex:e.index},e.icon)}},35904:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sidebarManager:()=>l});var n=r(27134),o=r(54212),i=r(49244),a=r(64988),s=r(47828),l=new n.AssetEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,{icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),key:"focal-point"})})},27134:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(46402).SidebarManager)},64988:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetailContainer:()=>h});var n=r(49244),o=r(72272),i=r(7559),a=r(59042),s=r(46407),l=r(91232),c=r(35238);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}var h=function(){var e,t,r,u,d=(0,n.useContext)(i.AssetContext),h=(0,o.useAssetGetByIdQuery)({id:d.id}).data;return n.createElement(a.AssetEditorSidebarDetailsView,{height:null!==(e=h.height)&&void 0!==e?e:0,onClickCustomDownload:(u=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:m(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return u.apply(this,arguments)}),onClickDownloadByFormat:(r=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g(d.id,t);case 1:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)}),width:null!==(t=h.width)&&void 0!==t?t:0});function m(e,t){var r=t.width,n=t.height,o=t.quality,i=t.dpi,a=t.mode,c=t.format,u=[{key:"mimeType",value:c},{key:"resizeMode",value:a},{key:"dpi",value:i.toString()},{key:"quality",value:o.toString()},{key:"height",value:n.toString()},{key:"width",value:r.toString()}],d=(0,l.buildQueryString)(u,["","-1"]);fetch("http://localhost/pimcore-studio/api/assets/".concat(e,"/image/download/custom?").concat(d)).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);!function(e,t,r){var n=(0,s.replaceFileEnding)(e,r.toLowerCase());(0,s.saveFileLocal)(n,t)}(h.filename,t,c)})).catch((function(e){console.error(e)}))}function g(e,t){y("original"!==t?"".concat((0,c.getDomainWithPrefix)(),"/assets/").concat(e,"/image/download/format/").concat(t):"".concat((0,c.getDomainWithPrefix)(),"/assets/").concat(e,"/download"),t)}function y(e,t){fetch(e).then(function(){var e=p(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then((function(e){var r=URL.createObjectURL(e);!function(e,t,r){var n=e;"original"!==r&&(n=(0,s.replaceFileEnding)(e,"jpg"));(0,s.saveFileLocal)(n,t)}(h.filename,r,t)})).catch((function(e){console.error(e)}))}}},59042:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetEditorSidebarDetailsView:()=>g});var n=r(49244),o=r(78291),i=r(72919),a=r(32254),s=r(52734),l=r(98308),c=r(23676),u=r(5052),f=r(82964),d=r(21926),p=r(57788);function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{sidebarContentEntry:r(n||(n=a(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS),sidebarContentDimensions:r(o||(o=a(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:r(i||(i=a(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n \n .entry-content__download-content-custom__default {\n color: ",";\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS,t.colorTextDescription)}}),{hashPriority:"low"})},21926:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDetailsViewData:()=>i});var n=r(78291),o=r(49244),i=function(){var e=(0,n.useTranslation)().t;return{getModes:function(){return[{value:"resize",label:e("resize")},{value:"scaleByWidth",label:o.createElement(o.Fragment,null,e("scaleByWidth")+" ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"scaleByHeight",label:e("scaleByHeight")}]},getFormats:function(){return[{value:"JPEG",label:o.createElement(o.Fragment,null,"JPEG ",o.createElement("span",{className:"entry-content__download-content-custom__default"},"(",e("default"),")"))},{value:"PNG",label:"PNG"}]},getDownloadFormats:function(){return[{value:"original",label:e("asset.sidebar.original-file")},{value:"web",label:e("asset.sidebar.web-format")},{value:"print",label:e("asset.sidebar.print-format")},{value:"office",label:e("asset.sidebar.office-format")}]}}}},73685:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(54212),i=r(97137),a=r(47587),s=r(7478),l=r(6221),c=r(41511),u=r(37213);i.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/TextTabManager"]);e.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:n.createElement(c.EditContainer,null),icon:n.createElement(o.Icon,{value:"edit"})}),e.register(l.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(l.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},44177:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{relativeContainer:(0,e.css)(n||(t=["\n position: relative;\n width: 100%;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},41511:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditContainer:()=>f});var n=r(49244),o=r(49295),i=r(72272),a=r(7559),s=r(44177),l=r(65227),c=r(57833),u=r(15208),f=function(){var e=(0,n.useContext)(a.AssetContext),t=(0,u.useAssetDraft)(e.id).asset,r=(0,i.useAssetGetTextDataByIdQuery)({id:e.id}).data,f=(0,s.useStyle)().styles,d=null;return"string"==typeof(null==t?void 0:t.filename)&&(d=(0,c.detectLanguageFromFilename)(t.filename)),n.createElement("div",{className:f.relativeContainer},(0,l.isSet)(r)&&n.createElement(o.EditView,{language:d,src:r.data}))}},19193:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n iframe {\n display: flex;\n height: 100%;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},49295:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditView:()=>a});var n=r(49244),o=r(19193),i=r(29052),a=function(e){var t=(0,o.useStyle)().styles,r=e.src,a=e.language;return n.createElement("div",{className:t.preview},n.createElement(i.TextEditor,{defaultText:r,language:a}))}},39122:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextTabManager:()=>h});var n=r(41358),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="text",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},51574:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(7478),i=r(97137),a=r(6221),s=r(37213);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["Asset/Editor/UnknownTabManager"]);e.register(a.TAB_CUSTOM_METADATA),e.register(s.TAB_PROPERTIES),e.register(a.TAB_VERSIONS),e.register(s.TAB_SCHEDULE),e.register(s.TAB_DEPENDENCIES),e.register(s.TAB_NOTES_AND_EVENTS),e.register(s.TAB_TAGS),e.register(s.TAB_WORKFLOW)}})},65686:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="unknown",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(41358).TabManager)},55157:(e,t,r)=>{"use strict";r.r(t);var n=r(49244),o=r(54212),i=r(55773),a=r(47587),s=r(7478),l=r(97137),c=r(6221),u=r(37213);l.moduleSystem.registerModule({onInit:function(){var e=a.container.get(s.serviceIds["Asset/Editor/VideoTabManager"]);e.register({key:"view",label:"asset.asset-editor-tabs.view",children:n.createElement(i.PreviewContainer,null),icon:n.createElement(o.Icon,{value:"image-05"})}),e.register(c.TAB_EMBEDDED_METADATA),e.register(c.TAB_CUSTOM_METADATA),e.register(u.TAB_PROPERTIES),e.register(c.TAB_VERSIONS),e.register(u.TAB_SCHEDULE),e.register(u.TAB_DEPENDENCIES),e.register(u.TAB_NOTES_AND_EVENTS),e.register(u.TAB_TAGS),e.register(u.TAB_WORKFLOW)}})},55773:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewContainer:()=>g,VideoContext:()=>m});var n=r(49244),o=r(86789),i=r(7559),a=r(95916),s=r(91850),l=r(33496),c=r(23676),u=r(35238),f=r(15208),d=r(18796);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{preview:(0,e.css)(n||(t=["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n object-fit: contain;\n\n video {\n display: flex;\n max-height: 70%;\n max-width: 70%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},86789:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PreviewView:()=>a});var n=r(49244),o=r(9363),i=r(86764),a=function(e){var t=(0,o.useStyle)().styles,r=e.src,a=e.poster;return n.createElement("div",{className:t.preview},n.createElement(i.PimcoreVideo,{poster:a,sources:[{src:r}]}))}},91850:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sidebarManager:()=>l});var n=r(54600),o=r(54212),i=r(49244),a=r(56738),s=r(47828),l=new n.VideoEditorSidebarManager;l.registerEntry({key:"details",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"view-details"}),component:i.createElement(a.DetailContainer,null)}),l.registerButton({key:"focal-point",icon:i.createElement(o.Icon,{options:{width:"16px",height:"16px"},value:"focal-point"}),component:i.createElement(s.FocalPointSidebarButton,null)})},54600:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(46402).SidebarManager)},56738:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetailContainer:()=>v});var n=r(49244),o=r(72272),i=r(7559),a=r(92208),s=r(40967),l=r(35238),c=r(46407),u=r(55773),f=r(23676),d=r(18796);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:C;_("image_thumbnail_time",b,e)},onChangeThumbnail:O,onClickDownloadByFormat:function(e){y(!0);var t="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/download/").concat(e);(0,d.fetchBlobWithPolling)({url:t,onSuccess:function(e){var t=URL.createObjectURL(e);(0,c.saveFileLocal)(P.filename,t)}}).catch(console.error).finally((function(){y(!1)}))},onDropImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;_("image_thumbnail_asset",e,t)},thumbnails:j,width:null!==(t=P.width)&&void 0!==t?t:0});function k(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,n="".concat((0,l.getPrefix)(),"/assets/").concat(w.id,"/video/stream/image-thumbnail?width=").concat(e,"&height=").concat(t,"&aspectRatio=true");fetch(n).then(function(){var e,t=(e=h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.blob();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){m(i,n,o,a,s,"next",e)}function s(e){m(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).then((function(e){var t=URL.createObjectURL(e);x(t)})).catch((function(e){console.error(e)})).finally(r)}function _(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,n="".concat((0,l.getPrefix)(),"/assets/").concat(w.id);fetch(n,{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({data:{customSettings:[{key:e,value:t}]}})}).then((function(){k(200,119,r)})).catch((function(e){console.error(e),r()}))}}},92208:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VideoEditorSidebarDetailsTab:()=>b});var n=r(49244),o=r(63730),i=r(72919),a=r(54212),s=r(78291),l=r(26476),c=r(29653),u=r(15745),f=r(93375),d=r(57468),p=r(8084),h=r(23676),m=r(5052),g=r(32254);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o,i,a;function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>l});var l=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{sidebarContentEntry:r(n||(n=s(["\n .sidebar__content-label {\n color: ",";\n line-height: 20px;\n font-weight: 600;\n margin: 0;\n padding-bottom: ","px;\n \n &:not(:first-of-type) {\n padding-top: ","px;\n }\n }\n .sidebar__content-hr {\n position: absolute;\n left: 0;\n right: 0;\n border-color: ",";\n margin: 0;\n }\n "])),t.colorPrimaryActive,t.paddingXS,t.paddingXS,t.colorSplit),sidebarContentDimensions:r(o||(o=s(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n align-self: stretch;\n \n .entry-content__dimensions-label {\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0\n }\n }\n\n .entry-content__dimensions-content {\n color: ",";\n display: flex;\n padding-bottom: ",";\n gap: ","px;\n align-items: center;\n gap: ",";\n align-self: stretch;\n\n p {\n margin: 0;\n line-height: 22px;\n }\n }\n "])),t.paddingXXS,t.marginMD,t.marginXXS,t.colorTextDescription,t.paddingXXS,t.marginMD,t.marginXXS),sidebarContentDownload:r(i||(i=s(["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "])),t.paddingXXS,t.paddingSM,t.marginSM,t.paddingSM,t.paddingXS,t.paddingSM,t.marginSM,t.paddingXS),sidebarContentImagePreview:r(a||(a=s(["\n & > .sidebar__content-label {\n margin-top: ","px;\n }\n \n .ant-btn-group {\n button {\n padding: 0 4px;\n height: 24px;\n border-radius: unset;\n }\n button:nth-child(1) {\n border-top-left-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n button:nth-child(2) {\n border-top-right-radius: 6px;\n border-bottom-right-radius: 6px;\n }\n }\n\n .ant-card {\n height: 208px;\n }\n \n .ant-card, .ant-card-meta-title {\n margin-top: ","px;\n }\n \n .image-preview-container {\n height: 129px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n \n div {\n display: flex;\n gap: ","px;\n }\n \n span {\n margin-top: ","px;\n }\n }\n\n .image-preview__toolbar {\n position: absolute;\n left: 0;\n right: 0;\n background: none;\n margin-top: ","px\n }\n "])),t.marginXS,t.marginSM,t.marginXXS,t.marginSM,t.marginXS)}}),{hashPriority:"low"})},93375:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DroppableContent:()=>u});var n=r(49244),o=r(2178),i=r(54212),a=r(78291),s=r(8084);function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,t)).type="video",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(41358).TabManager)},88247:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetEditorWidget:()=>c});var n=r(51294),o=r(52328),i=r(71798),a=r(89184),s=r(49244),l=r(7559),c={name:"asset-editor",component:n.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,r=e.getConfig(),n=(0,i.selectAssetById)(a.store.getState(),r.id);return null!==(t=null==n?void 0:n.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var r=e.config;return s.createElement(l.AssetProvider,{id:r.id},t)}}},15208:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useAssetDraft:()=>P});var n=r(89184),o=r(72272),i=r(71798),a=r(49244),s=r(42032),l=r(50469),c=r(46309),u=r(58765),f=r(4321),d=r(42332),p=r(47587),h=r(7478),m=r(83500);function g(e){return g="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},g(e)}function y(){y=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useAssetHelper:()=>m});var n=r(22154),o=r(72272),i=r(89184),a=r(51430),s=r(3638),l=r(73520);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useAsset:()=>i});var n=r(49244),o=r(7559),i=function(){return{id:(0,n.useContext)(o.AssetContext).id}}},37888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGlobalAssetContext:()=>i});var n=r(89184),o=r(43188),i=function(){var e=(0,n.useAppDispatch)();return{context:(0,n.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"asset")})),setContext:function(t){e((0,o.addGlobalContext)({type:"asset",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("asset"))}}}},53363:(e,t,r)=>{"use strict";r.r(t);r(68741);var n=r(71640),o=r(47587),i=r(7478),a=r(97137);r(48076);a.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds.widgetManager).registerWidget({name:"asset-tree",component:n.TreeContainer})}})},5321:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetTreeContextMenu:()=>E});var n=r(72919),o=r(49244),i=r(54212),a=r(78291),s=r(92908),l=r(84847),c=r(10340),u=r(85668),f=r(89042),d=r(3944),p=r(68174),h=r(66272),m=r(11461),g=r(65970),y=r(51e3),v=r(3638);function b(e){return b="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},b(e)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useNodeApiHook:()=>p});var n=r(36236),o=r(72272),i=r(49244),a=r(73520);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t);var n=r(97137),o=r(47587),i=r(7478),a=r(5321);n.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"assetTreeContextMenu",component:a.AssetTreeContextMenu})}})},9017:(e,t,r)=>{"use strict";r.r(t),r.d(t,{withDraggable:()=>c});var n=r(49244),o=r(84877);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SearchContainer:()=>a});var n=r(49244),o=r(76413),i=r(78291),a=function(e){var t=(0,i.useTranslation)().t;return n.createElement(o.SearchContainer,{label:t("asset.asset-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})}},71640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeContainer:()=>g});var n=r(36236),o=r(49244),i=r(40602),a=r(76345),s=r(20515),l=r(52047),c=r(30733),u=r(9017),f=r(5321);function d(e){return d="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},d(e)}var p=["id"];function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=p;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var g=function(e){var t=e.id,r=void 0===t?1:t,d=(function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useLoginMutation:()=>a,useLogoutMutation:()=>s});var n=r(62115),o=["Authorization"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{login:e.mutation({query:function(e){return{url:"/pimcore-studio/api/login",method:"POST",body:e.credentials}},invalidatesTags:["Authorization"]}),logout:e.mutation({query:function(){return{url:"/pimcore-studio/api/logout",method:"POST"}},invalidatesTags:["Authorization"]})}},overrideExisting:!1}),a=i.useLoginMutation,s=i.useLogoutMutation},15170:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useIsAuthenticated:()=>i});var n=r(49244),o=r(20595),i=function(){var e=(0,o.useUser)();return(0,n.useMemo)((function(){return""!==e.username}),[e])}},83668:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useMiddleware:()=>s});var n=r(84976),o=r(49244),i=r(15170),a=r(52619),s=function(){var e=(0,i.useIsAuthenticated)(),t=(0,n.useNavigate)();(0,o.useEffect)((function(){e&&t(a.routes.root),e||t(a.routes.login)}),[e])}},20595:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useUser:()=>a});var n=r(49244),o=r(71468),i=r(81723),a=function(){var e=(0,o.useSelector)(i.selectCurrentUser);return(0,n.useMemo)((function(){return e}),[e])}},28986:(e,t,r)=>{"use strict";var n,o;function i(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>a});var a=(0,r(91539).createStyles)((function(e){e.token;var t=e.css;return{loginPage:t(n||(n=i(["\n display: flex;\n align-items: center;\n background: url(/bundles/pimcorestudioui/img/login-bg.png) lightgray 50% / cover no-repeat;\n position: absolute;\n inset: 0;\n overflow: hidden;\n "]))),loginWidget:t(o||(o=i(["\n display: flex;\n flex-direction: column;\n width: 503px;\n height: 608px;\n flex-shrink: 0;\n border-radius: 8px;\n background: linear-gradient(335deg, rgba(255, 255, 255, 0.86) 1.72%, rgba(57, 14, 97, 0.86) 158.36%);\n padding: 83px 100px 0 100px;\n margin-left: 80px;\n \n /* Component/Button/primaryShadow */\n box-shadow: 0px 2px 0px 0px rgba(114, 46, 209, 0.10);\n \n img {\n margin-bottom: 50px\n }\n "])))}}))},94984:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LoginPage:()=>s});var n=r(49244),o=r(11694),i=r(28986),a=r(83668),s=function(){var e=(0,i.useStyle)().styles;return(0,a.useMiddleware)(),n.createElement("div",{className:e.loginPage},n.createElement("div",{className:e.loginWidget},n.createElement("img",{alt:"Pimcore Logo",src:"/bundles/pimcorestudioui/img/logo.png"}),n.createElement(o.LoginForm,null)))}},26621:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isAllowed:()=>i});var n=r(89184),o=r(81723),i=function(e){var t=n.store.getState(),r=(0,o.selectCurrentUser)(t);return!!r.isAdmin||void 0!==e&&r.permissions.includes(e)}},94398:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,usePimcoreStudioApiUserSearchQuery:()=>y,useUserCloneByIdMutation:()=>a,useUserCreateMutation:()=>s,useUserDeleteByIdMutation:()=>d,useUserFolderCreateMutation:()=>l,useUserFolderDeleteByIdMutation:()=>p,useUserGetAvailablePermissionsQuery:()=>h,useUserGetByIdQuery:()=>u,useUserGetCollectionQuery:()=>m,useUserGetCurrentInformationQuery:()=>c,useUserGetTreeQuery:()=>b,useUserResetPasswordMutation:()=>g,useUserUpdateByIdMutation:()=>f,useUserUpdatePasswordByIdMutation:()=>v});var n=r(62115),o=["User Management"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{userCloneById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/clone/".concat(e.id),method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder",method:"POST",body:e.body}},invalidatesTags:["User Management"]}),userGetCurrentInformation:e.query({query:function(){return{url:"/pimcore-studio/api/user/current-user-information"}},providesTags:["User Management"]}),userGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id)}},providesTags:["User Management"]}),userUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"PUT",body:e.updateUser}},invalidatesTags:["User Management"]}),userDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userFolderDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/folder/".concat(e.id),method:"DELETE"}},invalidatesTags:["User Management"]}),userGetAvailablePermissions:e.query({query:function(){return{url:"/pimcore-studio/api/user/available-permissions"}},providesTags:["User Management"]}),userGetCollection:e.query({query:function(){return{url:"/pimcore-studio/api/users"}},providesTags:["User Management"]}),userResetPassword:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/reset-password",method:"POST",body:e.resetPassword}},invalidatesTags:["User Management"]}),pimcoreStudioApiUserSearch:e.query({query:function(e){return{url:"/pimcore-studio/api/user/search",params:{searchQuery:e.searchQuery}}},providesTags:["User Management"]}),userUpdatePasswordById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/user/".concat(e.id,"/password"),method:"PUT",body:e.body}},invalidatesTags:["User Management"]}),userGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/users/tree",params:{parentId:e.parentId}}},providesTags:["User Management"]})}},overrideExisting:!1}),a=i.useUserCloneByIdMutation,s=i.useUserCreateMutation,l=i.useUserFolderCreateMutation,c=i.useUserGetCurrentInformationQuery,u=i.useUserGetByIdQuery,f=i.useUserUpdateByIdMutation,d=i.useUserDeleteByIdMutation,p=i.useUserFolderDeleteByIdMutation,h=i.useUserGetAvailablePermissionsQuery,m=i.useUserGetCollectionQuery,g=i.useUserResetPasswordMutation,y=i.usePimcoreStudioApiUserSearchQuery,v=i.useUserUpdatePasswordByIdMutation,b=i.useUserGetTreeQuery},81723:(e,t,r)=>{"use strict";r.r(t),r.d(t,{selectCurrentUser:()=>d,setUser:()=>f,userSliceName:()=>u});var n=r(20038),o=r(89184);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{api:()=>o,useDataObjectAddMutation:()=>i,useDataObjectCloneMutation:()=>a,useDataObjectGetByIdQuery:()=>s,useDataObjectGetLayoutByIdQuery:()=>f,useDataObjectGetTreeQuery:()=>u,useDataObjectPatchByIdMutation:()=>c,useDataObjectUpdateByIdMutation:()=>l});var n=r(51430),o=r(85157).api.enhanceEndpoints({addTagTypes:[n.tagNames.DATA_OBJECT,n.tagNames.DATA_OBJECT_TREE,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{dataObjectClone:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_TREE_ID(r.parentId)}},dataObjectGetById:{providesTags:function(e,t,r){return n.providingTags.DATA_OBJECT_DETAIL_ID(r.id)}},dataObjectGetTree:{providesTags:function(e,t,r){return void 0!==r.parentId?n.providingTags.DATA_OBJECT_TREE_ID(r.parentId):n.providingTags.DATA_OBJECT_TREE()}},dataObjectUpdateById:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_DETAIL_ID(r.id)}},dataObjectAdd:{invalidatesTags:function(e,t,r){return n.invalidatingTags.DATA_OBJECT_TREE_ID(r.parentId)}},dataObjectGetLayoutById:{providesTags:function(e,t,r){return n.providingTags.DATA_OBJECT_DETAIL_ID(r.id)}}}}),i=o.useDataObjectAddMutation,a=o.useDataObjectCloneMutation,s=o.useDataObjectGetByIdQuery,l=o.useDataObjectUpdateByIdMutation,c=o.useDataObjectPatchByIdMutation,u=o.useDataObjectGetTreeQuery,f=o.useDataObjectGetLayoutByIdQuery},85157:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useDataObjectAddMutation:()=>a,useDataObjectCloneMutation:()=>s,useDataObjectGetAvailableGridColumnsQuery:()=>u,useDataObjectGetByIdQuery:()=>l,useDataObjectGetGridMutation:()=>f,useDataObjectGetLayoutByIdQuery:()=>d,useDataObjectGetTreeQuery:()=>m,useDataObjectPatchByIdMutation:()=>p,useDataObjectReplaceContentMutation:()=>h,useDataObjectUpdateByIdMutation:()=>c});var n=r(62115),o=["Data Objects","Data Object Grid"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dataObjectAdd:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/add/".concat(e.parentId),method:"POST",body:e.dataObjectAddParameters}},invalidatesTags:["Data Objects"]}),dataObjectClone:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/clone/").concat(e.parentId),method:"POST",body:e.cloneParameters}},invalidatesTags:["Data Objects"]}),dataObjectGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id)}},providesTags:["Data Objects"]}),dataObjectUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectGetAvailableGridColumns:e.query({query:function(e){return{url:"/pimcore-studio/api/data-object/grid/available-columns/".concat(e.classId,"/folderId")}},providesTags:["Data Object Grid"]}),dataObjectGetGrid:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/grid",method:"POST",body:e.body}},invalidatesTags:["Data Object Grid"]}),dataObjectGetLayoutById:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.id,"/layout")}},providesTags:["Data Objects"]}),dataObjectPatchById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects",method:"PATCH",body:e.body}},invalidatesTags:["Data Objects"]}),dataObjectReplaceContent:e.mutation({query:function(e){return{url:"/pimcore-studio/api/data-objects/".concat(e.sourceId,"/replace/").concat(e.targetId),method:"POST"}},invalidatesTags:["Data Objects"]}),dataObjectGetTree:e.query({query:function(e){return{url:"/pimcore-studio/api/data-objects/tree",params:{page:e.page,pageSize:e.pageSize,parentId:e.parentId,idSearchTerm:e.idSearchTerm,excludeFolders:e.excludeFolders,path:e.path,pathIncludeParent:e.pathIncludeParent,pathIncludeDescendants:e.pathIncludeDescendants,className:e.className}}},providesTags:["Data Objects"]})}},overrideExisting:!1}),a=i.useDataObjectAddMutation,s=i.useDataObjectCloneMutation,l=i.useDataObjectGetByIdQuery,c=i.useDataObjectUpdateByIdMutation,u=i.useDataObjectGetAvailableGridColumnsQuery,f=i.useDataObjectGetGridMutation,d=i.useDataObjectGetLayoutByIdQuery,p=i.useDataObjectPatchByIdMutation,h=i.useDataObjectReplaceContentMutation,m=i.useDataObjectGetTreeQuery},27790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addPropertyToDataObject:()=>w,addScheduleToDataObject:()=>P,dataObjectReceived:()=>g,dataObjectsAdapter:()=>p,removeDataObject:()=>y,removePropertyFromDataObject:()=>S,removeScheduleFromDataObject:()=>T,resetChanges:()=>b,resetDataObject:()=>v,resetSchedulesChangesForDataObject:()=>k,selectDataObjectById:()=>A,setActiveTabForDataObject:()=>_,setModifiedCells:()=>O,setPropertiesForDataObject:()=>E,setSchedulesForDataObject:()=>j,slice:()=>h,updatePropertyForDataObject:()=>x,updateScheduleForDataObject:()=>C});var n=r(20038),o=r(89184),i=r(50469),a=r(58765),s=r(83500),l=r(42332);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DataObjectContext:()=>o,DataObjectProvider:()=>i});var n=r(49244),o=(0,n.createContext)({id:0}),i=function(e){var t=e.id,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{id:t}},r)}),[t])}},20810:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorContainer:()=>p});var n=r(49244),o=r(39554),i=r(22335),a=r(23676),s=r(24920),l=r(17792),c=r(29227),u=r(26686),f=r(99691),d=r(64584),p=function(e){var t=e.id,r=(0,s.useDataObjectDraft)(t),p=r.isLoading,h=r.isError,m=r.dataObject,g=r.removeDataObjectFromState,y=r.editorType,v=(0,o.useIsAcitveMainWidget)(),b=(0,l.useGlobalDataObjectContext)(),O=b.setContext,w=b.removeContext;return(0,n.useEffect)((function(){return function(){w(),g()}}),[]),(0,n.useEffect)((function(){return v&&O({id:t}),function(){v||w()}}),[v]),h?n.createElement("div",null,"Error"):p?n.createElement(a.Content,{loading:!0}):void 0===m||void 0===y?n.createElement(n.Fragment,null):n.createElement(i.DataObjectProvider,{id:t},n.createElement(d.LanguageSelectionProvider,null,n.createElement(f.TabsToolbarView,{renderTabbar:n.createElement(c.TabsContainer,{elementEditorType:y}),renderToolbar:n.createElement(u.Toolbar,null)})))}},6601:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=(r(45345),r(16152),r(7478)),i=r(97137),a=r(70878),s=r(90043);i.moduleSystem.registerModule({onInit:function(){var e=n.container.get(o.serviceIds["DataObject/Editor/TypeRegistry"]);e.register({name:"object",tabManagerServiceId:"DataObject/Editor/ObjectTabManager"}),e.register({name:"folder",tabManagerServiceId:"DataObject/Editor/FolderTabManager"}),n.container.get(o.serviceIds.widgetManager).registerWidget(s.DataObjectEditorWidget),n.container.get(o.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"editorToolbarContextMenuDataObject",component:a.EditorToolbarContextMenu})}})},41393:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_VERSIONS:()=>l});var n=r(40243),o=r(54212),i=r(49244),a=r(56945),s=r(89789),l={key:"versions",label:"version.label",children:i.createElement(n.VersionsTabContainer,{ComparisonViewComponent:a.ComparisonView,SingleViewComponent:s.SingleView}),icon:i.createElement(o.Icon,{value:"history-outlined"}),isDetachable:!0}},56945:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComparisonView:()=>o});var n=r(49244),o=function(e){var t=e.versionIds;return n.createElement("div",null,n.createElement("p",null,n.createElement("strong",null,"TODO: implement data object comparison view for versionIds:")),t.map((function(e){return e.id})).join(", "))}},89789:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SingleView:()=>o});var n=r(49244),o=function(e){var t=e.versions,r=e.versionId,o=e.setDetailedVersions;return n.createElement("div",null,n.createElement("p",null,n.createElement("strong",null,"TODO: implement data object single version view for:")),"ID: ",r.id,n.createElement("hr",null),"Jump to other versions:",t.map((function(e){return n.createElement("div",{key:e.id},n.createElement("p",null,n.createElement("button",{onClick:function(){o([{id:e.id,count:e.versionCount}])}}," Version: ",e.versionCount)))})))}},41764:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TitleContainer:()=>a});var n=r(49244),o=r(78148),i=r(24920),a=function(e){var t,r=e.node,a=(0,i.useDataObjectDraft)(r.getConfig().id).dataObject;return n.createElement(o.TabTitleContainer,{modified:null!==(t=null==a?void 0:a.modified)&&void 0!==t&&t,node:r})}},70878:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorToolbarContextMenu:()=>m});var n=r(72919),o=r(98308),i=r(26476),a=r(49244),s=r(45032),l=r(51430),c=r(89184),u=r(78291),f=r(24920),d=r(22335);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?b(!0):O()},open:v,title:e("toolbar.reload.confirmation")},a.createElement(o.IconButton,{icon:{value:"refresh"}},e("toolbar.reload"))));function O(){g(),t(s.api.util.invalidateTags(l.invalidatingTags.DATA_OBJECT_DETAIL_ID(r)))}}},15458:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LanguageSelection:()=>c});var n=r(33044),o=r(36608),i=r(49244),a=r(78898);function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{LanguageSelectionContext:()=>a,LanguageSelectionProvider:()=>s});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useLanguageSelection:()=>l});var n=r(49244),o=r(64584);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l=function(){return function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Toolbar:()=>x});var n=r(49244),o=r(57468),i=r(78291),a=r(52734),s=r(24920),l=r(22335),c=r(79118),u=r(98447),f=r(7478),d=r(47587),p=r(45032),h=r(860),m=r(20147),g=r(15458),y=["rowId"];function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t);var n=r(97137),o=r(47587),i=r(7478),a=r(37213);n.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/FolderTabManager"]);e.register(a.TAB_PROPERTIES),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},45345:(e,t,r)=>{"use strict";r.r(t);var n=r(97137),o=r(47587),i=r(7478),a=r(37213),s=r(41393),l=r(20147);n.moduleSystem.registerModule({onInit:function(){var e=o.container.get(i.serviceIds["DataObject/Editor/ObjectTabManager"]);e.register(l.TAB_EDIT),e.register(a.TAB_PROPERTIES),e.register(s.TAB_VERSIONS),e.register(a.TAB_SCHEDULE),e.register(a.TAB_DEPENDENCIES),e.register(a.TAB_NOTES_AND_EVENTS),e.register(a.TAB_TAGS),e.register(a.TAB_WORKFLOW)}})},26894:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObjectTabManager:()=>h});var n=r(41358),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":f(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},h=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=s(this,t)).type="object",e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.TabManager);h=d([(0,o.injectable)(),p("design:paramtypes",[])],h)},73884:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DataComponent:()=>g});var n=r(49244),o=r(88738),i=r(47587),a=r(7478),s=r(72919),l=r(24491),c=r(7541),u=r(78898),f=r(97292);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{LayoutComponent:()=>a});var n=r(49244),o=r(47587),i=r(7478),a=function(e){var t,r=(0,o.useInjection)(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]),a=e.fieldType,s=e.fieldtype,l=null!==(t=null!=a?a:s)&&void 0!==t?t:"unknown";return r.hasDynamicType(l)?r.getDynamicType(l).getObjectLayoutComponent(e):n.createElement("div",null,"Unknown layout type: ",l)}},46501:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ObjectComponent:()=>u});var n=r(49244),o=r(15498),i=r(73884);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{RootComponent:()=>u});var n=r(49244),o=r(46501),i=r(88738),a=r(72919);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.layout;return n.createElement(a.ConfigProvider,{theme:{components:{Form:{itemMarginBottom:0}}}},n.createElement(i.Form,{initialValues:{myRandomTestValue:"Hello World"},layout:"vertical",onFinish:function(e){console.log(e)},preserve:!0},n.createElement(o.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{EditContainer:()=>c,TAB_EDIT:()=>u});var n=r(49244),o=r(54212),i=r(14256),a=r(45032),s=r(88992),l=r(23676),c=function(){var e=(0,s.useElementContext)().id,t=(0,a.useDataObjectGetLayoutByIdQuery)({id:e}),r=t.data,o=t.isLoading;return void 0===r||o?n.createElement(l.Content,{loading:!0}):n.createElement(i.RootComponent,{layout:r})},u={key:"edit",label:"Edit",children:n.createElement(c,null),icon:n.createElement(o.Icon,{value:"edit"}),isDetachable:!0}},28440:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormListContext:()=>o,FormListProvider:()=>i});var n=r(49244),o=n.createContext(void 0),i=function(e){var t=e.field,r=e.operation,i=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{field:t,operation:r}},i)}),[t,r,i])}},24491:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useFormList:()=>i});var n=r(49244),o=r(28440),i=function(){return(0,n.useContext)(o.FormListContext)}},90043:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DataObjectEditorWidget:()=>c});var n=r(20810),o=r(41764),i=r(89184),a=r(49244),s=r(22335),l=r(27790),c={name:"data-object-editor",component:n.EditorContainer,titleComponent:o.TitleContainer,isModified:function(e){var t,r=e.getConfig(),n=(0,l.selectDataObjectById)(i.store.getState(),r.id);return null!==(t=null==n?void 0:n.modified)&&void 0!==t&&t},getContextProvider:function(e,t){var r=e.config;return a.createElement(s.DataObjectProvider,{id:r.id},t)}}},24920:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDataObjectDraft:()=>w});var n=r(89184),o=r(45032),i=r(27790),a=r(49244),s=r(50469),l=r(58765),c=r(42332),u=r(47587),f=r(7478),d=r(83500);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useDataObjectHelper:()=>m});var n=r(22154),o=r(89184),i=r(45032),a=r(51430),s=r(73520),l=r(3638);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useGlobalDataObjectContext:()=>i});var n=r(89184),o=r(43188),i=function(){var e=(0,n.useAppDispatch)();return{context:(0,n.useAppSelector)((function(e){return(0,o.selectContextByType)(e,"data-object")})),setContext:function(t){e((0,o.addGlobalContext)({type:"data-object",config:t}))},removeContext:function(){e((0,o.removeGlobalContext)("data-object"))}}}},77767:(e,t,r)=>{"use strict";r.r(t);r(6601),r(50536);var n=r(47587),o=r(7478),i=r(97137),a=r(33060);i.moduleSystem.registerModule({onInit:function(){n.container.get(o.serviceIds.widgetManager).registerWidget({name:"data-object-tree",component:a.TreeContainer})}})},27725:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DataObjectTreeContextMenu:()=>h});var n=r(49244),o=r(78291),i=r(10340),a=r(54212),s=r(51e3),l=r(89042),c=r(3944),u=r(68174),f=r(66272),d=r(11461),p=r(65970),h=function(e){var t=(0,o.useTranslation)().t,r=(0,s.useZipDownload)({type:"folder"}).createZipDownloadContextMeuItem,h=(0,l.useAddFolder)("data-object").addFolderContextMenuItem,m=(0,c.useRename)("data-object").renameContextMenuItem,g=(0,u.useDelete)("data-object").deleteContextMenuItem,y=(0,f.useRefreshTree)("data-object").refreshTreeContextMenuItem,v=(0,d.useCopyPaste)("data-object"),b=v.copyContextMenuItem,O=v.cutContextMenuItem,w=v.pasteContextMenuItem,S=v.pasteCutContextMenuItem,E=(0,p.useLock)("data-object"),x=E.lockContextMenuItem,P=E.lockAndPropagateContextMenuItem,T=E.unlockContextMenuItem,j=E.unlockAndPropagateContextMenuItem,C=[h(e.node),m(e.node),b(e.node),w(e.node),O(e.node),S(parseInt(e.node.id)),g(e.node),r(e.node),{label:t("element.tree.context-menu.advanced"),key:"advanced",icon:n.createElement(a.Icon,{value:"more"}),children:[{label:t("element.lock"),key:"advanced-lock",icon:n.createElement(a.Icon,{value:"lock-01"}),children:[x(e.node),P(e.node),T(e.node),j(e.node)]}]},y(e.node)];return n.createElement(n.Fragment,null,n.createElement(i.Dropdown,{menu:{items:C},trigger:["contextMenu"]},e.children))}},36494:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useNodeApiHook:()=>p});var n=r(36236),o=r(45032),i=r(49244),a=r(73520);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t);var n=r(97137),o=r(47587),i=r(7478),a=r(27725);n.moduleSystem.registerModule({onInit:function(){o.container.get(i.serviceIds["App/ComponentRegistry/ComponentRegistry"]).register({name:"dataObjectTreeContextMenu",component:a.DataObjectTreeContextMenu})}})},54221:(e,t,r)=>{"use strict";r.r(t),r.d(t,{withDraggable:()=>c});var n=r(49244),o=r(84877);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{SearchContainer:()=>a});var n=r(49244),o=r(76413),i=r(78291),a=function(e){var t=(0,i.useTranslation)().t;return n.createElement(o.SearchContainer,{label:t("data-object.data-object-tree.search",{folderName:e.node.label}),node:e.node,total:e.total})}},33060:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TreeContainer:()=>g});var n=r(36236),o=r(49244),i=r(36494),a=r(76345),s=r(65377),l=r(54221),c=r(47775),u=r(27725),f=r(20515);function d(e){return d="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},d(e)}var p=["id"];function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=p;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var g=function(e){var t=e.id,r=void 0===t?1:t,d=(function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{useAddFolder:()=>g});var n=r(78291),o=r(79521),i=r(37193),a=r(54212),s=r(49244),l=r(66272),c=r(3638);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useCopyPaste:()=>w});var n=r(72272),o=r(54212),i=r(49244),a=r(78291),s=r(66272),l=r(38147),c=r(64414),u=r(51771),f=r(78060),d=r(3638);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(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 g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,s,"next",e)}function s(e){g(i,n,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(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 b(e,t){if(e){if("string"==typeof e)return O(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useDelete:()=>w});var n=r(78291),o=r(79521),i=r(54212),a=r(49244),s=r(66272),l=r(36269),c=r(78060),u=r(64414),f=r(37193),d=r(3638);function p(e){return p="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},p(e)}function h(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(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 m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){g(i,n,o,a,s,"next",e)}function s(e){g(i,n,o,a,s,"throw",e)}a(void 0)}))}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||b(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 b(e,t){if(e){if("string"==typeof e)return O(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useLock:()=>f});var n=r(54212),o=r(49244),i=r(78291),a=r(38147);function s(e){return s="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},s(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==s(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function c(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){c(i,n,o,a,s,"next",e)}function s(e){c(i,n,o,a,s,"throw",e)}a(void 0)}))}}var f=function(e){var t=(0,i.useTranslation)().t,r=(0,a.useElementApi)(e).elementPatch,s=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"self");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),c=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"propagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=u(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,"unlockPropagate");case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=u(l().mark((function e(t,n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r({body:{data:[{id:t,locked:n}]}});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error("Error updating element lock",e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,r){return e.apply(this,arguments)}}();return{lock:s,lockAndPropagate:c,unlock:f,unlockAndPropagate:d,lockContextMenuItem:function(e){return{label:t("element.lock"),key:"lock",icon:o.createElement(n.Icon,{value:"lock-01"}),hidden:e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},lockAndPropagateContextMenuItem:function(e){return{label:t("element.lock-and-propagate-to-children"),key:"lock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"file-lock-02"}),hidden:e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},unlockContextMenuItem:function(e){return{label:t("element.unlock"),key:"unlock",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r},unlockAndPropagateContextMenuItem:function(e){return{label:t("element.unlock-and-propagate-to-children"),key:"unlock-and-propagate-to-children",icon:o.createElement(n.Icon,{value:"lock-unlock-01"}),hidden:!e.isLocked,onClick:(r=u(l().mark((function t(){return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d(parseInt(e.id));case 2:case"end":return t.stop()}}),t)}))),function(){return r.apply(this,arguments)})};var r}}}},66272:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useRefreshTree:()=>u});var n=r(89184),o=r(72272),i=r(45032),a=r(51430),s=r(54212),l=r(49244),c=r(78291),u=function(e){var t=(0,n.useAppDispatch)(),r=(0,c.useTranslation)().t,u=function(r){"asset"===e?t(o.api.util.invalidateTags(a.invalidatingTags.ASSET_TREE_ID(r))):"data-object"===e&&t(i.api.util.invalidateTags(a.invalidatingTags.DATA_OBJECT_TREE_ID(r)))};return{refreshTree:u,refreshTreeContextMenuItem:function(e){return{label:r("element.tree.refresh"),key:"refresh",icon:l.createElement(s.Icon,{value:"refresh-ccw-03"}),onClick:function(){u(parseInt(e.id))}}}}}},3944:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useRename:()=>h});var n=r(78291),o=r(79521),i=r(54212),a=r(49244),s=r(66272),l=r(38147),c=r(3638);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}var h=function(e){var t=(0,n.useTranslation)().t,r=(0,o.useFormModal)(),u=(0,s.useRefreshTree)(e).refreshTree,d=(0,l.useElementApi)(e).elementPatch,h=function(e,n,o){var i;r.input({title:t("element.rename"),label:t("element.rename.label"),initialValue:n,rule:{required:!0,message:t("element.rename.validation")},onOk:(i=p(f().mark((function t(r){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m(e,r,o);case 2:case"end":return t.stop()}}),t)}))),function(e){return i.apply(this,arguments)})})},m=function(){var t=p(f().mark((function t(r,n,o){var i;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=d({body:{data:[{id:r,key:n}]}}),t.prev=1,t.next=4,i;case 4:void 0!==o&&u(o),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),console.error("Error renaming "+e,t.t0);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,r,n){return t.apply(this,arguments)}}();return{rename:h,renameContextMenuItem:function(e){return{label:t("element.rename"),key:"rename",icon:a.createElement(i.Icon,{value:"type-square"}),hidden:!(0,c.checkElementPermission)(e.permissions,"rename")||e.isLocked,onClick:function(){var t=parseInt(e.id),r=void 0!==e.parentId?parseInt(e.parentId):void 0;h(t,e.label,r)}}},renameMutation:m}}},50469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{usePropertiesDraft:()=>f,usePropertiesReducers:()=>u});var n=r(89184);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useSchedulesDraft:()=>d,useSchedulesReducers:()=>f});var n=r(89184);function o(e){return o="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},o(e)}var i=["schedules"];function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0,e}))}}},d=function(e,t,r,o,i,a,s){var l=(0,n.useAppDispatch)();return{schedules:null==t?void 0:t.schedules,updateSchedule:function(t){l(r({id:e,schedule:t}))},addSchedule:function(t){l(o({id:e,schedule:t}))},removeSchedule:function(t){l(i({id:e,schedule:t}))},setSchedules:function(t){l(a({id:e,schedules:t}))},resetSchedulesChanges:function(){l(s(e))}}}},83500:(e,t,r)=>{"use strict";r.r(t),r.d(t,{initialTabsStateValue:()=>l,useTabsDraft:()=>u,useTabsReducers:()=>c});var n=r(89184);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useTrackableChangesDraft:()=>c,useTrackableChangesReducers:()=>l});var n=r(89184);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterDatetimeComponent:()=>h});var n,o=r(49244),i=r(32254),a=r(860),s=r(40968),l=r(94628),c=r(66869);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterNumberComponent:()=>l});var n=r(49244),o=r(72919),i=r(66869);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterSelectComponent:()=>c});var n=r(49244),o=r(32254),i=r(66869);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||s(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 s(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=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,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(m.options);try{for(y.s();!(g=y.n()).done;){var v=g.value;h.push({label:v,value:v})}}catch(e){y.e(e)}finally{y.f()}}return(0,n.useEffect)((function(){p(u)}),[u]),n.createElement(o.Select,{onBlur:function(){l(t,d)},onChange:function(e){p(e)},options:h,style:{width:"100%"},value:d})}},28797:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterTextComponent:()=>l});var n=r(49244),o=r(72919),i=r(66869);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;rs});var s=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}))},41450:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getComponent",value:function(e,t){return this.getDynamicType(e).getFieldFilterComponent(t)}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},38250:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterDatetime:()=>d});var n=r(49244),o=r(36119),i=r(71618);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","datetime")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterDatetimeComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterNumber:()=>d});var n=r(49244),o=r(24171),i=r(71618);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","id")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterNumberComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterSelect:()=>d});var n=r(49244),o=r(97152),i=r(71618);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","select")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterSelectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeFieldFilterText:()=>d});var n=r(49244),o=r(28797),i=r(71618);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"id","input")},t=[{key:"getFieldFilterComponent",value:function(e){return n.createElement(o.DynamicTypeFieldFilterTextComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(49244),o=r(22258),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"document":return n.createElement(o.IconView,{value:"mainDocument"});case"asset":return n.createElement(o.IconView,{value:"mainAsset"});case"dataObject":return n.createElement(o.IconView,{value:"mainObject"});default:return n.createElement("span",null,t)}}())}},6059:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(49244),o=r(22258),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"metadata.input":return n.createElement(o.IconView,{value:"text-input"});case"metadata.textarea":return n.createElement(o.IconView,{value:"note"});case"metadata.document":return n.createElement(o.IconView,{value:"mainDocument"});case"metadata.asset":return n.createElement(o.IconView,{value:"mainAsset"});case"metadata.object":case"metadata.dataObject":return n.createElement(o.IconView,{value:"mainObject"});case"metadata.date":return n.createElement(o.IconView,{value:"calendar-date"});case"metadata.checkbox":return n.createElement(o.IconView,{value:"check-done-02"});default:return n.createElement("span",null)}}())}},52197:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ValueCell:()=>s});var n=r(49244),o=r(47587),i=r(7478),a=r(72919),s=function(e){var t,r=e.row.original.type,s=(0,o.useInjection)(i.serviceIds["DynamicTypes/MetadataRegistry"]);try{t=s.getDynamicType(r)}catch(e){console.warn(e)}return n.createElement(n.Fragment,null,void 0===t?n.createElement(a.Alert,{message:"cell type not supported",type:"warning"}):t.getGridCellComponent(e))}},28648:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeIconCell:()=>i});var n=r(49244),o=r(22258),i=function(e){var t=e.row.original.type;return n.createElement(n.Fragment,null,function(){switch(t){case"text":return n.createElement(o.IconView,{value:"note"});case"document":return n.createElement(o.IconView,{value:"mainDocument"});case"asset":return n.createElement(o.IconView,{value:"mainAsset"});case"object":case"dataObject":return n.createElement(o.IconView,{value:"mainObject"});case"bool":return n.createElement(o.IconView,{value:"check-done-02"});case"select":return n.createElement(o.IconView,{value:"chevron-selector-vertical"});default:return n.createElement("span",null)}}())}},66606:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ValueCell:()=>s});var n=r(49244),o=r(72919),i=r(47587),a={text:"input",bool:"checkbox"},s=function(e){var t,r=e.row.original.type,s=(0,i.useInjection)("DynamicTypes/GridCellRegistry"),l=null!==(t=a[r])&&void 0!==t?t:r;return n.createElement(n.Fragment,null,s.hasDynamicType(l)?s.getDynamicType(l).getGridCellComponent(e):n.createElement(o.Alert,{message:"cell type not supported",style:{display:"flex"},type:"warning"}))}},54790:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ActionsCell:()=>u});var n=r(49244),o=r(94678),i=r(78291),a=r(53637);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=(0,i.useTranslation)().t,r={options:[{value:"delete",label:t("schedule.version.delete")},{value:"publish",label:t("schedule.version.publish")}]};return n.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css;e.token;return{select:o(n||(t=["\n .ant-select-selection-item {\n .version-id__select__label {\n .version-id__selection-item-hidden {\n display: none;\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},53228:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VersionIdCell:()=>p});var n=r(49244),o=r(92725),i=r(72635),a=r(94678),s=r(16406),l=r(53637),c=r(88992);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=(0,c.useElementContext)(),r=t.id,u=t.elementType,p=(0,o.useVersionGetCollectionForElementByTypeAndIdQuery)({elementType:u,id:r,page:1,pageSize:9999}),h=p.data,m=[];p.isLoading||void 0===h||(m=h.items);var g=m.map((function(e){var t,r;return{value:e.id,displayValue:e.versionCount,label:n.createElement("div",{className:"version-id__select__label"},n.createElement("div",null,n.createElement("b",null,e.versionCount),n.createElement("span",{className:"version-id__selection-item-hidden"}," | ",null!==(t=e.user.name)&&void 0!==t?t:"not found")),n.createElement("div",{className:"version-id__selection-item-hidden"},(r=e.date,i.default.format(new Date(1e3*r),"datetime",i.default.language,{dateStyle:"short",timeStyle:"short"}))))}}));var y=(0,s.useStyles)().styles,v={options:g};return n.createElement("div",{className:y.select},n.createElement(a.SelectCell,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{PreviewFieldLabelCell:()=>i});var n=r(49244),o=r(72919).Typography.Text,i=function(e){var t=e.getValue();return void 0===t?n.createElement("div",null):n.createElement("div",{className:"default-cell__content"},t.field,"string"==typeof t.metadataType?" (".concat(t.metadataType,")"):"","string"==typeof t.language?n.createElement(o,{type:"secondary"}," ",t.language):"")}},98425:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetActionsCell:()=>s});var n=r(49244),o=r(98308),i=r(52047),a=r(72919),s=function(e){var t=e.row.original,r=(0,i.useAssetHelper)().openAsset;return(0,n.useMemo)((function(){return n.createElement("div",{className:"default-cell__content"},n.createElement(a.Flex,{className:"w-full",justify:"center"},n.createElement(o.IconButton,{icon:{value:"group"},onClick:function(){r({config:{id:t.id}})},type:"link"})))}),[t.id])}},58752:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AssetPreviewCell:()=>a});var n=r(1030),o=r(52047),i=r(49244),a=function(e){var t=(0,o.useAssetHelper)().openAsset;return i.createElement(i.Fragment,null,void 0!==(null==e?void 0:e.getValue())&&i.createElement(n.ImageView,{onClick:function(){if(void 0!==e){var r=e.row.original;t({config:{id:r.id}})}},src:e.getValue(),style:{cursor:"pointer"}}))}},79982:(e,t,r)=>{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(91539).createStyles)((function(e){e.token;var t=e.css;return{"checkbox-cell":t(n||(n=a(["\n padding: 4px;\n "]))),"align-center":t(o||(o=a(["\n justify-content: center;\n display: flex;\n "]))),"align-right":t(i||(i=a(["\n justify-content: flex-end;\n display: flex;\n "])))}}))},53732:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CheckboxCell:()=>s});var n=r(49244),o=r(72919),i=r(13363),a=r(79982),s=function(e){var t,r,s=(0,a.useStyle)().styles,l=(0,i.useEditMode)(e).fireOnUpdateCellDataEvent,c=(0,n.useRef)(null);function u(){var e,t;l(null!==(e=null===(t=c.current.input)||void 0===t?void 0:t.checked)&&void 0!==e&&e)}var f,d=null===(t=e.column.columnDef.meta)||void 0===t?void 0:t.config;return void 0===d&&(d={align:"left"}),n.createElement("div",{className:[s["checkbox-cell"],null!==(r=s["align-"+d.align])&&void 0!==r?r:"","default-cell__content"].join(" ")},n.createElement(o.Checkbox,{checked:e.getValue(),disabled:!1===(null===(f=e.column.columnDef.meta)||void 0===f?void 0:f.editable),onChange:u,ref:c}))}},36992:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"date-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},6406:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DateCell:()=>p});var n=r(49244),o=r(16364),i=r(13363),a=r(72919),s=r(74353),l=r.n(s),c=r(36992),u=r(10956);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{ElementCellContent:()=>f});var n=r(49244),o=r(29664),i=r(54212),a=r(76115),s=r(2178),l=r(94483);function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(91539).createStyles)((function(e){var t=e.css;e.token;return{"element-cell":t(n||(n=a(["\n padding: 3px;\n "]))),link:t(o||(o=a(["\n display: flex;\n gap: 8px;\n width: 100%;\n \n .ant-tag {\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 100%;\n cursor: pointer;\n }\n "]))),dropTargetIcon:t(i||(i=a(["\n margin-left: auto;\n margin-top: 4px\n "])))}}))},46053:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ElementCell:()=>u});var n=r(49244),o=r(15745),i=r(54421),a=r(76115);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t,r,s,u,f=(0,a.useStyle)().styles,d=e.column,p=null===(t=null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.editable)||void 0===t||t,h=null!==(s=null===(u=d.columnDef.meta)||void 0===u?void 0:u.config)&&void 0!==s?s:{allowedTypes:["asset","data-object","document"]},m="function"==typeof h.allowedTypes?h.allowedTypes(e):h.allowedTypes;return n.createElement(o.Droppable,{className:[f["element-cell"],"default-cell__content"].join(" "),isValidContext:function(e){return m.includes(e.type)&&p},onDrop:function(t){var r,n,o,i=t.data;void 0!==(null===(r=e.column.columnDef.meta)||void 0===r?void 0:r.editable)&&void 0!==(null===(n=e.table.options.meta)||void 0===n?void 0:n.onUpdateCellData)&&(null===(o=e.table.options.meta)||void 0===o||o.onUpdateCellData({rowIndex:e.row.index,columnId:e.column.id,value:i,rowData:e.row.original}))}},n.createElement(i.ElementCellContent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{LanguageCell:()=>u});var n=r(49244),o=r(94678),i=r(36608),a=r(53637);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t={options:(0,i.useSettings)().requiredLanguages};return n.createElement(o.SelectCell,function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{cell:(0,e.css)(n||(t=["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n \n .pimcore-icon {\n color: ",";\n cursor: pointer;\n \n &:hover {\n color: ",";\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover)}}))},51676:(e,t,r)=>{"use strict";r.r(t),r.d(t,{OpenElementCell:()=>d});var n=r(49244),o=r(2954),i=r(54212),a=r(65227),s=r(52734),l=r(94483);function c(e){return c="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},c(e)}function u(){u=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==c(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function f(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var d=function(e){var t,r=(0,o.useStyle)().styles,c=(0,l.useElementHelper)(),d=c.openElement,p=(0,c.mapToElementType)(e.row.original.type),h=e.row.original.id;return n.createElement("div",{className:r.cell},(t=function(){var e,t=(e=u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({id:h,type:p});case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){f(i,n,o,a,s,"next",e)}function s(e){f(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),n.createElement(s.Button,{icon:n.createElement(i.Icon,{value:"group"}),onClick:t,onKeyDown:a.onKeyEnterExecuteClick,type:"link"})))}},98800:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{"select-cell":(0,e.css)(n||(t=["\n padding: 4px;\n\n .ant-select {\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},94678:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SelectCell:()=>d});var n=r(49244),o=r(46942),i=r.n(o),a=r(13363),s=r(32254),l=r(98800);function c(e){return c="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},c(e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"text-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},67824:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextCell:()=>s});var n=r(49244),o=r(72919),i=r(79170),a=r(13363),s=function(e){var t=(0,a.useEditMode)(e),r=t.isInEditMode,s=t.disableEditMode,l=t.fireOnUpdateCellDataEvent,c=(0,i.useStyle)().styles,u=(0,n.useRef)(null);function f(){var e,t;l(null!==(e=null===(t=u.current.input)||void 0===t?void 0:t.value)&&void 0!==e?e:""),s()}function d(e){"Enter"===e.key&&f()}function p(){f()}return(0,n.useEffect)((function(){var e;r&&(null===(e=u.current)||void 0===e||e.focus())}),[r]),n.createElement("div",{className:[c["text-cell"],"default-cell__content"].join(" ")},r?n.createElement(o.Input,{defaultValue:e.getValue(),onBlur:p,onKeyDown:d,ref:u,type:"text"}):n.createElement(n.Fragment,null,e.getValue()))}},86368:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"textarea-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},326:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TextareaCell:()=>u});var n=r(49244),o=r(13363),i=r(86368),a=r(88592),s=r(65227);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{"time-cell":(0,e.css)(n||(t=["\n padding: 4px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},32108:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TimeCell:()=>p});var n=r(49244),o=r(13363),i=r(72919),a=r(74353),s=r.n(a),l=r(73498),c=r(46987),u=r(886);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAbstract:()=>p});var n=r(97036),o=r(71618);function i(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(t,e),r=t,n&&i(r.prototype,n),o&&i(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(n.DynamicTypeAbstract);p=d([(0,o.injectable)()],p)},73105:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getGridCellComponent",value:function(e,t){return this.getDynamicType(e).getGridCellComponent(t)}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},75131:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDependencyTypeIcon:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(76762);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetCustomMetadataIcon:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(6059);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetCustomMetadataValue:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(52197);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellPropertyIcon:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(28648);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellPropertyValue:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(66606);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellScheduleActionsSelect:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(54790);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellVersionIdSelect:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(53228);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetVersionPreviewFieldLabel:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(54944);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetActions:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(98425);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetLink:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAssetPreview:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(58752);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellAsset:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellCheckbox:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(53732);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDateTime:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(6406);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDate:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(6406);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDocumentLink:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellDocument:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellLanguageSelect:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(10061);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellObjectLink:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellObject:()=>v});var n=r(49244),o=r(57412),i=r(71618),a=r(46053),s=r(53637);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellOpenElement:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(51676);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellSelect:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(94678);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellText:()=>y});var n=r(49244),o=r(57412),i=r(67824),a=r(71618);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellTextarea:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(326);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeGridCellTime:()=>y});var n=r(49244),o=r(57412),i=r(71618),a=r(32108);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},y=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeListingRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},99473:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeMetadataAbstract:()=>u});var n=r(47587),o=r(7478),i=r(71618);function a(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"getGridCellComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/GridCellRegistry"]).getGridCellComponent(this.dynamicTypeGridCellType.id,e)}},{key:"getFieldFilterComponent",value:function(e){return n.container.get(o.serviceIds["DynamicTypes/FieldFilterRegistry"]).getComponent(this.dynamicTypeFieldFilterType.id,e)}}])&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();u=c([(0,i.injectable)()],u)},94088:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(n=[{key:"getTypeSelectionTypes",value:function(){var e=new Map;return this.dynamicTypes.forEach((function(t,r){t.visibleInTypeSelection&&e.set(r,t)})),e}}])&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},132:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataAsset:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataCheckbox:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataDate:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataDocument:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataInput:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataObject:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataSelect:()=>b});var n=r(49244),o=r(71618),i=r(99473),a=r(57412),s=r(7478),l=r(36337);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeMetaDataTextarea:()=>b});var n=r(71618),o=r(99473),i=r(57412),a=r(7478),s=r(36337),l=r(65227);function c(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},v=function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":g(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{BlockContent:()=>d});var n=r(49244),o=r(82964),i=r(28440),a=r(46501),s=r(52734),l=r(80188);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(e){var t=e.title,r=e.fields,c=e.operation,d=e.children,p=r.map((function(e){return{title:n.createElement(n.Fragment,null,t," ",e.name),forceRender:!0,children:n.createElement(i.FormListProvider,{field:e,operation:c},Array.isArray(d)?d.map((function(e,t){return n.createElement(a.ObjectComponent,function(e){for(var t=1;t0&&n.createElement(o.Accordion,{items:p}))}]})}},17681:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Block:()=>u});var n=r(49244),o=r(88738),i=r(22201);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Consent:()=>l});var n=r(49244),o=r(860),i=r(72919);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&n.createElement("span",null,"(",u,")"))}},48441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ExternalImage:()=>d});var n=r(49244),o=r(17089),i=r(42209),a=r(72919),s=r(18700),l=r(37473),c=r(78291);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{ExternalImageFooter:()=>d});var n=r(49244),o=r(860),i=r(72919),a=r(98308),s=r(554),l=r(78291),c=r(37473);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{LocalizedFields:()=>f});var n=r(49244),o=r(81793),i=r(46501),a=r(39756),s=r(78898);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.children,r=(0,s.useLanguageSelection)().currentLanguage;return n.createElement(o.LocalizedFieldsProvider,{locales:[r]},n.createElement(a.Space,{className:"w-full",direction:"vertical",size:"small"},null==t?void 0:t.map((function(e,t){return n.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{LocalizedFieldsContext:()=>o,LocalizedFieldsProvider:()=>i});var n=r(49244),o=(0,n.createContext)(void 0),i=function(e){var t=e.locales,r=e.children;return(0,n.useMemo)((function(){return n.createElement(o.Provider,{value:{locales:t}},r)}),[t,r])}},7541:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useLocalizedFields:()=>i});var n=r(49244),o=r(81793),i=function(){return(0,n.useContext)(o.LocalizedFieldsContext)}},77615:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstract:()=>c});var n=r(71618),o=r(65227);function i(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=!1,(r=a(r="isCollectionType"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"getObjectDataFormItemProps",value:function(e){return{className:"w-full",label:e.title,required:!0===e.mandatory,hidden:!0===e.invisible,tooltip:"string"==typeof e.tooltip&&e.tooltip.length>0?(0,o.respectLineBreak)(e.tooltip,!1):void 0}}}])&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();c=l([(0,n.injectable)()],c)},47422:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},73695:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractDate:()=>O});var n=r(49244),o=r(77615),i=r(74353),a=r.n(i),s=r(40968);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractInput:()=>p});var n=r(49244),o=r(77615),i=r(72919);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,n=[{key:"getObjectDataComponent",value:function(e){return(r=t,n="getObjectDataComponent",o=this,s=f(d(1&(a=3)?r.prototype:r),n,o),2&a&&"function"==typeof s?function(e){return s.apply(o,e)}:s)([i(i({},e),{},{multiSelect:!0})]);var r,n,o,a,s}}],n&&s(r.prototype,n),o&&s(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(5115).DynamicTypeObjectDataAbstractSelect)},30886:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractNumeric:()=>v});var n=r(49244),o=r(77615),i=r(72919);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataAbstractSelect:()=>v});var n=r(49244),o=r(77615),i=r(32254),a=r(72635);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataBlock:()=>m});var n=r(49244),o=r(77615),i=r(17681);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;tm});var m=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataConsent:()=>p});var n=r(49244),o=r(77615),i=r(80153);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataDateRange:()=>p});var n=r(49244),o=r(77615),i=r(40968);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataExternalImage:()=>p});var n=r(49244),o=r(77615),i=r(48441);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="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},n(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;th});var h=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,n=new Array(r),o=0;o0?new RegExp(e.regex,null===(r=e.regexFlags)||void 0===r?void 0:r.join("")):void 0}]})}}],n&&a(r.prototype,n),o&&a(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,o}(r(58303).DynamicTypeObjectDataAbstractInput)},17879:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataLocalizedFields:()=>m});var n=r(49244),o=r(77615),i=r(65985);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataNumericRange:()=>g});var n=r(49244),o=r(77324);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataPassword:()=>p});var n=r(49244),o=r(77615),i=r(72919);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataRgbaColor:()=>O});var n=r(49244),o=r(77615),i=r(72919),a=r(72635);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataSlider:()=>y});var n=r(49244),o=r(30886),i=r(76160),a=r(37473);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataTextarea:()=>p});var n=r(49244),o=r(77615),i=r(88592);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectDataTime:()=>p});var n=r(49244),o=r(77615),i=r(40968);function a(e){return a="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},a(e)}function s(e,t){for(var r=0;r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;ru});var u=function(e){function t(){var e,r,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,s=new Array(a),l=0;l{"use strict";r.r(t),r.d(t,{Accordion:()=>f});var n=r(49244),o=r(82964),i=r(46501),a=r(50999);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{FieldContainer:()=>c});var n=r(49244),o=r(860),i=r(46501);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=function(e){var t=e.children;e.collapsible,e.collapsed;return n.createElement(o.Flex,{className:"w-full",gap:{x:"extra-small",y:0}},t.map((function(e){return n.createElement(o.Flex,{flex:1,key:e.name},n.createElement(i.ObjectComponent,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Panel:()=>d});var n=r(49244),o=r(46501),i=r(50999),a=r(39756),s=r(80188);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Region:()=>f,availableRegions:()=>u});var n=r(36338),o=r(49244),i=r(46501);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t0;if(h||(p=1),d[u.north]>0)for(var m=0;m0)for(var y=0;y0)for(var v=0;v0)for(var b=0;b0)for(var O=0;O{"use strict";r.r(t),r.d(t,{Tabpanel:()=>d});var n=r(49244),o=r(46501),i=r(72919),a=r(80188),s=r(50999);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Text:()=>a});var n=r(49244),o=r(43092),i=r(50999),a=function(e){return n.createElement(i.BaseView,{border:e.border,collapsed:e.collapsed,collapsible:e.collapsible,title:e.title},n.createElement(o.SanitizeHtml,{html:e.html}))}},36143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutAbstract:()=>c});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=i((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}));c=l([(0,n.injectable)()],c)},28734:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutRegistry:()=>d});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,n&&o(r.prototype,n),i&&o(r,i),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n,i}(r(97036).DynamicTypeRegistryAbstract);d=f([(0,n.injectable)()],d)},62883:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutAccordion:()=>m});var n=r(49244),o=r(36143),i=r(15447);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutFieldContainer:()=>m});var n=r(49244),o=r(36143),i=r(24551);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutFieldset:()=>g});var n=r(49244),o=r(36143),i=r(9323);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutPanel:()=>m});var n=r(49244),o=r(36143),i=r(9323);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutRegion:()=>m});var n=r(49244),o=r(36143),i=r(65797);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutTabpanel:()=>m});var n=r(49244),o=r(36143),i=r(50291);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{DynamicTypeObjectLayoutText:()=>m});var n=r(49244),o=r(36143),i=r(20896);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t){for(var r=0;r{"use strict";r.r(t),r.d(t,{AccordionView:()=>a});var n=r(82964),o=r(49244),i=["collapsed","bordered"];var a=function(e){var t=e.collapsed,r=e.bordered,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{BaseView:()=>s});var n=r(49244),o=r(44886),i=r(68856),a=r(72650),s=function(e){return!0===e.border||!0===e.collapsible||!(0,a.isEmptyValue)(e.title)?!0===e.collapsible?n.createElement(o.AccordionView,{bordered:e.border,collapsed:e.collapsed,title:e.title},e.children):n.createElement(i.CardView,{bordered:e.border,title:e.title},e.children):n.createElement(n.Fragment,null,e.children)}},68856:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CardView:()=>a});var n=r(17089),o=r(72650),i=r(49244),a=function(e){return console.log(e.bordered,!0===e.bordered),i.createElement(n.Card,{bordered:!0===e.bordered,title:(0,o.isEmptyValue)(e.title)?void 0:e.title},e.children)}},99257:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(97137),i=r(7478);o.moduleSystem.registerModule({onInit:function(){var e=n.container.get(i.serviceIds["DynamicTypes/FieldFilterRegistry"]);e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Text"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Number"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Select"])),e.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/FieldFilter/Datetime"]));var t=n.container.get(i.serviceIds["DynamicTypes/GridCellRegistry"]);t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Text"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Textarea"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Select"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Checkbox"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Date"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Time"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DateTime"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetLink"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/ObjectLink"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DocumentLink"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/OpenElement"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetPreview"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetActions"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/DependencyTypeIcon"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataIcon"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetCustomMetadataValue"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyIcon"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/PropertyValue"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/ScheduleActionsSelect"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/VersionsIdSelect"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/AssetVersionPreviewFieldLabel"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Asset"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Object"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/Document"])),t.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/GridCell/LanguageSelect"]));var r=n.container.get(i.serviceIds["DynamicTypes/MetadataRegistry"]);r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Asset"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Checkbox"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Date"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Document"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Input"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Object"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Select"])),r.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/Metadata/Textarea"]));var o=n.container.get(i.serviceIds["DynamicTypes/ObjectLayoutRegistry"]);o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Panel"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Tabpanel"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Accordion"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Region"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Text"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/Fieldset"])),o.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectLayout/FieldContainer"]));var a=n.container.get(i.serviceIds["DynamicTypes/ObjectDataRegistry"]);a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Input"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Textarea"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Password"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Select"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/MultiSelect"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Language"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/LanguageMultiSelect"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Country"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/CountryMultiSelect"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/User"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/BooleanSelect"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Numeric"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/NumericRange"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Slider"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Consent"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Firstname"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Lastname"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Email"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Gender"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/RgbaColor"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Date"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Datetime"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/DateRange"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Time"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/ExternalImage"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/Block"])),a.registerDynamicType(n.container.get(i.serviceIds["DynamicTypes/ObjectData/LocalizedFields"]))}})},97036:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeAbstract:()=>u,DynamicTypeRegistryAbstract:()=>f});var n=r(71618);function o(e,t){for(var r=0;r=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},u=i((function e(){s(this,e)}));u=c([(0,n.injectable)()],u);var f=function(){return i((function e(){var t,r,n;s(this,e),t=this,r="dynamicTypes",n=new Map,(r=a(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}),[{key:"registerDynamicType",value:function(e){if(this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" already exists'));this.dynamicTypes.set(e.id,e)}},{key:"getDynamicType",value:function(e){var t=this.dynamicTypes.get(e);if(void 0===t)throw new Error('Dynamic type with id "'.concat(e,'" not found'));return t}},{key:"getDynamicTypes",value:function(){return Array.from(this.dynamicTypes.values())}},{key:"overrideDynamicType",value:function(e){if(!this.dynamicTypes.has(e.id))throw new Error('Dynamic type with id "'.concat(e.id,'" not found'));this.dynamicTypes.set(e.id,e)}},{key:"hasDynamicType",value:function(e){return this.dynamicTypes.has(e)}}])}();f=c([(0,n.injectable)()],f)},73143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DynamicTypeRegistryContext:()=>a,DynamicTypeRegistryProvider:()=>s});var n=r(49244);function o(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)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;rc,DynamicTypesResolverTargets:()=>s,targetCallbackNameMap:()=>l});var s={GRID_CELL:"GRID_CELL",FIELD_FILTER:"FIELD_FILTER"},l=i(i({},s.GRID_CELL,"getGridCellComponent"),s.FIELD_FILTER,"getFieldFilterComponent"),c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"resolve",value:function(e){var t=e.target,r=e.dynamicType;if(!this.hasCallable(t,r))throw new Error("DynamicTypeResolver: ".concat(r.id," does not have a callable ").concat(l[t]));return function(e){return r[l[t]].bind(r)(e)}}},{key:"hasCallable",value:function(e,t){return void 0!==t[l[e]]&&"function"==typeof t[l[e]]}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},38608:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDynamicTypeResolver:()=>c});var n=r(49244),o=r(22005),i=r(73143),a=r(47587);function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(49244),o=r(23676),i=r(47587),a=r(7478),s=r(92020),l=r(84896),c=r(22154);function u(e){var t,r=e.context,u=e.tabKey,f=(0,c.useWidgetManager)().getOpenedMainWidget,d=(0,s.useElementDraft)(r.config.id,r.type),p=d.editorType;if(d.isLoading)return n.createElement(o.Content,{loading:!0});if(void 0===p)return n.createElement(l.default,null);var h=f(),m=i.container.get(p.tabManagerServiceId).getTab(u),g=i.container.get(a.serviceIds.widgetManager);if(void 0===m||void 0===h)return n.createElement(l.default,null);var y=g.getWidget(null!==(t=null==h?void 0:h.getComponent())&&void 0!==t?t:"");if(void 0===(null==y?void 0:y.getContextProvider))return n.createElement(l.default,null);var v=y.getContextProvider(r,m.children);return void 0===v?n.createElement(l.default,null):v}},61312:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DetachedTab:()=>s});var n=r(49244),o=r(84896),i=r(49392),a=r(7204),s=function(e){var t=e.tabKey,r=(0,a.useGlobalElementContext)().context;return void 0===r?n.createElement(o.default,null):n.createElement(i.default,{context:r,tabKey:t})}},84896:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(49244);function o(){return n.createElement("div",null,"Missing context!")}},84085:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(7478),i=r(97137),a=r(61312);i.moduleSystem.registerModule({onInit:function(){n.container.get(o.serviceIds.widgetManager).registerWidget({name:"detachable-tab",component:a.DetachedTab})}})},13429:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{tabbarToolbar:(0,e.css)(n||(t=["\n &.tabs-toolbar-layout {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n .tabs-toolbar-layout__tabbar {\n display: flex;\n overflow: hidden;\n height: calc(100% - ","px);\n width: 100%;\n }\n\n .tabs-toolbar-layout__toolbar {\n display: flex;\n overflow: hidden;\n height: ","px;\n width: 100%;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.sizeXXL,o.sizeXXL)}}),{hashPriority:"low"})},99691:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabsToolbarView:()=>i});var n=r(49244),o=r(13429),i=function(e){var t=(0,o.useStyles)().styles;return n.createElement("div",{className:["tabs-toolbar-layout",t.tabbarToolbar].join(" ")},n.createElement("div",{className:"tabs-toolbar-layout__tabbar"},e.renderTabbar),n.createElement("div",{className:"tabs-toolbar-layout__toolbar"},e.renderToolbar))}},11102:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TypeRegistry:()=>l});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n={},(r=i(r="registry"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){if(this.has(e.name))throw new Error('Type with the name "'.concat(e.name,'" already exists.'));this.registry[e.name]=e}},{key:"get",value:function(e){if(!this.has(e))throw new Error('No type with the name "'.concat(e,'" found'));return this.registry[e]}},{key:"has",value:function(e){return e in this.registry}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},37213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TAB_DEPENDENCIES:()=>p,TAB_NOTES_AND_EVENTS:()=>m,TAB_PROPERTIES:()=>f,TAB_SCHEDULE:()=>d,TAB_TAGS:()=>g,TAB_WORKFLOW:()=>h});var n=r(54212),o=r(49244),i=r(27539),a=r(16491),s=r(92683),l=r(72672),c=r(12443),u=r(77627),f={key:"properties",label:"properties.label",workspacePermission:"properties",children:o.createElement(i.PropertiesContainer,null),icon:o.createElement(n.Icon,{value:"settings2"}),isDetachable:!0},d={key:"schedule",label:"schedule.label",workspacePermission:"settings",children:o.createElement(a.ScheduleTabContainer,null),icon:o.createElement(n.Icon,{value:"schedule-outlined"}),isDetachable:!0},p={key:"dependencies",label:"dependencies.label",children:o.createElement(s.DependenciesTabContainer,null),icon:o.createElement(n.Icon,{value:"hierarchy"}),isDetachable:!0},h={key:"workflow",label:"workflow.label",userPermission:"workflow_details",children:o.createElement(l.WorkflowTabContainer,null),icon:o.createElement(n.Icon,{value:"workflow"}),isDetachable:!0},m={key:"notes-events",label:"notes-and-events.label",userPermission:"notes_events",children:o.createElement(c.NotesAndEventsTabContainer,null),icon:o.createElement(n.Icon,{value:"view-details"}),isDetachable:!0},g={key:"tags",label:"tags.label",userPermission:"tags_assignment",children:o.createElement(u.TagsTabContainer,null),icon:o.createElement(n.Icon,{value:"tag-two-tone"}),isDetachable:!0}},29227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabsContainer:()=>f});var n=r(49244),o=r(86878),i=r(78291),a=r(47587);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Pagination:()=>s});var n=r(49244),o=r(72635),i=r(98666),a=r(70161),s=function(e){var t;return e.isLoading?n.createElement(a.PaginationSkeleton,null):e.isLoading||0!==e.totalItems?n.createElement(i.Pagination,{current:e.page,defaultPageSize:20,onChange:e.onChange,pageSizeOptions:["10","20","50","100"],showSizeChanger:!0,showTotal:function(e){return(0,o.t)("pagination.show-total",{total:e})},total:null!==(t=e.totalItems)&&void 0!==t?t:0}):n.createElement(n.Fragment,null)}},20181:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyle:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{skeleton:(0,e.css)(n||(t=["\n width: 100%;\n display: flex;\n gap: 4px;\n align-items: center;\n justify-content: flex-end;\n \n .square {\n .ant-skeleton-button {\n width: 24px;\n height: 24px;\n min-width: unset; \n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},70161:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PaginationSkeleton:()=>a});var n=r(49244),o=r(72919),i=r(20181),a=function(){var e=(0,i.useStyle)().styles;return n.createElement("div",{className:e.skeleton},n.createElement(o.Skeleton.Input,{active:!0,size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,className:"square",size:"small"}),n.createElement(o.Skeleton.Button,{active:!0,size:"small"}))}},67410:(e,t,r)=>{"use strict";r.r(t),r.d(t,{RequiredByPanel:()=>O});var n=r(54212),o=r(49244),i=r(78291),a=r(98400),s=r(11722),l=r(19684),c=r(23676),u=r(5052),f=r(95916),d=r(57468),p=r(88992);function h(e){return h="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},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{RequiresPanel:()=>O});var n=r(49244),o=r(54212),i=r(78291),a=r(98400),s=r(11722),l=r(19684),c=r(23676),u=r(5052),f=r(95916),d=r(57468),p=r(88992);function h(e){return h="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},h(e)}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{Table:()=>s});var n=r(1530),o=r(49244),i=r(78291),a=r(48442),s=function(e){var t=e.items,r=e.isLoading,s=(0,i.useTranslation)().t,l=(0,n.createColumnHelper)(),c=[l.accessor("subType",{header:s("dependencies.columns.subtype"),meta:{type:"dependency-type-icon"},size:60}),l.accessor("path",{header:s("dependencies.columns.path"),meta:{autoWidth:!0},size:300}),l.accessor("actions",{header:s("dependencies.columns.open"),meta:{type:"open-element"},size:50})];return o.createElement(a.Grid,{autoWidth:!0,columns:c,data:t,isLoading:r,resizable:!0})}},98400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,useDependencyGetCollectionByElementTypeQuery:()=>i});var n=r(51430),o=r(60909).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL,n.tagNames.DEPENDENCIES],endpoints:{dependencyGetCollectionByElementType:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_DEPENDENCIES(r.elementType,r.id)}}}}),i=o.useDependencyGetCollectionByElementTypeQuery},60909:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useDependencyGetCollectionByElementTypeQuery:()=>a});var n=r(62115),o=["Dependencies"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{dependencyGetCollectionByElementType:e.query({query:function(e){return{url:"/pimcore-studio/api/dependencies/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,dependencyMode:e.dependencyMode}}},providesTags:["Dependencies"]})}},overrideExisting:!1}),a=i.useDependencyGetCollectionByElementTypeQuery},92683:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DependenciesTabContainer:()=>s});var n=r(49244),o=r(89398),i=r(67410),a=r(28e3),s=function(){return n.createElement(a.SplitLayout,{leftItem:{minSize:450,size:50,children:n.createElement(o.RequiresPanel,null)},resizeAble:!0,rightItem:{minSize:450,size:50,children:n.createElement(i.RequiredByPanel,null)},withDivider:!0})}},72036:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AddNoteForm:()=>h});var n=r(49244),o=r(78291),i=r(72919),a=r(88592),s=r(2928),l=r(23676),c=r(32254);function u(e){return u="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},u(e)}var f=["elementType"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){var t,r=e.elementType,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{"use strict";r.r(t),r.d(t,{AddNoteModal:()=>y});var n=r(49244),o=r(72919),i=r(78291),a=r(46946),s=r(72036),l=r(51966),c=r(2928);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==i[0]?i[0]:"",n=i.length>1?i[1]:void 0,o=i.length>2&&void 0!==i[2]?i[2]:"",e.next=5,d({elementType:t.elementType,id:t.elementId,createNote:{type:r,title:n,description:o}});case 5:case"end":return e.stop()}}),e)}))),O.apply(this,arguments)}function w(){return(w=p(f().mark((function e(r){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,b(r.type,r.title,r.description);case 3:t.setOpen(!1),u.resetFields(),v(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return n.createElement(o.Modal,{okButtonProps:{loading:y},okText:r("save"),onCancel:function(){t.setOpen(!1),u.resetFields()},onOk:function(){u.submit()},open:t.open,title:n.createElement(a.ModalTitle,{iconName:"PlusCircleOutlined"},r("notes-and-events.new-note"))},n.createElement(s.AddNoteForm,{elementType:t.elementType,form:u,onFinish:function(e){return w.apply(this,arguments)}}))}},2928:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>a,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>l,useNoteElementGetCollectionQuery:()=>c,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>f});var n=r(51430);function o(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)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useNoteDeleteByIdMutation:()=>s,useNoteElementCreateMutation:()=>c,useNoteElementGetCollectionQuery:()=>l,useNoteElementGetTypeCollectionQuery:()=>u,useNoteGetCollectionQuery:()=>a});var n=r(62115),o=["Notes"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{noteGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes",params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.id),method:"DELETE"}},invalidatesTags:["Notes"]}),noteElementGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize,sortBy:e.sortBy,sortOrder:e.sortOrder,filter:e.filter,fieldFilters:e.fieldFilters}}},providesTags:["Notes"]}),noteElementCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/notes/".concat(e.elementType,"/").concat(e.id),method:"POST",body:e.createNote}},invalidatesTags:["Notes"]}),noteElementGetTypeCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/notes/type/".concat(e.elementType)}},providesTags:["Notes"]})}},overrideExisting:!1}),a=i.useNoteGetCollectionQuery,s=i.useNoteDeleteByIdMutation,l=i.useNoteElementGetCollectionQuery,c=i.useNoteElementCreateMutation,u=i.useNoteElementGetTypeCollectionQuery},12443:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotesAndEventsTabContainer:()=>y});var n=r(49244),o=r(7643),i=r(2928),a=r(98666),s=r(78291),l=r(23676),c=r(88992),u=r(89184),f=r(51430);function d(e){return d="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},d(e)}function p(){p=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==d(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function h(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{NotesAndEventsTabView:()=>C});var n=r(49244),o=r(78291),i=r(65227),a=r(59026),s=r(4802),l=r(5052),c=r(23676),u=r(95916),f=r(57468),d=r(72919),p=r(39756),h=r(72635),m=r(48442),g=r(1530),y=r(82964),v=r(69314),b=r(98308),O=r(97292),w=r(14611),S=r(80292);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=P(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==P(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){return P="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},P(e)}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}(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 j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&(t=!0,e.data.forEach((function(e){var t=structuredClone(e);"object"===P(t.data)?t[_("notes-and-events.value")]=t.data.path:t[_("notes-and-events.value")]=(0,i.respectLineBreak)(t.data),delete t.data,r.push(t)})));var o,a=(0,g.createColumnHelper)(),s=[a.accessor(h.default.t("notes-and-events.name"),{}),a.accessor(h.default.t("notes-and-events.type"),{size:120}),a.accessor(h.default.t("notes-and-events.value"),{size:310,meta:{autoWidth:!0}})];return function(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{table:(0,e.css)(n||(t=["\n .ant-table {\n .ant-table-tbody {\n \n .properties-table--actions-column {\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n }\n \n .headline {\n padding: ","px;\n margin: 0;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.colorPrimary,o.colorPrimaryHover,o.paddingXS)}}))},79446:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Table:()=>T});var n=r(49244),o=r(48442),i=r(1530),a=r(78291),s=r(54392),l=r(92020),c=r(26648),u=r(98308),f=r(45176),d=r(94483),p=r(88992),h=r(97292),m=r(80188);function g(e){return g="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},g(e)}function y(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(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 v(){v=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function b(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r=0,F=(0,c.usePropertyGetCollectionForElementByTypeAndIdQuery)({elementType:A,id:_}),Q=F.data,V=F.isLoading,z=E((0,n.useState)([]),2),U=z[0],G=z[1],W=E((0,n.useState)([]),2),X=W[0],q=W[1],H="properties",Z=null!==(t=null==R?void 0:R.modifiedCells[H])&&void 0!==t?t:[];(0,n.useEffect)((function(){void 0!==Q&&void 0===(null==R?void 0:R.changes.properties)&&Array.isArray(Q.items)&&M(function(e){return e.map((function(e){return w(w({},e),{},{rowId:crypto.randomUUID()})}))}(null==Q?void 0:Q.items))}),[Q]),(0,n.useEffect)((function(){B&&(G(L.filter((function(e){return!e.inherited}))),q(L.filter((function(e){return e.inherited}))))}),[L]),(0,n.useEffect)((function(){Z.length>0&&void 0===(null==R?void 0:R.changes.properties)&&$(H,[])}),[R,Z]);var Y=(0,i.createColumnHelper)(),K=function(e){return[Y.accessor("type",{header:x("properties.columns.type"),meta:{type:"property-icon"},size:40}),Y.accessor("key",{header:x("properties.columns.key"),meta:{editable:!0},size:200}),Y.accessor("predefinedName",{header:x("properties.columns.name"),size:200}),Y.accessor("description",{header:x("properties.columns.description"),size:200}),Y.accessor("data",{header:x("properties.columns.data"),meta:{type:"property-value",editable:"own"===e,autoWidth:!0},size:300}),Y.accessor("inheritable",{header:x("properties.columns.inheritable"),size:70,meta:{type:"checkbox",editable:"own"===e,config:{align:"center"}}}),Y.accessor("actions",{header:x("properties.columns.actions"),size:70,cell:function(t){return n.createElement("div",{className:"properties-table--actions-column"},["document","asset","object"].includes(t.row.original.type)&&null!==t.row.original.data&&n.createElement(u.IconButton,{icon:{value:"group"},onClick:(r=v().mark((function e(){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T({type:j(t.row.original.type),id:t.row.original.data.id});case 2:case"end":return e.stop()}}),e)})),o=function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){b(i,n,o,a,s,"next",e)}function s(e){b(i,n,o,a,s,"throw",e)}a(void 0)}))},function(){return o.apply(this,arguments)}),type:"link"}),"own"===e&&n.createElement(u.IconButton,{icon:{value:"trash"},onClick:function(){N(t.row.original)},type:"link"}));var r,o}})]},J=y(K("own")),ee=y(K("inherited"));return n.createElement("div",{className:C.table},n.createElement(n.Fragment,null,n.createElement(o.Grid,{autoWidth:!0,columns:J,data:U,isLoading:V,modifiedCells:Z,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,r=e.value,n=e.rowData,o=y(null!=L?L:[]),i=o.findIndex((function(e){return e.key===n.key&&!e.inherited})),a=w(w({},o.at(i)),{},S({},t,r));o[i]=a;var s=o.filter((function(e){return e.key===a.key&&!e.inherited})).length>1;(0,f.verifyUpdate)(r,t,"key",s,O,g)&&(I(n.key,a),$(H,[].concat(y(Z),[{rowIndex:n.rowId,columnId:t}])))},resizable:!0,setRowId:function(e){return e.rowId}}),"all"===r&&n.createElement(n.Fragment,null,n.createElement(m.Box,{padding:{y:"small"}},n.createElement(h.Text,{strong:!0},x("properties.inherited.properties"))),n.createElement(o.Grid,{autoWidth:!0,columns:ee,data:X,resizable:!0}))))}},26648:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>a,usePropertyGetCollectionQuery:()=>i});var n=r(51430),o=r(56981).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{propertyGetCollectionForElementByTypeAndId:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_PROPERTIES(r.elementType,r.id)}}}}),i=o.usePropertyGetCollectionQuery,a=o.usePropertyGetCollectionForElementByTypeAndIdQuery},56981:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,usePropertyDeleteMutation:()=>l,usePropertyGetCollectionForElementByTypeAndIdQuery:()=>c,usePropertyGetCollectionQuery:()=>a,usePropertyUpdateMutation:()=>s});var n=r(62115),o=["Properties"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{propertyGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/properties",params:{elementType:e.elementType,filter:e.filter}}},providesTags:["Properties"]}),propertyUpdate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"PUT",body:e.updatePredefinedProperty}},invalidatesTags:["Properties"]}),propertyDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.id),method:"DELETE"}},invalidatesTags:["Properties"]}),propertyGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/properties/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Properties"]})}},overrideExisting:!1}),a=i.usePropertyGetCollectionQuery,s=i.usePropertyUpdateMutation,l=i.usePropertyDeleteMutation,c=i.usePropertyGetCollectionForElementByTypeAndIdQuery},27539:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PropertiesContainer:()=>S});var n=r(49244),o=r(78291),i=r(52734),a=r(26648),s=r(50992),l=r(79446),c=r(65474),u=r(65854),f=r(4802),d=r(5052),p=r(23676),h=r(92020),m=r(88992),g=r(60956),y=r(39756),v=r(14611),b=r(32254);function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}(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,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0,t=void 0!==V.current&&V.current.length>0;if(!e||!t)return void N();if(W(F.current))return void R();var r={key:F.current,type:V.current,predefinedName:"Custom",data:null,inherited:!1,inheritable:!1,rowId:crypto.randomUUID()};_(r)}()}},t("properties.add-custom-property.add"))),!x&&n.createElement(v.Split,{size:"mini"},n.createElement(b.Select,{className:"min-w-100",filterOption:function(e,t){var r;return(null!==(r=null==t?void 0:t.label)&&void 0!==r?r:"").toLowerCase().includes(e.toLowerCase())},key:"properties-select",loading:G,onSelect:function(e){var t,r=null==U||null===(t=U.items)||void 0===t?void 0:t.find((function(t){return t.id===e}));if(void 0===r)return;if(W(r.name))return void R();var n={key:r.name,type:r.type,data:r.data,inherited:!1,inheritable:r.inheritable,additionalAttributes:r.additionalAttributes,config:r.config,description:r.description,predefinedName:r.name,rowId:crypto.randomUUID()};_(n)},options:null==U||null===(e=U.items)||void 0===e?void 0:e.map((function(e){return{label:e.name,value:e.id}})),placeholder:t("properties.predefined-properties"),showSearch:!0}),n.createElement(f.IconTextButton,{icon:{value:"PlusCircleOutlined"},key:t("properties.add-custom-property"),onClick:function(){P(!0)}},t("properties.add-custom-property")))))),n.createElement(l.Table,{propertiesTableTab:w,showDuplicatePropertyModal:R,showMandatoryModal:N}));function W(e){return void 0!==(null==A?void 0:A.find((function(t){return t.key===e&&!t.inherited})))}}},55691:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{table:o(n||(t=["\n .ant-table-content {\n \n .schedule-table--actions-column {\n display: flex;\n align-items: center;\n \n .ant-btn-icon {\n color: ",";\n \n &:hover {\n color: ",";\n }\n }\n }\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.colorPrimary,i.colorPrimaryHover)}}))},48734:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Table:()=>v});var n=r(78291),o=r(49244),i=r(1530),a=r(48442),s=r(55691),l=r(98308),c=r(88992),u=r(92020),f=r(860);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0===(null==w?void 0:w.changes.schedules)&&x(P,[])}),[w]),o.createElement("div",{className:d.table},o.createElement(a.Grid,{columns:C,data:r,modifiedCells:T,onUpdateCellData:function(e){e.rowIndex;var t=e.columnId,n=e.value,o=e.rowData,i=g(null!=r?r:[]).find((function(e){return e.id===o.id}));if(void 0!==i){var a=h(h({},i),{},m({},t,n));S(a),x(P,[].concat(g(T),[{rowIndex:k(o),columnId:t}]))}},setRowId:k}))}},98447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useSaveSchedules:()=>p});var n=r(49244),o=r(70944),i=r(79118),a=r(78291),s=r(92020);function l(e){return l="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},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(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 d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r2&&void 0!==arguments[2])||arguments[2],l=f((0,o.useScheduleUpdateForElementByTypeAndIdMutation)(),2),d=l[0],p=l[1],h=p.isLoading,m=p.isSuccess,g=p.isError,y=f((0,n.useState)(!1),2),v=y[0],b=y[1],O=(0,s.useElementDraft)(t,e),w=O.element,S=O.schedules,E=O.resetSchedulesChanges,x=(0,i.useMessage)(),P=(0,a.useTranslation)().t;(0,n.useEffect)((function(){v&&(r&&x.success(P("save-success")),E())}),[v]),(0,n.useEffect)((function(){b(m)}),[m]),(0,n.useEffect)((function(){g&&r&&x.error(P("save-failed"))}),[g]);var T=function(){var r,n=(r=c().mark((function r(){return c().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0!==(null==w?void 0:w.changes.schedules)){r.next=3;break}return b(!0),r.abrupt("return");case 3:return r.next=5,d({elementType:e,id:t,body:{items:null==S?void 0:S.map((function(e){return{id:e.id>0?e.id:null,date:e.date,action:e.action,version:e.version,active:e.active}}))}});case 5:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,o){var i=r.apply(e,t);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return n.apply(this,arguments)}}();return{isLoading:h,isSuccess:v,isError:g,saveSchedules:T}}},70944:(e,t,r)=>{"use strict";r.r(t),r.d(t,{api:()=>o,useScheduleCreateForElementByTypeAndIdMutation:()=>l,useScheduleDeleteByIdMutation:()=>i,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>a,useScheduleUpdateForElementByTypeAndIdMutation:()=>s});var n=r(51430),o=r(63885).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL],endpoints:{scheduleGetCollectionForElementByTypeAndId:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_SCHEDULES(r.elementType,r.id)}},scheduleUpdateForElementByTypeAndId:{invalidatesTags:function(e,t,r){return n.invalidatingTags.ELEMENT_SCHEDULES(r.elementType,r.id)}}}}),i=o.useScheduleDeleteByIdMutation,a=o.useScheduleGetCollectionForElementByTypeAndIdQuery,s=o.useScheduleUpdateForElementByTypeAndIdMutation,l=o.useScheduleCreateForElementByTypeAndIdMutation},63885:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useScheduleCreateForElementByTypeAndIdMutation:()=>c,useScheduleDeleteByIdMutation:()=>a,useScheduleGetCollectionForElementByTypeAndIdQuery:()=>s,useScheduleUpdateForElementByTypeAndIdMutation:()=>l});var n=r(62115),o=["Schedule"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{scheduleDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.id),method:"DELETE"}},invalidatesTags:["Schedule"]}),scheduleGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Schedule"]}),scheduleUpdateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"PUT",body:e.body}},invalidatesTags:["Schedule"]}),scheduleCreateForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/schedules/".concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Schedule"]})}},overrideExisting:!1}),a=i.useScheduleDeleteByIdMutation,s=i.useScheduleGetCollectionForElementByTypeAndIdQuery,l=i.useScheduleUpdateForElementByTypeAndIdMutation,c=i.useScheduleCreateForElementByTypeAndIdMutation},16491:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ScheduleTabContainer:()=>j});var n=r(49244),o=r(78291),i=r(5806),a=r(52734),s=r(70944),l=r(48734),c=r(4802),u=r(5052),f=r(23676),d=r(554),p=r(60956),h=r(88992),m=r(92020),g=r(98447),y=r(860),v=r(97292),b=r(39756),O=r(80188);function w(e){return w="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},w(e)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{AssignedTagsTable:()=>S});var n=r(49244),o=r(15837),i=r(1530),a=r(78291),s=r(48442),l=r(21144),c=r(49747),u=r(98308),f=r(88992),d=r(72919);function p(e){return p="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},p(e)}function h(){h=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==p(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useCreateTreeStructure:()=>o});var n=r(54212),o=function(){return{createTreeStructure:function(e){var t=e.tags;return[{key:"root",title:"All Tags",icon:(0,n.Icon)({value:"folder"}),children:t.length>0?function e(t){return t.map((function(t){return{key:t.id.toString(),title:t.text,icon:(0,n.Icon)({value:"tag-02"}),children:!0===t.hasChildren?e(t.children):[]}}))}(t):[]}]}}}},15160:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagsTreeContainer:()=>u});var n=r(15837),o=r(68214),i=r(49244),a=r(23676),s=r(88992);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TagsTree:()=>p});var n=r(49244),o=r(26236),i=r(21144),a=r(49747),s=r(860),l=r(29184),c=r(11248);function u(e){return u="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},u(e)}function f(){f=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=p(e[o],e,i);if("throw"!==l.type){var c=l.arg,f=c.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var p=function(e){var t=e.elementId,r=e.elementType,u=e.tags,p=e.setFilter,h=e.isLoading,m=e.defaultCheckedTags,g=e.setDefaultCheckedTags,y=(0,(0,o.useCreateTreeStructure)().createTreeStructure)({tags:u}),v=(0,i.useOptimisticUpdate)().updateTagsForElementByTypeAndId,b=(0,a.flattenArray)(u),O=function(){var e,n=(e=f().mark((function e(n){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:v({elementType:r,id:t,flatTags:b,checkedTags:n.map(Number)}),g(n);case 2:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return n.apply(this,arguments)}}();return n.createElement(s.Flex,{gap:"small",vertical:!0},n.createElement(c.SearchInput,{loading:h,onChange:function(e){var t=e.target.value;p(t)},placeholder:"Search"}),n.createElement(l.TreeElement,{checkStrictly:!0,checkedKeys:{checked:m,halfChecked:[]},defaultExpandedKeys:["root"],onCheck:function(e){O(e.checked)},treeData:y,withCustomSwitcherIcon:!0}))}},21144:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useOptimisticUpdate:()=>s});var n=r(15837),o=r(89184);function i(e){return i="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},i(e)}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=function(){var e=(0,o.useAppDispatch)();return{updateTagsForElementByTypeAndId:function(t){return e(n.api.util.updateQueryData("tagGetCollectionForElementByTypeAndId",{elementType:t.elementType,id:t.id},(function(e){var r=t.flatTags.filter((function(e){return t.checkedTags.includes(e.id)})).reduce((function(e,t){return Object.assign(e,a({},t.id,t))}),{});return{totalItems:t.checkedTags.length,items:r}})))}}}},49661:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useShortcutActions:()=>h});var n=r(15837),o=r(89184),i=r(88992),a=r(92020);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function d(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,s,"next",e)}function s(e){d(i,n,o,a,s,"throw",e)}a(void 0)}))}}var h=function(){var e=(0,i.useElementContext)(),t=e.id,r=e.elementType,s=(0,o.useAppDispatch)(),l=(0,a.useElementDraft)(t,r).element,u=null==l?void 0:l.parentId,d=function(){var e=p(f().mark((function e(){var o,i;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s(n.api.endpoints.tagGetCollectionForElementByTypeAndId.initiate({elementType:r,id:u}));case 2:return o=e.sent,e.next=5,s(n.api.endpoints.tagGetCollectionForElementByTypeAndId.initiate({elementType:r,id:t}));case 5:return i=e.sent,e.abrupt("return",{parentTags:o,currentTags:i});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),h=function(){var e=p(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Promise.resolve(d()).then(function(){var e=p(f().mark((function e(o){var i,a,l,u,d,p,h,m,g;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d=o.parentTags,p=o.currentTags,h=null!==(i=null===(a=d.data)||void 0===a?void 0:a.items)&&void 0!==i?i:[],m=null!==(l=null===(u=p.data)||void 0===u?void 0:u.items)&&void 0!==l?l:[],g=c(c({},h),m),s(n.api.util.updateQueryData("tagGetCollectionForElementByTypeAndId",{elementType:r,id:t},(function(e){return{totalItems:g.length,items:g}})));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=function(){var e=p(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Promise.resolve(d()).then(function(){var e=p(f().mark((function e(o){var i,a,l,c;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=o.parentTags,c=null!==(i=null===(a=l.data)||void 0===a?void 0:a.items)&&void 0!==i?i:[],s(n.api.util.updateQueryData("tagGetCollectionForElementByTypeAndId",{elementType:r,id:t},(function(e){return{totalItems:Object.keys(c).length,items:c}})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){console.error(e)}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return{applyFolderTags:h,removeCurrentAndApplyFolderTags:m}}},15837:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useTagAssignToElementMutation:()=>u,useTagBatchOperationToElementsByTypeAndIdMutation:()=>f,useTagDeleteByIdMutation:()=>c,useTagGetByIdQuery:()=>s,useTagGetCollectionForElementByTypeAndIdQuery:()=>d,useTagGetCollectionQuery:()=>a,useTagUnassignFromElementMutation:()=>p,useTagUpdateByIdMutation:()=>l});var n=r(62115),o=["Tags","Tags for Element"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{tagGetCollection:e.query({query:function(e){return{url:"/pimcore-studio/api/tags",params:{page:e.page,pageSize:e.pageSize,elementType:e.elementType,filter:e.filter,parentId:e.parentId}}},providesTags:["Tags"]}),tagGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id)}},providesTags:["Tags"]}),tagUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"PUT",body:e.updateTagParameters}},invalidatesTags:["Tags"]}),tagDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.id),method:"DELETE"}},invalidatesTags:["Tags"]}),tagAssignToElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/assign/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagBatchOperationToElementsByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/batch/".concat(e.operation,"/").concat(e.elementType,"/").concat(e.id),method:"POST"}},invalidatesTags:["Tags for Element"]}),tagGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id)}},providesTags:["Tags for Element"]}),tagUnassignFromElement:e.mutation({query:function(e){return{url:"/pimcore-studio/api/tags/".concat(e.elementType,"/").concat(e.id,"/").concat(e.tagId),method:"DELETE"}},invalidatesTags:["Tags for Element"]})}},overrideExisting:!1}),a=i.useTagGetCollectionQuery,s=i.useTagGetByIdQuery,l=i.useTagUpdateByIdMutation,c=i.useTagDeleteByIdMutation,u=i.useTagAssignToElementMutation,f=i.useTagBatchOperationToElementsByTypeAndIdMutation,d=i.useTagGetCollectionForElementByTypeAndIdQuery,p=i.useTagUnassignFromElementMutation},77627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TagsTabContainer:()=>h});var n=r(49244),o=r(72919),i=r(78291),a=r(91326),s=r(15160),l=r(15837),c=r(49661),u=r(28e3),f=r(23676),d=r(5052),p=r(88992),h=function(){var e,t,r=(0,i.useTranslation)().t,h=(0,p.useElementContext)(),m=h.id,g=h.elementType,y=(0,c.useShortcutActions)(),v=y.applyFolderTags,b=y.removeCurrentAndApplyFolderTags,O=(0,l.useTagGetCollectionForElementByTypeAndIdQuery)({elementType:g,id:m}),w=O.data,S=O.isLoading;return n.createElement(u.SplitLayout,{leftItem:{minSize:315,size:25,children:n.createElement(f.Content,{loading:S,padded:!0},n.createElement(s.TagsTreeContainer,{isLoading:S,tags:null!==(e=null==w?void 0:w.items)&&void 0!==e?e:[]}))},resizeAble:!0,rightItem:{minSize:300,size:75,children:n.createElement(f.Content,{padded:!0},n.createElement(d.Header,{title:r("tags.assigned-tags-text")},n.createElement(o.Dropdown.Button,{menu:{items:[{label:"Remove current element tags & Apply folder tags",key:"1",onClick:b}]},onClick:v},r("tags.apply-folder-tags"))),n.createElement("div",{className:"pimcore-tags-content"},n.createElement(a.AssignedTagsTable,{isLoading:S,tags:Object.values(null!==(t=null==w?void 0:w.items)&&void 0!==t?t:{})})))},withDivider:!0})}},49747:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}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 a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);ri});var i=function(e){var t=[],r=function(e){var o,i=n(e);try{for(i.s();!(o=i.n()).done;){var a=o.value;t.push(a),void 0!==a.children&&r(a.children)}}catch(e){i.e(e)}finally{i.f()}};return r(e),t}},45176:(e,t,r)=>{"use strict";r.r(t),r.d(t,{verifyUpdate:()=>n});var n=function(e,t,r,n,o,i){return t===r&&""===e?(o(),!1):!n||(i(),!1)}},50702:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createVersionAccordionItem:()=>b});var n=r(49244),o=r(69314),i=r(65227),a=r(72919),s=r(54212),l=r(78291),c=r(98308),u=r(4802),f=r(860),d=r(39756),p=r(29664);function h(e){return h="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},h(e)}function m(){m=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==h(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?y:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function g(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{api:()=>a,useVersionAssetDownloadByIdQuery:()=>s,useVersionCleanupForElementByTypeAndIdMutation:()=>l,useVersionDeleteByIdMutation:()=>c,useVersionGetByIdQuery:()=>u,useVersionGetCollectionForElementByTypeAndIdQuery:()=>f,useVersionPublishByIdMutation:()=>d,useVersionUpdateByIdMutation:()=>p});var n=r(51430);function o(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)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useVersionAssetDownloadByIdQuery:()=>a,useVersionCleanupForElementByTypeAndIdMutation:()=>h,useVersionDeleteByIdMutation:()=>d,useVersionGetByIdQuery:()=>c,useVersionGetCollectionForElementByTypeAndIdQuery:()=>p,useVersionImageStreamByIdQuery:()=>s,useVersionPdfStreamByIdQuery:()=>l,useVersionPublishByIdMutation:()=>f,useVersionUpdateByIdMutation:()=>u});var n=r(62115),o=["Versions"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{versionAssetDownloadById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/asset/download")}},providesTags:["Versions"]}),versionImageStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/image/stream")}},providesTags:["Versions"]}),versionPdfStreamById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id,"/pdf/stream")}},providesTags:["Versions"]}),versionGetById:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id)}},providesTags:["Versions"]}),versionUpdateById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"PUT",body:e.updateVersion}},invalidatesTags:["Versions"]}),versionPublishById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"POST"}},invalidatesTags:["Versions"]}),versionDeleteById:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]}),versionGetCollectionForElementByTypeAndId:e.query({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),params:{page:e.page,pageSize:e.pageSize}}},providesTags:["Versions"]}),versionCleanupForElementByTypeAndId:e.mutation({query:function(e){return{url:"/pimcore-studio/api/versions/".concat(e.elementType,"/").concat(e.id),method:"DELETE"}},invalidatesTags:["Versions"]})}},overrideExisting:!1}),a=i.useVersionAssetDownloadByIdQuery,s=i.useVersionImageStreamByIdQuery,l=i.useVersionPdfStreamByIdQuery,c=i.useVersionGetByIdQuery,u=i.useVersionUpdateByIdMutation,f=i.useVersionPublishByIdMutation,d=i.useVersionDeleteByIdMutation,p=i.useVersionGetCollectionForElementByTypeAndIdQuery,h=i.useVersionCleanupForElementByTypeAndIdMutation},40243:(e,t,r)=>{"use strict";r.r(t),r.d(t,{VersionsTabContainer:()=>h});var n=r(49244),o=r(92725),i=r(7315),a=r(23676),s=r(88992);function l(e){return l="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},l(e)}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==l(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function u(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){u(i,n,o,a,s,"next",e)}function s(e){u(i,n,o,a,s,"throw",e)}a(void 0)}))}}function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{useStyles:()=>s});var s=(0,r(91539).createStyles)((function(e){var t,r,o=e.token,s=e.css,l=function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{VersionsView:()=>E});var n=r(49244),o=r(88498),i=r(52734),a=r(78291),s=r(65474),l=r(65854),c=r(4802),u=r(5052),f=r(23676),d=r(28e3),p=r(50702),h=r(35234),m=r(860);function g(e){return g="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},g(e)}function y(e){return function(e){if(Array.isArray(e))return S(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 v(){v=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",y={};function b(){}function O(){}function w(){}var S={};c(S,a,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,a)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,i,a,s){var l=f(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==g(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,r,n){var o=d;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var c=f(t,r,n);if("normal"===c.type){if(o=n.done?m:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=m,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function b(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(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,t){if(e){if("string"==typeof e)return S(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&n.createElement(n.Fragment,null,n.createElement(m.Flex,{className:"w-full",gap:"small",justify:"space-between"},n.createElement(i.Button,{className:C?"compare-button":"",key:P("version.compare-versions"),onClick:function(){M([]),k(!C)}},P("version.compare-versions")),n.createElement(c.IconTextButton,{icon:{value:"trash"},key:P("version.clear-unpublished"),loading:A,onClick:$},P("version.clear-unpublished"))),Q)),t.length>0&&n.createElement(h.AccordionTimeline,{items:V}))},rightItem:{size:75,children:n.createElement(f.Content,{padded:!0},n.createElement(m.Flex,{justify:"center"},L.length>0&&C&&n.createElement(x,{versionIds:L}),L.length>0&&!C&&n.createElement(E,{setDetailedVersions:M,versionId:L[0],versions:t})))}}));function z(e){var t=y(L),r=t.some((function(t){return t.id===e.id}));2!==t.length||r||(t=[]),r?t.splice(t.indexOf(e),1):t.push(e),M(t)}}},1899:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useWorkflowActionSubmitMutation:()=>i,useWorkflowGetDetailsQuery:()=>a});var n=r(51430),o=r(30101).api.enhanceEndpoints({addTagTypes:[n.tagNames.ASSET_DETAIL,n.tagNames.DATA_OBJECT_DETAIL,n.tagNames.WORKFLOW],endpoints:{workflowGetDetails:{providesTags:function(e,t,r){return n.providingTags.ELEMENT_WORKFLOW(r.elementType,r.elementId)}},workflowActionSubmit:{invalidatesTags:function(e,t,r){return n.providingTags.ELEMENT_WORKFLOW(r.submitAction.elementType,r.submitAction.elementId)}}}}),i=o.useWorkflowActionSubmitMutation,a=o.useWorkflowGetDetailsQuery},30101:(e,t,r)=>{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useWorkflowActionSubmitMutation:()=>s,useWorkflowGetDetailsQuery:()=>a});var n=r(62115),o=["Workflows"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{workflowGetDetails:e.query({query:function(e){return{url:"/pimcore-studio/api/workflows/details",params:{elementId:e.elementId,elementType:e.elementType}}},providesTags:["Workflows"]}),workflowActionSubmit:e.mutation({query:function(e){return{url:"/pimcore-studio/api/workflows/action",method:"POST",body:e.submitAction}},invalidatesTags:["Workflows"]})}},overrideExisting:!1}),a=i.useWorkflowGetDetailsQuery,s=i.useWorkflowActionSubmitMutation},72672:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WorkflowTabContainer:()=>d});var n=r(49244),o=r(78291),i=r(89172),a=r(5052),s=r(23676),l=r(72919),c=r(73003),u=r(47536),f=r(34604),d=function(){var e=(0,o.useTranslation)().t,t=(0,f.useWorkflow)(),r=t.workflowDetailsData,d=t.isFetchingWorkflowDetails;return n.createElement(s.Content,{loading:d,none:void 0===(null==r?void 0:r.items)||0===(null==r?void 0:r.items.length),noneOptions:{text:e("workflow.no-workflows-found")},padded:!0},n.createElement(a.Header,{title:e("workflow.headline")}),n.createElement(l.Space,{direction:"vertical"},n.createElement(c.WorkFlowProvider,null,void 0!==(null==r?void 0:r.items)&&(null==r?void 0:r.items.length)>0&&r.items.map((function(e,t){return n.createElement(i.WorkflowCard,{key:t,workflow:e})})),n.createElement(u.WorkflowLogModal,null))))}},41358:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabManager:()=>c});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},c=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"type",""),i(this,"tabs",[])},t=[{key:"getTabs",value:function(){return this.tabs}},{key:"getTab",value:function(e){return this.tabs.find((function(t){return t.key===e}))}},{key:"register",value:function(e){void 0===this.getTab(e.key)?this.tabs.push(e):this.tabs.splice(this.tabs.findIndex((function(t){return t.key===e.key})),1,e)}}],t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();c=l([(0,n.injectable)()],c)},62235:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconWrapper:()=>s});var n=r(49244),o=r(72919);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n,o,i;function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{useStyle:()=>s});var s=(0,r(91539).createStyles)((function(e){var t=e.token,r=e.css;return{editorTabsContainer:r(n||(n=a(["\n width: 100%;\n "]))),editorTabs:r(o||(o=a(["\n height: 100%;\n width: 100%;\n overflow: hidden;\n\n .ant-tabs-content {\n display: flex;\n height: 100%;\n }\n\n &.ant-tabs .ant-tabs-tab {\n margin: 0 ","px !important;\n transition: color .2s;\n\n display: flex;\n height: 32px;\n }\n\n .ant-tabs-tabpane {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .ant-tabs-content-holder {\n overflow: auto;\n }\n &.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ","\n }\n &.ant-tabs-top >.ant-tabs-nav {\n margin-bottom: 0;\n \n .ant-tabs-nav-wrap {\n display: flex;\n justify-content: flex-end;\n \n .ant-tabs-nav-list {\n display: flex;\n align-items: center;\n }\n }\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n display: flex;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n \n .detachable-button {\n display: none;\n color: ",";\n height: ","px;\n width: ","px;\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n\n .detachable-button {\n display: flex;\n color: ",";\n }\n }\n }\n "])),t.paddingXS,t.colorPrimaryActive,t.paddingSM,t.paddingSM,t.paddingXS,t.paddingXS,t.paddingTabs,t.Tabs.itemUnselectedIconColor,t.Tabs.itemUnselectedIconColor,t.controlHeightSM,t.controlHeightSM,t.colorIconHover,t.colorPrimaryActive,t.colorPrimary),onlyActiveLabel:r(i||(i=a(["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n //border-bottom: 3px solid ",";\n }\n "])),t.colorPrimaryActive)}}),{hashPriority:"low"})},86878:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EditorTabs:()=>E});var n=r(49244),o=r(81400),i=r(72919),a=r(46942),s=r.n(a),l=r(82814),c=r(6056),u=r(62235),f=r(88992),d=r(26662),p=r(92020),h=r(3638),m=r(26621),g=r(98308);function y(e){return y="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},y(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&k(v[0].key)}),[v]);var B=null===(t=v)||void 0===t?void 0:t.map((function(e){return e.key})),F=function(e){var t=e.target.id;return B.find((function(e){return t.includes(e)}))};return v=null===(r=v=v.filter((function(e){return(void 0===e.hidden||!e.hidden())&&(!(void 0!==e.workspacePermission&&void 0!==(null==I?void 0:I.permissions)&&!(0,h.checkElementPermission)(I.permissions,e.workspacePermission))&&!(void 0!==e.userPermission&&!(0,m.isAllowed)(e.userPermission)))})))||void 0===r?void 0:r.map((function(e){var t=b(b({},e),{},{originalLabel:e.label,icon:n.createElement(u.IconWrapper,{activeTabKey:C,tabKey:e.key,tabKeyInFocus:A,tabKeyOutOfFocus:L,title:e.label},e.icon)});return!0===t.isDetachable&&(t.label=n.createElement(n.Fragment,null,n.createElement("span",null,t.label),n.createElement(g.IconButton,{className:"detachable-button",icon:{value:"share-03"},onClick:function(){!function(e){E(e)}({tabKey:e.key})},type:"link"}))),t})),n.createElement("div",{className:S.editorTabsContainer,ref:N},n.createElement(i.Tabs,{className:s()(S.editorTabs,O({},S.onlyActiveLabel,y)),defaultActiveKey:a,items:v,onBlur:function(e){M(F(e))},onFocus:function(e){D(F(e))},onTabClick:function(e){k(e)},tabBarExtraContent:{left:n.createElement(c.ElementToolbar,{editorTabsWidth:$,elementType:T,id:P})}}))}},82814:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useDetachTab:()=>u});var n=r(22154),o=r(47587),i=r(72635);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{addTagTypes:()=>o,api:()=>i,useElementDeleteMutation:()=>a,useElementFolderCreateMutation:()=>l,useElementGetDeleteInfoQuery:()=>s,useElementGetIdByPathQuery:()=>c});var n=r(62115),o=["Elements"],i=n.api.enhanceEndpoints({addTagTypes:o}).injectEndpoints({endpoints:function(e){return{elementDelete:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete/").concat(e.id),method:"DELETE"}},invalidatesTags:["Elements"]}),elementGetDeleteInfo:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/delete-info/").concat(e.id)}},providesTags:["Elements"]}),elementFolderCreate:e.mutation({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/folder/").concat(e.parentId),method:"POST",body:e.folderData}},invalidatesTags:["Elements"]}),elementGetIdByPath:e.query({query:function(e){return{url:"/pimcore-studio/api/elements/".concat(e.elementType,"/path"),params:{elementPath:e.elementPath}}},providesTags:["Elements"]})}},overrideExisting:!1}),a=i.useElementDeleteMutation,s=i.useElementGetDeleteInfoQuery,l=i.useElementFolderCreateMutation,c=i.useElementGetIdByPathQuery},73520:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getElementIcon:()=>n});var n=function(e,t){var r,n;return void 0!==(null===(r=e.customAttributes)||void 0===r?void 0:r.icon)&&null!==(null===(n=e.customAttributes)||void 0===n?void 0:n.icon)?e.customAttributes.icon:void 0!==e.icon&&null!==e.icon?e.icon:t}},38147:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useElementApi:()=>u});var n=r(72272),o=r(45032);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,l)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useElementContext:()=>a});var n=r(49244),o=r(7559),i=r(22335),a=function(){var e=(0,n.useContext)(o.AssetContext).id,t=(0,n.useContext)(i.DataObjectContext).id;if(0!==e)return{id:e,elementType:"asset"};if(0!==t)return{id:t,elementType:"data-object"};throw new Error("No element context found")}},92020:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useElementDraft:()=>c});var n=r(15208),o=r(24920);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{useElementHelper:()=>l});var n=r(52047),o=r(47775);function i(e){return i="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},i(e)}function a(){a=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),s=new D(n||[]);return o(a,"_invoke",{value:C(e,r,s)}),a}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&n.call(x,l)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==i(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function s(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}var l=function(){var e=(0,n.useAssetHelper)().openAsset,t=(0,o.useDataObjectHelper)().openDataObject;function r(){var n;return n=a().mark((function r(n){return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:"asset"===n.type?e({config:{id:n.id}}):"data-object"===n.type?t({config:{id:n.id}}):console.log("Opening "+n.type+" is not supported yet.");case 1:case"end":return r.stop()}}),r)})),r=function(){var e=this,t=arguments;return new Promise((function(r,o){var i=n.apply(e,t);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))},r.apply(this,arguments)}return{openElement:function(e){return r.apply(this,arguments)},mapToElementType:function(e){switch(e){case"asset":return"asset";case"document":return"document";case"data-object":case"object":case"dataObject":return"data-object";default:throw new Error("Unknown element type: "+e)}}}}},7204:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useGlobalElementContext:()=>a});var n=r(37888),o=r(17792),i=r(22154),a=function(){var e,t=(0,i.useWidgetManager)().getOpenedMainWidget,r=(0,n.useGlobalAssetContext)().context,a=(0,o.useGlobalDataObjectContext)().context,s=null===(e=t())||void 0===e?void 0:e.getComponent();return"asset-editor"===s?{context:r}:"data-object-editor"===s?{context:a}:{context:void 0}}},54627:(e,t,r)=>{"use strict";r.r(t);r(84085)},3638:(e,t,r)=>{"use strict";r.r(t),r.d(t,{checkElementPermission:()=>n});var n=function(e,t){return!0===e[t]}},46402:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(e,t){for(var r=0;rs});var s=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,"entries",[]),i(this,"buttons",[])},t=[{key:"getEntries",value:function(){return this.entries}},{key:"getEntry",value:function(e){return this.entries.find((function(t){return t.key===e}))}},{key:"registerEntry",value:function(e){void 0===this.getEntry(e.key)?this.entries.push(e):this.entries.splice(this.entries.findIndex((function(t){return t.key===e.key})),1,e)}},{key:"getButtons",value:function(){return this.buttons}},{key:"getButton",value:function(e){return this.buttons.find((function(t){return t.key===e}))}},{key:"registerButton",value:function(e){void 0===this.getButton(e.key)?this.buttons.push(e):this.buttons.splice(this.buttons.findIndex((function(t){return t.key===e.key})),1,e)}}],t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()},20515:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PagerContainer:()=>l});var n=r(36236),o=r(98666),i=r(49244);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{SearchContainer:()=>l});var n=r(49244),o=r(36236);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);ru&&c(!0)}),[r]),l?n.createElement(s,{"aria-label":e.label,onSearch:function(e){t({idSearchTerm:e,page:1})},placeholder:e.label,size:"small"}):n.createElement(n.Fragment,null)}},92908:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UseFileUploader:()=>v});var n=r(72272),o=r(51430),i=r(89184),a=r(49244),s=r(85668),l=r(64414),c=r(24901),u=r(78060);function f(e){return f="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},f(e)}function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function m(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){m(i,n,o,a,s,"next",e)}function s(e){m(i,n,o,a,s,"throw",e)}a(void 0)}))}}var y=[],v=function(e){var t=e.parentId,r=(0,l.useJobs)().addJob,f=(0,i.useAppDispatch)(),p=(0,a.useContext)(s.UploadContext),m=function(){var e=g(h().mark((function e(r){var i,a,s;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.fileList,r.file,void 0!==t){e.next=3;break}throw new Error("Parent ID is required");case 3:a=i.map((function(e){return e.status})),s=a.every((function(e){return"done"===e})),p.setUploadFileList(i),p.setUploadingNode(t),s&&(f(n.api.util.invalidateTags(o.invalidatingTags.ASSET_TREE_ID(parseInt(t)))),p.setUploadFileList([]),p.setUploadingNode(null));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=g(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y.includes(t.file.uid)||(y=[].concat(d(y),[t.file.uid]),r((0,c.createJob)({title:"Upload Zip",topics:[u.topics["zip-upload-finished"],u.topics["asset-upload-finished"]].concat(d(u.defaultTopics)),action:function(){var e=g(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.promise;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),parentFolder:p.uploadingNode}))),e.next=3,m(t);case 3:void 0!==t.file.response&&t.promiseResolve(t.file.response.jobRunId);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{uploadFile:m,uploadZip:v}}},85668:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UploadContext:()=>a,UploadProvider:()=>s});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{jobAdapter:()=>i,jobDeleted:()=>u,jobReceived:()=>l,jobUpdated:()=>c,selectAll:()=>d,selectById:()=>p,slice:()=>a});var n=r(89184),o=r(20038),i=(0,o.createEntityAdapter)({}),a=(0,o.createSlice)({name:"execution-engine",initialState:i.getInitialState(),reducers:{jobReceived:i.addOne,jobUpdated:i.updateOne,jobDeleted:i.removeOne}});(0,n.injectSliceWithState)(a);var s=a.actions,l=s.jobReceived,c=s.jobUpdated,u=s.jobDeleted,f=i.getSelectors((function(e){return e["execution-engine"]})),d=f.selectAll,p=f.selectById},64414:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useJobs:()=>c});var n=r(89184),o=r(60568);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{executionEngineModule:()=>f});var n=r(47587),o=r(97137),i=r(7478),a=r(62018),s=r(87907),l=r(78772),c=r(69180),u=r(68634),f={onInit:function(){var e=n.container.get(i.serviceIds["ExecutionEngine/JobComponentRegistry"]);e.registerComponent("default",a.NotificationJobContainer),e.registerComponent("download",s.NotificationJobContainer),e.registerComponent("zip-upload",l.NotificationJobContainer),e.registerComponent("delete",c.NotificationJobContainer),e.registerComponent("clone",u.NotificationJobContainer)}};o.moduleSystem.registerModule(f)},75617:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{JobStatus:()=>n}),function(e){e.QUEUED="queued",e.RUNNING="running",e.SUCCESS="success",e.FINISHED_WITH_ERRORS="finished_with_errors",e.FAILED="failed"}(n||(n={}))},51771:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(75617),o=r(99378),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"clone",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},68634:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(49244),o=r(75617),i=r(77397),a=r(64414),s=r(97239),l=r(78291),c=r(89184),u=r(72272),f=r(51430);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(75617),o=r(99378),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"default",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:void 0}}},62018:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>m});var n=r(49244),o=r(75617),i=r(77397),a=r(64414),s=r(97239),l=r(78291);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(75617),o=r(99378),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"delete",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},69180:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(49244),o=r(75617),i=r(77397),a=r(64414),s=r(97239),l=r(78291),c=r(89184),u=r(72272),f=r(51430);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(75617),o=r(99378),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"download",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{downloadUrl:e.downloadUrl}}}},87907:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>m});var n=r(49244),o=r(75617),i=r(77397),a=r(64414),s=r(97239),l=r(78291);function c(e){return c="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},c(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{getUniqueId:()=>o});var n=0;function o(){return n++}},24901:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createJob:()=>i});var n=r(75617),o=r(99378),i=function(e){return{id:(0,o.getUniqueId)(),action:e.action,type:"zip-upload",title:e.title,status:n.JobStatus.QUEUED,topics:e.topics,config:{parentFolder:e.parentFolder}}}},78772:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NotificationJobContainer:()=>v});var n=r(49244),o=r(75617),i=r(77397),a=r(64414),s=r(97239),l=r(78291),c=r(89184),u=r(72272),f=r(51430);function d(e){return d="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},d(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.css,i=e.token;return{jobList:o(n||(t=["\n &.ant-collapse>.ant-collapse-item >.ant-collapse-header {\n padding: ","px 0;\n }\n\n &.ant-collapse-ghost >.ant-collapse-item >.ant-collapse-content >.ant-collapse-content-box {\n padding: ","px 0;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),i.paddingXXS,i.paddingXXS)}}))},75851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobList:()=>h});var n=r(49244),o=r(57853),i=r(51391),a=r(80839),s=r(78291),l=r(82964),c=r(64414);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;return{buttonStyle:(0,e.css)(n||(t=["\n padding-left: 2px;\n padding-right: 2px;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}))},97239:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobView:()=>f});var n=r(94680),o=r(75617),i=r(49244),a=r(72919),s=r(54212),l=r(51391),c=r(83291),u=r(78291),f=function(e){var t,r,f,d=(0,c.useStyles)().styles,p=(0,u.useTranslation)().t;return i.createElement("div",null,i.createElement(l.AnimatePresence,null,i.createElement(l.motion.div,{animate:{opacity:1,height:"auto"},exit:{opacity:0,height:1},initial:{opacity:0,height:1},key:e.status},e.status===o.JobStatus.RUNNING&&i.createElement(n.Progressbar,{description:p("jobs.job.in-progress",{title:e.title}),percent:e.progress,progressStatus:p("jobs.job.progress",{progress:e.progress})}),e.status===o.JobStatus.SUCCESS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"check-circle-filled"}),i.createElement("span",null,p("jobs.job.finished",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(t=e.successButtonActions)||void 0===t?void 0:t.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FINISHED_WITH_ERRORS&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"exclamation-circle-filled"}),i.createElement("span",null,p("jobs.job.finished-with-errors",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(r=e.finishedWithErrorsButtonActions)||void 0===r?void 0:r.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))),e.status===o.JobStatus.FAILED&&i.createElement(a.Flex,{align:"center",justify:"space-between"},i.createElement(a.Flex,{align:"center",gap:"small"},i.createElement(s.Icon,{value:"close-circle-filled"}),i.createElement("span",null,p("jobs.job.failed",{title:e.title}))),i.createElement(a.Flex,{gap:"small"},null===(f=e.failureButtonActions)||void 0===f?void 0:f.map((function(e,t){return i.createElement(a.Button,{className:d.buttonStyle,key:t,onClick:e.handler,type:"link"},e.label)})))))))}},57853:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Job:()=>u});var n=r(49244),o=r(47587),i=r(7478),a=r(62018);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t,r=null!==(t=(0,o.useInjection)(i.serviceIds["ExecutionEngine/JobComponentRegistry"]).getComponentByType(e.type))&&void 0!==t?t:a.NotificationJobContainer;return n.createElement(r,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{Notification:()=>u});var n=r(49244),o=r(64414),i=r(85844),a=r(75851),s=r(78291);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0,t=l((0,i.useNotification)(),1)[0],r=(0,s.useTranslation)().t;return(0,n.useEffect)((function(){e&&t.open({message:r("jobs.notification.title"),description:n.createElement(a.JobList,null),duration:0,closable:!1,placement:"bottomRight"}),e||t.destroy()}),[e]),n.createElement(n.Fragment,null)}},63496:(e,t,r)=>{"use strict";r.r(t),r.d(t,{JobComponentRegistry:()=>l});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r="components",n=new Map,(r=i(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"registerComponent",value:function(e,t){this.components.set(e,t)}},{key:"getComponentByType",value:function(e){return this.components.get(e)}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},78060:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultTopics:()=>o,topics:()=>n});var n={"patch-finished":"patch-finished","zip-download-ready":"zip-download-ready","csv-download-ready":"csv-download-ready","handler-progress":"handler-progress","job-finished-with-errors":"job-finished-with-errors","job-failed":"job-failed","asset-upload-finished":"asset-upload-finished","zip-upload-finished":"zip-upload-finished","deletion-finished":"deletion-finished","cloning-finished":"cloning-finished"},o=[n["handler-progress"],n["job-finished-with-errors"],n["job-failed"]]},74938:(e,t,r)=>{"use strict";r.r(t);var n=r(47587),o=r(97137),i=r(7478),a=r(55894),s=r(30681),l=r(95353),c=r(92921),u=r(7501),f=r(84270),d=r(66702),p=r(97080),h=r(64564),m=r(667),g=r(61195),y=r(12265),v=r(66510),b=r(27730),O=r(72302),w=r(31926),S=r(85177),E=r(32395),x=r(8530),P=r(18008),T=r(83663),j=r(42490),C=r(14763),k=r(1239),_=r(56264),A=r(33165),D=r(86111),R=r(12395),L=r(983),M=r(67294),I=r(33986),N=r(73748),$=r(21965),B=r(27467),F=r(85674),Q=r(98112),V=r(3008),z=r(30645),U=r(82764),G=r(80410),W=r(19559),X=r(25115),q=r(78282),H=r(61580),Z=r(46841),Y=r(75931),K=r(66650),J=r(49801),ee=r(23302),te=r(46222),re=r(97673),ne=r(8890),oe=r(4021),ie=r(35219),ae=r(94791),se=r(60719),le=r(95055),ce=r(96843),ue=r(31894),fe=r(88436),de=r(24176),pe=r(75482),he=r(99169),me=r(75016),ge=r(21433),ye=r(18722),ve=r(28438),be=r(64817),Oe=r(99553),we=r(24419),Se=r(38621),Ee=r(63694),xe=r(89475),Pe=r(9755),Te=r(22483),je=r(59897),Ce=r(1784),ke=r(16747),_e=r(63753),Ae=r(74548),De=r(44252),Re=r(17488),Le=r(91182),Me=r(24538),Ie=r(99170),Ne=r(32559),$e=r(54138),Be=r(78587),Fe=r(39400),Qe=r(23386),Ve=r(70943),ze=r(55029),Ue=r(78400),Ge=r(10666),We=r(95357),Xe=r(34119),qe=r(42819),He=r(85597),Ze=r(55252),Ye=r(85228),Ke=r(21898),Je=r(67708),et=r(56706),tt=r(90409),rt=r(19228),nt=r(48290),ot=r(60001),it=r(94480),at=r(42669),st=r(57790);o.moduleSystem.registerModule({onInit:function(){var e=n.container.get(i.serviceIds.iconLibrary);e.register({name:"camera",component:a.default}),e.register({name:"folder",component:l.default}),e.register({name:"widget-default",component:c.default}),e.register({name:"caret-up-outlined",component:u.default}),e.register({name:"caret-down-outlined",component:f.default}),e.register({name:"chevron-up",component:d.default}),e.register({name:"chevron-up-small",component:p.default}),e.register({name:"chevron-down-small",component:y.default}),e.register({name:"chevron-up-wide",component:h.default}),e.register({name:"chevron-down-wide",component:g.default}),e.register({name:"chevron-down",component:m.default}),e.register({name:"home",component:v.default}),e.register({name:"refresh",component:b.default}),e.register({name:"icon-tools",component:O.default}),e.register({name:"image-05",component:w.default}),e.register({name:"edit",component:S.default}),e.register({name:"data-sheet",component:E.default}),e.register({name:"data-management-2",component:x.default}),e.register({name:"history-outlined",component:P.default}),e.register({name:"schedule-outlined",component:T.default}),e.register({name:"hierarchy",component:j.default}),e.register({name:"view-details",component:C.default}),e.register({name:"tag-two-tone",component:k.default}),e.register({name:"workflow",component:_.default}),e.register({name:"unordered-list-outlined",component:A.default}),e.register({name:"close-circle-filled",component:D.default}),e.register({name:"check-circle-filled",component:R.default}),e.register({name:"info-circle-filled",component:L.default}),e.register({name:"exclamation-circle-filled",component:M.default}),e.register({name:"dots-horizontal",component:I.default}),e.register({name:"target",component:N.default}),e.register({name:"info-circle-outlined",component:$.default}),e.register({name:"left-outlined",component:B.default}),e.register({name:"right-outlined",component:F.default}),e.register({name:"rich-edit",component:Q.default}),e.register({name:"download-02",component:V.default}),e.register({name:"pin-02",component:z.default}),e.register({name:"edit-outlined",component:U.default}),e.register({name:"expand-alt-outlined",component:G.default}),e.register({name:"eye-outlined",component:W.default}),e.register({name:"share-alt-outlined",component:X.default}),e.register({name:"translation",component:q.default}),e.register({name:"volume-max",component:H.default}),e.register({name:"file-code-01",component:Z.default}),e.register({name:"file-question-02",component:Y.default}),e.register({name:"file-02",component:K.default}),e.register({name:"file-check-02",component:J.default}),e.register({name:"file-x-03",component:ee.default}),e.register({name:"presentation-chart-01",component:te.default}),e.register({name:"video-recorder",component:re.default}),e.register({name:"image-01",component:ne.default}),e.register({name:"ellipsis-outlined",component:oe.default}),e.register({name:"focal-point",component:ie.default}),e.register({name:"MinusOutlined",component:ae.default}),e.register({name:"PlusOutlined",component:se.default}),e.register({name:"settings2",component:le.default}),e.register({name:"PlusCircleOutlined",component:ce.default}),e.register({name:"lightning-01",component:Pe.default}),e.register({name:"calender",component:Te.default}),e.register({name:"world",component:je.default}),e.register({name:"user-01",component:Ce.default}),e.register({name:"shield-02",component:ke.default}),e.register({name:"share-03",component:ue.default}),e.register({name:"copy-03",component:fe.default}),e.register({name:"copy-07",component:de.default}),e.register({name:"group",component:pe.default}),e.register({name:"note",component:he.default}),e.register({name:"mainDocument",component:me.default}),e.register({name:"mainAsset",component:ge.default}),e.register({name:"mainObject",component:ye.default}),e.register({name:"mainObjectVariant",component:ve.default}),e.register({name:"check-done-02",component:be.default}),e.register({name:"chevron-selector-vertical",component:Oe.default}),e.register({name:"chevron-selector-horizontal",component:we.default}),e.register({name:"trash",component:xe.default}),e.register({name:"icon",component:De.default}),e.register({name:"close",component:s.default}),e.register({name:"tag-02",component:Re.default}),e.register({name:"no-content",component:Le.default}),e.register({name:"intersect-circle",component:_e.default}),e.register({name:"corner-left-up",component:Ae.default}),e.register({name:"flag-outlined",component:Me.default}),e.register({name:"chevron-right",component:Se.default}),e.register({name:"chevron-left",component:Ee.default}),e.register({name:"draggable",component:Ie.default}),e.register({name:"settings-outlined",component:Ne.default}),e.register({name:"filter-outlined",component:$e.default}),e.register({name:"text-input",component:Be.default}),e.register({name:"calendar-date",component:Fe.default}),e.register({name:"upload-cloud",component:Qe.default}),e.register({name:"export",component:Ve.default}),e.register({name:"grid",component:ze.default}),e.register({name:"spinner",component:Ue.default}),e.register({name:"upload-zip",component:Ge.default}),e.register({name:"type-square",component:We.default}),e.register({name:"clipboard",component:Xe.default}),e.register({name:"scissors-cut",component:qe.default}),e.register({name:"delete-outlined",component:He.default}),e.register({name:"file-download-zip-01",component:Ze.default}),e.register({name:"more",component:Ye.default}),e.register({name:"folder-search",component:Ke.default}),e.register({name:"lock-01",component:Je.default}),e.register({name:"file-lock-02",component:et.default}),e.register({name:"expand-01",component:tt.default}),e.register({name:"refresh-ccw-03",component:rt.default}),e.register({name:"clipboard-check",component:nt.default}),e.register({name:"magic-wand-01",component:ot.default}),e.register({name:"lock-unlock-01",component:it.default}),e.register({name:"question-circle-outlined",component:at.default}),e.register({name:"search-sm",component:st.default})}})},48292:(e,t,r)=>{"use strict";r.r(t),r.d(t,{IconLibrary:()=>l});var n=r(71618);function o(e,t){for(var r=0;r=0;l--)(o=e[l])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},l=function(){return e=function e(){var t,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,r="icons",n=new Map,(r=i(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n},(t=[{key:"register",value:function(e){var t=e.name,r=e.component;this.icons.set(t,r)}},{key:"get",value:function(e){return this.icons.get(e)}},{key:"getIcons",value:function(){return this.icons}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();l=s([(0,n.injectable)()],l)},17916:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createContextMenuItems:()=>a});var n=r(47587),o=r(7478),i=r(72635),a=function(e){var t=e.contextMenuState,r=e.closeContextMenu,a=e.model,s=e.closeWidget;return[{key:"close-tab",label:(0,i.t)("close-tab"),onClick:function(){null!==t&&(s(t.tabNode.getId()),r())}},{key:"close-others",label:(0,i.t)("close-others"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){e.getId()!==t.tabNode.getId()&&s(e.getId())})),r())}},{key:"close-unmodified",label:(0,i.t)("close-unmodified"),onClick:function(){if(null!==t){var e,i=n.container.get(o.serviceIds.widgetManager);null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){var t,r=i.getWidget(null!==(t=e.getComponent())&&void 0!==t?t:""),n=null==r?void 0:r.isModified;void 0!==n&&n(e)||s(e.getId())})),r()}}},{key:"close-all",label:(0,i.t)("close-all"),onClick:function(){var e;null!==t&&(null===(e=a.getActiveTabset())||void 0===e||e.getChildren().forEach((function(e){s(e.getId())})),r())}}]}},82075:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useContextMenu:()=>u});var n=r(10340),o=r(49244),i=r(99310),a=r(22154),s=r(46987);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{useIsAcitveMainWidget:()=>s});var n=r(89184),o=r(13414),i=r(49244),a=r(11400),s=function(){var e=(0,n.useAppSelector)(o.selectMainWidgetContext),t=(0,i.useContext)(a.WidgetContext);return null!==e&&e.nodeId===t.nodeId}},22154:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useWidgetManager:()=>a});var n=r(89184),o=r(13414),i=r(99310),a=function(){var e=(0,n.useAppDispatch)();function t(){var e=n.store.getState(),t=(0,o.selectInnerModel)(e);return i.Model.fromJson(t)}return{openMainWidget:function(t){e((0,o.openMainWidget)(t))},openBottomWidget:function(t){e((0,o.openBottomWidget)(t))},openLeftWidget:function(t){e((0,o.openLeftWidget)(t))},openRightWidget:function(t){e((0,o.openRightWidget)(t))},switchToWidget:function(t){e((0,o.setActiveWidgetById)(t))},closeWidget:function(t){e((0,o.closeWidget)(t))},isMainWidgetOpen:function(e){return void 0!==t().getNodeById(e)},getOpenedMainWidget:function(){var e;return null===(e=t().getActiveTabset())||void 0===e?void 0:e.getSelectedNode()}}}},3240:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetRegistry:()=>d});var n=r(71618),o=r(49244);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},d=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"widgets",[])},(t=[{key:"registerWidget",value:function(e){var t=a(a({},e),{},{component:(0,o.memo)(e.component)});this.widgets.push(t)}},{key:"getWidget",value:function(e){return this.widgets.find((function(t){return t.name===e}))}}])&&s(e.prototype,t),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();d=f([(0,n.injectable)()],d)},55069:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BorderTitleView:()=>u});var n=r(54212),o=r(49244),i=r(72919),a=r(78291);function s(e){return s="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},s(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){var t=e.icon,r=e.title,s=(0,a.useTranslation)().t;return o.createElement(i.Tooltip,{placement:"right",title:s(r)},o.createElement("div",null,o.createElement(n.Icon,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{TabTitleContainer:()=>u});var n=r(99310),o=r(49244),i=r(55069),a=r(31498),s=r(22154);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(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 c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{TabTitleOuterContainer:()=>s});var n=r(49244),o=r(47587),i=r(78148),a=r(7478),s=function(e){var t=e.node,r=t.getComponent(),s=(0,o.useInjection)(a.serviceIds.widgetManager).getWidget(r),l=n.createElement(i.TabTitleContainer,{modified:!1,node:t});return void 0!==(null==s?void 0:s.titleComponent)&&(l=n.createElement(s.titleComponent,{node:t})),n.createElement(n.Fragment,null," ",l," ")}},93756:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r;e.token;return{title:(0,e.css)(n||(t=["\n .ant-space-item {\n display: flex;\n align-items: center;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))))}}),{hashPriority:"low"})},31498:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TabTitleView:()=>p});var n=r(54212),o=r(72919),i=r(52734),a=r(49244),s=r(93756),l=r(78291),c=r(39756);function u(e){return u="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},u(e)}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=function(e){var t=e.icon,r=e.title,u=e.onClose,p=e.onConfirm,h=(0,s.useStyles)().styles,m=(0,l.useTranslation)().t,g=function(){null==u||u()};return a.createElement(c.Space,{className:["widget-manager-tab-title",h.title].join(" "),size:"mini"},a.createElement(n.Icon,function(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{widgetManagerFactory:()=>l});var n=r(49244),o=r(11400),i=r(26246),a=r(47587),s=r(7478),l=function(e){if("inner-widget-manager"===e.getComponent())return n.createElement(i.WidgetManagerInnerContainer,null);var t=a.container.get(s.serviceIds.widgetManager),r=e.getComponent();if(void 0!==r){var l=t.getWidget(r);if(void 0===l)throw new Error("Widget ".concat(r," not found"));var c=l.component;return n.createElement(o.WidgetContainer,{component:c,node:e})}}},53750:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getInitialModelJson:()=>n});var n=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[]}]}}}},97403:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getInitialModelJson:()=>n});var n=function(){return{global:{tabEnableRename:!1,tabSetEnableMaximize:!1,rootOrientationVertical:!0},layout:{id:"main",type:"row",children:[{type:"tabset",id:"main_tabset",enableDeleteWhenEmpty:!1,weight:50,selected:0,children:[{type:"tab",component:"inner-widget-manager",contentClassName:"widget-manager-inner-container",enableClose:!1}],enableDrag:!1,enableDrop:!1,enableTabStrip:!1},{type:"tabset",id:"bottom_tabset",enableDeleteWhenEmpty:!1,weight:50,height:0,selected:0,children:[]}]},borders:[{type:"border",location:"left",size:315,selected:0,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{icon:{value:"camera"}}},{type:"tab",name:"data-object.data-object-tree.title",component:"data-object-tree",enableClose:!1,config:{icon:{value:"mainObject"}}}]},{type:"border",location:"right",size:315,selected:0,children:[{type:"tab",name:"asset.asset-tree.title",component:"asset-tree",enableClose:!1,config:{id:288,icon:{value:"camera"}}}]}]}}},93665:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetManagerContainer:()=>u});var n=r(49244),o=r(81425),i=r(35660),a=r(99310),s=r(89184),l=r(13414),c=r(78148),u=function(){var e=(0,s.useAppSelector)(l.selectOuterModel),t=(0,s.useAppDispatch)(),r=a.Model.fromJson(e),u=r.getNodeById("bottom_tabset");return(0,n.useEffect)((function(){r.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),0===u.getChildren().length?r.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:-8})):-8===u.getHeight()&&r.doAction(a.Actions.updateNodeAttributes(u.getId(),{height:34})),n.createElement(o.WidgetManagerView,{factory:i.widgetManagerFactory,model:r,onModelChange:function(e){t((0,l.updateOuterModel)(e.toJson()))},onRenderTab:function(e,t){t.content=n.createElement(c.TabTitleContainer,{node:e}),t.leading=n.createElement(n.Fragment,null)}})}},26246:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetManagerInnerContainer:()=>d});var n=r(49244),o=r(81425),i=r(35660),a=r(99310),s=r(89184),l=r(13414),c=r(34666),u=r(17916),f=function(){var e=(0,s.useAppSelector)(l.selectInnerModel),t=(0,s.useAppDispatch)(),r=a.Model.fromJson(e);return(0,n.useEffect)((function(){r.doAction(a.Actions.updateModelAttributes({tabSetTabStripHeight:34,tabSetTabHeaderHeight:34,borderBarSize:50}))}),[]),(0,n.useEffect)((function(){var e,n=null===(e=r.getActiveTabset())||void 0===e?void 0:e.getSelectedNode();t(void 0!==n?(0,l.updateMainWidgetContext)({nodeId:n.getId()}):(0,l.updateMainWidgetContext)(null))}),[r]),n.createElement(o.WidgetManagerView,{className:"widget-manager--inner",createContextMenuItems:u.createContextMenuItems,factory:i.widgetManagerFactory,model:r,onModelChange:function(e){t((0,l.updateInnerModel)(e.toJson()))},onRenderTab:function(e,t){t.content=n.createElement(c.TabTitleOuterContainer,{node:e}),t.leading=n.createElement(n.Fragment,null)}})},d=(0,n.memo)(f)},13414:(e,t,r)=>{"use strict";r.r(t),r.d(t,{closeWidget:()=>x,initialState:()=>d,openBottomWidget:()=>O,openLeftWidget:()=>w,openMainWidget:()=>b,openRightWidget:()=>S,selectInnerModel:()=>T,selectMainWidgetContext:()=>C,selectOuterModel:()=>j,setActiveWidgetById:()=>E,slice:()=>p,updateInnerModel:()=>v,updateMainWidgetContext:()=>y,updateOuterModel:()=>g,widgetManagerSliceName:()=>h});var n=r(89184),o=r(20038),i=r(99310),a=r(97403),s=r(53750);function l(e){return l="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},l(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{getTabTokens:()=>c,useStyles:()=>u});var n,o=r(91539);function i(e){return i="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},i(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{WidgetManagerView:()=>d});var n=r(49244),o=r(99310),i=r(4879),a=r(82075);function s(e){return s="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},s(e)}var l=["className","createContextMenuItems"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{WidgetTitle:(0,e.css)(n||(t=["\n display: flex;\n padding: ","px ","px;\n gap: 8px;\n align-items: center;\n color: ",";\n font-weight: 600;\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingXS,o.paddingSM,o.Tree.colorPrimaryHeading)}}),{hashPriority:"low"})},31483:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TitleView:()=>a});var n=r(54212),o=r(49244),i=r(37253),a=function(e){var t=(0,i.useStyles)().styles,r=e.title,a=e.icon,s=e.className;return o.createElement("div",{className:[t.WidgetTitle,s].join(" ")},o.createElement(n.Icon,{options:{width:18,height:18},value:a}),o.createElement("span",null,r))}},11400:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetContainer:()=>d,WidgetContext:()=>f});var n=r(49244),o=r(99310),i=r(22470);function a(e){return a="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},a(e)}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useStyles:()=>o});var o=(0,r(91539).createStyles)((function(e){var t,r,o=e.token;return{Widget:(0,e.css)(n||(t=["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n .widget__content {\n flex: 1;\n overflow: auto;\n contain: layout size;\n }\n\n .widget__title {\n padding-top: ","px;\n }\n "],r||(r=t.slice(0)),n=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))),o.paddingSM)}}),{hashPriority:"low"})},22470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WidgetView:()=>u,cssContainerWidget:()=>l});var n=r(49244),o=r(31483),i=r(74432),a=r(78291),s=r(50704),l={name:"widget"},c=function(e){var t=(0,s.useCssContainer)(l).styleDefinition,r=(0,i.useStyles)().styles,c=e.title,u=e.showTitle,f=e.icon,d=e.children,p=(0,a.useTranslation)().t;return n.createElement("div",{className:["widget",r.Widget,t.styles.container].join(" ")},!0===u&&n.createElement(o.TitleView,{className:"widget__title",icon:f,title:p(c)}),n.createElement("div",{className:"widget__content"},d))},u=n.memo(c)},82584:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{GlobalStyles:()=>a});var o,i,a=(0,r(91539).createGlobalStyle)(n||(o=["\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Regular.ttf);\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Light.ttf);\n font-weight: 300;\n }\n\n @font-face {\n font-family: Lato;\n src: url(../fonts/Lato-Bold.ttf);\n font-weight: 700;\n }\n\n * {\n box-sizing: border-box;\n }\n\n /** MESSAGE **/\n .ant-message {\n position: absolute;\n bottom: 20px !important;\n top: unset !important;\n }\n\n @keyframes moveUp {\n 0% {\n transform: translateY(+30%);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n }\n\n .ant-message .ant-message-move-up-appear,\n .ant-message .ant-message-move-up-enter {\n animation-name: moveUp;\n }\n\n .ant-message .ant-message-move-up-leave {\n animation-name: moveUp;\n animation-direction: reverse;\n }\n\n .p-none {\n padding: 0;\n }\n\n .p-mini {\n padding: ","px;\n }\n\n .p-extra-small {\n padding: ","px;\n }\n\n .p-small {\n padding: ","px;\n }\n\n .p-normal {\n padding: ","px;\n }\n\n .p-medium {\n padding: ","px;\n }\n\n .p-large {\n padding: ","px;\n }\n\n .p-extra-large {\n padding: ","px;\n }\n\n .p-maxi {\n // @todo check missing padding token\n padding: ","px;\n }\n\n .p-y-none {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n .p-y-mini {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-small {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-normal {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-medium {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-extra-large {\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-y-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n padding-bottom: ","px;\n }\n\n .p-x-none {\n padding-left: 0;\n padding-right: 0;\n }\n\n .p-x-mini {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-small {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-normal {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-medium {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-extra-large {\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-x-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n padding-right: ","px;\n }\n\n .p-t-none {\n padding-top: 0;\n }\n\n .p-t-mini {\n padding-top: ","px;\n }\n\n .p-t-extra-small {\n padding-top: ","px;\n }\n\n .p-t-small {\n padding-top: ","px;\n }\n\n .p-t-normal {\n padding-top: ","px;\n }\n\n .p-t-medium {\n padding-top: ","px;\n }\n\n .p-t-large {\n padding-top: ","px;\n }\n\n .p-t-extra-large {\n padding-top: ","px;\n }\n\n .p-t-maxi {\n // @todo check missing padding token\n padding-top: ","px;\n }\n\n .p-b-none {\n padding-bottom: 0;\n }\n\n .p-b-mini {\n padding-bottom: ","px;\n }\n\n .p-b-extra-small {\n padding-bottom: ","px;\n }\n\n .p-b-small {\n padding-bottom: ","px;\n }\n\n .p-b-normal {\n padding-bottom: ","px;\n }\n\n .p-b-medium {\n padding-bottom: ","px;\n }\n\n .p-b-large {\n padding-bottom: ","px;\n }\n\n .p-b-extra-large {\n padding-bottom: ","px;\n }\n\n .p-b-maxi {\n // @todo check missing padding token\n padding-bottom: ","px;\n }\n\n .p-l-none {\n padding-left: 0;\n }\n\n .p-l-mini {\n padding-left: ","px;\n }\n\n .p-l-extra-small {\n padding-left: ","px;\n }\n\n .p-l-small {\n padding-left: ","px;\n }\n\n .p-l-normal {\n padding-left: ","px;\n }\n\n .p-l-medium {\n padding-left: ","px;\n }\n\n .p-l-large {\n padding-left: ","px;\n }\n\n .p-l-extra-large {\n padding-left: ","px;\n }\n\n .p-l-maxi {\n // @todo check missing padding token\n padding-left: ","px;\n }\n\n .p-r-none {\n padding-right: 0;\n }\n\n .p-r-mini {\n padding-right: ","px;\n }\n\n .p-r-extra-small {\n padding-right: ","px;\n }\n\n .p-r-small {\n padding-right: ","px;\n }\n\n .p-r-normal {\n padding-right: ","px;\n }\n\n .p-r-medium {\n padding-right: ","px;\n }\n\n .p-r-large {\n padding-right: ","px;\n }\n\n .p-r-extra-large {\n padding-right: ","px;\n }\n\n .p-r-maxi {\n // @todo check missing padding token\n padding-right: ","px;\n }\n\n .m-none {\n margin: 0;\n }\n\n .m-mini {\n margin: ","px;\n }\n\n .m-extra-small {\n margin: ","px;\n }\n\n .m-small {\n margin: ","px;\n }\n\n .m-normal {\n margin: ","px;\n }\n\n .m-medium {\n margin: ","px;\n }\n\n .m-large {\n margin: ","px;\n }\n\n .m-extra-large {\n margin: ","px;\n }\n\n .m-maxi {\n // @todo check missing margin token\n margin: ","px;\n }\n\n .m-y-none {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n .m-y-mini {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-small {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-normal {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-medium {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-extra-large {\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-y-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n margin-bottom: ","px;\n }\n\n .m-x-none {\n margin-left: 0;\n margin-right: 0;\n }\n\n .m-x-mini {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-small {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-normal {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-medium {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-extra-large {\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-x-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n margin-right: ","px;\n }\n\n .m-t-none {\n margin-top: 0;\n }\n\n .m-t-mini {\n margin-top: ","px;\n }\n\n .m-t-extra-small {\n margin-top: ","px;\n }\n\n .m-t-small {\n margin-top: ","px;\n }\n\n .m-t-normal {\n margin-top: ","px;\n }\n\n .m-t-medium {\n margin-top: ","px;\n }\n\n .m-t-large {\n margin-top: ","px;\n }\n\n .m-t-extra-large {\n margin-top: ","px;\n }\n\n .m-t-maxi {\n // @todo check missing margin token\n margin-top: ","px;\n }\n\n .m-b-none {\n margin-bottom: 0;\n }\n\n .m-b-mini {\n margin-bottom: ","px;\n }\n\n .m-b-extra-small {\n margin-bottom: ","px;\n }\n\n .m-b-small {\n margin-bottom: ","px;\n }\n\n .m-b-normal {\n margin-bottom: ","px;\n }\n\n .m-b-medium {\n margin-bottom: ","px;\n }\n\n .m-b-large {\n margin-bottom: ","px;\n }\n\n .m-b-extra-large {\n margin-bottom: ","px;\n }\n\n .m-b-maxi {\n // @todo check missing margin token\n margin-bottom: ","px;\n }\n\n .m-l-none {\n margin-left: 0;\n }\n\n .m-l-mini {\n margin-left: ","px;\n }\n\n .m-l-extra-small {\n margin-left: ","px;\n }\n\n .m-l-small {\n margin-left: ","px;\n }\n\n .m-l-normal {\n margin-left: ","px;\n }\n\n .m-l-medium {\n margin-left: ","px;\n }\n\n .m-l-large {\n margin-left: ","px;\n }\n\n .m-l-extra-large {\n margin-left: ","px;\n }\n\n .m-l-maxi {\n // @todo check missing margin token\n margin-left: ","px;\n }\n\n .m-r-none {\n margin-right: 0;\n }\n\n .m-r-mini {\n margin-right: ","px;\n }\n\n .m-r-extra-small {\n margin-right: ","px;\n }\n\n .m-r-small {\n margin-right: ","px;\n }\n\n .m-r-normal {\n margin-right: ","px;\n }\n\n .m-r-medium {\n margin-right: ","px;\n }\n\n .m-r-large {\n margin-right: ","px;\n }\n\n .m-r-extra-large {\n margin-right: ","px;\n }\n\n .m-r-maxi {\n // @todo check missing margin token\n margin-right: ","px;\n }\n\n .relative {\n position: relative;\n }\n\n .absolute {\n position: absolute;\n }\n\n .w-full {\n width: 100%;\n }\n\n .min-w-100 {\n min-width: 100px;\n }\n\n .h-full {\n height: 100%;\n }\n\n .overflow-x-auto {\n overflow-x: auto;\n }\n"],i||(i=o.slice(0)),n=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(i)}}))),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.paddingXXS}),(function(e){return e.theme.paddingXS}),(function(e){return e.theme.paddingSM}),(function(e){return e.theme.padding}),(function(e){return e.theme.paddingMD}),(function(e){return e.theme.paddingLG}),(function(e){return e.theme.paddingXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}),(function(e){return e.theme.marginXXS}),(function(e){return e.theme.marginXS}),(function(e){return e.theme.marginSM}),(function(e){return e.theme.margin}),(function(e){return e.theme.marginMD}),(function(e){return e.theme.marginLG}),(function(e){return e.theme.marginXL}),(function(e){return e.theme.sizeXXL}))},37473:(e,t,r)=>{"use strict";r.r(t),r.d(t,{toCssDimension:()=>n});var n=function(e,t){if(null==e||""===e){if(void 0===t)return;e=t}return"number"==typeof e?"".concat(e,"px"):e}},71377:(e,t,r)=>{"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(0===e)return"0 B";var r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(1e3));return n=Math.min(n,r.length-1),e/=Math.pow(1e3,n),"".concat(e.toFixed(t)," ").concat(r[n])}r.r(t),r.d(t,{formatDataUnit:()=>n})},69314:(e,t,r)=>{"use strict";r.r(t),r.d(t,{formatDate:()=>l,formatDateTime:()=>s,formatTime:()=>c});var n=r(72635);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){var t=e.timestamp,r=e.lng,o=e.timeStyle,s=e.dateStyle,l=e.options;if(void 0===r&&(r=n.default.language),null===t)return"";try{var c=new Date(1e3*t);return n.default.format(c,"datetime",r,function(e){for(var t=1;t{"use strict";function n(e,t){var r=e.split(".");return r[r.length-1]=t,r.join(".")}function o(e,t){var r=document.createElement("a");document.body.append(r),r.href=t,r.download=e,r.click(),r.remove()}r.r(t),r.d(t,{replaceFileEnding:()=>n,saveFileLocal:()=>o})},65227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{isSet:()=>i,onKeyEnterExecuteClick:()=>o,respectLineBreak:()=>a});var n=r(49244);function o(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),e.currentTarget.click())}function i(e){return null!=e}function a(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.replace(/\n+$/,"").split("\n");return t?n.createElement("div",null,r.map((function(e,t){return n.createElement("p",{key:t},e)}))):n.createElement("div",null,r.map((function(e,t,r){return n.createElement(n.Fragment,{key:t},e,t{"use strict";r.r(t),r.d(t,{useClickOutside:()=>a});var n=r(49244);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);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 a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";var n;r.r(t),r.d(t,{useCssContainerStyles:()=>o});var o=(0,r(91539).createStyles)((function(e,t){var r,o;e.token;return{container:(0,e.css)(n||(r=["\n container: "," / ",";\n "],o||(o=r.slice(0)),n=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),t.name,t.type)}}))},50704:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useCssContainer:()=>i});var n=r(49244),o=r(66178),i=function(e){var t=e.name,r=e.type,i=void 0===r?"size":r,a=(0,o.useCssContainerStyles)({name:t,type:i});return(0,n.useMemo)((function(){return{styleDefinition:a}}),[])}},26662:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(49244);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(3769);const o=function(){var e=(0,n.useListPage)(),t=e.page,r=e.setPage,o=(0,n.useListPageSize)(),i=o.pageSize,a=o.setPageSize;return{page:t,pageSize:i,handlePageChange:function(e,t){r(e),a(t)}}}},79636:(e,t,r)=>{"use strict";r.r(t),r.d(t,{usePrevious:()=>o});var n=r(49244),o=function(e){var t=(0,n.useRef)();return(0,n.useEffect)((function(){t.current=e}),[e]),t.current}},77397:(e,t,r)=>{"use strict";r.r(t),r.d(t,{useServerSideEvent:()=>i});var n=r(49244),o=r(32629).appConfig.mercureUrl,i=function(e){var t,r=e.topics,i=e.messageHandler,a=e.openHandler;if(0===r.length)throw new Error("No topics provided");function s(){void 0!==t&&t.close()}return(0,n.useEffect)((function(){return function(){s()}}),[]),{open:function(){var e=new URL(o);r.forEach((function(t){e.searchParams.append("topic",t)})),t=new EventSource(e.toString()),void 0!==i&&(t.onmessage=i),void 0!==a&&(t.onopen=a)},close:s}}},67199:(e,t,r)=>{"use strict";r.r(t),r.d(t,{formatNumber:()=>o});var n=r(72635);function o(e){var t=e.value,r=e.lng,o=e.options;return void 0===r&&(r=n.default.language),n.default.format(t,"number",r,o)}},18796:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}function o(){o=function(){return t};var e,t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),s=new D(n||[]);return a(i,"_invoke",{value:C(e,r,s)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",m="suspendedYield",g="executing",y="completed",v={};function b(){}function O(){}function w(){}var S={};f(S,l,(function(){return this}));var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==r&&i.call(x,l)&&(S=x);var P=w.prototype=b.prototype=Object.create(S);function T(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function r(o,a,s,l){var c=p(e[o],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function C(t,r,n){var o=h;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=k(s,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;var c=p(t,r,n);if("normal"===c.type){if(o=n.done?y:m,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function i(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function s(e){i(a,n,o,s,l,"next",e)}function l(e){i(a,n,o,s,l,"throw",e)}s(void 0)}))}}function s(e){return l.apply(this,arguments)}function l(){return l=a(o().mark((function e(t){var r,n,i,s,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.url,n=t.onSuccess,i=t.interval,s=void 0===i?3e3:i,l=function(){var e=a(o().mark((function e(){var t,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(r);case 2:if(200!==(t=e.sent).status){e.next=10;break}return e.next=6,t.blob();case 6:i=e.sent,n(i),e.next=15;break;case 10:if(202!==t.status){e.next=14;break}setTimeout(l,s),e.next=15;break;case 14:throw new Error("Unexpected response status: ".concat(t.status));case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=4,l();case 4:case"end":return e.stop()}}),e)}))),l.apply(this,arguments)}r.r(t),r.d(t,{fetchBlobWithPolling:()=>s})},91232:(e,t,r)=>{"use strict";function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}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 a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:[""],o=[],i=n(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;r.includes(a.value)||o.push("".concat(a.key,"=").concat(a.value))}}catch(e){i.e(e)}finally{i.f()}return o.join("&")}r.r(t),r.d(t,{buildQueryString:()=>i})},72650:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}r.r(t),r.d(t,{isEmptyValue:()=>s,isNumber:()=>a,isObject:()=>o,isString:()=>i});var o=function(e){var t=n(e);return null!=e&&("object"===t||"function"===t)},i=function(e){return null!=e&&"string"==typeof e.valueOf()},a=function(e){return"number"==typeof e||"object"===n(e)&&null!==e&&"[object Number]"===Object.prototype.toString.call(e)},s=function(e){return null==e||("object"!==n(e)||Array.isArray(e)?"object"===n(e)&&Array.isArray(e)?0===e.length:"string"==typeof e&&0===e.trim().length:0===Object.keys(e).length)}},47981:(e,t,r)=>{"use strict";r.r(t),r.d(t,{uuid:()=>o});var n=r(12634);function o(){return(0,n.v4)()}},74353:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",f="year",d="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(o,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var s=t.name;O[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},x=function(e,t){if(S(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new T(r)},P=v;P.l=E,P.i=S,P.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var y=g.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(P.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(h);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return P},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return x(e)68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},f=function(e,t){var r,n=a.meridiem;if(n){for(var o=1;o<=24;o+=1)if(e.indexOf(n(o,0,t))>-1){r=o>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[i,function(e){this.afternoon=f(e,!1)}],a:[i,function(e){this.afternoon=f(e,!0)}],Q:[r,function(e){this.month=3*(e-1)+1}],S:[r,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[o,l("seconds")],ss:[o,l("seconds")],m:[o,l("minutes")],mm:[o,l("minutes")],H:[o,l("hours")],h:[o,l("hours")],HH:[o,l("hours")],hh:[o,l("hours")],D:[o,l("day")],DD:[n,l("day")],Do:[i,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],w:[o,l("week")],ww:[n,l("week")],M:[o,l("month")],MM:[n,l("month")],MMM:[i,function(e){var t=u("months"),r=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function p(r){var n,o;n=r,o=a&&a.formats;for(var i=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var i=n&&n.toUpperCase();return r||o[n]||e[n]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),s=i.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var o=p(t)(e),i=o.year,a=o.month,s=o.day,l=o.hours,c=o.minutes,u=o.seconds,f=o.milliseconds,d=o.zone,h=o.week,m=new Date,g=s||(i||a?1:m.getDate()),y=i||m.getFullYear(),v=0;i&&!a||(v=a>0?a-1:m.getMonth());var b,O=l||0,w=c||0,S=u||0,E=f||0;return d?new Date(Date.UTC(y,v,g,O,w,S,E+60*d.offset*1e3)):r?new Date(Date.UTC(y,v,g,O,w,S,E)):(b=new Date(y,v,g,O,w,S,E),h&&(b=n(b).week(h).toDate()),b)}catch(e){return new Date("")}}(t,s,n,r),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,h=1;h<=d;h+=1){i[1]=s[h-1];var m=r.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}h===d&&(this.$d=new Date(""))}else o.call(this,e)}}}()},21840:function(e){e.exports=function(){"use strict";return function(e,t,r){var n=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,r,n,i){var a=e.name?e:e.$locale(),s=o(a[t]),l=o(a[r]),c=s||l.map((function(e){return e.slice(0,n)}));if(!i)return c;var u=a.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},a=function(){return r.Ls[r.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return l.bind(this)()},r.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return i(a(),"months")},r.monthsShort=function(){return i(a(),"monthsShort","months",3)},r.weekdays=function(e){return i(a(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}}()},88569:function(e){e.exports=function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,n,o){var i,a=function(e,r,n){void 0===n&&(n={});var o=new Date(e),i=function(e,r){void 0===r&&(r={});var n=r.timeZoneName||"short",o=e+"|"+n,i=t[o];return i||(i=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),t[o]=i),i}(r,n);return i.formatToParts(o)},s=function(t,r){for(var n=a(t,r),i=[],s=0;s=0&&(i[f]=parseInt(u,10))}var d=i[3],p=24===d?0:d,h=i[0]+"-"+i[1]+"-"+i[2]+" "+p+":"+i[4]+":"+i[5]+":000",m=+t;return(o.utc(h).valueOf()-(m-=m%1e3))/6e4},l=n.prototype;l.tz=function(e,t){void 0===e&&(e=i);var r,n=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:e}),l=Math.round((a-new Date(s))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-l;if(Number(c)){if(r=o(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=r.utcOffset();r=r.add(n-u,"minute")}}else r=this.utcOffset(0,t);return r.$x.$timezone=e,r},l.offsetName=function(e){var t=this.$x.$timezone||o.tz.guess(),r=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var c=l.startOf;l.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var r=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(r,e,t).tz(this.$x.$timezone,!0)},o.tz=function(e,t,r){var n=r&&t,a=r||t||i,l=s(+o(),a);if("string"!=typeof e)return o(e).tz(a);var c=function(e,t,r){var n=e-60*t*1e3,o=s(n,r);if(t===o)return[n,t];var i=s(n-=60*(o-t)*1e3,r);return o===i?[n,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(o.utc(e,n).valueOf(),l,a),u=c[0],f=c[1],d=o(u).utcOffset(f);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(e){i=e}}}()},83826:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var r=i(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(n,o){var i=this.$utils().u;if(i(n))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var o=(""+n[0]).match(r)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(n),null===n))return this;var a=Math.abs(n)<=16?60*n:n,s=this;if(o)return s.$offset=a,s.$u=0===n,s;if(0!==n){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,r){if(e&&this.$u===e.$u)return d.call(this,e,t,r);var n=this.local(),o=i(e).local();return d.call(n,o,t,r)}}}()},8134:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(r,n,o){var i=n.prototype;i.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(n),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},28623:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),r=this.year();return 1===t&&11===e?r+1:0===e&&t>=52?r-1:r}}}()},46986:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,r=this.$W,n=(r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;class r{constructor(e,t,r,n){this.name=e,this.modelName=t,this.defaultValue=r,this.alwaysWriteJson=n,this.required=!1,this.fixed=!1,this.type="any"}setType(e){return this.type=e,this}setRequired(){return this.required=!0,this}setFixed(){return this.fixed=!0,this}}t.Attribute=r,r.NUMBER="number",r.STRING="string",r.BOOLEAN="boolean"},96874:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeDefinitions=void 0;const n=r(10046);t.AttributeDefinitions=class{constructor(){this.attributes=[],this.nameToAttribute={}}addWithAll(e,t,r,o){const i=new n.Attribute(e,t,r,o);return this.attributes.push(i),this.nameToAttribute[e]=i,i}addInherited(e,t){return this.addWithAll(e,t,void 0,!1)}add(e,t,r){return this.addWithAll(e,void 0,t,r)}getAttributes(){return this.attributes}getModelName(e){const t=this.nameToAttribute[e];if(void 0!==t)return t.modelName}toJson(e,t){for(const r of this.attributes){const n=t[r.name];(r.alwaysWriteJson||n!==r.defaultValue)&&(e[r.name]=n)}}fromJson(e,t){for(const r of this.attributes){const n=e[r.name];t[r.name]=void 0===n?r.defaultValue:n}}update(e,t){for(const r of this.attributes)if(e.hasOwnProperty(r.name)){const n=e[r.name];void 0===n?delete t[r.name]:t[r.name]=n}}setDefaults(e){for(const t of this.attributes)e[t.name]=t.defaultValue}toTypescriptInterface(e,t){const r=[],n=this.attributes.sort(((e,t)=>e.name.localeCompare(t.name)));r.push("export interface I"+e+"Attributes {");for(let e=0;e0?" // "+e:""))}}return r.push("}"),r.join("\n")}}},88324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DockLocation=void 0;const n=r(81648),o=r(92530);class i{static getByName(e){return i.values[e]}static getLocation(e,t,r){if(t=(t-e.x)/e.width,r=(r-e.y)/e.height,t>=.25&&t<.75&&r>=.25&&r<.75)return i.CENTER;const n=r>=1-t;return r>=t?n?i.BOTTOM:i.LEFT:n?i.RIGHT:i.TOP}constructor(e,t,r){this._name=e,this._orientation=t,this._indexPlus=r,i.values[this._name]=this}getName(){return this._name}getOrientation(){return this._orientation}getDockRect(e){return this===i.TOP?new o.Rect(e.x,e.y,e.width,e.height/2):this===i.BOTTOM?new o.Rect(e.x,e.getBottom()-e.height/2,e.width,e.height/2):this===i.LEFT?new o.Rect(e.x,e.y,e.width/2,e.height):this===i.RIGHT?new o.Rect(e.getRight()-e.width/2,e.y,e.width/2,e.height):e.clone()}split(e,t){if(this===i.TOP){return{start:new o.Rect(e.x,e.y,e.width,t),end:new o.Rect(e.x,e.y+t,e.width,e.height-t)}}if(this===i.LEFT){return{start:new o.Rect(e.x,e.y,t,e.height),end:new o.Rect(e.x+t,e.y,e.width-t,e.height)}}if(this===i.RIGHT){return{start:new o.Rect(e.getRight()-t,e.y,t,e.height),end:new o.Rect(e.x,e.y,e.width-t,e.height)}}return{start:new o.Rect(e.x,e.getBottom()-t,e.width,t),end:new o.Rect(e.x,e.y,e.width,e.height-t)}}reflect(){return this===i.TOP?i.BOTTOM:this===i.LEFT?i.RIGHT:this===i.RIGHT?i.LEFT:i.TOP}toString(){return"(DockLocation: name="+this._name+", orientation="+this._orientation+")"}}t.DockLocation=i,i.values={},i.TOP=new i("top",n.Orientation.VERT,0),i.BOTTOM=new i("bottom",n.Orientation.VERT,1),i.LEFT=new i("left",n.Orientation.HORZ,0),i.RIGHT=new i("right",n.Orientation.HORZ,1),i.CENTER=new i("center",n.Orientation.VERT,0)},20883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DragDrop=void 0;const n=r(92530),o=!("undefined"==typeof window||!window.document||!window.document.createElement);class i{constructor(){this._manualGlassManagement=!1,this._startX=0,this._startY=0,this._dragDepth=0,this._glassShowing=!1,this._dragging=!1,this._active=!1,o&&(this._glass=document.createElement("div"),this._glass.style.zIndex="998",this._glass.style.backgroundColor="transparent",this._glass.style.outline="none"),this._defaultGlassCursor="default",this._onMouseMove=this._onMouseMove.bind(this),this._onMouseUp=this._onMouseUp.bind(this),this._onKeyPress=this._onKeyPress.bind(this),this._onDragCancel=this._onDragCancel.bind(this),this._onDragEnter=this._onDragEnter.bind(this),this._onDragLeave=this._onDragLeave.bind(this),this.resizeGlass=this.resizeGlass.bind(this),this._lastClick=0,this._clickX=0,this._clickY=0}addGlass(e){var t;this._glassShowing?this._manualGlassManagement=!0:(this._document||(this._document=window.document),this._rootElement||(this._rootElement=this._document.body),this.resizeGlass(),null===(t=this._document.defaultView)||void 0===t||t.addEventListener("resize",this.resizeGlass),this._document.body.appendChild(this._glass),this._glass.tabIndex=-1,this._glass.focus(),this._glass.addEventListener("keydown",this._onKeyPress),this._glass.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._glass.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._glass.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._glassShowing=!0,this._fDragCancel=e,this._manualGlassManagement=!1)}resizeGlass(){n.Rect.fromElement(this._rootElement).positionElement(this._glass,"fixed")}hideGlass(){var e;this._glassShowing&&(this._document.body.removeChild(this._glass),null===(e=this._document.defaultView)||void 0===e||e.removeEventListener("resize",this.resizeGlass),this._glassShowing=!1,this._document=void 0,this._rootElement=void 0,this.setGlassCursorOverride(void 0))}_updateGlassCursor(){var e;this._glass.style.cursor=null!==(e=this._glassCursorOverride)&&void 0!==e?e:this._defaultGlassCursor}_setDefaultGlassCursor(e){this._defaultGlassCursor=e,this._updateGlassCursor()}setGlassCursorOverride(e){this._glassCursorOverride=e,this._updateGlassCursor()}startDrag(e,t,r,n,o,i,a,s,l){if(e&&this._lastEvent&&this._lastEvent.type.startsWith("touch")&&e.type.startsWith("mouse")&&e.timeStamp-this._lastEvent.timeStamp<500)return;if(this._dragging)return;this._lastEvent=e,this._document=s||window.document,this._rootElement=l||this._document.body;const c=this._getLocationEvent(e);this.addGlass(o),e?(this._startX=c.clientX,this._startY=c.clientY,window.matchMedia&&!window.matchMedia("(pointer: fine)").matches||this._setDefaultGlassCursor(getComputedStyle(e.target).cursor),this._stopPropagation(e),this._preventDefault(e)):(this._startX=0,this._startY=0,this._setDefaultGlassCursor("default")),this._dragging=!1,this._fDragStart=t,this._fDragMove=r,this._fDragEnd=n,this._fDragCancel=o,this._fClick=i,this._fDblClick=a,this._active=!0,"dragenter"===(null==e?void 0:e.type)?(this._dragDepth=1,this._rootElement.addEventListener("dragenter",this._onDragEnter,{passive:!1}),this._rootElement.addEventListener("dragover",this._onMouseMove,{passive:!1}),this._rootElement.addEventListener("dragleave",this._onDragLeave,{passive:!1}),this._document.addEventListener("dragend",this._onDragCancel,{passive:!1}),this._document.addEventListener("drop",this._onMouseUp,{passive:!1})):(this._document.addEventListener("mouseup",this._onMouseUp,{passive:!1}),this._document.addEventListener("mousemove",this._onMouseMove,{passive:!1}),this._document.addEventListener("touchend",this._onMouseUp,{passive:!1}),this._document.addEventListener("touchmove",this._onMouseMove,{passive:!1}))}isDragging(){return this._dragging}isActive(){return this._active}toString(){return"(DragDrop: startX="+this._startX+", startY="+this._startY+", dragging="+this._dragging+")"}_onKeyPress(e){"Escape"===e.code&&this._onDragCancel()}_onDragCancel(){this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this.hideGlass(),void 0!==this._fDragCancel&&this._fDragCancel(this._dragging),this._dragging=!1,this._active=!1}_getLocationEvent(e){let t=e;return e&&e.touches&&(t=e.touches[0]),t}_getLocationEventEnd(e){let t=e;return e.changedTouches&&(t=e.changedTouches[0]),t}_stopPropagation(e){e.stopPropagation&&e.stopPropagation()}_preventDefault(e){return e.preventDefault&&e.cancelable&&e.preventDefault(),e}_onMouseMove(e){this._lastEvent=e;const t=this._getLocationEvent(e);return this._stopPropagation(e),this._preventDefault(e),!this._dragging&&(Math.abs(this._startX-t.clientX)>5||Math.abs(this._startY-t.clientY)>5)&&(this._dragging=!0,this._fDragStart&&(this._setDefaultGlassCursor("move"),this._dragging=this._fDragStart({clientX:this._startX,clientY:this._startY}))),this._dragging&&this._fDragMove&&this._fDragMove(t),!1}_onMouseUp(e){this._lastEvent=e;const t=this._getLocationEventEnd(e);if(this._stopPropagation(e),this._preventDefault(e),this._active=!1,this._rootElement.removeEventListener("dragenter",this._onDragEnter),this._rootElement.removeEventListener("dragover",this._onMouseMove),this._rootElement.removeEventListener("dragleave",this._onDragLeave),this._document.removeEventListener("dragend",this._onDragCancel),this._document.removeEventListener("drop",this._onMouseUp),this._document.removeEventListener("mousemove",this._onMouseMove),this._document.removeEventListener("mouseup",this._onMouseUp),this._document.removeEventListener("touchend",this._onMouseUp),this._document.removeEventListener("touchmove",this._onMouseMove),this._manualGlassManagement||this.hideGlass(),this._dragging)this._dragging=!1,this._fDragEnd&&this._fDragEnd(e);else if(this._fDragCancel&&this._fDragCancel(this._dragging),Math.abs(this._startX-t.clientX)<=5&&Math.abs(this._startY-t.clientY)<=5){let r=!1;const n=(new Date).getTime();Math.abs(this._clickX-t.clientX)<=5&&Math.abs(this._clickY-t.clientY)<=5&&n-this._lastClick<500&&this._fDblClick&&(this._fDblClick(e),r=!0),!r&&this._fClick&&this._fClick(e),this._lastClick=n,this._clickX=t.clientX,this._clickY=t.clientY}return!1}_onDragEnter(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth++,!1}_onDragLeave(e){return this._preventDefault(e),this._stopPropagation(e),this._dragDepth--,this._dragDepth<=0&&this._onDragCancel(),!1}}t.DragDrop=i,i.instance=new i},94017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DropInfo=void 0;t.DropInfo=class{constructor(e,t,r,n,o){this.node=e,this.rect=t,this.location=r,this.index=n,this.className=o}}},30300:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.I18nLabel=void 0,function(e){e.Close_Tab="Close",e.Close_Tabset="Close tabset",e.Move_Tab="Move: ",e.Move_Tabset="Move tabset",e.Maximize="Maximize tabset",e.Restore="Restore tabset",e.Float_Tab="Show selected tab in floating window",e.Overflow_Menu_Tooltip="Hidden tabs",e.Floating_Window_Message="This panel is shown in a floating window",e.Floating_Window_Show_Window="Show window",e.Floating_Window_Dock_Window="Dock window",e.Error_rendering_component="Error rendering component"}(t.I18nLabel||(t.I18nLabel={}))},81648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientation=void 0;class r{static flip(e){return e===r.HORZ?r.VERT:r.HORZ}constructor(e){this._name=e}getName(){return this._name}toString(){return this._name}}t.Orientation=r,r.HORZ=new r("horz"),r.VERT=new r("vert")},59919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showPopup=void 0;const n=r(49244),o=r(20883),i=r(76643),a=r(2486);t.showPopup=function(e,t,r,a,l,c){var u;const f=a.getRootDiv(),d=a.getClassName,p=e.ownerDocument,h=e.getBoundingClientRect(),m=null!==(u=null==f?void 0:f.getBoundingClientRect())&&void 0!==u?u:new DOMRect(0,0,100,100),g=p.createElement("div");g.className=d(i.CLASSES.FLEXLAYOUT__POPUP_MENU_CONTAINER),h.lefty())),o.DragDrop.instance.setGlassCursorOverride("default"),f&&f.appendChild(g);const y=()=>{a.hidePortal(),o.DragDrop.instance.hideGlass(),f&&f.removeChild(g),g.removeEventListener("mousedown",v),p.removeEventListener("mousedown",b)},v=e=>{e.stopPropagation()},b=e=>{y()};g.addEventListener("mousedown",v),p.addEventListener("mousedown",b),a.showPortal(n.createElement(s,{currentDocument:p,onSelect:r,onHide:y,items:t,classNameMapper:d,layout:a,iconFactory:l,titleFactory:c}),g)};const s=e=>{const{items:t,onHide:r,onSelect:o,classNameMapper:s,layout:l,iconFactory:c,titleFactory:u}=e,f=t.map(((e,t)=>n.createElement("div",{key:e.index,className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU_ITEM),"data-layout-path":"/popup-menu/tb"+t,onClick:t=>((e,t)=>{o(e),r(),t.stopPropagation()})(e,t),title:e.node.getHelpText()},e.node.getModel().isLegacyOverflowMenu()?e.node._getNameForOverflowMenu():n.createElement(a.TabButtonStamp,{node:e.node,layout:l,iconFactory:c,titleFactory:u}))));return n.createElement("div",{className:s(i.CLASSES.FLEXLAYOUT__POPUP_MENU),"data-layout-path":"/popup-menu"},f)}},92530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Rect=void 0;const n=r(81648);class o{static empty(){return new o(0,0,0,0)}constructor(e,t,r,n){this.x=e,this.y=t,this.width=r,this.height=n}static fromElement(e){let{x:t,y:r,width:n,height:i}=e.getBoundingClientRect();return new o(t,r,n,i)}clone(){return new o(this.x,this.y,this.width,this.height)}equals(e){return this.x===(null==e?void 0:e.x)&&this.y===(null==e?void 0:e.y)&&this.width===(null==e?void 0:e.width)&&this.height===(null==e?void 0:e.height)}getBottom(){return this.y+this.height}getRight(){return this.x+this.width}getCenter(){return{x:this.x+this.width/2,y:this.y+this.height/2}}positionElement(e,t){this.styleWithPosition(e.style,t)}styleWithPosition(e,t="absolute"){return e.left=this.x+"px",e.top=this.y+"px",e.width=Math.max(0,this.width)+"px",e.height=Math.max(0,this.height)+"px",e.position=t,e}contains(e,t){return this.x<=e&&e<=this.getRight()&&this.y<=t&&t<=this.getBottom()}removeInsets(e){return new o(this.x+e.left,this.y+e.top,Math.max(0,this.width-e.left-e.right),Math.max(0,this.height-e.top-e.bottom))}centerInRect(e){this.x=(e.width-this.width)/2,this.y=(e.height-this.height)/2}_getSize(e){let t=this.width;return e===n.Orientation.VERT&&(t=this.height),t}toString(){return"(Rect: x="+this.x+", y="+this.y+", width="+this.width+", height="+this.height+")"}}t.Rect=o},76643:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLASSES=void 0,function(e){e.FLEXLAYOUT__BORDER="flexlayout__border",e.FLEXLAYOUT__BORDER_="flexlayout__border_",e.FLEXLAYOUT__BORDER_BUTTON="flexlayout__border_button",e.FLEXLAYOUT__BORDER_BUTTON_="flexlayout__border_button_",e.FLEXLAYOUT__BORDER_BUTTON_CONTENT="flexlayout__border_button_content",e.FLEXLAYOUT__BORDER_BUTTON_LEADING="flexlayout__border_button_leading",e.FLEXLAYOUT__BORDER_BUTTON_TRAILING="flexlayout__border_button_trailing",e.FLEXLAYOUT__BORDER_BUTTON__SELECTED="flexlayout__border_button--selected",e.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED="flexlayout__border_button--unselected",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW="flexlayout__border_toolbar_button_overflow",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_="flexlayout__border_toolbar_button_overflow_",e.FLEXLAYOUT__BORDER_INNER="flexlayout__border_inner",e.FLEXLAYOUT__BORDER_INNER_="flexlayout__border_inner_",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER="flexlayout__border_inner_tab_container",e.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_="flexlayout__border_inner_tab_container_",e.FLEXLAYOUT__BORDER_TAB_DIVIDER="flexlayout__border_tab_divider",e.FLEXLAYOUT__BORDER_SIZER="flexlayout__border_sizer",e.FLEXLAYOUT__BORDER_TOOLBAR="flexlayout__border_toolbar",e.FLEXLAYOUT__BORDER_TOOLBAR_="flexlayout__border_toolbar_",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON="flexlayout__border_toolbar_button",e.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT="flexlayout__border_toolbar_button-float",e.FLEXLAYOUT__DRAG_RECT="flexlayout__drag_rect",e.FLEXLAYOUT__EDGE_RECT="flexlayout__edge_rect",e.FLEXLAYOUT__EDGE_RECT_TOP="flexlayout__edge_rect_top",e.FLEXLAYOUT__EDGE_RECT_LEFT="flexlayout__edge_rect_left",e.FLEXLAYOUT__EDGE_RECT_BOTTOM="flexlayout__edge_rect_bottom",e.FLEXLAYOUT__EDGE_RECT_RIGHT="flexlayout__edge_rect_right",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER="flexlayout__error_boundary_container",e.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT="flexlayout__error_boundary_content",e.FLEXLAYOUT__FLOATING_WINDOW_CONTENT="flexlayout__floating_window_content",e.FLEXLAYOUT__FLOATING_WINDOW_TAB="flexlayout__floating_window_tab",e.FLEXLAYOUT__LAYOUT="flexlayout__layout",e.FLEXLAYOUT__OUTLINE_RECT="flexlayout__outline_rect",e.FLEXLAYOUT__OUTLINE_RECT_EDGE="flexlayout__outline_rect_edge",e.FLEXLAYOUT__SPLITTER="flexlayout__splitter",e.FLEXLAYOUT__SPLITTER_EXTRA="flexlayout__splitter_extra",e.FLEXLAYOUT__SPLITTER_="flexlayout__splitter_",e.FLEXLAYOUT__SPLITTER_BORDER="flexlayout__splitter_border",e.FLEXLAYOUT__SPLITTER_DRAG="flexlayout__splitter_drag",e.FLEXLAYOUT__TAB="flexlayout__tab",e.FLEXLAYOUT__TABSET="flexlayout__tabset",e.FLEXLAYOUT__TABSET_HEADER="flexlayout__tabset_header",e.FLEXLAYOUT__TABSET_HEADER_SIZER="flexlayout__tabset_header_sizer",e.FLEXLAYOUT__TABSET_HEADER_CONTENT="flexlayout__tabset_header_content",e.FLEXLAYOUT__TABSET_MAXIMIZED="flexlayout__tabset-maximized",e.FLEXLAYOUT__TABSET_SELECTED="flexlayout__tabset-selected",e.FLEXLAYOUT__TABSET_SIZER="flexlayout__tabset_sizer",e.FLEXLAYOUT__TABSET_TAB_DIVIDER="flexlayout__tabset_tab_divider",e.FLEXLAYOUT__TABSET_CONTENT="flexlayout__tabset_content",e.FLEXLAYOUT__TABSET_TABBAR_INNER="flexlayout__tabset_tabbar_inner",e.FLEXLAYOUT__TABSET_TABBAR_INNER_="flexlayout__tabset_tabbar_inner_",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER="flexlayout__tabset_tabbar_inner_tab_container",e.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_="flexlayout__tabset_tabbar_inner_tab_container_",e.FLEXLAYOUT__TABSET_TABBAR_OUTER="flexlayout__tabset_tabbar_outer",e.FLEXLAYOUT__TABSET_TABBAR_OUTER_="flexlayout__tabset_tabbar_outer_",e.FLEXLAYOUT__TAB_BORDER="flexlayout__tab_border",e.FLEXLAYOUT__TAB_BORDER_="flexlayout__tab_border_",e.FLEXLAYOUT__TAB_BUTTON="flexlayout__tab_button",e.FLEXLAYOUT__TAB_BUTTON_STRETCH="flexlayout__tab_button_stretch",e.FLEXLAYOUT__TAB_BUTTON_CONTENT="flexlayout__tab_button_content",e.FLEXLAYOUT__TAB_BUTTON_LEADING="flexlayout__tab_button_leading",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW="flexlayout__tab_button_overflow",e.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT="flexlayout__tab_button_overflow_count",e.FLEXLAYOUT__TAB_BUTTON_TEXTBOX="flexlayout__tab_button_textbox",e.FLEXLAYOUT__TAB_BUTTON_TRAILING="flexlayout__tab_button_trailing",e.FLEXLAYOUT__TAB_BUTTON_STAMP="flexlayout__tab_button_stamp",e.FLEXLAYOUT__TAB_FLOATING="flexlayout__tab_floating",e.FLEXLAYOUT__TAB_FLOATING_INNER="flexlayout__tab_floating_inner",e.FLEXLAYOUT__TAB_TOOLBAR="flexlayout__tab_toolbar",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON="flexlayout__tab_toolbar_button",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_="flexlayout__tab_toolbar_button-",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT="flexlayout__tab_toolbar_button-float",e.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER="flexlayout__tab_toolbar_sticky_buttons_container",e.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE="flexlayout__tab_toolbar_button-close",e.FLEXLAYOUT__POPUP_MENU_CONTAINER="flexlayout__popup_menu_container",e.FLEXLAYOUT__POPUP_MENU_ITEM="flexlayout__popup_menu_item",e.FLEXLAYOUT__POPUP_MENU="flexlayout__popup_menu"}(t.CLASSES||(t.CLASSES={}))},99310:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),o(r(37462),t),o(r(31200),t),o(r(19103),t),o(r(71480),t),o(r(29026),t),o(r(95731),t),o(r(48528),t),o(r(33391),t),o(r(73948),t),o(r(37393),t),o(r(27618),t),o(r(64948),t),o(r(16169),t),o(r(38171),t),o(r(19555),t),o(r(88324),t),o(r(20883),t),o(r(94017),t),o(r(30300),t),o(r(81648),t),o(r(92530),t),o(r(76643),t)},31200:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;t.Action=class{constructor(e,t){this.type=e,this.data=t}}},19103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Actions=void 0;const n=r(31200);class o{static addNode(e,t,r,i,a){return new n.Action(o.ADD_NODE,{json:e,toNode:t,location:r.getName(),index:i,select:a})}static moveNode(e,t,r,i,a){return new n.Action(o.MOVE_NODE,{fromNode:e,toNode:t,location:r.getName(),index:i,select:a})}static deleteTab(e){return new n.Action(o.DELETE_TAB,{node:e})}static deleteTabset(e){return new n.Action(o.DELETE_TABSET,{node:e})}static renameTab(e,t){return new n.Action(o.RENAME_TAB,{node:e,text:t})}static selectTab(e){return new n.Action(o.SELECT_TAB,{tabNode:e})}static setActiveTabset(e){return new n.Action(o.SET_ACTIVE_TABSET,{tabsetNode:e})}static adjustSplit(e){const t=e.node1Id,r=e.node2Id;return new n.Action(o.ADJUST_SPLIT,{node1:t,weight1:e.weight1,pixelWidth1:e.pixelWidth1,node2:r,weight2:e.weight2,pixelWidth2:e.pixelWidth2})}static adjustBorderSplit(e,t){return new n.Action(o.ADJUST_BORDER_SPLIT,{node:e,pos:t})}static maximizeToggle(e){return new n.Action(o.MAXIMIZE_TOGGLE,{node:e})}static updateModelAttributes(e){return new n.Action(o.UPDATE_MODEL_ATTRIBUTES,{json:e})}static updateNodeAttributes(e,t){return new n.Action(o.UPDATE_NODE_ATTRIBUTES,{node:e,json:t})}static floatTab(e){return new n.Action(o.FLOAT_TAB,{node:e})}static unFloatTab(e){return new n.Action(o.UNFLOAT_TAB,{node:e})}}t.Actions=o,o.ADD_NODE="FlexLayout_AddNode",o.MOVE_NODE="FlexLayout_MoveNode",o.DELETE_TAB="FlexLayout_DeleteTab",o.DELETE_TABSET="FlexLayout_DeleteTabset",o.RENAME_TAB="FlexLayout_RenameTab",o.SELECT_TAB="FlexLayout_SelectTab",o.SET_ACTIVE_TABSET="FlexLayout_SetActiveTabset",o.ADJUST_SPLIT="FlexLayout_AdjustSplit",o.ADJUST_BORDER_SPLIT="FlexLayout_AdjustBorderSplit",o.MAXIMIZE_TOGGLE="FlexLayout_MaximizeToggle",o.UPDATE_MODEL_ATTRIBUTES="FlexLayout_UpdateModelAttributes",o.UPDATE_NODE_ATTRIBUTES="FlexLayout_UpdateNodeAttributes",o.FLOAT_TAB="FlexLayout_FloatTab",o.UNFLOAT_TAB="FlexLayout_UnFloatTab"},71480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderNode=void 0;const n=r(10046),o=r(96874),i=r(88324),a=r(94017),s=r(81648),l=r(92530),c=r(76643),u=r(27618),f=r(16169),d=r(38171),p=r(82429);class h extends u.Node{static _fromJson(e,t){const r=i.DockLocation.getByName(e.location),n=new h(r,e,t);return e.children&&(n._children=e.children.map((e=>{const r=d.TabNode._fromJson(e,t);return r._setParent(n),r}))),n}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("selected",-1).setType(n.Attribute.NUMBER),e.add("show",!0).setType(n.Attribute.BOOLEAN),e.add("config",void 0).setType("any"),e.addInherited("barSize","borderBarSize").setType(n.Attribute.NUMBER),e.addInherited("enableDrop","borderEnableDrop").setType(n.Attribute.BOOLEAN),e.addInherited("className","borderClassName").setType(n.Attribute.STRING),e.addInherited("autoSelectTabWhenOpen","borderAutoSelectTabWhenOpen").setType(n.Attribute.BOOLEAN),e.addInherited("autoSelectTabWhenClosed","borderAutoSelectTabWhenClosed").setType(n.Attribute.BOOLEAN),e.addInherited("size","borderSize").setType(n.Attribute.NUMBER),e.addInherited("minSize","borderMinSize").setType(n.Attribute.NUMBER),e.addInherited("enableAutoHide","borderEnableAutoHide").setType(n.Attribute.BOOLEAN),e}constructor(e,t,r){super(r),this._adjustedSize=0,this._calculatedBorderBarSize=0,this._location=e,this._drawChildren=[],this._attributes.id=`border_${e.getName()}`,h._attributeDefinitions.fromJson(t,this._attributes),r._addNode(this)}getLocation(){return this._location}getTabHeaderRect(){return this._tabHeaderRect}getRect(){return this._tabHeaderRect}getContentRect(){return this._contentRect}isEnableDrop(){return this._getAttr("enableDrop")}isAutoSelectTab(e){return null==e&&(e=-1!==this.getSelected()),e?this._getAttr("autoSelectTabWhenOpen"):this._getAttr("autoSelectTabWhenClosed")}getClassName(){return this._getAttr("className")}calcBorderBarSize(e){const t=this._getAttr("barSize");this._calculatedBorderBarSize=0!==t?t:e.borderBarSize}getBorderBarSize(){return this._calculatedBorderBarSize}getSize(){const e=this._getAttr("size"),t=this.getSelected();if(-1===t)return e;{const r=this._children[t],n=this._location._orientation===s.Orientation.HORZ?r._getAttr("borderWidth"):r._getAttr("borderHeight");return-1===n?e:n}}getMinSize(){return this._getAttr("minSize")}getSelected(){return this._attributes.selected}getSelectedNode(){if(-1!==this.getSelected())return this._children[this.getSelected()]}getOrientation(){return this._location.getOrientation()}getConfig(){return this._attributes.config}isMaximized(){return!1}isShowing(){return!!this._attributes.show&&(this._model._getShowHiddenBorder()===this._location||!this.isAutoHide()||0!==this._children.length)}isAutoHide(){return this._getAttr("enableAutoHide")}_setSelected(e){this._attributes.selected=e}_setSize(e){const t=this.getSelected();if(-1===t)this._attributes.size=e;else{const r=this._children[t];-1===(this._location._orientation===s.Orientation.HORZ?r._getAttr("borderWidth"):r._getAttr("borderHeight"))?this._attributes.size=e:this._location._orientation===s.Orientation.HORZ?r._setBorderWidth(e):r._setBorderHeight(e)}}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}_getDrawChildren(){return this._drawChildren}_setAdjustedSize(e){this._adjustedSize=e}_getAdjustedSize(){return this._adjustedSize}_layoutBorderOuter(e,t){this.calcBorderBarSize(t);const r=this._location.split(e,this.getBorderBarSize());return this._tabHeaderRect=r.start,r.end}_layoutBorderInner(e,t){this._drawChildren=[];const r=this._location,n=r.split(e,this._adjustedSize+this._model.getSplitterSize()),o=r.reflect().split(n.start,this._model.getSplitterSize());this._contentRect=o.end;for(let e=0;e0){let e=this._children[0],r=e.getTabRect();const i=r.y,s=r.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0){let e=this._children[0],t=e.getTabRect();const i=t.x,s=t.width;let u=this._tabHeaderRect.y,f=0;for(let d=0;d=u&&r0&&r--;let a=r;-1===a&&(a=this._children.length),e.getType()===d.TabNode.TYPE&&this._addChild(e,a),(n||!1!==n&&this.isAutoSelectTab())&&this._setSelected(a),this._model._tidy()}toJson(){const e={};return h._attributeDefinitions.toJson(e,this._attributes),e.location=this._location.getName(),e.children=this._children.map((e=>e.toJson())),e}_getSplitterBounds(e,t=!1){const r=[0,0],n=t?this.getMinSize():0,o=this._model._getOuterInnerRects().outer,a=this._model._getOuterInnerRects().inner,s=this._model.getRoot();return this._location===i.DockLocation.TOP?(r[0]=o.y+n,r[1]=Math.max(r[0],a.getBottom()-e.getHeight()-s.getMinHeight())):this._location===i.DockLocation.LEFT?(r[0]=o.x+n,r[1]=Math.max(r[0],a.getRight()-e.getWidth()-s.getMinWidth())):this._location===i.DockLocation.BOTTOM?(r[1]=o.getBottom()-e.getHeight()-n,r[0]=Math.min(r[1],a.y+s.getMinHeight())):this._location===i.DockLocation.RIGHT&&(r[1]=o.getRight()-e.getWidth()-n,r[0]=Math.min(r[1],a.x+s.getMinWidth())),r}_calculateSplit(e,t){const r=this._getSplitterBounds(e);return this._location===i.DockLocation.BOTTOM||this._location===i.DockLocation.RIGHT?Math.max(0,r[1]-t):Math.max(0,t-r[0])}_getAttributeDefinitions(){return h._attributeDefinitions}static getAttributeDefinitions(){return h._attributeDefinitions}}t.BorderNode=h,h.TYPE="border",h._attributeDefinitions=h._createAttributeDefinitions()},29026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderSet=void 0;const n=r(81648),o=r(71480);class i{static _fromJson(e,t){const r=new i(t);return r._borders=e.map((e=>o.BorderNode._fromJson(e,t))),r}constructor(e){this._model=e,this._borders=[]}getBorders(){return this._borders}_forEachNode(e){for(const t of this._borders){e(t,0);for(const r of t.getChildren())r._forEachNode(e,1)}}_toJson(){return this._borders.map((e=>e.toJson()))}_layoutBorder(e,t){const r=e.outer,o=this._model.getRoot();let i=Math.max(0,r.height-o.getMinHeight()),a=Math.max(0,r.width-o.getMinWidth()),s=0,l=0,c=0,u=0;const f=this._borders.filter((e=>e.isShowing()));for(const e of f){e._setAdjustedSize(e.getSize());const t=-1!==e.getSelected();e.getLocation().getOrientation()===n.Orientation.HORZ?(l+=e.getBorderBarSize(),t&&(a-=this._model.getSplitterSize(),l+=e.getSize(),u+=e.getSize())):(s+=e.getBorderBarSize(),t&&(i-=this._model.getSplitterSize(),s+=e.getSize(),c+=e.getSize()))}let d=0,p=!1;for(;l>a&&u>0||s>i&&c>0;){const e=f[d];if(-1!==e.getSelected()){const t=e._getAdjustedSize();l>a&&u>0&&e.getLocation().getOrientation()===n.Orientation.HORZ&&t>0&&t>e.getMinSize()?(e._setAdjustedSize(t-1),l--,u--,p=!0):s>i&&c>0&&e.getLocation().getOrientation()===n.Orientation.VERT&&t>0&&t>e.getMinSize()&&(e._setAdjustedSize(t-1),s--,c--,p=!0)}if(d=(d+1)%f.length,0===d){if(!p)break;p=!1}}for(const r of f)e.outer=r._layoutBorderOuter(e.outer,t);e.inner=e.outer;for(const r of f)e.inner=r._layoutBorderInner(e.inner,t);return e}_findDropTargetNode(e,t,r){for(const n of this._borders)if(n.isShowing()){const o=n.canDrop(e,t,r);if(void 0!==o)return o}}}t.BorderSet=i},95731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICloseType=void 0,function(e){e[e.Visible=1]="Visible",e[e.Always=2]="Always",e[e.Selected=3]="Selected"}(t.ICloseType||(t.ICloseType={}))},48528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},33391:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},73948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},37393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Model=void 0;const n=r(10046),o=r(96874),i=r(88324),a=r(81648),s=r(92530),l=r(19103),c=r(71480),u=r(29026),f=r(64948),d=r(38171),p=r(19555),h=r(82429);class m{static fromJson(e){const t=new m;return m._attributeDefinitions.fromJson(e.global,t._attributes),e.borders&&(t._borders=u.BorderSet._fromJson(e.borders,t)),t._root=f.RowNode._fromJson(e.layout,t),t._tidy(),t}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("legacyOverflowMenu",!1).setType(n.Attribute.BOOLEAN),e.add("enableEdgeDock",!0).setType(n.Attribute.BOOLEAN),e.add("rootOrientationVertical",!1).setType(n.Attribute.BOOLEAN),e.add("marginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("enableUseVisibility",!1).setType(n.Attribute.BOOLEAN),e.add("enableRotateBorderIcons",!0).setType(n.Attribute.BOOLEAN),e.add("splitterSize",-1).setType(n.Attribute.NUMBER),e.add("splitterExtra",0).setType(n.Attribute.NUMBER),e.add("tabEnableClose",!0).setType(n.Attribute.BOOLEAN),e.add("tabCloseType",1).setType("ICloseType"),e.add("tabEnableFloat",!1).setType(n.Attribute.BOOLEAN),e.add("tabEnableDrag",!0).setType(n.Attribute.BOOLEAN),e.add("tabEnableRename",!0).setType(n.Attribute.BOOLEAN),e.add("tabContentClassName",void 0).setType(n.Attribute.STRING),e.add("tabClassName",void 0).setType(n.Attribute.STRING),e.add("tabIcon",void 0).setType(n.Attribute.STRING),e.add("tabEnableRenderOnDemand",!0).setType(n.Attribute.BOOLEAN),e.add("tabDragSpeed",.3).setType(n.Attribute.NUMBER),e.add("tabBorderWidth",-1).setType(n.Attribute.NUMBER),e.add("tabBorderHeight",-1).setType(n.Attribute.NUMBER),e.add("tabSetEnableDeleteWhenEmpty",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDrop",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDrag",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableDivide",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableMaximize",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableClose",!1).setType(n.Attribute.BOOLEAN),e.add("tabSetEnableSingleTabStretch",!1).setType(n.Attribute.BOOLEAN),e.add("tabSetAutoSelectTab",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetClassNameTabStrip",void 0).setType(n.Attribute.STRING),e.add("tabSetClassNameHeader",void 0).setType(n.Attribute.STRING),e.add("tabSetEnableTabStrip",!0).setType(n.Attribute.BOOLEAN),e.add("tabSetHeaderHeight",0).setType(n.Attribute.NUMBER),e.add("tabSetTabStripHeight",0).setType(n.Attribute.NUMBER),e.add("tabSetMarginInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetBorderInsets",{top:0,right:0,bottom:0,left:0}).setType("IInsets"),e.add("tabSetTabLocation","top").setType("ITabLocation"),e.add("tabSetMinWidth",0).setType(n.Attribute.NUMBER),e.add("tabSetMinHeight",0).setType(n.Attribute.NUMBER),e.add("borderSize",200).setType(n.Attribute.NUMBER),e.add("borderMinSize",0).setType(n.Attribute.NUMBER),e.add("borderBarSize",0).setType(n.Attribute.NUMBER),e.add("borderEnableDrop",!0).setType(n.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenOpen",!0).setType(n.Attribute.BOOLEAN),e.add("borderAutoSelectTabWhenClosed",!1).setType(n.Attribute.BOOLEAN),e.add("borderClassName",void 0).setType(n.Attribute.STRING),e.add("borderEnableAutoHide",!1).setType(n.Attribute.BOOLEAN),e}constructor(){this._borderRects={inner:s.Rect.empty(),outer:s.Rect.empty()},this._attributes={},this._idMap={},this._borders=new u.BorderSet(this),this._pointerFine=!0,this._showHiddenBorder=i.DockLocation.CENTER}_setChangeListener(e){this._changeListener=e}getActiveTabset(){return this._activeTabSet&&this.getNodeById(this._activeTabSet.getId())?this._activeTabSet:void 0}_getShowHiddenBorder(){return this._showHiddenBorder}_setShowHiddenBorder(e){this._showHiddenBorder=e}_setActiveTabset(e){this._activeTabSet=e}getMaximizedTabset(){return this._maximizedTabSet}_setMaximizedTabset(e){this._maximizedTabSet=e}getRoot(){return this._root}isRootOrientationVertical(){return this._attributes.rootOrientationVertical}isUseVisibility(){return this._attributes.enableUseVisibility}isEnableRotateBorderIcons(){return this._attributes.enableRotateBorderIcons}getBorderSet(){return this._borders}_getOuterInnerRects(){return this._borderRects}_getPointerFine(){return this._pointerFine}_setPointerFine(e){this._pointerFine=e}visitNodes(e){this._borders._forEachNode(e),this._root._forEachNode(e,0)}getNodeById(e){return this._idMap[e]}getFirstTabSet(e=this._root){const t=e.getChildren()[0];return t instanceof p.TabSetNode?t:this.getFirstTabSet(t)}doAction(e){let t;switch(e.type){case l.Actions.ADD_NODE:{const r=new d.TabNode(this,e.data.json,!0),n=this._idMap[e.data.toNode];(n instanceof p.TabSetNode||n instanceof c.BorderNode||n instanceof f.RowNode)&&(n.drop(r,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select),t=r);break}case l.Actions.MOVE_NODE:{const t=this._idMap[e.data.fromNode];if(t instanceof d.TabNode||t instanceof p.TabSetNode){const r=this._idMap[e.data.toNode];(r instanceof p.TabSetNode||r instanceof c.BorderNode||r instanceof f.RowNode)&&r.drop(t,i.DockLocation.getByName(e.data.location),e.data.index,e.data.select)}break}case l.Actions.DELETE_TAB:{const t=this._idMap[e.data.node];t instanceof d.TabNode&&t._delete();break}case l.Actions.DELETE_TABSET:{const t=this._idMap[e.data.node];if(t instanceof p.TabSetNode){const e=[...t.getChildren()];for(let t=0;tthis._idMap[e.getId()]=e))}_adjustSplitSide(e,t,r){e._setWeight(t),null!=e.getWidth()&&e.getOrientation()===a.Orientation.VERT?e._updateAttrs({width:r}):null!=e.getHeight()&&e.getOrientation()===a.Orientation.HORZ&&e._updateAttrs({height:r})}toJson(){const e={};return m._attributeDefinitions.toJson(e,this._attributes),this.visitNodes((e=>{e._fireEvent("save",void 0)})),{global:e,borders:this._borders._toJson(),layout:this._root.toJson()}}getSplitterSize(){let e=this._attributes.splitterSize;return-1===e&&(e=this._pointerFine?8:12),e}isLegacyOverflowMenu(){return this._attributes.legacyOverflowMenu}getSplitterExtra(){return this._attributes.splitterExtra}isEnableEdgeDock(){return this._attributes.enableEdgeDock}_addNode(e){const t=e.getId();if(void 0!==this._idMap[t])throw new Error(`Error: each node must have a unique id, duplicate id:${e.getId()}`);"splitter"!==e.getType()&&(this._idMap[t]=e)}_layout(e,t){var r;return this._borderRects=this._borders._layoutBorder({outer:e,inner:e},t),e=this._borderRects.inner.removeInsets(this._getAttribute("marginInsets")),null===(r=this._root)||void 0===r||r.calcMinSize(),this._root._layout(e,t),e}_findDropTargetNode(e,t,r){let n=this._root._findDropTargetNode(e,t,r);return void 0===n&&(n=this._borders._findDropTargetNode(e,t,r)),n}_tidy(){this._root._tidy()}_updateAttrs(e){m._attributeDefinitions.update(e,this._attributes)}_nextUniqueId(){return"#"+(0,h.randomUUID)()}_getAttribute(e){return this._attributes[e]}setOnAllowDrop(e){this._onAllowDrop=e}_getOnAllowDrop(){return this._onAllowDrop}setOnCreateTabSet(e){this._onCreateTabSet=e}_getOnCreateTabSet(){return this._onCreateTabSet}static toTypescriptInterfaces(){console.log(m._attributeDefinitions.toTypescriptInterface("Global",void 0)),console.log(f.RowNode.getAttributeDefinitions().toTypescriptInterface("Row",m._attributeDefinitions)),console.log(p.TabSetNode.getAttributeDefinitions().toTypescriptInterface("TabSet",m._attributeDefinitions)),console.log(d.TabNode.getAttributeDefinitions().toTypescriptInterface("Tab",m._attributeDefinitions)),console.log(c.BorderNode.getAttributeDefinitions().toTypescriptInterface("Border",m._attributeDefinitions))}toString(){return JSON.stringify(this.toJson())}}t.Model=m,m._attributeDefinitions=m._createAttributeDefinitions()},27618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Node=void 0;const n=r(88324),o=r(81648),i=r(92530);t.Node=class{constructor(e){this._dirty=!1,this._tempSize=0,this._model=e,this._attributes={},this._children=[],this._fixed=!1,this._rect=i.Rect.empty(),this._visible=!1,this._listeners={}}getId(){let e=this._attributes.id;return void 0!==e||(e=this._model._nextUniqueId(),this._setId(e)),e}getModel(){return this._model}getType(){return this._attributes.type}getParent(){return this._parent}getChildren(){return this._children}getRect(){return this._rect}isVisible(){return this._visible}getOrientation(){return void 0===this._parent?this._model.isRootOrientationVertical()?o.Orientation.VERT:o.Orientation.HORZ:o.Orientation.flip(this._parent.getOrientation())}setEventListener(e,t){this._listeners[e]=t}removeEventListener(e){delete this._listeners[e]}_setId(e){this._attributes.id=e}_fireEvent(e,t){void 0!==this._listeners[e]&&this._listeners[e](t)}_getAttr(e){let t=this._attributes[e];if(void 0===t){const r=this._getAttributeDefinitions().getModelName(e);void 0!==r&&(t=this._model._getAttribute(r))}return t}_forEachNode(e,t){e(this,t),t++;for(const r of this._children)r._forEachNode(e,t)}_setVisible(e){e!==this._visible&&(this._fireEvent("visibility",{visible:e}),this._visible=e)}_getDrawChildren(){return this._children}_setParent(e){this._parent=e}_setRect(e){this._rect=e}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}_isFixed(){return this._fixed}_layout(e,t){this._rect=e}_findDropTargetNode(e,t,r){let n;if(this._rect.contains(t,r))if(void 0!==this._model.getMaximizedTabset())n=this._model.getMaximizedTabset().canDrop(e,t,r);else if(n=this.canDrop(e,t,r),void 0===n&&0!==this._children.length)for(const o of this._children)if(n=o._findDropTargetNode(e,t,r),void 0!==n)break;return n}canDrop(e,t,r){}_canDockInto(e,t){if(null!=t){if(t.location===n.DockLocation.CENTER&&!1===t.node.isEnableDrop())return!1;if(t.location===n.DockLocation.CENTER&&"tabset"===e.getType()&&void 0!==e.getName())return!1;if(t.location!==n.DockLocation.CENTER&&!1===t.node.isEnableDivide())return!1;if(this._model._getOnAllowDrop())return this._model._getOnAllowDrop()(e,t)}return!0}_removeChild(e){const t=this._children.indexOf(e);return-1!==t&&this._children.splice(t,1),this._dirty=!0,t}_addChild(e,t){return null!=t?this._children.splice(t,0,e):(this._children.push(e),t=this._children.length-1),e._parent=this,this._dirty=!0,t}_removeAll(){this._children=[],this._dirty=!0}_styleWithPosition(e){return null==e&&(e={}),this._rect.styleWithPosition(e)}_getTempSize(){return this._tempSize}_setTempSize(e){this._tempSize=e}isEnableDivide(){return!0}_toAttributeString(){return JSON.stringify(this._attributes,void 0,"\t")}}},64948:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowNode=void 0;const n=r(10046),o=r(96874),i=r(88324),a=r(94017),s=r(81648),l=r(92530),c=r(76643),u=r(71480),f=r(27618),d=r(16169),p=r(19555);class h extends f.Node{static _fromJson(e,t){const r=new h(t,e);if(null!=e.children)for(const n of e.children)if(n.type===p.TabSetNode.TYPE){const e=p.TabSetNode._fromJson(n,t);r._addChild(e)}else{const e=h._fromJson(n,t);r._addChild(e)}return r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",h.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("id",void 0).setType(n.Attribute.STRING),e.add("weight",100).setType(n.Attribute.NUMBER),e.add("width",void 0).setType(n.Attribute.NUMBER),e.add("height",void 0).setType(n.Attribute.NUMBER),e}constructor(e,t){super(e),this._dirty=!0,this._drawChildren=[],this._minHeight=0,this._minWidth=0,h._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this)}getWeight(){return this._attributes.weight}getWidth(){return this._getAttr("width")}getHeight(){return this._getAttr("height")}_setWeight(e){this._attributes.weight=e}_layout(e,t){super._layout(e,t);const r=this._rect._getSize(this.getOrientation());let n=0,o=0,i=0,a=0;const c=this._getDrawChildren();for(const e of c){const t=e._getPrefSize(this.getOrientation());e._isFixed()?void 0!==t&&(o+=t):void 0===t?n+=e.getWeight():(i+=t,a+=e.getWeight())}let u=!1,f=r-o-i;f<0&&(f=r-o,u=!0,n+=a);let p=0,h=0;for(const e of c){const t=e._getPrefSize(this.getOrientation());if(e._isFixed())void 0!==t&&e._setTempSize(t);else if(null==t||u){if(0===n)e._setTempSize(0);else{const t=e.getMinSize(this.getOrientation()),r=Math.floor(f*(e.getWeight()/n));e._setTempSize(Math.max(t,r))}h+=e._getTempSize()}else e._setTempSize(t);p+=e._getTempSize()}if(h>0){for(;pr;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){const n=t.getMinSize(this.getOrientation());t._getTempSize()>n&&p>r&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}for(;p>r;){let e=!1;for(const t of c)if(!(t instanceof d.SplitterNode)){t._getTempSize()>0&&p>r&&(t._setTempSize(t._getTempSize()-1),p--,e=!0)}if(!e)break}}let m=0;for(const e of c)this.getOrientation()===s.Orientation.HORZ?e._layout(new l.Rect(this._rect.x+m,this._rect.y,e._getTempSize(),this._rect.height),t):e._layout(new l.Rect(this._rect.x,this._rect.y+m,this._rect.width,e._getTempSize()),t),m+=e._getTempSize();return!0}_getSplitterBounds(e,t=!1){const r=[0,0],n=this._getDrawChildren(),o=n.indexOf(e),i=n[o-1],a=n[o+1];if(this.getOrientation()===s.Orientation.HORZ){const n=t?i.getMinWidth():0,o=t?a.getMinWidth():0;r[0]=i.getRect().x+n,r[1]=a.getRect().getRight()-e.getWidth()-o}else{const n=t?i.getMinHeight():0,o=t?a.getMinHeight():0;r[0]=i.getRect().y+n,r[1]=a.getRect().getBottom()-e.getHeight()-o}return r}_calculateSplit(e,t){let r;const n=this._getDrawChildren(),o=n.indexOf(e),i=this._getSplitterBounds(e),a=n[o-1].getWeight()+n[o+1].getWeight(),s=Math.max(0,t-i[0]),l=Math.max(0,i[1]-t);if(s+l>0){const e=s*a/(s+l),t=l*a/(s+l);r={node1Id:n[o-1].getId(),weight1:e,pixelWidth1:s,node2Id:n[o+1].getId(),weight2:t,pixelWidth2:l}}return r}_getDrawChildren(){if(this._dirty){this._drawChildren=[];for(let e=0;el/2-u&&nthis._rect.getRight()-10&&n>l/2-u&&ns/2-u&&othis._rect.getBottom()-10&&o>s/2-u&&oe+t.getWeight()),0);0===s&&(s=100),a._setWeight(s/3);const l=!this._model.isRootOrientationVertical();if(l&&n===i.DockLocation.LEFT||!l&&n===i.DockLocation.TOP)this._addChild(a,0);else if(l&&n===i.DockLocation.RIGHT||!l&&n===i.DockLocation.BOTTOM)this._addChild(a);else if(l&&n===i.DockLocation.TOP||!l&&n===i.DockLocation.LEFT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(a),e._addChild(t),this._addChild(e)}else if(l&&n===i.DockLocation.BOTTOM||!l&&n===i.DockLocation.RIGHT){const e=new h(this._model,{}),t=new h(this._model,{});t._setWeight(75),a._setWeight(25);for(const e of this._children)t._addChild(e);this._removeAll(),e._addChild(t),e._addChild(a),this._addChild(e)}this._model._setActiveTabset(a),this._model._tidy()}toJson(){const e={};h._attributeDefinitions.toJson(e,this._attributes),e.children=[];for(const t of this._children)e.children.push(t.toJson());return e}isEnableDrop(){return!0}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}_getAttributeDefinitions(){return h._attributeDefinitions}_updateAttrs(e){h._attributeDefinitions.update(e,this._attributes)}static getAttributeDefinitions(){return h._attributeDefinitions}}t.RowNode=h,h.TYPE="row",h._attributeDefinitions=h._createAttributeDefinitions()},16169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SplitterNode=void 0;const n=r(96874),o=r(81648),i=r(27618);class a extends i.Node{constructor(e){super(e),this._fixed=!0,this._attributes.type=a.TYPE,e._addNode(this)}getWidth(){return this._model.getSplitterSize()}getMinWidth(){return this.getOrientation()===o.Orientation.VERT?this._model.getSplitterSize():0}getHeight(){return this._model.getSplitterSize()}getMinHeight(){return this.getOrientation()===o.Orientation.HORZ?this._model.getSplitterSize():0}getMinSize(e){return e===o.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getWeight(){return 0}_setWeight(e){}_getPrefSize(e){return this._model.getSplitterSize()}_updateAttrs(e){}_getAttributeDefinitions(){return new n.AttributeDefinitions}toJson(){}}t.SplitterNode=a,a.TYPE="splitter"},38171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabNode=void 0;const n=r(10046),o=r(96874),i=r(27618);class a extends i.Node{static _fromJson(e,t,r=!0){return new a(t,e,r)}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",a.TYPE,!0).setType(n.Attribute.STRING),e.add("id",void 0).setType(n.Attribute.STRING),e.add("name","[Unnamed Tab]").setType(n.Attribute.STRING),e.add("altName",void 0).setType(n.Attribute.STRING),e.add("helpText",void 0).setType(n.Attribute.STRING),e.add("component",void 0).setType(n.Attribute.STRING),e.add("config",void 0).setType("any"),e.add("floating",!1).setType(n.Attribute.BOOLEAN),e.add("tabsetClassName",void 0).setType(n.Attribute.STRING),e.addInherited("enableClose","tabEnableClose").setType(n.Attribute.BOOLEAN),e.addInherited("closeType","tabCloseType").setType("ICloseType"),e.addInherited("enableDrag","tabEnableDrag").setType(n.Attribute.BOOLEAN),e.addInherited("enableRename","tabEnableRename").setType(n.Attribute.BOOLEAN),e.addInherited("className","tabClassName").setType(n.Attribute.STRING),e.addInherited("contentClassName","tabContentClassName").setType(n.Attribute.STRING),e.addInherited("icon","tabIcon").setType(n.Attribute.STRING),e.addInherited("enableRenderOnDemand","tabEnableRenderOnDemand").setType(n.Attribute.BOOLEAN),e.addInherited("enableFloat","tabEnableFloat").setType(n.Attribute.BOOLEAN),e.addInherited("borderWidth","tabBorderWidth").setType(n.Attribute.NUMBER),e.addInherited("borderHeight","tabBorderHeight").setType(n.Attribute.NUMBER),e}constructor(e,t,r=!0){super(e),this._extra={},a._attributeDefinitions.fromJson(t,this._attributes),!0===r&&e._addNode(this)}getWindow(){return this._window}getTabRect(){return this._tabRect}_setTabRect(e){this._tabRect=e}_setRenderedName(e){this._renderedName=e}_getNameForOverflowMenu(){const e=this._getAttr("altName");return void 0!==e?e:this._renderedName}getName(){return this._getAttr("name")}getHelpText(){return this._getAttr("helpText")}getComponent(){return this._getAttr("component")}getConfig(){return this._attributes.config}getExtraData(){return this._extra}isFloating(){return this._getAttr("floating")}getIcon(){return this._getAttr("icon")}isEnableClose(){return this._getAttr("enableClose")}getCloseType(){return this._getAttr("closeType")}isEnableFloat(){return this._getAttr("enableFloat")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableRename(){return this._getAttr("enableRename")}getClassName(){return this._getAttr("className")}getContentClassName(){return this._getAttr("contentClassName")}getTabSetClassName(){return this._getAttr("tabsetClassName")}isEnableRenderOnDemand(){return this._getAttr("enableRenderOnDemand")}_setName(e){this._attributes.name=e,this._window&&this._window.document&&(this._window.document.title=e)}_setFloating(e){this._attributes.floating=e}_layout(e,t){e.equals(this._rect)||this._fireEvent("resize",{rect:e}),this._rect=e}_delete(){this._parent._remove(this),this._fireEvent("close",{})}toJson(){const e={};return a._attributeDefinitions.toJson(e,this._attributes),e}_updateAttrs(e){a._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return a._attributeDefinitions}_setWindow(e){this._window=e}_setBorderWidth(e){this._attributes.borderWidth=e}_setBorderHeight(e){this._attributes.borderHeight=e}static getAttributeDefinitions(){return a._attributeDefinitions}}t.TabNode=a,a.TYPE="tab",a._attributeDefinitions=a._createAttributeDefinitions()},19555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSetNode=void 0;const n=r(10046),o=r(96874),i=r(88324),a=r(94017),s=r(81648),l=r(92530),c=r(76643),u=r(71480),f=r(27618),d=r(64948),p=r(38171),h=r(82429);class m extends f.Node{static _fromJson(e,t){const r=new m(t,e);if(null!=e.children)for(const n of e.children){const e=p.TabNode._fromJson(n,t);r._addChild(e)}return 0===r._children.length&&r._setSelected(-1),e.maximized&&!0===e.maximized&&t._setMaximizedTabset(r),e.active&&!0===e.active&&t._setActiveTabset(r),r}static _createAttributeDefinitions(){const e=new o.AttributeDefinitions;return e.add("type",m.TYPE,!0).setType(n.Attribute.STRING).setFixed(),e.add("id",void 0).setType(n.Attribute.STRING),e.add("weight",100).setType(n.Attribute.NUMBER),e.add("width",void 0).setType(n.Attribute.NUMBER),e.add("height",void 0).setType(n.Attribute.NUMBER),e.add("selected",0).setType(n.Attribute.NUMBER),e.add("name",void 0).setType(n.Attribute.STRING),e.add("config",void 0).setType("any"),e.addInherited("enableDeleteWhenEmpty","tabSetEnableDeleteWhenEmpty"),e.addInherited("enableDrop","tabSetEnableDrop"),e.addInherited("enableDrag","tabSetEnableDrag"),e.addInherited("enableDivide","tabSetEnableDivide"),e.addInherited("enableMaximize","tabSetEnableMaximize"),e.addInherited("enableClose","tabSetEnableClose"),e.addInherited("enableSingleTabStretch","tabSetEnableSingleTabStretch"),e.addInherited("classNameTabStrip","tabSetClassNameTabStrip"),e.addInherited("classNameHeader","tabSetClassNameHeader"),e.addInherited("enableTabStrip","tabSetEnableTabStrip"),e.addInherited("borderInsets","tabSetBorderInsets"),e.addInherited("marginInsets","tabSetMarginInsets"),e.addInherited("minWidth","tabSetMinWidth"),e.addInherited("minHeight","tabSetMinHeight"),e.addInherited("headerHeight","tabSetHeaderHeight"),e.addInherited("tabStripHeight","tabSetTabStripHeight"),e.addInherited("tabLocation","tabSetTabLocation"),e.addInherited("autoSelectTab","tabSetAutoSelectTab").setType(n.Attribute.BOOLEAN),e}constructor(e,t){super(e),m._attributeDefinitions.fromJson(t,this._attributes),e._addNode(this),this._calculatedTabBarHeight=0,this._calculatedHeaderBarHeight=0}getName(){return this._getAttr("name")}getSelected(){const e=this._attributes.selected;return void 0!==e?e:-1}getSelectedNode(){const e=this.getSelected();if(-1!==e)return this._children[e]}getWeight(){return this._getAttr("weight")}getWidth(){return this._getAttr("width")}getMinWidth(){return this._getAttr("minWidth")}getHeight(){return this._getAttr("height")}getMinHeight(){return this._getAttr("minHeight")}getMinSize(e){return e===s.Orientation.HORZ?this.getMinWidth():this.getMinHeight()}getConfig(){return this._attributes.config}isMaximized(){return this._model.getMaximizedTabset()===this}isActive(){return this._model.getActiveTabset()===this}isEnableDeleteWhenEmpty(){return this._getAttr("enableDeleteWhenEmpty")}isEnableDrop(){return this._getAttr("enableDrop")}isEnableDrag(){return this._getAttr("enableDrag")}isEnableDivide(){return this._getAttr("enableDivide")}isEnableMaximize(){return this._getAttr("enableMaximize")}isEnableClose(){return this._getAttr("enableClose")}isEnableSingleTabStretch(){return this._getAttr("enableSingleTabStretch")}canMaximize(){return!!this.isEnableMaximize()&&(this.getModel().getMaximizedTabset()===this||(this.getParent()!==this.getModel().getRoot()||1!==this.getModel().getRoot().getChildren().length))}isEnableTabStrip(){return this._getAttr("enableTabStrip")}isAutoSelectTab(){return this._getAttr("autoSelectTab")}getClassNameTabStrip(){return this._getAttr("classNameTabStrip")}getClassNameHeader(){return this._getAttr("classNameHeader")}calculateHeaderBarHeight(e){const t=this._getAttr("headerHeight");this._calculatedHeaderBarHeight=0!==t?t:e.headerBarSize}calculateTabBarHeight(e){const t=this._getAttr("tabStripHeight");this._calculatedTabBarHeight=0!==t?t:e.tabBarSize}getHeaderHeight(){return this._calculatedHeaderBarHeight}getTabStripHeight(){return this._calculatedTabBarHeight}getTabLocation(){return this._getAttr("tabLocation")}_setWeight(e){this._attributes.weight=e}_setSelected(e){this._attributes.selected=e}canDrop(e,t,r){let n;if(e===this){const e=i.DockLocation.CENTER,t=this._tabHeaderRect;n=new a.DropInfo(this,t,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(this._contentRect.contains(t,r)){let e=i.DockLocation.CENTER;void 0===this._model.getMaximizedTabset()&&(e=i.DockLocation.getLocation(this._contentRect,t,r));const o=e.getDockRect(this._rect);n=new a.DropInfo(this,o,e,-1,c.CLASSES.FLEXLAYOUT__OUTLINE_RECT)}else if(null!=this._tabHeaderRect&&this._tabHeaderRect.contains(t,r)){let e,r,o;if(0===this._children.length)e=this._tabHeaderRect.clone(),r=e.y+3,o=e.height-4,e.width=2;else{let s=this._children[0];e=s.getTabRect(),r=e.y,o=e.height;let u=this._tabHeaderRect.x,f=0;for(let d=0;d=u&&t0&&r--,o===i.DockLocation.CENTER){let t=r;if(-1===t&&(t=this._children.length),e.getType()===p.TabNode.TYPE)this._addChild(e,t),(n||!1!==n&&this.isAutoSelectTab())&&this._setSelected(t);else{for(let r=0;r0&&this._setSelected(0)}this._model._setActiveTabset(this)}else{let t;if(e instanceof p.TabNode){const r=this._model._getOnCreateTabSet();t=new m(this._model,r?r(e):{}),t._addChild(e),a=t}else t=e;const r=this._parent,n=r.getChildren().indexOf(this);if(r.getOrientation()===o._orientation)t._setWeight(this.getWeight()/2),this._setWeight(this.getWeight()/2),r._addChild(t,n+o._indexPlus);else{const e=new d.RowNode(this._model,{});e._setWeight(this.getWeight()),e._addChild(this),this._setWeight(50),t._setWeight(50),e._addChild(t,o._indexPlus),r._removeChild(this),r._addChild(e,n)}this._model._setActiveTabset(t)}this._model._tidy()}toJson(){const e={};return m._attributeDefinitions.toJson(e,this._attributes),e.children=this._children.map((e=>e.toJson())),this.isActive()&&(e.active=!0),this.isMaximized()&&(e.maximized=!0),e}_updateAttrs(e){m._attributeDefinitions.update(e,this._attributes)}_getAttributeDefinitions(){return m._attributeDefinitions}_getPrefSize(e){let t=this.getWidth();return e===s.Orientation.VERT&&(t=this.getHeight()),t}static getAttributeDefinitions(){return m._attributeDefinitions}}t.TabSetNode=m,m.TYPE="tabset",m._attributeDefinitions=m._createAttributeDefinitions()},82429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.randomUUID=t.adjustSelectedIndex=t.adjustSelectedIndexAfterDock=t.adjustSelectedIndexAfterFloat=void 0;const n=r(19555),o=r(71480);t.adjustSelectedIndexAfterFloat=function(e){const t=e.getParent();if(null!==t)if(t instanceof n.TabSetNode){let r=!1,n=0;const o=t.getChildren();for(let t=0;t0?t>=e.getChildren().length&&e._setSelected(e.getChildren().length-1):tr||e._setSelected(-1))}},t.randomUUID=function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}},65742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderButton=void 0;const n=r(49244),o=r(30300),i=r(19103),a=r(92530),s=r(95731),l=r(76643),c=r(60343);t.BorderButton=e=>{const{layout:t,node:r,selected:u,border:f,iconFactory:d,titleFactory:p,icons:h,path:m}=e,g=n.useRef(null),y=n.useRef(null),v=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,r,r.isEnableDrag(),O,w)},b=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(r,e)},O=()=>{t.doAction(i.Actions.selectTab(r.getId()))},w=e=>{},S=e=>{(()=>{const e=r.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(r.getId())):O()},E=e=>{e.stopPropagation()};n.useLayoutEffect((()=>{x(),t.getEditingTab()===r&&y.current.select()}));const x=()=>{var e;const n=t.getDomRect(),o=null===(e=g.current)||void 0===e?void 0:e.getBoundingClientRect();o&&n&&r._setTabRect(new a.Rect(o.left-n.left,o.top-n.top,o.width,o.height))},P=e=>{e.stopPropagation()},T=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(r.getId(),e.target.value)))},j=t.getClassName;let C=j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON)+" "+j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_+f);C+=u?" "+j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__SELECTED):" "+j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON__UNSELECTED),void 0!==r.getClassName()&&(C+=" "+r.getClassName());let k=0;!1===r.getModel().isEnableRotateBorderIcons()&&("left"===f?k=90:"right"===f&&(k=-90));const _=(0,c.getRenderStateEx)(t,r,d,p,k);let A=_.content?n.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_CONTENT)},_.content):null;const D=_.leading?n.createElement("div",{className:j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_LEADING)},_.leading):null;if(t.getEditingTab()===r&&(A=n.createElement("input",{ref:y,className:j(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":m+"/textbox",type:"text",autoFocus:!0,defaultValue:r.getName(),onKeyDown:T,onMouseDown:P,onTouchStart:P})),r.isEnableClose()){const e=t.i18nName(o.I18nLabel.Close_Tab);_.buttons.push(n.createElement("div",{key:"close","data-layout-path":m+"/button/close",title:e,className:j(l.CLASSES.FLEXLAYOUT__BORDER_BUTTON_TRAILING),onMouseDown:E,onClick:S,onTouchStart:E},"function"==typeof h.close?h.close(r):h.close))}return n.createElement("div",{ref:g,"data-layout-path":m,className:C,onMouseDown:v,onClick:b,onAuxClick:b,onContextMenu:e=>{t.showContextMenu(r,e)},onTouchStart:v,title:r.getHelpText()},D,A,_.buttons)}},74767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BorderTabSet=void 0;const n=r(49244),o=r(88324),i=r(65742),a=r(59919),s=r(19103),l=r(30300),c=r(22272),u=r(81648),f=r(76643),d=r(60343);t.BorderTabSet=e=>{const{border:t,layout:r,iconFactory:p,titleFactory:h,icons:m,path:g}=e,y=n.useRef(null),v=n.useRef(null),b=n.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:E,onMouseWheel:x,tabsTruncated:P}=(0,c.useTabOverflow)(t,u.Orientation.flip(t.getOrientation()),y,b),T=e=>{(0,d.isAuxMouseEvent)(e)&&r.auxMouseClick(t,e)},j=e=>{e.stopPropagation()},C=e=>{const n=r.getShowOverflowMenu();if(void 0!==n)n(t,e,E,k);else{const e=v.current;(0,a.showPopup)(e,E,k,r,p,h)}e.stopPropagation()},k=e=>{r.doAction(s.Actions.selectTab(e.node.getId())),S.current=!1},_=e=>{const n=t.getChildren()[t.getSelected()];void 0!==n&&r.doAction(s.Actions.floatTab(n.getId())),e.stopPropagation()},A=r.getClassName;let D=t.getTabHeaderRect().styleWithPosition({});const R=[],L=e=>{let o=t.getSelected()===e,a=t.getChildren()[e];R.push(n.createElement(i.BorderButton,{layout:r,border:t.getLocation().getName(),node:a,path:g+"/tb"+e,key:a.getId(),selected:o,iconFactory:p,titleFactory:h,icons:m})),e0&&(P?I=[...N,...I]:R.push(n.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:j,onTouchStart:j,onDragStart:e=>{e.preventDefault()},className:A(f.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},N))),E.length>0){const e=r.i18nName(l.I18nLabel.Overflow_Menu_Tooltip);let o;o="function"==typeof m.more?m.more(t,E):n.createElement(n.Fragment,null,m.more,n.createElement("div",{className:A(f.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},E.length)),I.splice(Math.min($.overflowPosition,I.length),0,n.createElement("button",{key:"overflowbutton",ref:v,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_OVERFLOW_+t.getLocation().getName()),title:e,onClick:C,onMouseDown:j,onTouchStart:j},o))}const B=t.getSelected();if(-1!==B){const e=t.getChildren()[B];if(void 0!==e&&r.isSupportsPopout()&&e.isEnableFloat()&&!e.isFloating()){const t=r.i18nName(l.I18nLabel.Float_Tab);I.push(n.createElement("button",{key:"float",title:t,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_BUTTON_FLOAT),onClick:_,onMouseDown:j,onTouchStart:j},"function"==typeof m.popout?m.popout(e):m.popout))}}const F=n.createElement("div",{key:"toolbar",ref:y,className:A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_TOOLBAR_+t.getLocation().getName())},I);D=r.styleFont(D);let Q={};const V=t.getBorderBarSize()-1;return Q=t.getLocation()===o.DockLocation.LEFT?{right:V,height:V,top:w}:t.getLocation()===o.DockLocation.RIGHT?{left:V,height:V,top:w}:{height:V,left:w},n.createElement("div",{ref:O,dir:"ltr",style:D,className:M,"data-layout-path":g,onClick:T,onAuxClick:T,onContextMenu:e=>{r.showContextMenu(t,e)},onWheel:x},n.createElement("div",{style:{height:V},className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_+t.getLocation().getName())},n.createElement("div",{style:Q,className:A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER)+" "+A(f.CLASSES.FLEXLAYOUT__BORDER_INNER_TAB_CONTAINER_+t.getLocation().getName())},R)),F)}},16834:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorBoundary=void 0;const n=r(49244),o=r(76643);class i extends n.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){console.debug(e),console.debug(t)}render(){return this.state.hasError?n.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTAINER},n.createElement("div",{className:o.CLASSES.FLEXLAYOUT__ERROR_BOUNDARY_CONTENT},this.props.message)):this.props.children}}t.ErrorBoundary=i},57713:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindow=void 0;const n=r(49244),o=r(2787),i=r(92530),a=r(76643);t.FloatingWindow=e=>{const{title:t,id:r,url:s,rect:l,onCloseWindow:c,onSetWindow:u,children:f}=e,d=n.useRef(null),p=n.useRef(null),[h,m]=n.useState(void 0);return n.useLayoutEffect((()=>{p.current&&clearTimeout(p.current);let e=!0;const n=l||new i.Rect(0,0,100,100),o=Array.from(window.document.styleSheets).reduce(((e,t)=>{let r;try{r=t.cssRules}catch(e){}try{return[...e,{href:t.href,type:t.type,rules:r?Array.from(r).map((e=>e.cssText)):null}]}catch(t){return e}}),[]);return d.current=window.open(s,r,`left=${n.x},top=${n.y},width=${n.width},height=${n.height}`),null!==d.current?(u(r,d.current),window.addEventListener("beforeunload",(()=>{d.current&&(d.current.close(),d.current=null)})),d.current.addEventListener("load",(()=>{if(e){const e=d.current.document;e.title=t;const n=e.createElement("div");n.className=a.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_CONTENT,e.body.appendChild(n),function(e,t){const r=e.head,n=[];for(const o of t)if(o.href){const t=e.createElement("link");t.type=o.type,t.rel="stylesheet",t.href=o.href,r.appendChild(t),n.push(new Promise((e=>{t.onload=()=>e(!0)})))}else if(o.rules){const t=e.createElement("style");for(const r of o.rules)t.appendChild(e.createTextNode(r));r.appendChild(t)}return Promise.all(n)}(e,o).then((()=>{m(n)})),d.current.addEventListener("beforeunload",(()=>{c(r)}))}}))):(console.warn(`Unable to open window ${s}`),c(r)),()=>{e=!1,p.current=setTimeout((()=>{d.current&&(d.current.close(),d.current=null)}),0)}}),[]),void 0!==h?(0,o.createPortal)(f,h):null}},87515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FloatingWindowTab=void 0;const n=r(49244),o=r(16834),i=r(30300),a=r(49244),s=r(76643);t.FloatingWindowTab=e=>{const{layout:t,node:r,factory:l}=e,c=t.getClassName,u=l(r);return n.createElement("div",{className:c(s.CLASSES.FLEXLAYOUT__FLOATING_WINDOW_TAB)},n.createElement(o.ErrorBoundary,{message:e.layout.i18nName(i.I18nLabel.Error_rendering_component)},n.createElement(a.Fragment,null,u)))}},8636:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestoreIcon=t.PopoutIcon=t.EdgeIcon=t.OverflowIcon=t.MaximizeIcon=t.CloseIcon=void 0;const n=r(49244),o={width:"1em",height:"1em",display:"flex",alignItems:"center"};t.CloseIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24"},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{stroke:"var(--color-icon)",fill:"var(--color-icon)",d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}));t.MaximizeIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"}));t.OverflowIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M7 10l5 5 5-5z"}));t.EdgeIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"block",width:10,height:10},preserveAspectRatio:"none",viewBox:"0 0 100 100"},n.createElement("path",{fill:"var(--color-edge-icon)",stroke:"var(--color-edge-icon)",d:"M10 30 L90 30 l-40 40 Z"}));t.PopoutIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 20 20",fill:"var(--color-icon)"},n.createElement("path",{d:"M11 3a1 1 0 100 2h2.586l-6.293 6.293a1 1 0 101.414 1.414L15 6.414V9a1 1 0 102 0V4a1 1 0 00-1-1h-5z"}),n.createElement("path",{d:"M5 5a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2v-3a1 1 0 10-2 0v3H5V7h3a1 1 0 000-2H5z"}));t.RestoreIcon=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:o,viewBox:"0 0 24 24",fill:"var(--color-icon)"},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{stroke:"var(--color-icon)",d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z"}))},37462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Layout=void 0;const n=r(49244),o=r(2787),i=r(88324),a=r(20883),s=r(19103),l=r(71480),c=r(16169),u=r(38171),f=r(19555),d=r(92530),p=r(76643),h=r(74767),m=r(72439),g=r(49425),y=r(31809),v=r(57713),b=r(87515),O=r(23203),w=r(81648),S=r(8636),E=r(2486),x={close:n.createElement(S.CloseIcon,null),closeTabset:n.createElement(S.CloseIcon,null),popout:n.createElement(S.PopoutIcon,null),maximize:n.createElement(S.MaximizeIcon,null),restore:n.createElement(S.RestoreIcon,null),more:n.createElement(S.OverflowIcon,null),edgeArrow:n.createElement(S.EdgeIcon,null)},P="undefined"!=typeof window&&(window.document.documentMode||/Edge\//.test(window.navigator.userAgent)),T="undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches&&!P;class j extends n.Component{constructor(e){super(e),this.firstMove=!1,this.dragRectRendered=!0,this.dragDivText=void 0,this.edgeRectLength=100,this.edgeRectWidth=10,this.onModelChange=e=>{this.forceUpdate(),this.props.onModelChange&&this.props.onModelChange(this.props.model,e)},this.updateRect=e=>{if(e||(e=this.getDomRect()),!e)return;const t=new d.Rect(0,0,e.width,e.height);t.equals(this.state.rect)||0===t.width||0===t.height||this.setState({rect:t})},this.updateLayoutMetrics=()=>{if(this.findHeaderBarSizeRef.current){const e=this.findHeaderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedHeaderBarSize&&this.setState({calculatedHeaderBarSize:e})}if(this.findTabBarSizeRef.current){const e=this.findTabBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedTabBarSize&&this.setState({calculatedTabBarSize:e})}if(this.findBorderBarSizeRef.current){const e=this.findBorderBarSizeRef.current.getBoundingClientRect().height;e!==this.state.calculatedBorderBarSize&&this.setState({calculatedBorderBarSize:e})}},this.getClassName=e=>void 0===this.props.classNameMapper?e:this.props.classNameMapper(e),this.onCloseWindow=e=>{this.doAction(s.Actions.unFloatTab(e));try{this.props.model.getNodeById(e)._setWindow(void 0)}catch(e){}},this.onSetWindow=(e,t)=>{this.props.model.getNodeById(e)._setWindow(t)},this.onCancelAdd=()=>{var e,t;const r=this.selfRef.current;r&&this.dragDiv&&r.removeChild(this.dragDiv),this.dragDiv=void 0,this.hidePortal(),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(t=null===(e=this.customDrop)||void 0===e?void 0:e.invalidated)||void 0===t||t.call(e)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0},this.onCancelDrag=e=>{var t,r;if(e){const e=this.selfRef.current,n=this.outlineDiv;if(e&&n)try{e.removeChild(n)}catch(e){}const o=this.dragDiv;if(e&&o)try{e.removeChild(o)}catch(e){}this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0);try{null===(r=null===(t=this.customDrop)||void 0===t?void 0:t.invalidated)||void 0===r||r.call(t)}catch(e){console.error(e)}a.DragDrop.instance.hideGlass(),this.newTabJson=void 0,this.customDrop=void 0}this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.onDragDivMouseDown=e=>{e.preventDefault(),this.dragStart(e,this.dragDivText,u.TabNode._fromJson(this.newTabJson,this.props.model,!1),!0,void 0,void 0)},this.dragStart=(e,t,r,n,o,i)=>{var s,l;n?(this.dragNode=r,this.dragDivText=t,a.DragDrop.instance.startDrag(e,this.onDragStart,this.onDragMove,this.onDragEnd,this.onCancelDrag,o,i,this.currentDocument,null!==(l=this.selfRef.current)&&void 0!==l?l:void 0)):a.DragDrop.instance.startDrag(e,void 0,void 0,void 0,void 0,o,i,this.currentDocument,null!==(s=this.selfRef.current)&&void 0!==s?s:void 0)},this.dragRectRender=(e,t,r,o)=>{let i;if(void 0!==e?i=n.createElement("div",{style:{whiteSpace:"pre"}},e.replace("
","\n")):t&&t instanceof u.TabNode&&(i=n.createElement(E.TabButtonStamp,{node:t,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory})),void 0!==this.props.onRenderDragRect){const e=this.props.onRenderDragRect(i,t,r);void 0!==e&&(i=e)}this.dragRectRendered=!1;const a=this.dragDiv;a&&(a.style.visibility="hidden",this.showPortal(n.createElement(C,{onRendered:()=>{this.dragRectRendered=!0,null==o||o()}},i),a))},this.showPortal=(e,t)=>{const r=(0,o.createPortal)(e,t);this.setState({portal:r})},this.hidePortal=()=>{this.setState({portal:void 0})},this.onDragStart=()=>{var e;this.dropInfo=void 0,this.customDrop=void 0;const t=this.selfRef.current;return this.outlineDiv=this.currentDocument.createElement("div"),this.outlineDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__OUTLINE_RECT),this.outlineDiv.style.visibility="hidden",t&&t.appendChild(this.outlineDiv),null==this.dragDiv&&(this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragRectRender(this.dragDivText,this.dragNode,this.newTabJson),t&&t.appendChild(this.dragDiv)),void 0===this.props.model.getMaximizedTabset()&&this.setState({showEdges:this.props.model.isEnableEdgeDock()}),this.dragNode&&this.outlineDiv&&this.dragNode instanceof u.TabNode&&void 0!==this.dragNode.getTabRect()&&(null===(e=this.dragNode.getTabRect())||void 0===e||e.positionElement(this.outlineDiv)),this.firstMove=!0,!0},this.onDragMove=e=>{var t,r,n,o,i,a,s;if(!1===this.firstMove){const e=this.props.model._getAttribute("tabDragSpeed");this.outlineDiv&&(this.outlineDiv.style.transition=`top ${e}s, left ${e}s, width ${e}s, height ${e}s`)}this.firstMove=!1;const l=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect(),c={x:e.clientX-(null!==(r=null==l?void 0:l.left)&&void 0!==r?r:0),y:e.clientY-(null!==(n=null==l?void 0:l.top)&&void 0!==n?n:0)};this.checkForBorderToShow(c.x,c.y);const u=null!==(i=null===(o=this.dragDiv)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==i?i:new DOMRect(0,0,100,100);let f=c.x-u.width/2;f+u.width>(null!==(a=null==l?void 0:l.width)&&void 0!==a?a:0)&&(f=(null!==(s=null==l?void 0:l.width)&&void 0!==s?s:0)-u.width),f=Math.max(0,f),this.dragDiv&&(this.dragDiv.style.left=f+"px",this.dragDiv.style.top=c.y+5+"px",this.dragRectRendered&&"hidden"===this.dragDiv.style.visibility&&(this.dragDiv.style.visibility="visible"));let d=this.props.model._findDropTargetNode(this.dragNode,c.x,c.y);d&&(this.props.onTabDrag?this.handleCustomTabDrag(d,c,e):(this.dropInfo=d,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(d.className),d.rect.positionElement(this.outlineDiv),this.outlineDiv.style.visibility="visible")))},this.onDragEnd=e=>{const t=this.selfRef.current;if(t&&(this.outlineDiv&&t.removeChild(this.outlineDiv),this.dragDiv&&t.removeChild(this.dragDiv)),this.dragDiv=void 0,this.hidePortal(),this.setState({showEdges:!1}),a.DragDrop.instance.hideGlass(),this.dropInfo)if(this.customDrop){this.newTabJson=void 0;try{const{callback:e,dragging:t,over:r,x:n,y:o,location:i}=this.customDrop;e(t,r,n,o,i),null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(),this.fnNewNodeDropped=void 0)}catch(e){console.error(e)}}else if(void 0!==this.newTabJson){const t=this.doAction(s.Actions.addNode(this.newTabJson,this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));null!=this.fnNewNodeDropped&&(this.fnNewNodeDropped(t,e),this.fnNewNodeDropped=void 0),this.newTabJson=void 0}else void 0!==this.dragNode&&this.doAction(s.Actions.moveNode(this.dragNode.getId(),this.dropInfo.node.getId(),this.dropInfo.location,this.dropInfo.index));this.setState({showHiddenBorder:i.DockLocation.CENTER})},this.props.model._setChangeListener(this.onModelChange),this.tabIds=[],this.selfRef=n.createRef(),this.findHeaderBarSizeRef=n.createRef(),this.findTabBarSizeRef=n.createRef(),this.findBorderBarSizeRef=n.createRef(),this.supportsPopout=void 0!==e.supportsPopout?e.supportsPopout:T,this.popoutURL=e.popoutURL?e.popoutURL:"popout.html",this.icons=Object.assign(Object.assign({},x),e.icons),this.state={rect:new d.Rect(0,0,0,0),calculatedHeaderBarSize:25,calculatedTabBarSize:26,calculatedBorderBarSize:30,editingTab:void 0,showHiddenBorder:i.DockLocation.CENTER,showEdges:!1},this.onDragEnter=this.onDragEnter.bind(this)}styleFont(e){return this.props.font&&(this.selfRef.current&&(this.props.font.size&&this.selfRef.current.style.setProperty("--font-size",this.props.font.size),this.props.font.family&&this.selfRef.current.style.setProperty("--font-family",this.props.font.family)),this.props.font.style&&(e.fontStyle=this.props.font.style),this.props.font.weight&&(e.fontWeight=this.props.font.weight)),e}doAction(e){if(void 0!==this.props.onAction){const t=this.props.onAction(e);return void 0!==t?this.props.model.doAction(t):void 0}return this.props.model.doAction(e)}componentDidMount(){this.updateRect(),this.updateLayoutMetrics(),this.currentDocument=this.selfRef.current.ownerDocument,this.currentWindow=this.currentDocument.defaultView,this.resizeObserver=new ResizeObserver((e=>{this.updateRect(e[0].contentRect)}));const e=this.selfRef.current;e&&this.resizeObserver.observe(e)}componentDidUpdate(){this.updateLayoutMetrics(),this.props.model!==this.previousModel&&(void 0!==this.previousModel&&this.previousModel._setChangeListener(void 0),this.props.model._setChangeListener(this.onModelChange),this.previousModel=this.props.model)}getCurrentDocument(){return this.currentDocument}getDomRect(){var e;return null===(e=this.selfRef.current)||void 0===e?void 0:e.getBoundingClientRect()}getRootDiv(){return this.selfRef.current}isSupportsPopout(){return this.supportsPopout}isRealtimeResize(){var e;return null!==(e=this.props.realtimeResize)&&void 0!==e&&e}onTabDrag(...e){var t,r;return null===(r=(t=this.props).onTabDrag)||void 0===r?void 0:r.call(t,...e)}getPopoutURL(){return this.popoutURL}componentWillUnmount(){var e;const t=this.selfRef.current;t&&(null===(e=this.resizeObserver)||void 0===e||e.unobserve(t))}setEditingTab(e){this.setState({editingTab:e})}getEditingTab(){return this.state.editingTab}render(){if(!this.selfRef.current)return n.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT)},this.metricsElements());this.props.model._setPointerFine(window&&window.matchMedia&&window.matchMedia("(pointer: fine)").matches);const e=[],t=[],r=[],o={},i=[],a={headerBarSize:this.state.calculatedHeaderBarSize,tabBarSize:this.state.calculatedTabBarSize,borderBarSize:this.state.calculatedBorderBarSize};this.props.model._setShowHiddenBorder(this.state.showHiddenBorder),this.centerRect=this.props.model._layout(this.state.rect,a),this.renderBorder(this.props.model.getBorderSet(),e,o,r,i),this.renderChildren("",this.props.model.getRoot(),t,o,r,i);const s=[],l={};for(const e of this.tabIds)o[e]&&(s.push(e),l[e]=e);this.tabIds=s;for(const e of Object.keys(o))l[e]||this.tabIds.push(e);const c=[],u=this.icons.edgeArrow;if(this.state.showEdges){const e=this.centerRect,t=this.edgeRectLength,r=this.edgeRectWidth,o=this.edgeRectLength/2,i=this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT),a=50;c.push(n.createElement("div",{key:"North",style:{top:e.y,left:e.x+e.width/2-o,width:t,height:r,borderBottomLeftRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_TOP)},n.createElement("div",{style:{transform:"rotate(180deg)"}},u))),c.push(n.createElement("div",{key:"West",style:{top:e.y+e.height/2-o,left:e.x,width:r,height:t,borderTopRightRadius:a,borderBottomRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_LEFT)},n.createElement("div",{style:{transform:"rotate(90deg)"}},u))),c.push(n.createElement("div",{key:"South",style:{top:e.y+e.height-r,left:e.x+e.width/2-o,width:t,height:r,borderTopLeftRadius:a,borderTopRightRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_BOTTOM)},n.createElement("div",null,u))),c.push(n.createElement("div",{key:"East",style:{top:e.y+e.height/2-o,left:e.x+e.width-r,width:r,height:t,borderTopLeftRadius:a,borderBottomLeftRadius:a},className:i+" "+this.getClassName(p.CLASSES.FLEXLAYOUT__EDGE_RECT_RIGHT)},n.createElement("div",{style:{transform:"rotate(-90deg)"}},u)))}return n.createElement("div",{ref:this.selfRef,className:this.getClassName(p.CLASSES.FLEXLAYOUT__LAYOUT),onDragEnter:this.props.onExternalDrag?this.onDragEnter:void 0},t,this.tabIds.map((e=>o[e])),e,i,c,r,this.metricsElements(),this.state.portal)}metricsElements(){const e=this.styleFont({visibility:"hidden"});return n.createElement(n.Fragment,null,n.createElement("div",{key:"findHeaderBarSize",ref:this.findHeaderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_HEADER_SIZER)},"FindHeaderBarSize"),n.createElement("div",{key:"findTabBarSize",ref:this.findTabBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__TABSET_SIZER)},"FindTabBarSize"),n.createElement("div",{key:"findBorderBarSize",ref:this.findBorderBarSizeRef,style:e,className:this.getClassName(p.CLASSES.FLEXLAYOUT__BORDER_SIZER)},"FindBorderBarSize"))}renderBorder(e,t,r,o,i){for(const a of e.getBorders()){const e=`/border/${a.getLocation().getName()}`;if(a.isShowing()){t.push(n.createElement(h.BorderTabSet,{key:`border_${a.getLocation().getName()}`,path:e,border:a,layout:this,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons}));const s=a._getDrawChildren();let l=0,f=0;for(const t of s){if(t instanceof c.SplitterNode){let r=e+"/s";i.push(n.createElement(m.Splitter,{key:t.getId(),layout:this,node:t,path:r}))}else if(t instanceof u.TabNode){let i=e+"/t"+f++;if(this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t),s=t._getAttr("borderWidth"),c=t._getAttr("borderHeight");e&&(-1!==s&&a.getLocation().getOrientation()===w.Orientation.HORZ?e.width=s:-1!==c&&a.getLocation().getOrientation()===w.Orientation.VERT&&(e.height=c)),o.push(n.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},n.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),r[t.getId()]=n.createElement(O.TabFloating,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected()})}else r[t.getId()]=n.createElement(g.Tab,{key:t.getId(),layout:this,path:i,node:t,selected:l===a.getSelected(),factory:this.props.factory})}l++}}}}renderChildren(e,t,r,o,i,a){const s=t._getDrawChildren();let l=0,d=0,p=0;for(const t of s)if(t instanceof c.SplitterNode){const r=e+"/s"+l++;a.push(n.createElement(m.Splitter,{key:t.getId(),layout:this,path:r,node:t}))}else if(t instanceof f.TabSetNode){const s=e+"/ts"+p++;r.push(n.createElement(y.TabSet,{key:t.getId(),layout:this,path:s,node:t,iconFactory:this.props.iconFactory,titleFactory:this.props.titleFactory,icons:this.icons})),this.renderChildren(s,t,r,o,i,a)}else if(t instanceof u.TabNode){const r=e+"/t"+d++,a=t.getParent().getChildren()[t.getParent().getSelected()];if(void 0===a&&console.warn("undefined selectedTab should not happen"),this.supportsPopout&&t.isFloating()){const e=this._getScreenRect(t);i.push(n.createElement(v.FloatingWindow,{key:t.getId(),url:this.popoutURL,rect:e,title:t.getName(),id:t.getId(),onSetWindow:this.onSetWindow,onCloseWindow:this.onCloseWindow},n.createElement(b.FloatingWindowTab,{layout:this,node:t,factory:this.props.factory}))),o[t.getId()]=n.createElement(O.TabFloating,{key:t.getId(),layout:this,path:r,node:t,selected:t===a})}else o[t.getId()]=n.createElement(g.Tab,{key:t.getId(),layout:this,path:r,node:t,selected:t===a,factory:this.props.factory})}else{const n=e+(t.getOrientation()===w.Orientation.HORZ?"/r":"/c")+p++;this.renderChildren(n,t,r,o,i,a)}}_getScreenRect(e){var t;const r=e.getRect().clone(),n=null===(t=this.selfRef.current)||void 0===t?void 0:t.getBoundingClientRect();if(!n)return null;const o=Math.min(80,this.currentWindow.outerHeight-this.currentWindow.innerHeight),i=Math.min(80,this.currentWindow.outerWidth-this.currentWindow.innerWidth);return r.x=r.x+n.x+this.currentWindow.screenX+i,r.y=r.y+n.y+this.currentWindow.screenY+o,r}addTabToTabSet(e,t){if(void 0!==this.props.model.getNodeById(e)){return this.doAction(s.Actions.addNode(t,e,i.DockLocation.CENTER,-1))}}addTabToActiveTabSet(e){const t=this.props.model.getActiveTabset();if(void 0!==t){return this.doAction(s.Actions.addNode(e,t.getId(),i.DockLocation.CENTER,-1))}}addTabWithDragAndDrop(e,t,r){this.fnNewNodeDropped=r,this.newTabJson=t,this.dragStart(void 0,e,u.TabNode._fromJson(t,this.props.model,!1),!0,void 0,void 0)}moveTabWithDragAndDrop(e,t){this.dragStart(void 0,t,e,!0,void 0,void 0)}addTabWithDragAndDropIndirect(e,t,r){this.fnNewNodeDropped=r,this.newTabJson=t,a.DragDrop.instance.addGlass(this.onCancelAdd),this.dragDivText=e,this.dragDiv=this.currentDocument.createElement("div"),this.dragDiv.className=this.getClassName(p.CLASSES.FLEXLAYOUT__DRAG_RECT),this.dragDiv.addEventListener("mousedown",this.onDragDivMouseDown),this.dragDiv.addEventListener("touchstart",this.onDragDivMouseDown,{passive:!1}),this.dragRectRender(this.dragDivText,void 0,this.newTabJson,(()=>{if(this.dragDiv){this.dragDiv.style.visibility="visible";const e=this.dragDiv.getBoundingClientRect(),t=new d.Rect(0,0,null==e?void 0:e.width,null==e?void 0:e.height);t.centerInRect(this.state.rect),this.dragDiv.setAttribute("data-layout-path","/drag-rectangle"),this.dragDiv.style.left=t.x+"px",this.dragDiv.style.top=t.y+"px"}}));this.selfRef.current.appendChild(this.dragDiv)}handleCustomTabDrag(e,t,r){var n,o,i;let s=null===(n=this.customDrop)||void 0===n?void 0:n.invalidated;const c=null===(o=this.customDrop)||void 0===o?void 0:o.callback;this.customDrop=void 0;const h=this.newTabJson||(this.dragNode instanceof u.TabNode?this.dragNode:void 0);if(h&&(e.node instanceof f.TabSetNode||e.node instanceof l.BorderNode)&&-1===e.index){const n=e.node.getSelectedNode(),o=null==n?void 0:n.getRect();if(n&&(null==o?void 0:o.contains(t.x,t.y))){let i;try{const a=this.onTabDrag(h,n,t.x-o.x,t.y-o.y,e.location,(()=>this.onDragMove(r)));a&&(i={rect:new d.Rect(a.x+o.x,a.y+o.y,a.width,a.height),callback:a.callback,invalidated:a.invalidated,dragging:h,over:n,x:t.x-o.x,y:t.y-o.y,location:e.location,cursor:a.cursor})}catch(e){console.error(e)}(null==i?void 0:i.callback)===c&&(s=void 0),this.customDrop=i}}this.dropInfo=e,this.outlineDiv&&(this.outlineDiv.className=this.getClassName(this.customDrop?p.CLASSES.FLEXLAYOUT__OUTLINE_RECT:e.className),this.customDrop?this.customDrop.rect.positionElement(this.outlineDiv):e.rect.positionElement(this.outlineDiv)),a.DragDrop.instance.setGlassCursorOverride(null===(i=this.customDrop)||void 0===i?void 0:i.cursor),this.outlineDiv&&(this.outlineDiv.style.visibility="visible");try{null==s||s()}catch(e){console.error(e)}}onDragEnter(e){if(a.DragDrop.instance.isDragging())return;const t=this.props.onExternalDrag(e);t&&(this.fnNewNodeDropped=t.onDrop,this.newTabJson=t.json,this.dragStart(e,t.dragText,u.TabNode._fromJson(t.json,this.props.model,!1),!0,void 0,void 0))}checkForBorderToShow(e,t){const r=this.props.model._getOuterInnerRects().outer,n=r.getCenter(),o=this.edgeRectWidth,a=this.edgeRectLength/2;let s=!1;this.props.model.isEnableEdgeDock()&&this.state.showHiddenBorder===i.DockLocation.CENTER&&(t>n.y-a&&tn.x-a&&e=r.getRight()-o?l=i.DockLocation.RIGHT:t<=r.y+o?l=i.DockLocation.TOP:t>=r.getBottom()-o&&(l=i.DockLocation.BOTTOM)),l!==this.state.showHiddenBorder&&this.setState({showHiddenBorder:l})}maximize(e){this.doAction(s.Actions.maximizeToggle(e.getId()))}customizeTab(e,t){this.props.onRenderTab&&this.props.onRenderTab(e,t)}customizeTabSet(e,t){this.props.onRenderTabSet&&this.props.onRenderTabSet(e,t)}i18nName(e,t){let r;return this.props.i18nMapper&&(r=this.props.i18nMapper(e,t)),void 0===r&&(r=e+(void 0===t?"":t)),r}getOnRenderFloatingTabPlaceholder(){return this.props.onRenderFloatingTabPlaceholder}getShowOverflowMenu(){return this.props.onShowOverflowMenu}getTabSetPlaceHolderCallback(){return this.props.onTabSetPlaceHolder}showContextMenu(e,t){this.props.onContextMenu&&this.props.onContextMenu(e,t)}auxMouseClick(e,t){this.props.onAuxMouseClick&&this.props.onAuxMouseClick(e,t)}}t.Layout=j;const C=e=>(n.useEffect((()=>{var t;null===(t=e.onRendered)||void 0===t||t.call(e)}),[e]),n.createElement(n.Fragment,null,e.children))},72439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Splitter=void 0;const n=r(49244),o=r(20883),i=r(19103),a=r(71480),s=r(81648),l=r(76643);t.Splitter=e=>{const{layout:t,node:r,path:c}=e,u=n.useRef([]),f=n.useRef(void 0),d=r.getParent(),p=e=>{var n;o.DragDrop.instance.setGlassCursorOverride(r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"),o.DragDrop.instance.startDrag(e,m,g,v,h,void 0,void 0,t.getCurrentDocument(),null!==(n=t.getRootDiv())&&void 0!==n?n:void 0),u.current=d._getSplitterBounds(r,!0);const i=t.getRootDiv();f.current=t.getCurrentDocument().createElement("div"),f.current.style.position="absolute",f.current.className=t.getClassName(l.CLASSES.FLEXLAYOUT__SPLITTER_DRAG),f.current.style.cursor=r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize";const a=r.getRect();r.getOrientation()===s.Orientation.VERT&&a.width<2?a.width=2:r.getOrientation()===s.Orientation.HORZ&&a.height<2&&(a.height=2),a.positionElement(f.current),i&&i.appendChild(f.current)},h=e=>{const r=t.getRootDiv();r&&r.removeChild(f.current)},m=()=>!0,g=e=>{const n=t.getDomRect();if(!n)return;const o=e.clientX-n.left,i=e.clientY-n.top;f&&(r.getOrientation()===s.Orientation.HORZ?f.current.style.top=b(i-4)+"px":f.current.style.left=b(o-4)+"px"),t.isRealtimeResize()&&y()},y=()=>{let e=0;if(f&&(e=r.getOrientation()===s.Orientation.HORZ?f.current.offsetTop:f.current.offsetLeft),d instanceof a.BorderNode){const n=d._calculateSplit(r,e);t.doAction(i.Actions.adjustBorderSplit(r.getParent().getId(),n))}else{const n=d._calculateSplit(r,e);void 0!==n&&t.doAction(i.Actions.adjustSplit(n))}},v=()=>{y();const e=t.getRootDiv();e&&e.removeChild(f.current)},b=e=>{const t=u.current;let r=e;return et[1]&&(r=t[1]),r},O=t.getClassName;let w=r.getRect();const S=w.styleWithPosition({cursor:r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"});let E=O(l.CLASSES.FLEXLAYOUT__SPLITTER)+" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_+r.getOrientation().getName());d instanceof a.BorderNode?E+=" "+O(l.CLASSES.FLEXLAYOUT__SPLITTER_BORDER):void 0!==r.getModel().getMaximizedTabset()&&(S.display="none");const x=r.getModel().getSplitterExtra();if(0===x)return n.createElement("div",{style:S,"data-layout-path":c,className:E,onTouchStart:p,onMouseDown:p});{let e=w.clone();e.x=0,e.y=0,r.getOrientation()===s.Orientation.VERT?e.width+=x:e.height+=x;const t=e.styleWithPosition({cursor:r.getOrientation()===s.Orientation.HORZ?"ns-resize":"ew-resize"}),o=O(l.CLASSES.FLEXLAYOUT__SPLITTER_EXTRA);return n.createElement("div",{style:S,"data-layout-path":c,className:E},n.createElement("div",{style:t,className:o,onTouchStart:p,onMouseDown:p}))}}},49425:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tab=void 0;const n=r(49244),o=r(49244),i=r(19103),a=r(19555),s=r(76643),l=r(16834),c=r(30300),u=r(71480),f=r(60343);t.Tab=e=>{const{layout:t,selected:r,node:d,factory:p,path:h}=e,[m,g]=n.useState(!e.node.isEnableRenderOnDemand()||e.selected);n.useLayoutEffect((()=>{!m&&r&&g(!0)}));const y=()=>{const e=d.getParent();e.getType()===a.TabSetNode.TYPE&&(e.isActive()||t.doAction(i.Actions.setActiveTabset(e.getId())))},v=t.getClassName,b=d.getModel().isUseVisibility(),O=d.getParent(),w=d._styleWithPosition();let S;r||(0,f.hideElement)(w,b),O instanceof a.TabSetNode&&(void 0===d.getModel().getMaximizedTabset()||O.isMaximized()||(0,f.hideElement)(w,b)),m&&(S=p(d));let E=v(s.CLASSES.FLEXLAYOUT__TAB);return O instanceof u.BorderNode&&(E+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER),E+=" "+v(s.CLASSES.FLEXLAYOUT__TAB_BORDER_+O.getLocation().getName())),void 0!==d.getContentClassName()&&(E+=" "+d.getContentClassName()),n.createElement("div",{className:E,"data-layout-path":h,onMouseDown:y,onTouchStart:y,style:w},n.createElement(l.ErrorBoundary,{message:e.layout.i18nName(c.I18nLabel.Error_rendering_component)},n.createElement(o.Fragment,null,S)))}},35641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButton=void 0;const n=r(49244),o=r(30300),i=r(19103),a=r(92530),s=r(95731),l=r(76643),c=r(60343);t.TabButton=e=>{const{layout:t,node:r,selected:u,iconFactory:f,titleFactory:d,icons:p,path:h}=e,m=n.useRef(null),g=n.useRef(null),y=e=>{(0,c.isAuxMouseEvent)(e)||t.getEditingTab()||t.dragStart(e,void 0,r,r.isEnableDrag(),b,O)},v=e=>{(0,c.isAuxMouseEvent)(e)&&t.auxMouseClick(r,e)},b=()=>{t.doAction(i.Actions.selectTab(r.getId()))},O=e=>{r.isEnableRename()&&w()},w=()=>{t.setEditingTab(r),t.getCurrentDocument().body.addEventListener("mousedown",S),t.getCurrentDocument().body.addEventListener("touchstart",S)},S=e=>{e.target!==g.current&&(t.getCurrentDocument().body.removeEventListener("mousedown",S),t.getCurrentDocument().body.removeEventListener("touchstart",S),t.setEditingTab(void 0))},E=e=>{(()=>{const e=r.getCloseType();return!!(u||e===s.ICloseType.Always||e===s.ICloseType.Visible&&window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches)})()?t.doAction(i.Actions.deleteTab(r.getId())):b()},x=e=>{e.stopPropagation()};n.useLayoutEffect((()=>{P(),t.getEditingTab()===r&&g.current.select()}));const P=()=>{var e;const n=t.getDomRect(),o=null===(e=m.current)||void 0===e?void 0:e.getBoundingClientRect();o&&n&&r._setTabRect(new a.Rect(o.left-n.left,o.top-n.top,o.width,o.height))},T=e=>{e.stopPropagation()},j=e=>{"Escape"===e.code?t.setEditingTab(void 0):"Enter"===e.code&&(t.setEditingTab(void 0),t.doAction(i.Actions.renameTab(r.getId(),e.target.value)))},C=t.getClassName,k=r.getParent(),_=k.isEnableSingleTabStretch()&&1===k.getChildren().length;let A=_?l.CLASSES.FLEXLAYOUT__TAB_BUTTON_STRETCH:l.CLASSES.FLEXLAYOUT__TAB_BUTTON,D=C(A);D+=" "+C(A+"_"+k.getTabLocation()),_||(D+=u?" "+C(A+"--selected"):" "+C(A+"--unselected")),void 0!==r.getClassName()&&(D+=" "+r.getClassName());const R=(0,c.getRenderStateEx)(t,r,f,d);let L=R.content?n.createElement("div",{className:C(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},R.content):null;const M=R.leading?n.createElement("div",{className:C(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},R.leading):null;if(t.getEditingTab()===r&&(L=n.createElement("input",{ref:g,className:C(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TEXTBOX),"data-layout-path":h+"/textbox",type:"text",autoFocus:!0,defaultValue:r.getName(),onKeyDown:j,onMouseDown:T,onTouchStart:T})),r.isEnableClose()&&!_){const e=t.i18nName(o.I18nLabel.Close_Tab);R.buttons.push(n.createElement("div",{key:"close","data-layout-path":h+"/button/close",title:e,className:C(l.CLASSES.FLEXLAYOUT__TAB_BUTTON_TRAILING),onMouseDown:x,onClick:E,onTouchStart:x},"function"==typeof p.close?p.close(r):p.close))}return n.createElement("div",{ref:m,"data-layout-path":h,className:D,onMouseDown:y,onClick:v,onAuxClick:v,onContextMenu:e=>{t.showContextMenu(r,e)},onTouchStart:y,title:r.getHelpText()},M,L,R.buttons)}},2486:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabButtonStamp=void 0;const n=r(49244),o=r(76643),i=r(60343);t.TabButtonStamp=e=>{const{layout:t,node:r,iconFactory:a,titleFactory:s}=e,l=n.useRef(null),c=t.getClassName;let u=c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_STAMP);const f=(0,i.getRenderStateEx)(t,r,a,s);let d=f.content?n.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_CONTENT)},f.content):r._getNameForOverflowMenu();const p=f.leading?n.createElement("div",{className:c(o.CLASSES.FLEXLAYOUT__TAB_BUTTON_LEADING)},f.leading):null;return n.createElement("div",{ref:l,className:u,title:r.getHelpText()},p,d)}},23203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabFloating=void 0;const n=r(49244),o=r(19103),i=r(19555),a=r(76643),s=r(30300),l=r(60343);t.TabFloating=e=>{const{layout:t,selected:r,node:c,path:u}=e,f=()=>{c.getWindow()&&c.getWindow().focus()},d=()=>{t.doAction(o.Actions.unFloatTab(c.getId()))},p=()=>{const e=c.getParent();e.getType()===i.TabSetNode.TYPE&&(e.isActive()||t.doAction(o.Actions.setActiveTabset(e.getId())))},h=e=>{e.preventDefault(),f()},m=e=>{e.preventDefault(),d()},g=t.getClassName,y=c.getParent(),v=c._styleWithPosition();r||(0,l.hideElement)(v,c.getModel().isUseVisibility()),y instanceof i.TabSetNode&&(void 0===c.getModel().getMaximizedTabset()||y.isMaximized()||(0,l.hideElement)(v,c.getModel().isUseVisibility()));const b=t.i18nName(s.I18nLabel.Floating_Window_Message),O=t.i18nName(s.I18nLabel.Floating_Window_Show_Window),w=t.i18nName(s.I18nLabel.Floating_Window_Dock_Window),S=t.getOnRenderFloatingTabPlaceholder();return S?n.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),onMouseDown:p,onTouchStart:p,style:v},S(d,f)):n.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING),"data-layout-path":u,onMouseDown:p,onTouchStart:p,style:v},n.createElement("div",{className:g(a.CLASSES.FLEXLAYOUT__TAB_FLOATING_INNER)},n.createElement("div",null,b),n.createElement("div",null,n.createElement("a",{href:"#",onClick:h},O)),n.createElement("div",null,n.createElement("a",{href:"#",onClick:m},w))))}},22272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTabOverflow=void 0;const n=r(49244),o=r(92530),i=r(19555),a=r(81648);t.useTabOverflow=(e,t,r,s)=>{const l=n.useRef(!0),c=n.useRef(!1),u=n.useRef(new o.Rect(0,0,0,0)),f=n.useRef(null),[d,p]=n.useState(0),h=n.useRef(!1),[m,g]=n.useState([]),y=n.useRef(0);n.useLayoutEffect((()=>{h.current=!1}),[e.getSelectedNode(),e.getRect().width,e.getRect().height]),n.useLayoutEffect((()=>{E()}));const v=f.current;n.useEffect((()=>{if(v)return v.addEventListener("wheel",b,{passive:!1}),()=>{v.removeEventListener("wheel",b)}}),[v]);const b=e=>{e.preventDefault()},O=e=>t===a.Orientation.HORZ?e.x:e.y,w=e=>t===a.Orientation.HORZ?e.getRight():e.getBottom(),S=e=>t===a.Orientation.HORZ?e.width:e.height,E=()=>{!0===l.current&&(c.current=!1);const t=e instanceof i.TabSetNode?e.getRect():e.getTabHeaderRect();let n=e.getChildren()[e.getChildren().length-1];const o=null===s.current?0:S(s.current.getBoundingClientRect());if(!0===l.current||0===y.current&&0!==m.length||t.width!==u.current.width||t.height!==u.current.height){y.current=m.length,u.current=t;const a=!(e instanceof i.TabSetNode)||!0===e.isEnableTabStrip();let s=w(t)-o;if(null!==r.current&&(s-=S(r.current.getBoundingClientRect())),a&&e.getChildren().length>0){if(0===m.length&&0===d&&w(n.getTabRect())+2=s-O(t)?r=O(t)-n:(i>s||ns&&(r=s-i))}const i=Math.max(0,s-(w(n.getTabRect())+2+r)),a=Math.min(0,d+r+i),u=a-d,f=[];for(let r=0;rs)&&f.push({node:n,index:r})}f.length>0&&(c.current=!0),l.current=!1,g(f),p(a)}}else l.current=!0};return{selfRef:f,position:d,userControlledLeft:h,hiddenTabs:m,onMouseWheel:e=>{let t=0;t=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY,1===e.deltaMode&&(t*=40),p(d+t),h.current=!0,e.stopPropagation()},tabsTruncated:c.current}}},31809:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabSet=void 0;const n=r(49244),o=r(30300),i=r(19103),a=r(59919),s=r(35641),l=r(22272),c=r(81648),u=r(76643),f=r(60343);t.TabSet=e=>{const{node:t,layout:r,iconFactory:d,titleFactory:p,icons:h,path:m}=e,g=n.useRef(null),y=n.useRef(null),v=n.useRef(null),b=n.useRef(null),{selfRef:O,position:w,userControlledLeft:S,hiddenTabs:E,onMouseWheel:x,tabsTruncated:P}=(0,l.useTabOverflow)(t,c.Orientation.HORZ,g,b),T=e=>{const n=r.getShowOverflowMenu();if(void 0!==n)n(t,e,E,j);else{const e=y.current;(0,a.showPopup)(e,E,j,r,d,p)}e.stopPropagation()},j=e=>{r.doAction(i.Actions.selectTab(e.node.getId())),S.current=!1},C=e=>{if(!(0,f.isAuxMouseEvent)(e)){let n=t.getName();if(n=void 0===n?"":": "+n,r.doAction(i.Actions.setActiveTabset(t.getId())),!r.getEditingTab()){const i=r.i18nName(o.I18nLabel.Move_Tabset,n);void 0!==t.getModel().getMaximizedTabset()?r.dragStart(e,i,t,!1,(e=>{}),I):r.dragStart(e,i,t,t.isEnableDrag(),(e=>{}),I)}}},k=e=>{(0,f.isAuxMouseEvent)(e)&&r.auxMouseClick(t,e)},_=e=>{r.showContextMenu(t,e)},A=e=>{e.stopPropagation()},D=e=>{t.canMaximize()&&r.maximize(t),e.stopPropagation()},R=e=>{r.doAction(i.Actions.deleteTabset(t.getId())),e.stopPropagation()},L=e=>{r.doAction(i.Actions.deleteTab(t.getChildren()[0].getId())),e.stopPropagation()},M=e=>{void 0!==$&&r.doAction(i.Actions.floatTab($.getId())),e.stopPropagation()},I=e=>{t.canMaximize()&&r.maximize(t)},N=r.getClassName;null!==v.current&&0!==v.current.scrollLeft&&(v.current.scrollLeft=0);const $=t.getSelectedNode();let B=t._styleWithPosition();void 0===t.getModel().getMaximizedTabset()||t.isMaximized()||(0,f.hideElement)(B,t.getModel().isUseVisibility());const F=[];if(t.isEnableTabStrip())for(let e=0;e0&&(P||X?z=[...V,...z]:F.push(n.createElement("div",{ref:b,key:"sticky_buttons_container",onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()},className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_STICKY_BUTTONS_CONTAINER)},V))),E.length>0){const e=r.i18nName(o.I18nLabel.Overflow_Menu_Tooltip);let i;i="function"==typeof h.more?h.more(t,E):n.createElement(n.Fragment,null,h.more,n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW_COUNT)},E.length)),z.splice(Math.min(G.overflowPosition,z.length),0,n.createElement("button",{key:"overflowbutton","data-layout-path":m+"/button/overflow",ref:y,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_BUTTON_OVERFLOW),title:e,onClick:T,onMouseDown:A,onTouchStart:A},i))}if(void 0!==$&&r.isSupportsPopout()&&$.isEnableFloat()&&!$.isFloating()){const e=r.i18nName(o.I18nLabel.Float_Tab);z.push(n.createElement("button",{key:"float","data-layout-path":m+"/button/float",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_FLOAT),onClick:M,onMouseDown:A,onTouchStart:A},"function"==typeof h.popout?h.popout($):h.popout))}if(t.canMaximize()){const e=r.i18nName(o.I18nLabel.Restore),i=r.i18nName(o.I18nLabel.Maximize);(Q?U:z).push(n.createElement("button",{key:"max","data-layout-path":m+"/button/max",title:t.isMaximized()?e:i,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_+(t.isMaximized()?"max":"min")),onClick:D,onMouseDown:A,onTouchStart:A},t.isMaximized()?"function"==typeof h.restore?h.restore(t):h.restore:"function"==typeof h.maximize?h.maximize(t):h.maximize))}if(!t.isMaximized()&&q){const e=X?r.i18nName(o.I18nLabel.Close_Tab):r.i18nName(o.I18nLabel.Close_Tabset);(Q?U:z).push(n.createElement("button",{key:"close","data-layout-path":m+"/button/close",title:e,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON)+" "+N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR_BUTTON_CLOSE),onClick:X?L:R,onMouseDown:A,onTouchStart:A},"function"==typeof h.closeTabset?h.closeTabset(t):h.closeTabset))}const H=n.createElement("div",{key:"toolbar",ref:g,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},z);let Z,Y,K=N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER);if(void 0!==t.getClassNameTabStrip()&&(K+=" "+t.getClassNameTabStrip()),K+=" "+u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_OUTER_+t.getTabLocation(),t.isActive()&&!Q&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&!Q&&(K+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),X){const e=t.getChildren()[0];void 0!==e.getTabSetClassName()&&(K+=" "+e.getTabSetClassName())}if(Q){const e=n.createElement("div",{key:"toolbar",ref:g,className:N(u.CLASSES.FLEXLAYOUT__TAB_TOOLBAR),onMouseDown:A,onTouchStart:A,onDragStart:e=>{e.preventDefault()}},U);let r=N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER);t.isActive()&&(r+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_SELECTED)),t.isMaximized()&&(r+=" "+N(u.CLASSES.FLEXLAYOUT__TABSET_MAXIMIZED)),void 0!==t.getClassNameHeader()&&(r+=" "+t.getClassNameHeader()),Z=n.createElement("div",{className:r,style:{height:t.getHeaderHeight()+"px"},"data-layout-path":m+"/header",onMouseDown:C,onContextMenu:_,onClick:k,onAuxClick:k,onTouchStart:C},n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_HEADER_CONTENT)},W),e)}const J={height:t.getTabStripHeight()+"px"};Y=n.createElement("div",{className:K,style:J,"data-layout-path":m+"/tabstrip",onMouseDown:C,onContextMenu:_,onClick:k,onAuxClick:k,onTouchStart:C},n.createElement("div",{ref:v,className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_+t.getTabLocation())},n.createElement("div",{style:{left:w,width:X?"100%":"10000px"},className:N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER)+" "+N(u.CLASSES.FLEXLAYOUT__TABSET_TABBAR_INNER_TAB_CONTAINER_+t.getTabLocation())},F)),H),B=r.styleFont(B);var ee=void 0;if(0===t.getChildren().length){const e=r.getTabSetPlaceHolderCallback();e&&(ee=e(t))}const te=n.createElement("div",{className:N(u.CLASSES.FLEXLAYOUT__TABSET_CONTENT)},ee);var re;return re="top"===t.getTabLocation()?n.createElement(n.Fragment,null,Z,Y,te):n.createElement(n.Fragment,null,Z,te,Y),n.createElement("div",{ref:O,dir:"ltr","data-layout-path":m,style:B,className:N(u.CLASSES.FLEXLAYOUT__TABSET),onWheel:x},re)}},60343:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAuxMouseEvent=t.hideElement=t.getRenderStateEx=void 0;const n=r(49244);t.getRenderStateEx=function(e,t,r,o,i){let a=r?r(t):void 0,s=t.getName(),l=t.getName();if(void 0===i&&(i=0),void 0!==o){const e=o(t);void 0!==e&&("string"==typeof e?(s=e,l=e):void 0!==e.titleContent?(s=e.titleContent,l=e.name):s=e)}void 0===a&&void 0!==t.getIcon()&&(a=0!==i?n.createElement("img",{style:{width:"1em",height:"1em",transform:"rotate("+i+"deg)"},src:t.getIcon(),alt:"leadingContent"}):n.createElement("img",{style:{width:"1em",height:"1em"},src:t.getIcon(),alt:"leadingContent"}));const c={leading:a,content:s,name:l,buttons:[]};return e.customizeTab(t,c),t._setRenderedName(c.name),c},t.hideElement=function(e,t){t?e.visibility="hidden":e.display="none"},t.isAuxMouseEvent=function(e){let t=!1;return e.nativeEvent instanceof MouseEvent&&(0!==e.nativeEvent.button||e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(t=!0),t}},23804:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(34915),o=r.n(n),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(o()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var a=new RegExp(i),s=null;null!==(s=a.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var s=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,c=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var f={parse:function(e,t){t||(t={}),t.components||(t.components=c);var r,n=[],o=[],i=-1,u=!1;if(0!==e.indexOf("<")){var f=e.indexOf("<");n.push({type:"text",content:-1===f?e:e.substring(0,f)})}return e.replace(s,(function(s,c){if(u){if(s!=="")return;u=!1}var f,d="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),h=c+s.length,m=e.charAt(h);if(p){var g=a(s);return i<0?(n.push(g),n):((f=o[i]).children.push(g),n)}if(d&&(i++,"tag"===(r=a(s)).type&&t.components[r.name]&&(r.type="component",u=!0),r.voidElement||u||!m||"<"===m||r.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===i&&n.push(r),(f=o[i-1])&&f.children.push(r),o[i]=r),(!d||r.voidElement)&&(i>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(i--,r=-1===i?n:o[i]),!u&&"<"!==m&&m)){f=-1===i?n:o[i].children;var y=e.indexOf("<",h),v=e.slice(h,-1===y?void 0:y);l.test(v)&&(v=" "),(y>-1&&i+f.length>=0||" "!==v)&&f.push({type:"text",content:v})}})),n},stringify:function(e){return e.reduce((function(e,t){return e+u("",t)}),"")}};const d=f},2543:function(e,t,r){var n;e=r.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,f=128,d=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",d]],v="[object Arguments]",b="[object Array]",O="[object Boolean]",w="[object Date]",S="[object Error]",E="[object Function]",x="[object GeneratorFunction]",P="[object Map]",T="[object Number]",j="[object Object]",C="[object Promise]",k="[object RegExp]",_="[object Set]",A="[object String]",D="[object Symbol]",R="[object WeakMap]",L="[object ArrayBuffer]",M="[object DataView]",I="[object Float32Array]",N="[object Float64Array]",$="[object Int8Array]",B="[object Int16Array]",F="[object Int32Array]",Q="[object Uint8Array]",V="[object Uint8ClampedArray]",z="[object Uint16Array]",U="[object Uint32Array]",G=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,H=/[&<>"']/g,Z=RegExp(q.source),Y=RegExp(H.source),K=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,Oe=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",Pe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Te="\\u2700-\\u27bf",je="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",ke="\\ufe0e\\ufe0f",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ae="['’]",De="["+xe+"]",Re="["+_e+"]",Le="["+Pe+"]",Me="\\d+",Ie="["+Te+"]",Ne="["+je+"]",$e="[^"+xe+_e+Me+Te+je+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",Fe="[^"+xe+"]",Qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ce+"]",Ue="\\u200d",Ge="(?:"+Ne+"|"+$e+")",We="(?:"+ze+"|"+$e+")",Xe="(?:['’](?:d|ll|m|re|s|t|ve))?",qe="(?:['’](?:D|LL|M|RE|S|T|VE))?",He="(?:"+Le+"|"+Be+")"+"?",Ze="["+ke+"]?",Ye=Ze+He+("(?:"+Ue+"(?:"+[Fe,Qe,Ve].join("|")+")"+Ze+He+")*"),Ke="(?:"+[Ie,Qe,Ve].join("|")+")"+Ye,Je="(?:"+[Fe+Le+"?",Le,Qe,Ve,De].join("|")+")",et=RegExp(Ae,"g"),tt=RegExp(Le,"g"),rt=RegExp(Be+"(?="+Be+")|"+Je+Ye,"g"),nt=RegExp([ze+"?"+Ne+"+"+Xe+"(?="+[Re,ze,"$"].join("|")+")",We+"+"+qe+"(?="+[Re,ze+Ge,"$"].join("|")+")",ze+"?"+Ge+"+"+Xe,ze+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ke].join("|"),"g"),ot=RegExp("["+Ue+xe+Pe+ke+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[I]=lt[N]=lt[$]=lt[B]=lt[F]=lt[Q]=lt[V]=lt[z]=lt[U]=!0,lt[v]=lt[b]=lt[L]=lt[O]=lt[M]=lt[w]=lt[S]=lt[E]=lt[P]=lt[T]=lt[j]=lt[k]=lt[_]=lt[A]=lt[R]=!1;var ct={};ct[v]=ct[b]=ct[L]=ct[M]=ct[O]=ct[w]=ct[I]=ct[N]=ct[$]=ct[B]=ct[F]=ct[P]=ct[T]=ct[j]=ct[k]=ct[_]=ct[A]=ct[D]=ct[Q]=ct[V]=ct[z]=ct[U]=!0,ct[S]=ct[E]=ct[R]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,pt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ht="object"==typeof self&&self&&self.Object===Object&&self,mt=pt||ht||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&pt.process,Ot=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),wt=Ot&&Ot.isArrayBuffer,St=Ot&&Ot.isDate,Et=Ot&&Ot.isMap,xt=Ot&&Ot.isRegExp,Pt=Ot&&Ot.isSet,Tt=Ot&&Ot.isTypedArray;function jt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var o=-1,i=null==e?0:e.length;++o-1}function Lt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n-1;);return r}function nr(e,t){for(var r=e.length;r--&&zt(t,e[r],0)>-1;);return r}var or=qt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ir=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+ut[e]}function sr(e){return ot.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function cr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,o=0,i=[];++r",""":'"',"'":"'"});var yr=function e(t){var r,n=(t=null==t?mt:yr.defaults(mt.Object(),t,yr.pick(mt,at))).Array,se=t.Date,xe=t.Error,Pe=t.Function,Te=t.Math,je=t.Object,Ce=t.RegExp,ke=t.String,_e=t.TypeError,Ae=n.prototype,De=Pe.prototype,Re=je.prototype,Le=t["__core-js_shared__"],Me=De.toString,Ie=Re.hasOwnProperty,Ne=0,$e=(r=/[^.]+$/.exec(Le&&Le.keys&&Le.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Be=Re.toString,Fe=Me.call(je),Qe=mt._,Ve=Ce("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=vt?t.Buffer:o,Ue=t.Symbol,Ge=t.Uint8Array,We=ze?ze.allocUnsafe:o,Xe=cr(je.getPrototypeOf,je),qe=je.create,He=Re.propertyIsEnumerable,Ze=Ae.splice,Ye=Ue?Ue.isConcatSpreadable:o,Ke=Ue?Ue.iterator:o,Je=Ue?Ue.toStringTag:o,rt=function(){try{var e=pi(je,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==mt.Date.now&&se.now,pt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=Te.ceil,gt=Te.floor,yt=je.getOwnPropertySymbols,bt=ze?ze.isBuffer:o,Ot=t.isFinite,Ft=Ae.join,qt=cr(je.keys,je),vr=Te.max,br=Te.min,Or=se.now,wr=t.parseInt,Sr=Te.random,Er=Ae.reverse,xr=pi(t,"DataView"),Pr=pi(t,"Map"),Tr=pi(t,"Promise"),jr=pi(t,"Set"),Cr=pi(t,"WeakMap"),kr=pi(je,"create"),_r=Cr&&new Cr,Ar={},Dr=Bi(xr),Rr=Bi(Pr),Lr=Bi(Tr),Mr=Bi(jr),Ir=Bi(Cr),Nr=Ue?Ue.prototype:o,$r=Nr?Nr.valueOf:o,Br=Nr?Nr.toString:o;function Fr(e){if(rs(e)&&!Ga(e)&&!(e instanceof Ur)){if(e instanceof zr)return e;if(Ie.call(e,"__wrapped__"))return Fi(e)}return new zr(e)}var Qr=function(){function e(){}return function(t){if(!ts(t))return{};if(qe)return qe(t);e.prototype=t;var r=new e;return e.prototype=o,r}}();function Vr(){}function zr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Ur(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cn(e,t,r,n,i,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=i?r(e,n,i,a):r(e)),s!==o)return s;if(!ts(e))return e;var f=Ga(e);if(f){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Ao(e,s)}else{var d=gi(e),p=d==E||d==x;if(Ha(e))return Po(e,l);if(d==j||d==v||p&&!i){if(s=c||p?{}:vi(e),!l)return c?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Rs(t),e)}(s,e)):function(e,t){return Do(e,hi(e),t)}(e,on(s,e))}else{if(!ct[d])return i?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case L:return To(e);case O:case w:return new n(+e);case M:return function(e,t){var r=t?To(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case I:case N:case $:case B:case F:case Q:case V:case z:case U:return jo(e,r);case P:return new n;case T:case A:return new n(e);case k:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new n;case D:return o=e,$r?je($r.call(o)):{}}var o}(e,d,l)}}a||(a=new Hr);var h=a.get(e);if(h)return h;a.set(e,s),ss(e)?e.forEach((function(n){s.add(cn(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,cn(n,t,r,o,e,a))}));var m=f?o:(u?c?ai:ii:c?Rs:Ds)(e);return kt(m||e,(function(n,o){m&&(n=e[o=n]),tn(s,o,cn(n,t,r,o,e,a))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=je(e);n--;){var i=r[n],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fn(e,t,r){if("function"!=typeof e)throw new _e(i);return Di((function(){e.apply(o,r)}),t)}function dn(e,t,r,n){var o=-1,i=Rt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=Mt(t,Jt(r))),n?(i=Lt,a=!1):t.length>=200&&(i=tr,a=!1,t=new qr(t));e:for(;++o-1},Wr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Xr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(Pr||Wr),string:new Gr}},Xr.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Xr.prototype.get=function(e){return fi(this,e).get(e)},Xr.prototype.has=function(e){return fi(this,e).has(e)},Xr.prototype.set=function(e,t){var r=fi(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},qr.prototype.add=qr.prototype.push=function(e){return this.__data__.set(e,a),this},qr.prototype.has=function(e){return this.__data__.has(e)},Hr.prototype.clear=function(){this.__data__=new Wr,this.size=0},Hr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Hr.prototype.get=function(e){return this.__data__.get(e)},Hr.prototype.has=function(e){return this.__data__.has(e)},Hr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Wr){var n=r.__data__;if(!Pr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Xr(n)}return r.set(e,t),this.size=r.size,this};var pn=Mo(wn),hn=Mo(Sn,!0);function mn(e,t){var r=!0;return pn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function gn(e,t,r){for(var n=-1,i=e.length;++n0&&r(s)?t>1?vn(s,t-1,r,n,o):It(o,s):n||(o[o.length]=s)}return o}var bn=Io(),On=Io(!0);function wn(e,t){return e&&bn(e,t,Ds)}function Sn(e,t){return e&&On(e,t,Ds)}function En(e,t){return Dt(t,(function(t){return Ka(e[t])}))}function xn(e,t){for(var r=0,n=(t=wo(t,e)).length;null!=e&&rt}function Cn(e,t){return null!=e&&Ie.call(e,t)}function kn(e,t){return null!=e&&t in je(e)}function _n(e,t,r){for(var i=r?Lt:Rt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,f=[];l--;){var d=e[l];l&&t&&(d=Mt(d,Jt(t))),u=br(d.length,u),c[l]=!r&&(t||a>=120&&d.length>=120)?new qr(l&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Wn(e,t,r){for(var n=-1,o=t.length,i={};++n-1;)s!==e&&Ze.call(s,l,1),Ze.call(e,l,1);return e}function qn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==i){var i=o;Oi(o)?Ze.call(e,o,1):po(e,o)}}return e}function Hn(e,t){return e+gt(Sr()*(t-e+1))}function Zn(e,t){var r="";if(!e||t<1||t>h)return r;do{t%2&&(r+=e),(t=gt(t/2))&&(e+=e)}while(t);return r}function Yn(e,t){return Ri(Ci(e,t,ol),e+"")}function Kn(e){return Yr(Qs(e))}function Jn(e,t){var r=Qs(e);return Ii(r,ln(t,0,r.length))}function eo(e,t,r,n){if(!ts(e))return e;for(var i=-1,a=(t=wo(t,e)).length,s=a-1,l=e;null!=l&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=n(i);++o>>1,a=e[i];null!==a&&!cs(a)&&(r?a<=t:a=200){var c=t?null:Yo(e);if(c)return fr(c);a=!1,o=tr,l=new qr}else l=t?[]:s;e:for(;++n=n?e:oo(e,t,r)}var xo=ot||function(e){return mt.clearTimeout(e)};function Po(e,t){if(t)return e.slice();var r=e.length,n=We?We(r):new e.constructor(r);return e.copy(n),n}function To(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function jo(e,t){var r=t?To(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Co(e,t){if(e!==t){var r=e!==o,n=null===e,i=e==e,a=cs(e),s=t!==o,l=null===t,c=t==t,u=cs(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||n&&s&&c||!r&&c||!i)return 1;if(!n&&!a&&!u&&e1?r[i-1]:o,s=i>2?r[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&wi(r[0],r[1],s)&&(a=i<3?o:a,i=1),t=je(t);++n-1?i[a?t[s]:s]:o}}function Qo(e){return oi((function(t){var r=t.length,n=r,a=zr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new _e(i);if(a&&!l&&"wrapper"==li(s))var l=new zr([],!0)}for(n=l?n:r;++n1&&O.reverse(),p&&ul))return!1;var u=a.get(e),f=a.get(t);if(u&&f)return u==t&&f==e;var d=-1,p=!0,h=2&r?new qr:o;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return kt(y,(function(r){var n="_."+r[0];t&r[1]&&!Rt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(n),r)))}function Mi(e){var t=0,r=0;return function(){var n=Or(),i=16-(n-r);if(r=n,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ii(e,t){var r=-1,n=e.length,i=n-1;for(t=t===o?n:t;++r1?e[t-1]:o;return r="function"==typeof r?(e.pop(),r):o,aa(e,r)}));function pa(e){var t=Fr(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ur&&Oi(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:o}),new zr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ga=Ro((function(e,t,r){Ie.call(e,r)?++e[r]:an(e,r,1)}));var ya=Fo(Ui),va=Fo(Gi);function ba(e,t){return(Ga(e)?kt:pn)(e,ui(t,3))}function Oa(e,t){return(Ga(e)?_t:hn)(e,ui(t,3))}var wa=Ro((function(e,t,r){Ie.call(e,r)?e[r].push(t):an(e,r,[t])}));var Sa=Yn((function(e,t,r){var o=-1,i="function"==typeof t,a=Xa(e)?n(e.length):[];return pn(e,(function(e){a[++o]=i?jt(t,e,r):An(e,t,r)})),a})),Ea=Ro((function(e,t,r){an(e,r,t)}));function xa(e,t){return(Ga(e)?Mt:Fn)(e,ui(t,3))}var Pa=Ro((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Ta=Yn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&wi(e,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Gn(e,vn(t,1),[])})),ja=ut||function(){return mt.Date.now()};function Ca(e,t,r){return t=r?o:t,t=e&&null==t?e.length:t,Jo(e,f,o,o,o,o,t)}function ka(e,t){var r;if("function"!=typeof t)throw new _e(i);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=o),r}}var _a=Yn((function(e,t,r){var n=1;if(r.length){var o=ur(r,ci(_a));n|=c}return Jo(e,n,t,r,o)})),Aa=Yn((function(e,t,r){var n=3;if(r.length){var o=ur(r,ci(Aa));n|=c}return Jo(t,n,e,r,o)}));function Da(e,t,r){var n,a,s,l,c,u,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new _e(i);function m(t){var r=n,i=a;return n=a=o,f=t,l=e.apply(i,r)}function g(e){var r=e-u;return u===o||r>=t||r<0||p&&e-f>=s}function y(){var e=ja();if(g(e))return v(e);c=Di(y,function(e){var r=t-(e-u);return p?br(r,s-(e-f)):r}(e))}function v(e){return c=o,h&&n?m(e):(n=a=o,l)}function b(){var e=ja(),r=g(e);if(n=arguments,a=this,u=e,r){if(c===o)return function(e){return f=e,c=Di(y,t),d?m(e):l}(u);if(p)return xo(c),c=Di(y,t),m(u)}return c===o&&(c=Di(y,t)),l}return t=ys(t)||0,ts(r)&&(d=!!r.leading,s=(p="maxWait"in r)?vr(ys(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),b.cancel=function(){c!==o&&xo(c),f=0,n=u=a=c=o},b.flush=function(){return c===o?l:v(ja())},b}var Ra=Yn((function(e,t){return fn(e,1,t)})),La=Yn((function(e,t,r){return fn(e,ys(t)||0,r)}));function Ma(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new _e(i);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(Ma.Cache||Xr),r}function Ia(e){if("function"!=typeof e)throw new _e(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ma.Cache=Xr;var Na=So((function(e,t){var r=(t=1==t.length&&Ga(t[0])?Mt(t[0],Jt(ui())):Mt(vn(t,1),Jt(ui()))).length;return Yn((function(n){for(var o=-1,i=br(n.length,r);++o=t})),Ua=Dn(function(){return arguments}())?Dn:function(e){return rs(e)&&Ie.call(e,"callee")&&!He.call(e,"callee")},Ga=n.isArray,Wa=wt?Jt(wt):function(e){return rs(e)&&Tn(e)==L};function Xa(e){return null!=e&&es(e.length)&&!Ka(e)}function qa(e){return rs(e)&&Xa(e)}var Ha=bt||yl,Za=St?Jt(St):function(e){return rs(e)&&Tn(e)==w};function Ya(e){if(!rs(e))return!1;var t=Tn(e);return t==S||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Ka(e){if(!ts(e))return!1;var t=Tn(e);return t==E||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=Et?Jt(Et):function(e){return rs(e)&&gi(e)==P};function os(e){return"number"==typeof e||rs(e)&&Tn(e)==T}function is(e){if(!rs(e)||Tn(e)!=j)return!1;var t=Xe(e);if(null===t)return!0;var r=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Me.call(r)==Fe}var as=xt?Jt(xt):function(e){return rs(e)&&Tn(e)==k};var ss=Pt?Jt(Pt):function(e){return rs(e)&&gi(e)==_};function ls(e){return"string"==typeof e||!Ga(e)&&rs(e)&&Tn(e)==A}function cs(e){return"symbol"==typeof e||rs(e)&&Tn(e)==D}var us=Tt?Jt(Tt):function(e){return rs(e)&&es(e.length)&&!!lt[Tn(e)]};var fs=qo(Bn),ds=qo((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Xa(e))return ls(e)?hr(e):Ao(e);if(Ke&&e[Ke])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ke]());var t=gi(e);return(t==P?lr:t==_?fr:Qs)(e)}function hs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function gs(e){return e?ln(ms(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(cs(e))return m;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=ye.test(e);return r||be.test(e)?dt(e.slice(2),r?2:8):ge.test(e)?m:+e}function vs(e){return Do(e,Rs(e))}function bs(e){return null==e?"":uo(e)}var Os=Lo((function(e,t){if(Pi(t)||Xa(t))Do(t,Ds(t),e);else for(var r in t)Ie.call(t,r)&&tn(e,r,t[r])})),ws=Lo((function(e,t){Do(t,Rs(t),e)})),Ss=Lo((function(e,t,r,n){Do(t,Rs(t),e,n)})),Es=Lo((function(e,t,r,n){Do(t,Ds(t),e,n)})),xs=oi(sn);var Ps=Yn((function(e,t){e=je(e);var r=-1,n=t.length,i=n>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(n=1);++r1),t})),Do(e,ai(e),r),n&&(r=cn(r,7,ri));for(var o=t.length;o--;)po(r,t[o]);return r}));var Ns=oi((function(e,t){return null==e?{}:function(e,t){return Wn(e,t,(function(t,r){return Cs(e,r)}))}(e,t)}));function $s(e,t){if(null==e)return{};var r=Mt(ai(e),(function(e){return[e]}));return t=ui(t),Wn(e,r,(function(e,r){return t(e,r[0])}))}var Bs=Ko(Ds),Fs=Ko(Rs);function Qs(e){return null==e?[]:er(e,Ds(e))}var Vs=$o((function(e,t,r){return t=t.toLowerCase(),e+(r?zs(t):t)}));function zs(e){return Ys(bs(e).toLowerCase())}function Us(e){return(e=bs(e))&&e.replace(we,or).replace(tt,"")}var Gs=$o((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ws=$o((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Xs=No("toLowerCase");var qs=$o((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Hs=$o((function(e,t,r){return e+(r?" ":"")+Ys(t)}));var Zs=$o((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Ys=No("toUpperCase");function Ks(e,t,r){return e=bs(e),(t=r?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Js=Yn((function(e,t){try{return jt(e,o,t)}catch(e){return Ya(e)?e:new xe(e)}})),el=oi((function(e,t){return kt(t,(function(t){t=$i(t),an(e,t,_a(e[t],e))})),e}));function tl(e){return function(){return e}}var rl=Qo(),nl=Qo(!0);function ol(e){return e}function il(e){return In("function"==typeof e?e:cn(e,1))}var al=Yn((function(e,t){return function(r){return An(r,e,t)}})),sl=Yn((function(e,t){return function(r){return An(e,r,t)}}));function ll(e,t,r){var n=Ds(t),o=En(t,n);null!=r||ts(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=En(t,Ds(t)));var i=!(ts(r)&&"chain"in r&&!r.chain),a=Ka(e);return kt(o,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=e(this.__wrapped__);return(r.__actions__=Ao(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,It([this.value()],arguments))})})),e}function cl(){}var ul=Go(Mt),fl=Go(At),dl=Go(Bt);function pl(e){return Si(e)?Xt($i(e)):function(e){return function(t){return xn(t,e)}}(e)}var hl=Xo(),ml=Xo(!0);function gl(){return[]}function yl(){return!1}var vl=Uo((function(e,t){return e+t}),0),bl=Zo("ceil"),Ol=Uo((function(e,t){return e/t}),1),wl=Zo("floor");var Sl,El=Uo((function(e,t){return e*t}),1),xl=Zo("round"),Pl=Uo((function(e,t){return e-t}),0);return Fr.after=function(e,t){if("function"!=typeof t)throw new _e(i);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Fr.ary=Ca,Fr.assign=Os,Fr.assignIn=ws,Fr.assignInWith=Ss,Fr.assignWith=Es,Fr.at=xs,Fr.before=ka,Fr.bind=_a,Fr.bindAll=el,Fr.bindKey=Aa,Fr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},Fr.chain=pa,Fr.chunk=function(e,t,r){t=(r?wi(e,t,r):t===o)?1:vr(ms(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=n(ht(i/t));ai?0:i+r),(n=n===o||n>i?i:ms(n))<0&&(n+=i),n=r>n?0:gs(n);r>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=uo(t))&&sr(e)?Eo(hr(e),0,r):e.split(t,r):[]},Fr.spread=function(e,t){if("function"!=typeof e)throw new _e(i);return t=null==t?0:vr(ms(t),0),Yn((function(r){var n=r[t],o=Eo(r,0,t);return n&&It(o,n),jt(e,this,o)}))},Fr.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Fr.take=function(e,t,r){return e&&e.length?oo(e,0,(t=r||t===o?1:ms(t))<0?0:t):[]},Fr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?oo(e,(t=n-(t=r||t===o?1:ms(t)))<0?0:t,n):[]},Fr.takeRightWhile=function(e,t){return e&&e.length?mo(e,ui(t,3),!1,!0):[]},Fr.takeWhile=function(e,t){return e&&e.length?mo(e,ui(t,3)):[]},Fr.tap=function(e,t){return t(e),e},Fr.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new _e(i);return ts(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Da(e,t,{leading:n,maxWait:t,trailing:o})},Fr.thru=ha,Fr.toArray=ps,Fr.toPairs=Bs,Fr.toPairsIn=Fs,Fr.toPath=function(e){return Ga(e)?Mt(e,$i):cs(e)?[e]:Ao(Ni(bs(e)))},Fr.toPlainObject=vs,Fr.transform=function(e,t,r){var n=Ga(e),o=n||Ha(e)||us(e);if(t=ui(t,4),null==r){var i=e&&e.constructor;r=o?n?new i:[]:ts(e)&&Ka(i)?Qr(Xe(e)):{}}return(o?kt:wn)(e,(function(e,n,o){return t(r,e,n,o)})),r},Fr.unary=function(e){return Ca(e,1)},Fr.union=ra,Fr.unionBy=na,Fr.unionWith=oa,Fr.uniq=function(e){return e&&e.length?fo(e):[]},Fr.uniqBy=function(e,t){return e&&e.length?fo(e,ui(t,2)):[]},Fr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},Fr.unset=function(e,t){return null==e||po(e,t)},Fr.unzip=ia,Fr.unzipWith=aa,Fr.update=function(e,t,r){return null==e?e:ho(e,t,Oo(r))},Fr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:o,null==e?e:ho(e,t,Oo(r),n)},Fr.values=Qs,Fr.valuesIn=function(e){return null==e?[]:er(e,Rs(e))},Fr.without=sa,Fr.words=Ks,Fr.wrap=function(e,t){return $a(Oo(t),e)},Fr.xor=la,Fr.xorBy=ca,Fr.xorWith=ua,Fr.zip=fa,Fr.zipObject=function(e,t){return vo(e||[],t||[],tn)},Fr.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},Fr.zipWith=da,Fr.entries=Bs,Fr.entriesIn=Fs,Fr.extend=ws,Fr.extendWith=Ss,ll(Fr,Fr),Fr.add=vl,Fr.attempt=Js,Fr.camelCase=Vs,Fr.capitalize=zs,Fr.ceil=bl,Fr.clamp=function(e,t,r){return r===o&&(r=t,t=o),r!==o&&(r=(r=ys(r))==r?r:0),t!==o&&(t=(t=ys(t))==t?t:0),ln(ys(e),t,r)},Fr.clone=function(e){return cn(e,4)},Fr.cloneDeep=function(e){return cn(e,5)},Fr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:o)},Fr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:o)},Fr.conformsTo=function(e,t){return null==t||un(e,t,Ds(t))},Fr.deburr=Us,Fr.defaultTo=function(e,t){return null==e||e!=e?t:e},Fr.divide=Ol,Fr.endsWith=function(e,t,r){e=bs(e),t=uo(t);var n=e.length,i=r=r===o?n:ln(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},Fr.eq=Qa,Fr.escape=function(e){return(e=bs(e))&&Y.test(e)?e.replace(H,ir):e},Fr.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Fr.every=function(e,t,r){var n=Ga(e)?At:mn;return r&&wi(e,t,r)&&(t=o),n(e,ui(t,3))},Fr.find=ya,Fr.findIndex=Ui,Fr.findKey=function(e,t){return Qt(e,ui(t,3),wn)},Fr.findLast=va,Fr.findLastIndex=Gi,Fr.findLastKey=function(e,t){return Qt(e,ui(t,3),Sn)},Fr.floor=wl,Fr.forEach=ba,Fr.forEachRight=Oa,Fr.forIn=function(e,t){return null==e?e:bn(e,ui(t,3),Rs)},Fr.forInRight=function(e,t){return null==e?e:On(e,ui(t,3),Rs)},Fr.forOwn=function(e,t){return e&&wn(e,ui(t,3))},Fr.forOwnRight=function(e,t){return e&&Sn(e,ui(t,3))},Fr.get=js,Fr.gt=Va,Fr.gte=za,Fr.has=function(e,t){return null!=e&&yi(e,t,Cn)},Fr.hasIn=Cs,Fr.head=Xi,Fr.identity=ol,Fr.includes=function(e,t,r,n){e=Xa(e)?e:Qs(e),r=r&&!n?ms(r):0;var o=e.length;return r<0&&(r=vr(o+r,0)),ls(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&zt(e,t,r)>-1},Fr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:ms(r);return o<0&&(o=vr(n+o,0)),zt(e,t,o)},Fr.inRange=function(e,t,r){return t=hs(t),r===o?(r=t,t=0):r=hs(r),function(e,t,r){return e>=br(t,r)&&e=-9007199254740991&&e<=h},Fr.isSet=ss,Fr.isString=ls,Fr.isSymbol=cs,Fr.isTypedArray=us,Fr.isUndefined=function(e){return e===o},Fr.isWeakMap=function(e){return rs(e)&&gi(e)==R},Fr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==Tn(e)},Fr.join=function(e,t){return null==e?"":Ft.call(e,t)},Fr.kebabCase=Gs,Fr.last=Yi,Fr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=ms(r))<0?vr(n+i,0):br(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):Vt(e,Gt,i,!0)},Fr.lowerCase=Ws,Fr.lowerFirst=Xs,Fr.lt=fs,Fr.lte=ds,Fr.max=function(e){return e&&e.length?gn(e,ol,jn):o},Fr.maxBy=function(e,t){return e&&e.length?gn(e,ui(t,2),jn):o},Fr.mean=function(e){return Wt(e,ol)},Fr.meanBy=function(e,t){return Wt(e,ui(t,2))},Fr.min=function(e){return e&&e.length?gn(e,ol,Bn):o},Fr.minBy=function(e,t){return e&&e.length?gn(e,ui(t,2),Bn):o},Fr.stubArray=gl,Fr.stubFalse=yl,Fr.stubObject=function(){return{}},Fr.stubString=function(){return""},Fr.stubTrue=function(){return!0},Fr.multiply=El,Fr.nth=function(e,t){return e&&e.length?Un(e,ms(t)):o},Fr.noConflict=function(){return mt._===this&&(mt._=Qe),this},Fr.noop=cl,Fr.now=ja,Fr.pad=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return Wo(gt(o),r)+e+Wo(ht(o),r)},Fr.padEnd=function(e,t,r){e=bs(e);var n=(t=ms(t))?pr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var i=Sr();return br(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Hn(e,t)},Fr.reduce=function(e,t,r){var n=Ga(e)?Nt:Ht,o=arguments.length<3;return n(e,ui(t,4),r,o,pn)},Fr.reduceRight=function(e,t,r){var n=Ga(e)?$t:Ht,o=arguments.length<3;return n(e,ui(t,4),r,o,hn)},Fr.repeat=function(e,t,r){return t=(r?wi(e,t,r):t===o)?1:ms(t),Zn(bs(e),t)},Fr.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fr.result=function(e,t,r){var n=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++nh)return[];var r=g,n=br(e,g);t=ui(t),e-=g;for(var o=Yt(n,t);++r=a)return e;var l=r-pr(n);if(l<1)return n;var c=s?Eo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+n;if(s&&(l+=c.length-l),as(i)){if(e.slice(l).search(i)){var u,f=c;for(i.global||(i=Ce(i.source,bs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(f);)var d=u.index;c=c.slice(0,d===o?l:d)}}else if(e.indexOf(uo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+n},Fr.unescape=function(e){return(e=bs(e))&&Z.test(e)?e.replace(q,gr):e},Fr.uniqueId=function(e){var t=++Ne;return bs(e)+t},Fr.upperCase=Zs,Fr.upperFirst=Ys,Fr.each=ba,Fr.eachRight=Oa,Fr.first=Xi,ll(Fr,(Sl={},wn(Fr,(function(e,t){Ie.call(Fr.prototype,t)||(Sl[t]=e)})),Sl),{chain:!1}),Fr.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fr[e].placeholder=Fr})),kt(["drop","take"],(function(e,t){Ur.prototype[e]=function(r){r=r===o?1:vr(ms(r),0);var n=this.__filtered__&&!t?new Ur(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,g),type:e+(n.__dir__<0?"Right":"")}),n},Ur.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Ur.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ui(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),kt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ur.prototype[e]=function(){return this[r](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ur.prototype[e]=function(){return this.__filtered__?new Ur(this):this[r](1)}})),Ur.prototype.compact=function(){return this.filter(ol)},Ur.prototype.find=function(e){return this.filter(e).head()},Ur.prototype.findLast=function(e){return this.reverse().find(e)},Ur.prototype.invokeMap=Yn((function(e,t){return"function"==typeof e?new Ur(this):this.map((function(r){return An(r,e,t)}))})),Ur.prototype.reject=function(e){return this.filter(Ia(ui(e)))},Ur.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ur(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==o&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ur.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ur.prototype.toArray=function(){return this.take(g)},wn(Ur.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=Fr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);i&&(Fr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof Ur,c=s[0],u=l||Ga(t),f=function(e){var t=i.apply(Fr,It([e],s));return n&&d?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,p=!!this.__actions__.length,h=a&&!d,m=l&&!p;if(!a&&u){t=m?t:new Ur(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[f],thisArg:o}),new zr(g,d)}return h&&m?e.apply(this,s):(g=this.thru(f),h?n?g.value()[0]:g.value():g)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ae[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Fr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ga(o)?o:[],e)}return this[r]((function(r){return t.apply(Ga(r)?r:[],e)}))}})),wn(Ur.prototype,(function(e,t){var r=Fr[t];if(r){var n=r.name+"";Ie.call(Ar,n)||(Ar[n]=[]),Ar[n].push({name:t,func:r})}})),Ar[Vo(o,2).name]=[{name:"wrapper",func:o}],Ur.prototype.clone=function(){var e=new Ur(this.__wrapped__);return e.__actions__=Ao(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ao(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ao(this.__views__),e},Ur.prototype.reverse=function(){if(this.__filtered__){var e=new Ur(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ur.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ga(e),n=t<0,o=r?e.length:0,i=function(e,t,r){var n=-1,o=r.length;for(;++n=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fr.prototype.plant=function(e){for(var t,r=this;r instanceof Vr;){var n=Fi(r);n.__index__=0,n.__values__=o,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},Fr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ur){var t=e;return this.__actions__.length&&(t=new Ur(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:o}),new zr(t,this.__chain__)}return this.thru(ta)},Fr.prototype.toJSON=Fr.prototype.valueOf=Fr.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Fr.prototype.first=Fr.prototype.head,Ke&&(Fr.prototype[Ke]=function(){return this}),Fr}();mt._=yr,(n=function(){return yr}.call(t,r,t,e))===o||(e.exports=n)}.call(this)},54581:(e,t,r)=>{"use strict";r.r(t)},78190:(e,t,r)=>{"use strict";r.r(t)},44376:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(58168),o=r(89394),i=r(3453),a=r(82284),s=r(46942),l=r.n(s),c=r(12533),u=r(68210),f=r(49244),d=r(70999),p=r(28941),h=r(72065);function m(e){var t=e;if(!Array.isArray(t)){var r=(0,a.default)(t);t="number"===r||"string"===r?[t]:[]}return t.map((function(e){return String(e)}))}var g=f.forwardRef((function(e,t){var r=e.prefixCls,a=void 0===r?"rc-collapse":r,s=e.destroyInactivePanel,p=void 0!==s&&s,g=e.style,y=e.accordion,v=e.className,b=e.children,O=e.collapsible,w=e.openMotion,S=e.expandIcon,E=e.activeKey,x=e.defaultActiveKey,P=e.onChange,T=e.items,j=l()(a,v),C=(0,c.default)([],{value:E,onChange:function(e){return null==P?void 0:P(e)},defaultValue:x,postState:m}),k=(0,i.default)(C,2),_=k[0],A=k[1];(0,u.default)(!b,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var D=(0,d.default)(T,b,{prefixCls:a,accordion:y,openMotion:w,expandIcon:S,collapsible:O,destroyInactivePanel:p,onItemClick:function(e){return A((function(){return y?_[0]===e?[]:[e]:_.indexOf(e)>-1?_.filter((function(t){return t!==e})):[].concat((0,o.default)(_),[e])}))},activeKey:_});return f.createElement("div",(0,n.default)({ref:t,className:j,style:g,role:y?"tablist":void 0},(0,h.default)(e,{aria:!0,data:!0})),D)}));const y=Object.assign(g,{Panel:p.default})},28941:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(89379),o=r(58168),i=r(64467),a=r(80045),s=r(46942),l=r.n(s),c=r(30156),u=r(16928),f=r(49244),d=r(64640),p=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"];const h=f.forwardRef((function(e,t){var r=e.showArrow,s=void 0===r||r,h=e.headerClass,m=e.isActive,g=e.onItemClick,y=e.forceRender,v=e.className,b=e.classNames,O=void 0===b?{}:b,w=e.styles,S=void 0===w?{}:w,E=e.prefixCls,x=e.collapsible,P=e.accordion,T=e.panelKey,j=e.extra,C=e.header,k=e.expandIcon,_=e.openMotion,A=e.destroyInactivePanel,D=e.children,R=(0,a.default)(e,p),L="disabled"===x,M=null!=j&&"boolean"!=typeof j,I=(0,i.default)((0,i.default)((0,i.default)({onClick:function(){null==g||g(T)},onKeyDown:function(e){"Enter"!==e.key&&e.keyCode!==u.default.ENTER&&e.which!==u.default.ENTER||null==g||g(T)},role:P?"tab":"button"},"aria-expanded",m),"aria-disabled",L),"tabIndex",L?-1:0),N="function"==typeof k?k(e):f.createElement("i",{className:"arrow"}),$=N&&f.createElement("div",(0,o.default)({className:"".concat(E,"-expand-icon")},["header","icon"].includes(x)?I:{}),N),B=l()("".concat(E,"-item"),(0,i.default)((0,i.default)({},"".concat(E,"-item-active"),m),"".concat(E,"-item-disabled"),L),v),F=l()(h,"".concat(E,"-header"),(0,i.default)({},"".concat(E,"-collapsible-").concat(x),!!x),O.header),Q=(0,n.default)({className:F,style:S.header},["header","icon"].includes(x)?{}:I);return f.createElement("div",(0,o.default)({},R,{ref:t,className:B}),f.createElement("div",Q,s&&$,f.createElement("span",(0,o.default)({className:"".concat(E,"-header-text")},"header"===x?I:{}),C),M&&f.createElement("div",{className:"".concat(E,"-extra")},j)),f.createElement(c.default,(0,o.default)({visible:m,leavedClassName:"".concat(E,"-content-hidden")},_,{forceRender:y,removeOnLeave:A}),(function(e,t){var r=e.className,n=e.style;return f.createElement(d.default,{ref:t,prefixCls:E,className:r,classNames:O,style:n,styles:S,isActive:m,forceRender:y,role:P?"tabpanel":void 0},D)})))}))},64640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(64467),o=r(3453),i=r(46942),a=r.n(i),s=r(49244),l=s.forwardRef((function(e,t){var r=e.prefixCls,i=e.forceRender,l=e.className,c=e.style,u=e.children,f=e.isActive,d=e.role,p=e.classNames,h=e.styles,m=s.useState(f||i),g=(0,o.default)(m,2),y=g[0],v=g[1];return s.useEffect((function(){(i||f)&&v(!0)}),[i,f]),y?s.createElement("div",{ref:t,className:a()("".concat(r,"-content"),(0,n.default)((0,n.default)({},"".concat(r,"-content-active"),f),"".concat(r,"-content-inactive"),!f),l),style:c,role:d},s.createElement("div",{className:a()("".concat(r,"-content-box"),null==p?void 0:p.body),style:null==h?void 0:h.body},u)):null}));l.displayName="PanelContent";const c=l},70999:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=r(58168),o=r(80045),i=r(82546),a=r(49244),s=r(28941),l=["children","label","key","collapsible","onItemClick","destroyInactivePanel"];const c=function(e,t,r){return Array.isArray(e)?function(e,t){var r=t.prefixCls,i=t.accordion,c=t.collapsible,u=t.destroyInactivePanel,f=t.onItemClick,d=t.activeKey,p=t.openMotion,h=t.expandIcon;return e.map((function(e,t){var m=e.children,g=e.label,y=e.key,v=e.collapsible,b=e.onItemClick,O=e.destroyInactivePanel,w=(0,o.default)(e,l),S=String(null!=y?y:t),E=null!=v?v:c,x=null!=O?O:u,P=!1;return P=i?d[0]===S:d.indexOf(S)>-1,a.createElement(s.default,(0,n.default)({},w,{prefixCls:r,key:S,panelKey:S,isActive:P,accordion:i,openMotion:p,expandIcon:h,header:g,collapsible:E,onItemClick:function(e){"disabled"!==E&&(f(e),null==b||b(e))},destroyInactivePanel:x}),m)}))}(e,r):(0,i.default)(t).map((function(e,t){return function(e,t,r){if(!e)return null;var n=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,f=r.expandIcon,d=e.key||String(t),p=e.props,h=p.header,m=p.headerClass,g=p.destroyInactivePanel,y=p.collapsible,v=p.onItemClick,b=!1;b=o?c[0]===d:c.indexOf(d)>-1;var O=null!=y?y:i,w={key:d,panelKey:d,header:h,headerClass:m,isActive:b,prefixCls:n,destroyInactivePanel:null!=g?g:s,openMotion:u,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==O&&(l(e),null==v||v(e))},expandIcon:f,collapsible:O};return"string"==typeof e.type?e:(Object.keys(w).forEach((function(e){void 0===w[e]&&delete w[e]})),a.cloneElement(e,w))}(e,t,r)}))}},26900:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Panel:()=>i,default:()=>o});var n=r(44376);const o=n.default;var i=n.default.Panel},93201:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C});var n=r(58168),o=r(80045),i=r(90675),a=r(10467),s=r(89379),l=r(89394),c=r(23029),u=r(92901),f=r(9417),d=r(85501),p=r(29426),h=r(64467),m=r(82546),g=r(43210),y=r(68210),v=r(49244),b=r(71258),O=r(5354),w=r(27675),S=r(39085),E=r(56150),x=["name"],P=[];function T(e,t,r,n,o,i){return"function"==typeof e?e(t,r,"source"in i?{source:i.source}:{}):n!==o}var j=function(e){(0,d.default)(r,e);var t=(0,p.default)(r);function r(e){var n;((0,c.default)(this,r),n=t.call(this,e),(0,h.default)((0,f.default)(n),"state",{resetCount:0}),(0,h.default)((0,f.default)(n),"cancelRegisterFunc",null),(0,h.default)((0,f.default)(n),"mounted",!1),(0,h.default)((0,f.default)(n),"touched",!1),(0,h.default)((0,f.default)(n),"dirty",!1),(0,h.default)((0,f.default)(n),"validatePromise",void 0),(0,h.default)((0,f.default)(n),"prevValidating",void 0),(0,h.default)((0,f.default)(n),"errors",P),(0,h.default)((0,f.default)(n),"warnings",P),(0,h.default)((0,f.default)(n),"cancelRegister",(function(){var e=n.props,t=e.preserve,r=e.isListField,o=e.name;n.cancelRegisterFunc&&n.cancelRegisterFunc(r,t,(0,E.getNamePath)(o)),n.cancelRegisterFunc=null})),(0,h.default)((0,f.default)(n),"getNamePath",(function(){var e=n.props,t=e.name,r=e.fieldContext.prefixName,o=void 0===r?[]:r;return void 0!==t?[].concat((0,l.default)(o),(0,l.default)(t)):[]})),(0,h.default)((0,f.default)(n),"getRules",(function(){var e=n.props,t=e.rules,r=void 0===t?[]:t,o=e.fieldContext;return r.map((function(e){return"function"==typeof e?e(o):e}))})),(0,h.default)((0,f.default)(n),"refresh",(function(){n.mounted&&n.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,h.default)((0,f.default)(n),"metaCache",null),(0,h.default)((0,f.default)(n),"triggerMetaEvent",(function(e){var t=n.props.onMetaChange;if(t){var r=(0,s.default)((0,s.default)({},n.getMeta()),{},{destroy:e});(0,g.default)(n.metaCache,r)||t(r),n.metaCache=r}else n.metaCache=null})),(0,h.default)((0,f.default)(n),"onStoreChange",(function(e,t,r){var o=n.props,i=o.shouldUpdate,a=o.dependencies,s=void 0===a?[]:a,l=o.onReset,c=r.store,u=n.getNamePath(),f=n.getValue(e),d=n.getValue(c),p=t&&(0,E.containsNamePath)(t,u);switch("valueUpdate"!==r.type||"external"!==r.source||(0,g.default)(f,d)||(n.touched=!0,n.dirty=!0,n.validatePromise=null,n.errors=P,n.warnings=P,n.triggerMetaEvent()),r.type){case"reset":if(!t||p)return n.touched=!1,n.dirty=!1,n.validatePromise=void 0,n.errors=P,n.warnings=P,n.triggerMetaEvent(),null==l||l(),void n.refresh();break;case"remove":if(i&&T(i,e,c,f,d,r))return void n.reRender();break;case"setField":var h=r.data;if(p)return"touched"in h&&(n.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(n.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(n.errors=h.errors||P),"warnings"in h&&(n.warnings=h.warnings||P),n.dirty=!0,n.triggerMetaEvent(),void n.reRender();if("value"in h&&(0,E.containsNamePath)(t,u,!0))return void n.reRender();if(i&&!u.length&&T(i,e,c,f,d,r))return void n.reRender();break;case"dependenciesUpdate":if(s.map(E.getNamePath).some((function(e){return(0,E.containsNamePath)(r.relatedFields,e)})))return void n.reRender();break;default:if(p||(!s.length||u.length||i)&&T(i,e,c,f,d,r))return void n.reRender()}!0===i&&n.reRender()})),(0,h.default)((0,f.default)(n),"validateRules",(function(e){var t=n.getNamePath(),r=n.getValue(),o=e||{},s=o.triggerName,c=o.validateOnly,u=void 0!==c&&c,f=Promise.resolve().then((0,a.default)((0,i.default)().mark((function o(){var a,c,u,d,p,h,m;return(0,i.default)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(n.mounted){o.next=2;break}return o.abrupt("return",[]);case 2:if(a=n.props,c=a.validateFirst,u=void 0!==c&&c,d=a.messageVariables,p=a.validateDebounce,h=n.getRules(),s&&(h=h.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||(0,w.toArray)(t).includes(s)}))),!p||!s){o.next=10;break}return o.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(n.validatePromise===f){o.next=10;break}return o.abrupt("return",[]);case 10:return(m=(0,S.validateRules)(t,r,h,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P;if(n.validatePromise===f){var t;n.validatePromise=null;var r=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors,i=void 0===n?P:n;t?o.push.apply(o,(0,l.default)(i)):r.push.apply(r,(0,l.default)(i))})),n.errors=r,n.warnings=o,n.triggerMetaEvent(),n.reRender()}})),o.abrupt("return",m);case 13:case"end":return o.stop()}}),o)}))));return u||(n.validatePromise=f,n.dirty=!0,n.errors=P,n.warnings=P,n.triggerMetaEvent(),n.reRender()),f})),(0,h.default)((0,f.default)(n),"isFieldValidating",(function(){return!!n.validatePromise})),(0,h.default)((0,f.default)(n),"isFieldTouched",(function(){return n.touched})),(0,h.default)((0,f.default)(n),"isFieldDirty",(function(){return!(!n.dirty&&void 0===n.props.initialValue)||void 0!==(0,n.props.fieldContext.getInternalHooks(b.HOOK_MARK).getInitialValue)(n.getNamePath())})),(0,h.default)((0,f.default)(n),"getErrors",(function(){return n.errors})),(0,h.default)((0,f.default)(n),"getWarnings",(function(){return n.warnings})),(0,h.default)((0,f.default)(n),"isListField",(function(){return n.props.isListField})),(0,h.default)((0,f.default)(n),"isList",(function(){return n.props.isList})),(0,h.default)((0,f.default)(n),"isPreserve",(function(){return n.props.preserve})),(0,h.default)((0,f.default)(n),"getMeta",(function(){return n.prevValidating=n.isFieldValidating(),{touched:n.isFieldTouched(),validating:n.prevValidating,errors:n.errors,warnings:n.warnings,name:n.getNamePath(),validated:null===n.validatePromise}})),(0,h.default)((0,f.default)(n),"getOnlyChild",(function(e){if("function"==typeof e){var t=n.getMeta();return(0,s.default)((0,s.default)({},n.getOnlyChild(e(n.getControlled(),t,n.props.fieldContext))),{},{isFunction:!0})}var r=(0,m.default)(e);return 1===r.length&&v.isValidElement(r[0])?{child:r[0],isFunction:!1}:{child:r,isFunction:!1}})),(0,h.default)((0,f.default)(n),"getValue",(function(e){var t=n.props.fieldContext.getFieldsValue,r=n.getNamePath();return(0,E.getValue)(e||t(!0),r)})),(0,h.default)((0,f.default)(n),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,r=t.name,o=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,l=t.normalize,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=n.getNamePath(),m=f.getInternalHooks,g=f.getFieldsValue,y=m(b.HOOK_MARK).dispatch,v=n.getValue(),O=u||function(e){return(0,h.default)({},c,e)},S=e[o],x=void 0!==r?O(v):{};var P=(0,s.default)((0,s.default)({},e),x);return P[o]=function(){var e;n.touched=!0,n.dirty=!0,n.triggerMetaEvent();for(var t=arguments.length,r=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{HOOK_MARK:()=>i,default:()=>s});var n=r(68210),o=r(49244),i="RC_FORM_INTERNAL_HOOKS",a=function(){(0,n.default)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const s=o.createContext({getFieldValue:a,getFieldsValue:a,getFieldError:a,getFieldWarning:a,getFieldsError:a,isFieldsTouched:a,isFieldTouched:a,isFieldValidating:a,isFieldsValidating:a,resetFields:a,setFields:a,setFieldValue:a,setFieldsValue:a,validateFields:a,submit:a,getInternalHooks:function(){return a(),{dispatch:a,initEntityValue:a,registerField:a,useSubscribe:a,setInitialValues:a,destroyForm:a,setCallbacks:a,registerWatch:a,getFields:a,setValidateMessages:a,setPreserve:a,getInitialValue:a}}})},58827:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(58168),o=r(89379),i=r(3453),a=r(80045),s=r(49244),l=r(56124),c=r(71258),u=r(60740),f=r(56150),d=r(5354),p=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];const h=function(e,t){var r=e.name,h=e.initialValues,m=e.fields,g=e.form,y=e.preserve,v=e.children,b=e.component,O=void 0===b?"form":b,w=e.validateMessages,S=e.validateTrigger,E=void 0===S?"onChange":S,x=e.onValuesChange,P=e.onFieldsChange,T=e.onFinish,j=e.onFinishFailed,C=e.clearOnDestroy,k=(0,a.default)(e,p),_=s.useRef(null),A=s.useContext(u.default),D=(0,l.default)(g),R=(0,i.default)(D,1)[0],L=R.getInternalHooks(c.HOOK_MARK),M=L.useSubscribe,I=L.setInitialValues,N=L.setCallbacks,$=L.setValidateMessages,B=L.setPreserve,F=L.destroyForm;s.useImperativeHandle(t,(function(){return(0,o.default)((0,o.default)({},R),{},{nativeElement:_.current})})),s.useEffect((function(){return A.registerForm(r,R),function(){A.unregisterForm(r)}}),[A,R,r]),$((0,o.default)((0,o.default)({},A.validateMessages),w)),N({onValuesChange:x,onFieldsChange:function(e){if(A.triggerFormChange(r,e),P){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";r.r(t),r.d(t,{FormProvider:()=>s,default:()=>l});var n=r(64467),o=r(89379),i=r(49244),a=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),s=function(e){var t=e.validateMessages,r=e.onFormChange,s=e.onFormFinish,l=e.children,c=i.useContext(a),u=i.useRef({});return i.createElement(a.Provider,{value:(0,o.default)((0,o.default)({},c),{},{validateMessages:(0,o.default)((0,o.default)({},c.validateMessages),t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:u.current}),c.triggerFormChange(e,t)},triggerFormFinish:function(e,t){s&&s(e,{values:t,forms:u.current}),c.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(u.current=(0,o.default)((0,o.default)({},u.current),{},(0,n.default)({},e,t))),c.registerForm(e,t)},unregisterForm:function(e){var t=(0,o.default)({},u.current);delete t[e],u.current=t,c.unregisterForm(e)}})},l)};const l=a},30817:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(89379),o=r(89394),i=r(49244),a=r(68210),s=r(71258),l=r(93201),c=r(56150),u=r(5354);const f=function(e){var t=e.name,r=e.initialValue,f=e.children,d=e.rules,p=e.validateTrigger,h=e.isListField,m=i.useContext(s.default),g=i.useContext(u.default),y=i.useRef({keys:[],id:0}).current,v=i.useMemo((function(){var e=(0,c.getNamePath)(m.prefixName)||[];return[].concat((0,o.default)(e),(0,o.default)((0,c.getNamePath)(t)))}),[m.prefixName,t]),b=i.useMemo((function(){return(0,n.default)((0,n.default)({},m),{},{prefixName:v})}),[m,v]),O=i.useMemo((function(){return{getKey:function(e){var t=v.length,r=e[t];return[y.keys[r],e.slice(t+1)]}}}),[v]);return"function"!=typeof f?((0,a.default)(!1,"Form.List only accepts function as children."),null):i.createElement(u.default.Provider,{value:O},i.createElement(s.default.Provider,{value:b},i.createElement(l.default,{name:[],shouldUpdate:function(e,t,r){return"internal"!==r.source&&e!==t},rules:d,validateTrigger:p,initialValue:r,isList:!0,isListField:null!=h?h:!!g},(function(e,t){var r=e.value,n=void 0===r?[]:r,i=e.onChange,a=m.getFieldValue,s=function(){return a(v||[])||[]},l={add:function(e,t){var r=s();t>=0&&t<=r.length?(y.keys=[].concat((0,o.default)(y.keys.slice(0,t)),[y.id],(0,o.default)(y.keys.slice(t))),i([].concat((0,o.default)(r.slice(0,t)),[e],(0,o.default)(r.slice(t))))):(y.keys=[].concat((0,o.default)(y.keys),[y.id]),i([].concat((0,o.default)(r),[e]))),y.id+=1},remove:function(e){var t=s(),r=new Set(Array.isArray(e)?e:[e]);r.size<=0||(y.keys=y.keys.filter((function(e,t){return!r.has(t)})),i(t.filter((function(e,t){return!r.has(t)}))))},move:function(e,t){if(e!==t){var r=s();e<0||e>=r.length||t<0||t>=r.length||(y.keys=(0,c.move)(y.keys,e,t),i((0,c.move)(r,e,t)))}}},u=n||[];return Array.isArray(u)||(u=[]),f(u.map((function(e,t){var r=y.keys[t];return void 0===r&&(y.keys[t]=y.id,r=y.keys[t],y.id+=1),{name:t,key:r,isListField:!0}})),l,t)}))))}},5354:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=r(49244).createContext(null)},55353:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Field:()=>o.default,FieldContext:()=>c.default,FormProvider:()=>l.FormProvider,List:()=>i.default,ListContext:()=>u.default,default:()=>p,useForm:()=>a.default,useWatch:()=>f.default});var n=r(49244),o=r(93201),i=r(30817),a=r(56124),s=r(58827),l=r(60740),c=r(71258),u=r(5354),f=r(99711),d=n.forwardRef(s.default);d.FormProvider=l.FormProvider,d.Field=o.default,d.List=i.default,d.useForm=a.default,d.useWatch=f.default;const p=d},56124:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormStore:()=>O,default:()=>w});var n=r(3453),o=r(89379),i=r(80045),a=r(89394),s=r(82284),l=r(92901),c=r(23029),u=r(64467),f=r(20488),d=r(68210),p=r(49244),h=r(71258),m=r(98999),g=r(35611),y=r(18424),v=r(56150),b=["name"],O=(0,l.default)((function e(t){var r=this;(0,c.default)(this,e),(0,u.default)(this,"formHooked",!1),(0,u.default)(this,"forceRootUpdate",void 0),(0,u.default)(this,"subscribable",!0),(0,u.default)(this,"store",{}),(0,u.default)(this,"fieldEntities",[]),(0,u.default)(this,"initialValues",{}),(0,u.default)(this,"callbacks",{}),(0,u.default)(this,"validateMessages",null),(0,u.default)(this,"preserve",null),(0,u.default)(this,"lastValidatePromise",null),(0,u.default)(this,"getForm",(function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldWarning:r.getFieldWarning,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldValue:r.setFieldValue,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,_init:!0,getInternalHooks:r.getInternalHooks}})),(0,u.default)(this,"getInternalHooks",(function(e){return e===h.HOOK_MARK?(r.formHooked=!0,{dispatch:r.dispatch,initEntityValue:r.initEntityValue,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,destroyForm:r.destroyForm,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields,setPreserve:r.setPreserve,getInitialValue:r.getInitialValue,registerWatch:r.registerWatch}):((0,d.default)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,u.default)(this,"useSubscribe",(function(e){r.subscribable=e})),(0,u.default)(this,"prevWithoutPreserves",null),(0,u.default)(this,"setInitialValues",(function(e,t){if(r.initialValues=e||{},t){var n,o=(0,f.merge)(e,r.store);null===(n=r.prevWithoutPreserves)||void 0===n||n.map((function(t){var r=t.key;o=(0,v.setValue)(o,r,(0,v.getValue)(e,r))})),r.prevWithoutPreserves=null,r.updateStore(o)}})),(0,u.default)(this,"destroyForm",(function(e){if(e)r.updateStore({});else{var t=new y.default;r.getFieldEntities(!0).forEach((function(e){r.isMergedPreserve(e.isPreserve())||t.set(e.getNamePath(),!0)})),r.prevWithoutPreserves=t}})),(0,u.default)(this,"getInitialValue",(function(e){var t=(0,v.getValue)(r.initialValues,e);return e.length?(0,f.merge)(t):t})),(0,u.default)(this,"setCallbacks",(function(e){r.callbacks=e})),(0,u.default)(this,"setValidateMessages",(function(e){r.validateMessages=e})),(0,u.default)(this,"setPreserve",(function(e){r.preserve=e})),(0,u.default)(this,"watchList",[]),(0,u.default)(this,"registerWatch",(function(e){return r.watchList.push(e),function(){r.watchList=r.watchList.filter((function(t){return t!==e}))}})),(0,u.default)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.watchList.length){var t=r.getFieldsValue(),n=r.getFieldsValue(!0);r.watchList.forEach((function(r){r(t,n,e)}))}})),(0,u.default)(this,"timeoutId",null),(0,u.default)(this,"warningUnhooked",(function(){0})),(0,u.default)(this,"updateStore",(function(e){r.store=e})),(0,u.default)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?r.fieldEntities.filter((function(e){return e.getNamePath().length})):r.fieldEntities})),(0,u.default)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new y.default;return r.getFieldEntities(e).forEach((function(e){var r=e.getNamePath();t.set(r,e)})),t})),(0,u.default)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map((function(e){var r=(0,v.getNamePath)(e);return t.get(r)||{INVALIDATE_NAME_PATH:(0,v.getNamePath)(e)}}))})),(0,u.default)(this,"getFieldsValue",(function(e,t){var n,o,i;if(r.warningUnhooked(),!0===e||Array.isArray(e)?(n=e,o=t):e&&"object"===(0,s.default)(e)&&(i=e.strict,o=e.filter),!0===n&&!o)return r.store;var a=r.getFieldEntitiesForNamePathList(Array.isArray(n)?n:null),l=[];return a.forEach((function(e){var t,r,a,s,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(s=e).isList)&&void 0!==a&&a.call(s))return}else if(!n&&null!==(t=(r=e).isListField)&&void 0!==t&&t.call(r))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&l.push(c)}else l.push(c)})),(0,v.cloneByNamePathList)(r.store,l.map(v.getNamePath))})),(0,u.default)(this,"getFieldValue",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return(0,v.getValue)(r.store,t)})),(0,u.default)(this,"getFieldsError",(function(e){return r.warningUnhooked(),r.getFieldEntitiesForNamePathList(e).map((function(t,r){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:(0,v.getNamePath)(e[r]),errors:[],warnings:[]}}))})),(0,u.default)(this,"getFieldError",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].errors})),(0,u.default)(this,"getFieldWarning",(function(e){r.warningUnhooked();var t=(0,v.getNamePath)(e);return r.getFieldsError([t])[0].warnings})),(0,u.default)(this,"isFieldsTouched",(function(){r.warningUnhooked();for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=new y.default,n=r.getFieldEntities(!0);n.forEach((function(e){var r=e.props.initialValue,n=e.getNamePath();if(void 0!==r){var o=t.get(n)||new Set;o.add({entity:e,value:r}),t.set(n,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var r,n=t.get(e);n&&(r=o).push.apply(r,(0,a.default)((0,a.default)(n).map((function(e){return e.entity}))))}))):o=n,o.forEach((function(n){if(void 0!==n.props.initialValue){var o=n.getNamePath();if(void 0!==r.getInitialValue(o))(0,d.default)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,d.default)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var s=r.getFieldValue(o);n.isListField()||e.skipExist&&void 0!==s||r.updateStore((0,v.setValue)(r.store,o,(0,a.default)(i)[0].value))}}}}))})),(0,u.default)(this,"resetFields",(function(e){r.warningUnhooked();var t=r.store;if(!e)return r.updateStore((0,f.merge)(r.initialValues)),r.resetWithFieldInitialValue(),r.notifyObservers(t,null,{type:"reset"}),void r.notifyWatch();var n=e.map(v.getNamePath);n.forEach((function(e){var t=r.getInitialValue(e);r.updateStore((0,v.setValue)(r.store,e,t))})),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"}),r.notifyWatch(n)})),(0,u.default)(this,"setFields",(function(e){r.warningUnhooked();var t=r.store,n=[];e.forEach((function(e){var o=e.name,a=(0,i.default)(e,b),s=(0,v.getNamePath)(o);n.push(s),"value"in a&&r.updateStore((0,v.setValue)(r.store,s,a.value)),r.notifyObservers(t,[s],{type:"setField",data:e})})),r.notifyWatch(n)})),(0,u.default)(this,"getFields",(function(){return r.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),n=e.getMeta(),i=(0,o.default)((0,o.default)({},n),{},{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}))})),(0,u.default)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var n=e.getNamePath();void 0===(0,v.getValue)(r.store,n)&&r.updateStore((0,v.setValue)(r.store,n,t))}})),(0,u.default)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:r.preserve;return null==t||t})),(0,u.default)(this,"registerField",(function(e){r.fieldEntities.push(e);var t=e.getNamePath();if(r.notifyWatch([t]),void 0!==e.props.initialValue){var n=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(n,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(n,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(r.fieldEntities=r.fieldEntities.filter((function(t){return t!==e})),!r.isMergedPreserve(o)&&(!n||i.length>1)){var a=n?void 0:r.getInitialValue(t);if(t.length&&r.getFieldValue(t)!==a&&r.fieldEntities.every((function(e){return!(0,v.matchNamePath)(e.getNamePath(),t)}))){var s=r.store;r.updateStore((0,v.setValue)(s,t,a,!0)),r.notifyObservers(s,[t],{type:"remove"}),r.triggerDependenciesUpdate(s,t)}}r.notifyWatch([t])}})),(0,u.default)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var o=e.namePath,i=e.triggerName;r.validateFields([o],{triggerName:i})}})),(0,u.default)(this,"notifyObservers",(function(e,t,n){if(r.subscribable){var i=(0,o.default)((0,o.default)({},n),{},{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach((function(r){(0,r.onStoreChange)(e,t,i)}))}else r.forceRootUpdate()})),(0,u.default)(this,"triggerDependenciesUpdate",(function(e,t){var n=r.getDependencyChildrenFields(t);return n.length&&r.validateFields(n),r.notifyObservers(e,n,{type:"dependenciesUpdate",relatedFields:[t].concat((0,a.default)(n))}),n})),(0,u.default)(this,"updateValue",(function(e,t){var n=(0,v.getNamePath)(e),o=r.store;r.updateStore((0,v.setValue)(r.store,n,t)),r.notifyObservers(o,[n],{type:"valueUpdate",source:"internal"}),r.notifyWatch([n]);var i=r.triggerDependenciesUpdate(o,n),s=r.callbacks.onValuesChange;s&&s((0,v.cloneByNamePathList)(r.store,[n]),r.getFieldsValue());r.triggerOnFieldsChange([n].concat((0,a.default)(i)))})),(0,u.default)(this,"setFieldsValue",(function(e){r.warningUnhooked();var t=r.store;if(e){var n=(0,f.merge)(r.store,e);r.updateStore(n)}r.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),r.notifyWatch()})),(0,u.default)(this,"setFieldValue",(function(e,t){r.setFields([{name:e,value:t}])})),(0,u.default)(this,"getDependencyChildrenFields",(function(e){var t=new Set,n=[],o=new y.default;r.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var r=(0,v.getNamePath)(t);o.update(r,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(r){(o.get(r)||new Set).forEach((function(r){if(!t.has(r)){t.add(r);var o=r.getNamePath();r.isFieldDirty()&&o.length&&(n.push(o),e(o))}}))}(e),n})),(0,u.default)(this,"triggerOnFieldsChange",(function(e,t){var n=r.callbacks.onFieldsChange;if(n){var o=r.getFields();if(t){var i=new y.default;t.forEach((function(e){var t=e.name,r=e.errors;i.set(t,r)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var r=t.name;return(0,v.containsNamePath)(e,r)}));a.length&&n(a,o)}})),(0,u.default)(this,"validateFields",(function(e,t){var n,i;r.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(n=e,i=t):i=e;var s=!!n,l=s?n.map(v.getNamePath):[],c=[],u=String(Date.now()),f=new Set,d=i||{},p=d.recursive,h=d.dirty;r.getFieldEntities(!0).forEach((function(e){if(s||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!h||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!s||(0,v.containsNamePath)(l,t,p)){var n=e.validateRules((0,o.default)({validateMessages:(0,o.default)((0,o.default)({},g.defaultValidateMessages),r.validateMessages)},i));c.push(n.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var r,n=[],o=[];return null===(r=e.forEach)||void 0===r||r.call(e,(function(e){var t=e.rule.warningOnly,r=e.errors;t?o.push.apply(o,(0,a.default)(r)):n.push.apply(n,(0,a.default)(r))})),n.length?Promise.reject({name:t,errors:n,warnings:o}):{name:t,errors:n,warnings:o}})))}}}));var y=(0,m.allPromiseFinish)(c);r.lastValidatePromise=y,y.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)}));var b=y.then((function(){return r.lastValidatePromise===y?Promise.resolve(r.getFieldsValue(l)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:r.getFieldsValue(l),errorFields:t,outOfDate:r.lastValidatePromise!==y})}));b.catch((function(e){return e}));var O=l.filter((function(e){return f.has(e.join(u))}));return r.triggerOnFieldsChange(O),b})),(0,u.default)(this,"submit",(function(){r.warningUnhooked(),r.validateFields().then((function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=r.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const w=function(e){var t=p.useRef(),r=p.useState({}),o=(0,n.default)(r,2)[1];if(!t.current)if(e)t.current=e;else{var i=new O((function(){o({})}));t.current=i.getForm()}return[t.current]}},99711:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u,stringify:()=>l});var n=r(3453),o=(r(68210),r(49244)),i=r(71258),a=r(27675),s=r(56150);function l(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var c=function(){};const u=function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(3453),o=r(89394),i=r(23029),a=r(92901),s=r(64467),l=r(82284),c="__@field_split__";function u(e){return e.map((function(e){return"".concat((0,l.default)(e),":").concat(e)})).join(c)}const f=function(){function e(){(0,i.default)(this,e),(0,s.default)(this,"kvs",new Map)}return(0,a.default)(e,[{key:"set",value:function(e,t){this.kvs.set(u(e),t)}},{key:"get",value:function(e){return this.kvs.get(u(e))}},{key:"update",value:function(e,t){var r=t(this.get(e));r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(u(e))}},{key:"map",value:function(e){return(0,o.default)(this.kvs.entries()).map((function(t){var r=(0,n.default)(t,2),o=r[0],i=r[1],a=o.split(c);return e({key:a.map((function(e){var t=e.match(/^([^:]*):(.*)$/),r=(0,n.default)(t,3),o=r[1],i=r[2];return"number"===o?Number(i):i})),value:i})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null})),e}}]),e}()},98999:(e,t,r)=>{"use strict";function n(e){var t=!1,r=e.length,n=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){r-=1,n[a]=e,r>0||(t&&i(n),o(n))}))}))})):Promise.resolve([])}r.r(t),r.d(t,{allPromiseFinish:()=>n})},35611:(e,t,r)=>{"use strict";r.r(t),r.d(t,{defaultValidateMessages:()=>o});var n="'${name}' is not a valid ${type}",o={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}}},27675:(e,t,r)=>{"use strict";function n(e){return null==e?[]:Array.isArray(e)?e:[e]}function o(e){return e&&!!e._init}r.r(t),r.d(t,{isFormInstance:()=>o,toArray:()=>n})},39085:(e,t,r)=>{"use strict";r.r(t),r.d(t,{validateRules:()=>v});var n=r(89394),o=r(64467),i=r(90675),a=r(89379),s=r(10467),l=r(70095),c=r(49244),u=r(68210),f=r(35611),d=r(20488),p=l.default;function h(e,t){return e.replace(/\\?\$\{\w+\}/g,(function(e){if(e.startsWith("\\"))return e.slice(1);var r=e.slice(2,-1);return t[r]}))}var m="CODE_LOGIC_ERROR";function g(e,t,r,n,o){return y.apply(this,arguments)}function y(){return y=(0,s.default)((0,i.default)().mark((function e(t,r,s,l,u){var y,v,b,O,w,S,E,x,P;return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(y=(0,a.default)({},s)).ruleIndex,p.warning=function(){},y.validator&&(v=y.validator,y.validator=function(){try{return v.apply(void 0,arguments)}catch(e){return console.error(e),Promise.reject(m)}}),b=null,y&&"array"===y.type&&y.defaultField&&(b=y.defaultField,delete y.defaultField),O=new p((0,o.default)({},t,[y])),w=(0,d.merge)(f.defaultValidateMessages,l.validateMessages),O.messages(w),S=[],e.prev=10,e.next=13,Promise.resolve(O.validate((0,o.default)({},t,r),(0,a.default)({},l)));case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(10),e.t0.errors&&(S=e.t0.errors.map((function(e,t){var r=e.message,n=r===m?w.default:r;return c.isValidElement(n)?c.cloneElement(n,{key:"error_".concat(t)}):n})));case 18:if(S.length||!b){e.next=23;break}return e.next=21,Promise.all(r.map((function(e,r){return g("".concat(t,".").concat(r),e,b,l,u)})));case 21:return E=e.sent,e.abrupt("return",E.reduce((function(e,t){return[].concat((0,n.default)(e),(0,n.default)(t))}),[]));case 23:return x=(0,a.default)((0,a.default)({},s),{},{name:t,enum:(s.enum||[]).join(", ")},u),P=S.map((function(e){return"string"==typeof e?h(e,x):e})),e.abrupt("return",P);case 26:case"end":return e.stop()}}),e,null,[[10,15]])}))),y.apply(this,arguments)}function v(e,t,r,n,o,l){var c,f=e.join("."),d=r.map((function(e,t){var r=e.validator,n=(0,a.default)((0,a.default)({},e),{},{ruleIndex:t});return r&&(n.validator=function(e,t,n){var o=!1,i=r(e,t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{cloneByNamePathList:()=>c,containsNamePath:()=>u,defaultGetValueFromEvent:()=>p,getNamePath:()=>l,getValue:()=>i.default,isSimilar:()=>d,matchNamePath:()=>f,move:()=>h,setValue:()=>a.default});var n=r(89394),o=r(82284),i=r(16300),a=r(20488),s=r(27675);function l(e){return(0,s.toArray)(e)}function c(e,t){var r={};return t.forEach((function(t){var n=(0,i.default)(e,t);r=(0,a.default)(r,t,n)})),r}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return f(t,e,r)}))}function f(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,r){return e[r]===t})))}function d(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==(0,o.default)(e)||"object"!==(0,o.default)(t))return!1;var r=Object.keys(e),i=Object.keys(t),a=new Set([].concat(r,i));return(0,n.default)(a).every((function(r){var n=e[r],o=t[r];return"function"==typeof n&&"function"==typeof o||n===o}))}function p(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,o.default)(t.target)&&e in t.target?t.target[e]:t}function h(e,t,r){var o=e.length;if(t<0||t>=o||r<0||r>=o)return e;var i=e[t],a=t-r;return a>0?[].concat((0,n.default)(e.slice(0,r)),[i],(0,n.default)(e.slice(r,t)),(0,n.default)(e.slice(t+1,o))):a<0?[].concat((0,n.default)(e.slice(0,t)),(0,n.default)(e.slice(t+1,r+1)),[i],(0,n.default)(e.slice(r+1,o))):e}},72595:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(89379),o=r(58168),i=r(64467),a=r(82284),s=r(46942),l=r.n(s),c=r(49244),u=r(11980);const f=c.forwardRef((function(e,t){var r,s,f=e.inputElement,d=e.children,p=e.prefixCls,h=e.prefix,m=e.suffix,g=e.addonBefore,y=e.addonAfter,v=e.className,b=e.style,O=e.disabled,w=e.readOnly,S=e.focused,E=e.triggerFocus,x=e.allowClear,P=e.value,T=e.handleReset,j=e.hidden,C=e.classes,k=e.classNames,_=e.dataAttrs,A=e.styles,D=e.components,R=e.onClear,L=null!=d?d:f,M=(null==D?void 0:D.affixWrapper)||"span",I=(null==D?void 0:D.groupWrapper)||"span",N=(null==D?void 0:D.wrapper)||"span",$=(null==D?void 0:D.groupAddon)||"span",B=(0,c.useRef)(null),F=(0,u.hasPrefixSuffix)(e),Q=(0,c.cloneElement)(L,{value:P,className:l()(L.props.className,!F&&(null==k?void 0:k.variant))||null}),V=(0,c.useRef)(null);if(c.useImperativeHandle(t,(function(){return{nativeElement:V.current||B.current}})),F){var z=null;if(x){var U=!O&&!w&&P,G="".concat(p,"-clear-icon"),W="object"===(0,a.default)(x)&&null!=x&&x.clearIcon?x.clearIcon:"✖";z=c.createElement("span",{onClick:function(e){null==T||T(e),null==R||R()},onMouseDown:function(e){return e.preventDefault()},className:l()(G,(0,i.default)((0,i.default)({},"".concat(G,"-hidden"),!U),"".concat(G,"-has-suffix"),!!m)),role:"button",tabIndex:-1},W)}var X="".concat(p,"-affix-wrapper"),q=l()(X,(0,i.default)((0,i.default)((0,i.default)((0,i.default)((0,i.default)({},"".concat(p,"-disabled"),O),"".concat(X,"-disabled"),O),"".concat(X,"-focused"),S),"".concat(X,"-readonly"),w),"".concat(X,"-input-with-clear-btn"),m&&x&&P),null==C?void 0:C.affixWrapper,null==k?void 0:k.affixWrapper,null==k?void 0:k.variant),H=(m||x)&&c.createElement("span",{className:l()("".concat(p,"-suffix"),null==k?void 0:k.suffix),style:null==A?void 0:A.suffix},z,m);Q=c.createElement(M,(0,o.default)({className:q,style:null==A?void 0:A.affixWrapper,onClick:function(e){var t;null!==(t=B.current)&&void 0!==t&&t.contains(e.target)&&(null==E||E())}},null==_?void 0:_.affixWrapper,{ref:B}),h&&c.createElement("span",{className:l()("".concat(p,"-prefix"),null==k?void 0:k.prefix),style:null==A?void 0:A.prefix},h),Q,H)}if((0,u.hasAddon)(e)){var Z="".concat(p,"-group"),Y="".concat(Z,"-addon"),K="".concat(Z,"-wrapper"),J=l()("".concat(p,"-wrapper"),Z,null==C?void 0:C.wrapper,null==k?void 0:k.wrapper),ee=l()(K,(0,i.default)({},"".concat(K,"-disabled"),O),null==C?void 0:C.group,null==k?void 0:k.groupWrapper);Q=c.createElement(I,{className:ee,ref:V},c.createElement(N,{className:J},g&&c.createElement($,{className:Y},g),Q,y&&c.createElement($,{className:Y},y)))}return c.cloneElement(Q,{className:l()(null===(r=Q.props)||void 0===r?void 0:r.className,v)||null,style:(0,n.default)((0,n.default)({},null===(s=Q.props)||void 0===s?void 0:s.style),b),hidden:j})}))},37752:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(89379),o=r(58168),i=r(64467),a=r(89394),s=r(3453),l=r(80045),c=r(46942),u=r.n(c),f=r(12533),d=r(19853),p=r(49244),h=r(72595),m=r(22489),g=r(11980),y=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];const v=(0,p.forwardRef)((function(e,t){var r=e.autoComplete,c=e.onChange,v=e.onFocus,b=e.onBlur,O=e.onPressEnter,w=e.onKeyDown,S=e.onKeyUp,E=e.prefixCls,x=void 0===E?"rc-input":E,P=e.disabled,T=e.htmlSize,j=e.className,C=e.maxLength,k=e.suffix,_=e.showCount,A=e.count,D=e.type,R=void 0===D?"text":D,L=e.classes,M=e.classNames,I=e.styles,N=e.onCompositionStart,$=e.onCompositionEnd,B=(0,l.default)(e,y),F=(0,p.useState)(!1),Q=(0,s.default)(F,2),V=Q[0],z=Q[1],U=(0,p.useRef)(!1),G=(0,p.useRef)(!1),W=(0,p.useRef)(null),X=(0,p.useRef)(null),q=function(e){W.current&&(0,g.triggerFocus)(W.current,e)},H=(0,f.default)(e.defaultValue,{value:e.value}),Z=(0,s.default)(H,2),Y=Z[0],K=Z[1],J=null==Y?"":String(Y),ee=(0,p.useState)(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.default)(A,_),ie=oe.max||C,ae=oe.strategy(J),se=!!ie&&ae>ie;(0,p.useImperativeHandle)(t,(function(){var e;return{focus:q,blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,r){var n;null===(n=W.current)||void 0===n||n.setSelectionRange(e,t,r)},select:function(){var e;null===(e=W.current)||void 0===e||e.select()},input:W.current,nativeElement:(null===(e=X.current)||void 0===e?void 0:e.nativeElement)||W.current}})),(0,p.useEffect)((function(){z((function(e){return(!e||!P)&&e}))}),[P]);var le=function(e,t,r){var n,o,i=t;if(!U.current&&oe.exceedFormatter&&oe.max&&oe.strategy(t)>oe.max)t!==(i=oe.exceedFormatter(t,{max:oe.max}))&&ne([(null===(n=W.current)||void 0===n?void 0:n.selectionStart)||0,(null===(o=W.current)||void 0===o?void 0:o.selectionEnd)||0]);else if("compositionEnd"===r.source)return;K(i),W.current&&(0,g.resolveOnChange)(W.current,e,c,i)};(0,p.useEffect)((function(){var e;re&&(null===(e=W.current)||void 0===e||e.setSelectionRange.apply(e,(0,a.default)(re)))}),[re]);var ce,ue=function(e){le(e,e.target.value,{source:"change"})},fe=function(e){U.current=!1,le(e,e.currentTarget.value,{source:"compositionEnd"}),null==$||$(e)},de=function(e){O&&"Enter"===e.key&&!G.current&&(G.current=!0,O(e)),null==w||w(e)},pe=function(e){"Enter"===e.key&&(G.current=!1),null==S||S(e)},he=function(e){z(!0),null==v||v(e)},me=function(e){z(!1),null==b||b(e)},ge=se&&"".concat(x,"-out-of-range");return p.createElement(h.default,(0,o.default)({},B,{prefixCls:x,className:u()(j,ge),handleReset:function(e){K(""),q(),W.current&&(0,g.resolveOnChange)(W.current,e,c)},value:J,focused:V,triggerFocus:q,suffix:function(){var e=Number(ie)>0;if(k||oe.show){var t=oe.showFormatter?oe.showFormatter({value:J,count:ae,maxLength:ie}):"".concat(ae).concat(e?" / ".concat(ie):"");return p.createElement(p.Fragment,null,oe.show&&p.createElement("span",{className:u()("".concat(x,"-show-count-suffix"),(0,i.default)({},"".concat(x,"-show-count-has-suffix"),!!k),null==M?void 0:M.count),style:(0,n.default)({},null==I?void 0:I.count)},t),k)}return null}(),disabled:P,classes:L,classNames:M,styles:I}),(ce=(0,d.default)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),p.createElement("input",(0,o.default)({autoComplete:r},ce,{onChange:ue,onFocus:he,onBlur:me,onKeyDown:de,onKeyUp:pe,className:u()(x,(0,i.default)({},"".concat(x,"-disabled"),P),null==M?void 0:M.input),style:null==I?void 0:I.input,ref:W,size:T,type:R,onCompositionStart:function(e){U.current=!0,null==N||N(e)},onCompositionEnd:fe}))))}))},22489:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,inCountRange:()=>l});var n=r(80045),o=r(89379),i=r(82284),a=r(49244),s=["show"];function l(e,t){return!t.max||t.strategy(e)<=t.max}function c(e,t){return a.useMemo((function(){var r={};t&&(r.show="object"===(0,i.default)(t)&&t.formatter?t.formatter:!!t);var a=r=(0,o.default)((0,o.default)({},r),e),l=a.show,c=(0,n.default)(a,s);return(0,o.default)((0,o.default)({},c),{},{show:!!l,showFormatter:"function"==typeof l?l:void 0,strategy:c.strategy||function(e){return e.length}})}),[e,t])}},70472:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseInput:()=>n.default,default:()=>o});var n=r(72595);const o=r(37752).default},11980:(e,t,r)=>{"use strict";function n(e){return!(!e.addonBefore&&!e.addonAfter)}function o(e){return!!(e.prefix||e.suffix||e.allowClear)}function i(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function a(e,t,r,n){if(r){var o=t;"click"!==t.type?"file"===e.type||void 0===n?r(o):r(o=i(t,e,n)):r(o=i(t,e,""))}}function s(e,t){if(e){e.focus(t);var r=(t||{}).cursor;if(r){var n=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(n,n);break;default:e.setSelectionRange(0,n)}}}}r.r(t),r.d(t,{hasAddon:()=>n,hasPrefixSuffix:()=>o,resolveOnChange:()=>a,triggerFocus:()=>s})},44785:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b,genCSSMotion:()=>v});var n=r(64467),o=r(89379),i=r(3453),a=r(82284),s=r(46942),l=r.n(s),c=r(66588),u=r(8719),f=r(49244),d=r(85423),p=r(72137),h=r(25318),m=r(58515),g=r(25931),y=r(80371);function v(e){var t=e;"object"===(0,a.default)(e)&&(t=e.transitionSupport);var r=f.forwardRef((function(e,r){var a=e.visible,s=void 0===a||a,v=e.removeOnLeave,b=void 0===v||v,O=e.forceRender,w=e.children,S=e.motionName,E=e.leavedClassName,x=e.eventProps,P=function(e,r){return!(!e.motionName||!t||!1===r)}(e,f.useContext(d.Context).motion),T=(0,f.useRef)(),j=(0,f.useRef)();var C=(0,h.default)(P,s,(function(){try{return T.current instanceof HTMLElement?T.current:(0,c.default)(j.current)}catch(e){return null}}),e),k=(0,i.default)(C,4),_=k[0],A=k[1],D=k[2],R=k[3],L=f.useRef(R);R&&(L.current=!0);var M,I=f.useCallback((function(e){T.current=e,(0,u.fillRef)(r,e)}),[r]),N=(0,o.default)((0,o.default)({},x),{},{visible:s});if(w)if(_===g.STATUS_NONE)M=R?w((0,o.default)({},N),I):!b&&L.current&&E?w((0,o.default)((0,o.default)({},N),{},{className:E}),I):O||!b&&!E?w((0,o.default)((0,o.default)({},N),{},{style:{display:"none"}}),I):null;else{var $;A===g.STEP_PREPARE?$="prepare":(0,m.isActive)(A)?$="active":A===g.STEP_START&&($="start");var B=(0,y.getTransitionName)(S,"".concat(_,"-").concat($));M=w((0,o.default)((0,o.default)({},N),{},{className:l()((0,y.getTransitionName)(S,_),(0,n.default)((0,n.default)({},B,B&&$),S,"string"==typeof S)),style:D}),I)}else M=null;f.isValidElement(M)&&(0,u.supportRef)(M)&&(M.ref||(M=f.cloneElement(M,{ref:I})));return f.createElement(p.default,{ref:j},M)}));return r.displayName="CSSMotion",r}const b=v(y.supportTransition)},97333:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>O,genCSSMotionList:()=>b});var n=r(58168),o=r(80045),i=r(89379),a=r(23029),s=r(92901),l=r(9417),c=r(85501),u=r(29426),f=r(64467),d=r(49244),p=r(44785),h=r(29710),m=r(80371),g=["component","children","onVisibleChanged","onAllRemoved"],y=["status"],v=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default,r=function(e){(0,c.default)(p,e);var r=(0,u.default)(p);function p(){var e;(0,a.default)(this,p);for(var t=arguments.length,n=new Array(t),o=0;o{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(23029),o=r(92901),i=r(85501),a=r(29426);const s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(49244).Component)},85423:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Context:()=>a,default:()=>s});var n=r(80045),o=r(49244),i=["children"],a=o.createContext({});function s(e){var t=e.children,r=(0,n.default)(e,i);return o.createElement(a.Provider,{value:r},t)}},85849:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(49244),o=r(80371);const i=function(e){var t=(0,n.useRef)();function r(t){t&&(t.removeEventListener(o.transitionEndName,e),t.removeEventListener(o.animationEndName,e))}return n.useEffect((function(){return function(){r(t.current)}}),[]),[function(n){t.current&&t.current!==n&&r(t.current),n&&n!==t.current&&(n.addEventListener(o.transitionEndName,e),n.addEventListener(o.animationEndName,e),t.current=n)},r]}},43982:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(20998),o=r(49244);const i=(0,n.default)()?o.useLayoutEffect:o.useEffect},84560:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(25371),o=r(49244);const i=function(){var e=o.useRef(null);function t(){n.default.cancel(e.current)}return o.useEffect((function(){return function(){t()}}),[]),[function r(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var a=(0,n.default)((function(){i<=1?o({isCanceled:function(){return a!==e.current}}):r(o,i-1)}));e.current=a},t]}},25318:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h});var n=r(89379),o=r(64467),i=r(3453),a=r(81470),s=r(1233),l=r(66932),c=r(49244),u=r(25931),f=r(85849),d=r(43982),p=r(58515);function h(e,t,r,h){var m=h.motionEnter,g=void 0===m||m,y=h.motionAppear,v=void 0===y||y,b=h.motionLeave,O=void 0===b||b,w=h.motionDeadline,S=h.motionLeaveImmediately,E=h.onAppearPrepare,x=h.onEnterPrepare,P=h.onLeavePrepare,T=h.onAppearStart,j=h.onEnterStart,C=h.onLeaveStart,k=h.onAppearActive,_=h.onEnterActive,A=h.onLeaveActive,D=h.onAppearEnd,R=h.onEnterEnd,L=h.onLeaveEnd,M=h.onVisibleChanged,I=(0,s.default)(),N=(0,i.default)(I,2),$=N[0],B=N[1],F=(0,l.default)(u.STATUS_NONE),Q=(0,i.default)(F,2),V=Q[0],z=Q[1],U=(0,s.default)(null),G=(0,i.default)(U,2),W=G[0],X=G[1],q=V(),H=(0,c.useRef)(!1),Z=(0,c.useRef)(null);function Y(){return r()}var K=(0,c.useRef)(!1);function J(){z(u.STATUS_NONE),X(null,!0)}var ee=(0,a.useEvent)((function(e){var t=V();if(t!==u.STATUS_NONE){var r=Y();if(!e||e.deadline||e.target===r){var n,o=K.current;t===u.STATUS_APPEAR&&o?n=null==D?void 0:D(r,e):t===u.STATUS_ENTER&&o?n=null==R?void 0:R(r,e):t===u.STATUS_LEAVE&&o&&(n=null==L?void 0:L(r,e)),o&&!1!==n&&J()}}})),te=(0,f.default)(ee),re=(0,i.default)(te,1)[0],ne=function(e){switch(e){case u.STATUS_APPEAR:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,E),u.STEP_START,T),u.STEP_ACTIVE,k);case u.STATUS_ENTER:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,x),u.STEP_START,j),u.STEP_ACTIVE,_);case u.STATUS_LEAVE:return(0,o.default)((0,o.default)((0,o.default)({},u.STEP_PREPARE,P),u.STEP_START,C),u.STEP_ACTIVE,A);default:return{}}},oe=c.useMemo((function(){return ne(q)}),[q]),ie=(0,p.default)(q,!e,(function(e){if(e===u.STEP_PREPARE){var t=oe[u.STEP_PREPARE];return t?t(Y()):p.SkipStep}var r;le in oe&&X((null===(r=oe[le])||void 0===r?void 0:r.call(oe,Y(),null))||null);return le===u.STEP_ACTIVE&&q!==u.STATUS_NONE&&(re(Y()),w>0&&(clearTimeout(Z.current),Z.current=setTimeout((function(){ee({deadline:!0})}),w))),le===u.STEP_PREPARED&&J(),p.DoStep})),ae=(0,i.default)(ie,2),se=ae[0],le=ae[1],ce=(0,p.isActive)(le);K.current=ce,(0,d.default)((function(){B(t);var r,n=H.current;H.current=!0,!n&&t&&v&&(r=u.STATUS_APPEAR),n&&t&&g&&(r=u.STATUS_ENTER),(n&&!t&&O||!n&&S&&!t&&O)&&(r=u.STATUS_LEAVE);var o=ne(r);r&&(e||o[u.STEP_PREPARE])?(z(r),se()):z(u.STATUS_NONE)}),[t]),(0,c.useEffect)((function(){(q===u.STATUS_APPEAR&&!v||q===u.STATUS_ENTER&&!g||q===u.STATUS_LEAVE&&!O)&&z(u.STATUS_NONE)}),[v,g,O]),(0,c.useEffect)((function(){return function(){H.current=!1,clearTimeout(Z.current)}}),[]);var ue=c.useRef(!1);(0,c.useEffect)((function(){$&&(ue.current=!0),void 0!==$&&q===u.STATUS_NONE&&((ue.current||$)&&(null==M||M($)),ue.current=!0)}),[$,q]);var fe=W;return oe[u.STEP_PREPARE]&&le===u.STEP_START&&(fe=(0,n.default)({transition:"none"},fe)),[q,le,fe,null!=$?$:t]}},58515:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DoStep:()=>d,SkipStep:()=>f,default:()=>h,isActive:()=>p});var n=r(3453),o=r(1233),i=r(49244),a=r(25931),s=r(43982),l=r(84560),c=[a.STEP_PREPARE,a.STEP_START,a.STEP_ACTIVE,a.STEP_ACTIVATED],u=[a.STEP_PREPARE,a.STEP_PREPARED],f=!1,d=!0;function p(e){return e===a.STEP_ACTIVE||e===a.STEP_ACTIVATED}const h=function(e,t,r){var d=(0,o.default)(a.STEP_NONE),p=(0,n.default)(d,2),h=p[0],m=p[1],g=(0,l.default)(),y=(0,n.default)(g,2),v=y[0],b=y[1];var O=t?u:c;return(0,s.default)((function(){if(h!==a.STEP_NONE&&h!==a.STEP_ACTIVATED){var e=O.indexOf(h),t=O[e+1],n=r(h);n===f?m(t,!0):t&&v((function(e){function r(){e.isCanceled()||m(t,!0)}!0===n?r():Promise.resolve(n).then(r)}))}}),[e,h]),i.useEffect((function(){return function(){b()}}),[]),[function(){m(a.STEP_PREPARE,!0)},h]}},30156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CSSMotionList:()=>o.default,Provider:()=>i.default,default:()=>a});var n=r(44785),o=r(97333),i=r(85423);const a=n.default},25931:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_APPEAR:()=>o,STATUS_ENTER:()=>i,STATUS_LEAVE:()=>a,STATUS_NONE:()=>n,STEP_ACTIVATED:()=>f,STEP_ACTIVE:()=>u,STEP_NONE:()=>s,STEP_PREPARE:()=>l,STEP_PREPARED:()=>d,STEP_START:()=>c});var n="none",o="appear",i="enter",a="leave",s="none",l="prepare",c="start",u="active",f="end",d="prepared"},29710:(e,t,r)=>{"use strict";r.r(t),r.d(t,{STATUS_ADD:()=>i,STATUS_KEEP:()=>a,STATUS_REMOVE:()=>s,STATUS_REMOVED:()=>l,diffKeys:()=>f,parseKeys:()=>u,wrapKeyToObject:()=>c});var n=r(89379),o=r(82284),i="add",a="keep",s="remove",l="removed";function c(e){var t;return t=e&&"object"===(0,o.default)(e)&&"key"in e?e:{key:e},(0,n.default)((0,n.default)({},t),{},{key:String(t.key)})}function u(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(c)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[],o=0,l=t.length,c=u(e),f=u(t);c.forEach((function(e){for(var t=!1,c=o;c1})).forEach((function(e){(r=r.filter((function(t){var r=t.key,n=t.status;return r!==e||n!==s}))).forEach((function(t){t.key===e&&(t.status=a)}))})),r}},80371:(e,t,r)=>{"use strict";r.r(t),r.d(t,{animationEndName:()=>m,getTransitionName:()=>y,getVendorPrefixedEventName:()=>f,getVendorPrefixes:()=>a,supportTransition:()=>h,transitionEndName:()=>g});var n=r(82284),o=r(20998);function i(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function a(e,t){var r={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var s=a((0,o.default)(),"undefined"!=typeof window?window:{}),l={};if((0,o.default)()){var c=document.createElement("div");l=c.style}var u={};function f(e){if(u[e])return u[e];var t=s[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o{"use strict";r.r(t),r.d(t,{default:()=>n});const n={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},45966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{commonLocale:()=>n});var n={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},64395:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(89379),o=r(45966);const i=(0,n.default)((0,n.default)({},o.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"})},26551:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Collection:()=>i,CollectionContext:()=>o});var n=r(49244),o=n.createContext(null);function i(e){var t=e.children,r=e.onBatchResize,i=n.useRef(0),a=n.useRef([]),s=n.useContext(o),l=n.useCallback((function(e,t,n){i.current+=1;var o=i.current;a.current.push({size:e,element:t,data:n}),Promise.resolve().then((function(){o===i.current&&(null==r||r(a.current),a.current=[])})),null==s||s(e,t,n)}),[r,s]);return n.createElement(o.Provider,{value:l},t)}},97563:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(23029),o=r(92901),i=r(85501),a=r(29426),s=function(e){(0,i.default)(r,e);var t=(0,a.default)(r);function r(){return(0,n.default)(this,r),t.apply(this,arguments)}return(0,o.default)(r,[{key:"render",value:function(){return this.props.children}}]),r}(r(49244).Component)},43278:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(89379),o=r(82284),i=r(66588),a=r(8719),s=r(49244),l=r(26551),c=r(59823),u=r(97563);function f(e,t){var r=e.children,f=e.disabled,d=s.useRef(null),p=s.useRef(null),h=s.useContext(l.CollectionContext),m="function"==typeof r,g=m?r(d):r,y=s.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!m&&s.isValidElement(g)&&(0,a.supportRef)(g),b=v?g.ref:null,O=(0,a.useComposeRef)(b,d),w=function(){var e;return(0,i.default)(d.current)||(d.current&&"object"===(0,o.default)(d.current)?(0,i.default)(null===(e=d.current)||void 0===e?void 0:e.nativeElement):null)||(0,i.default)(p.current)};s.useImperativeHandle(t,(function(){return w()}));var S=s.useRef(e);S.current=e;var E=s.useCallback((function(e){var t=S.current,r=t.onResize,o=t.data,i=e.getBoundingClientRect(),a=i.width,s=i.height,l=e.offsetWidth,c=e.offsetHeight,u=Math.floor(a),f=Math.floor(s);if(y.current.width!==u||y.current.height!==f||y.current.offsetWidth!==l||y.current.offsetHeight!==c){var d={width:u,height:f,offsetWidth:l,offsetHeight:c};y.current=d;var p=l===Math.round(a)?a:l,m=c===Math.round(s)?s:c,g=(0,n.default)((0,n.default)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(g,e,o),r&&Promise.resolve().then((function(){r(g,e)}))}}),[]);return s.useEffect((function(){var e=w();return e&&!f&&(0,c.observe)(e,E),function(){return(0,c.unobserve)(e,E)}}),[d.current,f]),s.createElement(u.default,{ref:p},v?s.cloneElement(g,{ref:O}):g)}const d=s.forwardRef(f)},76567:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_rs:()=>l._rs,default:()=>f});var n=r(58168),o=r(49244),i=r(82546),a=(r(68210),r(43278)),s=r(26551),l=r(59823);function c(e,t){var r=e.children;return("function"==typeof r?[r]:(0,i.default)(r)).map((function(r,i){var s=(null==r?void 0:r.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(a.default,(0,n.default)({},e,{key:s,ref:0===i?t:void 0}),r)}))}var u=o.forwardRef(c);u.Collection=s.Collection;const f=u},59823:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_el:()=>a,_rs:()=>s,observe:()=>l,unobserve:()=>c});var n=r(43591),o=new Map;var i=new n.default((function(e){e.forEach((function(e){var t,r=e.target;null===(t=o.get(r))||void 0===t||t.forEach((function(e){return e(r)}))}))})),a=null,s=null;function l(e,t){o.has(e)||(o.set(e,new Set),i.observe(e)),o.get(e).add(t)}function c(e,t){o.has(e)&&(o.get(e).delete(t),o.get(e).size||(i.unobserve(e),o.delete(e)))}},2455:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(58168),o=r(64467),i=r(89379),a=r(82284),s=r(3453),l=r(80045),c=r(46942),u=r.n(c),f=r(76567),d=r(30981),p=r(12533),h=r(25371),m=r(49244),g=r(93663),y=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"];const v=m.forwardRef((function(e,t){var r=e,c=r.prefixCls,v=r.defaultValue,b=r.value,O=r.autoSize,w=r.onResize,S=r.className,E=r.style,x=r.disabled,P=r.onChange,T=(r.onInternalAutoSize,(0,l.default)(r,y)),j=(0,p.default)(v,{value:b,postState:function(e){return null!=e?e:""}}),C=(0,s.default)(j,2),k=C[0],_=C[1],A=m.useRef();m.useImperativeHandle(t,(function(){return{textArea:A.current}}));var D=m.useMemo((function(){return O&&"object"===(0,a.default)(O)?[O.minRows,O.maxRows]:[]}),[O]),R=(0,s.default)(D,2),L=R[0],M=R[1],I=!!O,N=m.useState(2),$=(0,s.default)(N,2),B=$[0],F=$[1],Q=m.useState(),V=(0,s.default)(Q,2),z=V[0],U=V[1],G=function(){F(0)};(0,d.default)((function(){I&&G()}),[b,L,M,I]),(0,d.default)((function(){if(0===B)F(1);else if(1===B){var e=(0,g.default)(A.current,!1,L,M);F(2),U(e)}else!function(){try{if(document.activeElement===A.current){var e=A.current,t=e.selectionStart,r=e.selectionEnd,n=e.scrollTop;A.current.setSelectionRange(t,r),A.current.scrollTop=n}}catch(e){}}()}),[B]);var W=m.useRef(),X=function(){h.default.cancel(W.current)};m.useEffect((function(){return X}),[]);var q=I?z:null,H=(0,i.default)((0,i.default)({},E),q);return 0!==B&&1!==B||(H.overflowY="hidden",H.overflowX="hidden"),m.createElement(f.default,{onResize:function(e){2===B&&(null==w||w(e),O&&(X(),W.current=(0,h.default)((function(){G()}))))},disabled:!(O||w)},m.createElement("textarea",(0,n.default)({},T,{ref:A,style:H,className:u()(c,S,(0,o.default)({},"".concat(c,"-disabled"),x)),disabled:x,value:k,onChange:function(e){_(e.target.value),null==P||P(e)}})))}))},35384:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var n=r(58168),o=r(64467),i=r(89379),a=r(89394),s=r(3453),l=r(80045),c=r(46942),u=r.n(c),f=r(70472),d=r(22489),p=r(11980),h=r(12533),m=r(49244),g=r(2455),y=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"];const v=m.forwardRef((function(e,t){var r,c=e.defaultValue,v=e.value,b=e.onFocus,O=e.onBlur,w=e.onChange,S=e.allowClear,E=e.maxLength,x=e.onCompositionStart,P=e.onCompositionEnd,T=e.suffix,j=e.prefixCls,C=void 0===j?"rc-textarea":j,k=e.showCount,_=e.count,A=e.className,D=e.style,R=e.disabled,L=e.hidden,M=e.classNames,I=e.styles,N=e.onResize,$=e.onClear,B=e.onPressEnter,F=e.readOnly,Q=e.autoSize,V=e.onKeyDown,z=(0,l.default)(e,y),U=(0,h.default)(c,{value:v,defaultValue:c}),G=(0,s.default)(U,2),W=G[0],X=G[1],q=null==W?"":String(W),H=m.useState(!1),Z=(0,s.default)(H,2),Y=Z[0],K=Z[1],J=m.useRef(!1),ee=m.useState(null),te=(0,s.default)(ee,2),re=te[0],ne=te[1],oe=(0,m.useRef)(null),ie=(0,m.useRef)(null),ae=function(){var e;return null===(e=ie.current)||void 0===e?void 0:e.textArea},se=function(){ae().focus()};(0,m.useImperativeHandle)(t,(function(){var e;return{resizableTextArea:ie.current,focus:se,blur:function(){ae().blur()},nativeElement:(null===(e=oe.current)||void 0===e?void 0:e.nativeElement)||ae()}})),(0,m.useEffect)((function(){K((function(e){return!R&&e}))}),[R]);var le=m.useState(null),ce=(0,s.default)(le,2),ue=ce[0],fe=ce[1];m.useEffect((function(){var e;ue&&(e=ae()).setSelectionRange.apply(e,(0,a.default)(ue))}),[ue]);var de,pe=(0,d.default)(_,k),he=null!==(r=pe.max)&&void 0!==r?r:E,me=Number(he)>0,ge=pe.strategy(q),ye=!!he&&ge>he,ve=function(e,t){var r=t;!J.current&&pe.exceedFormatter&&pe.max&&pe.strategy(t)>pe.max&&t!==(r=pe.exceedFormatter(t,{max:pe.max}))&&fe([ae().selectionStart||0,ae().selectionEnd||0]),X(r),(0,p.resolveOnChange)(e.currentTarget,e,w,r)},be=T;pe.show&&(de=pe.showFormatter?pe.showFormatter({value:q,count:ge,maxLength:he}):"".concat(ge).concat(me?" / ".concat(he):""),be=m.createElement(m.Fragment,null,be,m.createElement("span",{className:u()("".concat(C,"-data-count"),null==M?void 0:M.count),style:null==I?void 0:I.count},de)));var Oe=!Q&&!k&&!S;return m.createElement(f.BaseInput,{ref:oe,value:q,allowClear:S,handleReset:function(e){X(""),se(),(0,p.resolveOnChange)(ae(),e,w)},suffix:be,prefixCls:C,classNames:(0,i.default)((0,i.default)({},M),{},{affixWrapper:u()(null==M?void 0:M.affixWrapper,(0,o.default)((0,o.default)({},"".concat(C,"-show-count"),k),"".concat(C,"-textarea-allow-clear"),S))}),disabled:R,focused:Y,className:u()(A,ye&&"".concat(C,"-out-of-range")),style:(0,i.default)((0,i.default)({},D),re&&!Oe?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof de?de:void 0}},hidden:L,readOnly:F,onClear:$},m.createElement(g.default,(0,n.default)({},z,{autoSize:Q,maxLength:E,onKeyDown:function(e){"Enter"===e.key&&B&&B(e),null==V||V(e)},onChange:function(e){ve(e,e.target.value)},onFocus:function(e){K(!0),null==b||b(e)},onBlur:function(e){K(!1),null==O||O(e)},onCompositionStart:function(e){J.current=!0,null==x||x(e)},onCompositionEnd:function(e){J.current=!1,ve(e,e.currentTarget.value),null==P||P(e)},className:u()(null==M?void 0:M.textarea),style:(0,i.default)((0,i.default)({},null==I?void 0:I.textarea),{},{resize:null==D?void 0:D.resize}),disabled:R,prefixCls:C,onResize:function(e){var t;null==N||N(e),null!==(t=ae())&&void 0!==t&&t.style.height&&ne(!0)},ref:ie,readOnly:F})))}))},93663:(e,t,r)=>{"use strict";r.r(t),r.d(t,{calculateNodeStyling:()=>s,default:()=>l});var n,o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],a={};function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[r])return a[r];var n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),s=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),l=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),c={sizingStyle:i.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),paddingSize:s,borderSize:l,boxSizing:o};return t&&r&&(a[r]=c),c}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n||((n=document.createElement("textarea")).setAttribute("tab-index","-1"),n.setAttribute("aria-hidden","true"),n.setAttribute("name","hiddenTextarea"),document.body.appendChild(n)),e.getAttribute("wrap")?n.setAttribute("wrap",e.getAttribute("wrap")):n.removeAttribute("wrap");var a=s(e,t),l=a.paddingSize,c=a.borderSize,u=a.boxSizing,f=a.sizingStyle;n.setAttribute("style","".concat(f,";").concat(o)),n.value=e.value||e.placeholder||"";var d,p=void 0,h=void 0,m=n.scrollHeight;if("border-box"===u?m+=c:"content-box"===u&&(m-=l),null!==r||null!==i){n.value=" ";var g=n.scrollHeight-l;null!==r&&(p=g*r,"border-box"===u&&(p=p+l+c),m=Math.max(p,m)),null!==i&&(h=g*i,"border-box"===u&&(h=h+l+c),d=m>h?"":"hidden",m=Math.min(h,m))}var y={height:m,overflowY:d,resize:"none"};return p&&(y.minHeight=p),h&&(y.maxHeight=h),y}},68200:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ResizableTextArea:()=>o.default,default:()=>i});var n=r(35384),o=r(2455);const i=n.default},82546:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(49244),o=r(66351);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[];return n.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?r=r.concat(i(e)):(0,o.isFragment)(e)&&e.props?r=r.concat(i(e.props.children,t)):r.push(e))})),r}},20998:(e,t,r)=>{"use strict";function n(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}r.r(t),r.d(t,{default:()=>n})},54808:(e,t,r)=>{"use strict";function n(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}r.r(t),r.d(t,{default:()=>n})},85089:(e,t,r)=>{"use strict";r.r(t),r.d(t,{clearContainerCache:()=>g,injectCSS:()=>p,removeCSS:()=>m,updateCSS:()=>y});var n=r(89379),o=r(20998),i=r(54808),a="data-rc-order",s="data-rc-priority",l="rc-util-key",c=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((c.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.default)())return null;var r=t.csp,n=t.prepend,i=t.priority,l=void 0===i?0:i,c=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(n),u="prependQueue"===c,p=document.createElement("style");p.setAttribute(a,c),u&&l&&p.setAttribute(s,"".concat(l)),null!=r&&r.nonce&&(p.nonce=null==r?void 0:r.nonce),p.innerHTML=e;var h=f(t),m=h.firstChild;if(n){if(u){var g=(t.styles||d(h)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(s)||0);return l>=t}));if(g.length)return h.insertBefore(p,g[g.length-1].nextSibling),p}h.insertBefore(p,m)}else h.appendChild(p);return p}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=f(t);return(t.styles||d(r)).find((function(r){return r.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=h(e,t);r&&f(t).removeChild(r)}function g(){c.clear()}function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(r),a=d(o),s=(0,n.default)((0,n.default)({},r),{},{styles:a});!function(e,t){var r=c.get(e);if(!r||!(0,i.default)(document,r)){var n=p("",t),o=n.parentNode;c.set(e,o),e.removeChild(n)}}(o,s);var l=h(t,s);if(l){var m,g,y;if(null!==(m=s.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(g=s.csp)||void 0===g?void 0:g.nonce))l.nonce=null===(y=s.csp)||void 0===y?void 0:y.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var v=p(e,s);return v.setAttribute(u(s),t),v}},66588:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getDOM:()=>s,isDOM:()=>a});var n=r(82284),o=r(49244),i=r(2787);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function s(e){return e&&"object"===(0,n.default)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}function l(e){var t,r=s(e);return r||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},42467:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},72633:(e,t,r)=>{"use strict";function n(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return n(e)instanceof ShadowRoot}function i(e){return o(e)?n(e):null}r.r(t),r.d(t,{getShadowRoot:()=>i,inShadow:()=>o})},16928:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=n},14832:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{_r:()=>g,_u:()=>w,render:()=>y,unmount:()=>S});var o,i=r(90675),a=r(10467),s=r(82284),l=r(89379),c=r(2787),u=(0,l.default)({},n||(n=r.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,s.default)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function g(e,t){0}function y(e,t){o?function(e,t){h(!0);var r=t[m]||o(t);h(!1),r.render(e),t[m]=r}(e,t):function(e,t){d(e,t)}(e,t)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){p(e)}function w(e){0}function S(e){return E.apply(this,arguments)}function E(){return(E=(0,a.default)((0,i.default)().mark((function e(t){return(0,i.default)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===o){e.next=2;break}return e.abrupt("return",v(t));case 2:O(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},26956:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(49244);function o(e){var t=n.useRef();t.current=e;var r=n.useCallback((function(){for(var e,r=arguments.length,n=new Array(r),o=0;o{"use strict";r.r(t),r.d(t,{default:()=>s,useLayoutUpdateEffect:()=>a});var n=r(49244),o=(0,r(20998).default)()?n.useLayoutEffect:n.useEffect,i=function(e,t){var r=n.useRef(!0);o((function(){return e(r.current)}),t),o((function(){return r.current=!1,function(){r.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const s=i},28104:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(49244);function o(e,t,r){var o=n.useRef({});return"value"in o.current&&!r(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},12533:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(3453),o=r(26956),i=r(30981),a=r(1233);function s(e){return void 0!==e}function l(e,t){var r=t||{},l=r.defaultValue,c=r.value,u=r.onChange,f=r.postState,d=(0,a.default)((function(){return s(c)?c:s(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,n.default)(d,2),h=p[0],m=p[1],g=void 0!==c?c:h,y=f?f(g):g,v=(0,o.default)(u),b=(0,a.default)([g]),O=(0,n.default)(b,2),w=O[0],S=O[1];return(0,i.useLayoutUpdateEffect)((function(){var e=w[0];h!==e&&v(h,e)}),[w]),(0,i.useLayoutUpdateEffect)((function(){s(c)||m(c)}),[c]),[y,(0,o.default)((function(e,t){m(e,t),S([g],t)}))]}},1233:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(3453),o=r(49244);function i(e){var t=o.useRef(!1),r=o.useState(e),i=(0,n.default)(r,2),a=i[0],s=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,r){r&&t.current||s(e)}]}},66932:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(3453),o=r(49244),i=r(26956);function a(e){var t=o.useReducer((function(e){return e+1}),0),r=(0,n.default)(t,2)[1],a=o.useRef(e);return[(0,i.default)((function(){return a.current})),(0,i.default)((function(e){a.current="function"==typeof e?e(a.current):e,r()}))]}},81470:(e,t,r)=>{"use strict";r.r(t),r.d(t,{get:()=>a.default,set:()=>s.default,supportNodeRef:()=>i.supportNodeRef,supportRef:()=>i.supportRef,useComposeRef:()=>i.useComposeRef,useEvent:()=>n.default,useMergedState:()=>o.default,warning:()=>l.default});var n=r(26956),o=r(12533),i=r(8719),a=r(16300),s=r(20488),l=r(68210)},43210:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(82284),o=r(68210);const i=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.default)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(r&&s>1)return!1;i.add(t);var c=s+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";function n(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete r[e]})),r}r.r(t),r.d(t,{default:()=>n})},72065:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l});var n=r(89379),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function s(e,t){return 0===e.indexOf(t)}function l(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===r?{aria:!0,data:!0,attr:!0}:!0===r?{aria:!0}:(0,n.default)({},r);var l={};return Object.keys(e).forEach((function(r){(t.aria&&("role"===r||s(r,i))||t.data&&s(r,a)||t.attr&&o.includes(r))&&(l[r]=e[r])})),l}},25371:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c});var n=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(n=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function s(e){a.delete(e)}var l=function(e){var t=i+=1;return function r(o){if(0===o)s(t),e();else{var i=n((function(){r(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return s(e),o(t)};const c=l},8719:(e,t,r)=>{"use strict";r.r(t),r.d(t,{composeRef:()=>l,fillRef:()=>s,getNodeRef:()=>p,supportNodeRef:()=>d,supportRef:()=>u,useComposeRef:()=>c});var n=r(82284),o=r(49244),i=r(66351),a=r(28104),s=function(e,t){"function"==typeof e?e(t):"object"===(0,n.default)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),r=0;r=19?function(e){return f(e)?e.props.ref:null}:function(e){return f(e)?e.ref:null}},16300:(e,t,r)=>{"use strict";function n(e,t){for(var r=e,n=0;nn})},20488:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>c,merge:()=>d});var n=r(82284),o=r(89379),i=r(89394),a=r(87695),s=r(16300);function l(e,t,r,n){if(!t.length)return r;var s,c=(0,a.default)(t),u=c[0],f=c.slice(1);return s=e||"number"!=typeof u?Array.isArray(e)?(0,i.default)(e):(0,o.default)({},e):[],n&&void 0===r&&1===f.length?delete s[u][f[0]]:s[u]=l(s[u],f,r,n),s}function c(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&n&&void 0===r&&!(0,s.default)(e,t.slice(0,-1))?e:l(e,t,r,n)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.r(t),r.d(t,{call:()=>c,default:()=>d,note:()=>s,noteOnce:()=>f,preMessage:()=>i,resetWarned:()=>l,warning:()=>a,warningOnce:()=>u});var n={},o=[],i=function(e){o.push(e)};function a(e,t){}function s(e,t){}function l(){n={}}function c(e,t,r){t||n[r]||(e(!1,r),n[r]=!0)}function u(e,t){c(a,e,t)}function f(e,t){c(s,e,t)}u.preMessage=i,u.resetWarned=l,u.noteOnce=f;const d=u},57787:(e,t)=>{"use strict";var r,n=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case s:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case o:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=d,t.SuspenseList=p,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===c},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===f},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===h},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===d},t.isSuspenseList=function(e){return y(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===d||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},66351:(e,t,r)=>{"use strict";e.exports=r(57787)},5338:(e,t,r)=>{"use strict";var n=r(2787);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},84976:(e,t,r)=>{"use strict";var n,o;r.r(t),r.d(t,{AbortedDeferredError:()=>s.AbortedDeferredError,Await:()=>s.Await,BrowserRouter:()=>I,Form:()=>z,HashRouter:()=>N,Link:()=>Q,MemoryRouter:()=>s.MemoryRouter,NavLink:()=>V,Navigate:()=>s.Navigate,NavigationType:()=>s.NavigationType,Outlet:()=>s.Outlet,Route:()=>s.Route,Router:()=>s.Router,RouterProvider:()=>R,Routes:()=>s.Routes,ScrollRestoration:()=>U,UNSAFE_DataRouterContext:()=>s.UNSAFE_DataRouterContext,UNSAFE_DataRouterStateContext:()=>s.UNSAFE_DataRouterStateContext,UNSAFE_ErrorResponseImpl:()=>l.UNSAFE_ErrorResponseImpl,UNSAFE_FetchersContext:()=>j,UNSAFE_LocationContext:()=>s.UNSAFE_LocationContext,UNSAFE_NavigationContext:()=>s.UNSAFE_NavigationContext,UNSAFE_RouteContext:()=>s.UNSAFE_RouteContext,UNSAFE_ViewTransitionContext:()=>T,UNSAFE_useRouteId:()=>s.UNSAFE_useRouteId,UNSAFE_useScrollRestoration:()=>ie,createBrowserRouter:()=>S,createHashRouter:()=>E,createMemoryRouter:()=>s.createMemoryRouter,createPath:()=>s.createPath,createRoutesFromChildren:()=>s.createRoutesFromChildren,createRoutesFromElements:()=>s.createRoutesFromElements,createSearchParams:()=>h,defer:()=>s.defer,generatePath:()=>s.generatePath,isRouteErrorResponse:()=>s.isRouteErrorResponse,json:()=>s.json,matchPath:()=>s.matchPath,matchRoutes:()=>s.matchRoutes,parsePath:()=>s.parsePath,redirect:()=>s.redirect,redirectDocument:()=>s.redirectDocument,renderMatches:()=>s.renderMatches,replace:()=>s.replace,resolvePath:()=>s.resolvePath,unstable_HistoryRouter:()=>$,unstable_usePrompt:()=>se,useActionData:()=>s.useActionData,useAsyncError:()=>s.useAsyncError,useAsyncValue:()=>s.useAsyncValue,useBeforeUnload:()=>ae,useBlocker:()=>s.useBlocker,useFetcher:()=>te,useFetchers:()=>re,useFormAction:()=>ee,useHref:()=>s.useHref,useInRouterContext:()=>s.useInRouterContext,useLinkClickHandler:()=>H,useLoaderData:()=>s.useLoaderData,useLocation:()=>s.useLocation,useMatch:()=>s.useMatch,useMatches:()=>s.useMatches,useNavigate:()=>s.useNavigate,useNavigation:()=>s.useNavigation,useNavigationType:()=>s.useNavigationType,useOutlet:()=>s.useOutlet,useOutletContext:()=>s.useOutletContext,useParams:()=>s.useParams,useResolvedPath:()=>s.useResolvedPath,useRevalidator:()=>s.useRevalidator,useRouteError:()=>s.useRouteError,useRouteLoaderData:()=>s.useRouteLoaderData,useRoutes:()=>s.useRoutes,useSearchParams:()=>Z,useSubmit:()=>J,useViewTransitionState:()=>le});var i=r(49244),a=r(2787),s=r(47767),l=r(45588);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}const f="get",d="application/x-www-form-urlencoded";function p(e){return null!=e&&"string"==typeof e.tagName}function h(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}let m=null;const g=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function y(e){return null==e||g.has(e)?e:null}function v(e,t){let r,n,o,i,a;if(p(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");n=a?(0,l.stripBasename)(a,t):null,r=e.getAttribute("method")||f,o=y(e.getAttribute("enctype"))||d,i=new FormData(e)}else if(function(e){return p(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return p(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a