@nvidia-elements/core 2.22.5 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/accordion/accordion2.js +4 -4
- package/dist/alert/alert-group2.js +1 -1
- package/dist/alert/alert2.js +1 -1
- package/dist/avatar/avatar-group2.js +1 -1
- package/dist/avatar/avatar2.js +1 -1
- package/dist/badge/badge2.js +1 -1
- package/dist/breadcrumb/breadcrumb2.js +1 -1
- package/dist/bundle.d.ts +4 -0
- package/dist/bundles/index.d.ts +357 -1
- package/dist/bundles/index.js +14 -14
- package/dist/button/button2.js +1 -1
- package/dist/button-group/button-group2.js +1 -1
- package/dist/card/card2.js +4 -4
- package/dist/chat-message/chat-message2.js +1 -1
- package/dist/checkbox/checkbox-group2.js +1 -1
- package/dist/checkbox/checkbox2.js +1 -1
- package/dist/color/color2.js +6 -6
- package/dist/combobox/combobox2.js +1 -1
- package/dist/copy-button/copy-button2.js +1 -1
- package/dist/custom-elements-jsx.d.ts +189 -0
- package/dist/custom-elements-vue.d.ts +189 -0
- package/dist/custom-elements.json +6561 -339
- package/dist/data.html.json +133 -0
- package/dist/date/date2.js +6 -6
- package/dist/datetime/datetime2.js +6 -6
- package/dist/dialog/dialog-footer2.js +1 -1
- package/dist/dialog/dialog-header2.js +1 -1
- package/dist/dialog/dialog2.js +1 -1
- package/dist/divider/divider2.js +1 -1
- package/dist/dot/dot2.js +1 -1
- package/dist/drag-handle/drag-handle2.js +1 -1
- package/dist/drawer/drawer-content2.js +1 -1
- package/dist/drawer/drawer-footer2.js +1 -1
- package/dist/drawer/drawer-header2.js +1 -1
- package/dist/drawer/drawer2.js +1 -1
- package/dist/dropdown/dropdown-footer2.js +1 -1
- package/dist/dropdown/dropdown-header2.js +1 -1
- package/dist/dropdown/dropdown2.js +1 -1
- package/dist/dropdown-group/dropdown-group.js +1 -1
- package/dist/dropzone/dropzone2.js +1 -1
- package/dist/file/file2.js +1 -1
- package/dist/format-bytes/format-bytes2.js +1 -1
- package/dist/format-datetime/format-datetime2.js +1 -1
- package/dist/format-number/format-number2.js +1 -1
- package/dist/format-relative-time/format-relative-time2.js +1 -1
- package/dist/format-truncate/format-truncate2.js +1 -1
- package/dist/forms/control/control2.js +1 -1
- package/dist/forms/control-group/control-group2.js +1 -1
- package/dist/forms/control-message/control-message2.js +1 -1
- package/dist/forms/utils/layout.d.ts +0 -1
- package/dist/forms/utils/layout.js.map +1 -1
- package/dist/forms/utils/states.d.ts +0 -1
- package/dist/forms/utils/states.js.map +1 -1
- package/dist/gauge/gauge2.js +1 -1
- package/dist/ghost/define.d.ts +6 -0
- package/dist/ghost/define.js +6 -0
- package/dist/ghost/define.js.map +1 -0
- package/dist/ghost/ghost.d.ts +27 -0
- package/dist/ghost/ghost.examples.js +5 -0
- package/dist/ghost/ghost.examples.js.map +1 -0
- package/dist/ghost/ghost.examples.json +37 -0
- package/dist/ghost/ghost.js +5 -0
- package/dist/ghost/ghost.js.map +1 -0
- package/dist/ghost/ghost2.js +28 -0
- package/dist/ghost/ghost2.js.map +1 -0
- package/dist/ghost/index.d.ts +1 -0
- package/dist/ghost/index.js +1 -0
- package/dist/grid/cell/cell2.js +1 -1
- package/dist/grid/column/column2.js +1 -1
- package/dist/grid/footer/footer2.js +1 -1
- package/dist/grid/grid2.js +1 -1
- package/dist/grid/header/header2.js +1 -1
- package/dist/grid/placeholder/placeholder2.js +1 -1
- package/dist/grid/row/row2.js +1 -1
- package/dist/icon/icon2.js +2 -2
- package/dist/icon-button/icon-button2.js +1 -1
- package/dist/iframe/iframe2.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/input/input-group2.js +1 -1
- package/dist/input/input2.js +1 -1
- package/dist/internal/controllers/keynav-spatial.controller.d.ts +0 -1
- package/dist/internal/controllers/keynav-spatial.controller.js.map +1 -1
- package/dist/internal/controllers/type-native-popover.utils.d.ts +0 -1
- package/dist/internal/controllers/type-native-popover.utils.js.map +1 -1
- package/dist/internal/index.d.ts +0 -1
- package/dist/internal/index.js +116 -128
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/types/index.d.ts +37 -3
- package/dist/internal/types/index.js.map +1 -1
- package/dist/internal/utils/audit-logs.d.ts +0 -1
- package/dist/internal/utils/audit-logs.js.map +1 -1
- package/dist/internal/utils/dom.d.ts +0 -5
- package/dist/internal/utils/dom.js +30 -46
- package/dist/internal/utils/dom.js.map +1 -1
- package/dist/internal/utils/events.d.ts +0 -1
- package/dist/internal/utils/events.js +4 -7
- package/dist/internal/utils/events.js.map +1 -1
- package/dist/internal/utils/keynav.d.ts +0 -1
- package/dist/internal/utils/keynav.js +2 -5
- package/dist/internal/utils/keynav.js.map +1 -1
- package/dist/internal/utils/objects.d.ts +0 -2
- package/dist/internal/utils/objects.js +2 -8
- package/dist/internal/utils/objects.js.map +1 -1
- package/dist/joystick/joystick2.js +5 -5
- package/dist/logo/logo2.js +1 -1
- package/dist/menu/menu-group2.js +1 -1
- package/dist/menu/menu-item2.js +1 -1
- package/dist/menu/menu2.js +1 -1
- package/dist/month/month2.js +6 -6
- package/dist/notification/notification-group2.js +1 -1
- package/dist/notification/notification2.js +1 -1
- package/dist/page/page-panel/page-panel-content2.js +1 -1
- package/dist/page/page-panel/page-panel-footer2.js +1 -1
- package/dist/page/page-panel/page-panel-header2.js +1 -1
- package/dist/page/page-panel/page-panel2.js +1 -1
- package/dist/page/page2.js +1 -1
- package/dist/page-header/page-header2.js +1 -1
- package/dist/page-loader/page-loader2.js +1 -1
- package/dist/pagination/pagination2.js +1 -1
- package/dist/panel/panel2.js +4 -4
- package/dist/password/password2.js +6 -6
- package/dist/preferences-input/preferences-input2.js +5 -5
- package/dist/progress-bar/progress-bar2.js +1 -1
- package/dist/progress-dot/progress-dot2.js +1 -1
- package/dist/progress-ring/progress-ring2.js +1 -1
- package/dist/progressive-filter-chip/progressive-filter-chip2.js +1 -1
- package/dist/pulse/pulse2.js +1 -1
- package/dist/radio/radio-group2.js +1 -1
- package/dist/radio/radio2.js +1 -1
- package/dist/range/range2.js +1 -1
- package/dist/resize-handle/resize-handle2.js +5 -5
- package/dist/search/search2.js +6 -6
- package/dist/select/select2.js +1 -1
- package/dist/skeleton/skeleton2.js +1 -1
- package/dist/sort-button/sort-button2.js +1 -1
- package/dist/sparkline/sparkline2.js +1 -1
- package/dist/star-rating/star-rating2.js +1 -1
- package/dist/steps/steps2.js +6 -6
- package/dist/switch/switch-group2.js +1 -1
- package/dist/switch/switch2.js +1 -1
- package/dist/tabs/tabs-group2.js +1 -1
- package/dist/tabs/tabs-item-group2.js +1 -1
- package/dist/tabs/tabs2.js +2 -2
- package/dist/tag/tag2.js +5 -5
- package/dist/textarea/textarea2.js +1 -1
- package/dist/time/time2.js +6 -6
- package/dist/toast/toast2.js +1 -1
- package/dist/toggletip/toggletip-footer2.js +1 -1
- package/dist/toggletip/toggletip-header2.js +1 -1
- package/dist/toggletip/toggletip2.js +1 -1
- package/dist/toolbar/toolbar2.js +1 -1
- package/dist/tooltip/tooltip2.js +1 -1
- package/dist/tree/tree-node2.js +1 -1
- package/dist/tree/tree2.js +1 -1
- package/dist/week/week2.js +6 -6
- package/dist/workspace/controllers/workspace-command.controller.d.ts +34 -0
- package/dist/workspace/controllers/workspace-command.controller.js +87 -0
- package/dist/workspace/controllers/workspace-command.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-composition.controller.d.ts +54 -0
- package/dist/workspace/controllers/workspace-composition.controller.js +169 -0
- package/dist/workspace/controllers/workspace-composition.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.d.ts +25 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.js +84 -0
- package/dist/workspace/controllers/workspace-fullscreen.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-measurement.controller.d.ts +19 -0
- package/dist/workspace/controllers/workspace-measurement.controller.js +188 -0
- package/dist/workspace/controllers/workspace-measurement.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.d.ts +40 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.js +385 -0
- package/dist/workspace/controllers/workspace-rearrange.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-resize.controller.d.ts +43 -0
- package/dist/workspace/controllers/workspace-resize.controller.js +168 -0
- package/dist/workspace/controllers/workspace-resize.controller.js.map +1 -0
- package/dist/workspace/controllers/workspace-restoration.controller.d.ts +24 -0
- package/dist/workspace/controllers/workspace-restoration.controller.js +193 -0
- package/dist/workspace/controllers/workspace-restoration.controller.js.map +1 -0
- package/dist/workspace/define.d.ts +10 -0
- package/dist/workspace/define.js +9 -0
- package/dist/workspace/define.js.map +1 -0
- package/dist/workspace/index.d.ts +11 -0
- package/dist/workspace/index.js +6 -0
- package/dist/workspace/panel/panel.d.ts +48 -0
- package/dist/workspace/panel/panel.js +5 -0
- package/dist/workspace/panel/panel.js.map +1 -0
- package/dist/workspace/panel/panel2.js +53 -0
- package/dist/workspace/panel/panel2.js.map +1 -0
- package/dist/workspace/panel-content/panel-content.d.ts +20 -0
- package/dist/workspace/panel-content/panel-content.js +5 -0
- package/dist/workspace/panel-content/panel-content.js.map +1 -0
- package/dist/workspace/panel-content/panel-content2.js +22 -0
- package/dist/workspace/panel-content/panel-content2.js.map +1 -0
- package/dist/workspace/panel-footer/panel-footer.d.ts +24 -0
- package/dist/workspace/panel-footer/panel-footer.js +5 -0
- package/dist/workspace/panel-footer/panel-footer.js.map +1 -0
- package/dist/workspace/panel-footer/panel-footer2.js +28 -0
- package/dist/workspace/panel-footer/panel-footer2.js.map +1 -0
- package/dist/workspace/panel-header/panel-header.d.ts +61 -0
- package/dist/workspace/panel-header/panel-header.js +5 -0
- package/dist/workspace/panel-header/panel-header.js.map +1 -0
- package/dist/workspace/panel-header/panel-header2.js +102 -0
- package/dist/workspace/panel-header/panel-header2.js.map +1 -0
- package/dist/workspace/utils/evaluation.utils.d.ts +83 -0
- package/dist/workspace/utils/evaluation.utils.js +294 -0
- package/dist/workspace/utils/evaluation.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/allocation.utils.d.ts +40 -0
- package/dist/workspace/utils/geometry/allocation.utils.js +73 -0
- package/dist/workspace/utils/geometry/allocation.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/partition.utils.d.ts +10 -0
- package/dist/workspace/utils/geometry/partition.utils.js +40 -0
- package/dist/workspace/utils/geometry/partition.utils.js.map +1 -0
- package/dist/workspace/utils/geometry/sizing.utils.d.ts +35 -0
- package/dist/workspace/utils/geometry/sizing.utils.js +42 -0
- package/dist/workspace/utils/geometry/sizing.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/boundary.utils.d.ts +40 -0
- package/dist/workspace/utils/interaction/boundary.utils.js +91 -0
- package/dist/workspace/utils/interaction/boundary.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/command.utils.d.ts +74 -0
- package/dist/workspace/utils/interaction/command.utils.js +189 -0
- package/dist/workspace/utils/interaction/command.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.d.ts +79 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.js +16 -0
- package/dist/workspace/utils/interaction/drag-preview.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.d.ts +58 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.js +259 -0
- package/dist/workspace/utils/interaction/insertion-offers.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.d.ts +55 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.js +242 -0
- package/dist/workspace/utils/interaction/placement-decision.utils.js.map +1 -0
- package/dist/workspace/utils/interaction/resize-input.utils.d.ts +1 -0
- package/dist/workspace/utils/interaction/resize-input.utils.js +17 -0
- package/dist/workspace/utils/interaction/resize-input.utils.js.map +1 -0
- package/dist/workspace/utils/model/layout.utils.d.ts +22 -0
- package/dist/workspace/utils/model/layout.utils.js +41 -0
- package/dist/workspace/utils/model/layout.utils.js.map +1 -0
- package/dist/workspace/utils/model/membership.utils.d.ts +14 -0
- package/dist/workspace/utils/model/membership.utils.js +17 -0
- package/dist/workspace/utils/model/membership.utils.js.map +1 -0
- package/dist/workspace/utils/model/operations.utils.d.ts +31 -0
- package/dist/workspace/utils/model/operations.utils.js +178 -0
- package/dist/workspace/utils/model/operations.utils.js.map +1 -0
- package/dist/workspace/utils/model/projection.utils.d.ts +7 -0
- package/dist/workspace/utils/model/projection.utils.js +87 -0
- package/dist/workspace/utils/model/projection.utils.js.map +1 -0
- package/dist/workspace/utils/model/value.utils.d.ts +5 -0
- package/dist/workspace/utils/model/value.utils.js +68 -0
- package/dist/workspace/utils/model/value.utils.js.map +1 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.d.ts +32 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.js +152 -0
- package/dist/workspace/utils/placement/acquisition-sizing.utils.js.map +1 -0
- package/dist/workspace/utils/placement/context.utils.d.ts +36 -0
- package/dist/workspace/utils/placement/context.utils.js +135 -0
- package/dist/workspace/utils/placement/context.utils.js.map +1 -0
- package/dist/workspace/utils/placement/group-insertion.utils.d.ts +26 -0
- package/dist/workspace/utils/placement/group-insertion.utils.js +171 -0
- package/dist/workspace/utils/placement/group-insertion.utils.js.map +1 -0
- package/dist/workspace/utils/placement/origin.utils.d.ts +13 -0
- package/dist/workspace/utils/placement/origin.utils.js +49 -0
- package/dist/workspace/utils/placement/origin.utils.js.map +1 -0
- package/dist/workspace/utils/placement/planner.utils.d.ts +22 -0
- package/dist/workspace/utils/placement/planner.utils.js +184 -0
- package/dist/workspace/utils/placement/planner.utils.js.map +1 -0
- package/dist/workspace/utils/placement/preparation.utils.d.ts +28 -0
- package/dist/workspace/utils/placement/preparation.utils.js +140 -0
- package/dist/workspace/utils/placement/preparation.utils.js.map +1 -0
- package/dist/workspace/utils/placement/region.utils.d.ts +15 -0
- package/dist/workspace/utils/placement/region.utils.js +111 -0
- package/dist/workspace/utils/placement/region.utils.js.map +1 -0
- package/dist/workspace/utils/placement/split-sizing.utils.d.ts +18 -0
- package/dist/workspace/utils/placement/split-sizing.utils.js +108 -0
- package/dist/workspace/utils/placement/split-sizing.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/composition.utils.d.ts +17 -0
- package/dist/workspace/utils/presentation/composition.utils.js +95 -0
- package/dist/workspace/utils/presentation/composition.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/groups.utils.d.ts +91 -0
- package/dist/workspace/utils/presentation/groups.utils.js +169 -0
- package/dist/workspace/utils/presentation/groups.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.d.ts +11 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.js +7 -0
- package/dist/workspace/utils/presentation/header-configuration.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/measurements.utils.d.ts +21 -0
- package/dist/workspace/utils/presentation/measurements.utils.js +28 -0
- package/dist/workspace/utils/presentation/measurements.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/offers.utils.d.ts +43 -0
- package/dist/workspace/utils/presentation/offers.utils.js +137 -0
- package/dist/workspace/utils/presentation/offers.utils.js.map +1 -0
- package/dist/workspace/utils/presentation/preview.utils.d.ts +6 -0
- package/dist/workspace/utils/presentation/preview.utils.js +36 -0
- package/dist/workspace/utils/presentation/preview.utils.js.map +1 -0
- package/dist/workspace/workspace.d.ts +103 -0
- package/dist/workspace/workspace.examples.js +5 -0
- package/dist/workspace/workspace.examples.js.map +1 -0
- package/dist/workspace/workspace.examples.json +133 -0
- package/dist/workspace/workspace.js +5 -0
- package/dist/workspace/workspace.js.map +1 -0
- package/dist/workspace/workspace.types.d.ts +3 -0
- package/dist/workspace/workspace2.js +518 -0
- package/dist/workspace/workspace2.js.map +1 -0
- package/package.json +27 -3
- package/dist/internal/utils/supports.d.ts +0 -3
- package/dist/internal/utils/supports.js +0 -13
- package/dist/internal/utils/supports.js.map +0 -1
package/dist/bundles/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},n=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},r=/* @__PURE__ */ n({getDuplicatePackageGlobalVersionWarning:()=>a,getDuplicatePackageVersionWarning:()=>i});function i(e,t){return`@nve: ${e} version ${t} already defined, check for duplicate package versions. ${s}#duplicate-package-version`}function a(){return`@nve: Multiple versions loaded. ${s}#duplicate-package-version`}var o,s,c=t((()=>{o=``,o=`https://nvidia.github.io/elements/`,s=`${o}docs/api-design/logs/`}));function l(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function u(e,...t){if(!t.length)return e;let n=t.shift();if(l(e)&&l(n))for(let t in n)t!==`__proto__`&&
|
|
1
|
+
var e=Object.defineProperty,t=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},n=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},r=/* @__PURE__ */ n({getDuplicatePackageGlobalVersionWarning:()=>a,getDuplicatePackageVersionWarning:()=>i});function i(e,t){return`@nve: ${e} version ${t} already defined, check for duplicate package versions. ${s}#duplicate-package-version`}function a(){return`@nve: Multiple versions loaded. ${s}#duplicate-package-version`}var o,s,c=t((()=>{o=``,o=`https://nvidia.github.io/elements/`,s=`${o}docs/api-design/logs/`}));function l(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function u(e,...t){if(!t.length)return e;let n=t.shift();if(l(e)&&l(n))for(let t in n)t!==`__proto__`&&d(e,n,t);return u(e,...t)}function d(e,t,n){let r=t[n];l(r)&&l(e[n])?u(e[n],r):e[n]=r}
|
|
2
2
|
/* istanbul ignore next -- @preserve */
|
|
3
|
-
function
|
|
4
|
-
\f\r]`,We=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ge=/-->/g,Ke=/>/g,qe=RegExp(`>|${Ue}(?:([^\\s"'>=/]+)(${Ue}*=${Ue}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),Je=/'/g,Ye=/"/g,Xe=/^(?:script|style|textarea|title)$/i,Ze=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),p=Ze(1),Qe=Ze(2),$e=Symbol.for(`lit-noChange`),m=Symbol.for(`lit-nothing`),et=/* @__PURE__ */ new WeakMap,tt=Re.createTreeWalker(Re,129);function nt(e,t){if(!Ve(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return Ne===void 0?t:Ne.createHTML(t)}var rt=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=We;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===We?c[1]===`!--`?o=Ge:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=qe):(Xe.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=qe):o=Ke:o===qe?c[0]===`>`?(o=i??We,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?qe:c[3]===`"`?Ye:Je):o===Ye||o===Je?o=qe:o===Ge||o===Ke?o=We:(o=qe,i=void 0);let ee=o===qe&&e[t+1].startsWith(`/>`)?` `:``;a+=o===We?n+Le:l>=0?(r.push(s),n.slice(0,l)+Pe+n.slice(l)+Fe+ee):n+Fe+(l===-2?t:ee)}return[nt(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},it=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=rt(t,n);if(this.el=e.createElement(l,r),tt.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=tt.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(Pe)){let t=u[o++],n=i.getAttribute(e).split(Fe),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?lt:r[1]===`?`?ut:r[1]===`@`?dt:ct}),i.removeAttribute(e)}else e.startsWith(Fe)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(Xe.test(i.tagName)){let e=i.textContent.split(Fe),t=e.length-1;if(t>0){i.textContent=Me?Me.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],ze()),tt.nextNode(),c.push({type:2,index:++a});i.append(e[t],ze())}}}else if(i.nodeType===8){if(i.data===Ie)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(Fe,e+1))!==-1;)c.push({type:7,index:a}),e+=Fe.length-1}}a++}}static createElement(e,t){let n=Re.createElement(`template`);return n.innerHTML=e,n}};function at(e,t,n=e,r){if(t===$e)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=Be(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n._$Cl=i:(n._$Co??=[])[r]=i),i!==void 0&&(t=at(e,i._$AS(e,t.values),i,r)),t}var ot=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??Re).importNode(t,!0);tt.currentNode=r;let i=tt.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new st(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new ft(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=tt.nextNode(),a++)}return tt.currentNode=Re,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},st=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=m,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=at(this,e,t),Be(e)?e===m||e==null||e===``?(this._$AH!==m&&this._$AR(),this._$AH=m):e!==this._$AH&&e!==$e&&this._(e):e._$litType$===void 0?e.nodeType===void 0?He(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==m&&Be(this._$AH)?this._$AA.nextSibling.data=e:this.T(Re.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=it.createElement(nt(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new ot(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=et.get(e.strings);return t===void 0&&et.set(e.strings,t=new it(e)),t}k(t){Ve(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(ze()),this.O(ze()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){let t=je(e).nextSibling;je(e).remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=m,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(/* @__PURE__ */ new String),this.strings=n):this._$AH=m}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=at(this,e,t,0),a=!Be(e)||e!==this._$AH&&e!==$e,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=at(this,r[n+o],t,o),s===$e&&(s=this._$AH[o]),a||=!Be(s)||s!==this._$AH[o],s===m?e=m:e!==m&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===m?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},lt=class extends ct{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===m?void 0:e}},ut=class extends ct{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==m)}},dt=class extends ct{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=at(this,e,t,0)??m)===$e)return;let n=this._$AH,r=e===m&&n!==m||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==m&&(n===m||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ft=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){at(this,e)}},pt=Ae.litHtmlPolyfillSupport;pt?.(it,st),(Ae.litHtmlVersions??=[]).push(`3.3.3`);var mt=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new st(t.insertBefore(ze(),e),e,void 0,n??{})}return i._$AI(e),i},ht=globalThis,h=class extends ke{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=mt(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return $e}};h._$litElement$=!0,h.finalized=!0,ht.litElementHydrateSupport?.({LitElement:h});var gt=ht.litElementPolyfillSupport;gt?.({LitElement:h}),(ht.litElementVersions??=[]).push(`4.2.2`);var _t={attribute:!0,type:String,converter:Ee,reflect:!1,hasChanged:De},vt=(e=_t,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=/* @__PURE__ */ new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function g(e){return(t,n)=>typeof n==`object`?vt(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}var yt=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function _(e){return(t,n)=>{let{slot:r,selector:i}=e??{},a=`slot`+(r?`[name=${r}]`:`:not([name])`);return yt(t,n,{get(){let t=(this.renderRoot?.querySelector(a))?.assignedElements(e)??[];return i===void 0?t:t.filter(e=>e.matches(i))}})}}var bt=`@nve: `,xt=class{static log(e,...t){d.state.env!==`production`&&console.log(`${bt}${e}`,...t)}static warn(e,...t){d.state.env!==`production`&&(console.warn(`${bt}${e}`,...t),this.#e(`warn`,e,...t))}static error(e,...t){d.state.env!==`production`&&(console.error(`${bt}${e}`,...t),this.#e(`error`,e,...t))}static#e(e,t,...n){globalThis.document?.dispatchEvent(new CustomEvent(`NVE_ELEMENTS_LOG`,{detail:{type:e,value:t,args:n}}))}};function St(e){let t=e.constructor.metadata?.parents??[];return t.length?[!!t.find(t=>e.parentElement?.localName===t),t]:[!0,[]]}function Ct(e){let t=/* @__PURE__ */ new Map([[1024**4,`TB`],[1024**3,`GB`],[1024**2,`MB`],[1024,`KB`],[1,`B`]]);for(let[n,r]of t.entries())if(e>=n)return`${(e/n).toFixed(2)} ${r}`;return`0`}var wt=`docs/api-design/logs/`;function Tt(e,t){return`Excessive rendering of ${e} ${t} were detected in DOM. Recycle/reuse elements when possible to improve application performance. ${wt}#excessive-instance-limit`}function Et(e){return`Detected ${e} nve-page elements. Use one nve-page as the application shell. ${wt}#page-shell-count`}function Dt(e,t){return`Element ${e} can only be used as a direct child of ${t}. ${wt}#invalid-parent`}function Ot(e){return`Provided id "${e}" not found in DOM. ${wt}#id-match-not-found`}function kt(e){return`${e} rendered on the client with mismatched SSR content. ${wt}#ssr-mismatch`}function v(e={}){return t=>t.addInitializer(t=>new At(t,e))}var At=class{#e=!1;get#t(){return d.state.audit[this.host.localName]??{count:0}}get#n(){return d.state.env===`production`}get#r(){return this.host.constructor.metadata}constructor(e,t){this.host=e,this.options=t,this.#n||(this.host.addController(this),this.#i())}async hostConnected(){this.#n||this.#a(),await this.host.updateComplete,!this.#n&&this.host.isConnected&&this.#c()}hostDisconnected(){this.#o()}#i(){d.state.audit[this.host.localName]||this.#s({[this.host.localName]:{count:0}})}#a(){let e=this.options.excessiveInstanceLimit;if(e===void 0||this.#e)return;this.#e=!0;let t=(this.#t.count??0)+1,n=this.#t.excessiveInstanceLimitAudited??!1,r=t>e&&!n;this.#s({[this.host.localName]:{count:t,excessiveInstanceLimitAudited:n||r}}),r&&this.#e&&xt.warn(this.host.localName===`nve-page`?Et(t):Tt(t,this.host.localName))}#o(){let e=this.options.excessiveInstanceLimit;if(e===void 0||!this.#e)return;this.#e=!1;let t=Math.max(0,(this.#t.count??0)-1);this.#s({[this.host.localName]:{count:t,excessiveInstanceLimitAudited:t>e&&this.#t.excessiveInstanceLimitAudited}})}#s(e){d.dispatch(`NVE_ELEMENTS_AUDIT_UPDATE`,{audit:e})}#c(){if(this.#r.parents){let[e,t]=St(this.host);e||xt.warn(Dt(this.host.localName,t.join(`, `)))}}},jt=[`contextmenu`,`dragstart`,`lostpointercapture`,`pointercancel`,`pointerdown`,`pointermove`,`pointerup`,`selectstart`,`wheel`],Mt=.002,Nt=10,Pt=16,Ft=class{#e;constructor(e){this.claim=e=>{let t=this.#e;return t?(this.#e=void 0,t(e),!0):!1},this.#e=e}close(){this.#e=void 0}},It=class{#e;#t;#n=/* @__PURE__ */ new Map;#r=!1;#i;#a;#o;#s;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}getWheelZoomFactor(e){let t=e.event.ctrlKey?Nt:1;return 2**(-e.deltaY*Mt*t)}set target(e){e!==this.#a&&(this.#l(),this.#L(),this.#a=e,this.#c())}hostConnected(){this.#r=!0,this.#c()}hostDisconnected(){this.#l(),this.#L(),this.#r=!1}hostUpdated(){this.#j()}#c(){let e=this.#a;if(!this.#r||!e)return;let t=this.#t.claimPriority!==`descendant-first`;for(let n of jt)e.addEventListener(n,this.#f,t);this.#u()&&e.addEventListener(`pointerdown`,this.#d,!0),this.#k(e)}#l(){let e=this.#a;if(!this.#r||!e)return;let t=this.#t.claimPriority!==`descendant-first`;for(let n of jt)e.removeEventListener(n,this.#f,t);this.#u()&&e.removeEventListener(`pointerdown`,this.#d,!0),this.#A()}#u(){return this.#t.claimPriority===`descendant-first`&&this.#t.shouldReservePointerDown!==void 0}#d=e=>{let t=this.#a;!t||e.currentTarget!==t||e.defaultPrevented||this.#t.shouldIgnoreEvent?.(e)||this.#t.shouldReservePointerDown?.(e)&&e.preventDefault()};#f=e=>{let t=this.#a;t&&e.currentTarget===t&&(e.type===`contextmenu`&&e instanceof MouseEvent?this.#m(e):e.type===`selectstart`?this.#h(e):e instanceof WheelEvent?this.#_(e):e instanceof PointerEvent?this.#g(e):this.#p(e))};#p(e){e.type!==`dragstart`||this.#t.shouldIgnoreEvent?.(e)||this.#t.suppressNativeDrag&&e.preventDefault()}#m(e){this.#t.shouldIgnoreEvent?.(e)||this.#t.shouldPreventContextMenu?.(e)&&e.preventDefault()}#h(e){this.#n.size>0&&e.preventDefault()}#g(e){let t=Bt(e);t===void 0?e.type===`pointerdown`?this.#t.shouldIgnoreEvent?.(e)||this.#v(e):e.type===`pointermove`&&this.#n.has(e.pointerId)&&this.#y(e):this.#n.has(e.pointerId)&&this.#S(e,t)}#_(e){let t=this.#a;if(!t||this.#t.shouldIgnoreEvent?.(e))return;let n=e.deltaMode===WheelEvent.DOM_DELTA_PAGE?t.getBoundingClientRect():void 0,r=Ht(e.deltaX,e.deltaMode,n?.width),i=Ht(e.deltaY,e.deltaMode,n?.height),a=new Ft(()=>{e.preventDefault(),e.stopPropagation()});try{this.#I({claim:a.claim,clientX:e.clientX,clientY:e.clientY,deltaX:r,deltaY:i,event:e,kind:`wheel`})}finally{a.close()}}#v(e){let t=new Ft(t=>{this.#n.set(e.pointerId,{clientX:e.clientX,clientY:e.clientY,gestureKind:t?.kind,movementX:0,movementY:0,pinchCandidate:t?.pinchCandidate??!1,pointerType:e.pointerType,startClientX:e.clientX,startClientY:e.clientY});let n=this.#a;n&&this.#N(n),e.stopPropagation(),this.#O(e.pointerId)});try{this.#I({claim:t.claim,event:e,kind:`pointerdown`})}finally{t.close()}this.#T()}#y(e){let t=this.#b(e);t&&(e.stopPropagation(),t.movementX===0&&t.movementY===0||this.#n.size>=2&&this.#C(e)||t.gestureKind!==void 0&&(e.preventDefault(),this.#x(e,t,t.gestureKind)))}#b(e){let t=this.#n.get(e.pointerId);if(t)return t.movementX=Lt(e.clientX,t.clientX),t.movementY=Lt(e.clientY,t.clientY),t.clientX=e.clientX,t.clientY=e.clientY,t}#x(e,t,n){this.#F({clientX:t.clientX,clientY:t.clientY,event:e,kind:n,movementX:t.movementX,movementY:t.movementY,startClientX:t.startClientX,startClientY:t.startClientY,totalDisplacementX:Lt(t.clientX,t.startClientX),totalDisplacementY:Lt(t.clientY,t.startClientY)})}#S(e,t){let n=this.#n.get(e.pointerId);if(!n)return;let r=Vt(t,e),i=r?n.clientX:e.clientX,a=r?n.clientY:e.clientY;e.stopPropagation(),this.#I({clientX:i,clientY:a,event:e,interrupted:r,kind:`pointerend`,movementX:Lt(i,n.clientX),movementY:Lt(a,n.clientY),startClientX:n.startClientX,startClientY:n.startClientY,totalDisplacementX:Lt(i,n.startClientX),totalDisplacementY:Lt(a,n.startClientY),reason:t}),this.#n.delete(e.pointerId),this.#n.size===0&&this.#P(),this.#D()<2&&(this.#i=void 0)}#C(e){this.#T(),this.#E();let t=this.#i,n=this.#n.get(e.pointerId);if(!t||!n?.pinchCandidate)return!1;let r=e.pointerId===t.firstPointerId||e.pointerId===t.secondPointerId;return t.status===`pending`?!0:t.status===`declined`?!r:!r||this.#w(e,t)}#w(e,t){let n=this.#n.get(t.firstPointerId),r=this.#n.get(t.secondPointerId);if(!n||!r)return!0;let i=zt(n,r);if(i<=0)return!0;let a=Rt(n.clientX,r.clientX),o=Rt(n.clientY,r.clientY);return e.preventDefault(),this.#F({centerClientX:a,centerClientY:o,context:t.context,event:e,firstPointerId:t.firstPointerId,firstPointerType:t.firstPointerType,firstStartClientX:t.firstStartClientX,firstStartClientY:t.firstStartClientY,kind:`pinch`,scale:i/t.distance,secondPointerId:t.secondPointerId,secondPointerType:t.secondPointerType,secondStartClientX:t.secondStartClientX,secondStartClientY:t.secondStartClientY,startCenterClientX:t.startCenterClientX,startCenterClientY:t.startCenterClientY}),!0}#T(){let e=this.#t.beginPinch;if(this.#i||this.#n.size<2||!e)return;let t,n;for(let e of this.#n.keys())if(this.#n.get(e)?.pinchCandidate){if(t===void 0)t=e;else{n=e;break}}t!==void 0&&n!==void 0&&(this.#i={firstPointerId:t,secondPointerId:n,status:`pending`},this.#E())}#E(){let e=this.#i,t=this.#t.beginPinch;if(e?.status!==`pending`||!t)return;let n=this.#n.get(e.firstPointerId),r=this.#n.get(e.secondPointerId);if(!n||!r)return;let i=zt(n,r);if(i<=0)return;let a={firstPointerId:e.firstPointerId,firstPointerType:n.pointerType,firstStartClientX:n.startClientX,firstStartClientY:n.startClientY,secondPointerId:e.secondPointerId,secondPointerType:r.pointerType,secondStartClientX:r.startClientX,secondStartClientY:r.startClientY,startCenterClientX:Rt(n.clientX,r.clientX),startCenterClientY:Rt(n.clientY,r.clientY)},o=t(a);this.#i=o?{context:o.context,distance:i,status:`active`,...a}:{firstPointerId:e.firstPointerId,secondPointerId:e.secondPointerId,status:`declined`}}#D(){let e=0;for(let t of this.#n.values())t.pinchCandidate&&(e+=1);return e}#O(e){try{this.#a?.setPointerCapture?.(e)}catch{}}#k(e){let t=this.#M();t!==void 0&&(this.#o={applied:t,priority:e.style.getPropertyPriority(`touch-action`),target:e,value:e.style.getPropertyValue(`touch-action`)},e.style.setProperty(`touch-action`,t))}#A(){let e=this.#o;this.#o=void 0,e&&e.target.style.getPropertyValue(`touch-action`)===e.applied&&(e.value?e.target.style.setProperty(`touch-action`,e.value,e.priority):e.target.style.removeProperty(`touch-action`))}#j(){let e=this.#a;if(!this.#r||!e)return;let t=this.#M();t!==this.#o?.applied&&(this.#A(),t!==void 0&&this.#k(e))}#M(){let e=this.#t.touchAction;return typeof e==`function`?e():e}#N(e){if(this.#s)return;let t=`none`;this.#s={applied:t,appliedPriority:``,priority:e.style.getPropertyPriority(`user-select`),target:e,value:e.style.getPropertyValue(`user-select`)},e.style.setProperty(`user-select`,t,``)}#P(){let e=this.#s;this.#s=void 0,e&&e.target.style.getPropertyValue(`user-select`)===e.applied&&e.target.style.getPropertyPriority(`user-select`)===e.appliedPriority&&(e.value?e.target.style.setProperty(`user-select`,e.value,e.priority):e.target.style.removeProperty(`user-select`))}#F(e){this.#e.dispatchEvent(new CustomEvent(`nve-gesture`,{bubbles:!1,cancelable:!1,composed:!1,detail:e}))}#I(e){this.#e.dispatchEvent(new CustomEvent(`nve-gesture-input`,{bubbles:!1,cancelable:!1,composed:!1,detail:e}))}#L(){this.#n.clear(),this.#i=void 0,this.#P()}};function Lt(e,t){return e-t}function Rt(e,t){return(e+t)/2}function zt(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function Bt(e){if(e.type===`pointerup`)return`up`;if(e.type===`pointercancel`)return`cancel`;if(e.type===`lostpointercapture`)return`lost-capture`;if(e.type===`pointermove`&&e.buttons===0)return`buttons-released`}function Vt(e,t){return e===`cancel`||e===`lost-capture`&&t.buttons!==0}function Ht(e,t,n=1){return t===WheelEvent.DOM_DELTA_LINE?e*Pt:t===WheelEvent.DOM_DELTA_PAGE?e*n:e}function Ut(e,t,n={}){let r=new MutationObserver(e=>{for(let r of e)r.type===`childList`&&t(r),n.attributes&&r.type===`attributes`&&t(r)});return r.observe(e,{childList:!0,...n}),r}function Wt(e,t,{trailing:n=!1}={}){let r,i,a=(...o)=>{r===void 0?(e(...o),r=setTimeout(()=>{if(r=void 0,i){let e=i;i=void 0,a(...e)}},t)):n&&(i=o)};return Object.assign(a,{flush(){if(!i)return;let t=i;i=void 0,e(...t)},cancel(){clearTimeout(r),r=void 0,i=void 0}})}function Gt(e,t=0){let n;return(...r)=>{
|
|
3
|
+
function f(){return globalThis.process?.env?.NODE_ENV!==`production`&&(globalThis.location?.hostname===`localhost`||globalThis.location?.href?.includes(`elements-playground`))?`development`:`production`}function p(){return{pageHost:globalThis.location?.hostname,moduleHost:new URL(import.meta.url).hostname}}c();function m(){return globalThis.CustomElementRegistry&&`initialize`in CustomElementRegistry.prototype?new CustomElementRegistry:globalThis.customElements}var h=new class{constructor(){globalThis.NVE_ELEMENTS??={debug:(e=console.log)=>e(`%cElements\n%c${JSON.stringify(globalThis.NVE_ELEMENTS.state,null,2)}`,`color: #69b027`,`color: inherit`),state:{bundle:!1,env:f(),...p(),versions:[],scopedRegistry:{},elementRegistry:{},i18nRegistry:{},audit:{}}},globalThis.NVE_ELEMENTS.state.elementRegistry??={},globalThis.NVE_ELEMENTS.state.i18nRegistry??={},globalThis.NVE_ELEMENTS.state.versions=Array.from(/* @__PURE__ */ new Set([...globalThis.NVE_ELEMENTS.state.versions,`0.0.0`])),globalThis.NVE_ELEMENTS.state.scopedRegistry??={},globalThis.NVE_ELEMENTS.state.scopedRegistry[`0.0.0`]??=m(),globalThis.NVE_ELEMENTS.state.versions.length>1&&globalThis.NVE_ELEMENTS.state.env!==`production`&&console.warn(a(),`\n\n${JSON.stringify(globalThis.NVE_ELEMENTS.state.versions,null,2)}`)}get state(){return globalThis.NVE_ELEMENTS.state}getScopedRegistry(e){return this.state.scopedRegistry??={},this.state.scopedRegistry[e]??=m()}merge(e){globalThis.NVE_ELEMENTS.state=u(globalThis.NVE_ELEMENTS.state,e)}dispatch(e,t){this.merge(t),globalThis?.document?.dispatchEvent(new CustomEvent(e,{detail:globalThis.NVE_ELEMENTS.state}))}},ee=globalThis.CustomElementRegistry&&`initialize`in CustomElementRegistry.prototype;function te(e,t){Object.entries(e.elementDefinitions??{}).filter(([e,n])=>!t.get(n.metadata.tag)).forEach(([e,n])=>{te(n,t)}),t.get(e.metadata.tag)||(t.define(e.metadata.tag,e),t===customElements&&ne(e.metadata.tag,e.metadata.version))}function g(e){let{version:t}=e.metadata;ee&&!customElements.get(e.metadata.tag)?(customElements.define(e.metadata.tag,e),ne(e.metadata.tag,e.metadata.version)):ee||te(e,customElements),h.state.elementRegistry[e.metadata.tag]!==t&&globalThis?.location?.hostname===`localhost`&&Promise.resolve().then(()=>(c(),r)).then(n=>console.warn(n.getDuplicatePackageVersionWarning(e.metadata.tag,t)))}function ne(e,t){h.dispatch(`NVE_ELEMENT_DEFINE`,{elementRegistry:{[e]:t}})}var re=globalThis,ie=re.ShadowRoot&&(re.ShadyCSS===void 0||re.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,ae=Symbol(),oe=/* @__PURE__ */ new WeakMap,se=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==ae)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(ie&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=oe.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&oe.set(t,e))}return e}toString(){return this.cssText}},ce=e=>new se(typeof e==`string`?e:e+``,void 0,ae),le=(e,t)=>{if(ie)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=re.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},ue=ie?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return ce(t)})(e):e,{is:de,defineProperty:fe,getOwnPropertyDescriptor:pe,getOwnPropertyNames:me,getOwnPropertySymbols:he,getPrototypeOf:ge}=Object,_e=globalThis,ve=_e.trustedTypes,ye=ve?ve.emptyScript:``,be=_e.reactiveElementPolyfillSupport,xe=(e,t)=>e,Se={toAttribute(e,t){switch(t){case Boolean:e=e?ye:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},Ce=(e,t)=>!de(e,t),we={attribute:!0,type:String,converter:Se,reflect:!1,useDefault:!1,hasChanged:Ce};Symbol.metadata??=Symbol(`metadata`),_e.litPropertyMetadata??=/* @__PURE__ */ new WeakMap;var Te=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=we){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&fe(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=pe(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??we}static _$Ei(){if(this.hasOwnProperty(xe(`elementProperties`)))return;let e=ge(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(xe(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xe(`properties`))){let e=this.properties,t=[...me(e),...he(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=/* @__PURE__ */ new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(ue(e))}else e!==void 0&&t.push(ue(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=/* @__PURE__ */ new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=/* @__PURE__ */ new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=/* @__PURE__ */ new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return le(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?Se:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?Se:e.converter;this._$Em=r;let a=i.fromAttribute(t,e.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){let a=this.constructor;if(!1===r&&(i=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Ce)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=/* @__PURE__ */ new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=/* @__PURE__ */ new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=/* @__PURE__ */ new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};Te.elementStyles=[],Te.shadowRootOptions={mode:`open`},Te[xe(`elementProperties`)]=/* @__PURE__ */ new Map,Te[xe(`finalized`)]=/* @__PURE__ */ new Map,be?.({ReactiveElement:Te}),(_e.reactiveElementVersions??=[]).push(`2.1.2`);var Ee=globalThis,De=e=>e,Oe=Ee.trustedTypes,ke=Oe?Oe.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,Ae=`$lit$`,je=`lit$${Math.random().toFixed(9).slice(2)}$`,Me=`?`+je,Ne=`<${Me}>`,Pe=document,Fe=()=>Pe.createComment(``),Ie=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Le=Array.isArray,Re=e=>Le(e)||typeof e?.[Symbol.iterator]==`function`,ze=`[
|
|
4
|
+
\f\r]`,Be=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ve=/-->/g,He=/>/g,Ue=RegExp(`>|${ze}(?:([^\\s"'>=/]+)(${ze}*=${ze}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),We=/'/g,Ge=/"/g,Ke=/^(?:script|style|textarea|title)$/i,qe=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),_=qe(1),Je=qe(2),Ye=Symbol.for(`lit-noChange`),v=Symbol.for(`lit-nothing`),Xe=/* @__PURE__ */ new WeakMap,Ze=Pe.createTreeWalker(Pe,129);function Qe(e,t){if(!Le(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return ke===void 0?t:ke.createHTML(t)}var $e=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=Be;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===Be?c[1]===`!--`?o=Ve:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=Ue):(Ke.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=Ue):o=He:o===Ue?c[0]===`>`?(o=i??Be,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?Ue:c[3]===`"`?Ge:We):o===Ge||o===We?o=Ue:o===Ve||o===He?o=Be:(o=Ue,i=void 0);let d=o===Ue&&e[t+1].startsWith(`/>`)?` `:``;a+=o===Be?n+Ne:l>=0?(r.push(s),n.slice(0,l)+Ae+n.slice(l)+je+d):n+je+(l===-2?t:d)}return[Qe(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},et=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=$e(t,n);if(this.el=e.createElement(l,r),Ze.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=Ze.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(Ae)){let t=u[o++],n=i.getAttribute(e).split(je),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?at:r[1]===`?`?ot:r[1]===`@`?st:it}),i.removeAttribute(e)}else e.startsWith(je)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(Ke.test(i.tagName)){let e=i.textContent.split(je),t=e.length-1;if(t>0){i.textContent=Oe?Oe.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],Fe()),Ze.nextNode(),c.push({type:2,index:++a});i.append(e[t],Fe())}}}else if(i.nodeType===8){if(i.data===Me)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(je,e+1))!==-1;)c.push({type:7,index:a}),e+=je.length-1}}a++}}static createElement(e,t){let n=Pe.createElement(`template`);return n.innerHTML=e,n}};function tt(e,t,n=e,r){if(t===Ye)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=Ie(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n._$Cl=i:(n._$Co??=[])[r]=i),i!==void 0&&(t=tt(e,i._$AS(e,t.values),i,r)),t}var nt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??Pe).importNode(t,!0);Ze.currentNode=r;let i=Ze.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new rt(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new ct(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=Ze.nextNode(),a++)}return Ze.currentNode=Pe,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},rt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=v,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=tt(this,e,t),Ie(e)?e===v||e==null||e===``?(this._$AH!==v&&this._$AR(),this._$AH=v):e!==this._$AH&&e!==Ye&&this._(e):e._$litType$===void 0?e.nodeType===void 0?Re(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==v&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.T(Pe.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=et.createElement(Qe(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new nt(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=Xe.get(e.strings);return t===void 0&&Xe.set(e.strings,t=new et(e)),t}k(t){Le(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(Fe()),this.O(Fe()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){let t=De(e).nextSibling;De(e).remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},it=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=v,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(/* @__PURE__ */ new String),this.strings=n):this._$AH=v}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=tt(this,e,t,0),a=!Ie(e)||e!==this._$AH&&e!==Ye,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=tt(this,r[n+o],t,o),s===Ye&&(s=this._$AH[o]),a||=!Ie(s)||s!==this._$AH[o],s===v?e=v:e!==v&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===v?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},at=class extends it{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===v?void 0:e}},ot=class extends it{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==v)}},st=class extends it{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=tt(this,e,t,0)??v)===Ye)return;let n=this._$AH,r=e===v&&n!==v||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==v&&(n===v||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ct=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){tt(this,e)}},lt={M:Ae,P:je,A:Me,C:1,L:$e,R:nt,D:Re,V:tt,I:rt,H:it,N:ot,U:st,B:at,F:ct},ut=Ee.litHtmlPolyfillSupport;ut?.(et,rt),(Ee.litHtmlVersions??=[]).push(`3.3.3`);var dt=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new rt(t.insertBefore(Fe(),e),e,void 0,n??{})}return i._$AI(e),i},ft=globalThis,y=class extends Te{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=dt(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ye}};y._$litElement$=!0,y.finalized=!0,ft.litElementHydrateSupport?.({LitElement:y});var pt=ft.litElementPolyfillSupport;pt?.({LitElement:y}),(ft.litElementVersions??=[]).push(`4.2.2`);var mt={attribute:!0,type:String,converter:Se,reflect:!1,hasChanged:Ce},ht=(e=mt,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=/* @__PURE__ */ new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function b(e){return(t,n)=>typeof n==`object`?ht(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}var gt=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function x(e){return(t,n)=>{let{slot:r,selector:i}=e??{},a=`slot`+(r?`[name=${r}]`:`:not([name])`);return gt(t,n,{get(){let t=(this.renderRoot?.querySelector(a))?.assignedElements(e)??[];return i===void 0?t:t.filter(e=>e.matches(i))}})}}var _t=`@nve: `,vt=class{static log(e,...t){h.state.env!==`production`&&console.log(`${_t}${e}`,...t)}static warn(e,...t){h.state.env!==`production`&&(console.warn(`${_t}${e}`,...t),this.#e(`warn`,e,...t))}static error(e,...t){h.state.env!==`production`&&(console.error(`${_t}${e}`,...t),this.#e(`error`,e,...t))}static#e(e,t,...n){globalThis.document?.dispatchEvent(new CustomEvent(`NVE_ELEMENTS_LOG`,{detail:{type:e,value:t,args:n}}))}};function yt(e){let t=e.constructor.metadata?.parents??[];return t.length?[!!t.find(t=>e.parentElement?.localName===t),t]:[!0,[]]}function bt(e){let t=/* @__PURE__ */ new Map([[1024**4,`TB`],[1024**3,`GB`],[1024**2,`MB`],[1024,`KB`],[1,`B`]]);for(let[n,r]of t.entries())if(e>=n)return`${(e/n).toFixed(2)} ${r}`;return`0`}var xt=`docs/api-design/logs/`;function St(e,t){return`Excessive rendering of ${e} ${t} were detected in DOM. Recycle/reuse elements when possible to improve application performance. ${xt}#excessive-instance-limit`}function Ct(e){return`Detected ${e} nve-page elements. Use one nve-page as the application shell. ${xt}#page-shell-count`}function wt(e,t){return`Element ${e} can only be used as a direct child of ${t}. ${xt}#invalid-parent`}function Tt(e){return`Provided id "${e}" not found in DOM. ${xt}#id-match-not-found`}function Et(e){return`${e} rendered on the client with mismatched SSR content. ${xt}#ssr-mismatch`}function S(e={}){return t=>t.addInitializer(t=>new Dt(t,e))}var Dt=class{#e=!1;get#t(){return h.state.audit[this.host.localName]??{count:0}}get#n(){return h.state.env===`production`}get#r(){return this.host.constructor.metadata}constructor(e,t){this.host=e,this.options=t,this.#n||(this.host.addController(this),this.#i())}async hostConnected(){this.#n||this.#a(),await this.host.updateComplete,!this.#n&&this.host.isConnected&&this.#c()}hostDisconnected(){this.#o()}#i(){h.state.audit[this.host.localName]||this.#s({[this.host.localName]:{count:0}})}#a(){let e=this.options.excessiveInstanceLimit;if(e===void 0||this.#e)return;this.#e=!0;let t=(this.#t.count??0)+1,n=this.#t.excessiveInstanceLimitAudited??!1,r=t>e&&!n;this.#s({[this.host.localName]:{count:t,excessiveInstanceLimitAudited:n||r}}),r&&this.#e&&vt.warn(this.host.localName===`nve-page`?Ct(t):St(t,this.host.localName))}#o(){let e=this.options.excessiveInstanceLimit;if(e===void 0||!this.#e)return;this.#e=!1;let t=Math.max(0,(this.#t.count??0)-1);this.#s({[this.host.localName]:{count:t,excessiveInstanceLimitAudited:t>e&&this.#t.excessiveInstanceLimitAudited}})}#s(e){h.dispatch(`NVE_ELEMENTS_AUDIT_UPDATE`,{audit:e})}#c(){if(this.#r.parents){let[e,t]=yt(this.host);e||vt.warn(wt(this.host.localName,t.join(`, `)))}}},Ot=[`contextmenu`,`dragstart`,`lostpointercapture`,`pointercancel`,`pointerdown`,`pointermove`,`pointerup`,`selectstart`,`wheel`],kt=.002,At=10,jt=16,Mt=class{#e;constructor(e){this.claim=e=>{let t=this.#e;return t?(this.#e=void 0,t(e),!0):!1},this.#e=e}close(){this.#e=void 0}},Nt=class{#e;#t;#n=/* @__PURE__ */ new Map;#r=!1;#i;#a;#o;#s;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}getWheelZoomFactor(e){let t=e.event.ctrlKey?At:1;return 2**(-e.deltaY*kt*t)}set target(e){e!==this.#a&&(this.#l(),this.#L(),this.#a=e,this.#c())}hostConnected(){this.#r=!0,this.#c()}hostDisconnected(){this.#l(),this.#L(),this.#r=!1}hostUpdated(){this.#j()}#c(){let e=this.#a;if(!this.#r||!e)return;let t=this.#t.claimPriority!==`descendant-first`;for(let n of Ot)e.addEventListener(n,this.#f,t);this.#u()&&e.addEventListener(`pointerdown`,this.#d,!0),this.#k(e)}#l(){let e=this.#a;if(!this.#r||!e)return;let t=this.#t.claimPriority!==`descendant-first`;for(let n of Ot)e.removeEventListener(n,this.#f,t);this.#u()&&e.removeEventListener(`pointerdown`,this.#d,!0),this.#A()}#u(){return this.#t.claimPriority===`descendant-first`&&this.#t.shouldReservePointerDown!==void 0}#d=e=>{let t=this.#a;!t||e.currentTarget!==t||e.defaultPrevented||this.#t.shouldIgnoreEvent?.(e)||this.#t.shouldReservePointerDown?.(e)&&e.preventDefault()};#f=e=>{let t=this.#a;t&&e.currentTarget===t&&(e.type===`contextmenu`&&e instanceof MouseEvent?this.#m(e):e.type===`selectstart`?this.#h(e):e instanceof WheelEvent?this.#_(e):e instanceof PointerEvent?this.#g(e):this.#p(e))};#p(e){e.type!==`dragstart`||this.#t.shouldIgnoreEvent?.(e)||this.#t.suppressNativeDrag&&e.preventDefault()}#m(e){this.#t.shouldIgnoreEvent?.(e)||this.#t.shouldPreventContextMenu?.(e)&&e.preventDefault()}#h(e){this.#n.size>0&&e.preventDefault()}#g(e){let t=Lt(e);t===void 0?e.type===`pointerdown`?this.#t.shouldIgnoreEvent?.(e)||this.#v(e):e.type===`pointermove`&&this.#n.has(e.pointerId)&&this.#y(e):this.#n.has(e.pointerId)&&this.#S(e,t)}#_(e){let t=this.#a;if(!t||this.#t.shouldIgnoreEvent?.(e))return;let n=e.deltaMode===WheelEvent.DOM_DELTA_PAGE?t.getBoundingClientRect():void 0,r=zt(e.deltaX,e.deltaMode,n?.width),i=zt(e.deltaY,e.deltaMode,n?.height),a=new Mt(()=>{e.preventDefault(),e.stopPropagation()});try{this.#I({claim:a.claim,clientX:e.clientX,clientY:e.clientY,deltaX:r,deltaY:i,event:e,kind:`wheel`})}finally{a.close()}}#v(e){let t=new Mt(t=>{this.#n.set(e.pointerId,{clientX:e.clientX,clientY:e.clientY,gestureKind:t?.kind,movementX:0,movementY:0,pinchCandidate:t?.pinchCandidate??!1,pointerType:e.pointerType,startClientX:e.clientX,startClientY:e.clientY});let n=this.#a;n&&this.#N(n),e.stopPropagation(),this.#O(e.pointerId)});try{this.#I({claim:t.claim,event:e,kind:`pointerdown`})}finally{t.close()}this.#T()}#y(e){let t=this.#b(e);t&&(e.stopPropagation(),t.movementX===0&&t.movementY===0||this.#n.size>=2&&this.#C(e)||t.gestureKind!==void 0&&(e.preventDefault(),this.#x(e,t,t.gestureKind)))}#b(e){let t=this.#n.get(e.pointerId);if(t)return t.movementX=Pt(e.clientX,t.clientX),t.movementY=Pt(e.clientY,t.clientY),t.clientX=e.clientX,t.clientY=e.clientY,t}#x(e,t,n){this.#F({clientX:t.clientX,clientY:t.clientY,event:e,kind:n,movementX:t.movementX,movementY:t.movementY,startClientX:t.startClientX,startClientY:t.startClientY,totalDisplacementX:Pt(t.clientX,t.startClientX),totalDisplacementY:Pt(t.clientY,t.startClientY)})}#S(e,t){let n=this.#n.get(e.pointerId);if(!n)return;let r=Rt(t,e),i=r?n.clientX:e.clientX,a=r?n.clientY:e.clientY;e.stopPropagation(),this.#I({clientX:i,clientY:a,event:e,interrupted:r,kind:`pointerend`,movementX:Pt(i,n.clientX),movementY:Pt(a,n.clientY),startClientX:n.startClientX,startClientY:n.startClientY,totalDisplacementX:Pt(i,n.startClientX),totalDisplacementY:Pt(a,n.startClientY),reason:t}),this.#n.delete(e.pointerId),this.#n.size===0&&this.#P(),this.#D()<2&&(this.#i=void 0)}#C(e){this.#T(),this.#E();let t=this.#i,n=this.#n.get(e.pointerId);if(!t||!n?.pinchCandidate)return!1;let r=e.pointerId===t.firstPointerId||e.pointerId===t.secondPointerId;return t.status===`pending`?!0:t.status===`declined`?!r:!r||this.#w(e,t)}#w(e,t){let n=this.#n.get(t.firstPointerId),r=this.#n.get(t.secondPointerId);if(!n||!r)return!0;let i=It(n,r);if(i<=0)return!0;let a=Ft(n.clientX,r.clientX),o=Ft(n.clientY,r.clientY);return e.preventDefault(),this.#F({centerClientX:a,centerClientY:o,context:t.context,event:e,firstPointerId:t.firstPointerId,firstPointerType:t.firstPointerType,firstStartClientX:t.firstStartClientX,firstStartClientY:t.firstStartClientY,kind:`pinch`,scale:i/t.distance,secondPointerId:t.secondPointerId,secondPointerType:t.secondPointerType,secondStartClientX:t.secondStartClientX,secondStartClientY:t.secondStartClientY,startCenterClientX:t.startCenterClientX,startCenterClientY:t.startCenterClientY}),!0}#T(){let e=this.#t.beginPinch;if(this.#i||this.#n.size<2||!e)return;let t,n;for(let e of this.#n.keys())if(this.#n.get(e)?.pinchCandidate){if(t===void 0)t=e;else{n=e;break}}t!==void 0&&n!==void 0&&(this.#i={firstPointerId:t,secondPointerId:n,status:`pending`},this.#E())}#E(){let e=this.#i,t=this.#t.beginPinch;if(e?.status!==`pending`||!t)return;let n=this.#n.get(e.firstPointerId),r=this.#n.get(e.secondPointerId);if(!n||!r)return;let i=It(n,r);if(i<=0)return;let a={firstPointerId:e.firstPointerId,firstPointerType:n.pointerType,firstStartClientX:n.startClientX,firstStartClientY:n.startClientY,secondPointerId:e.secondPointerId,secondPointerType:r.pointerType,secondStartClientX:r.startClientX,secondStartClientY:r.startClientY,startCenterClientX:Ft(n.clientX,r.clientX),startCenterClientY:Ft(n.clientY,r.clientY)},o=t(a);this.#i=o?{context:o.context,distance:i,status:`active`,...a}:{firstPointerId:e.firstPointerId,secondPointerId:e.secondPointerId,status:`declined`}}#D(){let e=0;for(let t of this.#n.values())t.pinchCandidate&&(e+=1);return e}#O(e){try{this.#a?.setPointerCapture?.(e)}catch{}}#k(e){let t=this.#M();t!==void 0&&(this.#o={applied:t,priority:e.style.getPropertyPriority(`touch-action`),target:e,value:e.style.getPropertyValue(`touch-action`)},e.style.setProperty(`touch-action`,t))}#A(){let e=this.#o;this.#o=void 0,e&&e.target.style.getPropertyValue(`touch-action`)===e.applied&&(e.value?e.target.style.setProperty(`touch-action`,e.value,e.priority):e.target.style.removeProperty(`touch-action`))}#j(){let e=this.#a;if(!this.#r||!e)return;let t=this.#M();t!==this.#o?.applied&&(this.#A(),t!==void 0&&this.#k(e))}#M(){let e=this.#t.touchAction;return typeof e==`function`?e():e}#N(e){if(this.#s)return;let t=`none`;this.#s={applied:t,appliedPriority:``,priority:e.style.getPropertyPriority(`user-select`),target:e,value:e.style.getPropertyValue(`user-select`)},e.style.setProperty(`user-select`,t,``)}#P(){let e=this.#s;this.#s=void 0,e&&e.target.style.getPropertyValue(`user-select`)===e.applied&&e.target.style.getPropertyPriority(`user-select`)===e.appliedPriority&&(e.value?e.target.style.setProperty(`user-select`,e.value,e.priority):e.target.style.removeProperty(`user-select`))}#F(e){this.#e.dispatchEvent(new CustomEvent(`nve-gesture`,{bubbles:!1,cancelable:!1,composed:!1,detail:e}))}#I(e){this.#e.dispatchEvent(new CustomEvent(`nve-gesture-input`,{bubbles:!1,cancelable:!1,composed:!1,detail:e}))}#L(){this.#n.clear(),this.#i=void 0,this.#P()}};function Pt(e,t){return e-t}function Ft(e,t){return(e+t)/2}function It(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function Lt(e){if(e.type===`pointerup`)return`up`;if(e.type===`pointercancel`)return`cancel`;if(e.type===`lostpointercapture`)return`lost-capture`;if(e.type===`pointermove`&&e.buttons===0)return`buttons-released`}function Rt(e,t){return e===`cancel`||e===`lost-capture`&&t.buttons!==0}function zt(e,t,n=1){return t===WheelEvent.DOM_DELTA_LINE?e*jt:t===WheelEvent.DOM_DELTA_PAGE?e*n:e}function Bt(e,t,n={}){let r=new MutationObserver(e=>{for(let r of e)r.type===`childList`&&t(r),n.attributes&&r.type===`attributes`&&t(r)});return r.observe(e,{childList:!0,...n}),r}function Vt(e,t,{trailing:n=!1}={}){let r,i,a=(...o)=>{r===void 0?(e(...o),r=setTimeout(()=>{if(r=void 0,i){let e=i;i=void 0,a(...e)}},t)):n&&(i=o)};return Object.assign(a,{flush(){if(!i)return;let t=i;i=void 0,e(...t)},cancel(){clearTimeout(r),r=void 0,i=void 0}})}function Ht(e,t=0){let n;return(...r)=>{
|
|
5
5
|
/* istanbul ignore next */
|
|
6
|
-
clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function
|
|
7
|
-
`):``}function an(e,t,n){let r=Object.getOwnPropertyDescriptor(e,t);if(r?.configurable===!1)return;let i=r,a=Object.getPrototypeOf(e);for(;!i&&a;)i=Object.getOwnPropertyDescriptor(a,t),a=Object.getPrototypeOf(a);if(!i?.set)return;let o=i.set,s=!0,c={configurable:!0,enumerable:i.enumerable,get:i.get,set:t=>{o.call(e,t),s&&n(t)}};return Object.defineProperty(e,t,c),()=>{s=!1;let n=Object.getOwnPropertyDescriptor(e,t);n?.configurable===c.configurable&&n?.enumerable===c.enumerable&&n?.get===c.get&&n?.set===c.set&&(r?Object.defineProperty(e,t,r):Reflect.deleteProperty(e,t))}}function on(e,t,n){e.hasAttribute(t)?n(e.getAttribute(t)):e[t]!==void 0&&n(e[t]);let r=an(e,t,n),i=tn(e,t,e=>n(e)),a=i.disconnect.bind(i);return i.disconnect=()=>{r?.(),a()},i}function sn(e,t){let{left:n,right:r,top:i,bottom:a}=t.getBoundingClientRect();return e.clientX<n||e.clientX>r||e.clientY<i||e.clientY>a}function cn(e){return e.buttons===2&&!e.ctrlKey||e.buttons===1&&e.ctrlKey}function ln(e,t=10){return un(e,t).filter(e=>Kt(e))}function un(e,t=10){return Array.from(en(e)).reduce((e,n)=>[...e,[n,[...Array.from(en(n)).map(e=>[e,un(e,t)])]]],[]).flat(t)}function dn(e){return fn.has(e.code)}var x=/* @__PURE__ */ function(e){return e.End=`End`,e.Home=`Home`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.ArrowUp=`ArrowUp`,e.ArrowDown=`ArrowDown`,e.ArrowLeft=`ArrowLeft`,e.ArrowRight=`ArrowRight`,e}({}),fn=new Set(Object.values(x));function pn(e){return e.some(t=>t.children.length!==e[0].children.length)}function mn(e){e?.wholeText?.trim()===``&&e.remove()}function hn(e){return e.scrollWidth>e.clientWidth}function gn(e,t=0){return e.scrollTop+e.offsetHeight+t>=e.scrollHeight}async function _n(){let e=globalThis.EyeDropper;if(!e)return xt.warn(`EyeDropper API is unavailable`),``;try{return(await new e().open()).sRGBHex}catch(e){return xt.warn(`EyeDropper selection failed: ${e.message}`),``}}function vn(e){yn(e)&&e.assignedNodes().forEach(e=>e.parentNode?.removeChild(e))}function yn(e){let t=!e.assignedNodes().find(e=>e.nodeType!==Node.TEXT_NODE),n=!e.assignedNodes().find(e=>e.nodeType===Node.TEXT_NODE&&(e.textContent??``).trim()!==``);return t&&n}function bn(e,t){let n=e.assignedNodes(),r=e.name??`slot`;n.length?t._internals.states.add(`has-${r}`):t._internals.states.delete(`has-${r}`)}function xn(e){return e?.label||e?.value||``}function Sn(e,t){return e.localName===t.metadata.tag}function Cn(e){let t=globalThis.document.createElement(`div`),{width:n}=e.getBoundingClientRect();return t.setAttribute(`nve-ghost`,``),t.style.minWidth=`${n}px`,t.style.maxWidth=`${n}px`,t.style.height=`1px`,t.slot=e.slot,t}function wn(e){return e.style.anchorName?.split(`,`)?.map(e=>e.trim())?.filter(e=>e!==`none`&&e!==``)??[]}function Tn(e,t){let n=wn(e);e.style.anchorName=n.filter(e=>e!==t).join(`,`)}function En(e,t){e.style.anchorName=Array.from(/* @__PURE__ */ new Set([...wn(e),t])).join(`,`)}function Dn(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function On(e){return Array.from(new Set(Array.from(e).filter(e=>typeof e==`string`&&e.length>0)))}function kn(){return e=>e.addInitializer(e=>new An(e))}var An=class{#e;#t;#n;#r=/* @__PURE__ */ new WeakSet;#i=Wt(()=>this.#c(),500,{trailing:!0});get#a(){return{grid:this.host,...this.host.keynavGridConfig}}get#o(){let e=Array.from(this.#a.rows);return this.#a.columnRow&&e.unshift(this.#a.columnRow),e}get#s(){let{columns:e,cells:t}=this.#a;return[...Array.from(e??[]),...Array.from(t)]}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,this.host.isConnected&&(this.#t=this.#a.grid,this.#c(),this.#t.addEventListener(`keyup`,this.#m),this.#t.addEventListener(`keydown`,this.#f),this.#t.addEventListener(`mouseup`,this.#d),this.#e?.disconnect(),this.#e=new MutationObserver(this.#l),this.#e.observe(this.#t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`]}))}hostDisconnected(){this.#e?.disconnect(),this.#e=void 0,this.#i.cancel(),this.#t?.removeEventListener(`keyup`,this.#m),this.#t?.removeEventListener(`keydown`,this.#f),this.#t?.removeEventListener(`mouseup`,this.#d),this.#t=void 0,this.#n=void 0}#c(){let e=this.#s,t=e.find(e=>e.tabIndex===0)??(this.#n&&e.includes(this.#n)?this.#n:e[0]);this.#n=t,this.#r=new WeakSet(e);for(let n of e){let e=n===t?`0`:`-1`;n.getAttribute(`tabindex`)!==e&&n.setAttribute(`tabindex`,e)}}#l=e=>{e.some(e=>{if(e.type===`attributes`){let t=e.target;return t instanceof HTMLElement&&this.#r.has(t)&&t.getAttribute(`tabindex`)!==(t===this.#n?`0`:`-1`)}return[...e.addedNodes,...e.removedNodes].some(e=>e.nodeType===Node.ELEMENT_NODE)})&&this.#i()};#u(){this.#l(this.#e?.takeRecords()??[]),this.#i.flush()}#d=e=>{if(!cn(e)){this.#u();let t=e.composedPath()[0],n=this.#s.find(e=>e===t)?t:null;n&&this.#p(e,n)}};#f=e=>{if(!dn(e))return;this.#u();let t=Array.from(this.#o),n=Array.from(this.#s);if(d.state.env!==`production`&&pn(t))xt.warn(`Invalid grid structure, all rows must have the same number of cells`);else if(qt(Jt())){let{x:r,y:i}=Nn(n,t,{code:e.code,ctrlKey:e.ctrlKey,dir:this.host.dir}),a=Array.from(un(t[i])).filter(e=>!!n.find(t=>t===e))[r];this.#p(e,a),e.preventDefault()}};#p(e,t){this.#n=t,Zt(this.#s,t);let n=ln(t),r=n.filter(e=>qt(e));r.length===1&&n.length===1?Yt(r[0]):Yt(t);let i={code:e instanceof KeyboardEvent?e.code:null,shiftKey:e.shiftKey,activeItem:t};t.dispatchEvent(new CustomEvent(`nve-key-change`,{bubbles:!0,composed:!0,detail:i}))}#m=e=>{if(e.code!==`Enter`&&e.code!==`Escape`)return;this.#u();let t=Array.from(this.#s).find(e=>e.tabIndex===0);e.code===`Escape`&&t?.focus(),e.code===`Enter`&&t===e.composedPath()[0]&&ln(t)[0]?.focus()}};function jn(e,t){let n=t===`rtl`?x.ArrowRight:x.ArrowLeft,r=t===`rtl`?x.ArrowLeft:x.ArrowRight;return e===x.ArrowUp?{dx:0,dy:-1}:e===x.ArrowDown?{dx:0,dy:1}:e===n?{dx:-1,dy:0}:e===r?{dx:1,dy:0}:e===x.PageUp?{dx:0,dy:-4}:e===x.PageDown?{dx:0,dy:4}:null}function Mn(e,t,n){let{x:r,y:i}=t,{columnCount:a,rowCount:o,ctrlKey:s}=n;return e===x.End?{x:a,y:s?o:i}:e===x.Home?{x:0,y:s?0:i}:{x:r,y:i}}function Nn(e,t,n){let r=e.find(e=>e.tabIndex===0),i=t.find(e=>un(e).find(e=>e===r)),a=Array.from(un(i)).filter(t=>!!e.find(e=>e===t)),o=t.length-1,s=a.length-1,c=a.indexOf(r),l=t.indexOf(i),u=jn(n.code,n.dir);return u?(c=Math.max(0,Math.min(s,c+u.dx)),l=Math.max(0,Math.min(o,l+u.dy))):{x:c,y:l}=Mn(n.code,{x:c,y:l},{columnCount:s,rowCount:o,ctrlKey:n.ctrlKey}),{x:c,y:l}}function Pn(){return e=>e.addInitializer(e=>new Fn(e))}var Fn=class{get#e(){return{layout:`horizontal`,manageFocus:!0,manageTabindex:!0,loop:!1,dir:this.host.getAttribute(`rtl`),...this.host.keynavListConfig,items:Array.from(this.host.keynavListConfig.items).filter(e=>!e.disabled)}}constructor(e){this.host=e,this.host.addController(this)}get#t(){return this.host.hasAttribute(`nve-keynav-disabled`)}async hostConnected(){await this.host.updateComplete,this.host.isConnected&&(this.#n(),this.host.addEventListener(`pointerup`,this.#c),this.host.addEventListener(`keydown`,this.#l))}hostDisconnected(){this.host.removeEventListener(`pointerup`,this.#c),this.host.removeEventListener(`keydown`,this.#l)}refreshItems(e){let{manageFocus:t,manageTabindex:n,items:r,initialItem:i}=this.#e;if(!t||!n||this.#t)return;let a=r.find(e=>e.matches(`:focus-within`))??r.find(t=>e.includes(t)&&t.tabIndex===0)??(i&&r.includes(i)?i:r[0]);Array.from(this.host.keynavListConfig.items).forEach(e=>{e.tabIndex=e===a?0:-1})}#n(){let{manageFocus:e,manageTabindex:t,items:n,initialItem:r}=this.#e;e&&t&&!this.#t&&(Qt(n),r&&n.includes(r)&&Zt(n,r))}#r(e){let t=this.#o(e,this.#e.items);t&&this.#s(e,t)}#i(e){if(dn(e)&&!this.#t){let{loop:t,layout:n,dir:r,items:i}=this.#e,a=this.#a(e,i);if(a){let{next:o,previous:s}=zn(a,Array.from(i),{loop:t,layout:n,dir:r,code:e.code});o!==s&&this.#s(e,i[o],i[s])}}}#a(e,t){let n=e.composedPath()[0];return n instanceof HTMLElement&&t.includes(n)?n:null}#o(e,t){let n=e.composedPath(),r=n.findIndex(e=>e instanceof HTMLElement&&t.includes(e)),i=n[r];return i instanceof HTMLElement?n.slice(0,r).some(e=>e instanceof Element&&Kt(e))?null:i:null}#s(e,t,n){let{manageFocus:r,manageTabindex:i,items:a}=this.#e;r&&(i&&Zt(a,t),Yt(t),e.preventDefault());let o={activeItem:t,previousItem:n,code:e instanceof KeyboardEvent?e.code:null,metaKey:e.ctrlKey||e.metaKey,items:a};t.dispatchEvent(new CustomEvent(`nve-key-change`,{bubbles:!0,composed:!0,detail:o}))}#c=e=>this.#r(e);#l=e=>this.#i(e)};function In(e){let{code:t,layout:n,dir:r}=e,i=r===`rtl`?x.ArrowRight:x.ArrowLeft,a=r===`rtl`?x.ArrowLeft:x.ArrowRight;if(n!==`horizontal`){if(t===x.ArrowUp)return`backward`;if(t===x.ArrowDown)return`forward`}if(n!==`vertical`){if(t===i)return`backward`;if(t===a)return`forward`}return null}function Ln(e){return e===x.End?`end`:e===x.Home?`home`:e===x.PageUp?`pageup`:e===x.PageDown?`pagedown`:null}function Rn(e,t,n){let{limit:r,loop:i}=n,a=e+t;return a>=0&&a<=r?a:i?t<0?r:0:e}function zn(e,t,n){let r=t.indexOf(e),i=r,a=t.length-1;switch(In(n)??Ln(n.code)){case`backward`:r=Rn(r,-1,{limit:a,loop:n.loop});break;case`forward`:r=Rn(r,1,{limit:a,loop:n.loop});break;case`end`:r=a;break;case`home`:r=0;break;case`pageup`:r=Math.max(0,r-4);break;case`pagedown`:r=Math.min(a,r+4)}return{next:r,previous:i}}function S(e){e._internals===void 0&&(e._internals=e.attachInternals())}function Bn(e,t){e&&t&&(t.id=t.id?t.id:y(),e.htmlFor=t.id)}function Vn(e,t){e&&t&&(e.id=e.id?e.id:y(),t.setAttribute(`aria-labelledby`,e.id))}function Hn(e,t){if(e.length&&t){let n=e.map(e=>e.id=y()).join(` `);t.setAttribute(`aria-describedby`,n)}}function Un(e,t){e&&(e.id=e.id?.length?e.id:y(),t.setAttribute(`list`,e.id))}function Wn(e){if(!e.find(e=>e?.name?.length)){let t=y();e.forEach(e=>e.name=t)}}function Gn(){return e=>e.addInitializer(e=>new Kn(e))}var Kn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){S(this.host)}hostUpdated(){this.host.expanded!==null&&this.host.expanded!==void 0&&(this.host._internals.ariaExpanded=`${this.host.expanded}`),this.host.expanded?this.host._internals.states.add(`expanded`):this.host._internals.states.delete(`expanded`),this.host.readOnly&&(this.host._internals.ariaExpanded=null,this.host._internals.states.delete(`expanded`))}};function qn(){return e=>e.addInitializer(e=>new Jn(e))}var Jn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){S(this.host)}hostUpdated(){this.host.highlighted?this.host._internals.states.add(`highlighted`):this.host._internals.states.delete(`highlighted`)}};function Yn(){return e=>e.addInitializer(e=>new Xn(e))}var Xn=class{#e;#t;get#n(){return this.host.stateScrollConfig?.target||this.host}get#r(){return this.host.stateScrollConfig?.scrollOffset??0}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,S(this.host),this.#i()}hostUpdated(){this.#i()}hostDisconnected(){this.#l()}#i(){let e=this.#n;this.#e!==e&&(this.#l(),this.#e=e,this.#e.addEventListener(`scrollend`,this.#a),this.#c())}#a=()=>{this.#s(),this.host._internals.states.has(`scrolling`)&&(this.#t=setTimeout(()=>{this.#t=void 0,this.host._internals.states.delete(`scrolling`)},100)),this.#c(),this.#e&&gn(this.#e,this.#r)&&this.host.dispatchEvent(new CustomEvent(`scrollboxend`,{bubbles:!0,composed:!0}))};#o=()=>{this.#s();let e=this.host._internals.states;e.has(`scrolling`)||e.add(`scrolling`)};#s(){this.#t!==void 0&&(clearTimeout(this.#t),this.#t=void 0)}#c(){this.#e?.removeEventListener(`scroll`,this.#o),this.#e?.addEventListener(`scroll`,this.#o,{once:!0})}#l(){this.#s(),this.#e?.removeEventListener(`scroll`,this.#o),this.#e?.removeEventListener(`scrollend`,this.#a),this.#e=void 0;let e=this.host._internals?.states;e?.has(`scrolling`)&&e.delete(`scrolling`)}};function Zn(){return e=>e.addInitializer(e=>new Qn(e))}var Qn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){S(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaSelected=null,this.host._internals.states.delete(`selected`)):this.host._internals?.states.has(`anchor`)&&this.host.selected?(this.host._internals.ariaSelected=null,this.host._internals.states.add(`selected`),this.host.querySelector(`a`)?.setAttribute(`aria-current`,`page`)):(this.host.selected!==null&&this.host.selected!==void 0&&(this.host._internals.ariaSelected=`${this.host.selected}`),this.host.selected?this.host._internals.states.add(`selected`):this.host._internals.states.delete(`selected`))}};function $n(){return e=>e.addInitializer(e=>new er(e))}var er=class{get#e(){return this.#t?this.#t:this.#n}get#t(){return this.host.shadowRoot.querySelector(`slot, slot[name=anchor]`)?.assignedElements()?.find(e=>e?.tagName===`A`)}get#n(){return this.host.parentElement?.tagName===`A`?this.host.parentElement:null}get#r(){return this.host.shadowRoot.querySelector(`slot:not([name])`)}get#i(){return this.host.shadowRoot.querySelector(`slot[name=anchor]`)}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){S(this.host),await this.host.updateComplete,this.#a(),this.#e?(this.host.readOnly=!0,this.host._internals?.states.add(`anchor`)):this.host._internals?.states.delete(`anchor`),this.#n&&(this.#n.style.textDecoration=`none`,this.host.style.cursor=`pointer`),this.#e?.addEventListener(`click`,e=>{this.host.disabled&&(e.preventDefault(),e.stopImmediatePropagation())})}#a(){this.#e&&this.#i&&(this.#e.slot=`anchor`,this.#r?.assignedNodes().forEach(e=>mn(e)))}},tr=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){S(this.host),this.host.addEventListener(`command`,()=>{this.host.hidden=!0,this.#e()})}close(){this.host.closable&&this.#e()}#e(){this.host.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0}))}},nr=class{#e=!1;#t=!1;constructor(e,t={}){this.host=e,this.#t=t.useHidden??!1,this.host.addController(this)}hostConnected(){S(this.host),this.host.addEventListener(`command`,(e=>{this.#e=!0,e.command===`--toggle`&&this.toggle(),e.command===`--open`&&this.open(),e.command===`--close`&&this.close(),this.#e=!1}))}hostUpdated(){this.host.expandable?this.host._internals.states.add(`expandable`):this.host._internals.states.delete(`expandable`)}open(){(this.host.behaviorExpand||this.#e)&&(this.host.expanded=!0,this.#t&&(this.host.hidden=!1)),this.host.dispatchEvent(new CustomEvent(`open`,{bubbles:!0,composed:!0}))}close(){(this.host.behaviorExpand||this.#e)&&(this.host.expanded=!1,this.#t&&(this.host.hidden=!0)),this.host.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0}))}toggle(){this.host.expanded||this.#t&&!this.host.hidden?this.close():this.open()}},rr=class{#e=!1;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){S(this.host),this.host.addEventListener(`command`,(e=>{this.#e=!0,e.command===`--toggle-select`&&this.toggle(),e.command===`--select`&&this.select(),e.command===`--deselect`&&(this.host.selected=!1),this.#e=!1}))}hostUpdated(){this.host.selectable===`single`?this.host._internals.states.add(`selectable-single`):this.host._internals.states.delete(`selectable-single`),this.host.selectable===`multi`?this.host._internals.states.add(`selectable-multi`):this.host._internals.states.delete(`selectable-multi`)}select(){(this.host.behaviorSelect||this.#e)&&(this.host.selected=!0),this.host.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:this.host}))}deselect(){(this.host.behaviorSelect||this.#e)&&(this.host.selected=!1),this.host.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:this.host}))}toggle(){this.host.selected?this.deselect():this.select()}};function ir(e,t){return typeof t==`string`?un(e.parentNode).filter(e=>e?.id!==``).find(e=>e.id===t)??globalThis.document.body:t}function ar(e){let t=e.anchor;if(typeof t==`string`&&t?.length){let n=un(e.parentNode).find(e=>e.id===t);return n||xt.warn(Ot(t)),n??globalThis.document.body}return t&&t!==globalThis.document.body?t:globalThis.document.body}function or(e){return!!un(e).filter(e=>e.popover&&e.matches(`:popover-open`)).length}var sr=class{get#e(){let e=this.host.getRootNode(),t=Array.from(e.querySelectorAll(`[popovertarget="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`)),n=Array.from(e.querySelectorAll(`[commandfor="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`)),r=Array.from(e.querySelectorAll(`[interestfor="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`));return[...t,...n,...r]}constructor(e){this.host=e,this.host.addController(this);let t=this.host.showPopover;this.host.showPopover=e=>{if(this.host.isConnected){let n=e?.source??null;n||=this.host.anchor?ar(this.host):this.host.trigger?ir(this.host,this.host.trigger):globalThis.document.activeElement,t.call(this.host,{source:n})}}}async hostConnected(){S(this.host),this.host.popover=this.host.popoverType??null,await this.host.updateComplete,this.host.isConnected&&(this.host.setAttribute(`nve-popover`,``),this.#m(),this.#p(),this.#d(),this.host.inert=this.host.matches(`:not(:popover-open)`)&&!!this.#e.length,this.host.addEventListener(`beforetoggle`,this.#b),this.host.addEventListener(`toggle`,this.#x),this.host.addEventListener(`command`,this.#S),this.host.addEventListener(`interest`,this.#C),this.host.addEventListener(`loseinterest`,this.#w))}#t=null;#n=null;#r=[];#i=null;#a=null;async hostUpdated(){this.host.popover=this.host.popoverType??null,this.#m()}hostDisconnected(){this.#r.forEach(e=>e.disconnect()),this.#r.length=0,this.host.removeEventListener(`beforetoggle`,this.#b),this.host.removeEventListener(`toggle`,this.#x),this.host.removeEventListener(`command`,this.#S),this.host.removeEventListener(`interest`,this.#C),this.host.removeEventListener(`loseinterest`,this.#w),this.host.removeEventListener(`pointerdown`,this.#T),this.host.removeEventListener(`pointerup`,this.#E),this.#y(),this.#c(),this.#s()}#o(){this.#s(),this.host.closeTimeout&&(this.#n=setTimeout(()=>this.host.hidePopover(),this.host.closeTimeout))}#s(){this.#n&&=(clearTimeout(this.#n),null)}#c(){this.#t&&=(clearTimeout(this.#t),null)}#l(){let e=getComputedStyle(this.host).interestDelayStart;if(!e)return 0;let t=parseFloat(e);return e.endsWith(`ms`)?t:t*1e3}#u=!1;#d(){this.host.removeEventListener(`pointerdown`,this.#T),this.host.removeEventListener(`pointerup`,this.#E),this.host.addEventListener(`pointerdown`,this.#T),this.host.addEventListener(`pointerup`,this.#E)}get#f(){return this.host.trigger?ir(this.host,this.host.trigger):null}async#p(){await new Promise(e=>requestAnimationFrame(e));let e=new MutationObserver(()=>{this.host.isConnected&&!this.host.hidden&&!this.host.matches(`:popover-open`)&&this.host.showPopover(),this.host.isConnected&&this.host.hidden&&this.host.matches(`:popover-open`)&&this.host.hidePopover()});e.observe(this.host,{attributes:!0,attributeFilter:[`hidden`]}),this.#r.push(e),this.host.isConnected&&!this.#e.length&&!this.host.hidden&&!this.host.matches(`:popover-open`)&&(this.host.popover=`manual`,this.host.showPopover())}#m(){let e=this.#f;this.#i&&this.#i!==e&&this.#v(this.#i),this.#a&&this.#a!==e&&this.#y(),e?(this.host.popoverType===`hint`?this.#h(e):this.#g(e),this.#i=e):this.#i=null}#h(e){this.#a!==e&&(e.addEventListener(`mouseenter`,this.#D),e.addEventListener(`mouseleave`,this.#O),e.addEventListener(`focusout`,this.#O),this.#a=e)}#g(e){this.#y(),this.host.id=this.host.id?this.host.id:y(),e.popoverTargetElement=this.host,e.setAttribute(`popovertarget`,this.host.id)}#_(e,t){e?this.host.getRootNode().activeElement!==this.host&&!this.host.shadowRoot.activeElement&&Yt(this.host):Yt(t)}#v(e){e.popoverTargetElement=null,e.removeAttribute(`popovertarget`),this.#a===e&&this.#y()}#y(){this.#a?.removeEventListener(`mouseenter`,this.#D),this.#a?.removeEventListener(`mouseleave`,this.#O),this.#a?.removeEventListener(`focusout`,this.#O),this.#a=null}#b=e=>{e.newState===`open`&&this.host._internals.states.add(`transition-start`)};#x=e=>{this.host.behaviorTrigger&&(this.host.hidden=e.newState===`closed`),e.newState===`open`&&this.host.closeTimeout&&this.#o(),e.newState===`closed`&&(this.#c(),this.#s()),this.host.inert=this.host.matches(`:not(:popover-open)`),this.host.modal&&this.#_(e.newState===`open`,e.target),this.host.dispatchEvent(new CustomEvent(e.newState===`open`&&e.oldState!==`open`?`open`:`close`,{bubbles:!0,composed:!0,detail:{trigger:e.source}}))};#S=e=>{e.command===`toggle-popover`&&this.host.togglePopover({source:e.source}),e.command===`hide-popover`&&(this.host.hidePopover(),this.#c()),e.command===`show-popover`&&this.host.showPopover({source:e.source})};#C=e=>{if(e.source?.localName.includes(`-`)){let t=this.host.openDelay??this.#l();t?this.#t=setTimeout(()=>{this.host.isConnected&&this.host.showPopover({source:e.source})},t):this.host.showPopover({source:e.source})}};#w=e=>{e.source?.localName.includes(`-`)&&this.host.hidePopover(),this.#c()};#T=e=>{this.host.modal&&this.host.matches(`:popover-open`)&&(this.#u=sn(e,this.host))};#E=e=>{this.#u&&this.host.popoverDismissible&&this.host.modal&&this.host.matches(`:popover-open`)&&!or(this.host)&&sn(e,this.host)&&this.host.hidePopover()};#D=e=>{this.host.showPopover({source:e.currentTarget})};#O=()=>{this.host.hidePopover()}};function C(e={log:!0}){return t=>t.addInitializer(t=>new cr(t,e))}var cr=class{constructor(e,t){if(this.host=e,this.options=t,this.didSSR=!!this.host.shadowRoot,this.#e=!0,this.host.addController(this),this.didSSR){let t=this.options,n=e.update;Object.defineProperty(e,"update",{value:function(){try{n.call(e)}catch{let n=e.renderRoot;n.innerHTML=n.innerHTML.split(`<!--lit-part `)[0],mt(e.render(),n,e.renderOptions),te()!==`production`&&t.log&&xt.warn(kt(e.localName))}return n}})}}#e;hostUpdated(){this.didSSR&&this.#e&&(this.#e=!1,this.host.shadowRoot?.querySelectorAll(`slot`).forEach(e=>{e.dispatchEvent(new Event(`slotchange`,{bubbles:!0,composed:!1,cancelable:!1}))}),this.host._internals?.role&&this.host.setAttribute(`role`,this.host._internals.role))}};function lr(e={type:String,reflect:!0}){return g({type:String,reflect:!0,...e})}var ur=/* @__PURE__ */ new WeakSet;function dr(e,t){return{importNode:(n,r=!1)=>e.importNode(n,{customElementRegistry:t,selfOnly:!r})}}function fr(e,t){if(ur.has(e))return;let n=e.prototype,r=n.createRenderRoot;r&&(ur.add(e),Object.defineProperty(n,"createRenderRoot",{configurable:!0,value(){let e=r.call(this);return e instanceof ShadowRoot&&(this.renderOptions??={},this.renderOptions.creationScope=dr(e.ownerDocument,t)),e}}))}function w(){return e=>{let t=e,n=d.getScopedRegistry(t.metadata.version);ie&&(Object.defineProperty(t,"shadowRootOptions",{configurable:!0,value:{...t.shadowRootOptions??{mode:`open`},customElementRegistry:n}}),fr(t,n)),ae(t,n)}}var pr=`:host{all:initial;display:block;visibility:inherit;box-sizing:border-box;font-size:inherit;pointer-events:inherit;contain:layout;font-family:var(--nve-ref-font-family);outline:var(--nve-debug-element-outline, initial);color-scheme:var(--nve-sys-color-scheme)}*,*:before,*:after{box-sizing:inherit}[hidden],:host([hidden]:not([nve-popover])){display:none!important}slot{display:contents}:host(:focus-within) [focus-within],:host(:focus) [focusable],:host([tabindex="0"]:focus) [focusable]{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}:host([nofocus]) [focus-within]{outline:0!important}:host(:focus-within:not(:focus-visible,[readonly])) [focus-within]:not([focusable=active]),:host(:focus:not(:focus-visible)) [focusable]:not([focusable=active]),:host([tabindex="0"]:focus:not(:focus-visible)) [focusable]:not([focusable=active]){outline:none!important;outline-offset:0!important}@supports selector(:state(focus)){:host(:state(focus)) [focusable],:host([tabindex="0"]:state(focus)){outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}}`,mr=`[interaction-state]{background-image:var( --background-image, linear-gradient( color-mix( in oklab, var(--nve-sys-interaction-state-base) 100%, var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio) ) 0 0 ) )!important}:host(:hover) [interaction-state],:host(:state(hover)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:active) [interaction-state],:host(:state(active)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-active)}:host([selected]) [interaction-state],:host(:state(selected)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([current]) [interaction-state],:host(:state(current)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([disabled]) [interaction-state],:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-disabled)}:host(:not(:state(anchor))[readonly]) [interaction-state],:host(:not(:state(anchor)):state(readonly)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}`,hr=`:host{--state-color-base: var(--nve-sys-status-color);--state-color-background: color-mix( in oklab, var(--state-color-base) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) );--state-color: color-mix(in oklab, var(--state-color-base), var(--nve-sys-text-emphasis-color) 16%)}:host([prominence="emphasis"]){--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color)}:host([color="red-cardinal"]){--state-color-base: var(--nve-ref-color-red-cardinal-1100)}:host([color="gray-slate"]){--state-color-base: var(--nve-ref-color-gray-slate-1100)}:host([color="gray-denim"]){--state-color-base: var(--nve-ref-color-gray-denim-1100)}:host([color="blue-indigo"]){--state-color-base: var(--nve-ref-color-blue-indigo-1100)}:host([color="blue-cobalt"]){--state-color-base: var(--nve-ref-color-blue-cobalt-1100)}:host([color="blue-sky"]){--state-color-base: var(--nve-ref-color-blue-sky-1100)}:host([color="teal-cyan"]){--state-color-base: var(--nve-ref-color-teal-cyan-1100)}:host([color="green-mint"]){--state-color-base: var(--nve-ref-color-green-mint-1100)}:host([color="teal-seafoam"]){--state-color-base: var(--nve-ref-color-teal-seafoam-1100)}:host([color="green-grass"]){--state-color-base: var(--nve-ref-color-green-grass-1100)}:host([color="yellow-amber"]){--state-color-base: var(--nve-ref-color-yellow-amber-1100)}:host([color="orange-pumpkin"]){--state-color-base: var(--nve-ref-color-orange-pumpkin-1100)}:host([color="red-tomato"]){--state-color-base: var(--nve-ref-color-red-tomato-1100)}:host([color="pink-magenta"]){--state-color-base: var(--nve-ref-color-pink-magenta-1100)}:host([color="purple-plum"]){--state-color-base: var(--nve-ref-color-purple-plum-1100)}:host([color="purple-violet"]){--state-color-base: var(--nve-ref-color-purple-violet-1100)}:host([color="purple-lavender"]){--state-color-base: var(--nve-ref-color-purple-lavender-1100)}:host([color="pink-rose"]){--state-color-base: var(--nve-ref-color-pink-rose-1100)}:host([color="green-jade"]){--state-color-base: var(--nve-ref-color-green-jade-1100)}:host([color="lime-pear"]){--state-color-base: var(--nve-ref-color-lime-pear-1100)}:host([color="yellow-nova"]){--state-color-base: var(--nve-ref-color-yellow-nova-1100)}:host([color="brand-green"]){--state-color-base: var(--nve-ref-color-brand-green-1100)}`,gr=`:host{--status-color: var(--nve-sys-status-color)}:host([status="scheduled"]){--status-color: var(--nve-sys-status-scheduled-color)}:host([status="queued"]){--status-color: var(--nve-sys-status-queued-color)}:host([status="pending"]){--status-color: var(--nve-sys-status-pending-color)}:host([status="starting"]){--status-color: var(--nve-sys-status-starting-color)}:host([status="running"]){--status-color: var(--nve-sys-status-running-color)}:host([status="restarting"]){--status-color: var(--nve-sys-status-restarting-color)}:host([status="stopping"]){--status-color: var(--nve-sys-status-stopping-color)}:host([status="finished"]){--status-color: var(--nve-sys-status-finished-color)}:host([status="failed"]){--status-color: var(--nve-sys-status-failed-color)}:host([status="unknown"]){--status-color: var(--nve-sys-status-unknown-color)}:host([status="ignored"]){--status-color: var(--nve-sys-status-ignored-color)}`,_r=`:host{--status-color: var(--nve-sys-support-emphasis-color)}:host([status="muted"]){--status-color: var(--nve-sys-text-muted-color)}:host([status="accent"]){--status-color: var(--nve-sys-support-accent-emphasis-color)}:host([status="success"]){--status-color: var(--nve-sys-support-success-emphasis-color)}:host([status="warning"]){--status-color: var(--nve-sys-support-warning-emphasis-color)}:host([status="danger"]){--status-color: var(--nve-sys-support-danger-emphasis-color)}`,vr=hr,yr=gr,br=_r;function T(e){return[fe(pr),fe(mr),...e.map(e=>fe(e))]}
|
|
6
|
+
clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}function Ut(e){return e.matches(`a[href],area[href],input,button,select,textarea,iframe,object,embed,*[tabindex],*[contenteditable=true],[role=button]`)&&e.matches(`:not([disabled], [inert])`)&&!e.closest(`[inert]`)&&!e.closest(`[popover]`)?.matches(`:not(:popover-open)`)}function Wt(e){return e.matches(`a[href],button:not([disabled]),input[type=checkbox],input[type=radio],object,embed,*[tabindex],[role=button]:not([disabled])`)}function Gt(e=globalThis.document){return e.activeElement&&e.activeElement.shadowRoot?Gt(e.activeElement.shadowRoot)??e.activeElement:e.activeElement}function Kt(e){e&&!Ut(e)?(e.setAttribute(`tabindex`,`-1`),e.focus(),e.addEventListener(`blur`,()=>e.removeAttribute(`tabindex`),{once:!0})):e?.focus()}function qt(e){setTimeout(()=>Kt(e))}function Jt(e,t){e.forEach(e=>e.tabIndex=-1),t.tabIndex=0}function Yt(e){e.forEach(e=>e.tabIndex=-1),e[0]&&(e[0].tabIndex=0)}function Xt(e,t){let n=e=>e.code===`Space`||e.code===`ArrowUp`||e.code===`ArrowDown`;e.addEventListener(`pointerdown`,e=>{e.preventDefault()}),e.addEventListener(`click`,n=>{n.preventDefault(),e.disabled||t(n)}),e.addEventListener(`keyup`,r=>{n(r)&&!e.disabled&&t(r)}),e.addEventListener(`keydown`,t=>{n(t)&&!e.disabled&&t.preventDefault()})}function Zt(e){if(e instanceof Document&&e.documentElement)return Array.from(e.documentElement.children);if(e instanceof HTMLElement&&e.shadowRoot)return Array.from(e.shadowRoot.children);if(e instanceof HTMLSlotElement&&e.assignedElements){let t=e.assignedElements();return t.length?t:Array.from(e.children)}return Array.from(e.children)}function Qt(){return`_${self.crypto.getRandomValues(/* @__PURE__ */ new Uint32Array(1))[0].toString(16)}`}function $t(e,t,n){n(e.getAttribute(t));let r=new MutationObserver(e=>{e.forEach(e=>{e.attributeName===t&&n(e.target.getAttribute(t))})});return r.observe(e,{attributes:!0,subtree:!0}),r}function en(e,t,n){let r=new MutationObserver(e=>{e.forEach(e=>{e.attributeName&&t.includes(e.attributeName)&&n(e)})});return r.observe(e,{attributes:!0,subtree:!0}),r}function C(e,t){let n=new CSSStyleSheet;n.replaceSync(t);let r=e.getRootNode();return r.adoptedStyleSheets&&(r.adoptedStyleSheets.map(e=>tn(e)).find(e=>e===tn(n))||(r.adoptedStyleSheets=[...Array.from(r.adoptedStyleSheets),n])),n}function tn(e){return e.cssRules?Array.from(e.cssRules).map(e=>e.cssText||``).join(`
|
|
7
|
+
`):``}function nn(e,t,n){let r=Object.getOwnPropertyDescriptor(e,t);if(r?.configurable===!1)return;let i=r,a=Object.getPrototypeOf(e);for(;!i&&a;)i=Object.getOwnPropertyDescriptor(a,t),a=Object.getPrototypeOf(a);if(!i?.set)return;let o=i.set,s=!0,c={configurable:!0,enumerable:i.enumerable,get:i.get,set:t=>{o.call(e,t),s&&n(t)}};return Object.defineProperty(e,t,c),()=>{s=!1;let n=Object.getOwnPropertyDescriptor(e,t);n?.configurable===c.configurable&&n?.enumerable===c.enumerable&&n?.get===c.get&&n?.set===c.set&&(r?Object.defineProperty(e,t,r):Reflect.deleteProperty(e,t))}}function rn(e,t,n){e.hasAttribute(t)?n(e.getAttribute(t)):e[t]!==void 0&&n(e[t]);let r=nn(e,t,n),i=$t(e,t,e=>n(e)),a=i.disconnect.bind(i);return i.disconnect=()=>{r?.(),a()},i}function an(e,t){let{left:n,right:r,top:i,bottom:a}=t.getBoundingClientRect();return e.clientX<n||e.clientX>r||e.clientY<i||e.clientY>a}function on(e){return e.buttons===2&&!e.ctrlKey||e.buttons===1&&e.ctrlKey}function sn(e,t=10){return cn(e,t).filter(e=>Ut(e))}function cn(e,t=10){return Array.from(Zt(e)).reduce((e,n)=>[...e,[n,[...Array.from(Zt(n)).map(e=>[e,cn(e,t)])]]],[]).flat(t)}function ln(e){return un.has(e.code)}var w=/* @__PURE__ */ function(e){return e.End=`End`,e.Home=`Home`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.ArrowUp=`ArrowUp`,e.ArrowDown=`ArrowDown`,e.ArrowLeft=`ArrowLeft`,e.ArrowRight=`ArrowRight`,e}({}),un=new Set(Object.values(w));function dn(e){return e.some(t=>t.children.length!==e[0].children.length)}function fn(e){e?.wholeText?.trim()===``&&e.remove()}function pn(e){return e.scrollWidth>e.clientWidth}function mn(e,t=0){return e.scrollTop+e.offsetHeight+t>=e.scrollHeight}async function hn(){let e=globalThis.EyeDropper;if(!e)return vt.warn(`EyeDropper API is unavailable`),``;try{return(await new e().open()).sRGBHex}catch(e){return vt.warn(`EyeDropper selection failed: ${e.message}`),``}}function gn(e){_n(e)&&e.assignedNodes().forEach(e=>e.parentNode?.removeChild(e))}function _n(e){let t=!e.assignedNodes().find(e=>e.nodeType!==Node.TEXT_NODE),n=!e.assignedNodes().find(e=>e.nodeType===Node.TEXT_NODE&&(e.textContent??``).trim()!==``);return t&&n}function vn(e,t){let n=e.assignedNodes(),r=e.name??`slot`;n.length?t._internals.states.add(`has-${r}`):t._internals.states.delete(`has-${r}`)}function yn(e){return e?.label||e?.value||``}function bn(e,t){return e.localName===t.metadata.tag}function xn(e){let t=globalThis.document.createElement(`div`),{width:n}=e.getBoundingClientRect();return t.setAttribute(`nve-ghost`,``),t.style.minWidth=`${n}px`,t.style.maxWidth=`${n}px`,t.style.height=`1px`,t.slot=e.slot,t}function Sn(e){return e.style.anchorName?.split(`,`)?.map(e=>e.trim())?.filter(e=>e!==`none`&&e!==``)??[]}function Cn(e,t){let n=Sn(e);e.style.anchorName=n.filter(e=>e!==t).join(`,`)}function wn(e,t){e.style.anchorName=Array.from(/* @__PURE__ */ new Set([...Sn(e),t])).join(`,`)}function Tn(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function En(e){return Array.from(new Set(Array.from(e).filter(e=>typeof e==`string`&&e.length>0)))}function Dn(){return e=>e.addInitializer(e=>new On(e))}var On=class{#e;#t;#n;#r=/* @__PURE__ */ new WeakSet;#i=Vt(()=>this.#c(),500,{trailing:!0});get#a(){return{grid:this.host,...this.host.keynavGridConfig}}get#o(){let e=Array.from(this.#a.rows);return this.#a.columnRow&&e.unshift(this.#a.columnRow),e}get#s(){let{columns:e,cells:t}=this.#a;return[...Array.from(e??[]),...Array.from(t)]}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,this.host.isConnected&&(this.#t=this.#a.grid,this.#c(),this.#t.addEventListener(`keyup`,this.#m),this.#t.addEventListener(`keydown`,this.#f),this.#t.addEventListener(`mouseup`,this.#d),this.#e?.disconnect(),this.#e=new MutationObserver(this.#l),this.#e.observe(this.#t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`]}))}hostDisconnected(){this.#e?.disconnect(),this.#e=void 0,this.#i.cancel(),this.#t?.removeEventListener(`keyup`,this.#m),this.#t?.removeEventListener(`keydown`,this.#f),this.#t?.removeEventListener(`mouseup`,this.#d),this.#t=void 0,this.#n=void 0}#c(){let e=this.#s,t=e.find(e=>e.tabIndex===0)??(this.#n&&e.includes(this.#n)?this.#n:e[0]);this.#n=t,this.#r=new WeakSet(e);for(let n of e){let e=n===t?`0`:`-1`;n.getAttribute(`tabindex`)!==e&&n.setAttribute(`tabindex`,e)}}#l=e=>{e.some(e=>{if(e.type===`attributes`){let t=e.target;return t instanceof HTMLElement&&this.#r.has(t)&&t.getAttribute(`tabindex`)!==(t===this.#n?`0`:`-1`)}return[...e.addedNodes,...e.removedNodes].some(e=>e.nodeType===Node.ELEMENT_NODE)})&&this.#i()};#u(){this.#l(this.#e?.takeRecords()??[]),this.#i.flush()}#d=e=>{if(!on(e)){this.#u();let t=e.composedPath()[0],n=this.#s.find(e=>e===t)?t:null;n&&this.#p(e,n)}};#f=e=>{if(!ln(e))return;this.#u();let t=Array.from(this.#o),n=Array.from(this.#s);if(h.state.env!==`production`&&dn(t))vt.warn(`Invalid grid structure, all rows must have the same number of cells`);else if(Wt(Gt())){let{x:r,y:i}=jn(n,t,{code:e.code,ctrlKey:e.ctrlKey,dir:this.host.dir}),a=Array.from(cn(t[i])).filter(e=>!!n.find(t=>t===e))[r];this.#p(e,a),e.preventDefault()}};#p(e,t){this.#n=t,Jt(this.#s,t);let n=sn(t),r=n.filter(e=>Wt(e));r.length===1&&n.length===1?Kt(r[0]):Kt(t);let i={code:e instanceof KeyboardEvent?e.code:null,shiftKey:e.shiftKey,activeItem:t};t.dispatchEvent(new CustomEvent(`nve-key-change`,{bubbles:!0,composed:!0,detail:i}))}#m=e=>{if(e.code!==`Enter`&&e.code!==`Escape`)return;this.#u();let t=Array.from(this.#s).find(e=>e.tabIndex===0);e.code===`Escape`&&t?.focus(),e.code===`Enter`&&t===e.composedPath()[0]&&sn(t)[0]?.focus()}};function kn(e,t){let n=t===`rtl`?w.ArrowRight:w.ArrowLeft,r=t===`rtl`?w.ArrowLeft:w.ArrowRight;return e===w.ArrowUp?{dx:0,dy:-1}:e===w.ArrowDown?{dx:0,dy:1}:e===n?{dx:-1,dy:0}:e===r?{dx:1,dy:0}:e===w.PageUp?{dx:0,dy:-4}:e===w.PageDown?{dx:0,dy:4}:null}function An(e,t,n){let{x:r,y:i}=t,{columnCount:a,rowCount:o,ctrlKey:s}=n;return e===w.End?{x:a,y:s?o:i}:e===w.Home?{x:0,y:s?0:i}:{x:r,y:i}}function jn(e,t,n){let r=e.find(e=>e.tabIndex===0),i=t.find(e=>cn(e).find(e=>e===r)),a=Array.from(cn(i)).filter(t=>!!e.find(e=>e===t)),o=t.length-1,s=a.length-1,c=a.indexOf(r),l=t.indexOf(i),u=kn(n.code,n.dir);return u?(c=Math.max(0,Math.min(s,c+u.dx)),l=Math.max(0,Math.min(o,l+u.dy))):{x:c,y:l}=An(n.code,{x:c,y:l},{columnCount:s,rowCount:o,ctrlKey:n.ctrlKey}),{x:c,y:l}}function Mn(){return e=>e.addInitializer(e=>new Nn(e))}var Nn=class{get#e(){return{layout:`horizontal`,manageFocus:!0,manageTabindex:!0,loop:!1,dir:this.host.getAttribute(`rtl`),...this.host.keynavListConfig,items:Array.from(this.host.keynavListConfig.items).filter(e=>!e.disabled)}}constructor(e){this.host=e,this.host.addController(this)}get#t(){return this.host.hasAttribute(`nve-keynav-disabled`)}async hostConnected(){await this.host.updateComplete,this.host.isConnected&&(this.#n(),this.host.addEventListener(`pointerup`,this.#c),this.host.addEventListener(`keydown`,this.#l))}hostDisconnected(){this.host.removeEventListener(`pointerup`,this.#c),this.host.removeEventListener(`keydown`,this.#l)}refreshItems(e){let{manageFocus:t,manageTabindex:n,items:r,initialItem:i}=this.#e;if(!t||!n||this.#t)return;let a=r.find(e=>e.matches(`:focus-within`))??r.find(t=>e.includes(t)&&t.tabIndex===0)??(i&&r.includes(i)?i:r[0]);Array.from(this.host.keynavListConfig.items).forEach(e=>{e.tabIndex=e===a?0:-1})}#n(){let{manageFocus:e,manageTabindex:t,items:n,initialItem:r}=this.#e;e&&t&&!this.#t&&(Yt(n),r&&n.includes(r)&&Jt(n,r))}#r(e){let t=this.#o(e,this.#e.items);t&&this.#s(e,t)}#i(e){if(ln(e)&&!this.#t){let{loop:t,layout:n,dir:r,items:i}=this.#e,a=this.#a(e,i);if(a){let{next:o,previous:s}=Ln(a,Array.from(i),{loop:t,layout:n,dir:r,code:e.code});o!==s&&this.#s(e,i[o],i[s])}}}#a(e,t){let n=e.composedPath()[0];return n instanceof HTMLElement&&t.includes(n)?n:null}#o(e,t){let n=e.composedPath(),r=n.findIndex(e=>e instanceof HTMLElement&&t.includes(e)),i=n[r];return i instanceof HTMLElement?n.slice(0,r).some(e=>e instanceof Element&&Ut(e))?null:i:null}#s(e,t,n){let{manageFocus:r,manageTabindex:i,items:a}=this.#e;r&&(i&&Jt(a,t),Kt(t),e.preventDefault());let o={activeItem:t,previousItem:n,code:e instanceof KeyboardEvent?e.code:null,metaKey:e.ctrlKey||e.metaKey,items:a};t.dispatchEvent(new CustomEvent(`nve-key-change`,{bubbles:!0,composed:!0,detail:o}))}#c=e=>this.#r(e);#l=e=>this.#i(e)};function Pn(e){let{code:t,layout:n,dir:r}=e,i=r===`rtl`?w.ArrowRight:w.ArrowLeft,a=r===`rtl`?w.ArrowLeft:w.ArrowRight;if(n!==`horizontal`){if(t===w.ArrowUp)return`backward`;if(t===w.ArrowDown)return`forward`}if(n!==`vertical`){if(t===i)return`backward`;if(t===a)return`forward`}return null}function Fn(e){return e===w.End?`end`:e===w.Home?`home`:e===w.PageUp?`pageup`:e===w.PageDown?`pagedown`:null}function In(e,t,n){let{limit:r,loop:i}=n,a=e+t;return a>=0&&a<=r?a:i?t<0?r:0:e}function Ln(e,t,n){let r=t.indexOf(e),i=r,a=t.length-1;switch(Pn(n)??Fn(n.code)){case`backward`:r=In(r,-1,{limit:a,loop:n.loop});break;case`forward`:r=In(r,1,{limit:a,loop:n.loop});break;case`end`:r=a;break;case`home`:r=0;break;case`pageup`:r=Math.max(0,r-4);break;case`pagedown`:r=Math.min(a,r+4)}return{next:r,previous:i}}function T(e){e._internals===void 0&&(e._internals=e.attachInternals())}function Rn(e,t){e&&t&&(t.id=t.id?t.id:Qt(),e.htmlFor=t.id)}function zn(e,t){e&&t&&(e.id=e.id?e.id:Qt(),t.setAttribute(`aria-labelledby`,e.id))}function Bn(e,t){if(e.length&&t){let n=e.map(e=>e.id=Qt()).join(` `);t.setAttribute(`aria-describedby`,n)}}function Vn(e,t){e&&(e.id=e.id?.length?e.id:Qt(),t.setAttribute(`list`,e.id))}function Hn(e){if(!e.find(e=>e?.name?.length)){let t=Qt();e.forEach(e=>e.name=t)}}function Un(){return e=>e.addInitializer(e=>new Wn(e))}var Wn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){T(this.host)}hostUpdated(){this.host.expanded!==null&&this.host.expanded!==void 0&&(this.host._internals.ariaExpanded=`${this.host.expanded}`),this.host.expanded?this.host._internals.states.add(`expanded`):this.host._internals.states.delete(`expanded`),this.host.readOnly&&(this.host._internals.ariaExpanded=null,this.host._internals.states.delete(`expanded`))}};function Gn(){return e=>e.addInitializer(e=>new Kn(e))}var Kn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){T(this.host)}hostUpdated(){this.host.highlighted?this.host._internals.states.add(`highlighted`):this.host._internals.states.delete(`highlighted`)}};function qn(){return e=>e.addInitializer(e=>new Jn(e))}var Jn=class{#e;#t;get#n(){return this.host.stateScrollConfig?.target||this.host}get#r(){return this.host.stateScrollConfig?.scrollOffset??0}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){await this.host.updateComplete,T(this.host),this.#i()}hostUpdated(){this.#i()}hostDisconnected(){this.#l()}#i(){let e=this.#n;this.#e!==e&&(this.#l(),this.#e=e,this.#e.addEventListener(`scrollend`,this.#a),this.#c())}#a=()=>{this.#s(),this.host._internals.states.has(`scrolling`)&&(this.#t=setTimeout(()=>{this.#t=void 0,this.host._internals.states.delete(`scrolling`)},100)),this.#c(),this.#e&&mn(this.#e,this.#r)&&this.host.dispatchEvent(new CustomEvent(`scrollboxend`,{bubbles:!0,composed:!0}))};#o=()=>{this.#s();let e=this.host._internals.states;e.has(`scrolling`)||e.add(`scrolling`)};#s(){this.#t!==void 0&&(clearTimeout(this.#t),this.#t=void 0)}#c(){this.#e?.removeEventListener(`scroll`,this.#o),this.#e?.addEventListener(`scroll`,this.#o,{once:!0})}#l(){this.#s(),this.#e?.removeEventListener(`scroll`,this.#o),this.#e?.removeEventListener(`scrollend`,this.#a),this.#e=void 0;let e=this.host._internals?.states;e?.has(`scrolling`)&&e.delete(`scrolling`)}};function Yn(){return e=>e.addInitializer(e=>new Xn(e))}var Xn=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){T(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaSelected=null,this.host._internals.states.delete(`selected`)):this.host._internals?.states.has(`anchor`)&&this.host.selected?(this.host._internals.ariaSelected=null,this.host._internals.states.add(`selected`),this.host.querySelector(`a`)?.setAttribute(`aria-current`,`page`)):(this.host.selected!==null&&this.host.selected!==void 0&&(this.host._internals.ariaSelected=`${this.host.selected}`),this.host.selected?this.host._internals.states.add(`selected`):this.host._internals.states.delete(`selected`))}};function Zn(){return e=>e.addInitializer(e=>new Qn(e))}var Qn=class{get#e(){return this.#t?this.#t:this.#n}get#t(){return this.host.shadowRoot.querySelector(`slot, slot[name=anchor]`)?.assignedElements()?.find(e=>e?.tagName===`A`)}get#n(){return this.host.parentElement?.tagName===`A`?this.host.parentElement:null}get#r(){return this.host.shadowRoot.querySelector(`slot:not([name])`)}get#i(){return this.host.shadowRoot.querySelector(`slot[name=anchor]`)}constructor(e){this.host=e,this.host.addController(this)}async hostConnected(){T(this.host),await this.host.updateComplete,this.#a(),this.#e?(this.host.readOnly=!0,this.host._internals?.states.add(`anchor`)):this.host._internals?.states.delete(`anchor`),this.#n&&(this.#n.style.textDecoration=`none`,this.host.style.cursor=`pointer`),this.#e?.addEventListener(`click`,e=>{this.host.disabled&&(e.preventDefault(),e.stopImmediatePropagation())})}#a(){this.#e&&this.#i&&(this.#e.slot=`anchor`,this.#r?.assignedNodes().forEach(e=>fn(e)))}},$n=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){T(this.host),this.host.addEventListener(`command`,()=>{this.host.hidden=!0,this.#e()})}close(){this.host.closable&&this.#e()}#e(){this.host.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0}))}},er=class{#e=!1;#t=!1;constructor(e,t={}){this.host=e,this.#t=t.useHidden??!1,this.host.addController(this)}hostConnected(){T(this.host),this.host.addEventListener(`command`,(e=>{this.#e=!0,e.command===`--toggle`&&this.toggle(),e.command===`--open`&&this.open(),e.command===`--close`&&this.close(),this.#e=!1}))}hostUpdated(){this.host.expandable?this.host._internals.states.add(`expandable`):this.host._internals.states.delete(`expandable`)}open(){(this.host.behaviorExpand||this.#e)&&(this.host.expanded=!0,this.#t&&(this.host.hidden=!1)),this.host.dispatchEvent(new CustomEvent(`open`,{bubbles:!0,composed:!0}))}close(){(this.host.behaviorExpand||this.#e)&&(this.host.expanded=!1,this.#t&&(this.host.hidden=!0)),this.host.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0}))}toggle(){this.host.expanded||this.#t&&!this.host.hidden?this.close():this.open()}},tr=class{#e=!1;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){T(this.host),this.host.addEventListener(`command`,(e=>{this.#e=!0,e.command===`--toggle-select`&&this.toggle(),e.command===`--select`&&this.select(),e.command===`--deselect`&&(this.host.selected=!1),this.#e=!1}))}hostUpdated(){this.host.selectable===`single`?this.host._internals.states.add(`selectable-single`):this.host._internals.states.delete(`selectable-single`),this.host.selectable===`multi`?this.host._internals.states.add(`selectable-multi`):this.host._internals.states.delete(`selectable-multi`)}select(){(this.host.behaviorSelect||this.#e)&&(this.host.selected=!0),this.host.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:this.host}))}deselect(){(this.host.behaviorSelect||this.#e)&&(this.host.selected=!1),this.host.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:this.host}))}toggle(){this.host.selected?this.deselect():this.select()}};function nr(e,t){return typeof t==`string`?cn(e.parentNode).filter(e=>e?.id!==``).find(e=>e.id===t)??globalThis.document.body:t}function rr(e){let t=e.anchor;if(typeof t==`string`&&t?.length){let n=cn(e.parentNode).find(e=>e.id===t);return n||vt.warn(Tt(t)),n??globalThis.document.body}return t&&t!==globalThis.document.body?t:globalThis.document.body}function ir(e){return!!cn(e).filter(e=>e.popover&&e.matches(`:popover-open`)).length}var ar=class{get#e(){let e=this.host.getRootNode(),t=Array.from(e.querySelectorAll(`[popovertarget="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`)),n=Array.from(e.querySelectorAll(`[commandfor="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`)),r=Array.from(e.querySelectorAll(`[interestfor="${CSS.escape?CSS.escape(this.host.id):this.host.id}"]`));return[...t,...n,...r]}constructor(e){this.host=e,this.host.addController(this);let t=this.host.showPopover;this.host.showPopover=e=>{if(this.host.isConnected){let n=e?.source??null;n||=this.host.anchor?rr(this.host):this.host.trigger?nr(this.host,this.host.trigger):globalThis.document.activeElement,t.call(this.host,{source:n})}}}async hostConnected(){T(this.host),this.host.popover=this.host.popoverType??null,await this.host.updateComplete,this.host.isConnected&&(this.host.setAttribute(`nve-popover`,``),this.#m(),this.#p(),this.#d(),this.host.inert=this.host.matches(`:not(:popover-open)`)&&!!this.#e.length,this.host.addEventListener(`beforetoggle`,this.#b),this.host.addEventListener(`toggle`,this.#x),this.host.addEventListener(`command`,this.#S),this.host.addEventListener(`interest`,this.#C),this.host.addEventListener(`loseinterest`,this.#w))}#t=null;#n=null;#r=[];#i=null;#a=null;async hostUpdated(){this.host.popover=this.host.popoverType??null,this.#m()}hostDisconnected(){this.#r.forEach(e=>e.disconnect()),this.#r.length=0,this.host.removeEventListener(`beforetoggle`,this.#b),this.host.removeEventListener(`toggle`,this.#x),this.host.removeEventListener(`command`,this.#S),this.host.removeEventListener(`interest`,this.#C),this.host.removeEventListener(`loseinterest`,this.#w),this.host.removeEventListener(`pointerdown`,this.#T),this.host.removeEventListener(`pointerup`,this.#E),this.#y(),this.#c(),this.#s()}#o(){this.#s(),this.host.closeTimeout&&(this.#n=setTimeout(()=>this.host.hidePopover(),this.host.closeTimeout))}#s(){this.#n&&=(clearTimeout(this.#n),null)}#c(){this.#t&&=(clearTimeout(this.#t),null)}#l(){let e=getComputedStyle(this.host).interestDelayStart;if(!e)return 0;let t=parseFloat(e);return e.endsWith(`ms`)?t:t*1e3}#u=!1;#d(){this.host.removeEventListener(`pointerdown`,this.#T),this.host.removeEventListener(`pointerup`,this.#E),this.host.addEventListener(`pointerdown`,this.#T),this.host.addEventListener(`pointerup`,this.#E)}get#f(){return this.host.trigger?nr(this.host,this.host.trigger):null}async#p(){await new Promise(e=>requestAnimationFrame(e));let e=new MutationObserver(()=>{this.host.isConnected&&!this.host.hidden&&!this.host.matches(`:popover-open`)&&this.host.showPopover(),this.host.isConnected&&this.host.hidden&&this.host.matches(`:popover-open`)&&this.host.hidePopover()});e.observe(this.host,{attributes:!0,attributeFilter:[`hidden`]}),this.#r.push(e),this.host.isConnected&&!this.#e.length&&!this.host.hidden&&!this.host.matches(`:popover-open`)&&(this.host.popover=`manual`,this.host.showPopover())}#m(){let e=this.#f;this.#i&&this.#i!==e&&this.#v(this.#i),this.#a&&this.#a!==e&&this.#y(),e?(this.host.popoverType===`hint`?this.#h(e):this.#g(e),this.#i=e):this.#i=null}#h(e){this.#a!==e&&(e.addEventListener(`mouseenter`,this.#D),e.addEventListener(`mouseleave`,this.#O),e.addEventListener(`focusout`,this.#O),this.#a=e)}#g(e){this.#y(),this.host.id=this.host.id?this.host.id:Qt(),e.popoverTargetElement=this.host,e.setAttribute(`popovertarget`,this.host.id)}#_(e,t){e?this.host.getRootNode().activeElement!==this.host&&!this.host.shadowRoot.activeElement&&Kt(this.host):Kt(t)}#v(e){e.popoverTargetElement=null,e.removeAttribute(`popovertarget`),this.#a===e&&this.#y()}#y(){this.#a?.removeEventListener(`mouseenter`,this.#D),this.#a?.removeEventListener(`mouseleave`,this.#O),this.#a?.removeEventListener(`focusout`,this.#O),this.#a=null}#b=e=>{e.newState===`open`&&this.host._internals.states.add(`transition-start`)};#x=e=>{this.host.behaviorTrigger&&(this.host.hidden=e.newState===`closed`),e.newState===`open`&&this.host.closeTimeout&&this.#o(),e.newState===`closed`&&(this.#c(),this.#s()),this.host.inert=this.host.matches(`:not(:popover-open)`),this.host.modal&&this.#_(e.newState===`open`,e.target),this.host.dispatchEvent(new CustomEvent(e.newState===`open`&&e.oldState!==`open`?`open`:`close`,{bubbles:!0,composed:!0,detail:{trigger:e.source}}))};#S=e=>{e.command===`toggle-popover`&&this.host.togglePopover({source:e.source}),e.command===`hide-popover`&&(this.host.hidePopover(),this.#c()),e.command===`show-popover`&&this.host.showPopover({source:e.source})};#C=e=>{if(e.source?.localName.includes(`-`)){let t=this.host.openDelay??this.#l();t?this.#t=setTimeout(()=>{this.host.isConnected&&this.host.showPopover({source:e.source})},t):this.host.showPopover({source:e.source})}};#w=e=>{e.source?.localName.includes(`-`)&&this.host.hidePopover(),this.#c()};#T=e=>{this.host.modal&&this.host.matches(`:popover-open`)&&(this.#u=an(e,this.host))};#E=e=>{this.#u&&this.host.popoverDismissible&&this.host.modal&&this.host.matches(`:popover-open`)&&!ir(this.host)&&an(e,this.host)&&this.host.hidePopover()};#D=e=>{this.host.showPopover({source:e.currentTarget})};#O=()=>{this.host.hidePopover()}};function E(e={log:!0}){return t=>t.addInitializer(t=>new or(t,e))}var or=class{constructor(e,t){if(this.host=e,this.options=t,this.didSSR=!!this.host.shadowRoot,this.#e=!0,this.host.addController(this),this.didSSR){let t=this.options,n=e.update;Object.defineProperty(e,"update",{value:function(){try{n.call(e)}catch{let n=e.renderRoot;n.innerHTML=n.innerHTML.split(`<!--lit-part `)[0],dt(e.render(),n,e.renderOptions),f()!==`production`&&t.log&&vt.warn(Et(e.localName))}return n}})}}#e;hostUpdated(){this.didSSR&&this.#e&&(this.#e=!1,this.host.shadowRoot?.querySelectorAll(`slot`).forEach(e=>{e.dispatchEvent(new Event(`slotchange`,{bubbles:!0,composed:!1,cancelable:!1}))}),this.host._internals?.role&&this.host.setAttribute(`role`,this.host._internals.role))}};function D(e={type:String,reflect:!0}){return b({type:String,reflect:!0,...e})}var sr=/* @__PURE__ */ new WeakSet;function cr(e,t){return{importNode:(n,r=!1)=>e.importNode(n,{customElementRegistry:t,selfOnly:!r})}}function lr(e,t){if(sr.has(e))return;let n=e.prototype,r=n.createRenderRoot;r&&(sr.add(e),Object.defineProperty(n,"createRenderRoot",{configurable:!0,value(){let e=r.call(this);return e instanceof ShadowRoot&&(this.renderOptions??={},this.renderOptions.creationScope=cr(e.ownerDocument,t)),e}}))}function O(){return e=>{let t=e,n=h.getScopedRegistry(t.metadata.version);ee&&(Object.defineProperty(t,"shadowRootOptions",{configurable:!0,value:{...t.shadowRootOptions??{mode:`open`},customElementRegistry:n}}),lr(t,n)),te(t,n)}}var ur=`:host{all:initial;display:block;visibility:inherit;box-sizing:border-box;font-size:inherit;pointer-events:inherit;contain:layout;font-family:var(--nve-ref-font-family);outline:var(--nve-debug-element-outline, initial);color-scheme:var(--nve-sys-color-scheme)}*,*:before,*:after{box-sizing:inherit}[hidden],:host([hidden]:not([nve-popover])){display:none!important}slot{display:contents}:host(:focus-within) [focus-within],:host(:focus) [focusable],:host([tabindex="0"]:focus) [focusable]{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}:host([nofocus]) [focus-within]{outline:0!important}:host(:focus-within:not(:focus-visible,[readonly])) [focus-within]:not([focusable=active]),:host(:focus:not(:focus-visible)) [focusable]:not([focusable=active]),:host([tabindex="0"]:focus:not(:focus-visible)) [focusable]:not([focusable=active]){outline:none!important;outline-offset:0!important}@supports selector(:state(focus)){:host(:state(focus)) [focusable],:host([tabindex="0"]:state(focus)){outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}}`,dr=`[interaction-state]{background-image:var( --background-image, linear-gradient( color-mix( in oklab, var(--nve-sys-interaction-state-base) 100%, var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio) ) 0 0 ) )!important}:host(:hover) [interaction-state],:host(:state(hover)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:active) [interaction-state],:host(:state(active)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-active)}:host([selected]) [interaction-state],:host(:state(selected)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([current]) [interaction-state],:host(:state(current)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([disabled]) [interaction-state],:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-disabled)}:host(:not(:state(anchor))[readonly]) [interaction-state],:host(:not(:state(anchor)):state(readonly)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}`,fr=`:host{--state-color-base: var(--nve-sys-status-color);--state-color-background: color-mix( in oklab, var(--state-color-base) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) );--state-color: color-mix(in oklab, var(--state-color-base), var(--nve-sys-text-emphasis-color) 16%)}:host([prominence="emphasis"]){--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color)}:host([color="red-cardinal"]){--state-color-base: var(--nve-ref-color-red-cardinal-1100)}:host([color="gray-slate"]){--state-color-base: var(--nve-ref-color-gray-slate-1100)}:host([color="gray-denim"]){--state-color-base: var(--nve-ref-color-gray-denim-1100)}:host([color="blue-indigo"]){--state-color-base: var(--nve-ref-color-blue-indigo-1100)}:host([color="blue-cobalt"]){--state-color-base: var(--nve-ref-color-blue-cobalt-1100)}:host([color="blue-sky"]){--state-color-base: var(--nve-ref-color-blue-sky-1100)}:host([color="teal-cyan"]){--state-color-base: var(--nve-ref-color-teal-cyan-1100)}:host([color="green-mint"]){--state-color-base: var(--nve-ref-color-green-mint-1100)}:host([color="teal-seafoam"]){--state-color-base: var(--nve-ref-color-teal-seafoam-1100)}:host([color="green-grass"]){--state-color-base: var(--nve-ref-color-green-grass-1100)}:host([color="yellow-amber"]){--state-color-base: var(--nve-ref-color-yellow-amber-1100)}:host([color="orange-pumpkin"]){--state-color-base: var(--nve-ref-color-orange-pumpkin-1100)}:host([color="red-tomato"]){--state-color-base: var(--nve-ref-color-red-tomato-1100)}:host([color="pink-magenta"]){--state-color-base: var(--nve-ref-color-pink-magenta-1100)}:host([color="purple-plum"]){--state-color-base: var(--nve-ref-color-purple-plum-1100)}:host([color="purple-violet"]){--state-color-base: var(--nve-ref-color-purple-violet-1100)}:host([color="purple-lavender"]){--state-color-base: var(--nve-ref-color-purple-lavender-1100)}:host([color="pink-rose"]){--state-color-base: var(--nve-ref-color-pink-rose-1100)}:host([color="green-jade"]){--state-color-base: var(--nve-ref-color-green-jade-1100)}:host([color="lime-pear"]){--state-color-base: var(--nve-ref-color-lime-pear-1100)}:host([color="yellow-nova"]){--state-color-base: var(--nve-ref-color-yellow-nova-1100)}:host([color="brand-green"]){--state-color-base: var(--nve-ref-color-brand-green-1100)}`,pr=`:host{--status-color: var(--nve-sys-status-color)}:host([status="scheduled"]){--status-color: var(--nve-sys-status-scheduled-color)}:host([status="queued"]){--status-color: var(--nve-sys-status-queued-color)}:host([status="pending"]){--status-color: var(--nve-sys-status-pending-color)}:host([status="starting"]){--status-color: var(--nve-sys-status-starting-color)}:host([status="running"]){--status-color: var(--nve-sys-status-running-color)}:host([status="restarting"]){--status-color: var(--nve-sys-status-restarting-color)}:host([status="stopping"]){--status-color: var(--nve-sys-status-stopping-color)}:host([status="finished"]){--status-color: var(--nve-sys-status-finished-color)}:host([status="failed"]){--status-color: var(--nve-sys-status-failed-color)}:host([status="unknown"]){--status-color: var(--nve-sys-status-unknown-color)}:host([status="ignored"]){--status-color: var(--nve-sys-status-ignored-color)}`,mr=`:host{--status-color: var(--nve-sys-support-emphasis-color)}:host([status="muted"]){--status-color: var(--nve-sys-text-muted-color)}:host([status="accent"]){--status-color: var(--nve-sys-support-accent-emphasis-color)}:host([status="success"]){--status-color: var(--nve-sys-support-success-emphasis-color)}:host([status="warning"]){--status-color: var(--nve-sys-support-warning-emphasis-color)}:host([status="danger"]){--status-color: var(--nve-sys-support-danger-emphasis-color)}`,hr=fr,gr=pr,_r=mr;function k(e){return[ce(ur),ce(dr),...e.map(e=>ce(e))]}
|
|
8
8
|
/* istanbul ignore file -- @preserve */
|
|
9
|
-
var
|
|
9
|
+
var vr=`:host{--animation-duration: var(--nve-ref-animation-duration-200);margin:calc(var(--nve-sys-layer-popover-offset) + calc(var(--nve-sys-layer-popover-arrow-offset) * 2));border:0;padding:0;background:none;position:fixed;overflow:visible;contain:initial;width:max-content;z-index:99;inset:revert;interest-delay-start:.5s}:host([popover]){opacity:0;pointer-events:none}:host([popover]:not(:popover-open)){display:none!important}:host(:state(transition-start)){transition-duration:var(--animation-duration);transition-timing-function:ease-in-out;transition-property:opacity,display,overlay,translate,transform;transition-behavior:allow-discrete}@supports not (container-type: anchored){:host{--animation-duration: 0}}:host(:popover-open){opacity:1;pointer-events:initial;@starting-style{opacity:0}}:host(:not([nve-popover])),:host([defer-hydration]){opacity:0!important;pointer-events:none!important}[internal-host]{width:var(--width);min-width:var(--min-width);font-family:inherit;display:flex;flex-direction:column;overflow:visible;white-space:nowrap;z-index:9999;border:0;margin:0;user-select:text}@supports (position-area: bottom){[internal-host]{position:relative}.arrow{position-area:bottom;translate:0% 50%}:host([position="top"]) .arrow{position-area:bottom;translate:0% 50%}:host([position="top"][alignment="end"]:not(:dir(rtl))) .arrow,:host([position="top"][alignment="start"]:dir(rtl)) .arrow{position-area:bottom right;translate:-50% 50%}:host([position="top"][alignment="start"]:not(:dir(rtl))) .arrow,:host([position="top"][alignment="end"]:dir(rtl)) .arrow{position-area:bottom left;translate:50% 50%}:host([position="bottom"]) .arrow{position-area:top;translate:0% -50%}:host([position="bottom"][alignment="end"]:not(:dir(rtl))) .arrow,:host([position="bottom"][alignment="start"]:dir(rtl)) .arrow{position-area:top right;translate:-50% -50%}:host([position="bottom"][alignment="start"]:not(:dir(rtl))) .arrow,:host([position="bottom"][alignment="end"]:dir(rtl)) .arrow{position-area:top left;translate:50% -50%}:host([position="left"]) .arrow{position-area:right;translate:50% 0%}:host([position="left"][alignment="end"]) .arrow{position-area:bottom right;translate:50% -50%}:host([position="left"][alignment="start"]) .arrow{position-area:top right;translate:50% 50%}:host([position="right"]) .arrow{position-area:left;translate:-50% 0%}:host([position="right"][alignment="end"]) .arrow{position-area:bottom left;translate:-50% -50%}:host([position="right"][alignment="start"]) .arrow{position-area:top left;translate:-50% 50%}:host([position="center"]){position-area:center}:host{inset:auto!important;place-self:normal!important;position-anchor:auto!important}:host([position="top"]){position-area:top center}:host([position="top"][alignment="start"]:not(:dir(rtl))),:host([position="top"][alignment="end"]:dir(rtl)){position-area:top left}:host([position="top"][alignment="end"]:not(:dir(rtl))),:host([position="top"][alignment="start"]:dir(rtl)){position-area:top right}:host([position="top"][alignment="start"]:not(:dir(rtl))),:host([position="top"][alignment="end"]:dir(rtl)){position-area:top span-right}:host([position="top"][alignment="end"]:not(:dir(rtl))),:host([position="top"][alignment="start"]:dir(rtl)){position-area:top span-left}:host([position="bottom"]){position-area:bottom center}:host([position="bottom"][alignment="start"]:not(:dir(rtl))),:host([position="bottom"][alignment="end"]:dir(rtl)){position-area:bottom span-right}:host([position="bottom"][alignment="end"]:not(:dir(rtl))),:host([position="bottom"][alignment="start"]:dir(rtl)){position-area:bottom span-left}:host([position="left"]){position-area:left center}:host([position="left"][alignment="end"]){position-area:left span-top}:host([position="left"][alignment="start"]){position-area:left span-bottom}:host([position="right"]){position-area:right center}:host([position="right"][alignment="end"]){position-area:right span-top}:host([position="right"][alignment="start"]){position-area:right span-bottom}:host([position="top"]){position-try-fallbacks:top,bottom,left,right}:host([position="bottom"]){position-try-fallbacks:bottom,top,left,right}:host([position="left"]){position-try-fallbacks:left,right,top,bottom}:host([position="right"]){position-try-fallbacks:right,left,top,bottom}}:host([position="center"][alignment="center"]){position-area:unset!important;margin:auto!important;inset:0!important}:host([popover][modal]):before{content:" ";display:block;inset:0;z-index:99;position:fixed}
|
|
10
10
|
[internal-host] { anchor-name: --internal-host }
|
|
11
11
|
.arrow { position-anchor: --internal-host }
|
|
12
|
-
`,Sr=new class{get i18n(){return{...d.state.i18nRegistry}}registerDefaults(e){let t=d.state.i18nRegistry,n=Object.entries(e).reduce((e,[n,r])=>(r!==void 0&&t[n]===void 0&&(e[n]=r),e),{});Object.keys(n).length>0&&d.merge({i18nRegistry:n})}update(e){d.dispatch(`NVE_ELEMENTS_I18N_UPDATE`,{i18nRegistry:e})}};function Cr(e){return t=>t.addInitializer(t=>new E(t,e))}var E=class{get i18n(){return{...this.defaults,...Sr.i18n,...this.host.i18n,__set:!1}}#e={};constructor(e,t={}){this.host=e,this.defaults=t,Sr.registerDefaults(t),this.host.addController(this)}hostConnected(){globalThis.document.addEventListener(`NVE_ELEMENTS_I18N_UPDATE`,this.#t)}hostDisconnected(){globalThis.document.removeEventListener(`NVE_ELEMENTS_I18N_UPDATE`,this.#t)}hostUpdate(){this.host.i18n.__set===void 0&&(this.#e=this.host.i18n,this.#t())}#t=()=>{this.host.i18n={...this.defaults,...Sr.i18n,...this.#e,__set:!0}}},wr=new class{get#e(){return globalThis.document.querySelector(`[type=speculationrules]`)}get#t(){return globalThis.document.documentElement.getAttribute(`nve-transition`)}#n;enable(){globalThis.document&&(this.#n?.disconnect(),this.#r(),this.#n=new MutationObserver(()=>this.#r()),this.#n.observe(globalThis.document.documentElement,{attributeFilter:[`nve-transition`]}))}disable(){this.#a(),this.#n?.disconnect()}#r(){globalThis.document&&this.#t===`auto`?this.#e||this.#i():this.#a()}#i(){let e=globalThis.document.createElement(`script`);e.id=`nve-speculationrules`,e.type=`speculationrules`,e.textContent=JSON.stringify({prerender:[{where:{href_matches:`/*`},eagerness:`moderate`}]}),globalThis.document.head.appendChild(e)}#a(){globalThis.document?.querySelector(`#nve-speculationrules`)?.remove()}},Tr={"":`information-circle`,undefined:`information-circle`,default:`information-circle`,accent:`information-circle`,warning:`exclamation-triangle`,success:`checkmark-circle`,danger:`exclamation-circle`,scheduled:`clock`,failed:`x-circle`,finished:`checkmark-circle`,unknown:`question-mark-circle`,queued:`bar-pill-stack`,running:`running`,restarting:`refresh`,stopping:`stop-sign`,pending:`circle-dash`,starting:`circle-dot`,ignored:`circle-angled-line`};function Er(e){let[t,n,r]=e.split(`.`).map(e=>{let t=parseInt(e,10);return Number.isNaN(t)?-1:t});return{major:t??-1,minor:n??-1,patch:r??-1}}function Dr(e){return new Intl.NumberFormat().format(e)}function Or(e,t){let n=e.signal?{signal:e.signal}:void 0;globalThis.document.addEventListener(`pointerup`,n=>{!e.element.hidden&&sn(n,e.element)&&sn(n,e.focusElement)&&t()},n),e.element.addEventListener(`keydown`,n=>{!e.element.hidden&&n.code===`Escape`&&(n.preventDefault(),Xt(e.focusElement),t())},n)}var kr=class extends Error{constructor(e,t){super(`(${e}): ${t}`),this.name=`FormControlError`}};function Ar(e,t,n){let r=jr(t,n);if(r===void 0)throw new kr(e,`unsupported value type ${typeof t}`);return r}function jr(e,t){switch(t.type){case`string`:return e;case`number`:return parseFloat(e);case`boolean`:return!!e||e===`true`;case`array`:case`object`:return JSON.parse(e);case`enum`:return t.enum.includes(e)?e:void 0;default:return}}function Mr(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function D(e){return e._internals===void 0&&(e._internals=e.attachInternals()),e._internals}function O(e,t,n){n?e.states.add(t):e.states.delete(t)}function Nr(e,t=10){return Array.from(Vr(e)).reduce((e,n)=>[...e,[n,[...Array.from(Vr(n)).map(e=>[e,Nr(e,t)])]]],[]).flat(t)}function Pr(e){let t=e.anchor;return typeof t==`string`&&t.length?e.parentNode?Nr(e.parentNode).find(e=>e.id===t)??globalThis.document.body:globalThis.document.body:t instanceof HTMLElement&&t!==globalThis.document.body?t:globalThis.document.body}function Fr(e){return typeof e==`string`&&e.length?e:e===``?``:null}function Ir(e,t,n){return n===null?!e.hasAttribute(t):e.getAttribute(t)===n}function Lr(e){return typeof HTMLFormElement<`u`&&e instanceof HTMLFormElement}function Rr(e){e?.wholeText?.trim()===``&&e.parentNode?.removeChild(e)}function zr(e,t,n){n===null?e.removeAttribute(t):e.setAttribute(t,n)}function Br(e){e.preventDefault(),e.stopPropagation()}function Vr(e){if(Hr(e))return Array.from(e.documentElement.children);if(Ur(e))return Array.from(e.shadowRoot.children);if(Wr(e)){let t=e.assignedElements();return t.length?t:Array.from(e.children)}return Array.from(e.children??[])}function Hr(e){return typeof Document<`u`&&e instanceof Document&&!!e.documentElement}function Ur(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement&&!!e.shadowRoot}function Wr(e){return typeof HTMLSlotElement<`u`&&e instanceof HTMLSlotElement&&!!e.assignedElements}function Gr(e){return class extends e{static{this.formAssociated=!0}#e;#t;get defaultValue(){return this.getAttribute(`value`)??``}set defaultValue(e){this.setAttribute(`value`,e)}get readOnly(){return this.getAttribute(`readonly`)!==null}set readOnly(e){D(this),this.toggleAttribute(`readonly`,e),O(this._internals,`readonly`,!!e),this._requestUpdate()}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){D(this),this.toggleAttribute(`disabled`,e),this._internals.ariaDisabled=e?`true`:`false`,O(this._internals,`disabled`,!!e),this._requestUpdate()}get required(){return this.getAttribute(`required`)!==null}set required(e){this.toggleAttribute(`required`,e),O(this._internals,`required`,!!e),this.checkValidity(),this._requestUpdate()}get pattern(){return this.getAttribute(`pattern`)??``}set pattern(e){e?this.setAttribute(`pattern`,e):this.removeAttribute(`pattern`),O(this._internals,`pattern`,!!e),this.checkValidity(),this._requestUpdate()}get min(){return Yr(this,`min`)}set min(e){Zr(this,`min`,e),O(this._internals,`min`,e!==null),this._internals.ariaValueMin=e===null?null:`${e}`,this.checkValidity(),this._requestUpdate()}get max(){return Yr(this,`max`)}set max(e){Zr(this,`max`,e),O(this._internals,`max`,e!==null),this._internals.ariaValueMax=e===null?null:`${e}`,this.checkValidity(),this._requestUpdate()}get step(){return Yr(this,`step`)}set step(e){Zr(this,`step`,e),O(this._internals,`step`,e!==null),this.checkValidity(),this._requestUpdate()}get minLength(){return this.hasAttribute(`minlength`)?Number(this.getAttribute(`minlength`)):-1}set minLength(e){$r(this,`minlength`,e),O(this._internals,`minlength`,this.minLength!==-1),this.checkValidity(),this._requestUpdate()}get maxLength(){return this.hasAttribute(`maxlength`)?Number(this.getAttribute(`maxlength`)):-1}set maxLength(e){$r(this,`maxlength`,e),O(this._internals,`maxlength`,this.maxLength!==-1),this.checkValidity(),this._requestUpdate()}get name(){return this.getAttribute(`name`)??``}set name(e){e?this.setAttribute(`name`,e):this.removeAttribute(`name`),this._updateFormState(),this._requestUpdate()}get noValidate(){return this.getAttribute(`novalidate`)!==null||this._internals.form?.noValidate===!0}set noValidate(e){this.toggleAttribute(`novalidate`,e),this._requestUpdate()}set value(e){this.updateValue(e),this._requestUpdate()}get value(){return this._value}updateValue(e){let t=this._value;this._value=structuredClone(e),!this.checkValidity()&&this._metadata.strict&&(this._value=t,console.error(`FormControlError: (strict mode)`,this.validationMessage)),!this.#t&&!this.isConnected&&(this._initialValue=structuredClone(this._value),this.#t=!0),this._updateFormState()}get form(){return this._internals.form}get willValidate(){return this._internals.willValidate}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get valueAsString(){return Kr(this.value)}get valueAsNumber(){return Number(this.value)}set valueAsNumber(e){typeof this._value==`number`&&typeof e==`number`?this.value=e:console.warn(new kr(this.localName,`cannot set number value on non-number type`).message)}get type(){return this.localName}get labels(){return this._internals.labels}get composedLabel(){return Array.from(this.labels).map(e=>e.textContent).join(` `).trim()}get _metadata(){return this.constructor.metadata}get _validators(){return this._metadata.validators??[]}constructor(...e){super(...e),this.#e=``,this.#t=!1,this._internals=D(this),this._stopInternalPropagation=e=>{let t=e.composedPath()[0];t instanceof Node&&this.shadowRoot?.contains(t)&&e.stopPropagation()},this._initialValue=this.value}connectedCallback(){D(this),super.connectedCallback&&super.connectedCallback(),this.tabIndex=0,this.#o(),this._updateFormState(),this.checkValidity(),this.shadowRoot?.addEventListener(`input`,this._stopInternalPropagation),this.shadowRoot?.addEventListener(`change`,this._stopInternalPropagation)}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.shadowRoot?.removeEventListener(`input`,this._stopInternalPropagation),this.shadowRoot?.removeEventListener(`change`,this._stopInternalPropagation)}static get observedAttributes(){return(super.observedAttributes??[]).concat([`value`,`readonly`,`required`,`name`,`novalidate`,`disabled`,`pattern`,`min`,`max`,`step`,`minlength`,`maxlength`])}attributeChangedCallback(e,t,n){super.attributeChangedCallback&&super.attributeChangedCallback(e,t,n),n!==t&&this._handleAttributeChange(e,n)}_handleAttributeChange(e,t){e===`value`?this.#l(t):this.#u(e,t)||this.#d(e,t)||this.#f(e,t)}formResetCallback(){this.reset()}formDisabledCallback(e){this.disabled=e}formStateRestoreCallback(e,t){this.value=e,this.checkValidity()}reportValidity(){return this.#n(),this._internals.reportValidity()}checkValidity(){return this.#n(),this._internals.checkValidity()}setValidity(e,t){this._internals.setValidity(e,t),this.#s()}setCustomValidity(e){this.#e=e,this.#n()}reset(){this.value=this.hasAttribute(`value`)?Ar(this.localName,this.defaultValue,this._metadata.valueSchema):structuredClone(this._initialValue),this.#c(),this.checkValidity(),this.dispatchEvent(new Event(`reset`,{bubbles:!0,cancelable:!0,composed:!0}))}#n(){this.noValidate?this._internals.setValidity({}):this.#a(this.#r()),this.#s()}#r(){if(this.#e)return ai({customError:!0},this.#e);let e=this.#i();if(!e.validity.valid)return e;for(let e of this._validators){let t=e(this.value,this);if(!t.validity.valid)return t}return{validity:{valid:!0},message:``}}#i(){return this.required&&ei(this.value)?ai({valueMissing:!0},`This field is required`):typeof this.value==`string`?ti({maxLength:this.maxLength,minLength:this.minLength,pattern:this.pattern,value:this.value}):typeof this.value==`number`?ni({max:this.max,min:this.min,step:this.step,value:this.value}):{validity:{valid:!0},message:``}}#a(e){e.validity.valid?this._internals.setValidity({}):this._internals.setValidity(e.validity,e.message,this.shadowRoot?.activeElement??void 0)}#o(){O(this._internals,`disabled`,this.disabled),O(this._internals,`readonly`,this.readOnly),O(this._internals,`required`,this.required),O(this._internals,`pattern`,!!this.pattern),O(this._internals,`min`,this.min!==null),O(this._internals,`max`,this.max!==null),O(this._internals,`step`,this.step!==null),O(this._internals,`minlength`,this.minLength!==-1),O(this._internals,`maxlength`,this.maxLength!==-1)}#s(){O(this._internals,`valid`,this.validity.valid),O(this._internals,`invalid`,!this.validity.valid)}#c(){this._internals.states.delete(`valid`),this._internals.states.delete(`invalid`)}#l(e){this.value=e===null?void 0:Ar(this.localName,e,this._metadata.valueSchema),this._initialValue=structuredClone(this.value),this.#t=!0}#u(e,t){return e===`readonly`?(this.readOnly=t!==null,!0):e===`disabled`?(this.disabled=t!==null,!0):e===`required`?(this.required=t!==null,!0):e===`novalidate`&&(this.noValidate=t!==null,this.checkValidity(),!0)}#d(e,t){return e===`name`?(this.name=t??``,!0):e===`pattern`&&(this.pattern=t??``,!0)}#f(e,t){e===`min`?this.min=Xr(t):e===`max`?this.max=Xr(t):e===`step`?this.step=Xr(t):e===`minlength`?this.minLength=Qr(t):e===`maxlength`&&(this.maxLength=Qr(t))}dispatchInputEvent(){this.dispatchEvent(new InputEvent(`input`,{bubbles:!0,cancelable:!0,composed:!0,data:this.valueAsString}))}dispatchChangeEvent(){this.dispatchEvent(new Event(`change`,{bubbles:!0,cancelable:!0,composed:!0}))}dispatchUpdateEvent(e){e===`input`?this.dispatchInputEvent():e===`change`&&this.dispatchChangeEvent()}_updateFormState(){if(!this.name)this._internals.setFormValue(null);else if(typeof this.value==`number`||typeof this.value==`boolean`)this._internals.setFormValue(`${this.value}`);else if(Mr(this.value)){let e=new FormData;Object.entries(this.value).filter(([e])=>e!==`value`).forEach(([t,n])=>{e.set(`${this.name}-${t}`,`${n}`)}),this._internals.setFormValue(e)}else if(Array.isArray(this.value)){let e=new FormData;this.value.forEach(t=>e.append(this.name,t)),this._internals.setFormValue(e)}else this._internals.setFormValue(this.value)}_requestUpdate(){this.requestUpdate&&this.requestUpdate()}}}function Kr(e){return e==null?``:qr(e)?`${e}`:Jr(e)?e.name:Array.isArray(e)||Mr(e)?JSON.stringify(e):JSON.stringify(e)??``}function qr(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`}function Jr(e){return typeof File<`u`&&e instanceof File}function Yr(e,t){return Xr(e.getAttribute(t))}function Xr(e){if(e===null||e===``)return null;let t=Number(e);return Number.isFinite(t)?t:null}function Zr(e,t,n){n===null||!Number.isFinite(n)?e.removeAttribute(t):e.setAttribute(t,`${n}`)}function Qr(e){let t=Xr(e);return t===null||t<0?-1:t}function $r(e,t,n){n<0||!Number.isFinite(n)?e.removeAttribute(t):e.setAttribute(t,`${n}`)}function ei(e){return e==null||e===``||Array.isArray(e)&&e.length===0}function ti({value:e,pattern:t,minLength:n,maxLength:r}){return t&&!ri(e,t)?ai({patternMismatch:!0},`pattern mismatch`):n!==-1&&e.length<n?ai({tooShort:!0},`value too short`):r!==-1&&e.length>r?ai({tooLong:!0},`value too long`):{validity:{valid:!0},message:``}}function ni({value:e,min:t,max:n,step:r}){return Number.isNaN(e)?ai({badInput:!0},`bad input`):t!==null&&e<t?ai({rangeUnderflow:!0},`value too low`):n!==null&&e>n?ai({rangeOverflow:!0},`value too high`):r!==null&&r>0&&ii(e,t??0,r)?ai({stepMismatch:!0},`step mismatch`):{validity:{valid:!0},message:``}}function ri(e,t){try{return RegExp(`^(?:${t})$`).test(e)}catch{return!0}}function ii(e,t,n){let r=(e-t)/n;return Math.abs(Math.round(r)-r)>2**-52}function ai(e,t){return{validity:{...e,valid:!1},message:t}}var oi=class{#e=null;#t=!1;constructor(e){this.host=e,this.host.addController(this)}get readOnly(){return this.#t}hostUpdated(){this.#s();let e=this.#n;this.#t=!!e,e?this.host._internals.states.add(`anchor`):this.host._internals.states.delete(`anchor`),this.#i&&(this.#i.style.textDecoration=`none`,this.host.style.cursor=`pointer`),this.#c(e)}hostDisconnected(){this.#l()}get#n(){return this.#r??this.#i}get#r(){return this.host.shadowRoot?.querySelector(`slot:not([name]), slot[name=anchor]`)?.assignedElements()?.find(e=>e?.tagName===`A`)}get#i(){return this.host.parentElement?.tagName===`A`?this.host.parentElement:null}get#a(){return this.host.shadowRoot?.querySelector(`slot:not([name])`)}get#o(){return this.host.shadowRoot?.querySelector(`slot[name=anchor]`)}#s(){this.#n&&this.#o&&(this.#n.slot=`anchor`,this.#a?.assignedNodes().forEach(e=>Rr(e)))}#c(e){this.#l(),this.#e=e??null,this.#e?.addEventListener(`click`,this.#u)}#l(){this.#e?.removeEventListener(`click`,this.#u),this.#e=null}#u=e=>{this.host.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}},si=class{#e=null;#t=0;#n;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.#n===void 0&&this.host.hasAttribute(`tabindex`)&&(this.#t=this.host.tabIndex)}hostUpdated(){this.#r(),this.host.readOnly?(this.host._internals.role&&this.host._internals.role!==`none`&&(this.#e=this.host._internals.role),this.host._internals.role=`none`):!this.host._internals.role||this.host._internals.role===`none`?this.host._internals.role=this.#e??`button`:this.#e=this.host._internals.role}#r(){let e=this.host.disabled||this.host.readOnly,t=this.#n===void 0||this.#n&&!e;e&&this.#n===!1&&(this.#t=this.host.tabIndex),this.#n=e,this.host.readOnly?(this.host.tabIndex=-1,this.host.removeAttribute(`tabindex`)):this.host.disabled?this.host.tabIndex=-1:t&&(this.host.tabIndex=this.#t)}},ci=class{#e;constructor(e,{events:t=[`click`]}={}){this.host=e,this.#e=[...new Set(t)],this.host.addController(this)}hostUpdated(){this.#t(),!this.host.readOnly&&!this.host.disabled&&this.#e.forEach(e=>this.host.addEventListener(e,this.#n))}hostDisconnected(){this.#t()}#t(){this.#e.forEach(e=>this.host.removeEventListener(e,this.#n))}#n=e=>{e.defaultPrevented||this.invoke()};invoke(){if(this.host.readOnly||this.host.disabled||!this.host.command)return!1;let e=this.target;return e?(e.dispatchEvent(new globalThis.CommandEvent(`command`,{command:this.host.command,source:this.host})),!0):(console.warn(`commandForElement`,this.host.commandForElement||this.host.getAttribute(`commandfor`),`not found`),!1)}get target(){if(this.host.commandForElement)return this.host.commandForElement;let e=this.host.getAttribute(`commandfor`);return e?Nr(this.host.getRootNode()).find(t=>t.id===e)??null:null}},li=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.host.addEventListener(`mouseenter`,this.#t),this.host.addEventListener(`mouseleave`,this.#n),this.host.addEventListener(`focus`,this.#t),this.host.addEventListener(`blur`,this.#n)}hostDisconnected(){this.host.removeEventListener(`mouseenter`,this.#t),this.host.removeEventListener(`mouseleave`,this.#n),this.host.removeEventListener(`focus`,this.#t),this.host.removeEventListener(`blur`,this.#n)}#t=e=>{e.type===`focus`&&!this.host.matches(`:focus-visible`)||this.host.popoverTargetElement?.matches(`:popover-open`)||this.#r(`interest`)};#n=()=>this.#r(`loseinterest`);#r(e){let t=this.#i();if(!t)return;let n=new Event(e,{cancelable:!0});n.source=this.host,t.dispatchEvent(n)}#i(){let e=this.#a();if(e!==void 0)return e;let t=this.#o(),n=this.#e;return this.#e=t,t&&this.host.interestForElement!==t?this.host.interestForElement=t:!t&&n&&this.host.interestForElement===n&&(this.host.interestForElement=null),t}#a(){let e=this.host.getAttribute(`interestfor`);if(e)return this.#e=null,this.#s(e);let t=this.host.interestForElement;if(t&&t!==this.#e)return this.#e=null,t}#o(){let e=this.host.popoverTargetElement;if(e instanceof HTMLElement&&e.popover===`hint`)return e;let t=this.#s(this.host.getAttribute(`popovertarget`));return t instanceof HTMLElement&&t.popover===`hint`?t:null}#s(e){return e?Nr(this.host.getRootNode()).find(t=>t.id===e)??null:null}},ui=class{#e;#t;#n;constructor(e){this.host=e,this.host.addController(this)}get defaultType(){return this.#e}hostUpdated(){this.#r(),this.#i(),!this.host.readOnly&&!this.host.disabled&&(this.host.addEventListener(`click`,this.#o),this.host.addEventListener(`keyup`,this.#a))}hostDisconnected(){this.#i(),this.#u()}#r(){!this.host.type&&!this.host.hasAttribute(`type`)&&this.host.form instanceof HTMLFormElement&&(this.#e=`submit`)}#i(){this.host.removeEventListener(`click`,this.#o),this.host.removeEventListener(`keyup`,this.#a)}#a=e=>{(e.key===` `||e.key===`Enter`||e.code===`Space`||e.code===`Enter`)&&this.host.click()};#o=e=>{this.host.disabled?Br(e):this.host.type===`submit`&&this.host.form instanceof HTMLFormElement?this.#s(this.host.form):this.host.type===`reset`&&this.host.form instanceof HTMLFormElement&&this.host.form.reset()};#s(e){this.#u(),this.#l(),this.#n=e,e.addEventListener(`submit`,this.#c,{once:!0}),this.#t?.remove(),e.appendChild(this.#t),e.requestSubmit(this.#t)}#c=()=>{let e=this.#t;this.#n=void 0,setTimeout(()=>{e?.remove(),this.#t===e&&(this.#t=void 0)},0)};#l(){this.#t||(this.#t=globalThis.document.createElement(`button`),this.#t.type=`submit`,this.#t.style.display=`none`),this.#t.name=this.host.name??``,this.#t.value=this.host.value??``}#u(){this.#n?.removeEventListener(`submit`,this.#c),this.#n=void 0,this.#t?.remove(),this.#t=void 0}},di=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.host.addEventListener(`click`,this.#n)}hostDisconnected(){this.host.removeEventListener(`click`,this.#n)}#e;#t(){let e=this.host.popoverTargetElement,t=e===this.#e;if(!this.host.getAttribute(`popovertarget`))return this.#e=void 0,t?(this.host.popoverTargetElement=null,null):e;if(e&&!t)return e;let n=Nr(this.host.getRootNode()).find(e=>e.id===this.host.getAttribute(`popovertarget`))??null;return n!==e&&(this.host.popoverTargetElement=n),this.#e=n,n}#n=e=>{if(e.defaultPrevented||this.host.disabled)return;let t=this.#t();t&&this.#i(t)&&this.#a()};#r(e){return e.anchor?Pr(e):this.host}#i(e){if(this.host.popoverTargetAction===`hide`)return e.hidePopover(),!1;let t=this.#r(e);return this.host.popoverTargetAction===`show`?e.showPopover({source:t}):e.togglePopover({source:t}),e.matches(`:popover-open`)}#a(){if(this.host.interestForElement){let e=new Event(`loseinterest`,{cancelable:!0});e.source=this.host,this.host.interestForElement.dispatchEvent(e)}}},fi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host),this.host.addEventListener(`keypress`,this.#e),this.host.addEventListener(`mousedown`,this.#e),this.host.addEventListener(`keyup`,this.#t),this.host.addEventListener(`blur`,this.#t),this.host.addEventListener(`mouseup`,this.#t)}hostDisconnected(){this.host.removeEventListener(`keypress`,this.#e),this.host.removeEventListener(`mousedown`,this.#e),this.host.removeEventListener(`keyup`,this.#t),this.host.removeEventListener(`blur`,this.#t),this.host.removeEventListener(`mouseup`,this.#t)}#e=e=>{!this.host.disabled&&this.#n(e)&&this.host._internals.states.add(`active`),e instanceof KeyboardEvent&&e.code===`Space`&&e.target===this.host&&e.preventDefault()};#t=()=>{this.host._internals.states.delete(`active`)};#n(e){return e instanceof KeyboardEvent?e.code===`Space`||e.code===`Enter`:!0}},pi=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaCurrent=null,O(this.host._internals,`current`,!1),this.#t()):this.host._internals?.states.has(`anchor`)?(this.host._internals.ariaCurrent=null,O(this.host._internals,`current`,!!this.host.current),this.#t()):(this.host._internals.ariaCurrent=this.host.current===null||this.host.current===void 0?null:this.host.current,O(this.host._internals,`current`,!!this.host.current))}#t(){let e=this.host.querySelector(`a`),t=!this.host.readOnly&&this.host._internals.states.has(`anchor`)&&!!(this.host.selected||this.host.current);e&&t?(this.#e?.removeAttribute(`aria-current`),e.setAttribute(`aria-current`,this.host.current??`page`),this.#e=e):(this.#e?.removeAttribute(`aria-current`),this.#e=null)}},mi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host.disabled!==null&&this.host.disabled!==void 0?this.host._internals.ariaDisabled=`${this.host.disabled}`:this.host._internals.ariaDisabled=null,this.host.disabled?this.host._internals.states.add(`disabled`):this.host._internals.states.delete(`disabled`),this.host.readOnly&&(this.host._internals.ariaDisabled=null)}},hi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host._internals.ariaExpanded=this.host.expanded===null||this.host.expanded===void 0?null:`${this.host.expanded}`,O(this.host._internals,`expanded`,!!this.host.expanded)}},gi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host._internals.ariaPressed=this.host.pressed===null||this.host.pressed===void 0?null:`${this.host.pressed}`,O(this.host._internals,`pressed`,!!this.host.pressed)}},_i=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host.readOnly&&(this.host._internals.ariaDisabled=null,this.host._internals.ariaExpanded=null,this.host._internals.ariaPressed=null,this.host._internals.ariaSelected=null,this.host._internals.ariaCurrent=null,this.host._internals.states.delete(`expanded`),this.host._internals.states.delete(`pressed`),this.host._internals.states.delete(`selected`),this.host._internals.states.delete(`current`))}},vi=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){D(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaSelected=null,O(this.host._internals,`selected`,!1),this.#t()):this.host._internals?.states.has(`anchor`)?(this.host._internals.ariaSelected=null,O(this.host._internals,`selected`,!!this.host.selected),this.#t()):(this.host._internals.ariaSelected=this.host.selected===null||this.host.selected===void 0?null:`${this.host.selected}`,O(this.host._internals,`selected`,!!this.host.selected))}#t(){let e=this.host.querySelector(`a`),t=!this.host.readOnly&&this.host._internals.states.has(`anchor`)&&!!(this.host.selected||this.host.current);e&&t?(this.#e?.removeAttribute(`aria-current`),e.setAttribute(`aria-current`,this.host.current??`page`),this.#e=e):(this.#e?.removeAttribute(`aria-current`),this.#e=null)}},yi={commandfor:`commandForElement`,interestfor:`interestForElement`,popovertarget:`popoverTargetElement`};function bi(e){return class t extends e{constructor(...e){super(...e),this.#n=!1,this.#r={commandForElement:null,interestForElement:null,popoverTargetElement:null},this.#a=null,this.#o=!1,this.#c=/* @__PURE__ */ new Map,this.#d=!1,this.#p=!1,this._internals=D(this),this._typeAnchorController=new oi(this),this._typeButtonController=new si(this),this._typeSubmitController=new ui(this),this._typeCommandController=new ci(this),this._typeInterestInvokerController=new li(this),this._typePopoverTriggerController=new di(this),this._stateActiveController=new fi(this),this._stateDisabledController=new mi(this),this._stateExpandedController=new hi(this),this._statePressedController=new gi(this),this._stateSelectedController=new vi(this),this._stateCurrentController=new pi(this),this._stateReadOnlyController=new _i(this)}static{this.formAssociated=!0}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;#h;static get observedAttributes(){return(super.observedAttributes??[]).concat([`pressed`,`expanded`,`readonly`,`form`,`name`,`value`,`type`,`disabled`,`selected`,`current`,`popovertarget`,`popovertargetaction`,`commandfor`,`command`,`interestfor`])}get pressed(){return this.#u}set pressed(e){this.#w({property:`pressed`,value:!!e,reflect:!0})}get expanded(){return this.#i}set expanded(e){this.#w({property:`expanded`,value:!!e,reflect:!0})}get readOnly(){return this.#d||(this._typeAnchorController?.readOnly??!1)}set readOnly(e){this.#w({property:`readOnly`,value:!!e,reflect:!0,attribute:`readonly`})}get readonly(){return this.readOnly}set readonly(e){this.readOnly=e}set form(e){let t=this.form;this.#a=e,typeof e==`string`?this.setAttribute(`form`,e):this.removeAttribute(`form`),this.#j(`form`,t),this.#g()}get form(){if(this.#a&&typeof this.#a!=`string`)return this.#a;if(typeof this.#a==`string`&&globalThis.document!==void 0){let e=this.getRootNode(),t=e.getElementById?e.getElementById(this.#a):null;return Lr(t)?t:null}return this._internals?.form??null}get name(){return this.#s}set name(e){this.#D({property:`name`,value:e})}get value(){return this.#h}set value(e){this.#D({property:`value`,value:e})}get type(){return this.#m??this._typeSubmitController?.defaultType}set type(e){this.#D({property:`type`,value:e})}get disabled(){return this.#n}set disabled(e){this.#w({property:`disabled`,value:!!e,reflect:!0})}get selected(){return this.#f}set selected(e){this.#w({property:`selected`,value:!!e,reflect:!0})}get current(){return this.#t}set current(e){this.#D({property:`current`,value:e})}get popoverTargetElement(){return this.#x(`popovertarget`)}set popoverTargetElement(e){this.#C(`popovertarget`,e)}get popoverTargetAction(){return this.#l===`show`||this.#l===`hide`?this.#l:`toggle`}set popoverTargetAction(e){this.#D({property:`popoverTargetAction`,value:e,attribute:`popovertargetaction`})}get commandForElement(){return this.#x(`commandfor`)}set commandForElement(e){this.#C(`commandfor`,e)}get command(){return this.#e}set command(e){this.#D({property:`command`,value:e})}get interestForElement(){return this.#x(`interestfor`)}set interestForElement(e){this.#C(`interestfor`,e)}addController(e){this._controllers??=/* @__PURE__ */ new Set,this._controllers.add(e)}connectedCallback(){super.connectedCallback?.(),this._controllers?.forEach(e=>e.hostConnected?.()),D(this),this.#o=!0,this.#N(),this.#_(),this.#g()}disconnectedCallback(){this._controllers?.forEach(e=>e.hostDisconnected?.()),super.disconnectedCallback?.()}updated(e){Object.getPrototypeOf(t.prototype).updated?.call(this,e),this.#p=!1,this.#_()}attributeChangedCallback(e,t,n){super.attributeChangedCallback?.(e,t,n),t!==n&&(this.#v(e,n),this.#b(e,t),this.#y(e,t,n))}#g(){!this.isConnected||this.#p||(this.#p=!0,this.#M().then(()=>{this.#p&&(this.#p=!1,this.isConnected&&this.#_())}))}#_(){this._controllers?.forEach(e=>e.hostUpdated?.())}#v(e,t){(e===`pressed`||e===`expanded`||e===`selected`||e===`disabled`)&&this.#w({property:e,value:t!==null,reflect:!1}),e===`readonly`&&this.#w({property:`readOnly`,value:t!==null,reflect:!1})}#y(e,t,n){e!==`commandfor`&&e!==`interestfor`&&e!==`popovertarget`&&(e===`form`&&(Lr(this.#a)&&n===null||(this.#a=n,this.#j(`form`,t))),e===`popovertargetaction`?this.#D({property:`popoverTargetAction`,value:n,reflect:!1}):this.#D({property:e,value:n,reflect:!1}))}#b(e,t){let n=yi[e];if(!n)return;let r=this.#r[n]??this.#S(t);this.#r[n]=null,this.#j(n,r),this.#g()}#x(e){return this.#r[yi[e]]??this.#S(this.getAttribute(e))}#S(e){return e?Nr(this.getRootNode()).find(t=>t.id===e)??null:null}#C(e,t){let n=yi[e],r=this[n];r===t&&Ir(this,e,t?``:null)||(zr(this,e,t?``:null),this.#r[n]=t,this.#j(n,r),this.#g())}#w({property:e,value:t,reflect:n,attribute:r=e}){let i=this.#T(e);(i!==t||n&&!Ir(this,r,t?``:null))&&(this.#E(e,t),!(n&&this.#A(r,t?``:null))&&(this.#j(e,i),this.#g()))}#T(e){return{disabled:this.#n,expanded:this.#i,pressed:this.#u,readOnly:this.#d,selected:this.#f}[e]}#E(e,t){e===`disabled`?this.#n=t:e===`expanded`?this.#i=t:e===`pressed`?this.#u=t:e===`readOnly`?this.#d=t:e===`selected`&&(this.#f=t)}#D({property:e,value:t,attribute:n=e,reflect:r=!0}){let i=this.#O(e),a=Fr(t);(i!==a||r&&!Ir(this,n,a))&&(this.#k(e,a),!(r&&this.#A(n,a))&&(this.#j(e,i),this.#g()))}#O(e){return{command:this.#e,current:this.#t,name:this.#s,popoverTargetAction:this.#l,type:this.#m,value:this.#h}[e]}#k(e,t){({command:()=>this.#e=t??void 0,current:()=>this.#t=t,name:()=>this.#s=t??void 0,popoverTargetAction:()=>this.#l=t,type:()=>this.#m=t,value:()=>this.#h=t??void 0})[e]?.()}#A(e,t){return!this.isConnected&&!this.#o?(this.hasAttribute(e)||this.#c.set(e,t),!0):(zr(this,e,t),!1)}#j(e,t){this.requestUpdate?.(e,t)}#M(){return this.updateComplete??Promise.resolve()}#N(){this.#c.forEach((e,t)=>zr(this,t,e)),this.#c.clear()}}}var xi=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--background: var(--nve-sys-interaction-background);--color: var(--nve-sys-interaction-color);--padding: 0 var(--nve-ref-size-300);--border: 0;--border-radius: var(--nve-ref-border-radius-full);--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-100);--text-decoration: none;--text-align: center;--cursor: pointer;--gap: var(--nve-ref-space-xs);--height: var(--nve-sys-interaction-field-height);--text-transform: capitalize;--line-height: 1.1em;--_icon-color: var(--color);--width: initial;--min-width: var(--width);display:inline-flex;position:relative;user-select:none;white-space:nowrap;width:var(--width);min-width:var(--min-width)}[internal-host]{color:var(--color);background:var(--background);padding:var(--padding);height:var(--height);width:100%;border:var(--border);border-radius:var(--border-radius);text-decoration:var(--text-decoration);text-align:var(--text-align);font-weight:var(--font-weight);font-size:var(--font-size);cursor:var(--cursor);gap:var(--gap);text-transform:var(--text-transform);display:inline-flex;place-items:center;justify-content:center;white-space:nowrap;line-height:var(--line-height);overflow:hidden}::slotted(nve-icon:not([status])){--color: var(--_icon-color);pointer-events:none}::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}:host([nve-control]){--text-align: start;--border-radius: var(--nve-ref-border-radius-sm);--font-weight: var(--nve-ref-font-weight-regular);--padding: 0 var(--nve-ref-size-200)}:host([nve-control]) [internal-host]{justify-content:start}:host([nve-control]) ::slotted([name="chevron-down"]){--color: var(--nve-sys-text-muted-color);margin-inline:auto 0}:host([nve-control]:hover) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([size="sm"]){--height: var(--nve-ref-size-700)}:host([size="lg"]){--height: var(--nve-ref-size-900);--padding: 0 var(--nve-ref-size-400);--font-size: var(--nve-ref-font-size-200);--line-height: 1em}:host([readonly]){--text-decoration: none;--cursor: cursor}:host([interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-color);--background: var(--nve-sys-interaction-emphasis-background)}:host([interaction="destructive"]){--color: var(--nve-sys-interaction-destructive-color);--background: var(--nve-sys-interaction-destructive-background)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: var(--nve-sys-interaction-disabled-background);--cursor: not-allowed}:host(:state(disabled)) ::slotted(a){cursor:not-allowed}:host(:state(pressed):not([interaction])){--color: var(--nve-sys-interaction-selected-color)}:host(:state(pressed):not([interaction],[container])){--background: var(--nve-sys-support-accent-color);--color: var(--nve-sys-text-white-color)}:host(:hover:not([interaction],[disabled],[readonly],[pressed])){--color: var(--nve-sys-interaction-hover-color)}:host([container="flat"][selected]) [interaction-state],:host([container="flat"]:state(selected)) [interaction-state],:host([container="flat"][pressed]) [interaction-state],:host([container="flat"]:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([container*="flat"]),:host([container*="inline"]){--background: transparent;--text-transform: initial;--border-radius: var(--nve-ref-border-radius-xs);--_icon-color: var(--color)}:host([container*="flat"][interaction]:hover){--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}@container style(--nve-sys-color-scheme: dark){:host([container*="flat"]){--nve-sys-interaction-state-ratio-selected: 16% !important;--nve-sys-interaction-state-ratio-hover: 12% !important}}:host([container*="flat"][interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-background)}:host([container*="flat"][interaction="destructive"]){--color: color-mix(in oklab, var(--nve-sys-interaction-destructive-background) 100%, currentColor 20%)}:host([container*="inline"]){--padding: 0;--height: fit-content;--line-height: .8;[internal-host]{overflow:initial}}:host([container*="inline"]:hover){--background: transparent;--text-decoration: underline}:host([container*="inline"]:hover) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"]:state(active)){--background: transparent;--text-decoration: underline}:host([container*="flat"]:state(disabled)),:host([container*="inline"]:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: transparent;--text-decoration: none !important}:host([container*="flat"]:state(disabled)) [interaction-state],:host([container*="inline"]:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"]:state(selected)){--color: var(--nve-sys-interaction-selected-color);--background: transparent}:host([container*="flat"]:state(selected)){--color: var(--nve-sys-interaction-selected-color)}:host([container*="flat"][interaction="emphasis"]:state(selected)){--color: var(--nve-sys-interaction-emphasis-background);--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}:host([container*="flat"][interaction="destructive"]:state(selected)){--color: var(--nve-sys-interaction-destructive-background);--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color)}:host([container*="inline"]:state(selected)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"][readonly]:not(:state(anchor))){--text-decoration: none;--cursor: cursor}:host([container="inline"][interaction="destructive"]){--color: color-mix(in oklab, var(--nve-sys-interaction-destructive-background) 100%, currentColor 20%)}:host([container="inline"][interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-background)}@keyframes inline-underline{0%{transform:translate(-50%) scaleX(0)}to{transform:translate(-50%) scaleX(1)}}:host([container*="inline"]) [internal-host]:after{content:"";position:absolute;left:50%;bottom:calc(var(--_border-bottom-offset, -2) * var(--nve-ref-border-width-md));width:var(--_border-bottom-width, 100%);height:var(--nve-ref-border-width-md);background-color:currentColor;transform:translate(-50%) scaleX(0);transform-origin:center;transition:transform .3s ease;will-change:transform;border-radius:var(--nve-ref-border-radius-full)}:host([container*="inline"]:hover) [internal-host]:after,:host([container*="inline"]:focus) [internal-host]:after{transform:translate(-50%) scaleX(1)}:host([container*="inline"]:state(disabled)) [internal-host]:after{display:none}:host([container*="inline"]){--text-decoration: none}:host([container*="inline"]:hover){--text-decoration: none}`;function k(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var Si=class extends bi(h){static{this.styles=T([xi])}static{this.metadata={tag:`nve-button`,version:`0.0.0`}}render(){return p`<div internal-host interaction-state focus-within><slot></slot></div>`}};k([g({type:String,reflect:!0})],Si.prototype,`container`,void 0),k([g({type:String,reflect:!0})],Si.prototype,`size`,void 0),k([g({type:String,reflect:!0})],Si.prototype,`interaction`,void 0);var Ci={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},wi=e=>(...t)=>({_$litDirective$:e,values:t}),Ti=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}},Ei=class extends Ti{constructor(e){if(super(e),this.it=m,e.type!==Ci.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===m||e==null)return this._t=void 0,this.it=e;if(e===$e)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Ei.directiveName=`unsafeHTML`,Ei.resultType=1;var Di=class extends Ei{};Di.directiveName=`unsafeSVG`,Di.resultType=2;var Oi=wi(Di);function A(e){return g({...e,state:!0,attribute:!1})}var ki=/* @__PURE__ */ n({default:()=>Ai}),Ai,ji=t((()=>{Ai=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dashed" viewBox="1 1 22 22"><path d="M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7"/></svg>`})),Mi=/* @__PURE__ */ n({default:()=>Ni}),Ni,Pi=t((()=>{Ni=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-triangle" viewBox="0 0 16 10"><path fill="currentColor" d="M8 0c.288 0 .563.125.753.342l7 8A1 1 0 0 1 15 10H1a1 1 0 0 1-.753-1.658l7-8A1 1 0 0 1 8 0"/></svg>`})),Fi=/* @__PURE__ */ n({default:()=>Ii}),Ii,Li=t((()=>{Ii=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-user" viewBox="4 2 16 20"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>`})),Ri=/* @__PURE__ */ n({default:()=>zi}),zi,Bi=t((()=>{zi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-menu" viewBox="3 4 18 16"><path d="M4 5h16M4 12h16M4 19h16"/></svg>`})),Vi=/* @__PURE__ */ n({default:()=>Hi}),Hi,Ui=t((()=>{Hi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-x" viewBox="5 5 14 14"><path d="M18 6 6 18M6 6l12 12"/></svg>`})),Wi=/* @__PURE__ */ n({default:()=>Gi}),Gi,Ki=t((()=>{Gi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-settings" viewBox="2.04 1.02 19.91 21.96"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg>`})),qi=/* @__PURE__ */ n({default:()=>Ji}),Ji,Yi=t((()=>{Ji=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevron-up" viewBox="5 8 14 8"><path d="m18 15-6-6-6 6"/></svg>`})),Xi=/* @__PURE__ */ n({default:()=>Zi}),Zi,Qi=t((()=>{Zi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-log-out" viewBox="2 2 20 20"><path d="m16 17 5-5-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/></svg>`})),$i=/* @__PURE__ */ n({default:()=>ea}),ea,ta=t((()=>{ea=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-copy" viewBox="1 1 22 22"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`})),na=/* @__PURE__ */ n({default:()=>ra}),ra,ia=t((()=>{ra=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-more-horizontal" viewBox="3 10 18 4"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>`})),aa=/* @__PURE__ */ n({default:()=>oa}),oa,sa=t((()=>{oa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-plus" viewBox="4 4 16 16"><path d="M5 12h14m-7-7v14"/></svg>`})),ca=/* @__PURE__ */ n({default:()=>la}),la,ua=t((()=>{la=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up" viewBox="4 4 16 16"><path d="m5 12 7-7 7 7m-7 7V5"/></svg>`})),da=/* @__PURE__ */ n({default:()=>fa}),fa,pa=t((()=>{fa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trash-2" viewBox="2 1 20 22"><path d="M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>`})),ma=/* @__PURE__ */ n({default:()=>ha}),ha,ga=t((()=>{ha=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-download" viewBox="2 2 20 20"><path d="M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m7 10 5 5 5-5"/></svg>`})),_a=/* @__PURE__ */ n({default:()=>va}),va,ya=t((()=>{va=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-search" viewBox="2 2 20 20"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg>`})),ba=/* @__PURE__ */ n({default:()=>xa}),xa,Sa=t((()=>{xa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-split-horizontal" viewBox="0 0 24 24"><path d="M12 2v20m4-19h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3m-8 0H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3"/></svg>`})),Ca=/* @__PURE__ */ n({default:()=>wa}),wa,Ta=t((()=>{wa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sparkles" viewBox="1 1 22 22"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4"/><circle cx="4" cy="20" r="2"/></svg>`})),Ea=/* @__PURE__ */ n({default:()=>Da}),Da,Oa=t((()=>{Da=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-branch" viewBox="2 2 20 20"><path d="M15 6a9 9 0 0 0-9 9V3"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/></svg>`})),ka=/* @__PURE__ */ n({default:()=>Aa}),Aa,ja=t((()=>{Aa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-refresh-cw" viewBox="2 2 20 20"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5m5 4a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></svg>`})),Ma=/* @__PURE__ */ n({default:()=>Na}),Na,Pa=t((()=>{Na=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevrons-up" viewBox="5 5 14 14"><path d="m17 11-5-5-5 5m10 7-5-5-5 5"/></svg>`})),Fa=/* @__PURE__ */ n({default:()=>Ia}),Ia,La=t((()=>{Ia=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-graduation-cap" viewBox="1 4 22.02 16"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0zM22 10v6"/><path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></svg>`})),Ra=/* @__PURE__ */ n({default:()=>za}),za,Ba=t((()=>{za=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-plus" viewBox="3 1 18 22"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5M9 15h6m-3 3v-6"/></svg>`})),Va=/* @__PURE__ */ n({default:()=>Ha}),Ha,Ua=t((()=>{Ha=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-message-circle-plus" viewBox="1 1 22 22"><path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719M8 12h8m-4-4v8"/></svg>`})),Wa=/* @__PURE__ */ n({default:()=>Ga}),Ga,Ka=t((()=>{Ga=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-2x2-plus" viewBox="2 2 21 21"><path d="M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3m13 7h6m-3 3v-6"/></svg>`})),qa=/* @__PURE__ */ n({default:()=>Ja}),Ja,Ya=t((()=>{Ja=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-user-plus" viewBox="1 2 22 20"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M19 8v6m3-3h-6"/></svg>`})),Xa=/* @__PURE__ */ n({default:()=>Za}),Za,Qa=t((()=>{Za=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-tree" viewBox="2 4 20 16"><path d="M8 5h13m-8 7h8m-8 7h8M3 10a2 2 0 0 0 2 2h3"/><path d="M3 5v12a2 2 0 0 0 2 2h3"/></svg>`})),$a=/* @__PURE__ */ n({default:()=>eo}),eo,to=t((()=>{eo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-archive" viewBox="1 2 22 20"><rect width="20" height="5" x="2" y="3" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4"/></svg>`})),no=/* @__PURE__ */ n({default:()=>ro}),ro,io=t((()=>{ro=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-right" viewBox="6 6 12 12"><path d="M7 7h10v10M7 17 17 7"/></svg>`})),ao=/* @__PURE__ */ n({default:()=>oo}),oo,so=t((()=>{oo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-move-vertical" viewBox="7 1 10 22"><path d="M12 2v20m-4-4 4 4 4-4M8 6l4-4 4 4"/></svg>`})),co=/* @__PURE__ */ n({default:()=>lo}),lo,uo=t((()=>{lo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-iteration-ccw" viewBox="3 1 18 22"><path d="m16 14 4 4-4 4"/><path d="M20 10a8 8 0 1 0-8 8h8"/></svg>`})),fo=/* @__PURE__ */ n({default:()=>po}),po,mo=t((()=>{po=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-cw-square" viewBox="3 1 18 20"><path d="M12 5H6a2 2 0 0 0-2 2v3"/><path d="m9 8 3-3-3-3M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"/></svg>`})),ho=/* @__PURE__ */ n({default:()=>go}),go,_o=t((()=>{go=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-to-line" viewBox="2 2 20 20"><path d="M5 3h14m-1 10-6-6-6 6m6-6v14"/></svg>`})),vo=/* @__PURE__ */ n({default:()=>yo}),yo,bo=t((()=>{yo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-at-sign" viewBox="1 1 22 22"><circle cx="12" cy="12" r="4"/><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"/></svg>`})),xo=/* @__PURE__ */ n({default:()=>So}),So,Co=t((()=>{So=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-delete" viewBox="1 4 22 16"><path d="M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm2 4 6 6m0-6-6 6"/></svg>`})),wo=/* @__PURE__ */ n({default:()=>To}),To,Eo=t((()=>{To=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-start" viewBox="2 1 20 19"><path d="M3 5h6m-6 7h13M3 19h13m0-11-3-3 3-3"/><path d="M21 19V7a2 2 0 0 0-2-2h-6"/></svg>`})),Do=/* @__PURE__ */ n({default:()=>Oo}),Oo,ko=t((()=>{Oo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-menu" viewBox="3 4 18 16"><path d="M4 5h16M4 12h16M4 19h16"/></svg>`})),Ao=/* @__PURE__ */ n({default:()=>jo}),jo,Mo=t((()=>{jo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-start" viewBox="2 4 20 16"><path d="M21 5H3m12 7H3m14 7H3"/></svg>`})),No=/* @__PURE__ */ n({default:()=>Po}),Po,Fo=t((()=>{Po=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-end" viewBox="2 4 20 16"><path d="M21 5H3m18 7H9m12 7H7"/></svg>`})),Io=/* @__PURE__ */ n({default:()=>Lo}),Lo,Ro=t((()=>{Lo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-start" viewBox="2 4 20 16"><path d="M21 5H3m12 7H3m14 7H3"/></svg>`})),zo=/* @__PURE__ */ n({default:()=>Bo}),Bo,Vo=t((()=>{Bo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-tally-4" viewBox="3 3 18 17"><path d="M4 4h16M4 9h16M4 14h16M4 19h16"/></svg>`})),Ho=/* @__PURE__ */ n({default:()=>Uo}),Uo,Wo=t((()=>{Uo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-flask-conical" viewBox="3 1 18 22"><path d="M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7"/></svg>`})),Go=/* @__PURE__ */ n({default:()=>Ko}),Ko,qo=t((()=>{Ko=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bell" viewBox="2 1 20 22"><path d="M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"/></svg>`})),Jo=/* @__PURE__ */ n({default:()=>Yo}),Yo,Xo=t((()=>{Yo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bell-off" viewBox="1 1 22 22"><path d="M10.268 21a2 2 0 0 0 3.464 0M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742M2 2l20 20M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05"/></svg>`})),Zo=/* @__PURE__ */ n({default:()=>Qo}),Qo,$o=t((()=>{Qo=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-bell" viewBox="2 2 20.01 20"><path fill="currentColor" d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326M10.268 21a2 2 0 0 0 3.464 0z"/></svg>`})),es=/* @__PURE__ */ n({default:()=>ts}),ts,ns=t((()=>{ts=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bold" viewBox="5 3 15 18"><path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg>`})),rs=/* @__PURE__ */ n({default:()=>is}),is,as=t((()=>{is=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-book-open" viewBox="1 2 22 20"><path d="M12 7v14m-9-3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>`})),os=/* @__PURE__ */ n({default:()=>ss}),ss,cs=t((()=>{ss=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-book-open" viewBox="2 0.84 20 20.01"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 7v14"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ls=/* @__PURE__ */ n({default:()=>us}),us,ds=t((()=>{us=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bookmark" viewBox="4 2 16 20"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg>`})),fs=/* @__PURE__ */ n({default:()=>ps}),ps,ms=t((()=>{ps=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-bookmark" viewBox="4.8 3 14.4 18"><path fill="currentColor" d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/><path fill="none" d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg>`})),hs=/* @__PURE__ */ n({default:()=>gs}),gs,_s=t((()=>{gs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-vector-square" viewBox="1 1 22 22"><path d="M19.5 7a24 24 0 0 1 0 10M4.5 7a24 24 0 0 0 0 10M7 19.5a24 24 0 0 0 10 0M7 4.5a24 24 0 0 1 10 0"/><rect width="5" height="5" x="17" y="17" rx="1"/><rect width="5" height="5" x="17" y="2" rx="1"/><rect width="5" height="5" x="2" y="17" rx="1"/><rect width="5" height="5" x="2" y="2" rx="1"/></svg>`})),vs=/* @__PURE__ */ n({default:()=>ys}),ys,bs=t((()=>{ys=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-briefcase-business" viewBox="1 1 22 20"><path d="M12 12h.01M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2m14 7a18.15 18.15 0 0 1-20 0"/><rect width="20" height="14" x="2" y="6" rx="2"/></svg>`})),xs=/* @__PURE__ */ n({default:()=>Ss}),Ss,Cs=t((()=>{Ss=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-tower" viewBox="0.97 0.9 22.05 22.1"><path d="M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5"/><circle cx="12" cy="9" r="2"/><path d="M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11 4 11"/></svg>`})),ws=/* @__PURE__ */ n({default:()=>Ts}),Ts,Es=t((()=>{Ts=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-app-window" viewBox="1 3 22 18"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="M10 4v4M2 8h20M6 4v4"/></svg>`})),Ds=/* @__PURE__ */ n({default:()=>Os}),Os,ks=t((()=>{Os=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bug" viewBox="1 1 22 21"><path d="M12 20v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4zm.12-3.12L16 2"/><path d="M21 21a4 4 0 0 0-3.81-4M21 5a4 4 0 0 1-3.55 3.97M22 13h-4M3 21a4 4 0 0 1 3.81-4M3 5a4 4 0 0 0 3.55 3.97M6 13H2M8 2l1.88 1.88M9 7.13V6a3 3 0 1 1 6 0v1.13"/></svg>`})),As=/* @__PURE__ */ n({default:()=>js}),js,Ms=t((()=>{js=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-calendar-days" viewBox="2 1 20 22"><path d="M8 2v4m8-4v4"/><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01"/></svg>`})),Ns=/* @__PURE__ */ n({default:()=>Ps}),Ps,Fs=t((()=>{Ps=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-camera" viewBox="1 3 22 18"><path d="M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z"/><circle cx="12" cy="13" r="3"/></svg>`})),Is=/* @__PURE__ */ n({default:()=>Ls}),Ls,Rs=t((()=>{Ls=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-code-square" viewBox="2 2 20 20"><path d="m10 9-3 3 3 3m4 0 3-3-3-3"/><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),zs=/* @__PURE__ */ n({default:()=>Bs}),Bs,Vs=t((()=>{Bs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-horizontal" viewBox="1 2 22 20"><path d="M2 3v18"/><rect width="12" height="18" x="6" y="3" rx="2"/><path d="M22 3v18"/></svg>`})),Hs=/* @__PURE__ */ n({default:()=>Us}),Us,Ws=t((()=>{Us=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-sort-descending" viewBox="2 4 20 16"><path d="M15 12H3m0-7h18M9 19H3"/></svg>`})),Gs=/* @__PURE__ */ n({default:()=>Ks}),Ks,qs=t((()=>{Ks=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bar-chart" viewBox="4 2 16 20"><path d="M5 21v-6m7 6V9m7 12V3"/></svg>`})),Js=/* @__PURE__ */ n({default:()=>Ys}),Ys,Xs=t((()=>{Ys=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-message-square-text" viewBox="1 2 22 21"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM7 11h10M7 15h6M7 7h8"/></svg>`})),Zs=/* @__PURE__ */ n({default:()=>Qs}),Qs,$s=t((()=>{Qs=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-message-square-text" viewBox="2 2.5 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M7 11h10M7 15h6M7 7h8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ec=/* @__PURE__ */ n({default:()=>tc}),tc,nc=t((()=>{tc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-messages-square" viewBox="1 1 22 22"><path d="M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1"/></svg>`})),rc=/* @__PURE__ */ n({default:()=>ic}),ic,ac=t((()=>{ic=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-check" viewBox="3 5 18 13"><path d="M20 6 9 17l-5-5"/></svg>`})),oc=/* @__PURE__ */ n({default:()=>sc}),sc,cc=t((()=>{sc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-badge-check" viewBox="0.99 1 22.01 22"><path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76"/><path d="m9 12 2 2 4-4"/></svg>`})),lc=/* @__PURE__ */ n({default:()=>uc}),uc,dc=t((()=>{uc=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-badge-check" viewBox="1.98 1.99 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 12 2 2 4-4"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),fc=/* @__PURE__ */ n({default:()=>pc}),pc,mc=t((()=>{pc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard-list" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01"/></svg>`})),hc=/* @__PURE__ */ n({default:()=>gc}),gc,_c=t((()=>{gc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-check" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m16 9-5.5 5.5L8 12"/></svg>`})),vc=/* @__PURE__ */ n({default:()=>yc}),yc,bc=t((()=>{yc=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-check" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 12 2 2 4-4"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),xc=/* @__PURE__ */ n({default:()=>Sc}),Sc,Cc=t((()=>{Sc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cpu" viewBox="1 1 22 22"><path d="M12 20v2m0-20v2m5 16v2m0-20v2M2 12h2m-2 5h2M2 7h2m16 5h2m-2 5h2M20 7h2M7 20v2M7 2v2"/><rect width="16" height="16" x="4" y="4" rx="2"/><rect width="8" height="8" x="8" y="8" rx="1"/></svg>`})),wc=/* @__PURE__ */ n({default:()=>Tc}),Tc,Ec=t((()=>{Tc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/></svg>`})),Dc=/* @__PURE__ */ n({default:()=>Oc}),Oc,kc=t((()=>{Oc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-slash" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m9 15 6-6"/></svg>`})),Ac=/* @__PURE__ */ n({default:()=>jc}),jc,Mc=t((()=>{jc=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-slash" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 15 6-6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Nc=/* @__PURE__ */ n({default:()=>Pc}),Pc,Fc=t((()=>{Pc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dashed" viewBox="1 1 22 22"><path d="M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7"/></svg>`})),Ic=/* @__PURE__ */ n({default:()=>Lc}),Lc,Rc=t((()=>{Lc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dot" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="1"/></svg>`})),zc=/* @__PURE__ */ n({default:()=>Bc}),Bc,Vc=t((()=>{Bc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-refresh-ccw-dot" viewBox="2 2 20 20"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m-5 4a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/><path d="M16 16h5v5"/><circle cx="12" cy="12" r="1"/></svg>`})),Hc=/* @__PURE__ */ n({default:()=>Uc}),Uc,Wc=t((()=>{Uc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-contrast" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 18a6 6 0 0 0 0-12z"/></svg>`})),Gc=/* @__PURE__ */ n({default:()=>Kc}),Kc,qc=t((()=>{Kc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-commit-horizontal" viewBox="2 8 20 8"><circle cx="12" cy="12" r="3"/><path d="M3 12h6m6 0h6"/></svg>`})),Jc=/* @__PURE__ */ n({default:()=>Yc}),Yc,Xc=t((()=>{Yc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-loader" viewBox="1 1 22 22"><path d="M12 2v4m4.2 1.8 2.9-2.9M18 12h4m-5.8 4.2 2.9 2.9M12 18v4m-7.1-2.9 2.9-2.9M2 12h4M4.9 4.9l2.9 2.9"/></svg>`})),Zc=/* @__PURE__ */ n({default:()=>Qc}),Qc,$c=t((()=>{Qc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>`})),el=/* @__PURE__ */ n({default:()=>tl}),tl,nl=t((()=>{tl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clock" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>`})),rl=/* @__PURE__ */ n({default:()=>il}),il,al=t((()=>{il=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-history" viewBox="2 2 20 20"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m4-1v5l4 2"/></svg>`})),ol=/* @__PURE__ */ n({default:()=>sl}),sl,cl=t((()=>{sl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud" viewBox="1 4 22 16"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9"/></svg>`})),ll=/* @__PURE__ */ n({default:()=>ul}),ul,dl=t((()=>{ul=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud-download" viewBox="1 2 22 20"><path d="M12 13v8l-4-4m4 4 4-4"/><path d="M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284"/></svg>`})),fl=/* @__PURE__ */ n({default:()=>pl}),pl,ml=t((()=>{pl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud-upload" viewBox="1 2 22 20"><path d="M12 13v8m-8-6.101A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"/><path d="m8 17 4-4 4 4"/></svg>`})),hl=/* @__PURE__ */ n({default:()=>gl}),gl,_l=t((()=>{gl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-code-xml" viewBox="1 3 22 18"><path d="m18 16 4-4-4-4M6 8l-4 4 4 4m8.5-12-5 16"/></svg>`})),vl=/* @__PURE__ */ n({default:()=>yl}),yl,bl=t((()=>{yl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-down-up" viewBox="2 4 20 16"><path d="M3 5h8m-8 7h8m-8 7h8m4-14 3 3 3-3m-6 14 3-3 3 3"/></svg>`})),xl=/* @__PURE__ */ n({default:()=>Sl}),Sl,Cl=t((()=>{Sl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minimize-2" viewBox="2 2 20 20"><path d="m14 10 7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6"/></svg>`})),wl=/* @__PURE__ */ n({default:()=>Tl}),Tl,El=t((()=>{Tl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-palette" viewBox="1 1 22 22"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"/><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"/><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"/><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"/><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),Dl=/* @__PURE__ */ n({default:()=>Ol}),Ol,kl=t((()=>{Ol=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-columns-3" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18m6-18v18"/></svg>`})),Al=/* @__PURE__ */ n({default:()=>jl}),jl,Ml=t((()=>{jl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-compare-arrows" viewBox="1 2 22 20"><circle cx="5" cy="6" r="3"/><path d="M12 6h5a2 2 0 0 1 2 2v7"/><path d="m15 9-3-3 3-3"/><circle cx="19" cy="18" r="3"/><path d="M12 18H7a2 2 0 0 1-2-2V9"/><path d="m9 15 3 3-3 3"/></svg>`})),Nl=/* @__PURE__ */ n({default:()=>Pl}),Pl,Fl=t((()=>{Pl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-monitor" viewBox="1 2 22 20"><rect width="20" height="14" x="2" y="3" rx="2"/><path d="M8 21h8m-4-4v4"/></svg>`})),Il=/* @__PURE__ */ n({default:()=>Ll}),Ll,Rl=t((()=>{Ll=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-arrow" viewBox="3 3 19 18"><path d="M4 4h4a2 2 0 0 1 2 2v3M4 20h4a2 2 0 0 0 2-2v-3"/><circle cx="10" cy="12" r="3"/><path d="M13 12h7m-3-4 4 4-4 4"/></svg>`})),zl=/* @__PURE__ */ n({default:()=>Bl}),Bl,Vl=t((()=>{Bl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-workflow" viewBox="2 2 20 20"><rect width="8" height="8" x="3" y="3" rx="2"/><path d="M7 11v4a2 2 0 0 0 2 2h4"/><rect width="8" height="8" x="13" y="13" rx="2"/></svg>`})),Hl=/* @__PURE__ */ n({default:()=>Ul}),Ul,Wl=t((()=>{Ul=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-crosshair" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M22 12h-4M6 12H2m10-6V2m0 20v-4"/></svg>`})),Gl=/* @__PURE__ */ n({default:()=>Kl}),Kl,ql=t((()=>{Kl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mouse-pointer-click" viewBox="1.2 1.2 20.8 20.8"><path d="M14 4.1 12 6M5.1 8l-2.9-.8M6 12l-1.9 2M7.2 2.2 8 5.1m1.037 4.59a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"/></svg>`})),Jl=/* @__PURE__ */ n({default:()=>Yl}),Yl,Xl=t((()=>{Yl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-target" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>`})),Zl=/* @__PURE__ */ n({default:()=>Ql}),Ql,$l=t((()=>{Ql=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-database" viewBox="2 1 20 22"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v14a9 3 0 0 0 18 0V5"/><path d="M3 12a9 3 0 0 0 18 0"/></svg>`})),eu=/* @__PURE__ */ n({default:()=>tu}),tu,nu=t((()=>{tu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-closed" viewBox="3 3 20 18"><path d="M4 4h4a2 2 0 0 1 2 2v3M4 20h4a2 2 0 0 0 2-2v-3"/><circle cx="10" cy="12" r="3"/><path d="m17 9 5 5m0-5-5 5"/></svg>`})),ru=/* @__PURE__ */ n({default:()=>iu}),iu,au=t((()=>{iu=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-trash-2" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path fill="none" stroke-width="2" d="M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></g><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M10 11v6m4-6v6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ou=/* @__PURE__ */ n({default:()=>su}),su,cu=t((()=>{su=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-check-corner" viewBox="3 1 18 22"><path d="M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6"/><path d="M14 2v5a1 1 0 0 0 1 1h5m-6 12 2 2 4-4"/></svg>`})),lu=/* @__PURE__ */ n({default:()=>uu}),uu,du=t((()=>{uu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-panel-bottom" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M3 15h18"/></svg>`})),fu=/* @__PURE__ */ n({default:()=>pu}),pu,mu=t((()=>{pu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rectangle-horizontal" viewBox="2 3 20 18"><rect width="18" height="16" x="3" y="4" rx="2"/></svg>`})),hu=/* @__PURE__ */ n({default:()=>gu}),gu,_u=t((()=>{gu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-panel-left" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg>`})),vu=/* @__PURE__ */ n({default:()=>yu}),yu,bu=t((()=>{yu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-text" viewBox="3 1 18 22"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8"/></svg>`})),xu=/* @__PURE__ */ n({default:()=>Su}),Su,Cu=t((()=>{Su=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>`})),wu=/* @__PURE__ */ n({default:()=>Tu}),Tu,Eu=t((()=>{Tu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/></svg>`})),Du=/* @__PURE__ */ n({default:()=>Ou}),Ou,ku=t((()=>{Ou=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-dot" viewBox="3 3 10 10"><path fill="currentColor" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10"/></svg>`})),Au=/* @__PURE__ */ n({default:()=>ju}),ju,Mu=t((()=>{ju=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grip-vertical" viewBox="7 3 10 18"><circle cx="9" cy="12" r="1"/><circle cx="9" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/></svg>`})),Nu=/* @__PURE__ */ n({default:()=>Pu}),Pu,Fu=t((()=>{Pu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pipette" viewBox="1 0.98 22.02 22.02"><path d="m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12"/><path d="m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3zM2 22l.414-.414"/></svg>`})),Iu=/* @__PURE__ */ n({default:()=>Lu}),Lu,Ru=t((()=>{Lu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-copy-plus" viewBox="1 1 22 22"><path d="M15 12v6m-3-3h6"/><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`})),zu=/* @__PURE__ */ n({default:()=>Bu}),Bu,Vu=t((()=>{Bu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-edit-3" viewBox="1 1 22 22"><path d="M13 21h8m.174-14.188a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/></svg>`})),Hu=/* @__PURE__ */ n({default:()=>Uu}),Uu,Wu=t((()=>{Uu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rectangle-ellipsis" viewBox="1 5 22 14"><rect width="20" height="12" x="2" y="6" rx="2"/><path d="M12 12h.01M17 12h.01M7 12h.01"/></svg>`})),Gu=/* @__PURE__ */ n({default:()=>Ku}),Ku,qu=t((()=>{Ku=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mail" viewBox="1 3 22 18"><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`})),Ju=/* @__PURE__ */ n({default:()=>Yu}),Yu,Xu=t((()=>{Yu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-alert" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 8v4m0 4h.01"/></svg>`})),Zu=/* @__PURE__ */ n({default:()=>Qu}),Qu,$u=t((()=>{Qu=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-alert-circle" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 8v4m0 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ed=/* @__PURE__ */ n({default:()=>td}),td,nd=t((()=>{td=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-alert" viewBox="11 4 2.01 16"><path d="M12 5v9m0 5h.01"/></svg>`})),rd=/* @__PURE__ */ n({default:()=>id}),id,ad=t((()=>{id=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-triangle-alert" viewBox="0.98 0.98 22.02 22.02"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01"/></svg>`})),od=/* @__PURE__ */ n({default:()=>sd}),sd,cd=t((()=>{sd=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-alert-triangle" viewBox="1.98 1.98 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 9v4m0 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ld=/* @__PURE__ */ n({default:()=>ud}),ud,dd=t((()=>{ud=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-up-down" viewBox="2 4 20 16"><path d="M3 5h8m-8 7h8m-8 7h8m4-11 3-3 3 3m-6 8 3 3 3-3"/></svg>`})),fd=/* @__PURE__ */ n({default:()=>pd}),pd,md=t((()=>{pd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-maximize-2" viewBox="2 2 20 20"><path d="M15 3h6v6m0-6-7 7M3 21l7-7m-1 7H3v-6"/></svg>`})),hd=/* @__PURE__ */ n({default:()=>gd}),gd,_d=t((()=>{gd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-variable" viewBox="3 2 18 20"><path d="M8 21s-4-3-4-9 4-9 4-9m8 0s4 3 4 9-4 9-4 9M15 9l-6 6m0-6 6 6"/></svg>`})),vd=/* @__PURE__ */ n({default:()=>yd}),yd,bd=t((()=>{yd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-eye" viewBox="1 4 22 16"><path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"/><circle cx="12" cy="12" r="3"/></svg>`})),xd=/* @__PURE__ */ n({default:()=>Sd}),Sd,Cd=t((()=>{Sd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-eye-off" viewBox="1 1 22 22"><path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242"/><path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143M2 2l20 20"/></svg>`})),wd=/* @__PURE__ */ n({default:()=>Td}),Td,Ed=t((()=>{Td=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-frown" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M16 16s-1.5-2-4-2-4 2-4 2m1-7h.01M15 9h.01"/></svg>`})),Dd=/* @__PURE__ */ n({default:()=>Od}),Od,kd=t((()=>{Od=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-smile" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></svg>`})),Ad=/* @__PURE__ */ n({default:()=>jd}),jd,Md=t((()=>{jd=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-smile" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Nd=/* @__PURE__ */ n({default:()=>Pd}),Pd,Fd=t((()=>{Pd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-fast-forward" viewBox="0 3.5 16 9"><path fill="currentColor" d="M1.998 3.688C1.126 3.175 0 3.773 0 4.75v6.5c0 .977 1.126 1.575 1.998 1.062l5.521-3.25q.204-.121.34-.286v2.474c0 .977 1.126 1.575 1.998 1.062l5.522-3.25a1.218 1.218 0 0 0 0-2.124l-5.522-3.25c-.872-.513-1.998.085-1.998 1.062v2.474a1.3 1.3 0 0 0-.34-.286L2 3.688Z"/></svg>`})),Id=/* @__PURE__ */ n({default:()=>Ld}),Ld,Rd=t((()=>{Ld=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-cw" viewBox="2 2 20 20"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5m-8 2h1v5"/><rect width="3" height="5" x="12" y="10" rx="1.5"/></svg>`})),zd=/* @__PURE__ */ n({default:()=>Bd}),Bd,Vd=t((()=>{Bd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-film" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 3v18M3 7.5h4M3 12h18M3 16.5h4M17 3v18m0-13.5h4m-4 9h4"/></svg>`})),Hd=/* @__PURE__ */ n({default:()=>Ud}),Ud,Wd=t((()=>{Ud=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-funnel" viewBox="1 2 22 21"><path d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/></svg>`})),Gd=/* @__PURE__ */ n({default:()=>Kd}),Kd,qd=t((()=>{Kd=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-funnel" viewBox="2 2.95 20 19.1"><path fill="currentColor" d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/><path fill="none" d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/></svg>`})),Jd=/* @__PURE__ */ n({default:()=>Yd}),Yd,Xd=t((()=>{Yd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-flag" viewBox="3 1 18 22"><path d="M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528"/></svg>`})),Zd=/* @__PURE__ */ n({default:()=>Qd}),Qd,$d=t((()=>{Qd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-flag" viewBox="3 1 18 22"><path fill="currentColor" d="M4 4v11.528A6 6 0 0 1 8 14c3 0 5 2 8 2a6 6 0 0 0 3.6-1.2 1 1 0 0 0 .4-.8V4a1 1 0 0 0-1.6-.8q-1.067.8-3.067.8C13 4 11 2 8 2a6 6 0 0 0-3.6 1.2A1 1 0 0 0 4 4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528"/></svg>`})),ef=/* @__PURE__ */ n({default:()=>tf}),tf,nf=t((()=>{tf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-unfold-vertical" viewBox="1 1 22 22"><path d="M12 22v-6m0-8V2M4 12H2m8 0H8m8 0h-2m8 0h-2m-5 7-3 3-3-3m6-14-3-3-3 3"/></svg>`})),rf=/* @__PURE__ */ n({default:()=>af}),af,of=t((()=>{af=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-folder" viewBox="1 2 22 19"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/></svg>`})),sf=/* @__PURE__ */ n({default:()=>cf}),cf,lf=t((()=>{cf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-fork" viewBox="2 2 20 20"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><path d="M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9m6 3v3"/></svg>`})),uf=/* @__PURE__ */ n({default:()=>df}),df,ff=t((()=>{df=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-settings" viewBox="2.01 2.01 19.98 19.98"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),pf=/* @__PURE__ */ n({default:()=>mf}),mf,hf=t((()=>{mf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-globe-2" viewBox="1 1 22 22"><path d="M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3 2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"/><circle cx="12" cy="12" r="10"/></svg>`})),gf=/* @__PURE__ */ n({default:()=>_f}),_f,vf=t((()=>{_f=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-globe" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20M2 12h20"/></svg>`})),yf=/* @__PURE__ */ n({default:()=>bf}),bf,xf=t((()=>{bf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users" viewBox="1 2 22 20"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87"/><circle cx="9" cy="7" r="4"/></svg>`})),Sf=/* @__PURE__ */ n({default:()=>Cf}),Cf,wf=t((()=>{Cf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-group" viewBox="2 2 20 20"><path d="M3 7V5c0-1.1.9-2 2-2h2m10 0h2c1.1 0 2 .9 2 2v2m0 10v2c0 1.1-.9 2-2 2h-2M7 21H5c-1.1 0-2-.9-2-2v-2"/><rect width="7" height="5" x="7" y="7" rx="1"/><rect width="7" height="5" x="10" y="12" rx="1"/></svg>`})),Tf=/* @__PURE__ */ n({default:()=>Ef}),Ef,Df=t((()=>{Ef=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hand" viewBox="0.89 1 22.11 22"><path d="M18 11V6a2 2 0 0 0-2-2 2 2 0 0 0-2 2m0 4V4a2 2 0 0 0-2-2 2 2 0 0 0-2 2v2m0 4.5V6a2 2 0 0 0-2-2 2 2 0 0 0-2 2v8"/><path d="M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15"/></svg>`})),Of=/* @__PURE__ */ n({default:()=>kf}),kf,Af=t((()=>{kf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hash" viewBox="3 2 18 20"><path d="M4 9h16M4 15h16M10 3 8 21m8-18-2 18"/></svg>`})),jf=/* @__PURE__ */ n({default:()=>Mf}),Mf,Nf=t((()=>{Mf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-heading" viewBox="5 3 14 18"><path d="M6 12h12M6 20V4m12 16V4"/></svg>`})),Pf=/* @__PURE__ */ n({default:()=>Ff}),Ff,If=t((()=>{Ff=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-home" viewBox="2 1 20 21"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>`})),Lf=/* @__PURE__ */ n({default:()=>Rf}),Rf,zf=t((()=>{Rf=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-home" viewBox="2.5 2 19 19"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Bf=/* @__PURE__ */ n({default:()=>Vf}),Vf,Hf=t((()=>{Vf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minus" viewBox="4 4 16 16"><path d="M5 12h14"/></svg>`})),Uf=/* @__PURE__ */ n({default:()=>Wf}),Wf,Gf=t((()=>{Wf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hourglass" viewBox="4 1 16 22"><path d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/></svg>`})),Kf=/* @__PURE__ */ n({default:()=>qf}),qf,Jf=t((()=>{qf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M8.961 20.279h6.078v-1.756c0-.386-.07-.765-.206-1.105-.134-.34-.33-.63-.567-.844l-1.932-1.733a.5.5 0 0 0-.668 0l-1.932 1.733a2.24 2.24 0 0 0-.567.844c-.135.34-.206.72-.206 1.105z"/></svg>`})),Yf=/* @__PURE__ */ n({default:()=>Xf}),Xf,Zf=t((()=>{Xf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M8.961 4.87h6.041v1.377c0 .302-.07.6-.204.866a1.8 1.8 0 0 1-.564.661l-1.963 1.39a.5.5 0 0 1-.578 0l-1.964-1.39a1.8 1.8 0 0 1-.564-.66 1.9 1.9 0 0 1-.204-.867zm0 15.399h6.078v-1.286c0-.282-.07-.56-.206-.808a1.7 1.7 0 0 0-.567-.618l-1.992-1.307a.5.5 0 0 0-.548 0l-1.992 1.307a1.7 1.7 0 0 0-.567.618 1.7 1.7 0 0 0-.206.808z"/></svg>`})),Qf=/* @__PURE__ */ n({default:()=>$f}),$f,ep=t((()=>{$f=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M9.004 3.638h6.04v1.756c0 .385-.07.765-.203 1.105a2.24 2.24 0 0 1-.564.843l-1.918 1.73a.5.5 0 0 1-.67 0l-1.917-1.73a2.24 2.24 0 0 1-.564-.843 3 3 0 0 1-.204-1.105z"/></svg>`})),tp=/* @__PURE__ */ n({default:()=>np}),np,rp=t((()=>{np=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-id-card" viewBox="1 4 22 16"><path d="M16 10h2m-2 4h2M6.17 15a3 3 0 0 1 5.66 0"/><circle cx="9" cy="11" r="2"/><rect width="20" height="14" x="2" y="5" rx="2"/></svg>`})),ip=/* @__PURE__ */ n({default:()=>ap}),ap,op=t((()=>{ap=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-image" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>`})),sp=/* @__PURE__ */ n({default:()=>cp}),cp,lp=t((()=>{cp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-inbox" viewBox="1 3 22 18"><path d="M22 12h-6l-2 3h-4l-2-3H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11"/></svg>`})),up=/* @__PURE__ */ n({default:()=>dp}),dp,fp=t((()=>{dp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-infinity" viewBox="1 7 22 10"><path d="M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8"/></svg>`})),pp=/* @__PURE__ */ n({default:()=>mp}),mp,hp=t((()=>{mp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-info" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4m0-4h.01"/></svg>`})),gp=/* @__PURE__ */ n({default:()=>_p}),_p,vp=t((()=>{_p=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-info" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 16v-4m0-4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),yp=/* @__PURE__ */ n({default:()=>bp}),bp,xp=t((()=>{bp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-mouse-pointer" viewBox="2 2 21 21"><path d="M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"/><path d="M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"/></svg>`})),Sp=/* @__PURE__ */ n({default:()=>Cp}),Cp,wp=t((()=>{Cp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-italic" viewBox="4 3 16 18"><path d="M19 4h-9m4 16H5M15 4 9 20"/></svg>`})),Tp=/* @__PURE__ */ n({default:()=>Ep}),Ep,Dp=t((()=>{Ep=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-key-round" viewBox="1 0.96 22.04 22.04"><path d="M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"/><circle cx="16.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),Op=/* @__PURE__ */ n({default:()=>kp}),kp,Ap=t((()=>{kp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-keyboard" viewBox="1 3 22 18"><path d="M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`})),jp=/* @__PURE__ */ n({default:()=>Mp}),Mp,Np=t((()=>{Mp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-monitor-smartphone" viewBox="1 3 22 20"><path d="M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-2 4v-3.96 3.15M7 19h5"/><rect width="6" height="10" x="16" y="12" rx="2"/></svg>`})),Pp=/* @__PURE__ */ n({default:()=>Fp}),Fp,Ip=t((()=>{Fp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layers" viewBox="1 1 22.02 22"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"/><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"/><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"/></svg>`})),Lp=/* @__PURE__ */ n({default:()=>Rp}),Rp,zp=t((()=>{Rp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-life-buoy" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m4.93 4.93 4.24 4.24m5.66 0 4.24-4.24m-4.24 9.9 4.24 4.24m-9.9-4.24-4.24 4.24"/><circle cx="12" cy="12" r="4"/></svg>`})),Bp=/* @__PURE__ */ n({default:()=>Vp}),Vp,Hp=t((()=>{Vp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lightbulb" viewBox="5 1 14 22"><path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg>`})),Up=/* @__PURE__ */ n({default:()=>Wp}),Wp,Gp=t((()=>{Wp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zap" viewBox="2 1 20.01 22.01"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"/></svg>`})),Kp=/* @__PURE__ */ n({default:()=>qp}),qp,Jp=t((()=>{qp=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-zap" viewBox="1.99 2 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Yp=/* @__PURE__ */ n({default:()=>Xp}),Xp,Zp=t((()=>{Xp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-link" viewBox="1.06 1.07 21.89 21.87"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>`})),Qp=/* @__PURE__ */ n({default:()=>$p}),$p,em=t((()=>{$p=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-ordered" viewBox="2.4 3 19.6 18"><path d="M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02"/></svg>`})),tm=/* @__PURE__ */ n({default:()=>nm}),nm,rm=t((()=>{nm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list" viewBox="2 4 20 16"><path d="M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13"/></svg>`})),im=/* @__PURE__ */ n({default:()=>am}),am,om=t((()=>{am=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lock" viewBox="2 1 20 22"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>`})),sm=/* @__PURE__ */ n({default:()=>cm}),cm,lm=t((()=>{cm=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-lock" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" fill="#fff" stroke-width="0" rx="2" ry="2"/><path fill="none" stroke-width="2" d="M7 11V7a5 5 0 0 1 10 0v4"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),um=/* @__PURE__ */ n({default:()=>dm}),dm,fm=t((()=>{dm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-log-in" viewBox="2 2 20 20"><path d="m10 17 5-5-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/></svg>`})),pm=/* @__PURE__ */ n({default:()=>mm}),mm,hm=t((()=>{mm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-repeat" viewBox="2 1 20 22"><path d="m17 2 4 4-4 4"/><path d="M3 11v-1a4 4 0 0 1 4-4h14M7 22l-4-4 4-4"/><path d="M21 13v1a4 4 0 0 1-4 4H3"/></svg>`})),gm=/* @__PURE__ */ n({default:()=>_m}),_m,vm=t((()=>{_m=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-repeat-off" viewBox="1 1 22 22"><path d="M11.656 6H21l-4-4m.898 15.898A4 4 0 0 1 17 18H3l4-4M2 2l20 20m-1-9v1a4 4 0 0 1-.171 1.159M21 6l-4 4M3 11v-1a4 4 0 0 1 3.102-3.898M7 22l-4-4"/></svg>`})),ym=/* @__PURE__ */ n({default:()=>bm}),bm,xm=t((()=>{bm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-map" viewBox="2 2.24 20 19.53"><path d="M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15"/></svg>`})),Sm=/* @__PURE__ */ n({default:()=>Cm}),Cm,wm=t((()=>{Cm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hard-drive" viewBox="1 1.5 22 20.5"><path d="M10 7h.01m-7.81.6a2 2 0 0 0-.2.9V12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8.5a2 2 0 0 0-.2-.9l-2-4A2 2 0 0 0 18 2.5H6a2 2 0 0 0-1.8 1.1zM22 9H2m4 9h12m-9-4v4m6-4v4m-3 0v3"/></svg>`})),Tm=/* @__PURE__ */ n({default:()=>Em}),Em,Dm=t((()=>{Em=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-map-pin" viewBox="3 1 18 22"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle cx="12" cy="10" r="3"/></svg>`})),Om=/* @__PURE__ */ n({default:()=>km}),km,Am=t((()=>{km=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-square-code" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 15V9l2 3 2-3v6m4-.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z"/></svg>`})),jm=/* @__PURE__ */ n({default:()=>Mm}),Mm,Nm=t((()=>{Mm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-maximize" viewBox="2 2 20 20"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3"/></svg>`})),Pm=/* @__PURE__ */ n({default:()=>Fm}),Fm,Im=t((()=>{Fm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-megaphone" viewBox="2 2 20 21"><path d="M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"/><path d="M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14M8 6v8"/></svg>`})),Lm=/* @__PURE__ */ n({default:()=>Rm}),Rm,zm=t((()=>{Rm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-merge" viewBox="2 2 20 20"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M6 21V9a9 9 0 0 0 9 9"/></svg>`})),Bm=/* @__PURE__ */ n({default:()=>Vm}),Vm,Hm=t((()=>{Vm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-gauge" viewBox="0.98 1.02 22 22"><path d="M15.6 2.7a10 10 0 1 0 5.7 5.7"/><circle cx="12" cy="12" r="2"/><path d="M13.4 10.6 19 5"/></svg>`})),Um=/* @__PURE__ */ n({default:()=>Wm}),Wm,Gm=t((()=>{Wm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minimize" viewBox="2 2 20 20"><path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m8 0v-3a2 2 0 0 1 2-2h3"/></svg>`})),Km=/* @__PURE__ */ n({default:()=>qm}),qm,Jm=t((()=>{qm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minus" viewBox="4 4 16 16"><path d="M5 12h14"/></svg>`})),Ym=/* @__PURE__ */ n({default:()=>Xm}),Xm,Zm=t((()=>{Xm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-minus" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/></svg>`})),Qm=/* @__PURE__ */ n({default:()=>$m}),$m,eh=t((()=>{$m=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-minus" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 12h8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),th=/* @__PURE__ */ n({default:()=>nh}),nh,rh=t((()=>{nh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-moon" viewBox="2 2.01 19.99 19.99"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"/></svg>`})),ih=/* @__PURE__ */ n({default:()=>ah}),ah,oh=t((()=>{ah=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-down-up" viewBox="2 3 21 17"><path d="M3 5h8m5-1 3 3 3-3M3 12h.01M8 12h12M3 19h.01M8 19h12"/></svg>`})),sh=/* @__PURE__ */ n({default:()=>ch}),ch,lh=t((()=>{ch=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-music" viewBox="2 2 20 20"><path d="M9 18V5l12-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="16" r="3"/></svg>`})),uh=/* @__PURE__ */ n({default:()=>dh}),dh,fh=t((()=>{dh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-newspaper" viewBox="1 1 22 22"><path d="M15 18h-5m8-4h-8m-6 8h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2"/><rect width="8" height="4" x="10" y="6" rx="1"/></svg>`})),ph=/* @__PURE__ */ n({default:()=>mh}),mh,hh=t((()=>{mh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-ban" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M4.929 4.929 19.07 19.071"/></svg>`})),gh=/* @__PURE__ */ n({default:()=>_h}),_h,vh=t((()=>{_h=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-list-ordered" viewBox="2.43 2 18.01 18"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 3h1v6M5 9h4m-4 5.328c0-.62.21-1.214.586-1.652.375-.438.884-.685 1.414-.685s1.04.247 1.414.685A2.55 2.55 0 0 1 9 14.328c0 2.92-4 2.336-4 4.672h4m3.874-7.5h3a2 2 0 1 1 0 4h-3m2-4 2-3h-4"/></svg>`})),yh=/* @__PURE__ */ n({default:()=>bh}),bh,xh=t((()=>{bh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-building-2" viewBox="1 2 22 20"><path d="M10 12h4m-4-4h4m0 13v-3a2 2 0 0 0-4 0v3"/><path d="M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2"/><path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/></svg>`})),Sh=/* @__PURE__ */ n({default:()=>Ch}),Ch,wh=t((()=>{Ch=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-2-x-2" viewBox="2 2 20 20"><path d="M12 3v18m-9-9h18"/><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),Th=/* @__PURE__ */ n({default:()=>Eh}),Eh,Dh=t((()=>{Eh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-send-horizontal" viewBox="2 2 21 20"><path d="M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904zM6 12h16"/></svg>`})),Oh=/* @__PURE__ */ n({default:()=>kh}),kh,Ah=t((()=>{kh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-paperclip" viewBox="2 1 20.66 22"><path d="m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"/></svg>`})),jh=/* @__PURE__ */ n({default:()=>Mh}),Mh,Nh=t((()=>{Mh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-pause" viewBox="3 1 10 14"><path fill="currentColor" d="M3.75 1a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V1.75A.75.75 0 0 0 5.25 1zm7 0a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V1.75a.75.75 0 0 0-.75-.75z"/></svg>`})),Ph=/* @__PURE__ */ n({default:()=>Fh}),Fh,Ih=t((()=>{Fh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-pen" viewBox="2 1 21 21"><path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z"/></svg>`})),Lh=/* @__PURE__ */ n({default:()=>Rh}),Rh,zh=t((()=>{Rh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users-round" viewBox="1 2 22 20"><path d="M18 21a8 8 0 0 0-16 0"/><circle cx="10" cy="8" r="5"/><path d="M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"/></svg>`})),Bh=/* @__PURE__ */ n({default:()=>Vh}),Vh,Hh=t((()=>{Vh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users" viewBox="0.57 2 22.87 20"><circle cx="12" cy="7" r="4"/><path d="M5 21v-2a7 7 0 0 1 14 0v2M5.5 10.5a3 3 0 1 1-1-5.85M2 21v-1a5 5 0 0 1 3-4.58m13.5-4.92a3 3 0 1 0 1-5.85M22 21v-1a5 5 0 0 0-3-4.58"/></svg>`})),Uh=/* @__PURE__ */ n({default:()=>Wh}),Wh,Gh=t((()=>{Wh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-user-round" viewBox="1 1 22 22"><path d="M17.925 20.056a6 6 0 0 0-11.851.001"/><circle cx="12" cy="11" r="4"/><circle cx="12" cy="12" r="10"/></svg>`})),Kh=/* @__PURE__ */ n({default:()=>qh}),qh,Jh=t((()=>{qh=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-user" viewBox="3 3 18 18"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Yh=/* @__PURE__ */ n({default:()=>Xh}),Xh,Zh=t((()=>{Xh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-smartphone" viewBox="4 1 16 22"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg>`})),Qh=/* @__PURE__ */ n({default:()=>$h}),$h,eg=t((()=>{$h=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-picture-in-picture" viewBox="1 3 22 19"><path d="M2 10h6V4M2 4l6 6m13 0V7a2 2 0 0 0-2-2h-7m-9 9v2a2 2 0 0 0 2 2h3"/><rect width="10" height="7" x="12" y="14" rx="1"/></svg>`})),tg=/* @__PURE__ */ n({default:()=>ng}),ng,rg=t((()=>{ng=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chart-pie" viewBox="1 1.05 21.95 21.95"><path d="M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z"/><path d="M21.21 15.89A10 10 0 1 1 8 2.83"/></svg>`})),ig=/* @__PURE__ */ n({default:()=>ag}),ag,og=t((()=>{ag=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pin" viewBox="4 1 16 22"><path d="M12 17v5M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg>`})),sg=/* @__PURE__ */ n({default:()=>cg}),cg,lg=t((()=>{cg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-pin" viewBox="1.5 2 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="none" stroke-width="2" d="M12 17v5"/><path fill="#fff" stroke-width="0" d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ug=/* @__PURE__ */ n({default:()=>dg}),dg,fg=t((()=>{dg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pizza" viewBox="1 1 22 22"><path d="m12 14-1 1m2.75 3.25-1.25 1.42m5.275-14.016a15.68 15.68 0 0 0-12.121 12.12M18.8 9.3a1 1 0 0 0 2.1 7.7"/><path d="M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z"/></svg>`})),pg=/* @__PURE__ */ n({default:()=>mg}),mg,hg=t((()=>{mg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-play" viewBox="2 1 13 14"><path fill="currentColor" d="M4.422 1.221C3.37.625 2 1.305 2 2.423v11.154c0 1.118 1.37 1.798 2.422 1.202l9.84-5.578c.984-.557.984-1.845 0-2.402L4.423 1.22Z"/></svg>`})),gg=/* @__PURE__ */ n({default:()=>_g}),_g,vg=t((()=>{_g=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-plug" viewBox="5 1 14 22"><path d="M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2"/></svg>`})),yg=/* @__PURE__ */ n({default:()=>bg}),bg,xg=t((()=>{bg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-plus" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 12h8m-4-4v8"/></svg>`})),Sg=/* @__PURE__ */ n({default:()=>Cg}),Cg,wg=t((()=>{Cg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-plus" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 12h8m-4-4v8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Tg=/* @__PURE__ */ n({default:()=>Eg}),Eg,Dg=t((()=>{Eg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-diff" viewBox="4 2 16 20"><path d="M12 3v14m-7-7h14M5 21h14"/></svg>`})),Og=/* @__PURE__ */ n({default:()=>kg}),kg,Ag=t((()=>{kg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mouse-pointer-2" viewBox="3 3 19 19"><path d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z"/></svg>`})),jg=/* @__PURE__ */ n({default:()=>Mg}),Mg,Ng=t((()=>{Mg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-mouse-pointer-2" viewBox="4 4 17 17"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Pg=/* @__PURE__ */ n({default:()=>Fg}),Fg,Ig=t((()=>{Fg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4m5 4v-8m5 8V8m5-4v16"/></svg>`})),Lg=/* @__PURE__ */ n({default:()=>Rg}),Rg,zg=t((()=>{Rg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal-low" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 20v-8m5 8V8m5-4v16" opacity=".35"/></svg>`})),Bg=/* @__PURE__ */ n({default:()=>Vg}),Vg,Hg=t((()=>{Vg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal-medium" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4m5 4v-8"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20V8m5-4v16" opacity=".35"/></svg>`})),Ug=/* @__PURE__ */ n({default:()=>Wg}),Wg,Gg=t((()=>{Wg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-projector" viewBox="1 2 22 19"><path d="M5 7 3 5m6 1V3m4 4 2-2"/><circle cx="9" cy="13" r="3"/><path d="M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17M16 16h2"/></svg>`})),Kg=/* @__PURE__ */ n({default:()=>qg}),qg,Jg=t((()=>{qg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-closed" viewBox="2 2 20 20"><circle cx="6" cy="6" r="3"/><path d="M6 9v12M21 3l-6 6m6 0-6-6m3 8.5V15"/><circle cx="18" cy="18" r="3"/></svg>`})),Yg=/* @__PURE__ */ n({default:()=>Xg}),Xg,Zg=t((()=>{Xg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-draft" viewBox="2 2 20 20"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M18 6V5m0 6v-1M6 9v12"/></svg>`})),Qg=/* @__PURE__ */ n({default:()=>$g}),$g,e_=t((()=>{$g=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-arrow" viewBox="1 2 22 20"><circle cx="5" cy="6" r="3"/><path d="M5 9v12"/><circle cx="19" cy="18" r="3"/><path d="m15 9-3-3 3-3"/><path d="M12 6h5a2 2 0 0 1 2 2v7"/></svg>`})),t_=/* @__PURE__ */ n({default:()=>n_}),n_,r_=t((()=>{n_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-activity" viewBox="1 1 22 22"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/></svg>`})),i_=/* @__PURE__ */ n({default:()=>a_}),a_,o_=t((()=>{a_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-puzzle" viewBox="1 1 22 22"><path d="M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"/></svg>`})),s_=/* @__PURE__ */ n({default:()=>c_}),c_,l_=t((()=>{c_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-question-mark" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01"/></svg>`})),u_=/* @__PURE__ */ n({default:()=>d_}),d_,f_=t((()=>{d_=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-help-circle" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),p_=/* @__PURE__ */ n({default:()=>m_}),m_,h_=t((()=>{m_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layout-panel-top" viewBox="2 2 20 20"><rect width="18" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/></svg>`})),g_=/* @__PURE__ */ n({default:()=>__}),__,v_=t((()=>{__=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-horizontal-end" viewBox="1 2 22 20"><path d="M2 7v10M6 5v14"/><rect width="12" height="18" x="10" y="3" rx="2"/></svg>`})),y_=/* @__PURE__ */ n({default:()=>b_}),b_,x_=t((()=>{b_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-vertical-end" viewBox="2 1 20 22"><path d="M7 2h10M5 6h14"/><rect width="18" height="12" x="3" y="10" rx="2"/></svg>`})),S_=/* @__PURE__ */ n({default:()=>C_}),C_,w_=t((()=>{C_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-redo" viewBox="2 6 20 12"><path d="M21 7v6h-6"/><path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7"/></svg>`})),T_=/* @__PURE__ */ n({default:()=>E_}),E_,D_=t((()=>{E_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-reply" viewBox="3 6 18 13"><path d="M20 18v-2a4 4 0 0 0-4-4H4"/><path d="m9 17-5-5 5-5"/></svg>`})),O_=/* @__PURE__ */ n({default:()=>k_}),k_,A_=t((()=>{k_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-rewind" viewBox="0 3.5 16 9"><path fill="currentColor" d="M6.252 12.31c.97.542 2.178-.142 2.178-1.233V9.304l5.392 3.007c.97.54 2.178-.143 2.178-1.234V4.923c0-1.091-1.207-1.775-2.178-1.234L8.43 6.696V4.923c0-1.091-1.208-1.775-2.178-1.234L.734 6.767a1.404 1.404 0 0 0 0 2.466z"/></svg>`})),j_=/* @__PURE__ */ n({default:()=>M_}),M_,N_=t((()=>{M_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-ccw" viewBox="2 2 20 20"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m0 2h1v5"/><rect width="3" height="5" x="12" y="10" rx="1.5"/></svg>`})),P_=/* @__PURE__ */ n({default:()=>F_}),F_,I_=t((()=>{F_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rocket" viewBox="1.5 1 21.5 21.5"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"/><path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"/></svg>`})),L_=/* @__PURE__ */ n({default:()=>R_}),R_,z_=t((()=>{R_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-loader-circle" viewBox="2 2 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3a9 9 0 1 1-8.56 6.22"/><path fill="currentColor" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0"/></svg>`})),B_=/* @__PURE__ */ n({default:()=>V_}),V_,H_=t((()=>{V_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-scale" viewBox="1 2 22 20"><path d="M12 3v18m7-13 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10"/></svg>`})),U_=/* @__PURE__ */ n({default:()=>W_}),W_,G_=t((()=>{W_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-scissors" viewBox="2 2 19 20"><circle cx="6" cy="6" r="3"/><path d="M8.12 8.12 12 12m8-8L8.12 15.88"/><circle cx="6" cy="18" r="3"/><path d="M14.8 14.8 20 20"/></svg>`})),K_=/* @__PURE__ */ n({default:()=>q_}),q_,J_=t((()=>{q_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rss" viewBox="3 3 18 18"><path d="M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1"/></svg>`})),Y_=/* @__PURE__ */ n({default:()=>X_}),X_,Z_=t((()=>{X_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hard-drive" viewBox="1 3 22 18"><path d="M10 16h.01m-7.798-4.423a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11zm19.734.436H2.054M6 16h.01"/></svg>`})),Q_=/* @__PURE__ */ n({default:()=>$_}),$_,ev=t((()=>{$_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-server" viewBox="1 1 22 22"><rect width="20" height="8" x="2" y="2" rx="2" ry="2"/><rect width="20" height="8" x="2" y="14" rx="2" ry="2"/><path d="M6 6h.01M6 18h.01"/></svg>`})),tv=/* @__PURE__ */ n({default:()=>nv}),nv,rv=t((()=>{nv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-shapes" viewBox="2 1.64 20 20.36"><path d="M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z"/><rect width="7" height="7" x="3" y="14" rx="1"/><circle cx="17.5" cy="17.5" r="3.5"/></svg>`})),iv=/* @__PURE__ */ n({default:()=>av}),av,ov=t((()=>{av=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-share-2" viewBox="2 1 20 22"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98"/></svg>`})),sv=/* @__PURE__ */ n({default:()=>cv}),cv,lv=t((()=>{cv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio" viewBox="1 3.93 22 16.13"><path d="M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/><circle cx="12" cy="12" r="2"/></svg>`})),uv=/* @__PURE__ */ n({default:()=>dv}),dv,fv=t((()=>{dv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-off" viewBox="1 1 22 22"><path d="M13.414 13.414a2 2 0 1 1-2.828-2.828m5.661-2.825a6 6 0 0 1 1.744 4.572m1.084-7.4a10 10 0 0 1 2.234 10.72M2 2l20 20M4.925 19.067a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/></svg>`})),pv=/* @__PURE__ */ n({default:()=>mv}),mv,hv=t((()=>{mv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-milestone" viewBox="2 2 21 20"><path d="M12 13v8m0-18v3m6.172 0a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z"/></svg>`})),gv=/* @__PURE__ */ n({default:()=>_v}),_v,vv=t((()=>{_v=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sort-asc" viewBox="2 3 20 18"><path d="m3 8 4-4 4 4M7 4v16m4-8h4m-4 4h7m-7 4h10"/></svg>`})),yv=/* @__PURE__ */ n({default:()=>bv}),bv,xv=t((()=>{bv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sort-desc" viewBox="2 3 20 18"><path d="m3 16 4 4 4-4m-4 4V4m4 0h10M11 8h7m-7 4h4"/></svg>`})),Sv=/* @__PURE__ */ n({default:()=>Cv}),Cv,wv=t((()=>{Cv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-audio-lines" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 10v3m4-7v11m4-14v18m4-13v7m4-10v13m4-8v3"/></svg>`})),Tv=/* @__PURE__ */ n({default:()=>Ev}),Ev,Dv=t((()=>{Ev=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-sparkles" viewBox="2 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"/><path fill="none" stroke-width="2" d="M20 2v4m2-2h-4"/><circle cx="4" cy="20" r="2" fill="#fff" stroke-width="0"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Ov=/* @__PURE__ */ n({default:()=>kv}),kv,Av=t((()=>{kv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-split-vertical" viewBox="0 0 24 24"><path d="M2 12h20m-1 4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3m0-8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3"/></svg>`})),jv=/* @__PURE__ */ n({default:()=>Mv}),Mv,Nv=t((()=>{Mv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),Pv=/* @__PURE__ */ n({default:()=>Fv}),Fv,Iv=t((()=>{Fv=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-star" viewBox="1.99 1.95 20.02 19.17"><path fill="currentColor" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/><path fill="none" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/></svg>`})),Lv=/* @__PURE__ */ n({default:()=>Rv}),Rv,zv=t((()=>{Rv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-star-half" viewBox="1 1 22 21.07"><defs><clipPath id="b" clipPathUnits="userSpaceOnUse"><path d="M1 1h11.85v21.07H1z"/></clipPath><clipPath id="a" clipPathUnits="userSpaceOnUse"><path d="M12.85 1H23v21.07H12.85z"/></clipPath></defs><path stroke="var(--stroke-color,currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" clip-path="url(#a)"/><path fill="currentColor" d="M11.525 2.295A.53.53 0 0 1 12 2v16.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" clip-path="url(#b)"/></svg>`})),Bv=/* @__PURE__ */ n({default:()=>Vv}),Vv,Hv=t((()=>{Vv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-star" viewBox="1 1 22 21.07"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/></svg>`})),Uv=/* @__PURE__ */ n({default:()=>Wv}),Wv,Gv=t((()=>{Wv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevron-first" viewBox="6 5 12 14"><path d="m17 18-6-6 6-6M7 6v12"/></svg>`})),Kv=/* @__PURE__ */ n({default:()=>qv}),qv,Jv=t((()=>{qv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-off" viewBox="1 1 22 22"><path d="M13.414 13.414a2 2 0 1 1-2.828-2.828m5.661-2.825a6 6 0 0 1 1.744 4.572m1.084-7.4a10 10 0 0 1 2.234 10.72M2 2l20 20M4.925 19.067a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/></svg>`})),Yv=/* @__PURE__ */ n({default:()=>Xv}),Xv,Zv=t((()=>{Xv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio" viewBox="1 3.93 22 16.13"><path d="M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/><circle cx="12" cy="12" r="2"/></svg>`})),Qv=/* @__PURE__ */ n({default:()=>$v}),$v,ey=t((()=>{$v=`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),ty=/* @__PURE__ */ n({default:()=>ny}),ny,ry=t((()=>{ny=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-octagon-minus" viewBox="1 1 22 22"><path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586zM8 12h8"/></svg>`})),iy=/* @__PURE__ */ n({default:()=>ay}),ay,oy=t((()=>{ay=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-timer" viewBox="3 1 18 22"><path d="M10 2h4m-2 12 3-3"/><circle cx="12" cy="14" r="8"/></svg>`})),sy=/* @__PURE__ */ n({default:()=>cy}),cy,ly=t((()=>{cy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-strikethrough" viewBox="3 3 18 18"><path d="M16 4H9a3 3 0 0 0-2.83 4M14 12a4 4 0 0 1 0 8H6m-2-8h16"/></svg>`})),uy=/* @__PURE__ */ n({default:()=>dy}),dy,fy=t((()=>{dy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sun" viewBox="1 1 22 22"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/></svg>`})),py=/* @__PURE__ */ n({default:()=>my}),my,hy=t((()=>{my=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-swatch-book" viewBox="2 2 20 20"><path d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z"/><path d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7m0-4h.01"/><path d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8"/></svg>`})),gy=/* @__PURE__ */ n({default:()=>_y}),_y,vy=t((()=>{_y=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-down" viewBox="2 3 20 18"><path d="m21 16-4 4-4-4m4 4V4M3 8l4-4 4 4M7 4v16"/></svg>`})),yy=/* @__PURE__ */ n({default:()=>by}),by,xy=t((()=>{by=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grip" viewBox="3 3 18 18"><circle cx="12" cy="5" r="1"/><circle cx="19" cy="5" r="1"/><circle cx="5" cy="5" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/><circle cx="12" cy="19" r="1"/><circle cx="19" cy="19" r="1"/><circle cx="5" cy="19" r="1"/></svg>`})),Sy=/* @__PURE__ */ n({default:()=>Cy}),Cy,wy=t((()=>{Cy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-table-2" viewBox="2 2 20 20"><path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"/></svg>`})),Ty=/* @__PURE__ */ n({default:()=>Ey}),Ey,Dy=t((()=>{Ey=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-tag" viewBox="1 1 22 22"><path d="M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"/><circle cx="7.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),Oy=/* @__PURE__ */ n({default:()=>ky}),ky,Ay=t((()=>{ky=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-check" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="m9 12 2 2 4-4"/></svg>`})),jy=/* @__PURE__ */ n({default:()=>My}),My,Ny=t((()=>{My=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-telescope" viewBox="1.21 2.21 21.58 19.79"><path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44m-2.875 6.493 4.332-.924M16 21l-3.105-6.21"/><path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455zM6.158 8.633l1.114 4.456M8 21l3.105-6.21"/><circle cx="12" cy="13" r="2"/></svg>`})),Py=/* @__PURE__ */ n({default:()=>Fy}),Fy,Iy=t((()=>{Fy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layout-template" viewBox="2 2 20 20"><rect width="18" height="7" x="3" y="3" rx="1"/><rect width="9" height="7" x="3" y="14" rx="1"/><rect width="5" height="7" x="16" y="14" rx="1"/></svg>`})),Ly=/* @__PURE__ */ n({default:()=>Ry}),Ry,zy=t((()=>{Ry=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-terminal-square" viewBox="2 2 20 20"><path d="m7 11 2-2-2-2m4 6h4"/><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/></svg>`})),By=/* @__PURE__ */ n({default:()=>Vy}),Vy,Hy=t((()=>{Vy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-thumbs-up" viewBox="0.91 1 22.01 22"><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12"/></svg>`})),Uy=/* @__PURE__ */ n({default:()=>Wy}),Wy,Gy=t((()=>{Wy=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-thumbs-up" viewBox="1.91 2 20.01 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M7 10v12"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Ky=/* @__PURE__ */ n({default:()=>qy}),qy,Jy=t((()=>{qy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-traffic-cone" viewBox="1 1 22 22"><path d="M16.05 10.966a5 2.5 0 0 1-8.1 0m8.973 3.083 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04"/><path d="M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z"/><path d="M9.194 6.57a5 2.5 0 0 0 5.61 0"/></svg>`})),Yy=/* @__PURE__ */ n({default:()=>Xy}),Xy,Zy=t((()=>{Xy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-box" viewBox="4 2 16 20"><path stroke-dasharray="2 3" d="m12 3 7 4v10l-7 4-7-4V7zm0 8L5 7m7 4 7-4m-7 4v10"/></svg>`})),Qy=/* @__PURE__ */ n({default:()=>$y}),$y,eb=t((()=>{$y=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trending-down" viewBox="1 6 22 12"><path d="M16 17h6v-6"/><path d="m22 17-8.5-8.5-5 5L2 7"/></svg>`})),tb=/* @__PURE__ */ n({default:()=>nb}),nb,rb=t((()=>{nb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trending-up" viewBox="1 6 22 12"><path d="M16 7h6v6"/><path d="m22 7-8.5 8.5-5-5L2 17"/></svg>`})),ib=/* @__PURE__ */ n({default:()=>ab}),ab,ob=t((()=>{ab=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trophy" viewBox="1 1 22 22"><path d="M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978m7-7.318v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978M18 9h1.5a1 1 0 0 0 0-5H18M4 22h16"/><path d="M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1zm0 0H4.5a1 1 0 0 1 0-5H6"/></svg>`})),sb=/* @__PURE__ */ n({default:()=>cb}),cb,lb=t((()=>{cb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-truck" viewBox="1 3 22 18"><path d="M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2m10 0H9m10 0h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14"/><circle cx="17" cy="18" r="2"/><circle cx="7" cy="18" r="2"/></svg>`})),ub=/* @__PURE__ */ n({default:()=>db}),db,fb=t((()=>{db=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-type" viewBox="3 3 18 18"><path d="M12 4v16M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2M9 20h6"/></svg>`})),pb=/* @__PURE__ */ n({default:()=>mb}),mb,hb=t((()=>{mb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-undo" viewBox="2 6 20 12"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"/></svg>`})),gb=/* @__PURE__ */ n({default:()=>_b}),_b,vb=t((()=>{_b=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lock-open" viewBox="2 0.99 20 22.01"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></svg>`})),yb=/* @__PURE__ */ n({default:()=>bb}),bb,xb=t((()=>{bb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-lock-open" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" fill="#fff" stroke-width="0" rx="2" ry="2"/><path fill="none" stroke-width="2" d="M7 11V7a5 5 0 0 1 9.9-1"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Sb=/* @__PURE__ */ n({default:()=>Cb}),Cb,wb=t((()=>{Cb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-upload" viewBox="2 2 20 20"><path d="M12 3v12m5-7-5-5-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/></svg>`})),Tb=/* @__PURE__ */ n({default:()=>Eb}),Eb,Db=t((()=>{Eb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-video" viewBox="1 5 22 14"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect width="14" height="12" x="2" y="6" rx="2"/></svg>`})),Ob=/* @__PURE__ */ n({default:()=>kb}),kb,Ab=t((()=>{kb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-3x3" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M3 9h18M3 15h18M9 3v18m6-18v18"/></svg>`})),jb=/* @__PURE__ */ n({default:()=>Mb}),Mb,Nb=t((()=>{Mb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-volume-2" viewBox="1 3 22 18.01"><path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728"/></svg>`})),Pb=/* @__PURE__ */ n({default:()=>Fb}),Fb,Ib=t((()=>{Fb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-volume-x" viewBox="1 3 22 18.01"><path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM22 9l-6 6m0-6 6 6"/></svg>`})),Lb=/* @__PURE__ */ n({default:()=>Rb}),Rb,zb=t((()=>{Rb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-volume-2" viewBox="2 1.5 21 21.01"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/><path fill="none" stroke-width="2" d="M16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Bb=/* @__PURE__ */ n({default:()=>Vb}),Vb,Hb=t((()=>{Vb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-wifi" viewBox="1 4 22 17"><path d="M12 20h.01M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0"/></svg>`})),Ub=/* @__PURE__ */ n({default:()=>Wb}),Wb,Gb=t((()=>{Wb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-wrench" viewBox="1 1 22 22"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/></svg>`})),Kb=/* @__PURE__ */ n({default:()=>qb}),qb,Jb=t((()=>{qb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-wrench" viewBox="1.99 1.98 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Yb=/* @__PURE__ */ n({default:()=>Xb}),Xb,Zb=t((()=>{Xb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-x" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6m0-6 6 6"/></svg>`})),Qb=/* @__PURE__ */ n({default:()=>$b}),$b,ex=t((()=>{$b=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-x" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m15 9-6 6m0-6 6 6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),tx=/* @__PURE__ */ n({default:()=>nx}),nx,rx=t((()=>{nx=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zoom-in" viewBox="2 2 20 20"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M11 8v6m-3-3h6"/></svg>`})),ix=/* @__PURE__ */ n({default:()=>ax}),ax,ox=t((()=>{ax=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zoom-out" viewBox="2 2 20 20"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>`}));function j(e){return{async svg(){return(await e()).default}}}var sx={placeholder:j(()=>Promise.resolve().then(()=>(ji(),ki))),caret:j(()=>Promise.resolve().then(()=>(Pi(),Mi))),person:j(()=>Promise.resolve().then(()=>(Li(),Fi))),menu:j(()=>Promise.resolve().then(()=>(Bi(),Ri))),cancel:j(()=>Promise.resolve().then(()=>(Ui(),Vi))),gear:j(()=>Promise.resolve().then(()=>(Ki(),Wi))),chevron:j(()=>Promise.resolve().then(()=>(Yi(),qi))),logout:j(()=>Promise.resolve().then(()=>(Qi(),Xi))),copy:j(()=>Promise.resolve().then(()=>(ta(),$i))),"more-actions":j(()=>Promise.resolve().then(()=>(ia(),na))),add:j(()=>Promise.resolve().then(()=>(sa(),aa))),arrow:j(()=>Promise.resolve().then(()=>(ua(),ca))),delete:j(()=>Promise.resolve().then(()=>(pa(),da))),download:j(()=>Promise.resolve().then(()=>(ga(),ma))),search:j(()=>Promise.resolve().then(()=>(ya(),_a))),"split-vertical":j(()=>Promise.resolve().then(()=>(Sa(),ba))),sparkles:j(()=>Promise.resolve().then(()=>(Ta(),Ca))),branch:j(()=>Promise.resolve().then(()=>(Oa(),Ea))),refresh:j(()=>Promise.resolve().then(()=>(ja(),ka))),"double-chevron":j(()=>Promise.resolve().then(()=>(Pa(),Ma))),"academic-cap":j(()=>Promise.resolve().then(()=>(La(),Fa))),"add-asset":j(()=>Promise.resolve().then(()=>(Ba(),Ra))),"add-comment":j(()=>Promise.resolve().then(()=>(Ua(),Va))),"add-grid":j(()=>Promise.resolve().then(()=>(Ka(),Wa))),"add-user":j(()=>Promise.resolve().then(()=>(Ya(),qa))),ancestors:j(()=>Promise.resolve().then(()=>(Qa(),Xa))),archive:j(()=>Promise.resolve().then(()=>(to(),$a))),"arrow-angle":j(()=>Promise.resolve().then(()=>(io(),no))),"arrow-both":j(()=>Promise.resolve().then(()=>(so(),ao))),"arrow-cycle":j(()=>Promise.resolve().then(()=>(uo(),co))),"arrow-path-rounded-square":j(()=>Promise.resolve().then(()=>(mo(),fo))),"arrow-stop":j(()=>Promise.resolve().then(()=>(_o(),ho))),"at-symbol":j(()=>Promise.resolve().then(()=>(bo(),vo))),backspace:j(()=>Promise.resolve().then(()=>(Co(),xo))),"bar-pill-stack":j(()=>Promise.resolve().then(()=>(Eo(),wo))),"bars-3":j(()=>Promise.resolve().then(()=>(ko(),Do))),"bars-3-bottom-left":j(()=>Promise.resolve().then(()=>(Mo(),Ao))),"bars-3-bottom-right":j(()=>Promise.resolve().then(()=>(Fo(),No))),"bars-3-center-left":j(()=>Promise.resolve().then(()=>(Ro(),Io))),"bars-4":j(()=>Promise.resolve().then(()=>(Vo(),zo))),beaker:j(()=>Promise.resolve().then(()=>(Wo(),Ho))),bell:j(()=>Promise.resolve().then(()=>(qo(),Go))),"bell-slash":j(()=>Promise.resolve().then(()=>(Xo(),Jo))),"bell-solid":j(()=>Promise.resolve().then(()=>($o(),Zo))),bold:j(()=>Promise.resolve().then(()=>(ns(),es))),book:j(()=>Promise.resolve().then(()=>(as(),rs))),"book-solid":j(()=>Promise.resolve().then(()=>(cs(),os))),bookmark:j(()=>Promise.resolve().then(()=>(ds(),ls))),"bookmark-solid":j(()=>Promise.resolve().then(()=>(ms(),fs))),"bounding-box":j(()=>Promise.resolve().then(()=>(_s(),hs))),briefcase:j(()=>Promise.resolve().then(()=>(bs(),vs))),broadcast:j(()=>Promise.resolve().then(()=>(Cs(),xs))),browser:j(()=>Promise.resolve().then(()=>(Es(),ws))),bug:j(()=>Promise.resolve().then(()=>(ks(),Ds))),calendar:j(()=>Promise.resolve().then(()=>(Ms(),As))),camera:j(()=>Promise.resolve().then(()=>(Fs(),Ns))),"carets-closed-square":j(()=>Promise.resolve().then(()=>(Rs(),Is))),carousel:j(()=>Promise.resolve().then(()=>(Vs(),zs))),"category-list":j(()=>Promise.resolve().then(()=>(Ws(),Hs))),"chart-bar":j(()=>Promise.resolve().then(()=>(qs(),Gs))),"chat-bubble":j(()=>Promise.resolve().then(()=>(Xs(),Js))),"chat-bubble-solid":j(()=>Promise.resolve().then(()=>($s(),Zs))),"chat-bubbles":j(()=>Promise.resolve().then(()=>(nc(),ec))),check:j(()=>Promise.resolve().then(()=>(ac(),rc))),"check-badge":j(()=>Promise.resolve().then(()=>(cc(),oc))),"check-badge-solid":j(()=>Promise.resolve().then(()=>(dc(),lc))),checklist:j(()=>Promise.resolve().then(()=>(mc(),fc))),"checkmark-circle":j(()=>Promise.resolve().then(()=>(_c(),hc))),"checkmark-circle-solid":j(()=>Promise.resolve().then(()=>(bc(),vc))),chip:j(()=>Promise.resolve().then(()=>(Cc(),xc))),circle:j(()=>Promise.resolve().then(()=>(Ec(),wc))),"circle-angled-line":j(()=>Promise.resolve().then(()=>(kc(),Dc))),"circle-angled-line-solid":j(()=>Promise.resolve().then(()=>(Mc(),Ac))),"circle-dash":j(()=>Promise.resolve().then(()=>(Fc(),Nc))),"circle-dot":j(()=>Promise.resolve().then(()=>(Rc(),Ic))),"circle-dot-arrows":j(()=>Promise.resolve().then(()=>(Vc(),zc))),"circle-half":j(()=>Promise.resolve().then(()=>(Wc(),Hc))),"circle-rule":j(()=>Promise.resolve().then(()=>(qc(),Gc))),"circle-tick":j(()=>Promise.resolve().then(()=>(Xc(),Jc))),clipboard:j(()=>Promise.resolve().then(()=>($c(),Zc))),clock:j(()=>Promise.resolve().then(()=>(nl(),el))),"clock-circle-arrow":j(()=>Promise.resolve().then(()=>(al(),rl))),cloud:j(()=>Promise.resolve().then(()=>(cl(),ol))),"cloud-download":j(()=>Promise.resolve().then(()=>(dl(),ll))),"cloud-upload":j(()=>Promise.resolve().then(()=>(ml(),fl))),code:j(()=>Promise.resolve().then(()=>(_l(),hl))),"collapse-all":j(()=>Promise.resolve().then(()=>(bl(),vl))),"collapse-details":j(()=>Promise.resolve().then(()=>(Cl(),xl))),"color-palette":j(()=>Promise.resolve().then(()=>(El(),wl))),columns:j(()=>Promise.resolve().then(()=>(kl(),Dl))),compare:j(()=>Promise.resolve().then(()=>(Ml(),Al))),computer:j(()=>Promise.resolve().then(()=>(Fl(),Nl))),"connect-node":j(()=>Promise.resolve().then(()=>(Rl(),Il))),"connected-blocks":j(()=>Promise.resolve().then(()=>(Vl(),zl))),"cross-hairs":j(()=>Promise.resolve().then(()=>(Wl(),Hl))),"cursor-rays":j(()=>Promise.resolve().then(()=>(ql(),Gl))),"cursor-ripples":j(()=>Promise.resolve().then(()=>(Xl(),Jl))),"data-management":j(()=>Promise.resolve().then(()=>($l(),Zl))),"delete-node":j(()=>Promise.resolve().then(()=>(nu(),eu))),"delete-solid":j(()=>Promise.resolve().then(()=>(au(),ru))),"doc-checkmark":j(()=>Promise.resolve().then(()=>(cu(),ou))),"dock-bottom":j(()=>Promise.resolve().then(()=>(du(),lu))),"dock-none":j(()=>Promise.resolve().then(()=>(mu(),fu))),"dock-side":j(()=>Promise.resolve().then(()=>(_u(),hu))),document:j(()=>Promise.resolve().then(()=>(bu(),vu))),"document-clipboard":j(()=>Promise.resolve().then(()=>(Cu(),xu))),dot:j(()=>Promise.resolve().then(()=>(Eu(),wu))),"dot-solid":j(()=>Promise.resolve().then(()=>(ku(),Du))),drag:j(()=>Promise.resolve().then(()=>(Mu(),Au))),dropper:j(()=>Promise.resolve().then(()=>(Fu(),Nu))),duplicate:j(()=>Promise.resolve().then(()=>(Ru(),Iu))),edit:j(()=>Promise.resolve().then(()=>(Vu(),zu))),ellipses:j(()=>Promise.resolve().then(()=>(Wu(),Hu))),envelope:j(()=>Promise.resolve().then(()=>(qu(),Gu))),"exclamation-circle":j(()=>Promise.resolve().then(()=>(Xu(),Ju))),"exclamation-circle-solid":j(()=>Promise.resolve().then(()=>($u(),Zu))),"exclamation-mark":j(()=>Promise.resolve().then(()=>(nd(),ed))),"exclamation-triangle":j(()=>Promise.resolve().then(()=>(ad(),rd))),"exclamation-triangle-solid":j(()=>Promise.resolve().then(()=>(cd(),od))),"expand-all":j(()=>Promise.resolve().then(()=>(dd(),ld))),"expand-details":j(()=>Promise.resolve().then(()=>(md(),fd))),expression:j(()=>Promise.resolve().then(()=>(_d(),hd))),eye:j(()=>Promise.resolve().then(()=>(bd(),vd))),"eye-hidden":j(()=>Promise.resolve().then(()=>(Cd(),xd))),"face-frown":j(()=>Promise.resolve().then(()=>(Ed(),wd))),"face-smile":j(()=>Promise.resolve().then(()=>(kd(),Dd))),"face-smile-solid":j(()=>Promise.resolve().then(()=>(Md(),Ad))),"fast-forward":j(()=>Promise.resolve().then(()=>(Fd(),Nd))),"fast-forward-10":j(()=>Promise.resolve().then(()=>(Rd(),Id))),film:j(()=>Promise.resolve().then(()=>(Vd(),zd))),filter:j(()=>Promise.resolve().then(()=>(Wd(),Hd))),"filter-solid":j(()=>Promise.resolve().then(()=>(qd(),Gd))),flag:j(()=>Promise.resolve().then(()=>(Xd(),Jd))),"flag-solid":j(()=>Promise.resolve().then(()=>($d(),Zd))),fold:j(()=>Promise.resolve().then(()=>(nf(),ef))),folder:j(()=>Promise.resolve().then(()=>(of(),rf))),fork:j(()=>Promise.resolve().then(()=>(lf(),sf))),"gear-solid":j(()=>Promise.resolve().then(()=>(ff(),uf))),globe:j(()=>Promise.resolve().then(()=>(hf(),pf))),"globe-alt":j(()=>Promise.resolve().then(()=>(vf(),gf))),group:j(()=>Promise.resolve().then(()=>(xf(),yf))),"group-boxes":j(()=>Promise.resolve().then(()=>(wf(),Sf))),hand:j(()=>Promise.resolve().then(()=>(Df(),Tf))),hash:j(()=>Promise.resolve().then(()=>(Af(),Of))),heading:j(()=>Promise.resolve().then(()=>(Nf(),jf))),home:j(()=>Promise.resolve().then(()=>(If(),Pf))),"home-solid":j(()=>Promise.resolve().then(()=>(zf(),Lf))),"horizontal-rule":j(()=>Promise.resolve().then(()=>(Hf(),Bf))),hourglass:j(()=>Promise.resolve().then(()=>(Gf(),Uf))),"hourglass-end":j(()=>Promise.resolve().then(()=>(Jf(),Kf))),"hourglass-mid":j(()=>Promise.resolve().then(()=>(Zf(),Yf))),"hourglass-start":j(()=>Promise.resolve().then(()=>(ep(),Qf))),identification:j(()=>Promise.resolve().then(()=>(rp(),tp))),image:j(()=>Promise.resolve().then(()=>(op(),ip))),inbox:j(()=>Promise.resolve().then(()=>(lp(),sp))),infinity:j(()=>Promise.resolve().then(()=>(fp(),up))),"information-circle":j(()=>Promise.resolve().then(()=>(hp(),pp))),"information-circle-solid":j(()=>Promise.resolve().then(()=>(vp(),gp))),inspect:j(()=>Promise.resolve().then(()=>(xp(),yp))),italic:j(()=>Promise.resolve().then(()=>(wp(),Sp))),key:j(()=>Promise.resolve().then(()=>(Dp(),Tp))),keyboard:j(()=>Promise.resolve().then(()=>(Ap(),Op))),"laptop-phone":j(()=>Promise.resolve().then(()=>(Np(),jp))),layers:j(()=>Promise.resolve().then(()=>(Ip(),Pp))),lifebuoy:j(()=>Promise.resolve().then(()=>(zp(),Lp))),lightbulb:j(()=>Promise.resolve().then(()=>(Hp(),Bp))),"lightning-bolt":j(()=>Promise.resolve().then(()=>(Gp(),Up))),"lightning-bolt-solid":j(()=>Promise.resolve().then(()=>(Jp(),Kp))),link:j(()=>Promise.resolve().then(()=>(Zp(),Yp))),"list-ordered":j(()=>Promise.resolve().then(()=>(em(),Qp))),"list-unordered":j(()=>Promise.resolve().then(()=>(rm(),tm))),lock:j(()=>Promise.resolve().then(()=>(om(),im))),"lock-solid":j(()=>Promise.resolve().then(()=>(lm(),sm))),login:j(()=>Promise.resolve().then(()=>(fm(),um))),looping:j(()=>Promise.resolve().then(()=>(hm(),pm))),"looping-off":j(()=>Promise.resolve().then(()=>(vm(),gm))),map:j(()=>Promise.resolve().then(()=>(xm(),ym))),"map-drives":j(()=>Promise.resolve().then(()=>(wm(),Sm))),"map-pin":j(()=>Promise.resolve().then(()=>(Dm(),Tm))),markdown:j(()=>Promise.resolve().then(()=>(Am(),Om))),maximize:j(()=>Promise.resolve().then(()=>(Nm(),jm))),megaphone:j(()=>Promise.resolve().then(()=>(Im(),Pm))),merge:j(()=>Promise.resolve().then(()=>(zm(),Lm))),meter:j(()=>Promise.resolve().then(()=>(Hm(),Bm))),minimize:j(()=>Promise.resolve().then(()=>(Gm(),Um))),minus:j(()=>Promise.resolve().then(()=>(Jm(),Km))),"minus-circle":j(()=>Promise.resolve().then(()=>(Zm(),Ym))),"minus-circle-solid":j(()=>Promise.resolve().then(()=>(eh(),Qm))),moon:j(()=>Promise.resolve().then(()=>(rh(),th))),multiselect:j(()=>Promise.resolve().then(()=>(oh(),ih))),"music-note":j(()=>Promise.resolve().then(()=>(lh(),sh))),newspaper:j(()=>Promise.resolve().then(()=>(fh(),uh))),"not-allowed":j(()=>Promise.resolve().then(()=>(hh(),ph))),numbers:j(()=>Promise.resolve().then(()=>(vh(),gh))),"office-building":j(()=>Promise.resolve().then(()=>(xh(),yh))),outline:j(()=>Promise.resolve().then(()=>(wh(),Sh))),"paper-airplane":j(()=>Promise.resolve().then(()=>(Dh(),Th))),"paper-clip":j(()=>Promise.resolve().then(()=>(Ah(),Oh))),pause:j(()=>Promise.resolve().then(()=>(Nh(),jh))),"pencil-square":j(()=>Promise.resolve().then(()=>(Ih(),Ph))),"person-2":j(()=>Promise.resolve().then(()=>(zh(),Lh))),"person-3":j(()=>Promise.resolve().then(()=>(Hh(),Bh))),"person-circle":j(()=>Promise.resolve().then(()=>(Gh(),Uh))),"person-solid":j(()=>Promise.resolve().then(()=>(Jh(),Kh))),phone:j(()=>Promise.resolve().then(()=>(Zh(),Yh))),"picture-in-picture":j(()=>Promise.resolve().then(()=>(eg(),Qh))),"pie-chart":j(()=>Promise.resolve().then(()=>(rg(),tg))),pin:j(()=>Promise.resolve().then(()=>(og(),ig))),"pin-solid":j(()=>Promise.resolve().then(()=>(lg(),sg))),"pizza-slice":j(()=>Promise.resolve().then(()=>(fg(),ug))),play:j(()=>Promise.resolve().then(()=>(hg(),pg))),plug:j(()=>Promise.resolve().then(()=>(vg(),gg))),"plus-circle":j(()=>Promise.resolve().then(()=>(xg(),yg))),"plus-circle-solid":j(()=>Promise.resolve().then(()=>(wg(),Sg))),"plus-minus":j(()=>Promise.resolve().then(()=>(Dg(),Tg))),pointer:j(()=>Promise.resolve().then(()=>(Ag(),Og))),"pointer-solid":j(()=>Promise.resolve().then(()=>(Ng(),jg))),"priority-high":j(()=>Promise.resolve().then(()=>(Ig(),Pg))),"priority-low":j(()=>Promise.resolve().then(()=>(zg(),Lg))),"priority-medium":j(()=>Promise.resolve().then(()=>(Hg(),Bg))),projector:j(()=>Promise.resolve().then(()=>(Gg(),Ug))),"pull-close":j(()=>Promise.resolve().then(()=>(Jg(),Kg))),"pull-draft":j(()=>Promise.resolve().then(()=>(Zg(),Yg))),"pull-open":j(()=>Promise.resolve().then(()=>(e_(),Qg))),pulse:j(()=>Promise.resolve().then(()=>(r_(),t_))),"puzzle-piece":j(()=>Promise.resolve().then(()=>(o_(),i_))),"question-mark-circle":j(()=>Promise.resolve().then(()=>(l_(),s_))),"question-mark-circle-solid":j(()=>Promise.resolve().then(()=>(f_(),u_))),"rectangle-group":j(()=>Promise.resolve().then(()=>(h_(),p_))),"rectangle-stack-horizontal":j(()=>Promise.resolve().then(()=>(v_(),g_))),"rectangle-stack-vertical":j(()=>Promise.resolve().then(()=>(x_(),y_))),redo:j(()=>Promise.resolve().then(()=>(w_(),S_))),reply:j(()=>Promise.resolve().then(()=>(D_(),T_))),rewind:j(()=>Promise.resolve().then(()=>(A_(),O_))),"rewind-10":j(()=>Promise.resolve().then(()=>(N_(),j_))),rocketship:j(()=>Promise.resolve().then(()=>(I_(),P_))),running:j(()=>Promise.resolve().then(()=>(z_(),L_))),scale:j(()=>Promise.resolve().then(()=>(H_(),B_))),scissors:j(()=>Promise.resolve().then(()=>(G_(),U_))),sensor:j(()=>Promise.resolve().then(()=>(J_(),K_))),server:j(()=>Promise.resolve().then(()=>(Z_(),Y_))),"server-stack":j(()=>Promise.resolve().then(()=>(ev(),Q_))),shapes:j(()=>Promise.resolve().then(()=>(rv(),tv))),share:j(()=>Promise.resolve().then(()=>(ov(),iv))),signal:j(()=>Promise.resolve().then(()=>(lv(),sv))),"signal-slash":j(()=>Promise.resolve().then(()=>(fv(),uv))),signpost:j(()=>Promise.resolve().then(()=>(hv(),pv))),"sort-ascending":j(()=>Promise.resolve().then(()=>(vv(),gv))),"sort-descending":j(()=>Promise.resolve().then(()=>(xv(),yv))),soundwave:j(()=>Promise.resolve().then(()=>(wv(),Sv))),"sparkles-solid":j(()=>Promise.resolve().then(()=>(Dv(),Tv))),"split-horizontal":j(()=>Promise.resolve().then(()=>(Av(),Ov))),"split-none":j(()=>Promise.resolve().then(()=>(Nv(),jv))),star:j(()=>Promise.resolve().then(()=>(Iv(),Pv))),"star-half":j(()=>Promise.resolve().then(()=>(zv(),Lv))),"star-stroke":j(()=>Promise.resolve().then(()=>(Hv(),Bv))),start:j(()=>Promise.resolve().then(()=>(Gv(),Uv))),"status-offline":j(()=>Promise.resolve().then(()=>(Jv(),Kv))),"status-online":j(()=>Promise.resolve().then(()=>(Zv(),Yv))),stop:j(()=>Promise.resolve().then(()=>(ey(),Qv))),"stop-sign":j(()=>Promise.resolve().then(()=>(ry(),ty))),stopwatch:j(()=>Promise.resolve().then(()=>(oy(),iy))),strikethrough:j(()=>Promise.resolve().then(()=>(ly(),sy))),sun:j(()=>Promise.resolve().then(()=>(fy(),uy))),swatch:j(()=>Promise.resolve().then(()=>(hy(),py))),switch:j(()=>Promise.resolve().then(()=>(vy(),gy))),"switch-apps":j(()=>Promise.resolve().then(()=>(xy(),yy))),table:j(()=>Promise.resolve().then(()=>(wy(),Sy))),tag:j(()=>Promise.resolve().then(()=>(Dy(),Ty))),task:j(()=>Promise.resolve().then(()=>(Ay(),Oy))),telescope:j(()=>Promise.resolve().then(()=>(Ny(),jy))),template:j(()=>Promise.resolve().then(()=>(Iy(),Py))),terminal:j(()=>Promise.resolve().then(()=>(zy(),Ly))),thumb:j(()=>Promise.resolve().then(()=>(Hy(),By))),"thumb-solid":j(()=>Promise.resolve().then(()=>(Gy(),Uy))),"traffic-cone":j(()=>Promise.resolve().then(()=>(Jy(),Ky))),"transparent-box":j(()=>Promise.resolve().then(()=>(Zy(),Yy))),"trend-down":j(()=>Promise.resolve().then(()=>(eb(),Qy))),"trend-up":j(()=>Promise.resolve().then(()=>(rb(),tb))),trophy:j(()=>Promise.resolve().then(()=>(ob(),ib))),truck:j(()=>Promise.resolve().then(()=>(lb(),sb))),typography:j(()=>Promise.resolve().then(()=>(fb(),ub))),undo:j(()=>Promise.resolve().then(()=>(hb(),pb))),unlock:j(()=>Promise.resolve().then(()=>(vb(),gb))),"unlock-solid":j(()=>Promise.resolve().then(()=>(xb(),yb))),upload:j(()=>Promise.resolve().then(()=>(wb(),Sb))),"video-camera":j(()=>Promise.resolve().then(()=>(Db(),Tb))),"view-as-grid":j(()=>Promise.resolve().then(()=>(Ab(),Ob))),volume:j(()=>Promise.resolve().then(()=>(Nb(),jb))),"volume-muted":j(()=>Promise.resolve().then(()=>(Ib(),Pb))),"volume-solid":j(()=>Promise.resolve().then(()=>(zb(),Lb))),wifi:j(()=>Promise.resolve().then(()=>(Hb(),Bb))),wrench:j(()=>Promise.resolve().then(()=>(Gb(),Ub))),"wrench-solid":j(()=>Promise.resolve().then(()=>(Jb(),Kb))),"x-circle":j(()=>Promise.resolve().then(()=>(Zb(),Yb))),"x-circle-solid":j(()=>Promise.resolve().then(()=>(ex(),Qb))),"zoom-in":j(()=>Promise.resolve().then(()=>(rx(),tx))),"zoom-out":j(()=>Promise.resolve().then(()=>(ox(),ix)))},cx=Object.keys(sx).filter(e=>e.endsWith(`-solid`)).map(e=>e.slice(0,-6)),lx=Object.keys(sx).filter(e=>!e.endsWith(`-solid`)),ux=`:host{--color: var(--nve-sys-text-muted-color);--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);display:inline-flex;contain:layout}[internal-host]{--_width: calc(var(--width) * var(--nve-ref-scale-size, 1));--_height: calc(var(--height) * var(--nve-ref-scale-size, 1));color:var(--color);width:var(--width);height:var(--height);display:flex;justify-content:center;align-items:center}svg{width:var(--_width);height:var(--_height)}:host([outline]){outline:1px dashed var(--color)}:host([size="xs"]){--width: var(--nve-ref-size-200);--height: var(--nve-ref-size-200)}:host([size="sm"]){--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([size="lg"]){--width: var(--nve-ref-size-500);--height: var(--nve-ref-size-500)}:host([size="xl"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([name="arrow"]),:host([name="arrow-angle"]),:host([name="cancel"]),:host([name="caret"]),:host([name="chevron"]),:host([name="double-chevron"]){--nve-ref-scale-size: .8}:host([direction="up"]){transform:rotate(0)}:host([direction="down"]){transform:rotate(180deg)}:host([direction="left"]){transform:rotate(270deg)}:host([direction="right"]){transform:rotate(90deg)}:host([status="success"]){--color: var(--nve-sys-support-success-color)}:host([status="warning"]){--color: var(--nve-sys-support-warning-color)}:host([status="danger"]){--color: var(--nve-sys-support-danger-color)}:host([status="accent"]){--color: var(--nve-sys-support-accent-color)}`,M=class e extends h{static{this.styles=T([ux])}static{this.metadata={tag:`nve-icon`,version:`0.0.0`}}static{this._icons=sx}static get _iconsRegistry(){return this.registeredIcon?._icons??e._icons}static set _iconsRegistry(t){this.registeredIcon._icons={...e._iconsRegistry,...t}}static get registeredIcon(){return customElements.get(e.metadata.tag)}get#e(){if(!this.name||this.name.endsWith(`.svg`)||this.appearance!==`solid`||this.name.endsWith(`-solid`))return this.name;let t=`${this.name}-solid`;return e._iconsRegistry[t]?t:this.name}get#t(){return this.#e,this.svg}#n;#r=0;#i=e=>this.#s(e);render(){return p`<div internal-host aria-hidden="true"><slot>${Oi(this.#t)}</slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`img`,this.#a()}disconnectedCallback(){super.disconnectedCallback(),this.#o()}static async add(t){globalThis.customElements?.whenDefined&&(await globalThis.customElements.whenDefined(e.metadata.tag),e._iconsRegistry=t,Object.keys(t).forEach(n=>globalThis?.document?.dispatchEvent(new CustomEvent(`${e.metadata.tag}-${n}`,{detail:t[n]}))))}static alias(t){globalThis.customElements?.whenDefined&&globalThis.customElements.whenDefined(e.metadata.tag).then(()=>{Object.keys(t).forEach(n=>{e._iconsRegistry[n]=e._iconsRegistry[t[n]],globalThis?.document?.dispatchEvent(new CustomEvent(`${e.metadata.tag}-${n}`,{detail:e._iconsRegistry[n]}))})})}async updated(e){super.updated(e),(e.has(`name`)||e.has(`appearance`))&&(this.#o(),this.#a()),await this.#c()}#a(){let t=this.#e;!this.isConnected||!t||this.#n||(this.#n=`${e.metadata.tag}-${t}`,globalThis.document?.addEventListener(this.#n,this.#i))}#o(){this.#n&&=(globalThis.document?.removeEventListener(this.#n,this.#i),void 0)}async#s(e){this.isConnected&&e.detail&&this.svg!==await e.detail.svg()&&this.#c()}async#c(){let t=++this.#r,n=this.#e;if(!n)return;let r=await(n.endsWith(`.svg`)?fetch(n).then(e=>e.text()):e._iconsRegistry[n]?.svg()??Promise.resolve(``));t===this.#r&&(e._iconsRegistry[n]={svg:()=>r,...e._iconsRegistry[n]},this.svg=r)}};k([g({type:String,reflect:!0})],M.prototype,`status`,void 0),k([g({type:String,reflect:!0})],M.prototype,`size`,void 0),k([g({type:String,reflect:!0})],M.prototype,`direction`,void 0),k([g({type:String})],M.prototype,`appearance`,void 0),k([g({type:String,reflect:!0})],M.prototype,`name`,void 0),k([A()],M.prototype,`svg`,void 0);function dx(e){if(typeof globalThis.customElements?.get==`function`){let t=Er(e.metadata.version),n=Er(`0.0.0`);t.minor<=n.minor&&t.major<=n.major&&(e._icons={...e._icons,...sx})}}var fx=`:host{--color: var(--nve-sys-text-muted-color);--border-radius: var(--nve-ref-border-radius-full);--padding: 0;--line-height: 0;--gap: 0;--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.3)}:host([container*="inline"]){--height: var(--nve-ref-size-800);--line-height: 0}:host([size="sm"]){--padding: 0;--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--padding: 0}[internal-host]{font-size:var(--font-size)}[internal-host]:after{display:none!important}nve-icon{--color: var(--_icon-color);pointer-events:none}::slotted(a){text-decoration:none!important;color:var(--color)!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}`,N=class extends Si{static{this.styles=T([...Si.styles,fx])}static{this.metadata={tag:`nve-icon-button`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}render(){return p`<div internal-host interaction-state focus-within aria-hidden="true"><slot @slotchange="${e=>vn(e.target)}"><nve-icon .name="${this.iconName}" .appearance="${this.appearance}" .direction="${this.direction}" .size="${this.size}" aria-hidden="true" part="icon"></nve-icon></slot></div><slot name="anchor"></slot>`}};k([g({type:String,attribute:`icon-name`})],N.prototype,`iconName`,void 0),k([g({type:String,reflect:!0})],N.prototype,`direction`,void 0),k([g({type:String,reflect:!0})],N.prototype,`size`,void 0),k([g({type:String})],N.prototype,`appearance`,void 0),N=k([w()],N);var px=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: 0;--header-padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--cursor: pointer;--transition: height var(--nve-ref-animation-duration-200) ease-in-out;width:100%;width:stretch;contain:none}[internal-host]{border-radius:var(--border-radius);background:var(--background);color:var(--color);overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%}#header{cursor:var(--cursor);display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--header-padding)}#content{display:block;height:0;transition:var(--transition)}:host(:state(expanded)) #content{height:auto;height:calc-size(max-content,size)}:host([container="inset"]){--border-radius: var(--nve-ref-border-radius-md)}:host([container="flat"]){--background: inherit;--header-padding: var(--nve-ref-size-200) var(--nve-ref-size-400)}:host([container="flat"]) ::slotted(nve-accordion-content){--padding: var(--nve-ref-size-50) var(--nve-ref-size-400) var(--nve-ref-size-300) var(--nve-ref-size-400)}:host([disabled]){--cursor: not-allowed}:host([disabled]) ::slotted(nve-accordion-header){--cursor: not-allowed}:host(:not([disabled])) #header:hover nve-icon-button{--color: var(--nve-sys-text-emphasis-color)}nve-icon-button::part(icon){transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}`,mx=`:host{width:100%;--cursor: pointer}[internal-host]{cursor:var(--cursor);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--nve-ref-space-xs)}slot:not([name]){display:block;flex:1}`,hx=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);padding:var(--padding);color:var(--color);font-weight:var(--nve-ref-font-weight-regular);font-size:var(--nve-ref-font-size-200);flex-grow:1;contain:none}`,gx=`:host{--padding: var(--nve-ref-size-400) var(--nve-ref-size-500) var(--nve-ref-size-500);width:100%;width:stretch}[internal-host]{display:flex;flex-direction:column}:host([container="flat"]) [internal-host]{gap:var(--nve-ref-space-xxxs)}:host([container="inset"]) [internal-host]{gap:var(--nve-ref-space-md)}:host(:not([container])) ::slotted(nve-accordion:not(:last-child)){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}:host([container="full"]) ::slotted(nve-accordion:not(:last-child)){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}`,_x={close:`close`,expand:`expand`},vx=class extends h{constructor(...e){super(...e),this.slot=`header`}static{this.styles=T([mx])}static{this.metadata={tag:`nve-accordion-header`,version:`0.0.0`}}render(){return p`<div internal-host><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`heading`,this._internals.ariaLevel=`2`}};k([lr()],vx.prototype,`slot`,void 0);var yx=class extends h{static{this.styles=T([hx])}static{this.metadata={tag:`nve-accordion-content`,version:`0.0.0`}}render(){return p`<slot></slot>`}},bx=class extends h{constructor(...e){super(...e),this.#e=new E(this,_x),this.#t=new nr(this),this.i18n=this.#e.i18n,this.expanded=!1,this.disabled=!1,this.behaviorExpand=!1}static{this.styles=T([px])}static{this.metadata={tag:`nve-accordion`,version:`0.0.0`,children:[vx.metadata.tag,yx.metadata.tag,N.metadata.tag]}}static{this.elementDefinitions={[N.metadata.tag]:N}}#e;#t;get#n(){return this.shadowRoot?.querySelector(`slot[name=header]`)?.assignedElements()[0]}#r(e){this.disabled||Kt(e)&&e.id!==`internal-trigger`||this.#t.toggle()}render(){return p`<div internal-host><div id="header" @click="${e=>this.#r(e.target)}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}" .ariaControls="${`content`}"><slot name="header"></slot><slot name="icon-button"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" id="internal-trigger" container="inline" icon-name="caret" direction="${this.expanded?`up`:`down`}" ?disabled="${this.disabled}" ?pressed="${this.expanded}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}"></nve-icon-button></slot></div><div id="content" .ariaHidden="${!this.expanded}"><slot></slot></div></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`region`}async firstUpdated(e){super.firstUpdated(e),this.#n&&(this.#n.id||=y(),this.setAttribute(`aria-labelledby`,this.#n.id))}};k([g({type:Object})],bx.prototype,`i18n`,void 0),k([g({type:String,reflect:!0})],bx.prototype,`container`,void 0),k([g({type:Boolean,reflect:!0})],bx.prototype,`expanded`,void 0),k([g({type:Boolean,reflect:!0})],bx.prototype,`disabled`,void 0),k([g({type:Boolean,attribute:`behavior-expand`})],bx.prototype,`behaviorExpand`,void 0),bx=k([v(),w(),Gn()],bx);var xx=class extends h{constructor(...e){super(...e),this.behaviorExpand=!1,this.behaviorExpandSingle=!1,this.#e=e=>{this.behaviorExpandSingle&&this.accordions.find(t=>t===e.target)&&this.accordions.filter(t=>t!==e.target).forEach(e=>e.expanded=!1)}}static{this.styles=T([gx])}static{this.metadata={tag:`nve-accordion-group`,version:`0.0.0`,children:[bx.metadata.tag]}}render(){return p`<div internal-host><slot @slotchange="${()=>this.#t()}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`,this.addEventListener(`open`,this.#e)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`open`,this.#e)}#e;updated(e){super.updated(e),this.#t()}#t(){this.accordions.forEach(e=>e.container=this.container),this.accordions.forEach(e=>e.behaviorExpand=this.behaviorExpand||this.behaviorExpandSingle)}};k([g({type:Boolean,attribute:`behavior-expand`})],xx.prototype,`behaviorExpand`,void 0),k([g({type:Boolean,attribute:`behavior-expand-single`})],xx.prototype,`behaviorExpandSingle`,void 0),k([g({type:String,reflect:!0})],xx.prototype,`container`,void 0),k([_()],xx.prototype,`accordions`,void 0),xx=k([v()],xx),f(bx),f(vx),f(yx),f(xx);var Sx=`nve-alert:has([slot=content])::part(_content){display:block}nve-alert-group:not(:has(nve-alert)),nve-alert-group:not(:has(nve-alert:not([hidden]))){display:none}`,Cx=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--color: var(--nve-sys-text-emphasis-color);--icon-color: var(--status-color);--icon-size: var(--nve-ref-size-400);--font-weight: var(--nve-ref-font-weight-medium);--justify-content: start;--align-items: center;--min-height: initial;--text-transform: initial;width:auto}[internal-host]{--_icon-cancel-color: var(--color);font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);color:var(--color);justify-content:var(--justify-content);align-items:var(--align-items);text-transform:var(--text-transform);display:flex;line-height:1em;height:100%}slot[part=_content]{display:contents;padding-inline-start:var(--nve-ref-size-600);padding-block-end:var(--nve-ref-size-200)}slot{display:flex;align-items:center;justify-content:var(--justify-content);gap:var(--nve-ref-space-xxs);min-height:var(--min-height)}slot:not([name=actions],[name=prefix],[name=icon]){flex-grow:1}slot[name=prefix],slot[name=actions]{font-weight:var(--nve-ref-font-weight-semibold)}::slotted(nve-button[container="flat"]){--color: inherit}slot[name=actions]{margin-inline-start:auto}slot[name=prefix]{margin-inline-end:var(--nve-ref-space-lg)}nve-icon{--color: var(--icon-color)}nve-icon:not([size=sm]){--width: var(--icon-size);--height: var(--icon-size)}nve-icon[size=sm]{padding:var(--nve-ref-size-50)}nve-icon-button{--color: var(--icon-color);margin-inline-start:auto}::slotted([nve-text]){color:inherit!important}:host([status="success"]),:host([status="danger"]){--color: var(--status-color)}:host([status="scheduled"]),:host([status="queued"]),:host([status="pending"]),:host([status="starting"]),:host([status="running"]),:host([status="restarting"]),:host([status="stopping"]),:host([status="finished"]),:host([status="failed"]),:host([status="unknown"]),:host([status="ignored"]){--color: var(--status-color)}::slotted([slot="actions"]){--color: var(--status-color) !important}`,wx={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},Tx=class extends h{constructor(...e){super(...e),this.closable=!1,this.#e=new tr(this),this.#t=new E(this,wx),this.i18n=this.#t.i18n}static{this.styles=T([Cx,yr,br])}static{this.metadata={tag:`nve-alert`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M,[N.metadata.tag]:N}}#e;#t;render(){return p`<div internal-host @slotchange="${()=>this.requestUpdate()}"><slot name="icon"><nve-icon part="icon" role="img" .name="${Tr[this.status]??Tr[``]}" aria-label="${(this.status?this.i18n[this.status]:void 0)??this.i18n.information??`information`}"></nve-icon></slot><slot name="prefix" ?hidden="${!this.prefixItems.length}"></slot><slot></slot><slot name="actions" ?hidden="${!this.actionItems.length}"></slot>${this.closable?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${()=>this.#e.close()}" container="flat" icon-name="cancel" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}</div><slot name="content" part="_content"></slot>`}connectedCallback(){super.connectedCallback(),S(this),b(this,Sx),this._internals.role=`alert`}};k([g({type:String,reflect:!0})],Tx.prototype,`status`,void 0),k([g({type:Boolean})],Tx.prototype,`closable`,void 0),k([g({type:Object})],Tx.prototype,`i18n`,void 0),k([_({slot:`prefix`,flatten:!0})],Tx.prototype,`prefixItems`,void 0),k([_({slot:`actions`,flatten:!0})],Tx.prototype,`actionItems`,void 0),Tx=k([w()],Tx);var Ex=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-200);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);--border: 0;--border-radius: var(--nve-ref-border-radius-md);--icon-size: var(--nve-ref-size-600);--icon-color: var(--color);--color: var(--nve-sys-text-emphasis-color);--background: var(--state-color-background);width:100%}[internal-host]{background:var(--background);font-size:var(--font-size);gap:var(--gap);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);display:flex;flex-direction:column;--_alert-color: var(--color);--_icon-color: var(--icon-color)}::slotted(nve-alert){--color: var(--_alert-color);--icon-color: var(--_icon-color);--icon-size: var(--nve-ref-size-400);--min-height: var(--nve-ref-size-800);width:100%;height:100%}:host([container="full"]){--border-radius: 0}:host([prominence="emphasis"]:not([color])){--background: var(--nve-sys-support-color);--color: var(--nve-sys-text-white-color);--icon-color: var(--color)}:host([prominence="emphasis"][status="accent"]:not([color])){--background: var(--nve-sys-support-accent-color)}:host([prominence="emphasis"][status="success"]:not([color])){--background: var(--nve-sys-support-success-color)}:host([prominence="emphasis"][status="warning"]:not([color])){--background: var(--nve-sys-support-warning-color);--color: var(--nve-sys-text-black-color)}:host([prominence="emphasis"][status="danger"]:not([color])){--background: var(--nve-sys-support-danger-color)}:host([prominence="emphasis"]) ::slotted(nve-alert){--font-weight: var(--nve-ref-font-weight-regular)}:host(:not([prominence="emphasis"])) ::slotted(nve-alert){--icon-color: var(--status-color) !important}:host([status]){--state-color-base: var(--status-color)}:host([color]) ::slotted(nve-alert){--status-color: var(--state-color-base) !important}`,Dx=class extends h{static{this.styles=T([Ex,br,vr])}static{this.metadata={tag:`nve-alert-group`,version:`0.0.0`,children:[Tx.metadata.tag]}}render(){return p`<div internal-host><slot @slotchange="${()=>this.#e()}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`}updated(e){super.updated(e),this.#e()}#e(){this.alerts.forEach(e=>e.status=this.status)}};k([g({type:String,reflect:!0})],Dx.prototype,`status`,void 0),k([g({type:String,reflect:!0})],Dx.prototype,`prominence`,void 0),k([g({type:String,reflect:!0})],Dx.prototype,`color`,void 0),k([g({type:String,reflect:!0})],Dx.prototype,`container`,void 0),k([_()],Dx.prototype,`alerts`,void 0),Dx=k([v()],Dx),f(Tx),f(Dx);var Ox=`:host{--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color);--border-radius: var(--nve-ref-border-radius-full);--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.5);--font-weight: var(--nve-ref-font-weight-medium);--state-color-base: var(--nve-ref-color-gray-slate-1100);--border: 0;display:block;overflow:hidden}[internal-host]{--_icon-color: var(--color);background:var(--background);color:var(--color);border-radius:var(--border-radius);width:var(--width);height:var(--height);font-size:var(--font-size);font-weight:var(--font-weight);border:var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden}::slotted(nve-icon){--color: var(--_icon-color)}::slotted(img){object-fit:cover;width:100%;height:100%}:host([size="sm"]){--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}`,kx=class extends h{static{this.styles=T([Ox,vr])}static{this.metadata={tag:`nve-avatar`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}};k([g({type:String,reflect:!0})],kx.prototype,`size`,void 0),k([g({type:String,reflect:!0})],kx.prototype,`color`,void 0);var Ax=`:host{display:block}[internal-host]{display:flex;overflow:visible}::slotted(nve-avatar){margin-inline-start:calc(-1 * var(--nve-ref-size-150));--border: 1px solid var(--nve-sys-contrast-mute-color)}::slotted(:first-child){margin-inline-start:0}`,jx=class extends h{static{this.styles=T([Ax])}static{this.metadata={tag:`nve-avatar-group`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`}};f(kx),f(jx);var Mx=`:host{--background: var(--state-color-background);--color: var(--state-color);--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--icon-color: var(--color);--padding: 0 var(--nve-ref-size-200);--border: 0;--border-radius: var(--nve-ref-border-radius-sm);--font-weight: var(--nve-ref-font-weight-semibold);--text-transform: initial;--width: initial;--height: var(--nve-ref-size-600);display:inline-flex}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);width:var(--width);height:var(--height);text-transform:var(--text-transform);display:inline-flex;line-height:1em;place-items:center}slot:not([name]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;line-height:1.15}:host([aria-label]) slot:not([name]){display:contents}::slotted([nve-text]){color:inherit!important}::slotted(a){margin:0!important;color:inherit!important;text-decoration:none!important;line-height:0!important}nve-icon,::slotted(nve-icon){--color: var(--icon-color);--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([status]){--state-color-base: var(--status-color)}:host([container="flat"]){--background: var(--nve-sys-background-color);--border-radius: var(--nve-ref-border-radius-sm);--gap: var(--nve-ref-space-xs);--padding: 0;--text-transform: capitalize;--width: initial;--height: initial}`,Nx=class extends h{static{this.styles=T([Mx,yr,br,vr])}static{this.metadata={tag:`nve-badge`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}get#e(){return this.status&&Tr[this.status]===`dot`?`sm`:`md`}render(){return p`<div internal-host><slot name="prefix-icon">${this.status?p`<nve-icon part="_icon" .name="${Tr[this.status]??``}" .size="${this.#e}" aria-hidden="true"></nve-icon>`:m}</slot><slot @slotchange="${this.#t}"></slot><slot name="suffix-icon"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`status`}updated(e){super.updated(e),this.#n()}#t(){this.#n(),this.#r()}#n(){this._internals.ariaLabel=this.textContent}#r(){let e=this.shadowRoot.querySelector(`slot:not([name])`).assignedElements().find(e=>e.matches(`nve-icon`)&&!e.slot);e&&(e.slot=`prefix-icon`)}};k([g({type:String,reflect:!0})],Nx.prototype,`status`,void 0),k([g({type:String,reflect:!0})],Nx.prototype,`color`,void 0),k([g({type:String,reflect:!0})],Nx.prototype,`container`,void 0),k([g({type:String,reflect:!0})],Nx.prototype,`prominence`,void 0),Nx=k([C(),w()],Nx),f(Nx);var Px=`:host{--gap: var(--nve-ref-space-xxs);--height: var(--nve-ref-size-500);--font-size: var(--nve-ref-font-size-50);--color: var(--nve-sys-text-muted-color);--font-weight: var(--nve-ref-font-weight-medium)}[internal-host]{--_font-size: var(--font-size);--_font-weight: var(--font-weight);--_color: var(--color);--_height: var(--height)}ol,li{list-style-type:none;padding:0;display:flex;margin:0;min-height:0;align-items:flex-start;justify-content:stretch;gap:var(--gap)}li{display:flex;align-items:center;justify-content:center;text-wrap:nowrap;height:var(--_height)}::slotted(nve-button){--border-radius: calc(var(--nve-ref-border-radius-xs) / 2);--font-size: var(--_font-size);--color: var(--_color);--padding: 0 var(--nve-ref-size-100);--height: var(--_height);--font-weight: var(--_font-weight);--text-decoration: none !important;--_border-bottom-offset: -.5;--_border-bottom-width: 85%}::slotted(nve-icon-button){--border-radius: calc(var(--nve-ref-border-radius-xs) / 2);--icon-width: var(--nve-ref-size-300);--icon-height: var(--nve-ref-size-300);--height: var(--_height);--width: var(--_height);--font-size: var(--_font-size);--font-weight: var(--_font-weight);--color: var(--_color)}nve-icon[separator]{--height: var(--nve-ref-size-200);--width: var(--nve-ref-size-200);--color: var(--_color)}::slotted(span){font-size:var(--_font-size);color:var(--_color);display:block}::slotted(*:last-child){color:var(--nve-sys-text-emphasis-color);font-weight:var(--nve-ref-font-weight-semibold);--font-weight: var(--nve-ref-font-weight-semibold);--color: var(--nve-sys-text-emphasis-color)}[hidden-slot]{gap:var(--nve-ref-space-sm);display:flex;align-items:center}`,Fx=class extends h{constructor(...e){super(...e),this.breadcrumbItems=[]}get keynavListConfig(){return{items:Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).filter(e=>Kt(e))}}static{this.styles=T([Px])}static{this.metadata={tag:`nve-breadcrumb`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}render(){return p`<ol internal-host>${this.breadcrumbItems.map((e,t)=>p`<li><slot name="${e.slot}" @slotchange="${this.#e}"></slot>${t<this.breadcrumbItems.length-1?p`<nve-icon part="icon" separator aria-hidden="true" name="chevron" direction="right" size="sm"></nve-icon>`:m}</li>`)}</ol><slot ?hidden-slot="${!this.breadcrumbItems.length}" @slotchange="${this.#t}"></slot>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`navigation`}#e(e){e.target.assignedElements().length||this.#n()}#t(e){if(e.target&&e.target.assignedElements().length){this.#n();let e=this.shadowRoot.querySelector(`slot:not([name])`).assignedElements();e.filter(e=>e.matches(`nve-button, nve-icon-button, span, a`)).forEach(e=>e.slot=y()),e.filter(e=>e.matches(`nve-button, nve-icon-button`)).forEach(e=>e.container=`inline`),this.breadcrumbItems=e.length?e:this.breadcrumbItems}}#n(){Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).forEach(e=>e.slot=``)}};k([A()],Fx.prototype,`breadcrumbItems`,void 0),Fx=k([C(),w(),Pn()],Fx),f(Fx),f(Si);var Ix=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--background: var(--nve-sys-interaction-background);--border-radius: var(--nve-ref-border-radius-sm);--padding: var(--nve-ref-space-xxs);--gap: var(--nve-ref-space-xxxs);--width: fit-content;--height: fit-content;width:var(--width);height:var(--height)}[internal-host]{background:var(--background);border-radius:var(--border-radius);padding:var(--padding);gap:var(--gap);overflow:hidden;display:flex;height:100%;align-items:center}::slotted(nve-button),::slotted(nve-icon-button){--height: var(--nve-sys-interaction-field-height);--border-radius: var(--nve-ref-border-radius-sm)}::slotted(nve-icon-button){--width: var(--nve-sys-interaction-field-height)}::slotted(nve-divider){margin-block-start:calc(-1 * var(--padding));height:calc(100% + var(--padding));--color: color-mix(in oklab, var(--nve-sys-interaction-background) 100%, var(--nve-sys-interaction-color) 50%)}:host([container="flat"]){--background: transparent}:host([container="rounded"]){--border-radius: var(--nve-ref-border-radius-full)}:host([container="rounded"]:not(:state(split))) ::slotted(nve-button),:host([container="rounded"]:not(:state(split))) ::slotted(nve-icon-button){--border-radius: var(--nve-ref-border-radius-full)}:host([orientation="vertical"]){--gap: var(--nve-ref-space-xs)}:host([orientation="vertical"]) [internal-host]{flex-direction:column}:host([interaction="emphasis"]) ::slotted(nve-divider){--color: color-mix( in oklab, var(--nve-sys-interaction-emphasis-background) 100%, var(--nve-sys-interaction-emphasis-color) 50% )}:host([interaction="destructive"]) ::slotted(nve-divider){--color: color-mix( in oklab, var(--nve-sys-interaction-destructive-background) 100%, var(--nve-sys-interaction-destructive-color) 50% )}:host(:state(split)){--padding: 0;--gap: 0}:host(:state(split)) ::slotted(nve-button){--border-radius: var(--nve-ref-border-radius-none)}:host(:state(split)) ::slotted(nve-icon-button){--border-radius: var(--nve-ref-border-radius-none)}`,Lx=`@supports (position-anchor: --selected){nve-button-group{&:has(>:state(pressed)):not(:has(>:state(pressed)~:state(pressed)),:has(>[container]),:has(>[interaction])){--indicator-background: var(--nve-sys-support-accent-color);--indicator-border-radius: var(--nve-ref-border-radius-sm);&:after{background:var(--indicator-background);border-radius:var(--indicator-border-radius);position:fixed;display:block;content:"";width:anchor-size(width);height:anchor-size(height);transition:left var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100),top var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100);position-anchor:--selected;top:anchor(top);left:anchor(left);z-index:0}&[orientation=vertical]:after{transition:top var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100),left var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100)}&[container=rounded]:after{--indicator-border-radius: var(--nve-ref-border-radius-full)}>nve-button,>nve-icon-button{&:state(pressed){--background: transparent;anchor-name:--selected;z-index:1}}}}}`,P=class extends h{constructor(...e){super(...e),this.orientation=`horizontal`,this.#t=e=>this.#r(e.target)}get keynavListConfig(){return{items:this.#e,layout:this.orientation}}static{this.styles=T([Ix])}static{this.metadata={tag:`nve-button-group`,version:`0.0.0`,children:[`nve-button`,`nve-icon-button`,`nve-divider`,`nve-media-seek-button`,`nve-media-pause-button`]}}get#e(){return[...this.iconButtons,...this.buttons]}render(){return p`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),b(this,Lx),this._internals.role=`group`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t;updated(e){super.updated(e),this.#n()}#n(){this.container===`flat`&&this.#e.forEach(e=>e.container=`flat`),this.interaction&&this.#e.forEach(e=>e.interaction=this.interaction),this.dividers.length?this._internals.states.add(`split`):this._internals.states.delete(`split`)}#r(e){e.matches?.(`nve-button, nve-icon-button`)&&(this.behaviorSelect===`single`?(this.#e.forEach(e=>e.pressed=!1),e.pressed=!0):this.behaviorSelect===`multi`&&(e.pressed=!e.pressed))}};k([g({type:String,attribute:`behavior-select`})],P.prototype,`behaviorSelect`,void 0),k([g({type:String,reflect:!0})],P.prototype,`container`,void 0),k([g({type:String,reflect:!0})],P.prototype,`orientation`,void 0),k([g({type:String,reflect:!0})],P.prototype,`interaction`,void 0),k([g({type:String,reflect:!0})],P.prototype,`size`,void 0),k([_({selector:`nve-divider`})],P.prototype,`dividers`,void 0),k([_({selector:`nve-icon-button`})],P.prototype,`iconButtons`,void 0),k([_({selector:`nve-button`})],P.prototype,`buttons`,void 0),P=k([v(),Pn()],P),f(P);var Rx=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: var(--nve-ref-border-radius-lg);--box-shadow: var(--nve-ref-shadow-100);--border-bottom: none;--border: 0;border-radius:var(--border-radius);box-shadow:var(--box-shadow);border-bottom:var(--border-bottom);background:var(--background);border:var(--border);color:var(--color);display:flex;flex-direction:column;align-items:stretch;justify-content:start;overflow:hidden;contain:none;width:stretch}[internal-host]{display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%}:host([container="full"]){--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: 0}:host([container="flat"]){--nve-sys-interaction-background: unset;--nve-sys-interaction-field-background: unset;--background: transparent;--border-bottom: none;--border-radius: 0;--box-shadow: none}slot:not([name]){scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);display:block;width:100%;height:100%;overflow:auto}`,zx=`:host{--padding: var(--nve-ref-size-400);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--line-height: 1em;--gap: var(--nve-ref-space-xs);contain:none}[internal-host]{padding:var(--padding);border-bottom:var(--border-bottom);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center}.content{display:flex;flex-direction:column;gap:var(--gap);width:100%}::slotted(nve-tabs){margin-block-end:calc(-1 * var(--padding))}`,Bx=`:host{--padding: var(--nve-ref-size-400);padding:var(--padding);color:var(--color);flex-grow:1;contain:initial}`,Vx=`:host{--padding: var(--nve-ref-size-400);--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);contain:none}footer[internal-host]{padding:var(--padding);border-top:var(--border-top);color:var(--color);display:flex;justify-content:space-between;align-items:center}`,Hx=class extends h{static{this.styles=T([Rx])}static{this.metadata={tag:`nve-card`,version:`0.0.0`}}render(){return p`<div internal-host><slot name="header"></slot><slot></slot><slot name="footer"></slot></div>`}};k([g({type:String,reflect:!0})],Hx.prototype,`container`,void 0),Hx=k([v()],Hx);var Ux=class extends h{constructor(...e){super(...e),this.slot=`header`}static{this.styles=T([zx])}static{this.metadata={tag:`nve-card-header`,version:`0.0.0`,parents:[`nve-card`]}}render(){return p`<header internal-host><div class="content"><slot></slot></div></header>`}};k([lr()],Ux.prototype,`slot`,void 0);var Wx=class extends h{static{this.styles=T([Bx])}static{this.metadata={tag:`nve-card-content`,version:`0.0.0`,parents:[`nve-card`]}}render(){return p`<slot></slot>`}},Gx=class extends h{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=T([Vx])}static{this.metadata={tag:`nve-card-footer`,version:`0.0.0`,parents:[`nve-card`]}}render(){return p`<footer internal-host><slot></slot></footer>`}};k([lr()],Gx.prototype,`slot`,void 0),f(Hx),f(Ux),f(Wx),f(Gx);var Kx=`:host{--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-text-color);--padding: var(--nve-ref-size-300);--gap: var(--nve-ref-space-xs);--border-radius: var(--nve-ref-border-radius-md);--font-size: var(--nve-ref-font-size-200);--line-height: var(--nve-ref-font-line-height-tight);--top-offset: 0;--display: flex;--overflow: hidden;contain:content}@media(width<=350px){[internal-host]{flex-direction:column}}[internal-host]{gap:var(--gap);font-size:var(--font-size);display:var(--display);overflow:var(--overflow)}slot:not([name]){padding:var(--padding);background:var(--background);color:var(--color);border-radius:var(--border-radius);font-size:var(--font-size);line-height:var(--line-height);gap:var(--gap);display:flex;flex-direction:column;overflow:hidden}::slotted(nve-avatar){flex-shrink:0}:host([container="flat"]){--background: transparent;--padding: 0 var(--nve-ref-size-200)}:host([color]){--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color)}:host([arrow-position="top-start"]) slot:not([name]){border-top-left-radius:0}:host([arrow-position="top-end"]) slot:not([name]){border-top-right-radius:0}:host([arrow-position="bottom-start"]) slot:not([name]){border-bottom-left-radius:0}:host([arrow-position="bottom-end"]) slot:not([name]){border-bottom-right-radius:0}`,qx=`nve-chat-message:has([slot=prefix])::part(_message),nve-chat-message:has([slot=suffix])::part(_message){margin-block-start:var(--top-offset)}`,Jx=class extends h{static{this.styles=T([Kx,vr])}static{this.metadata={tag:`nve-chat-message`,version:`0.0.0`}}render(){return p`<div internal-host><slot name="prefix"></slot><slot part="_message"></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),b(this,qx)}};k([g({type:String,reflect:!0})],Jx.prototype,`container`,void 0),k([g({type:String,reflect:!0})],Jx.prototype,`color`,void 0),k([g({type:String,reflect:!0,attribute:`arrow-position`})],Jx.prototype,`arrowPosition`,void 0),f(Jx);var Yx=`:host{--color: var(--nve-sys-text-muted-color);--font-weight: var(--nve-ref-font-weight-regular);--font-size: var(--nve-ref-font-size-100);--gap: var(--nve-ref-space-xs);--_icon-color: var(--color)}[internal-host]{--icon-color: var(--color);gap:var(--gap);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);display:flex}nve-icon{--color: var(--_icon-color)}:host([status="success"]){--color: var(--nve-sys-support-success-emphasis-color)}:host([status="warning"]){--color: var(--nve-sys-support-warning-emphasis-color)}:host([status="error"]),:host([error]){--color: var(--nve-sys-support-danger-emphasis-color)}:host([status="muted"]){--color: var(--nve-sys-text-muted-color)}`,Xx={undefined:`information-circle`,disabled:`information-circle`,warning:`exclamation-triangle`,success:`checkmark-circle`,error:`exclamation-circle`},F=class extends h{constructor(...e){super(...e),this.error=null,this.slot=`messages`}static{this.styles=T([Yx])}static{this.metadata={tag:`nve-control-message`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}render(){return p`<div internal-host><slot name="icon"><nve-icon part="icon" name="${this.error?Xx.error:Xx[this.status]}"></nve-icon></slot><slot></slot></div>`}};k([g({type:String,reflect:!0})],F.prototype,`status`,void 0),k([g({type:String,reflect:!0})],F.prototype,`error`,void 0),k([lr()],F.prototype,`slot`,void 0),F=k([w()],F);var Zx=`input, select, selectmenu, textarea, [nve-control]`;function Qx(e,t){let n=[];if(!e.input.form?.noValidate&&!e.input.formNoValidate&&!e.input.hasAttribute(`formnovalidate`)){aS(t);let r=()=>{e.input.validity?.valid&&(e._internals.states.delete(`invalid`),e._internals.states.add(`valid`),e.status=null),sS(e,t)},i=()=>{e.status=null,e._internals.states.delete(`valid`),e._internals.states.delete(`invalid`),aS(t)};n.push(I(e.input,`blur`,()=>{e.input.checkValidity(),r()}),I(e.input,`input`,()=>{r()}),I(e.input,`invalid`,()=>{t.find(e=>e.error)&&(aS(t),oS(e,t)),e.status=`error`,e._internals.states.delete(`valid`),e._internals.states.add(`invalid`)}),I(e,`reset`,i)),e.input.form&&n.push(I(e.input.form,`reset`,i))}return n.push(I(e.shadowRoot,`slotchange`,()=>{let t=Array.from(e.querySelectorAll(F.metadata.tag));e._internals.states.delete(`valid`),e._internals.states.delete(`invalid`),t.find(e=>!e.hidden&&(e.status===`error`||e.error))?e._internals.states.add(`invalid`):e._internals.states.add(`valid`)})),n}function $x(e){let t=[],n=e._internals.states;return e.input.checked?n.add(`checked`):n.delete(`checked`),e.input.indeterminate?n.add(`indeterminate`):n.delete(`indeterminate`),t.push(...eS(e)),t.push(on(e.input,`readonly`,e=>e===``||e?n.add(`readonly`):n.delete(`readonly`)),on(e.input,`checked`,()=>e.input.checked?n.add(`checked`):n.delete(`checked`)),on(e.input,`disabled`,e=>e===``||e?n.add(`disabled`):n.delete(`disabled`)),on(e.input,`indeterminate`,()=>e.input.indeterminate?n.add(`indeterminate`):n.delete(`indeterminate`))),t}function eS(e){let t=[],n=e._internals.states;return t.push(I(e.input,`focus`,()=>e._internals.states.add(`focus`)),I(e.input,`input`,()=>e._internals.states.add(`dirty`)),I(e.input,`blur`,()=>{e._internals.states.add(`touched`),e._internals.states.delete(`focus`)}),I(e.input.getRootNode(),`change`,t=>{t.target.name===e.input?.name&&(e.input.checked?n.add(`checked`):n.delete(`checked`))})),e.input.form&&t.push(I(e.input.form,`reset`,()=>{e._internals.states.delete(`touched`),e._internals.states.delete(`dirty`),e._internals.states.delete(`error`),e._internals.states.delete(`success`),e.requestUpdate()})),t}function tS(e){return nS(e),tn(e,`disabled`,()=>nS(e))}function nS(e){Array.from(e.inputs).find(e=>e.disabled)?e._internals.states.add(`disabled`):e._internals.states.delete(`disabled`)}function rS(e,t){iS(e,t.find(e=>!e.hidden));let n=[];return n.push(nn(e,[`hidden`,`status`],t=>{let n=t.target;Sn(n,F)&&iS(e,n)})),n.push(I(e.shadowRoot,`slotchange`,()=>{let t=Array.from(e.querySelectorAll(F.metadata.tag)).find(e=>e.status&&!e.hidden);e._internals.states.delete(`error`),e._internals.states.delete(`success`),t&&e._internals.states.add(t.status)})),n}function I(e,t,n){return e.addEventListener(t,n),{disconnect:()=>e.removeEventListener(t,n)}}function iS(e,t){e._internals.states.delete(`error`),e._internals.states.delete(`success`),t?.status?.length&&!t?.hidden&&e._internals.states.add(t.status)}function aS(e){e.filter(e=>e.hasAttribute(`error`)).forEach(e=>e.setAttribute(`hidden`,``))}function oS(e,t){t.find(t=>t.error&&e.input.validity[t.error])?.removeAttribute(`hidden`)}function sS(e,t){t.find(e=>e.error)&&e.input.validity.valid&&t.filter(t=>t.error&&!e.input.validity[t.error]).forEach(e=>e.setAttribute(`hidden`,``))}var cS={vertical:300,verticalInline:400,horizontal:500,horizontalInline:600};function lS(e){let t=e.layout,n=new ResizeObserver(n=>{e.fitContent||(e.layout=uS(n[0].contentRect.width,t))});return n.observe(e),n}function uS(e,t){let n=t;e<cS.vertical?n=`vertical`:e<cS.verticalInline?n=`vertical-inline`:e<cS.horizontal?n=`horizontal`:e<cS.horizontalInline&&(n=`horizontal-inline`);let r=[`vertical`,`vertical-inline`,`horizontal`,`horizontal-inline`];return r.indexOf(t)<r.indexOf(n)&&(n=t),n}var dS=`[nve-control]:not([nofocus]):has(*:focus-visible)::part(_input){outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}[nve-control] input::placeholder,[nve-control] textarea::placeholder{color:var(--nve-sys-text-placeholder-color)!important}[nve-control] input::-webkit-search-cancel-button,[nve-control] input::-webkit-calendar-picker-indicator{opacity:0!important;display:none!important}[nve-control]:has([nve-control]){--control-type: custom}[nve-control]:not(:has(label))::part(_label){display:none!important}[nve-control]:not(:has(nve-control-message:not([hidden])))::part(_messages){display:none!important}[nve-control=""]:has(label)::part(_internal-host){grid-template-areas:"label label label" "input input input"}[nve-control=""]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input input input" "messages messages messages"}[nve-control=""]:has(label):has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"label label label" "input input input" "messages messages messages"}[nve-control=""][layout=horizontal]:has(nve-control-message:not([hidden]))::part(_internal-host),[nve-control=""][layout=horizontal-inline]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"label input input" ". messages messages"}[nve-control=""][layout=horizontal]:not(:has(nve-control-message:not([hidden])))::part(_internal-host),[nve-control=""][layout=horizontal-inline]:not(:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"label input input"}[nve-control=inline]:has(label)::part(_internal-host){grid-template-areas:"input label label"}[nve-control=inline]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input input input" "messages messages messages"}[nve-control=inline]:has(label):has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input label label" "messages messages messages"}[nve-control=inline]:not(:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"input label label"}[nve-control=inline]:not(:has(label),:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"input input input"}nve-control:has(nve-monaco-input),nve-control:has(nve-monaco-diff-input){contain:none}[prominence=muted]>[nve-control]:state(checked),[prominence=muted][nve-control]:state(checked){--filter: grayscale(90%)}`,fS=`:host{--cursor: pointer;--accent-color: var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-interaction-field-color);--label-color: var(--nve-sys-interaction-field-color);--label-text-transform: none;--label-font-weight: var(--nve-ref-font-weight-medium);--label-font-size: var(--nve-ref-font-size-100);--control-width: 100%;--control-height: var(--nve-sys-interaction-field-height);--_label-width: var(--label-width, 180px);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--opacity: 1;--filter: none;contain:content}::slotted(*){color-scheme:var(--nve-sys-color-scheme);font-family:inherit}::slotted(label){font-weight:var(--label-font-weight)!important;font-size:var(--label-font-size)!important;color:var(--label-color)!important;cursor:var(--cursor)!important;text-transform:var(--label-text-transform)!important;display:inline-block!important;line-height:1em!important;align-self:center!important}:host(:state(disabled)),:host(:state(disabled)) ::slotted(nve-control-message:not([status])){--cursor: not-allowed}:host(:state(disabled)){--opacity: var(--nve-ref-opacity-500)}:host(:state(invalid)) ::slotted(nve-control-message:not([error],[status])){display:none}:host([fit-content]){--control-width: fit-content;--label-width: fit-content;--width: fit-content}:host([fit-text]){--max-width: fit-content;--width: fit-content;::slotted(input),::slotted(select){field-sizing:content}}:host([nve-control]) ::slotted(input:focus),:host([nve-control]) ::slotted(select:focus),:host([nve-control]) ::slotted(textarea:focus),:host([nve-control]:focus-within) [internal-host]:has(nve-icon-button:focus) [input],[internal-host]:has(nve-icon-button){outline:0!important}@container style(--control-type: custom){[input]{outline:0!important}}::slotted(nve-button[nve-control]){width:100%}[input]{cursor:var(--cursor);min-height:var(--control-height);opacity:var(--opacity);filter:var(--filter);grid-area:input;display:flex;line-height:1}:host([nve-control="inline"]){[internal-host]{min-height:var(--control-height)}[input]{min-height:min-content}}slot{line-height:1;width:100%}slot[name=label]{grid-area:label;display:inline-flex;align-self:center}slot[name=messages]{grid-area:messages;display:inline-flex}[name=messages]:not(:has-slotted),[name=label]:not(:has-slotted){display:none!important}[internal-host]{display:grid;width:100%;gap:var(--nve-ref-space-xs);grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"input input input"}:host([nve-control="inline"]) [internal-host]{align-items:center;grid-template-columns:auto 1fr 1fr;slot[name=label],slot[name=messages]{align-items:center}::slotted(label){font-weight:var(--nve-ref-font-weight-regular)!important;color:var(--color)!important;width:100%}slot[name=label]{line-height:1;width:100%}}:host([layout="horizontal"]) [internal-host],:host([layout="horizontal-inline"]) [internal-host]{grid-template-columns:var(--_label-width) 1fr minmax(0,var(--_label-width))}[internal-host]{&:has([name=label]:has-slotted){grid-template-areas:"label label label" "input input input"}&:has([name=messages]:has-slotted){grid-template-areas:"input input input" "messages messages messages"}&:has([name=label]:has-slotted):has([name=messages]:has-slotted){grid-template-areas:"label label label" "input input input" "messages messages messages"}}:host([layout="horizontal"]),:host([layout="horizontal-inline"]){[internal-host]{&:has([name=messages]:has-slotted){grid-template-areas:"label input input" ". messages messages"}&:not(:has([name=messages]:has-slotted)){grid-template-areas:"label input input"}}}:host([nve-control="inline"]){--control-height: auto;width:fit-content;[internal-host]{grid-template-areas:"input input input";&:has([name=label]:has-slotted){grid-template-areas:"input label label"}&:has([name=messages]:has-slotted){grid-template-areas:"input input input" "messages messages messages"}&:has([name=label]:has-slotted):has([name=messages]:has-slotted){grid-template-areas:"input label label" "messages messages messages"}}}`,L=class extends h{constructor(...e){super(...e),this.fitText=!1,this.fitContent=!1,this.#e=new E(this,this.i18nDefaults),this.i18n=this.#e.i18n,this.nveControl=``,this.#i=[],this._associateDatalist=!0,this.#a=()=>{this.#f(),this.input&&this.#i.length===0&&this.#l()},this.#u=()=>{this.#f(),this.#p()}}get i18nDefaults(){return{}}#e;get#t(){return this.shadowRoot?.querySelector(`slot[name="label"]`)?.assignedElements({flatten:!0})?.[0]}get#n(){return this.shadowRoot?.querySelector(`slot[name="messages"]`)?.assignedElements({flatten:!0})??[]}#r;get input(){if(!this.#r){let e=this.querySelector(`slot`)?.assignedElements()?.find(e=>e.matches(`input, select, selectmenu, textarea, [nve-control]`))??Array.from(this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})??[]).find(e=>e.matches(`input, select, selectmenu, textarea, [nve-control]`));this.#r=e||this.querySelector(Zx)}return this.#r}get prefixContent(){return m}get suffixContent(){return m}#i;static{this.styles=T([fS])}static{this.metadata={tag:`nve-control`,version:`0.0.0`}}render(){return this.nveControl===`inline`?p`<div internal-host part="_internal-host"><div input part="_input"><slot interaction-state></slot></div><slot name="label" part="_label"></slot><slot name="messages" part="_messages"></slot></div>`:p`<div internal-host part="_internal-host"><slot name="label" part="_label"></slot><div input part="_input">${this.prefixContent}<slot></slot>${this.suffixContent}</div><slot name="messages" part="_messages"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),b(this,dS),this.shadowRoot.addEventListener(`slotchange`,this.#a)}disconnectedCallback(){super.disconnectedCallback(),this.shadowRoot.removeEventListener(`slotchange`,this.#a),this.shadowRoot.removeEventListener(`slotchange`,this.#u),this.#i.forEach(e=>e.disconnect()),this.#i.length=0}#a;reset(){this.#o(this.input),this.requestUpdate(),this.dispatchEvent(new CustomEvent(`reset`,{bubbles:!0,composed:!0}))}#o(e){e instanceof HTMLSelectElement?this.#s(e):this.#c(e)?(e.checked=e.defaultChecked,e.indeterminate=!1):e.value=e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e.defaultValue:e.getAttribute(`value`)??``}#s(e){let t=Array.from(e.options).some(e=>e.defaultSelected);Array.from(e.options).forEach(e=>e.selected=e.defaultSelected),!e.multiple&&!t&&(e.selectedIndex=0)}#c(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)}#l(){this.#i.push(...Qx(this,this.#n),...$x(this),...rS(this,this.#n),lS(this),nn(this,[`hidden`,`status`],()=>this.#f())),this.#d(),this.#p(),this.shadowRoot.addEventListener(`slotchange`,this.#u)}#u;#d(){this.input.showPicker||(this.input.showPicker=()=>this.input.focus())}#f(){this.input&&(this.toggleAttribute(`multiple`,this.input?.multiple),this.input?.hasAttribute(`size`)?this.setAttribute(`size`,``):this.removeAttribute(`size`))}#p(){this.#m(),Bn(this.#t,this.input),Hn(Array.from(this.#n),this.input),this._associateDatalist&&Un(this.querySelector(`datalist`),this.input)}#m(){let e=this.querySelector(`label`)||this.shadowRoot.querySelector(`slot`).assignedNodes({flatten:!0}).find(e=>e.tagName===`LABEL`);e&&(e.slot=`label`)}showPicker(){try{this.input.showPicker()}catch{}}};k([g({type:String})],L.prototype,`status`,void 0),k([g({type:String,reflect:!0})],L.prototype,`layout`,void 0),k([g({type:Boolean,reflect:!0,attribute:`fit-text`})],L.prototype,`fitText`,void 0),k([g({type:Boolean,reflect:!0,attribute:`fit-content`})],L.prototype,`fitContent`,void 0),k([g({type:Object})],L.prototype,`i18n`,void 0),k([g({type:String,reflect:!0})],L.prototype,`prominence`,void 0),k([lr({attribute:`nve-control`})],L.prototype,`nveControl`,void 0),L=k([C()],L);var pS=`:host{--color: var(--nve-sys-interaction-field-color);--opacity: 1;--label-color: var(--nve-sys-interaction-field-color);--label-text-transform: none;--label-font-weight: var(--nve-ref-font-weight-medium);--label-font-size: var(--nve-ref-font-size-100);--_label-width: var(--label-width, 180px)}[internal-host]{color:var(--color);opacity:var(--opacity)}::slotted(label){font-weight:var(--label-font-weight)!important;font-size:var(--label-font-size)!important;color:var(--label-color)!important;cursor:var(--cursor)!important;text-transform:var(--label-text-transform)!important}:host([layout*="horizontal-inline"]) ::slotted([nve-control]),:host([layout*="vertical-inline"]) ::slotted([nve-control]){--control-height: var(--nve-sys-interaction-field-height)}slot[name=label]{grid-area:label;display:block;align-self:center}slot[name=messages]{grid-area:messages;display:block}.input-slot{grid-area:input;display:flex;flex-flow:column wrap;gap:var(--nve-ref-space-sm) var(--nve-ref-space-md)}:host([layout*="-inline"]) .input-slot{flex-direction:row}[name=messages]:not(:has-slotted),[name=label]:not(:has-slotted){display:none!important}.no-messages{& slot[name=messages]{display:none!important}}.no-label{& slot[name=label]{display:none!important}}[internal-host]{display:grid;gap:var(--nve-ref-space-xs);align-items:start;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"label label label" "input input input" "messages messages messages";&.no-messages{grid-template-areas:"label label label" "input input input"}&.no-label{& slot[name=messages]{grid-template-areas:"input input input" "messages messages messages"}}&.no-label.no-messages{grid-template-areas:"input input input"}}:host([layout="vertical-inline"]) [internal-host]{grid-template-areas:"label label label" "input input input" "messages messages messages"}:host([layout="vertical-inline"]) [internal-host].no-messages{grid-template-areas:"label label label" "input input input"}:host([layout="horizontal"]) [internal-host]{grid-template-columns:var(--_label-width) minmax(auto,max-content) auto;grid-template-areas:"label input input" ". messages messages"}:host([layout="horizontal"]) [internal-host].no-messages{grid-template-areas:"label input input"}:host([layout="horizontal-inline"]) [internal-host]{grid-template-columns:var(--_label-width) minmax(auto,max-content) auto;grid-template-areas:"label input input" ". messages messages"}:host([layout="horizontal-inline"]) [internal-host].no-messages{grid-template-areas:"label input input"}:host([layout="horizontal"]) slot[name=label]{align-self:start}:host([layout="horizontal"]) ::slotted(label){align-self:start!important}`,R=class extends h{get label(){return this.querySelector?.(`label`)}get inputs(){return this.querySelectorAll?Array.from(this.querySelectorAll(Zx)):[]}get#e(){return this.querySelectorAll?Array.from(this.querySelectorAll(`nve-control-message`)):[]}#t=[];static{this.styles=T([pS])}static{this.metadata={tag:`nve-control-group`,version:`0.0.0`}}render(){return p`<div internal-host class="${this.#e.length?``:`no-messages`} ${this.label?``:`no-label`}"><slot name="label"></slot><slot class="input-slot"></slot><slot name="messages"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`}firstUpdated(e){super.firstUpdated(e),this.#t=[tS(this),lS(this),...rS(this,this.#e)],this.#n(),this.shadowRoot.addEventListener(`slotchange`,()=>this.#n())}disconnectedCallback(){super.disconnectedCallback(),this.#t.forEach(e=>e.disconnect())}#n(){this.#r(),Vn(this.label,this),Hn(Array.from(this.querySelectorAll(`nve-control-message`)),this),Wn(Array.from(this.inputs))}#r(){this.label&&(this.label.slot=`label`)}};k([g({type:String,reflect:!0})],R.prototype,`layout`,void 0),k([g({type:String,reflect:!0})],R.prototype,`prominence`,void 0);var mS=`:host{--cursor: pointer;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);--border-width: var(--nve-ref-border-width-md);--border-radius: var(--nve-ref-border-radius-xs);--border-color: var(--nve-ref-border-color);--background: transparent;--check-color: transparent;display:inline-block;contain:layout}::slotted(input){width:var(--width)!important;height:var(--height)!important;cursor:var(--cursor)!important;margin:0!important;position:absolute!important;opacity:0!important;inset:0!important}[input]{align-items:center;position:relative}@keyframes select-pop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}[input] slot{width:var(--width);height:var(--height);border:var(--border-width) solid var(--border-color);background:var(--background);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;position:relative;overflow:visible;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.12,.32,.54,2),border-color var(--nve-ref-animation-duration-150) ease}[input] slot:before{content:"";width:calc(var(--width) * .7);height:calc(var(--width) * .7 / 1.369);aspect-ratio:1.369;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1.05);clip-path:shape(from 98.17% 2.51%,arc by 0% 12.12% of 8% 8.57% small cw,line by -60.51% 82.87%,arc by -8.85% 0% of 8% 8.57% small cw,line to 1.68% 60.34%,arc by .15% -11.91% of 8% 8.58% small cw,arc by 8.7% -.21% of 8% 8.58% small cw,line to 33.23% 79.32%,line by 56.09% -76.81%,arc by 8.85% 0% of 8% 8.57% small cw,close)}:host(:state(checked)){--background: var(--accent-color);--check-color: var(--nve-sys-text-white-color)}:host(:state(checked)) [input] slot{border:0}:host(:state(checked):state(dirty)) [input] slot{animation:select-pop var(--nve-ref-animation-duration-200) ease-out}:host(:state(checked)) [input] slot:before{background:var(--check-color)}:host(:state(indeterminate)){--background: var(--border-color)}:host(:state(indeterminate)) [input] slot:before{display:none}:host(:state(indeterminate)) [input] slot:after{background:var(--nve-sys-interaction-color);content:"";display:inline-block;width:calc(var(--width) * .5);height:var(--border-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}`,hS=class extends L{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=T([...L.styles,mS])}static{this.metadata={tag:`nve-checkbox`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};k([lr({attribute:`nve-control`})],hS.prototype,`nveControl`,void 0),hS=k([v()],hS);var gS=`:host{width:100%}`,_S=class extends R{static{this.styles=T([...R.styles,gS])}static{this.metadata={tag:`nve-checkbox-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-checkbox`]}}};_S=k([v(),C()],_S),f(hS),f(_S),f(L),f(R),f(F);var vS=`:host{--padding: 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-800);--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--border: var(--nve-ref-border-width-md) solid transparent;--border-bottom: var(--border);--cursor: text;--font-weight: normal;--_icon-height: var(--height);--_font-size: var(--font-size);--width: 100%;--max-width: 100%;--min-width: initial;width:var(--width);max-width:var(--max-width);min-width:var(--min-width)}[input]{height:var(--height);background:var(--background);border:var(--border);border-bottom:var(--border-bottom);border-radius:var(--border-radius);color:var(--color);cursor:var(--cursor);width:var(--control-width);display:flex;align-content:stretch}::slotted(input){accent-color:var(--accent-color)!important;cursor:var(--cursor)!important;padding:var(--padding)!important;font-size:var(--font-size)!important;color:var(--color)!important;line-height:var(--height)!important;border:0!important;background:none!important;display:block!important;width:100%!important;font-weight:var(--font-weight)!important}nve-icon-button,::slotted(nve-icon-button){--height: var(--_icon-height);align-self:center}::slotted(nve-button:not([slot])){--font-size: var(--_font-size);--padding: 0 var(--nve-ref-size-200);--color: var(--label-color);--height: 100%}:host([rounded]){--border-radius: var(--nve-ref-border-radius-full)}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}:host([container="flat"]){--border-radius: 0;--box-shadow: none;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}:host([container="flat"]) [input]{background:inherit}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([container="flat"]:focus-within) [input]{outline:0!important}`,yS=vS,bS=class extends L{constructor(...e){super(...e),this.rounded=!1}static{this.styles=T([...L.styles,vS])}static{this.metadata={tag:`nve-input`,version:`0.0.0`}}};k([g({type:String,reflect:!0})],bS.prototype,`container`,void 0),k([g({type:Boolean,reflect:!0})],bS.prototype,`rounded`,void 0);var xS=`nve-input-group[type=filter]>nve-select::part(_caret){display:none!important}nve-input-group>[nve-control],nve-input-group>nve-button{--border-radius: 0}nve-input-group[type=filter] [nve-control]:nth-child(odd),nve-input-group[type=filter] nve-button:nth-child(odd){--font-weight: var(--nve-ref-font-weight-medium);--text-align: center}`,SS=`:host{--background: var(--nve-ref-border-color);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--gap: calc(var(--nve-ref-space-xxxs) / 2);--border: none;--width: max-content;width:var(--width);contain:none}[internal-host]{border-radius:var(--border-radius);overflow:hidden;width:var(--width);border:var(--border)}.input-slot{background:var(--background);border-radius:var(--border-radius);flex-flow:row nowrap;gap:var(--gap)}slot[name=label]{align-self:center}::slotted(nve-icon-button){--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-support-emphasis-color);--border-radius: 0}::slotted(nve-select){--padding: 0 var(--nve-ref-size-200);width:fit-content}::slotted([nve-control]){--border-radius: 0 !important}::slotted([first-control]){--border-radius: var(--nve-ref-border-radius-sm) 0 0 var(--nve-ref-border-radius-sm) !important}::slotted([last-control]){--border-radius: 0 var(--nve-ref-border-radius-sm) var(--nve-ref-border-radius-sm) 0 !important}`,CS=class extends R{static{this.styles=T([...R.styles,SS])}static{this.metadata={tag:`nve-input-group`,version:`0.0.0`}}async connectedCallback(){b(this,xS),super.connectedCallback(),await this.updateComplete;let e=Array.from(this.shadowRoot.querySelector(`slot:not([name])`).assignedElements());e[0]?.setAttribute(`first-control`,``),e[e.length-1]?.setAttribute(`last-control`,``)}},wS=`nve-color input::-webkit-color-swatch{border:none!important}`,TS=`:host{--cursor: pointer}::slotted(input){padding:0!important;border:0!important;height:auto}`,ES={expand:`expand`},DS=class extends L{get i18nDefaults(){return ES}static{this.styles=T([...L.styles,yS,TS])}static{this.metadata={tag:`nve-color`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" .role="${`button`}" .ariaLabel="${this.i18n.expand}" icon-name="dropper" container="inline" @click="${()=>this.#e()}"></nve-icon-button>`}connectedCallback(){if(super.connectedCallback(),b(this,wS),this.input.value===`#000000`){let e=getComputedStyle(this).getPropertyValue(`--background`).trim();e.includes(`#`)&&(this.input.value=e)}}async#e(){this.input.value=await _n(),this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}};k([g({type:String,reflect:!0})],DS.prototype,`container`,void 0),DS=k([w()],DS),f(DS),f(L),f(R),f(F);var OS=e=>e??m,kS=`:host{--padding: 0;--gap: var(--nve-ref-space-xxs);--width: min-content;--max-width: 100%;--min-width: 170px;--max-height: 100%;width:var(--width);min-width:var(--min-width);contain:layout;content-visibility:auto;contain-intrinsic-size:auto var(--max-height, initial)}[internal-host]{padding:var(--padding);gap:var(--gap);display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);max-height:var(--max-height);margin:0;overflow-y:auto;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}`,AS=`nve-menu:has(nve-menu-item:state(current)){--padding: 0 0 0 var(--nve-ref-size-200)}nve-menu:has(nve-tooltip),nve-menu:has(nve-tooltip) nve-menu-item{content-visibility:initial}nve-menu[density=compact]{--min-width: 0;nve-menu-item{--gap: 0;width:fit-content}nve-menu-item::part(_slot),nve-menu-item::part(_suffix){display:none!important}}`,z=class extends h{static{this.styles=T([kS])}static{this.metadata={tag:`nve-menu`,version:`0.0.0`,children:[`nve-menu-item`,`nve-divider`]}}static{this.elementDefinitions={}}get keynavListConfig(){return{layout:`vertical`,items:this.items}}#e=new Fn(this);#t=[];#n=null;#r=!1;#i=()=>{this.#n===null&&(this.#n=requestAnimationFrame(()=>{this.#n=null;let e=this.shadowRoot?.querySelector(`[internal-host]`);if(!e)return;let{scrollTop:t,scrollHeight:n,clientHeight:r}=e;this.dispatchEvent(new CustomEvent(`scroll`,{bubbles:!0,composed:!0,detail:{scrollTop:t,scrollHeight:n,clientHeight:r}}))}))};render(){return p`<div internal-host><slot @slotchange="${this.#a}"></slot></div>`}async firstUpdated(){await this.updateComplete,this.shadowRoot?.querySelector(`[internal-host]`)?.addEventListener(`scroll`,this.#i,{passive:!0})}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`menu`,b(this,AS),this.hasUpdated&&(this.#t=this.items),this.parentElement?.localName===`nve-menu-group`&&!this.slot&&(this.slot=`menu`,this.#r=!0)}disconnectedCallback(){super.disconnectedCallback(),this.#t=[],this.#r&&this.slot===`menu`&&(this.slot=``),this.#r=!1}#a=()=>{this.#e.refreshItems(this.#t),this.#t=this.items}};k([g({type:String,reflect:!0})],z.prototype,`density`,void 0),k([_({selector:`nve-menu-item`})],z.prototype,`items`,void 0),z=k([v()],z);var jS=`:host{--background: transparent;--font-size: var(--nve-ref-font-size-100);--padding: var(--nve-ref-size-200);--gap: var(--nve-ref-space-sm);--border-radius: var(--nve-ref-border-radius-xs);--color: var(--nve-sys-interaction-color);--width: 100%;--min-height: var(--nve-ref-size-800);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));display:block;width:var(--width);contain:layout}[internal-host]{display:flex;flex-direction:column;width:100%;gap:var(--nve-ref-space-xxs)}button{appearance:none;padding:var(--padding);color:var(--color);background:var(--background);font-size:var(--font-size);border-radius:var(--border-radius);min-height:var(--min-height);gap:var(--gap);font-weight:var(--nve-ref-font-weight-medium);border:0;width:100%;margin:0;font-family:inherit;line-height:normal;text-align:start;cursor:pointer;outline-offset:calc(-1 * var(--nve-ref-size-50));position:relative;display:flex;align-items:center;background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;&:hover{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}}button:not([disabled]):focus-visible{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}slot:not([name]){display:inline-flex;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[part=caret]{flex:none;--color: currentColor}slot[name=menu]{width:100%;display:block}::slotted(nve-menu){--min-width: 0;--width: 100%;--padding: 0 0 0 var(--nve-ref-size-200)}::slotted(nve-icon){--color: currentColor}:host([disabled]){--color: var(--nve-sys-interaction-disabled-color)}:host([disabled]) button{--nve-sys-interaction-state-ratio: 0;cursor:not-allowed;opacity:var(--nve-ref-opacity-500)}:host(:not([disabled]):hover){--color: var(--nve-sys-interaction-selected-color)}`,MS=class extends h{constructor(...e){super(...e),this.expanded=!1,this.disabled=!1,this.behaviorExpand=!1,this.#e=new nr(this),this.#t=()=>{this.disabled||this.#e.toggle()}}static{this.styles=T([jS])}static{this.metadata={tag:`nve-menu-group`,version:`0.0.0`,children:[`nve-menu`]}}static{this.elementDefinitions={[M.metadata.tag]:M}}#e;render(){return p`<div internal-host><button id="trigger" type="button" aria-expanded="${this.expanded}" ?disabled="${this.disabled}" aria-controls="content" @click="${this.#t}"><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot><nve-icon part="caret" name="caret" direction="${this.expanded?`down`:`right`}" size="sm" aria-hidden="true"></nve-icon></button><slot id="content" name="menu" ?hidden="${!this.expanded}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`}#t};k([g({type:Boolean,reflect:!0})],MS.prototype,`expanded`,void 0),k([g({type:Boolean,reflect:!0})],MS.prototype,`disabled`,void 0),k([g({type:Boolean,attribute:`behavior-expand`})],MS.prototype,`behaviorExpand`,void 0),MS=k([v(),w()],MS);var NS=`:host{--border-radius: var(--nve-ref-border-radius-xs);--border-background: var(--nve-sys-accent-secondary-background);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-medium);--color: var(--nve-sys-interaction-color);--padding: var(--nve-ref-size-200);--gap: var(--nve-ref-space-sm);--width: 100%;--min-height: var(--nve-ref-size-800);--line-height: 0;--cursor: pointer;--text-transform: capitalize;--opacity: 1;contain:layout;content-visibility:auto;contain-intrinsic-size:auto var(--min-height, initial)}[internal-host]{--_icon-color: var(--color);padding:var(--padding);color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);border-radius:var(--border-radius);gap:var(--gap);width:var(--width);min-width:var(--min-width);min-height:var(--min-height);cursor:var(--cursor);text-transform:var(--text-transform);outline-offset:calc(-1 * var(--nve-ref-size-50));opacity:var(--opacity);position:relative;display:flex;align-items:center;white-space:nowrap;border:0;text-align:left}::slotted(nve-icon){--color: var(--_icon-color)}:host(:hover),:host(:state(selected)){--color: var(--nve-sys-interaction-selected-color)}:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host(:state(disabled)){--opacity: var(--nve-ref-opacity-500);--cursor: not-allowed}:host(:state(current)){contain:none;content-visibility:initial;--color: var(--nve-sys-interaction-selected-color)}:host(:state(current)) [internal-host]{contain:none}:host([status="danger"]){--nve-sys-interaction-state-base: var(--nve-sys-support-danger-muted-color);--nve-sys-interaction-selected-color: var(--nve-sys-support-danger-emphasis-color);--border-background: var(--nve-sys-support-danger-emphasis-color);--color: var(--nve-sys-support-danger-emphasis-color)}:host([status="danger"]:hover) ::slotted(nve-icon){--color: var(--nve-sys-support-danger-emphasis-color) !important}:host(:state(current)) [internal-host]:after{width:var(--nve-ref-border-width-xl);border-radius:var(--border-radius);background:var(--border-background);content:"";display:block;position:absolute;top:var(--nve-ref-size-50);bottom:var(--nve-ref-size-50);left:calc(var(--nve-ref-size-200) * -1)}::slotted(nve-icon){--color: inherit !important}::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}::slotted(*:not(a,nve-icon)){pointer-events:none}::slotted(nve-icon){cursor:var(--cursor)}::slotted(nve-divider){margin:0 calc(-1 * var(--padding))}::slotted([slot="suffix"]){margin-inline-start:auto}`,B=class extends bi(h){static{this.styles=T([NS])}static{this.metadata={tag:`nve-menu-item`,version:`0.0.0`,parents:[`nve-menu`]}}static{this.elementDefinitions={}}render(){return p`<div internal-host interaction-state focus-within part="_internal"><slot name="prefix" part="_prefix"></slot><slot part="_slot"></slot><slot name="suffix" part="_suffix"></slot></div>`}constructor(){super(),this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`menuitem`}};k([g({type:String,reflect:!0})],B.prototype,`status`,void 0),B=k([v()],B);function PS(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return yt(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return yt(n,r,{get(){return a(this)}})}}var FS=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: 0px;--arrow-transform: translate(0, -2px) rotate(225deg);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-md);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-400);--width: fit-content;--min-width: fit-content;--gap: var(--nve-ref-space-sm);--_divider-padding: var(--padding)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);gap:var(--nve-ref-space-sm);width:var(--width);min-width:var(--min-width);outline:0}[internal-host]::backdrop{background:transparent}.header{display:flex;gap:var(--gap)}.header:has(nve-icon-button){min-height:var(--nve-ref-size-300)}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}.arrow{width:var(--nve-ref-size-400);height:var(--nve-ref-size-400);background:var(--background);transform:var(--arrow-transform);border-top-left-radius:var(--nve-ref-border-radius-xs);z-index:10000;clip-path:polygon(0 0,100% 0,0 100%);position:absolute;border-left:var(--border);border-top:var(--border)}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(225deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(-45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(135deg)}::slotted(nve-menu){--width: 100%}::slotted(nve-divider){margin:0 calc(-1 * var(--_divider-padding))}`,IS={close:`close`},V=class extends h{constructor(...e){super(...e),this.position=`bottom`,this.alignment=`start`,this.closable=!1,this.arrow=!1,this.modal=!0,this.popoverType=`auto`,this.#e=new E(this,IS),this.typeNativePopoverController=new sr(this),this.i18n=this.#e.i18n}static{this.styles=T([xr,FS])}static{this.metadata={tag:`nve-dropdown`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}#e;get popoverDismissible(){return this.modal}render(){return p`<div internal-host><slot name="header"></slot>${this.closable?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot></slot><slot name="footer"></slot></div>${this.arrow?p`<div class="arrow"></div>`:``}`}};k([g({type:String})],V.prototype,`anchor`,void 0),k([g({type:String})],V.prototype,`trigger`,void 0),k([g({type:String,reflect:!0})],V.prototype,`position`,void 0),k([g({type:String,reflect:!0})],V.prototype,`alignment`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],V.prototype,`behaviorTrigger`,void 0),k([g({type:Boolean})],V.prototype,`closable`,void 0),k([g({type:Boolean})],V.prototype,`arrow`,void 0),k([g({type:Boolean,reflect:!0})],V.prototype,`modal`,void 0),k([g({type:String,attribute:`popover-type`})],V.prototype,`popoverType`,void 0),k([PS(`.arrow`)],V.prototype,`popoverArrow`,void 0),k([g({type:Object})],V.prototype,`i18n`,void 0),V=k([v({excessiveInstanceLimit:50}),w()],V);var LS=`:host{--border-top: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:calc(100% + calc(var(--padding) * 2));margin:var(--padding) calc(var(--padding) * -1) 0 calc(var(--padding) * -1)}[internal-host]{border-top:var(--border-top);padding:var(--padding) var(--padding) 0 var(--padding);display:flex;justify-content:start;gap:var(--gap)}`,RS=class extends h{static{this.styles=T([LS])}static{this.metadata={tag:`nve-dropdown-footer`,version:`0.0.0`,parents:[`nve-dropdown`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},zS=`:host{--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);width:calc(100% + calc(var(--padding) * 2));margin:0 calc(var(--padding) * -1) var(--padding) calc(var(--padding) * -1)}[internal-host]{border-bottom:var(--border-bottom);padding:0 var(--padding) var(--padding) var(--padding)}`,BS=class extends h{static{this.styles=T([zS])}static{this.metadata={tag:`nve-dropdown-header`,version:`0.0.0`,parents:[`nve-dropdown`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},VS=`:host{--background: var(--state-color-background);--color: var(--state-color);--state-color-base: var(--nve-ref-color-blue-cobalt-1100);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--padding: 0 var(--nve-ref-size-200);--border: 0;--border-radius: var(--nve-ref-border-radius-full);--font-weight: var(--nve-ref-font-weight-regular);--cursor: pointer;--height: var(--nve-ref-size-600);--width: initial;--max-width: initial;display:inline-flex;user-select:none}[internal-host]{--_color: var(--color);font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);cursor:var(--cursor);height:var(--height);width:var(--width);max-width:var(--max-width);display:inline-flex;line-height:1.1em;place-items:center;place-content:center;white-space:nowrap}slot:not([name]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}::slotted([nve-text]){color:inherit!important}::slotted(nve-icon){--color: var(--_color)}::slotted(nve-dot){--color: var(--state-color-background);--status-color: var(--_color)}nve-icon{--color: inherit;cursor:var(--cursor)}:host([readonly]){--text-decoration: none;--cursor: cursor}`,HS={close:`close`},H=class extends bi(h){static{this.styles=T([vr,VS])}static{this.metadata={tag:`nve-tag`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}#e;#t;render(){return p`<div internal-host interaction-state focus-within><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>${this.closable?p`<nve-icon part="icon" @click="${()=>this.#t.close()}" container="flat" name="cancel" size="sm" role="img" aria-label="${OS(this.i18n.close)}"></nve-icon>`:``}</div>`}constructor(){super(),this.closable=!1,this.#e=new E(this,HS),this.i18n=this.#e.i18n,this.#t=new tr(this),this.type=`button`}};k([g({type:Boolean})],H.prototype,`closable`,void 0),k([g({type:String,reflect:!0})],H.prototype,`color`,void 0),k([g({type:String,reflect:!0})],H.prototype,`prominence`,void 0),k([g({type:Object})],H.prototype,`i18n`,void 0),H=k([w()],H);var US=`:host{--scroll-height: 25vh;--_input-background: var(--background);contain:initial}[name=caret]{right:var(--nve-ref-size-300);align-self:center;pointer-events:none;position:absolute}[internal-host]:has(nve-menu:focus-within) [input]{outline:0!important}:host(:state(selected)){--font-weight: var(--nve-ref-font-weight-semibold)}:host(:state(multiple)){--padding: 0 var(--nve-ref-size-100)}:host(:state(multiple)) [input]{padding:var(--padding)}.tags{width:fit-content;display:flex;gap:var(--nve-ref-space-xxs);align-items:center}.tags-label{padding:0 var(--nve-ref-size-200);font-size:var(--font-size);cursor:var(--cursor);font-weight:var(--font-weight);text-wrap:nowrap;display:none;align-items:center;pointer-events:none}:host(:state(multiple-overflow):not([tag-layout="wrap"])) .tags{opacity:0;pointer-events:none;position:absolute}:host(:state(multiple-overflow):not([tag-layout="wrap"])) .tags-label{display:flex}nve-tag{--background: color-mix(in oklab, var(--color) 15%, var(--_input-background));--padding: var(--nve-ref-size-100) var(--nve-ref-size-200);--cursor: pointer !important}::slotted(select){display:none!important}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}[name=prefix-icon]{display:contents}nve-dropdown{--padding: var(--nve-ref-size-200)}nve-menu{contain:content;--max-height: var(--scroll-height)}nve-menu-item{--text-transform: initial;contain:content;content-visibility:auto}[internal-host]:has([matches]) nve-menu-item{--color: var(--nve-sys-text-muted-color)}nve-menu-item nve-icon{--color: inherit}input[type=checkbox]{accent-color:var(--nve-sys-accent-secondary-background)}nve-checkbox:not(:state(disabled)){--border-color: var(--nve-ref-border-color-emphasis)}nve-menu-item:not(:state(selected)) nve-icon[name=check]{opacity:0}slot:not([name]),slot[name*=option-]{display:contents}[matches]{font-weight:var(--nve-ref-font-weight-medium);color:var(--nve-sys-text-emphasis-color)}[name=footer]{display:none;min-height:var(--nve-ref-size-900);margin:calc(var(--nve-ref-size-200) * -1);width:calc(100% + calc(var(--nve-ref-size-200) * 2));border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);padding:0 var(--nve-ref-size-200);gap:var(--nve-ref-space-sm);justify-content:center;align-items:center}:host(:state(footer-content)) [name=footer]{display:flex}nve-menu-item[part=create-option]{--color: var(--nve-sys-text-muted-color);font-style:italic;span:first-letter{text-transform:uppercase}}:host([tag-layout="wrap"]:state(multiple-overflow)){[input]{min-height:var(--height);height:fit-content;flex-direction:column;width:100%}.tags{padding-block-start:var(--nve-ref-size-50);flex-wrap:wrap}}`,WS={select:`select`,selected:`selected`,noResults:`no results`,create:`create`},GS=class extends L{constructor(...e){super(...e),this.#p=[],this.#m=!1,this.#_=null,this._associateDatalist=!1,this.#D=/* @__PURE__ */ new Map}get i18nDefaults(){return WS}static{this.styles=T([...L.styles,yS,US])}static{this.metadata={tag:`nve-combobox`,version:`0.0.0`}}static{this.elementDefinitions={[hS.metadata.tag]:hS,[M.metadata.tag]:M,[V.metadata.tag]:V,[z.metadata.tag]:z,[B.metadata.tag]:B,[H.metadata.tag]:H}}#e;get#t(){return this.#e||=this.shadowRoot?this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})?.find(e=>e.tagName===`DATALIST`||e.tagName===`SELECT`)??this.querySelector(`datalist, select`):null,this.#e}#n;get#r(){return this.#n||=this.shadowRoot?this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})?.find(e=>e.tagName===`SELECT`)??this.querySelector(`select`):null,this.#n}get#i(){return Array.from(this.#t?.options?this.#t.options:[])}get#a(){return Array.from(this.shadowRoot.querySelectorAll(B.metadata.tag))}get#o(){return this.shadowRoot.querySelector(V.metadata.tag)}get#s(){return this.shadowRoot.querySelector(`[input]`)}get#c(){return this.shadowRoot.querySelector(`.tags`)}get#l(){return this.#i.find(e=>!e.disabled&&!e.hidden)}get#u(){return!!this.querySelector(`[slot="footer"]`)}get#d(){if(!this.behaviorCreate||this.input?.disabled)return!1;let e=this.input?.value.trim();return e?!this.#f(e):!1}#f(e){let t=e.toLowerCase();return this.#i.find(e=>(e.textContent.trim()||e.value).toLowerCase()===t||e.value.toLowerCase()===t)}#p;#m;#h;#g;#_;get prefixContent(){return this.#r?.multiple&&!this.#v?p`<div class="tags-label" aria-hidden="true">${this.#r.selectedOptions.length} ${this.i18n.selected}</div><div class="tags">${Array.from(this.#r.selectedOptions).map(e=>p`<nve-tag part="tag" readonly="readonly" color="gray-slate" closable .value="${e.value}" @click="${()=>this.#z(e)}">${xn(e)}</nve-tag>`)}</div>`:p`<slot name="prefix-icon"></slot>`}get#v(){return this.tagLayout===`hidden`}get#y(){return(this.#t?.options?.length??0)>50}get#b(){return!this._internals.states.has(`dirty`)}get suffixContent(){let e=this.#i,t=this.#y,n=this.#b,r=e.filter(e=>!e.hidden).filter(e=>!(e.value===``&&e.disabled)),i=r.filter(e=>!e.disabled).length===0,a=this.#d;return p`<nve-dropdown part="dropdown" .popoverType="${`manual`}" .modal="${!1}" @open="${this.#N}" @close="${this.#P}" hidden .anchor="${this.#s}" position="bottom"><nve-menu part="menu" role="listbox" style="--width:100%;--min-width:fit-content" aria-label="${OS(this.i18n.select)}">${r.map(e=>p`<nve-menu-item part="menu-item" .option="${xn(e)}" role="option" @click="${()=>this.#z(e)}" ?selected="${e.selected}" aria-selected="${e.selected?`true`:`false`}" ?disabled="${e.disabled}" aria-label="${xn(e)}">${this.#x(e)} ${t||n?xn(e):p`<span role="presentation">${(e.label?e.label:e.value)?.split(``)?.map((e,t)=>p`<span ?matches="${this.#H(e,t)}">${e}</span>`)}</span>`}</nve-menu-item>`)} ${i&&!a?p`<nve-menu-item part="menu-item" .value="${``}" disabled="disabled">${this.i18n.noResults}</nve-menu-item>`:m} ${a?p`<nve-menu-item part="create-option" role="button" aria-label="${`${this.i18n.create} "${this.input?.value.trim()}"`}" @click="${this.#B}"><nve-icon part="icon" name="add" size="sm"></nve-icon>"${this.input?.value.trim()}"</nve-menu-item>`:m}</nve-menu><slot name="footer"></slot></nve-dropdown>`}#x(e){let t=this.#r;return t?.multiple&&this.#y?p`<input aria-hidden="true" type="checkbox" .checked="${e.selected}" .disabled="${e.disabled}" .name="${e.selected?`check`:void 0}">`:t?.multiple?p`<nve-checkbox part="checkbox"><input aria-hidden="true" type="checkbox" .checked="${e.selected}" .disabled="${e.disabled}" .name="${e.selected?`check`:void 0}"></nve-checkbox>`:t?p`<nve-icon part="icon" name="check" size="sm"></nve-icon>`:m}async firstUpdated(e){super.firstUpdated(e),this.shadowRoot.addEventListener(`slotchange`,()=>this.#j()),await this.updateComplete,this.#S(),this.#C(),this.#F(),this.#I(),this.#R(),this.#X(),await this.#L(),this.input.setAttribute(`list`,``),this.input.autocomplete=`off`}updated(e){super.updated(e),this.#J()}connectedCallback(){super.connectedCallback();let e=new MutationObserver(()=>this.#j());e.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`selected`,`disabled`,`value`],characterData:!0}),this.#p.push(e),this.#O()}disconnectedCallback(){super.disconnectedCallback(),this.#p.forEach(e=>e.disconnect()),this.#p.length=0,this.#g?.disconnect(),this.#_=null,this._internals.states.delete(`multiple-overflow`),this.#k(),this.#h!==void 0&&cancelAnimationFrame(this.#h),this.#h=void 0}reset(){this.#o.hidePopover(),this.#r&&(this.#r.selectedIndex=-1),super.reset()}selectAll(){this.#i.forEach(e=>e.selected=!0),this.requestUpdate(),this.#r.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#r.dispatchEvent(new Event(`change`,{bubbles:!0}))}#S(){this.#r&&!this.#r.multiple&&(this.#w(),this.#E())}#C(){this.#r?.multiple&&(this.#w(),this.#E(),this._internals.states.add(`multiple`))}#w(){let e=Array.from(this.#r.selectedOptions).find(e=>e.hasAttribute(`selected`));e&&!this.#r.multiple&&!this.input.defaultValue&&(this.input.value=xn(e))}#T(){!this.#r.multiple&&!this.input.defaultValue&&(this.input.value=xn(Array.from(this.#r.selectedOptions).find(e=>e.value===this.#r.value)))}#E(){this.#p.push(on(this.#r,`value`,()=>{this.#T(),this.requestUpdate()}))}#D;#O(){this.#e=null,this.#n=null,this.#A(),this.requestUpdate()}#k(){this.#D.forEach(e=>e?.()),this.#D.clear()}#A(){this.isConnected&&this.#i.forEach(e=>{this.#D.has(e)||this.#D.set(e,an(e,`selected`,()=>this.requestUpdate()))})}#j(){this.#m||(this.#m=!0,queueMicrotask(()=>{this.#m=!1,this.isConnected&&(this.#e=null,this.#n=null,this.#M(),this.#A(),this.requestUpdate())}))}#M(){let e=new Set(this.#i);for(let[t,n]of this.#D)e.has(t)||(n?.(),this.#D.delete(t))}#N(){this.#o.hidden=!1}#P(){this.#o.hidden=!0,this._internals.states.delete(`dirty`),this.#G()}#F(){this.addEventListener(`keydown`,e=>{let t=this.input.value.trim();if(e.code===`Tab`&&(this.#l&&this.#o.matches(`:popover-open`)&&t!==``&&(e.preventDefault(),this.#K(this.#a[0].option),this.#q(this.#i.find(e=>(e.label?e.label:e.value)===this.#a[0].option))),this.#o.hidePopover()),e.code===`Enter`&&this.behaviorCreate&&!this.input.disabled&&t){let n=this.#f(t);n?this.#z(n):(e.preventDefault(),e.stopImmediatePropagation(),this.#V())}})}#I(){this.input.addEventListener(`input`,()=>this.#U()),this.shadowRoot.addEventListener(`slotchange`,()=>this.#U())}async#L(){let e=this.#o;await e.updateComplete,Or({element:e.shadowRoot.querySelector(`[internal-host]`),focusElement:this.input},()=>{this.#o.matches(`:popover-open`)&&this.#o.hidePopover()})}#R(){this.#c?.addEventListener(`pointerup`,()=>{this.tagLayout===`wrap`&&(this.input.focus(),setTimeout(()=>this.#W(),0))}),this.input.addEventListener(`pointerdown`,()=>{this.#W()}),this.addEventListener(`keydown`,e=>{e.code!==`Tab`&&e.code!==`Escape`&&this.#W(),e?.code===`ArrowDown`&&this.getRootNode().activeElement===this.input&&(this.#o.tabIndex=0,this.#a[0]?.focus(),e.preventDefault())})}#z(e){this.#r?.multiple||(this.#K(xn(e)),this.#o.hidePopover(),Xt(this.input)),this.#r&&(e.selected=!e.selected,this.#q(e)),this.requestUpdate()}#B(){this.#V()}#V(){let e=this.input.value.trim();e&&(this.dispatchEvent(new CustomEvent(`create`,{detail:{value:e},bubbles:!0,composed:!0})),this.input.value=``,this.#o.hidePopover(),Xt(this.input),this.requestUpdate())}#H(e,t){return this.#l?this.input.value.toLowerCase()[t]?.toLowerCase()===e.toLowerCase():!1}#U(){this.#i.forEach(e=>{e.hidden=e.textContent.trim().length?!e.textContent.toLocaleLowerCase().includes(this.input?.value.toLowerCase()):!e.value.toLocaleLowerCase().includes(this.input?.value.toLowerCase())}),this.requestUpdate()}#W(){!this.input.disabled&&!this.#o.matches(`:popover-open`)&&(this.#r?(this.#i.forEach(e=>e.hidden=!1),this.requestUpdate()):this.#U(),this.#o.style.setProperty(`--min-width`,`${this.#s.getBoundingClientRect().width}px`),this.#o.showPopover({source:this.#s}),this.#o.tabIndex=-1)}#G(){this.#r&&!this.#r.multiple&&!this.#i.filter(e=>!(e.value===``&&e.disabled)).find(e=>xn(e)===this.input.value)&&(this.#i.forEach(e=>e.selected=!1),this.#K(``),this.#q({value:``,selected:!1}))}#K(e){this.input.value=e,this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}#q(e){let t=[...this.#i,{value:``,selected:null}].find(t=>t.value===e.value);t&&(t.selected=e.selected??null),this.#r&&!this.#r.multiple&&(this.#r.value=e.value),this.#r?.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#r?.dispatchEvent(new Event(`change`,{bubbles:!0}))}#J(){if(!this.isConnected)return;let e=this.#r?.multiple&&!this.#v?this.#c:null;e!==this.#_&&(this.#g?.disconnect(),this.#_=e,this.#h!==void 0&&cancelAnimationFrame(this.#h),this.#h=void 0,e?(this.#g??=new ResizeObserver(()=>{this.#h===void 0&&(this.#h=requestAnimationFrame(()=>{this.#h=void 0;let e=this.#c;this.isConnected&&e&&this.#Y(e.getBoundingClientRect().width)}))}),this.#g.observe(e),this.#g.observe(this.#s)):this._internals.states.delete(`multiple-overflow`))}#Y(e){this.#r?.multiple&&e>this.#s.getBoundingClientRect().width-100?this._internals.states.add(`multiple-overflow`):this._internals.states.delete(`multiple-overflow`)}#X(){this.#Z(),this.shadowRoot.addEventListener(`slotchange`,()=>this.#Z())}#Z(){this.#u?this._internals.states.add(`footer-content`):this._internals.states.delete(`footer-content`)}};k([g({type:String,reflect:!0})],GS.prototype,`container`,void 0),k([g({type:String,reflect:!0,attribute:`tag-layout`})],GS.prototype,`tagLayout`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-create`})],GS.prototype,`behaviorCreate`,void 0),GS=k([w()],GS),f(GS),f(L),f(R),f(F);var KS=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-md);--nve-sys-interaction-color: var(--color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-400);--justify-content: initial;--background: var(--nve-sys-layer-popover-background);--border-radius: var(--nve-ref-border-radius-md);--border: none;--color: var(--nve-sys-layer-popover-color);--font-size: var(--nve-ref-font-size-200);--font-weight: var(--nve-ref-font-weight-medium);--box-shadow: var(--nve-ref-shadow-100);--gap: var(--nve-ref-space-xs);--_gap: var(--gap);height:fit-content}[internal-host]{background:var(--background);font-size:var(--font-size);font-weight:var(--font-weight);gap:var(--gap);color:var(--color);padding:var(--padding);border-radius:var(--border-radius);border:var(--border);display:flex;flex-direction:row;align-items:center;justify-content:var(--justify-content)}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-800)}:host([status="accent"]){--background: var(--nve-sys-support-accent-color)}:host([status="success"]){--background: var(--nve-sys-support-success-color);--color: var(--nve-sys-text-white-color)}:host([status="warning"]){--background: var(--nve-sys-support-warning-color);--color: var(--nve-sys-text-black-color)}:host([status="danger"]){--background: var(--nve-sys-support-danger-color);--color: var(--nve-sys-text-white-color)}:host([prominence="muted"]:not([status])){--background: var(--nve-sys-support-muted-color);--color: var(--nve-sys-layer-popover-background)}nve-icon{--color: inherit}nve-icon-button{--color: inherit;position:absolute;inset-block-start:var(--nve-ref-size-50);inset-inline-end:var(--nve-ref-size-50)}::slotted(nve-button[container="flat"]),::slotted(nve-button[container="inline"]){--color: inherit;margin-inline:calc(var(--_gap) * 2) calc(var(--_gap) / -2)}::slotted([nve-text]){color:inherit!important}`,qS={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},U=class extends h{constructor(...e){super(...e),this.position=`top`,this.closable=!1,this.closeTimeout=0,this.#e=new E(this,qS),this.i18n=this.#e.i18n,this.popoverType=`manual`,this.typeNativePopoverController=new sr(this)}static{this.styles=T([xr,KS])}static{this.metadata={tag:`nve-toast`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N,[M.metadata.tag]:M}}#e;render(){return p`<div internal-host><slot name="prefix"><nve-icon part="prefix-icon" .name="${Tr[this.status]}" .ariaLabel="${this.i18n[this.status]??this.i18n.information}"></nve-icon></slot>${this.closable?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:m}<slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`alert`}};k([g({type:String})],U.prototype,`anchor`,void 0),k([g({type:String})],U.prototype,`trigger`,void 0),k([g({type:String,reflect:!0})],U.prototype,`position`,void 0),k([g({type:String,reflect:!0})],U.prototype,`alignment`,void 0),k([g({type:String,reflect:!0})],U.prototype,`prominence`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],U.prototype,`behaviorTrigger`,void 0),k([g({type:Boolean})],U.prototype,`closable`,void 0),k([g({type:Number,attribute:`close-timeout`})],U.prototype,`closeTimeout`,void 0),k([g({type:String,reflect:!0})],U.prototype,`status`,void 0),k([g({type:Object})],U.prototype,`i18n`,void 0),U=k([w(),v({excessiveInstanceLimit:50})],U);var JS=`:host{--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 2px;--nve-sys-layer-popover-offset: 2px;--nve-sys-interaction-color: var(--color);--border-radius: var(--nve-ref-border-radius-sm);--border: 0;--background: var(--nve-sys-layer-popover-background);--color: var(--nve-sys-layer-popover-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);--box-shadow: var(--nve-ref-shadow-500);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--arrow-transform: translate(0, -2px) rotate(-45deg);--width: max-content;--height: initial;box-shadow:var(--box-shadow)}:host([status="muted"]){--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);background:var(--background);color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);width:var(--width);height:var(--height);border:var(--border);white-space:initial}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-800)}.arrow{width:var(--nve-ref-size-300);height:var(--nve-ref-size-300);background:var(--background);transform:var(--arrow-transform);border-radius:var(--nve-ref-size-50);position:absolute}nve-icon-button{--color: inherit;position:absolute;inset-block-start:var(--nve-ref-size-50);inset-inline-end:var(--nve-ref-size-50)}::slotted([nve-text]){color:inherit!important}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(-45deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(45deg)}`,W=class extends h{constructor(...e){super(...e),this.position=`top`,this.popoverType=`hint`,this.typeNativePopoverController=new sr(this)}static{this.styles=T([xr,JS])}static{this.metadata={tag:`nve-tooltip`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div><div part="arrow" class="arrow"></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`tooltip`}};k([g({type:String})],W.prototype,`anchor`,void 0),k([g({type:String})],W.prototype,`trigger`,void 0),k([g({type:String,reflect:!0})],W.prototype,`position`,void 0),k([g({type:String,reflect:!0})],W.prototype,`alignment`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],W.prototype,`behaviorTrigger`,void 0),k([g({type:String,reflect:!0})],W.prototype,`status`,void 0),k([g({type:Number,attribute:`open-delay`})],W.prototype,`openDelay`,void 0),k([PS(`.arrow`)],W.prototype,`popoverArrow`,void 0),W=k([v({excessiveInstanceLimit:50})],W);var YS=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--color: var(--nve-sys-text-muted-color);--border-radius: var(--nve-ref-border-radius-full);--line-height: 0;--padding: 0;--height: var(--nve-ref-size-800);--min-width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.3);--_icon-color: var(--color)}[internal-host]:after{display:none!important}:host([size="sm"]){--height: var(--nve-ref-size-700);--min-width: var(--nve-ref-size-700)}:host([size="lg"]){--min-width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--padding: 0}:host([container="flat"][selected]) [interaction-state],:host([container="flat"]:state(selected)) [interaction-state],:host([container="flat"][pressed]) [interaction-state],:host([container="flat"]:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([container*="flat"]){--background: transparent;--border-radius: var(--nve-ref-border-radius-xs)}:host([container*="flat"]:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: transparent}:host([container*="flat"]:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="flat"]:state(selected)){--color: var(--nve-sys-interaction-selected-color)}nve-icon{--color: var(--_icon-color);pointer-events:none}`,XS={copy:`copy`,copied:`copied`},ZS=class extends Si{constructor(...e){super(...e),this.copied=!1,this.showToast=!1,this.showTooltip=!1,this.#e=new E(this,XS),this.i18n=this.#e.i18n,this.#t=()=>{this.behaviorCopy&&navigator.clipboard.writeText(this.value).then(()=>{this.showToast=!0,this.copied=!0}).catch(e=>{this.showToast=!1,console.error(e)})},this.#r=()=>{this.showTooltip=!0},this.#i=()=>{this.showTooltip=!1}}#e;static{this.styles=T([...Si.styles,YS])}static{this.metadata={tag:`nve-copy-button`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M,[U.metadata.tag]:U,[W.metadata.tag]:W}}render(){return p`<div id="btn" internal-host interaction-state focus-within><slot></slot>${this.copied?p`<nve-icon part="icon" name="check" status="success" .size="${this.size}" aria-hidden="true"></nve-icon>`:p`<slot name="icon"><nve-icon part="icon" name="copy" .size="${this.size}" aria-hidden="true"></nve-icon></slot>`}</div>${this.showToast?p`<nve-toast part="toast" @close="${this.#n}" status="success" anchor="btn" position="top" close-timeout="1500">${this.i18n.copied}</nve-toast>`:m} ${this.showTooltip&&!this.showToast?p`<nve-tooltip part="tooltip" exportparts="arrow:tooltip-arrow" anchor="btn">${this.ariaLabel??this.i18n.copy}</nve-tooltip>`:m}`}connectedCallback(){super.connectedCallback(),this.addEventListener(`click`,this.#t),this.addEventListener(`mouseenter`,this.#r),this.addEventListener(`mouseleave`,this.#i)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t),this.removeEventListener(`mouseenter`,this.#r),this.removeEventListener(`mouseleave`,this.#i)}#t;#n(){this.showToast=!1,this.copied=!1,this.showTooltip=!1}#r;#i};k([A()],ZS.prototype,`copied`,void 0),k([A()],ZS.prototype,`showToast`,void 0),k([A()],ZS.prototype,`showTooltip`,void 0),k([g({type:Object})],ZS.prototype,`i18n`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-copy`})],ZS.prototype,`behaviorCopy`,void 0),k([g({type:String})],ZS.prototype,`value`,void 0),ZS=k([w()],ZS),f(ZS);var QS=`:host{--width: 100%;width:var(--width)}`,$S={expand:`expand`},eC=class extends L{get i18nDefaults(){return $S}static{this.styles=T([...L.styles,yS,QS])}static{this.metadata={tag:`nve-date`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};k([g({type:String,reflect:!0})],eC.prototype,`container`,void 0),eC=k([w()],eC),f(eC),f(L),f(R),f(F);var tC=`:host{width:100%}`,nC={expand:`expand`},rC=class extends L{get i18nDefaults(){return nC}static{this.styles=T([...L.styles,yS,tC])}static{this.metadata={tag:`nve-datetime`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};k([g({type:String,reflect:!0})],rC.prototype,`container`,void 0),rC=k([w()],rC),f(rC),f(L),f(R),f(F);var iC=`nve-dialog:has(nve-dialog-header),nve-dialog:has(nve-dialog-footer){&::part(_host){padding:0}&::part(_content){padding:var(--padding)}}`,aC=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 4px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xxl);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-lg);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-500);--gap: var(--nve-ref-space-sm);--max-width: 600px;--min-height: 250px;--max-height: 100vh;width:100vw;height:min-content;max-width:var(--max-width);max-height:var(--max-height);min-height:var(--min-height)}:host([size="sm"]){--max-width: 400px}:host([size="lg"]){--max-width: 840px}[internal-host]{border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);padding:var(--padding);max-height:var(--max-height);height:inherit;width:inherit;max-width:inherit;min-height:inherit;min-width:inherit}:host([modal])::backdrop{background:#00000080}.header{display:flex;gap:var(--gap)}.content{overflow:auto;min-height:inherit;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);slot{gap:var(--gap);min-height:inherit;display:flex;flex-direction:column;align-items:flex-start}}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}`,oC={close:`close`},G=class extends h{constructor(...e){super(...e),this.position=`center`,this.alignment=`center`,this.anchor=globalThis.document?.body,this.#e=new E(this,oC),this.i18n=this.#e.i18n,this.typeNativePopoverController=new sr(this)}#e;get popoverType(){return this.modal?`auto`:`manual`}get popoverDismissible(){return this.closable??!1}static{this.styles=T([xr,aC])}static{this.metadata={tag:`nve-dialog`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}render(){return p`<div internal-host part="_host"><div class="header">${this.closable?p`<nve-icon-button part="close-button icon-button" exportparts="icon:icon-button-icon" size="sm" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot name="header"></slot></div><div class="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`dialog`,b(this,iC)}};k([g({type:String,reflect:!0})],G.prototype,`position`,void 0),k([g({type:String,reflect:!0})],G.prototype,`alignment`,void 0),k([g({type:String,reflect:!0})],G.prototype,`size`,void 0),k([g({type:Boolean})],G.prototype,`closable`,void 0),k([g({type:Boolean,reflect:!0})],G.prototype,`modal`,void 0),k([g({type:String})],G.prototype,`anchor`,void 0),k([g({type:String})],G.prototype,`trigger`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],G.prototype,`behaviorTrigger`,void 0),k([g({type:Object})],G.prototype,`i18n`,void 0),G=k([v({excessiveInstanceLimit:50}),w()],G);var sC=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);display:block;width:100%}[internal-host]{border-bottom:var(--border-bottom);padding:var(--padding);color:var(--color)}`,cC=class extends h{static{this.styles=T([sC])}static{this.metadata={tag:`nve-dialog-header`,version:`0.0.0`,parents:[`nve-dialog`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},lC=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:100%;margin-block-start:auto}[internal-host]{border-top:var(--border-top);padding:var(--padding);gap:var(--gap);display:flex;justify-content:end}`,uC=class extends h{static{this.styles=T([lC])}static{this.metadata={tag:`nve-dialog-footer`,version:`0.0.0`,parents:[`nve-dialog`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}};f(G),f(cC),f(uC);var dC=`:host{--color: var(--nve-ref-border-color);--border-radius: 0;--padding: 0;--size: var(--nve-ref-border-width-sm);width:100%}[internal-host]{display:block;width:100%;height:var(--size);background-color:var(--color);border-radius:var(--border-radius);padding:var(--padding)}:host([orientation="vertical"]){align-self:stretch;height:inherit;width:var(--size)}:host([orientation="vertical"]) [internal-host]{height:100%;width:var(--size)}`,fC=class extends h{constructor(...e){super(...e),this.orientation=`horizontal`}static{this.styles=T([dC])}static{this.metadata={tag:`nve-divider`,version:`0.0.0`}}render(){return p`<div internal-host></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`separator`,this._internals.ariaOrientation=this.orientation}updated(e){super.updated(e),e.has(`orientation`)&&(this._internals.ariaOrientation=this.orientation)}};k([g({type:String,reflect:!0})],fC.prototype,`orientation`,void 0),f(fC);var pC=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-semibold);--background: var(--status-color);--color: var(--nve-sys-text-white-color);--border-radius: var(--nve-ref-border-radius-full);--height: var(--nve-ref-size-300);--width: var(--nve-ref-size-300);--padding: 0;--border: 0;width:auto;display:inline-flex}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);border-radius:var(--border-radius);height:var(--height);width:var(--width);padding:var(--padding);border:var(--border);display:flex;line-height:1em;place-items:center;place-content:center}:host([size="sm"]){--height: var(--nve-ref-size-200);--width: var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-50)}:host([size="lg"]){--height: var(--nve-ref-size-400);--width: var(--nve-ref-size-400);--font-size: var(--nve-ref-font-size-200)}:host(:state(has-text)){--width: fit-content;--height: fit-content;--padding: calc(var(--font-size) * .1) calc(var(--font-size) * .5)}::slotted([nve-text]){color:inherit!important}:host([status="warning"]){--color: var(--nve-sys-text-black-color)}`,mC=class extends h{static{this.styles=T([pC,yr,br])}static{this.metadata={tag:`nve-dot`,version:`0.0.0`}}render(){return p`<div internal-host><slot @slotchange="${()=>this.#e()}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`img`}#e(){this.textContent.length?this._internals.states.add(`has-text`):this._internals.states.delete(`has-text`)}};k([g({type:String,reflect:!0})],mC.prototype,`status`,void 0),k([g({type:String,reflect:!0})],mC.prototype,`size`,void 0),f(mC);var hC=`:host{--nve-sys-interaction-state-base: transparent;--cursor: move;--color: var(--nve-sys-text-muted-color);--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--border-radius: var(--nve-ref-border-radius-xs);display:inline-flex;user-select:none}:host([draggable="true"]){-webkit-user-drag:element}:host(:state(disabled)),:host([readonly]){-webkit-user-drag:none}[internal-host]{display:flex;align-items:center;justify-content:center;width:var(--width);height:var(--height);border-radius:var(--border-radius);cursor:var(--cursor)}nve-icon{--color: inherit;pointer-events:none}:host(:state(pressed)){--color: var(--nve-sys-interaction-selected-color)}:host(:hover:not(:state(disabled),[readonly],:state(pressed))){--color: var(--nve-sys-interaction-hover-color)}:host(:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}@container style(--nve-sys-color-scheme: dark){:host{--nve-sys-interaction-state-ratio-selected: 16% !important;--nve-sys-interaction-state-ratio-hover: 12% !important}}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: default}:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}`,gC=class extends bi(h){static{this.styles=T([hC])}static{this.metadata={tag:`nve-drag-handle`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}constructor(){super(),this.type=`button`,this.pressed=!1}render(){return p`<div internal-host interaction-state focus-within><nve-icon name="drag" .appearance="${this.pressed||this.expanded?`solid`:`outline`}" aria-hidden="true" part="icon"></nve-icon></div>`}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-draggable`,`handle`),this.hasAttribute(`draggable`)||(this.draggable=!0),this.addEventListener(`click`,this.#e),this.addEventListener(`keydown`,this.#r),this.addEventListener(`dragstart`,this.#t),this.addEventListener(`dragend`,this.#n)}disconnectedCallback(){this.removeEventListener(`click`,this.#e),this.removeEventListener(`keydown`,this.#r),this.removeEventListener(`dragstart`,this.#t),this.removeEventListener(`dragend`,this.#n),super.disconnectedCallback()}#e=e=>{e.target!==this||e.defaultPrevented||this.disabled||this.readOnly||(this.pressed=!this.pressed)};#t=e=>{(this.disabled||this.readOnly)&&e.preventDefault()};#n=()=>{this._internals.states.delete(`active`)};#r=e=>{e.key!==` `||e.target!==this||e.defaultPrevented||this.disabled||this.readOnly||e.preventDefault()}};gC=k([w()],gC),f(gC);var _C=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: 0px;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: 0;--box-shadow: var(--nve-ref-shadow-500);--gap: var(--nve-ref-space-sm);--top: 0px;--max-width: 400px;--width: 100vw;width:var(--width);max-width:var(--max-width);height:calc(100vh - var(--top));margin:initial!important;margin-block-start:var(--top)!important;position-area:unset!important}:host([size="sm"]){--max-width: 280px}:host([size="lg"]){--max-width: 540px}:host([position="left"]){transform:translate(calc(-1 * var(--width)))!important}:host([position="right"]){transform:translate(var(--width))!important}:host(:popover-open){transform:translate(0)!important}:host([inline]){--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--box-shadow: none;--border: 0;transition:none!important}[internal-host]{border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);bottom:0!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;width:100%}::backdrop{background:transparent}:host([modal])::backdrop{background:#00000012}.header{display:flex;gap:var(--gap)}.content{padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;flex:1}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}:host([position="bottom"]),:host([position="top"]){min-width:100%;height:max-content}:host([position="bottom"]) [internal-host],:host([position="top"]) [internal-host]{height:min-content}:host([position="left"]){inset:auto auto auto 0!important}:host([position="right"]){inset:auto 0 auto auto!important}:host([position="top"]){inset:0 auto auto!important}:host([position="bottom"]){inset:auto auto 0!important}`,vC={close:`close`},K=class extends h{constructor(...e){super(...e),this.position=`left`,this.anchor=globalThis.document?.body,this.#e=new E(this,vC),this.i18n=this.#e.i18n,this.typeNativePopoverController=new sr(this),this.#n=e=>{this.inline&&(this.#t&&e.newState===`closed`?this.#t.remove():(this.#t=Cn(this),this.after(this.#t)))}}#e;get popoverType(){return this.modal?`auto`:`manual`}get popoverDismissible(){return this.closable??!1}static{this.styles=T([xr,_C])}static{this.metadata={tag:`nve-drawer`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}render(){return p`<div internal-host><div class="header"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .hidden="${!this.closable}" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}" container="flat"></nve-icon-button><slot name="header"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`}#t;connectedCallback(){super.connectedCallback(),this.addEventListener(`toggle`,this.#n)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`toggle`,this.#n),this.#t?.remove(),this.#t=void 0}#n};k([g({type:String,reflect:!0})],K.prototype,`position`,void 0),k([g({type:String,reflect:!0})],K.prototype,`size`,void 0),k([g({type:Boolean})],K.prototype,`closable`,void 0),k([g({type:Boolean,reflect:!0})],K.prototype,`modal`,void 0),k([g({type:String})],K.prototype,`anchor`,void 0),k([g({type:String})],K.prototype,`trigger`,void 0),k([g({type:Boolean,reflect:!0})],K.prototype,`inline`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],K.prototype,`behaviorTrigger`,void 0),k([g({type:Object})],K.prototype,`i18n`,void 0),K=k([C(),w()],K);var yC=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);width:100%;height:100%;flex:1;justify-content:stretch;flex-direction:column;display:flex;overflow:auto;gap:var(--gap);contain:none}[internal-host]{background:var(--background);padding:var(--padding);height:100%;width:100%;flex:1}::slotted(nve-menu){--width: 100%}`,bC=class extends h{static{this.styles=T([yC])}static{this.metadata={tag:`nve-drawer-content`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return p`<div internal-host><slot></slot></div>`}},xC=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));display:block}[internal-host]{background:var(--background);border-top:var(--border-top);padding:var(--padding);gap:var(--gap);min-height:var(--min-height);display:flex;align-items:center}`,SC=class extends h{static{this.styles=T([xC])}static{this.metadata={tag:`nve-drawer-footer`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},CC=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));--padding: var(--nve-ref-size-300);display:block;width:100%}[internal-host]{background:var(--background);border-bottom:var(--border-bottom);padding:var(--padding);color:var(--color);min-height:var(--min-height);display:flex;align-items:center}`,wC=class extends h{static{this.styles=T([CC])}static{this.metadata={tag:`nve-drawer-header`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}};f(K),f(SC),f(wC),f(bC),f(V),f(RS),f(BS);var TC=`nve-dropdown-group>nve-dropdown+nve-dropdown{--nve-sys-layer-popover-offset: calc(var(--nve-ref-size-400) + 2px);margin-block-start:calc(var(--nve-ref-size-400) * -1)}`,EC=class extends h{static{this.styles=T([])}static{this.metadata={tag:`nve-dropdown-group`,version:`0.0.0`,children:[`nve-dropdown`]}}render(){return p`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}#e=/* @__PURE__ */ new WeakMap;#t;connectedCallback(){super.connectedCallback(),b(this,TC),globalThis.document?.addEventListener(`pointerup`,this.#r),this.addEventListener(`keydown`,this.#i),this.addEventListener(`beforetoggle`,this.#u,!0),this.addEventListener(`open`,this.#l),this.addEventListener(`close`,this.#d)}disconnectedCallback(){super.disconnectedCallback(),globalThis.document?.removeEventListener(`pointerup`,this.#r),this.removeEventListener(`keydown`,this.#i),this.removeEventListener(`beforetoggle`,this.#u,!0),this.removeEventListener(`open`,this.#l),this.removeEventListener(`close`,this.#d)}#n(){this.dropdowns.forEach(e=>{e.popoverType=`manual`})}#r=e=>{let t=this.dropdowns.filter(e=>e.matches(`:popover-open`));t.length&&t.every(t=>sn(e,t))&&this.close()};#i(e){let t=e.code===`Escape`||e.code===`ArrowLeft`||e.code===`ArrowRight`;if(e.defaultPrevented||!t)return;let n=e.composedPath(),r=this.#a(n),i=this.#c(r);(i||r===this)&&(e.code===`Escape`?(e.preventDefault(),e.stopPropagation(),this.close()):i&&this.#o(e,n,i))}#a(e){return e.find(e=>e instanceof HTMLElement&&(e.localName===`nve-dropdown`||e.localName===`nve-dropdown-group`))}#o(e,t,n){let r=Jt(this.ownerDocument);if(!(r instanceof HTMLElement)||!t.includes(r))return;let i=getComputedStyle(this).direction===`rtl`,a=i?`ArrowLeft`:`ArrowRight`,o=i?`ArrowRight`:`ArrowLeft`;e.code===a?this.#s(r,e):e.code===o&&r.localName===`nve-menu-item`&&(e.preventDefault(),e.stopPropagation(),n.hidePopover())}#s(e,t){if(e.matches(`[disabled]`)||!(`popoverTargetElement`in e))return;let n=e.popoverTargetElement,r=this.#c(n);r&&(t.preventDefault(),t.stopPropagation(),r.showPopover({source:e}))}#c(e){return this.dropdowns.find(t=>t===e)}#l(e){let t=this.#c(e.composedPath()[0]);t&&(this.#t?.matches(`:popover-open`)||(this.#t=t),this.#e.delete(t),e.detail?.trigger instanceof HTMLElement&&this.#e.set(t,e.detail.trigger),ln(t)[0]?.focus())}#u(e){let t=this.#c(e.composedPath()[0]);t&&e.newState===`closed`&&!t.matches(`:focus-within`)&&this.#e.delete(t)}#d(e){let t=this.#c(e.composedPath()[0]);if(t){let e=this.#e.get(t);t===this.#t&&(this.#t=void 0),this.#e.delete(t);let n=this.ownerDocument.activeElement;(!n||n===this.ownerDocument.body||t.matches(`:focus-within`))&&e?.isConnected&&e.focus()}}close(){let e=this.#t?this.#e.get(this.#t):void 0;this.#t=void 0,this.#e=/* @__PURE__ */ new WeakMap;let t=Array.from(this.querySelectorAll(`nve-dropdown`));t.forEach(e=>e.hidePopover());let n=this.ownerDocument.activeElement;(!n||n===this.ownerDocument.body||t.some(e=>e.matches(`:focus-within`)))&&e?.isConnected&&e.focus()}};k([_({selector:`nve-dropdown`})],EC.prototype,`dropdowns`,void 0),EC=k([v()],EC),f(EC);var DC=`:host{--background: inherit;--min-height: 50px;--border-radius: var(--nve-ref-border-radius-xs);--border-color: var(--nve-ref-border-color);--padding: var(--nve-ref-space-lg)}[internal-host]{display:flex;flex-direction:column;gap:var(--nve-ref-space-md)}.container{background:var(--background);border-radius:var(--border-radius);justify-content:center;gap:var(--nve-ref-space-xs);min-height:var(--min-height);padding:var(--padding);color:var(--nve-sys-text-color);position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:center;user-select:none}.dropzone-border{border-radius:var(--border-radius);color:var(--border-color);position:absolute;inset:0}.icon{padding:var(--nve-ref-space-xs);border-radius:var(--nve-ref-border-radius-sm);background:var(--nve-sys-layer-canvas-accent-background)}slot[name=icon]::slotted(*){padding:var(--nve-ref-space-xs);border-radius:var(--nve-ref-border-radius-sm);background:var(--nve-sys-layer-canvas-accent-background)}.text-emphasized{color:var(--nve-sys-text-emphasis-color)}.dropzone-text-center{text-align:center;line-height:var(--nve-ref-font-line-height-relaxed);font-size:var(--nve-ref-font-size-200)}.dropzone-text-center:first-letter{text-transform:capitalize}.dropzone-text-bold{font-weight:var(--nve-ref-font-weight-semibold)}.text-muted{color:var(--nve-sys-text-muted-color);font-size:var(--nve-ref-font-size-100);font-weight:var(--nve-ref-font-weight-regular)}:host([highlighted]),:host(:hover){--background: color-mix(in oklab, transparent, var(--nve-sys-accent-secondary-background) 20%);--border-color: var(--nve-ref-border-color-emphasis);.icon{background:var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-text-white-color)}slot[name=icon]::slotted(*){background:var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-text-white-color)}.text-emphasized{color:var(--nve-sys-text-color)}}:host([highlighted]),:host(:active){--background: color-mix(in oklab, transparent, var(--nve-sys-accent-secondary-background) 30%)}`;function OC(e){return e.split(`,`).map(e=>{let t=e.trim();return t.startsWith(`.`)&&(t=t.slice(1)),t.endsWith(`/*`)&&(t=t.split(`/`)[0]),t.includes(`/`)&&(t=t.split(`/`)[1]),t.includes(`+`)&&(t=t.split(`+`)[0]),t})}function kC(e,t){let n=t,r=e;return!r||!Array.isArray(r)||r.length===0?{validity:{valid:!0}}:r.filter(e=>e.size>n.maxFileSize).length>0?{validity:{rangeOverflow:!0,valid:!1},message:`Some files exceed the maximum size of ${Ct(n.maxFileSize)}`}:{validity:{valid:!0}}}function AC(e,t){let n=t,r=e;if(!r||!Array.isArray(r)||r.length===0)return{validity:{valid:!0}};let i=OC(n.accept);return r.filter(e=>!i.some(t=>e.type.includes(t))).length>0?{validity:{typeMismatch:!0,valid:!1},message:`Some files are not of accepted types`}:{validity:{valid:!0}}}var jC={or:`or`,files:`files`,dragAndDrop:`drag & drop`,browseFiles:`browse files`,maxFileSize:`max file size`},MC=class extends Gr(h){#e;static{this.styles=T([DC])}static{this.metadata={tag:`nve-dropzone`,version:`0.0.0`,validators:[AC,kC],valueSchema:{type:`array`,items:{type:`object`,properties:{name:{type:`string`},size:{type:`number`},type:{type:`string`}}}}}}static{this.elementDefinitions={[M.metadata.tag]:M}}formResetCallback(){this.value=[],this.requestUpdate()}constructor(){super(),this.accept=`image/gif, image/jpeg, image/png, image/svg+xml`,this.maxFileSize=2*1024**2,this.#e=new E(this,jC),this.i18n=this.#e.i18n,this.value=[]}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-control`,``),globalThis.document.addEventListener(`dragover`,this.#t),globalThis.document.addEventListener(`drop`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),globalThis.document.removeEventListener(`dragover`,this.#t),globalThis.document.removeEventListener(`drop`,this.#t)}#t(e){e.preventDefault(),e.stopPropagation()}#n(){this.fileInput.click()}#r(e){this.#t(e),this.#u(!0)}#i(e){this.#t(e),this.#u(!0)}#a(e){this.#t(e),this.#u(!1)}#o(e){this.#t(e),this.#u(!1);let t=Array.from(e.dataTransfer.files);this.#c(t)}#s(e){this.#t(e);let t=Array.from(this.fileInput.files);this.#c(t),this.fileInput.value=``}#c(e){this.value=[...this.value??[],...e],this.dispatchChangeEvent()}#l(e){let t=OC(e);if(t.length===1)return t[0].toUpperCase();let n=t.pop();return`${t.join(`, `).toUpperCase()} or ${n.toUpperCase()}`}#u(e){this.toggleAttribute(`highlighted`,e)}#d(e){e.target.assignedNodes().forEach(e=>mn(e))}render(){return p`<div internal-host><div class="container" @click="${this.#n}" @dragenter="${this.#r}" @dragover="${this.#i}" @dragleave="${this.#a}" @drop="${this.#o}"><svg class="dropzone-border" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="none" rx="4" ry="4" stroke="currentColor" stroke-width="2" stroke-dasharray="6,6" stroke-dashoffset="0" stroke-linecap="square"/></svg><slot name="icon"><nve-icon part="icon" class="icon" name="upload"></nve-icon></slot><slot @slotchange="${this.#d}"><div class="dropzone-text-center"><div class="dropzone-text-bold">${this.i18n.dragAndDrop} ${this.i18n.files} ${this.i18n.or} <span class="text-emphasized">${this.i18n.browseFiles}</span></div><div class="text-muted">${this.#l(this.accept)} — ${this.i18n.maxFileSize} ${Ct(this.maxFileSize)}</div></div></slot><input id="dropzone-input" type="file" accept="${this.accept}" @change="${this.#s}" multiple="multiple" hidden></div></div>`}};k([g()],MC.prototype,`accept`,void 0),k([g({attribute:`max-file-size`,type:Number})],MC.prototype,`maxFileSize`,void 0),k([g({type:Object})],MC.prototype,`i18n`,void 0),k([PS(`#dropzone-input`)],MC.prototype,`fileInput`,void 0),MC=k([w()],MC),f(MC);var NC=`:host{--background: var(--nve-sys-interaction-background);--padding: 0 var(--nve-ref-size-300);--border-radius: var(--nve-ref-border-radius-lg);--border: 0;--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-200);--text-decoration: none;--cursor: pointer;--gap: var(--nve-ref-space-xxs);--height: var(--nve-ref-size-800);width:100%}`,PC=`nve-file>input{color:var(--color)}nve-file>input::file-selector-button{background:var(--background);padding:var(--padding);height:var(--height);width:var(--width);border-radius:var(--border-radius);border:var(--border);text-decoration:var(--text-decoration);font-weight:var(--font-weight);font-size:var(--font-size);cursor:var(--cursor);gap:var(--gap);margin-inline-end:var(--nve-ref-space-sm);display:inline-flex;place-items:center;appearance:none;line-height:1.2em}nve-file>input::file-selector-button:hover{--color: var(--nve-sys-interaction-hover-color);--background: var(--nve-sys-interaction-background)}nve-file>input::file-selector-button:active{--color: var(--nve-sys-interaction-active-color);--background: var(--nve-sys-interaction-background)}`,FC=class extends L{static{this.styles=T([...L.styles,NC])}static{this.metadata={tag:`nve-file`,version:`0.0.0`}}connectedCallback(){super.connectedCallback(),b(this,PC)}};f(FC),f(L),f(R),f(F);var IC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,LC=[`b`,`kb`,`mb`,`gb`,`tb`,`pb`],RC=[`decimal`,`binary`],zC=[`short`,`long`],BC={b:{short:`B`,singular:`byte`,plural:`bytes`},kb:{short:`kB`,singular:`kilobyte`,plural:`kilobytes`},mb:{short:`MB`,singular:`megabyte`,plural:`megabytes`},gb:{short:`GB`,singular:`gigabyte`,plural:`gigabytes`},tb:{short:`TB`,singular:`terabyte`,plural:`terabytes`},pb:{short:`PB`,singular:`petabyte`,plural:`petabytes`}},VC={b:{short:`B`,singular:`byte`,plural:`bytes`},kb:{short:`KiB`,singular:`kibibyte`,plural:`kibibytes`},mb:{short:`MiB`,singular:`mebibyte`,plural:`mebibytes`},gb:{short:`GiB`,singular:`gibibyte`,plural:`gibibytes`},tb:{short:`TiB`,singular:`tebibyte`,plural:`tebibytes`},pb:{short:`PiB`,singular:`pebibyte`,plural:`pebibytes`}};function HC(e){return RC.some(t=>t===e)}function UC(e){return LC.some(t=>t===e)}function WC(e){return zC.some(t=>t===e)}var GC=class extends h{constructor(...e){super(...e),this.display=`decimal`,this.unitDisplay=`short`}static{this.styles=T([IC])}static{this.metadata={tag:`nve-format-bytes`,version:`0.0.0`}}get#e(){let e=Number.isNaN(this.value)?this.getAttribute(`value`)??this.value:this.value;return String(e??this.textContent?.trim()??``)}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}#r(e,t){let n=t===`binary`?1024:1e3,r=Math.abs(e);for(let e=LC.length-1;e>0;e--){let t=LC[e];if(t&&r>=n**e)return t}return`b`}#i(e,t){let n=this.display===`binary`?VC[e]:BC[e];return this.unitDisplay===`short`?n.short:Math.abs(t)===1?n.singular:n.plural}#a(){return HC(this.display)&&WC(this.unitDisplay)&&(this.unit===void 0||UC(this.unit))}get#o(){let e=this.maximumFractionDigits??Math.max(this.minimumFractionDigits??0,2);return{minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:e}}#s(e){return Number(new Intl.NumberFormat(`en-US-u-nu-latn`,{...this.#o,useGrouping:!1}).format(e))}#c(e){return new Intl.NumberFormat(this.#t,this.#o).format(e)}get#l(){let e=this.#e;if(!e)return``;let t=this.#n;if(t===null||!this.#a())return e;let n=this.unit??this.#r(t,this.display),r=LC.indexOf(n),i=t/(this.display===`binary`?1024:1e3)**r;try{let e=this.#s(i);return`${this.#c(e)} ${this.#i(n,e)}`}catch{return e}}render(){return p`<data internal-host value="${this.#e}">${this.#l}<slot @slotchange="${this.#u}" hidden></slot></data>`}#u(){this.requestUpdate()}};k([g({type:Number})],GC.prototype,`value`,void 0),k([g({type:String})],GC.prototype,`display`,void 0),k([g({type:String})],GC.prototype,`unit`,void 0),k([g({type:String,attribute:`unit-display`})],GC.prototype,`unitDisplay`,void 0),k([g({type:String})],GC.prototype,`locale`,void 0),k([g({type:Number,attribute:`minimum-fraction-digits`})],GC.prototype,`minimumFractionDigits`,void 0),k([g({type:Number,attribute:`maximum-fraction-digits`})],GC.prototype,`maximumFractionDigits`,void 0),GC=k([C()],GC),f(GC);var KC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,q=class extends h{static{this.styles=T([KC])}static{this.metadata={tag:`nve-format-datetime`,version:`0.0.0`}}get#e(){return this.date??this.textContent?.trim()??``}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return``;let t=this.#s(e);if(!t)return e;try{return new Intl.DateTimeFormat(this.#t,this.#r).format(t)}catch{return e}}get#r(){return this.#i?this.#a:this.#o}get#i(){return this.dateStyle!==void 0||this.timeStyle!==void 0}get#a(){let e={};return this.dateStyle&&(e.dateStyle=this.dateStyle),this.timeStyle&&(e.timeStyle=this.timeStyle),this.timeZone&&(e.timeZone=this.timeZone),e}get#o(){let e={};return this.weekday&&(e.weekday=this.weekday),this.year&&(e.year=this.year),this.month&&(e.month=this.month),this.day&&(e.day=this.day),this.hour&&(e.hour=this.hour),this.minute&&(e.minute=this.minute),this.second&&(e.second=this.second),this.timeZoneName&&(e.timeZoneName=this.timeZoneName),this.timeZone&&(e.timeZone=this.timeZone),e}#s(e){let t=new Date(e);return isNaN(t.getTime())?null:t}render(){return p`<time internal-host datetime="${this.#e}">${this.#n}<slot @slotchange="${this.#c}" hidden></slot></time>`}#c(){this.requestUpdate()}};k([g({type:String})],q.prototype,`date`,void 0),k([g({type:String})],q.prototype,`locale`,void 0),k([g({type:String})],q.prototype,`weekday`,void 0),k([g({type:String})],q.prototype,`year`,void 0),k([g({type:String})],q.prototype,`month`,void 0),k([g({type:String})],q.prototype,`day`,void 0),k([g({type:String})],q.prototype,`hour`,void 0),k([g({type:String})],q.prototype,`minute`,void 0),k([g({type:String})],q.prototype,`second`,void 0),k([g({type:String,attribute:`date-style`})],q.prototype,`dateStyle`,void 0),k([g({type:String,attribute:`time-style`})],q.prototype,`timeStyle`,void 0),k([g({type:String,attribute:`time-zone-name`})],q.prototype,`timeZoneName`,void 0),k([g({type:String,attribute:`time-zone`})],q.prototype,`timeZone`,void 0),q=k([C()],q),f(q);var qC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,JC=[[`currency`,`currency`],[`currencyDisplay`,`currencyDisplay`],[`currencySign`,`currencySign`],[`notation`,`notation`],[`compactDisplay`,`compactDisplay`],[`unit`,`unit`],[`unitDisplay`,`unitDisplay`],[`signDisplay`,`signDisplay`]],YC=[[`minimumFractionDigits`,`minimumFractionDigits`],[`maximumFractionDigits`,`maximumFractionDigits`],[`minimumIntegerDigits`,`minimumIntegerDigits`]],J=class extends h{constructor(...e){super(...e),this.formatStyle=`decimal`}static{this.styles=T([qC])}static{this.metadata={tag:`nve-format-number`,version:`0.0.0`}}get#e(){return this.number??this.textContent?.trim()??``}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}get#r(){let e={style:this.formatStyle};for(let[t,n]of JC){let r=this[t];r!==void 0&&(e[n]=r)}for(let[t,n]of YC){let r=this[t];r!==void 0&&(e[n]=r)}return this.useGrouping!==void 0&&(e.useGrouping=this.useGrouping===`false`?!1:this.useGrouping===`true`||this.useGrouping),e}get#i(){let e=this.#e;if(!e)return``;let t=this.#n;if(t===null)return e;try{return new Intl.NumberFormat(this.#t,this.#r).format(t)}catch{return e}}render(){return p`<data internal-host value="${this.#e}">${this.#i}<slot @slotchange="${this.#a}" hidden></slot></data>`}#a(){this.requestUpdate()}};k([g({type:String})],J.prototype,`number`,void 0),k([g({type:String})],J.prototype,`locale`,void 0),k([g({type:String,attribute:`format-style`})],J.prototype,`formatStyle`,void 0),k([g({type:String})],J.prototype,`currency`,void 0),k([g({type:String,attribute:`currency-sign`})],J.prototype,`currencySign`,void 0),k([g({type:String,attribute:`currency-display`})],J.prototype,`currencyDisplay`,void 0),k([g({type:String})],J.prototype,`unit`,void 0),k([g({type:String,attribute:`unit-display`})],J.prototype,`unitDisplay`,void 0),k([g({type:String})],J.prototype,`notation`,void 0),k([g({type:String,attribute:`compact-display`})],J.prototype,`compactDisplay`,void 0),k([g({type:String,attribute:`sign-display`})],J.prototype,`signDisplay`,void 0),k([g({type:String,attribute:`use-grouping`})],J.prototype,`useGrouping`,void 0),k([g({type:Number,attribute:`minimum-fraction-digits`})],J.prototype,`minimumFractionDigits`,void 0),k([g({type:Number,attribute:`maximum-fraction-digits`})],J.prototype,`maximumFractionDigits`,void 0),k([g({type:Number,attribute:`minimum-integer-digits`})],J.prototype,`minimumIntegerDigits`,void 0),J=k([C()],J),f(J);var XC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,ZC={second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},QC=[{unit:`second`,max:60},{unit:`minute`,max:60},{unit:`hour`,max:24},{unit:`day`,max:7},{unit:`week`,max:4},{unit:`month`,max:12},{unit:`year`,max:1/0}],$C=class extends h{constructor(...e){super(...e),this.numeric=`always`,this.formatStyle=`long`,this.unit=`auto`,this.sync=!1}static{this.styles=T([XC])}static{this.metadata={tag:`nve-format-relative-time`,version:`0.0.0`}}#e;get#t(){return this.date??this.textContent?.trim()??``}get#n(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}#r(e){let t=Math.abs(e),n=e<0?-1:1;for(let{unit:e,max:r}of QC){let i=Math.round(t/ZC[e]);if(i<r)return{value:n*i,unit:e}}return{value:n*Math.round(t/ZC.year),unit:`year`}}#i(e,t){return Math.round(e/ZC[t])}#a(e){return this.unit===`auto`?this.#r(e):{unit:this.unit,value:this.#i(e,this.unit)}}get#o(){let e=this.#t;if(!e)return``;let t=new Date(e);if(isNaN(t.getTime()))return e;let{value:n,unit:r}=this.#a(t.getTime()-Date.now());try{return new Intl.RelativeTimeFormat(this.#n,{numeric:this.numeric,style:this.formatStyle}).format(n,r)}catch{return e}}#s(){let e=this.#t;if(!e)return 6e4;let t=Math.abs(new Date(e).getTime()-Date.now());return t<6e4?1e4:t<36e5?3e4:t<864e5?3e5:36e5}#c(){this.#l(),this.sync&&(this.#e=setTimeout(()=>{this.requestUpdate(),this.#c()},this.#s()))}#l(){this.#e!==void 0&&(clearTimeout(this.#e),this.#e=void 0)}connectedCallback(){super.connectedCallback(),this.sync&&this.#c()}disconnectedCallback(){this.#l(),super.disconnectedCallback()}updated(e){e.has(`sync`)&&(this.sync?this.#c():this.#l())}render(){return p`<time internal-host datetime="${this.#t}">${this.#o}<slot @slotchange="${this.#u}" hidden></slot></time>`}#u(){this.requestUpdate()}};k([g({type:String})],$C.prototype,`date`,void 0),k([g({type:String})],$C.prototype,`locale`,void 0),k([g({type:String})],$C.prototype,`numeric`,void 0),k([g({type:String,attribute:`format-style`})],$C.prototype,`formatStyle`,void 0),k([g({type:String})],$C.prototype,`unit`,void 0),k([g({type:Boolean})],$C.prototype,`sync`,void 0),$C=k([C()],$C),f($C);var ew=`…`;function tw(e){return nw(Array.from(e,e=>e.textContent??``).join(` `))}function nw(e){return e.replace(/\s+/gu,` `).trim()}function rw(e,{position:t,strategy:n,bias:r,preserve:i,availableWidth:a,measureText:o}){if(!e||!Number.isFinite(a))return e;if(a<=0)return``;if(o(e)<=a)return e;if(o(ew)>a)return ew;switch(t){case`start`:return aw(uw(e,`grapheme`),a,o);case`center`:return iw(e,{strategy:n,bias:r,preserve:i,availableWidth:a,measureText:o});default:return ow(uw(e,`grapheme`),a,o)}}function iw(e,{strategy:t,bias:n,preserve:r,availableWidth:i,measureText:a}){let o=gw(e,t,n),s=Math.min(o.length,lw(r));if(n===`start`){let e=o.slice(0,s),t=o.slice(s),n=n=>cw(e.join(``),t.slice(-n||t.length).join(``));return a(n(0))>i?ow(e,i,a):n(sw(t.length,n,{availableWidth:i,measureText:a}))}let c=o.slice(0,o.length-s),l=o.slice(o.length-s),u=e=>cw(c.slice(0,e).join(``),l.join(``));return a(u(0))>i?aw(l,i,a):u(sw(c.length,u,{availableWidth:i,measureText:a}))}function aw(e,t,n){let r=t=>`${ew}${e.slice(-t||e.length).join(``)}`;return r(sw(e.length-1,r,{availableWidth:t,measureText:n}))}function ow(e,t,n){let r=t=>`${e.slice(0,t).join(``)}${ew}`;return r(sw(e.length-1,r,{availableWidth:t,measureText:n}))}function sw(e,t,{availableWidth:n,measureText:r}){let i=0,a=e,o=0;for(;i<=a;){let e=Math.floor((i+a)/2);r(t(e))<=n?(o=e,i=e+1):a=e-1}return o}function cw(e,t){return`${e.trimEnd()}${ew}${t.trimStart()}`}function lw(e){return Number.isFinite(e)?Math.max(1,Math.floor(e)):1}function uw(e,t){let n=new Intl.Segmenter(void 0,{granularity:t}).segment(e);return Array.from(n,e=>e.segment)}function dw(e,t){return t===`start`?fw(e):pw(e)}function fw(e){let t=[];for(let n of e)n.trim()?t.push(n):mw(t,n);return t}function pw(e){let t=[],n=``;for(let r of e)r.trim()?(t.push(n+r),n=``):n+=r;return mw(t,n),t}function mw(e,t){let n=e.at(-1);n!==void 0&&(e[e.length-1]=n+t)}function hw(e,t){let n=Array.from(e.matchAll(/[^/\\]+/gu));return n.length===0?[e]:t===`start`?n.map((t,r)=>{let i=r===0?0:t.index,a=n[r+1]?.index??e.length;return e.slice(i,a)}):n.map((t,r)=>{let i=n[r-1],a=i?i.index+i[0].length:0,o=r===n.length-1?e.length:t.index+t[0].length;return e.slice(a,o)})}function gw(e,t,n){switch(t){case`word`:{let t=dw(uw(e,`word`),n);return t.length?t:[e]}case`path`:{let t=hw(e,n);return t.length?t:[e]}default:return uw(e,`grapheme`)}}var _w=`:host{position:relative;display:inline-block;max-inline-size:100%;min-inline-size:0}span{text-wrap:nowrap}[sizing-host]{display:block;opacity:0}[internal-host]{position:absolute;inset:0;overflow:hidden}slot{display:initial;position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}`,vw=class extends h{constructor(...e){super(...e),this.position=`start`,this.strategy=`character`,this.bias=`end`,this.preserve=6,this.#r=1/0,this.#u=()=>{this.requestUpdate()}}static{this.styles=T([_w])}static{this.metadata={tag:`nve-format-truncate`,version:`0.0.0`}}#e;#t;#n;#r;connectedCallback(){super.connectedCallback(),S(this),this.#r=1/0,this.#l(),this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),this.#t?.disconnect(),this.#n!==void 0&&this.ownerDocument.defaultView?.cancelAnimationFrame(this.#n),this.#n=void 0}connectedMoveCallback(){this.#r=1/0,this.#l(),this.requestUpdate()}render(){let e=this.#i,t=this.#a(e);return t===e?this.removeAttribute(`title`):this.title!==e&&(this.title=e),p`<span internal-host aria-hidden="true">${t}</span><span sizing-host aria-hidden="true">${e}</span><slot @slotchange="${this.#u}"></slot>`}get#i(){let e=this.shadowRoot?.querySelector(`slot:not([name])`);if(e)return tw(e.assignedNodes({flatten:!0}));let t=Array.from(this.childNodes??[]).filter(bw);return t.length?tw(t):nw(this.textContent??``)}#a(e){let t=this.#o();return rw(e,{position:this.position,strategy:this.strategy,bias:this.bias,preserve:this.preserve,availableWidth:this.#r,measureText:t})}#o(){let e=this.ownerDocument?.defaultView,t=this.#c;if(!e||!t)return()=>0;let n=e.getComputedStyle(this);t.font=n.font;let r=yw(n.letterSpacing),i=yw(n.wordSpacing),a=new Intl.Segmenter(void 0,{granularity:`grapheme`});return e=>this.#s(e,{context:t,letterSpacing:r,wordSpacing:i,graphemeSegmenter:a})}#s(e,{context:t,letterSpacing:n,wordSpacing:r,graphemeSegmenter:i}){let a=i.segment(e),o=Array.from(e.matchAll(/\s/gu)).length;return t.measureText(e).width+Math.max(0,Array.from(a).length-1)*n+o*r}get#c(){return this.#e===void 0&&(this.#e=this.ownerDocument?.createElement(`canvas`).getContext(`2d`)??null),this.#e}#l(){typeof ResizeObserver<`u`&&(this.#t??=new ResizeObserver(e=>{let t=e[0];if(this.isConnected&&t){this.#r=t.contentRect.width;let e=this.ownerDocument.defaultView;e&&this.#n===void 0&&(this.#n=e.requestAnimationFrame(()=>{this.#n=void 0,this.isConnected&&this.requestUpdate()}))}}),this.#t.disconnect(),this.#t.observe(this))}#u};k([g({type:String,reflect:!0})],vw.prototype,`position`,void 0),k([g({type:String,reflect:!0})],vw.prototype,`strategy`,void 0),k([g({type:String,reflect:!0})],vw.prototype,`bias`,void 0),k([g({type:Number,reflect:!0})],vw.prototype,`preserve`,void 0),vw=k([C()],vw);function yw(e){let t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function bw(e){return!xw(e)||!e.getAttribute(`slot`)}function xw(e){return e.nodeType===1}f(vw),f(L),f(R),f(F);var Sw=`important`,Cw=` !`+Sw,ww=wi(class extends Ti{constructor(e){if(super(e),e.type!==Ci.ATTRIBUTE||e.name!==`style`||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return r==null?t:t+`${n=n.includes(`-`)?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,`-$&`).toLowerCase()}:${r};`},``)}update(e,[t]){let{style:n}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)t[e]??(this.ft.delete(e),e.includes(`-`)?n.removeProperty(e):n[e]=null);for(let e in t){let r=t[e];if(r!=null){this.ft.add(e);let t=typeof r==`string`&&r.endsWith(Cw);e.includes(`-`)||t?n.setProperty(e,t?r.slice(0,-11):r,t?Sw:``):n[e]=r}}return $e}}),Tw=`:host{--color: var(--nve-sys-text-emphasis-color);--background: var(--nve-sys-interaction-background);--needle-background: var(--nve-sys-interaction-color);--accent-color: var(--nve-sys-interaction-color);--thumb-background: var(--accent-color);--track-background: var(--accent-color);--track-width: 8px;--font-size: var(--nve-ref-font-size-400);--font-weight: var(--nve-ref-font-weight-regular);--gap: var(--nve-ref-space-xs);--width: 128px;--height: calc(var(--width) * .8627);--_animation-duration: var(--nve-ref-animation-duration-250);--_needle-size: calc(var(--track-width) / 3);display:inline-block;position:relative;width:var(--width);height:var(--height);font-weight:var(--font-weight);container-type:inline-size;contain:layout;text-box:trim-both cap alphabetic}.fill-dot-end{r:calc(var(--track-width) / 3.2)}:host([size="sm"]){--font-size: var(--nve-ref-font-size-300);--width: 96px;--_needle-size: calc(var(--track-width) / 2.25);.fill-dot-end{r:calc(var(--track-width) / 2.4)}}:host([size="lg"]){--font-size: var(--nve-ref-font-size-500);--width: 160px;--_needle-size: calc(var(--track-width) / 3.75);.fill-dot-end{r:calc(var(--track-width) / 4)}}[internal-host]{display:grid;place-items:center;position:relative;height:100%}:host([shape="half"]){--height: calc(var(--width) * .5313)}:host([shape="half"]) [internal-host]{place-items:end center}svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}path{fill:none;stroke:#fff;stroke-width:var(--track-width);vector-effect:non-scaling-stroke}path.background{stroke-linecap:round}path.gauge{stroke-linecap:round}.background-surface,.fill-surface{inline-size:100%;block-size:100%}.background-surface{background:var(--background)}.fill-surface{background:var(--track-background)}.fill-dot-end{fill:var(--thumb-background);transform:rotate(var(--_dot-angle));transform-box:view-box;transform-origin:var(--_dot-origin)}:host([thumb="dot"]) .fill-dot-end{animation:gauge-dot-in var(--_animation-duration) var(--nve-ref-animation-easing-100);will-change:transform}.fill-layer[hidden],.fill-dot-end[hidden],.needle[hidden]{display:none}.needle{animation:gauge-needle-in var(--_animation-duration) var(--nve-ref-animation-easing-100);transform:rotate(var(--_needle-angle));transform-box:view-box;transform-origin:var(--_needle-origin);will-change:transform}.needle-line{stroke:var(--needle-background);stroke-linecap:round;stroke-width:var(--_needle-size)}.needle-hub{fill:var(--needle-background);r:var(--_needle-size)}slot{display:flex;flex-direction:column;place-items:center;justify-content:center;height:100%;gap:var(--gap);color:var(--color);font-size:var(--font-size);font-weight:var(--nve-ref-font-weight-medium);padding-block-start:calc(var(--track-width) * 2);text-box:trim-both cap alphabetic;line-height:1;width:50%;font-variant-numeric:tabular-nums}:host([shape="half"]) slot{transform:translateY(1cqh)}:host([thumb="needle"]) slot{transform:translateY(1cqh);justify-content:end}:host([shape="half"][thumb="needle"]) slot{transform:translateY(2cqh)}::slotted(*){color:var(--color);font-size:var(--font-size)}:host([status="success"]){--accent-color: var(--nve-sys-support-success-emphasis-color);--background: var(--nve-sys-support-success-muted-color)}:host([status="warning"]){--accent-color: var(--nve-sys-support-warning-emphasis-color);--background: var(--nve-sys-support-warning-muted-color)}:host([status="danger"]){--accent-color: var(--nve-sys-support-danger-emphasis-color);--background: var(--nve-sys-support-danger-muted-color)}:host([status="accent"]){--accent-color: var(--nve-sys-accent-secondary-background)}@media(prefers-reduced-motion:reduce){:host{--_animation-duration: 0s}}@keyframes gauge-dot-in{0%{transform:rotate(var(--_dot-start-angle))}to{transform:rotate(var(--_dot-angle))}}@keyframes gauge-needle-in{0%{transform:rotate(var(--_needle-start-angle))}to{transform:rotate(var(--_needle-angle))}}`,Ew={default:{center:64,path:`M 27.23 100.77 A 52 52 0 1 1 100.77 100.77`,radius:52,startAngle:135,sweepAngle:270,surfaceHeight:128,viewBox:`8.53 8.53 110.93 95.7`},half:{center:64,path:`M 12 64 A 52 52 0 0 1 116 64`,radius:52,startAngle:180,sweepAngle:180,surfaceHeight:64,viewBox:`8.53 8.53 110.93 58.93`}},Dw=(e,t,n)=>({[`--_${e}-angle`]:`${t}deg`,[`--_${e}-origin`]:`${n.center}px ${n.center}px`,[`--_${e}-start-angle`]:`${n.startAngle}deg`}),Ow={danger:`danger`,information:`information`,success:`success`,warning:`warning`},kw=class extends h{constructor(...e){super(...e),this.value=0,this.max=100,this.status=`neutral`,this.thumb=`fill`,this.#e=new E(this,Ow),this.i18n=this.#e.i18n,this.#t=0,this.#r=0}static{this.styles=T([Tw])}static{this.metadata={tag:`nve-gauge`,version:`0.0.0`}}#e;#t;#n;#r;#i(){let e=this.max,t=e!==void 0&&Number.isFinite(e)&&e>0?e:100;return{value:Number.isFinite(this.value)?Math.min(Math.max(this.value,0),t):0,max:t}}render(){let e=this.#f(),t=this.#t,n=this.#p(),r=this.#l(e,t),i=this.#u(e,t),a=n===`fill`,o=t>0&&(n===`fill`||n===`dot`);return p`<div internal-host><svg viewBox="${e.viewBox}" role="presentation" aria-hidden="true"><defs><mask id="background-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="128" height="${e.surfaceHeight}"><path d="${e.path}" class="background"></path></mask><mask id="fill-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="128" height="${e.surfaceHeight}"><path d="${i}" class="gauge" ?empty="${t<=0}"></path></mask></defs><foreignObject width="128" height="${e.surfaceHeight}" mask="url(#background-mask)"><div xmlns="http://www.w3.org/1999/xhtml" class="background-surface"></div></foreignObject><foreignObject class="fill-layer" width="128" height="${e.surfaceHeight}" mask="url(#fill-mask)" ?hidden="${!a||t<=0}"><div xmlns="http://www.w3.org/1999/xhtml" class="fill-surface"></div></foreignObject><circle class="fill-dot-end" cx="${e.center+e.radius}" cy="${e.center}" ?hidden="${!o}" style="${ww(Dw(`dot`,r,e))}"></circle><g class="needle" ?hidden="${n!==`needle`}" style="${ww(Dw(`needle`,r,e))}"><line class="needle-line" x1="${e.center}" y1="${e.center}" x2="${e.center+40}" y2="${e.center}"></line><circle class="needle-hub" cx="${e.center}" cy="${e.center}"></circle></g></svg><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`progressbar`}disconnectedCallback(){super.disconnectedCallback(),this.#n&&(this.#s(),this.#t=this.#a(),this.requestUpdate())}willUpdate(e){super.willUpdate(e),(e.has(`value`)||e.has(`max`))&&this.#o()}updated(e){super.updated(e);let{value:t,max:n}=this.#i();this._internals.ariaValueNow=`${t}`,this._internals.ariaValueMax=`${n}`;let{status:r}=this,i=r!==void 0&&r!==`neutral`&&r!==`accent`?this.i18n[r]:void 0;this._internals.ariaLabel=i??this.i18n.information??null}#a(){let{value:e,max:t}=this.#i();return e/t*100}#o(){let e=this.#a(),t=this.hasUpdated?this.#c():void 0;if(this.#s(),!t||e===this.#t){this.#t=e;return}let n=this.#t,r=this.animate(null,t),i=t=>{this.#t=n+(e-n)*t,this.requestUpdate()},a=()=>{i(r.effect?.getComputedTiming().progress??0),r.playState===`running`&&(this.#r=requestAnimationFrame(a))};r.finished.then(()=>{this.#n===r&&(this.#s(),i(1))},()=>void 0),this.#n=r,this.#r=requestAnimationFrame(a)}#s(){this.#n&&=(cancelAnimationFrame(this.#r),this.#n.cancel(),void 0)}#c(){let e=getComputedStyle(this),t=e.getPropertyValue(`--_animation-duration`).trim(),n=parseFloat(t)*(t.endsWith(`ms`)?1:1e3),r=e.getPropertyValue(`--nve-ref-animation-easing-100`).trim();return n>0?{duration:n,easing:r||`linear`}:void 0}#l(e,t){return e.startAngle+e.sweepAngle*(t/100)}#u(e,t){let n=this.#d(e,e.startAngle),r=e.sweepAngle*(t/100),i=this.#d(e,e.startAngle+r),a=+(r>180);return`M ${n.x} ${n.y} A ${e.radius} ${e.radius} 0 ${a} 1 ${i.x} ${i.y}`}#d(e,t){let n=t*Math.PI/180;return{x:e.center+e.radius*Math.cos(n),y:e.center+e.radius*Math.sin(n)}}#f(){return this.shape===`half`?Ew.half:Ew.default}#p(){return this.thumb===`dot`||this.thumb===`needle`?this.thumb:`fill`}};k([g({type:Number})],kw.prototype,`value`,void 0),k([g({type:Number})],kw.prototype,`max`,void 0),k([g({type:String,reflect:!0})],kw.prototype,`status`,void 0),k([g({type:String,reflect:!0})],kw.prototype,`shape`,void 0),k([g({type:String,reflect:!0})],kw.prototype,`thumb`,void 0),k([g({type:String,reflect:!0})],kw.prototype,`size`,void 0),k([g({type:Object})],kw.prototype,`i18n`,void 0),f(kw);var Aw=`:host{--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);position:absolute;inset:var(--nve-ref-size-700) 0 0}[internal-host]{background:color-mix(in oklab,var(--background, var(--nve-sys-layer-canvas-background)) 100%,var(--nve-sys-interaction-state-mix) var(--interaction-state-ratio, .01%));color:var(--color);padding:var(--padding);font-size:var(--font-size);display:flex;place-items:center;place-content:center;height:100%}`,jw=class extends h{static{this.styles=T([Aw])}static{this.metadata={tag:`nve-grid-placeholder`,version:`0.0.0`}}render(){return p`<div internal-host focusable="active" role="gridcell"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`row`}},Mw=`:host{--background: var(--nve-sys-layer-container-accent-background);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--padding: 0 1px 0 0;position:sticky;z-index:100;top:0;width:100%}[internal-host]{grid-auto-columns:var(--grid-auto-columns);grid-auto-flow:var(--grid-auto-flow);grid-template-columns:var(--grid-template-column);border-bottom:var(--border-bottom);background:var(--background);padding:var(--padding);display:grid;min-width:fit-content}:host([hidden]){display:block!important;opacity:0!important;height:0!important;z-index:0!important}`,Nw=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--color: var(--nve-sys-text-muted-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-1000);--min-width: var(--nve-ref-size-1000);--justify-content: start;--border-left: 0;--border-right: 0;transition:box-shadow .3s ease-in-out}[internal-host]{background:var(--background);color:var(--color);padding:var(--padding);height:var(--height);font-size:var(--font-size);font-weight:var(--font-weight);min-width:var(--min-width);border-left:var(--border-left);border-right:var(--border-right);justify-content:var(--justify-content);display:flex;align-items:center;outline-offset:-5px;white-space:nowrap}:host([width="max-content"]){--padding: var(--nve-ref-size-300)}::slotted(nve-sort-button),::slotted(nve-icon-button){margin-inline-start:auto}@media(hover:hover){::slotted(nve-sort-button){opacity:0}::slotted(nve-sort-button[sort="ascending"]),::slotted(nve-sort-button[sort="descending"]),:host(:focus-within) ::slotted(nve-sort-button),:host(:hover) ::slotted(nve-sort-button){opacity:1}}`,Pw=class e extends h{static{this.styles=T([Nw])}static{this.metadata={tag:`nve-grid-column`,version:`0.0.0`}}get#e(){return this.parentElement.parentElement}render(){return p`<div internal-host focusable="active"><slot></slot><slot name="actions"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`columnheader`,this.addEventListener(`sort`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`sort`,this.#t)}#t=e=>{this.ariaSort=e.detail.next};willUpdate(e){e.has(`width`)&&this.width&&Number.isFinite(Number(this.width))&&(this.width=`${this.width}px`)}async updated(e){super.updated(e),e.get(`columnAlign`)!==this.columnAlign&&this.#o(),e.get(`position`)!==this.position&&this.#r(),e.get(`ariaColIndex`)!==this.ariaColIndex&&(this.#r(),this.#o()),e.get(`width`)!==this.width&&this.dispatchEvent(new CustomEvent(`nve-grid-column-resize`,{bubbles:!0,composed:!0}))}#n;#r(){if(this.position!==`fixed`){this.removeAttribute(`left`),this.removeAttribute(`right`),this.#n?.replaceSync(``);return}let{side:e,positionStyle:t,borderStyle:n}=this.#i(),r=`${t}\n${n}`;this.#n?this.#n.replaceSync(r):this.#n=b(this.#e,r),this.setAttribute(e,``)}#i(){let t=Array.from(this.parentElement.querySelectorAll(e.metadata.tag)),n=t.slice(t.indexOf(this)+1,t.length),r=this.getBoundingClientRect(),i=this.#e.getBoundingClientRect(),a=this.offsetLeft<i.width/2?`left`:`right`,o=r.left-i.left,s=n.reduce((e,t)=>e+t.getBoundingClientRect().width,0),c=`[id='${this.#e.id}'] nve-grid-column:nth-of-type(${this.ariaColIndex}),
|
|
12
|
+
`,yr=new class{get i18n(){return{...h.state.i18nRegistry}}registerDefaults(e){let t=h.state.i18nRegistry,n=Object.entries(e).reduce((e,[n,r])=>(r!==void 0&&t[n]===void 0&&(e[n]=r),e),{});Object.keys(n).length>0&&h.merge({i18nRegistry:n})}update(e){h.dispatch(`NVE_ELEMENTS_I18N_UPDATE`,{i18nRegistry:e})}};function br(e){return t=>t.addInitializer(t=>new A(t,e))}var A=class{get i18n(){return{...this.defaults,...yr.i18n,...this.host.i18n,__set:!1}}#e={};constructor(e,t={}){this.host=e,this.defaults=t,yr.registerDefaults(t),this.host.addController(this)}hostConnected(){globalThis.document.addEventListener(`NVE_ELEMENTS_I18N_UPDATE`,this.#t)}hostDisconnected(){globalThis.document.removeEventListener(`NVE_ELEMENTS_I18N_UPDATE`,this.#t)}hostUpdate(){this.host.i18n.__set===void 0&&(this.#e=this.host.i18n,this.#t())}#t=()=>{this.host.i18n={...this.defaults,...yr.i18n,...this.#e,__set:!0}}},xr=new class{get#e(){return globalThis.document.querySelector(`[type=speculationrules]`)}get#t(){return globalThis.document.documentElement.getAttribute(`nve-transition`)}#n;enable(){globalThis.document&&(this.#n?.disconnect(),this.#r(),this.#n=new MutationObserver(()=>this.#r()),this.#n.observe(globalThis.document.documentElement,{attributeFilter:[`nve-transition`]}))}disable(){this.#a(),this.#n?.disconnect()}#r(){globalThis.document&&this.#t===`auto`?this.#e||this.#i():this.#a()}#i(){let e=globalThis.document.createElement(`script`);e.id=`nve-speculationrules`,e.type=`speculationrules`,e.textContent=JSON.stringify({prerender:[{where:{href_matches:`/*`},eagerness:`moderate`}]}),globalThis.document.head.appendChild(e)}#a(){globalThis.document?.querySelector(`#nve-speculationrules`)?.remove()}},Sr={"":`information-circle`,undefined:`information-circle`,default:`information-circle`,accent:`information-circle`,warning:`exclamation-triangle`,success:`checkmark-circle`,danger:`exclamation-circle`,scheduled:`clock`,failed:`x-circle`,finished:`checkmark-circle`,unknown:`question-mark-circle`,queued:`bar-pill-stack`,running:`running`,restarting:`refresh`,stopping:`stop-sign`,pending:`circle-dash`,starting:`circle-dot`,ignored:`circle-angled-line`};function Cr(e){let[t,n,r]=e.split(`.`).map(e=>{let t=parseInt(e,10);return Number.isNaN(t)?-1:t});return{major:t??-1,minor:n??-1,patch:r??-1}}function wr(e){return new Intl.NumberFormat().format(e)}function Tr(e,t){let n=e.signal?{signal:e.signal}:void 0;globalThis.document.addEventListener(`pointerup`,n=>{!e.element.hidden&&an(n,e.element)&&an(n,e.focusElement)&&t()},n),e.element.addEventListener(`keydown`,n=>{!e.element.hidden&&n.code===`Escape`&&(n.preventDefault(),qt(e.focusElement),t())},n)}function Er(e,t){return e!==void 0&&Number.isFinite(e)&&e>=0?e:t}var Dr=class extends Error{constructor(e,t){super(`(${e}): ${t}`),this.name=`FormControlError`}};function Or(e,t,n){let r=kr(t,n);if(r===void 0)throw new Dr(e,`unsupported value type ${typeof t}`);return r}function kr(e,t){switch(t.type){case`string`:return e;case`number`:return parseFloat(e);case`boolean`:return!!e||e===`true`;case`array`:case`object`:return JSON.parse(e);case`enum`:return t.enum.includes(e)?e:void 0;default:return}}function Ar(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function jr(e){return e._internals===void 0&&(e._internals=e.attachInternals()),e._internals}function j(e,t,n){n?e.states.add(t):e.states.delete(t)}function Mr(e,t=10){return Array.from(Br(e)).reduce((e,n)=>[...e,[n,[...Array.from(Br(n)).map(e=>[e,Mr(e,t)])]]],[]).flat(t)}function Nr(e){let t=e.anchor;return typeof t==`string`&&t.length?e.parentNode?Mr(e.parentNode).find(e=>e.id===t)??globalThis.document.body:globalThis.document.body:t instanceof HTMLElement&&t!==globalThis.document.body?t:globalThis.document.body}function Pr(e){return typeof e==`string`&&e.length?e:e===``?``:null}function Fr(e,t,n){return n===null?!e.hasAttribute(t):e.getAttribute(t)===n}function Ir(e){return typeof HTMLFormElement<`u`&&e instanceof HTMLFormElement}function Lr(e){e?.wholeText?.trim()===``&&e.parentNode?.removeChild(e)}function Rr(e,t,n){n===null?e.removeAttribute(t):e.setAttribute(t,n)}function zr(e){e.preventDefault(),e.stopPropagation()}function Br(e){if(Vr(e))return Array.from(e.documentElement.children);if(Hr(e))return Array.from(e.shadowRoot.children);if(Ur(e)){let t=e.assignedElements();return t.length?t:Array.from(e.children)}return Array.from(e.children??[])}function Vr(e){return typeof Document<`u`&&e instanceof Document&&!!e.documentElement}function Hr(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement&&!!e.shadowRoot}function Ur(e){return typeof HTMLSlotElement<`u`&&e instanceof HTMLSlotElement&&!!e.assignedElements}function Wr(e){return class extends e{static{this.formAssociated=!0}#e;#t;get defaultValue(){return this.getAttribute(`value`)??``}set defaultValue(e){this.setAttribute(`value`,e)}get readOnly(){return this.getAttribute(`readonly`)!==null}set readOnly(e){jr(this),this.toggleAttribute(`readonly`,e),j(this._internals,`readonly`,!!e),this._requestUpdate()}get disabled(){return this.getAttribute(`disabled`)!==null}set disabled(e){jr(this),this.toggleAttribute(`disabled`,e),this._internals.ariaDisabled=e?`true`:`false`,j(this._internals,`disabled`,!!e),this._requestUpdate()}get required(){return this.getAttribute(`required`)!==null}set required(e){this.toggleAttribute(`required`,e),j(this._internals,`required`,!!e),this.checkValidity(),this._requestUpdate()}get pattern(){return this.getAttribute(`pattern`)??``}set pattern(e){e?this.setAttribute(`pattern`,e):this.removeAttribute(`pattern`),j(this._internals,`pattern`,!!e),this.checkValidity(),this._requestUpdate()}get min(){return Jr(this,`min`)}set min(e){Xr(this,`min`,e),j(this._internals,`min`,e!==null),this._internals.ariaValueMin=e===null?null:`${e}`,this.checkValidity(),this._requestUpdate()}get max(){return Jr(this,`max`)}set max(e){Xr(this,`max`,e),j(this._internals,`max`,e!==null),this._internals.ariaValueMax=e===null?null:`${e}`,this.checkValidity(),this._requestUpdate()}get step(){return Jr(this,`step`)}set step(e){Xr(this,`step`,e),j(this._internals,`step`,e!==null),this.checkValidity(),this._requestUpdate()}get minLength(){return this.hasAttribute(`minlength`)?Number(this.getAttribute(`minlength`)):-1}set minLength(e){Qr(this,`minlength`,e),j(this._internals,`minlength`,this.minLength!==-1),this.checkValidity(),this._requestUpdate()}get maxLength(){return this.hasAttribute(`maxlength`)?Number(this.getAttribute(`maxlength`)):-1}set maxLength(e){Qr(this,`maxlength`,e),j(this._internals,`maxlength`,this.maxLength!==-1),this.checkValidity(),this._requestUpdate()}get name(){return this.getAttribute(`name`)??``}set name(e){e?this.setAttribute(`name`,e):this.removeAttribute(`name`),this._updateFormState(),this._requestUpdate()}get noValidate(){return this.getAttribute(`novalidate`)!==null||this._internals.form?.noValidate===!0}set noValidate(e){this.toggleAttribute(`novalidate`,e),this._requestUpdate()}set value(e){this.updateValue(e),this._requestUpdate()}get value(){return this._value}updateValue(e){let t=this._value;this._value=structuredClone(e),!this.checkValidity()&&this._metadata.strict&&(this._value=t,console.error(`FormControlError: (strict mode)`,this.validationMessage)),!this.#t&&!this.isConnected&&(this._initialValue=structuredClone(this._value),this.#t=!0),this._updateFormState()}get form(){return this._internals.form}get willValidate(){return this._internals.willValidate}get validity(){return this._internals.validity}get validationMessage(){return this._internals.validationMessage}get valueAsString(){return Gr(this.value)}get valueAsNumber(){return Number(this.value)}set valueAsNumber(e){typeof this._value==`number`&&typeof e==`number`?this.value=e:console.warn(new Dr(this.localName,`cannot set number value on non-number type`).message)}get type(){return this.localName}get labels(){return this._internals.labels}get composedLabel(){return Array.from(this.labels).map(e=>e.textContent).join(` `).trim()}get _metadata(){return this.constructor.metadata}get _validators(){return this._metadata.validators??[]}constructor(...e){super(...e),this.#e=``,this.#t=!1,this._internals=jr(this),this._stopInternalPropagation=e=>{let t=e.composedPath()[0];t instanceof Node&&this.shadowRoot?.contains(t)&&e.stopPropagation()},this._initialValue=this.value}connectedCallback(){jr(this),super.connectedCallback&&super.connectedCallback(),this.tabIndex=0,this.#o(),this._updateFormState(),this.checkValidity(),this.shadowRoot?.addEventListener(`input`,this._stopInternalPropagation),this.shadowRoot?.addEventListener(`change`,this._stopInternalPropagation)}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),this.shadowRoot?.removeEventListener(`input`,this._stopInternalPropagation),this.shadowRoot?.removeEventListener(`change`,this._stopInternalPropagation)}static get observedAttributes(){return(super.observedAttributes??[]).concat([`value`,`readonly`,`required`,`name`,`novalidate`,`disabled`,`pattern`,`min`,`max`,`step`,`minlength`,`maxlength`])}attributeChangedCallback(e,t,n){super.attributeChangedCallback&&super.attributeChangedCallback(e,t,n),n!==t&&this._handleAttributeChange(e,n)}_handleAttributeChange(e,t){e===`value`?this.#l(t):this.#u(e,t)||this.#d(e,t)||this.#f(e,t)}formResetCallback(){this.reset()}formDisabledCallback(e){this.disabled=e}formStateRestoreCallback(e,t){this.value=e,this.checkValidity()}reportValidity(){return this.#n(),this._internals.reportValidity()}checkValidity(){return this.#n(),this._internals.checkValidity()}setValidity(e,t){this._internals.setValidity(e,t),this.#s()}setCustomValidity(e){this.#e=e,this.#n()}reset(){this.value=this.hasAttribute(`value`)?Or(this.localName,this.defaultValue,this._metadata.valueSchema):structuredClone(this._initialValue),this.#c(),this.checkValidity(),this.dispatchEvent(new Event(`reset`,{bubbles:!0,cancelable:!0,composed:!0}))}#n(){this.noValidate?this._internals.setValidity({}):this.#a(this.#r()),this.#s()}#r(){if(this.#e)return ii({customError:!0},this.#e);let e=this.#i();if(!e.validity.valid)return e;for(let e of this._validators){let t=e(this.value,this);if(!t.validity.valid)return t}return{validity:{valid:!0},message:``}}#i(){return this.required&&$r(this.value)?ii({valueMissing:!0},`This field is required`):typeof this.value==`string`?ei({maxLength:this.maxLength,minLength:this.minLength,pattern:this.pattern,value:this.value}):typeof this.value==`number`?ti({max:this.max,min:this.min,step:this.step,value:this.value}):{validity:{valid:!0},message:``}}#a(e){e.validity.valid?this._internals.setValidity({}):this._internals.setValidity(e.validity,e.message,this.shadowRoot?.activeElement??void 0)}#o(){j(this._internals,`disabled`,this.disabled),j(this._internals,`readonly`,this.readOnly),j(this._internals,`required`,this.required),j(this._internals,`pattern`,!!this.pattern),j(this._internals,`min`,this.min!==null),j(this._internals,`max`,this.max!==null),j(this._internals,`step`,this.step!==null),j(this._internals,`minlength`,this.minLength!==-1),j(this._internals,`maxlength`,this.maxLength!==-1)}#s(){j(this._internals,`valid`,this.validity.valid),j(this._internals,`invalid`,!this.validity.valid)}#c(){this._internals.states.delete(`valid`),this._internals.states.delete(`invalid`)}#l(e){this.value=e===null?void 0:Or(this.localName,e,this._metadata.valueSchema),this._initialValue=structuredClone(this.value),this.#t=!0}#u(e,t){return e===`readonly`?(this.readOnly=t!==null,!0):e===`disabled`?(this.disabled=t!==null,!0):e===`required`?(this.required=t!==null,!0):e===`novalidate`&&(this.noValidate=t!==null,this.checkValidity(),!0)}#d(e,t){return e===`name`?(this.name=t??``,!0):e===`pattern`&&(this.pattern=t??``,!0)}#f(e,t){e===`min`?this.min=Yr(t):e===`max`?this.max=Yr(t):e===`step`?this.step=Yr(t):e===`minlength`?this.minLength=Zr(t):e===`maxlength`&&(this.maxLength=Zr(t))}dispatchInputEvent(){this.dispatchEvent(new InputEvent(`input`,{bubbles:!0,cancelable:!0,composed:!0,data:this.valueAsString}))}dispatchChangeEvent(){this.dispatchEvent(new Event(`change`,{bubbles:!0,cancelable:!0,composed:!0}))}dispatchUpdateEvent(e){e===`input`?this.dispatchInputEvent():e===`change`&&this.dispatchChangeEvent()}_updateFormState(){if(!this.name)this._internals.setFormValue(null);else if(typeof this.value==`number`||typeof this.value==`boolean`)this._internals.setFormValue(`${this.value}`);else if(Ar(this.value)){let e=new FormData;Object.entries(this.value).filter(([e])=>e!==`value`).forEach(([t,n])=>{e.set(`${this.name}-${t}`,`${n}`)}),this._internals.setFormValue(e)}else if(Array.isArray(this.value)){let e=new FormData;this.value.forEach(t=>e.append(this.name,t)),this._internals.setFormValue(e)}else this._internals.setFormValue(this.value)}_requestUpdate(){this.requestUpdate&&this.requestUpdate()}}}function Gr(e){return e==null?``:Kr(e)?`${e}`:qr(e)?e.name:Array.isArray(e)||Ar(e)?JSON.stringify(e):JSON.stringify(e)??``}function Kr(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`}function qr(e){return typeof File<`u`&&e instanceof File}function Jr(e,t){return Yr(e.getAttribute(t))}function Yr(e){if(e===null||e===``)return null;let t=Number(e);return Number.isFinite(t)?t:null}function Xr(e,t,n){n===null||!Number.isFinite(n)?e.removeAttribute(t):e.setAttribute(t,`${n}`)}function Zr(e){let t=Yr(e);return t===null||t<0?-1:t}function Qr(e,t,n){n<0||!Number.isFinite(n)?e.removeAttribute(t):e.setAttribute(t,`${n}`)}function $r(e){return e==null||e===``||Array.isArray(e)&&e.length===0}function ei({value:e,pattern:t,minLength:n,maxLength:r}){return t&&!ni(e,t)?ii({patternMismatch:!0},`pattern mismatch`):n!==-1&&e.length<n?ii({tooShort:!0},`value too short`):r!==-1&&e.length>r?ii({tooLong:!0},`value too long`):{validity:{valid:!0},message:``}}function ti({value:e,min:t,max:n,step:r}){return Number.isNaN(e)?ii({badInput:!0},`bad input`):t!==null&&e<t?ii({rangeUnderflow:!0},`value too low`):n!==null&&e>n?ii({rangeOverflow:!0},`value too high`):r!==null&&r>0&&ri(e,t??0,r)?ii({stepMismatch:!0},`step mismatch`):{validity:{valid:!0},message:``}}function ni(e,t){try{return RegExp(`^(?:${t})$`).test(e)}catch{return!0}}function ri(e,t,n){let r=(e-t)/n;return Math.abs(Math.round(r)-r)>2**-52}function ii(e,t){return{validity:{...e,valid:!1},message:t}}var ai=class{#e=null;#t=!1;constructor(e){this.host=e,this.host.addController(this)}get readOnly(){return this.#t}hostUpdated(){this.#s();let e=this.#n;this.#t=!!e,e?this.host._internals.states.add(`anchor`):this.host._internals.states.delete(`anchor`),this.#i&&(this.#i.style.textDecoration=`none`,this.host.style.cursor=`pointer`),this.#c(e)}hostDisconnected(){this.#l()}get#n(){return this.#r??this.#i}get#r(){return this.host.shadowRoot?.querySelector(`slot:not([name]), slot[name=anchor]`)?.assignedElements()?.find(e=>e?.tagName===`A`)}get#i(){return this.host.parentElement?.tagName===`A`?this.host.parentElement:null}get#a(){return this.host.shadowRoot?.querySelector(`slot:not([name])`)}get#o(){return this.host.shadowRoot?.querySelector(`slot[name=anchor]`)}#s(){this.#n&&this.#o&&(this.#n.slot=`anchor`,this.#a?.assignedNodes().forEach(e=>Lr(e)))}#c(e){this.#l(),this.#e=e??null,this.#e?.addEventListener(`click`,this.#u)}#l(){this.#e?.removeEventListener(`click`,this.#u),this.#e=null}#u=e=>{this.host.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}},oi=class{#e=null;#t=0;#n;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.#n===void 0&&this.host.hasAttribute(`tabindex`)&&(this.#t=this.host.tabIndex)}hostUpdated(){this.#r(),this.host.readOnly?(this.host._internals.role&&this.host._internals.role!==`none`&&(this.#e=this.host._internals.role),this.host._internals.role=`none`):!this.host._internals.role||this.host._internals.role===`none`?this.host._internals.role=this.#e??`button`:this.#e=this.host._internals.role}#r(){let e=this.host.disabled||this.host.readOnly,t=this.#n===void 0||this.#n&&!e;e&&this.#n===!1&&(this.#t=this.host.tabIndex),this.#n=e,this.host.readOnly?(this.host.tabIndex=-1,this.host.removeAttribute(`tabindex`)):this.host.disabled?this.host.tabIndex=-1:t&&(this.host.tabIndex=this.#t)}},si=class{#e;constructor(e,{events:t=[`click`]}={}){this.host=e,this.#e=[...new Set(t)],this.host.addController(this)}hostUpdated(){this.#t(),!this.host.readOnly&&!this.host.disabled&&this.#e.forEach(e=>this.host.addEventListener(e,this.#n))}hostDisconnected(){this.#t()}#t(){this.#e.forEach(e=>this.host.removeEventListener(e,this.#n))}#n=e=>{e.defaultPrevented||this.invoke()};invoke(){if(this.host.readOnly||this.host.disabled||!this.host.command)return!1;let e=this.target;return e?(e.dispatchEvent(new globalThis.CommandEvent(`command`,{command:this.host.command,source:this.host})),!0):(console.warn(`commandForElement`,this.host.commandForElement||this.host.getAttribute(`commandfor`),`not found`),!1)}get target(){if(this.host.commandForElement)return this.host.commandForElement;let e=this.host.getAttribute(`commandfor`);return e?Mr(this.host.getRootNode()).find(t=>t.id===e)??null:null}},ci=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.host.addEventListener(`mouseenter`,this.#t),this.host.addEventListener(`mouseleave`,this.#n),this.host.addEventListener(`focus`,this.#t),this.host.addEventListener(`blur`,this.#n)}hostDisconnected(){this.host.removeEventListener(`mouseenter`,this.#t),this.host.removeEventListener(`mouseleave`,this.#n),this.host.removeEventListener(`focus`,this.#t),this.host.removeEventListener(`blur`,this.#n)}#t=e=>{e.type===`focus`&&!this.host.matches(`:focus-visible`)||this.host.popoverTargetElement?.matches(`:popover-open`)||this.#r(`interest`)};#n=()=>this.#r(`loseinterest`);#r(e){let t=this.#i();if(!t)return;let n=new Event(e,{cancelable:!0});n.source=this.host,t.dispatchEvent(n)}#i(){let e=this.#a();if(e!==void 0)return e;let t=this.#o(),n=this.#e;return this.#e=t,t&&this.host.interestForElement!==t?this.host.interestForElement=t:!t&&n&&this.host.interestForElement===n&&(this.host.interestForElement=null),t}#a(){let e=this.host.getAttribute(`interestfor`);if(e)return this.#e=null,this.#s(e);let t=this.host.interestForElement;if(t&&t!==this.#e)return this.#e=null,t}#o(){let e=this.host.popoverTargetElement;if(e instanceof HTMLElement&&e.popover===`hint`)return e;let t=this.#s(this.host.getAttribute(`popovertarget`));return t instanceof HTMLElement&&t.popover===`hint`?t:null}#s(e){return e?Mr(this.host.getRootNode()).find(t=>t.id===e)??null:null}},li=class{#e;#t;#n;constructor(e){this.host=e,this.host.addController(this)}get defaultType(){return this.#e}hostUpdated(){this.#r(),this.#i(),!this.host.readOnly&&!this.host.disabled&&(this.host.addEventListener(`click`,this.#o),this.host.addEventListener(`keyup`,this.#a))}hostDisconnected(){this.#i(),this.#u()}#r(){!this.host.type&&!this.host.hasAttribute(`type`)&&this.host.form instanceof HTMLFormElement&&(this.#e=`submit`)}#i(){this.host.removeEventListener(`click`,this.#o),this.host.removeEventListener(`keyup`,this.#a)}#a=e=>{(e.key===` `||e.key===`Enter`||e.code===`Space`||e.code===`Enter`)&&this.host.click()};#o=e=>{this.host.disabled?zr(e):this.host.type===`submit`&&this.host.form instanceof HTMLFormElement?this.#s(this.host.form):this.host.type===`reset`&&this.host.form instanceof HTMLFormElement&&this.host.form.reset()};#s(e){this.#u(),this.#l(),this.#n=e,e.addEventListener(`submit`,this.#c,{once:!0}),this.#t?.remove(),e.appendChild(this.#t),e.requestSubmit(this.#t)}#c=()=>{let e=this.#t;this.#n=void 0,setTimeout(()=>{e?.remove(),this.#t===e&&(this.#t=void 0)},0)};#l(){this.#t||(this.#t=globalThis.document.createElement(`button`),this.#t.type=`submit`,this.#t.style.display=`none`),this.#t.name=this.host.name??``,this.#t.value=this.host.value??``}#u(){this.#n?.removeEventListener(`submit`,this.#c),this.#n=void 0,this.#t?.remove(),this.#t=void 0}},ui=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.host.addEventListener(`click`,this.#n)}hostDisconnected(){this.host.removeEventListener(`click`,this.#n)}#e;#t(){let e=this.host.popoverTargetElement,t=e===this.#e;if(!this.host.getAttribute(`popovertarget`))return this.#e=void 0,t?(this.host.popoverTargetElement=null,null):e;if(e&&!t)return e;let n=Mr(this.host.getRootNode()).find(e=>e.id===this.host.getAttribute(`popovertarget`))??null;return n!==e&&(this.host.popoverTargetElement=n),this.#e=n,n}#n=e=>{if(e.defaultPrevented||this.host.disabled)return;let t=this.#t();t&&this.#i(t)&&this.#a()};#r(e){return e.anchor?Nr(e):this.host}#i(e){if(this.host.popoverTargetAction===`hide`)return e.hidePopover(),!1;let t=this.#r(e);return this.host.popoverTargetAction===`show`?e.showPopover({source:t}):e.togglePopover({source:t}),e.matches(`:popover-open`)}#a(){if(this.host.interestForElement){let e=new Event(`loseinterest`,{cancelable:!0});e.source=this.host,this.host.interestForElement.dispatchEvent(e)}}},di=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host),this.host.addEventListener(`keypress`,this.#e),this.host.addEventListener(`mousedown`,this.#e),this.host.addEventListener(`keyup`,this.#t),this.host.addEventListener(`blur`,this.#t),this.host.addEventListener(`mouseup`,this.#t)}hostDisconnected(){this.host.removeEventListener(`keypress`,this.#e),this.host.removeEventListener(`mousedown`,this.#e),this.host.removeEventListener(`keyup`,this.#t),this.host.removeEventListener(`blur`,this.#t),this.host.removeEventListener(`mouseup`,this.#t)}#e=e=>{!this.host.disabled&&this.#n(e)&&this.host._internals.states.add(`active`),e instanceof KeyboardEvent&&e.code===`Space`&&e.target===this.host&&e.preventDefault()};#t=()=>{this.host._internals.states.delete(`active`)};#n(e){return e instanceof KeyboardEvent?e.code===`Space`||e.code===`Enter`:!0}},fi=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaCurrent=null,j(this.host._internals,`current`,!1),this.#t()):this.host._internals?.states.has(`anchor`)?(this.host._internals.ariaCurrent=null,j(this.host._internals,`current`,!!this.host.current),this.#t()):(this.host._internals.ariaCurrent=this.host.current===null||this.host.current===void 0?null:this.host.current,j(this.host._internals,`current`,!!this.host.current))}#t(){let e=this.host.querySelector(`a`),t=!this.host.readOnly&&this.host._internals.states.has(`anchor`)&&!!(this.host.selected||this.host.current);e&&t?(this.#e?.removeAttribute(`aria-current`),e.setAttribute(`aria-current`,this.host.current??`page`),this.#e=e):(this.#e?.removeAttribute(`aria-current`),this.#e=null)}},pi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host.disabled!==null&&this.host.disabled!==void 0?this.host._internals.ariaDisabled=`${this.host.disabled}`:this.host._internals.ariaDisabled=null,this.host.disabled?this.host._internals.states.add(`disabled`):this.host._internals.states.delete(`disabled`),this.host.readOnly&&(this.host._internals.ariaDisabled=null)}},mi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host._internals.ariaExpanded=this.host.expanded===null||this.host.expanded===void 0?null:`${this.host.expanded}`,j(this.host._internals,`expanded`,!!this.host.expanded)}},hi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host._internals.ariaPressed=this.host.pressed===null||this.host.pressed===void 0?null:`${this.host.pressed}`,j(this.host._internals,`pressed`,!!this.host.pressed)}},gi=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host.readOnly&&(this.host._internals.ariaDisabled=null,this.host._internals.ariaExpanded=null,this.host._internals.ariaPressed=null,this.host._internals.ariaSelected=null,this.host._internals.ariaCurrent=null,this.host._internals.states.delete(`expanded`),this.host._internals.states.delete(`pressed`),this.host._internals.states.delete(`selected`),this.host._internals.states.delete(`current`))}},_i=class{#e=null;constructor(e){this.host=e,this.host.addController(this)}hostConnected(){jr(this.host)}hostUpdated(){this.host.readOnly?(this.host._internals.ariaSelected=null,j(this.host._internals,`selected`,!1),this.#t()):this.host._internals?.states.has(`anchor`)?(this.host._internals.ariaSelected=null,j(this.host._internals,`selected`,!!this.host.selected),this.#t()):(this.host._internals.ariaSelected=this.host.selected===null||this.host.selected===void 0?null:`${this.host.selected}`,j(this.host._internals,`selected`,!!this.host.selected))}#t(){let e=this.host.querySelector(`a`),t=!this.host.readOnly&&this.host._internals.states.has(`anchor`)&&!!(this.host.selected||this.host.current);e&&t?(this.#e?.removeAttribute(`aria-current`),e.setAttribute(`aria-current`,this.host.current??`page`),this.#e=e):(this.#e?.removeAttribute(`aria-current`),this.#e=null)}},vi={commandfor:`commandForElement`,interestfor:`interestForElement`,popovertarget:`popoverTargetElement`};function yi(e){return class t extends e{constructor(...e){super(...e),this.#n=!1,this.#r={commandForElement:null,interestForElement:null,popoverTargetElement:null},this.#a=null,this.#o=!1,this.#c=/* @__PURE__ */ new Map,this.#d=!1,this.#p=!1,this._internals=jr(this),this._typeAnchorController=new ai(this),this._typeButtonController=new oi(this),this._typeSubmitController=new li(this),this._typeCommandController=new si(this),this._typeInterestInvokerController=new ci(this),this._typePopoverTriggerController=new ui(this),this._stateActiveController=new di(this),this._stateDisabledController=new pi(this),this._stateExpandedController=new mi(this),this._statePressedController=new hi(this),this._stateSelectedController=new _i(this),this._stateCurrentController=new fi(this),this._stateReadOnlyController=new gi(this)}static{this.formAssociated=!0}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;#h;static get observedAttributes(){return(super.observedAttributes??[]).concat([`pressed`,`expanded`,`readonly`,`form`,`name`,`value`,`type`,`disabled`,`selected`,`current`,`popovertarget`,`popovertargetaction`,`commandfor`,`command`,`interestfor`])}get pressed(){return this.#u}set pressed(e){this.#w({property:`pressed`,value:!!e,reflect:!0})}get expanded(){return this.#i}set expanded(e){this.#w({property:`expanded`,value:!!e,reflect:!0})}get readOnly(){return this.#d||(this._typeAnchorController?.readOnly??!1)}set readOnly(e){this.#w({property:`readOnly`,value:!!e,reflect:!0,attribute:`readonly`})}get readonly(){return this.readOnly}set readonly(e){this.readOnly=e}set form(e){let t=this.form;this.#a=e,typeof e==`string`?this.setAttribute(`form`,e):this.removeAttribute(`form`),this.#j(`form`,t),this.#g()}get form(){if(this.#a&&typeof this.#a!=`string`)return this.#a;if(typeof this.#a==`string`&&globalThis.document!==void 0){let e=this.getRootNode(),t=e.getElementById?e.getElementById(this.#a):null;return Ir(t)?t:null}return this._internals?.form??null}get name(){return this.#s}set name(e){this.#D({property:`name`,value:e})}get value(){return this.#h}set value(e){this.#D({property:`value`,value:e})}get type(){return this.#m??this._typeSubmitController?.defaultType}set type(e){this.#D({property:`type`,value:e})}get disabled(){return this.#n}set disabled(e){this.#w({property:`disabled`,value:!!e,reflect:!0})}get selected(){return this.#f}set selected(e){this.#w({property:`selected`,value:!!e,reflect:!0})}get current(){return this.#t}set current(e){this.#D({property:`current`,value:e})}get popoverTargetElement(){return this.#x(`popovertarget`)}set popoverTargetElement(e){this.#C(`popovertarget`,e)}get popoverTargetAction(){return this.#l===`show`||this.#l===`hide`?this.#l:`toggle`}set popoverTargetAction(e){this.#D({property:`popoverTargetAction`,value:e,attribute:`popovertargetaction`})}get commandForElement(){return this.#x(`commandfor`)}set commandForElement(e){this.#C(`commandfor`,e)}get command(){return this.#e}set command(e){this.#D({property:`command`,value:e})}get interestForElement(){return this.#x(`interestfor`)}set interestForElement(e){this.#C(`interestfor`,e)}addController(e){this._controllers??=/* @__PURE__ */ new Set,this._controllers.add(e)}connectedCallback(){super.connectedCallback?.(),this._controllers?.forEach(e=>e.hostConnected?.()),jr(this),this.#o=!0,this.#N(),this.#_(),this.#g()}disconnectedCallback(){this._controllers?.forEach(e=>e.hostDisconnected?.()),super.disconnectedCallback?.()}updated(e){Object.getPrototypeOf(t.prototype).updated?.call(this,e),this.#p=!1,this.#_()}attributeChangedCallback(e,t,n){super.attributeChangedCallback?.(e,t,n),t!==n&&(this.#v(e,n),this.#b(e,t),this.#y(e,t,n))}#g(){!this.isConnected||this.#p||(this.#p=!0,this.#M().then(()=>{this.#p&&(this.#p=!1,this.isConnected&&this.#_())}))}#_(){this._controllers?.forEach(e=>e.hostUpdated?.())}#v(e,t){(e===`pressed`||e===`expanded`||e===`selected`||e===`disabled`)&&this.#w({property:e,value:t!==null,reflect:!1}),e===`readonly`&&this.#w({property:`readOnly`,value:t!==null,reflect:!1})}#y(e,t,n){e!==`commandfor`&&e!==`interestfor`&&e!==`popovertarget`&&(e===`form`&&(Ir(this.#a)&&n===null||(this.#a=n,this.#j(`form`,t))),e===`popovertargetaction`?this.#D({property:`popoverTargetAction`,value:n,reflect:!1}):this.#D({property:e,value:n,reflect:!1}))}#b(e,t){let n=vi[e];if(!n)return;let r=this.#r[n]??this.#S(t);this.#r[n]=null,this.#j(n,r),this.#g()}#x(e){return this.#r[vi[e]]??this.#S(this.getAttribute(e))}#S(e){return e?Mr(this.getRootNode()).find(t=>t.id===e)??null:null}#C(e,t){let n=vi[e],r=this[n];r===t&&Fr(this,e,t?``:null)||(Rr(this,e,t?``:null),this.#r[n]=t,this.#j(n,r),this.#g())}#w({property:e,value:t,reflect:n,attribute:r=e}){let i=this.#T(e);(i!==t||n&&!Fr(this,r,t?``:null))&&(this.#E(e,t),!(n&&this.#A(r,t?``:null))&&(this.#j(e,i),this.#g()))}#T(e){return{disabled:this.#n,expanded:this.#i,pressed:this.#u,readOnly:this.#d,selected:this.#f}[e]}#E(e,t){e===`disabled`?this.#n=t:e===`expanded`?this.#i=t:e===`pressed`?this.#u=t:e===`readOnly`?this.#d=t:e===`selected`&&(this.#f=t)}#D({property:e,value:t,attribute:n=e,reflect:r=!0}){let i=this.#O(e),a=Pr(t);(i!==a||r&&!Fr(this,n,a))&&(this.#k(e,a),!(r&&this.#A(n,a))&&(this.#j(e,i),this.#g()))}#O(e){return{command:this.#e,current:this.#t,name:this.#s,popoverTargetAction:this.#l,type:this.#m,value:this.#h}[e]}#k(e,t){({command:()=>this.#e=t??void 0,current:()=>this.#t=t,name:()=>this.#s=t??void 0,popoverTargetAction:()=>this.#l=t,type:()=>this.#m=t,value:()=>this.#h=t??void 0})[e]?.()}#A(e,t){return!this.isConnected&&!this.#o?(this.hasAttribute(e)||this.#c.set(e,t),!0):(Rr(this,e,t),!1)}#j(e,t){this.requestUpdate?.(e,t)}#M(){return this.updateComplete??Promise.resolve()}#N(){this.#c.forEach((e,t)=>Rr(this,t,e)),this.#c.clear()}}}var bi=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--background: var(--nve-sys-interaction-background);--color: var(--nve-sys-interaction-color);--padding: 0 var(--nve-ref-size-300);--border: 0;--border-radius: var(--nve-ref-border-radius-full);--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-100);--text-decoration: none;--text-align: center;--cursor: pointer;--gap: var(--nve-ref-space-xs);--height: var(--nve-sys-interaction-field-height);--text-transform: capitalize;--line-height: 1.1em;--_icon-color: var(--color);--width: initial;--min-width: var(--width);display:inline-flex;position:relative;user-select:none;white-space:nowrap;width:var(--width);min-width:var(--min-width)}[internal-host]{color:var(--color);background:var(--background);padding:var(--padding);height:var(--height);width:100%;border:var(--border);border-radius:var(--border-radius);text-decoration:var(--text-decoration);text-align:var(--text-align);font-weight:var(--font-weight);font-size:var(--font-size);cursor:var(--cursor);gap:var(--gap);text-transform:var(--text-transform);display:inline-flex;place-items:center;justify-content:center;white-space:nowrap;line-height:var(--line-height);overflow:hidden}::slotted(nve-icon:not([status])){--color: var(--_icon-color);pointer-events:none}::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}:host([nve-control]){--text-align: start;--border-radius: var(--nve-ref-border-radius-sm);--font-weight: var(--nve-ref-font-weight-regular);--padding: 0 var(--nve-ref-size-200)}:host([nve-control]) [internal-host]{justify-content:start}:host([nve-control]) ::slotted([name="chevron-down"]){--color: var(--nve-sys-text-muted-color);margin-inline:auto 0}:host([nve-control]:hover) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([size="sm"]){--height: var(--nve-ref-size-700)}:host([size="lg"]){--height: var(--nve-ref-size-900);--padding: 0 var(--nve-ref-size-400);--font-size: var(--nve-ref-font-size-200);--line-height: 1em}:host([readonly]){--text-decoration: none;--cursor: cursor}:host([interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-color);--background: var(--nve-sys-interaction-emphasis-background)}:host([interaction="destructive"]){--color: var(--nve-sys-interaction-destructive-color);--background: var(--nve-sys-interaction-destructive-background)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: var(--nve-sys-interaction-disabled-background);--cursor: not-allowed}:host(:state(disabled)) ::slotted(a){cursor:not-allowed}:host(:state(pressed):not([interaction])){--color: var(--nve-sys-interaction-selected-color)}:host(:state(pressed):not([interaction],[container])){--background: var(--nve-sys-support-accent-color);--color: var(--nve-sys-text-white-color)}:host(:hover:not([interaction],[disabled],[readonly],[pressed])){--color: var(--nve-sys-interaction-hover-color)}:host([container="flat"][selected]) [interaction-state],:host([container="flat"]:state(selected)) [interaction-state],:host([container="flat"][pressed]) [interaction-state],:host([container="flat"]:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([container*="flat"]),:host([container*="inline"]){--background: transparent;--text-transform: initial;--border-radius: var(--nve-ref-border-radius-xs);--_icon-color: var(--color)}:host([container*="flat"][interaction]:hover){--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}@container style(--nve-sys-color-scheme: dark){:host([container*="flat"]){--nve-sys-interaction-state-ratio-selected: 16% !important;--nve-sys-interaction-state-ratio-hover: 12% !important}}:host([container*="flat"][interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-background)}:host([container*="flat"][interaction="destructive"]){--color: color-mix(in oklab, var(--nve-sys-interaction-destructive-background) 100%, currentColor 20%)}:host([container*="inline"]){--padding: 0;--height: fit-content;--line-height: .8;[internal-host]{overflow:initial}}:host([container*="inline"]:hover){--background: transparent;--text-decoration: underline}:host([container*="inline"]:hover) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"]:state(active)){--background: transparent;--text-decoration: underline}:host([container*="flat"]:state(disabled)),:host([container*="inline"]:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: transparent;--text-decoration: none !important}:host([container*="flat"]:state(disabled)) [interaction-state],:host([container*="inline"]:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"]:state(selected)){--color: var(--nve-sys-interaction-selected-color);--background: transparent}:host([container*="flat"]:state(selected)){--color: var(--nve-sys-interaction-selected-color)}:host([container*="flat"][interaction="emphasis"]:state(selected)){--color: var(--nve-sys-interaction-emphasis-background);--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}:host([container*="flat"][interaction="destructive"]:state(selected)){--color: var(--nve-sys-interaction-destructive-background);--background: color-mix( in oklab, var(--color) var(--nve-sys-contrast-mute-ratio), var(--nve-sys-contrast-mute-color) )}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color)}:host([container*="inline"]:state(selected)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="inline"][readonly]:not(:state(anchor))){--text-decoration: none;--cursor: cursor}:host([container="inline"][interaction="destructive"]){--color: color-mix(in oklab, var(--nve-sys-interaction-destructive-background) 100%, currentColor 20%)}:host([container="inline"][interaction="emphasis"]){--color: var(--nve-sys-interaction-emphasis-background)}@keyframes inline-underline{0%{transform:translate(-50%) scaleX(0)}to{transform:translate(-50%) scaleX(1)}}:host([container*="inline"]) [internal-host]:after{content:"";position:absolute;left:50%;bottom:calc(var(--_border-bottom-offset, -2) * var(--nve-ref-border-width-md));width:var(--_border-bottom-width, 100%);height:var(--nve-ref-border-width-md);background-color:currentColor;transform:translate(-50%) scaleX(0);transform-origin:center;transition:transform .3s ease;will-change:transform;border-radius:var(--nve-ref-border-radius-full)}:host([container*="inline"]:hover) [internal-host]:after,:host([container*="inline"]:focus) [internal-host]:after{transform:translate(-50%) scaleX(1)}:host([container*="inline"]:state(disabled)) [internal-host]:after{display:none}:host([container*="inline"]){--text-decoration: none}:host([container*="inline"]:hover){--text-decoration: none}`;function M(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var xi=class extends yi(y){static{this.styles=k([bi])}static{this.metadata={tag:`nve-button`,version:`0.0.0`}}render(){return _`<div internal-host interaction-state focus-within><slot></slot></div>`}};M([b({type:String,reflect:!0})],xi.prototype,`container`,void 0),M([b({type:String,reflect:!0})],xi.prototype,`size`,void 0),M([b({type:String,reflect:!0})],xi.prototype,`interaction`,void 0);var Si={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ci=e=>(...t)=>({_$litDirective$:e,values:t}),wi=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}},Ti=class extends wi{constructor(e){if(super(e),this.it=v,e.type!==Si.CHILD)throw Error(this.constructor.directiveName+`() can only be used in child bindings`)}render(e){if(e===v||e==null)return this._t=void 0,this.it=e;if(e===Ye)return e;if(typeof e!=`string`)throw Error(this.constructor.directiveName+`() called with a non-string value`);if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};Ti.directiveName=`unsafeHTML`,Ti.resultType=1;var Ei=class extends Ti{};Ei.directiveName=`unsafeSVG`,Ei.resultType=2;var Di=Ci(Ei);function N(e){return b({...e,state:!0,attribute:!1})}var Oi=/* @__PURE__ */ n({default:()=>ki}),ki,Ai=t((()=>{ki=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dashed" viewBox="1 1 22 22"><path d="M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7"/></svg>`})),ji=/* @__PURE__ */ n({default:()=>Mi}),Mi,Ni=t((()=>{Mi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-triangle" viewBox="0 0 16 10"><path fill="currentColor" d="M8 0c.288 0 .563.125.753.342l7 8A1 1 0 0 1 15 10H1a1 1 0 0 1-.753-1.658l7-8A1 1 0 0 1 8 0"/></svg>`})),Pi=/* @__PURE__ */ n({default:()=>Fi}),Fi,Ii=t((()=>{Fi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-user" viewBox="4 2 16 20"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>`})),Li=/* @__PURE__ */ n({default:()=>Ri}),Ri,zi=t((()=>{Ri=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-menu" viewBox="3 4 18 16"><path d="M4 5h16M4 12h16M4 19h16"/></svg>`})),Bi=/* @__PURE__ */ n({default:()=>Vi}),Vi,Hi=t((()=>{Vi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-x" viewBox="5 5 14 14"><path d="M18 6 6 18M6 6l12 12"/></svg>`})),Ui=/* @__PURE__ */ n({default:()=>Wi}),Wi,Gi=t((()=>{Wi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-settings" viewBox="2.04 1.02 19.91 21.96"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3"/></svg>`})),Ki=/* @__PURE__ */ n({default:()=>qi}),qi,Ji=t((()=>{qi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevron-up" viewBox="5 8 14 8"><path d="m18 15-6-6-6 6"/></svg>`})),Yi=/* @__PURE__ */ n({default:()=>Xi}),Xi,Zi=t((()=>{Xi=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-log-out" viewBox="2 2 20 20"><path d="m16 17 5-5-5-5m5 5H9m0 9H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/></svg>`})),Qi=/* @__PURE__ */ n({default:()=>$i}),$i,ea=t((()=>{$i=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-copy" viewBox="1 1 22 22"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`})),ta=/* @__PURE__ */ n({default:()=>na}),na,ra=t((()=>{na=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-more-horizontal" viewBox="3 10 18 4"><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/></svg>`})),ia=/* @__PURE__ */ n({default:()=>aa}),aa,oa=t((()=>{aa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-plus" viewBox="4 4 16 16"><path d="M5 12h14m-7-7v14"/></svg>`})),sa=/* @__PURE__ */ n({default:()=>ca}),ca,la=t((()=>{ca=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up" viewBox="4 4 16 16"><path d="m5 12 7-7 7 7m-7 7V5"/></svg>`})),ua=/* @__PURE__ */ n({default:()=>da}),da,fa=t((()=>{da=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trash-2" viewBox="2 1 20 22"><path d="M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></svg>`})),pa=/* @__PURE__ */ n({default:()=>ma}),ma,ha=t((()=>{ma=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-download" viewBox="2 2 20 20"><path d="M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m7 10 5 5 5-5"/></svg>`})),ga=/* @__PURE__ */ n({default:()=>_a}),_a,va=t((()=>{_a=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-search" viewBox="2 2 20 20"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg>`})),ya=/* @__PURE__ */ n({default:()=>ba}),ba,xa=t((()=>{ba=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-split-horizontal" viewBox="0 0 24 24"><path d="M12 2v20m4-19h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3m-8 0H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3"/></svg>`})),Sa=/* @__PURE__ */ n({default:()=>Ca}),Ca,wa=t((()=>{Ca=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sparkles" viewBox="1 1 22 22"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4"/><circle cx="4" cy="20" r="2"/></svg>`})),Ta=/* @__PURE__ */ n({default:()=>Ea}),Ea,Da=t((()=>{Ea=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-branch" viewBox="2 2 20 20"><path d="M15 6a9 9 0 0 0-9 9V3"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/></svg>`})),Oa=/* @__PURE__ */ n({default:()=>ka}),ka,Aa=t((()=>{ka=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-refresh-cw" viewBox="2 2 20 20"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5m5 4a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></svg>`})),ja=/* @__PURE__ */ n({default:()=>Ma}),Ma,Na=t((()=>{Ma=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevrons-up" viewBox="5 5 14 14"><path d="m17 11-5-5-5 5m10 7-5-5-5 5"/></svg>`})),Pa=/* @__PURE__ */ n({default:()=>Fa}),Fa,Ia=t((()=>{Fa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-graduation-cap" viewBox="1 4 22.02 16"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0zM22 10v6"/><path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></svg>`})),La=/* @__PURE__ */ n({default:()=>Ra}),Ra,za=t((()=>{Ra=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-plus" viewBox="3 1 18 22"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5M9 15h6m-3 3v-6"/></svg>`})),Ba=/* @__PURE__ */ n({default:()=>Va}),Va,Ha=t((()=>{Va=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-message-circle-plus" viewBox="1 1 22 22"><path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719M8 12h8m-4-4v8"/></svg>`})),Ua=/* @__PURE__ */ n({default:()=>Wa}),Wa,Ga=t((()=>{Wa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-2x2-plus" viewBox="2 2 21 21"><path d="M12 3v17a1 1 0 0 1-1 1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v6a1 1 0 0 1-1 1H3m13 7h6m-3 3v-6"/></svg>`})),Ka=/* @__PURE__ */ n({default:()=>qa}),qa,Ja=t((()=>{qa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-user-plus" viewBox="1 2 22 20"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M19 8v6m3-3h-6"/></svg>`})),Ya=/* @__PURE__ */ n({default:()=>Xa}),Xa,Za=t((()=>{Xa=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-tree" viewBox="2 4 20 16"><path d="M8 5h13m-8 7h8m-8 7h8M3 10a2 2 0 0 0 2 2h3"/><path d="M3 5v12a2 2 0 0 0 2 2h3"/></svg>`})),Qa=/* @__PURE__ */ n({default:()=>$a}),$a,eo=t((()=>{$a=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-archive" viewBox="1 2 22 20"><rect width="20" height="5" x="2" y="3" rx="1"/><path d="M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4"/></svg>`})),to=/* @__PURE__ */ n({default:()=>no}),no,ro=t((()=>{no=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-right" viewBox="6 6 12 12"><path d="M7 7h10v10M7 17 17 7"/></svg>`})),io=/* @__PURE__ */ n({default:()=>ao}),ao,oo=t((()=>{ao=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-move-vertical" viewBox="7 1 10 22"><path d="M12 2v20m-4-4 4 4 4-4M8 6l4-4 4 4"/></svg>`})),so=/* @__PURE__ */ n({default:()=>co}),co,lo=t((()=>{co=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-iteration-ccw" viewBox="3 1 18 22"><path d="m16 14 4 4-4 4"/><path d="M20 10a8 8 0 1 0-8 8h8"/></svg>`})),uo=/* @__PURE__ */ n({default:()=>fo}),fo,po=t((()=>{fo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-cw-square" viewBox="3 1 18 20"><path d="M12 5H6a2 2 0 0 0-2 2v3"/><path d="m9 8 3-3-3-3M4 14v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2"/></svg>`})),mo=/* @__PURE__ */ n({default:()=>ho}),ho,go=t((()=>{ho=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-to-line" viewBox="2 2 20 20"><path d="M5 3h14m-1 10-6-6-6 6m6-6v14"/></svg>`})),_o=/* @__PURE__ */ n({default:()=>vo}),vo,yo=t((()=>{vo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-at-sign" viewBox="1 1 22 22"><circle cx="12" cy="12" r="4"/><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8"/></svg>`})),bo=/* @__PURE__ */ n({default:()=>xo}),xo,So=t((()=>{xo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-delete" viewBox="1 4 22 16"><path d="M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm2 4 6 6m0-6-6 6"/></svg>`})),Co=/* @__PURE__ */ n({default:()=>wo}),wo,To=t((()=>{wo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-start" viewBox="2 1 20 19"><path d="M3 5h6m-6 7h13M3 19h13m0-11-3-3 3-3"/><path d="M21 19V7a2 2 0 0 0-2-2h-6"/></svg>`})),Eo=/* @__PURE__ */ n({default:()=>Do}),Do,Oo=t((()=>{Do=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-menu" viewBox="3 4 18 16"><path d="M4 5h16M4 12h16M4 19h16"/></svg>`})),ko=/* @__PURE__ */ n({default:()=>Ao}),Ao,jo=t((()=>{Ao=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-start" viewBox="2 4 20 16"><path d="M21 5H3m12 7H3m14 7H3"/></svg>`})),Mo=/* @__PURE__ */ n({default:()=>No}),No,Po=t((()=>{No=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-end" viewBox="2 4 20 16"><path d="M21 5H3m18 7H9m12 7H7"/></svg>`})),Fo=/* @__PURE__ */ n({default:()=>Io}),Io,Lo=t((()=>{Io=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-text-align-start" viewBox="2 4 20 16"><path d="M21 5H3m12 7H3m14 7H3"/></svg>`})),Ro=/* @__PURE__ */ n({default:()=>zo}),zo,Bo=t((()=>{zo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-tally-4" viewBox="3 3 18 17"><path d="M4 4h16M4 9h16M4 14h16M4 19h16"/></svg>`})),Vo=/* @__PURE__ */ n({default:()=>Ho}),Ho,Uo=t((()=>{Ho=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-flask-conical" viewBox="3 1 18 22"><path d="M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7"/></svg>`})),Wo=/* @__PURE__ */ n({default:()=>Go}),Go,Ko=t((()=>{Go=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bell" viewBox="2 1 20 22"><path d="M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"/></svg>`})),qo=/* @__PURE__ */ n({default:()=>Jo}),Jo,Yo=t((()=>{Jo=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bell-off" viewBox="1 1 22 22"><path d="M10.268 21a2 2 0 0 0 3.464 0M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742M2 2l20 20M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05"/></svg>`})),Xo=/* @__PURE__ */ n({default:()=>Zo}),Zo,Qo=t((()=>{Zo=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-bell" viewBox="2 2 20.01 20"><path fill="currentColor" d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326M10.268 21a2 2 0 0 0 3.464 0z"/></svg>`})),$o=/* @__PURE__ */ n({default:()=>es}),es,ts=t((()=>{es=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bold" viewBox="5 3 15 18"><path d="M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8"/></svg>`})),ns=/* @__PURE__ */ n({default:()=>rs}),rs,is=t((()=>{rs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-book-open" viewBox="1 2 22 20"><path d="M12 7v14m-9-3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>`})),as=/* @__PURE__ */ n({default:()=>os}),os,ss=t((()=>{os=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-book-open" viewBox="2 0.84 20 20.01"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 7v14"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),cs=/* @__PURE__ */ n({default:()=>ls}),ls,us=t((()=>{ls=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bookmark" viewBox="4 2 16 20"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg>`})),ds=/* @__PURE__ */ n({default:()=>fs}),fs,ps=t((()=>{fs=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-bookmark" viewBox="4.8 3 14.4 18"><path fill="currentColor" d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/><path fill="none" d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg>`})),ms=/* @__PURE__ */ n({default:()=>hs}),hs,gs=t((()=>{hs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-vector-square" viewBox="1 1 22 22"><path d="M19.5 7a24 24 0 0 1 0 10M4.5 7a24 24 0 0 0 0 10M7 19.5a24 24 0 0 0 10 0M7 4.5a24 24 0 0 1 10 0"/><rect width="5" height="5" x="17" y="17" rx="1"/><rect width="5" height="5" x="17" y="2" rx="1"/><rect width="5" height="5" x="2" y="17" rx="1"/><rect width="5" height="5" x="2" y="2" rx="1"/></svg>`})),_s=/* @__PURE__ */ n({default:()=>vs}),vs,ys=t((()=>{vs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-briefcase-business" viewBox="1 1 22 20"><path d="M12 12h.01M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2m14 7a18.15 18.15 0 0 1-20 0"/><rect width="20" height="14" x="2" y="6" rx="2"/></svg>`})),bs=/* @__PURE__ */ n({default:()=>xs}),xs,Ss=t((()=>{xs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-tower" viewBox="0.97 0.9 22.05 22.1"><path d="M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5"/><circle cx="12" cy="9" r="2"/><path d="M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11 4 11"/></svg>`})),Cs=/* @__PURE__ */ n({default:()=>ws}),ws,Ts=t((()=>{ws=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-app-window" viewBox="1 3 22 18"><rect width="20" height="16" x="2" y="4" rx="2"/><path d="M10 4v4M2 8h20M6 4v4"/></svg>`})),Es=/* @__PURE__ */ n({default:()=>Ds}),Ds,Os=t((()=>{Ds=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bug" viewBox="1 1 22 21"><path d="M12 20v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4zm.12-3.12L16 2"/><path d="M21 21a4 4 0 0 0-3.81-4M21 5a4 4 0 0 1-3.55 3.97M22 13h-4M3 21a4 4 0 0 1 3.81-4M3 5a4 4 0 0 0 3.55 3.97M6 13H2M8 2l1.88 1.88M9 7.13V6a3 3 0 1 1 6 0v1.13"/></svg>`})),ks=/* @__PURE__ */ n({default:()=>As}),As,js=t((()=>{As=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-calendar-days" viewBox="2 1 20 22"><path d="M8 2v4m8-4v4"/><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01"/></svg>`})),Ms=/* @__PURE__ */ n({default:()=>Ns}),Ns,Ps=t((()=>{Ns=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-camera" viewBox="1 3 22 18"><path d="M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z"/><circle cx="12" cy="13" r="3"/></svg>`})),Fs=/* @__PURE__ */ n({default:()=>Is}),Is,Ls=t((()=>{Is=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-code-square" viewBox="2 2 20 20"><path d="m10 9-3 3 3 3m4 0 3-3-3-3"/><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),Rs=/* @__PURE__ */ n({default:()=>zs}),zs,Bs=t((()=>{zs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-horizontal" viewBox="1 2 22 20"><path d="M2 3v18"/><rect width="12" height="18" x="6" y="3" rx="2"/><path d="M22 3v18"/></svg>`})),Vs=/* @__PURE__ */ n({default:()=>Hs}),Hs,Us=t((()=>{Hs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-sort-descending" viewBox="2 4 20 16"><path d="M15 12H3m0-7h18M9 19H3"/></svg>`})),Ws=/* @__PURE__ */ n({default:()=>Gs}),Gs,Ks=t((()=>{Gs=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-bar-chart" viewBox="4 2 16 20"><path d="M5 21v-6m7 6V9m7 12V3"/></svg>`})),qs=/* @__PURE__ */ n({default:()=>Js}),Js,Ys=t((()=>{Js=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-message-square-text" viewBox="1 2 22 21"><path d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM7 11h10M7 15h6M7 7h8"/></svg>`})),Xs=/* @__PURE__ */ n({default:()=>Zs}),Zs,Qs=t((()=>{Zs=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-message-square-text" viewBox="2 2.5 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M7 11h10M7 15h6M7 7h8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),$s=/* @__PURE__ */ n({default:()=>ec}),ec,tc=t((()=>{ec=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-messages-square" viewBox="1 1 22 22"><path d="M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2zm4-1a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1"/></svg>`})),nc=/* @__PURE__ */ n({default:()=>rc}),rc,ic=t((()=>{rc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-check" viewBox="3 5 18 13"><path d="M20 6 9 17l-5-5"/></svg>`})),ac=/* @__PURE__ */ n({default:()=>oc}),oc,sc=t((()=>{oc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-badge-check" viewBox="0.99 1 22.01 22"><path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76"/><path d="m9 12 2 2 4-4"/></svg>`})),cc=/* @__PURE__ */ n({default:()=>lc}),lc,uc=t((()=>{lc=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-badge-check" viewBox="1.98 1.99 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 12 2 2 4-4"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),dc=/* @__PURE__ */ n({default:()=>fc}),fc,pc=t((()=>{fc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard-list" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01"/></svg>`})),mc=/* @__PURE__ */ n({default:()=>hc}),hc,gc=t((()=>{hc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-check" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m16 9-5.5 5.5L8 12"/></svg>`})),_c=/* @__PURE__ */ n({default:()=>vc}),vc,yc=t((()=>{vc=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-check" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 12 2 2 4-4"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),bc=/* @__PURE__ */ n({default:()=>xc}),xc,Sc=t((()=>{xc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cpu" viewBox="1 1 22 22"><path d="M12 20v2m0-20v2m5 16v2m0-20v2M2 12h2m-2 5h2M2 7h2m16 5h2m-2 5h2M20 7h2M7 20v2M7 2v2"/><rect width="16" height="16" x="4" y="4" rx="2"/><rect width="8" height="8" x="8" y="8" rx="1"/></svg>`})),Cc=/* @__PURE__ */ n({default:()=>wc}),wc,Tc=t((()=>{wc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/></svg>`})),Ec=/* @__PURE__ */ n({default:()=>Dc}),Dc,Oc=t((()=>{Dc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-slash" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m9 15 6-6"/></svg>`})),kc=/* @__PURE__ */ n({default:()=>Ac}),Ac,jc=t((()=>{Ac=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-slash" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m9 15 6-6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Mc=/* @__PURE__ */ n({default:()=>Nc}),Nc,Pc=t((()=>{Nc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dashed" viewBox="1 1 22 22"><path d="M10.1 2.182a10 10 0 0 1 3.8 0m0 19.636a10 10 0 0 1-3.8 0m7.509-18.097a10 10 0 0 1 2.69 2.7M2.182 13.9a10 10 0 0 1 0-3.8m18.097 7.509a10 10 0 0 1-2.7 2.69M21.818 10.1a10 10 0 0 1 0 3.8M3.721 6.391a10 10 0 0 1 2.7-2.69m-.03 16.578a10 10 0 0 1-2.69-2.7"/></svg>`})),Fc=/* @__PURE__ */ n({default:()=>Ic}),Ic,Lc=t((()=>{Ic=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-dot" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="1"/></svg>`})),Rc=/* @__PURE__ */ n({default:()=>zc}),zc,Bc=t((()=>{zc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-refresh-ccw-dot" viewBox="2 2 20 20"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m-5 4a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"/><path d="M16 16h5v5"/><circle cx="12" cy="12" r="1"/></svg>`})),Vc=/* @__PURE__ */ n({default:()=>Hc}),Hc,Uc=t((()=>{Hc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-contrast" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 18a6 6 0 0 0 0-12z"/></svg>`})),Wc=/* @__PURE__ */ n({default:()=>Gc}),Gc,Kc=t((()=>{Gc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-commit-horizontal" viewBox="2 8 20 8"><circle cx="12" cy="12" r="3"/><path d="M3 12h6m6 0h6"/></svg>`})),qc=/* @__PURE__ */ n({default:()=>Jc}),Jc,Yc=t((()=>{Jc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-loader" viewBox="1 1 22 22"><path d="M12 2v4m4.2 1.8 2.9-2.9M18 12h4m-5.8 4.2 2.9 2.9M12 18v4m-7.1-2.9 2.9-2.9M2 12h4M4.9 4.9l2.9 2.9"/></svg>`})),Xc=/* @__PURE__ */ n({default:()=>Zc}),Zc,Qc=t((()=>{Zc=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>`})),$c=/* @__PURE__ */ n({default:()=>el}),el,tl=t((()=>{el=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clock" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>`})),nl=/* @__PURE__ */ n({default:()=>rl}),rl,il=t((()=>{rl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-history" viewBox="2 2 20 20"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m4-1v5l4 2"/></svg>`})),al=/* @__PURE__ */ n({default:()=>ol}),ol,sl=t((()=>{ol=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud" viewBox="1 4 22 16"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9"/></svg>`})),cl=/* @__PURE__ */ n({default:()=>ll}),ll,ul=t((()=>{ll=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud-download" viewBox="1 2 22 20"><path d="M12 13v8l-4-4m4 4 4-4"/><path d="M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284"/></svg>`})),dl=/* @__PURE__ */ n({default:()=>fl}),fl,pl=t((()=>{fl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-cloud-upload" viewBox="1 2 22 20"><path d="M12 13v8m-8-6.101A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"/><path d="m8 17 4-4 4 4"/></svg>`})),ml=/* @__PURE__ */ n({default:()=>hl}),hl,gl=t((()=>{hl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-code-xml" viewBox="1 3 22 18"><path d="m18 16 4-4-4-4M6 8l-4 4 4 4m8.5-12-5 16"/></svg>`})),_l=/* @__PURE__ */ n({default:()=>vl}),vl,yl=t((()=>{vl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-down-up" viewBox="2 4 20 16"><path d="M3 5h8m-8 7h8m-8 7h8m4-14 3 3 3-3m-6 14 3-3 3 3"/></svg>`})),bl=/* @__PURE__ */ n({default:()=>xl}),xl,Sl=t((()=>{xl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minimize-2" viewBox="2 2 20 20"><path d="m14 10 7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6"/></svg>`})),Cl=/* @__PURE__ */ n({default:()=>wl}),wl,Tl=t((()=>{wl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-palette" viewBox="1 1 22 22"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"/><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"/><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"/><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"/><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),El=/* @__PURE__ */ n({default:()=>Dl}),Dl,Ol=t((()=>{Dl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-columns-3" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18m6-18v18"/></svg>`})),kl=/* @__PURE__ */ n({default:()=>Al}),Al,jl=t((()=>{Al=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-compare-arrows" viewBox="1 2 22 20"><circle cx="5" cy="6" r="3"/><path d="M12 6h5a2 2 0 0 1 2 2v7"/><path d="m15 9-3-3 3-3"/><circle cx="19" cy="18" r="3"/><path d="M12 18H7a2 2 0 0 1-2-2V9"/><path d="m9 15 3 3-3 3"/></svg>`})),Ml=/* @__PURE__ */ n({default:()=>Nl}),Nl,Pl=t((()=>{Nl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-monitor" viewBox="1 2 22 20"><rect width="20" height="14" x="2" y="3" rx="2"/><path d="M8 21h8m-4-4v4"/></svg>`})),Fl=/* @__PURE__ */ n({default:()=>Il}),Il,Ll=t((()=>{Il=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-arrow" viewBox="3 3 19 18"><path d="M4 4h4a2 2 0 0 1 2 2v3M4 20h4a2 2 0 0 0 2-2v-3"/><circle cx="10" cy="12" r="3"/><path d="M13 12h7m-3-4 4 4-4 4"/></svg>`})),Rl=/* @__PURE__ */ n({default:()=>zl}),zl,Bl=t((()=>{zl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-workflow" viewBox="2 2 20 20"><rect width="8" height="8" x="3" y="3" rx="2"/><path d="M7 11v4a2 2 0 0 0 2 2h4"/><rect width="8" height="8" x="13" y="13" rx="2"/></svg>`})),Vl=/* @__PURE__ */ n({default:()=>Hl}),Hl,Ul=t((()=>{Hl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-crosshair" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M22 12h-4M6 12H2m10-6V2m0 20v-4"/></svg>`})),Wl=/* @__PURE__ */ n({default:()=>Gl}),Gl,Kl=t((()=>{Gl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mouse-pointer-click" viewBox="1.2 1.2 20.8 20.8"><path d="M14 4.1 12 6M5.1 8l-2.9-.8M6 12l-1.9 2M7.2 2.2 8 5.1m1.037 4.59a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"/></svg>`})),ql=/* @__PURE__ */ n({default:()=>Jl}),Jl,Yl=t((()=>{Jl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-target" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>`})),Xl=/* @__PURE__ */ n({default:()=>Zl}),Zl,Ql=t((()=>{Zl=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-database" viewBox="2 1 20 22"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v14a9 3 0 0 0 18 0V5"/><path d="M3 12a9 3 0 0 0 18 0"/></svg>`})),$l=/* @__PURE__ */ n({default:()=>eu}),eu,tu=t((()=>{eu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-closed" viewBox="3 3 20 18"><path d="M4 4h4a2 2 0 0 1 2 2v3M4 20h4a2 2 0 0 0 2-2v-3"/><circle cx="10" cy="12" r="3"/><path d="m17 9 5 5m0-5-5 5"/></svg>`})),nu=/* @__PURE__ */ n({default:()=>ru}),ru,iu=t((()=>{ru=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-trash-2" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path fill="none" stroke-width="2" d="M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/></g><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M10 11v6m4-6v6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),au=/* @__PURE__ */ n({default:()=>ou}),ou,su=t((()=>{ou=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-check-corner" viewBox="3 1 18 22"><path d="M10.5 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v6"/><path d="M14 2v5a1 1 0 0 0 1 1h5m-6 12 2 2 4-4"/></svg>`})),cu=/* @__PURE__ */ n({default:()=>lu}),lu,uu=t((()=>{lu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-panel-bottom" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M3 15h18"/></svg>`})),du=/* @__PURE__ */ n({default:()=>fu}),fu,pu=t((()=>{fu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rectangle-horizontal" viewBox="2 3 20 18"><rect width="18" height="16" x="3" y="4" rx="2"/></svg>`})),mu=/* @__PURE__ */ n({default:()=>hu}),hu,gu=t((()=>{hu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-panel-left" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg>`})),_u=/* @__PURE__ */ n({default:()=>vu}),vu,yu=t((()=>{vu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-file-text" viewBox="3 1 18 22"><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"/><path d="M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8"/></svg>`})),bu=/* @__PURE__ */ n({default:()=>xu}),xu,Su=t((()=>{xu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-clipboard" viewBox="3 1 18 22"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/></svg>`})),Cu=/* @__PURE__ */ n({default:()=>wu}),wu,Tu=t((()=>{wu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/></svg>`})),Eu=/* @__PURE__ */ n({default:()=>Du}),Du,Ou=t((()=>{Du=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-dot" viewBox="3 3 10 10"><path fill="currentColor" d="M8 13A5 5 0 1 0 8 3a5 5 0 0 0 0 10"/></svg>`})),ku=/* @__PURE__ */ n({default:()=>Au}),Au,ju=t((()=>{Au=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grip-vertical" viewBox="7 3 10 18"><circle cx="9" cy="12" r="1"/><circle cx="9" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/></svg>`})),Mu=/* @__PURE__ */ n({default:()=>Nu}),Nu,Pu=t((()=>{Nu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pipette" viewBox="1 0.98 22.02 22.02"><path d="m12 9-8.414 8.414A2 2 0 0 0 3 18.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 3.828 21h1.344a2 2 0 0 0 1.414-.586L15 12"/><path d="m18 9 .4.4a1 1 0 1 1-3 3l-3.8-3.8a1 1 0 1 1 3-3l.4.4 3.4-3.4a1 1 0 1 1 3 3zM2 22l.414-.414"/></svg>`})),Fu=/* @__PURE__ */ n({default:()=>Iu}),Iu,Lu=t((()=>{Iu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-copy-plus" viewBox="1 1 22 22"><path d="M15 12v6m-3-3h6"/><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg>`})),Ru=/* @__PURE__ */ n({default:()=>zu}),zu,Bu=t((()=>{zu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-edit-3" viewBox="1 1 22 22"><path d="M13 21h8m.174-14.188a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/></svg>`})),Vu=/* @__PURE__ */ n({default:()=>Hu}),Hu,Uu=t((()=>{Hu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rectangle-ellipsis" viewBox="1 5 22 14"><rect width="20" height="12" x="2" y="6" rx="2"/><path d="M12 12h.01M17 12h.01M7 12h.01"/></svg>`})),Wu=/* @__PURE__ */ n({default:()=>Gu}),Gu,Ku=t((()=>{Gu=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mail" viewBox="1 3 22 18"><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`})),qu=/* @__PURE__ */ n({default:()=>Ju}),Ju,Yu=t((()=>{Ju=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-alert" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 8v4m0 4h.01"/></svg>`})),Xu=/* @__PURE__ */ n({default:()=>Zu}),Zu,Qu=t((()=>{Zu=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-alert-circle" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 8v4m0 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),$u=/* @__PURE__ */ n({default:()=>ed}),ed,td=t((()=>{ed=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-alert" viewBox="11 4 2.01 16"><path d="M12 5v9m0 5h.01"/></svg>`})),nd=/* @__PURE__ */ n({default:()=>rd}),rd,id=t((()=>{rd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-triangle-alert" viewBox="0.98 0.98 22.02 22.02"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01"/></svg>`})),ad=/* @__PURE__ */ n({default:()=>od}),od,sd=t((()=>{od=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-alert-triangle" viewBox="1.98 1.98 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 9v4m0 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),cd=/* @__PURE__ */ n({default:()=>ld}),ld,ud=t((()=>{ld=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-up-down" viewBox="2 4 20 16"><path d="M3 5h8m-8 7h8m-8 7h8m4-11 3-3 3 3m-6 8 3 3 3-3"/></svg>`})),dd=/* @__PURE__ */ n({default:()=>fd}),fd,pd=t((()=>{fd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-maximize-2" viewBox="2 2 20 20"><path d="M15 3h6v6m0-6-7 7M3 21l7-7m-1 7H3v-6"/></svg>`})),md=/* @__PURE__ */ n({default:()=>hd}),hd,gd=t((()=>{hd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-variable" viewBox="3 2 18 20"><path d="M8 21s-4-3-4-9 4-9 4-9m8 0s4 3 4 9-4 9-4 9M15 9l-6 6m0-6 6 6"/></svg>`})),_d=/* @__PURE__ */ n({default:()=>vd}),vd,yd=t((()=>{vd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-eye" viewBox="1 4 22 16"><path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"/><circle cx="12" cy="12" r="3"/></svg>`})),bd=/* @__PURE__ */ n({default:()=>xd}),xd,Sd=t((()=>{xd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-eye-off" viewBox="1 1 22 22"><path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242"/><path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143M2 2l20 20"/></svg>`})),Cd=/* @__PURE__ */ n({default:()=>wd}),wd,Td=t((()=>{wd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-frown" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M16 16s-1.5-2-4-2-4 2-4 2m1-7h.01M15 9h.01"/></svg>`})),Ed=/* @__PURE__ */ n({default:()=>Dd}),Dd,Od=t((()=>{Dd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-smile" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></svg>`})),kd=/* @__PURE__ */ n({default:()=>Ad}),Ad,jd=t((()=>{Ad=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-smile" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Md=/* @__PURE__ */ n({default:()=>Nd}),Nd,Pd=t((()=>{Nd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-fast-forward" viewBox="0 3.5 16 9"><path fill="currentColor" d="M1.998 3.688C1.126 3.175 0 3.773 0 4.75v6.5c0 .977 1.126 1.575 1.998 1.062l5.521-3.25q.204-.121.34-.286v2.474c0 .977 1.126 1.575 1.998 1.062l5.522-3.25a1.218 1.218 0 0 0 0-2.124l-5.522-3.25c-.872-.513-1.998.085-1.998 1.062v2.474a1.3 1.3 0 0 0-.34-.286L2 3.688Z"/></svg>`})),Fd=/* @__PURE__ */ n({default:()=>Id}),Id,Ld=t((()=>{Id=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-cw" viewBox="2 2 20 20"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5m-8 2h1v5"/><rect width="3" height="5" x="12" y="10" rx="1.5"/></svg>`})),Rd=/* @__PURE__ */ n({default:()=>zd}),zd,Bd=t((()=>{zd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-film" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M7 3v18M3 7.5h4M3 12h18M3 16.5h4M17 3v18m0-13.5h4m-4 9h4"/></svg>`})),Vd=/* @__PURE__ */ n({default:()=>Hd}),Hd,Ud=t((()=>{Hd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-funnel" viewBox="1 2 22 21"><path d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/></svg>`})),Wd=/* @__PURE__ */ n({default:()=>Gd}),Gd,Kd=t((()=>{Gd=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-funnel" viewBox="2 2.95 20 19.1"><path fill="currentColor" d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/><path fill="none" d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z"/></svg>`})),qd=/* @__PURE__ */ n({default:()=>Jd}),Jd,Yd=t((()=>{Jd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-flag" viewBox="3 1 18 22"><path d="M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528"/></svg>`})),Xd=/* @__PURE__ */ n({default:()=>Zd}),Zd,Qd=t((()=>{Zd=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-flag" viewBox="3 1 18 22"><path fill="currentColor" d="M4 4v11.528A6 6 0 0 1 8 14c3 0 5 2 8 2a6 6 0 0 0 3.6-1.2 1 1 0 0 0 .4-.8V4a1 1 0 0 0-1.6-.8q-1.067.8-3.067.8C13 4 11 2 8 2a6 6 0 0 0-3.6 1.2A1 1 0 0 0 4 4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528"/></svg>`})),$d=/* @__PURE__ */ n({default:()=>ef}),ef,tf=t((()=>{ef=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-unfold-vertical" viewBox="1 1 22 22"><path d="M12 22v-6m0-8V2M4 12H2m8 0H8m8 0h-2m8 0h-2m-5 7-3 3-3-3m6-14-3-3-3 3"/></svg>`})),nf=/* @__PURE__ */ n({default:()=>rf}),rf,af=t((()=>{rf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-folder" viewBox="1 2 22 19"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/></svg>`})),of=/* @__PURE__ */ n({default:()=>sf}),sf,cf=t((()=>{sf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-fork" viewBox="2 2 20 20"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><path d="M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9m6 3v3"/></svg>`})),lf=/* @__PURE__ */ n({default:()=>uf}),uf,df=t((()=>{uf=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-settings" viewBox="2.01 2.01 19.98 19.98"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"/><circle cx="12" cy="12" r="3" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ff=/* @__PURE__ */ n({default:()=>pf}),pf,mf=t((()=>{pf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-globe-2" viewBox="1 1 22 22"><path d="M21.54 15H17a2 2 0 0 0-2 2v4.54M7 3.34V5a3 3 0 0 0 3 3 2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17M11 21.95V18a2 2 0 0 0-2-2 2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05"/><circle cx="12" cy="12" r="10"/></svg>`})),hf=/* @__PURE__ */ n({default:()=>gf}),gf,_f=t((()=>{gf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-globe" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20M2 12h20"/></svg>`})),vf=/* @__PURE__ */ n({default:()=>yf}),yf,bf=t((()=>{yf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users" viewBox="1 2 22 20"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87"/><circle cx="9" cy="7" r="4"/></svg>`})),xf=/* @__PURE__ */ n({default:()=>Sf}),Sf,Cf=t((()=>{Sf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-group" viewBox="2 2 20 20"><path d="M3 7V5c0-1.1.9-2 2-2h2m10 0h2c1.1 0 2 .9 2 2v2m0 10v2c0 1.1-.9 2-2 2h-2M7 21H5c-1.1 0-2-.9-2-2v-2"/><rect width="7" height="5" x="7" y="7" rx="1"/><rect width="7" height="5" x="10" y="12" rx="1"/></svg>`})),wf=/* @__PURE__ */ n({default:()=>Tf}),Tf,Ef=t((()=>{Tf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hand" viewBox="0.89 1 22.11 22"><path d="M18 11V6a2 2 0 0 0-2-2 2 2 0 0 0-2 2m0 4V4a2 2 0 0 0-2-2 2 2 0 0 0-2 2v2m0 4.5V6a2 2 0 0 0-2-2 2 2 0 0 0-2 2v8"/><path d="M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15"/></svg>`})),Df=/* @__PURE__ */ n({default:()=>Of}),Of,kf=t((()=>{Of=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hash" viewBox="3 2 18 20"><path d="M4 9h16M4 15h16M10 3 8 21m8-18-2 18"/></svg>`})),Af=/* @__PURE__ */ n({default:()=>jf}),jf,Mf=t((()=>{jf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-heading" viewBox="5 3 14 18"><path d="M6 12h12M6 20V4m12 16V4"/></svg>`})),Nf=/* @__PURE__ */ n({default:()=>Pf}),Pf,Ff=t((()=>{Pf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-home" viewBox="2 1 20 21"><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>`})),If=/* @__PURE__ */ n({default:()=>Lf}),Lf,Rf=t((()=>{Lf=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-home" viewBox="2.5 2 19 19"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),zf=/* @__PURE__ */ n({default:()=>Bf}),Bf,Vf=t((()=>{Bf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minus" viewBox="4 4 16 16"><path d="M5 12h14"/></svg>`})),Hf=/* @__PURE__ */ n({default:()=>Uf}),Uf,Wf=t((()=>{Uf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hourglass" viewBox="4 1 16 22"><path d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/></svg>`})),Gf=/* @__PURE__ */ n({default:()=>Kf}),Kf,qf=t((()=>{Kf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M8.961 20.279h6.078v-1.756c0-.386-.07-.765-.206-1.105-.134-.34-.33-.63-.567-.844l-1.932-1.733a.5.5 0 0 0-.668 0l-1.932 1.733a2.24 2.24 0 0 0-.567.844c-.135.34-.206.72-.206 1.105z"/></svg>`})),Jf=/* @__PURE__ */ n({default:()=>Yf}),Yf,Xf=t((()=>{Yf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M8.961 4.87h6.041v1.377c0 .302-.07.6-.204.866a1.8 1.8 0 0 1-.564.661l-1.963 1.39a.5.5 0 0 1-.578 0l-1.964-1.39a1.8 1.8 0 0 1-.564-.66 1.9 1.9 0 0 1-.204-.867zm0 15.399h6.078v-1.286c0-.282-.07-.56-.206-.808a1.7 1.7 0 0 0-.567-.618l-1.992-1.307a.5.5 0 0 0-.548 0l-1.992 1.307a1.7 1.7 0 0 0-.567.618 1.7 1.7 0 0 0-.206.808z"/></svg>`})),Zf=/* @__PURE__ */ n({default:()=>Qf}),Qf,$f=t((()=>{Qf=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-hourglass" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 22h14M5 2h14m-2 20v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"/><path fill="currentColor" d="M9.004 3.638h6.04v1.756c0 .385-.07.765-.203 1.105a2.24 2.24 0 0 1-.564.843l-1.918 1.73a.5.5 0 0 1-.67 0l-1.917-1.73a2.24 2.24 0 0 1-.564-.843 3 3 0 0 1-.204-1.105z"/></svg>`})),ep=/* @__PURE__ */ n({default:()=>tp}),tp,np=t((()=>{tp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-id-card" viewBox="1 4 22 16"><path d="M16 10h2m-2 4h2M6.17 15a3 3 0 0 1 5.66 0"/><circle cx="9" cy="11" r="2"/><rect width="20" height="14" x="2" y="5" rx="2"/></svg>`})),rp=/* @__PURE__ */ n({default:()=>ip}),ip,ap=t((()=>{ip=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-image" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>`})),op=/* @__PURE__ */ n({default:()=>sp}),sp,cp=t((()=>{sp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-inbox" viewBox="1 3 22 18"><path d="M22 12h-6l-2 3h-4l-2-3H2"/><path d="M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11"/></svg>`})),lp=/* @__PURE__ */ n({default:()=>up}),up,dp=t((()=>{up=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-infinity" viewBox="1 7 22 10"><path d="M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8"/></svg>`})),fp=/* @__PURE__ */ n({default:()=>pp}),pp,mp=t((()=>{pp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-info" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4m0-4h.01"/></svg>`})),hp=/* @__PURE__ */ n({default:()=>gp}),gp,_p=t((()=>{gp=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-info" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M12 16v-4m0-4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),vp=/* @__PURE__ */ n({default:()=>yp}),yp,bp=t((()=>{yp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-mouse-pointer" viewBox="2 2 21 21"><path d="M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"/><path d="M21 11V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h6"/></svg>`})),xp=/* @__PURE__ */ n({default:()=>Sp}),Sp,Cp=t((()=>{Sp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-italic" viewBox="4 3 16 18"><path d="M19 4h-9m4 16H5M15 4 9 20"/></svg>`})),wp=/* @__PURE__ */ n({default:()=>Tp}),Tp,Ep=t((()=>{Tp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-key-round" viewBox="1 0.96 22.04 22.04"><path d="M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z"/><circle cx="16.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),Dp=/* @__PURE__ */ n({default:()=>Op}),Op,kp=t((()=>{Op=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-keyboard" viewBox="1 3 22 18"><path d="M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01"/><rect width="20" height="16" x="2" y="4" rx="2"/></svg>`})),Ap=/* @__PURE__ */ n({default:()=>jp}),jp,Mp=t((()=>{jp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-monitor-smartphone" viewBox="1 3 22 20"><path d="M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8m-2 4v-3.96 3.15M7 19h5"/><rect width="6" height="10" x="16" y="12" rx="2"/></svg>`})),Np=/* @__PURE__ */ n({default:()=>Pp}),Pp,Fp=t((()=>{Pp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layers" viewBox="1 1 22.02 22"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z"/><path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12"/><path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17"/></svg>`})),Ip=/* @__PURE__ */ n({default:()=>Lp}),Lp,Rp=t((()=>{Lp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-life-buoy" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m4.93 4.93 4.24 4.24m5.66 0 4.24-4.24m-4.24 9.9 4.24 4.24m-9.9-4.24-4.24 4.24"/><circle cx="12" cy="12" r="4"/></svg>`})),zp=/* @__PURE__ */ n({default:()=>Bp}),Bp,Vp=t((()=>{Bp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lightbulb" viewBox="5 1 14 22"><path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4"/></svg>`})),Hp=/* @__PURE__ */ n({default:()=>Up}),Up,Wp=t((()=>{Up=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zap" viewBox="2 1 20.01 22.01"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"/></svg>`})),Gp=/* @__PURE__ */ n({default:()=>Kp}),Kp,qp=t((()=>{Kp=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-zap" viewBox="1.99 2 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Jp=/* @__PURE__ */ n({default:()=>Yp}),Yp,Xp=t((()=>{Yp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-link" viewBox="1.06 1.07 21.89 21.87"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>`})),Zp=/* @__PURE__ */ n({default:()=>Qp}),Qp,$p=t((()=>{Qp=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-ordered" viewBox="2.4 3 19.6 18"><path d="M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02"/></svg>`})),em=/* @__PURE__ */ n({default:()=>tm}),tm,nm=t((()=>{tm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list" viewBox="2 4 20 16"><path d="M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13"/></svg>`})),rm=/* @__PURE__ */ n({default:()=>im}),im,am=t((()=>{im=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lock" viewBox="2 1 20 22"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>`})),om=/* @__PURE__ */ n({default:()=>sm}),sm,cm=t((()=>{sm=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-lock" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" fill="#fff" stroke-width="0" rx="2" ry="2"/><path fill="none" stroke-width="2" d="M7 11V7a5 5 0 0 1 10 0v4"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),lm=/* @__PURE__ */ n({default:()=>um}),um,dm=t((()=>{um=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-log-in" viewBox="2 2 20 20"><path d="m10 17 5-5-5-5m5 5H3m12-9h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/></svg>`})),fm=/* @__PURE__ */ n({default:()=>pm}),pm,mm=t((()=>{pm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-repeat" viewBox="2 1 20 22"><path d="m17 2 4 4-4 4"/><path d="M3 11v-1a4 4 0 0 1 4-4h14M7 22l-4-4 4-4"/><path d="M21 13v1a4 4 0 0 1-4 4H3"/></svg>`})),hm=/* @__PURE__ */ n({default:()=>gm}),gm,_m=t((()=>{gm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-repeat-off" viewBox="1 1 22 22"><path d="M11.656 6H21l-4-4m.898 15.898A4 4 0 0 1 17 18H3l4-4M2 2l20 20m-1-9v1a4 4 0 0 1-.171 1.159M21 6l-4 4M3 11v-1a4 4 0 0 1 3.102-3.898M7 22l-4-4"/></svg>`})),vm=/* @__PURE__ */ n({default:()=>ym}),ym,bm=t((()=>{ym=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-map" viewBox="2 2.24 20 19.53"><path d="M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0zm.894.211v15M9 3.236v15"/></svg>`})),xm=/* @__PURE__ */ n({default:()=>Sm}),Sm,Cm=t((()=>{Sm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hard-drive" viewBox="1 1.5 22 20.5"><path d="M10 7h.01m-7.81.6a2 2 0 0 0-.2.9V12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8.5a2 2 0 0 0-.2-.9l-2-4A2 2 0 0 0 18 2.5H6a2 2 0 0 0-1.8 1.1zM22 9H2m4 9h12m-9-4v4m6-4v4m-3 0v3"/></svg>`})),wm=/* @__PURE__ */ n({default:()=>Tm}),Tm,Em=t((()=>{Tm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-map-pin" viewBox="3 1 18 22"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle cx="12" cy="10" r="3"/></svg>`})),Dm=/* @__PURE__ */ n({default:()=>Om}),Om,km=t((()=>{Om=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-square-code" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 5H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 15V9l2 3 2-3v6m4-.5a.5.5 0 0 0 .5.5h1a2.5 2.5 0 0 0 2.5-2.5v-1A2.5 2.5 0 0 0 15.5 9h-1a.5.5 0 0 0-.5.5z"/></svg>`})),Am=/* @__PURE__ */ n({default:()=>jm}),jm,Mm=t((()=>{jm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-maximize" viewBox="2 2 20 20"><path d="M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3m8 0h3a2 2 0 0 0 2-2v-3"/></svg>`})),Nm=/* @__PURE__ */ n({default:()=>Pm}),Pm,Fm=t((()=>{Pm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-megaphone" viewBox="2 2 20 21"><path d="M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"/><path d="M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14M8 6v8"/></svg>`})),Im=/* @__PURE__ */ n({default:()=>Lm}),Lm,Rm=t((()=>{Lm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-merge" viewBox="2 2 20 20"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M6 21V9a9 9 0 0 0 9 9"/></svg>`})),zm=/* @__PURE__ */ n({default:()=>Bm}),Bm,Vm=t((()=>{Bm=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-gauge" viewBox="0.98 1.02 22 22"><path d="M15.6 2.7a10 10 0 1 0 5.7 5.7"/><circle cx="12" cy="12" r="2"/><path d="M13.4 10.6 19 5"/></svg>`})),Hm=/* @__PURE__ */ n({default:()=>Um}),Um,Wm=t((()=>{Um=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minimize" viewBox="2 2 20 20"><path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3m8 0v-3a2 2 0 0 1 2-2h3"/></svg>`})),Gm=/* @__PURE__ */ n({default:()=>Km}),Km,qm=t((()=>{Km=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-minus" viewBox="4 4 16 16"><path d="M5 12h14"/></svg>`})),Jm=/* @__PURE__ */ n({default:()=>Ym}),Ym,Xm=t((()=>{Ym=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-minus" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 12h8"/></svg>`})),Zm=/* @__PURE__ */ n({default:()=>Qm}),Qm,$m=t((()=>{Qm=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-minus" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 12h8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),eh=/* @__PURE__ */ n({default:()=>th}),th,nh=t((()=>{th=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-moon" viewBox="2 2.01 19.99 19.99"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"/></svg>`})),rh=/* @__PURE__ */ n({default:()=>ih}),ih,ah=t((()=>{ih=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-list-chevrons-down-up" viewBox="2 3 21 17"><path d="M3 5h8m5-1 3 3 3-3M3 12h.01M8 12h12M3 19h.01M8 19h12"/></svg>`})),oh=/* @__PURE__ */ n({default:()=>sh}),sh,ch=t((()=>{sh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-music" viewBox="2 2 20 20"><path d="M9 18V5l12-2v13"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="16" r="3"/></svg>`})),lh=/* @__PURE__ */ n({default:()=>uh}),uh,dh=t((()=>{uh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-newspaper" viewBox="1 1 22 22"><path d="M15 18h-5m8-4h-8m-6 8h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2"/><rect width="8" height="4" x="10" y="6" rx="1"/></svg>`})),fh=/* @__PURE__ */ n({default:()=>ph}),ph,mh=t((()=>{ph=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-ban" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M4.929 4.929 19.07 19.071"/></svg>`})),hh=/* @__PURE__ */ n({default:()=>gh}),gh,_h=t((()=>{gh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-list-ordered" viewBox="2.43 2 18.01 18"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 3h1v6M5 9h4m-4 5.328c0-.62.21-1.214.586-1.652.375-.438.884-.685 1.414-.685s1.04.247 1.414.685A2.55 2.55 0 0 1 9 14.328c0 2.92-4 2.336-4 4.672h4m3.874-7.5h3a2 2 0 1 1 0 4h-3m2-4 2-3h-4"/></svg>`})),vh=/* @__PURE__ */ n({default:()=>yh}),yh,bh=t((()=>{yh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-building-2" viewBox="1 2 22 20"><path d="M10 12h4m-4-4h4m0 13v-3a2 2 0 0 0-4 0v3"/><path d="M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2"/><path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/></svg>`})),xh=/* @__PURE__ */ n({default:()=>Sh}),Sh,Ch=t((()=>{Sh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-2-x-2" viewBox="2 2 20 20"><path d="M12 3v18m-9-9h18"/><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),wh=/* @__PURE__ */ n({default:()=>Th}),Th,Eh=t((()=>{Th=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-send-horizontal" viewBox="2 2 21 20"><path d="M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904zM6 12h16"/></svg>`})),Dh=/* @__PURE__ */ n({default:()=>Oh}),Oh,kh=t((()=>{Oh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-paperclip" viewBox="2 1 20.66 22"><path d="m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"/></svg>`})),Ah=/* @__PURE__ */ n({default:()=>jh}),jh,Mh=t((()=>{jh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-pause" viewBox="3 1 10 14"><path fill="currentColor" d="M3.75 1a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V1.75A.75.75 0 0 0 5.25 1zm7 0a.75.75 0 0 0-.75.75v12.5c0 .414.336.75.75.75h1.5a.75.75 0 0 0 .75-.75V1.75a.75.75 0 0 0-.75-.75z"/></svg>`})),Nh=/* @__PURE__ */ n({default:()=>Ph}),Ph,Fh=t((()=>{Ph=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-pen" viewBox="2 1 21 21"><path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/><path d="M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z"/></svg>`})),Ih=/* @__PURE__ */ n({default:()=>Lh}),Lh,Rh=t((()=>{Lh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users-round" viewBox="1 2 22 20"><path d="M18 21a8 8 0 0 0-16 0"/><circle cx="10" cy="8" r="5"/><path d="M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"/></svg>`})),zh=/* @__PURE__ */ n({default:()=>Bh}),Bh,Vh=t((()=>{Bh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-users" viewBox="0.57 2 22.87 20"><circle cx="12" cy="7" r="4"/><path d="M5 21v-2a7 7 0 0 1 14 0v2M5.5 10.5a3 3 0 1 1-1-5.85M2 21v-1a5 5 0 0 1 3-4.58m13.5-4.92a3 3 0 1 0 1-5.85M22 21v-1a5 5 0 0 0-3-4.58"/></svg>`})),Hh=/* @__PURE__ */ n({default:()=>Uh}),Uh,Wh=t((()=>{Uh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-user-round" viewBox="1 1 22 22"><path d="M17.925 20.056a6 6 0 0 0-11.851.001"/><circle cx="12" cy="11" r="4"/><circle cx="12" cy="12" r="10"/></svg>`})),Gh=/* @__PURE__ */ n({default:()=>Kh}),Kh,qh=t((()=>{Kh=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-user" viewBox="3 3 18 18"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Jh=/* @__PURE__ */ n({default:()=>Yh}),Yh,Xh=t((()=>{Yh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-smartphone" viewBox="4 1 16 22"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg>`})),Zh=/* @__PURE__ */ n({default:()=>Qh}),Qh,$h=t((()=>{Qh=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-picture-in-picture" viewBox="1 3 22 19"><path d="M2 10h6V4M2 4l6 6m13 0V7a2 2 0 0 0-2-2h-7m-9 9v2a2 2 0 0 0 2 2h3"/><rect width="10" height="7" x="12" y="14" rx="1"/></svg>`})),eg=/* @__PURE__ */ n({default:()=>tg}),tg,ng=t((()=>{tg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chart-pie" viewBox="1 1.05 21.95 21.95"><path d="M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z"/><path d="M21.21 15.89A10 10 0 1 1 8 2.83"/></svg>`})),rg=/* @__PURE__ */ n({default:()=>ig}),ig,ag=t((()=>{ig=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pin" viewBox="4 1 16 22"><path d="M12 17v5M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg>`})),og=/* @__PURE__ */ n({default:()=>sg}),sg,cg=t((()=>{sg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-pin" viewBox="1.5 2 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="none" stroke-width="2" d="M12 17v5"/><path fill="#fff" stroke-width="0" d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),lg=/* @__PURE__ */ n({default:()=>ug}),ug,dg=t((()=>{ug=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-pizza" viewBox="1 1 22 22"><path d="m12 14-1 1m2.75 3.25-1.25 1.42m5.275-14.016a15.68 15.68 0 0 0-12.121 12.12M18.8 9.3a1 1 0 0 0 2.1 7.7"/><path d="M21.964 20.732a1 1 0 0 1-1.232 1.232l-18-5a1 1 0 0 1-.695-1.232A19.68 19.68 0 0 1 15.732 2.037a1 1 0 0 1 1.232.695z"/></svg>`})),fg=/* @__PURE__ */ n({default:()=>pg}),pg,mg=t((()=>{pg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-play" viewBox="2 1 13 14"><path fill="currentColor" d="M4.422 1.221C3.37.625 2 1.305 2 2.423v11.154c0 1.118 1.37 1.798 2.422 1.202l9.84-5.578c.984-.557.984-1.845 0-2.402L4.423 1.22Z"/></svg>`})),hg=/* @__PURE__ */ n({default:()=>gg}),gg,_g=t((()=>{gg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-plug" viewBox="5 1 14 22"><path d="M12 22v-5m3-9V2m2 6a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1zM9 8V2"/></svg>`})),vg=/* @__PURE__ */ n({default:()=>yg}),yg,bg=t((()=>{yg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-plus" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M8 12h8m-4-4v8"/></svg>`})),xg=/* @__PURE__ */ n({default:()=>Sg}),Sg,Cg=t((()=>{Sg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-plus" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M8 12h8m-4-4v8"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),wg=/* @__PURE__ */ n({default:()=>Tg}),Tg,Eg=t((()=>{Tg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-diff" viewBox="4 2 16 20"><path d="M12 3v14m-7-7h14M5 21h14"/></svg>`})),Dg=/* @__PURE__ */ n({default:()=>Og}),Og,kg=t((()=>{Og=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-mouse-pointer-2" viewBox="3 3 19 19"><path d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z"/></svg>`})),Ag=/* @__PURE__ */ n({default:()=>jg}),jg,Mg=t((()=>{jg=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-mouse-pointer-2" viewBox="4 4 17 17"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Ng=/* @__PURE__ */ n({default:()=>Pg}),Pg,Fg=t((()=>{Pg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4m5 4v-8m5 8V8m5-4v16"/></svg>`})),Ig=/* @__PURE__ */ n({default:()=>Lg}),Lg,Rg=t((()=>{Lg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal-low" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 20v-8m5 8V8m5-4v16" opacity=".35"/></svg>`})),zg=/* @__PURE__ */ n({default:()=>Bg}),Bg,Vg=t((()=>{Bg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-signal-medium" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 20h.01M7 20v-4m5 4v-8"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20V8m5-4v16" opacity=".35"/></svg>`})),Hg=/* @__PURE__ */ n({default:()=>Ug}),Ug,Wg=t((()=>{Ug=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-projector" viewBox="1 2 22 19"><path d="M5 7 3 5m6 1V3m4 4 2-2"/><circle cx="9" cy="13" r="3"/><path d="M11.83 12H20a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h2.17M16 16h2"/></svg>`})),Gg=/* @__PURE__ */ n({default:()=>Kg}),Kg,qg=t((()=>{Kg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-closed" viewBox="2 2 20 20"><circle cx="6" cy="6" r="3"/><path d="M6 9v12M21 3l-6 6m6 0-6-6m3 8.5V15"/><circle cx="18" cy="18" r="3"/></svg>`})),Jg=/* @__PURE__ */ n({default:()=>Yg}),Yg,Xg=t((()=>{Yg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-draft" viewBox="2 2 20 20"><circle cx="18" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><path d="M18 6V5m0 6v-1M6 9v12"/></svg>`})),Zg=/* @__PURE__ */ n({default:()=>Qg}),Qg,$g=t((()=>{Qg=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-git-pull-request-arrow" viewBox="1 2 22 20"><circle cx="5" cy="6" r="3"/><path d="M5 9v12"/><circle cx="19" cy="18" r="3"/><path d="m15 9-3-3 3-3"/><path d="M12 6h5a2 2 0 0 1 2 2v7"/></svg>`})),e_=/* @__PURE__ */ n({default:()=>t_}),t_,n_=t((()=>{t_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-activity" viewBox="1 1 22 22"><path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/></svg>`})),r_=/* @__PURE__ */ n({default:()=>i_}),i_,a_=t((()=>{i_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-puzzle" viewBox="1 1 22 22"><path d="M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z"/></svg>`})),o_=/* @__PURE__ */ n({default:()=>s_}),s_,c_=t((()=>{s_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-question-mark" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01"/></svg>`})),l_=/* @__PURE__ */ n({default:()=>u_}),u_,d_=t((()=>{u_=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-help-circle" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),f_=/* @__PURE__ */ n({default:()=>p_}),p_,m_=t((()=>{p_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layout-panel-top" viewBox="2 2 20 20"><rect width="18" height="7" x="3" y="3" rx="1"/><rect width="7" height="7" x="3" y="14" rx="1"/><rect width="7" height="7" x="14" y="14" rx="1"/></svg>`})),h_=/* @__PURE__ */ n({default:()=>g_}),g_,__=t((()=>{g_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-horizontal-end" viewBox="1 2 22 20"><path d="M2 7v10M6 5v14"/><rect width="12" height="18" x="10" y="3" rx="2"/></svg>`})),v_=/* @__PURE__ */ n({default:()=>y_}),y_,b_=t((()=>{y_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-gallery-vertical-end" viewBox="2 1 20 22"><path d="M7 2h10M5 6h14"/><rect width="18" height="12" x="3" y="10" rx="2"/></svg>`})),x_=/* @__PURE__ */ n({default:()=>S_}),S_,C_=t((()=>{S_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-redo" viewBox="2 6 20 12"><path d="M21 7v6h-6"/><path d="M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7"/></svg>`})),w_=/* @__PURE__ */ n({default:()=>T_}),T_,E_=t((()=>{T_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-reply" viewBox="3 6 18 13"><path d="M20 18v-2a4 4 0 0 0-4-4H4"/><path d="m9 17-5-5 5-5"/></svg>`})),D_=/* @__PURE__ */ n({default:()=>O_}),O_,k_=t((()=>{O_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-rewind" viewBox="0 3.5 16 9"><path fill="currentColor" d="M6.252 12.31c.97.542 2.178-.142 2.178-1.233V9.304l5.392 3.007c.97.54 2.178-.143 2.178-1.234V4.923c0-1.091-1.207-1.775-2.178-1.234L8.43 6.696V4.923c0-1.091-1.208-1.775-2.178-1.234L.734 6.767a1.404 1.404 0 0 0 0 2.466z"/></svg>`})),A_=/* @__PURE__ */ n({default:()=>j_}),j_,M_=t((()=>{j_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rotate-ccw" viewBox="2 2 20 20"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5m0 2h1v5"/><rect width="3" height="5" x="12" y="10" rx="1.5"/></svg>`})),N_=/* @__PURE__ */ n({default:()=>P_}),P_,F_=t((()=>{P_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rocket" viewBox="1.5 1 21.5 21.5"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09"/><path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05"/></svg>`})),I_=/* @__PURE__ */ n({default:()=>L_}),L_,R_=t((()=>{L_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-loader-circle" viewBox="2 2 20 20"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3a9 9 0 1 1-8.56 6.22"/><path fill="currentColor" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0"/></svg>`})),z_=/* @__PURE__ */ n({default:()=>B_}),B_,V_=t((()=>{B_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-scale" viewBox="1 2 22 20"><path d="M12 3v18m7-13 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10"/></svg>`})),H_=/* @__PURE__ */ n({default:()=>U_}),U_,W_=t((()=>{U_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-scissors" viewBox="2 2 19 20"><circle cx="6" cy="6" r="3"/><path d="M8.12 8.12 12 12m8-8L8.12 15.88"/><circle cx="6" cy="18" r="3"/><path d="M14.8 14.8 20 20"/></svg>`})),G_=/* @__PURE__ */ n({default:()=>K_}),K_,q_=t((()=>{K_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-rss" viewBox="3 3 18 18"><path d="M4 11a9 9 0 0 1 9 9M4 4a16 16 0 0 1 16 16"/><circle cx="5" cy="19" r="1"/></svg>`})),J_=/* @__PURE__ */ n({default:()=>Y_}),Y_,X_=t((()=>{Y_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-hard-drive" viewBox="1 3 22 18"><path d="M10 16h.01m-7.798-4.423a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11zm19.734.436H2.054M6 16h.01"/></svg>`})),Z_=/* @__PURE__ */ n({default:()=>Q_}),Q_,$_=t((()=>{Q_=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-server" viewBox="1 1 22 22"><rect width="20" height="8" x="2" y="2" rx="2" ry="2"/><rect width="20" height="8" x="2" y="14" rx="2" ry="2"/><path d="M6 6h.01M6 18h.01"/></svg>`})),ev=/* @__PURE__ */ n({default:()=>tv}),tv,nv=t((()=>{tv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-shapes" viewBox="2 1.64 20 20.36"><path d="M8.3 10a.7.7 0 0 1-.626-1.079L11.4 3a.7.7 0 0 1 1.198-.043L16.3 8.9a.7.7 0 0 1-.572 1.1Z"/><rect width="7" height="7" x="3" y="14" rx="1"/><circle cx="17.5" cy="17.5" r="3.5"/></svg>`})),rv=/* @__PURE__ */ n({default:()=>iv}),iv,av=t((()=>{iv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-share-2" viewBox="2 1 20 22"><circle cx="18" cy="5" r="3"/><circle cx="6" cy="12" r="3"/><circle cx="18" cy="19" r="3"/><path d="m8.59 13.51 6.83 3.98m-.01-10.98-6.82 3.98"/></svg>`})),ov=/* @__PURE__ */ n({default:()=>sv}),sv,cv=t((()=>{sv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio" viewBox="1 3.93 22 16.13"><path d="M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/><circle cx="12" cy="12" r="2"/></svg>`})),lv=/* @__PURE__ */ n({default:()=>uv}),uv,dv=t((()=>{uv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-off" viewBox="1 1 22 22"><path d="M13.414 13.414a2 2 0 1 1-2.828-2.828m5.661-2.825a6 6 0 0 1 1.744 4.572m1.084-7.4a10 10 0 0 1 2.234 10.72M2 2l20 20M4.925 19.067a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/></svg>`})),fv=/* @__PURE__ */ n({default:()=>pv}),pv,mv=t((()=>{pv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-milestone" viewBox="2 2 21 20"><path d="M12 13v8m0-18v3m6.172 0a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z"/></svg>`})),hv=/* @__PURE__ */ n({default:()=>gv}),gv,_v=t((()=>{gv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sort-asc" viewBox="2 3 20 18"><path d="m3 8 4-4 4 4M7 4v16m4-8h4m-4 4h7m-7 4h10"/></svg>`})),vv=/* @__PURE__ */ n({default:()=>yv}),yv,bv=t((()=>{yv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sort-desc" viewBox="2 3 20 18"><path d="m3 16 4 4 4-4m-4 4V4m4 0h10M11 8h7m-7 4h4"/></svg>`})),xv=/* @__PURE__ */ n({default:()=>Sv}),Sv,Cv=t((()=>{Sv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-audio-lines" viewBox="1 1 22 22"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M2 10v3m4-7v11m4-14v18m4-13v7m4-10v13m4-8v3"/></svg>`})),wv=/* @__PURE__ */ n({default:()=>Tv}),Tv,Ev=t((()=>{Tv=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-sparkles" viewBox="2 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"/><path fill="none" stroke-width="2" d="M20 2v4m2-2h-4"/><circle cx="4" cy="20" r="2" fill="#fff" stroke-width="0"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Dv=/* @__PURE__ */ n({default:()=>Ov}),Ov,kv=t((()=>{Ov=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-split-vertical" viewBox="0 0 24 24"><path d="M2 12h20m-1 4v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3m0-8V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3"/></svg>`})),Av=/* @__PURE__ */ n({default:()=>jv}),jv,Mv=t((()=>{jv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),Nv=/* @__PURE__ */ n({default:()=>Pv}),Pv,Fv=t((()=>{Pv=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-star" viewBox="1.99 1.95 20.02 19.17"><path fill="currentColor" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/><path fill="none" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/></svg>`})),Iv=/* @__PURE__ */ n({default:()=>Lv}),Lv,Rv=t((()=>{Lv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="lucide-star-half" viewBox="1 1 22 21.07"><defs><clipPath id="b" clipPathUnits="userSpaceOnUse"><path d="M1 1h11.85v21.07H1z"/></clipPath><clipPath id="a" clipPathUnits="userSpaceOnUse"><path d="M12.85 1H23v21.07H12.85z"/></clipPath></defs><path stroke="var(--stroke-color,currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" clip-path="url(#a)"/><path fill="currentColor" d="M11.525 2.295A.53.53 0 0 1 12 2v16.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z" clip-path="url(#b)"/></svg>`})),zv=/* @__PURE__ */ n({default:()=>Bv}),Bv,Vv=t((()=>{Bv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-star" viewBox="1 1 22 21.07"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z"/></svg>`})),Hv=/* @__PURE__ */ n({default:()=>Uv}),Uv,Wv=t((()=>{Uv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-chevron-first" viewBox="6 5 12 14"><path d="m17 18-6-6 6-6M7 6v12"/></svg>`})),Gv=/* @__PURE__ */ n({default:()=>Kv}),Kv,qv=t((()=>{Kv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio-off" viewBox="1 1 22 22"><path d="M13.414 13.414a2 2 0 1 1-2.828-2.828m5.661-2.825a6 6 0 0 1 1.744 4.572m1.084-7.4a10 10 0 0 1 2.234 10.72M2 2l20 20M4.925 19.067a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/></svg>`})),Jv=/* @__PURE__ */ n({default:()=>Yv}),Yv,Xv=t((()=>{Yv=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-radio" viewBox="1 3.93 22 16.13"><path d="M16.247 7.761a6 6 0 0 1 0 8.478m2.828-11.306a10 10 0 0 1 0 14.134m-14.15 0a10 10 0 0 1 0-14.134m2.828 11.306a6 6 0 0 1 0-8.478"/><circle cx="12" cy="12" r="2"/></svg>`})),Zv=/* @__PURE__ */ n({default:()=>Qv}),Qv,$v=t((()=>{Qv=`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/></svg>`})),ey=/* @__PURE__ */ n({default:()=>ty}),ty,ny=t((()=>{ty=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-octagon-minus" viewBox="1 1 22 22"><path d="M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586zM8 12h8"/></svg>`})),ry=/* @__PURE__ */ n({default:()=>iy}),iy,ay=t((()=>{iy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-timer" viewBox="3 1 18 22"><path d="M10 2h4m-2 12 3-3"/><circle cx="12" cy="14" r="8"/></svg>`})),oy=/* @__PURE__ */ n({default:()=>sy}),sy,cy=t((()=>{sy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-strikethrough" viewBox="3 3 18 18"><path d="M16 4H9a3 3 0 0 0-2.83 4M14 12a4 4 0 0 1 0 8H6m-2-8h16"/></svg>`})),ly=/* @__PURE__ */ n({default:()=>uy}),uy,dy=t((()=>{uy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-sun" viewBox="1 1 22 22"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"/></svg>`})),fy=/* @__PURE__ */ n({default:()=>py}),py,my=t((()=>{py=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-swatch-book" viewBox="2 2 20 20"><path d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z"/><path d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7m0-4h.01"/><path d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8"/></svg>`})),hy=/* @__PURE__ */ n({default:()=>gy}),gy,_y=t((()=>{gy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-arrow-up-down" viewBox="2 3 20 18"><path d="m21 16-4 4-4-4m4 4V4M3 8l4-4 4 4M7 4v16"/></svg>`})),vy=/* @__PURE__ */ n({default:()=>yy}),yy,by=t((()=>{yy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grip" viewBox="3 3 18 18"><circle cx="12" cy="5" r="1"/><circle cx="19" cy="5" r="1"/><circle cx="5" cy="5" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" r="1"/><circle cx="5" cy="12" r="1"/><circle cx="12" cy="19" r="1"/><circle cx="19" cy="19" r="1"/><circle cx="5" cy="19" r="1"/></svg>`})),xy=/* @__PURE__ */ n({default:()=>Sy}),Sy,Cy=t((()=>{Sy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-table-2" viewBox="2 2 20 20"><path d="M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"/></svg>`})),wy=/* @__PURE__ */ n({default:()=>Ty}),Ty,Ey=t((()=>{Ty=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-tag" viewBox="1 1 22 22"><path d="M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"/><circle cx="7.5" cy="7.5" r=".5" fill="currentColor"/></svg>`})),Dy=/* @__PURE__ */ n({default:()=>Oy}),Oy,ky=t((()=>{Oy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-square-check" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="m9 12 2 2 4-4"/></svg>`})),Ay=/* @__PURE__ */ n({default:()=>jy}),jy,My=t((()=>{jy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-telescope" viewBox="1.21 2.21 21.58 19.79"><path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44m-2.875 6.493 4.332-.924M16 21l-3.105-6.21"/><path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455zM6.158 8.633l1.114 4.456M8 21l3.105-6.21"/><circle cx="12" cy="13" r="2"/></svg>`})),Ny=/* @__PURE__ */ n({default:()=>Py}),Py,Fy=t((()=>{Py=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-layout-template" viewBox="2 2 20 20"><rect width="18" height="7" x="3" y="3" rx="1"/><rect width="9" height="7" x="3" y="14" rx="1"/><rect width="5" height="7" x="16" y="14" rx="1"/></svg>`})),Iy=/* @__PURE__ */ n({default:()=>Ly}),Ly,Ry=t((()=>{Ly=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-terminal-square" viewBox="2 2 20 20"><path d="m7 11 2-2-2-2m4 6h4"/><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/></svg>`})),zy=/* @__PURE__ */ n({default:()=>By}),By,Vy=t((()=>{By=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-thumbs-up" viewBox="0.91 1 22.01 22"><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88M7 10v12"/></svg>`})),Hy=/* @__PURE__ */ n({default:()=>Uy}),Uy,Wy=t((()=>{Uy=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-thumbs-up" viewBox="1.91 2 20.01 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="M7 10v12"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Gy=/* @__PURE__ */ n({default:()=>Ky}),Ky,qy=t((()=>{Ky=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-traffic-cone" viewBox="1 1 22 22"><path d="M16.05 10.966a5 2.5 0 0 1-8.1 0m8.973 3.083 4.48 2.04a1 1 0 0 1 .001 1.831l-8.574 3.9a2 2 0 0 1-1.66 0l-8.574-3.91a1 1 0 0 1 0-1.83l4.484-2.04"/><path d="M16.949 14.14a5 2.5 0 1 1-9.9 0L10.063 3.5a2 2 0 0 1 3.874 0z"/><path d="M9.194 6.57a5 2.5 0 0 0 5.61 0"/></svg>`})),Jy=/* @__PURE__ */ n({default:()=>Yy}),Yy,Xy=t((()=>{Yy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-box" viewBox="4 2 16 20"><path stroke-dasharray="2 3" d="m12 3 7 4v10l-7 4-7-4V7zm0 8L5 7m7 4 7-4m-7 4v10"/></svg>`})),Zy=/* @__PURE__ */ n({default:()=>Qy}),Qy,$y=t((()=>{Qy=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trending-down" viewBox="1 6 22 12"><path d="M16 17h6v-6"/><path d="m22 17-8.5-8.5-5 5L2 7"/></svg>`})),eb=/* @__PURE__ */ n({default:()=>tb}),tb,nb=t((()=>{tb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trending-up" viewBox="1 6 22 12"><path d="M16 7h6v6"/><path d="m22 7-8.5 8.5-5-5L2 17"/></svg>`})),rb=/* @__PURE__ */ n({default:()=>ib}),ib,ab=t((()=>{ib=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-trophy" viewBox="1 1 22 22"><path d="M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978m7-7.318v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978M18 9h1.5a1 1 0 0 0 0-5H18M4 22h16"/><path d="M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1zm0 0H4.5a1 1 0 0 1 0-5H6"/></svg>`})),ob=/* @__PURE__ */ n({default:()=>sb}),sb,cb=t((()=>{sb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-truck" viewBox="1 3 22 18"><path d="M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2m10 0H9m10 0h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14"/><circle cx="17" cy="18" r="2"/><circle cx="7" cy="18" r="2"/></svg>`})),lb=/* @__PURE__ */ n({default:()=>ub}),ub,db=t((()=>{ub=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-type" viewBox="3 3 18 18"><path d="M12 4v16M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2M9 20h6"/></svg>`})),fb=/* @__PURE__ */ n({default:()=>pb}),pb,mb=t((()=>{pb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-undo" viewBox="2 6 20 12"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"/></svg>`})),hb=/* @__PURE__ */ n({default:()=>gb}),gb,_b=t((()=>{gb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-lock-open" viewBox="2 0.99 20 22.01"><rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></svg>`})),vb=/* @__PURE__ */ n({default:()=>yb}),yb,bb=t((()=>{yb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-lock-open" viewBox="1.5 1 21 21"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" fill="#fff" stroke-width="0" rx="2" ry="2"/><path fill="none" stroke-width="2" d="M7 11V7a5 5 0 0 1 9.9-1"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),xb=/* @__PURE__ */ n({default:()=>Sb}),Sb,Cb=t((()=>{Sb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-upload" viewBox="2 2 20 20"><path d="M12 3v12m5-7-5-5-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/></svg>`})),wb=/* @__PURE__ */ n({default:()=>Tb}),Tb,Eb=t((()=>{Tb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-video" viewBox="1 5 22 14"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect width="14" height="12" x="2" y="6" rx="2"/></svg>`})),Db=/* @__PURE__ */ n({default:()=>Ob}),Ob,kb=t((()=>{Ob=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-grid-3x3" viewBox="2 2 20 20"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M3 9h18M3 15h18M9 3v18m6-18v18"/></svg>`})),Ab=/* @__PURE__ */ n({default:()=>jb}),jb,Mb=t((()=>{jb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-volume-2" viewBox="1 3 22 18.01"><path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728"/></svg>`})),Nb=/* @__PURE__ */ n({default:()=>Pb}),Pb,Fb=t((()=>{Pb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-volume-x" viewBox="1 3 22 18.01"><path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298zM22 9l-6 6m0-6 6 6"/></svg>`})),Ib=/* @__PURE__ */ n({default:()=>Lb}),Lb,Rb=t((()=>{Lb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-volume-2" viewBox="2 1.5 21 21.01"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><g stroke="#fff" stroke-linecap="round" stroke-linejoin="round"><path fill="#fff" stroke-width="0" d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z"/><path fill="none" stroke-width="2" d="M16 9a5 5 0 0 1 0 6m3.364 3.364a9 9 0 0 0 0-12.728"/></g></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),zb=/* @__PURE__ */ n({default:()=>Bb}),Bb,Vb=t((()=>{Bb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-wifi" viewBox="1 4 22 17"><path d="M12 20h.01M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0m-10.5 3.57a5 5 0 0 1 7 0"/></svg>`})),Hb=/* @__PURE__ */ n({default:()=>Ub}),Ub,Wb=t((()=>{Ub=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-wrench" viewBox="1 1 22 22"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/></svg>`})),Gb=/* @__PURE__ */ n({default:()=>Kb}),Kb,qb=t((()=>{Kb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-wrench" viewBox="1.99 1.98 20.02 20.02"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><path fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0" d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),Jb=/* @__PURE__ */ n({default:()=>Yb}),Yb,Xb=t((()=>{Yb=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-circle-x" viewBox="1 1 22 22"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6m0-6 6 6"/></svg>`})),Zb=/* @__PURE__ */ n({default:()=>Qb}),Qb,$b=t((()=>{Qb=`<svg xmlns="http://www.w3.org/2000/svg" class="lucide-circle-x" viewBox="2 2 20 20"><defs><mask id="a" width="32" height="32" x="-4" y="-4" maskUnits="userSpaceOnUse"><path d="M-4-4h32v32H-4z"/><circle cx="12" cy="12" r="10" fill="#fff" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.15" d="m15 9-6 6m0-6 6 6"/></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#a)"/></svg>`})),ex=/* @__PURE__ */ n({default:()=>tx}),tx,nx=t((()=>{tx=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zoom-in" viewBox="2 2 20 20"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M11 8v6m-3-3h6"/></svg>`})),rx=/* @__PURE__ */ n({default:()=>ix}),ix,ax=t((()=>{ix=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="lucide-zoom-out" viewBox="2 2 20 20"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>`}));function P(e){return{async svg(){return(await e()).default}}}var ox={placeholder:P(()=>Promise.resolve().then(()=>(Ai(),Oi))),caret:P(()=>Promise.resolve().then(()=>(Ni(),ji))),person:P(()=>Promise.resolve().then(()=>(Ii(),Pi))),menu:P(()=>Promise.resolve().then(()=>(zi(),Li))),cancel:P(()=>Promise.resolve().then(()=>(Hi(),Bi))),gear:P(()=>Promise.resolve().then(()=>(Gi(),Ui))),chevron:P(()=>Promise.resolve().then(()=>(Ji(),Ki))),logout:P(()=>Promise.resolve().then(()=>(Zi(),Yi))),copy:P(()=>Promise.resolve().then(()=>(ea(),Qi))),"more-actions":P(()=>Promise.resolve().then(()=>(ra(),ta))),add:P(()=>Promise.resolve().then(()=>(oa(),ia))),arrow:P(()=>Promise.resolve().then(()=>(la(),sa))),delete:P(()=>Promise.resolve().then(()=>(fa(),ua))),download:P(()=>Promise.resolve().then(()=>(ha(),pa))),search:P(()=>Promise.resolve().then(()=>(va(),ga))),"split-vertical":P(()=>Promise.resolve().then(()=>(xa(),ya))),sparkles:P(()=>Promise.resolve().then(()=>(wa(),Sa))),branch:P(()=>Promise.resolve().then(()=>(Da(),Ta))),refresh:P(()=>Promise.resolve().then(()=>(Aa(),Oa))),"double-chevron":P(()=>Promise.resolve().then(()=>(Na(),ja))),"academic-cap":P(()=>Promise.resolve().then(()=>(Ia(),Pa))),"add-asset":P(()=>Promise.resolve().then(()=>(za(),La))),"add-comment":P(()=>Promise.resolve().then(()=>(Ha(),Ba))),"add-grid":P(()=>Promise.resolve().then(()=>(Ga(),Ua))),"add-user":P(()=>Promise.resolve().then(()=>(Ja(),Ka))),ancestors:P(()=>Promise.resolve().then(()=>(Za(),Ya))),archive:P(()=>Promise.resolve().then(()=>(eo(),Qa))),"arrow-angle":P(()=>Promise.resolve().then(()=>(ro(),to))),"arrow-both":P(()=>Promise.resolve().then(()=>(oo(),io))),"arrow-cycle":P(()=>Promise.resolve().then(()=>(lo(),so))),"arrow-path-rounded-square":P(()=>Promise.resolve().then(()=>(po(),uo))),"arrow-stop":P(()=>Promise.resolve().then(()=>(go(),mo))),"at-symbol":P(()=>Promise.resolve().then(()=>(yo(),_o))),backspace:P(()=>Promise.resolve().then(()=>(So(),bo))),"bar-pill-stack":P(()=>Promise.resolve().then(()=>(To(),Co))),"bars-3":P(()=>Promise.resolve().then(()=>(Oo(),Eo))),"bars-3-bottom-left":P(()=>Promise.resolve().then(()=>(jo(),ko))),"bars-3-bottom-right":P(()=>Promise.resolve().then(()=>(Po(),Mo))),"bars-3-center-left":P(()=>Promise.resolve().then(()=>(Lo(),Fo))),"bars-4":P(()=>Promise.resolve().then(()=>(Bo(),Ro))),beaker:P(()=>Promise.resolve().then(()=>(Uo(),Vo))),bell:P(()=>Promise.resolve().then(()=>(Ko(),Wo))),"bell-slash":P(()=>Promise.resolve().then(()=>(Yo(),qo))),"bell-solid":P(()=>Promise.resolve().then(()=>(Qo(),Xo))),bold:P(()=>Promise.resolve().then(()=>(ts(),$o))),book:P(()=>Promise.resolve().then(()=>(is(),ns))),"book-solid":P(()=>Promise.resolve().then(()=>(ss(),as))),bookmark:P(()=>Promise.resolve().then(()=>(us(),cs))),"bookmark-solid":P(()=>Promise.resolve().then(()=>(ps(),ds))),"bounding-box":P(()=>Promise.resolve().then(()=>(gs(),ms))),briefcase:P(()=>Promise.resolve().then(()=>(ys(),_s))),broadcast:P(()=>Promise.resolve().then(()=>(Ss(),bs))),browser:P(()=>Promise.resolve().then(()=>(Ts(),Cs))),bug:P(()=>Promise.resolve().then(()=>(Os(),Es))),calendar:P(()=>Promise.resolve().then(()=>(js(),ks))),camera:P(()=>Promise.resolve().then(()=>(Ps(),Ms))),"carets-closed-square":P(()=>Promise.resolve().then(()=>(Ls(),Fs))),carousel:P(()=>Promise.resolve().then(()=>(Bs(),Rs))),"category-list":P(()=>Promise.resolve().then(()=>(Us(),Vs))),"chart-bar":P(()=>Promise.resolve().then(()=>(Ks(),Ws))),"chat-bubble":P(()=>Promise.resolve().then(()=>(Ys(),qs))),"chat-bubble-solid":P(()=>Promise.resolve().then(()=>(Qs(),Xs))),"chat-bubbles":P(()=>Promise.resolve().then(()=>(tc(),$s))),check:P(()=>Promise.resolve().then(()=>(ic(),nc))),"check-badge":P(()=>Promise.resolve().then(()=>(sc(),ac))),"check-badge-solid":P(()=>Promise.resolve().then(()=>(uc(),cc))),checklist:P(()=>Promise.resolve().then(()=>(pc(),dc))),"checkmark-circle":P(()=>Promise.resolve().then(()=>(gc(),mc))),"checkmark-circle-solid":P(()=>Promise.resolve().then(()=>(yc(),_c))),chip:P(()=>Promise.resolve().then(()=>(Sc(),bc))),circle:P(()=>Promise.resolve().then(()=>(Tc(),Cc))),"circle-angled-line":P(()=>Promise.resolve().then(()=>(Oc(),Ec))),"circle-angled-line-solid":P(()=>Promise.resolve().then(()=>(jc(),kc))),"circle-dash":P(()=>Promise.resolve().then(()=>(Pc(),Mc))),"circle-dot":P(()=>Promise.resolve().then(()=>(Lc(),Fc))),"circle-dot-arrows":P(()=>Promise.resolve().then(()=>(Bc(),Rc))),"circle-half":P(()=>Promise.resolve().then(()=>(Uc(),Vc))),"circle-rule":P(()=>Promise.resolve().then(()=>(Kc(),Wc))),"circle-tick":P(()=>Promise.resolve().then(()=>(Yc(),qc))),clipboard:P(()=>Promise.resolve().then(()=>(Qc(),Xc))),clock:P(()=>Promise.resolve().then(()=>(tl(),$c))),"clock-circle-arrow":P(()=>Promise.resolve().then(()=>(il(),nl))),cloud:P(()=>Promise.resolve().then(()=>(sl(),al))),"cloud-download":P(()=>Promise.resolve().then(()=>(ul(),cl))),"cloud-upload":P(()=>Promise.resolve().then(()=>(pl(),dl))),code:P(()=>Promise.resolve().then(()=>(gl(),ml))),"collapse-all":P(()=>Promise.resolve().then(()=>(yl(),_l))),"collapse-details":P(()=>Promise.resolve().then(()=>(Sl(),bl))),"color-palette":P(()=>Promise.resolve().then(()=>(Tl(),Cl))),columns:P(()=>Promise.resolve().then(()=>(Ol(),El))),compare:P(()=>Promise.resolve().then(()=>(jl(),kl))),computer:P(()=>Promise.resolve().then(()=>(Pl(),Ml))),"connect-node":P(()=>Promise.resolve().then(()=>(Ll(),Fl))),"connected-blocks":P(()=>Promise.resolve().then(()=>(Bl(),Rl))),"cross-hairs":P(()=>Promise.resolve().then(()=>(Ul(),Vl))),"cursor-rays":P(()=>Promise.resolve().then(()=>(Kl(),Wl))),"cursor-ripples":P(()=>Promise.resolve().then(()=>(Yl(),ql))),"data-management":P(()=>Promise.resolve().then(()=>(Ql(),Xl))),"delete-node":P(()=>Promise.resolve().then(()=>(tu(),$l))),"delete-solid":P(()=>Promise.resolve().then(()=>(iu(),nu))),"doc-checkmark":P(()=>Promise.resolve().then(()=>(su(),au))),"dock-bottom":P(()=>Promise.resolve().then(()=>(uu(),cu))),"dock-none":P(()=>Promise.resolve().then(()=>(pu(),du))),"dock-side":P(()=>Promise.resolve().then(()=>(gu(),mu))),document:P(()=>Promise.resolve().then(()=>(yu(),_u))),"document-clipboard":P(()=>Promise.resolve().then(()=>(Su(),bu))),dot:P(()=>Promise.resolve().then(()=>(Tu(),Cu))),"dot-solid":P(()=>Promise.resolve().then(()=>(Ou(),Eu))),drag:P(()=>Promise.resolve().then(()=>(ju(),ku))),dropper:P(()=>Promise.resolve().then(()=>(Pu(),Mu))),duplicate:P(()=>Promise.resolve().then(()=>(Lu(),Fu))),edit:P(()=>Promise.resolve().then(()=>(Bu(),Ru))),ellipses:P(()=>Promise.resolve().then(()=>(Uu(),Vu))),envelope:P(()=>Promise.resolve().then(()=>(Ku(),Wu))),"exclamation-circle":P(()=>Promise.resolve().then(()=>(Yu(),qu))),"exclamation-circle-solid":P(()=>Promise.resolve().then(()=>(Qu(),Xu))),"exclamation-mark":P(()=>Promise.resolve().then(()=>(td(),$u))),"exclamation-triangle":P(()=>Promise.resolve().then(()=>(id(),nd))),"exclamation-triangle-solid":P(()=>Promise.resolve().then(()=>(sd(),ad))),"expand-all":P(()=>Promise.resolve().then(()=>(ud(),cd))),"expand-details":P(()=>Promise.resolve().then(()=>(pd(),dd))),expression:P(()=>Promise.resolve().then(()=>(gd(),md))),eye:P(()=>Promise.resolve().then(()=>(yd(),_d))),"eye-hidden":P(()=>Promise.resolve().then(()=>(Sd(),bd))),"face-frown":P(()=>Promise.resolve().then(()=>(Td(),Cd))),"face-smile":P(()=>Promise.resolve().then(()=>(Od(),Ed))),"face-smile-solid":P(()=>Promise.resolve().then(()=>(jd(),kd))),"fast-forward":P(()=>Promise.resolve().then(()=>(Pd(),Md))),"fast-forward-10":P(()=>Promise.resolve().then(()=>(Ld(),Fd))),film:P(()=>Promise.resolve().then(()=>(Bd(),Rd))),filter:P(()=>Promise.resolve().then(()=>(Ud(),Vd))),"filter-solid":P(()=>Promise.resolve().then(()=>(Kd(),Wd))),flag:P(()=>Promise.resolve().then(()=>(Yd(),qd))),"flag-solid":P(()=>Promise.resolve().then(()=>(Qd(),Xd))),fold:P(()=>Promise.resolve().then(()=>(tf(),$d))),folder:P(()=>Promise.resolve().then(()=>(af(),nf))),fork:P(()=>Promise.resolve().then(()=>(cf(),of))),"gear-solid":P(()=>Promise.resolve().then(()=>(df(),lf))),globe:P(()=>Promise.resolve().then(()=>(mf(),ff))),"globe-alt":P(()=>Promise.resolve().then(()=>(_f(),hf))),group:P(()=>Promise.resolve().then(()=>(bf(),vf))),"group-boxes":P(()=>Promise.resolve().then(()=>(Cf(),xf))),hand:P(()=>Promise.resolve().then(()=>(Ef(),wf))),hash:P(()=>Promise.resolve().then(()=>(kf(),Df))),heading:P(()=>Promise.resolve().then(()=>(Mf(),Af))),home:P(()=>Promise.resolve().then(()=>(Ff(),Nf))),"home-solid":P(()=>Promise.resolve().then(()=>(Rf(),If))),"horizontal-rule":P(()=>Promise.resolve().then(()=>(Vf(),zf))),hourglass:P(()=>Promise.resolve().then(()=>(Wf(),Hf))),"hourglass-end":P(()=>Promise.resolve().then(()=>(qf(),Gf))),"hourglass-mid":P(()=>Promise.resolve().then(()=>(Xf(),Jf))),"hourglass-start":P(()=>Promise.resolve().then(()=>($f(),Zf))),identification:P(()=>Promise.resolve().then(()=>(np(),ep))),image:P(()=>Promise.resolve().then(()=>(ap(),rp))),inbox:P(()=>Promise.resolve().then(()=>(cp(),op))),infinity:P(()=>Promise.resolve().then(()=>(dp(),lp))),"information-circle":P(()=>Promise.resolve().then(()=>(mp(),fp))),"information-circle-solid":P(()=>Promise.resolve().then(()=>(_p(),hp))),inspect:P(()=>Promise.resolve().then(()=>(bp(),vp))),italic:P(()=>Promise.resolve().then(()=>(Cp(),xp))),key:P(()=>Promise.resolve().then(()=>(Ep(),wp))),keyboard:P(()=>Promise.resolve().then(()=>(kp(),Dp))),"laptop-phone":P(()=>Promise.resolve().then(()=>(Mp(),Ap))),layers:P(()=>Promise.resolve().then(()=>(Fp(),Np))),lifebuoy:P(()=>Promise.resolve().then(()=>(Rp(),Ip))),lightbulb:P(()=>Promise.resolve().then(()=>(Vp(),zp))),"lightning-bolt":P(()=>Promise.resolve().then(()=>(Wp(),Hp))),"lightning-bolt-solid":P(()=>Promise.resolve().then(()=>(qp(),Gp))),link:P(()=>Promise.resolve().then(()=>(Xp(),Jp))),"list-ordered":P(()=>Promise.resolve().then(()=>($p(),Zp))),"list-unordered":P(()=>Promise.resolve().then(()=>(nm(),em))),lock:P(()=>Promise.resolve().then(()=>(am(),rm))),"lock-solid":P(()=>Promise.resolve().then(()=>(cm(),om))),login:P(()=>Promise.resolve().then(()=>(dm(),lm))),looping:P(()=>Promise.resolve().then(()=>(mm(),fm))),"looping-off":P(()=>Promise.resolve().then(()=>(_m(),hm))),map:P(()=>Promise.resolve().then(()=>(bm(),vm))),"map-drives":P(()=>Promise.resolve().then(()=>(Cm(),xm))),"map-pin":P(()=>Promise.resolve().then(()=>(Em(),wm))),markdown:P(()=>Promise.resolve().then(()=>(km(),Dm))),maximize:P(()=>Promise.resolve().then(()=>(Mm(),Am))),megaphone:P(()=>Promise.resolve().then(()=>(Fm(),Nm))),merge:P(()=>Promise.resolve().then(()=>(Rm(),Im))),meter:P(()=>Promise.resolve().then(()=>(Vm(),zm))),minimize:P(()=>Promise.resolve().then(()=>(Wm(),Hm))),minus:P(()=>Promise.resolve().then(()=>(qm(),Gm))),"minus-circle":P(()=>Promise.resolve().then(()=>(Xm(),Jm))),"minus-circle-solid":P(()=>Promise.resolve().then(()=>($m(),Zm))),moon:P(()=>Promise.resolve().then(()=>(nh(),eh))),multiselect:P(()=>Promise.resolve().then(()=>(ah(),rh))),"music-note":P(()=>Promise.resolve().then(()=>(ch(),oh))),newspaper:P(()=>Promise.resolve().then(()=>(dh(),lh))),"not-allowed":P(()=>Promise.resolve().then(()=>(mh(),fh))),numbers:P(()=>Promise.resolve().then(()=>(_h(),hh))),"office-building":P(()=>Promise.resolve().then(()=>(bh(),vh))),outline:P(()=>Promise.resolve().then(()=>(Ch(),xh))),"paper-airplane":P(()=>Promise.resolve().then(()=>(Eh(),wh))),"paper-clip":P(()=>Promise.resolve().then(()=>(kh(),Dh))),pause:P(()=>Promise.resolve().then(()=>(Mh(),Ah))),"pencil-square":P(()=>Promise.resolve().then(()=>(Fh(),Nh))),"person-2":P(()=>Promise.resolve().then(()=>(Rh(),Ih))),"person-3":P(()=>Promise.resolve().then(()=>(Vh(),zh))),"person-circle":P(()=>Promise.resolve().then(()=>(Wh(),Hh))),"person-solid":P(()=>Promise.resolve().then(()=>(qh(),Gh))),phone:P(()=>Promise.resolve().then(()=>(Xh(),Jh))),"picture-in-picture":P(()=>Promise.resolve().then(()=>($h(),Zh))),"pie-chart":P(()=>Promise.resolve().then(()=>(ng(),eg))),pin:P(()=>Promise.resolve().then(()=>(ag(),rg))),"pin-solid":P(()=>Promise.resolve().then(()=>(cg(),og))),"pizza-slice":P(()=>Promise.resolve().then(()=>(dg(),lg))),play:P(()=>Promise.resolve().then(()=>(mg(),fg))),plug:P(()=>Promise.resolve().then(()=>(_g(),hg))),"plus-circle":P(()=>Promise.resolve().then(()=>(bg(),vg))),"plus-circle-solid":P(()=>Promise.resolve().then(()=>(Cg(),xg))),"plus-minus":P(()=>Promise.resolve().then(()=>(Eg(),wg))),pointer:P(()=>Promise.resolve().then(()=>(kg(),Dg))),"pointer-solid":P(()=>Promise.resolve().then(()=>(Mg(),Ag))),"priority-high":P(()=>Promise.resolve().then(()=>(Fg(),Ng))),"priority-low":P(()=>Promise.resolve().then(()=>(Rg(),Ig))),"priority-medium":P(()=>Promise.resolve().then(()=>(Vg(),zg))),projector:P(()=>Promise.resolve().then(()=>(Wg(),Hg))),"pull-close":P(()=>Promise.resolve().then(()=>(qg(),Gg))),"pull-draft":P(()=>Promise.resolve().then(()=>(Xg(),Jg))),"pull-open":P(()=>Promise.resolve().then(()=>($g(),Zg))),pulse:P(()=>Promise.resolve().then(()=>(n_(),e_))),"puzzle-piece":P(()=>Promise.resolve().then(()=>(a_(),r_))),"question-mark-circle":P(()=>Promise.resolve().then(()=>(c_(),o_))),"question-mark-circle-solid":P(()=>Promise.resolve().then(()=>(d_(),l_))),"rectangle-group":P(()=>Promise.resolve().then(()=>(m_(),f_))),"rectangle-stack-horizontal":P(()=>Promise.resolve().then(()=>(__(),h_))),"rectangle-stack-vertical":P(()=>Promise.resolve().then(()=>(b_(),v_))),redo:P(()=>Promise.resolve().then(()=>(C_(),x_))),reply:P(()=>Promise.resolve().then(()=>(E_(),w_))),rewind:P(()=>Promise.resolve().then(()=>(k_(),D_))),"rewind-10":P(()=>Promise.resolve().then(()=>(M_(),A_))),rocketship:P(()=>Promise.resolve().then(()=>(F_(),N_))),running:P(()=>Promise.resolve().then(()=>(R_(),I_))),scale:P(()=>Promise.resolve().then(()=>(V_(),z_))),scissors:P(()=>Promise.resolve().then(()=>(W_(),H_))),sensor:P(()=>Promise.resolve().then(()=>(q_(),G_))),server:P(()=>Promise.resolve().then(()=>(X_(),J_))),"server-stack":P(()=>Promise.resolve().then(()=>($_(),Z_))),shapes:P(()=>Promise.resolve().then(()=>(nv(),ev))),share:P(()=>Promise.resolve().then(()=>(av(),rv))),signal:P(()=>Promise.resolve().then(()=>(cv(),ov))),"signal-slash":P(()=>Promise.resolve().then(()=>(dv(),lv))),signpost:P(()=>Promise.resolve().then(()=>(mv(),fv))),"sort-ascending":P(()=>Promise.resolve().then(()=>(_v(),hv))),"sort-descending":P(()=>Promise.resolve().then(()=>(bv(),vv))),soundwave:P(()=>Promise.resolve().then(()=>(Cv(),xv))),"sparkles-solid":P(()=>Promise.resolve().then(()=>(Ev(),wv))),"split-horizontal":P(()=>Promise.resolve().then(()=>(kv(),Dv))),"split-none":P(()=>Promise.resolve().then(()=>(Mv(),Av))),star:P(()=>Promise.resolve().then(()=>(Fv(),Nv))),"star-half":P(()=>Promise.resolve().then(()=>(Rv(),Iv))),"star-stroke":P(()=>Promise.resolve().then(()=>(Vv(),zv))),start:P(()=>Promise.resolve().then(()=>(Wv(),Hv))),"status-offline":P(()=>Promise.resolve().then(()=>(qv(),Gv))),"status-online":P(()=>Promise.resolve().then(()=>(Xv(),Jv))),stop:P(()=>Promise.resolve().then(()=>($v(),Zv))),"stop-sign":P(()=>Promise.resolve().then(()=>(ny(),ey))),stopwatch:P(()=>Promise.resolve().then(()=>(ay(),ry))),strikethrough:P(()=>Promise.resolve().then(()=>(cy(),oy))),sun:P(()=>Promise.resolve().then(()=>(dy(),ly))),swatch:P(()=>Promise.resolve().then(()=>(my(),fy))),switch:P(()=>Promise.resolve().then(()=>(_y(),hy))),"switch-apps":P(()=>Promise.resolve().then(()=>(by(),vy))),table:P(()=>Promise.resolve().then(()=>(Cy(),xy))),tag:P(()=>Promise.resolve().then(()=>(Ey(),wy))),task:P(()=>Promise.resolve().then(()=>(ky(),Dy))),telescope:P(()=>Promise.resolve().then(()=>(My(),Ay))),template:P(()=>Promise.resolve().then(()=>(Fy(),Ny))),terminal:P(()=>Promise.resolve().then(()=>(Ry(),Iy))),thumb:P(()=>Promise.resolve().then(()=>(Vy(),zy))),"thumb-solid":P(()=>Promise.resolve().then(()=>(Wy(),Hy))),"traffic-cone":P(()=>Promise.resolve().then(()=>(qy(),Gy))),"transparent-box":P(()=>Promise.resolve().then(()=>(Xy(),Jy))),"trend-down":P(()=>Promise.resolve().then(()=>($y(),Zy))),"trend-up":P(()=>Promise.resolve().then(()=>(nb(),eb))),trophy:P(()=>Promise.resolve().then(()=>(ab(),rb))),truck:P(()=>Promise.resolve().then(()=>(cb(),ob))),typography:P(()=>Promise.resolve().then(()=>(db(),lb))),undo:P(()=>Promise.resolve().then(()=>(mb(),fb))),unlock:P(()=>Promise.resolve().then(()=>(_b(),hb))),"unlock-solid":P(()=>Promise.resolve().then(()=>(bb(),vb))),upload:P(()=>Promise.resolve().then(()=>(Cb(),xb))),"video-camera":P(()=>Promise.resolve().then(()=>(Eb(),wb))),"view-as-grid":P(()=>Promise.resolve().then(()=>(kb(),Db))),volume:P(()=>Promise.resolve().then(()=>(Mb(),Ab))),"volume-muted":P(()=>Promise.resolve().then(()=>(Fb(),Nb))),"volume-solid":P(()=>Promise.resolve().then(()=>(Rb(),Ib))),wifi:P(()=>Promise.resolve().then(()=>(Vb(),zb))),wrench:P(()=>Promise.resolve().then(()=>(Wb(),Hb))),"wrench-solid":P(()=>Promise.resolve().then(()=>(qb(),Gb))),"x-circle":P(()=>Promise.resolve().then(()=>(Xb(),Jb))),"x-circle-solid":P(()=>Promise.resolve().then(()=>($b(),Zb))),"zoom-in":P(()=>Promise.resolve().then(()=>(nx(),ex))),"zoom-out":P(()=>Promise.resolve().then(()=>(ax(),rx)))},sx=Object.keys(ox).filter(e=>e.endsWith(`-solid`)).map(e=>e.slice(0,-6)),cx=Object.keys(ox).filter(e=>!e.endsWith(`-solid`)),lx=`:host{--color: var(--nve-sys-text-muted-color);--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);display:inline-flex;contain:layout}[internal-host]{--_width: calc(var(--width) * var(--nve-ref-scale-size, 1));--_height: calc(var(--height) * var(--nve-ref-scale-size, 1));color:var(--color);width:var(--width);height:var(--height);display:flex;justify-content:center;align-items:center}svg{width:var(--_width);height:var(--_height)}:host([outline]){outline:1px dashed var(--color)}:host([size="xs"]){--width: var(--nve-ref-size-200);--height: var(--nve-ref-size-200)}:host([size="sm"]){--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([size="lg"]){--width: var(--nve-ref-size-500);--height: var(--nve-ref-size-500)}:host([size="xl"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([name="arrow"]),:host([name="arrow-angle"]),:host([name="cancel"]),:host([name="caret"]),:host([name="chevron"]),:host([name="double-chevron"]){--nve-ref-scale-size: .8}:host([direction="up"]){transform:rotate(0)}:host([direction="down"]){transform:rotate(180deg)}:host([direction="left"]){transform:rotate(270deg)}:host([direction="right"]){transform:rotate(90deg)}:host([status="success"]){--color: var(--nve-sys-support-success-color)}:host([status="warning"]){--color: var(--nve-sys-support-warning-color)}:host([status="danger"]){--color: var(--nve-sys-support-danger-color)}:host([status="accent"]){--color: var(--nve-sys-support-accent-color)}`,F=class e extends y{static{this.styles=k([lx])}static{this.metadata={tag:`nve-icon`,version:`0.0.0`}}static{this._icons=ox}static get _iconsRegistry(){return this.registeredIcon?._icons??e._icons}static set _iconsRegistry(t){this.registeredIcon._icons={...e._iconsRegistry,...t}}static get registeredIcon(){return customElements.get(e.metadata.tag)}get#e(){if(!this.name||this.name.endsWith(`.svg`)||this.appearance!==`solid`||this.name.endsWith(`-solid`))return this.name;let t=`${this.name}-solid`;return e._iconsRegistry[t]?t:this.name}get#t(){return this.#e,this.svg}#n;#r=0;#i=e=>this.#s(e);render(){return _`<div internal-host aria-hidden="true"><slot>${Di(this.#t)}</slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`img`,this.#a()}disconnectedCallback(){super.disconnectedCallback(),this.#o()}static async add(t){globalThis.customElements?.whenDefined&&(await globalThis.customElements.whenDefined(e.metadata.tag),e._iconsRegistry=t,Object.keys(t).forEach(n=>globalThis?.document?.dispatchEvent(new CustomEvent(`${e.metadata.tag}-${n}`,{detail:t[n]}))))}static alias(t){globalThis.customElements?.whenDefined&&globalThis.customElements.whenDefined(e.metadata.tag).then(()=>{Object.keys(t).forEach(n=>{e._iconsRegistry[n]=e._iconsRegistry[t[n]],globalThis?.document?.dispatchEvent(new CustomEvent(`${e.metadata.tag}-${n}`,{detail:e._iconsRegistry[n]}))})})}async updated(e){super.updated(e),(e.has(`name`)||e.has(`appearance`))&&(this.#o(),this.#a()),await this.#c()}#a(){let t=this.#e;!this.isConnected||!t||this.#n||(this.#n=`${e.metadata.tag}-${t}`,globalThis.document?.addEventListener(this.#n,this.#i))}#o(){this.#n&&=(globalThis.document?.removeEventListener(this.#n,this.#i),void 0)}async#s(e){this.isConnected&&e.detail&&this.svg!==await e.detail.svg()&&this.#c()}async#c(){let t=++this.#r,n=this.#e;if(!n)return;let r=await(n.endsWith(`.svg`)?fetch(n).then(e=>e.text()):e._iconsRegistry[n]?.svg()??Promise.resolve(``));t===this.#r&&(e._iconsRegistry[n]={svg:()=>r,...e._iconsRegistry[n]},this.svg=r)}};M([b({type:String,reflect:!0})],F.prototype,`status`,void 0),M([b({type:String,reflect:!0})],F.prototype,`size`,void 0),M([b({type:String,reflect:!0})],F.prototype,`direction`,void 0),M([b({type:String})],F.prototype,`appearance`,void 0),M([b({type:String,reflect:!0})],F.prototype,`name`,void 0),M([N()],F.prototype,`svg`,void 0);function ux(e){if(typeof globalThis.customElements?.get==`function`){let t=Cr(e.metadata.version),n=Cr(`0.0.0`);t.minor<=n.minor&&t.major<=n.major&&(e._icons={...e._icons,...ox})}}var dx=`:host{--color: var(--nve-sys-text-muted-color);--border-radius: var(--nve-ref-border-radius-full);--padding: 0;--line-height: 0;--gap: 0;--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.3)}:host([container*="inline"]){--height: var(--nve-ref-size-800);--line-height: 0}:host([size="sm"]){--padding: 0;--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--padding: 0}[internal-host]{font-size:var(--font-size)}[internal-host]:after{display:none!important}nve-icon{--color: var(--_icon-color);pointer-events:none}::slotted(a){text-decoration:none!important;color:var(--color)!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}`,I=class extends xi{static{this.styles=k([...xi.styles,dx])}static{this.metadata={tag:`nve-icon-button`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}render(){return _`<div internal-host interaction-state focus-within aria-hidden="true"><slot @slotchange="${e=>gn(e.target)}"><nve-icon .name="${this.iconName}" .appearance="${this.appearance}" .direction="${this.direction}" .size="${this.size}" aria-hidden="true" part="icon"></nve-icon></slot></div><slot name="anchor"></slot>`}};M([b({type:String,attribute:`icon-name`})],I.prototype,`iconName`,void 0),M([b({type:String,reflect:!0})],I.prototype,`direction`,void 0),M([b({type:String,reflect:!0})],I.prototype,`size`,void 0),M([b({type:String})],I.prototype,`appearance`,void 0),I=M([O()],I);var fx=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: 0;--header-padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--cursor: pointer;--transition: height var(--nve-ref-animation-duration-200) ease-in-out;width:100%;width:stretch;contain:none}[internal-host]{border-radius:var(--border-radius);background:var(--background);color:var(--color);overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%}#header{cursor:var(--cursor);display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--header-padding)}#content{display:block;height:0;transition:var(--transition)}:host(:state(expanded)) #content{height:auto;height:calc-size(max-content,size)}:host([container="inset"]){--border-radius: var(--nve-ref-border-radius-md)}:host([container="flat"]){--background: inherit;--header-padding: var(--nve-ref-size-200) var(--nve-ref-size-400)}:host([container="flat"]) ::slotted(nve-accordion-content){--padding: var(--nve-ref-size-50) var(--nve-ref-size-400) var(--nve-ref-size-300) var(--nve-ref-size-400)}:host([disabled]){--cursor: not-allowed}:host([disabled]) ::slotted(nve-accordion-header){--cursor: not-allowed}:host(:not([disabled])) #header:hover nve-icon-button{--color: var(--nve-sys-text-emphasis-color)}nve-icon-button::part(icon){transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}`,px=`:host{width:100%;--cursor: pointer}[internal-host]{cursor:var(--cursor);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--nve-ref-space-xs)}slot:not([name]){display:block;flex:1}`,mx=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);padding:var(--padding);color:var(--color);font-weight:var(--nve-ref-font-weight-regular);font-size:var(--nve-ref-font-size-200);flex-grow:1;contain:none}`,hx=`:host{--padding: var(--nve-ref-size-400) var(--nve-ref-size-500) var(--nve-ref-size-500);width:100%;width:stretch}[internal-host]{display:flex;flex-direction:column}:host([container="flat"]) [internal-host]{gap:var(--nve-ref-space-xxxs)}:host([container="inset"]) [internal-host]{gap:var(--nve-ref-space-md)}:host(:not([container])) ::slotted(nve-accordion:not(:last-child)){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}:host([container="full"]) ::slotted(nve-accordion:not(:last-child)){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}`,gx={close:`close`,expand:`expand`},_x=class extends y{constructor(...e){super(...e),this.slot=`header`}static{this.styles=k([px])}static{this.metadata={tag:`nve-accordion-header`,version:`0.0.0`}}render(){return _`<div internal-host><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`heading`,this._internals.ariaLevel=`2`}};M([D()],_x.prototype,`slot`,void 0);var vx=class extends y{static{this.styles=k([mx])}static{this.metadata={tag:`nve-accordion-content`,version:`0.0.0`}}render(){return _`<slot></slot>`}},yx=class extends y{constructor(...e){super(...e),this.#e=new A(this,gx),this.#t=new er(this),this.i18n=this.#e.i18n,this.expanded=!1,this.disabled=!1,this.behaviorExpand=!1}static{this.styles=k([fx])}static{this.metadata={tag:`nve-accordion`,version:`0.0.0`,children:[_x.metadata.tag,vx.metadata.tag,I.metadata.tag]}}static{this.elementDefinitions={[I.metadata.tag]:I}}#e;#t;get#n(){return this.shadowRoot?.querySelector(`slot[name=header]`)?.assignedElements()[0]}#r(e){this.disabled||Ut(e)&&e.id!==`internal-trigger`||this.#t.toggle()}render(){return _`<div internal-host><div id="header" @click="${e=>this.#r(e.target)}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}" .ariaControls="${`content`}"><slot name="header"></slot><slot name="icon-button"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" id="internal-trigger" container="inline" icon-name="caret" direction="${this.expanded?`up`:`down`}" ?disabled="${this.disabled}" ?pressed="${this.expanded}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}"></nve-icon-button></slot></div><div id="content" .ariaHidden="${!this.expanded}"><slot></slot></div></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`region`}async firstUpdated(e){super.firstUpdated(e),this.#n&&(this.#n.id||=Qt(),this.setAttribute(`aria-labelledby`,this.#n.id))}};M([b({type:Object})],yx.prototype,`i18n`,void 0),M([b({type:String,reflect:!0})],yx.prototype,`container`,void 0),M([b({type:Boolean,reflect:!0})],yx.prototype,`expanded`,void 0),M([b({type:Boolean,reflect:!0})],yx.prototype,`disabled`,void 0),M([b({type:Boolean,attribute:`behavior-expand`})],yx.prototype,`behaviorExpand`,void 0),yx=M([S(),O(),Un()],yx);var bx=class extends y{constructor(...e){super(...e),this.behaviorExpand=!1,this.behaviorExpandSingle=!1,this.#e=e=>{this.behaviorExpandSingle&&this.accordions.find(t=>t===e.target)&&this.accordions.filter(t=>t!==e.target).forEach(e=>e.expanded=!1)}}static{this.styles=k([hx])}static{this.metadata={tag:`nve-accordion-group`,version:`0.0.0`,children:[yx.metadata.tag]}}render(){return _`<div internal-host><slot @slotchange="${()=>this.#t()}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`,this.addEventListener(`open`,this.#e)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`open`,this.#e)}#e;updated(e){super.updated(e),this.#t()}#t(){this.accordions.forEach(e=>e.container=this.container),this.accordions.forEach(e=>e.behaviorExpand=this.behaviorExpand||this.behaviorExpandSingle)}};M([b({type:Boolean,attribute:`behavior-expand`})],bx.prototype,`behaviorExpand`,void 0),M([b({type:Boolean,attribute:`behavior-expand-single`})],bx.prototype,`behaviorExpandSingle`,void 0),M([b({type:String,reflect:!0})],bx.prototype,`container`,void 0),M([x()],bx.prototype,`accordions`,void 0),bx=M([S()],bx),g(yx),g(_x),g(vx),g(bx);var xx=`nve-alert:has([slot=content])::part(_content){display:block}nve-alert-group:not(:has(nve-alert)),nve-alert-group:not(:has(nve-alert:not([hidden]))){display:none}`,Sx=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--color: var(--nve-sys-text-emphasis-color);--icon-color: var(--status-color);--icon-size: var(--nve-ref-size-400);--font-weight: var(--nve-ref-font-weight-medium);--justify-content: start;--align-items: center;--min-height: initial;--text-transform: initial;width:auto}[internal-host]{--_icon-cancel-color: var(--color);font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);color:var(--color);justify-content:var(--justify-content);align-items:var(--align-items);text-transform:var(--text-transform);display:flex;line-height:1em;height:100%}slot[part=_content]{display:contents;padding-inline-start:var(--nve-ref-size-600);padding-block-end:var(--nve-ref-size-200)}slot{display:flex;align-items:center;justify-content:var(--justify-content);gap:var(--nve-ref-space-xxs);min-height:var(--min-height)}slot:not([name=actions],[name=prefix],[name=icon]){flex-grow:1}slot[name=prefix],slot[name=actions]{font-weight:var(--nve-ref-font-weight-semibold)}::slotted(nve-button[container="flat"]){--color: inherit}slot[name=actions]{margin-inline-start:auto}slot[name=prefix]{margin-inline-end:var(--nve-ref-space-lg)}nve-icon{--color: var(--icon-color)}nve-icon:not([size=sm]){--width: var(--icon-size);--height: var(--icon-size)}nve-icon[size=sm]{padding:var(--nve-ref-size-50)}nve-icon-button{--color: var(--icon-color);margin-inline-start:auto}::slotted([nve-text]){color:inherit!important}:host([status="success"]),:host([status="danger"]){--color: var(--status-color)}:host([status="scheduled"]),:host([status="queued"]),:host([status="pending"]),:host([status="starting"]),:host([status="running"]),:host([status="restarting"]),:host([status="stopping"]),:host([status="finished"]),:host([status="failed"]),:host([status="unknown"]),:host([status="ignored"]){--color: var(--status-color)}::slotted([slot="actions"]){--color: var(--status-color) !important}`,Cx={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},wx=class extends y{constructor(...e){super(...e),this.closable=!1,this.#e=new $n(this),this.#t=new A(this,Cx),this.i18n=this.#t.i18n}static{this.styles=k([Sx,gr,_r])}static{this.metadata={tag:`nve-alert`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F,[I.metadata.tag]:I}}#e;#t;render(){return _`<div internal-host @slotchange="${()=>this.requestUpdate()}"><slot name="icon"><nve-icon part="icon" role="img" .name="${Sr[this.status]??Sr[``]}" aria-label="${(this.status?this.i18n[this.status]:void 0)??this.i18n.information??`information`}"></nve-icon></slot><slot name="prefix" ?hidden="${!this.prefixItems.length}"></slot><slot></slot><slot name="actions" ?hidden="${!this.actionItems.length}"></slot>${this.closable?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${()=>this.#e.close()}" container="flat" icon-name="cancel" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}</div><slot name="content" part="_content"></slot>`}connectedCallback(){super.connectedCallback(),T(this),C(this,xx),this._internals.role=`alert`}};M([b({type:String,reflect:!0})],wx.prototype,`status`,void 0),M([b({type:Boolean})],wx.prototype,`closable`,void 0),M([b({type:Object})],wx.prototype,`i18n`,void 0),M([x({slot:`prefix`,flatten:!0})],wx.prototype,`prefixItems`,void 0),M([x({slot:`actions`,flatten:!0})],wx.prototype,`actionItems`,void 0),wx=M([O()],wx);var Tx=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-200);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);--border: 0;--border-radius: var(--nve-ref-border-radius-md);--icon-size: var(--nve-ref-size-600);--icon-color: var(--color);--color: var(--nve-sys-text-emphasis-color);--background: var(--state-color-background);width:100%}[internal-host]{background:var(--background);font-size:var(--font-size);gap:var(--gap);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);display:flex;flex-direction:column;--_alert-color: var(--color);--_icon-color: var(--icon-color)}::slotted(nve-alert){--color: var(--_alert-color);--icon-color: var(--_icon-color);--icon-size: var(--nve-ref-size-400);--min-height: var(--nve-ref-size-800);width:100%;height:100%}:host([container="full"]){--border-radius: 0}:host([prominence="emphasis"]:not([color])){--background: var(--nve-sys-support-color);--color: var(--nve-sys-text-white-color);--icon-color: var(--color)}:host([prominence="emphasis"][status="accent"]:not([color])){--background: var(--nve-sys-support-accent-color)}:host([prominence="emphasis"][status="success"]:not([color])){--background: var(--nve-sys-support-success-color)}:host([prominence="emphasis"][status="warning"]:not([color])){--background: var(--nve-sys-support-warning-color);--color: var(--nve-sys-text-black-color)}:host([prominence="emphasis"][status="danger"]:not([color])){--background: var(--nve-sys-support-danger-color)}:host([prominence="emphasis"]) ::slotted(nve-alert){--font-weight: var(--nve-ref-font-weight-regular)}:host(:not([prominence="emphasis"])) ::slotted(nve-alert){--icon-color: var(--status-color) !important}:host([status]){--state-color-base: var(--status-color)}:host([color]) ::slotted(nve-alert){--status-color: var(--state-color-base) !important}`,Ex=class extends y{static{this.styles=k([Tx,_r,hr])}static{this.metadata={tag:`nve-alert-group`,version:`0.0.0`,children:[wx.metadata.tag]}}render(){return _`<div internal-host><slot @slotchange="${()=>this.#e()}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`}updated(e){super.updated(e),this.#e()}#e(){this.alerts.forEach(e=>e.status=this.status)}};M([b({type:String,reflect:!0})],Ex.prototype,`status`,void 0),M([b({type:String,reflect:!0})],Ex.prototype,`prominence`,void 0),M([b({type:String,reflect:!0})],Ex.prototype,`color`,void 0),M([b({type:String,reflect:!0})],Ex.prototype,`container`,void 0),M([x()],Ex.prototype,`alerts`,void 0),Ex=M([S()],Ex),g(wx),g(Ex);var Dx=`:host{--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color);--border-radius: var(--nve-ref-border-radius-full);--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.5);--font-weight: var(--nve-ref-font-weight-medium);--state-color-base: var(--nve-ref-color-gray-slate-1100);--border: 0;display:block;overflow:hidden}[internal-host]{--_icon-color: var(--color);background:var(--background);color:var(--color);border-radius:var(--border-radius);width:var(--width);height:var(--height);font-size:var(--font-size);font-weight:var(--font-weight);border:var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden}::slotted(nve-icon){--color: var(--_icon-color)}::slotted(img){object-fit:cover;width:100%;height:100%}:host([size="sm"]){--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}`,Ox=class extends y{static{this.styles=k([Dx,hr])}static{this.metadata={tag:`nve-avatar`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}};M([b({type:String,reflect:!0})],Ox.prototype,`size`,void 0),M([b({type:String,reflect:!0})],Ox.prototype,`color`,void 0);var kx=`:host{display:block}[internal-host]{display:flex;overflow:visible}::slotted(nve-avatar){margin-inline-start:calc(-1 * var(--nve-ref-size-150));--border: 1px solid var(--nve-sys-contrast-mute-color)}::slotted(:first-child){margin-inline-start:0}`,Ax=class extends y{static{this.styles=k([kx])}static{this.metadata={tag:`nve-avatar-group`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`}};g(Ox),g(Ax);var jx=`:host{--background: var(--state-color-background);--color: var(--state-color);--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--icon-color: var(--color);--padding: 0 var(--nve-ref-size-200);--border: 0;--border-radius: var(--nve-ref-border-radius-sm);--font-weight: var(--nve-ref-font-weight-semibold);--text-transform: initial;--width: initial;--height: var(--nve-ref-size-600);display:inline-flex}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);width:var(--width);height:var(--height);text-transform:var(--text-transform);display:inline-flex;line-height:1em;place-items:center}slot:not([name]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;line-height:1.15}:host([aria-label]) slot:not([name]){display:contents}::slotted([nve-text]){color:inherit!important}::slotted(a){margin:0!important;color:inherit!important;text-decoration:none!important;line-height:0!important}nve-icon,::slotted(nve-icon){--color: var(--icon-color);--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([status]){--state-color-base: var(--status-color)}:host([container="flat"]){--background: var(--nve-sys-background-color);--border-radius: var(--nve-ref-border-radius-sm);--gap: var(--nve-ref-space-xs);--padding: 0;--text-transform: capitalize;--width: initial;--height: initial}`,Mx=class extends y{static{this.styles=k([jx,gr,_r,hr])}static{this.metadata={tag:`nve-badge`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}get#e(){return this.status&&Sr[this.status]===`dot`?`sm`:`md`}render(){return _`<div internal-host><slot name="prefix-icon">${this.status?_`<nve-icon part="_icon" .name="${Sr[this.status]??``}" .size="${this.#e}" aria-hidden="true"></nve-icon>`:v}</slot><slot @slotchange="${this.#t}"></slot><slot name="suffix-icon"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`status`}updated(e){super.updated(e),this.#n()}#t(){this.#n(),this.#r()}#n(){this._internals.ariaLabel=this.textContent}#r(){let e=this.shadowRoot.querySelector(`slot:not([name])`).assignedElements().find(e=>e.matches(`nve-icon`)&&!e.slot);e&&(e.slot=`prefix-icon`)}};M([b({type:String,reflect:!0})],Mx.prototype,`status`,void 0),M([b({type:String,reflect:!0})],Mx.prototype,`color`,void 0),M([b({type:String,reflect:!0})],Mx.prototype,`container`,void 0),M([b({type:String,reflect:!0})],Mx.prototype,`prominence`,void 0),Mx=M([E(),O()],Mx),g(Mx);var Nx=`:host{--gap: var(--nve-ref-space-xxs);--height: var(--nve-ref-size-500);--font-size: var(--nve-ref-font-size-50);--color: var(--nve-sys-text-muted-color);--font-weight: var(--nve-ref-font-weight-medium)}[internal-host]{--_font-size: var(--font-size);--_font-weight: var(--font-weight);--_color: var(--color);--_height: var(--height)}ol,li{list-style-type:none;padding:0;display:flex;margin:0;min-height:0;align-items:flex-start;justify-content:stretch;gap:var(--gap)}li{display:flex;align-items:center;justify-content:center;text-wrap:nowrap;height:var(--_height)}::slotted(nve-button){--border-radius: calc(var(--nve-ref-border-radius-xs) / 2);--font-size: var(--_font-size);--color: var(--_color);--padding: 0 var(--nve-ref-size-100);--height: var(--_height);--font-weight: var(--_font-weight);--text-decoration: none !important;--_border-bottom-offset: -.5;--_border-bottom-width: 85%}::slotted(nve-icon-button){--border-radius: calc(var(--nve-ref-border-radius-xs) / 2);--icon-width: var(--nve-ref-size-300);--icon-height: var(--nve-ref-size-300);--height: var(--_height);--width: var(--_height);--font-size: var(--_font-size);--font-weight: var(--_font-weight);--color: var(--_color)}nve-icon[separator]{--height: var(--nve-ref-size-200);--width: var(--nve-ref-size-200);--color: var(--_color)}::slotted(span){font-size:var(--_font-size);color:var(--_color);display:block}::slotted(*:last-child){color:var(--nve-sys-text-emphasis-color);font-weight:var(--nve-ref-font-weight-semibold);--font-weight: var(--nve-ref-font-weight-semibold);--color: var(--nve-sys-text-emphasis-color)}[hidden-slot]{gap:var(--nve-ref-space-sm);display:flex;align-items:center}`,Px=class extends y{constructor(...e){super(...e),this.breadcrumbItems=[]}get keynavListConfig(){return{items:Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).filter(e=>Ut(e))}}static{this.styles=k([Nx])}static{this.metadata={tag:`nve-breadcrumb`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}render(){return _`<ol internal-host>${this.breadcrumbItems.map((e,t)=>_`<li><slot name="${e.slot}" @slotchange="${this.#e}"></slot>${t<this.breadcrumbItems.length-1?_`<nve-icon part="icon" separator aria-hidden="true" name="chevron" direction="right" size="sm"></nve-icon>`:v}</li>`)}</ol><slot ?hidden-slot="${!this.breadcrumbItems.length}" @slotchange="${this.#t}"></slot>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`navigation`}#e(e){e.target.assignedElements().length||this.#n()}#t(e){if(e.target&&e.target.assignedElements().length){this.#n();let e=this.shadowRoot.querySelector(`slot:not([name])`).assignedElements();e.filter(e=>e.matches(`nve-button, nve-icon-button, span, a`)).forEach(e=>e.slot=Qt()),e.filter(e=>e.matches(`nve-button, nve-icon-button`)).forEach(e=>e.container=`inline`),this.breadcrumbItems=e.length?e:this.breadcrumbItems}}#n(){Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).forEach(e=>e.slot=``)}};M([N()],Px.prototype,`breadcrumbItems`,void 0),Px=M([E(),O(),Mn()],Px),g(Px),g(xi);var Fx=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--background: var(--nve-sys-interaction-background);--border-radius: var(--nve-ref-border-radius-sm);--padding: var(--nve-ref-space-xxs);--gap: var(--nve-ref-space-xxxs);--width: fit-content;--height: fit-content;width:var(--width);height:var(--height)}[internal-host]{background:var(--background);border-radius:var(--border-radius);padding:var(--padding);gap:var(--gap);overflow:hidden;display:flex;height:100%;align-items:center}::slotted(nve-button),::slotted(nve-icon-button){--height: var(--nve-sys-interaction-field-height);--border-radius: var(--nve-ref-border-radius-sm)}::slotted(nve-icon-button){--width: var(--nve-sys-interaction-field-height)}::slotted(nve-divider){margin-block-start:calc(-1 * var(--padding));height:calc(100% + var(--padding));--color: color-mix(in oklab, var(--nve-sys-interaction-background) 100%, var(--nve-sys-interaction-color) 50%)}:host([container="flat"]){--background: transparent}:host([container="rounded"]){--border-radius: var(--nve-ref-border-radius-full)}:host([container="rounded"]:not(:state(split))) ::slotted(nve-button),:host([container="rounded"]:not(:state(split))) ::slotted(nve-icon-button){--border-radius: var(--nve-ref-border-radius-full)}:host([orientation="vertical"]){--gap: var(--nve-ref-space-xs)}:host([orientation="vertical"]) [internal-host]{flex-direction:column}:host([interaction="emphasis"]) ::slotted(nve-divider){--color: color-mix( in oklab, var(--nve-sys-interaction-emphasis-background) 100%, var(--nve-sys-interaction-emphasis-color) 50% )}:host([interaction="destructive"]) ::slotted(nve-divider){--color: color-mix( in oklab, var(--nve-sys-interaction-destructive-background) 100%, var(--nve-sys-interaction-destructive-color) 50% )}:host(:state(split)){--padding: 0;--gap: 0}:host(:state(split)) ::slotted(nve-button){--border-radius: var(--nve-ref-border-radius-none)}:host(:state(split)) ::slotted(nve-icon-button){--border-radius: var(--nve-ref-border-radius-none)}`,Ix=`@supports (position-anchor: --selected){nve-button-group{&:has(>:state(pressed)):not(:has(>:state(pressed)~:state(pressed)),:has(>[container]),:has(>[interaction])){--indicator-background: var(--nve-sys-support-accent-color);--indicator-border-radius: var(--nve-ref-border-radius-sm);&:after{background:var(--indicator-background);border-radius:var(--indicator-border-radius);position:fixed;display:block;content:"";width:anchor-size(width);height:anchor-size(height);transition:left var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100),top var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100);position-anchor:--selected;top:anchor(top);left:anchor(left);z-index:0}&[orientation=vertical]:after{transition:top var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100),left var(--nve-ref-animation-duration-150) var(--nve-ref-animation-easing-100)}&[container=rounded]:after{--indicator-border-radius: var(--nve-ref-border-radius-full)}>nve-button,>nve-icon-button{&:state(pressed){--background: transparent;anchor-name:--selected;z-index:1}}}}}`,Lx=class extends y{constructor(...e){super(...e),this.orientation=`horizontal`,this.#t=e=>this.#r(e.target)}get keynavListConfig(){return{items:this.#e,layout:this.orientation}}static{this.styles=k([Fx])}static{this.metadata={tag:`nve-button-group`,version:`0.0.0`,children:[`nve-button`,`nve-icon-button`,`nve-divider`,`nve-media-seek-button`,`nve-media-pause-button`]}}get#e(){return[...this.iconButtons,...this.buttons]}render(){return _`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),C(this,Ix),this._internals.role=`group`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t;updated(e){super.updated(e),this.#n()}#n(){this.container===`flat`&&this.#e.forEach(e=>e.container=`flat`),this.interaction&&this.#e.forEach(e=>e.interaction=this.interaction),this.dividers.length?this._internals.states.add(`split`):this._internals.states.delete(`split`)}#r(e){e.matches?.(`nve-button, nve-icon-button`)&&(this.behaviorSelect===`single`?(this.#e.forEach(e=>e.pressed=!1),e.pressed=!0):this.behaviorSelect===`multi`&&(e.pressed=!e.pressed))}};M([b({type:String,attribute:`behavior-select`})],Lx.prototype,`behaviorSelect`,void 0),M([b({type:String,reflect:!0})],Lx.prototype,`container`,void 0),M([b({type:String,reflect:!0})],Lx.prototype,`orientation`,void 0),M([b({type:String,reflect:!0})],Lx.prototype,`interaction`,void 0),M([b({type:String,reflect:!0})],Lx.prototype,`size`,void 0),M([x({selector:`nve-divider`})],Lx.prototype,`dividers`,void 0),M([x({selector:`nve-icon-button`})],Lx.prototype,`iconButtons`,void 0),M([x({selector:`nve-button`})],Lx.prototype,`buttons`,void 0),Lx=M([S(),Mn()],Lx),g(Lx);var Rx=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: var(--nve-ref-border-radius-lg);--box-shadow: var(--nve-ref-shadow-100);--border-bottom: none;--border: 0;border-radius:var(--border-radius);box-shadow:var(--box-shadow);border-bottom:var(--border-bottom);background:var(--background);border:var(--border);color:var(--color);display:flex;flex-direction:column;align-items:stretch;justify-content:start;overflow:hidden;contain:none;width:stretch}[internal-host]{display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%}:host([container="full"]){--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: 0}:host([container="flat"]){--nve-sys-interaction-background: unset;--nve-sys-interaction-field-background: unset;--background: transparent;--border-bottom: none;--border-radius: 0;--box-shadow: none}slot:not([name]){scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);display:block;width:100%;height:100%;overflow:auto}`,zx=`:host{--padding: var(--nve-ref-size-400);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--line-height: 1em;--gap: var(--nve-ref-space-xs);contain:none}[internal-host]{padding:var(--padding);border-bottom:var(--border-bottom);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center}.content{display:flex;flex-direction:column;gap:var(--gap);width:100%}::slotted(nve-tabs){margin-block-end:calc(-1 * var(--padding))}`,Bx=`:host{--padding: var(--nve-ref-size-400);padding:var(--padding);color:var(--color);flex-grow:1;contain:initial}`,Vx=`:host{--padding: var(--nve-ref-size-400);--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);contain:none}footer[internal-host]{padding:var(--padding);border-top:var(--border-top);color:var(--color);display:flex;justify-content:space-between;align-items:center}`,Hx=class extends y{static{this.styles=k([Rx])}static{this.metadata={tag:`nve-card`,version:`0.0.0`}}render(){return _`<div internal-host><slot name="header"></slot><slot></slot><slot name="footer"></slot></div>`}};M([b({type:String,reflect:!0})],Hx.prototype,`container`,void 0),Hx=M([S()],Hx);var Ux=class extends y{constructor(...e){super(...e),this.slot=`header`}static{this.styles=k([zx])}static{this.metadata={tag:`nve-card-header`,version:`0.0.0`,parents:[`nve-card`]}}render(){return _`<header internal-host><div class="content"><slot></slot></div></header>`}};M([D()],Ux.prototype,`slot`,void 0);var Wx=class extends y{static{this.styles=k([Bx])}static{this.metadata={tag:`nve-card-content`,version:`0.0.0`,parents:[`nve-card`]}}render(){return _`<slot></slot>`}},Gx=class extends y{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=k([Vx])}static{this.metadata={tag:`nve-card-footer`,version:`0.0.0`,parents:[`nve-card`]}}render(){return _`<footer internal-host><slot></slot></footer>`}};M([D()],Gx.prototype,`slot`,void 0),g(Hx),g(Ux),g(Wx),g(Gx);var Kx=`:host{--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-text-color);--padding: var(--nve-ref-size-300);--gap: var(--nve-ref-space-xs);--border-radius: var(--nve-ref-border-radius-md);--font-size: var(--nve-ref-font-size-200);--line-height: var(--nve-ref-font-line-height-tight);--top-offset: 0;--display: flex;--overflow: hidden;contain:content}@media(width<=350px){[internal-host]{flex-direction:column}}[internal-host]{gap:var(--gap);font-size:var(--font-size);display:var(--display);overflow:var(--overflow)}slot:not([name]){padding:var(--padding);background:var(--background);color:var(--color);border-radius:var(--border-radius);font-size:var(--font-size);line-height:var(--line-height);gap:var(--gap);display:flex;flex-direction:column;overflow:hidden}::slotted(nve-avatar){flex-shrink:0}:host([container="flat"]){--background: transparent;--padding: 0 var(--nve-ref-size-200)}:host([color]){--background: var(--state-color);--color: var(--nve-sys-contrast-mute-color)}:host([arrow-position="top-start"]) slot:not([name]){border-top-left-radius:0}:host([arrow-position="top-end"]) slot:not([name]){border-top-right-radius:0}:host([arrow-position="bottom-start"]) slot:not([name]){border-bottom-left-radius:0}:host([arrow-position="bottom-end"]) slot:not([name]){border-bottom-right-radius:0}`,qx=`nve-chat-message:has([slot=prefix])::part(_message),nve-chat-message:has([slot=suffix])::part(_message){margin-block-start:var(--top-offset)}`,Jx=class extends y{static{this.styles=k([Kx,hr])}static{this.metadata={tag:`nve-chat-message`,version:`0.0.0`}}render(){return _`<div internal-host><slot name="prefix"></slot><slot part="_message"></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),C(this,qx)}};M([b({type:String,reflect:!0})],Jx.prototype,`container`,void 0),M([b({type:String,reflect:!0})],Jx.prototype,`color`,void 0),M([b({type:String,reflect:!0,attribute:`arrow-position`})],Jx.prototype,`arrowPosition`,void 0),g(Jx);var Yx=`:host{--color: var(--nve-sys-text-muted-color);--font-weight: var(--nve-ref-font-weight-regular);--font-size: var(--nve-ref-font-size-100);--gap: var(--nve-ref-space-xs);--_icon-color: var(--color)}[internal-host]{--icon-color: var(--color);gap:var(--gap);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);display:flex}nve-icon{--color: var(--_icon-color)}:host([status="success"]){--color: var(--nve-sys-support-success-emphasis-color)}:host([status="warning"]){--color: var(--nve-sys-support-warning-emphasis-color)}:host([status="error"]),:host([error]){--color: var(--nve-sys-support-danger-emphasis-color)}:host([status="muted"]){--color: var(--nve-sys-text-muted-color)}`,Xx={undefined:`information-circle`,disabled:`information-circle`,warning:`exclamation-triangle`,success:`checkmark-circle`,error:`exclamation-circle`},L=class extends y{constructor(...e){super(...e),this.error=null,this.slot=`messages`}static{this.styles=k([Yx])}static{this.metadata={tag:`nve-control-message`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}render(){return _`<div internal-host><slot name="icon"><nve-icon part="icon" name="${this.error?Xx.error:Xx[this.status]}"></nve-icon></slot><slot></slot></div>`}};M([b({type:String,reflect:!0})],L.prototype,`status`,void 0),M([b({type:String,reflect:!0})],L.prototype,`error`,void 0),M([D()],L.prototype,`slot`,void 0),L=M([O()],L);var Zx=`input, select, selectmenu, textarea, [nve-control]`;function Qx(e,t){let n=[];if(!e.input.form?.noValidate&&!e.input.formNoValidate&&!e.input.hasAttribute(`formnovalidate`)){oS(t);let r=()=>{e.input.validity?.valid&&(e._internals.states.delete(`invalid`),e._internals.states.add(`valid`),e.status=null),cS(e,t)},i=()=>{e.status=null,e._internals.states.delete(`valid`),e._internals.states.delete(`invalid`),oS(t)};n.push(iS(e.input,`blur`,()=>{e.input.checkValidity(),r()}),iS(e.input,`input`,()=>{r()}),iS(e.input,`invalid`,()=>{t.find(e=>e.error)&&(oS(t),sS(e,t)),e.status=`error`,e._internals.states.delete(`valid`),e._internals.states.add(`invalid`)}),iS(e,`reset`,i)),e.input.form&&n.push(iS(e.input.form,`reset`,i))}return n.push(iS(e.shadowRoot,`slotchange`,()=>{let t=Array.from(e.querySelectorAll(L.metadata.tag));e._internals.states.delete(`valid`),e._internals.states.delete(`invalid`),t.find(e=>!e.hidden&&(e.status===`error`||e.error))?e._internals.states.add(`invalid`):e._internals.states.add(`valid`)})),n}function $x(e){let t=[],n=e._internals.states;return e.input.checked?n.add(`checked`):n.delete(`checked`),e.input.indeterminate?n.add(`indeterminate`):n.delete(`indeterminate`),t.push(...eS(e)),t.push(rn(e.input,`readonly`,e=>e===``||e?n.add(`readonly`):n.delete(`readonly`)),rn(e.input,`checked`,()=>e.input.checked?n.add(`checked`):n.delete(`checked`)),rn(e.input,`disabled`,e=>e===``||e?n.add(`disabled`):n.delete(`disabled`)),rn(e.input,`indeterminate`,()=>e.input.indeterminate?n.add(`indeterminate`):n.delete(`indeterminate`))),t}function eS(e){let t=[],n=e._internals.states;return t.push(iS(e.input,`focus`,()=>e._internals.states.add(`focus`)),iS(e.input,`input`,()=>e._internals.states.add(`dirty`)),iS(e.input,`blur`,()=>{e._internals.states.add(`touched`),e._internals.states.delete(`focus`)}),iS(e.input.getRootNode(),`change`,t=>{t.target.name===e.input?.name&&(e.input.checked?n.add(`checked`):n.delete(`checked`))})),e.input.form&&t.push(iS(e.input.form,`reset`,()=>{e._internals.states.delete(`touched`),e._internals.states.delete(`dirty`),e._internals.states.delete(`error`),e._internals.states.delete(`success`),e.requestUpdate()})),t}function tS(e){return nS(e),$t(e,`disabled`,()=>nS(e))}function nS(e){Array.from(e.inputs).find(e=>e.disabled)?e._internals.states.add(`disabled`):e._internals.states.delete(`disabled`)}function rS(e,t){aS(e,t.find(e=>!e.hidden));let n=[];return n.push(en(e,[`hidden`,`status`],t=>{let n=t.target;bn(n,L)&&aS(e,n)})),n.push(iS(e.shadowRoot,`slotchange`,()=>{let t=Array.from(e.querySelectorAll(L.metadata.tag)).find(e=>e.status&&!e.hidden);e._internals.states.delete(`error`),e._internals.states.delete(`success`),t&&e._internals.states.add(t.status)})),n}function iS(e,t,n){return e.addEventListener(t,n),{disconnect:()=>e.removeEventListener(t,n)}}function aS(e,t){e._internals.states.delete(`error`),e._internals.states.delete(`success`),t?.status?.length&&!t?.hidden&&e._internals.states.add(t.status)}function oS(e){e.filter(e=>e.hasAttribute(`error`)).forEach(e=>e.setAttribute(`hidden`,``))}function sS(e,t){t.find(t=>t.error&&e.input.validity[t.error])?.removeAttribute(`hidden`)}function cS(e,t){t.find(e=>e.error)&&e.input.validity.valid&&t.filter(t=>t.error&&!e.input.validity[t.error]).forEach(e=>e.setAttribute(`hidden`,``))}var lS={vertical:300,verticalInline:400,horizontal:500,horizontalInline:600};function uS(e){let t=e.layout,n=new ResizeObserver(n=>{e.fitContent||(e.layout=dS(n[0].contentRect.width,t))});return n.observe(e),n}function dS(e,t){let n=t;e<lS.vertical?n=`vertical`:e<lS.verticalInline?n=`vertical-inline`:e<lS.horizontal?n=`horizontal`:e<lS.horizontalInline&&(n=`horizontal-inline`);let r=[`vertical`,`vertical-inline`,`horizontal`,`horizontal-inline`];return r.indexOf(t)<r.indexOf(n)&&(n=t),n}var fS=`[nve-control]:not([nofocus]):has(*:focus-visible)::part(_input){outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}[nve-control] input::placeholder,[nve-control] textarea::placeholder{color:var(--nve-sys-text-placeholder-color)!important}[nve-control] input::-webkit-search-cancel-button,[nve-control] input::-webkit-calendar-picker-indicator{opacity:0!important;display:none!important}[nve-control]:has([nve-control]){--control-type: custom}[nve-control]:not(:has(label))::part(_label){display:none!important}[nve-control]:not(:has(nve-control-message:not([hidden])))::part(_messages){display:none!important}[nve-control=""]:has(label)::part(_internal-host){grid-template-areas:"label label label" "input input input"}[nve-control=""]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input input input" "messages messages messages"}[nve-control=""]:has(label):has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"label label label" "input input input" "messages messages messages"}[nve-control=""][layout=horizontal]:has(nve-control-message:not([hidden]))::part(_internal-host),[nve-control=""][layout=horizontal-inline]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"label input input" ". messages messages"}[nve-control=""][layout=horizontal]:not(:has(nve-control-message:not([hidden])))::part(_internal-host),[nve-control=""][layout=horizontal-inline]:not(:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"label input input"}[nve-control=inline]:has(label)::part(_internal-host){grid-template-areas:"input label label"}[nve-control=inline]:has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input input input" "messages messages messages"}[nve-control=inline]:has(label):has(nve-control-message:not([hidden]))::part(_internal-host){grid-template-areas:"input label label" "messages messages messages"}[nve-control=inline]:not(:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"input label label"}[nve-control=inline]:not(:has(label),:has(nve-control-message:not([hidden])))::part(_internal-host){grid-template-areas:"input input input"}nve-control:has(nve-monaco-input),nve-control:has(nve-monaco-diff-input){contain:none}[prominence=muted]>[nve-control]:state(checked),[prominence=muted][nve-control]:state(checked){--filter: grayscale(90%)}`,pS=`:host{--cursor: pointer;--accent-color: var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-interaction-field-color);--label-color: var(--nve-sys-interaction-field-color);--label-text-transform: none;--label-font-weight: var(--nve-ref-font-weight-medium);--label-font-size: var(--nve-ref-font-size-100);--control-width: 100%;--control-height: var(--nve-sys-interaction-field-height);--_label-width: var(--label-width, 180px);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--opacity: 1;--filter: none;contain:content}::slotted(*){color-scheme:var(--nve-sys-color-scheme);font-family:inherit}::slotted(label){font-weight:var(--label-font-weight)!important;font-size:var(--label-font-size)!important;color:var(--label-color)!important;cursor:var(--cursor)!important;text-transform:var(--label-text-transform)!important;display:inline-block!important;line-height:1em!important;align-self:center!important}:host(:state(disabled)),:host(:state(disabled)) ::slotted(nve-control-message:not([status])){--cursor: not-allowed}:host(:state(disabled)){--opacity: var(--nve-ref-opacity-500)}:host(:state(invalid)) ::slotted(nve-control-message:not([error],[status])){display:none}:host([fit-content]){--control-width: fit-content;--label-width: fit-content;--width: fit-content}:host([fit-text]){--max-width: fit-content;--width: fit-content;::slotted(input),::slotted(select){field-sizing:content}}:host([nve-control]) ::slotted(input:focus),:host([nve-control]) ::slotted(select:focus),:host([nve-control]) ::slotted(textarea:focus),:host([nve-control]:focus-within) [internal-host]:has(nve-icon-button:focus) [input],[internal-host]:has(nve-icon-button){outline:0!important}@container style(--control-type: custom){[input]{outline:0!important}}::slotted(nve-button[nve-control]){width:100%}[input]{cursor:var(--cursor);min-height:var(--control-height);opacity:var(--opacity);filter:var(--filter);grid-area:input;display:flex;line-height:1}:host([nve-control="inline"]){[internal-host]{min-height:var(--control-height)}[input]{min-height:min-content}}slot{line-height:1;width:100%}slot[name=label]{grid-area:label;display:inline-flex;align-self:center}slot[name=messages]{grid-area:messages;display:inline-flex}[name=messages]:not(:has-slotted),[name=label]:not(:has-slotted){display:none!important}[internal-host]{display:grid;width:100%;gap:var(--nve-ref-space-xs);grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"input input input"}:host([nve-control="inline"]) [internal-host]{align-items:center;grid-template-columns:auto 1fr 1fr;slot[name=label],slot[name=messages]{align-items:center}::slotted(label){font-weight:var(--nve-ref-font-weight-regular)!important;color:var(--color)!important;width:100%}slot[name=label]{line-height:1;width:100%}}:host([layout="horizontal"]) [internal-host],:host([layout="horizontal-inline"]) [internal-host]{grid-template-columns:var(--_label-width) 1fr minmax(0,var(--_label-width))}[internal-host]{&:has([name=label]:has-slotted){grid-template-areas:"label label label" "input input input"}&:has([name=messages]:has-slotted){grid-template-areas:"input input input" "messages messages messages"}&:has([name=label]:has-slotted):has([name=messages]:has-slotted){grid-template-areas:"label label label" "input input input" "messages messages messages"}}:host([layout="horizontal"]),:host([layout="horizontal-inline"]){[internal-host]{&:has([name=messages]:has-slotted){grid-template-areas:"label input input" ". messages messages"}&:not(:has([name=messages]:has-slotted)){grid-template-areas:"label input input"}}}:host([nve-control="inline"]){--control-height: auto;width:fit-content;[internal-host]{grid-template-areas:"input input input";&:has([name=label]:has-slotted){grid-template-areas:"input label label"}&:has([name=messages]:has-slotted){grid-template-areas:"input input input" "messages messages messages"}&:has([name=label]:has-slotted):has([name=messages]:has-slotted){grid-template-areas:"input label label" "messages messages messages"}}}`,R=class extends y{constructor(...e){super(...e),this.fitText=!1,this.fitContent=!1,this.#e=new A(this,this.i18nDefaults),this.i18n=this.#e.i18n,this.nveControl=``,this.#i=[],this._associateDatalist=!0,this.#a=()=>{this.#f(),this.input&&this.#i.length===0&&this.#l()},this.#u=()=>{this.#f(),this.#p()}}get i18nDefaults(){return{}}#e;get#t(){return this.shadowRoot?.querySelector(`slot[name="label"]`)?.assignedElements({flatten:!0})?.[0]}get#n(){return this.shadowRoot?.querySelector(`slot[name="messages"]`)?.assignedElements({flatten:!0})??[]}#r;get input(){if(!this.#r){let e=this.querySelector(`slot`)?.assignedElements()?.find(e=>e.matches(`input, select, selectmenu, textarea, [nve-control]`))??Array.from(this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})??[]).find(e=>e.matches(`input, select, selectmenu, textarea, [nve-control]`));this.#r=e||this.querySelector(Zx)}return this.#r}get prefixContent(){return v}get suffixContent(){return v}#i;static{this.styles=k([pS])}static{this.metadata={tag:`nve-control`,version:`0.0.0`}}render(){return this.nveControl===`inline`?_`<div internal-host part="_internal-host"><div input part="_input"><slot interaction-state></slot></div><slot name="label" part="_label"></slot><slot name="messages" part="_messages"></slot></div>`:_`<div internal-host part="_internal-host"><slot name="label" part="_label"></slot><div input part="_input">${this.prefixContent}<slot></slot>${this.suffixContent}</div><slot name="messages" part="_messages"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),C(this,fS),this.shadowRoot.addEventListener(`slotchange`,this.#a)}disconnectedCallback(){super.disconnectedCallback(),this.shadowRoot.removeEventListener(`slotchange`,this.#a),this.shadowRoot.removeEventListener(`slotchange`,this.#u),this.#i.forEach(e=>e.disconnect()),this.#i.length=0}#a;reset(){this.#o(this.input),this.requestUpdate(),this.dispatchEvent(new CustomEvent(`reset`,{bubbles:!0,composed:!0}))}#o(e){e instanceof HTMLSelectElement?this.#s(e):this.#c(e)?(e.checked=e.defaultChecked,e.indeterminate=!1):e.value=e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e.defaultValue:e.getAttribute(`value`)??``}#s(e){let t=Array.from(e.options).some(e=>e.defaultSelected);Array.from(e.options).forEach(e=>e.selected=e.defaultSelected),!e.multiple&&!t&&(e.selectedIndex=0)}#c(e){return e instanceof HTMLInputElement&&(e.type===`checkbox`||e.type===`radio`)}#l(){this.#i.push(...Qx(this,this.#n),...$x(this),...rS(this,this.#n),uS(this),en(this,[`hidden`,`status`],()=>this.#f())),this.#d(),this.#p(),this.shadowRoot.addEventListener(`slotchange`,this.#u)}#u;#d(){this.input.showPicker||(this.input.showPicker=()=>this.input.focus())}#f(){this.input&&(this.toggleAttribute(`multiple`,this.input?.multiple),this.input?.hasAttribute(`size`)?this.setAttribute(`size`,``):this.removeAttribute(`size`))}#p(){this.#m(),Rn(this.#t,this.input),Bn(Array.from(this.#n),this.input),this._associateDatalist&&Vn(this.querySelector(`datalist`),this.input)}#m(){let e=this.querySelector(`label`)||this.shadowRoot.querySelector(`slot`).assignedNodes({flatten:!0}).find(e=>e.tagName===`LABEL`);e&&(e.slot=`label`)}showPicker(){try{this.input.showPicker()}catch{}}};M([b({type:String})],R.prototype,`status`,void 0),M([b({type:String,reflect:!0})],R.prototype,`layout`,void 0),M([b({type:Boolean,reflect:!0,attribute:`fit-text`})],R.prototype,`fitText`,void 0),M([b({type:Boolean,reflect:!0,attribute:`fit-content`})],R.prototype,`fitContent`,void 0),M([b({type:Object})],R.prototype,`i18n`,void 0),M([b({type:String,reflect:!0})],R.prototype,`prominence`,void 0),M([D({attribute:`nve-control`})],R.prototype,`nveControl`,void 0),R=M([E()],R);var mS=`:host{--color: var(--nve-sys-interaction-field-color);--opacity: 1;--label-color: var(--nve-sys-interaction-field-color);--label-text-transform: none;--label-font-weight: var(--nve-ref-font-weight-medium);--label-font-size: var(--nve-ref-font-size-100);--_label-width: var(--label-width, 180px)}[internal-host]{color:var(--color);opacity:var(--opacity)}::slotted(label){font-weight:var(--label-font-weight)!important;font-size:var(--label-font-size)!important;color:var(--label-color)!important;cursor:var(--cursor)!important;text-transform:var(--label-text-transform)!important}:host([layout*="horizontal-inline"]) ::slotted([nve-control]),:host([layout*="vertical-inline"]) ::slotted([nve-control]){--control-height: var(--nve-sys-interaction-field-height)}slot[name=label]{grid-area:label;display:block;align-self:center}slot[name=messages]{grid-area:messages;display:block}.input-slot{grid-area:input;display:flex;flex-flow:column wrap;gap:var(--nve-ref-space-sm) var(--nve-ref-space-md)}:host([layout*="-inline"]) .input-slot{flex-direction:row}[name=messages]:not(:has-slotted),[name=label]:not(:has-slotted){display:none!important}.no-messages{& slot[name=messages]{display:none!important}}.no-label{& slot[name=label]{display:none!important}}[internal-host]{display:grid;gap:var(--nve-ref-space-xs);align-items:start;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto;grid-template-areas:"label label label" "input input input" "messages messages messages";&.no-messages{grid-template-areas:"label label label" "input input input"}&.no-label{& slot[name=messages]{grid-template-areas:"input input input" "messages messages messages"}}&.no-label.no-messages{grid-template-areas:"input input input"}}:host([layout="vertical-inline"]) [internal-host]{grid-template-areas:"label label label" "input input input" "messages messages messages"}:host([layout="vertical-inline"]) [internal-host].no-messages{grid-template-areas:"label label label" "input input input"}:host([layout="horizontal"]) [internal-host]{grid-template-columns:var(--_label-width) minmax(auto,max-content) auto;grid-template-areas:"label input input" ". messages messages"}:host([layout="horizontal"]) [internal-host].no-messages{grid-template-areas:"label input input"}:host([layout="horizontal-inline"]) [internal-host]{grid-template-columns:var(--_label-width) minmax(auto,max-content) auto;grid-template-areas:"label input input" ". messages messages"}:host([layout="horizontal-inline"]) [internal-host].no-messages{grid-template-areas:"label input input"}:host([layout="horizontal"]) slot[name=label]{align-self:start}:host([layout="horizontal"]) ::slotted(label){align-self:start!important}`,z=class extends y{get label(){return this.querySelector?.(`label`)}get inputs(){return this.querySelectorAll?Array.from(this.querySelectorAll(Zx)):[]}get#e(){return this.querySelectorAll?Array.from(this.querySelectorAll(`nve-control-message`)):[]}#t=[];static{this.styles=k([mS])}static{this.metadata={tag:`nve-control-group`,version:`0.0.0`}}render(){return _`<div internal-host class="${this.#e.length?``:`no-messages`} ${this.label?``:`no-label`}"><slot name="label"></slot><slot class="input-slot"></slot><slot name="messages"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`}firstUpdated(e){super.firstUpdated(e),this.#t=[tS(this),uS(this),...rS(this,this.#e)],this.#n(),this.shadowRoot.addEventListener(`slotchange`,()=>this.#n())}disconnectedCallback(){super.disconnectedCallback(),this.#t.forEach(e=>e.disconnect())}#n(){this.#r(),zn(this.label,this),Bn(Array.from(this.querySelectorAll(`nve-control-message`)),this),Hn(Array.from(this.inputs))}#r(){this.label&&(this.label.slot=`label`)}};M([b({type:String,reflect:!0})],z.prototype,`layout`,void 0),M([b({type:String,reflect:!0})],z.prototype,`prominence`,void 0);var hS=`:host{--cursor: pointer;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);--border-width: var(--nve-ref-border-width-md);--border-radius: var(--nve-ref-border-radius-xs);--border-color: var(--nve-ref-border-color);--background: transparent;--check-color: transparent;display:inline-block;contain:layout}::slotted(input){width:var(--width)!important;height:var(--height)!important;cursor:var(--cursor)!important;margin:0!important;position:absolute!important;opacity:0!important;inset:0!important}[input]{align-items:center;position:relative}@keyframes select-pop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}[input] slot{width:var(--width);height:var(--height);border:var(--border-width) solid var(--border-color);background:var(--background);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;position:relative;overflow:visible;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.12,.32,.54,2),border-color var(--nve-ref-animation-duration-150) ease}[input] slot:before{content:"";width:calc(var(--width) * .7);height:calc(var(--width) * .7 / 1.369);aspect-ratio:1.369;pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(1.05);clip-path:shape(from 98.17% 2.51%,arc by 0% 12.12% of 8% 8.57% small cw,line by -60.51% 82.87%,arc by -8.85% 0% of 8% 8.57% small cw,line to 1.68% 60.34%,arc by .15% -11.91% of 8% 8.58% small cw,arc by 8.7% -.21% of 8% 8.58% small cw,line to 33.23% 79.32%,line by 56.09% -76.81%,arc by 8.85% 0% of 8% 8.57% small cw,close)}:host(:state(checked)){--background: var(--accent-color);--check-color: var(--nve-sys-text-white-color)}:host(:state(checked)) [input] slot{border:0}:host(:state(checked):state(dirty)) [input] slot{animation:select-pop var(--nve-ref-animation-duration-200) ease-out}:host(:state(checked)) [input] slot:before{background:var(--check-color)}:host(:state(indeterminate)){--background: var(--border-color)}:host(:state(indeterminate)) [input] slot:before{display:none}:host(:state(indeterminate)) [input] slot:after{background:var(--nve-sys-interaction-color);content:"";display:inline-block;width:calc(var(--width) * .5);height:var(--border-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}`,gS=class extends R{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=k([...R.styles,hS])}static{this.metadata={tag:`nve-checkbox`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};M([D({attribute:`nve-control`})],gS.prototype,`nveControl`,void 0),gS=M([S()],gS);var _S=`:host{width:100%}`,vS=class extends z{static{this.styles=k([...z.styles,_S])}static{this.metadata={tag:`nve-checkbox-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-checkbox`]}}};vS=M([S(),E()],vS),g(gS),g(vS),g(R),g(z),g(L);var yS=`:host{--padding: 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-800);--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--border: var(--nve-ref-border-width-md) solid transparent;--border-bottom: var(--border);--cursor: text;--font-weight: normal;--_icon-height: var(--height);--_font-size: var(--font-size);--width: 100%;--max-width: 100%;--min-width: initial;width:var(--width);max-width:var(--max-width);min-width:var(--min-width)}[input]{height:var(--height);background:var(--background);border:var(--border);border-bottom:var(--border-bottom);border-radius:var(--border-radius);color:var(--color);cursor:var(--cursor);width:var(--control-width);display:flex;align-content:stretch}::slotted(input){accent-color:var(--accent-color)!important;cursor:var(--cursor)!important;padding:var(--padding)!important;font-size:var(--font-size)!important;color:var(--color)!important;line-height:var(--height)!important;border:0!important;background:none!important;display:block!important;width:100%!important;font-weight:var(--font-weight)!important}nve-icon-button,::slotted(nve-icon-button){--height: var(--_icon-height);align-self:center}::slotted(nve-button:not([slot])){--font-size: var(--_font-size);--padding: 0 var(--nve-ref-size-200);--color: var(--label-color);--height: 100%}:host([rounded]){--border-radius: var(--nve-ref-border-radius-full)}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}:host([container="flat"]){--border-radius: 0;--box-shadow: none;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}:host([container="flat"]) [input]{background:inherit}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([container="flat"]:focus-within) [input]{outline:0!important}`,bS=yS,xS=class extends R{constructor(...e){super(...e),this.rounded=!1}static{this.styles=k([...R.styles,yS])}static{this.metadata={tag:`nve-input`,version:`0.0.0`}}};M([b({type:String,reflect:!0})],xS.prototype,`container`,void 0),M([b({type:Boolean,reflect:!0})],xS.prototype,`rounded`,void 0);var SS=`nve-input-group[type=filter]>nve-select::part(_caret){display:none!important}nve-input-group>[nve-control],nve-input-group>nve-button{--border-radius: 0}nve-input-group[type=filter] [nve-control]:nth-child(odd),nve-input-group[type=filter] nve-button:nth-child(odd){--font-weight: var(--nve-ref-font-weight-medium);--text-align: center}`,CS=`:host{--background: var(--nve-ref-border-color);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--gap: calc(var(--nve-ref-space-xxxs) / 2);--border: none;--width: max-content;width:var(--width);contain:none}[internal-host]{border-radius:var(--border-radius);overflow:hidden;width:var(--width);border:var(--border)}.input-slot{background:var(--background);border-radius:var(--border-radius);flex-flow:row nowrap;gap:var(--gap)}slot[name=label]{align-self:center}::slotted(nve-icon-button){--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-support-emphasis-color);--border-radius: 0}::slotted(nve-select){--padding: 0 var(--nve-ref-size-200);width:fit-content}::slotted([nve-control]){--border-radius: 0 !important}::slotted([first-control]){--border-radius: var(--nve-ref-border-radius-sm) 0 0 var(--nve-ref-border-radius-sm) !important}::slotted([last-control]){--border-radius: 0 var(--nve-ref-border-radius-sm) var(--nve-ref-border-radius-sm) 0 !important}`,wS=class extends z{static{this.styles=k([...z.styles,CS])}static{this.metadata={tag:`nve-input-group`,version:`0.0.0`}}async connectedCallback(){C(this,SS),super.connectedCallback(),await this.updateComplete;let e=Array.from(this.shadowRoot.querySelector(`slot:not([name])`).assignedElements());e[0]?.setAttribute(`first-control`,``),e[e.length-1]?.setAttribute(`last-control`,``)}},TS=`nve-color input::-webkit-color-swatch{border:none!important}`,ES=`:host{--cursor: pointer}::slotted(input){padding:0!important;border:0!important;height:auto}`,DS={expand:`expand`},OS=class extends R{get i18nDefaults(){return DS}static{this.styles=k([...R.styles,bS,ES])}static{this.metadata={tag:`nve-color`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" .role="${`button`}" .ariaLabel="${this.i18n.expand}" icon-name="dropper" container="inline" @click="${()=>this.#e()}"></nve-icon-button>`}connectedCallback(){if(super.connectedCallback(),C(this,TS),this.input.value===`#000000`){let e=getComputedStyle(this).getPropertyValue(`--background`).trim();e.includes(`#`)&&(this.input.value=e)}}async#e(){this.input.value=await hn(),this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}};M([b({type:String,reflect:!0})],OS.prototype,`container`,void 0),OS=M([O()],OS),g(OS),g(R),g(z),g(L);var kS=e=>e??v,AS=`:host{--padding: 0;--gap: var(--nve-ref-space-xxs);--width: min-content;--max-width: 100%;--min-width: 170px;--max-height: 100%;width:var(--width);min-width:var(--min-width);contain:layout;content-visibility:auto;contain-intrinsic-size:auto var(--max-height, initial)}[internal-host]{padding:var(--padding);gap:var(--gap);display:flex;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);max-height:var(--max-height);margin:0;overflow-y:auto;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}`,jS=`nve-menu:has(nve-menu-item:state(current)){--padding: 0 0 0 var(--nve-ref-size-200)}nve-menu:has(nve-tooltip),nve-menu:has(nve-tooltip) nve-menu-item{content-visibility:initial}nve-menu[density=compact]{--min-width: 0;nve-menu-item{--gap: 0;width:fit-content}nve-menu-item::part(_slot),nve-menu-item::part(_suffix){display:none!important}}`,MS=class extends y{static{this.styles=k([AS])}static{this.metadata={tag:`nve-menu`,version:`0.0.0`,children:[`nve-menu-item`,`nve-divider`]}}static{this.elementDefinitions={}}get keynavListConfig(){return{layout:`vertical`,items:this.items}}#e=new Nn(this);#t=[];#n=null;#r=!1;#i=()=>{this.#n===null&&(this.#n=requestAnimationFrame(()=>{this.#n=null;let e=this.shadowRoot?.querySelector(`[internal-host]`);if(!e)return;let{scrollTop:t,scrollHeight:n,clientHeight:r}=e;this.dispatchEvent(new CustomEvent(`scroll`,{bubbles:!0,composed:!0,detail:{scrollTop:t,scrollHeight:n,clientHeight:r}}))}))};render(){return _`<div internal-host><slot @slotchange="${this.#a}"></slot></div>`}async firstUpdated(){await this.updateComplete,this.shadowRoot?.querySelector(`[internal-host]`)?.addEventListener(`scroll`,this.#i,{passive:!0})}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`menu`,C(this,jS),this.hasUpdated&&(this.#t=this.items),this.parentElement?.localName===`nve-menu-group`&&!this.slot&&(this.slot=`menu`,this.#r=!0)}disconnectedCallback(){super.disconnectedCallback(),this.#t=[],this.#r&&this.slot===`menu`&&(this.slot=``),this.#r=!1}#a=()=>{this.#e.refreshItems(this.#t),this.#t=this.items}};M([b({type:String,reflect:!0})],MS.prototype,`density`,void 0),M([x({selector:`nve-menu-item`})],MS.prototype,`items`,void 0),MS=M([S()],MS);var NS=`:host{--background: transparent;--font-size: var(--nve-ref-font-size-100);--padding: var(--nve-ref-size-200);--gap: var(--nve-ref-space-sm);--border-radius: var(--nve-ref-border-radius-xs);--color: var(--nve-sys-interaction-color);--width: 100%;--min-height: var(--nve-ref-size-800);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));display:block;width:var(--width);contain:layout}[internal-host]{display:flex;flex-direction:column;width:100%;gap:var(--nve-ref-space-xxs)}button{appearance:none;padding:var(--padding);color:var(--color);background:var(--background);font-size:var(--font-size);border-radius:var(--border-radius);min-height:var(--min-height);gap:var(--gap);font-weight:var(--nve-ref-font-weight-medium);border:0;width:100%;margin:0;font-family:inherit;line-height:normal;text-align:start;cursor:pointer;outline-offset:calc(-1 * var(--nve-ref-size-50));position:relative;display:flex;align-items:center;background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;&:hover{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}}button:not([disabled]):focus-visible{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}slot:not([name]){display:inline-flex;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[part=caret]{flex:none;--color: currentColor}slot[name=menu]{width:100%;display:block}::slotted(nve-menu){--min-width: 0;--width: 100%;--padding: 0 0 0 var(--nve-ref-size-200)}::slotted(nve-icon){--color: currentColor}:host([disabled]){--color: var(--nve-sys-interaction-disabled-color)}:host([disabled]) button{--nve-sys-interaction-state-ratio: 0;cursor:not-allowed;opacity:var(--nve-ref-opacity-500)}:host(:not([disabled]):hover){--color: var(--nve-sys-interaction-selected-color)}`,PS=class extends y{constructor(...e){super(...e),this.expanded=!1,this.disabled=!1,this.behaviorExpand=!1,this.#e=new er(this),this.#t=()=>{this.disabled||this.#e.toggle()}}static{this.styles=k([NS])}static{this.metadata={tag:`nve-menu-group`,version:`0.0.0`,children:[`nve-menu`]}}static{this.elementDefinitions={[F.metadata.tag]:F}}#e;render(){return _`<div internal-host><button id="trigger" type="button" aria-expanded="${this.expanded}" ?disabled="${this.disabled}" aria-controls="content" @click="${this.#t}"><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot><nve-icon part="caret" name="caret" direction="${this.expanded?`down`:`right`}" size="sm" aria-hidden="true"></nve-icon></button><slot id="content" name="menu" ?hidden="${!this.expanded}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`}#t};M([b({type:Boolean,reflect:!0})],PS.prototype,`expanded`,void 0),M([b({type:Boolean,reflect:!0})],PS.prototype,`disabled`,void 0),M([b({type:Boolean,attribute:`behavior-expand`})],PS.prototype,`behaviorExpand`,void 0),PS=M([S(),O()],PS);var FS=`:host{--border-radius: var(--nve-ref-border-radius-xs);--border-background: var(--nve-sys-accent-secondary-background);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-medium);--color: var(--nve-sys-interaction-color);--padding: var(--nve-ref-size-200);--gap: var(--nve-ref-space-sm);--width: 100%;--min-height: var(--nve-ref-size-800);--line-height: 0;--cursor: pointer;--text-transform: capitalize;--opacity: 1;contain:layout;content-visibility:auto;contain-intrinsic-size:auto var(--min-height, initial)}[internal-host]{--_icon-color: var(--color);padding:var(--padding);color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);border-radius:var(--border-radius);gap:var(--gap);width:var(--width);min-width:var(--min-width);min-height:var(--min-height);cursor:var(--cursor);text-transform:var(--text-transform);outline-offset:calc(-1 * var(--nve-ref-size-50));opacity:var(--opacity);position:relative;display:flex;align-items:center;white-space:nowrap;border:0;text-align:left}::slotted(nve-icon){--color: var(--_icon-color)}:host(:hover),:host(:state(selected)){--color: var(--nve-sys-interaction-selected-color)}:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host(:state(disabled)){--opacity: var(--nve-ref-opacity-500);--cursor: not-allowed}:host(:state(current)){contain:none;content-visibility:initial;--color: var(--nve-sys-interaction-selected-color)}:host(:state(current)) [internal-host]{contain:none}:host([status="danger"]){--nve-sys-interaction-state-base: var(--nve-sys-support-danger-muted-color);--nve-sys-interaction-selected-color: var(--nve-sys-support-danger-emphasis-color);--border-background: var(--nve-sys-support-danger-emphasis-color);--color: var(--nve-sys-support-danger-emphasis-color)}:host([status="danger"]:hover) ::slotted(nve-icon){--color: var(--nve-sys-support-danger-emphasis-color) !important}:host(:state(current)) [internal-host]:after{width:var(--nve-ref-border-width-xl);border-radius:var(--border-radius);background:var(--border-background);content:"";display:block;position:absolute;top:var(--nve-ref-size-50);bottom:var(--nve-ref-size-50);left:calc(var(--nve-ref-size-200) * -1)}::slotted(nve-icon){--color: inherit !important}::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;outline:0}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}::slotted(*:not(a,nve-icon)){pointer-events:none}::slotted(nve-icon){cursor:var(--cursor)}::slotted(nve-divider){margin:0 calc(-1 * var(--padding))}::slotted([slot="suffix"]){margin-inline-start:auto}`,IS=class extends yi(y){static{this.styles=k([FS])}static{this.metadata={tag:`nve-menu-item`,version:`0.0.0`,parents:[`nve-menu`]}}static{this.elementDefinitions={}}render(){return _`<div internal-host interaction-state focus-within part="_internal"><slot name="prefix" part="_prefix"></slot><slot part="_slot"></slot><slot name="suffix" part="_suffix"></slot></div>`}constructor(){super(),this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`menuitem`}};M([b({type:String,reflect:!0})],IS.prototype,`status`,void 0),IS=M([S()],IS);function LS(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return gt(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return gt(n,r,{get(){return a(this)}})}}var RS=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: 0px;--arrow-transform: translate(0, -2px) rotate(225deg);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-md);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-400);--width: fit-content;--min-width: fit-content;--gap: var(--nve-ref-space-sm);--_divider-padding: var(--padding)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);gap:var(--nve-ref-space-sm);width:var(--width);min-width:var(--min-width);outline:0}[internal-host]::backdrop{background:transparent}.header{display:flex;gap:var(--gap)}.header:has(nve-icon-button){min-height:var(--nve-ref-size-300)}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}.arrow{width:var(--nve-ref-size-400);height:var(--nve-ref-size-400);background:var(--background);transform:var(--arrow-transform);border-top-left-radius:var(--nve-ref-border-radius-xs);z-index:10000;clip-path:polygon(0 0,100% 0,0 100%);position:absolute;border-left:var(--border);border-top:var(--border)}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(225deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(-45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(135deg)}::slotted(nve-menu){--width: 100%}::slotted(nve-divider){margin:0 calc(-1 * var(--_divider-padding))}`,zS={close:`close`},B=class extends y{constructor(...e){super(...e),this.position=`bottom`,this.alignment=`start`,this.closable=!1,this.arrow=!1,this.modal=!0,this.popoverType=`auto`,this.#e=new A(this,zS),this.typeNativePopoverController=new ar(this),this.i18n=this.#e.i18n}static{this.styles=k([vr,RS])}static{this.metadata={tag:`nve-dropdown`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}#e;get popoverDismissible(){return this.modal}render(){return _`<div internal-host><slot name="header"></slot>${this.closable?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot></slot><slot name="footer"></slot></div>${this.arrow?_`<div class="arrow"></div>`:``}`}};M([b({type:String})],B.prototype,`anchor`,void 0),M([b({type:String})],B.prototype,`trigger`,void 0),M([b({type:String,reflect:!0})],B.prototype,`position`,void 0),M([b({type:String,reflect:!0})],B.prototype,`alignment`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],B.prototype,`behaviorTrigger`,void 0),M([b({type:Boolean})],B.prototype,`closable`,void 0),M([b({type:Boolean})],B.prototype,`arrow`,void 0),M([b({type:Boolean,reflect:!0})],B.prototype,`modal`,void 0),M([b({type:String,attribute:`popover-type`})],B.prototype,`popoverType`,void 0),M([LS(`.arrow`)],B.prototype,`popoverArrow`,void 0),M([b({type:Object})],B.prototype,`i18n`,void 0),B=M([S({excessiveInstanceLimit:50}),O()],B);var BS=`:host{--border-top: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:calc(100% + calc(var(--padding) * 2));margin:var(--padding) calc(var(--padding) * -1) 0 calc(var(--padding) * -1)}[internal-host]{border-top:var(--border-top);padding:var(--padding) var(--padding) 0 var(--padding);display:flex;justify-content:start;gap:var(--gap)}`,VS=class extends y{static{this.styles=k([BS])}static{this.metadata={tag:`nve-dropdown-footer`,version:`0.0.0`,parents:[`nve-dropdown`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},HS=`:host{--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);width:calc(100% + calc(var(--padding) * 2));margin:0 calc(var(--padding) * -1) var(--padding) calc(var(--padding) * -1)}[internal-host]{border-bottom:var(--border-bottom);padding:0 var(--padding) var(--padding) var(--padding)}`,US=class extends y{static{this.styles=k([HS])}static{this.metadata={tag:`nve-dropdown-header`,version:`0.0.0`,parents:[`nve-dropdown`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},WS=`:host{--background: var(--state-color-background);--color: var(--state-color);--state-color-base: var(--nve-ref-color-blue-cobalt-1100);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--padding: 0 var(--nve-ref-size-200);--border: 0;--border-radius: var(--nve-ref-border-radius-full);--font-weight: var(--nve-ref-font-weight-regular);--cursor: pointer;--height: var(--nve-ref-size-600);--width: initial;--max-width: initial;display:inline-flex;user-select:none}[internal-host]{--_color: var(--color);font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);padding:var(--padding);border:var(--border);border-radius:var(--border-radius);cursor:var(--cursor);height:var(--height);width:var(--width);max-width:var(--max-width);display:inline-flex;line-height:1.1em;place-items:center;place-content:center;white-space:nowrap}slot:not([name]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}::slotted([nve-text]){color:inherit!important}::slotted(nve-icon){--color: var(--_color)}::slotted(nve-dot){--color: var(--state-color-background);--status-color: var(--_color)}nve-icon{--color: inherit;cursor:var(--cursor)}:host([readonly]){--text-decoration: none;--cursor: cursor}`,GS={close:`close`},KS=class extends yi(y){static{this.styles=k([hr,WS])}static{this.metadata={tag:`nve-tag`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}#e;#t;render(){return _`<div internal-host interaction-state focus-within><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>${this.closable?_`<nve-icon part="icon" @click="${()=>this.#t.close()}" container="flat" name="cancel" size="sm" role="img" aria-label="${kS(this.i18n.close)}"></nve-icon>`:``}</div>`}constructor(){super(),this.closable=!1,this.#e=new A(this,GS),this.i18n=this.#e.i18n,this.#t=new $n(this),this.type=`button`}};M([b({type:Boolean})],KS.prototype,`closable`,void 0),M([b({type:String,reflect:!0})],KS.prototype,`color`,void 0),M([b({type:String,reflect:!0})],KS.prototype,`prominence`,void 0),M([b({type:Object})],KS.prototype,`i18n`,void 0),KS=M([O()],KS);var qS=`:host{--scroll-height: 25vh;--_input-background: var(--background);contain:initial}[name=caret]{right:var(--nve-ref-size-300);align-self:center;pointer-events:none;position:absolute}[internal-host]:has(nve-menu:focus-within) [input]{outline:0!important}:host(:state(selected)){--font-weight: var(--nve-ref-font-weight-semibold)}:host(:state(multiple)){--padding: 0 var(--nve-ref-size-100)}:host(:state(multiple)) [input]{padding:var(--padding)}.tags{width:fit-content;display:flex;gap:var(--nve-ref-space-xxs);align-items:center}.tags-label{padding:0 var(--nve-ref-size-200);font-size:var(--font-size);cursor:var(--cursor);font-weight:var(--font-weight);text-wrap:nowrap;display:none;align-items:center;pointer-events:none}:host(:state(multiple-overflow):not([tag-layout="wrap"])) .tags{opacity:0;pointer-events:none;position:absolute}:host(:state(multiple-overflow):not([tag-layout="wrap"])) .tags-label{display:flex}nve-tag{--background: color-mix(in oklab, var(--color) 15%, var(--_input-background));--padding: var(--nve-ref-size-100) var(--nve-ref-size-200);--cursor: pointer !important}::slotted(select){display:none!important}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}[name=prefix-icon]{display:contents}nve-dropdown{--padding: var(--nve-ref-size-200)}nve-menu{contain:content;--max-height: var(--scroll-height)}nve-menu-item{--text-transform: initial;contain:content;content-visibility:auto}[internal-host]:has([matches]) nve-menu-item{--color: var(--nve-sys-text-muted-color)}nve-menu-item nve-icon{--color: inherit}input[type=checkbox]{accent-color:var(--nve-sys-accent-secondary-background)}nve-checkbox:not(:state(disabled)){--border-color: var(--nve-ref-border-color-emphasis)}nve-menu-item:not(:state(selected)) nve-icon[name=check]{opacity:0}slot:not([name]),slot[name*=option-]{display:contents}[matches]{font-weight:var(--nve-ref-font-weight-medium);color:var(--nve-sys-text-emphasis-color)}[name=footer]{display:none;min-height:var(--nve-ref-size-900);margin:calc(var(--nve-ref-size-200) * -1);width:calc(100% + calc(var(--nve-ref-size-200) * 2));border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);padding:0 var(--nve-ref-size-200);gap:var(--nve-ref-space-sm);justify-content:center;align-items:center}:host(:state(footer-content)) [name=footer]{display:flex}nve-menu-item[part=create-option]{--color: var(--nve-sys-text-muted-color);font-style:italic;span:first-letter{text-transform:uppercase}}:host([tag-layout="wrap"]:state(multiple-overflow)){[input]{min-height:var(--height);height:fit-content;flex-direction:column;width:100%}.tags{padding-block-start:var(--nve-ref-size-50);flex-wrap:wrap}}`,JS={select:`select`,selected:`selected`,noResults:`no results`,create:`create`},YS=class extends R{constructor(...e){super(...e),this.#p=[],this.#m=!1,this.#_=null,this._associateDatalist=!1,this.#D=/* @__PURE__ */ new Map}get i18nDefaults(){return JS}static{this.styles=k([...R.styles,bS,qS])}static{this.metadata={tag:`nve-combobox`,version:`0.0.0`}}static{this.elementDefinitions={[gS.metadata.tag]:gS,[F.metadata.tag]:F,[B.metadata.tag]:B,[MS.metadata.tag]:MS,[IS.metadata.tag]:IS,[KS.metadata.tag]:KS}}#e;get#t(){return this.#e||=this.shadowRoot?this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})?.find(e=>e.tagName===`DATALIST`||e.tagName===`SELECT`)??this.querySelector(`datalist, select`):null,this.#e}#n;get#r(){return this.#n||=this.shadowRoot?this.shadowRoot.querySelector(`slot`)?.assignedElements({flatten:!0})?.find(e=>e.tagName===`SELECT`)??this.querySelector(`select`):null,this.#n}get#i(){return Array.from(this.#t?.options?this.#t.options:[])}get#a(){return Array.from(this.shadowRoot.querySelectorAll(IS.metadata.tag))}get#o(){return this.shadowRoot.querySelector(B.metadata.tag)}get#s(){return this.shadowRoot.querySelector(`[input]`)}get#c(){return this.shadowRoot.querySelector(`.tags`)}get#l(){return this.#i.find(e=>!e.disabled&&!e.hidden)}get#u(){return!!this.querySelector(`[slot="footer"]`)}get#d(){if(!this.behaviorCreate||this.input?.disabled)return!1;let e=this.input?.value.trim();return e?!this.#f(e):!1}#f(e){let t=e.toLowerCase();return this.#i.find(e=>(e.textContent.trim()||e.value).toLowerCase()===t||e.value.toLowerCase()===t)}#p;#m;#h;#g;#_;get prefixContent(){return this.#r?.multiple&&!this.#v?_`<div class="tags-label" aria-hidden="true">${this.#r.selectedOptions.length} ${this.i18n.selected}</div><div class="tags">${Array.from(this.#r.selectedOptions).map(e=>_`<nve-tag part="tag" readonly="readonly" color="gray-slate" closable .value="${e.value}" @click="${()=>this.#z(e)}">${yn(e)}</nve-tag>`)}</div>`:_`<slot name="prefix-icon"></slot>`}get#v(){return this.tagLayout===`hidden`}get#y(){return(this.#t?.options?.length??0)>50}get#b(){return!this._internals.states.has(`dirty`)}get suffixContent(){let e=this.#i,t=this.#y,n=this.#b,r=e.filter(e=>!e.hidden).filter(e=>!(e.value===``&&e.disabled)),i=r.filter(e=>!e.disabled).length===0,a=this.#d;return _`<nve-dropdown part="dropdown" .popoverType="${`manual`}" .modal="${!1}" @open="${this.#N}" @close="${this.#P}" hidden .anchor="${this.#s}" position="bottom"><nve-menu part="menu" role="listbox" style="--width:100%;--min-width:fit-content" aria-label="${kS(this.i18n.select)}">${r.map(e=>_`<nve-menu-item part="menu-item" .option="${yn(e)}" role="option" @click="${()=>this.#z(e)}" ?selected="${e.selected}" aria-selected="${e.selected?`true`:`false`}" ?disabled="${e.disabled}" aria-label="${yn(e)}">${this.#x(e)} ${t||n?yn(e):_`<span role="presentation">${(e.label?e.label:e.value)?.split(``)?.map((e,t)=>_`<span ?matches="${this.#H(e,t)}">${e}</span>`)}</span>`}</nve-menu-item>`)} ${i&&!a?_`<nve-menu-item part="menu-item" .value="${``}" disabled="disabled">${this.i18n.noResults}</nve-menu-item>`:v} ${a?_`<nve-menu-item part="create-option" role="button" aria-label="${`${this.i18n.create} "${this.input?.value.trim()}"`}" @click="${this.#B}"><nve-icon part="icon" name="add" size="sm"></nve-icon>"${this.input?.value.trim()}"</nve-menu-item>`:v}</nve-menu><slot name="footer"></slot></nve-dropdown>`}#x(e){let t=this.#r;return t?.multiple&&this.#y?_`<input aria-hidden="true" type="checkbox" .checked="${e.selected}" .disabled="${e.disabled}" .name="${e.selected?`check`:void 0}">`:t?.multiple?_`<nve-checkbox part="checkbox"><input aria-hidden="true" type="checkbox" .checked="${e.selected}" .disabled="${e.disabled}" .name="${e.selected?`check`:void 0}"></nve-checkbox>`:t?_`<nve-icon part="icon" name="check" size="sm"></nve-icon>`:v}async firstUpdated(e){super.firstUpdated(e),this.shadowRoot.addEventListener(`slotchange`,()=>this.#j()),await this.updateComplete,this.#S(),this.#C(),this.#F(),this.#I(),this.#R(),this.#X(),await this.#L(),this.input.setAttribute(`list`,``),this.input.autocomplete=`off`}updated(e){super.updated(e),this.#J()}connectedCallback(){super.connectedCallback();let e=new MutationObserver(()=>this.#j());e.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`selected`,`disabled`,`value`],characterData:!0}),this.#p.push(e),this.#O()}disconnectedCallback(){super.disconnectedCallback(),this.#p.forEach(e=>e.disconnect()),this.#p.length=0,this.#g?.disconnect(),this.#_=null,this._internals.states.delete(`multiple-overflow`),this.#k(),this.#h!==void 0&&cancelAnimationFrame(this.#h),this.#h=void 0}reset(){this.#o.hidePopover(),this.#r&&(this.#r.selectedIndex=-1),super.reset()}selectAll(){this.#i.forEach(e=>e.selected=!0),this.requestUpdate(),this.#r.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#r.dispatchEvent(new Event(`change`,{bubbles:!0}))}#S(){this.#r&&!this.#r.multiple&&(this.#w(),this.#E())}#C(){this.#r?.multiple&&(this.#w(),this.#E(),this._internals.states.add(`multiple`))}#w(){let e=Array.from(this.#r.selectedOptions).find(e=>e.hasAttribute(`selected`));e&&!this.#r.multiple&&!this.input.defaultValue&&(this.input.value=yn(e))}#T(){!this.#r.multiple&&!this.input.defaultValue&&(this.input.value=yn(Array.from(this.#r.selectedOptions).find(e=>e.value===this.#r.value)))}#E(){this.#p.push(rn(this.#r,`value`,()=>{this.#T(),this.requestUpdate()}))}#D;#O(){this.#e=null,this.#n=null,this.#A(),this.requestUpdate()}#k(){this.#D.forEach(e=>e?.()),this.#D.clear()}#A(){this.isConnected&&this.#i.forEach(e=>{this.#D.has(e)||this.#D.set(e,nn(e,`selected`,()=>this.requestUpdate()))})}#j(){this.#m||(this.#m=!0,queueMicrotask(()=>{this.#m=!1,this.isConnected&&(this.#e=null,this.#n=null,this.#M(),this.#A(),this.requestUpdate())}))}#M(){let e=new Set(this.#i);for(let[t,n]of this.#D)e.has(t)||(n?.(),this.#D.delete(t))}#N(){this.#o.hidden=!1}#P(){this.#o.hidden=!0,this._internals.states.delete(`dirty`),this.#G()}#F(){this.addEventListener(`keydown`,e=>{let t=this.input.value.trim();if(e.code===`Tab`&&(this.#l&&this.#o.matches(`:popover-open`)&&t!==``&&(e.preventDefault(),this.#K(this.#a[0].option),this.#q(this.#i.find(e=>(e.label?e.label:e.value)===this.#a[0].option))),this.#o.hidePopover()),e.code===`Enter`&&this.behaviorCreate&&!this.input.disabled&&t){let n=this.#f(t);n?this.#z(n):(e.preventDefault(),e.stopImmediatePropagation(),this.#V())}})}#I(){this.input.addEventListener(`input`,()=>this.#U()),this.shadowRoot.addEventListener(`slotchange`,()=>this.#U())}async#L(){let e=this.#o;await e.updateComplete,Tr({element:e.shadowRoot.querySelector(`[internal-host]`),focusElement:this.input},()=>{this.#o.matches(`:popover-open`)&&this.#o.hidePopover()})}#R(){this.#c?.addEventListener(`pointerup`,()=>{this.tagLayout===`wrap`&&(this.input.focus(),setTimeout(()=>this.#W(),0))}),this.input.addEventListener(`pointerdown`,()=>{this.#W()}),this.addEventListener(`keydown`,e=>{e.code!==`Tab`&&e.code!==`Escape`&&this.#W(),e?.code===`ArrowDown`&&this.getRootNode().activeElement===this.input&&(this.#o.tabIndex=0,this.#a[0]?.focus(),e.preventDefault())})}#z(e){this.#r?.multiple||(this.#K(yn(e)),this.#o.hidePopover(),qt(this.input)),this.#r&&(e.selected=!e.selected,this.#q(e)),this.requestUpdate()}#B(){this.#V()}#V(){let e=this.input.value.trim();e&&(this.dispatchEvent(new CustomEvent(`create`,{detail:{value:e},bubbles:!0,composed:!0})),this.input.value=``,this.#o.hidePopover(),qt(this.input),this.requestUpdate())}#H(e,t){return this.#l?this.input.value.toLowerCase()[t]?.toLowerCase()===e.toLowerCase():!1}#U(){this.#i.forEach(e=>{e.hidden=e.textContent.trim().length?!e.textContent.toLocaleLowerCase().includes(this.input?.value.toLowerCase()):!e.value.toLocaleLowerCase().includes(this.input?.value.toLowerCase())}),this.requestUpdate()}#W(){!this.input.disabled&&!this.#o.matches(`:popover-open`)&&(this.#r?(this.#i.forEach(e=>e.hidden=!1),this.requestUpdate()):this.#U(),this.#o.style.setProperty(`--min-width`,`${this.#s.getBoundingClientRect().width}px`),this.#o.showPopover({source:this.#s}),this.#o.tabIndex=-1)}#G(){this.#r&&!this.#r.multiple&&!this.#i.filter(e=>!(e.value===``&&e.disabled)).find(e=>yn(e)===this.input.value)&&(this.#i.forEach(e=>e.selected=!1),this.#K(``),this.#q({value:``,selected:!1}))}#K(e){this.input.value=e,this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}#q(e){let t=[...this.#i,{value:``,selected:null}].find(t=>t.value===e.value);t&&(t.selected=e.selected??null),this.#r&&!this.#r.multiple&&(this.#r.value=e.value),this.#r?.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#r?.dispatchEvent(new Event(`change`,{bubbles:!0}))}#J(){if(!this.isConnected)return;let e=this.#r?.multiple&&!this.#v?this.#c:null;e!==this.#_&&(this.#g?.disconnect(),this.#_=e,this.#h!==void 0&&cancelAnimationFrame(this.#h),this.#h=void 0,e?(this.#g??=new ResizeObserver(()=>{this.#h===void 0&&(this.#h=requestAnimationFrame(()=>{this.#h=void 0;let e=this.#c;this.isConnected&&e&&this.#Y(e.getBoundingClientRect().width)}))}),this.#g.observe(e),this.#g.observe(this.#s)):this._internals.states.delete(`multiple-overflow`))}#Y(e){this.#r?.multiple&&e>this.#s.getBoundingClientRect().width-100?this._internals.states.add(`multiple-overflow`):this._internals.states.delete(`multiple-overflow`)}#X(){this.#Z(),this.shadowRoot.addEventListener(`slotchange`,()=>this.#Z())}#Z(){this.#u?this._internals.states.add(`footer-content`):this._internals.states.delete(`footer-content`)}};M([b({type:String,reflect:!0})],YS.prototype,`container`,void 0),M([b({type:String,reflect:!0,attribute:`tag-layout`})],YS.prototype,`tagLayout`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-create`})],YS.prototype,`behaviorCreate`,void 0),YS=M([O()],YS),g(YS),g(R),g(z),g(L);var XS=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-md);--nve-sys-interaction-color: var(--color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-400);--justify-content: initial;--background: var(--nve-sys-layer-popover-background);--border-radius: var(--nve-ref-border-radius-md);--border: none;--color: var(--nve-sys-layer-popover-color);--font-size: var(--nve-ref-font-size-200);--font-weight: var(--nve-ref-font-weight-medium);--box-shadow: var(--nve-ref-shadow-100);--gap: var(--nve-ref-space-xs);--_gap: var(--gap);height:fit-content}[internal-host]{background:var(--background);font-size:var(--font-size);font-weight:var(--font-weight);gap:var(--gap);color:var(--color);padding:var(--padding);border-radius:var(--border-radius);border:var(--border);display:flex;flex-direction:row;align-items:center;justify-content:var(--justify-content)}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-800)}:host([status="accent"]){--background: var(--nve-sys-support-accent-color)}:host([status="success"]){--background: var(--nve-sys-support-success-color);--color: var(--nve-sys-text-white-color)}:host([status="warning"]){--background: var(--nve-sys-support-warning-color);--color: var(--nve-sys-text-black-color)}:host([status="danger"]){--background: var(--nve-sys-support-danger-color);--color: var(--nve-sys-text-white-color)}:host([prominence="muted"]:not([status])){--background: var(--nve-sys-support-muted-color);--color: var(--nve-sys-layer-popover-background)}nve-icon{--color: inherit}nve-icon-button{--color: inherit;position:absolute;inset-block-start:var(--nve-ref-size-50);inset-inline-end:var(--nve-ref-size-50)}::slotted(nve-button[container="flat"]),::slotted(nve-button[container="inline"]){--color: inherit;margin-inline:calc(var(--_gap) * 2) calc(var(--_gap) / -2)}::slotted([nve-text]){color:inherit!important}`,ZS={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},V=class extends y{constructor(...e){super(...e),this.position=`top`,this.closable=!1,this.closeTimeout=0,this.#e=new A(this,ZS),this.i18n=this.#e.i18n,this.popoverType=`manual`,this.typeNativePopoverController=new ar(this)}static{this.styles=k([vr,XS])}static{this.metadata={tag:`nve-toast`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I,[F.metadata.tag]:F}}#e;render(){return _`<div internal-host><slot name="prefix"><nve-icon part="prefix-icon" .name="${Sr[this.status]}" .ariaLabel="${this.i18n[this.status]??this.i18n.information}"></nve-icon></slot>${this.closable?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:v}<slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`alert`}};M([b({type:String})],V.prototype,`anchor`,void 0),M([b({type:String})],V.prototype,`trigger`,void 0),M([b({type:String,reflect:!0})],V.prototype,`position`,void 0),M([b({type:String,reflect:!0})],V.prototype,`alignment`,void 0),M([b({type:String,reflect:!0})],V.prototype,`prominence`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],V.prototype,`behaviorTrigger`,void 0),M([b({type:Boolean})],V.prototype,`closable`,void 0),M([b({type:Number,attribute:`close-timeout`})],V.prototype,`closeTimeout`,void 0),M([b({type:String,reflect:!0})],V.prototype,`status`,void 0),M([b({type:Object})],V.prototype,`i18n`,void 0),V=M([O(),S({excessiveInstanceLimit:50})],V);var QS=`:host{--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 2px;--nve-sys-layer-popover-offset: 2px;--nve-sys-interaction-color: var(--color);--border-radius: var(--nve-ref-border-radius-sm);--border: 0;--background: var(--nve-sys-layer-popover-background);--color: var(--nve-sys-layer-popover-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);--box-shadow: var(--nve-ref-shadow-500);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--arrow-transform: translate(0, -2px) rotate(-45deg);--width: max-content;--height: initial;box-shadow:var(--box-shadow)}:host([status="muted"]){--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);background:var(--background);color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);width:var(--width);height:var(--height);border:var(--border);white-space:initial}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-800)}.arrow{width:var(--nve-ref-size-300);height:var(--nve-ref-size-300);background:var(--background);transform:var(--arrow-transform);border-radius:var(--nve-ref-size-50);position:absolute}nve-icon-button{--color: inherit;position:absolute;inset-block-start:var(--nve-ref-size-50);inset-inline-end:var(--nve-ref-size-50)}::slotted([nve-text]){color:inherit!important}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(-45deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(45deg)}`,H=class extends y{constructor(...e){super(...e),this.position=`top`,this.popoverType=`hint`,this.typeNativePopoverController=new ar(this)}static{this.styles=k([vr,QS])}static{this.metadata={tag:`nve-tooltip`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div><div part="arrow" class="arrow"></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`tooltip`}};M([b({type:String})],H.prototype,`anchor`,void 0),M([b({type:String})],H.prototype,`trigger`,void 0),M([b({type:String,reflect:!0})],H.prototype,`position`,void 0),M([b({type:String,reflect:!0})],H.prototype,`alignment`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],H.prototype,`behaviorTrigger`,void 0),M([b({type:String,reflect:!0})],H.prototype,`status`,void 0),M([b({type:Number,attribute:`open-delay`})],H.prototype,`openDelay`,void 0),M([LS(`.arrow`)],H.prototype,`popoverArrow`,void 0),H=M([S({excessiveInstanceLimit:50})],H);var $S=`:host{--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--color: var(--nve-sys-text-muted-color);--border-radius: var(--nve-ref-border-radius-full);--line-height: 0;--padding: 0;--height: var(--nve-ref-size-800);--min-width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2.3);--_icon-color: var(--color)}[internal-host]:after{display:none!important}:host([size="sm"]){--height: var(--nve-ref-size-700);--min-width: var(--nve-ref-size-700)}:host([size="lg"]){--min-width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--padding: 0}:host([container="flat"][selected]) [interaction-state],:host([container="flat"]:state(selected)) [interaction-state],:host([container="flat"][pressed]) [interaction-state],:host([container="flat"]:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host([container*="flat"]){--background: transparent;--border-radius: var(--nve-ref-border-radius-xs)}:host([container*="flat"]:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--background: transparent}:host([container*="flat"]:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}:host([container*="flat"]:state(selected)){--color: var(--nve-sys-interaction-selected-color)}nve-icon{--color: var(--_icon-color);pointer-events:none}`,eC={copy:`copy`,copied:`copied`},tC=class extends xi{constructor(...e){super(...e),this.copied=!1,this.showToast=!1,this.showTooltip=!1,this.#e=new A(this,eC),this.i18n=this.#e.i18n,this.#t=()=>{this.behaviorCopy&&navigator.clipboard.writeText(this.value).then(()=>{this.showToast=!0,this.copied=!0}).catch(e=>{this.showToast=!1,console.error(e)})},this.#r=()=>{this.showTooltip=!0},this.#i=()=>{this.showTooltip=!1}}#e;static{this.styles=k([...xi.styles,$S])}static{this.metadata={tag:`nve-copy-button`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F,[V.metadata.tag]:V,[H.metadata.tag]:H}}render(){return _`<div id="btn" internal-host interaction-state focus-within><slot></slot>${this.copied?_`<nve-icon part="icon" name="check" status="success" .size="${this.size}" aria-hidden="true"></nve-icon>`:_`<slot name="icon"><nve-icon part="icon" name="copy" .size="${this.size}" aria-hidden="true"></nve-icon></slot>`}</div>${this.showToast?_`<nve-toast part="toast" @close="${this.#n}" status="success" anchor="btn" position="top" close-timeout="1500">${this.i18n.copied}</nve-toast>`:v} ${this.showTooltip&&!this.showToast?_`<nve-tooltip part="tooltip" exportparts="arrow:tooltip-arrow" anchor="btn">${this.ariaLabel??this.i18n.copy}</nve-tooltip>`:v}`}connectedCallback(){super.connectedCallback(),this.addEventListener(`click`,this.#t),this.addEventListener(`mouseenter`,this.#r),this.addEventListener(`mouseleave`,this.#i)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t),this.removeEventListener(`mouseenter`,this.#r),this.removeEventListener(`mouseleave`,this.#i)}#t;#n(){this.showToast=!1,this.copied=!1,this.showTooltip=!1}#r;#i};M([N()],tC.prototype,`copied`,void 0),M([N()],tC.prototype,`showToast`,void 0),M([N()],tC.prototype,`showTooltip`,void 0),M([b({type:Object})],tC.prototype,`i18n`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-copy`})],tC.prototype,`behaviorCopy`,void 0),M([b({type:String})],tC.prototype,`value`,void 0),tC=M([O()],tC),g(tC);var nC=`:host{--width: 100%;width:var(--width)}`,rC={expand:`expand`},iC=class extends R{get i18nDefaults(){return rC}static{this.styles=k([...R.styles,bS,nC])}static{this.metadata={tag:`nve-date`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};M([b({type:String,reflect:!0})],iC.prototype,`container`,void 0),iC=M([O()],iC),g(iC),g(R),g(z),g(L);var aC=`:host{width:100%}`,oC={expand:`expand`},sC=class extends R{get i18nDefaults(){return oC}static{this.styles=k([...R.styles,bS,aC])}static{this.metadata={tag:`nve-datetime`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};M([b({type:String,reflect:!0})],sC.prototype,`container`,void 0),sC=M([O()],sC),g(sC),g(R),g(z),g(L);var cC=`nve-dialog:has(nve-dialog-header),nve-dialog:has(nve-dialog-footer){&::part(_host){padding:0}&::part(_content){padding:var(--padding)}}`,lC=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 4px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xxl);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-lg);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-500);--gap: var(--nve-ref-space-sm);--max-width: 600px;--min-height: 250px;--max-height: 100vh;width:100vw;height:min-content;max-width:var(--max-width);max-height:var(--max-height);min-height:var(--min-height)}:host([size="sm"]){--max-width: 400px}:host([size="lg"]){--max-width: 840px}[internal-host]{border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);padding:var(--padding);max-height:var(--max-height);height:inherit;width:inherit;max-width:inherit;min-height:inherit;min-width:inherit}:host([modal])::backdrop{background:#00000080}.header{display:flex;gap:var(--gap)}.content{overflow:auto;min-height:inherit;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);slot{gap:var(--gap);min-height:inherit;display:flex;flex-direction:column;align-items:flex-start}}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}`,uC={close:`close`},dC=class extends y{constructor(...e){super(...e),this.position=`center`,this.alignment=`center`,this.anchor=globalThis.document?.body,this.#e=new A(this,uC),this.i18n=this.#e.i18n,this.typeNativePopoverController=new ar(this)}#e;get popoverType(){return this.modal?`auto`:`manual`}get popoverDismissible(){return this.closable??!1}static{this.styles=k([vr,lC])}static{this.metadata={tag:`nve-dialog`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}render(){return _`<div internal-host part="_host"><div class="header">${this.closable?_`<nve-icon-button part="close-button icon-button" exportparts="icon:icon-button-icon" size="sm" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot name="header"></slot></div><div class="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`dialog`,C(this,cC)}};M([b({type:String,reflect:!0})],dC.prototype,`position`,void 0),M([b({type:String,reflect:!0})],dC.prototype,`alignment`,void 0),M([b({type:String,reflect:!0})],dC.prototype,`size`,void 0),M([b({type:Boolean})],dC.prototype,`closable`,void 0),M([b({type:Boolean,reflect:!0})],dC.prototype,`modal`,void 0),M([b({type:String})],dC.prototype,`anchor`,void 0),M([b({type:String})],dC.prototype,`trigger`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],dC.prototype,`behaviorTrigger`,void 0),M([b({type:Object})],dC.prototype,`i18n`,void 0),dC=M([S({excessiveInstanceLimit:50}),O()],dC);var fC=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);display:block;width:100%}[internal-host]{border-bottom:var(--border-bottom);padding:var(--padding);color:var(--color)}`,pC=class extends y{static{this.styles=k([fC])}static{this.metadata={tag:`nve-dialog-header`,version:`0.0.0`,parents:[`nve-dialog`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},mC=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:100%;margin-block-start:auto}[internal-host]{border-top:var(--border-top);padding:var(--padding);gap:var(--gap);display:flex;justify-content:end}`,hC=class extends y{static{this.styles=k([mC])}static{this.metadata={tag:`nve-dialog-footer`,version:`0.0.0`,parents:[`nve-dialog`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}};g(dC),g(pC),g(hC);var gC=`:host{--color: var(--nve-ref-border-color);--border-radius: 0;--padding: 0;--size: var(--nve-ref-border-width-sm);width:100%}[internal-host]{display:block;width:100%;height:var(--size);background-color:var(--color);border-radius:var(--border-radius);padding:var(--padding)}:host([orientation="vertical"]){align-self:stretch;height:inherit;width:var(--size)}:host([orientation="vertical"]) [internal-host]{height:100%;width:var(--size)}`,_C=class extends y{constructor(...e){super(...e),this.orientation=`horizontal`}static{this.styles=k([gC])}static{this.metadata={tag:`nve-divider`,version:`0.0.0`}}render(){return _`<div internal-host></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`separator`,this._internals.ariaOrientation=this.orientation}updated(e){super.updated(e),e.has(`orientation`)&&(this._internals.ariaOrientation=this.orientation)}};M([b({type:String,reflect:!0})],_C.prototype,`orientation`,void 0),g(_C);var vC=`:host{--gap: var(--nve-ref-space-xs);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-semibold);--background: var(--status-color);--color: var(--nve-sys-text-white-color);--border-radius: var(--nve-ref-border-radius-full);--height: var(--nve-ref-size-300);--width: var(--nve-ref-size-300);--padding: 0;--border: 0;width:auto;display:inline-flex}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);background:var(--background);color:var(--color);border-radius:var(--border-radius);height:var(--height);width:var(--width);padding:var(--padding);border:var(--border);display:flex;line-height:1em;place-items:center;place-content:center}:host([size="sm"]){--height: var(--nve-ref-size-200);--width: var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-50)}:host([size="lg"]){--height: var(--nve-ref-size-400);--width: var(--nve-ref-size-400);--font-size: var(--nve-ref-font-size-200)}:host(:state(has-text)){--width: fit-content;--height: fit-content;--padding: calc(var(--font-size) * .1) calc(var(--font-size) * .5)}::slotted([nve-text]){color:inherit!important}:host([status="warning"]){--color: var(--nve-sys-text-black-color)}`,yC=class extends y{static{this.styles=k([vC,gr,_r])}static{this.metadata={tag:`nve-dot`,version:`0.0.0`}}render(){return _`<div internal-host><slot @slotchange="${()=>this.#e()}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`img`}#e(){this.textContent.length?this._internals.states.add(`has-text`):this._internals.states.delete(`has-text`)}};M([b({type:String,reflect:!0})],yC.prototype,`status`,void 0),M([b({type:String,reflect:!0})],yC.prototype,`size`,void 0),g(yC);var bC=`:host{--nve-sys-interaction-state-base: transparent;--cursor: move;--color: var(--nve-sys-text-muted-color);--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--border-radius: var(--nve-ref-border-radius-xs);display:inline-flex;user-select:none}:host([draggable="true"]){-webkit-user-drag:element}:host(:state(disabled)),:host([readonly]){-webkit-user-drag:none}[internal-host]{display:flex;align-items:center;justify-content:center;width:var(--width);height:var(--height);border-radius:var(--border-radius);cursor:var(--cursor)}nve-icon{--color: inherit;pointer-events:none}:host(:state(pressed)){--color: var(--nve-sys-interaction-selected-color)}:host(:hover:not(:state(disabled),[readonly],:state(pressed))){--color: var(--nve-sys-interaction-hover-color)}:host(:state(pressed)) [interaction-state]{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}@container style(--nve-sys-color-scheme: dark){:host{--nve-sys-interaction-state-ratio-selected: 16% !important;--nve-sys-interaction-state-ratio-hover: 12% !important}}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: default}:host(:state(disabled)) [interaction-state]{--nve-sys-interaction-state-ratio: 0}`,xC=class extends yi(y){static{this.styles=k([bC])}static{this.metadata={tag:`nve-drag-handle`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}constructor(){super(),this.type=`button`,this.pressed=!1}render(){return _`<div internal-host interaction-state focus-within><nve-icon name="drag" .appearance="${this.pressed||this.expanded?`solid`:`outline`}" aria-hidden="true" part="icon"></nve-icon></div>`}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-draggable`,`handle`),this.hasAttribute(`draggable`)||(this.draggable=!0),this.addEventListener(`click`,this.#e),this.addEventListener(`keydown`,this.#r),this.addEventListener(`dragstart`,this.#t),this.addEventListener(`dragend`,this.#n)}disconnectedCallback(){this.removeEventListener(`click`,this.#e),this.removeEventListener(`keydown`,this.#r),this.removeEventListener(`dragstart`,this.#t),this.removeEventListener(`dragend`,this.#n),super.disconnectedCallback()}#e=e=>{e.target!==this||e.defaultPrevented||this.disabled||this.readOnly||(this.pressed=!this.pressed)};#t=e=>{(this.disabled||this.readOnly)&&e.preventDefault()};#n=()=>{this._internals.states.delete(`active`)};#r=e=>{e.key!==` `||e.target!==this||e.defaultPrevented||this.disabled||this.readOnly||e.preventDefault()}};xC=M([O()],xC),g(xC);var SC=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: 0px;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--padding: 0;--box-shadow: var(--nve-ref-shadow-500);--gap: var(--nve-ref-space-sm);--top: 0px;--max-width: 400px;--width: 100vw;width:var(--width);max-width:var(--max-width);height:calc(100vh - var(--top));margin:initial!important;margin-block-start:var(--top)!important;position-area:unset!important}:host([size="sm"]){--max-width: 280px}:host([size="lg"]){--max-width: 540px}:host([position="left"]){transform:translate(calc(-1 * var(--width)))!important}:host([position="right"]){transform:translate(var(--width))!important}:host(:popover-open){transform:translate(0)!important}:host([inline]){--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--box-shadow: none;--border: 0;transition:none!important}[internal-host]{border:var(--border);background:var(--background);color:var(--color);box-shadow:var(--box-shadow);bottom:0!important;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;width:100%}::backdrop{background:transparent}:host([modal])::backdrop{background:#00000012}.header{display:flex;gap:var(--gap)}.content{padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;flex:1}nve-icon-button{position:absolute;top:var(--nve-ref-size-200);right:var(--nve-ref-size-200);z-index:99}:host([position="bottom"]),:host([position="top"]){min-width:100%;height:max-content}:host([position="bottom"]) [internal-host],:host([position="top"]) [internal-host]{height:min-content}:host([position="left"]){inset:auto auto auto 0!important}:host([position="right"]){inset:auto 0 auto auto!important}:host([position="top"]){inset:0 auto auto!important}:host([position="bottom"]){inset:auto auto 0!important}`,CC={close:`close`},wC=class extends y{constructor(...e){super(...e),this.position=`left`,this.anchor=globalThis.document?.body,this.#e=new A(this,CC),this.i18n=this.#e.i18n,this.typeNativePopoverController=new ar(this),this.#n=e=>{this.inline&&(this.#t&&e.newState===`closed`?this.#t.remove():(this.#t=xn(this),this.after(this.#t)))}}#e;get popoverType(){return this.modal?`auto`:`manual`}get popoverDismissible(){return this.closable??!1}static{this.styles=k([vr,SC])}static{this.metadata={tag:`nve-drawer`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}render(){return _`<div internal-host><div class="header"><nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .hidden="${!this.closable}" @click="${this.hidePopover}" icon-name="cancel" .ariaLabel="${this.i18n.close}" container="flat"></nve-icon-button><slot name="header"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`}#t;connectedCallback(){super.connectedCallback(),this.addEventListener(`toggle`,this.#n)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`toggle`,this.#n),this.#t?.remove(),this.#t=void 0}#n};M([b({type:String,reflect:!0})],wC.prototype,`position`,void 0),M([b({type:String,reflect:!0})],wC.prototype,`size`,void 0),M([b({type:Boolean})],wC.prototype,`closable`,void 0),M([b({type:Boolean,reflect:!0})],wC.prototype,`modal`,void 0),M([b({type:String})],wC.prototype,`anchor`,void 0),M([b({type:String})],wC.prototype,`trigger`,void 0),M([b({type:Boolean,reflect:!0})],wC.prototype,`inline`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],wC.prototype,`behaviorTrigger`,void 0),M([b({type:Object})],wC.prototype,`i18n`,void 0),wC=M([E(),O()],wC);var TC=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);width:100%;height:100%;flex:1;justify-content:stretch;flex-direction:column;display:flex;overflow:auto;gap:var(--gap);contain:none}[internal-host]{background:var(--background);padding:var(--padding);height:100%;width:100%;flex:1}::slotted(nve-menu){--width: 100%}`,EC=class extends y{static{this.styles=k([TC])}static{this.metadata={tag:`nve-drawer-content`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return _`<div internal-host><slot></slot></div>`}},DC=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));display:block}[internal-host]{background:var(--background);border-top:var(--border-top);padding:var(--padding);gap:var(--gap);min-height:var(--min-height);display:flex;align-items:center}`,OC=class extends y{static{this.styles=k([DC])}static{this.metadata={tag:`nve-drawer-footer`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},kC=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));--padding: var(--nve-ref-size-300);display:block;width:100%}[internal-host]{background:var(--background);border-bottom:var(--border-bottom);padding:var(--padding);color:var(--color);min-height:var(--min-height);display:flex;align-items:center}`,AC=class extends y{static{this.styles=k([kC])}static{this.metadata={tag:`nve-drawer-header`,version:`0.0.0`,parents:[`nve-drawer`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}};g(wC),g(OC),g(AC),g(EC),g(B),g(VS),g(US);var jC=`nve-dropdown-group>nve-dropdown+nve-dropdown{--nve-sys-layer-popover-offset: calc(var(--nve-ref-size-400) + 2px);margin-block-start:calc(var(--nve-ref-size-400) * -1)}`,MC=class extends y{static{this.styles=k([])}static{this.metadata={tag:`nve-dropdown-group`,version:`0.0.0`,children:[`nve-dropdown`]}}render(){return _`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}#e=/* @__PURE__ */ new WeakMap;#t;connectedCallback(){super.connectedCallback(),C(this,jC),globalThis.document?.addEventListener(`pointerup`,this.#r),this.addEventListener(`keydown`,this.#i),this.addEventListener(`beforetoggle`,this.#u,!0),this.addEventListener(`open`,this.#l),this.addEventListener(`close`,this.#d)}disconnectedCallback(){super.disconnectedCallback(),globalThis.document?.removeEventListener(`pointerup`,this.#r),this.removeEventListener(`keydown`,this.#i),this.removeEventListener(`beforetoggle`,this.#u,!0),this.removeEventListener(`open`,this.#l),this.removeEventListener(`close`,this.#d)}#n(){this.dropdowns.forEach(e=>{e.popoverType=`manual`})}#r=e=>{let t=this.dropdowns.filter(e=>e.matches(`:popover-open`));t.length&&t.every(t=>an(e,t))&&this.close()};#i(e){let t=e.code===`Escape`||e.code===`ArrowLeft`||e.code===`ArrowRight`;if(e.defaultPrevented||!t)return;let n=e.composedPath(),r=this.#a(n),i=this.#c(r);(i||r===this)&&(e.code===`Escape`?(e.preventDefault(),e.stopPropagation(),this.close()):i&&this.#o(e,n,i))}#a(e){return e.find(e=>e instanceof HTMLElement&&(e.localName===`nve-dropdown`||e.localName===`nve-dropdown-group`))}#o(e,t,n){let r=Gt(this.ownerDocument);if(!(r instanceof HTMLElement)||!t.includes(r))return;let i=getComputedStyle(this).direction===`rtl`,a=i?`ArrowLeft`:`ArrowRight`,o=i?`ArrowRight`:`ArrowLeft`;e.code===a?this.#s(r,e):e.code===o&&r.localName===`nve-menu-item`&&(e.preventDefault(),e.stopPropagation(),n.hidePopover())}#s(e,t){if(e.matches(`[disabled]`)||!(`popoverTargetElement`in e))return;let n=e.popoverTargetElement,r=this.#c(n);r&&(t.preventDefault(),t.stopPropagation(),r.showPopover({source:e}))}#c(e){return this.dropdowns.find(t=>t===e)}#l(e){let t=this.#c(e.composedPath()[0]);t&&(this.#t?.matches(`:popover-open`)||(this.#t=t),this.#e.delete(t),e.detail?.trigger instanceof HTMLElement&&this.#e.set(t,e.detail.trigger),sn(t)[0]?.focus())}#u(e){let t=this.#c(e.composedPath()[0]);t&&e.newState===`closed`&&!t.matches(`:focus-within`)&&this.#e.delete(t)}#d(e){let t=this.#c(e.composedPath()[0]);if(t){let e=this.#e.get(t);t===this.#t&&(this.#t=void 0),this.#e.delete(t);let n=this.ownerDocument.activeElement;(!n||n===this.ownerDocument.body||t.matches(`:focus-within`))&&e?.isConnected&&e.focus()}}close(){let e=this.#t?this.#e.get(this.#t):void 0;this.#t=void 0,this.#e=/* @__PURE__ */ new WeakMap;let t=Array.from(this.querySelectorAll(`nve-dropdown`));t.forEach(e=>e.hidePopover());let n=this.ownerDocument.activeElement;(!n||n===this.ownerDocument.body||t.some(e=>e.matches(`:focus-within`)))&&e?.isConnected&&e.focus()}};M([x({selector:`nve-dropdown`})],MC.prototype,`dropdowns`,void 0),MC=M([S()],MC),g(MC);var NC=`:host{--background: inherit;--min-height: 50px;--border-radius: var(--nve-ref-border-radius-xs);--border-color: var(--nve-ref-border-color);--padding: var(--nve-ref-space-lg)}[internal-host]{display:flex;flex-direction:column;gap:var(--nve-ref-space-md)}.container{background:var(--background);border-radius:var(--border-radius);justify-content:center;gap:var(--nve-ref-space-xs);min-height:var(--min-height);padding:var(--padding);color:var(--nve-sys-text-color);position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:center;user-select:none}.dropzone-border{border-radius:var(--border-radius);color:var(--border-color);position:absolute;inset:0}.icon{padding:var(--nve-ref-space-xs);border-radius:var(--nve-ref-border-radius-sm);background:var(--nve-sys-layer-canvas-accent-background)}slot[name=icon]::slotted(*){padding:var(--nve-ref-space-xs);border-radius:var(--nve-ref-border-radius-sm);background:var(--nve-sys-layer-canvas-accent-background)}.text-emphasized{color:var(--nve-sys-text-emphasis-color)}.dropzone-text-center{text-align:center;line-height:var(--nve-ref-font-line-height-relaxed);font-size:var(--nve-ref-font-size-200)}.dropzone-text-center:first-letter{text-transform:capitalize}.dropzone-text-bold{font-weight:var(--nve-ref-font-weight-semibold)}.text-muted{color:var(--nve-sys-text-muted-color);font-size:var(--nve-ref-font-size-100);font-weight:var(--nve-ref-font-weight-regular)}:host([highlighted]),:host(:hover){--background: color-mix(in oklab, transparent, var(--nve-sys-accent-secondary-background) 20%);--border-color: var(--nve-ref-border-color-emphasis);.icon{background:var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-text-white-color)}slot[name=icon]::slotted(*){background:var(--nve-sys-accent-secondary-background);--color: var(--nve-sys-text-white-color)}.text-emphasized{color:var(--nve-sys-text-color)}}:host([highlighted]),:host(:active){--background: color-mix(in oklab, transparent, var(--nve-sys-accent-secondary-background) 30%)}`;function PC(e){return e.split(`,`).map(e=>{let t=e.trim();return t.startsWith(`.`)&&(t=t.slice(1)),t.endsWith(`/*`)&&(t=t.split(`/`)[0]),t.includes(`/`)&&(t=t.split(`/`)[1]),t.includes(`+`)&&(t=t.split(`+`)[0]),t})}function FC(e,t){let n=t,r=e;return!r||!Array.isArray(r)||r.length===0?{validity:{valid:!0}}:r.filter(e=>e.size>n.maxFileSize).length>0?{validity:{rangeOverflow:!0,valid:!1},message:`Some files exceed the maximum size of ${bt(n.maxFileSize)}`}:{validity:{valid:!0}}}function IC(e,t){let n=t,r=e;if(!r||!Array.isArray(r)||r.length===0)return{validity:{valid:!0}};let i=PC(n.accept);return r.filter(e=>!i.some(t=>e.type.includes(t))).length>0?{validity:{typeMismatch:!0,valid:!1},message:`Some files are not of accepted types`}:{validity:{valid:!0}}}var LC={or:`or`,files:`files`,dragAndDrop:`drag & drop`,browseFiles:`browse files`,maxFileSize:`max file size`},RC=class extends Wr(y){#e;static{this.styles=k([NC])}static{this.metadata={tag:`nve-dropzone`,version:`0.0.0`,validators:[IC,FC],valueSchema:{type:`array`,items:{type:`object`,properties:{name:{type:`string`},size:{type:`number`},type:{type:`string`}}}}}}static{this.elementDefinitions={[F.metadata.tag]:F}}formResetCallback(){this.value=[],this.requestUpdate()}constructor(){super(),this.accept=`image/gif, image/jpeg, image/png, image/svg+xml`,this.maxFileSize=2*1024**2,this.#e=new A(this,LC),this.i18n=this.#e.i18n,this.value=[]}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-control`,``),globalThis.document.addEventListener(`dragover`,this.#t),globalThis.document.addEventListener(`drop`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),globalThis.document.removeEventListener(`dragover`,this.#t),globalThis.document.removeEventListener(`drop`,this.#t)}#t(e){e.preventDefault(),e.stopPropagation()}#n(){this.fileInput.click()}#r(e){this.#t(e),this.#u(!0)}#i(e){this.#t(e),this.#u(!0)}#a(e){this.#t(e),this.#u(!1)}#o(e){this.#t(e),this.#u(!1);let t=Array.from(e.dataTransfer.files);this.#c(t)}#s(e){this.#t(e);let t=Array.from(this.fileInput.files);this.#c(t),this.fileInput.value=``}#c(e){this.value=[...this.value??[],...e],this.dispatchChangeEvent()}#l(e){let t=PC(e);if(t.length===1)return t[0].toUpperCase();let n=t.pop();return`${t.join(`, `).toUpperCase()} or ${n.toUpperCase()}`}#u(e){this.toggleAttribute(`highlighted`,e)}#d(e){e.target.assignedNodes().forEach(e=>fn(e))}render(){return _`<div internal-host><div class="container" @click="${this.#n}" @dragenter="${this.#r}" @dragover="${this.#i}" @dragleave="${this.#a}" @drop="${this.#o}"><svg class="dropzone-border" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="none" rx="4" ry="4" stroke="currentColor" stroke-width="2" stroke-dasharray="6,6" stroke-dashoffset="0" stroke-linecap="square"/></svg><slot name="icon"><nve-icon part="icon" class="icon" name="upload"></nve-icon></slot><slot @slotchange="${this.#d}"><div class="dropzone-text-center"><div class="dropzone-text-bold">${this.i18n.dragAndDrop} ${this.i18n.files} ${this.i18n.or} <span class="text-emphasized">${this.i18n.browseFiles}</span></div><div class="text-muted">${this.#l(this.accept)} — ${this.i18n.maxFileSize} ${bt(this.maxFileSize)}</div></div></slot><input id="dropzone-input" type="file" accept="${this.accept}" @change="${this.#s}" multiple="multiple" hidden></div></div>`}};M([b()],RC.prototype,`accept`,void 0),M([b({attribute:`max-file-size`,type:Number})],RC.prototype,`maxFileSize`,void 0),M([b({type:Object})],RC.prototype,`i18n`,void 0),M([LS(`#dropzone-input`)],RC.prototype,`fileInput`,void 0),RC=M([O()],RC),g(RC);var zC=`:host{--background: var(--nve-sys-interaction-background);--padding: 0 var(--nve-ref-size-300);--border-radius: var(--nve-ref-border-radius-lg);--border: 0;--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-200);--text-decoration: none;--cursor: pointer;--gap: var(--nve-ref-space-xxs);--height: var(--nve-ref-size-800);width:100%}`,BC=`nve-file>input{color:var(--color)}nve-file>input::file-selector-button{background:var(--background);padding:var(--padding);height:var(--height);width:var(--width);border-radius:var(--border-radius);border:var(--border);text-decoration:var(--text-decoration);font-weight:var(--font-weight);font-size:var(--font-size);cursor:var(--cursor);gap:var(--gap);margin-inline-end:var(--nve-ref-space-sm);display:inline-flex;place-items:center;appearance:none;line-height:1.2em}nve-file>input::file-selector-button:hover{--color: var(--nve-sys-interaction-hover-color);--background: var(--nve-sys-interaction-background)}nve-file>input::file-selector-button:active{--color: var(--nve-sys-interaction-active-color);--background: var(--nve-sys-interaction-background)}`,VC=class extends R{static{this.styles=k([...R.styles,zC])}static{this.metadata={tag:`nve-file`,version:`0.0.0`}}connectedCallback(){super.connectedCallback(),C(this,BC)}};g(VC),g(R),g(z),g(L);var HC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,UC=[`b`,`kb`,`mb`,`gb`,`tb`,`pb`],WC=[`decimal`,`binary`],GC=[`short`,`long`],KC={b:{short:`B`,singular:`byte`,plural:`bytes`},kb:{short:`kB`,singular:`kilobyte`,plural:`kilobytes`},mb:{short:`MB`,singular:`megabyte`,plural:`megabytes`},gb:{short:`GB`,singular:`gigabyte`,plural:`gigabytes`},tb:{short:`TB`,singular:`terabyte`,plural:`terabytes`},pb:{short:`PB`,singular:`petabyte`,plural:`petabytes`}},qC={b:{short:`B`,singular:`byte`,plural:`bytes`},kb:{short:`KiB`,singular:`kibibyte`,plural:`kibibytes`},mb:{short:`MiB`,singular:`mebibyte`,plural:`mebibytes`},gb:{short:`GiB`,singular:`gibibyte`,plural:`gibibytes`},tb:{short:`TiB`,singular:`tebibyte`,plural:`tebibytes`},pb:{short:`PiB`,singular:`pebibyte`,plural:`pebibytes`}};function JC(e){return WC.some(t=>t===e)}function YC(e){return UC.some(t=>t===e)}function XC(e){return GC.some(t=>t===e)}var ZC=class extends y{constructor(...e){super(...e),this.display=`decimal`,this.unitDisplay=`short`}static{this.styles=k([HC])}static{this.metadata={tag:`nve-format-bytes`,version:`0.0.0`}}get#e(){let e=Number.isNaN(this.value)?this.getAttribute(`value`)??this.value:this.value;return String(e??this.textContent?.trim()??``)}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}#r(e,t){let n=t===`binary`?1024:1e3,r=Math.abs(e);for(let e=UC.length-1;e>0;e--){let t=UC[e];if(t&&r>=n**e)return t}return`b`}#i(e,t){let n=this.display===`binary`?qC[e]:KC[e];return this.unitDisplay===`short`?n.short:Math.abs(t)===1?n.singular:n.plural}#a(){return JC(this.display)&&XC(this.unitDisplay)&&(this.unit===void 0||YC(this.unit))}get#o(){let e=this.maximumFractionDigits??Math.max(this.minimumFractionDigits??0,2);return{minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:e}}#s(e){return Number(new Intl.NumberFormat(`en-US-u-nu-latn`,{...this.#o,useGrouping:!1}).format(e))}#c(e){return new Intl.NumberFormat(this.#t,this.#o).format(e)}get#l(){let e=this.#e;if(!e)return``;let t=this.#n;if(t===null||!this.#a())return e;let n=this.unit??this.#r(t,this.display),r=UC.indexOf(n),i=t/(this.display===`binary`?1024:1e3)**r;try{let e=this.#s(i);return`${this.#c(e)} ${this.#i(n,e)}`}catch{return e}}render(){return _`<data internal-host value="${this.#e}">${this.#l}<slot @slotchange="${this.#u}" hidden></slot></data>`}#u(){this.requestUpdate()}};M([b({type:Number})],ZC.prototype,`value`,void 0),M([b({type:String})],ZC.prototype,`display`,void 0),M([b({type:String})],ZC.prototype,`unit`,void 0),M([b({type:String,attribute:`unit-display`})],ZC.prototype,`unitDisplay`,void 0),M([b({type:String})],ZC.prototype,`locale`,void 0),M([b({type:Number,attribute:`minimum-fraction-digits`})],ZC.prototype,`minimumFractionDigits`,void 0),M([b({type:Number,attribute:`maximum-fraction-digits`})],ZC.prototype,`maximumFractionDigits`,void 0),ZC=M([E()],ZC),g(ZC);var QC=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,U=class extends y{static{this.styles=k([QC])}static{this.metadata={tag:`nve-format-datetime`,version:`0.0.0`}}get#e(){return this.date??this.textContent?.trim()??``}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return``;let t=this.#s(e);if(!t)return e;try{return new Intl.DateTimeFormat(this.#t,this.#r).format(t)}catch{return e}}get#r(){return this.#i?this.#a:this.#o}get#i(){return this.dateStyle!==void 0||this.timeStyle!==void 0}get#a(){let e={};return this.dateStyle&&(e.dateStyle=this.dateStyle),this.timeStyle&&(e.timeStyle=this.timeStyle),this.timeZone&&(e.timeZone=this.timeZone),e}get#o(){let e={};return this.weekday&&(e.weekday=this.weekday),this.year&&(e.year=this.year),this.month&&(e.month=this.month),this.day&&(e.day=this.day),this.hour&&(e.hour=this.hour),this.minute&&(e.minute=this.minute),this.second&&(e.second=this.second),this.timeZoneName&&(e.timeZoneName=this.timeZoneName),this.timeZone&&(e.timeZone=this.timeZone),e}#s(e){let t=new Date(e);return isNaN(t.getTime())?null:t}render(){return _`<time internal-host datetime="${this.#e}">${this.#n}<slot @slotchange="${this.#c}" hidden></slot></time>`}#c(){this.requestUpdate()}};M([b({type:String})],U.prototype,`date`,void 0),M([b({type:String})],U.prototype,`locale`,void 0),M([b({type:String})],U.prototype,`weekday`,void 0),M([b({type:String})],U.prototype,`year`,void 0),M([b({type:String})],U.prototype,`month`,void 0),M([b({type:String})],U.prototype,`day`,void 0),M([b({type:String})],U.prototype,`hour`,void 0),M([b({type:String})],U.prototype,`minute`,void 0),M([b({type:String})],U.prototype,`second`,void 0),M([b({type:String,attribute:`date-style`})],U.prototype,`dateStyle`,void 0),M([b({type:String,attribute:`time-style`})],U.prototype,`timeStyle`,void 0),M([b({type:String,attribute:`time-zone-name`})],U.prototype,`timeZoneName`,void 0),M([b({type:String,attribute:`time-zone`})],U.prototype,`timeZone`,void 0),U=M([E()],U),g(U);var $C=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,ew=[[`currency`,`currency`],[`currencyDisplay`,`currencyDisplay`],[`currencySign`,`currencySign`],[`notation`,`notation`],[`compactDisplay`,`compactDisplay`],[`unit`,`unit`],[`unitDisplay`,`unitDisplay`],[`signDisplay`,`signDisplay`]],tw=[[`minimumFractionDigits`,`minimumFractionDigits`],[`maximumFractionDigits`,`maximumFractionDigits`],[`minimumIntegerDigits`,`minimumIntegerDigits`]],W=class extends y{constructor(...e){super(...e),this.formatStyle=`decimal`}static{this.styles=k([$C])}static{this.metadata={tag:`nve-format-number`,version:`0.0.0`}}get#e(){return this.number??this.textContent?.trim()??``}get#t(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}get#n(){let e=this.#e;if(!e)return null;let t=Number(e);return Number.isFinite(t)?t:null}get#r(){let e={style:this.formatStyle};for(let[t,n]of ew){let r=this[t];r!==void 0&&(e[n]=r)}for(let[t,n]of tw){let r=this[t];r!==void 0&&(e[n]=r)}return this.useGrouping!==void 0&&(e.useGrouping=this.useGrouping===`false`?!1:this.useGrouping===`true`||this.useGrouping),e}get#i(){let e=this.#e;if(!e)return``;let t=this.#n;if(t===null)return e;try{return new Intl.NumberFormat(this.#t,this.#r).format(t)}catch{return e}}render(){return _`<data internal-host value="${this.#e}">${this.#i}<slot @slotchange="${this.#a}" hidden></slot></data>`}#a(){this.requestUpdate()}};M([b({type:String})],W.prototype,`number`,void 0),M([b({type:String})],W.prototype,`locale`,void 0),M([b({type:String,attribute:`format-style`})],W.prototype,`formatStyle`,void 0),M([b({type:String})],W.prototype,`currency`,void 0),M([b({type:String,attribute:`currency-sign`})],W.prototype,`currencySign`,void 0),M([b({type:String,attribute:`currency-display`})],W.prototype,`currencyDisplay`,void 0),M([b({type:String})],W.prototype,`unit`,void 0),M([b({type:String,attribute:`unit-display`})],W.prototype,`unitDisplay`,void 0),M([b({type:String})],W.prototype,`notation`,void 0),M([b({type:String,attribute:`compact-display`})],W.prototype,`compactDisplay`,void 0),M([b({type:String,attribute:`sign-display`})],W.prototype,`signDisplay`,void 0),M([b({type:String,attribute:`use-grouping`})],W.prototype,`useGrouping`,void 0),M([b({type:Number,attribute:`minimum-fraction-digits`})],W.prototype,`minimumFractionDigits`,void 0),M([b({type:Number,attribute:`maximum-fraction-digits`})],W.prototype,`maximumFractionDigits`,void 0),M([b({type:Number,attribute:`minimum-integer-digits`})],W.prototype,`minimumIntegerDigits`,void 0),W=M([E()],W),g(W);var nw=`:host{display:inline}[internal-host]{color:var(--nve-sys-text-color, inherit)}slot{display:none}`,rw={second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6},iw=[{unit:`second`,max:60},{unit:`minute`,max:60},{unit:`hour`,max:24},{unit:`day`,max:7},{unit:`week`,max:4},{unit:`month`,max:12},{unit:`year`,max:1/0}],aw=class extends y{constructor(...e){super(...e),this.numeric=`always`,this.formatStyle=`long`,this.unit=`auto`,this.sync=!1}static{this.styles=k([nw])}static{this.metadata={tag:`nve-format-relative-time`,version:`0.0.0`}}#e;get#t(){return this.date??this.textContent?.trim()??``}get#n(){return this.locale??(globalThis.document?.documentElement?.lang||void 0)}#r(e){let t=Math.abs(e),n=e<0?-1:1;for(let{unit:e,max:r}of iw){let i=Math.round(t/rw[e]);if(i<r)return{value:n*i,unit:e}}return{value:n*Math.round(t/rw.year),unit:`year`}}#i(e,t){return Math.round(e/rw[t])}#a(e){return this.unit===`auto`?this.#r(e):{unit:this.unit,value:this.#i(e,this.unit)}}get#o(){let e=this.#t;if(!e)return``;let t=new Date(e);if(isNaN(t.getTime()))return e;let{value:n,unit:r}=this.#a(t.getTime()-Date.now());try{return new Intl.RelativeTimeFormat(this.#n,{numeric:this.numeric,style:this.formatStyle}).format(n,r)}catch{return e}}#s(){let e=this.#t;if(!e)return 6e4;let t=Math.abs(new Date(e).getTime()-Date.now());return t<6e4?1e4:t<36e5?3e4:t<864e5?3e5:36e5}#c(){this.#l(),this.sync&&(this.#e=setTimeout(()=>{this.requestUpdate(),this.#c()},this.#s()))}#l(){this.#e!==void 0&&(clearTimeout(this.#e),this.#e=void 0)}connectedCallback(){super.connectedCallback(),this.sync&&this.#c()}disconnectedCallback(){this.#l(),super.disconnectedCallback()}updated(e){e.has(`sync`)&&(this.sync?this.#c():this.#l())}render(){return _`<time internal-host datetime="${this.#t}">${this.#o}<slot @slotchange="${this.#u}" hidden></slot></time>`}#u(){this.requestUpdate()}};M([b({type:String})],aw.prototype,`date`,void 0),M([b({type:String})],aw.prototype,`locale`,void 0),M([b({type:String})],aw.prototype,`numeric`,void 0),M([b({type:String,attribute:`format-style`})],aw.prototype,`formatStyle`,void 0),M([b({type:String})],aw.prototype,`unit`,void 0),M([b({type:Boolean})],aw.prototype,`sync`,void 0),aw=M([E()],aw),g(aw);var ow=`…`;function sw(e){return cw(Array.from(e,e=>e.textContent??``).join(` `))}function cw(e){return e.replace(/\s+/gu,` `).trim()}function lw(e,{position:t,strategy:n,bias:r,preserve:i,availableWidth:a,measureText:o}){if(!e||!Number.isFinite(a))return e;if(a<=0)return``;if(o(e)<=a)return e;if(o(ow)>a)return ow;switch(t){case`start`:return dw(gw(e,`grapheme`),a,o);case`center`:return uw(e,{strategy:n,bias:r,preserve:i,availableWidth:a,measureText:o});default:return fw(gw(e,`grapheme`),a,o)}}function uw(e,{strategy:t,bias:n,preserve:r,availableWidth:i,measureText:a}){let o=Sw(e,t,n),s=Math.min(o.length,hw(r));if(n===`start`){let e=o.slice(0,s),t=o.slice(s),n=n=>mw(e.join(``),t.slice(-n||t.length).join(``));return a(n(0))>i?fw(e,i,a):n(pw(t.length,n,{availableWidth:i,measureText:a}))}let c=o.slice(0,o.length-s),l=o.slice(o.length-s),u=e=>mw(c.slice(0,e).join(``),l.join(``));return a(u(0))>i?dw(l,i,a):u(pw(c.length,u,{availableWidth:i,measureText:a}))}function dw(e,t,n){let r=t=>`${ow}${e.slice(-t||e.length).join(``)}`;return r(pw(e.length-1,r,{availableWidth:t,measureText:n}))}function fw(e,t,n){let r=t=>`${e.slice(0,t).join(``)}${ow}`;return r(pw(e.length-1,r,{availableWidth:t,measureText:n}))}function pw(e,t,{availableWidth:n,measureText:r}){let i=0,a=e,o=0;for(;i<=a;){let e=Math.floor((i+a)/2);r(t(e))<=n?(o=e,i=e+1):a=e-1}return o}function mw(e,t){return`${e.trimEnd()}${ow}${t.trimStart()}`}function hw(e){return Number.isFinite(e)?Math.max(1,Math.floor(e)):1}function gw(e,t){let n=new Intl.Segmenter(void 0,{granularity:t}).segment(e);return Array.from(n,e=>e.segment)}function _w(e,t){return t===`start`?vw(e):yw(e)}function vw(e){let t=[];for(let n of e)n.trim()?t.push(n):bw(t,n);return t}function yw(e){let t=[],n=``;for(let r of e)r.trim()?(t.push(n+r),n=``):n+=r;return bw(t,n),t}function bw(e,t){let n=e.at(-1);n!==void 0&&(e[e.length-1]=n+t)}function xw(e,t){let n=Array.from(e.matchAll(/[^/\\]+/gu));return n.length===0?[e]:t===`start`?n.map((t,r)=>{let i=r===0?0:t.index,a=n[r+1]?.index??e.length;return e.slice(i,a)}):n.map((t,r)=>{let i=n[r-1],a=i?i.index+i[0].length:0,o=r===n.length-1?e.length:t.index+t[0].length;return e.slice(a,o)})}function Sw(e,t,n){switch(t){case`word`:{let t=_w(gw(e,`word`),n);return t.length?t:[e]}case`path`:{let t=xw(e,n);return t.length?t:[e]}default:return gw(e,`grapheme`)}}var Cw=`:host{position:relative;display:inline-block;max-inline-size:100%;min-inline-size:0}span{text-wrap:nowrap}[sizing-host]{display:block;opacity:0}[internal-host]{position:absolute;inset:0;overflow:hidden}slot{display:initial;position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}`,ww=class extends y{constructor(...e){super(...e),this.position=`start`,this.strategy=`character`,this.bias=`end`,this.preserve=6,this.#r=1/0,this.#u=()=>{this.requestUpdate()}}static{this.styles=k([Cw])}static{this.metadata={tag:`nve-format-truncate`,version:`0.0.0`}}#e;#t;#n;#r;connectedCallback(){super.connectedCallback(),T(this),this.#r=1/0,this.#l(),this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),this.#t?.disconnect(),this.#n!==void 0&&this.ownerDocument.defaultView?.cancelAnimationFrame(this.#n),this.#n=void 0}connectedMoveCallback(){this.#r=1/0,this.#l(),this.requestUpdate()}render(){let e=this.#i,t=this.#a(e);return t===e?this.removeAttribute(`title`):this.title!==e&&(this.title=e),_`<span internal-host aria-hidden="true">${t}</span><span sizing-host aria-hidden="true">${e}</span><slot @slotchange="${this.#u}"></slot>`}get#i(){let e=this.shadowRoot?.querySelector(`slot:not([name])`);if(e)return sw(e.assignedNodes({flatten:!0}));let t=Array.from(this.childNodes??[]).filter(Ew);return t.length?sw(t):cw(this.textContent??``)}#a(e){let t=this.#o();return lw(e,{position:this.position,strategy:this.strategy,bias:this.bias,preserve:this.preserve,availableWidth:this.#r,measureText:t})}#o(){let e=this.ownerDocument?.defaultView,t=this.#c;if(!e||!t)return()=>0;let n=e.getComputedStyle(this);t.font=n.font;let r=Tw(n.letterSpacing),i=Tw(n.wordSpacing),a=new Intl.Segmenter(void 0,{granularity:`grapheme`});return e=>this.#s(e,{context:t,letterSpacing:r,wordSpacing:i,graphemeSegmenter:a})}#s(e,{context:t,letterSpacing:n,wordSpacing:r,graphemeSegmenter:i}){let a=i.segment(e),o=Array.from(e.matchAll(/\s/gu)).length;return t.measureText(e).width+Math.max(0,Array.from(a).length-1)*n+o*r}get#c(){return this.#e===void 0&&(this.#e=this.ownerDocument?.createElement(`canvas`).getContext(`2d`)??null),this.#e}#l(){typeof ResizeObserver<`u`&&(this.#t??=new ResizeObserver(e=>{let t=e[0];if(this.isConnected&&t){this.#r=t.contentRect.width;let e=this.ownerDocument.defaultView;e&&this.#n===void 0&&(this.#n=e.requestAnimationFrame(()=>{this.#n=void 0,this.isConnected&&this.requestUpdate()}))}}),this.#t.disconnect(),this.#t.observe(this))}#u};M([b({type:String,reflect:!0})],ww.prototype,`position`,void 0),M([b({type:String,reflect:!0})],ww.prototype,`strategy`,void 0),M([b({type:String,reflect:!0})],ww.prototype,`bias`,void 0),M([b({type:Number,reflect:!0})],ww.prototype,`preserve`,void 0),ww=M([E()],ww);function Tw(e){let t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function Ew(e){return!Dw(e)||!e.getAttribute(`slot`)}function Dw(e){return e.nodeType===1}g(ww),g(R),g(z),g(L);var Ow=`important`,kw=` !`+Ow,Aw=Ci(class extends wi{constructor(e){if(super(e),e.type!==Si.ATTRIBUTE||e.name!==`style`||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{let r=e[n];return r==null?t:t+`${n=n.includes(`-`)?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,`-$&`).toLowerCase()}:${r};`},``)}update(e,[t]){let{style:n}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let e of this.ft)t[e]??(this.ft.delete(e),e.includes(`-`)?n.removeProperty(e):n[e]=null);for(let e in t){let r=t[e];if(r!=null){this.ft.add(e);let t=typeof r==`string`&&r.endsWith(kw);e.includes(`-`)||t?n.setProperty(e,t?r.slice(0,-11):r,t?Ow:``):n[e]=r}}return Ye}}),jw=`:host{--color: var(--nve-sys-text-emphasis-color);--background: var(--nve-sys-interaction-background);--needle-background: var(--nve-sys-interaction-color);--accent-color: var(--nve-sys-interaction-color);--thumb-background: var(--accent-color);--track-background: var(--accent-color);--track-width: 8px;--font-size: var(--nve-ref-font-size-400);--font-weight: var(--nve-ref-font-weight-regular);--gap: var(--nve-ref-space-xs);--width: 128px;--height: calc(var(--width) * .8627);--_animation-duration: var(--nve-ref-animation-duration-250);--_needle-size: calc(var(--track-width) / 3);display:inline-block;position:relative;width:var(--width);height:var(--height);font-weight:var(--font-weight);container-type:inline-size;contain:layout;text-box:trim-both cap alphabetic}.fill-dot-end{r:calc(var(--track-width) / 3.2)}:host([size="sm"]){--font-size: var(--nve-ref-font-size-300);--width: 96px;--_needle-size: calc(var(--track-width) / 2.25);.fill-dot-end{r:calc(var(--track-width) / 2.4)}}:host([size="lg"]){--font-size: var(--nve-ref-font-size-500);--width: 160px;--_needle-size: calc(var(--track-width) / 3.75);.fill-dot-end{r:calc(var(--track-width) / 4)}}[internal-host]{display:grid;place-items:center;position:relative;height:100%}:host([shape="half"]){--height: calc(var(--width) * .5313)}:host([shape="half"]) [internal-host]{place-items:end center}svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}path{fill:none;stroke:#fff;stroke-width:var(--track-width);vector-effect:non-scaling-stroke}path.background{stroke-linecap:round}path.gauge{stroke-linecap:round}.background-surface,.fill-surface{inline-size:100%;block-size:100%}.background-surface{background:var(--background)}.fill-surface{background:var(--track-background)}.fill-dot-end{fill:var(--thumb-background);transform:rotate(var(--_dot-angle));transform-box:view-box;transform-origin:var(--_dot-origin)}:host([thumb="dot"]) .fill-dot-end{animation:gauge-dot-in var(--_animation-duration) var(--nve-ref-animation-easing-100);will-change:transform}.fill-layer[hidden],.fill-dot-end[hidden],.needle[hidden]{display:none}.needle{animation:gauge-needle-in var(--_animation-duration) var(--nve-ref-animation-easing-100);transform:rotate(var(--_needle-angle));transform-box:view-box;transform-origin:var(--_needle-origin);will-change:transform}.needle-line{stroke:var(--needle-background);stroke-linecap:round;stroke-width:var(--_needle-size)}.needle-hub{fill:var(--needle-background);r:var(--_needle-size)}slot{display:flex;flex-direction:column;place-items:center;justify-content:center;height:100%;gap:var(--gap);color:var(--color);font-size:var(--font-size);font-weight:var(--nve-ref-font-weight-medium);padding-block-start:calc(var(--track-width) * 2);text-box:trim-both cap alphabetic;line-height:1;width:50%;font-variant-numeric:tabular-nums}:host([shape="half"]) slot{transform:translateY(1cqh)}:host([thumb="needle"]) slot{transform:translateY(1cqh);justify-content:end}:host([shape="half"][thumb="needle"]) slot{transform:translateY(2cqh)}::slotted(*){color:var(--color);font-size:var(--font-size)}:host([status="success"]){--accent-color: var(--nve-sys-support-success-emphasis-color);--background: var(--nve-sys-support-success-muted-color)}:host([status="warning"]){--accent-color: var(--nve-sys-support-warning-emphasis-color);--background: var(--nve-sys-support-warning-muted-color)}:host([status="danger"]){--accent-color: var(--nve-sys-support-danger-emphasis-color);--background: var(--nve-sys-support-danger-muted-color)}:host([status="accent"]){--accent-color: var(--nve-sys-accent-secondary-background)}@media(prefers-reduced-motion:reduce){:host{--_animation-duration: 0s}}@keyframes gauge-dot-in{0%{transform:rotate(var(--_dot-start-angle))}to{transform:rotate(var(--_dot-angle))}}@keyframes gauge-needle-in{0%{transform:rotate(var(--_needle-start-angle))}to{transform:rotate(var(--_needle-angle))}}`,Mw={default:{center:64,path:`M 27.23 100.77 A 52 52 0 1 1 100.77 100.77`,radius:52,startAngle:135,sweepAngle:270,surfaceHeight:128,viewBox:`8.53 8.53 110.93 95.7`},half:{center:64,path:`M 12 64 A 52 52 0 0 1 116 64`,radius:52,startAngle:180,sweepAngle:180,surfaceHeight:64,viewBox:`8.53 8.53 110.93 58.93`}},Nw=(e,t,n)=>({[`--_${e}-angle`]:`${t}deg`,[`--_${e}-origin`]:`${n.center}px ${n.center}px`,[`--_${e}-start-angle`]:`${n.startAngle}deg`}),Pw={danger:`danger`,information:`information`,success:`success`,warning:`warning`},Fw=class extends y{constructor(...e){super(...e),this.value=0,this.max=100,this.status=`neutral`,this.thumb=`fill`,this.#e=new A(this,Pw),this.i18n=this.#e.i18n,this.#t=0,this.#r=0}static{this.styles=k([jw])}static{this.metadata={tag:`nve-gauge`,version:`0.0.0`}}#e;#t;#n;#r;#i(){let e=this.max,t=e!==void 0&&Number.isFinite(e)&&e>0?e:100;return{value:Number.isFinite(this.value)?Math.min(Math.max(this.value,0),t):0,max:t}}render(){let e=this.#f(),t=this.#t,n=this.#p(),r=this.#l(e,t),i=this.#u(e,t),a=n===`fill`,o=t>0&&(n===`fill`||n===`dot`);return _`<div internal-host><svg viewBox="${e.viewBox}" role="presentation" aria-hidden="true"><defs><mask id="background-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="128" height="${e.surfaceHeight}"><path d="${e.path}" class="background"></path></mask><mask id="fill-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="128" height="${e.surfaceHeight}"><path d="${i}" class="gauge" ?empty="${t<=0}"></path></mask></defs><foreignObject width="128" height="${e.surfaceHeight}" mask="url(#background-mask)"><div xmlns="http://www.w3.org/1999/xhtml" class="background-surface"></div></foreignObject><foreignObject class="fill-layer" width="128" height="${e.surfaceHeight}" mask="url(#fill-mask)" ?hidden="${!a||t<=0}"><div xmlns="http://www.w3.org/1999/xhtml" class="fill-surface"></div></foreignObject><circle class="fill-dot-end" cx="${e.center+e.radius}" cy="${e.center}" ?hidden="${!o}" style="${Aw(Nw(`dot`,r,e))}"></circle><g class="needle" ?hidden="${n!==`needle`}" style="${Aw(Nw(`needle`,r,e))}"><line class="needle-line" x1="${e.center}" y1="${e.center}" x2="${e.center+40}" y2="${e.center}"></line><circle class="needle-hub" cx="${e.center}" cy="${e.center}"></circle></g></svg><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`progressbar`}disconnectedCallback(){super.disconnectedCallback(),this.#n&&(this.#s(),this.#t=this.#a(),this.requestUpdate())}willUpdate(e){super.willUpdate(e),(e.has(`value`)||e.has(`max`))&&this.#o()}updated(e){super.updated(e);let{value:t,max:n}=this.#i();this._internals.ariaValueNow=`${t}`,this._internals.ariaValueMax=`${n}`;let{status:r}=this,i=r!==void 0&&r!==`neutral`&&r!==`accent`?this.i18n[r]:void 0;this._internals.ariaLabel=i??this.i18n.information??null}#a(){let{value:e,max:t}=this.#i();return e/t*100}#o(){let e=this.#a(),t=this.hasUpdated?this.#c():void 0;if(this.#s(),!t||e===this.#t){this.#t=e;return}let n=this.#t,r=this.animate(null,t),i=t=>{this.#t=n+(e-n)*t,this.requestUpdate()},a=()=>{i(r.effect?.getComputedTiming().progress??0),r.playState===`running`&&(this.#r=requestAnimationFrame(a))};r.finished.then(()=>{this.#n===r&&(this.#s(),i(1))},()=>void 0),this.#n=r,this.#r=requestAnimationFrame(a)}#s(){this.#n&&=(cancelAnimationFrame(this.#r),this.#n.cancel(),void 0)}#c(){let e=getComputedStyle(this),t=e.getPropertyValue(`--_animation-duration`).trim(),n=parseFloat(t)*(t.endsWith(`ms`)?1:1e3),r=e.getPropertyValue(`--nve-ref-animation-easing-100`).trim();return n>0?{duration:n,easing:r||`linear`}:void 0}#l(e,t){return e.startAngle+e.sweepAngle*(t/100)}#u(e,t){let n=this.#d(e,e.startAngle),r=e.sweepAngle*(t/100),i=this.#d(e,e.startAngle+r),a=+(r>180);return`M ${n.x} ${n.y} A ${e.radius} ${e.radius} 0 ${a} 1 ${i.x} ${i.y}`}#d(e,t){let n=t*Math.PI/180;return{x:e.center+e.radius*Math.cos(n),y:e.center+e.radius*Math.sin(n)}}#f(){return this.shape===`half`?Mw.half:Mw.default}#p(){return this.thumb===`dot`||this.thumb===`needle`?this.thumb:`fill`}};M([b({type:Number})],Fw.prototype,`value`,void 0),M([b({type:Number})],Fw.prototype,`max`,void 0),M([b({type:String,reflect:!0})],Fw.prototype,`status`,void 0),M([b({type:String,reflect:!0})],Fw.prototype,`shape`,void 0),M([b({type:String,reflect:!0})],Fw.prototype,`thumb`,void 0),M([b({type:String,reflect:!0})],Fw.prototype,`size`,void 0),M([b({type:Object})],Fw.prototype,`i18n`,void 0),g(Fw);var Iw=`:host{--background: color-mix(in oklab, var(--nve-sys-accent-secondary-background) 16%, transparent);--border: var(--nve-ref-border-width-md) dashed var(--nve-sys-accent-secondary-background);--border-radius: var(--nve-ref-border-radius-xs);--padding: var(--nve-ref-space-xs);--stack-offset-x: 4px;--stack-offset-y: 4px;--color: var(--nve-sys-text-emphasis-color);border-radius:var(--border-radius);display:block;pointer-events:none}[internal-host]{--_offset-x: max(0px, var(--stack-offset-x));--_offset-y: max(0px, var(--stack-offset-y));box-sizing:border-box;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);width:100%;height:100%;padding:0 calc(var(--_back-layers) * var(--_offset-x)) calc(var(--_back-layers) * var(--_offset-y)) 0;border-radius:inherit}.surface{grid-area:1 / 1;min-width:0;min-height:0;box-sizing:border-box;padding:var(--padding);overflow:hidden;text-overflow:ellipsis;background:var(--background);border:var(--border);border-radius:inherit;color:var(--color)}.front{z-index:1}.rear{transform:translate(calc(var(--_layer) * var(--_offset-x)),calc(var(--_layer) * var(--_offset-y)))}`,Lw=class extends y{constructor(...e){super(...e),this.layers=1}static{this.styles=k([Iw])}static{this.metadata={tag:`nve-ghost`,version:`0.0.0`}}render(){let e=Number.isFinite(this.layers)?Math.min(3,Math.max(1,Math.trunc(this.layers))):1;return _`<div internal-host inert aria-hidden="true" style="${`--_back-layers:${e-1}`}">${Array.from({length:e-1},(t,n)=>_`<div class="surface rear" style="${`--_layer:${e-n-1}`}"></div>`)}<div class="surface front"><slot></slot></div></div>`}};M([b({type:Number})],Lw.prototype,`layers`,void 0),g(Lw);var Rw=`:host{--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-300);position:absolute;inset:var(--nve-ref-size-700) 0 0}[internal-host]{background:color-mix(in oklab,var(--background, var(--nve-sys-layer-canvas-background)) 100%,var(--nve-sys-interaction-state-mix) var(--interaction-state-ratio, .01%));color:var(--color);padding:var(--padding);font-size:var(--font-size);display:flex;place-items:center;place-content:center;height:100%}`,zw=class extends y{static{this.styles=k([Rw])}static{this.metadata={tag:`nve-grid-placeholder`,version:`0.0.0`}}render(){return _`<div internal-host focusable="active" role="gridcell"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`row`}},Bw=`:host{--background: var(--nve-sys-layer-container-accent-background);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--padding: 0 1px 0 0;position:sticky;z-index:100;top:0;width:100%}[internal-host]{grid-auto-columns:var(--grid-auto-columns);grid-auto-flow:var(--grid-auto-flow);grid-template-columns:var(--grid-template-column);border-bottom:var(--border-bottom);background:var(--background);padding:var(--padding);display:grid;min-width:fit-content}:host([hidden]){display:block!important;opacity:0!important;height:0!important;z-index:0!important}`,Vw=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--color: var(--nve-sys-text-muted-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--font-weight: var(--nve-ref-font-weight-semibold);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-1000);--min-width: var(--nve-ref-size-1000);--justify-content: start;--border-left: 0;--border-right: 0;transition:box-shadow .3s ease-in-out}[internal-host]{background:var(--background);color:var(--color);padding:var(--padding);height:var(--height);font-size:var(--font-size);font-weight:var(--font-weight);min-width:var(--min-width);border-left:var(--border-left);border-right:var(--border-right);justify-content:var(--justify-content);display:flex;align-items:center;outline-offset:-5px;white-space:nowrap}:host([width="max-content"]){--padding: var(--nve-ref-size-300)}::slotted(nve-sort-button),::slotted(nve-icon-button){margin-inline-start:auto}@media(hover:hover){::slotted(nve-sort-button){opacity:0}::slotted(nve-sort-button[sort="ascending"]),::slotted(nve-sort-button[sort="descending"]),:host(:focus-within) ::slotted(nve-sort-button),:host(:hover) ::slotted(nve-sort-button){opacity:1}}`,Hw=class e extends y{static{this.styles=k([Vw])}static{this.metadata={tag:`nve-grid-column`,version:`0.0.0`}}get#e(){return this.parentElement.parentElement}render(){return _`<div internal-host focusable="active"><slot></slot><slot name="actions"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`columnheader`,this.addEventListener(`sort`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`sort`,this.#t)}#t=e=>{this.ariaSort=e.detail.next};willUpdate(e){e.has(`width`)&&this.width&&Number.isFinite(Number(this.width))&&(this.width=`${this.width}px`)}async updated(e){super.updated(e),e.get(`columnAlign`)!==this.columnAlign&&this.#o(),e.get(`position`)!==this.position&&this.#r(),e.get(`ariaColIndex`)!==this.ariaColIndex&&(this.#r(),this.#o()),e.get(`width`)!==this.width&&this.dispatchEvent(new CustomEvent(`nve-grid-column-resize`,{bubbles:!0,composed:!0}))}#n;#r(){if(this.position!==`fixed`){this.removeAttribute(`left`),this.removeAttribute(`right`),this.#n?.replaceSync(``);return}let{side:e,positionStyle:t,borderStyle:n}=this.#i(),r=`${t}\n${n}`;this.#n?this.#n.replaceSync(r):this.#n=C(this.#e,r),this.setAttribute(e,``)}#i(){let t=Array.from(this.parentElement.querySelectorAll(e.metadata.tag)),n=t.slice(t.indexOf(this)+1,t.length),r=this.getBoundingClientRect(),i=this.#e.getBoundingClientRect(),a=this.offsetLeft<i.width/2?`left`:`right`,o=r.left-i.left,s=n.reduce((e,t)=>e+t.getBoundingClientRect().width,0),c=`[id='${this.#e.id}'] nve-grid-column:nth-of-type(${this.ariaColIndex}),
|
|
13
13
|
[id='${this.#e.id}'] nve-grid-cell:nth-of-type(${this.ariaColIndex})`;return{side:a,positionStyle:`
|
|
14
14
|
${c} {
|
|
15
15
|
position: sticky;
|
|
@@ -22,10 +22,10 @@ var xr=`:host{--animation-duration: var(--nve-ref-animation-duration-200);margin
|
|
|
22
22
|
clip-path: inset(0px ${n?`-4px`:`0`} 0px ${r?`-4px`:`0`});
|
|
23
23
|
--border-${t===`right`?`left`:`right`}: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);
|
|
24
24
|
}
|
|
25
|
-
`}#o(){this.columnAlign!==void 0&&
|
|
25
|
+
`}#o(){this.columnAlign!==void 0&&C(this.#e,`[id='${this.#e.id}'] nve-grid-column:nth-of-type(${this.ariaColIndex}),
|
|
26
26
|
[id='${this.#e.id}'] nve-grid-cell:nth-of-type(${this.ariaColIndex}) {
|
|
27
27
|
--justify-content: ${this.columnAlign}
|
|
28
|
-
}`)}};k([g({type:String,reflect:!0})],Pw.prototype,`width`,void 0),k([g({type:String,reflect:!0})],Pw.prototype,`position`,void 0),k([g({type:String,reflect:!0,attribute:`column-align`})],Pw.prototype,`columnAlign`,void 0),k([g({type:String,reflect:!0,attribute:`aria-colindex`})],Pw.prototype,`ariaColIndex`,void 0);var Fw=`:host{--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--min-height: var(--row-height);--min-width: var(--nve-ref-size-1000);--font-weight: var(--nve-ref-font-weight-medium);--font-size: var(--nve-ref-font-size-100);--height: 100%;--border-left: 0;--border-right: 0;--justify-content: start;transition:box-shadow .3s ease-in-out}[internal-host]{background:color-mix(in oklab,var(--background, var(--nve-sys-layer-canvas-background)) 100%,var(--nve-sys-interaction-state-mix) var(--interaction-state-ratio, .01%));color:var(--color);padding:var(--padding);height:var(--height);min-height:var(--min-height);font-size:var(--font-size);min-width:var(--min-width);border-left:var(--border-left);border-right:var(--border-right);justify-content:var(--justify-content);font-weight:var(--font-weight);display:flex;align-items:center;outline-offset:-2px}`,Iw=class extends h{static{this.styles=T([Fw])}static{this.metadata={tag:`nve-grid-cell`,version:`0.0.0`}}render(){return p`<div internal-host focusable="active"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`gridcell`}},Lw=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);contain:layout;display:block;min-width:max-content;content-visibility:auto;contain-intrinsic-size:auto var(--row-height, var(--nve-ref-size-900))}[internal-host]{grid-auto-columns:var(--grid-auto-columns);border-bottom:var(--border-bottom);display:grid;grid-auto-flow:var(--grid-auto-flow);grid-template-columns:var(--grid-template-column)}:host(:hover) ::slotted(nve-grid-cell){--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(selected)) ::slotted(nve-grid-cell){--background: var(--nve-sys-interaction-highlighted-muted-background);--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}`,Rw=class extends h{static{this.styles=T([Lw])}static{this.metadata={tag:`nve-grid-row`,version:`0.0.0`,children:[Iw.metadata.tag]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`row`}};k([g({type:Boolean})],Rw.prototype,`selected`,void 0),Rw=k([Zn(),v()],Rw);var zw=class extends h{static{this.styles=T([Mw])}static{this.metadata={tag:`nve-grid-header`,version:`0.0.0`,children:[Pw.metadata.tag]}}get#e(){return this.parentElement}render(){return p`<div internal-host><slot @slotchange="${()=>this.#r()}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`row`,this.addEventListener(`nve-grid-column-resize`,this.#t),this.#n??=new ResizeObserver(Gt(()=>this.#r(),100)),this.#n.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`nve-grid-column-resize`,this.#t),this.#n?.disconnect()}#t=()=>{this.#r()};#n;async firstUpdated(e){super.firstUpdated(e),await this.updateComplete,this.#i()}async#r(){await this.updateComplete,this.columns.forEach((e,t)=>e.ariaColIndex=`${t+1}`),this.#e.style.setProperty(`--grid-auto-flow`,`initial`),this.#e.style.setProperty(`--grid-template-column`,this.columns.map((e,t)=>`var(--c${t})`).join(` `)),this.columns.forEach((e,t)=>this.#e.style.setProperty(`--c${t}`,e.width?e.width:`1fr`)),await this.updateComplete,this.columns.map(e=>e.width?e.width:`minmax(auto, ${e.getBoundingClientRect().width}px)`).forEach((e,t)=>this.#e.style.setProperty(`--c${t}`,e))}#i(){if(d.state.env!==`production`){let e=this.#e.querySelector(Rw.metadata.tag)?.querySelectorAll(Iw.metadata.tag);this.columns&&e&&this.columns.length!==e.length&&xt.error(`grid-column (${this.columns.length}) and grid-cell (${e.length}) count mismatch`)}}};k([_({selector:Pw.metadata.tag,flatten:!0})],zw.prototype,`columns`,void 0),zw=k([v()],zw);var Bw=`:host{--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--height: var(--nve-ref-size-1000);contain:initial}[internal-host]{border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);background:var(--background);color:var(--color);padding:var(--padding);height:var(--height);display:flex;align-items:center}::slotted(nve-pagination){margin-inline:auto calc(-1 * var(--nve-ref-size-300))}`,Vw=class extends h{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=T([Bw])}static{this.metadata={tag:`nve-grid-footer`,version:`0.0.0`}}static{this.elementDefinitions={}}render(){return p`<div internal-host role="gridcell"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`row`}};k([lr()],Vw.prototype,`slot`,void 0);var Hw=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: var(--nve-ref-border-radius-lg);--box-shadow: var(--nve-ref-shadow-100);--font-size: var(--nve-ref-font-size-100);--row-height: var(--nve-ref-size-900);--scroll-height: initial;--grid-auto-columns: minmax(0, 1fr);--scroll-width: 0;--grid-template-column: initial;--grid-auto-flow: column;display:grid;contain:none;width:100%;width:stretch}[internal-host]{border-radius:var(--border-radius);box-shadow:var(--box-shadow);background:var(--background);color:var(--color);font-size:var(--font-size);display:flex;flex-direction:column;align-items:stretch;justify-content:start;overflow:hidden;color-scheme:inherit;position:relative;height:100%;width:100%}:host(:state(scrolling)){--scroll-shadow: 0 0 4px hsl(0 0% 0% / .4)}[name=columns]{min-width:fit-content;display:grid;position:sticky;top:0;z-index:100}[part=_scrollbox]{height:100%;width:100%;max-height:var(--scroll-height);min-height:var(--scroll-height);contain:layout;overflow:auto;position:relative;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([container*="full"]){--border-radius: 0;--box-shadow: none}:host([container*="flat"]){--border-radius: 0;--box-shadow: none;--background: inherit}:host([container*="flat"]) ::slotted(nve-grid-header){--background: inherit}:host([stripe]) ::slotted(nve-grid-row:nth-child(odd)){--background: var(--nve-sys-layer-container-accent-background)}::slotted(nve-grid-row:last-child){--border-bottom: 0}::slotted(nve-toolbar){position:fixed;z-index:99;left:var(--nve-ref-size-300);bottom:var(--nve-ref-size-300);width:calc(100% - 24px)}`,Uw=`nve-grid-row:has(nve-grid-cell:first-child [nve-control]>input:checked) nve-grid-cell{--background: var(--nve-sys-interaction-highlighted-muted-background);--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}nve-grid:has(nve-grid-cell:first-child nve-radio),nve-grid:has(nve-grid-cell:first-child nve-checkbox){--grid-auto-columns: 36px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)}nve-grid[container=flat] nve-grid-header{--background: var(--nve-sys-layer-canvas-background)}nve-dialog,nve-drawer,nve-panel,nve-toggletip,nve-card:not([container=flat]),nve-page-panel:not([container=flat]),nve-accordion:not([container=flat]){nve-grid[container=flat]{nve-grid-header{--background: var(--nve-sys-layer-container-background)}}}nve-grid-cell:has(>nve-icon-button){--padding: 0 var(--nve-ref-size-100)}nve-grid-cell:has(>nve-checkbox),nve-grid-cell:has(>nve-radio){--padding: var(--nve-ref-size-200) var(--nve-ref-size-300)}nve-grid:has(nve-toolbar:not([hidden]))::part(_scrollbox){padding-block-end:var(--nve-ref-size-1000)}nve-grid:has(nve-toolbar:not([hidden])){contain:content}nve-grid-column>nve-sort-button+nve-icon-button{margin-inline-start:initial}nve-grid-cell:focus-within>a{box-shadow:0 0 0 2px Highlight}nve-grid{&:has([scroller]) nve-grid-header{--padding: 0 16px 0 0}[scroller]{scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}}`,Ww=class extends h{static{this.styles=T([Hw])}static{this.metadata={tag:`nve-grid`,version:`0.0.0`,children:[Rw.metadata.tag,zw.metadata.tag,Vw.metadata.tag,jw.metadata.tag]}}static{this.elementDefinitions={}}get keynavGridConfig(){return{columns:this.#n,rows:[this.#t,...this.#e],cells:[...this.#n,...this.#r]}}get stateScrollConfig(){return{target:this.shadowRoot?.querySelector(`[part="_scrollbox"]`)??void 0}}get#e(){return Array.from(this.querySelectorAll(Rw.metadata.tag))}get#t(){return this.querySelector(zw.metadata.tag)}get#n(){return Array.from(this.querySelectorAll(Pw.metadata.tag))}get#r(){return Array.from(this.querySelectorAll(Iw.metadata.tag))}render(){return p`<div internal-host><div part="_scrollbox"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`grid`,this.id||=y(),b(this,Uw)}async scrollTo(...e){await this.shadowRoot.querySelector(`[part="_scrollbox"]`)?.scrollTo(...e)}};if(k([g({type:String,reflect:!0})],Ww.prototype,`container`,void 0),k([g({type:Boolean,reflect:!0})],Ww.prototype,`stripe`,void 0),Ww=k([v(),Yn(),kn()],Ww),f(Ww),f(Pw),f(Rw),f(Iw),f(Vw),f(zw),f(jw),f(M),customElements.get(M.metadata.tag)){let e=customElements.get(M.metadata.tag);e.alias({"thumb-stroke":`thumb`,"bell-stroke":`bell`,"bookmark-stroke":`bookmark`,"dot-stroke":`dot`,"filter-stroke":`filter`,"flag-stroke":`flag`,"globe-alt-stroke":`globe-alt`,"information-circle-stroke":`information-circle`,"pointer-stroke":`pointer`,"question-mark-circle-stroke":`question-mark-circle`}),dx(e)}f(N);var Gw=`:host{--width: var(--_width, fit-content);--height: var(--_height, fit-content);--border: none;display:block;width:fit-content;height:fit-content;border:var(--border)}iframe{width:var(--width);height:var(--height);border:0}@supports (frame-sizing: content-height){:host{--height: var(--_height, 0px)}iframe{frame-sizing:content-height}}`;function Kw(e){return typeof e==`object`&&!!e&&`resize`in e&&e.resize===!0&&`documentId`in e&&typeof e.documentId==`number`&&`width`in e&&typeof e.width==`number`&&(!(`height`in e)||typeof e.height==`number`)}var qw=`
|
|
28
|
+
}`)}};M([b({type:String,reflect:!0})],Hw.prototype,`width`,void 0),M([b({type:String,reflect:!0})],Hw.prototype,`position`,void 0),M([b({type:String,reflect:!0,attribute:`column-align`})],Hw.prototype,`columnAlign`,void 0),M([b({type:String,reflect:!0,attribute:`aria-colindex`})],Hw.prototype,`ariaColIndex`,void 0);var Uw=`:host{--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--min-height: var(--row-height);--min-width: var(--nve-ref-size-1000);--font-weight: var(--nve-ref-font-weight-medium);--font-size: var(--nve-ref-font-size-100);--height: 100%;--border-left: 0;--border-right: 0;--justify-content: start;transition:box-shadow .3s ease-in-out}[internal-host]{background:color-mix(in oklab,var(--background, var(--nve-sys-layer-canvas-background)) 100%,var(--nve-sys-interaction-state-mix) var(--interaction-state-ratio, .01%));color:var(--color);padding:var(--padding);height:var(--height);min-height:var(--min-height);font-size:var(--font-size);min-width:var(--min-width);border-left:var(--border-left);border-right:var(--border-right);justify-content:var(--justify-content);font-weight:var(--font-weight);display:flex;align-items:center;outline-offset:-2px}`,Ww=class extends y{static{this.styles=k([Uw])}static{this.metadata={tag:`nve-grid-cell`,version:`0.0.0`}}render(){return _`<div internal-host focusable="active"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`gridcell`}},Gw=`:host{--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);contain:layout;display:block;min-width:max-content;content-visibility:auto;contain-intrinsic-size:auto var(--row-height, var(--nve-ref-size-900))}[internal-host]{grid-auto-columns:var(--grid-auto-columns);border-bottom:var(--border-bottom);display:grid;grid-auto-flow:var(--grid-auto-flow);grid-template-columns:var(--grid-template-column)}:host(:hover) ::slotted(nve-grid-cell){--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(selected)) ::slotted(nve-grid-cell){--background: var(--nve-sys-interaction-highlighted-muted-background);--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}`,Kw=class extends y{static{this.styles=k([Gw])}static{this.metadata={tag:`nve-grid-row`,version:`0.0.0`,children:[Ww.metadata.tag]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`row`}};M([b({type:Boolean})],Kw.prototype,`selected`,void 0),Kw=M([Yn(),S()],Kw);var qw=class extends y{static{this.styles=k([Bw])}static{this.metadata={tag:`nve-grid-header`,version:`0.0.0`,children:[Hw.metadata.tag]}}get#e(){return this.parentElement}render(){return _`<div internal-host><slot @slotchange="${()=>this.#r()}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`row`,this.addEventListener(`nve-grid-column-resize`,this.#t),this.#n??=new ResizeObserver(Ht(()=>this.#r(),100)),this.#n.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`nve-grid-column-resize`,this.#t),this.#n?.disconnect()}#t=()=>{this.#r()};#n;async firstUpdated(e){super.firstUpdated(e),await this.updateComplete,this.#i()}async#r(){await this.updateComplete,this.columns.forEach((e,t)=>e.ariaColIndex=`${t+1}`),this.#e.style.setProperty(`--grid-auto-flow`,`initial`),this.#e.style.setProperty(`--grid-template-column`,this.columns.map((e,t)=>`var(--c${t})`).join(` `)),this.columns.forEach((e,t)=>this.#e.style.setProperty(`--c${t}`,e.width?e.width:`1fr`)),await this.updateComplete,this.columns.map(e=>e.width?e.width:`minmax(auto, ${e.getBoundingClientRect().width}px)`).forEach((e,t)=>this.#e.style.setProperty(`--c${t}`,e))}#i(){if(h.state.env!==`production`){let e=this.#e.querySelector(Kw.metadata.tag)?.querySelectorAll(Ww.metadata.tag);this.columns&&e&&this.columns.length!==e.length&&vt.error(`grid-column (${this.columns.length}) and grid-cell (${e.length}) count mismatch`)}}};M([x({selector:Hw.metadata.tag,flatten:!0})],qw.prototype,`columns`,void 0),qw=M([S()],qw);var Jw=`:host{--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--padding: var(--nve-ref-size-200) var(--nve-ref-size-500);--height: var(--nve-ref-size-1000);contain:initial}[internal-host]{border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);background:var(--background);color:var(--color);padding:var(--padding);height:var(--height);display:flex;align-items:center}::slotted(nve-pagination){margin-inline:auto calc(-1 * var(--nve-ref-size-300))}`,Yw=class extends y{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=k([Jw])}static{this.metadata={tag:`nve-grid-footer`,version:`0.0.0`}}static{this.elementDefinitions={}}render(){return _`<div internal-host role="gridcell"><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`row`}};M([D()],Yw.prototype,`slot`,void 0);var Xw=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--border-radius: var(--nve-ref-border-radius-lg);--box-shadow: var(--nve-ref-shadow-100);--font-size: var(--nve-ref-font-size-100);--row-height: var(--nve-ref-size-900);--scroll-height: initial;--grid-auto-columns: minmax(0, 1fr);--scroll-width: 0;--grid-template-column: initial;--grid-auto-flow: column;display:grid;contain:none;width:100%;width:stretch}[internal-host]{border-radius:var(--border-radius);box-shadow:var(--box-shadow);background:var(--background);color:var(--color);font-size:var(--font-size);display:flex;flex-direction:column;align-items:stretch;justify-content:start;overflow:hidden;color-scheme:inherit;position:relative;height:100%;width:100%}:host(:state(scrolling)){--scroll-shadow: 0 0 4px hsl(0 0% 0% / .4)}[name=columns]{min-width:fit-content;display:grid;position:sticky;top:0;z-index:100}[part=_scrollbox]{height:100%;width:100%;max-height:var(--scroll-height);min-height:var(--scroll-height);contain:layout;overflow:auto;position:relative;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([container*="full"]){--border-radius: 0;--box-shadow: none}:host([container*="flat"]){--border-radius: 0;--box-shadow: none;--background: inherit}:host([container*="flat"]) ::slotted(nve-grid-header){--background: inherit}:host([stripe]) ::slotted(nve-grid-row:nth-child(odd)){--background: var(--nve-sys-layer-container-accent-background)}::slotted(nve-grid-row:last-child){--border-bottom: 0}::slotted(nve-toolbar){position:fixed;z-index:99;left:var(--nve-ref-size-300);bottom:var(--nve-ref-size-300);width:calc(100% - 24px)}`,Zw=`nve-grid-row:has(nve-grid-cell:first-child [nve-control]>input:checked) nve-grid-cell{--background: var(--nve-sys-interaction-highlighted-muted-background);--interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}nve-grid:has(nve-grid-cell:first-child nve-radio),nve-grid:has(nve-grid-cell:first-child nve-checkbox){--grid-auto-columns: 36px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr)}nve-grid[container=flat] nve-grid-header{--background: var(--nve-sys-layer-canvas-background)}nve-dialog,nve-drawer,nve-panel,nve-toggletip,nve-card:not([container=flat]),nve-page-panel:not([container=flat]),nve-accordion:not([container=flat]){nve-grid[container=flat]{nve-grid-header{--background: var(--nve-sys-layer-container-background)}}}nve-grid-cell:has(>nve-icon-button){--padding: 0 var(--nve-ref-size-100)}nve-grid-cell:has(>nve-checkbox),nve-grid-cell:has(>nve-radio){--padding: var(--nve-ref-size-200) var(--nve-ref-size-300)}nve-grid:has(nve-toolbar:not([hidden]))::part(_scrollbox){padding-block-end:var(--nve-ref-size-1000)}nve-grid:has(nve-toolbar:not([hidden])){contain:content}nve-grid-column>nve-sort-button+nve-icon-button{margin-inline-start:initial}nve-grid-cell:focus-within>a{box-shadow:0 0 0 2px Highlight}nve-grid{&:has([scroller]) nve-grid-header{--padding: 0 16px 0 0}[scroller]{scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}}`,Qw=class extends y{static{this.styles=k([Xw])}static{this.metadata={tag:`nve-grid`,version:`0.0.0`,children:[Kw.metadata.tag,qw.metadata.tag,Yw.metadata.tag,zw.metadata.tag]}}static{this.elementDefinitions={}}get keynavGridConfig(){return{columns:this.#n,rows:[this.#t,...this.#e],cells:[...this.#n,...this.#r]}}get stateScrollConfig(){return{target:this.shadowRoot?.querySelector(`[part="_scrollbox"]`)??void 0}}get#e(){return Array.from(this.querySelectorAll(Kw.metadata.tag))}get#t(){return this.querySelector(qw.metadata.tag)}get#n(){return Array.from(this.querySelectorAll(Hw.metadata.tag))}get#r(){return Array.from(this.querySelectorAll(Ww.metadata.tag))}render(){return _`<div internal-host><div part="_scrollbox"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`grid`,this.id||=Qt(),C(this,Zw)}async scrollTo(...e){await this.shadowRoot.querySelector(`[part="_scrollbox"]`)?.scrollTo(...e)}};if(M([b({type:String,reflect:!0})],Qw.prototype,`container`,void 0),M([b({type:Boolean,reflect:!0})],Qw.prototype,`stripe`,void 0),Qw=M([S(),qn(),Dn()],Qw),g(Qw),g(Hw),g(Kw),g(Ww),g(Yw),g(qw),g(zw),g(F),customElements.get(F.metadata.tag)){let e=customElements.get(F.metadata.tag);e.alias({"thumb-stroke":`thumb`,"bell-stroke":`bell`,"bookmark-stroke":`bookmark`,"dot-stroke":`dot`,"filter-stroke":`filter`,"flag-stroke":`flag`,"globe-alt-stroke":`globe-alt`,"information-circle-stroke":`information-circle`,"pointer-stroke":`pointer`,"question-mark-circle-stroke":`question-mark-circle`}),ux(e)}g(I);var $w=`:host{--width: var(--_width, fit-content);--height: var(--_height, fit-content);--border: none;display:block;width:fit-content;height:fit-content;border:var(--border)}iframe{width:var(--width);height:var(--height);border:0}@supports (frame-sizing: content-height){:host{--height: var(--_height, 0px)}iframe{frame-sizing:content-height}}`;function eT(e){return typeof e==`object`&&!!e&&`resize`in e&&e.resize===!0&&`documentId`in e&&typeof e.documentId==`number`&&`width`in e&&typeof e.width==`number`&&(!(`height`in e)||typeof e.height==`number`)}var tT=`
|
|
29
29
|
window.addEventListener('message', event => {
|
|
30
30
|
if (event.source !== window.parent || typeof event.data !== 'string') {
|
|
31
31
|
return;
|
|
@@ -45,9 +45,9 @@ var xr=`:host{--animation-duration: var(--nve-ref-animation-duration-200);margin
|
|
|
45
45
|
document.documentElement.setAttribute('nve-theme', message.theme);
|
|
46
46
|
document.documentElement.style.colorScheme = message.theme;
|
|
47
47
|
});
|
|
48
|
-
`,
|
|
48
|
+
`,nT=e=>`
|
|
49
49
|
<script type="module">
|
|
50
|
-
${
|
|
50
|
+
${tT}
|
|
51
51
|
|
|
52
52
|
let nativeHeight = CSS.supports('frame-sizing', 'content-height') && typeof window.requestResize === 'function';
|
|
53
53
|
let previousWidth;
|
|
@@ -80,7 +80,7 @@ var xr=`:host{--animation-duration: var(--nve-ref-animation-duration-200);margin
|
|
|
80
80
|
});
|
|
81
81
|
resizeObserver.observe(document.body);
|
|
82
82
|
<\/script>
|
|
83
|
-
`,
|
|
83
|
+
`,rT=class extends y{static{this.styles=k([$w])}static{this.metadata={tag:`nve-iframe`,version:`0.0.0`}}static get observedAttributes(){return[...super.observedAttributes,`aria-label`]}get#e(){return this.querySelector(`template:not([slot])`)}get#t(){return this.querySelector(`template[slot="head"]`)}get#n(){return this.shadowRoot?.querySelector(`iframe`)??null}get#r(){return this.closest(`[nve-theme]`)}#i=0;#a;#o;#s;#c;render(){return _`<iframe internal-host title="${this.ariaLabel??``}" sandbox="allow-scripts" @load="${this.#m}"></iframe>`}connectedCallback(){super.connectedCallback(),globalThis.window.addEventListener(`message`,this.#g),this.hasUpdated&&(this.#u(),this.#d(),this.#f(),this.#p(),this.#l())}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`aria-label`&&t!==n&&this.requestUpdate()}firstUpdated(e){super.firstUpdated(e),this.#u(),this.#d(),this.#f(),this.#p(),this.#l()}disconnectedCallback(){super.disconnectedCallback(),this.#a?.disconnect(),this.#o?.disconnect(),this.#s?.disconnect(),this.#c?.disconnect(),this.#a=void 0,this.#o=void 0,this.#s=void 0,this.#c=void 0,globalThis.window.removeEventListener(`message`,this.#g)}#l(){let e=this.#n;if(e===null)return;this.#i++,this.style.setProperty(`--_height`,`0px`),CSS.supports(`frame-sizing`,`content-height`)&&(e.style.height=getComputedStyle(e).height);let t=this.#r?.getAttribute(`nve-theme`)??``;e.srcdoc=`
|
|
84
84
|
<!DOCTYPE html>
|
|
85
85
|
<html nve-theme="${t}" style="color-scheme: ${t}">
|
|
86
86
|
<head>
|
|
@@ -95,7 +95,7 @@ var xr=`:host{--animation-duration: var(--nve-ref-animation-duration-200);margin
|
|
|
95
95
|
</head>
|
|
96
96
|
<body nve-text="body">
|
|
97
97
|
${this.#e?.innerHTML??``}
|
|
98
|
-
${
|
|
98
|
+
${nT(this.#i)}
|
|
99
99
|
</body>
|
|
100
100
|
</html>
|
|
101
|
-
`}#u(){this.#a?.disconnect();let e=this.#e;e?(this.#a=new MutationObserver(()=>this.#l()),this.#a.observe(e.content,{childList:!0,subtree:!0,characterData:!0,attributes:!0})):this.#a=void 0}#d(){this.#o?.disconnect();let e=this.#t;e?(this.#o=new MutationObserver(()=>this.#l()),this.#o.observe(e.content,{childList:!0,subtree:!0,characterData:!0,attributes:!0})):this.#o=void 0}#f(){this.#s||(this.#s=new MutationObserver(()=>{this.#u(),this.#d(),this.#l()}),this.#s.observe(this,{childList:!0}))}#p(){let e=this.#r;e&&!this.#c&&(this.#c=new MutationObserver(()=>this.#h()),this.#c.observe(e,{attributeFilter:[`nve-theme`]}))}#m=()=>{let e=this.#n,t=this.#i;requestAnimationFrame(()=>{this.isConnected&&t===this.#i&&e?.style.removeProperty(`height`)}),this.#h()};#h=()=>{let e=this.#r?.getAttribute(`nve-theme`),t=this.#n?.contentWindow;if(e==null||t==null)return;let n={theme:e};t.postMessage(JSON.stringify(n),`*`)};#g=e=>{let t=this.#n;if(t===null||e.source!==t.contentWindow||typeof e.data!=`string`)return;let n;try{n=JSON.parse(e.data)}catch{return}Kw(n)&&n.documentId===this.#i&&(this.style.setProperty(`--_width`,`${n.width}px`),this.style.setProperty(`--_height`,n.height===void 0?`auto`:`${n.height}px`))}};f(Yw),f(bS),f(CS),f(L),f(R),f(F);var Xw=`:host{--_size-scale: 1;--width: calc(8.125rem * var(--_size-scale));--height: calc(8.125rem * var(--_size-scale));--background: var(--nve-sys-interaction-background);--opacity: .6;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--thumb-width: calc(var(--nve-ref-size-600) * var(--_size-scale));--thumb-height: calc(var(--nve-ref-size-600) * var(--_size-scale));--thumb-background: var(--nve-sys-text-muted-color);--thumb-border: var(--nve-ref-border-width-sm) solid var(--nve-sys-layer-canvas-background);--_axis-size: calc(3rem * var(--_size-scale));display:inline-block;width:var(--width);height:var(--height);user-select:none}[internal-host]{position:relative;box-sizing:border-box;width:100%;height:100%;border:var(--border);border-radius:50%;cursor:grab}.background{position:absolute;inset:0;z-index:0;border-radius:inherit;background:var(--background);pointer-events:none}:host([opacity]) .background{opacity:var(--opacity)}[internal-host]:before,[internal-host]:after{content:"";position:absolute;z-index:1}[internal-host]:before{left:50%;top:0;bottom:0;border-left:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}[internal-host]:after{top:50%;left:0;right:0;border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}.travel{position:absolute;inset:calc(var(--thumb-height) / 2) calc(var(--thumb-width) / 2);z-index:2}.thumb{position:absolute;box-sizing:border-box;width:var(--thumb-width);height:var(--thumb-height);border:var(--thumb-border);border-radius:50%;background:var(--thumb-background);transform:translate(-50%,-50%)}:host([constraint="square"]) [internal-host]{border-radius:var(--nve-ref-border-radius-md)}:host([size="sm"]){--_size-scale: .8}:host([size="lg"]){--_size-scale: 1.2}:host([constraint="horizontal"]){--height: var(--_axis-size)}:host([constraint="vertical"]){--width: var(--_axis-size)}:host([constraint="horizontal"]) [internal-host],:host([constraint="vertical"]) [internal-host]{border-radius:var(--nve-ref-border-radius-md)}:host(:focus-visible){outline:none}:host(:focus-visible) [internal-host]{outline:var(--nve-ref-border-width-md) solid var(--nve-sys-accent-secondary-background);outline-offset:var(--nve-ref-space-xs)}:host(:state(active)){--thumb-background: var(--nve-sys-accent-secondary-background)}:host(:state(active)) [internal-host]{cursor:grabbing}:host([disabled]){--background: var(--nve-sys-interaction-disabled-background);--thumb-background: var(--nve-sys-interaction-disabled-color)}:host([disabled]) [internal-host],:host([readonly]) [internal-host]{cursor:default}.announcement{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}`,Zw={joystickPosition:`X {x}, Y {y}.`,joystickNoPosition:`No position.`,joystickInstructions:`Use arrow keys to adjust the enabled axes. Release to return to center. Press Escape to cancel.`,joystickHoldInstructions:`Use arrow keys to adjust the enabled axes. Release to keep the position. Escape and interruptions return to center.`,joystickReturnedToCenter:`{position} Returned to center.`},Qw={ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0},ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1}},$w=class extends Gr(h){static{this.styles=T([Xw])}static{this.metadata={tag:`nve-joystick`,version:`0.0.0`,valueSchema:{type:`object`,properties:{x:{type:`number`,minimum:-1,maximum:1},y:{type:`number`,minimum:-1,maximum:1}},required:[`x`,`y`],additionalProperties:!1}}}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;static get observedAttributes(){return[...super.observedAttributes,`tabindex`]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`tabindex`&&(this.#u=!1)}get disabled(){return super.disabled}set disabled(e){super.disabled=!!e,this.#S()}get readOnly(){return super.readOnly}set readOnly(e){super.readOnly=!!e,this.#S()}constructor(){super(),this.constraint=`circle`,this.size=`md`,this.opacity=!1,this.release=`center`,this.keyboardStep=.1,this.announce=`polite`,this.#e=new E(this,Zw),this.i18n=this.#e.i18n,this.#t=``,this.#a=!1,this.#o=new It(this,{touchAction:()=>this.disabled||this.readOnly?void 0:`none`,suppressNativeDrag:!0}),this.#s=/* @__PURE__ */ new Set,this.#l=!1,this.#u=!1,this.#w=e=>{if(!(e instanceof CustomEvent))return;let t=e.detail;this.#S(),t.kind===`pointerdown`?this.#T(t):t.kind===`pointerend`&&this.#c?.pointerId===t.event.pointerId&&(t.interrupted||this.#C(t.event),this.#h(t.interrupted?t.reason===`cancel`?`pointer-cancel`:`lost-capture`:`release`))},this.#E=e=>{if(!(e instanceof CustomEvent))return;let t=e.detail;this.#S(),t.kind===`drag`&&this.#c?.pointerId===t.event.pointerId&&this.#C(t.event)},this.#D=e=>{if(e.key===`Escape`&&this.#c){e.preventDefault(),this.#h(`escape`);return}let t=Qw[e.key];t&&this.#A(e,t)&&(e.preventDefault(),this.#s.add(e.key),this.#c||this.#p({source:`keyboard`,changed:!1}),this.#c&&this.#O(t))},this.#j=e=>{this.#c?.source===`keyboard`&&this.#s.delete(e.key)&&(e.preventDefault(),this.#s.size||this.#h(`release`))},this.#M=()=>{this.#S(),this.#h(`blur`),this.#b()},this.#N=()=>{globalThis.document.hidden&&(this.#h(`hidden`),this.#b())},this.value={x:0,y:0}}connectedCallback(){let e=this.getAttribute(`tabindex`),t=this.#u||e===null;super.connectedCallback(),e!==null&&this.setAttribute(`tabindex`,e),this.#u=t,this.hasUpdated&&(this.#o.target=this),this.addEventListener(`nve-gesture-input`,this.#w),this.addEventListener(`nve-gesture`,this.#E),this.addEventListener(`keydown`,this.#D),this.addEventListener(`keyup`,this.#j),this.addEventListener(`blur`,this.#M),globalThis.window?.addEventListener(`blur`,this.#M),globalThis.document?.addEventListener(`visibilitychange`,this.#N)}disconnectedCallback(){this.#h(`disconnect`),this.#b(),this.removeEventListener(`nve-gesture-input`,this.#w),this.removeEventListener(`nve-gesture`,this.#E),this.removeEventListener(`keydown`,this.#D),this.removeEventListener(`keyup`,this.#j),this.removeEventListener(`blur`,this.#M),globalThis.window?.removeEventListener(`blur`,this.#M),globalThis.document?.removeEventListener(`visibilitychange`,this.#N),super.disconnectedCallback()}firstUpdated(){this.#o.target=this}willUpdate(e){if(this.#S(),this.announce===`off`&&this.#b(),(e.has(`constraint`)||e.has(`release`)||e.has(`keyboardStep`))&&(this.#h(`configuration-change`),this.#b(),this.value)){let e=this.#f(this.value);tT(this.value,e)||(this.value=e)}}updated(){(this.#u||!this.hasAttribute(`tabindex`))&&(this.tabIndex=this.disabled?-1:0,this.#u=!0),this._internals.role=this.disabled||this.readOnly?`group`:`application`,this._internals.ariaLabel=this.ariaLabel||this.composedLabel||null,this._internals.ariaReadOnly=null,this._internals.ariaDescription=this.#d}get#d(){let e=this.#_(this.value);return this.disabled||this.readOnly?e:`${e} ${this.release===`hold`?this.i18n.joystickHoldInstructions:this.i18n.joystickInstructions}`}render(){let e=this.value??{x:0,y:0};return p`<div internal-host aria-hidden="true"><div class="background"></div><div class="travel"><div class="thumb" ?hidden="${!this.value}" style="${ww({left:`${(e.x+1)*50}%`,top:`${(e.y+1)*50}%`})}"></div></div></div><span class="announcement" role="status" aria-live="${this.announce===`off`?`off`:`polite`}" aria-atomic="true">${this.#t}</span>`}updateValue(e){let t=this.#l&&eT(e)?this.#f(e):e;if(this.#l=!1,t!==void 0&&(!eT(t)||!tT(t,this.#f(t))))throw TypeError(`Joystick value must contain finite x and y coordinates within its constraint.`);super.updateValue(t),this.#a||(this.#i=void 0,this.#b())}reset(){this.#h(`reset`),this.#b(),this.#l=!0;try{super.reset()}finally{this.#l=!1}}formStateRestoreCallback(e,t){if(typeof e!=`string`)return;let n;try{n=e===``?void 0:JSON.parse(e)}catch{return}(n===void 0||eT(n)&&tT(n,this.#f(n)))&&(this.#h(`reset`),this.value=n)}_updateFormState(){if(!this.name||!this.value){this._internals.setFormValue(null,this.valueAsString);return}let e=new FormData;e.set(`${this.name}-x`,`${this.value.x}`),e.set(`${this.name}-y`,`${this.value.y}`),this._internals.setFormValue(e,this.valueAsString)}#f({x:e,y:t}){let n=this.hasUpdated?this.constraint:this.getAttribute(`constraint`)??this.constraint;if(n===`circle`){let n=Math.max(1,Math.hypot(e,t));return{x:e/n,y:t/n}}return{x:n===`vertical`?0:Math.max(-1,Math.min(1,e)),y:n===`horizontal`?0:Math.max(-1,Math.min(1,t))}}#p(e){this.#c=e,this.#i=void 0,this.#t=``,this.requestUpdate(),this._internals.states.add(`active`),this.dispatchEvent(new CustomEvent(`interaction-start`,{bubbles:!0,composed:!0,detail:{source:e.source}})),this.#S()}#m(e){if(!tT(this.value,e)){this.#a=!0;try{this.value=e}finally{this.#a=!1}this.#c&&(this.#i=e),this.#c&&(this.#c.changed=!0),this.dispatchInputEvent(),this.#S(),this.#c&&this.#i===e&&this.#y(e,`position`)}}#h(e){let t=this.#c;if(!t)return;let n=this.#i;this.#c=void 0,this.#s.clear(),this._internals.states.delete(`active`),this.#x(t.pointerId),e!==`reset`&&(e!==`release`||this.release!==`hold`)&&this.#m({x:0,y:0}),this.#g(e,this.#i?n:void 0),e===`release`&&t.changed&&this.dispatchChangeEvent(),this.dispatchEvent(new CustomEvent(`interaction-end`,{bubbles:!0,composed:!0,detail:{source:t.source,reason:e}}))}#g(e,t){e===`escape`?tT(this.value,{x:0,y:0})&&this.#y({x:0,y:0},`position`):e===`release`&&t?this.release===`hold`&&tT(this.value,t)?this.#y(t,`position`):this.release!==`hold`&&tT(this.value,{x:0,y:0})&&this.#y(t,`return`):this.#b()}#_(e){if(!e)return this.i18n.joystickNoPosition??Zw.joystickNoPosition;let t,n={maximumFractionDigits:6,useGrouping:!1};try{t=new Intl.NumberFormat(globalThis.document?.documentElement.lang||void 0,n)}catch{t=new Intl.NumberFormat(void 0,n)}let r=e=>t.format(Number(e.toFixed(6))||0);return(this.i18n.joystickPosition??``).replaceAll(`{x}`,r(e.x)).replaceAll(`{y}`,r(e.y))}get#v(){return this.isConnected&&this.matches(`:focus`)&&!this.disabled&&!this.readOnly&&this.announce!==`off`&&!globalThis.document.hidden}#y(e,t){this.#v&&(this.#n={value:e,kind:t},this.#r===void 0&&(this.#r=setTimeout(()=>{this.#r=void 0;let e=this.#n;if(this.#n=void 0,!e||!this.#v)return;let t=this.#_(e.value),n=e.kind===`return`?this.i18n.joystickReturnedToCenter?.replaceAll(`{position}`,t):t;n&&n!==this.#t&&(this.#t=n,this.requestUpdate())},500)))}#b(){clearTimeout(this.#r),this.#r=void 0,this.#n=void 0,this.#t&&(this.#t=``,this.requestUpdate())}#x(e){e!==void 0&&(this.hasPointerCapture(e)&&this.releasePointerCapture(e),this.#o.target=void 0,this.isConnected&&this.hasUpdated&&(this.#o.target=this))}#S(){(this.disabled||this.readOnly)&&(this.#h(this.disabled?`disabled`:`readonly`),this.#b())}#C(e){let t=this.shadowRoot?.querySelector(`.travel`)?.getBoundingClientRect();!t||t.width<=0||t.height<=0||this.#m(this.#f({x:(e.clientX-t.left)/t.width*2-1,y:(e.clientY-t.top)/t.height*2-1}))}#w;#T(e){!this.hasUpdated||this.disabled||this.readOnly||this.#c||e.event.button!==0||e.claim({kind:`drag`})&&(e.event.preventDefault(),e.event.pointerType!==`touch`&&this.focus({preventScroll:!0}),this.#p({source:`pointer`,pointerId:e.event.pointerId,changed:!1}),this.#c&&this.#C(e.event))}#E;#D;#O(e){let t=this.#k,n=this.value??{x:0,y:0};this.#m(this.#f({x:Number((n.x+e.x*t).toFixed(6)),y:Number((n.y+e.y*t).toFixed(6))}))}get#k(){return Number.isFinite(this.keyboardStep)&&this.keyboardStep>0&&this.keyboardStep<=1?this.keyboardStep:.1}#A(e,t){return e.altKey||e.ctrlKey||e.metaKey||this.disabled||this.readOnly||this.#c?.source===`pointer`?!1:this.constraint===`horizontal`?t.y===0:this.constraint!==`vertical`||t.x===0}#j;#M;#N};k([g({type:String,reflect:!0})],$w.prototype,`constraint`,void 0),k([g({type:String,reflect:!0})],$w.prototype,`size`,void 0),k([g({type:Boolean,reflect:!0})],$w.prototype,`opacity`,void 0),k([g({type:String,reflect:!0})],$w.prototype,`release`,void 0),k([g({type:Number,attribute:`keyboard-step`})],$w.prototype,`keyboardStep`,void 0),k([g({type:String})],$w.prototype,`announce`,void 0),k([g({type:Object})],$w.prototype,`i18n`,void 0);function eT(e){return typeof e==`object`&&!!e&&`x`in e&&`y`in e&&typeof e.x==`number`&&typeof e.y==`number`&&Number.isFinite(e.x)&&Number.isFinite(e.y)&&Object.keys(e).length===2}function tT(e,t){return e!==void 0&&Math.abs(e.x-t.x)<1e-12&&Math.abs(e.y-t.y)<1e-12}f($w);var nT=`:host{--background: var(--state-color-background);--color: var(--state-color);--gap: var(--nve-ref-space-xs);--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2);--border-radius: calc(var(--height) * .2);--font-weight: var(--nve-ref-font-weight-bold);width:var(--width);height:var(--height);display:inline-block}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);color:var(--color);width:var(--width);height:var(--height);border-radius:var(--border-radius);display:inline-flex;place-items:center;place-content:center;line-height:0}::slotted([nve-text]){color:inherit!important}::slotted(nve-icon){--color: var(--state-color);--width: var(--font-size);--height: var(--font-size)}:host([size="sm"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="lg"]){--width: calc(var(--nve-ref-size-1000) * 1.55);--height: calc(var(--nve-ref-size-1000) * 1.55)}:host([color]) [internal-host]{background:var(--background)}`,rT=class extends h{static{this.styles=T([nT,vr])}static{this.metadata={tag:`nve-logo`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`img`}};k([g({type:String,reflect:!0})],rT.prototype,`color`,void 0),k([g({type:String,reflect:!0})],rT.prototype,`size`,void 0),f(rT),f(z),f(MS),f(B);var iT=`:host{width:100%}`,aT={expand:`expand`},oT=class extends L{get i18nDefaults(){return aT}static{this.styles=T([...L.styles,yS,iT])}static{this.metadata={tag:`nve-month`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};k([g({type:String,reflect:!0})],oT.prototype,`container`,void 0),oT=k([w()],oT),f(oT),f(L),f(R),f(F);var sT=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xl);--nve-sys-interaction-color: var(--color);--nve-sys-interaction-hover-color: var(--color);--border-radius: var(--nve-ref-border-radius-md);--status-color: var(--nve-sys-support-color);--background: var(--nve-sys-layer-popover-background);--color: var(--nve-sys-layer-popover-color);--padding: var(--nve-ref-size-500) var(--nve-ref-size-900);--box-shadow: var(--nve-ref-shadow-400);--gap: var(--nve-ref-space-md);--min-width: 320px;--width: fit-content;--max-width: fit-content;--border: 0;--status-border: 6px solid var(--status-color);width:var(--width)}[internal-host]{box-shadow:var(--box-shadow);padding:var(--padding);border-radius:var(--border-radius);background:var(--background);color:var(--color);gap:var(--gap);border:var(--border);border-inline-start:var(--status-border);min-width:var(--min-width);max-width:var(--max-width);display:flex;flex-direction:column;position:relative}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-1000)}nve-icon-button{position:absolute;inset-block-start:var(--nve-ref-size-150);inset-inline-end:var(--nve-ref-size-150)}nve-icon-button::part(icon){--color: var(--nve-sys-layer-popover-color) !important}[part=status-icon],::slotted([slot="icon"]){position:absolute;inset-block-start:var(--nve-ref-size-400);inset-inline-start:var(--nve-ref-size-300);--color: var(--status-color)}::slotted([nve-text]){color:inherit!important}:host([container="flat"]){--max-width: 100%;--width: 100%;--border-radius: 0;--box-shadow: none;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--background: var(--nve-sys-layer-overlay-accent-background);--color: var(--nve-sys-layer-overlay-color);position:relative;margin:0}:host([container="flat"]) nve-icon-button::part(icon){--color: var(--nve-sys-layer-overlay-color) !important}:host([container="flat"]) .popover{border-block-end:var(--border)}:host([status="accent"]){--status-color: var(--nve-sys-support-accent-color)}:host([status="success"]){--status-color: var(--nve-sys-support-success-color)}:host([status="warning"]){--status-color: color-mix(in oklab, var(--nve-sys-support-warning-color) 90%, var(--nve-sys-contrast-mute-color))}:host([status="danger"]){--status-color: var(--nve-sys-support-danger-color)}`,cT={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},Y=class extends h{constructor(...e){super(...e),this.anchor=globalThis.document?.body,this.closable=!1,this.closeTimeout=0,this.#e=new E(this,cT),this.i18n=this.#e.i18n,this.inline=!1}#e;get popoverType(){return`manual`}get popoverInline(){return this.parentElement?.localName===`nve-notification-group`||this.inline||this.container===`flat`}#t;#n;get#r(){return p`<slot name="icon"><nve-icon .name="${Tr[this.status]}" .ariaLabel="${(this.status?this.i18n[this.status]:void 0)??this.i18n.information}" part="status-icon"></nve-icon></slot>${this.closable?p`<nve-icon-button part="icon-button" @click="${this.hidePopover}" icon-name="cancel" size="sm" container="flat" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot></slot>`}static{this.styles=T([xr,sT])}static{this.metadata={tag:`nve-notification`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M,[N.metadata.tag]:N}}render(){return p`<div internal-host>${this.#r}</div>`}connectedCallback(){super.connectedCallback(),S(this),this.#n=new MutationObserver(()=>this.#i()),this.#n.observe(this,{attributeFilter:[`hidden`]}),this._internals.role=`alert`,this.#i()}disconnectedCallback(){this.#a(),this.#n?.disconnect(),this.#n=void 0,super.disconnectedCallback()}async firstUpdated(e){super.firstUpdated(e),this.popoverInline?this.setAttribute(`nve-popover`,``):this.typeNativePopoverController=new sr(this),this.#i()}updated(e){super.updated(e),(e.has(`closeTimeout`)||e.has(`container`)||e.has(`inline`))&&this.#i()}hidePopover(){this.#a(),this.popoverInline?this.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0})):super.hidePopover()}#i(){this.#a(),this.popoverInline&&this.closeTimeout&&!this.hidden&&(this.#t=setTimeout(()=>this.hidePopover(),this.closeTimeout))}#a(){this.#t!==void 0&&(clearTimeout(this.#t),this.#t=void 0)}};k([g({type:String})],Y.prototype,`anchor`,void 0),k([g({type:String})],Y.prototype,`trigger`,void 0),k([g({type:String,reflect:!0})],Y.prototype,`position`,void 0),k([g({type:String,reflect:!0})],Y.prototype,`alignment`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],Y.prototype,`behaviorTrigger`,void 0),k([g({type:Boolean})],Y.prototype,`closable`,void 0),k([g({type:Number,attribute:`close-timeout`})],Y.prototype,`closeTimeout`,void 0),k([g({type:String,reflect:!0})],Y.prototype,`status`,void 0),k([g({type:String,reflect:!0})],Y.prototype,`container`,void 0),k([g({type:Object})],Y.prototype,`i18n`,void 0),k([g({type:Boolean})],Y.prototype,`inline`,void 0),Y=k([w()],Y);var lT=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xl);--box-shadow: var(--nve-ref-shadow-200);position:fixed;top:0;left:0;z-index:99}[internal-host]{display:flex;flex-direction:column-reverse;gap:var(--nve-ref-space-sm)}::slotted(nve-notification){position:relative;translate:none;margin:0;position-anchor:initial!important}`,uT=class extends h{constructor(...e){super(...e),this.anchor=globalThis.document?.body,this.typeNativePopoverController=new sr(this)}static{this.styles=T([xr,lT])}get popoverType(){return`manual`}static{this.metadata={tag:`nve-notification-group`,version:`0.0.0`,children:[`nve-notification`]}}render(){return p`<div internal-host><slot @slotchange="${()=>this.showPopover()}"></slot></div>`}};k([g({type:String})],uT.prototype,`anchor`,void 0),k([g({type:String,reflect:!0})],uT.prototype,`position`,void 0),k([g({type:String,reflect:!0})],uT.prototype,`alignment`,void 0),uT=k([v()],uT),f(Y),f(uT);var dT=`:host{--background: var(--nve-sys-layer-canvas-background);--color: var(--nve-sys-layer-canvas-color);--gap: var(--nve-ref-space-md);--padding: 0;display:block;height:100dvh;width:stretch;overflow:hidden}:host([document-scroll]){height:auto!important}[internal-host]{background:var(--background);color:var(--color);height:100%;display:grid;grid-template-rows:auto auto 1fr auto auto;grid-template-columns:auto auto 1fr auto auto;grid-template-areas:"header header header header header" "left-aside subheader subheader subheader right-aside" "left-aside left main right right-aside" "left-aside left bottom right right-aside" "left-aside subfooter subfooter subfooter right-aside" "footer footer footer footer footer"}slot{display:flex;background:var(--background);scroll-behavior:smooth;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}[name=header]{grid-area:header;flex-direction:column}[name=subheader]{grid-area:subheader;flex-direction:column}[name=left],[name=right]{z-index:1}[name=left]{grid-area:left;height:100%}[name=right]{grid-area:right;height:100%}[name=bottom]{grid-area:bottom;height:fit-content;flex-direction:column}[name=left-aside],[name=right-aside]{position:relative;z-index:2}[name=left-aside]{grid-area:left-aside;height:100%}[name=right-aside]{grid-area:right-aside;height:100%}[name=subfooter]{grid-area:subfooter}[name=footer]{grid-area:footer}::slotted(nve-page-panel){--border: 0}::slotted(nve-toolbar[slot="footer"]),::slotted(nve-toolbar[slot="subfooter"]),::slotted(nve-page-panel[slot="footer"]),::slotted(nve-page-panel[slot="subfooter"]){border-block-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);width:100%}::slotted(nve-page-panel[slot="left"]),::slotted(nve-page-panel[slot="left-aside"]),::slotted(nve-toolbar[slot="left-aside"]){border-inline-end:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="right"]),::slotted(nve-page-panel[slot="right-aside"]),::slotted(nve-toolbar[slot="right-aside"]){border-inline-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="bottom"]){border-block-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="subheader"]),::slotted(nve-toolbar[slot="subheader"]){border-block-end:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-toolbar){--border-radius: 0;--box-shadow: none}::slotted(nve-toolbar[slot="subheader"]),::slotted(nve-toolbar[slot="subfooter"]),::slotted(nve-toolbar[slot="footer"]){height:fit-content}::slotted(nve-toolbar[slot="left-aside"]),::slotted(nve-toolbar[slot="right-aside"]){--min-height: 100%}::slotted(nve-resize-handle[slot]){--background: transparent}::slotted(nve-resize-handle[slot="left"]){margin-inline-start:calc(-1 * var(--nve-ref-border-width-md))}::slotted(nve-resize-handle[slot="right"]){margin-inline-end:calc(-1 * var(--nve-ref-border-width-md))}slot:not([name]){gap:var(--gap);padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;slot{display:contents}}::slotted(main){width:100%;height:100%}`,fT=class extends h{constructor(...e){super(...e),this.documentScroll=!1}static{this.styles=T([dT])}static{this.metadata={tag:`nve-page`,version:`0.0.0`}}static{this.elementDefinitions={}}render(){return p`<div internal-host><slot name="header"></slot><slot name="subheader"></slot><slot name="left-aside"></slot><slot name="left"></slot><slot></slot><slot name="bottom"></slot><slot name="right"></slot><slot name="right-aside"></slot><slot name="subfooter"></slot><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this)}};k([g({type:Boolean,reflect:!0,attribute:`document-scroll`})],fT.prototype,`documentScroll`,void 0),fT=k([v({excessiveInstanceLimit:1})],fT);var pT=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--animation-duration: var(--nve-ref-animation-duration-200);--background: var(--nve-sys-layer-container-background);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--color: var(--nve-sys-layer-overlay-color);--gap: var(--nve-ref-space-sm);--padding: 0;--height: 100%;--width: 100%;--max-width: 100%;--max-height: 100%;height:var(--height);width:var(--width);max-width:var(--max-width);max-height:var(--max-height);overflow:auto}[internal-host]{position:relative;border:var(--border);background:var(--background);color:var(--color);display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;width:100%}:host([slot="left-aside"]),:host([slot="right-aside"]){width:fit-content}:host([slot="left"]),:host([slot="right"]){--width: 100vw;--max-width: 340px}:host([slot="left"][size="sm"]),:host([slot="right"][size="sm"]){--max-width: 240px}:host([slot="left"][size="lg"]),:host([slot="right"][size="lg"]){--max-width: 400px}:host([slot="bottom"]){--height: 100vw;--max-height: 320px}:host([slot="bottom"][size="sm"]){--max-height: 220px}:host([slot="bottom"][size="lg"]){--max-height: 380px}:host([style*="width"]){--width: 100%;--max-width: 100%}[part=_header]{display:flex;align-items:center}slot[name=actions]{display:block;margin-inline-start:auto;position:absolute;inset-block-start:0;inset-inline-end:0;z-index:99}.content{padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;flex:1}:host([slot="left"][hidden]),:host([slot="right"][hidden]),:host([slot="bottom"][hidden]){pointer-events:none}:host([slot="left"]){transition:margin-inline-start var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-inline-start:0}:host([slot="left"][hidden]){margin-inline-start:calc(-1 * var(--max-width))}:host([slot="right"]){transition:margin-inline-end var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-inline-end:0}:host([slot="right"][hidden]){margin-inline-end:calc(-1 * var(--max-width))}:host([slot="bottom"]){transition:margin-block-end var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-block-end:0}:host([slot="bottom"][hidden]){margin-block-end:calc(-1 * var(--max-height))}@starting-style{:host([slot="left"]:not([hidden]):state(reopened)){margin-inline-start:calc(-1 * var(--max-width))}:host([slot="right"]:not([hidden]):state(reopened)){margin-inline-end:calc(-1 * var(--max-width))}:host([slot="bottom"]:not([hidden]):state(reopened)){margin-block-end:calc(-1 * var(--max-height))}}`,mT=`nve-page-panel:has(nve-page-panel-header){&::part(_header){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}}nve-page-panel-header:has(nve-tabs){--padding: var(--nve-ref-size-200) var(--nve-ref-size-300)}`,hT=class extends h{static{this.styles=T([pT])}static{this.metadata={tag:`nve-page-panel`,version:`0.0.0`,parents:[`nve-page`]}}static get observedAttributes(){return[...super.observedAttributes,`hidden`]}constructor(){super(),new nr(this,{useHidden:!0})}render(){return p`<div internal-host><div part="_header"><slot name="header"></slot><slot name="actions"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.states.delete(`reopened`),b(this,mT),this._internals.role=`region`}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`hidden`&&t!==null&&n===null&&this.isConnected&&this._internals.states.add(`reopened`)}};k([g({type:String,reflect:!0})],hT.prototype,`size`,void 0);var gT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);width:100%;height:100%;flex:1;justify-content:stretch;flex-direction:column;display:flex;overflow:auto;gap:var(--gap);contain:none;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}[internal-host]{background:var(--background);padding:var(--padding);height:100%;width:100%;flex:1}::slotted(nve-menu){--width: 100%}`,_T=class extends h{static{this.styles=T([gT])}static{this.metadata={tag:`nve-page-panel-content`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}},vT=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));display:block}[internal-host]{background:var(--background);border-top:var(--border-top);padding:var(--padding);gap:var(--gap);min-height:var(--min-height);display:flex;align-items:center}`,yT=class extends h{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=T([vT])}static{this.metadata={tag:`nve-page-panel-footer`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}};k([lr()],yT.prototype,`slot`,void 0);var bT=`:host{--padding: var(--nve-ref-size-300);display:block;width:100%}[internal-host]{background:var(--background);padding:var(--padding);color:var(--color);display:flex}`,xT=class extends h{constructor(...e){super(...e),this.slot=`header`}static{this.styles=T([bT])}static{this.metadata={tag:`nve-page-panel-header`,version:`0.0.0`}}render(){return p`<div internal-host><slot></slot></div>`}};k([lr()],xT.prototype,`slot`,void 0),f(fT),f(hT),f(yT),f(xT),f(_T),wr.enable();var ST=`:host{--background: var(--nve-sys-layer-shell-background);--padding: var(--nve-ref-space-xs) var(--nve-ref-space-lg);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--margin-inline: var(--nve-ref-space-lg);contain:initial;height:48px;width:100%}[internal-host]{background:var(--background);padding:var(--padding);border-bottom:var(--border-bottom);display:flex;flex-direction:row;place-items:center flex-start;justify-content:space-between;line-height:0;height:100%}slot{display:flex;flex-direction:row;place-items:center flex-start;margin:0;min-height:0}slot:not([name]){width:100%;margin-inline:var(--margin-inline)}::slotted(h1[slot="prefix"]),::slotted(h2[slot="prefix"]),::slotted(a[slot="prefix"]){font-size:var(--nve-ref-font-size-200)!important;font-weight:var(--nve-ref-font-weight-semibold)!important;color:var(--nve-sys-text-muted-color)!important;margin:0!important;text-wrap:nowrap!important;text-decoration:none!important}::slotted(h1[slot="prefix"]):before,::slotted(h2[slot="prefix"]):before,::slotted(a[slot="prefix"]):before,::slotted(h1[slot="prefix"]):after,::slotted(h2[slot="prefix"]):after,::slotted(a[slot="prefix"]):after{display:none!important}::slotted(a),::slotted(span){text-wrap:nowrap!important}[internal-host]{--gap: var(--nve-ref-space-xxs)}slot{gap:var(--gap)}::slotted([slot="prefix"]:not([container="flat"])){margin-inline-end:var(--gap)!important}::slotted([slot="suffix"]:not([container="flat"])){margin-inline-start:var(--gap)!important}::slotted(nve-icon-button[interaction][slot="suffix"]:last-child){margin-inline-start:var(--nve-ref-space-md)!important}`,CT=`nve-page-header [nve-text]{text-wrap-mode:nowrap}`,wT=class extends h{static{this.styles=T([ST])}static{this.metadata={tag:`nve-page-header`,version:`0.0.0`}}render(){return p`<div internal-host><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),b(this,CT),S(this),this._internals.role=`navigation`}};f(wT);var TT=`:host{--background-color: var(--nve-sys-interaction-background);--ring-color: var(--nve-sys-accent-secondary-background);--ring-background-opacity: 1;--ring-width: 2px;--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--animation-duration: calc(var(--nve-ref-animation-duration-400) * 2.5);width:var(--width);height:var(--height);container-type:size}:host([size="xxs"]){--ring-width: 3px;--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([size="xs"]){--ring-width: 3px;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400)}:host([size="sm"]){--ring-width: 2.5px;--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}:host([size="xl"]){--ring-width: 1px;--width: calc(2 * var(--nve-ref-space-xxxl));--height: calc(2 * var(--nve-ref-space-xxxl))}[internal-host]{display:flex;place-items:center;place-content:center;height:100%}svg{position:absolute;top:0;left:0;width:100%;height:100%}circle.background{fill:var(--background-color);opacity:var(--ring-background-opacity);stroke:none}circle.progress-ring-circle{fill:none;stroke:var(--ring-color);stroke-width:var(--ring-width);stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all .2s ease-in-out 0s}:host([status="success"]){--ring-color: var(--nve-sys-support-success-emphasis-color);--background-color: var(--nve-sys-support-success-muted-color)}:host([status="warning"]){--ring-color: var(--nve-sys-support-warning-emphasis-color);--background-color: var(--nve-sys-support-warning-muted-color)}:host([status="danger"]){--ring-color: var(--nve-sys-support-danger-emphasis-color);--background-color: var(--nve-sys-support-danger-muted-color)}:host([status="neutral"]){--ring-background-opacity: .5;--ring-color: var(--color, var(--nve-sys-interaction-color));--background-color: var(--color, var(--nve-sys-interaction-color))}:host([status="accent"]) [internal-host]:not([indeterminate]) circle.background{stroke:var(--background-color);fill:none;stroke-width:var(--ring-width)}:host([status="accent"]) [internal-host][indeterminate] circle.background{display:none}:host([status="neutral"]) [internal-host]:not([indeterminate]) circle.background{stroke:var(--background-color);fill:none;stroke-width:var(--ring-width)}:host([status="neutral"]) [internal-host][indeterminate] circle.background{display:none}[internal-host][indeterminate] circle.progress-ring-circle{animation:var(--animation-duration) linear 0s infinite normal none running spin-infinite}::slotted(nve-icon),nve-icon{--width: 50cqw;--height: 50cqh;--color: var(--ring-color)}@keyframes spin-infinite{0%{stroke-dasharray:.01px,43.97px;transform:rotate(0)}50%{stroke-dasharray:21.99px,21.99px;transform:rotate(450deg)}to{stroke-dasharray:.01px,43.97px;transform:rotate(1080deg)}}`,ET={danger:`danger`,information:`information`,success:`success`,warning:`warning`},X=class extends h{constructor(...e){super(...e),this.max=100,this.status=`neutral`,this.#e=new E(this,ET),this.i18n=this.#e.i18n}static{this.styles=T([TT])}static{this.metadata={tag:`nve-progress-ring`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}#e;render(){return p`<div internal-host ?indeterminate="${this.value===void 0}"><svg viewBox="0 0 16 16" role="presentation"><circle cx="8px" cy="8px" r="6.5px" class="background"></circle><circle cx="8px" cy="8px" r="6.5px" class="progress-ring-circle" stroke-dasharray="${`${(this.value??0)/(this.max??100)*44}px 44px`}"></circle></svg><slot>${this.status===`accent`?``:p`<nve-icon part="icon" .name="${this.status?Tr[this.status]:void 0}" .status="${this.status}" aria-hidden="true"></nve-icon>`}</slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`progressbar`}updated(e){super.updated(e),this._internals.ariaValueNow=`${this.value===void 0?``:this.value}`,this._internals.ariaValueMax=`${this.max}`;let{status:t}=this,n=t!==void 0&&t!==`neutral`&&t!==`accent`?this.i18n[t]:void 0;this._internals.ariaLabel=n??this.i18n.information??null}};k([g({type:Number})],X.prototype,`value`,void 0),k([g({type:Number})],X.prototype,`max`,void 0),k([g({type:String,reflect:!0})],X.prototype,`status`,void 0),k([g({type:String,reflect:!0})],X.prototype,`size`,void 0),k([g({type:Object})],X.prototype,`i18n`,void 0),X=k([w()],X);var DT=`:host{inset:0!important;margin:auto;height:fit-content;--gap: var(--nve-ref-space-sm)}[internal-host]{gap:var(--gap);display:flex;flex-direction:column;align-items:center}[internal-host]{outline:0}:host::backdrop{background:#00000080}`,OT=class extends h{constructor(...e){super(...e),this.position=`center`,this.popoverType=`manual`,this.typeNativePopoverController=new sr(this),this.anchor=globalThis.document?.body}static{this.styles=T([xr,DT])}static{this.metadata={tag:`nve-page-loader`,version:`0.0.0`}}static{this.elementDefinitions={[X.metadata.tag]:X}}render(){return p`<div internal-host><nve-progress-ring part="progress-ring" status="accent" size="xl"></nve-progress-ring><slot></slot></div>`}};k([A()],OT.prototype,`anchor`,void 0),OT=k([w()],OT),f(OT);var kT=`:host{--padding: 0 var(--nve-ref-size-800) 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-800);--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--border: var(--nve-ref-border-width-md) solid transparent;--border-bottom: var(--border);--gap: var(--nve-ref-space-xxs);--cursor: pointer;--font-weight: normal;--text-align: start;--scroll-height: 50vh;--width: 100%;--control-width: var(--width);--max-width: 100%;--min-width: fit-content;--_input-background: var(--background);--_icon-color: var(--color);--_gap: var(--gap);--size: 1;--_height: var(--height);contain:initial;width:var(--width);max-width:var(--max-width);min-width:var(--min-width)}:host([fit-text]){--min-width: initial}[internal-host]{position:relative}[input]{scroll-behavior:smooth;scrollbar-color:color-mix(in oklab,var(--nve-sys-scrollbar-thumb-color) 100%,currentColor 20%) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);height:var(--_height);background:var(--background);border:var(--border);border-bottom:var(--border-bottom);border-radius:var(--border-radius);width:var(--control-width);color:var(--color);align-items:center;display:flex;align-content:stretch;position:relative}[name=caret]{right:var(--nve-ref-size-300);align-self:center;pointer-events:none;position:absolute;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}::slotted(select){appearance:none!important;color:var(--color)!important;padding:var(--padding)!important;font-size:var(--font-size)!important;cursor:var(--cursor)!important;font-weight:var(--font-weight)!important;text-align:var(--text-align)!important;height:var(--_height)!important;width:100%!important;border:0!important;background:none!important;display:block!important}[internal-host]:has(nve-menu:focus-within) [input]{outline:0!important}:host(:state(selected)){--font-weight: var(--nve-ref-font-weight-semibold)}:host([fit-content]:state(multiple)) [internal-host]:has(nve-tag) ::slotted(select){width:var(--nve-ref-size-1000)!important}:host(:state(multiple)){--padding: 0 var(--nve-ref-size-300) 0 var(--nve-ref-size-100)}:host(:state(multiple)) [input]{padding:var(--padding)}:host(:state(multiple)) .tags{width:fit-content;display:flex;gap:var(--gap)}:host(:state(multiple)) .tags-label{padding:0 var(--nve-ref-size-200);font-size:var(--font-size);cursor:var(--cursor);font-weight:var(--font-weight);position:absolute;left:0;display:none;pointer-events:none}:host(:state(multiple-overflow)) .tags,:host([multiple-overflow]) .tags{opacity:0;pointer-events:none;position:absolute}:host(:state(multiple-overflow)) .tags-label,:host([multiple-overflow]) .tags-label,.placeholder.tags-label{display:block!important}:host([size]:state(multiple)) .tags,:host([size]:state(multiple)) .tags-label{display:none!important}:host(:state(multiple)) ::slotted(select[multiple]){opacity:0!important}:host(:state(size)){--_row-height: calc(var(--height) * var(--size) + var(--gap) * (var(--size) - 1));--_height: calc(var(--_row-height) + var(--nve-ref-border-width-md) * 2)}:host(:state(size)) [input]{overflow:auto;display:block}:host(:state(size)) [input] slot:not([name]){display:none}:host([layout*="horizontal"][size]) ::slotted(label){padding-block-start:var(--nve-ref-size-100)!important;align-self:start!important}:host([layout*="horizontal"][size]) slot[name=label]{align-self:start}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}nve-tag{--background: color-mix(in oklab, var(--color) 15%, var(--_input-background));--padding: var(--nve-ref-size-100) var(--nve-ref-size-200);--cursor: pointer !important}:host(:state(disabled)) nve-tag{pointer-events:none!important;--cursor: not-allowed !important}nve-dropdown{--padding: var(--nve-ref-size-200)}nve-menu{--max-height: var(--scroll-height);--gap: var(--_gap)}nve-menu-item{--text-transform: initial;contain:content;content-visibility:auto}nve-menu-item:not(:state(selected)) nve-icon[name=check]{opacity:0}nve-menu-item nve-icon{--color: inherit}slot:not([name]),slot[name*=option-]{display:contents}:host([container="flat"]){--background: unset;--border-radius: 0;--box-shadow: none;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}:host([container="flat"]) [input]{background:inherit}:host([container="flat"]) nve-tag{--background: var(--nve-sys-interaction-field-background)}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([container="flat"][size]){--border-bottom: 0 !important}:host([container="flat"]:focus-within) [input]{outline:0!important}:host([container="inline"]){--border-radius: 0;--box-shadow: none}:host([container="inline"]) [input]{background:inherit}`,AT=`nve-select select[multiple] option{pointer-events:none!important}`,jT={select:`select`,selected:`selected`},MT=class extends L{constructor(...e){super(...e),this.#e=new E(this,jT),this.i18n=this.#e.i18n,this.#l=[],this.#h=/* @__PURE__ */ new Map}static{this.styles=T([...L.styles,kT])}static{this.metadata={tag:`nve-select`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M,[V.metadata.tag]:V,[z.metadata.tag]:z,[B.metadata.tag]:B,[H.metadata.tag]:H}}#e;get#t(){return this.input}get#n(){return Array.from(this.#t?.options?this.#t.options:[])}get#r(){return this.shadowRoot.querySelector(V.metadata.tag)}get#i(){return this.shadowRoot.querySelectorAll(B.metadata.tag)}get#a(){return this.shadowRoot.querySelector(`[input]`)}get#o(){return this.shadowRoot.querySelector(`.tags`)}get#s(){return this.shadowRoot.querySelector(`[name="caret"]`)}get#c(){return this.#n.find(e=>e.selected&&e.hidden&&e.disabled)}#l;#u;#d;get#f(){let e=this.#c,t=e?e.innerText:`${this.#t.selectedOptions.length} ${this.i18n.selected}`;return p`<div class="tags-label ${e?`placeholder`:``}" aria-hidden="true">${t}</div>`}get prefixContent(){return this.#t?.multiple&&this.#t?.size===0?p`${this.#f}<div class="tags">${this.#n.filter(e=>e.selected&&e!==this.#c).map(e=>p`<nve-tag part="tag" readonly="readonly" color="gray-slate" closable .value="${e.value}" @click="${()=>this.#w(e,!1)}">${e.textContent}</nve-tag>`)}</div>`:m}get#p(){return p`<nve-menu part="menu" role="listbox" style="--width:100%;--min-width:fit-content" aria-label="${OS(this.i18n.select)}">${this.#n.filter(e=>e!==this.#c).map((e,t)=>p`<nve-menu-item part="menu-item" role="option" @click="${()=>this.#w(e,!e.selected)}" ?selected="${e.selected}" ?disabled="${e.disabled}" ?hidden="${!!e.hidden}" aria-selected="${e.selected}"><slot name="option-${t+1}"><nve-icon part="icon" name="check" size="sm" aria-hidden="true"></nve-icon>${e.innerText}</slot></nve-menu-item>`)}</nve-menu>`}get suffixContent(){return this.#t?.size===0?p`<nve-icon name="caret" part="caret" direction="down" size="sm" aria-hidden="true"></nve-icon><nve-dropdown part="dropdown" @close="${this.#x}" @open="${this.#b}" hidden .anchor="${this.#a}" position="bottom">${this.#p}</nve-dropdown>`:this.#p}async firstUpdated(e){super.firstUpdated(e),await this.updateComplete,this.#y()}#m(){this.#l.push(on(this.#t,`value`,()=>this.requestUpdate()),Ut(this.#t,()=>this.requestUpdate(),{attributes:!0,subtree:!0}),Ut(this.#t,()=>this.#v(),{subtree:!0}))}#h;#g(){this.#_(),this.#S(),this.#m(),this.#v()}#_(){this.#l.forEach(e=>e.disconnect()),this.#l=[],this.#h.clear(),this.#u=void 0,this.#d=void 0}#v(){let e=new Set(this.#n);this.#h.forEach((t,n)=>{e.has(n)||(t.disconnect(),this.#h.delete(n),this.#l=this.#l.filter(e=>e!==t))}),this.#n.forEach(e=>{if(!this.#h.has(e)){let t=on(e,`selected`,()=>this.requestUpdate());this.#h.set(e,t),this.#l.push(t)}})}connectedCallback(){super.connectedCallback(),b(this,AT),this.updateComplete.then(()=>{this.isConnected&&this.#g()})}disconnectedCallback(){super.disconnectedCallback(),this.#_()}async updated(e){super.updated(e),this.#t?.size&&this.#t?.size!==0?(this._internals.states.add(`size`),this.style.setProperty(`--size`,`${this.#t.size}`)):(this._internals.states.delete(`size`),this.style.removeProperty(`--size`)),this.#t?.multiple&&this.#t?.size===0?this._internals.states.add(`multiple`):this._internals.states.delete(`multiple`),this.#C()}#y(){this.#t?.size===0&&$t(this.#t,()=>{this.requestUpdate(),this.#r.style.setProperty(`--min-width`,`${this.#a.getBoundingClientRect().width}px`),this.#r.showPopover(),Xt(this.#i[0])})}#b(){this.#r.hidden=!1,this.#s.direction=`up`}#x(){this.#r.hidden=!0,this.#s.direction=`down`}#S(){let e=this.#a;if(!e)return;let t,n=new ResizeObserver(n=>{let r=n.find(t=>t.target===e);r&&(t=r.contentRect.width),this.isConnected&&t!==void 0&&this.#T(t)});this.#u=n,this.#l.push(n),n.observe(e),this.#C()}#C(){let e=this.#u;if(!e)return;let t=this.#o;t!==this.#d&&(this.#d&&e.unobserve(this.#d),this.#d=t,t?e.observe(t):this._internals.states.delete(`multiple-overflow`))}async#w(e,t){(this.#t.multiple||!this.#t.multiple&&e.value!==this.#t.value)&&(e.selected=t),this.#t.selectedOptions.length<1&&(this.#t.value=t?e.value:``),this.#t.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#t.dispatchEvent(new Event(`change`,{bubbles:!0})),this.requestUpdate(),!this.#t.multiple&&this.#r?this.#r.hidePopover():(await this.updateComplete,this.#T(this.#a.getBoundingClientRect().width))}#T(e){let t=this.#o;this.#t?.multiple&&t&&t.getBoundingClientRect().width>e-48?this._internals.states.add(`multiple-overflow`):this._internals.states.delete(`multiple-overflow`)}};k([g({type:String,reflect:!0})],MT.prototype,`container`,void 0),k([g({type:Object})],MT.prototype,`i18n`,void 0),MT=k([Cr(),w()],MT);var NT=`:host{--font-size: var(--nve-ref-font-size-100);width:fit-content;display:inline-flex;contain:initial}[internal-host]{display:flex;align-items:center}label{color:var(--nve-sys-text-muted-color);font-size:var(--nve-ref-font-size-100);margin-inline:var(--nve-ref-space-xxs);white-space:nowrap}.select-label{background:var(--nve-sys-interaction-field-background);color:var(--nve-sys-interaction-field-color);padding:0 var(--nve-ref-size-200);font-size:var(--font-size);position:absolute;inset:var(--nve-ref-size-50);display:flex;place-items:center;pointer-events:none;text-wrap:nowrap;width:fit-content}:host([container="flat"]) select,:host([container="inline"]) select{opacity:0}:host([container="flat"]) .select-label,:host([container="inline"]) .select-label{background:transparent}:host([container="inline"]) select{opacity:0}:host([container="inline"]) nve-select{--width: fit-content;margin-inline-end:0}:host([container="inline"]) label{margin-inline:0}nve-input{margin-inline-end:var(--nve-ref-space-xs);--width: fit-content}nve-select{margin-inline-end:var(--nve-ref-space-xs);--width: fit-content}nve-icon-button:state(disabled){--nve-sys-interaction-state-ratio-disabled: 0 !important}`,PT={of:`of`,previous:`previous`,next:`next`,start:`start`,end:`end`,currentPage:`current page`},FT=class extends Gr(h){#e;static{this.styles=T([NT])}static{this.metadata={tag:`nve-pagination`,version:`0.0.0`,valueSchema:{type:`number`}}}static{this.elementDefinitions={[N.metadata.tag]:N,[MT.metadata.tag]:MT}}get keynavListConfig(){return{items:this.shadowRoot.querySelectorAll(`${N.metadata.tag}, input, select`),layout:`horizontal`}}get#t(){return(this.value-1)*this.step+this.step}get#n(){return this.items/this.value===this.step}get#r(){return this.value===1}get#i(){let e=(this.value-1)*this.step+1,t=Math.min(this.value*this.step,this.items||1/0);return`${Dr(e)}-${Dr(t)}`}get#a(){return this.items?p`<label><slot name="suffix-label">${this.i18n.of} ${Dr(this.items)}</slot></label>`:m}get#o(){return p`<nve-icon-button part="icon-button previous-icon-button" @click="${()=>this.#m(this.value-1)}" .disabled="${this.disabled||this.#t<=this.step}" .ariaLabel="${this.i18n.previous}" container="inline" icon-name="chevron" direction="left"></nve-icon-button>`}get#s(){return p`<nve-icon-button part="icon-button next-icon-button" @click="${()=>this.#m(this.value+1)}" .disabled="${this.disabled||this.#t>=this.items}" .ariaLabel="${this.i18n.next}" container="inline" icon-name="chevron" direction="right"></nve-icon-button>`}get#c(){return p`<nve-icon-button part="icon-button start-icon-button" @click="${()=>this.#m(1)}" .disabled="${this.disabled||this.#t<=this.step}" .ariaLabel="${this.i18n.start}" container="inline" icon-name="arrow-stop" direction="left"></nve-icon-button>`}get#l(){return p`<nve-icon-button part="icon-button end-icon-button" @click="${()=>this.#m(this.items/this.step)}" .disabled="${this.disabled||(this.value-1)*this.step+this.step>=this.items}" .ariaLabel="${this.i18n.end}" container="inline" icon-name="arrow-stop" direction="right"></nve-icon-button>`}#u;get#d(){return this.disableStep?p`<label>${this.#i} </label>`:p`<nve-select part="select" .container="${this.container}"><select .ariaLabel="${this.i18n.currentPage}" @change="${e=>this.#p(parseInt(e.target.value,10))}" value="${this.step}" .disabled="${this.disabled||this.disableStep}">${this.stepSizes.map(e=>p`<option ?selected="${this.step===e}" value="${e}">${e}</option>`)}</select><div class="select-label">${this.#i}</div></nve-select>`}render(){return p`<div internal-host role="presentation">${this.skippable&&this.items?p`${this.#c} ${this.#o} ${this.#d} ${this.#a} ${this.#s} ${this.#l}`:p`${this.#d} ${this.#a} ${this.#o} ${this.#s}`}</div>`}constructor(){super(),this.step=10,this.stepSizes=[10,20,50,100],this.#e=new E(this,PT),this.i18n=this.#e.i18n,this.value=1}async connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`toolbar`,await this.updateComplete,this.#f()}disconnectedCallback(){super.disconnectedCallback(),this.#u?.unobserve(this)}#f(){let e=this.shadowRoot.querySelector(`.select-label`),t=this.shadowRoot.querySelector(`select`);e&&t&&(this.#u=new ResizeObserver(e=>t.style.minWidth=`${e[0].contentRect.width+36}px`),this.#u.observe(e))}#p(e){this.step=e,this.dispatchEvent(new CustomEvent(`step-change`,{detail:this.step,bubbles:!0,composed:!0})),this.#m(this.value)}#m(e){this.value!==e&&(this.value=e,this.dispatchInputEvent(),this.dispatchChangeEvent()),this.#n&&this.dispatchEvent(new CustomEvent(`last-page`,{bubbles:!0,composed:!0})),this.#r&&this.dispatchEvent(new CustomEvent(`first-page`,{bubbles:!0,composed:!0}))}};k([g({type:Number})],FT.prototype,`step`,void 0),k([g({type:Array,attribute:`step-sizes`})],FT.prototype,`stepSizes`,void 0),k([g({type:Number})],FT.prototype,`items`,void 0),k([g({type:Boolean})],FT.prototype,`skippable`,void 0),k([g({type:Boolean,attribute:`disable-step`})],FT.prototype,`disableStep`,void 0),k([g({type:String,reflect:!0})],FT.prototype,`container`,void 0),k([g({type:Object})],FT.prototype,`i18n`,void 0),FT=k([C(),Pn(),w()],FT),f(FT);function IT(e,t,n){return e?t(e):n?.(e)}var LT=`:host{--background: var(--nve-sys-layer-container-background);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--color: var(--nve-sys-layer-canvas-color);--box-shadow: var(--nve-ref-shadow-300);--panel-button-border-radius: 0 var(--nve-ref-border-radius-full) var(--nve-ref-border-radius-full) 0;overflow:hidden;-webkit-transition:width .24s ease;-webkit-transition:height .24s ease;contain:none;position:relative}[internal-host]{display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%;color:var(--color);box-shadow:var(--box-shadow);background:var(--background)}:host(:not(:state(expanded))){--box-shadow: none}:host(:not([closable],:state(expanded))) [internal-host]{width:var(--nve-ref-size-800)!important;height:var(--nve-ref-size-800)!important;background:none}:host(:not([closable],:state(expanded))){pointer-events:none}:host(:not([closable],:state(expanded))) slot{display:none}:host(:not([closable],:state(expanded))) nve-icon-button{position:initial;pointer-events:auto;border-radius:var(--panel-button-border-radius);background:var(--background);align-items:center;justify-content:center}:host([closable]:not(:state(expanded))){display:none}:host([side="right"]){float:right}:host(:not([closable],:state(expanded))[side="right"]) nve-icon-button{--panel-button-border-radius: var(--nve-ref-border-radius-full) 0 0 var(--nve-ref-border-radius-full)}.header{min-height:var(--nve-ref-size-900);display:flex;align-items:start}:host(:state(expanded)) .header{border-block-end:var(--border-bottom)}.content{display:flex;flex-direction:column;align-items:start;flex-grow:1}nve-icon-button{margin-block-start:var(--nve-ref-space-xxs);margin-inline:auto var(--nve-ref-space-xxs);z-index:99}`,RT=`:host{--padding: var(--nve-ref-size-300) 0 var(--nve-ref-size-300) var(--nve-ref-size-400);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);flex-grow:1}[internal-host]{padding:var(--padding);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-grow:1}::slotted([slot="title"]){margin:0;font-size:var(--nve-ref-font-size-200);font-weight:var(--nve-ref-font-weight-semibold)}::slotted([slot="subtitle"]){margin:0;font-size:var(--nve-ref-font-size-100);font-weight:var(--nve-ref-font-weight-regular);color:var(--nve-sys-text-muted-color)}::slotted([slot="action-icon"]){margin-block-start:calc((var(--nve-ref-size-300) * -1) + var(--nve-ref-size-100));align-self:self-start;z-index:99}`,zT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);padding:var(--padding);color:var(--color);flex-grow:1;width:100%;contain:none}::slotted(nve-menu){--width: 100%}`,BT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--gap: var(--nve-ref-space-sm)}footer[internal-host]{padding:var(--padding);border-top:var(--border-top);color:var(--color);display:flex;place-items:flex-start;gap:var(--gap);::slotted(nve-button){flex-grow:1}}`,VT={close:`close`,expand:`expand`,hide:`hide`,show:`show`},HT=class extends h{static{this.styles=T([RT])}static{this.metadata={tag:`nve-panel-header`,version:`0.0.0`}}render(){return p`<div internal-host><div id="titles"><slot name="title"></slot><slot name="subtitle"></slot><slot></slot></div><slot name="action-icon"></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},UT=class extends h{static{this.styles=T([zT])}static{this.metadata={tag:`nve-panel-content`,version:`0.0.0`}}render(){return p`<slot></slot>`}},WT=class extends h{static{this.styles=T([BT])}static{this.metadata={tag:`nve-panel-footer`,version:`0.0.0`}}render(){return p`<footer internal-host><slot></slot></footer>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},GT=class extends h{constructor(...e){super(...e),this.expanded=!1,this.closable=!1,this.behaviorExpand=!1,this.side=`left`,this.#e=new E(this,VT),this.#t=new nr(this),this.i18n=this.#e.i18n}static{this.styles=T([LT])}static{this.metadata={tag:`nve-panel`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}#e;#t;get#n(){return this.side===`left`?this.expanded?`left`:`right`:this.expanded?`right`:`left`}render(){return p`<div internal-host><div class="header"><slot name="header"></slot>${IT(!this.closable,()=>p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .container="${this.expanded?`flat`:void 0}" icon-name="double-chevron" @click="${()=>this.#t.toggle()}" .direction="${this.#n}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}"></nve-icon-button>`,()=>p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" container="flat" icon-name="cancel" @click="${()=>this.#t.close()}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.hide:this.i18n.show}"></nve-icon-button>`)}</div><div class="content"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`region`}};k([g({type:Boolean,reflect:!0})],GT.prototype,`expanded`,void 0),k([g({type:Boolean})],GT.prototype,`closable`,void 0),k([g({type:Boolean,attribute:`behavior-expand`})],GT.prototype,`behaviorExpand`,void 0),k([g({type:String})],GT.prototype,`side`,void 0),k([g({type:Object})],GT.prototype,`i18n`,void 0),GT=k([w(),Gn()],GT),f(GT),f(HT),f(UT),f(WT);var KT=`:host{width:100%}`,qT={hide:`hide`,show:`show`},JT=class extends L{constructor(...e){super(...e),this.pressed=!1}get i18nDefaults(){return qT}static{this.styles=T([...L.styles,yS,KT])}static{this.metadata={tag:`nve-password`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" @click="${()=>this.#e()}" .pressed="${this.pressed}" .iconName="${this.pressed?`eye-hidden`:`eye`}" container="inline" .ariaLabel="${this.pressed?this.i18n.hide:this.i18n.show}"></nve-icon-button>`}#e(){this.pressed=!this.pressed,this.input.type=this.pressed?`text`:`password`}};k([g({type:String,reflect:!0})],JT.prototype,`container`,void 0),k([A()],JT.prototype,`pressed`,void 0),JT=k([w()],JT),f(JT),f(L),f(R),f(F);var YT=`:host{--cursor: pointer;--border-radius: var(--nve-ref-border-radius-xxl);--border-width: var(--nve-ref-border-width-sm);--border: var(--border-width) solid transparent;--background: var(--nve-sys-interaction-field-background);--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-500);--padding: 0 var(--nve-ref-size-50);--anchor-width: calc(var(--nve-ref-size-300) + var(--nve-ref-size-50));--anchor-height: calc(var(--nve-ref-size-300) + var(--nve-ref-size-50));--anchor-border-radius: var(--nve-ref-border-radius-xxl);--anchor-background: var(--nve-sys-interaction-disabled-color);display:inline-block;contain:layout}::slotted(input){cursor:var(--cursor)!important;appearance:none!important;position:absolute!important;inset:0!important;width:var(--width)!important;height:var(--height)!important;border-radius:var(--border-radius)!important;margin:0!important;padding:0!important}[input]{align-items:center;outline-offset:2px}[input] slot{cursor:var(--cursor);border-radius:var(--border-radius);border:var(--border);background:var(--background);height:var(--height);width:var(--width);padding:var(--padding);min-height:auto;display:flex!important;align-items:center;transition:background-color var(--nve-ref-animation-duration-150) ease;position:relative}[input] slot:after{border-radius:var(--anchor-border-radius);background:var(--anchor-background);height:var(--anchor-height);width:var(--anchor-width);display:inline-block;content:"";transition:transform var(--nve-ref-animation-duration-250) cubic-bezier(.12,.32,.54,2);pointer-events:none;will-change:transform}:host(:state(checked)){--background: var(--accent-color);--anchor-background: var(--nve-sys-text-white-color)}:host(:state(checked)) [input] slot:after{transform:translate(calc(calc(var(--width) / 2) - var(--border-width)))}:host(:state(checked):state(dirty)) [input] slot:after{animation:thumb-bounce var(--nve-ref-animation-duration-250) cubic-bezier(.12,.32,.54,2)}@keyframes thumb-bounce{0%{transform:translate(0) scale(1)}20%{transform:translate(calc(var(--width) / 4)) scale(1.15)}60%{transform:translate(calc(var(--width) / 1.8)) scale(.95)}to{transform:translate(calc(var(--width) / 2)) scale(1)}}`,XT=class extends L{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=T([...L.styles,YT])}static{this.metadata={tag:`nve-switch`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};k([lr({attribute:`nve-control`})],XT.prototype,`nveControl`,void 0),XT=k([v()],XT);var ZT=`:host{width:100%}`,QT=class extends R{static{this.styles=T([...R.styles,ZT])}static{this.metadata={tag:`nve-switch-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-switch`]}}};QT=k([v()],QT);var $T=`:host{--color: var(--nve-sys-interaction-color);display:block;width:fit-content}[internal-host]{color:var(--color);display:flex;gap:var(--nve-ref-space-sm);flex-direction:column}nve-control,nve-switch{--label-text-transform: capitalize}nve-menu{--width: 100%}`,eE=[`auto`,`light`,`dark`,`high-contrast`],tE=[`default`,`compact`],nE={theme:`theme`,scale:`scale`,reducedMotion:`reduced motion`,colorScheme:`color scheme`},rE={auto:`computer`,light:`sun`,dark:`moon`,"high-contrast":`circle-half`};function iE(e=globalThis.document.documentElement){let t=getComputedStyle(e);return{light:t.getPropertyValue(`--nve-config-color-scheme-light`)===`true`,dark:t.getPropertyValue(`--nve-config-color-scheme-dark`)===`true`,"high-contrast":t.getPropertyValue(`--nve-config-color-scheme-high-contrast`)===`true`,compact:t.getPropertyValue(`--nve-config-scale-compact`)===`true`,"reduced-motion":t.getPropertyValue(`--nve-config-reduced-motion`)===`true`}}var aE=class extends Gr(h){#e;static{this.styles=T([$T])}static{this.metadata={tag:`nve-preferences-input`,version:`0.0.0`,valueSchema:{type:`object`,properties:{"color-scheme":{type:`string`},scale:{type:`string`},"reduced-motion":{type:`boolean`}}}}}static{this.elementDefinitions={[L.metadata.tag]:L,[fC.metadata.tag]:fC,[M.metadata.tag]:M,[z.metadata.tag]:z,[B.metadata.tag]:B,[XT.metadata.tag]:XT}}render(){return p`<div internal-host><nve-control part="control"><label>${this.i18n.colorScheme}</label><nve-menu part="menu" nve-control>${eE.map(e=>p`<nve-menu-item part="menu-item" .selected="${this.value?.[`color-scheme`]===e}" .value="${e}" @click="${()=>this.#n(e)}"><nve-icon part="icon" name="${rE[e]}"></nve-icon>${e}</nve-menu-item>`)}</nve-menu></nve-control>${this.activePreferences.compact?p`<nve-divider part="divider"></nve-divider><nve-control part="control"><label>${this.i18n.scale}</label><nve-menu part="menu" nve-control>${tE.map(e=>p`<nve-menu-item part="menu-item" .selected="${this.value?.scale===e}" .value="${e}" @click="${()=>this.#r(e)}">${e}</nve-menu-item>`)}</nve-menu></nve-control>`:``} ${this.activePreferences[`reduced-motion`]?p`<nve-divider part="divider"></nve-divider><nve-switch part="switch"><label>${this.i18n.reducedMotion}</label> <input type="checkbox" value="reduced-motion" .checked="${this.value?.[`reduced-motion`]}" @change="${e=>this.#i(e.target.checked)}"></nve-switch>`:``}</div>`}constructor(){super(),this.#e=new E(this,nE),this.i18n=this.#e.i18n,this.activePreferences={light:!1,dark:!1,"high-contrast":!1,compact:!1,"reduced-motion":!1},this.value={"color-scheme":`auto`,"reduced-motion":!1,scale:`default`}}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-control`,``),this.#t()}updateValue(e){super.updateValue({...this.value,...e}),this.#t()}#t(){{let e=iE();JSON.stringify(this.activePreferences)!==JSON.stringify(e)&&(this.activePreferences=e)}}#n(e){this.value={...this.value,"color-scheme":e},this.#a()}#r(e){this.value={...this.value,scale:e},this.#a()}#i(e){this.value={...this.value,"reduced-motion":e},this.#a()}#a(){this.dispatchInputEvent(),this.dispatchChangeEvent()}};k([g({type:Object})],aE.prototype,`i18n`,void 0),k([A()],aE.prototype,`activePreferences`,void 0),aE=k([w()],aE),f(aE);var oE=wi(class extends Ti{constructor(e){if(super(e),e.type!==Ci.ATTRIBUTE||e.name!==`class`||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return` `+Object.keys(e).filter(t=>e[t]).join(` `)+` `}update(e,[t]){if(this.st===void 0){this.st=/* @__PURE__ */ new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(` `).split(/\s/).filter(e=>e!==``)));for(let e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}let n=e.element.classList;for(let e of this.st)e in t||(n.remove(e),this.st.delete(e));for(let e in t){let r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return $e}}),sE=`:host{display:flex;width:100%;line-height:0;--height: var(--nve-ref-size-200);--opacity: 1;--accent-color: var(--nve-sys-interaction-color);--background: var(--nve-sys-interaction-background)}:host([status="accent"]){--accent-color: var(--nve-sys-accent-secondary-background)}:host([status="success"]){--accent-color: var(--nve-sys-support-success-color)}:host([status="warning"]){--accent-color: var(--nve-sys-support-warning-color)}:host([status="danger"]){--accent-color: var(--nve-sys-support-danger-color)}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--background);border-radius:var(--nve-ref-border-radius-full);height:var(--height);opacity:var(--opacity);width:100%}progress[value]::-webkit-progress-bar{background-color:inherit;border-radius:var(--nve-ref-border-radius-full)}progress[value]::-webkit-progress-value{border-radius:var(--nve-ref-border-radius-full);border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--accent-color)}progress[value].full::-webkit-progress-value{border-top-right-radius:var(--nve-ref-border-radius-full);border-bottom-right-radius:var(--nve-ref-border-radius-full)}progress[value].min-width::-webkit-progress-value{min-width:5px}progress[value]::-moz-progress-bar{border-radius:var(--nve-ref-border-radius-full);border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--accent-color)}:host(:not([value])){--height: var(--nve-ref-size-100);--opacity: .75}progress.indeterminate{--accent-color-faded: color-mix(in srgb, var(--accent-color), transparent 90%);--indeterminate-gradient: linear-gradient(to right, var(--accent-color-faded) 10%, var(--accent-color));--indeterminate-gradient-reverse: linear-gradient(to left, var(--accent-color-faded) 10%, var(--accent-color));will-change:transform;background-image:var(--indeterminate-gradient);animation:indeterminate-animation calc(var(--nve-ref-animation-duration-400) * 3) infinite cubic-bezier(.645,.045,.355,1)}progress[value].indeterminate::-webkit-progress-value{border-radius:var(--nve-ref-border-radius-none);background-color:transparent!important}@keyframes indeterminate-animation{0%{transform:scaleX(.015);transform-origin:0% 0%}25%{transform:scaleX(.4)}50%{transform:scaleX(.015);transform-origin:100% 0%;background-image:var(--indeterminate-gradient)}50.1%{transform:scaleX(.015);transform-origin:100% 0%;background-image:var(--indeterminate-gradient-reverse)}75%{transform:scaleX(.4)}to{transform:scaleX(.015);transform-origin:0% 0%;background-image:var(--indeterminate-gradient-reverse)}}`,cE=class extends h{constructor(...e){super(...e),this.max=100}static{this.styles=T([sE])}static{this.metadata={tag:`nve-progress-bar`,version:`0.0.0`}}render(){let e={full:this.value===this.max,"min-width":this.value!==void 0&&this.value>0,indeterminate:this.value===void 0};return p`<progress internal-host .max="${this.max}" .value="${this.value===void 0?100:this.value}" class="${oE(e)}"></progress>`}};k([g({type:Number,reflect:!0})],cE.prototype,`value`,void 0),k([g({type:Number})],cE.prototype,`max`,void 0),k([g({type:String,reflect:!0})],cE.prototype,`status`,void 0),cE=k([w()],cE),f(cE);var lE=`:host{--color: currentColor;--width: var(--nve-ref-size-500);--height: var(--nve-ref-size-500);--animation-duration: calc(var(--nve-ref-animation-duration-400) * 1.5);display:inline-flex;color:inherit}:host([size="sm"]){--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400)}:host([size="lg"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}[internal-host]{width:var(--width);height:var(--height);display:flex;align-items:center;justify-content:center}svg{width:100%;height:100%;fill:var(--color)}circle{opacity:1;transform-box:fill-box;transform-origin:center;animation:breathe var(--animation-duration) ease-in-out infinite}circle:nth-child(2){animation-delay:calc(var(--animation-duration) * 2 / 15)}circle:nth-child(3){animation-delay:calc(var(--animation-duration) * 4 / 15)}@keyframes breathe{0%,60%,to{opacity:var(--nve-ref-opacity-300);transform:scale(.7)}30%{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){circle{animation:none}}@container style(--nve-ref-animation-duration-150: 0){circle{animation:none}}`,uE={loading:`loading`},dE=class extends h{constructor(...e){super(...e),this.size=`md`,this.#e=new E(this,uE),this.i18n=this.#e.i18n}static{this.styles=T([lE])}static{this.metadata={tag:`nve-progress-dot`,version:`0.0.0`}}#e;render(){return p`<div internal-host><svg viewBox="0 0 36 36" aria-hidden="true"><circle cx="5" cy="18" r="3"></circle><circle cx="18" cy="18" r="3"></circle><circle cx="31" cy="18" r="3"></circle></svg></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`progressbar`}updated(e){super.updated(e),this._internals.ariaLabel=this.i18n.loading??null}};k([g({type:String,reflect:!0})],dE.prototype,`size`,void 0),k([g({type:Object})],dE.prototype,`i18n`,void 0),f(dE),f(X);var fE=`nve-progressive-filter-chip{&:has([status=error]){--background: transparent}input::placeholder,textarea::placeholder{color:var(--nve-sys-text-placeholder-color)!important}nve-select:not(:state(multiple)){--padding: 0 var(--nve-ref-size-200)}nve-select:not(:state(multiple))::part(caret){display:none}}nve-progressive-filter-chip input::-webkit-search-cancel-button,nve-progressive-filter-chip input::-webkit-calendar-picker-indicator{opacity:0!important;display:none!important}`,pE=`:host{--gap: 1px;--border-radius: var(--nve-ref-border-radius-sm);--background: color-mix( in oklab, var(--nve-sys-interaction-field-background) 95%, var(--nve-sys-interaction-state-mix) );width:fit-content;min-width:fit-content;contain:initial;--border: none}[internal-host]{gap:var(--gap);border-radius:var(--border-radius);background:var(--background);display:flex;overflow:hidden;border:var(--border)}[nve-control],::slotted(nve-button){--font-weight: var(--nve-ref-font-weight-medium);--border-radius: 0;--width: fit-content}::slotted([nve-control]){--font-weight: var(--nve-ref-font-weight-medium);--border-radius: 0}[nve-control][fit-text],::slotted([nve-control][fit-text]){flex-shrink:0}[internal-host]>:nth-child(2){--font-weight: var(--nve-ref-font-weight-regular)}nve-select:not(:state(multiple))::part(caret){display:none}nve-icon-button{--border-radius: 0;--padding: var(--nve-ref-size-300)}`,mE={close:`close`},hE=class extends h{constructor(...e){super(...e),this.#e=new E(this,mE),this.i18n=this.#e.i18n,this.inputs=[],this.#t=new tr(this)}static{this.metadata={tag:`nve-progressive-filter-chip`,version:`0.0.0`}}static{this.elementDefinitions={[bS.metadata.tag]:bS,[MT.metadata.tag]:MT,[eC.metadata.tag]:eC,[N.metadata.tag]:N}}#e;static{this.styles=T([pE])}#t;#n(e){let t=p`<slot name="${e.slot}" @slotchange="${this.#r}"></slot>`;return e.tagName===`SELECT`?p`<nve-select part="select" multiple-overflow ?fit-text="${!e.multiple}">${t}</nve-select>`:e.tagName===`INPUT`&&e.type===`date`?p`<nve-date part="date">${t}</nve-date>`:e.tagName===`INPUT`?p`<nve-input part="input">${t}</nve-input>`:t}render(){return p`<div internal-host>${this.inputs.map(e=>this.#n(e))} ${this.closable?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${()=>this.#t.close()}" .ariaLabel="${this.i18n.close}" icon-name="cancel"></nve-icon-button>`:m}</div><slot hidden-slot @slotchange="${this.#i}"></slot>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`toolbar`,this.setAttribute(`nve-control`,``),b(this,fE)}#r(e){e.target.assignedElements().length||this.#a()}#i(e){if(e.target&&e.target.assignedElements().length){this.#a();let e=Array.from(this.shadowRoot.querySelector(`slot:not([name])`).assignedElements()).filter(e=>e.matches(`input, select, nve-button, [nve-control]`));e.forEach(e=>e.slot=y()),this.inputs=e.length?e:this.inputs}}#a(){Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).forEach(e=>e.slot=``)}};k([g({type:Boolean})],hE.prototype,`closable`,void 0),k([g({type:Object})],hE.prototype,`i18n`,void 0),k([A()],hE.prototype,`inputs`,void 0),hE=k([C(),w()],hE),f(hE);var gE=`:host{--background: var(--nve-ref-color-gray-slate-1100);--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--animation-duration: 2s;width:var(--width);height:var(--height)}:host([status="accent"]){--background: var(--nve-ref-color-brand-green-1100)}:host([status="warning"]){--background: var(--nve-sys-support-warning-color)}:host([status="danger"]){--background: var(--nve-sys-support-danger-color)}:host([size="xs"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="sm"]){--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800)}:host([size="md"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}:host([size="lg"]){--width: calc(var(--nve-ref-size-1000) * 1.55);--height: calc(var(--nve-ref-size-1000) * 1.55)}[internal-host]{display:flex;place-items:center;place-content:center;height:100%}svg{position:absolute;top:0;left:0;width:100%;height:100%}.circle{fill:var(--background);transform-box:fill-box;transform-origin:center center}.c1,.c2,.c3{opacity:0;animation:pulse 2s ease-out infinite;animation-duration:var(--animation-duration)}.c1{transform:scale(.5);animation-delay:.5s}.c2{animation-delay:1s}.c3{animation-delay:1.5s}@keyframes pulse{0%{transform:scale(.5);opacity:0}50%{opacity:var(--nve-ref-opacity-150)}70%{opacity:calc(var(--nve-ref-opacity-150) * .9)}to{transform:scale(4);opacity:0}}`,_E=class extends h{static{this.styles=T([gE])}static{this.metadata={tag:`nve-pulse`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`alert`}render(){return p`<svg internal-host width="100%" height="100%" viewBox="0 0 200 200"><circle class="circle" cx="100" cy="100" r="25"></circle><circle class="circle c1" cx="100" cy="100" r="25"></circle><circle class="circle c2" cx="100" cy="100" r="25"></circle><circle class="circle c3" cx="100" cy="100" r="25"></circle></svg>`}};k([g({type:String,reflect:!0})],_E.prototype,`size`,void 0),k([g({type:String,reflect:!0})],_E.prototype,`status`,void 0),f(_E);var vE=`:host{--cursor: pointer;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);--border-width: var(--nve-ref-border-width-md);--border-radius: var(--nve-ref-border-radius-full);--border-color: var(--nve-ref-border-color);--radio-color: var(--border-color);--background: transparent;display:inline-block;contain:layout;will-change:transform,border-color}::slotted(input){width:var(--width)!important;height:var(--height)!important;cursor:var(--cursor)!important;margin:0!important;position:absolute!important;border-radius:var(--border-radius)!important;opacity:0!important;inset:0!important}[input]{align-items:center;position:relative}@keyframes radio-select-pop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}[input] slot{width:var(--width);height:var(--height);border:var(--border-width) solid var(--border-color);background:var(--background);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.12,.32,.54,2),border-color var(--nve-ref-animation-duration-150) ease;will-change:transform,border-color}[input] slot:before{content:"";width:calc(var(--width) / 2);height:calc(var(--height) / 2);border-radius:var(--border-radius);transform:scale(0);opacity:0;transition:transform var(--nve-ref-animation-duration-250) ease,opacity var(--nve-ref-animation-duration-200) ease,background-color var(--nve-ref-animation-duration-150) ease}:host(:state(checked):state(dirty)) [input] slot{animation:radio-select-pop var(--nve-ref-animation-duration-200) ease-out}:host(:state(checked)) [input] slot:before{background:var(--radio-color);transform:scale(1);opacity:1}:host(:state(checked)){--border-color: var(--accent-color)}:host(:state(disabled)){--border-color: var(--nve-sys-interaction-disabled-background)}`,yE=class extends L{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=T([...L.styles,vE])}static{this.metadata={tag:`nve-radio`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};k([lr({attribute:`nve-control`})],yE.prototype,`nveControl`,void 0),yE=k([v()],yE);var bE=`:host{width:100%}`,xE=class extends R{static{this.styles=T([...R.styles,bE])}static{this.metadata={tag:`nve-radio-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-radio`]}}};xE=k([v(),C()],xE),f(yE),f(xE),f(L),f(R),f(F);var SE=`nve-range input[type=range]::-webkit-slider-thumb{width:var(--thumb-width);height:var(--thumb-height);background:var(--thumb-background);border-radius:50%;box-shadow:var(--thumb-border);margin-block-start:calc((var(--track-height) - var(--thumb-height)) / 2);appearance:var(--_appearance);filter:var(--filter)}nve-range input[type=range]::-webkit-slider-runnable-track{background:transparent;height:var(--track-height);border-radius:var(--nve-ref-border-radius-lg);align-self:center}nve-range:has(datalist) input[type=range]::-webkit-slider-container{min-block-size:auto}nve-range[orientation=vertical] input[type=range]::-webkit-slider-container{display:flex;align-items:center;overflow:visible}nve-range[orientation=vertical] input[type=range]::-webkit-slider-runnable-track{width:100%;height:100%}nve-range[orientation=vertical] input[type=range]::-webkit-slider-thumb{margin:0}`,CE=`:host{--background: var(--accent-color);--control-height: var(--nve-sys-interaction-field-height);--cursor: pointer;--track-width: .5;--track-height: var(--nve-ref-size-150);--track-border-radius: var(--nve-ref-border-radius-md);--track-background: var(--nve-sys-interaction-background);--thumb-width: var(--nve-ref-size-400);--thumb-height: var(--nve-ref-size-400);--thumb-background: var(--nve-sys-text-muted-color);--thumb-border: 0 0 0 2px var(--nve-sys-layer-canvas-background);width:100%;contain:layout}:host(:state(disabled)){--background: var(--nve-sys-interaction-disabled-background)}:host([prominence="muted"]){--filter: grayscale(90%)}:host(:not(:state(disabled)):hover) [input]{--filter: brightness(1.1)}:host([prominence="muted"]:not(:state(disabled)):hover) [input]{--filter: grayscale(90%) brightness(1.1)}::slotted(input){accent-color:var(--accent-color)!important;height:calc(var(--track-height) * 3)!important;cursor:var(--cursor)!important;margin:0!important;width:var(--control-width)!important;background:transparent;align-self:center;appearance:var(--_appearance);position:relative;z-index:2}[input]{position:relative;filter:none}[input]:before{content:"";display:block;width:100%;height:var(--track-height);background:var(--track-background);border-radius:var(--track-border-radius);filter:var(--filter);position:absolute;pointer-events:none;align-self:center;z-index:0;left:0}[input]:after{content:"";display:block;width:calc(var(--track-width) * 100% - var(--track-width) * var(--thumb-width) / 2);height:var(--track-height);background:var(--background);border-top-left-radius:var(--track-border-radius);border-bottom-left-radius:var(--track-border-radius);filter:var(--filter);position:absolute;pointer-events:none;align-self:center;z-index:1;left:0}[input]:has(.datalist-labels){flex-direction:column}[input]:has(.datalist-labels):before{margin-block-start:var(--track-height)}[input]:has(.datalist-labels):after{margin-block-start:var(--track-height)}.datalist-labels{display:flex;cursor:auto;position:relative;min-height:calc(var(--nve-ref-size-150) + var(--nve-ref-space-md) + 1em)}.datalist-tick{display:flex;flex-direction:column;align-items:center;gap:var(--nve-ref-space-xxs);transform:translate(-50%);font-size:var(--nve-ref-font-size-100);color:var(--nve-sys-text-muted-color);position:absolute}.datalist-tick:before{content:"";width:var(--nve-ref-size-100);height:var(--nve-ref-size-150);border-radius:var(--nve-ref-border-radius-md);background:var(--nve-sys-interaction-background)}:host([orientation="vertical"]){width:fit-content;height:100%;contain:layout}:host([orientation="vertical"]) [internal-host]{height:100%}:host([orientation="vertical"]) [input]{height:100%}:host([orientation="vertical"]) ::slotted(input){writing-mode:vertical-lr!important;direction:rtl!important;width:var(--thumb-width)!important;height:calc(100% - var(--track-height) * 2)!important;margin:var(--track-height) auto!important;align-self:auto!important}:host([orientation="vertical"]) [input]:before{width:var(--track-height);height:calc(100% - var(--track-height) * 2);left:50%;top:var(--track-height);transform:translate(-50%);align-self:auto}:host([orientation="vertical"]) [input]:after{width:var(--track-height);height:calc(var(--track-width) * (100% - var(--track-height) * 2) - var(--track-width) * var(--thumb-height) / 2);left:50%;top:auto;bottom:var(--track-height);transform:translate(-50%);align-self:auto;border-radius:var(--nve-ref-border-radius-none) var(--nve-ref-border-radius-none) var(--track-border-radius) var(--track-border-radius)}:host([orientation="vertical"]) [input]:has(.datalist-labels){flex-direction:row}:host([orientation="vertical"]) [input]:has(.datalist-labels):before,:host([orientation="vertical"]) [input]:has(.datalist-labels):after{margin-block-start:0}:host([orientation="vertical"]) .datalist-labels{flex-direction:column;height:calc(100% - var(--track-height) * 2);margin-block:var(--track-height);position:absolute;left:calc(50% + var(--thumb-width) / 2 + var(--nve-ref-space-xxs) / 2)}:host([orientation="vertical"]) .datalist-tick{flex-direction:row;transform:none}:host([orientation="vertical"]) .datalist-tick:before{width:var(--nve-ref-size-150);height:var(--nve-ref-size-100)}`,wE=class extends L{constructor(...e){super(...e),this.orientation=`horizontal`}static{this.styles=T([...L.styles,CE])}static{this.metadata={tag:`nve-range`,version:`0.0.0`}}connectedCallback(){super.connectedCallback(),b(this,SE),this._internals.ariaOrientation=this.orientation}firstUpdated(e){super.firstUpdated(e),this.#e(),this.input.addEventListener(`input`,()=>this.#e()),on(this.input,`value`,e=>this.#e(e))}updated(e){super.updated(e),e.has(`orientation`)&&(this._internals.ariaOrientation=this.orientation)}#e(e){let t=e??this.input.valueAsNumber,n=this.input.min?parseFloat(this.input.min):0,r=this.input.max?parseFloat(this.input.max):100;this.style.setProperty(`--track-width`,`${Math.floor((t-n)/(r-n)*100)/100}`)}get suffixContent(){let e=this.querySelector(`datalist`);return e?this.#t(e):m}#t(e){let t=Array.from(e.options),n=this.input?.min?parseFloat(this.input.min):0,r=this.input?.max?parseFloat(this.input.max):100;return p`<div class="datalist-labels">${t.map(e=>{let t=parseFloat(e.value),i=(t-n)/(r-n)*100;return p`<span class="datalist-tick" style="${this.orientation===`vertical`?`bottom: ${i}%; transform: translateY(${i}%)`:`left: ${i}%; transform: translateX(-${i}%)`}">${e.textContent||t}</span>`})}</div>`}};k([g({type:String,reflect:!0})],wE.prototype,`orientation`,void 0),f(wE),f(L),f(R),f(F);var TE=`:host{--background: var(--nve-ref-border-color);--line-width: var(--nve-ref-border-width-sm);--target-size: var(--nve-ref-border-width-lg);--cursor: row-resize;display:block;contain:layout;cursor:var(--cursor);z-index:99}[internal-host]{width:100%;height:100%;:before,:after{display:block;content:" ";position:absolute;cursor:var(--cursor)}}.line{transition:background-color var(--nve-ref-animation-duration-200) ease-in,outline-color var(--nve-ref-animation-duration-200) ease-in;background:var(--background);outline:1px solid transparent;width:100%;height:100%}:host([orientation="horizontal"]){height:var(--line-width);width:100%;:before,:after{height:var(--target-size);width:100%}:before{top:calc(-1 * var(--target-size))}:after{bottom:calc(-1 * var(--target-size))}input{writing-mode:vertical-lr;direction:rtl}}:host([orientation="vertical"]){--cursor: col-resize;width:var(--line-width);height:100%;:before,:after{height:100%;width:var(--target-size)}:before{left:calc(-1 * var(--target-size))}:after{right:calc(-1 * var(--target-size))}}:host([dir="rtl"]){input{direction:rtl}}[internal-host]:hover,[internal-host]:has(input:focus),:host(:state(active)) [internal-host]{--background: var(--nve-sys-accent-secondary-background);.line{outline:1px solid var(--background)}}input{opacity:0;height:0;width:0;position:absolute}:host(:state(active)){--background: var(--nve-sys-accent-secondary-background)}`,EE={resize:`resize`},DE=class extends Gr(h){static{this.styles=T([TE])}get#e(){return this.shadowRoot.querySelector(`input`)}static{this.metadata={tag:`nve-resize-handle`,version:`0.0.0`,valueSchema:{type:`number`}}}#t;#n;#r;#i;render(){return p`<div internal-host><div class="line" part="_line"></div><input aria-label="${OS(this.ariaLabel??this.i18n.resize)}" type="range" min="${this.min}" max="${this.max}" .valueAsNumber="${this.valueAsNumber}" @input="${e=>this.#f(e.target.valueAsNumber)}" @change="${e=>this.#p(e.target.valueAsNumber)}" step="${this.step}"></div>`}constructor(){super(),this.orientation=`horizontal`,this.min=0,this.max=100,this.step=10,this.#t=new E(this,EE),this.i18n=this.#t.i18n,this.#i=0,this.#o=e=>{let t=e.detail;t.kind===`pointerdown`?t.event.button===0&&t.event.isPrimary&&this.#r===void 0&&t.claim({kind:`drag`})&&this.#c(t.event.pointerId):t.kind===`pointerend`&&t.event.pointerId===this.#r&&(t.interrupted?this.#d():(this.#l(t),this.#u()))},this.#s=e=>{e.detail.kind===`drag`&&e.detail.event.pointerId===this.#r&&this.#l(e.detail)},this.value=this.value??50,this.#i=this.valueAsNumber,this.#n=new It(this,{touchAction:`none`})}connectedCallback(){super.connectedCallback(),this._internals.role=`none`,this.addEventListener(`nve-gesture`,this.#s),this.addEventListener(`nve-gesture-input`,this.#o)}disconnectedCallback(){this.removeEventListener(`nve-gesture`,this.#s),this.removeEventListener(`nve-gesture-input`,this.#o),this.#d(),super.disconnectedCallback()}firstUpdated(e){super.firstUpdated(e),this.#n.target=this,this.addEventListener(`dblclick`,()=>{this.dispatchEvent(new CustomEvent(`toggle`,{cancelable:!0,bubbles:!0,composed:!0}))&&this.#a()})}#a(){let e=this.valueAsNumber<=this.max&&this.valueAsNumber!==this.min?this.min:this.max;this.#f(e),this.#p(e)}#o;#s;#c(e){this.#r=e,this.#e.step=`1`,this._internals.states.add(`active`),this.#i=this.valueAsNumber}#l(e){let t=(this.orientation===`vertical`?e.movementX:-e.movementY)*(this.dir===`rtl`?-1:1);t!==0&&(this.#i=Math.max(this.min,Math.min(this.max,this.#i+t)),this.#f(this.#i))}#u(){this.#i=this.valueAsNumber,this.#e.step=`${this.step}`,this.#r=void 0,this._internals.states.delete(`active`),this.#p(this.#i)}#d(){this.#r!==void 0&&(this.#r=void 0,this.#e.step=`${this.step}`,this._internals.states.delete(`active`))}#f(e){this.#m(e),this.dispatchInputEvent()}#p(e){this.#m(e),this.dispatchChangeEvent()}#m(e){e<=this.max&&e>=this.min&&(this.valueAsNumber=e)}};k([g({type:String,reflect:!0})],DE.prototype,`orientation`,void 0),k([g({type:Number,reflect:!0})],DE.prototype,`min`,void 0),k([g({type:Number,reflect:!0})],DE.prototype,`max`,void 0),k([g({type:Number,reflect:!0})],DE.prototype,`step`,void 0),k([g({type:Object})],DE.prototype,`i18n`,void 0),f(DE);var OE=`:host{width:100%}[input]{position:relative}[icon-name=search]{pointer-events:none;position:absolute;left:0}::slotted(input){padding-inline-start:var(--nve-ref-size-800)!important}`,kE=class extends L{constructor(...e){super(...e),this.rounded=!1}static{this.styles=T([...L.styles,yS,OE])}static{this.metadata={tag:`nve-search`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get prefixContent(){return p`<nve-icon-button part="icon-button" icon-name="search" container="inline" aria-hidden="true" readonly="readonly"></nve-icon-button>`}};k([g({type:String,reflect:!0})],kE.prototype,`container`,void 0),k([g({type:Boolean,reflect:!0})],kE.prototype,`rounded`,void 0),kE=k([w()],kE),f(kE),f(L),f(R),f(F),f(MT),f(L),f(R),f(F);var AE=`:host{--background: var(--nve-sys-layer-container-background);--min-height: var(--nve-ref-size-400);--border-radius: var(--nve-ref-border-radius-xs);display:block;width:100%;height:100%;position:relative}[internal-host]{background:var(--background);min-height:var(--min-height);border-radius:var(--border-radius);height:100%;width:100%}:host([shape="round"]){--border-radius: var(--nve-ref-border-radius-full)}:host([shape="pill"]){--border-radius: var(--nve-ref-border-radius-lg)}:host([effect="shimmer"]) [internal-host]{animation:shimmer calc(var(--nve-ref-animation-duration-400) * 4);animation-iteration-count:infinite;background:linear-gradient(to right,var(--background) 5%,color-mix(in srgb,var(--background),var(--nve-sys-interaction-state-mix) 5%) 25%,var(--background) 35%);background-size:1000px 100%}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}:host([effect="pulse"]) [internal-host]{animation:calc(var(--nve-ref-animation-duration-400) * 2) ease-in-out var(--nve-ref-animation-duration-300) infinite normal none running pulse}@keyframes pulse{0%{opacity:1}50%{opacity:var(--nve-ref-opacity-500)}to{opacity:1}}:host(:state(slotted)){display:contents}:host(:state(slotted)) [internal-host]{display:contents;background:none;min-height:0;animation:none}:host(:state(slotted)) .animate{display:none}`,jE=class extends h{constructor(...e){super(...e),this.hidden=!1}static{this.styles=T([AE])}static{this.metadata={tag:`nve-skeleton`,version:`0.0.0`}}render(){return p`<div internal-host><div class="animate"></div><slot @slotchange="${this.#e}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.ariaBusy=`true`}updated(e){super.updated(e),this._internals.ariaBusy=`${!this.hidden}`}#e(e){e.target.assignedNodes().some(e=>e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE&&e.textContent?.trim()!==``)?this._internals.states.add(`slotted`):this._internals.states.delete(`slotted`)}};k([g({type:String,reflect:!0})],jE.prototype,`effect`,void 0),k([g({type:String,reflect:!0})],jE.prototype,`shape`,void 0),k([g({type:Boolean,reflect:!0})],jE.prototype,`hidden`,void 0),f(jE);var ME=`:host{--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--border-radius: var(--nve-ref-border-radius-full)}[internal-host]{width:var(--width);height:var(--height);border-radius:var(--border-radius);background:transparent;border:0;display:flex;flex-direction:column;cursor:pointer;place-items:center;place-content:center;padding:0;position:relative;outline:0;overflow:hidden}nve-icon{--color: var(--nve-sys-text-placeholder-color);cursor:pointer}:host([sort="ascending"]) nve-icon,:host([sort="descending"]) nve-icon{--color: var(--nve-sys-text-emphasis-color)}`,NE={sort:`sort`},PE={none:`ascending`,ascending:`descending`,descending:`none`},FE=class extends bi(h){static{this.styles=T([ME])}static{this.metadata={tag:`nve-sort-button`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}#e;render(){return p`<div internal-host focus-within><nve-icon part="icon" .name="${this.sort===`descending`?`sort-descending`:`sort-ascending`}" aria-hidden="true"></nve-icon></div>`}constructor(){super(),this.sort=`none`,this.#e=new E(this,NE),this.i18n=this.#e.i18n,this.#t=()=>{this._internals.ariaLabel=`${this.#e.i18n.sort} ${PE[this.sort]}`,this.dispatchEvent(new CustomEvent(`sort`,{detail:{value:this.sort,next:PE[this.sort]},bubbles:!0,composed:!0}))},this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`spinbutton`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t};k([g({type:String,reflect:!0})],FE.prototype,`sort`,void 0),k([g({type:Object})],FE.prototype,`i18n`,void 0),FE=k([w()],FE),f(FE);var IE=.6,LE=100*IE,RE=.7,zE=.85;function BE(e){return Array.isArray(e)?e.filter(Number.isFinite):[]}function VE(e,t,n=IE){let r=e===`line`||e===`area`||e===`gradient`?Math.max(t-1,1):t,i=Number.isFinite(n)&&n>0?n:IE;return{width:e===`line`?r*100*i:r*LE,height:100}}function HE(e,t={}){if(e.length===0)return;let{explicitMin:n,explicitMax:r,includeZero:i=!1}=t,a=Math.min(...e),o=Math.max(...e);return{min:n??(i?Math.min(a,0):a),max:r??(i?Math.max(o,0):o)}}function UE(e,t,n=100){let r=t.max-t.min;return r===0?n/2:n-(e-t.min)/r*n}function WE(e,t,n){let r=n.height??100,i=e.length>1?n.width/(e.length-1):0;return e.map((e,n)=>({x:n*i,y:UE(e,t,r)}))}function GE(e,t){let n=/* @__PURE__ */ new Set;if(e.length===0||(t.first&&n.add(0),t.last&&n.add(e.length-1),!(t.min||t.max)))return n;let r=Math.min(...e),i=Math.max(...e);return e.forEach((e,a)=>{t.min&&e===r&&n.add(a),t.max&&e===i&&n.add(a)}),n}function KE(e){switch(e){case`linear`:return`linear`;case`smooth`:return`smooth`;case`step`:return`step`;default:return`linear`}}function qE(e,t,n){if(e.length===0)return``;if(e.length===1){let t=e[0].y.toFixed(2);return`M 0 ${t} L ${n.toFixed(2)} ${t}`}switch(t){case`step`:return $E(e);case`smooth`:return QE(e);case`linear`:return ZE(e);default:return ZE(e)}}function JE(e,t,n=100){if(e.length===0)return``;let r=``;switch(t){case`step`:r=$E(e);break;case`smooth`:r=QE(e);break;case`linear`:r=ZE(e);break;default:r=ZE(e)}let i=e[e.length-1],a=e[0];return r+=` L ${i.x.toFixed(2)} ${n.toFixed(2)}`,r+=` L ${a.x.toFixed(2)} ${n.toFixed(2)} Z`,r}function YE(e,t,n){let{bandSize:r,stepSize:i}=eD(e.length,n,RE);return e.map((e,n)=>{let a=n*i+(i-r)/2,o=Math.abs(e.y-t);return{x:a,y:Math.min(e.y,t),width:r,height:o}})}function XE(e,t,n){let{bandSize:r,stepSize:i}=eD(e.length,n.width,zE),a=n.height/2;return e.map((e,n)=>{let o=n*i+(i-r)/2;return e>0?{className:`win`,x:o,y:t-a,width:r,height:a}:e<0?{className:`loss`,x:o,y:t,width:r,height:a}:{className:`draw`,x:o,y:t-a/4,width:r,height:a/2}})}function ZE(e){return e.reduce((e,t,n)=>n===0?`M ${t.x.toFixed(2)} ${t.y.toFixed(2)}`:`${e} L ${t.x.toFixed(2)} ${t.y.toFixed(2)}`,``)}function QE(e){return e.map((t,n)=>{if(n===0)return`M ${t.x.toFixed(2)} ${t.y.toFixed(2)}`;let r=e[n-1],i=(t.x-r.x)/3;return`C ${(r.x+i).toFixed(2)} ${r.y.toFixed(2)} ${(t.x-i).toFixed(2)} ${t.y.toFixed(2)} ${t.x.toFixed(2)} ${t.y.toFixed(2)}`}).join(` `)}function $E(e){let t=`M ${e[0].x.toFixed(2)} ${e[0].y.toFixed(2)}`;for(let n=1;n<e.length;n++){let r=e[n];t+=` H ${r.x.toFixed(2)} V ${r.y.toFixed(2)}`}return t}function eD(e,t,n){if(e<=0)return{bandSize:0,stepSize:0};let r=t/e;return{bandSize:r*n,stepSize:r}}var tD=`:host{--height: 1em;--line-color: var(--status-color);--line-width: 1.5px;--fill-color: var(--status-color);--gradient-max-color: color-mix(in oklab, var(--line-color), transparent 35%);--gradient-min-color: color-mix(in oklab, var(--line-color), transparent 95%);--zero-line-color: var(--line-color);--zero-line-width: 1.5px;--win-color: var(--nve-sys-status-finished-color);--loss-color: var(--nve-sys-status-failed-color);--draw-color: var(--nve-sys-status-pending-color);--accent-radius: 3px;--accent-color: var(--nve-sys-support-accent-emphasis-color);--accent-border-color: var(--nve-sys-support-accent-emphasis-color);--accent-border-width: 1;--_aspect-ratio: 1;display:inline-flex;height:var(--height);aspect-ratio:var(--_aspect-ratio);max-width:100%;contain:layout style}:host([size="xs"]){--height: var(--nve-ref-size-200)}:host([size="sm"]){--height: var(--nve-ref-size-300)}:host([size="md"]){--height: var(--nve-ref-size-400)}:host([size="lg"]){--height: var(--nve-ref-size-500)}:host([size="xl"]){--height: var(--nve-ref-size-600)}[internal-host]{position:relative;container-type:size;width:100%;height:100%;--_vbw: calc(100 * var(--_aspect-ratio));--_vbh: 100;--_svg-unit-size: min(calc(100cqw / var(--_vbw)), calc(100cqh / var(--_vbh)));--_svg-origin-x: calc((100cqw - (var(--_vbw) * var(--_svg-unit-size))) / 2);--_svg-origin-y: calc((100cqh - (var(--_vbh) * var(--_svg-unit-size))) / 2)}svg{width:100%;height:100%;overflow:visible}.line{stroke:var(--line-color);stroke-width:var(--line-width);fill:none;stroke-linejoin:round;stroke-linecap:round}.area{fill:color-mix(in oklab,var(--fill-color) 20%,transparent);stroke:none}.zero-line{stroke:var(--zero-line-color);stroke-width:var(--zero-line-width)}.column{fill:var(--fill-color);stroke:none}.win{fill:var(--win-color);stroke:none}.loss{fill:var(--loss-color);stroke:none}.draw{fill:var(--draw-color);stroke:none}.accent{position:absolute;box-sizing:content-box;left:calc(var(--_svg-origin-x) + (var(--x) * var(--_svg-unit-size)));top:calc(var(--_svg-origin-y) + (var(--y) * var(--_svg-unit-size)));width:calc(2 * var(--accent-radius));height:calc(2 * var(--accent-radius));transform:translate(-50%,-50%);background:var(--accent-color);border:var(--accent-border-width) solid var(--accent-border-color);border-radius:50%;user-select:none}`,Z=class extends h{constructor(...e){super(...e),this.data=[],this.mark=`line`,this.interpolation=`linear`,this.denoteFirst=!1,this.denoteLast=!1,this.denoteMin=!1,this.denoteMax=!1,this.intervalLength=.6,this.validData=[]}static{this.styles=T([tD,yr,br])}static{this.metadata={tag:`nve-sparkline`,version:`0.0.0`}}render(){return p`<div internal-host>${this.#e()}</div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`img`}willUpdate(e){super.willUpdate(e),e.has(`data`)&&(this.validData=BE(this.data))}#e(){let{width:e,height:t}=VE(this.mark,this.validData.length,this.intervalLength);switch(this.mark){case`line`:case`area`:case`gradient`:return this.#t(e,t);case`column`:return this.#a(e,t);case`winloss`:return this.#o(50,e,t);default:return this.mark,m}}updated(e){super.updated(e);let{width:t,height:n}=VE(this.mark,this.validData.length,this.intervalLength),r=t/n,i=Number.isFinite(r)&&r>0?r:1;this.style.setProperty(`--_aspect-ratio`,i.toFixed(4))}#t(e,t){let n=HE(this.validData,{explicitMin:this.min,explicitMax:this.max});if(!n)return m;let r=UE(0,n),i=n.min<0&&n.max>0,a=WE(this.validData,n,{width:e}),o=GE(this.validData,{first:this.denoteFirst,last:this.denoteLast,min:this.denoteMin,max:this.denoteMax}),s=KE(this.interpolation),c=qE(a,s,e),l=this.mark===`area`||this.mark===`gradient`?JE(a,s,100):``;return Qe`<svg viewBox="0 0 ${e} ${t}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${this.mark===`gradient`?this.#n(t):m} ${l.length?this.mark===`gradient`?Qe`<path class="area" d="${l}" style="fill:url(#gradient)"></path>`:Qe`<path class="area" d="${l}"></path>`:m} ${i?this.#r(r,e):m} ${c?Qe`<path class="line" d="${c}" vector-effect="non-scaling-stroke"></path>`:m}</svg> ${this.#i(a,o)}`}#n(e){return Qe`<defs><linearGradient id="gradient" x1="0" y1="0" x2="0" y2="${e}" gradientUnits="userSpaceOnUse"><stop offset="0%" style="stop-color:var(--gradient-max-color)"></stop><stop offset="100%" style="stop-color:var(--gradient-min-color)"></stop></linearGradient></defs>`}#r(e,t){return Qe`<line class="zero-line" vector-effect="non-scaling-stroke" x1="0" y1="${e.toFixed(2)}" x2="${t}" y2="${e.toFixed(2)}"></line>`}#i(e,t){return e.length===0||t.size===0?m:p`${Array.from(t).map(t=>{let n=e[t];return n?p`<span style="${`--x: ${n.x.toFixed(2)}; --y: ${n.y.toFixed(2)}`}" class="accent"></span>`:m})}`}#a(e,t){let n=HE(this.validData,{explicitMin:this.min,explicitMax:this.max,includeZero:!0});if(!n)return m;let r=UE(0,n),i=n.min<0&&n.max>0,a=YE(WE(this.validData,n,{width:e}),r,e);return Qe`<svg viewBox="0 0 ${e} ${t}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${i?this.#r(r,e):m} ${a.map(e=>Qe`<rect class="column" x="${e.x.toFixed(2)}" y="${e.y.toFixed(2)}" width="${e.width.toFixed(2)}" height="${e.height.toFixed(2)}"></rect>`)}</svg>`}#o(e,t,n){if(this.validData.length===0)return m;let r=XE(this.validData,e,{width:t,height:n});return Qe`<svg viewBox="0 0 ${t} ${n}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${this.#r(e,t)} ${r.map(e=>Qe`<rect class="${e.className}" x="${e.x.toFixed(2)}" y="${e.y.toFixed(2)}" width="${e.width.toFixed(2)}" height="${e.height.toFixed(2)}"></rect>`)}</svg>`}};k([g({type:Array})],Z.prototype,`data`,void 0),k([g({type:String})],Z.prototype,`mark`,void 0),k([g({type:String})],Z.prototype,`interpolation`,void 0),k([g({type:String,reflect:!0})],Z.prototype,`status`,void 0),k([g({type:String,reflect:!0})],Z.prototype,`size`,void 0),k([g({type:Boolean,attribute:`denote-first`,reflect:!0})],Z.prototype,`denoteFirst`,void 0),k([g({type:Boolean,attribute:`denote-last`,reflect:!0})],Z.prototype,`denoteLast`,void 0),k([g({type:Boolean,attribute:`denote-min`,reflect:!0})],Z.prototype,`denoteMin`,void 0),k([g({type:Boolean,attribute:`denote-max`,reflect:!0})],Z.prototype,`denoteMax`,void 0),k([g({type:Number,attribute:`interval-length`})],Z.prototype,`intervalLength`,void 0),k([g({type:Number})],Z.prototype,`min`,void 0),k([g({type:Number})],Z.prototype,`max`,void 0),k([A()],Z.prototype,`validData`,void 0),f(Z);var nD=`:host{--star-size: 20px}:host(:state(disabled)) .stars{pointer-events:none}[input]{position:relative}[name=star]{--color: var(--nve-ref-color-yellow-amber-900)}[name=star-half]{--color: var(--nve-ref-color-yellow-amber-900);--stroke-color: var(--nve-ref-border-color-emphasis)}[name=star-stroke]{--color: var(--nve-ref-border-color-emphasis)}nve-icon{--width: var(--star-size);--height: var(--star-size)}.stars{display:flex;gap:var(--nve-ref-space-xxxs);height:var(--nve-ref-size-800)}::slotted(input){opacity:0;position:absolute;inset:0;z-index:-1;margin:0}`,rD=class extends L{constructor(...e){super(...e),this.min=0,this.max=5,this.value=0,this.active=0,this.precision=.5}static{this.styles=T([...L.styles,nD])}static{this.metadata={tag:`nve-star-rating`,version:`0.0.0`}}static{this.elementDefinitions={[M.metadata.tag]:M}}firstUpdated(e){super.firstUpdated(e),on(this.input,`max`,e=>{e&&(this.max=parseInt(e))}),on(this.input,`min`,e=>{e&&(this.min=parseInt(e))}),on(this.input,`value`,e=>{this.#n(e?parseFloat(e):this.input.valueAsNumber)}),this.input.addEventListener(`input`,()=>this.value=this.input.valueAsNumber),this.value=this.input.valueAsNumber}get prefixContent(){return p`<div aria-hidden="true" class="stars" @mouseleave="${()=>this.active=0}">${Array(this.max).fill(``).map((e,t)=>{let n=t+1,r=(this.active||this.value)-t;return p`<nve-icon part="icon" @click="${()=>this.#n(this.#t(t,n))}" @mousemove="${e=>this.#e(e,t,n)}" name="${r>=1?`star`:r>=.5?`star-half`:`star-stroke`}"></nve-icon>`})}</div>`}#e(e,t,n){let r=e.currentTarget.getBoundingClientRect(),i=(e.clientX-r.left)/r.width;this.active=i<=.5?t+.5:n}#t(e,t){return this.active>0?this.active:this.value===t||this.value===e+.5?0:t}#n(e){this.input.valueAsNumber=e===this.value?0:e,this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}};k([A()],rD.prototype,`min`,void 0),k([A()],rD.prototype,`max`,void 0),k([A()],rD.prototype,`value`,void 0),k([A()],rD.prototype,`active`,void 0),k([A()],rD.prototype,`precision`,void 0),rD=k([w()],rD),f(rD),f(L),f(R),f(F);var iD=`:host{--width: auto;--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-semibold);--border-radius: var(--nve-ref-border-radius-xl);--color: var(--nve-sys-text-muted-color);--cursor: pointer;--text-transform: capitalize;--nve-sys-interaction-state-ratio: 0}[internal-host]{--_icon-button-color: var(--color);width:var(--width);gap:var(--nve-ref-space-xs);padding:var(--nve-ref-size-200) var(--nve-ref-size-300) var(--nve-ref-size-200) var(--nve-ref-size-200);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);line-height:var(--nve-ref-font-size-500);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;border-radius:var(--border-radius);cursor:var(--cursor);text-transform:var(--text-transform);display:inline-flex;align-items:center;border:0;position:relative}nve-progress-ring,nve-icon-button{--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700);cursor:pointer}nve-icon-button#number-icon{box-sizing:content-box;border:var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis);border-radius:100%;--color: var(--_icon-button-color);--height: var(--nve-ref-size-600);--width: var(--nve-ref-size-600);--background: transparent}nve-icon-button[interaction=emphasis]{--background: var(--nve-sys-support-success-color);--color: var(--nve-sys-text-white-color)}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color);--font-weight: var(--nve-ref-font-weight-semibold);--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: not-allowed}:host(:hover:not(:state(disabled),:state(selected))){--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host([container="condensed"]) div{padding:var(--nve-ref-size-200)}`,aD=`:host{--gap: var(--nve-ref-space-lg)}[internal-host]{position:relative;display:flex;flex-direction:row;gap:var(--gap)}:host([vertical]) [internal-host]{flex-direction:column}:host(:not([vertical])) ::slotted(nve-steps-item:not(:last-child)):after{content:"";position:absolute;width:var(--gap);top:50%;border:var(--nve-ref-border-width-sm) dashed var(--nve-ref-border-color)}:host([vertical]) ::slotted(nve-steps-item:not(:last-child)):after{content:"";position:absolute;height:var(--gap);left:var(--nve-ref-size-500);top:100%;border:var(--nve-ref-border-width-sm) dashed var(--nve-ref-border-color)}:host([vertical]:not([container="condensed"])) ::slotted(nve-steps-item){--width: 100%}`,oD=class extends bi(h){static{this.styles=T([iD])}static{this.metadata={tag:`nve-steps-item`,version:`0.0.0`,parents:[`nve-steps`]}}static{this.elementDefinitions={[N.metadata.tag]:N,[X.metadata.tag]:X}}render(){return p`<div internal-host focus-within><slot name="status-icon">${this.status?``:p`<nve-icon-button part="icon-button" readonly="readonly" id="number-icon" .disabled="${this.disabled}">${this.index}</nve-icon-button>`} ${this.status===`success`?p`<nve-icon-button part="icon-button" readonly="readonly" size="sm" interaction="emphasis" icon-name="check"></nve-icon-button>`:``} ${this.status===`danger`?p`<nve-icon-button part="icon-button" readonly="readonly" size="sm" interaction="destructive" icon-name="exclamation-circle"></nve-icon-button>`:``} ${this.status===`pending`?p`<nve-progress-ring part="progress-ring" status="accent" size="sm"></nve-progress-ring>`:``}</slot>${IT(this.container!==`condensed`,()=>p`<slot></slot>`)}</div>`}constructor(){super(),this.selected=!1,this.index=0,this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`tab`}};k([g({type:Boolean,reflect:!0})],oD.prototype,`selected`,void 0),k([g({type:String,reflect:!0})],oD.prototype,`status`,void 0),k([g({type:String,reflect:!0})],oD.prototype,`container`,void 0),k([A()],oD.prototype,`index`,void 0),oD=k([v(),w(),Zn()],oD);var sD=class extends h{constructor(...e){super(...e),this.vertical=!1,this.behaviorSelect=!1,this.#t=e=>{this.#e(e.target)}}static{this.styles=T([aD])}static{this.metadata={tag:`nve-steps`,version:`0.0.0`,children:[`nve-steps-item`]}}get keynavListConfig(){return{items:this.steps,layout:this.vertical?`vertical`:`horizontal`}}#e(e){this.behaviorSelect&&e.matches(`nve-steps-item`)&&!e.disabled&&(this.steps.forEach(e=>e.selected=!1),e.selected=!0)}render(){return p`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`tablist`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t;updated(e){super.updated(e),(e.has(`container`)||e.has(`vertical`))&&this.#n()}#n(){this._internals.ariaOrientation=this.vertical?`vertical`:`horizontal`,this.steps.forEach((e,t)=>{e.index=t+1,e.container=this.container})}};k([g({type:Boolean,reflect:!0})],sD.prototype,`vertical`,void 0),k([g({type:String,reflect:!0})],sD.prototype,`container`,void 0),k([g({type:Boolean,attribute:`behavior-select`})],sD.prototype,`behaviorSelect`,void 0),k([_({selector:`nve-steps-item`})],sD.prototype,`steps`,void 0),sD=k([v(),Pn()],sD),f(oD),f(sD),f(XT),f(QT),f(L),f(R),f(F);function cD(e){return e.flatMap(e=>{if(e.getAttribute(`slot`))return[];if(e.localName===`nve-tabs-item`)return[e];if(e.localName!==`nve-tabs-item-group`)return[];let t=e.querySelector(`:scope > nve-tabs-item:is(:not([slot]), [slot=""])`);return t?[t]:[]})}function lD(e){let t=e.querySelector(`:scope > a:is(:not([slot]), [slot=""])`);return e.tabIndex>=0||!!t&&t.matches(`[href], [tabindex]`)&&t.tabIndex>=0}var uD=`nve-tabs{anchor-scope:--selected,--selected-group;--indicator-animation-duration: var(--nve-ref-animation-duration-150);--indicator-background: var(--nve-sys-accent-secondary-background);--indicator-height: var(--nve-ref-border-width-xl);--indicator-border-radius: var(--nve-ref-border-radius-sm);&:after{background:var(--indicator-background);height:var(--indicator-height);border-radius:var(--indicator-border-radius);position:fixed;display:block;content:"";width:anchor-size(width);transition:left var(--indicator-animation-duration) var(--nve-ref-animation-easing-100);position-anchor:--selected;top:calc(anchor(bottom) - var(--indicator-height));left:anchor(left);z-index:-1}&[borderless]:after{display:none!important}}nve-tabs[vertical]{&:after{width:var(--indicator-height);height:anchor-size(height);transition:top var(--indicator-animation-duration) var(--nve-ref-animation-easing-100);top:anchor(top)}}nve-tabs[vertical]:dir(rtl):after{left:auto;right:anchor(right)}nve-tabs-item[selected]{anchor-name:--selected}nve-tabs-item-group:has(>nve-tabs-item[selected]){anchor-name:--selected-group}nve-tabs:has(>nve-tabs-item-group>nve-tabs-item[selected]):after{position-anchor:--selected-group}`,dD=`:host{--width: 100%;--gap: var(--nve-ref-space-xs);--padding: 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-medium);--border-radius: var(--nve-ref-border-radius-sm);--color: var(--nve-sys-text-muted-color);--height: var(--nve-ref-size-800);--cursor: pointer;--text-transform: initial;--nve-sys-interaction-state-ratio: 0}[internal-host]{width:var(--width);gap:var(--gap);padding:var(--padding);height:var(--height);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);line-height:var(--nve-ref-font-size-500);background-image:var( --_tabs-item-background, linear-gradient( color-mix( in oklab, var(--nve-sys-interaction-state-base) 100%, var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio) ) 0 0 ) )!important;inset:var(--border-inset);border-radius:var(--border-radius);cursor:var(--cursor);text-transform:var(--text-transform);display:inline-flex;align-items:center;border:0;position:var(--_tabs-item-position, relative)}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color);--font-weight: var(--nve-ref-font-weight-semibold)}:host(:state(selected)) ::slotted(nve-icon){--color: var(--nve-sys-interaction-color)}:host(:hover:not(:state(disabled),:state(selected))){--color: var(--nve-sys-text-emphasis-color);--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: not-allowed}:host(:is(:focus,:state(focused))) [internal-host]{outline-offset:-3px;outline:5px auto -webkit-focus-ring-color;outline:Highlight solid 2px}slot:not([name])::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;min-inline-size:0;outline:0}slot:not([name])::slotted(a):after{display:block;content:" ";inset:0;position:absolute;z-index:1}#label{display:flex;align-items:center;gap:var(--gap);flex:1 1 auto;min-inline-size:0;overflow:hidden;white-space:nowrap}slot[name]{display:contents}::slotted([slot="prefix"]),::slotted([slot="suffix"]){flex:none;align-self:center}`,fD=`:host{--gap: var(--nve-ref-space-xs)}[internal-host]{display:flex;flex-direction:row;gap:var(--gap);overflow-x:auto;white-space:nowrap;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([vertical]){--gap: var(--nve-ref-space-xxxs)}:host([vertical]) [internal-host]{flex-direction:column}:host([vertical]) ::slotted(:is(nve-tabs-item,nve-tabs-item-group)){--border-inset: 0 8px 0 8px;--width: calc(100% - 8px) }:host([vertical]) ::slotted(nve-tabs-item:state(selected)){--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host([vertical]) ::slotted(nve-tabs-item-group:has(> nve-tabs-item[selected])){--_tabs-group-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}::slotted(:is(nve-tabs-item,nve-tabs-item-group)){white-space:nowrap}`,pD=class extends bi(h){static{this.styles=T([dD])}static{this.metadata={tag:`nve-tabs-item`,version:`0.0.0`,parents:[`nve-tabs`,`nve-tabs-item-group`]}}render(){return p`<div internal-host focus-within><slot name="prefix"></slot><div id="label"><slot></slot></div><slot name="suffix"></slot></div>`}constructor(){super(),this.selected=!1,this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`tab`}updated(e){super.updated(e),e.has(`selected`)&&(this.selected?En(this,`--selected`):Tn(this,`--selected`))}};k([g({type:Boolean,reflect:!0})],pD.prototype,`selected`,void 0),pD=k([v(),Zn()],pD);var mD=class extends h{constructor(...e){super(...e),this.vertical=!1,this.borderless=!1,this.behaviorSelect=!1,this.#t=new Fn(this),this.#n=[],this.#a=e=>{e.some(e=>e.type===`childList`||e.attributeName===`slot`)?this.#o():e.some(e=>this.#e.some(t=>t.contains(e.target)))&&this.#s()},this.#o=async()=>{let e=this.#e;if(e.length===this.#n.length&&e.every((e,t)=>e===this.#n[t])){this.#s();return}let t=this.#n;this.#n=e,await Promise.all(e.map(e=>e.updateComplete)),e===this.#n&&(this.#t.refreshItems(t),this.#s())},this.#l=e=>{let t=e.composedPath(),n=this.#e.find(e=>t.includes(e));n&&this.#c(n)}}static{this.styles=T([fD])}static{this.metadata={tag:`nve-tabs`,version:`0.0.0`,children:[`nve-tabs-item`,`nve-tabs-item-group`]}}get keynavListConfig(){let e=this.#e;return{items:e,initialItem:e.find(e=>e.selected),layout:this.vertical?`vertical`:`horizontal`,dir:getComputedStyle(this).direction}}get#e(){return cD(this.entries??[])}#t;#n;#r;render(){return p`<div internal-host><slot @slotchange="${this.#o}"></slot></div>`}connectedCallback(){super.connectedCallback(),b(this,uD),S(this),this._internals.role=`tablist`,this.addEventListener(`click`,this.#l),this.#i(),this.hasUpdated&&this.#s()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#l),this.#r?.disconnect()}firstUpdated(){this.#r=new MutationObserver(this.#a),this.#i()}updated(e){super.updated(e),this._internals.ariaOrientation=this.vertical?`vertical`:`horizontal`}#i(){this.#r?.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`,`href`,`slot`]})}#a;#o;#s(){this.querySelectorAll(`:scope > nve-tabs-item-group`).forEach(e=>{let t=cD([e])[0];e.accessoryTabEnabled=!!t&&lD(t)})}#c(e){this.behaviorSelect&&e.matches(`nve-tabs-item`)&&!e.disabled&&(this.keynavListConfig.items.forEach(e=>e.selected=!1),e.selected=!0)}#l};k([g({type:Boolean,reflect:!0})],mD.prototype,`vertical`,void 0),k([g({type:Boolean,reflect:!0})],mD.prototype,`borderless`,void 0),k([g({type:Boolean,attribute:`behavior-select`})],mD.prototype,`behaviorSelect`,void 0),k([_()],mD.prototype,`entries`,void 0),mD=k([v()],mD);var hD=`:host{--padding: var(--nve-ref-space-sm) 0 0 0;display:block;width:100%}:host(:is([alignment="start"],[alignment="end"])){--padding: 0}[internal-host]{display:flex;flex-direction:column}:host(:is([alignment="start"],[alignment="end"])) [internal-host]{flex-direction:row;align-items:flex-start;gap:var(--nve-ref-space-lg)}:host([alignment="end"]) [internal-host]{flex-direction:row-reverse}:host(:is([alignment="start"],[alignment="end"])) [internal-host]>slot:not([name]){flex-shrink:0}:host(:is([alignment="start"],[alignment="end"])) [internal-host]>slot[name]{flex:1;min-width:0}::slotted([slot]){display:block;padding:var(--padding)}::slotted([slot][hidden]){display:none!important}`,gD,_D=class extends h{static{gD=this}constructor(...e){super(...e),this.alignment=`top`,this.panelValues=[],this.selectedValue=``,this.#t=()=>{this.#i(),this.#a()},this.#n=()=>{this.#c()},this.#r=e=>{if(e.command!==`--toggle`)return;let t=e.source?.value;if(typeof t!=`string`||!t.length)return;let n=this.#d(),r=n.find(e=>this.#p(e)&&e.value===t);r&&this.#o(n,r,{emitEvent:!0})}}static{this.styles=T([hD])}static{this.metadata={tag:`nve-tabs-group`,version:`0.0.0`,children:[`nve-tabs`]}}static{this.subtreeObserverInit={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`disabled`,`id`,`selected`,`value`]}}#e;render(){return p`<div internal-host><slot @slotchange="${this.#t}"></slot>${this.panelValues.map(e=>p`<slot name="${e}" @slotchange="${this.#n}"></slot>`)}</div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`group`,this.addEventListener(`command`,this.#r)}firstUpdated(){this.updateComplete.then(()=>{this.isConnected&&this.#a()})}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`command`,this.#r),this.#e?.disconnect()}updated(e){super.updated(e),this.#e||this.#i();let t=e;(t.has(`panelValues`)||t.has(`selectedValue`))&&this.#c()}#t;#n;#r;#i(){this.#e?.disconnect();let e=this.#u();e&&(this.#e=new MutationObserver(()=>this.#a()),this.#e.observe(e,gD.subtreeObserverInit))}#a(){let e=this.#d(),t=On(e.map(e=>e.value)),n=this.#m(e);n?this.#o(e,n,{emitEvent:!1,nextPanelValues:t}):(e.forEach(e=>e.selected=!1),this.#s(t,``))}#o(e,t,n){let{emitEvent:r}=n,i=n.nextPanelValues??On(e.map(e=>e.value)),a=this.selectedValue!==t.value||!t.selected||e.some(e=>e!==t&&e.selected);e.forEach(e=>{e.selected=e===t}),this.#s(i,t.value),r&&a&&this.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:{value:t.value}}))}#s(e,t){Dn(this.panelValues,e)||(this.panelValues=e),this.selectedValue!==t&&(this.selectedValue=t)}#c(){let e=this.#d(),t=new Map(e.filter(e=>this.#p(e)).map(e=>[e.value,e]));this.#f().forEach(e=>{this.#l(e,t)})}#l(e,t){let n=t.get(e.name),r=e.assignedElements({flatten:!0});n?(n.id||=y(),r.forEach((t,r)=>{t.id||=y(),!n.hasAttribute(`aria-controls`)&&r===0&&n.setAttribute(`aria-controls`,t.id),t.hasAttribute(`aria-labelledby`)||t.setAttribute(`aria-labelledby`,n.id),t.hasAttribute(`role`)||t.setAttribute(`role`,`tabpanel`),t.hidden=e.name!==this.selectedValue})):r.forEach(e=>{e.hidden=!0})}#u(){let e=this.defaultSlotElements.find(e=>e.localName===mD.metadata.tag)??this.querySelector(mD.metadata.tag);return e instanceof mD?e:void 0}#d(){return cD(Array.from(this.#u()?.children??[]))}#f(){return Array.from(this.renderRoot.querySelectorAll(`slot[name]`))}#p(e){return typeof e.value==`string`&&e.value.length>0&&!e.disabled}#m(e){return e.find(e=>this.#p(e)&&e.selected)??e.find(e=>this.#p(e))}};k([_({flatten:!0})],_D.prototype,`defaultSlotElements`,void 0),k([g({type:String,reflect:!0})],_D.prototype,`alignment`,void 0),k([A()],_D.prototype,`panelValues`,void 0),k([A()],_D.prototype,`selectedValue`,void 0),_D=gD=k([v()],_D);var vD=`:host{display:block;flex-shrink:0;min-inline-size:0;--gap: var(--nve-ref-space-xs);--height: var(--nve-ref-size-800);--padding: 0 var(--nve-ref-size-200);--width: 100%;--border-radius: var(--nve-ref-border-radius-sm)}[internal-host]{display:flex;align-items:center;position:relative;isolation:isolate;inset:var(--border-inset, 0);gap:var(--gap);height:var(--height);width:var(--width);padding:var(--padding);border-radius:var(--border-radius);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--_tabs-group-interaction-state-ratio, 0)) 0 0)}slot:not([name]){display:flex;flex:1 1 auto;min-inline-size:0}::slotted(nve-tabs-item){contain:none;flex:1 1 auto;min-inline-size:0;--padding: 0;--height: inherit;--width: 100%;--border-inset: 0;--border-radius: inherit;--_tabs-item-position: static;--_tabs-item-background: none}::slotted(nve-tabs-item):before{content:"";position:absolute;z-index:-1;inset:0;border-radius:var(--border-radius);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)}slot[name]{display:contents}::slotted([slot="prefix"]),::slotted([slot="suffix"]){position:relative;z-index:2;flex:none;align-self:center}`,yD=class extends h{constructor(...e){super(...e),this.accessoryTabEnabled=!0}static{this.styles=T([vD])}static{this.metadata={tag:`nve-tabs-item-group`,version:`0.0.0`,parents:[`nve-tabs`],children:[`nve-tabs-item`]}}render(){return p`<div internal-host><slot name="prefix" tabindex="${this.accessoryTabEnabled?m:-1}"></slot><slot></slot><slot name="suffix" tabindex="${this.accessoryTabEnabled?m:-1}"></slot></div>`}disconnectedCallback(){super.disconnectedCallback(),this.accessoryTabEnabled=!0}};k([A()],yD.prototype,`accessoryTabEnabled`,void 0),yD=k([v()],yD),f(pD),f(yD),f(mD),f(_D),f(H);var bD=`:host{--padding: var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: 100px;--width: 100%;--min-height: 100px;--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--cursor: text;--border: 0;display:block;width:var(--width);contain:layout}::slotted(textarea){font-size:var(--font-size)!important;margin:0!important;align-content:stretch!important;background:var(--background)!important;border:0!important;color:var(--color)!important;cursor:var(--cursor)!important;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}slot[name=prefix],slot[name=suffix]{display:none;gap:var(--nve-ref-space-xxs)}@scope{:scope:has([slot=prefix]) slot[name=prefix]{display:flex}:scope:has([slot=suffix]) slot[name=suffix]{display:flex}:scope:has(textarea[style*=width],textarea[cols]) [input]{width:fit-content}:scope:has(textarea:focus-visible) [input]{outline:5px auto -webkit-focus-ring-color!important;outline:Highlight solid 2px!important}}[input]{flex-direction:column;gap:var(--nve-ref-space-xs);background:var(--background);border:var(--border);border-radius:var(--border-radius);padding:var(--padding);cursor:initial;outline:none!important}::slotted(textarea:not([rows],[style*="height"])){height:var(--height)!important;min-height:var(--min-height)!important}::slotted(textarea:not([cols],[style*="width"])){width:var(--width)!important}::slotted(textarea:not([cols],[rows])){field-sizing:content}:host([layout*="horizontal"]) ::slotted(label){padding-block-start:var(--nve-ref-size-100)!important;align-self:start!important}:host([layout*="horizontal"]) slot[name=label]{align-self:start}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}:host([container="flat"]){--background: transparent;--border: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}`,xD=class extends L{static{this.styles=T([...L.styles,bD])}get prefixContent(){return p`<slot name="prefix"></slot>`}get suffixContent(){return p`<slot name="suffix"></slot>`}static{this.metadata={tag:`nve-textarea`,version:`0.0.0`}}};f(xD),f(L),f(R),f(F);var SD=`:host{width:100%}`,CD={expand:`expand`},wD=class extends L{get i18nDefaults(){return CD}static{this.styles=T([...L.styles,yS,SD])}static{this.metadata={tag:`nve-time`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="clock" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};k([g({type:String,reflect:!0})],wD.prototype,`container`,void 0),wD=k([w()],wD),f(wD),f(L),f(R),f(F),f(U);var TD=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 2px;--nve-sys-layer-popover-offset: 2px;--arrow-transform: translate(0, -2px) rotate(225deg);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-md);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--padding: var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-400);--width: fit-content;--min-width: fit-content;--gap: var(--nve-ref-space-sm);--_divider-padding: var(--padding)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);gap:var(--nve-ref-space-sm);width:var(--width);min-width:var(--min-width);outline:0;font-size:var(--font-size);font-weight:var(--font-weight);box-shadow:var(--box-shadow)}[internal-host]::backdrop{background:transparent}nve-icon-button{position:absolute;inset-block-start:var(--nve-ref-size-200);inset-inline-end:var(--nve-ref-size-200);z-index:99}.arrow{width:var(--nve-ref-size-300);height:var(--nve-ref-size-300);background:var(--background);transform:var(--arrow-transform);border-radius:var(--nve-ref-size-50);z-index:10000;clip-path:polygon(0 0,100% 0,0 100%);border-left:var(--border);border-top:var(--border);position:absolute}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(225deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(-45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(135deg)}::slotted(nve-menu){--width: 100%}::slotted(nve-divider){margin:0 calc(-1 * var(--_divider-padding))}#content{margin:calc(var(--padding) * -.5) 0}`,ED=`nve-toggletip:not(:has([slot=footer])):has([slot=header])::part(_content){margin-block-end:calc(var(--padding) * .5)}nve-toggletip:not(:has([slot=header])):has([slot=footer])::part(_content){margin-block-start:calc(var(--padding) * .5)}`,DD={close:`close`},Q=class extends h{constructor(...e){super(...e),this.position=`top`,this.alignment=`center`,this.closable=!1,this.arrow=!0,this.popoverType=`auto`,this.typeNativePopoverController=new sr(this),this.#e=new E(this,DD),this.i18n=this.#e.i18n}static{this.styles=T([xr,TD])}static{this.metadata={tag:`nve-toggletip`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}#e;render(){return p`<div internal-host><slot name="header"></slot>${this.closable?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<div id="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>${this.arrow?p`<div class="arrow"></div>`:``}`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`toggletip`,b(this,ED)}};k([g({type:String})],Q.prototype,`anchor`,void 0),k([g({type:String})],Q.prototype,`trigger`,void 0),k([g({type:String,reflect:!0})],Q.prototype,`position`,void 0),k([g({type:String,reflect:!0})],Q.prototype,`alignment`,void 0),k([g({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],Q.prototype,`behaviorTrigger`,void 0),k([g({type:Boolean})],Q.prototype,`closable`,void 0),k([g({type:Boolean})],Q.prototype,`arrow`,void 0),k([PS(`.arrow`)],Q.prototype,`popoverArrow`,void 0),k([g({type:Object})],Q.prototype,`i18n`,void 0),Q=k([w(),v({excessiveInstanceLimit:50})],Q);var OD=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:calc(100% + calc(var(--padding) * 2));margin:var(--padding) calc(var(--padding) * -1) 0 calc(var(--padding) * -1)}[internal-host]{color:var(--color);border-top:var(--border-top);padding:var(--padding) var(--padding) 0 var(--padding);display:flex;justify-content:start;gap:var(--gap)}`,kD=class extends h{static{this.styles=T([OD])}static{this.metadata={tag:`nve-toggletip-footer`,version:`0.0.0`,parents:[`nve-toggletip`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},AD=`:host{margin:0 calc(var(--padding) * -1) var(--padding) calc(var(--padding) * -1);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);width:calc(100% + calc(var(--padding) * 2))}[internal-host]{color:var(--color);padding:0 var(--padding) var(--padding) var(--padding);border-bottom:var(--border-bottom)}::slotted(nve-alert-group){margin:calc(var(--nve-ref-size-400) * -1);width:calc(100% + var(--nve-ref-size-800));--border-radius: var(--nve-ref-border-radius-md) var(--nve-ref-border-radius-md) 0 0;--padding: var(--nve-ref-size-200) var(--nve-ref-size-1000) var(--nve-ref-size-200) var(--nve-ref-size-300)}`,jD=class extends h{static{this.styles=T([AD])}static{this.metadata={tag:`nve-toggletip-header`,version:`0.0.0`,parents:[`nve-toggletip`]}}render(){return p`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}};f(Q),f(kD),f(jD);var MD=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--padding: 0 var(--nve-ref-size-300);--min-height: var(--nve-ref-size-1000);--border-radius: var(--nve-ref-border-radius-sm);--gap: var(--nve-ref-space-xs);--border-bottom: 0;--box-shadow: var(--nve-ref-shadow-100);--width: 100%;width:var(--width);contain:initial}:host([container="flat"]),:host([container="inset"]){--nve-sys-interaction-background: var(--nve-sys-interaction-background-100);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-100);--background: transparent;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted);--box-shadow: none;--border-radius: 0;--padding: 0}:host([container="full"]){--box-shadow: none;--border-radius: 0}:host([container="inset"]){--border-bottom: 0}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([status="accent"]){--background: var(--nve-sys-support-accent-color);--color: var(--nve-sys-text-white-color)}:host([status="accent"]) ::slotted(nve-button),:host([status="accent"]) ::slotted(nve-icon-button),:host([status="accent"]) nve-icon-button{--color: var(--nve-sys-text-white-color) !important;--_icon-color: var(--nve-sys-text-white-color) !important}:host([status="accent"]) ::slotted([nve-text]){color:var(--nve-sys-text-white-color)!important}[internal-host]{background:var(--background);color:var(--color);padding:var(--padding);min-height:var(--min-height);border-radius:var(--border-radius);border-bottom:var(--border-bottom);box-shadow:var(--box-shadow);width:var(--width);gap:var(--gap);display:flex;align-items:center}:host([orientation="vertical"]){--padding: var(--nve-ref-size-100) 0;--gap: var(--nve-ref-space-xs);--width: fit-content}:host([orientation="vertical"]) [internal-host],:host([orientation="vertical"]) slot{flex-direction:column;align-items:center;margin:0}:host([orientation="vertical"]) ::slotted(nve-divider){width:100%}[name=prefix],[name=suffix]{display:none;gap:var(--gap);align-items:center;justify-content:start}[name=suffix]{justify-content:end}:host(:state(has-prefix)) [name=prefix],:host(:state(has-suffix)) [name=suffix]{display:flex}::slotted(nve-combobox),::slotted(nve-search),::slotted(nve-input){--border-bottom: 0;min-width:20cqw;flex:1}::slotted(nve-select){--border-bottom: 0}slot{min-height:inherit}slot:not([name]){gap:var(--gap);width:100%;display:flex;align-items:center;text-wrap:nowrap;overflow:auto hidden;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([content="wrap"]) slot:not([name]){gap:var(--gap);width:100%;display:flex;flex-wrap:wrap;text-wrap:balance;overflow-x:initial}:host(:state(scrollbar)) slot:not([name]){margin-block-end:-14px}::slotted([nve-text]),::slotted(a),::slotted(span){text-wrap:nowrap!important}`,ND=class extends h{constructor(...e){super(...e),this.content=`scroll`,this.orientation=`horizontal`,this.#e=[]}static{this.styles=T([MD,yr,br])}static{this.metadata={tag:`nve-toolbar`,version:`0.0.0`}}static{this.elementDefinitions={}}#e;get#t(){return this.shadowRoot.querySelector(`slot:not([name])`)}get#n(){return[...this.prefixElements,...this.defaultElements,...this.suffixElements]}render(){return p`<div internal-host @slotchange="${this.#r}"><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`toolbar`}firstUpdated(e){super.firstUpdated(e),this.#i()}updated(e){super.updated(e),this.#o(),this.#s()}disconnectedCallback(){super.disconnectedCallback(),this.#e.forEach(e=>e.disconnect())}#r(e){bn(e.target,this),this.#o(),this.#s(),this.#a()}#i(){this.#a();let e=new ResizeObserver(()=>this.#a());this.#e.push(e),e.observe(this)}#a(){hn(this.#t)?this._internals.states.add(`scrollbar`):this._internals.states.delete(`scrollbar`)}#o(){this.#n.filter(e=>e.matches(`nve-button-group, nve-input, nve-search, nve-combobox, nve-button, nve-select, nve-icon-button, nve-copy-button`)).forEach(e=>e.container=`flat`)}#s(){let e=this.#n;e.filter(e=>e.matches(`nve-divider`)).forEach(e=>e.orientation=this.orientation===`horizontal`?`vertical`:`horizontal`),e.filter(e=>e.matches(`nve-button-group`)).forEach(e=>e.orientation=this.orientation)}};k([g({type:String,reflect:!0})],ND.prototype,`container`,void 0),k([g({type:String,reflect:!0})],ND.prototype,`content`,void 0),k([g({type:String,reflect:!0})],ND.prototype,`orientation`,void 0),k([g({type:String,reflect:!0})],ND.prototype,`status`,void 0),k([_({slot:`prefix`})],ND.prototype,`prefixElements`,void 0),k([_({slot:`suffix`})],ND.prototype,`suffixElements`,void 0),k([_()],ND.prototype,`defaultElements`,void 0),f(ND),f(W);function PD(e){let t=e.nodes;t.length&&(t.every(e=>e.selected)?(e.selected=!0,e.indeterminate=!1):t.some(e=>e.selected)?e.indeterminate=!0:t.every(e=>!e.selected)&&(e.selected=!1,e.indeterminate=!1)),t.forEach(e=>PD(e))}var FD=`:host{--color: var(--nve-sys-interaction-color);--border-radius: var(--nve-ref-border-radius-xs);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--min-height: var(--nve-ref-size-800);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--text-wrap: nowrap;width:100%;cursor:default}[internal-host]{color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);text-wrap:var(--text-wrap);display:flex;align-content:center;flex-wrap:wrap;width:100%}slot{display:flex;flex-direction:column;width:100%}slot[name=nodes]{padding-inline-start:var(--nve-ref-size-500);display:flex;flex-direction:column;align-items:start}slot:not(:has-slotted){display:none!important}[part=_node]{display:flex;align-items:center;width:100%}.node-title{display:flex;flex-direction:row;align-items:center;gap:var(--nve-ref-space-xs);border-radius:var(--border-radius);border-inline-start:var(--nve-ref-border-width-md) solid transparent;margin-inline-start:var(--nve-ref-space-xxxs);padding:var(--nve-ref-size-200) var(--nve-ref-size-200) var(--nve-ref-size-200) var(--nve-ref-size-100);min-height:var(--min-height);position:relative;& slot{width:fit-content;flex-shrink:0}& slot:not([name]){width:100%;min-width:0;flex-shrink:1;display:block}}[part=_node-header]{display:flex;flex-direction:column;width:100%;position:relative;min-width:0}:host(:focus-visible) [part=_node-header],::slotted(a:focus-visible):after{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}[name=content]{padding:var(--nve-ref-size-200);display:block}[part=_nodes]{width:100%;position:relative;display:block;padding-inline-start:var(--nve-ref-size-200);overflow:hidden;transition:height var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}:host([expanded]) [part=_nodes]{height:auto;height:calc-size(max-content,size)}[part=_nodes]:before{border-inline-start:var(--node-border);inset-inline-start:var(--nve-ref-size-150);inset-block:0;display:block;content:"";position:absolute}nve-icon-button{--width: var(--nve-ref-size-400);outline:0!important}nve-icon[name=caret]{transition:transform var(--nve-ref-animation-duration-150) cubic-bezier(.4,0,.2,1)}nve-checkbox{margin-inline-start:var(--nve-ref-space-xxs);margin-block-start:var(--nve-ref-space-xs);align-self:start}input{outline:0!important}::slotted(a){text-decoration:none!important;color:var(--color)!important;outline:0;vertical-align:middle}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}:host(:state(selected):state(selectable-single)) .node-title{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host(:state(selected):state(selectable-single)) .node-title:after{width:var(--nve-ref-border-width-md);border-radius:var(--nve-ref-border-radius-full);background:var(--nve-sys-accent-secondary-background);content:"";display:block;position:absolute;height:80%;inset-block-start:10%;inset-inline-start:calc(var(--nve-ref-size-50) * -1)}:host(:state(selectable-single)) .node-title{cursor:pointer}:host(:state(selectable-multi)){nve-icon-button{--width: var(--nve-ref-size-500)}slot[name=nodes]{padding-inline-start:var(--nve-ref-size-700)}[role=group]:before{inset-inline-start:var(--nve-ref-size-200)}}:host(:state(highlighted)){--border-radius: 0;.node-title{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}}.node-title{background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;&:hover{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}}`,ID={expand:`expand`},$=class extends h{constructor(...e){super(...e),this.command=``,this.commandfor=null,this.commandForElement=null,this.expanded=!1,this.selected=!1,this.expandable=!1,this.highlighted=!1,this.#e=new E(this,ID),this.i18n=this.#e.i18n,this.slot=`nodes`,this.indeterminate=!1,this.behaviorExpand=!1,this.behaviorSelect=!1,this.#n=new nr(this),this.#r=new rr(this),this.#i=new ci(this,{events:[]}),this.#c=e=>{let t=this.selectable&&e.code===`Space`,n=this.#a&&(e.code===`ArrowLeft`||e.code===`ArrowRight`);e.target===this&&(t||n)&&e.preventDefault()},this.#u=e=>{this.#l(e),this.#a&&e.code===`ArrowLeft`&&e.target===this&&this.close(),this.#a&&e.code===`ArrowRight`&&e.target===this&&this.open(),e.code===`Space`&&e.target===this&&this.selectable&&this.#p()}}#e;get#t(){return this.closest(`nve-tree`)}#n;#r;#i;get#a(){return this.expandable||this.expanded||!!this.nodes?.length}static{this.metadata={tag:`nve-tree-node`,version:`0.0.0`,parents:[`nve-tree`,`nve-tree-node`]}}static{this.elementDefinitions={[N.metadata.tag]:N,[M.metadata.tag]:M,[hS.metadata.tag]:hS}}static{this.styles=T([FD])}render(){return p`<div internal-host @slotchange="${this.#o}"><div part="_node">${this.#a?p`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @pointerup="${this.#f}" role="presentation" tabindex="-1" size="sm" container="inline" nofocus><nve-icon part="icon" name="caret" direction="${this.expanded?`down`:`right`}" size="sm"></nve-icon></nve-icon-button>`:m} ${this.selectable===`multi`?p`<nve-checkbox part="checkbox" nofocus><input type="checkbox" @change="${this.#h}" .checked="${this.selected}" .indeterminate="${this.indeterminate}" .ariaLabel="${this.i18n.expand}" tabindex="-1"></nve-checkbox>`:m}<div tabindex="0" part="_node-header"><div class="node-title" @click="${this.#d}"><slot name="prefix" part="_prefix"></slot><slot></slot><slot name="suffix" part="_suffix"></slot></div><slot name="content" part="_content"></slot></div></div><div role="group" part="_nodes"><slot name="nodes"></slot></div></div>`}connectedCallback(){super.connectedCallback(),S(this),this._internals.role=`treeitem`,this.addEventListener(`keydown`,this.#c),this.addEventListener(`keyup`,this.#u),this.#o()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`keydown`,this.#c),this.removeEventListener(`keyup`,this.#u)}open(){this.#n.open()}close(){this.#n.close()}#o(){this.requestUpdate(),this.#s()}#s(){this.#a?this._internals.states.add(`is-expandable`):this._internals.states.delete(`is-expandable`)}#c;#l(e){if(e.code!==`Enter`||e.defaultPrevented||e.repeat)return;let t=e.composedPath()[0];(t===this.shadowRoot?.querySelector(`[part="_node-header"]`)||t===this)&&this.#i.invoke()}#u;#d(e){let t=ln(e.currentTarget).length;this.#a&&!this.selectable&&!t&&this.#f(),this.selectable&&(!t||e.target.localName===`a`)&&this.#p();let n=e.composedPath();!n.slice(0,n.indexOf(e.currentTarget)).some(e=>e instanceof Element&&Kt(e))&&!e.defaultPrevented&&this.#i.invoke()}#f(){this.#n.toggle()}#p(){this.selectable===`single`&&this.#m(),this.selectable===`multi`&&this.#h()}#m(){this.#r.toggle(),this.behaviorSelect&&this.#t.nodes.filter(e=>e!==this).forEach(e=>e.selected=!1)}#h(){this.#r.toggle(),this.behaviorSelect&&(this.nodes.forEach(e=>{e.selected=this.selected,e.indeterminate=!1}),this.#t.nodes.forEach(e=>PD(e)))}};k([g({type:String})],$.prototype,`command`,void 0),k([g({type:String,reflect:!0})],$.prototype,`commandfor`,void 0),k([g({attribute:!1})],$.prototype,`commandForElement`,void 0),k([g({type:Boolean,reflect:!0})],$.prototype,`expanded`,void 0),k([g({type:Boolean,reflect:!0})],$.prototype,`selected`,void 0),k([g({type:Boolean})],$.prototype,`expandable`,void 0),k([g({type:String})],$.prototype,`selectable`,void 0),k([g({type:Boolean})],$.prototype,`highlighted`,void 0),k([g({type:Object})],$.prototype,`i18n`,void 0),k([lr()],$.prototype,`slot`,void 0),k([_({slot:`nodes`})],$.prototype,`nodes`,void 0),k([A()],$.prototype,`indeterminate`,void 0),k([A()],$.prototype,`behaviorExpand`,void 0),k([A()],$.prototype,`behaviorSelect`,void 0),$=k([v(),C({log:!1}),$n(),Zn(),Gn(),w(),qn()],$);var LD=`:host{--max-width: 100%;display:block;min-width:0}:host([border]){--node-border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}[internal-host]{max-width:var(--max-width);min-width:0}`,RD=`nve-tree-node:not(:has(>[slot=content]))::part(_content){display:none!important}nve-tree-node:not(:has(>[slot=prefix]))::part(_prefix){display:none!important}nve-tree-node:not(:has(>[slot=suffix]))::part(_suffix){display:none!important}nve-tree-node:not(:has(>[slot=nodes]))::part(_nodes){height:0}nve-tree-node:has(>[slot=nodes]):not([expanded])::part(_nodes){height:0}nve-tree-node>nve-tree-node:state(is-expandable){margin-inline-start:calc(-1 * var(--nve-ref-size-400));width:calc(100% + var(--nve-ref-size-400))}nve-tree-node>nve-tree-node:state(is-expandable):state(selectable-multi){margin-inline-start:calc(-1 * var(--nve-ref-size-500));width:calc(100% + var(--nve-ref-size-500))}nve-tree-node:has(nve-tree-node:state(is-expandable))::part(_nodes){padding-inline-start:var(--nve-ref-size-400)}nve-tree:has(>nve-tree-node:state(is-expandable))>nve-tree-node:not(:state(is-expandable))::part(_node){padding-inline-start:var(--nve-ref-size-400)}nve-tree:has(>nve-tree-node:state(is-expandable):state(selectable-multi))>nve-tree-node:not(:state(is-expandable)):state(selectable-multi)::part(_node){padding-inline-start:var(--nve-ref-size-500)}`,zD=class extends h{constructor(...e){super(...e),this.behaviorExpand=!1,this.behaviorSelect=!1,this.border=!1,this.#e=[]}static{this.styles=T([LD])}static{this.metadata={tag:`nve-tree`,version:`0.0.0`,children:[`nve-tree-node`]}}get nodes(){return Array.from(this.querySelectorAll($.metadata.tag))}get keynavListConfig(){return{items:this.openNodes.map(e=>e.shadowRoot.querySelector(`[part="_node-header"]`)).filter(e=>e!==null),layout:`vertical`}}get openNodes(){return this.nodes.filter(e=>e.expanded||e.parentNode.expanded||e.parentNode===this)}render(){return p`<div internal-host><slot name="nodes"></slot></div>`}#e;connectedCallback(){super.connectedCallback(),S(this),b(this,RD),this._internals.role=`tree`,this.#e.push(Ut(this,()=>{this.#t()},{subtree:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.#e.forEach(e=>e.disconnect())}async updated(e){super.updated(e),await this.updateComplete,this.#t()}#t(){this.#n(),this.#r()}#n(){this.nodes.forEach(e=>{e.selectable=this.selectable,e.behaviorExpand=this.behaviorExpand,e.behaviorSelect=this.behaviorSelect})}#r(){this.behaviorSelect&&this.selectable===`multi`&&this.nodes.forEach(e=>PD(e))}};k([g({type:String})],zD.prototype,`selectable`,void 0),k([g({type:Boolean,attribute:`behavior-expand`})],zD.prototype,`behaviorExpand`,void 0),k([g({type:Boolean,attribute:`behavior-select`})],zD.prototype,`behaviorSelect`,void 0),k([g({type:Boolean,reflect:!0})],zD.prototype,`border`,void 0),zD=k([v(),Pn()],zD),f(zD),f($);var BD=`:host{width:100%}`,VD={expand:`expand`},HD=class extends L{get i18nDefaults(){return VD}static{this.styles=T([...L.styles,yS,BD])}static{this.metadata={tag:`nve-week`,version:`0.0.0`}}static{this.elementDefinitions={[N.metadata.tag]:N}}get suffixContent(){return p`<nve-icon-button exportparts="icon:icon-button-icon" part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};k([g({type:String,reflect:!0})],HD.prototype,`container`,void 0),HD=k([w()],HD),f(HD),f(L),f(R),f(F),globalThis.NVE_ELEMENTS.state.bundle=!0;export{bx as Accordion,yx as AccordionContent,xx as AccordionGroup,vx as AccordionHeader,Tx as Alert,Dx as AlertGroup,kx as Avatar,jx as AvatarGroup,Nx as Badge,Fx as Breadcrumb,Si as Button,P as ButtonGroup,Hx as Card,Wx as CardContent,Gx as CardFooter,Ux as CardHeader,Jx as ChatMessage,hS as Checkbox,_S as CheckboxGroup,DS as Color,GS as Combobox,L as Control,R as ControlGroup,F as ControlMessage,ZS as CopyButton,eC as Date,rC as Datetime,G as Dialog,uC as DialogFooter,cC as DialogHeader,fC as Divider,mC as Dot,gC as DragHandle,K as Drawer,bC as DrawerContent,SC as DrawerFooter,wC as DrawerHeader,V as Dropdown,RS as DropdownFooter,EC as DropdownGroup,BS as DropdownHeader,MC as Dropzone,FC as File,GC as FormatBytes,q as FormatDatetime,J as FormatNumber,$C as FormatRelativeTime,vw as FormatTruncate,kw as Gauge,Ww as Grid,Iw as GridCell,Pw as GridColumn,Vw as GridFooter,zw as GridHeader,jw as GridPlaceholder,Rw as GridRow,sx as ICON_IMPORTS,lx as ICON_NAMES,cx as ICON_NAMES_SOLID,M as Icon,N as IconButton,Yw as Iframe,bS as Input,CS as InputGroup,$w as Joystick,rT as Logo,z as Menu,MS as MenuGroup,B as MenuItem,oT as Month,Y as Notification,uT as NotificationGroup,fT as Page,wT as PageHeader,OT as PageLoader,hT as PagePanel,_T as PagePanelContent,yT as PagePanelFooter,xT as PagePanelHeader,FT as Pagination,GT as Panel,UT as PanelContent,WT as PanelFooter,HT as PanelHeader,JT as Password,aE as PreferencesInput,cE as ProgressBar,dE as ProgressDot,X as ProgressRing,hE as ProgressiveFilterChip,_E as Pulse,yE as Radio,xE as RadioGroup,wE as Range,DE as ResizeHandle,kE as Search,MT as Select,jE as Skeleton,FE as SortButton,Z as Sparkline,rD as StarRating,sD as Steps,oD as StepsItem,XT as Switch,QT as SwitchGroup,mD as Tabs,_D as TabsGroup,pD as TabsItem,yD as TabsItemGroup,H as Tag,xD as Textarea,wD as Time,U as Toast,Q as Toggletip,kD as ToggletipFooter,jD as ToggletipHeader,ND as Toolbar,W as Tooltip,zD as Tree,$ as TreeNode,HD as Week,yS as inputStyles,dx as mergeIcons};
|
|
101
|
+
`}#u(){this.#a?.disconnect();let e=this.#e;e?(this.#a=new MutationObserver(()=>this.#l()),this.#a.observe(e.content,{childList:!0,subtree:!0,characterData:!0,attributes:!0})):this.#a=void 0}#d(){this.#o?.disconnect();let e=this.#t;e?(this.#o=new MutationObserver(()=>this.#l()),this.#o.observe(e.content,{childList:!0,subtree:!0,characterData:!0,attributes:!0})):this.#o=void 0}#f(){this.#s||(this.#s=new MutationObserver(()=>{this.#u(),this.#d(),this.#l()}),this.#s.observe(this,{childList:!0}))}#p(){let e=this.#r;e&&!this.#c&&(this.#c=new MutationObserver(()=>this.#h()),this.#c.observe(e,{attributeFilter:[`nve-theme`]}))}#m=()=>{let e=this.#n,t=this.#i;requestAnimationFrame(()=>{this.isConnected&&t===this.#i&&e?.style.removeProperty(`height`)}),this.#h()};#h=()=>{let e=this.#r?.getAttribute(`nve-theme`),t=this.#n?.contentWindow;if(e==null||t==null)return;let n={theme:e};t.postMessage(JSON.stringify(n),`*`)};#g=e=>{let t=this.#n;if(t===null||e.source!==t.contentWindow||typeof e.data!=`string`)return;let n;try{n=JSON.parse(e.data)}catch{return}eT(n)&&n.documentId===this.#i&&(this.style.setProperty(`--_width`,`${n.width}px`),this.style.setProperty(`--_height`,n.height===void 0?`auto`:`${n.height}px`))}};g(rT),g(xS),g(wS),g(R),g(z),g(L);var iT=`:host{--_size-scale: 1;--width: calc(8.125rem * var(--_size-scale));--height: calc(8.125rem * var(--_size-scale));--background: var(--nve-sys-interaction-background);--opacity: .6;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--thumb-width: calc(var(--nve-ref-size-600) * var(--_size-scale));--thumb-height: calc(var(--nve-ref-size-600) * var(--_size-scale));--thumb-background: var(--nve-sys-text-muted-color);--thumb-border: var(--nve-ref-border-width-sm) solid var(--nve-sys-layer-canvas-background);--_axis-size: calc(3rem * var(--_size-scale));display:inline-block;width:var(--width);height:var(--height);user-select:none}[internal-host]{position:relative;box-sizing:border-box;width:100%;height:100%;border:var(--border);border-radius:50%;cursor:grab}.background{position:absolute;inset:0;z-index:0;border-radius:inherit;background:var(--background);pointer-events:none}:host([opacity]) .background{opacity:var(--opacity)}[internal-host]:before,[internal-host]:after{content:"";position:absolute;z-index:1}[internal-host]:before{left:50%;top:0;bottom:0;border-left:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}[internal-host]:after{top:50%;left:0;right:0;border-top:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}.travel{position:absolute;inset:calc(var(--thumb-height) / 2) calc(var(--thumb-width) / 2);z-index:2}.thumb{position:absolute;box-sizing:border-box;width:var(--thumb-width);height:var(--thumb-height);border:var(--thumb-border);border-radius:50%;background:var(--thumb-background);transform:translate(-50%,-50%)}:host([constraint="square"]) [internal-host]{border-radius:var(--nve-ref-border-radius-md)}:host([size="sm"]){--_size-scale: .8}:host([size="lg"]){--_size-scale: 1.2}:host([constraint="horizontal"]){--height: var(--_axis-size)}:host([constraint="vertical"]){--width: var(--_axis-size)}:host([constraint="horizontal"]) [internal-host],:host([constraint="vertical"]) [internal-host]{border-radius:var(--nve-ref-border-radius-md)}:host(:focus-visible){outline:none}:host(:focus-visible) [internal-host]{outline:var(--nve-ref-border-width-md) solid var(--nve-sys-accent-secondary-background);outline-offset:var(--nve-ref-space-xs)}:host(:state(active)){--thumb-background: var(--nve-sys-accent-secondary-background)}:host(:state(active)) [internal-host]{cursor:grabbing}:host([disabled]){--background: var(--nve-sys-interaction-disabled-background);--thumb-background: var(--nve-sys-interaction-disabled-color)}:host([disabled]) [internal-host],:host([readonly]) [internal-host]{cursor:default}.announcement{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}`,aT={joystickPosition:`X {x}, Y {y}.`,joystickNoPosition:`No position.`,joystickInstructions:`Use arrow keys to adjust the enabled axes. Release to return to center. Press Escape to cancel.`,joystickHoldInstructions:`Use arrow keys to adjust the enabled axes. Release to keep the position. Escape and interruptions return to center.`,joystickReturnedToCenter:`{position} Returned to center.`},oT={ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0},ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1}},sT=class extends Wr(y){static{this.styles=k([iT])}static{this.metadata={tag:`nve-joystick`,version:`0.0.0`,valueSchema:{type:`object`,properties:{x:{type:`number`,minimum:-1,maximum:1},y:{type:`number`,minimum:-1,maximum:1}},required:[`x`,`y`],additionalProperties:!1}}}#e;#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;static get observedAttributes(){return[...super.observedAttributes,`tabindex`]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`tabindex`&&(this.#u=!1)}get disabled(){return super.disabled}set disabled(e){super.disabled=!!e,this.#S()}get readOnly(){return super.readOnly}set readOnly(e){super.readOnly=!!e,this.#S()}constructor(){super(),this.constraint=`circle`,this.size=`md`,this.opacity=!1,this.release=`center`,this.keyboardStep=.1,this.announce=`polite`,this.#e=new A(this,aT),this.i18n=this.#e.i18n,this.#t=``,this.#a=!1,this.#o=new Nt(this,{touchAction:()=>this.disabled||this.readOnly?void 0:`none`,suppressNativeDrag:!0}),this.#s=/* @__PURE__ */ new Set,this.#l=!1,this.#u=!1,this.#w=e=>{if(!(e instanceof CustomEvent))return;let t=e.detail;this.#S(),t.kind===`pointerdown`?this.#T(t):t.kind===`pointerend`&&this.#c?.pointerId===t.event.pointerId&&(t.interrupted||this.#C(t.event),this.#h(t.interrupted?t.reason===`cancel`?`pointer-cancel`:`lost-capture`:`release`))},this.#E=e=>{if(!(e instanceof CustomEvent))return;let t=e.detail;this.#S(),t.kind===`drag`&&this.#c?.pointerId===t.event.pointerId&&this.#C(t.event)},this.#D=e=>{if(e.key===`Escape`&&this.#c){e.preventDefault(),this.#h(`escape`);return}let t=oT[e.key];t&&this.#A(e,t)&&(e.preventDefault(),this.#s.add(e.key),this.#c||this.#p({source:`keyboard`,changed:!1}),this.#c&&this.#O(t))},this.#j=e=>{this.#c?.source===`keyboard`&&this.#s.delete(e.key)&&(e.preventDefault(),this.#s.size||this.#h(`release`))},this.#M=()=>{this.#S(),this.#h(`blur`),this.#b()},this.#N=()=>{globalThis.document.hidden&&(this.#h(`hidden`),this.#b())},this.value={x:0,y:0}}connectedCallback(){let e=this.getAttribute(`tabindex`),t=this.#u||e===null;super.connectedCallback(),e!==null&&this.setAttribute(`tabindex`,e),this.#u=t,this.hasUpdated&&(this.#o.target=this),this.addEventListener(`nve-gesture-input`,this.#w),this.addEventListener(`nve-gesture`,this.#E),this.addEventListener(`keydown`,this.#D),this.addEventListener(`keyup`,this.#j),this.addEventListener(`blur`,this.#M),globalThis.window?.addEventListener(`blur`,this.#M),globalThis.document?.addEventListener(`visibilitychange`,this.#N)}disconnectedCallback(){this.#h(`disconnect`),this.#b(),this.removeEventListener(`nve-gesture-input`,this.#w),this.removeEventListener(`nve-gesture`,this.#E),this.removeEventListener(`keydown`,this.#D),this.removeEventListener(`keyup`,this.#j),this.removeEventListener(`blur`,this.#M),globalThis.window?.removeEventListener(`blur`,this.#M),globalThis.document?.removeEventListener(`visibilitychange`,this.#N),super.disconnectedCallback()}firstUpdated(){this.#o.target=this}willUpdate(e){if(this.#S(),this.announce===`off`&&this.#b(),(e.has(`constraint`)||e.has(`release`)||e.has(`keyboardStep`))&&(this.#h(`configuration-change`),this.#b(),this.value)){let e=this.#f(this.value);lT(this.value,e)||(this.value=e)}}updated(){(this.#u||!this.hasAttribute(`tabindex`))&&(this.tabIndex=this.disabled?-1:0,this.#u=!0),this._internals.role=this.disabled||this.readOnly?`group`:`application`,this._internals.ariaLabel=this.ariaLabel||this.composedLabel||null,this._internals.ariaReadOnly=null,this._internals.ariaDescription=this.#d}get#d(){let e=this.#_(this.value);return this.disabled||this.readOnly?e:`${e} ${this.release===`hold`?this.i18n.joystickHoldInstructions:this.i18n.joystickInstructions}`}render(){let e=this.value??{x:0,y:0};return _`<div internal-host aria-hidden="true"><div class="background"></div><div class="travel"><div class="thumb" ?hidden="${!this.value}" style="${Aw({left:`${(e.x+1)*50}%`,top:`${(e.y+1)*50}%`})}"></div></div></div><span class="announcement" role="status" aria-live="${this.announce===`off`?`off`:`polite`}" aria-atomic="true">${this.#t}</span>`}updateValue(e){let t=this.#l&&cT(e)?this.#f(e):e;if(this.#l=!1,t!==void 0&&(!cT(t)||!lT(t,this.#f(t))))throw TypeError(`Joystick value must contain finite x and y coordinates within its constraint.`);super.updateValue(t),this.#a||(this.#i=void 0,this.#b())}reset(){this.#h(`reset`),this.#b(),this.#l=!0;try{super.reset()}finally{this.#l=!1}}formStateRestoreCallback(e,t){if(typeof e!=`string`)return;let n;try{n=e===``?void 0:JSON.parse(e)}catch{return}(n===void 0||cT(n)&&lT(n,this.#f(n)))&&(this.#h(`reset`),this.value=n)}_updateFormState(){if(!this.name||!this.value){this._internals.setFormValue(null,this.valueAsString);return}let e=new FormData;e.set(`${this.name}-x`,`${this.value.x}`),e.set(`${this.name}-y`,`${this.value.y}`),this._internals.setFormValue(e,this.valueAsString)}#f({x:e,y:t}){let n=this.hasUpdated?this.constraint:this.getAttribute(`constraint`)??this.constraint;if(n===`circle`){let n=Math.max(1,Math.hypot(e,t));return{x:e/n,y:t/n}}return{x:n===`vertical`?0:Math.max(-1,Math.min(1,e)),y:n===`horizontal`?0:Math.max(-1,Math.min(1,t))}}#p(e){this.#c=e,this.#i=void 0,this.#t=``,this.requestUpdate(),this._internals.states.add(`active`),this.dispatchEvent(new CustomEvent(`interaction-start`,{bubbles:!0,composed:!0,detail:{source:e.source}})),this.#S()}#m(e){if(!lT(this.value,e)){this.#a=!0;try{this.value=e}finally{this.#a=!1}this.#c&&(this.#i=e),this.#c&&(this.#c.changed=!0),this.dispatchInputEvent(),this.#S(),this.#c&&this.#i===e&&this.#y(e,`position`)}}#h(e){let t=this.#c;if(!t)return;let n=this.#i;this.#c=void 0,this.#s.clear(),this._internals.states.delete(`active`),this.#x(t.pointerId),e!==`reset`&&(e!==`release`||this.release!==`hold`)&&this.#m({x:0,y:0}),this.#g(e,this.#i?n:void 0),e===`release`&&t.changed&&this.dispatchChangeEvent(),this.dispatchEvent(new CustomEvent(`interaction-end`,{bubbles:!0,composed:!0,detail:{source:t.source,reason:e}}))}#g(e,t){e===`escape`?lT(this.value,{x:0,y:0})&&this.#y({x:0,y:0},`position`):e===`release`&&t?this.release===`hold`&&lT(this.value,t)?this.#y(t,`position`):this.release!==`hold`&&lT(this.value,{x:0,y:0})&&this.#y(t,`return`):this.#b()}#_(e){if(!e)return this.i18n.joystickNoPosition??aT.joystickNoPosition;let t,n={maximumFractionDigits:6,useGrouping:!1};try{t=new Intl.NumberFormat(globalThis.document?.documentElement.lang||void 0,n)}catch{t=new Intl.NumberFormat(void 0,n)}let r=e=>t.format(Number(e.toFixed(6))||0);return(this.i18n.joystickPosition??``).replaceAll(`{x}`,r(e.x)).replaceAll(`{y}`,r(e.y))}get#v(){return this.isConnected&&this.matches(`:focus`)&&!this.disabled&&!this.readOnly&&this.announce!==`off`&&!globalThis.document.hidden}#y(e,t){this.#v&&(this.#n={value:e,kind:t},this.#r===void 0&&(this.#r=setTimeout(()=>{this.#r=void 0;let e=this.#n;if(this.#n=void 0,!e||!this.#v)return;let t=this.#_(e.value),n=e.kind===`return`?this.i18n.joystickReturnedToCenter?.replaceAll(`{position}`,t):t;n&&n!==this.#t&&(this.#t=n,this.requestUpdate())},500)))}#b(){clearTimeout(this.#r),this.#r=void 0,this.#n=void 0,this.#t&&(this.#t=``,this.requestUpdate())}#x(e){e!==void 0&&(this.hasPointerCapture(e)&&this.releasePointerCapture(e),this.#o.target=void 0,this.isConnected&&this.hasUpdated&&(this.#o.target=this))}#S(){(this.disabled||this.readOnly)&&(this.#h(this.disabled?`disabled`:`readonly`),this.#b())}#C(e){let t=this.shadowRoot?.querySelector(`.travel`)?.getBoundingClientRect();!t||t.width<=0||t.height<=0||this.#m(this.#f({x:(e.clientX-t.left)/t.width*2-1,y:(e.clientY-t.top)/t.height*2-1}))}#w;#T(e){!this.hasUpdated||this.disabled||this.readOnly||this.#c||e.event.button!==0||e.claim({kind:`drag`})&&(e.event.preventDefault(),e.event.pointerType!==`touch`&&this.focus({preventScroll:!0}),this.#p({source:`pointer`,pointerId:e.event.pointerId,changed:!1}),this.#c&&this.#C(e.event))}#E;#D;#O(e){let t=this.#k,n=this.value??{x:0,y:0};this.#m(this.#f({x:Number((n.x+e.x*t).toFixed(6)),y:Number((n.y+e.y*t).toFixed(6))}))}get#k(){return Number.isFinite(this.keyboardStep)&&this.keyboardStep>0&&this.keyboardStep<=1?this.keyboardStep:.1}#A(e,t){return e.altKey||e.ctrlKey||e.metaKey||this.disabled||this.readOnly||this.#c?.source===`pointer`?!1:this.constraint===`horizontal`?t.y===0:this.constraint!==`vertical`||t.x===0}#j;#M;#N};M([b({type:String,reflect:!0})],sT.prototype,`constraint`,void 0),M([b({type:String,reflect:!0})],sT.prototype,`size`,void 0),M([b({type:Boolean,reflect:!0})],sT.prototype,`opacity`,void 0),M([b({type:String,reflect:!0})],sT.prototype,`release`,void 0),M([b({type:Number,attribute:`keyboard-step`})],sT.prototype,`keyboardStep`,void 0),M([b({type:String})],sT.prototype,`announce`,void 0),M([b({type:Object})],sT.prototype,`i18n`,void 0);function cT(e){return typeof e==`object`&&!!e&&`x`in e&&`y`in e&&typeof e.x==`number`&&typeof e.y==`number`&&Number.isFinite(e.x)&&Number.isFinite(e.y)&&Object.keys(e).length===2}function lT(e,t){return e!==void 0&&Math.abs(e.x-t.x)<1e-12&&Math.abs(e.y-t.y)<1e-12}g(sT);var uT=`:host{--background: var(--state-color-background);--color: var(--state-color);--gap: var(--nve-ref-space-xs);--height: var(--nve-ref-size-800);--width: var(--nve-ref-size-800);--font-size: calc(var(--width) / 2);--border-radius: calc(var(--height) * .2);--font-weight: var(--nve-ref-font-weight-bold);width:var(--width);height:var(--height);display:inline-block}[internal-host]{font-weight:var(--font-weight);font-size:var(--font-size);gap:var(--gap);color:var(--color);width:var(--width);height:var(--height);border-radius:var(--border-radius);display:inline-flex;place-items:center;place-content:center;line-height:0}::slotted([nve-text]){color:inherit!important}::slotted(nve-icon){--color: var(--state-color);--width: var(--font-size);--height: var(--font-size)}:host([size="sm"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="lg"]){--width: calc(var(--nve-ref-size-1000) * 1.55);--height: calc(var(--nve-ref-size-1000) * 1.55)}:host([color]) [internal-host]{background:var(--background)}`,dT=class extends y{static{this.styles=k([uT,hr])}static{this.metadata={tag:`nve-logo`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`img`}};M([b({type:String,reflect:!0})],dT.prototype,`color`,void 0),M([b({type:String,reflect:!0})],dT.prototype,`size`,void 0),g(dT),g(MS),g(PS),g(IS);var fT=`:host{width:100%}`,pT={expand:`expand`},mT=class extends R{get i18nDefaults(){return pT}static{this.styles=k([...R.styles,bS,fT])}static{this.metadata={tag:`nve-month`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};M([b({type:String,reflect:!0})],mT.prototype,`container`,void 0),mT=M([O()],mT),g(mT),g(R),g(z),g(L);var hT=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xl);--nve-sys-interaction-color: var(--color);--nve-sys-interaction-hover-color: var(--color);--border-radius: var(--nve-ref-border-radius-md);--status-color: var(--nve-sys-support-color);--background: var(--nve-sys-layer-popover-background);--color: var(--nve-sys-layer-popover-color);--padding: var(--nve-ref-size-500) var(--nve-ref-size-900);--box-shadow: var(--nve-ref-shadow-400);--gap: var(--nve-ref-space-md);--min-width: 320px;--width: fit-content;--max-width: fit-content;--border: 0;--status-border: 6px solid var(--status-color);width:var(--width)}[internal-host]{box-shadow:var(--box-shadow);padding:var(--padding);border-radius:var(--border-radius);background:var(--background);color:var(--color);gap:var(--gap);border:var(--border);border-inline-start:var(--status-border);min-width:var(--min-width);max-width:var(--max-width);display:flex;flex-direction:column;position:relative}[internal-host]:has(nve-icon-button){padding-inline-end:var(--nve-ref-size-1000)}nve-icon-button{position:absolute;inset-block-start:var(--nve-ref-size-150);inset-inline-end:var(--nve-ref-size-150)}nve-icon-button::part(icon){--color: var(--nve-sys-layer-popover-color) !important}[part=status-icon],::slotted([slot="icon"]){position:absolute;inset-block-start:var(--nve-ref-size-400);inset-inline-start:var(--nve-ref-size-300);--color: var(--status-color)}::slotted([nve-text]){color:inherit!important}:host([container="flat"]){--max-width: 100%;--width: 100%;--border-radius: 0;--box-shadow: none;--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--background: var(--nve-sys-layer-overlay-accent-background);--color: var(--nve-sys-layer-overlay-color);position:relative;margin:0}:host([container="flat"]) nve-icon-button::part(icon){--color: var(--nve-sys-layer-overlay-color) !important}:host([container="flat"]) .popover{border-block-end:var(--border)}:host([status="accent"]){--status-color: var(--nve-sys-support-accent-color)}:host([status="success"]){--status-color: var(--nve-sys-support-success-color)}:host([status="warning"]){--status-color: color-mix(in oklab, var(--nve-sys-support-warning-color) 90%, var(--nve-sys-contrast-mute-color))}:host([status="danger"]){--status-color: var(--nve-sys-support-danger-color)}`,gT={close:`close`,danger:`danger`,information:`information`,success:`success`,warning:`warning`},G=class extends y{constructor(...e){super(...e),this.anchor=globalThis.document?.body,this.closable=!1,this.closeTimeout=0,this.#e=new A(this,gT),this.i18n=this.#e.i18n,this.inline=!1}#e;get popoverType(){return`manual`}get popoverInline(){return this.parentElement?.localName===`nve-notification-group`||this.inline||this.container===`flat`}#t;#n;get#r(){return _`<slot name="icon"><nve-icon .name="${Sr[this.status]}" .ariaLabel="${(this.status?this.i18n[this.status]:void 0)??this.i18n.information}" part="status-icon"></nve-icon></slot>${this.closable?_`<nve-icon-button part="icon-button" @click="${this.hidePopover}" icon-name="cancel" size="sm" container="flat" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<slot></slot>`}static{this.styles=k([vr,hT])}static{this.metadata={tag:`nve-notification`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F,[I.metadata.tag]:I}}render(){return _`<div internal-host>${this.#r}</div>`}connectedCallback(){super.connectedCallback(),T(this),this.#n=new MutationObserver(()=>this.#i()),this.#n.observe(this,{attributeFilter:[`hidden`]}),this._internals.role=`alert`,this.#i()}disconnectedCallback(){this.#a(),this.#n?.disconnect(),this.#n=void 0,super.disconnectedCallback()}async firstUpdated(e){super.firstUpdated(e),this.popoverInline?this.setAttribute(`nve-popover`,``):this.typeNativePopoverController=new ar(this),this.#i()}updated(e){super.updated(e),(e.has(`closeTimeout`)||e.has(`container`)||e.has(`inline`))&&this.#i()}hidePopover(){this.#a(),this.popoverInline?this.dispatchEvent(new CustomEvent(`close`,{bubbles:!0,composed:!0})):super.hidePopover()}#i(){this.#a(),this.popoverInline&&this.closeTimeout&&!this.hidden&&(this.#t=setTimeout(()=>this.hidePopover(),this.closeTimeout))}#a(){this.#t!==void 0&&(clearTimeout(this.#t),this.#t=void 0)}};M([b({type:String})],G.prototype,`anchor`,void 0),M([b({type:String})],G.prototype,`trigger`,void 0),M([b({type:String,reflect:!0})],G.prototype,`position`,void 0),M([b({type:String,reflect:!0})],G.prototype,`alignment`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],G.prototype,`behaviorTrigger`,void 0),M([b({type:Boolean})],G.prototype,`closable`,void 0),M([b({type:Number,attribute:`close-timeout`})],G.prototype,`closeTimeout`,void 0),M([b({type:String,reflect:!0})],G.prototype,`status`,void 0),M([b({type:String,reflect:!0})],G.prototype,`container`,void 0),M([b({type:Object})],G.prototype,`i18n`,void 0),M([b({type:Boolean})],G.prototype,`inline`,void 0),G=M([O()],G);var _T=`:host{--nve-sys-layer-popover-arrow-padding: 0px;--nve-sys-layer-popover-arrow-offset: 0px;--nve-sys-layer-popover-offset: var(--nve-ref-space-xl);--box-shadow: var(--nve-ref-shadow-200);position:fixed;top:0;left:0;z-index:99}[internal-host]{display:flex;flex-direction:column-reverse;gap:var(--nve-ref-space-sm)}::slotted(nve-notification){position:relative;translate:none;margin:0;position-anchor:initial!important}`,vT=class extends y{constructor(...e){super(...e),this.anchor=globalThis.document?.body,this.typeNativePopoverController=new ar(this)}static{this.styles=k([vr,_T])}get popoverType(){return`manual`}static{this.metadata={tag:`nve-notification-group`,version:`0.0.0`,children:[`nve-notification`]}}render(){return _`<div internal-host><slot @slotchange="${()=>this.showPopover()}"></slot></div>`}};M([b({type:String})],vT.prototype,`anchor`,void 0),M([b({type:String,reflect:!0})],vT.prototype,`position`,void 0),M([b({type:String,reflect:!0})],vT.prototype,`alignment`,void 0),vT=M([S()],vT),g(G),g(vT);var yT=`:host{--background: var(--nve-sys-layer-canvas-background);--color: var(--nve-sys-layer-canvas-color);--gap: var(--nve-ref-space-md);--padding: 0;display:block;height:100dvh;width:stretch;overflow:hidden}:host([document-scroll]){height:auto!important}[internal-host]{background:var(--background);color:var(--color);height:100%;display:grid;grid-template-rows:auto auto 1fr auto auto;grid-template-columns:auto auto 1fr auto auto;grid-template-areas:"header header header header header" "left-aside subheader subheader subheader right-aside" "left-aside left main right right-aside" "left-aside left bottom right right-aside" "left-aside subfooter subfooter subfooter right-aside" "footer footer footer footer footer"}slot{display:flex;background:var(--background);scroll-behavior:smooth;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}[name=header]{grid-area:header;flex-direction:column}[name=subheader]{grid-area:subheader;flex-direction:column}[name=left],[name=right]{z-index:1}[name=left]{grid-area:left;height:100%}[name=right]{grid-area:right;height:100%}[name=bottom]{grid-area:bottom;height:fit-content;flex-direction:column}[name=left-aside],[name=right-aside]{position:relative;z-index:2}[name=left-aside]{grid-area:left-aside;height:100%}[name=right-aside]{grid-area:right-aside;height:100%}[name=subfooter]{grid-area:subfooter}[name=footer]{grid-area:footer}::slotted(nve-page-panel){--border: 0}::slotted(nve-toolbar[slot="footer"]),::slotted(nve-toolbar[slot="subfooter"]),::slotted(nve-page-panel[slot="footer"]),::slotted(nve-page-panel[slot="subfooter"]){border-block-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);width:100%}::slotted(nve-page-panel[slot="left"]),::slotted(nve-page-panel[slot="left-aside"]),::slotted(nve-toolbar[slot="left-aside"]){border-inline-end:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="right"]),::slotted(nve-page-panel[slot="right-aside"]),::slotted(nve-toolbar[slot="right-aside"]){border-inline-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="bottom"]){border-block-start:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-page-panel[slot="subheader"]),::slotted(nve-toolbar[slot="subheader"]){border-block-end:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}::slotted(nve-toolbar){--border-radius: 0;--box-shadow: none}::slotted(nve-toolbar[slot="subheader"]),::slotted(nve-toolbar[slot="subfooter"]),::slotted(nve-toolbar[slot="footer"]){height:fit-content}::slotted(nve-toolbar[slot="left-aside"]),::slotted(nve-toolbar[slot="right-aside"]){--min-height: 100%}::slotted(nve-resize-handle[slot]){--background: transparent}::slotted(nve-resize-handle[slot="left"]){margin-inline-start:calc(-1 * var(--nve-ref-border-width-md))}::slotted(nve-resize-handle[slot="right"]){margin-inline-end:calc(-1 * var(--nve-ref-border-width-md))}slot:not([name]){gap:var(--gap);padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;slot{display:contents}}::slotted(main){width:100%;height:100%}`,bT=class extends y{constructor(...e){super(...e),this.documentScroll=!1}static{this.styles=k([yT])}static{this.metadata={tag:`nve-page`,version:`0.0.0`}}static{this.elementDefinitions={}}render(){return _`<div internal-host><slot name="header"></slot><slot name="subheader"></slot><slot name="left-aside"></slot><slot name="left"></slot><slot></slot><slot name="bottom"></slot><slot name="right"></slot><slot name="right-aside"></slot><slot name="subfooter"></slot><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this)}};M([b({type:Boolean,reflect:!0,attribute:`document-scroll`})],bT.prototype,`documentScroll`,void 0),bT=M([S({excessiveInstanceLimit:1})],bT);var xT=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--animation-duration: var(--nve-ref-animation-duration-200);--background: var(--nve-sys-layer-container-background);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--color: var(--nve-sys-layer-overlay-color);--gap: var(--nve-ref-space-sm);--padding: 0;--height: 100%;--width: 100%;--max-width: 100%;--max-height: 100%;height:var(--height);width:var(--width);max-width:var(--max-width);max-height:var(--max-height);overflow:auto}[internal-host]{position:relative;border:var(--border);background:var(--background);color:var(--color);display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;width:100%}:host([slot="left-aside"]),:host([slot="right-aside"]){width:fit-content}:host([slot="left"]),:host([slot="right"]){--width: 100vw;--max-width: 340px}:host([slot="left"][size="sm"]),:host([slot="right"][size="sm"]){--max-width: 240px}:host([slot="left"][size="lg"]),:host([slot="right"][size="lg"]){--max-width: 400px}:host([slot="bottom"]){--height: 100vw;--max-height: 320px}:host([slot="bottom"][size="sm"]){--max-height: 220px}:host([slot="bottom"][size="lg"]){--max-height: 380px}:host([style*="width"]){--width: 100%;--max-width: 100%}[part=_header]{display:flex;align-items:center}slot[name=actions]{display:block;margin-inline-start:auto;position:absolute;inset-block-start:0;inset-inline-end:0;z-index:99}.content{padding:var(--padding);display:flex;flex-direction:column;align-items:start;overflow:auto;flex:1}:host([slot="left"][hidden]),:host([slot="right"][hidden]),:host([slot="bottom"][hidden]){pointer-events:none}:host([slot="left"]){transition:margin-inline-start var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-inline-start:0}:host([slot="left"][hidden]){margin-inline-start:calc(-1 * var(--max-width))}:host([slot="right"]){transition:margin-inline-end var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-inline-end:0}:host([slot="right"][hidden]){margin-inline-end:calc(-1 * var(--max-width))}:host([slot="bottom"]){transition:margin-block-end var(--animation-duration) ease-in-out,display var(--animation-duration) allow-discrete;margin-block-end:0}:host([slot="bottom"][hidden]){margin-block-end:calc(-1 * var(--max-height))}@starting-style{:host([slot="left"]:not([hidden]):state(reopened)){margin-inline-start:calc(-1 * var(--max-width))}:host([slot="right"]:not([hidden]):state(reopened)){margin-inline-end:calc(-1 * var(--max-width))}:host([slot="bottom"]:not([hidden]):state(reopened)){margin-block-end:calc(-1 * var(--max-height))}}`,ST=`nve-page-panel:has(nve-page-panel-header){&::part(_header){border-bottom:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color)}}nve-page-panel-header:has(nve-tabs){--padding: var(--nve-ref-size-200) var(--nve-ref-size-300)}`,CT=class extends y{static{this.styles=k([xT])}static{this.metadata={tag:`nve-page-panel`,version:`0.0.0`,parents:[`nve-page`]}}static get observedAttributes(){return[...super.observedAttributes,`hidden`]}constructor(){super(),new er(this,{useHidden:!0})}render(){return _`<div internal-host><div part="_header"><slot name="header"></slot><slot name="actions"></slot></div><div class="content"><slot></slot></div><div><slot name="footer"></slot></div></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.states.delete(`reopened`),C(this,ST),this._internals.role=`region`}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`hidden`&&t!==null&&n===null&&this.isConnected&&this._internals.states.add(`reopened`)}};M([b({type:String,reflect:!0})],CT.prototype,`size`,void 0);var wT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);width:100%;height:100%;flex:1;justify-content:stretch;flex-direction:column;display:flex;overflow:auto;gap:var(--gap);contain:none;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}[internal-host]{background:var(--background);padding:var(--padding);height:100%;width:100%;flex:1}::slotted(nve-menu){--width: 100%}`,TT=class extends y{static{this.styles=k([wT])}static{this.metadata={tag:`nve-page-panel-content`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}},ET=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));display:block}[internal-host]{background:var(--background);border-top:var(--border-top);padding:var(--padding);gap:var(--gap);min-height:var(--min-height);display:flex;align-items:center}`,DT=class extends y{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=k([ET])}static{this.metadata={tag:`nve-page-panel-footer`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}};M([D()],DT.prototype,`slot`,void 0);var OT=`:host{--padding: var(--nve-ref-size-300);display:block;width:100%}[internal-host]{background:var(--background);padding:var(--padding);color:var(--color);display:flex}`,kT=class extends y{constructor(...e){super(...e),this.slot=`header`}static{this.styles=k([OT])}static{this.metadata={tag:`nve-page-panel-header`,version:`0.0.0`}}render(){return _`<div internal-host><slot></slot></div>`}};M([D()],kT.prototype,`slot`,void 0),g(bT),g(CT),g(DT),g(kT),g(TT),xr.enable();var AT=`:host{--background: var(--nve-sys-layer-shell-background);--padding: var(--nve-ref-space-xs) var(--nve-ref-space-lg);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--margin-inline: var(--nve-ref-space-lg);contain:initial;height:48px;width:100%}[internal-host]{background:var(--background);padding:var(--padding);border-bottom:var(--border-bottom);display:flex;flex-direction:row;place-items:center flex-start;justify-content:space-between;line-height:0;height:100%}slot{display:flex;flex-direction:row;place-items:center flex-start;margin:0;min-height:0}slot:not([name]){width:100%;margin-inline:var(--margin-inline)}::slotted(h1[slot="prefix"]),::slotted(h2[slot="prefix"]),::slotted(a[slot="prefix"]){font-size:var(--nve-ref-font-size-200)!important;font-weight:var(--nve-ref-font-weight-semibold)!important;color:var(--nve-sys-text-muted-color)!important;margin:0!important;text-wrap:nowrap!important;text-decoration:none!important}::slotted(h1[slot="prefix"]):before,::slotted(h2[slot="prefix"]):before,::slotted(a[slot="prefix"]):before,::slotted(h1[slot="prefix"]):after,::slotted(h2[slot="prefix"]):after,::slotted(a[slot="prefix"]):after{display:none!important}::slotted(a),::slotted(span){text-wrap:nowrap!important}[internal-host]{--gap: var(--nve-ref-space-xxs)}slot{gap:var(--gap)}::slotted([slot="prefix"]:not([container="flat"])){margin-inline-end:var(--gap)!important}::slotted([slot="suffix"]:not([container="flat"])){margin-inline-start:var(--gap)!important}::slotted(nve-icon-button[interaction][slot="suffix"]:last-child){margin-inline-start:var(--nve-ref-space-md)!important}`,jT=`nve-page-header [nve-text]{text-wrap-mode:nowrap}`,MT=class extends y{static{this.styles=k([AT])}static{this.metadata={tag:`nve-page-header`,version:`0.0.0`}}render(){return _`<div internal-host><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),C(this,jT),T(this),this._internals.role=`navigation`}};g(MT);var NT=`:host{--background-color: var(--nve-sys-interaction-background);--ring-color: var(--nve-sys-accent-secondary-background);--ring-background-opacity: 1;--ring-width: 2px;--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--animation-duration: calc(var(--nve-ref-animation-duration-400) * 2.5);width:var(--width);height:var(--height);container-type:size}:host([size="xxs"]){--ring-width: 3px;--width: var(--nve-ref-size-300);--height: var(--nve-ref-size-300)}:host([size="xs"]){--ring-width: 3px;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400)}:host([size="sm"]){--ring-width: 2.5px;--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="lg"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}:host([size="xl"]){--ring-width: 1px;--width: calc(2 * var(--nve-ref-space-xxxl));--height: calc(2 * var(--nve-ref-space-xxxl))}[internal-host]{display:flex;place-items:center;place-content:center;height:100%}svg{position:absolute;top:0;left:0;width:100%;height:100%}circle.background{fill:var(--background-color);opacity:var(--ring-background-opacity);stroke:none}circle.progress-ring-circle{fill:none;stroke:var(--ring-color);stroke-width:var(--ring-width);stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all .2s ease-in-out 0s}:host([status="success"]){--ring-color: var(--nve-sys-support-success-emphasis-color);--background-color: var(--nve-sys-support-success-muted-color)}:host([status="warning"]){--ring-color: var(--nve-sys-support-warning-emphasis-color);--background-color: var(--nve-sys-support-warning-muted-color)}:host([status="danger"]){--ring-color: var(--nve-sys-support-danger-emphasis-color);--background-color: var(--nve-sys-support-danger-muted-color)}:host([status="neutral"]){--ring-background-opacity: .5;--ring-color: var(--color, var(--nve-sys-interaction-color));--background-color: var(--color, var(--nve-sys-interaction-color))}:host([status="accent"]) [internal-host]:not([indeterminate]) circle.background{stroke:var(--background-color);fill:none;stroke-width:var(--ring-width)}:host([status="accent"]) [internal-host][indeterminate] circle.background{display:none}:host([status="neutral"]) [internal-host]:not([indeterminate]) circle.background{stroke:var(--background-color);fill:none;stroke-width:var(--ring-width)}:host([status="neutral"]) [internal-host][indeterminate] circle.background{display:none}[internal-host][indeterminate] circle.progress-ring-circle{animation:var(--animation-duration) linear 0s infinite normal none running spin-infinite}::slotted(nve-icon),nve-icon{--width: 50cqw;--height: 50cqh;--color: var(--ring-color)}@keyframes spin-infinite{0%{stroke-dasharray:.01px,43.97px;transform:rotate(0)}50%{stroke-dasharray:21.99px,21.99px;transform:rotate(450deg)}to{stroke-dasharray:.01px,43.97px;transform:rotate(1080deg)}}`,PT={danger:`danger`,information:`information`,success:`success`,warning:`warning`},FT=class extends y{constructor(...e){super(...e),this.max=100,this.status=`neutral`,this.#e=new A(this,PT),this.i18n=this.#e.i18n}static{this.styles=k([NT])}static{this.metadata={tag:`nve-progress-ring`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}#e;render(){return _`<div internal-host ?indeterminate="${this.value===void 0}"><svg viewBox="0 0 16 16" role="presentation"><circle cx="8px" cy="8px" r="6.5px" class="background"></circle><circle cx="8px" cy="8px" r="6.5px" class="progress-ring-circle" stroke-dasharray="${`${(this.value??0)/(this.max??100)*44}px 44px`}"></circle></svg><slot>${this.status===`accent`?``:_`<nve-icon part="icon" .name="${this.status?Sr[this.status]:void 0}" .status="${this.status}" aria-hidden="true"></nve-icon>`}</slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`progressbar`}updated(e){super.updated(e),this._internals.ariaValueNow=`${this.value===void 0?``:this.value}`,this._internals.ariaValueMax=`${this.max}`;let{status:t}=this,n=t!==void 0&&t!==`neutral`&&t!==`accent`?this.i18n[t]:void 0;this._internals.ariaLabel=n??this.i18n.information??null}};M([b({type:Number})],FT.prototype,`value`,void 0),M([b({type:Number})],FT.prototype,`max`,void 0),M([b({type:String,reflect:!0})],FT.prototype,`status`,void 0),M([b({type:String,reflect:!0})],FT.prototype,`size`,void 0),M([b({type:Object})],FT.prototype,`i18n`,void 0),FT=M([O()],FT);var IT=`:host{inset:0!important;margin:auto;height:fit-content;--gap: var(--nve-ref-space-sm)}[internal-host]{gap:var(--gap);display:flex;flex-direction:column;align-items:center}[internal-host]{outline:0}:host::backdrop{background:#00000080}`,LT=class extends y{constructor(...e){super(...e),this.position=`center`,this.popoverType=`manual`,this.typeNativePopoverController=new ar(this),this.anchor=globalThis.document?.body}static{this.styles=k([vr,IT])}static{this.metadata={tag:`nve-page-loader`,version:`0.0.0`}}static{this.elementDefinitions={[FT.metadata.tag]:FT}}render(){return _`<div internal-host><nve-progress-ring part="progress-ring" status="accent" size="xl"></nve-progress-ring><slot></slot></div>`}};M([N()],LT.prototype,`anchor`,void 0),LT=M([O()],LT),g(LT);var RT=`:host{--padding: 0 var(--nve-ref-size-800) 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: var(--nve-ref-size-800);--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--border: var(--nve-ref-border-width-md) solid transparent;--border-bottom: var(--border);--gap: var(--nve-ref-space-xxs);--cursor: pointer;--font-weight: normal;--text-align: start;--scroll-height: 50vh;--width: 100%;--control-width: var(--width);--max-width: 100%;--min-width: fit-content;--_input-background: var(--background);--_icon-color: var(--color);--_gap: var(--gap);--size: 1;--_height: var(--height);contain:initial;width:var(--width);max-width:var(--max-width);min-width:var(--min-width)}:host([fit-text]){--min-width: initial}[internal-host]{position:relative}[input]{scroll-behavior:smooth;scrollbar-color:color-mix(in oklab,var(--nve-sys-scrollbar-thumb-color) 100%,currentColor 20%) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width);height:var(--_height);background:var(--background);border:var(--border);border-bottom:var(--border-bottom);border-radius:var(--border-radius);width:var(--control-width);color:var(--color);align-items:center;display:flex;align-content:stretch;position:relative}[name=caret]{right:var(--nve-ref-size-300);align-self:center;pointer-events:none;position:absolute;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}::slotted(select){appearance:none!important;color:var(--color)!important;padding:var(--padding)!important;font-size:var(--font-size)!important;cursor:var(--cursor)!important;font-weight:var(--font-weight)!important;text-align:var(--text-align)!important;height:var(--_height)!important;width:100%!important;border:0!important;background:none!important;display:block!important}[internal-host]:has(nve-menu:focus-within) [input]{outline:0!important}:host(:state(selected)){--font-weight: var(--nve-ref-font-weight-semibold)}:host([fit-content]:state(multiple)) [internal-host]:has(nve-tag) ::slotted(select){width:var(--nve-ref-size-1000)!important}:host(:state(multiple)){--padding: 0 var(--nve-ref-size-300) 0 var(--nve-ref-size-100)}:host(:state(multiple)) [input]{padding:var(--padding)}:host(:state(multiple)) .tags{width:fit-content;display:flex;gap:var(--gap)}:host(:state(multiple)) .tags-label{padding:0 var(--nve-ref-size-200);font-size:var(--font-size);cursor:var(--cursor);font-weight:var(--font-weight);position:absolute;left:0;display:none;pointer-events:none}:host(:state(multiple-overflow)) .tags,:host([multiple-overflow]) .tags{opacity:0;pointer-events:none;position:absolute}:host(:state(multiple-overflow)) .tags-label,:host([multiple-overflow]) .tags-label,.placeholder.tags-label{display:block!important}:host([size]:state(multiple)) .tags,:host([size]:state(multiple)) .tags-label{display:none!important}:host(:state(multiple)) ::slotted(select[multiple]){opacity:0!important}:host(:state(size)){--_row-height: calc(var(--height) * var(--size) + var(--gap) * (var(--size) - 1));--_height: calc(var(--_row-height) + var(--nve-ref-border-width-md) * 2)}:host(:state(size)) [input]{overflow:auto;display:block}:host(:state(size)) [input] slot:not([name]){display:none}:host([layout*="horizontal"][size]) ::slotted(label){padding-block-start:var(--nve-ref-size-100)!important;align-self:start!important}:host([layout*="horizontal"][size]) slot[name=label]{align-self:start}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}nve-tag{--background: color-mix(in oklab, var(--color) 15%, var(--_input-background));--padding: var(--nve-ref-size-100) var(--nve-ref-size-200);--cursor: pointer !important}:host(:state(disabled)) nve-tag{pointer-events:none!important;--cursor: not-allowed !important}nve-dropdown{--padding: var(--nve-ref-size-200)}nve-menu{--max-height: var(--scroll-height);--gap: var(--_gap)}nve-menu-item{--text-transform: initial;contain:content;content-visibility:auto}nve-menu-item:not(:state(selected)) nve-icon[name=check]{opacity:0}nve-menu-item nve-icon{--color: inherit}slot:not([name]),slot[name*=option-]{display:contents}:host([container="flat"]){--background: unset;--border-radius: 0;--box-shadow: none;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}:host([container="flat"]) [input]{background:inherit}:host([container="flat"]) nve-tag{--background: var(--nve-sys-interaction-field-background)}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([container="flat"][size]){--border-bottom: 0 !important}:host([container="flat"]:focus-within) [input]{outline:0!important}:host([container="inline"]){--border-radius: 0;--box-shadow: none}:host([container="inline"]) [input]{background:inherit}`,zT=`nve-select select[multiple] option{pointer-events:none!important}`,BT={select:`select`,selected:`selected`},VT=class extends R{constructor(...e){super(...e),this.#e=new A(this,BT),this.i18n=this.#e.i18n,this.#l=[],this.#h=/* @__PURE__ */ new Map}static{this.styles=k([...R.styles,RT])}static{this.metadata={tag:`nve-select`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F,[B.metadata.tag]:B,[MS.metadata.tag]:MS,[IS.metadata.tag]:IS,[KS.metadata.tag]:KS}}#e;get#t(){return this.input}get#n(){return Array.from(this.#t?.options?this.#t.options:[])}get#r(){return this.shadowRoot.querySelector(B.metadata.tag)}get#i(){return this.shadowRoot.querySelectorAll(IS.metadata.tag)}get#a(){return this.shadowRoot.querySelector(`[input]`)}get#o(){return this.shadowRoot.querySelector(`.tags`)}get#s(){return this.shadowRoot.querySelector(`[name="caret"]`)}get#c(){return this.#n.find(e=>e.selected&&e.hidden&&e.disabled)}#l;#u;#d;get#f(){let e=this.#c,t=e?e.innerText:`${this.#t.selectedOptions.length} ${this.i18n.selected}`;return _`<div class="tags-label ${e?`placeholder`:``}" aria-hidden="true">${t}</div>`}get prefixContent(){return this.#t?.multiple&&this.#t?.size===0?_`${this.#f}<div class="tags">${this.#n.filter(e=>e.selected&&e!==this.#c).map(e=>_`<nve-tag part="tag" readonly="readonly" color="gray-slate" closable .value="${e.value}" @click="${()=>this.#w(e,!1)}">${e.textContent}</nve-tag>`)}</div>`:v}get#p(){return _`<nve-menu part="menu" role="listbox" style="--width:100%;--min-width:fit-content" aria-label="${kS(this.i18n.select)}">${this.#n.filter(e=>e!==this.#c).map((e,t)=>_`<nve-menu-item part="menu-item" role="option" @click="${()=>this.#w(e,!e.selected)}" ?selected="${e.selected}" ?disabled="${e.disabled}" ?hidden="${!!e.hidden}" aria-selected="${e.selected}"><slot name="option-${t+1}"><nve-icon part="icon" name="check" size="sm" aria-hidden="true"></nve-icon>${e.innerText}</slot></nve-menu-item>`)}</nve-menu>`}get suffixContent(){return this.#t?.size===0?_`<nve-icon name="caret" part="caret" direction="down" size="sm" aria-hidden="true"></nve-icon><nve-dropdown part="dropdown" @close="${this.#x}" @open="${this.#b}" hidden .anchor="${this.#a}" position="bottom">${this.#p}</nve-dropdown>`:this.#p}async firstUpdated(e){super.firstUpdated(e),await this.updateComplete,this.#y()}#m(){this.#l.push(rn(this.#t,`value`,()=>this.requestUpdate()),Bt(this.#t,()=>this.requestUpdate(),{attributes:!0,subtree:!0}),Bt(this.#t,()=>this.#v(),{subtree:!0}))}#h;#g(){this.#_(),this.#S(),this.#m(),this.#v()}#_(){this.#l.forEach(e=>e.disconnect()),this.#l=[],this.#h.clear(),this.#u=void 0,this.#d=void 0}#v(){let e=new Set(this.#n);this.#h.forEach((t,n)=>{e.has(n)||(t.disconnect(),this.#h.delete(n),this.#l=this.#l.filter(e=>e!==t))}),this.#n.forEach(e=>{if(!this.#h.has(e)){let t=rn(e,`selected`,()=>this.requestUpdate());this.#h.set(e,t),this.#l.push(t)}})}connectedCallback(){super.connectedCallback(),C(this,zT),this.updateComplete.then(()=>{this.isConnected&&this.#g()})}disconnectedCallback(){super.disconnectedCallback(),this.#_()}async updated(e){super.updated(e),this.#t?.size&&this.#t?.size!==0?(this._internals.states.add(`size`),this.style.setProperty(`--size`,`${this.#t.size}`)):(this._internals.states.delete(`size`),this.style.removeProperty(`--size`)),this.#t?.multiple&&this.#t?.size===0?this._internals.states.add(`multiple`):this._internals.states.delete(`multiple`),this.#C()}#y(){this.#t?.size===0&&Xt(this.#t,()=>{this.requestUpdate(),this.#r.style.setProperty(`--min-width`,`${this.#a.getBoundingClientRect().width}px`),this.#r.showPopover(),qt(this.#i[0])})}#b(){this.#r.hidden=!1,this.#s.direction=`up`}#x(){this.#r.hidden=!0,this.#s.direction=`down`}#S(){let e=this.#a;if(!e)return;let t,n=new ResizeObserver(n=>{let r=n.find(t=>t.target===e);r&&(t=r.contentRect.width),this.isConnected&&t!==void 0&&this.#T(t)});this.#u=n,this.#l.push(n),n.observe(e),this.#C()}#C(){let e=this.#u;if(!e)return;let t=this.#o;t!==this.#d&&(this.#d&&e.unobserve(this.#d),this.#d=t,t?e.observe(t):this._internals.states.delete(`multiple-overflow`))}async#w(e,t){(this.#t.multiple||!this.#t.multiple&&e.value!==this.#t.value)&&(e.selected=t),this.#t.selectedOptions.length<1&&(this.#t.value=t?e.value:``),this.#t.dispatchEvent(new Event(`input`,{bubbles:!0})),this.#t.dispatchEvent(new Event(`change`,{bubbles:!0})),this.requestUpdate(),!this.#t.multiple&&this.#r?this.#r.hidePopover():(await this.updateComplete,this.#T(this.#a.getBoundingClientRect().width))}#T(e){let t=this.#o;this.#t?.multiple&&t&&t.getBoundingClientRect().width>e-48?this._internals.states.add(`multiple-overflow`):this._internals.states.delete(`multiple-overflow`)}};M([b({type:String,reflect:!0})],VT.prototype,`container`,void 0),M([b({type:Object})],VT.prototype,`i18n`,void 0),VT=M([br(),O()],VT);var HT=`:host{--font-size: var(--nve-ref-font-size-100);width:fit-content;display:inline-flex;contain:initial}[internal-host]{display:flex;align-items:center}label{color:var(--nve-sys-text-muted-color);font-size:var(--nve-ref-font-size-100);margin-inline:var(--nve-ref-space-xxs);white-space:nowrap}.select-label{background:var(--nve-sys-interaction-field-background);color:var(--nve-sys-interaction-field-color);padding:0 var(--nve-ref-size-200);font-size:var(--font-size);position:absolute;inset:var(--nve-ref-size-50);display:flex;place-items:center;pointer-events:none;text-wrap:nowrap;width:fit-content}:host([container="flat"]) select,:host([container="inline"]) select{opacity:0}:host([container="flat"]) .select-label,:host([container="inline"]) .select-label{background:transparent}:host([container="inline"]) select{opacity:0}:host([container="inline"]) nve-select{--width: fit-content;margin-inline-end:0}:host([container="inline"]) label{margin-inline:0}nve-input{margin-inline-end:var(--nve-ref-space-xs);--width: fit-content}nve-select{margin-inline-end:var(--nve-ref-space-xs);--width: fit-content}nve-icon-button:state(disabled){--nve-sys-interaction-state-ratio-disabled: 0 !important}`,UT={of:`of`,previous:`previous`,next:`next`,start:`start`,end:`end`,currentPage:`current page`},WT=class extends Wr(y){#e;static{this.styles=k([HT])}static{this.metadata={tag:`nve-pagination`,version:`0.0.0`,valueSchema:{type:`number`}}}static{this.elementDefinitions={[I.metadata.tag]:I,[VT.metadata.tag]:VT}}get keynavListConfig(){return{items:this.shadowRoot.querySelectorAll(`${I.metadata.tag}, input, select`),layout:`horizontal`}}get#t(){return(this.value-1)*this.step+this.step}get#n(){return this.items/this.value===this.step}get#r(){return this.value===1}get#i(){let e=(this.value-1)*this.step+1,t=Math.min(this.value*this.step,this.items||1/0);return`${wr(e)}-${wr(t)}`}get#a(){return this.items?_`<label><slot name="suffix-label">${this.i18n.of} ${wr(this.items)}</slot></label>`:v}get#o(){return _`<nve-icon-button part="icon-button previous-icon-button" @click="${()=>this.#m(this.value-1)}" .disabled="${this.disabled||this.#t<=this.step}" .ariaLabel="${this.i18n.previous}" container="inline" icon-name="chevron" direction="left"></nve-icon-button>`}get#s(){return _`<nve-icon-button part="icon-button next-icon-button" @click="${()=>this.#m(this.value+1)}" .disabled="${this.disabled||this.#t>=this.items}" .ariaLabel="${this.i18n.next}" container="inline" icon-name="chevron" direction="right"></nve-icon-button>`}get#c(){return _`<nve-icon-button part="icon-button start-icon-button" @click="${()=>this.#m(1)}" .disabled="${this.disabled||this.#t<=this.step}" .ariaLabel="${this.i18n.start}" container="inline" icon-name="arrow-stop" direction="left"></nve-icon-button>`}get#l(){return _`<nve-icon-button part="icon-button end-icon-button" @click="${()=>this.#m(this.items/this.step)}" .disabled="${this.disabled||(this.value-1)*this.step+this.step>=this.items}" .ariaLabel="${this.i18n.end}" container="inline" icon-name="arrow-stop" direction="right"></nve-icon-button>`}#u;get#d(){return this.disableStep?_`<label>${this.#i} </label>`:_`<nve-select part="select" .container="${this.container}"><select .ariaLabel="${this.i18n.currentPage}" @change="${e=>this.#p(parseInt(e.target.value,10))}" value="${this.step}" .disabled="${this.disabled||this.disableStep}">${this.stepSizes.map(e=>_`<option ?selected="${this.step===e}" value="${e}">${e}</option>`)}</select><div class="select-label">${this.#i}</div></nve-select>`}render(){return _`<div internal-host role="presentation">${this.skippable&&this.items?_`${this.#c} ${this.#o} ${this.#d} ${this.#a} ${this.#s} ${this.#l}`:_`${this.#d} ${this.#a} ${this.#o} ${this.#s}`}</div>`}constructor(){super(),this.step=10,this.stepSizes=[10,20,50,100],this.#e=new A(this,UT),this.i18n=this.#e.i18n,this.value=1}async connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`toolbar`,await this.updateComplete,this.#f()}disconnectedCallback(){super.disconnectedCallback(),this.#u?.unobserve(this)}#f(){let e=this.shadowRoot.querySelector(`.select-label`),t=this.shadowRoot.querySelector(`select`);e&&t&&(this.#u=new ResizeObserver(e=>t.style.minWidth=`${e[0].contentRect.width+36}px`),this.#u.observe(e))}#p(e){this.step=e,this.dispatchEvent(new CustomEvent(`step-change`,{detail:this.step,bubbles:!0,composed:!0})),this.#m(this.value)}#m(e){this.value!==e&&(this.value=e,this.dispatchInputEvent(),this.dispatchChangeEvent()),this.#n&&this.dispatchEvent(new CustomEvent(`last-page`,{bubbles:!0,composed:!0})),this.#r&&this.dispatchEvent(new CustomEvent(`first-page`,{bubbles:!0,composed:!0}))}};M([b({type:Number})],WT.prototype,`step`,void 0),M([b({type:Array,attribute:`step-sizes`})],WT.prototype,`stepSizes`,void 0),M([b({type:Number})],WT.prototype,`items`,void 0),M([b({type:Boolean})],WT.prototype,`skippable`,void 0),M([b({type:Boolean,attribute:`disable-step`})],WT.prototype,`disableStep`,void 0),M([b({type:String,reflect:!0})],WT.prototype,`container`,void 0),M([b({type:Object})],WT.prototype,`i18n`,void 0),WT=M([E(),Mn(),O()],WT),g(WT);function GT(e,t,n){return e?t(e):n?.(e)}var KT=`:host{--background: var(--nve-sys-layer-container-background);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--color: var(--nve-sys-layer-canvas-color);--box-shadow: var(--nve-ref-shadow-300);--panel-button-border-radius: 0 var(--nve-ref-border-radius-full) var(--nve-ref-border-radius-full) 0;overflow:hidden;-webkit-transition:width .24s ease;-webkit-transition:height .24s ease;contain:none;position:relative}[internal-host]{display:flex;flex-direction:column;align-items:stretch;justify-content:start;height:100%;color:var(--color);box-shadow:var(--box-shadow);background:var(--background)}:host(:not(:state(expanded))){--box-shadow: none}:host(:not([closable],:state(expanded))) [internal-host]{width:var(--nve-ref-size-800)!important;height:var(--nve-ref-size-800)!important;background:none}:host(:not([closable],:state(expanded))){pointer-events:none}:host(:not([closable],:state(expanded))) slot{display:none}:host(:not([closable],:state(expanded))) nve-icon-button{position:initial;pointer-events:auto;border-radius:var(--panel-button-border-radius);background:var(--background);align-items:center;justify-content:center}:host([closable]:not(:state(expanded))){display:none}:host([side="right"]){float:right}:host(:not([closable],:state(expanded))[side="right"]) nve-icon-button{--panel-button-border-radius: var(--nve-ref-border-radius-full) 0 0 var(--nve-ref-border-radius-full)}.header{min-height:var(--nve-ref-size-900);display:flex;align-items:start}:host(:state(expanded)) .header{border-block-end:var(--border-bottom)}.content{display:flex;flex-direction:column;align-items:start;flex-grow:1}nve-icon-button{margin-block-start:var(--nve-ref-space-xxs);margin-inline:auto var(--nve-ref-space-xxs);z-index:99}`,qT=`:host{--padding: var(--nve-ref-size-300) 0 var(--nve-ref-size-300) var(--nve-ref-size-400);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);flex-grow:1}[internal-host]{padding:var(--padding);color:var(--color);display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-grow:1}::slotted([slot="title"]){margin:0;font-size:var(--nve-ref-font-size-200);font-weight:var(--nve-ref-font-weight-semibold)}::slotted([slot="subtitle"]){margin:0;font-size:var(--nve-ref-font-size-100);font-weight:var(--nve-ref-font-weight-regular);color:var(--nve-sys-text-muted-color)}::slotted([slot="action-icon"]){margin-block-start:calc((var(--nve-ref-size-300) * -1) + var(--nve-ref-size-100));align-self:self-start;z-index:99}`,JT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);padding:var(--padding);color:var(--color);flex-grow:1;width:100%;contain:none}::slotted(nve-menu){--width: 100%}`,YT=`:host{--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--gap: var(--nve-ref-space-sm)}footer[internal-host]{padding:var(--padding);border-top:var(--border-top);color:var(--color);display:flex;place-items:flex-start;gap:var(--gap);::slotted(nve-button){flex-grow:1}}`,XT={close:`close`,expand:`expand`,hide:`hide`,show:`show`},ZT=class extends y{static{this.styles=k([qT])}static{this.metadata={tag:`nve-panel-header`,version:`0.0.0`}}render(){return _`<div internal-host><div id="titles"><slot name="title"></slot><slot name="subtitle"></slot><slot></slot></div><slot name="action-icon"></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}},QT=class extends y{static{this.styles=k([JT])}static{this.metadata={tag:`nve-panel-content`,version:`0.0.0`}}render(){return _`<slot></slot>`}},$T=class extends y{static{this.styles=k([YT])}static{this.metadata={tag:`nve-panel-footer`,version:`0.0.0`}}render(){return _`<footer internal-host><slot></slot></footer>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},eE=class extends y{constructor(...e){super(...e),this.expanded=!1,this.closable=!1,this.behaviorExpand=!1,this.side=`left`,this.#e=new A(this,XT),this.#t=new er(this),this.i18n=this.#e.i18n}static{this.styles=k([KT])}static{this.metadata={tag:`nve-panel`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}#e;#t;get#n(){return this.side===`left`?this.expanded?`left`:`right`:this.expanded?`right`:`left`}render(){return _`<div internal-host><div class="header"><slot name="header"></slot>${GT(!this.closable,()=>_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" .container="${this.expanded?`flat`:void 0}" icon-name="double-chevron" @click="${()=>this.#t.toggle()}" .direction="${this.#n}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.close:this.i18n.expand}"></nve-icon-button>`,()=>_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" container="flat" icon-name="cancel" @click="${()=>this.#t.close()}" .expanded="${this.expanded}" .ariaLabel="${this.expanded?this.i18n.hide:this.i18n.show}"></nve-icon-button>`)}</div><div class="content"><slot></slot></div><slot name="footer"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`region`}};M([b({type:Boolean,reflect:!0})],eE.prototype,`expanded`,void 0),M([b({type:Boolean})],eE.prototype,`closable`,void 0),M([b({type:Boolean,attribute:`behavior-expand`})],eE.prototype,`behaviorExpand`,void 0),M([b({type:String})],eE.prototype,`side`,void 0),M([b({type:Object})],eE.prototype,`i18n`,void 0),eE=M([O(),Un()],eE),g(eE),g(ZT),g(QT),g($T);var tE=`:host{width:100%}`,nE={hide:`hide`,show:`show`},rE=class extends R{constructor(...e){super(...e),this.pressed=!1}get i18nDefaults(){return nE}static{this.styles=k([...R.styles,bS,tE])}static{this.metadata={tag:`nve-password`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" @click="${()=>this.#e()}" .pressed="${this.pressed}" .iconName="${this.pressed?`eye-hidden`:`eye`}" container="inline" .ariaLabel="${this.pressed?this.i18n.hide:this.i18n.show}"></nve-icon-button>`}#e(){this.pressed=!this.pressed,this.input.type=this.pressed?`text`:`password`}};M([b({type:String,reflect:!0})],rE.prototype,`container`,void 0),M([N()],rE.prototype,`pressed`,void 0),rE=M([O()],rE),g(rE),g(R),g(z),g(L);var iE=`:host{--cursor: pointer;--border-radius: var(--nve-ref-border-radius-xxl);--border-width: var(--nve-ref-border-width-sm);--border: var(--border-width) solid transparent;--background: var(--nve-sys-interaction-field-background);--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-500);--padding: 0 var(--nve-ref-size-50);--anchor-width: calc(var(--nve-ref-size-300) + var(--nve-ref-size-50));--anchor-height: calc(var(--nve-ref-size-300) + var(--nve-ref-size-50));--anchor-border-radius: var(--nve-ref-border-radius-xxl);--anchor-background: var(--nve-sys-interaction-disabled-color);display:inline-block;contain:layout}::slotted(input){cursor:var(--cursor)!important;appearance:none!important;position:absolute!important;inset:0!important;width:var(--width)!important;height:var(--height)!important;border-radius:var(--border-radius)!important;margin:0!important;padding:0!important}[input]{align-items:center;outline-offset:2px}[input] slot{cursor:var(--cursor);border-radius:var(--border-radius);border:var(--border);background:var(--background);height:var(--height);width:var(--width);padding:var(--padding);min-height:auto;display:flex!important;align-items:center;transition:background-color var(--nve-ref-animation-duration-150) ease;position:relative}[input] slot:after{border-radius:var(--anchor-border-radius);background:var(--anchor-background);height:var(--anchor-height);width:var(--anchor-width);display:inline-block;content:"";transition:transform var(--nve-ref-animation-duration-250) cubic-bezier(.12,.32,.54,2);pointer-events:none;will-change:transform}:host(:state(checked)){--background: var(--accent-color);--anchor-background: var(--nve-sys-text-white-color)}:host(:state(checked)) [input] slot:after{transform:translate(calc(calc(var(--width) / 2) - var(--border-width)))}:host(:state(checked):state(dirty)) [input] slot:after{animation:thumb-bounce var(--nve-ref-animation-duration-250) cubic-bezier(.12,.32,.54,2)}@keyframes thumb-bounce{0%{transform:translate(0) scale(1)}20%{transform:translate(calc(var(--width) / 4)) scale(1.15)}60%{transform:translate(calc(var(--width) / 1.8)) scale(.95)}to{transform:translate(calc(var(--width) / 2)) scale(1)}}`,aE=class extends R{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=k([...R.styles,iE])}static{this.metadata={tag:`nve-switch`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};M([D({attribute:`nve-control`})],aE.prototype,`nveControl`,void 0),aE=M([S()],aE);var oE=`:host{width:100%}`,sE=class extends z{static{this.styles=k([...z.styles,oE])}static{this.metadata={tag:`nve-switch-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-switch`]}}};sE=M([S()],sE);var cE=`:host{--color: var(--nve-sys-interaction-color);display:block;width:fit-content}[internal-host]{color:var(--color);display:flex;gap:var(--nve-ref-space-sm);flex-direction:column}nve-control,nve-switch{--label-text-transform: capitalize}nve-menu{--width: 100%}`,lE=[`auto`,`light`,`dark`,`high-contrast`],uE=[`default`,`compact`],dE={theme:`theme`,scale:`scale`,reducedMotion:`reduced motion`,colorScheme:`color scheme`},fE={auto:`computer`,light:`sun`,dark:`moon`,"high-contrast":`circle-half`};function pE(e=globalThis.document.documentElement){let t=getComputedStyle(e);return{light:t.getPropertyValue(`--nve-config-color-scheme-light`)===`true`,dark:t.getPropertyValue(`--nve-config-color-scheme-dark`)===`true`,"high-contrast":t.getPropertyValue(`--nve-config-color-scheme-high-contrast`)===`true`,compact:t.getPropertyValue(`--nve-config-scale-compact`)===`true`,"reduced-motion":t.getPropertyValue(`--nve-config-reduced-motion`)===`true`}}var mE=class extends Wr(y){#e;static{this.styles=k([cE])}static{this.metadata={tag:`nve-preferences-input`,version:`0.0.0`,valueSchema:{type:`object`,properties:{"color-scheme":{type:`string`},scale:{type:`string`},"reduced-motion":{type:`boolean`}}}}}static{this.elementDefinitions={[R.metadata.tag]:R,[_C.metadata.tag]:_C,[F.metadata.tag]:F,[MS.metadata.tag]:MS,[IS.metadata.tag]:IS,[aE.metadata.tag]:aE}}render(){return _`<div internal-host><nve-control part="control"><label>${this.i18n.colorScheme}</label><nve-menu part="menu" nve-control>${lE.map(e=>_`<nve-menu-item part="menu-item" .selected="${this.value?.[`color-scheme`]===e}" .value="${e}" @click="${()=>this.#n(e)}"><nve-icon part="icon" name="${fE[e]}"></nve-icon>${e}</nve-menu-item>`)}</nve-menu></nve-control>${this.activePreferences.compact?_`<nve-divider part="divider"></nve-divider><nve-control part="control"><label>${this.i18n.scale}</label><nve-menu part="menu" nve-control>${uE.map(e=>_`<nve-menu-item part="menu-item" .selected="${this.value?.scale===e}" .value="${e}" @click="${()=>this.#r(e)}">${e}</nve-menu-item>`)}</nve-menu></nve-control>`:``} ${this.activePreferences[`reduced-motion`]?_`<nve-divider part="divider"></nve-divider><nve-switch part="switch"><label>${this.i18n.reducedMotion}</label> <input type="checkbox" value="reduced-motion" .checked="${this.value?.[`reduced-motion`]}" @change="${e=>this.#i(e.target.checked)}"></nve-switch>`:``}</div>`}constructor(){super(),this.#e=new A(this,dE),this.i18n=this.#e.i18n,this.activePreferences={light:!1,dark:!1,"high-contrast":!1,compact:!1,"reduced-motion":!1},this.value={"color-scheme":`auto`,"reduced-motion":!1,scale:`default`}}connectedCallback(){super.connectedCallback(),this.setAttribute(`nve-control`,``),this.#t()}updateValue(e){super.updateValue({...this.value,...e}),this.#t()}#t(){{let e=pE();JSON.stringify(this.activePreferences)!==JSON.stringify(e)&&(this.activePreferences=e)}}#n(e){this.value={...this.value,"color-scheme":e},this.#a()}#r(e){this.value={...this.value,scale:e},this.#a()}#i(e){this.value={...this.value,"reduced-motion":e},this.#a()}#a(){this.dispatchInputEvent(),this.dispatchChangeEvent()}};M([b({type:Object})],mE.prototype,`i18n`,void 0),M([N()],mE.prototype,`activePreferences`,void 0),mE=M([O()],mE),g(mE);var hE=Ci(class extends wi{constructor(e){if(super(e),e.type!==Si.ATTRIBUTE||e.name!==`class`||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return` `+Object.keys(e).filter(t=>e[t]).join(` `)+` `}update(e,[t]){if(this.st===void 0){this.st=/* @__PURE__ */ new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(` `).split(/\s/).filter(e=>e!==``)));for(let e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}let n=e.element.classList;for(let e of this.st)e in t||(n.remove(e),this.st.delete(e));for(let e in t){let r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return Ye}}),gE=`:host{display:flex;width:100%;line-height:0;--height: var(--nve-ref-size-200);--opacity: 1;--accent-color: var(--nve-sys-interaction-color);--background: var(--nve-sys-interaction-background)}:host([status="accent"]){--accent-color: var(--nve-sys-accent-secondary-background)}:host([status="success"]){--accent-color: var(--nve-sys-support-success-color)}:host([status="warning"]){--accent-color: var(--nve-sys-support-warning-color)}:host([status="danger"]){--accent-color: var(--nve-sys-support-danger-color)}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--background);border-radius:var(--nve-ref-border-radius-full);height:var(--height);opacity:var(--opacity);width:100%}progress[value]::-webkit-progress-bar{background-color:inherit;border-radius:var(--nve-ref-border-radius-full)}progress[value]::-webkit-progress-value{border-radius:var(--nve-ref-border-radius-full);border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--accent-color)}progress[value].full::-webkit-progress-value{border-top-right-radius:var(--nve-ref-border-radius-full);border-bottom-right-radius:var(--nve-ref-border-radius-full)}progress[value].min-width::-webkit-progress-value{min-width:5px}progress[value]::-moz-progress-bar{border-radius:var(--nve-ref-border-radius-full);border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--accent-color)}:host(:not([value])){--height: var(--nve-ref-size-100);--opacity: .75}progress.indeterminate{--accent-color-faded: color-mix(in srgb, var(--accent-color), transparent 90%);--indeterminate-gradient: linear-gradient(to right, var(--accent-color-faded) 10%, var(--accent-color));--indeterminate-gradient-reverse: linear-gradient(to left, var(--accent-color-faded) 10%, var(--accent-color));will-change:transform;background-image:var(--indeterminate-gradient);animation:indeterminate-animation calc(var(--nve-ref-animation-duration-400) * 3) infinite cubic-bezier(.645,.045,.355,1)}progress[value].indeterminate::-webkit-progress-value{border-radius:var(--nve-ref-border-radius-none);background-color:transparent!important}@keyframes indeterminate-animation{0%{transform:scaleX(.015);transform-origin:0% 0%}25%{transform:scaleX(.4)}50%{transform:scaleX(.015);transform-origin:100% 0%;background-image:var(--indeterminate-gradient)}50.1%{transform:scaleX(.015);transform-origin:100% 0%;background-image:var(--indeterminate-gradient-reverse)}75%{transform:scaleX(.4)}to{transform:scaleX(.015);transform-origin:0% 0%;background-image:var(--indeterminate-gradient-reverse)}}`,_E=class extends y{constructor(...e){super(...e),this.max=100}static{this.styles=k([gE])}static{this.metadata={tag:`nve-progress-bar`,version:`0.0.0`}}render(){let e={full:this.value===this.max,"min-width":this.value!==void 0&&this.value>0,indeterminate:this.value===void 0};return _`<progress internal-host .max="${this.max}" .value="${this.value===void 0?100:this.value}" class="${hE(e)}"></progress>`}};M([b({type:Number,reflect:!0})],_E.prototype,`value`,void 0),M([b({type:Number})],_E.prototype,`max`,void 0),M([b({type:String,reflect:!0})],_E.prototype,`status`,void 0),_E=M([O()],_E),g(_E);var vE=`:host{--color: currentColor;--width: var(--nve-ref-size-500);--height: var(--nve-ref-size-500);--animation-duration: calc(var(--nve-ref-animation-duration-400) * 1.5);display:inline-flex;color:inherit}:host([size="sm"]){--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400)}:host([size="lg"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}[internal-host]{width:var(--width);height:var(--height);display:flex;align-items:center;justify-content:center}svg{width:100%;height:100%;fill:var(--color)}circle{opacity:1;transform-box:fill-box;transform-origin:center;animation:breathe var(--animation-duration) ease-in-out infinite}circle:nth-child(2){animation-delay:calc(var(--animation-duration) * 2 / 15)}circle:nth-child(3){animation-delay:calc(var(--animation-duration) * 4 / 15)}@keyframes breathe{0%,60%,to{opacity:var(--nve-ref-opacity-300);transform:scale(.7)}30%{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){circle{animation:none}}@container style(--nve-ref-animation-duration-150: 0){circle{animation:none}}`,yE={loading:`loading`},bE=class extends y{constructor(...e){super(...e),this.size=`md`,this.#e=new A(this,yE),this.i18n=this.#e.i18n}static{this.styles=k([vE])}static{this.metadata={tag:`nve-progress-dot`,version:`0.0.0`}}#e;render(){return _`<div internal-host><svg viewBox="0 0 36 36" aria-hidden="true"><circle cx="5" cy="18" r="3"></circle><circle cx="18" cy="18" r="3"></circle><circle cx="31" cy="18" r="3"></circle></svg></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`progressbar`}updated(e){super.updated(e),this._internals.ariaLabel=this.i18n.loading??null}};M([b({type:String,reflect:!0})],bE.prototype,`size`,void 0),M([b({type:Object})],bE.prototype,`i18n`,void 0),g(bE),g(FT);var xE=`nve-progressive-filter-chip{&:has([status=error]){--background: transparent}input::placeholder,textarea::placeholder{color:var(--nve-sys-text-placeholder-color)!important}nve-select:not(:state(multiple)){--padding: 0 var(--nve-ref-size-200)}nve-select:not(:state(multiple))::part(caret){display:none}}nve-progressive-filter-chip input::-webkit-search-cancel-button,nve-progressive-filter-chip input::-webkit-calendar-picker-indicator{opacity:0!important;display:none!important}`,SE=`:host{--gap: 1px;--border-radius: var(--nve-ref-border-radius-sm);--background: color-mix( in oklab, var(--nve-sys-interaction-field-background) 95%, var(--nve-sys-interaction-state-mix) );width:fit-content;min-width:fit-content;contain:initial;--border: none}[internal-host]{gap:var(--gap);border-radius:var(--border-radius);background:var(--background);display:flex;overflow:hidden;border:var(--border)}[nve-control],::slotted(nve-button){--font-weight: var(--nve-ref-font-weight-medium);--border-radius: 0;--width: fit-content}::slotted([nve-control]){--font-weight: var(--nve-ref-font-weight-medium);--border-radius: 0}[nve-control][fit-text],::slotted([nve-control][fit-text]){flex-shrink:0}[internal-host]>:nth-child(2){--font-weight: var(--nve-ref-font-weight-regular)}nve-select:not(:state(multiple))::part(caret){display:none}nve-icon-button{--border-radius: 0;--padding: var(--nve-ref-size-300)}`,CE={close:`close`},wE=class extends y{constructor(...e){super(...e),this.#e=new A(this,CE),this.i18n=this.#e.i18n,this.inputs=[],this.#t=new $n(this)}static{this.metadata={tag:`nve-progressive-filter-chip`,version:`0.0.0`}}static{this.elementDefinitions={[xS.metadata.tag]:xS,[VT.metadata.tag]:VT,[iC.metadata.tag]:iC,[I.metadata.tag]:I}}#e;static{this.styles=k([SE])}#t;#n(e){let t=_`<slot name="${e.slot}" @slotchange="${this.#r}"></slot>`;return e.tagName===`SELECT`?_`<nve-select part="select" multiple-overflow ?fit-text="${!e.multiple}">${t}</nve-select>`:e.tagName===`INPUT`&&e.type===`date`?_`<nve-date part="date">${t}</nve-date>`:e.tagName===`INPUT`?_`<nve-input part="input">${t}</nve-input>`:t}render(){return _`<div internal-host>${this.inputs.map(e=>this.#n(e))} ${this.closable?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${()=>this.#t.close()}" .ariaLabel="${this.i18n.close}" icon-name="cancel"></nve-icon-button>`:v}</div><slot hidden-slot @slotchange="${this.#i}"></slot>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`toolbar`,this.setAttribute(`nve-control`,``),C(this,xE)}#r(e){e.target.assignedElements().length||this.#a()}#i(e){if(e.target&&e.target.assignedElements().length){this.#a();let e=Array.from(this.shadowRoot.querySelector(`slot:not([name])`).assignedElements()).filter(e=>e.matches(`input, select, nve-button, [nve-control]`));e.forEach(e=>e.slot=Qt()),this.inputs=e.length?e:this.inputs}}#a(){Array.from(this.shadowRoot.querySelectorAll(`slot`)).flatMap(e=>e.assignedElements()).forEach(e=>e.slot=``)}};M([b({type:Boolean})],wE.prototype,`closable`,void 0),M([b({type:Object})],wE.prototype,`i18n`,void 0),M([N()],wE.prototype,`inputs`,void 0),wE=M([E(),O()],wE),g(wE);var TE=`:host{--background: var(--nve-ref-color-gray-slate-1100);--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000);--animation-duration: 2s;width:var(--width);height:var(--height)}:host([status="accent"]){--background: var(--nve-ref-color-brand-green-1100)}:host([status="warning"]){--background: var(--nve-sys-support-warning-color)}:host([status="danger"]){--background: var(--nve-sys-support-danger-color)}:host([size="xs"]){--width: var(--nve-ref-size-600);--height: var(--nve-ref-size-600)}:host([size="sm"]){--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800)}:host([size="md"]){--width: var(--nve-ref-size-1000);--height: var(--nve-ref-size-1000)}:host([size="lg"]){--width: calc(var(--nve-ref-size-1000) * 1.55);--height: calc(var(--nve-ref-size-1000) * 1.55)}[internal-host]{display:flex;place-items:center;place-content:center;height:100%}svg{position:absolute;top:0;left:0;width:100%;height:100%}.circle{fill:var(--background);transform-box:fill-box;transform-origin:center center}.c1,.c2,.c3{opacity:0;animation:pulse 2s ease-out infinite;animation-duration:var(--animation-duration)}.c1{transform:scale(.5);animation-delay:.5s}.c2{animation-delay:1s}.c3{animation-delay:1.5s}@keyframes pulse{0%{transform:scale(.5);opacity:0}50%{opacity:var(--nve-ref-opacity-150)}70%{opacity:calc(var(--nve-ref-opacity-150) * .9)}to{transform:scale(4);opacity:0}}`,EE=class extends y{static{this.styles=k([TE])}static{this.metadata={tag:`nve-pulse`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`alert`}render(){return _`<svg internal-host width="100%" height="100%" viewBox="0 0 200 200"><circle class="circle" cx="100" cy="100" r="25"></circle><circle class="circle c1" cx="100" cy="100" r="25"></circle><circle class="circle c2" cx="100" cy="100" r="25"></circle><circle class="circle c3" cx="100" cy="100" r="25"></circle></svg>`}};M([b({type:String,reflect:!0})],EE.prototype,`size`,void 0),M([b({type:String,reflect:!0})],EE.prototype,`status`,void 0),g(EE);var DE=`:host{--cursor: pointer;--width: var(--nve-ref-size-400);--height: var(--nve-ref-size-400);--border-width: var(--nve-ref-border-width-md);--border-radius: var(--nve-ref-border-radius-full);--border-color: var(--nve-ref-border-color);--radio-color: var(--border-color);--background: transparent;display:inline-block;contain:layout;will-change:transform,border-color}::slotted(input){width:var(--width)!important;height:var(--height)!important;cursor:var(--cursor)!important;margin:0!important;position:absolute!important;border-radius:var(--border-radius)!important;opacity:0!important;inset:0!important}[input]{align-items:center;position:relative}@keyframes radio-select-pop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}[input] slot{width:var(--width);height:var(--height);border:var(--border-width) solid var(--border-color);background:var(--background);border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;transition:transform var(--nve-ref-animation-duration-200) cubic-bezier(.12,.32,.54,2),border-color var(--nve-ref-animation-duration-150) ease;will-change:transform,border-color}[input] slot:before{content:"";width:calc(var(--width) / 2);height:calc(var(--height) / 2);border-radius:var(--border-radius);transform:scale(0);opacity:0;transition:transform var(--nve-ref-animation-duration-250) ease,opacity var(--nve-ref-animation-duration-200) ease,background-color var(--nve-ref-animation-duration-150) ease}:host(:state(checked):state(dirty)) [input] slot{animation:radio-select-pop var(--nve-ref-animation-duration-200) ease-out}:host(:state(checked)) [input] slot:before{background:var(--radio-color);transform:scale(1);opacity:1}:host(:state(checked)){--border-color: var(--accent-color)}:host(:state(disabled)){--border-color: var(--nve-sys-interaction-disabled-background)}`,OE=class extends R{constructor(...e){super(...e),this.nveControl=`inline`}static{this.styles=k([...R.styles,DE])}static{this.metadata={tag:`nve-radio`,version:`0.0.0`,children:[`label`,`input`,`nve-control-message`]}}};M([D({attribute:`nve-control`})],OE.prototype,`nveControl`,void 0),OE=M([S()],OE);var kE=`:host{width:100%}`,AE=class extends z{static{this.styles=k([...z.styles,kE])}static{this.metadata={tag:`nve-radio-group`,version:`0.0.0`,children:[`label`,`nve-control-message`,`nve-radio`]}}};AE=M([S(),E()],AE),g(OE),g(AE),g(R),g(z),g(L);var jE=`nve-range input[type=range]::-webkit-slider-thumb{width:var(--thumb-width);height:var(--thumb-height);background:var(--thumb-background);border-radius:50%;box-shadow:var(--thumb-border);margin-block-start:calc((var(--track-height) - var(--thumb-height)) / 2);appearance:var(--_appearance);filter:var(--filter)}nve-range input[type=range]::-webkit-slider-runnable-track{background:transparent;height:var(--track-height);border-radius:var(--nve-ref-border-radius-lg);align-self:center}nve-range:has(datalist) input[type=range]::-webkit-slider-container{min-block-size:auto}nve-range[orientation=vertical] input[type=range]::-webkit-slider-container{display:flex;align-items:center;overflow:visible}nve-range[orientation=vertical] input[type=range]::-webkit-slider-runnable-track{width:100%;height:100%}nve-range[orientation=vertical] input[type=range]::-webkit-slider-thumb{margin:0}`,ME=`:host{--background: var(--accent-color);--control-height: var(--nve-sys-interaction-field-height);--cursor: pointer;--track-width: .5;--track-height: var(--nve-ref-size-150);--track-border-radius: var(--nve-ref-border-radius-md);--track-background: var(--nve-sys-interaction-background);--thumb-width: var(--nve-ref-size-400);--thumb-height: var(--nve-ref-size-400);--thumb-background: var(--nve-sys-text-muted-color);--thumb-border: 0 0 0 2px var(--nve-sys-layer-canvas-background);width:100%;contain:layout}:host(:state(disabled)){--background: var(--nve-sys-interaction-disabled-background)}:host([prominence="muted"]){--filter: grayscale(90%)}:host(:not(:state(disabled)):hover) [input]{--filter: brightness(1.1)}:host([prominence="muted"]:not(:state(disabled)):hover) [input]{--filter: grayscale(90%) brightness(1.1)}::slotted(input){accent-color:var(--accent-color)!important;height:calc(var(--track-height) * 3)!important;cursor:var(--cursor)!important;margin:0!important;width:var(--control-width)!important;background:transparent;align-self:center;appearance:var(--_appearance);position:relative;z-index:2}[input]{position:relative;filter:none}[input]:before{content:"";display:block;width:100%;height:var(--track-height);background:var(--track-background);border-radius:var(--track-border-radius);filter:var(--filter);position:absolute;pointer-events:none;align-self:center;z-index:0;left:0}[input]:after{content:"";display:block;width:calc(var(--track-width) * 100% - var(--track-width) * var(--thumb-width) / 2);height:var(--track-height);background:var(--background);border-top-left-radius:var(--track-border-radius);border-bottom-left-radius:var(--track-border-radius);filter:var(--filter);position:absolute;pointer-events:none;align-self:center;z-index:1;left:0}[input]:has(.datalist-labels){flex-direction:column}[input]:has(.datalist-labels):before{margin-block-start:var(--track-height)}[input]:has(.datalist-labels):after{margin-block-start:var(--track-height)}.datalist-labels{display:flex;cursor:auto;position:relative;min-height:calc(var(--nve-ref-size-150) + var(--nve-ref-space-md) + 1em)}.datalist-tick{display:flex;flex-direction:column;align-items:center;gap:var(--nve-ref-space-xxs);transform:translate(-50%);font-size:var(--nve-ref-font-size-100);color:var(--nve-sys-text-muted-color);position:absolute}.datalist-tick:before{content:"";width:var(--nve-ref-size-100);height:var(--nve-ref-size-150);border-radius:var(--nve-ref-border-radius-md);background:var(--nve-sys-interaction-background)}:host([orientation="vertical"]){width:fit-content;height:100%;contain:layout}:host([orientation="vertical"]) [internal-host]{height:100%}:host([orientation="vertical"]) [input]{height:100%}:host([orientation="vertical"]) ::slotted(input){writing-mode:vertical-lr!important;direction:rtl!important;width:var(--thumb-width)!important;height:calc(100% - var(--track-height) * 2)!important;margin:var(--track-height) auto!important;align-self:auto!important}:host([orientation="vertical"]) [input]:before{width:var(--track-height);height:calc(100% - var(--track-height) * 2);left:50%;top:var(--track-height);transform:translate(-50%);align-self:auto}:host([orientation="vertical"]) [input]:after{width:var(--track-height);height:calc(var(--track-width) * (100% - var(--track-height) * 2) - var(--track-width) * var(--thumb-height) / 2);left:50%;top:auto;bottom:var(--track-height);transform:translate(-50%);align-self:auto;border-radius:var(--nve-ref-border-radius-none) var(--nve-ref-border-radius-none) var(--track-border-radius) var(--track-border-radius)}:host([orientation="vertical"]) [input]:has(.datalist-labels){flex-direction:row}:host([orientation="vertical"]) [input]:has(.datalist-labels):before,:host([orientation="vertical"]) [input]:has(.datalist-labels):after{margin-block-start:0}:host([orientation="vertical"]) .datalist-labels{flex-direction:column;height:calc(100% - var(--track-height) * 2);margin-block:var(--track-height);position:absolute;left:calc(50% + var(--thumb-width) / 2 + var(--nve-ref-space-xxs) / 2)}:host([orientation="vertical"]) .datalist-tick{flex-direction:row;transform:none}:host([orientation="vertical"]) .datalist-tick:before{width:var(--nve-ref-size-150);height:var(--nve-ref-size-100)}`,NE=class extends R{constructor(...e){super(...e),this.orientation=`horizontal`}static{this.styles=k([...R.styles,ME])}static{this.metadata={tag:`nve-range`,version:`0.0.0`}}connectedCallback(){super.connectedCallback(),C(this,jE),this._internals.ariaOrientation=this.orientation}firstUpdated(e){super.firstUpdated(e),this.#e(),this.input.addEventListener(`input`,()=>this.#e()),rn(this.input,`value`,e=>this.#e(e))}updated(e){super.updated(e),e.has(`orientation`)&&(this._internals.ariaOrientation=this.orientation)}#e(e){let t=e??this.input.valueAsNumber,n=this.input.min?parseFloat(this.input.min):0,r=this.input.max?parseFloat(this.input.max):100;this.style.setProperty(`--track-width`,`${Math.floor((t-n)/(r-n)*100)/100}`)}get suffixContent(){let e=this.querySelector(`datalist`);return e?this.#t(e):v}#t(e){let t=Array.from(e.options),n=this.input?.min?parseFloat(this.input.min):0,r=this.input?.max?parseFloat(this.input.max):100;return _`<div class="datalist-labels">${t.map(e=>{let t=parseFloat(e.value),i=(t-n)/(r-n)*100;return _`<span class="datalist-tick" style="${this.orientation===`vertical`?`bottom: ${i}%; transform: translateY(${i}%)`:`left: ${i}%; transform: translateX(-${i}%)`}">${e.textContent||t}</span>`})}</div>`}};M([b({type:String,reflect:!0})],NE.prototype,`orientation`,void 0),g(NE),g(R),g(z),g(L);var PE=`:host{--background: var(--nve-ref-border-color);--line-width: var(--nve-ref-border-width-sm);--target-size: var(--nve-ref-border-width-lg);--cursor: row-resize;display:block;contain:layout;cursor:var(--cursor);z-index:99}[internal-host]{width:100%;height:100%;:before,:after{display:block;content:" ";position:absolute;cursor:var(--cursor)}}.line{transition:background-color var(--nve-ref-animation-duration-200) ease-in,outline-color var(--nve-ref-animation-duration-200) ease-in;background:var(--background);outline:1px solid transparent;width:100%;height:100%}:host([orientation="horizontal"]){height:var(--line-width);width:100%;:before,:after{height:var(--target-size);width:100%}:before{top:calc(-1 * var(--target-size))}:after{bottom:calc(-1 * var(--target-size))}input{writing-mode:vertical-lr;direction:rtl}}:host([orientation="vertical"]){--cursor: col-resize;width:var(--line-width);height:100%;:before,:after{height:100%;width:var(--target-size)}:before{left:calc(-1 * var(--target-size))}:after{right:calc(-1 * var(--target-size))}}:host([dir="rtl"]){input{direction:rtl}}[internal-host]:hover,[internal-host]:has(input:focus),:host(:state(active)) [internal-host]{--background: var(--nve-sys-accent-secondary-background);.line{outline:1px solid var(--background)}}input{opacity:0;height:0;width:0;position:absolute}:host(:state(active)){--background: var(--nve-sys-accent-secondary-background)}`,FE={resize:`resize`},IE=class extends Wr(y){static{this.styles=k([PE])}get#e(){return this.shadowRoot.querySelector(`input`)}static{this.metadata={tag:`nve-resize-handle`,version:`0.0.0`,valueSchema:{type:`number`}}}#t;#n;#r;#i;render(){return _`<div internal-host><div class="line" part="_line"></div><input aria-label="${kS(this.ariaLabel??this.i18n.resize)}" type="range" min="${this.min}" max="${this.max}" .valueAsNumber="${this.valueAsNumber}" @input="${e=>this.#f(e.target.valueAsNumber)}" @change="${e=>this.#p(e.target.valueAsNumber)}" step="${this.step}"></div>`}constructor(){super(),this.orientation=`horizontal`,this.min=0,this.max=100,this.step=10,this.#t=new A(this,FE),this.i18n=this.#t.i18n,this.#i=0,this.#o=e=>{let t=e.detail;t.kind===`pointerdown`?t.event.button===0&&t.event.isPrimary&&this.#r===void 0&&t.claim({kind:`drag`})&&this.#c(t.event.pointerId):t.kind===`pointerend`&&t.event.pointerId===this.#r&&(t.interrupted?this.#d():(this.#l(t),this.#u()))},this.#s=e=>{e.detail.kind===`drag`&&e.detail.event.pointerId===this.#r&&this.#l(e.detail)},this.value=this.value??50,this.#i=this.valueAsNumber,this.#n=new Nt(this,{touchAction:`none`})}connectedCallback(){super.connectedCallback(),this._internals.role=`none`,this.addEventListener(`nve-gesture`,this.#s),this.addEventListener(`nve-gesture-input`,this.#o)}disconnectedCallback(){this.removeEventListener(`nve-gesture`,this.#s),this.removeEventListener(`nve-gesture-input`,this.#o),this.#d(),super.disconnectedCallback()}firstUpdated(e){super.firstUpdated(e),this.#n.target=this,this.addEventListener(`dblclick`,()=>{this.dispatchEvent(new CustomEvent(`toggle`,{cancelable:!0,bubbles:!0,composed:!0}))&&this.#a()})}#a(){let e=this.valueAsNumber<=this.max&&this.valueAsNumber!==this.min?this.min:this.max;this.#f(e),this.#p(e)}#o;#s;#c(e){this.#r=e,this.#e.step=`1`,this._internals.states.add(`active`),this.#i=this.valueAsNumber}#l(e){let t=(this.orientation===`vertical`?e.movementX:-e.movementY)*(this.dir===`rtl`?-1:1);t!==0&&(this.#i=Math.max(this.min,Math.min(this.max,this.#i+t)),this.#f(this.#i))}#u(){this.#i=this.valueAsNumber,this.#e.step=`${this.step}`,this.#r=void 0,this._internals.states.delete(`active`),this.#p(this.#i)}#d(){this.#r!==void 0&&(this.#r=void 0,this.#e.step=`${this.step}`,this._internals.states.delete(`active`))}#f(e){this.#m(e),this.dispatchInputEvent()}#p(e){this.#m(e),this.dispatchChangeEvent()}#m(e){e<=this.max&&e>=this.min&&(this.valueAsNumber=e)}};M([b({type:String,reflect:!0})],IE.prototype,`orientation`,void 0),M([b({type:Number,reflect:!0})],IE.prototype,`min`,void 0),M([b({type:Number,reflect:!0})],IE.prototype,`max`,void 0),M([b({type:Number,reflect:!0})],IE.prototype,`step`,void 0),M([b({type:Object})],IE.prototype,`i18n`,void 0),g(IE);var LE=`:host{width:100%}[input]{position:relative}[icon-name=search]{pointer-events:none;position:absolute;left:0}::slotted(input){padding-inline-start:var(--nve-ref-size-800)!important}`,RE=class extends R{constructor(...e){super(...e),this.rounded=!1}static{this.styles=k([...R.styles,bS,LE])}static{this.metadata={tag:`nve-search`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get prefixContent(){return _`<nve-icon-button part="icon-button" icon-name="search" container="inline" aria-hidden="true" readonly="readonly"></nve-icon-button>`}};M([b({type:String,reflect:!0})],RE.prototype,`container`,void 0),M([b({type:Boolean,reflect:!0})],RE.prototype,`rounded`,void 0),RE=M([O()],RE),g(RE),g(R),g(z),g(L),g(VT),g(R),g(z),g(L);var zE=`:host{--background: var(--nve-sys-layer-container-background);--min-height: var(--nve-ref-size-400);--border-radius: var(--nve-ref-border-radius-xs);display:block;width:100%;height:100%;position:relative}[internal-host]{background:var(--background);min-height:var(--min-height);border-radius:var(--border-radius);height:100%;width:100%}:host([shape="round"]){--border-radius: var(--nve-ref-border-radius-full)}:host([shape="pill"]){--border-radius: var(--nve-ref-border-radius-lg)}:host([effect="shimmer"]) [internal-host]{animation:shimmer calc(var(--nve-ref-animation-duration-400) * 4);animation-iteration-count:infinite;background:linear-gradient(to right,var(--background) 5%,color-mix(in srgb,var(--background),var(--nve-sys-interaction-state-mix) 5%) 25%,var(--background) 35%);background-size:1000px 100%}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}:host([effect="pulse"]) [internal-host]{animation:calc(var(--nve-ref-animation-duration-400) * 2) ease-in-out var(--nve-ref-animation-duration-300) infinite normal none running pulse}@keyframes pulse{0%{opacity:1}50%{opacity:var(--nve-ref-opacity-500)}to{opacity:1}}:host(:state(slotted)){display:contents}:host(:state(slotted)) [internal-host]{display:contents;background:none;min-height:0;animation:none}:host(:state(slotted)) .animate{display:none}`,BE=class extends y{constructor(...e){super(...e),this.hidden=!1}static{this.styles=k([zE])}static{this.metadata={tag:`nve-skeleton`,version:`0.0.0`}}render(){return _`<div internal-host><div class="animate"></div><slot @slotchange="${this.#e}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.ariaBusy=`true`}updated(e){super.updated(e),this._internals.ariaBusy=`${!this.hidden}`}#e(e){e.target.assignedNodes().some(e=>e.nodeType===Node.ELEMENT_NODE||e.nodeType===Node.TEXT_NODE&&e.textContent?.trim()!==``)?this._internals.states.add(`slotted`):this._internals.states.delete(`slotted`)}};M([b({type:String,reflect:!0})],BE.prototype,`effect`,void 0),M([b({type:String,reflect:!0})],BE.prototype,`shape`,void 0),M([b({type:Boolean,reflect:!0})],BE.prototype,`hidden`,void 0),g(BE);var VE=`:host{--width: var(--nve-ref-size-800);--height: var(--nve-ref-size-800);--border-radius: var(--nve-ref-border-radius-full)}[internal-host]{width:var(--width);height:var(--height);border-radius:var(--border-radius);background:transparent;border:0;display:flex;flex-direction:column;cursor:pointer;place-items:center;place-content:center;padding:0;position:relative;outline:0;overflow:hidden}nve-icon{--color: var(--nve-sys-text-placeholder-color);cursor:pointer}:host([sort="ascending"]) nve-icon,:host([sort="descending"]) nve-icon{--color: var(--nve-sys-text-emphasis-color)}`,HE={sort:`sort`},UE={none:`ascending`,ascending:`descending`,descending:`none`},WE=class extends yi(y){static{this.styles=k([VE])}static{this.metadata={tag:`nve-sort-button`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}#e;render(){return _`<div internal-host focus-within><nve-icon part="icon" .name="${this.sort===`descending`?`sort-descending`:`sort-ascending`}" aria-hidden="true"></nve-icon></div>`}constructor(){super(),this.sort=`none`,this.#e=new A(this,HE),this.i18n=this.#e.i18n,this.#t=()=>{this._internals.ariaLabel=`${this.#e.i18n.sort} ${UE[this.sort]}`,this.dispatchEvent(new CustomEvent(`sort`,{detail:{value:this.sort,next:UE[this.sort]},bubbles:!0,composed:!0}))},this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`spinbutton`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t};M([b({type:String,reflect:!0})],WE.prototype,`sort`,void 0),M([b({type:Object})],WE.prototype,`i18n`,void 0),WE=M([O()],WE),g(WE);var GE=.6,KE=100*GE,qE=.7,JE=.85;function YE(e){return Array.isArray(e)?e.filter(Number.isFinite):[]}function XE(e,t,n=GE){let r=e===`line`||e===`area`||e===`gradient`?Math.max(t-1,1):t,i=Number.isFinite(n)&&n>0?n:GE;return{width:e===`line`?r*100*i:r*KE,height:100}}function ZE(e,t={}){if(e.length===0)return;let{explicitMin:n,explicitMax:r,includeZero:i=!1}=t,a=Math.min(...e),o=Math.max(...e);return{min:n??(i?Math.min(a,0):a),max:r??(i?Math.max(o,0):o)}}function QE(e,t,n=100){let r=t.max-t.min;return r===0?n/2:n-(e-t.min)/r*n}function $E(e,t,n){let r=n.height??100,i=e.length>1?n.width/(e.length-1):0;return e.map((e,n)=>({x:n*i,y:QE(e,t,r)}))}function eD(e,t){let n=/* @__PURE__ */ new Set;if(e.length===0||(t.first&&n.add(0),t.last&&n.add(e.length-1),!(t.min||t.max)))return n;let r=Math.min(...e),i=Math.max(...e);return e.forEach((e,a)=>{t.min&&e===r&&n.add(a),t.max&&e===i&&n.add(a)}),n}function tD(e){switch(e){case`linear`:return`linear`;case`smooth`:return`smooth`;case`step`:return`step`;default:return`linear`}}function nD(e,t,n){if(e.length===0)return``;if(e.length===1){let t=e[0].y.toFixed(2);return`M 0 ${t} L ${n.toFixed(2)} ${t}`}switch(t){case`step`:return cD(e);case`smooth`:return sD(e);case`linear`:return oD(e);default:return oD(e)}}function rD(e,t,n=100){if(e.length===0)return``;let r=``;switch(t){case`step`:r=cD(e);break;case`smooth`:r=sD(e);break;case`linear`:r=oD(e);break;default:r=oD(e)}let i=e[e.length-1],a=e[0];return r+=` L ${i.x.toFixed(2)} ${n.toFixed(2)}`,r+=` L ${a.x.toFixed(2)} ${n.toFixed(2)} Z`,r}function iD(e,t,n){let{bandSize:r,stepSize:i}=lD(e.length,n,qE);return e.map((e,n)=>{let a=n*i+(i-r)/2,o=Math.abs(e.y-t);return{x:a,y:Math.min(e.y,t),width:r,height:o}})}function aD(e,t,n){let{bandSize:r,stepSize:i}=lD(e.length,n.width,JE),a=n.height/2;return e.map((e,n)=>{let o=n*i+(i-r)/2;return e>0?{className:`win`,x:o,y:t-a,width:r,height:a}:e<0?{className:`loss`,x:o,y:t,width:r,height:a}:{className:`draw`,x:o,y:t-a/4,width:r,height:a/2}})}function oD(e){return e.reduce((e,t,n)=>n===0?`M ${t.x.toFixed(2)} ${t.y.toFixed(2)}`:`${e} L ${t.x.toFixed(2)} ${t.y.toFixed(2)}`,``)}function sD(e){return e.map((t,n)=>{if(n===0)return`M ${t.x.toFixed(2)} ${t.y.toFixed(2)}`;let r=e[n-1],i=(t.x-r.x)/3;return`C ${(r.x+i).toFixed(2)} ${r.y.toFixed(2)} ${(t.x-i).toFixed(2)} ${t.y.toFixed(2)} ${t.x.toFixed(2)} ${t.y.toFixed(2)}`}).join(` `)}function cD(e){let t=`M ${e[0].x.toFixed(2)} ${e[0].y.toFixed(2)}`;for(let n=1;n<e.length;n++){let r=e[n];t+=` H ${r.x.toFixed(2)} V ${r.y.toFixed(2)}`}return t}function lD(e,t,n){if(e<=0)return{bandSize:0,stepSize:0};let r=t/e;return{bandSize:r*n,stepSize:r}}var uD=`:host{--height: 1em;--line-color: var(--status-color);--line-width: 1.5px;--fill-color: var(--status-color);--gradient-max-color: color-mix(in oklab, var(--line-color), transparent 35%);--gradient-min-color: color-mix(in oklab, var(--line-color), transparent 95%);--zero-line-color: var(--line-color);--zero-line-width: 1.5px;--win-color: var(--nve-sys-status-finished-color);--loss-color: var(--nve-sys-status-failed-color);--draw-color: var(--nve-sys-status-pending-color);--accent-radius: 3px;--accent-color: var(--nve-sys-support-accent-emphasis-color);--accent-border-color: var(--nve-sys-support-accent-emphasis-color);--accent-border-width: 1;--_aspect-ratio: 1;display:inline-flex;height:var(--height);aspect-ratio:var(--_aspect-ratio);max-width:100%;contain:layout style}:host([size="xs"]){--height: var(--nve-ref-size-200)}:host([size="sm"]){--height: var(--nve-ref-size-300)}:host([size="md"]){--height: var(--nve-ref-size-400)}:host([size="lg"]){--height: var(--nve-ref-size-500)}:host([size="xl"]){--height: var(--nve-ref-size-600)}[internal-host]{position:relative;container-type:size;width:100%;height:100%;--_vbw: calc(100 * var(--_aspect-ratio));--_vbh: 100;--_svg-unit-size: min(calc(100cqw / var(--_vbw)), calc(100cqh / var(--_vbh)));--_svg-origin-x: calc((100cqw - (var(--_vbw) * var(--_svg-unit-size))) / 2);--_svg-origin-y: calc((100cqh - (var(--_vbh) * var(--_svg-unit-size))) / 2)}svg{width:100%;height:100%;overflow:visible}.line{stroke:var(--line-color);stroke-width:var(--line-width);fill:none;stroke-linejoin:round;stroke-linecap:round}.area{fill:color-mix(in oklab,var(--fill-color) 20%,transparent);stroke:none}.zero-line{stroke:var(--zero-line-color);stroke-width:var(--zero-line-width)}.column{fill:var(--fill-color);stroke:none}.win{fill:var(--win-color);stroke:none}.loss{fill:var(--loss-color);stroke:none}.draw{fill:var(--draw-color);stroke:none}.accent{position:absolute;box-sizing:content-box;left:calc(var(--_svg-origin-x) + (var(--x) * var(--_svg-unit-size)));top:calc(var(--_svg-origin-y) + (var(--y) * var(--_svg-unit-size)));width:calc(2 * var(--accent-radius));height:calc(2 * var(--accent-radius));transform:translate(-50%,-50%);background:var(--accent-color);border:var(--accent-border-width) solid var(--accent-border-color);border-radius:50%;user-select:none}`,K=class extends y{constructor(...e){super(...e),this.data=[],this.mark=`line`,this.interpolation=`linear`,this.denoteFirst=!1,this.denoteLast=!1,this.denoteMin=!1,this.denoteMax=!1,this.intervalLength=.6,this.validData=[]}static{this.styles=k([uD,gr,_r])}static{this.metadata={tag:`nve-sparkline`,version:`0.0.0`}}render(){return _`<div internal-host>${this.#e()}</div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`img`}willUpdate(e){super.willUpdate(e),e.has(`data`)&&(this.validData=YE(this.data))}#e(){let{width:e,height:t}=XE(this.mark,this.validData.length,this.intervalLength);switch(this.mark){case`line`:case`area`:case`gradient`:return this.#t(e,t);case`column`:return this.#a(e,t);case`winloss`:return this.#o(50,e,t);default:return this.mark,v}}updated(e){super.updated(e);let{width:t,height:n}=XE(this.mark,this.validData.length,this.intervalLength),r=t/n,i=Number.isFinite(r)&&r>0?r:1;this.style.setProperty(`--_aspect-ratio`,i.toFixed(4))}#t(e,t){let n=ZE(this.validData,{explicitMin:this.min,explicitMax:this.max});if(!n)return v;let r=QE(0,n),i=n.min<0&&n.max>0,a=$E(this.validData,n,{width:e}),o=eD(this.validData,{first:this.denoteFirst,last:this.denoteLast,min:this.denoteMin,max:this.denoteMax}),s=tD(this.interpolation),c=nD(a,s,e),l=this.mark===`area`||this.mark===`gradient`?rD(a,s,100):``;return Je`<svg viewBox="0 0 ${e} ${t}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${this.mark===`gradient`?this.#n(t):v} ${l.length?this.mark===`gradient`?Je`<path class="area" d="${l}" style="fill:url(#gradient)"></path>`:Je`<path class="area" d="${l}"></path>`:v} ${i?this.#r(r,e):v} ${c?Je`<path class="line" d="${c}" vector-effect="non-scaling-stroke"></path>`:v}</svg> ${this.#i(a,o)}`}#n(e){return Je`<defs><linearGradient id="gradient" x1="0" y1="0" x2="0" y2="${e}" gradientUnits="userSpaceOnUse"><stop offset="0%" style="stop-color:var(--gradient-max-color)"></stop><stop offset="100%" style="stop-color:var(--gradient-min-color)"></stop></linearGradient></defs>`}#r(e,t){return Je`<line class="zero-line" vector-effect="non-scaling-stroke" x1="0" y1="${e.toFixed(2)}" x2="${t}" y2="${e.toFixed(2)}"></line>`}#i(e,t){return e.length===0||t.size===0?v:_`${Array.from(t).map(t=>{let n=e[t];return n?_`<span style="${`--x: ${n.x.toFixed(2)}; --y: ${n.y.toFixed(2)}`}" class="accent"></span>`:v})}`}#a(e,t){let n=ZE(this.validData,{explicitMin:this.min,explicitMax:this.max,includeZero:!0});if(!n)return v;let r=QE(0,n),i=n.min<0&&n.max>0,a=iD($E(this.validData,n,{width:e}),r,e);return Je`<svg viewBox="0 0 ${e} ${t}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${i?this.#r(r,e):v} ${a.map(e=>Je`<rect class="column" x="${e.x.toFixed(2)}" y="${e.y.toFixed(2)}" width="${e.width.toFixed(2)}" height="${e.height.toFixed(2)}"></rect>`)}</svg>`}#o(e,t,n){if(this.validData.length===0)return v;let r=aD(this.validData,e,{width:t,height:n});return Je`<svg viewBox="0 0 ${t} ${n}" preserveAspectRatio="xMidYMid meet" aria-hidden="true">${this.#r(e,t)} ${r.map(e=>Je`<rect class="${e.className}" x="${e.x.toFixed(2)}" y="${e.y.toFixed(2)}" width="${e.width.toFixed(2)}" height="${e.height.toFixed(2)}"></rect>`)}</svg>`}};M([b({type:Array})],K.prototype,`data`,void 0),M([b({type:String})],K.prototype,`mark`,void 0),M([b({type:String})],K.prototype,`interpolation`,void 0),M([b({type:String,reflect:!0})],K.prototype,`status`,void 0),M([b({type:String,reflect:!0})],K.prototype,`size`,void 0),M([b({type:Boolean,attribute:`denote-first`,reflect:!0})],K.prototype,`denoteFirst`,void 0),M([b({type:Boolean,attribute:`denote-last`,reflect:!0})],K.prototype,`denoteLast`,void 0),M([b({type:Boolean,attribute:`denote-min`,reflect:!0})],K.prototype,`denoteMin`,void 0),M([b({type:Boolean,attribute:`denote-max`,reflect:!0})],K.prototype,`denoteMax`,void 0),M([b({type:Number,attribute:`interval-length`})],K.prototype,`intervalLength`,void 0),M([b({type:Number})],K.prototype,`min`,void 0),M([b({type:Number})],K.prototype,`max`,void 0),M([N()],K.prototype,`validData`,void 0),g(K);var dD=`:host{--star-size: 20px}:host(:state(disabled)) .stars{pointer-events:none}[input]{position:relative}[name=star]{--color: var(--nve-ref-color-yellow-amber-900)}[name=star-half]{--color: var(--nve-ref-color-yellow-amber-900);--stroke-color: var(--nve-ref-border-color-emphasis)}[name=star-stroke]{--color: var(--nve-ref-border-color-emphasis)}nve-icon{--width: var(--star-size);--height: var(--star-size)}.stars{display:flex;gap:var(--nve-ref-space-xxxs);height:var(--nve-ref-size-800)}::slotted(input){opacity:0;position:absolute;inset:0;z-index:-1;margin:0}`,fD=class extends R{constructor(...e){super(...e),this.min=0,this.max=5,this.value=0,this.active=0,this.precision=.5}static{this.styles=k([...R.styles,dD])}static{this.metadata={tag:`nve-star-rating`,version:`0.0.0`}}static{this.elementDefinitions={[F.metadata.tag]:F}}firstUpdated(e){super.firstUpdated(e),rn(this.input,`max`,e=>{e&&(this.max=parseInt(e))}),rn(this.input,`min`,e=>{e&&(this.min=parseInt(e))}),rn(this.input,`value`,e=>{this.#n(e?parseFloat(e):this.input.valueAsNumber)}),this.input.addEventListener(`input`,()=>this.value=this.input.valueAsNumber),this.value=this.input.valueAsNumber}get prefixContent(){return _`<div aria-hidden="true" class="stars" @mouseleave="${()=>this.active=0}">${Array(this.max).fill(``).map((e,t)=>{let n=t+1,r=(this.active||this.value)-t;return _`<nve-icon part="icon" @click="${()=>this.#n(this.#t(t,n))}" @mousemove="${e=>this.#e(e,t,n)}" name="${r>=1?`star`:r>=.5?`star-half`:`star-stroke`}"></nve-icon>`})}</div>`}#e(e,t,n){let r=e.currentTarget.getBoundingClientRect(),i=(e.clientX-r.left)/r.width;this.active=i<=.5?t+.5:n}#t(e,t){return this.active>0?this.active:this.value===t||this.value===e+.5?0:t}#n(e){this.input.valueAsNumber=e===this.value?0:e,this.input.dispatchEvent(new Event(`input`,{bubbles:!0})),this.input.dispatchEvent(new Event(`change`,{bubbles:!0}))}};M([N()],fD.prototype,`min`,void 0),M([N()],fD.prototype,`max`,void 0),M([N()],fD.prototype,`value`,void 0),M([N()],fD.prototype,`active`,void 0),M([N()],fD.prototype,`precision`,void 0),fD=M([O()],fD),g(fD),g(R),g(z),g(L);var pD=`:host{--width: auto;--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-semibold);--border-radius: var(--nve-ref-border-radius-xl);--color: var(--nve-sys-text-muted-color);--cursor: pointer;--text-transform: capitalize;--nve-sys-interaction-state-ratio: 0}[internal-host]{--_icon-button-color: var(--color);width:var(--width);gap:var(--nve-ref-space-xs);padding:var(--nve-ref-size-200) var(--nve-ref-size-300) var(--nve-ref-size-200) var(--nve-ref-size-200);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);line-height:var(--nve-ref-font-size-500);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;border-radius:var(--border-radius);cursor:var(--cursor);text-transform:var(--text-transform);display:inline-flex;align-items:center;border:0;position:relative}nve-progress-ring,nve-icon-button{--height: var(--nve-ref-size-700);--width: var(--nve-ref-size-700);cursor:pointer}nve-icon-button#number-icon{box-sizing:content-box;border:var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis);border-radius:100%;--color: var(--_icon-button-color);--height: var(--nve-ref-size-600);--width: var(--nve-ref-size-600);--background: transparent}nve-icon-button[interaction=emphasis]{--background: var(--nve-sys-support-success-color);--color: var(--nve-sys-text-white-color)}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color);--font-weight: var(--nve-ref-font-weight-semibold);--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: not-allowed}:host(:hover:not(:state(disabled),:state(selected))){--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host([container="condensed"]) div{padding:var(--nve-ref-size-200)}`,mD=`:host{--gap: var(--nve-ref-space-lg)}[internal-host]{position:relative;display:flex;flex-direction:row;gap:var(--gap)}:host([vertical]) [internal-host]{flex-direction:column}:host(:not([vertical])) ::slotted(nve-steps-item:not(:last-child)):after{content:"";position:absolute;width:var(--gap);top:50%;border:var(--nve-ref-border-width-sm) dashed var(--nve-ref-border-color)}:host([vertical]) ::slotted(nve-steps-item:not(:last-child)):after{content:"";position:absolute;height:var(--gap);left:var(--nve-ref-size-500);top:100%;border:var(--nve-ref-border-width-sm) dashed var(--nve-ref-border-color)}:host([vertical]:not([container="condensed"])) ::slotted(nve-steps-item){--width: 100%}`,hD=class extends yi(y){static{this.styles=k([pD])}static{this.metadata={tag:`nve-steps-item`,version:`0.0.0`,parents:[`nve-steps`]}}static{this.elementDefinitions={[I.metadata.tag]:I,[FT.metadata.tag]:FT}}render(){return _`<div internal-host focus-within><slot name="status-icon">${this.status?``:_`<nve-icon-button part="icon-button" readonly="readonly" id="number-icon" .disabled="${this.disabled}">${this.index}</nve-icon-button>`} ${this.status===`success`?_`<nve-icon-button part="icon-button" readonly="readonly" size="sm" interaction="emphasis" icon-name="check"></nve-icon-button>`:``} ${this.status===`danger`?_`<nve-icon-button part="icon-button" readonly="readonly" size="sm" interaction="destructive" icon-name="exclamation-circle"></nve-icon-button>`:``} ${this.status===`pending`?_`<nve-progress-ring part="progress-ring" status="accent" size="sm"></nve-progress-ring>`:``}</slot>${GT(this.container!==`condensed`,()=>_`<slot></slot>`)}</div>`}constructor(){super(),this.selected=!1,this.index=0,this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`tab`}};M([b({type:Boolean,reflect:!0})],hD.prototype,`selected`,void 0),M([b({type:String,reflect:!0})],hD.prototype,`status`,void 0),M([b({type:String,reflect:!0})],hD.prototype,`container`,void 0),M([N()],hD.prototype,`index`,void 0),hD=M([S(),O(),Yn()],hD);var gD=class extends y{constructor(...e){super(...e),this.vertical=!1,this.behaviorSelect=!1,this.#t=e=>{this.#e(e.target)}}static{this.styles=k([mD])}static{this.metadata={tag:`nve-steps`,version:`0.0.0`,children:[`nve-steps-item`]}}get keynavListConfig(){return{items:this.steps,layout:this.vertical?`vertical`:`horizontal`}}#e(e){this.behaviorSelect&&e.matches(`nve-steps-item`)&&!e.disabled&&(this.steps.forEach(e=>e.selected=!1),e.selected=!0)}render(){return _`<div internal-host><slot @slotchange="${this.#n}"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`tablist`,this.addEventListener(`click`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#t)}#t;updated(e){super.updated(e),(e.has(`container`)||e.has(`vertical`))&&this.#n()}#n(){this._internals.ariaOrientation=this.vertical?`vertical`:`horizontal`,this.steps.forEach((e,t)=>{e.index=t+1,e.container=this.container})}};M([b({type:Boolean,reflect:!0})],gD.prototype,`vertical`,void 0),M([b({type:String,reflect:!0})],gD.prototype,`container`,void 0),M([b({type:Boolean,attribute:`behavior-select`})],gD.prototype,`behaviorSelect`,void 0),M([x({selector:`nve-steps-item`})],gD.prototype,`steps`,void 0),gD=M([S(),Mn()],gD),g(hD),g(gD),g(aE),g(sE),g(R),g(z),g(L);function _D(e){return e.flatMap(e=>{if(e.getAttribute(`slot`))return[];if(e.localName===`nve-tabs-item`)return[e];if(e.localName!==`nve-tabs-item-group`)return[];let t=e.querySelector(`:scope > nve-tabs-item:is(:not([slot]), [slot=""])`);return t?[t]:[]})}function vD(e){let t=e.querySelector(`:scope > a:is(:not([slot]), [slot=""])`);return e.tabIndex>=0||!!t&&t.matches(`[href], [tabindex]`)&&t.tabIndex>=0}var yD=`nve-tabs{anchor-scope:--selected,--selected-group;--indicator-animation-duration: var(--nve-ref-animation-duration-150);--indicator-background: var(--nve-sys-accent-secondary-background);--indicator-height: var(--nve-ref-border-width-xl);--indicator-border-radius: var(--nve-ref-border-radius-sm);&:after{background:var(--indicator-background);height:var(--indicator-height);border-radius:var(--indicator-border-radius);position:fixed;display:block;content:"";width:anchor-size(width);transition:left var(--indicator-animation-duration) var(--nve-ref-animation-easing-100);position-anchor:--selected;top:calc(anchor(bottom) - var(--indicator-height));left:anchor(left);z-index:-1}&[borderless]:after{display:none!important}}nve-tabs[vertical]{&:after{width:var(--indicator-height);height:anchor-size(height);transition:top var(--indicator-animation-duration) var(--nve-ref-animation-easing-100);top:anchor(top)}}nve-tabs[vertical]:dir(rtl):after{left:auto;right:anchor(right)}nve-tabs-item[selected]{anchor-name:--selected}nve-tabs-item-group:has(>nve-tabs-item[selected]){anchor-name:--selected-group}nve-tabs:has(>nve-tabs-item-group>nve-tabs-item[selected]):after{position-anchor:--selected-group}`,bD=`:host{--width: 100%;--gap: var(--nve-ref-space-xs);--padding: 0 var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-medium);--border-radius: var(--nve-ref-border-radius-sm);--color: var(--nve-sys-text-muted-color);--height: var(--nve-ref-size-800);--cursor: pointer;--text-transform: initial;--nve-sys-interaction-state-ratio: 0}[internal-host]{width:var(--width);gap:var(--gap);padding:var(--padding);height:var(--height);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);line-height:var(--nve-ref-font-size-500);background-image:var( --_tabs-item-background, linear-gradient( color-mix( in oklab, var(--nve-sys-interaction-state-base) 100%, var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio) ) 0 0 ) )!important;inset:var(--border-inset);border-radius:var(--border-radius);cursor:var(--cursor);text-transform:var(--text-transform);display:inline-flex;align-items:center;border:0;position:var(--_tabs-item-position, relative)}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color);--font-weight: var(--nve-ref-font-weight-semibold)}:host(:state(selected)) ::slotted(nve-icon){--color: var(--nve-sys-interaction-color)}:host(:hover:not(:state(disabled),:state(selected))){--color: var(--nve-sys-text-emphasis-color);--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host(:state(disabled)){--color: var(--nve-sys-interaction-disabled-color);--cursor: not-allowed}:host(:is(:focus,:state(focused))) [internal-host]{outline-offset:-3px;outline:5px auto -webkit-focus-ring-color;outline:Highlight solid 2px}slot:not([name])::slotted(a){text-decoration:var(--text-decoration)!important;color:var(--color)!important;gap:var(--gap)!important;display:flex!important;align-items:center!important;min-inline-size:0;outline:0}slot:not([name])::slotted(a):after{display:block;content:" ";inset:0;position:absolute;z-index:1}#label{display:flex;align-items:center;gap:var(--gap);flex:1 1 auto;min-inline-size:0;overflow:hidden;white-space:nowrap}slot[name]{display:contents}::slotted([slot="prefix"]),::slotted([slot="suffix"]){flex:none;align-self:center}`,xD=`:host{--gap: var(--nve-ref-space-xs)}[internal-host]{display:flex;flex-direction:row;gap:var(--gap);overflow-x:auto;white-space:nowrap;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([vertical]){--gap: var(--nve-ref-space-xxxs)}:host([vertical]) [internal-host]{flex-direction:column}:host([vertical]) ::slotted(:is(nve-tabs-item,nve-tabs-item-group)){--border-inset: 0 8px 0 8px;--width: calc(100% - 8px) }:host([vertical]) ::slotted(nve-tabs-item:state(selected)){--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}:host([vertical]) ::slotted(nve-tabs-item-group:has(> nve-tabs-item[selected])){--_tabs-group-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}::slotted(:is(nve-tabs-item,nve-tabs-item-group)){white-space:nowrap}`,SD=class extends yi(y){static{this.styles=k([bD])}static{this.metadata={tag:`nve-tabs-item`,version:`0.0.0`,parents:[`nve-tabs`,`nve-tabs-item-group`]}}render(){return _`<div internal-host focus-within><slot name="prefix"></slot><div id="label"><slot></slot></div><slot name="suffix"></slot></div>`}constructor(){super(),this.selected=!1,this.type=`button`}connectedCallback(){super.connectedCallback(),this._internals.role=`tab`}updated(e){super.updated(e),e.has(`selected`)&&(this.selected?wn(this,`--selected`):Cn(this,`--selected`))}};M([b({type:Boolean,reflect:!0})],SD.prototype,`selected`,void 0),SD=M([S(),Yn()],SD);var CD=class extends y{constructor(...e){super(...e),this.vertical=!1,this.borderless=!1,this.behaviorSelect=!1,this.#t=new Nn(this),this.#n=[],this.#a=e=>{e.some(e=>e.type===`childList`||e.attributeName===`slot`)?this.#o():e.some(e=>this.#e.some(t=>t.contains(e.target)))&&this.#s()},this.#o=async()=>{let e=this.#e;if(e.length===this.#n.length&&e.every((e,t)=>e===this.#n[t])){this.#s();return}let t=this.#n;this.#n=e,await Promise.all(e.map(e=>e.updateComplete)),e===this.#n&&(this.#t.refreshItems(t),this.#s())},this.#l=e=>{let t=e.composedPath(),n=this.#e.find(e=>t.includes(e));n&&this.#c(n)}}static{this.styles=k([xD])}static{this.metadata={tag:`nve-tabs`,version:`0.0.0`,children:[`nve-tabs-item`,`nve-tabs-item-group`]}}get keynavListConfig(){let e=this.#e;return{items:e,initialItem:e.find(e=>e.selected),layout:this.vertical?`vertical`:`horizontal`,dir:getComputedStyle(this).direction}}get#e(){return _D(this.entries??[])}#t;#n;#r;render(){return _`<div internal-host><slot @slotchange="${this.#o}"></slot></div>`}connectedCallback(){super.connectedCallback(),C(this,yD),T(this),this._internals.role=`tablist`,this.addEventListener(`click`,this.#l),this.#i(),this.hasUpdated&&this.#s()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`click`,this.#l),this.#r?.disconnect()}firstUpdated(){this.#r=new MutationObserver(this.#a),this.#i()}updated(e){super.updated(e),this._internals.ariaOrientation=this.vertical?`vertical`:`horizontal`}#i(){this.#r?.observe(this,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`tabindex`,`href`,`slot`]})}#a;#o;#s(){this.querySelectorAll(`:scope > nve-tabs-item-group`).forEach(e=>{let t=_D([e])[0];e.accessoryTabEnabled=!!t&&vD(t)})}#c(e){this.behaviorSelect&&e.matches(`nve-tabs-item`)&&!e.disabled&&(this.keynavListConfig.items.forEach(e=>e.selected=!1),e.selected=!0)}#l};M([b({type:Boolean,reflect:!0})],CD.prototype,`vertical`,void 0),M([b({type:Boolean,reflect:!0})],CD.prototype,`borderless`,void 0),M([b({type:Boolean,attribute:`behavior-select`})],CD.prototype,`behaviorSelect`,void 0),M([x()],CD.prototype,`entries`,void 0),CD=M([S()],CD);var wD=`:host{--padding: var(--nve-ref-space-sm) 0 0 0;display:block;width:100%}:host(:is([alignment="start"],[alignment="end"])){--padding: 0}[internal-host]{display:flex;flex-direction:column}:host(:is([alignment="start"],[alignment="end"])) [internal-host]{flex-direction:row;align-items:flex-start;gap:var(--nve-ref-space-lg)}:host([alignment="end"]) [internal-host]{flex-direction:row-reverse}:host(:is([alignment="start"],[alignment="end"])) [internal-host]>slot:not([name]){flex-shrink:0}:host(:is([alignment="start"],[alignment="end"])) [internal-host]>slot[name]{flex:1;min-width:0}::slotted([slot]){display:block;padding:var(--padding)}::slotted([slot][hidden]){display:none!important}`,TD,ED=class extends y{static{TD=this}constructor(...e){super(...e),this.alignment=`top`,this.panelValues=[],this.selectedValue=``,this.#t=()=>{this.#i(),this.#a()},this.#n=()=>{this.#c()},this.#r=e=>{if(e.command!==`--toggle`)return;let t=e.source?.value;if(typeof t!=`string`||!t.length)return;let n=this.#d(),r=n.find(e=>this.#p(e)&&e.value===t);r&&this.#o(n,r,{emitEvent:!0})}}static{this.styles=k([wD])}static{this.metadata={tag:`nve-tabs-group`,version:`0.0.0`,children:[`nve-tabs`]}}static{this.subtreeObserverInit={childList:!0,subtree:!0,attributes:!0,attributeFilter:[`disabled`,`id`,`selected`,`value`]}}#e;render(){return _`<div internal-host><slot @slotchange="${this.#t}"></slot>${this.panelValues.map(e=>_`<slot name="${e}" @slotchange="${this.#n}"></slot>`)}</div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`group`,this.addEventListener(`command`,this.#r)}firstUpdated(){this.updateComplete.then(()=>{this.isConnected&&this.#a()})}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`command`,this.#r),this.#e?.disconnect()}updated(e){super.updated(e),this.#e||this.#i();let t=e;(t.has(`panelValues`)||t.has(`selectedValue`))&&this.#c()}#t;#n;#r;#i(){this.#e?.disconnect();let e=this.#u();e&&(this.#e=new MutationObserver(()=>this.#a()),this.#e.observe(e,TD.subtreeObserverInit))}#a(){let e=this.#d(),t=En(e.map(e=>e.value)),n=this.#m(e);n?this.#o(e,n,{emitEvent:!1,nextPanelValues:t}):(e.forEach(e=>e.selected=!1),this.#s(t,``))}#o(e,t,n){let{emitEvent:r}=n,i=n.nextPanelValues??En(e.map(e=>e.value)),a=this.selectedValue!==t.value||!t.selected||e.some(e=>e!==t&&e.selected);e.forEach(e=>{e.selected=e===t}),this.#s(i,t.value),r&&a&&this.dispatchEvent(new CustomEvent(`select`,{bubbles:!0,composed:!0,detail:{value:t.value}}))}#s(e,t){Tn(this.panelValues,e)||(this.panelValues=e),this.selectedValue!==t&&(this.selectedValue=t)}#c(){let e=this.#d(),t=new Map(e.filter(e=>this.#p(e)).map(e=>[e.value,e]));this.#f().forEach(e=>{this.#l(e,t)})}#l(e,t){let n=t.get(e.name),r=e.assignedElements({flatten:!0});n?(n.id||=Qt(),r.forEach((t,r)=>{t.id||=Qt(),!n.hasAttribute(`aria-controls`)&&r===0&&n.setAttribute(`aria-controls`,t.id),t.hasAttribute(`aria-labelledby`)||t.setAttribute(`aria-labelledby`,n.id),t.hasAttribute(`role`)||t.setAttribute(`role`,`tabpanel`),t.hidden=e.name!==this.selectedValue})):r.forEach(e=>{e.hidden=!0})}#u(){let e=this.defaultSlotElements.find(e=>e.localName===CD.metadata.tag)??this.querySelector(CD.metadata.tag);return e instanceof CD?e:void 0}#d(){return _D(Array.from(this.#u()?.children??[]))}#f(){return Array.from(this.renderRoot.querySelectorAll(`slot[name]`))}#p(e){return typeof e.value==`string`&&e.value.length>0&&!e.disabled}#m(e){return e.find(e=>this.#p(e)&&e.selected)??e.find(e=>this.#p(e))}};M([x({flatten:!0})],ED.prototype,`defaultSlotElements`,void 0),M([b({type:String,reflect:!0})],ED.prototype,`alignment`,void 0),M([N()],ED.prototype,`panelValues`,void 0),M([N()],ED.prototype,`selectedValue`,void 0),ED=TD=M([S()],ED);var DD=`:host{display:block;flex-shrink:0;min-inline-size:0;--gap: var(--nve-ref-space-xs);--height: var(--nve-ref-size-800);--padding: 0 var(--nve-ref-size-200);--width: 100%;--border-radius: var(--nve-ref-border-radius-sm)}[internal-host]{display:flex;align-items:center;position:relative;isolation:isolate;inset:var(--border-inset, 0);gap:var(--gap);height:var(--height);width:var(--width);padding:var(--padding);border-radius:var(--border-radius);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--_tabs-group-interaction-state-ratio, 0)) 0 0)}slot:not([name]){display:flex;flex:1 1 auto;min-inline-size:0}::slotted(nve-tabs-item){contain:none;flex:1 1 auto;min-inline-size:0;--padding: 0;--height: inherit;--width: 100%;--border-inset: 0;--border-radius: inherit;--_tabs-item-position: static;--_tabs-item-background: none}::slotted(nve-tabs-item):before{content:"";position:absolute;z-index:-1;inset:0;border-radius:var(--border-radius);background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)}slot[name]{display:contents}::slotted([slot="prefix"]),::slotted([slot="suffix"]){position:relative;z-index:2;flex:none;align-self:center}`,OD=class extends y{constructor(...e){super(...e),this.accessoryTabEnabled=!0}static{this.styles=k([DD])}static{this.metadata={tag:`nve-tabs-item-group`,version:`0.0.0`,parents:[`nve-tabs`],children:[`nve-tabs-item`]}}render(){return _`<div internal-host><slot name="prefix" tabindex="${this.accessoryTabEnabled?v:-1}"></slot><slot></slot><slot name="suffix" tabindex="${this.accessoryTabEnabled?v:-1}"></slot></div>`}disconnectedCallback(){super.disconnectedCallback(),this.accessoryTabEnabled=!0}};M([N()],OD.prototype,`accessoryTabEnabled`,void 0),OD=M([S()],OD),g(SD),g(OD),g(CD),g(ED),g(KS);var kD=`:host{--padding: var(--nve-ref-size-200);--font-size: var(--nve-ref-font-size-100);--height: 100px;--width: 100%;--min-height: 100px;--background: var(--nve-sys-interaction-field-background);--color: var(--nve-sys-interaction-field-color);--border-radius: var(--nve-ref-border-radius-sm);--cursor: text;--border: 0;display:block;width:var(--width);contain:layout}::slotted(textarea){font-size:var(--font-size)!important;margin:0!important;align-content:stretch!important;background:var(--background)!important;border:0!important;color:var(--color)!important;cursor:var(--cursor)!important;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}slot[name=prefix],slot[name=suffix]{display:none;gap:var(--nve-ref-space-xxs)}@scope{:scope:has([slot=prefix]) slot[name=prefix]{display:flex}:scope:has([slot=suffix]) slot[name=suffix]{display:flex}:scope:has(textarea[style*=width],textarea[cols]) [input]{width:fit-content}:scope:has(textarea:focus-visible) [input]{outline:5px auto -webkit-focus-ring-color!important;outline:Highlight solid 2px!important}}[input]{flex-direction:column;gap:var(--nve-ref-space-xs);background:var(--background);border:var(--border);border-radius:var(--border-radius);padding:var(--padding);cursor:initial;outline:none!important}::slotted(textarea:not([rows],[style*="height"])){height:var(--height)!important;min-height:var(--min-height)!important}::slotted(textarea:not([cols],[style*="width"])){width:var(--width)!important}::slotted(textarea:not([cols],[rows])){field-sizing:content}:host([layout*="horizontal"]) ::slotted(label){padding-block-start:var(--nve-ref-size-100)!important;align-self:start!important}:host([layout*="horizontal"]) slot[name=label]{align-self:start}:host([status="error"]),:host(:state(invalid)),:host(:state(error)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-danger-emphasis-color)}:host([status="success"]),:host(:state(success)){--border: var(--nve-ref-border-width-md) solid var(--nve-sys-support-success-emphasis-color)}:host(:state(disabled)){--border: var(--nve-ref-border-width-md) solid transparent}:host([container="flat"]){--background: transparent;--border: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted)}`,AD=class extends R{static{this.styles=k([...R.styles,kD])}get prefixContent(){return _`<slot name="prefix"></slot>`}get suffixContent(){return _`<slot name="suffix"></slot>`}static{this.metadata={tag:`nve-textarea`,version:`0.0.0`}}};g(AD),g(R),g(z),g(L);var jD=`:host{width:100%}`,MD={expand:`expand`},ND=class extends R{get i18nDefaults(){return MD}static{this.styles=k([...R.styles,bS,jD])}static{this.metadata={tag:`nve-time`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="clock" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};M([b({type:String,reflect:!0})],ND.prototype,`container`,void 0),ND=M([O()],ND),g(ND),g(R),g(z),g(L),g(V);var PD=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-300);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-300);--nve-sys-layer-popover-arrow-padding: 6px;--nve-sys-layer-popover-arrow-offset: 2px;--nve-sys-layer-popover-offset: 2px;--arrow-transform: translate(0, -2px) rotate(225deg);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--border-radius: var(--nve-ref-border-radius-md);--background: var(--nve-sys-layer-overlay-background);--color: var(--nve-sys-layer-overlay-color);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--padding: var(--nve-ref-size-400);--box-shadow: var(--nve-ref-shadow-400);--width: fit-content;--min-width: fit-content;--gap: var(--nve-ref-space-sm);--_divider-padding: var(--padding)}[internal-host]{padding:var(--padding);border-radius:var(--border-radius);border:var(--border);background:var(--background);color:var(--color);gap:var(--nve-ref-space-sm);width:var(--width);min-width:var(--min-width);outline:0;font-size:var(--font-size);font-weight:var(--font-weight);box-shadow:var(--box-shadow)}[internal-host]::backdrop{background:transparent}nve-icon-button{position:absolute;inset-block-start:var(--nve-ref-size-200);inset-inline-end:var(--nve-ref-size-200);z-index:99}.arrow{width:var(--nve-ref-size-300);height:var(--nve-ref-size-300);background:var(--background);transform:var(--arrow-transform);border-radius:var(--nve-ref-size-50);z-index:10000;clip-path:polygon(0 0,100% 0,0 100%);border-left:var(--border);border-top:var(--border);position:absolute}:host([position*="top"]){--arrow-transform: translate(0, -2px) rotate(225deg)}:host([position*="right"]){--arrow-transform: translate(2px, 0) rotate(-45deg)}:host([position*="bottom"]){--arrow-transform: translate(0, 2px) rotate(45deg)}:host([position*="left"]){--arrow-transform: translate(-2px, 0) rotate(135deg)}::slotted(nve-menu){--width: 100%}::slotted(nve-divider){margin:0 calc(-1 * var(--_divider-padding))}#content{margin:calc(var(--padding) * -.5) 0}`,FD=`nve-toggletip:not(:has([slot=footer])):has([slot=header])::part(_content){margin-block-end:calc(var(--padding) * .5)}nve-toggletip:not(:has([slot=header])):has([slot=footer])::part(_content){margin-block-start:calc(var(--padding) * .5)}`,ID={close:`close`},LD=class extends y{constructor(...e){super(...e),this.position=`top`,this.alignment=`center`,this.closable=!1,this.arrow=!0,this.popoverType=`auto`,this.typeNativePopoverController=new ar(this),this.#e=new A(this,ID),this.i18n=this.#e.i18n}static{this.styles=k([vr,PD])}static{this.metadata={tag:`nve-toggletip`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}#e;render(){return _`<div internal-host><slot name="header"></slot>${this.closable?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @click="${this.hidePopover}" icon-name="cancel" container="flat" size="sm" .ariaLabel="${this.i18n.close}"></nve-icon-button>`:``}<div id="content" part="_content"><slot></slot></div><slot name="footer"></slot></div>${this.arrow?_`<div class="arrow"></div>`:``}`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`toggletip`,C(this,FD)}};M([b({type:String})],LD.prototype,`anchor`,void 0),M([b({type:String})],LD.prototype,`trigger`,void 0),M([b({type:String,reflect:!0})],LD.prototype,`position`,void 0),M([b({type:String,reflect:!0})],LD.prototype,`alignment`,void 0),M([b({type:Boolean,reflect:!0,attribute:`behavior-trigger`})],LD.prototype,`behaviorTrigger`,void 0),M([b({type:Boolean})],LD.prototype,`closable`,void 0),M([b({type:Boolean})],LD.prototype,`arrow`,void 0),M([LS(`.arrow`)],LD.prototype,`popoverArrow`,void 0),M([b({type:Object})],LD.prototype,`i18n`,void 0),LD=M([O(),S({excessiveInstanceLimit:50})],LD);var RD=`:host{--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);--gap: var(--nve-ref-space-sm);display:block;width:calc(100% + calc(var(--padding) * 2));margin:var(--padding) calc(var(--padding) * -1) 0 calc(var(--padding) * -1)}[internal-host]{color:var(--color);border-top:var(--border-top);padding:var(--padding) var(--padding) 0 var(--padding);display:flex;justify-content:start;gap:var(--gap)}`,zD=class extends y{static{this.styles=k([RD])}static{this.metadata={tag:`nve-toggletip-footer`,version:`0.0.0`,parents:[`nve-toggletip`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`footer`}},BD=`:host{margin:0 calc(var(--padding) * -1) var(--padding) calc(var(--padding) * -1);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--padding: var(--nve-ref-size-400);width:calc(100% + calc(var(--padding) * 2))}[internal-host]{color:var(--color);padding:0 var(--padding) var(--padding) var(--padding);border-bottom:var(--border-bottom)}::slotted(nve-alert-group){margin:calc(var(--nve-ref-size-400) * -1);width:calc(100% + var(--nve-ref-size-800));--border-radius: var(--nve-ref-border-radius-md) var(--nve-ref-border-radius-md) 0 0;--padding: var(--nve-ref-size-200) var(--nve-ref-size-1000) var(--nve-ref-size-200) var(--nve-ref-size-300)}`,VD=class extends y{static{this.styles=k([BD])}static{this.metadata={tag:`nve-toggletip-header`,version:`0.0.0`,parents:[`nve-toggletip`]}}render(){return _`<div internal-host><slot></slot></div>`}connectedCallback(){super.connectedCallback(),this.slot=`header`}};g(LD),g(zD),g(VD);var HD=`:host{--nve-sys-interaction-background: var(--nve-sys-interaction-background-200);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-200);--background: var(--nve-sys-layer-container-background);--color: var(--nve-sys-layer-canvas-color);--padding: 0 var(--nve-ref-size-300);--min-height: var(--nve-ref-size-1000);--border-radius: var(--nve-ref-border-radius-sm);--gap: var(--nve-ref-space-xs);--border-bottom: 0;--box-shadow: var(--nve-ref-shadow-100);--width: 100%;width:var(--width);contain:initial}:host([container="flat"]),:host([container="inset"]){--nve-sys-interaction-background: var(--nve-sys-interaction-background-100);--nve-sys-interaction-field-background: var(--nve-sys-interaction-background-100);--background: transparent;--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-muted);--box-shadow: none;--border-radius: 0;--padding: 0}:host([container="full"]){--box-shadow: none;--border-radius: 0}:host([container="inset"]){--border-bottom: 0}:host([container="flat"]:focus-within){--border-bottom: var(--nve-ref-border-width-md) solid var(--nve-ref-border-color-emphasis)}:host([status="accent"]){--background: var(--nve-sys-support-accent-color);--color: var(--nve-sys-text-white-color)}:host([status="accent"]) ::slotted(nve-button),:host([status="accent"]) ::slotted(nve-icon-button),:host([status="accent"]) nve-icon-button{--color: var(--nve-sys-text-white-color) !important;--_icon-color: var(--nve-sys-text-white-color) !important}:host([status="accent"]) ::slotted([nve-text]){color:var(--nve-sys-text-white-color)!important}[internal-host]{background:var(--background);color:var(--color);padding:var(--padding);min-height:var(--min-height);border-radius:var(--border-radius);border-bottom:var(--border-bottom);box-shadow:var(--box-shadow);width:var(--width);gap:var(--gap);display:flex;align-items:center}:host([orientation="vertical"]){--padding: var(--nve-ref-size-100) 0;--gap: var(--nve-ref-space-xs);--width: fit-content}:host([orientation="vertical"]) [internal-host],:host([orientation="vertical"]) slot{flex-direction:column;align-items:center;margin:0}:host([orientation="vertical"]) ::slotted(nve-divider){width:100%}[name=prefix],[name=suffix]{display:none;gap:var(--gap);align-items:center;justify-content:start}[name=suffix]{justify-content:end}:host(:state(has-prefix)) [name=prefix],:host(:state(has-suffix)) [name=suffix]{display:flex}::slotted(nve-combobox),::slotted(nve-search),::slotted(nve-input){--border-bottom: 0;min-width:20cqw;flex:1}::slotted(nve-select){--border-bottom: 0}slot{min-height:inherit}slot:not([name]){gap:var(--gap);width:100%;display:flex;align-items:center;text-wrap:nowrap;overflow:auto hidden;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}:host([content="wrap"]) slot:not([name]){gap:var(--gap);width:100%;display:flex;flex-wrap:wrap;text-wrap:balance;overflow-x:initial}:host(:state(scrollbar)) slot:not([name]){margin-block-end:-14px}::slotted([nve-text]),::slotted(a),::slotted(span){text-wrap:nowrap!important}`,UD=class extends y{constructor(...e){super(...e),this.content=`scroll`,this.orientation=`horizontal`,this.#e=[]}static{this.styles=k([HD,gr,_r])}static{this.metadata={tag:`nve-toolbar`,version:`0.0.0`}}static{this.elementDefinitions={}}#e;get#t(){return this.shadowRoot.querySelector(`slot:not([name])`)}get#n(){return[...this.prefixElements,...this.defaultElements,...this.suffixElements]}render(){return _`<div internal-host @slotchange="${this.#r}"><slot name="prefix"></slot><slot></slot><slot name="suffix"></slot></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`toolbar`}firstUpdated(e){super.firstUpdated(e),this.#i()}updated(e){super.updated(e),this.#o(),this.#s()}disconnectedCallback(){super.disconnectedCallback(),this.#e.forEach(e=>e.disconnect())}#r(e){vn(e.target,this),this.#o(),this.#s(),this.#a()}#i(){this.#a();let e=new ResizeObserver(()=>this.#a());this.#e.push(e),e.observe(this)}#a(){pn(this.#t)?this._internals.states.add(`scrollbar`):this._internals.states.delete(`scrollbar`)}#o(){this.#n.filter(e=>e.matches(`nve-button-group, nve-input, nve-search, nve-combobox, nve-button, nve-select, nve-icon-button, nve-copy-button`)).forEach(e=>e.container=`flat`)}#s(){let e=this.#n;e.filter(e=>e.matches(`nve-divider`)).forEach(e=>e.orientation=this.orientation===`horizontal`?`vertical`:`horizontal`),e.filter(e=>e.matches(`nve-button-group`)).forEach(e=>e.orientation=this.orientation)}};M([b({type:String,reflect:!0})],UD.prototype,`container`,void 0),M([b({type:String,reflect:!0})],UD.prototype,`content`,void 0),M([b({type:String,reflect:!0})],UD.prototype,`orientation`,void 0),M([b({type:String,reflect:!0})],UD.prototype,`status`,void 0),M([x({slot:`prefix`})],UD.prototype,`prefixElements`,void 0),M([x({slot:`suffix`})],UD.prototype,`suffixElements`,void 0),M([x()],UD.prototype,`defaultElements`,void 0),g(UD),g(H);function WD(e){let t=e.nodes;t.length&&(t.every(e=>e.selected)?(e.selected=!0,e.indeterminate=!1):t.some(e=>e.selected)?e.indeterminate=!0:t.every(e=>!e.selected)&&(e.selected=!1,e.indeterminate=!1)),t.forEach(e=>WD(e))}var GD=`:host{--color: var(--nve-sys-interaction-color);--border-radius: var(--nve-ref-border-radius-xs);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-regular);--min-height: var(--nve-ref-size-800);--nve-sys-interaction-state-base: var(--background, var(--nve-sys-layer-canvas-background));--text-wrap: nowrap;width:100%;cursor:default}[internal-host]{color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);text-wrap:var(--text-wrap);display:flex;align-content:center;flex-wrap:wrap;width:100%}slot{display:flex;flex-direction:column;width:100%}slot[name=nodes]{padding-inline-start:var(--nve-ref-size-500);display:flex;flex-direction:column;align-items:start}slot:not(:has-slotted){display:none!important}[part=_node]{display:flex;align-items:center;width:100%}.node-title{display:flex;flex-direction:row;align-items:center;gap:var(--nve-ref-space-xs);border-radius:var(--border-radius);border-inline-start:var(--nve-ref-border-width-md) solid transparent;margin-inline-start:var(--nve-ref-space-xxxs);padding:var(--nve-ref-size-200) var(--nve-ref-size-200) var(--nve-ref-size-200) var(--nve-ref-size-100);min-height:var(--min-height);position:relative;& slot{width:fit-content;flex-shrink:0}& slot:not([name]){width:100%;min-width:0;flex-shrink:1;display:block}}[part=_node-header]{display:flex;flex-direction:column;width:100%;position:relative;min-width:0}:host(:focus-visible) [part=_node-header],::slotted(a:focus-visible):after{outline:Highlight solid 2px!important;outline:5px auto -webkit-focus-ring-color!important}[name=content]{padding:var(--nve-ref-size-200);display:block}[part=_nodes]{width:100%;position:relative;display:block;padding-inline-start:var(--nve-ref-size-200);overflow:hidden;transition:height var(--nve-ref-animation-duration-200) cubic-bezier(.4,0,.2,1)}:host([expanded]) [part=_nodes]{height:auto;height:calc-size(max-content,size)}[part=_nodes]:before{border-inline-start:var(--node-border);inset-inline-start:var(--nve-ref-size-150);inset-block:0;display:block;content:"";position:absolute}nve-icon-button{--width: var(--nve-ref-size-400);outline:0!important}nve-icon[name=caret]{transition:transform var(--nve-ref-animation-duration-150) cubic-bezier(.4,0,.2,1)}nve-checkbox{margin-inline-start:var(--nve-ref-space-xxs);margin-block-start:var(--nve-ref-space-xs);align-self:start}input{outline:0!important}::slotted(a){text-decoration:none!important;color:var(--color)!important;outline:0;vertical-align:middle}::slotted(a):after{display:block;content:" ";inset:0;position:absolute}:host(:state(selected):state(selectable-single)) .node-title{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}:host(:state(selected):state(selectable-single)) .node-title:after{width:var(--nve-ref-border-width-md);border-radius:var(--nve-ref-border-radius-full);background:var(--nve-sys-accent-secondary-background);content:"";display:block;position:absolute;height:80%;inset-block-start:10%;inset-inline-start:calc(var(--nve-ref-size-50) * -1)}:host(:state(selectable-single)) .node-title{cursor:pointer}:host(:state(selectable-multi)){nve-icon-button{--width: var(--nve-ref-size-500)}slot[name=nodes]{padding-inline-start:var(--nve-ref-size-700)}[role=group]:before{inset-inline-start:var(--nve-ref-size-200)}}:host(:state(highlighted)){--border-radius: 0;.node-title{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-selected)}}.node-title{background-image:linear-gradient(color-mix(in oklab,var(--nve-sys-interaction-state-base) 100%,var(--nve-sys-interaction-state-mix) var(--nve-sys-interaction-state-ratio)) 0 0)!important;&:hover{--nve-sys-interaction-state-ratio: var(--nve-sys-interaction-state-ratio-hover)}}`,KD={expand:`expand`},q=class extends y{constructor(...e){super(...e),this.command=``,this.commandfor=null,this.commandForElement=null,this.expanded=!1,this.selected=!1,this.expandable=!1,this.highlighted=!1,this.#e=new A(this,KD),this.i18n=this.#e.i18n,this.slot=`nodes`,this.indeterminate=!1,this.behaviorExpand=!1,this.behaviorSelect=!1,this.#n=new er(this),this.#r=new tr(this),this.#i=new si(this,{events:[]}),this.#c=e=>{let t=this.selectable&&e.code===`Space`,n=this.#a&&(e.code===`ArrowLeft`||e.code===`ArrowRight`);e.target===this&&(t||n)&&e.preventDefault()},this.#u=e=>{this.#l(e),this.#a&&e.code===`ArrowLeft`&&e.target===this&&this.close(),this.#a&&e.code===`ArrowRight`&&e.target===this&&this.open(),e.code===`Space`&&e.target===this&&this.selectable&&this.#p()}}#e;get#t(){return this.closest(`nve-tree`)}#n;#r;#i;get#a(){return this.expandable||this.expanded||!!this.nodes?.length}static{this.metadata={tag:`nve-tree-node`,version:`0.0.0`,parents:[`nve-tree`,`nve-tree-node`]}}static{this.elementDefinitions={[I.metadata.tag]:I,[F.metadata.tag]:F,[gS.metadata.tag]:gS}}static{this.styles=k([GD])}render(){return _`<div internal-host @slotchange="${this.#o}"><div part="_node">${this.#a?_`<nve-icon-button part="icon-button" exportparts="icon:icon-button-icon" @pointerup="${this.#f}" role="presentation" tabindex="-1" size="sm" container="inline" nofocus><nve-icon part="icon" name="caret" direction="${this.expanded?`down`:`right`}" size="sm"></nve-icon></nve-icon-button>`:v} ${this.selectable===`multi`?_`<nve-checkbox part="checkbox" nofocus><input type="checkbox" @change="${this.#h}" .checked="${this.selected}" .indeterminate="${this.indeterminate}" .ariaLabel="${this.i18n.expand}" tabindex="-1"></nve-checkbox>`:v}<div tabindex="0" part="_node-header"><div class="node-title" @click="${this.#d}"><slot name="prefix" part="_prefix"></slot><slot></slot><slot name="suffix" part="_suffix"></slot></div><slot name="content" part="_content"></slot></div></div><div role="group" part="_nodes"><slot name="nodes"></slot></div></div>`}connectedCallback(){super.connectedCallback(),T(this),this._internals.role=`treeitem`,this.addEventListener(`keydown`,this.#c),this.addEventListener(`keyup`,this.#u),this.#o()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`keydown`,this.#c),this.removeEventListener(`keyup`,this.#u)}open(){this.#n.open()}close(){this.#n.close()}#o(){this.requestUpdate(),this.#s()}#s(){this.#a?this._internals.states.add(`is-expandable`):this._internals.states.delete(`is-expandable`)}#c;#l(e){if(e.code!==`Enter`||e.defaultPrevented||e.repeat)return;let t=e.composedPath()[0];(t===this.shadowRoot?.querySelector(`[part="_node-header"]`)||t===this)&&this.#i.invoke()}#u;#d(e){let t=sn(e.currentTarget).length;this.#a&&!this.selectable&&!t&&this.#f(),this.selectable&&(!t||e.target.localName===`a`)&&this.#p();let n=e.composedPath();!n.slice(0,n.indexOf(e.currentTarget)).some(e=>e instanceof Element&&Ut(e))&&!e.defaultPrevented&&this.#i.invoke()}#f(){this.#n.toggle()}#p(){this.selectable===`single`&&this.#m(),this.selectable===`multi`&&this.#h()}#m(){this.#r.toggle(),this.behaviorSelect&&this.#t.nodes.filter(e=>e!==this).forEach(e=>e.selected=!1)}#h(){this.#r.toggle(),this.behaviorSelect&&(this.nodes.forEach(e=>{e.selected=this.selected,e.indeterminate=!1}),this.#t.nodes.forEach(e=>WD(e)))}};M([b({type:String})],q.prototype,`command`,void 0),M([b({type:String,reflect:!0})],q.prototype,`commandfor`,void 0),M([b({attribute:!1})],q.prototype,`commandForElement`,void 0),M([b({type:Boolean,reflect:!0})],q.prototype,`expanded`,void 0),M([b({type:Boolean,reflect:!0})],q.prototype,`selected`,void 0),M([b({type:Boolean})],q.prototype,`expandable`,void 0),M([b({type:String})],q.prototype,`selectable`,void 0),M([b({type:Boolean})],q.prototype,`highlighted`,void 0),M([b({type:Object})],q.prototype,`i18n`,void 0),M([D()],q.prototype,`slot`,void 0),M([x({slot:`nodes`})],q.prototype,`nodes`,void 0),M([N()],q.prototype,`indeterminate`,void 0),M([N()],q.prototype,`behaviorExpand`,void 0),M([N()],q.prototype,`behaviorSelect`,void 0),q=M([S(),E({log:!1}),Zn(),Yn(),Un(),O(),Gn()],q);var qD=`:host{--max-width: 100%;display:block;min-width:0}:host([border]){--node-border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted)}[internal-host]{max-width:var(--max-width);min-width:0}`,JD=`nve-tree-node:not(:has(>[slot=content]))::part(_content){display:none!important}nve-tree-node:not(:has(>[slot=prefix]))::part(_prefix){display:none!important}nve-tree-node:not(:has(>[slot=suffix]))::part(_suffix){display:none!important}nve-tree-node:not(:has(>[slot=nodes]))::part(_nodes){height:0}nve-tree-node:has(>[slot=nodes]):not([expanded])::part(_nodes){height:0}nve-tree-node>nve-tree-node:state(is-expandable){margin-inline-start:calc(-1 * var(--nve-ref-size-400));width:calc(100% + var(--nve-ref-size-400))}nve-tree-node>nve-tree-node:state(is-expandable):state(selectable-multi){margin-inline-start:calc(-1 * var(--nve-ref-size-500));width:calc(100% + var(--nve-ref-size-500))}nve-tree-node:has(nve-tree-node:state(is-expandable))::part(_nodes){padding-inline-start:var(--nve-ref-size-400)}nve-tree:has(>nve-tree-node:state(is-expandable))>nve-tree-node:not(:state(is-expandable))::part(_node){padding-inline-start:var(--nve-ref-size-400)}nve-tree:has(>nve-tree-node:state(is-expandable):state(selectable-multi))>nve-tree-node:not(:state(is-expandable)):state(selectable-multi)::part(_node){padding-inline-start:var(--nve-ref-size-500)}`,YD=class extends y{constructor(...e){super(...e),this.behaviorExpand=!1,this.behaviorSelect=!1,this.border=!1,this.#e=[]}static{this.styles=k([qD])}static{this.metadata={tag:`nve-tree`,version:`0.0.0`,children:[`nve-tree-node`]}}get nodes(){return Array.from(this.querySelectorAll(q.metadata.tag))}get keynavListConfig(){return{items:this.openNodes.map(e=>e.shadowRoot.querySelector(`[part="_node-header"]`)).filter(e=>e!==null),layout:`vertical`}}get openNodes(){return this.nodes.filter(e=>e.expanded||e.parentNode.expanded||e.parentNode===this)}render(){return _`<div internal-host><slot name="nodes"></slot></div>`}#e;connectedCallback(){super.connectedCallback(),T(this),C(this,JD),this._internals.role=`tree`,this.#e.push(Bt(this,()=>{this.#t()},{subtree:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.#e.forEach(e=>e.disconnect())}async updated(e){super.updated(e),await this.updateComplete,this.#t()}#t(){this.#n(),this.#r()}#n(){this.nodes.forEach(e=>{e.selectable=this.selectable,e.behaviorExpand=this.behaviorExpand,e.behaviorSelect=this.behaviorSelect})}#r(){this.behaviorSelect&&this.selectable===`multi`&&this.nodes.forEach(e=>WD(e))}};M([b({type:String})],YD.prototype,`selectable`,void 0),M([b({type:Boolean,attribute:`behavior-expand`})],YD.prototype,`behaviorExpand`,void 0),M([b({type:Boolean,attribute:`behavior-select`})],YD.prototype,`behaviorSelect`,void 0),M([b({type:Boolean,reflect:!0})],YD.prototype,`border`,void 0),YD=M([S(),Mn()],YD),g(YD),g(q);var XD=`:host{width:100%}`,ZD={expand:`expand`},QD=class extends R{get i18nDefaults(){return ZD}static{this.styles=k([...R.styles,bS,XD])}static{this.metadata={tag:`nve-week`,version:`0.0.0`}}static{this.elementDefinitions={[I.metadata.tag]:I}}get suffixContent(){return _`<nve-icon-button exportparts="icon:icon-button-icon" part="icon-button" .ariaLabel="${this.i18n.expand}" icon-name="calendar" container="inline" @click="${this.showPicker}"></nve-icon-button>`}};M([b({type:String,reflect:!0})],QD.prototype,`container`,void 0),QD=M([O()],QD),g(QD),g(R),g(z),g(L);var{I:$D}=lt,eO=e=>e,tO=()=>document.createComment(``),nO=(e,t,n)=>{let r=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(n===void 0)n=new $D(r.insertBefore(tO(),i),r.insertBefore(tO(),i),e,e.options);else{let t=n._$AB.nextSibling,a=n._$AM,o=a!==e;if(o){let t;n._$AQ?.(e),n._$AM=e,n._$AP!==void 0&&(t=e._$AU)!==a._$AU&&n._$AP(t)}if(t!==i||o){let e=n._$AA;for(;e!==t;){let t=eO(e).nextSibling;eO(r).insertBefore(e,i),e=t}}}return n},rO=(e,t,n=e)=>(e._$AI(t,n),e),iO={},aO=(e,t=iO)=>e._$AH=t,oO=e=>e._$AH,sO=e=>{e._$AR(),e._$AA.remove()},cO=(e,t,n)=>{let r=/* @__PURE__ */ new Map;for(let i=t;i<=n;i++)r.set(e[i],i);return r},lO=Ci(class extends wi{constructor(e){if(super(e),e.type!==Si.CHILD)throw Error(`repeat() can only be used in text expressions`)}dt(e,t,n){let r;n===void 0?n=t:t!==void 0&&(r=t);let i=[],a=[],o=0;for(let t of e)i[o]=r?r(t,o):o,a[o]=n(t,o),o++;return{values:a,keys:i}}render(e,t,n){return this.dt(e,t,n).values}update(e,[t,n,r]){let i=oO(e),{values:a,keys:o}=this.dt(t,n,r);if(!Array.isArray(i))return this.ut=o,a;let s=this.ut??=[],c=[],l,u,d=0,f=i.length-1,p=0,m=a.length-1;for(;d<=f&&p<=m;)if(i[d]===null)d++;else if(i[f]===null)f--;else if(s[d]===o[p])c[p]=rO(i[d],a[p]),d++,p++;else if(s[f]===o[m])c[m]=rO(i[f],a[m]),f--,m--;else if(s[d]===o[m])c[m]=rO(i[d],a[m]),nO(e,c[m+1],i[d]),d++,m--;else if(s[f]===o[p])c[p]=rO(i[f],a[p]),nO(e,i[d],i[f]),f--,p++;else if(l===void 0&&(l=cO(o,p,m),u=cO(s,d,f)),l.has(s[d])){if(l.has(s[f])){let t=u.get(o[p]),n=t===void 0?null:i[t];if(n===null){let t=nO(e,i[d]);rO(t,a[p]),c[p]=t}else c[p]=rO(n,a[p]),nO(e,i[d],n),i[t]=null;p++}else sO(i[f]),f--}else sO(i[d]),d++;for(;p<=m;){let t=nO(e,c[m+1]);rO(t,a[p]),c[p++]=t}for(;d<=f;){let e=i[d++];e!==null&&sO(e)}return this.ut=o,aO(e,c),Ye}});function J(e){return e?e.type===`group`?e.panels:e.children.flatMap(J):[]}function uO(e,t){return e===`horizontal`?t===`before`?`left`:`right`:t===`before`?`top`:`bottom`}function dO(e){return pO(e,`copy`)}function fO(e){return pO(e,`owned`)}function pO(e,t){if(e.type===`group`)return t===`copy`?{...e,panels:[...e.panels]}:e;let n=e.weights.reduce((e,t)=>e+t,0),r=[],i=t===`copy`?[]:void 0;e.children.forEach((a,o)=>{let s=pO(a,t),c=e.weights[o]/n;if(!(c>0))throw TypeError(`Split proportions exceed the supported range`);if(s.type===`split`&&s.axis===e.axis){let t=i??=e.weights.slice(0,o),n=s.weights.reduce((e,t)=>e+t,0);s.children.forEach((e,i)=>{r.push(e),t.push(c*s.weights[i]/n)})}else!i&&c!==e.weights[o]&&(i=e.weights.slice(0,o)),r.push(s),i?.push(c)});let a=i??e.weights;if(!a.every(e=>Number.isFinite(e)&&e>0))throw TypeError(`Split proportions exceed the supported range`);return{type:`split`,axis:e.axis,children:r,weights:a}}var mO=[`version`,`root`,`closed`],hO=[`type`,`panels`,`active`],gO=[`type`,`axis`,`children`,`weights`];function _O(e){if(!e)return;let t=JSON.parse(e),n=/* @__PURE__ */ new Set,r=e=>typeof e==`object`&&!!e,i=e=>r(e)?e.type===`group`?!Array.isArray(e.panels)||!e.panels.length||typeof e.active!=`string`||!e.panels.includes(e.active)?!1:e.panels.every(e=>typeof e!=`string`||!e||n.has(e)?!1:(n.add(e),!0)):bO(e)?e.children.every(e=>i(e)):!1:!1;if(!r(t)||t.version!==1||!(t.root===null||i(t.root))||!Array.isArray(t.closed)||!t.closed.every(e=>typeof e==`string`&&n.has(e))||new Set(t.closed).size!==t.closed.length)throw TypeError(`Invalid workspace arrangement`);return{version:1,root:t.root===null?null:dO(t.root),closed:[...t.closed]}}function vO(e){return e?JSON.stringify(e):``}function yO(e,t){return e===t?!0:!e||!t?!1:!EO(e,mO)||!EO(t,mO)?vO(e)===vO(t):e.version===t.version&&TO(e.closed,t.closed)&&xO(e.root,t.root)}function bO(e){return e.type!==`split`||![`horizontal`,`vertical`].includes(String(e.axis))||!Array.isArray(e.children)||e.children.length<2||!Array.isArray(e.weights)||e.weights.length!==e.children.length||!e.weights.every(e=>typeof e==`number`&&Number.isFinite(e)&&e>0)?!1:Number.isFinite(e.weights.reduce((e,t)=>e+t,0))}function xO(e,t){if(e===t)return!0;if(!e||!t||e.type!==t.type)return!1;let n=e.type===`group`?hO:gO;return!EO(e,n)||!EO(t,n)?JSON.stringify(e)===JSON.stringify(t):e.type===`group`?SO(e,t):CO(e,t)}function SO(e,t){return t.type===`group`&&e.active===t.active&&TO(e.panels,t.panels)}function CO(e,t){return t.type===`split`&&e.axis===t.axis&&TO(e.weights,t.weights)&&wO(e.children,t.children)}function wO(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!xO(e[n],t[n]))return!1;return!0}function TO(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function EO(e,t){if(`toJSON`in e)return!1;let n=0;for(let r in e)if(Object.hasOwn(e,r)&&r!==t[n++])return!1;return n===t.length}function Y(e,t){if(e){if(e.type===`group`)return t===void 0||e.panels.includes(t)?e:void 0;for(let n of e.children){let e=Y(n,t);if(e)return e}}}function DO(e,t){if(!e)return null;if(e.type===`group`){let n=t(e);return n?.type!==`group`||n.panels!==e.panels?n:{...n,panels:[...n.panels]}}let n=[],r=[];return e.children.forEach((i,a)=>{let o=DO(i,t),s=e.weights[a];o&&s!==void 0&&(n.push(o),r.push(s))}),n.length?n.length===1?n[0]??null:fO({type:`split`,axis:e.axis,children:n,weights:r}):null}function OO(e,t){let n=e.panels.filter(t),r=n[0];return r===void 0?null:{type:`group`,panels:n,active:n.includes(e.active)?e.active:r}}function kO(e,t,n){if(!t.length)return e;let r=Y(e);return r?DO(e,e=>({...e,panels:e===r?[...e.panels,...t]:[...e.panels],active:e===r?n??e.active:e.active})):{type:`group`,panels:[...t],active:n??t[0]??``}}function AO(e,t){return t.length===1||t.length===e.panels.length&&t.every((t,n)=>e.panels[n]===t)}function jO(e){return e===void 0||Number.isInteger(e)&&e>=0}function MO(e,t){let n=new Set(t);return{version:1,root:DO(e.root,e=>OO(e,e=>!n.has(e))),closed:e.closed.filter(e=>!n.has(e))}}function NO(e){let{layout:t,source:n,destination:r,splitWeights:i=[.5,.5]}=e;if(r.region||!i.every(e=>Number.isFinite(e)&&e>0))return;let a=LO(t,n,r);if(!a)return;let{sourceGroup:o,targetGroup:s}=a,c=n[0],l=new Set(n),u=s.panels.find(e=>!l.has(e));if(!u)return t;let d=DO(t.root,e=>OO(e,e=>!l.has(e))),f={source:n,destination:r,sourceGroup:o,targetGroup:s,moving:{type:`group`,panels:[...n],active:n.includes(o.active)?o.active:c},removed:l,splitWeights:i};return IO(t,DO(d,e=>e.panels.includes(u)?r.position===`tab`?PO(e,f):FO(e,f):{...e,panels:[...e.panels]}))}function PO(e,{source:t,sourceGroup:n,targetGroup:r,moving:i,destination:a,removed:o}){let s=Math.min(a.index??r.panels.length,r.panels.length),c=s-r.panels.slice(0,s).filter(e=>o.has(e)).length,l=[...e.panels];return l.splice(c,0,...t),{type:`group`,panels:l,active:n===r?n.active:i.active}}function FO(e,{moving:t,destination:n,splitWeights:r}){let i=n.position===`left`||n.position===`top`;return{type:`split`,axis:n.position===`left`||n.position===`right`?`horizontal`:`vertical`,weights:i?[...r]:[...r].reverse(),children:i?[t,e]:[e,t]}}function IO(e,t){let n={version:1,root:t?dO(t):null,closed:[...e.closed]};return yO(n,{...e,root:e.root?dO(e.root):null})?e:n}function LO(e,t,n){let r=t[0];if(r===void 0||new Set(t).size!==t.length)return;let i=Y(e.root,r),a=Y(e.root,n.target);if(i&&a&&!(n.position!==`tab`&&t.includes(n.target))&&AO(i,t)&&jO(n.index))return{sourceGroup:i,targetGroup:a}}function RO(e,t){if(Y(e.root,t)&&!e.closed.includes(t))return{...e,closed:[...e.closed,t]}}function zO(e,t){if(e.closed.includes(t))return{...e,closed:e.closed.filter(e=>e!==t)}}function BO(e,t){let n=new Set(J(e.root)),r=t.filter(e=>!n.has(e)&&(n.add(e),!0));return r.length?{version:1,root:kO(e.root,r),closed:[...e.closed]}:e}function X(e,t){let n=new Set(t.filter(t=>!e.closed.includes(t)));return{version:1,root:DO(e.root,e=>OO(e,e=>n.has(e))),closed:[]}}function VO(e,t){if(e.closed.includes(t)||!Y(e.root,t))return;let n=DO(e.root,e=>e.panels.includes(t)?{...e,active:t}:e),r={...e,root:n};return yO(r,e)?void 0:r}function HO(e,t){let n=t?Y(e.root,t):void 0;return n?{...e,root:n}:void 0}function UO(e,t,n){return n.target===e?t.find(e=>e.id===n.source?.value):t.find(e=>e===n.target)}function WO(e){let t=KO(e);if(!t)return!1;let{id:n}=t;switch(e.command){case`--enter-fullscreen`:return e.canEnterFullscreen(n);case`--exit-fullscreen`:return e.canExitFullscreen();case`--toggle-fullscreen`:return e.isFullscreenGroup(n)?e.canExitFullscreen():e.canEnterFullscreen(n);default:return GO(e,t)}}function GO(e,t){let{id:n,group:r,closed:i}=t;switch(e.command){case`--open`:return i||r.active!==n;case`--select`:return!i&&r.active!==n;case`--close`:return e.closable&&!i;case`--place`:return qO(e,n);default:return!1}}function KO(e){let t=e.context.value;if(!t||!e.layout||!e.available.includes(t))return;let n=Y(e.layout.root,t);return n?{id:t,group:n,closed:e.layout.closed.includes(t)}:void 0}function qO(e,t){let n=e.context.placement;if(!e.rearrangeable||!JO(n)||!e.layout)return!1;let r=nk({layout:e.layout,available:e.available,anchor:t,placement:n});return!!r&&e.placementAvailable(r.source,r.intent)}function JO(e){if(!$O(e)||!YO(e.source))return!1;switch(e.operation){case`split`:return e.scope===void 0&&ek(e.target)&&tk(e.position);case`join`:return XO(e);case`reorder`:return ZO(e);case`insert`:return QO(e);default:return!1}}function YO(e){return e===void 0||e===`panel`||e===`group`}function XO(e){let t=e.index;return e.scope===void 0&&ek(e.target)&&(t===void 0||typeof t==`number`&&Number.isInteger(t)&&t>=0)}function ZO(e){return e.scope===void 0&&ek(e.target)&&(e.position===`before`||e.position===`after`)}function QO(e){return tk(e.position)&&(e.scope===`workspace`&&e.target===void 0||e.scope===`arrangement`&&ek(e.target))}function $O(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ek(e){return typeof e==`string`&&e.length>0}function tk(e){return e===`left`||e===`right`||e===`top`||e===`bottom`}function nk(e){let{layout:t,available:n,anchor:r,placement:i}=e,a=n.filter(e=>!t.closed.includes(e));if(!a.includes(r))return;let o=Y(t.root,r);if(!o)return;let s=i.source===`group`?[...o.panels]:[r],c=X(t,n).root;if(i.operation===`insert`&&i.scope===`workspace`){let e=ok(c,s);return e?{source:s,intent:{kind:`insert`,destination:{target:e,region:`root`,position:i.position}}}:void 0}if(!a.includes(i.target)||!Y(c,i.target))return;let l=rk({root:c,source:s,placement:i});return l?{source:s,intent:l}:void 0}function rk({root:e,source:t,placement:n}){let r=n.target;switch(n.operation){case`join`:return{kind:`tab`,destination:{target:r,position:`tab`,index:n.index}};case`split`:return t.includes(r)?void 0:{kind:`split`,destination:{target:r,position:n.position}};case`reorder`:return ik({root:e,source:t,target:r,position:n.position});case`insert`:{let t=ak(e,r)?.owner;return t?{kind:`insert`,destination:{target:r,region:t.key,position:n.position}}:void 0}}}function ik(e){let t=ak(e.root,e.source[0]),n=t?.owner;if(!n)return;let r=n.node.children.findIndex(t=>!!Y(t,e.target));if(r<0||r===t.index)return;let i=uO(n.node.axis,e.position);return{kind:`order`,destination:{target:e.target,region:`${n.key}.${r}`,position:i}}}function ak(e,t,n=`root`){if(e){if(e.type===`group`)return e.panels.includes(t)?{group:e,index:0}:void 0;for(let[r,i]of e.children.entries()){if(i.type===`group`&&i.panels.includes(t))return{group:i,index:r,owner:{node:e,key:n}};let a=ak(i,t,`${n}.${r}`);if(a)return a}}}function ok(e,t){if(e)return e.type===`group`?e.panels.find(e=>!t.includes(e)):e.children.map(e=>ok(e,t)).find(Boolean)}var sk=class{#e;#t;#n=!1;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}hostConnected(){this.#e.addEventListener(`command`,this.#r,!0),this.invalidateAvailability()}hostDisconnected(){this.#e.removeEventListener(`command`,this.#r,!0),this.#n=!1}isCommandAvailable(e,t={}){if(e===`--place`&&!this.#t.isRearrangementAllowed())return!1;let n=this.#t.getState();return WO({command:e,context:t,...n,closable:this.#e.closable,rearrangeable:this.#e.rearrangeable,available:n.panels.map(e=>e.id),placementAvailable:this.#t.isPlacementAvailable,canEnterFullscreen:this.#t.canEnterFullscreen,canExitFullscreen:this.#t.canExitFullscreen,isFullscreenGroup:this.#t.isFullscreenGroup})}invalidateAvailability(){this.#n=!0,this.#e.requestUpdate()}flushAvailability(){this.#n&&this.#e.isConnected&&(this.#n=!1,this.#e.dispatchEvent(new Event(`commandavailabilitychange`,{bubbles:!0,composed:!0})))}#r=e=>{if(!e.command||!this.#a(e))return;let t=UO(this.#e,this.#t.getState().panels,e);t&&(e.command===`--place`?this.#i(t.id,e.source?.placement):this.isCommandAvailable(e.command,{value:t.id,placement:e.source?.placement})&&this.#o(e.command,t.id))};#i(e,t){if(!this.#e.rearrangeable||!this.#t.isRearrangementAllowed()||!JO(t))return;let{layout:n,panels:r}=this.#t.getState();if(!n)return;let i=nk({layout:n,available:r.map(e=>e.id),anchor:e,placement:t});i&&this.#t.placePanel(i.source,i.intent)}#a(e){return!e.defaultPrevented&&!e.source?.disabled&&!e.source?.readOnly}#o(e,t){switch(e){case`--open`:this.#t.activatePanel(t,`open`);break;case`--select`:this.#t.activatePanel(t,`select`);break;case`--close`:this.#t.closePanel(t);break;case`--enter-fullscreen`:this.#t.enterFullscreen(t);break;case`--exit-fullscreen`:this.#t.exitFullscreen();break;case`--toggle-fullscreen`:this.#t.isFullscreenGroup(t)?this.#t.exitFullscreen():this.#t.enterFullscreen(t)}}},ck=`:host{--background: var(--nve-sys-layer-container-background);--border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color);--box-shadow: var(--nve-ref-shadow-100);display:block;pointer-events:none;border-radius:var(--_workspace-border-radius, var(--nve-ref-border-radius-lg))}[internal-host]{height:100%;position:relative;border-radius:inherit}.surface{position:absolute;inset:0;overflow:hidden;border-radius:inherit}.content{box-sizing:border-box;position:absolute;inset:0;display:flex;flex-direction:column;min-height:0;pointer-events:auto;background:var(--background);border:var(--border);border-color:transparent}.frame{position:absolute;inset:0;box-sizing:border-box;border:var(--border);border-right:var(--_workspace-border-right, var(--border));border-bottom:var(--_workspace-border-bottom, var(--border));border-radius:inherit;pointer-events:none;z-index:4}.body{flex:1;min-height:0;overflow:auto;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}::slotted(nve-workspace-panel-footer){flex:0 0 auto}[hidden]{display:none}:host([container="flat"]) .content{background:transparent}:host([container="full"]),:host([container="flat"]){border-radius:var(--nve-ref-border-radius-none);--box-shadow: none}:host([aria-hidden="false"]){box-shadow:var(--box-shadow)}`,lk=class extends y{constructor(...e){super(...e),this.minWidth=0,this.minHeight=0,this.selected=!1,this.headerHeight=0}static{this.styles=k([ck])}static{this.metadata={tag:`nve-workspace-panel`,version:`0.0.0`,parents:[`nve-workspace`],children:[`nve-workspace-panel-header`,`nve-workspace-panel-content`,`nve-workspace-panel-footer`]}}connectedCallback(){super.connectedCallback(),T(this)}render(){let{selected:e,headerHeight:t}=this;return _`<div internal-host><div class="surface"><slot name="header"></slot><div class="content" style="${`top:${t}px`}" ?hidden="${!e}"><div class="body" tabindex="0"><slot></slot></div><slot name="footer"></slot></div></div><div class="frame" ?hidden="${!e}"></div></div>`}_present(e){e?this._internals.states.add(`workspace-presented`):this._internals.states.delete(`workspace-presented`)}_configure(e){this.selected=e.selected,this.headerHeight=e.headerHeight,this.querySelector(`:scope > nve-workspace-panel-header`)?._configure(e)}};M([b({type:Number,attribute:`min-width`,reflect:!0})],lk.prototype,`minWidth`,void 0),M([b({type:Number,attribute:`min-height`,reflect:!0})],lk.prototype,`minHeight`,void 0),M([N()],lk.prototype,`selected`,void 0),M([N()],lk.prototype,`headerHeight`,void 0);function uk(e,t){return[...e.find(e=>e.id===t)?.querySelector(`:scope > nve-workspace-panel-header`)?.childNodes??[]].filter(e=>!(e instanceof Element)||!e.hasAttribute(`slot`)).map(e=>e.textContent).join(` `).trim()||t}function dk(e,t){let n=t=>!!t&&bn(t,lk)&&t.parentElement===e;if(n(t.target))return[...t.addedNodes,...t.removedNodes].some(e=>e instanceof Element&&[`nve-workspace-panel-header`,`nve-workspace-panel-footer`].includes(e.localName));let r=t.target instanceof Element?t.target:t.target.parentElement;return t.attributeName===`slot`&&n(r?.parentElement)?!0:n(r?.closest(`nve-workspace-panel-header`)?.parentElement)}function fk(e){let t=e.ownerDocument,n=Gt(t);if(!(n instanceof HTMLElement)||[t.body,t.documentElement,e].includes(n))return;let r=yk(n,e);return()=>{if(!e.isConnected||e.ownerDocument!==t)return;let i=Gt(t);if(i===n||vk(i,e))return;let a=_k(e,n,r);a&&a.ownerDocument===t&&Ut(a)&&a.checkVisibility({visibilityProperty:!0})&&a.focus({preventScroll:!0})}}function pk(e){let t=[...e.shadowRoot?.querySelectorAll(`.tablist[data-group]`)??[]].map(e=>({key:e.dataset.group,left:e.scrollLeft}));return()=>{mk(e,t)}}async function mk(e,t){await e.updateComplete;for(let{key:n,left:r}of t){let t=e.shadowRoot?.querySelector(`[data-group="${CSS.escape(n)}"]`);t&&(t.scrollLeft=r)}e.requestUpdate()}function hk(e,t){if(!e.ownerDocument.activeElement||e.ownerDocument.activeElement===e.ownerDocument.body||bk(e,t)?.matches(`:focus-within`))return!0;let n=e.shadowRoot?.activeElement;return n instanceof HTMLElement&&(n.dataset.panel===t||n.dataset.close===t)}async function gk(e,t={}){await e.updateComplete;let n=t.id??xk(e);if(!n)return;let r=Sk(e,n,t.group);r&&(r.focus({preventScroll:t.preserveScroll}),t.preserveScroll||Ck(e,n))}function _k(e,t,n){return t.isConnected?t:n?e.shadowRoot?.querySelector(n):void 0}function vk(e,t){return e instanceof HTMLElement&&e!==t&&e!==t.ownerDocument.body&&e!==t.ownerDocument.documentElement&&e.isConnected&&Ut(e)&&e.checkVisibility({visibilityProperty:!0})}function yk(e,t){if(e.getRootNode()!==t.shadowRoot)return;let n=e.hasAttribute(`data-panel`)?`data-panel`:`data-drag-group`,r=e.getAttribute(n);return r?`${e.localName}[${n}="${CSS.escape(r)}"]`:void 0}function bk(e,t){return[...e.children].find(e=>bn(e,lk)&&e.id===t)}function xk(e){return e.shadowRoot?.querySelector(`nve-tabs-item[selected], .panel-title`)?.dataset.panel}function Sk(e,t,n){let r=e.shadowRoot;if(!r)return;let i=CSS.escape(t);if(n){let e=r.querySelector(`[data-drag-group="${i}"]`);if(e)return e}let a=r.querySelector(`[data-panel="${i}"]`);return a?.localName===`nve-tabs-item`?a:bk(e,t)?.shadowRoot?.querySelector(`.body`)}function Ck(e,t){e.shadowRoot?.querySelector(`[data-panel="${CSS.escape(t)}"]`)?.closest(`.tab-entry`)?.scrollIntoView({block:`nearest`,inline:`nearest`})}function wk(e,t){let n=Math.max(t.x,Math.min(e.x,t.x+t.width)),r=Math.max(t.y,Math.min(e.y,t.y+t.height));return{x:n,y:r,width:Math.max(0,Math.min(e.x+e.width,t.x+t.width)-n),height:Math.max(0,Math.min(e.y+e.height,t.y+t.height)-r)}}function Tk(e,t){return e.kind===`invalid`||t.kind===`invalid`||e.kind!==t.kind?!1:e.destination.target===t.destination.target&&e.destination.region===t.destination.region&&e.destination.position===t.destination.position&&e.destination.index===t.destination.index}function Ek(e){let t=e.panels.map(e=>e.id).filter(t=>!e.closed.includes(t));return e.groups.map(({key:n,group:r,rect:i})=>({key:n,rect:i,active:r.active,...Fk({root:e.root,members:r.panels,source:e.source,visible:t,width:e.gripWidth}),panels:r.panels.flatMap(t=>e.panels.filter(e=>e.id===t))}))}function Dk(e,t,n){return n?e.map(e=>({...e,active:Lk({root:t,source:n,members:e.panels.map(e=>e.id),active:e.active})})):e}function Ok(e,t){return e.map(e=>({...e,panels:t.find(t=>t.panels.some(t=>e.panels.includes(t)))?.panels??e.panels}))}function kk(e,t){let n=t.panels?.[e.active]?.suffixWidth??0;return Math.max(t.tabWidth,e.tabbed||e.panels.length>1?t.tabMinWidth:0,(e.rect.width-e.gripWidth-n-(t.groupActionWidth??0))/e.panels.length)}function Ak(e,t,n){return JSON.stringify([...Ik(e,t,n)].sort())}function jk(e){for(let t of e.groups){let n=e.client(t.rect),{headerHeight:r}=e.measurements,i=(e.measurements.panels?.[t.active]?.suffixWidth??0)+(e.measurements.groupActionWidth??0),{gripWidth:a}=t,o=wk({x:n.x+a,y:n.y,width:Math.max(0,n.width-a-i),height:r},e.bounds);if(!Bk(o,e.point))continue;let s=kk(t,e.measurements),c=t.panels.flatMap((i,o)=>e.source.includes(i.id)?[]:[{id:i.id,rect:{x:n.x+a+o*s-e.scroll(t),y:n.y,width:s,height:r}}]);if(c.length)return{panels:c.map(e=>e.id),rect:o,headerHeight:o.height,tabs:c}}}function Mk(e){let t=e.groups.find(t=>t.panels.some(t=>e.source.includes(t.id)));if(!t)return{kind:`group`,rect:e.bounds};let n=e.client(t.rect);if(e.groupDrag||t.panels.length===1)return{kind:`group`,rect:wk(n,e.bounds)};let r=e.width(t),i=t.panels.findIndex(t=>e.source.includes(t.id));return{kind:`tab`,rect:wk({x:n.x+t.gripWidth+i*r-e.scroll(t),y:n.y,width:r,height:e.measurements.headerHeight},e.bounds)}}function Nk(e){return e.groups.some(t=>{if(!t.panels.some(t=>e.source.includes(t.id)))return!1;let{cue:n,bounds:r}=zk({rect:e.client(t.rect),viewport:e.bounds,grip:t.gripWidth,suffixWidth:(e.measurements.panels?.[t.active]?.suffixWidth??0)+(e.measurements.groupActionWidth??0),headerHeight:e.measurements.headerHeight,tabWidth:kk(t,e.measurements),panels:t.panels.map(e=>e.id),source:e.source,scroll:e.scroll(t)});return Bk(r,e.point)&&Bk(n,e.point)})?`tab`:void 0}function Pk(e){let t=Dk([Rk(e)],e.root,e.source)[0];return zk({rect:e.client(t.rect),viewport:e.viewport,grip:t.gripWidth,suffixWidth:(e.measurements.panels?.[t.active]?.suffixWidth??0)+(e.measurements.groupActionWidth??0),headerHeight:e.measurements.headerHeight,tabWidth:kk(t,e.measurements),panels:t.panels.map(e=>e.id),source:e.source,scroll:e.scroll(t)})}function Fk(e){let t=Ik(e.root,e.members,e.source).filter(t=>e.visible.includes(t)).length>1;return{tabbed:t,gripWidth:t?e.width:0}}function Ik(e,t,n){let r=t.find(e=>!n.includes(e))??t[0];return(r?Y(e,r):void 0)?.panels??t}function Lk(e){let{root:t,members:n,source:r,active:i}=e,a=n.filter(e=>!r.includes(e)),o=a[0],s=o?Y(t,o)?.active:void 0;return s&&a.includes(s)?s:a[0]??i}function Rk(e){if(e.intent.kind!==`tab`)return e.group;let t=e.intent.destination.target,n=e.spatial().find(e=>e.panels.some(e=>e.id===t));return n?{...e.group,rect:n.rect,gripWidth:n.gripWidth}:e.group}function zk(e){let{rect:t,viewport:n,grip:r,suffixWidth:i,headerHeight:a,tabWidth:o,panels:s,source:c,scroll:l}=e;return{cue:{x:t.x+r+s.findIndex(e=>c.includes(e))*o-l,y:t.y,width:s.filter(e=>c.includes(e)).length*o,height:a},bounds:wk({x:t.x+r,y:t.y,width:Math.max(0,t.width-r-i),height:a},n)}}function Bk(e,t){return e.width>0&&e.height>0&&t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height}var Vk=class{#e;#t;#n;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}hostDisconnected(){this.#n=void 0}captureFocus(){this.#n=this.#t.getPreview()?void 0:Gk(this.#e)}applyPresentation(e){let t=e.groups.map(t=>({group:t,scrollLeft:e.scroll(t)}));for(let{group:n,scrollLeft:r}of t)Hk(e,n,r);let n=new Set(e.groups.flatMap(e=>e.panels));this.#t.getPanels().forEach(t=>{t._present(n.has(t)&&!e.source.includes(t.id))})}sync(){let e=this.#t.getPanels(),t=this.#t.getGroups(),n=this.#t.getPreview();Uk(e,t.map(e=>({group:e,strip:this.findTabStrip(e)}))),Wk(this.#e,t,{panels:e,carried:e=>n?.source.includes(e)??!1}),n||Kk(this.#e,t,this.#n),this.#n=void 0}getTransitionTargets(){let e=/* @__PURE__ */ new Map;for(let t of this.#t.getPanels()){if(!t.checkVisibility())continue;let n=t.querySelector(`:scope > nve-workspace-panel-header`);e.set(t.id,{element:t,header:n?._getTransitionTargets()})}let t=/* @__PURE__ */ new Map;for(let e of this.#e.shadowRoot?.querySelectorAll(`[data-boundary]`)??[])e.parentElement&&t.set(e.dataset.boundary,e.parentElement);return{panels:e,groups:Jk(this.#e),gutters:t}}getGroupIdentity(e){return Ak(this.#t.getLayout()?.root??null,e.panels.map(e=>e.id),this.#t.getPreview()?.source??[])}findTabStrip(e){return this.#e.shadowRoot?.querySelector(`[data-group="${CSS.escape(this.getGroupIdentity(e))}"]`)}handleScroll(e,t){let n=t.currentTarget;if(!(n instanceof HTMLElement))return;let r=n.scrollLeft;for(let t of e.panels)t.querySelector(`:scope > nve-workspace-panel-header`)?._scroll(r);this.#t.scrollChanged()}setHeaderHovered(e,t){this.#t.getPanels().find(t=>t.id===e)?.querySelector(`:scope > nve-workspace-panel-header`)?._hover(t)}};function Hk(e,t,n){let{headerHeight:r,actionWidth:i}=e.measurements,a=kk(t,e.measurements),o=e.measurements.groupActionWidth??0,s=(e.measurements.panels?.[t.active]?.suffixWidth??0)+o;t.panels.forEach((c,l)=>{if(e.source.includes(c.id))return;e.container&&c.getAttribute(`container`)!==e.container?c.setAttribute(`container`,e.container):e.container||c.removeAttribute(`container`),c.setAttribute(`role`,t.tabbed?`tabpanel`:`group`),c.setAttribute(`aria-hidden`,String(t.active!==c.id));let u=t.rect;Object.assign(c.style,{left:`${u.x}px`,top:`${u.y}px`,width:`${u.width}px`,height:`${u.height}px`}),c.style.setProperty(`--_workspace-border-right`,e.measurements.gap===0&&u.x+u.width<e.extent.width-1e-6?`none`:`var(--border)`),c.style.setProperty(`--_workspace-border-bottom`,e.measurements.gap===0&&u.y+u.height<e.extent.height-1e-6?`none`:`var(--border)`),c._configure({selected:t.active===c.id,offset:t.gripWidth+l*a,scrollLeft:n,animate:e.animate,tabWidth:Math.max(0,a-i*Number(e.closable)),headerHeight:r,suffixEnd:o,clipLeft:t.gripWidth,clipWidth:Math.max(0,u.width-t.gripWidth-s)})})}function Uk(e,t){let n=/* @__PURE__ */ new Map;for(let{group:e,strip:r}of t){if(!r||e.panels.length<2)continue;let t={source:r,extent:Math.max(0,r.scrollWidth-r.clientWidth)};for(let r of e.panels)n.set(r,t)}for(let t of e){let e=n.get(t);t.querySelector(`:scope > nve-workspace-panel-header`)?._bindScroll(e?.source,e?.extent??0)}}function Wk(e,t,n){n.panels.forEach(e=>{e.hasAttribute(`aria-labelledby`)&&e.removeAttribute(`aria-labelledby`)}),t.forEach(t=>t.panels.forEach(r=>{if(n.carried(r.id))return;let i=e.shadowRoot?.querySelector(`[data-panel="${CSS.escape(r.id)}"]`),a=uk(n.panels,r.id);r.setAttribute(`aria-label`,a),t.tabbed&&i?.localName===`nve-tabs-item`&&(i.ariaControlsElements=[r],i.setAttribute(`aria-label`,a))}))}function Gk(e){let t=e.shadowRoot?.activeElement;if(!t||!(t instanceof HTMLElement)||!t.closest(`.tabs`))return;let n=t.dataset.panel??t.dataset.close??t.dataset.dragGroup;if(n)return{element:t,id:n,close:t.hasAttribute(`data-close`),members:[...t.closest(`.tabs`)?.querySelectorAll(`[data-panel]`)??[]].map(e=>e.dataset.panel)}}function Kk(e,t,n){if(!n||!qk(e,n))return;let r=t.find(e=>e.panels.some(e=>e.id===n.id))??t.find(e=>e.panels.some(e=>n.members.includes(e.id)));if(!r)return;let i=r.panels.some(e=>e.id===n.id)?n.id:r.active,a=n.close&&i===n.id?e.shadowRoot?.querySelector(`[data-close="${CSS.escape(i)}"]`):void 0;a?a.focus({preventScroll:!0}):gk(e,{id:i,preserveScroll:!0})}function qk(e,t){if(t.element.isConnected&&!t.element.closest(`[inert]`))return!1;let n=Gt(e.ownerDocument);return!n||[e,e.ownerDocument.body,t.element].some(e=>e===n)?!0:!(n.isConnected&&!n.closest(`[inert]`))}function Jk(e){let t=[];for(let n of e.shadowRoot?.querySelectorAll(`.group-chrome`)??[]){let e=/* @__PURE__ */ new Map;for(let t of n.querySelectorAll(`[data-panel]`)){let n=t.closest(`.tab-entry`);n&&t.dataset.panel&&e.set(t.dataset.panel,n)}t.push({element:n,tabs:e})}return t}var Yk=class{#e;#t;#n;#r;#i=[];#a;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}get active(){return this.#r!==void 0&&this.#c()}get targetPanelId(){return this.active?this.#r:void 0}get canExit(){return this.#r!==void 0}hostConnected(){this.#n=this.#e.ownerDocument,this.#n.addEventListener(`fullscreenchange`,this.#l)}hostDisconnected(){this.#n?.removeEventListener(`fullscreenchange`,this.#l),this.#n=void 0,this.exit()}hostUpdate(){if(!this.#r)return;let e=this.#t.getGroup(this.#r);if(e.length){this.#i=e;return}let t=this.#i.find(e=>this.#t.getGroup(e).length);t?(this.#r=t,this.#i=this.#t.getGroup(t),this.#t.invalidateCommandAvailability()):this.exit()}isSelectedGroup(e){return this.#r!==void 0&&this.#t.getGroup(e).includes(this.#r)}canEnter(e){return this.isSelectedGroup(e)||!this.#e.fullscreenable||!this.#t.getGroup(e).length?!1:this.canExit||typeof this.#e.requestFullscreen==`function`&&this.#e.ownerDocument.fullscreenEnabled}enter(e){let t=this.#t.getGroup(e);if(!t.length)return;let n=this.#r!==void 0;this.#t.cancelInteractions(),this.#r=e,this.#i=t,this.#t.invalidateCommandAvailability(),n||this.#o()}exit(){this.#a=void 0,this.#c()?this.#s():this.#u()}async#o(){let e=this.#e.requestFullscreen();this.#a=e;try{await e,this.#a===e?this.#l():!this.#r&&this.#c()&&this.exit()}catch{this.#a===e&&this.#u()}finally{this.#a===e&&(this.#a=void 0)}}async#s(){try{await this.#e.ownerDocument.exitFullscreen()}catch{this.#l()}}#c(){let e=this.#e.getRootNode();return(e instanceof ShadowRoot?e.fullscreenElement:this.#e.ownerDocument.fullscreenElement)===this.#e}#l=()=>{this.#c()&&this.#r?(this.#t.invalidateCommandAvailability(),this.#e.requestUpdate()):this.#c()?this.exit():this.#u()};#u(){let e=this.#r!==void 0;this.#a=void 0,this.#r=void 0,this.#i=[],e&&this.#t.invalidateCommandAvailability(),this.#e.requestUpdate()}},Xk=[`gap`,`headerHeight`,`gripWidth`,`actionWidth`,`groupActionWidth`,`tabWidth`,`tabMinWidth`,`width`,`height`];function Zk(e,t){return e!==void 0&&Xk.every(n=>e[n]===t[n])&&Qk(e.panels,t.panels)}function Qk(e,t){if(e===t)return!0;if(!e||!t)return!1;for(let n in e){let r=e[n],i=t[n];if(!i||r.suffixWidth!==i.suffixWidth||r.footerHeight!==i.footerHeight)return!1}for(let n in t)if(!Object.hasOwn(e,n))return!1;return!0}var $k={suffixWidth:0,footerHeight:0},eA=class{#e;#t;#n;#r=/* @__PURE__ */ new Map;#i=[];#a;#o;#s;#c;#l=!0;#u=!0;#d;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}hostConnected(){this.invalidate(),this.#o=void 0,this.#n=new ResizeObserver(e=>{let t=!1;for(let n of e)t=this.#g(n)||t;t&&this.#v()})}hostDisconnected(){this.#n?.disconnect(),this.#r.clear(),this.#i=[],this.#a=void 0,this.#s=void 0,this.#o=void 0,this.#c=void 0}hostUpdated(){this.#l&&this.#f(),this.#v()}invalidate(){this.#l=!0,this.#u=!0}#f(){let e=this.#e.shadowRoot,t=e?.querySelector(`.viewport`)??void 0;if(t!==this.#a&&(this.#o=void 0),this.#a=t,this.#s=e?.querySelector(`[data-chrome]`)??void 0,!this.#a||!this.#s)return;let n=/* @__PURE__ */ new Map,r=(e,t)=>{e&&n.set(e,{width:NaN,height:NaN,...this.#r.get(e),...t})};r(this.#a,{axis:`both`});for(let e of this.#s.querySelectorAll(`.gap-probe, .tab-min-probe, .tab-probe, .chrome-header, .group-actions, nve-drag-handle, nve-icon-button`))r(e,{axis:`both`});this.#p(r),this.#m(n),this.#l=!1}#p(e){let t=new Map(this.#i.map(e=>[e.panel,e]));this.#i=this.#t.getPanels().map(e=>tA(e,t.get(e)));for(let t of this.#i)e(t.label,{axis:`height`,panel:t}),e(t.suffix,{axis:`both`,panel:t}),e(t.footer,{axis:`height`,panel:t}),!t.header||t.label&&t.suffix||this.#h(t)}#m(e){this.#r.forEach((t,n)=>{e.has(n)||this.#n?.unobserve(n)}),e.forEach((e,t)=>{this.#r.has(t)||this.#n?.observe(t,t===this.#a?void 0:{box:`border-box`})}),this.#r=e}async#h(e){let t=e.header;await t.updateComplete,this.#e.isConnected&&t.parentElement===e.panel&&e.panel.parentElement===this.#e&&(this.invalidate(),this.#e.requestUpdate())}#g(e){if(e.target===this.#a)return this.#_();let t=this.#r.get(e.target);if(!t)return!1;let{width:n,height:r}=e.target.getBoundingClientRect(),i=t.height!==r||!Number.isFinite(t.height)||t.axis===`both`&&(t.width!==n||!Number.isFinite(t.width));return t.width=n,t.height=r,i?(t.panel?t.panel.dirty=!0:this.#u=!0,!0):!1}#_(){if(!this.#a)return!1;let e=this.#a.clientWidth,t=this.#a.clientHeight;return e===this.#o?.width&&t===this.#o.height?!1:(this.#o={width:e,height:t},!0)}#v(){if(!this.#a||!this.#s)return;(this.#u||!this.#c)&&(this.#c=nA(this.#s),this.#u=!1),this.#o||this.#_();let{panels:e,headerHeight:t}=this.#y(this.#c),n={gap:this.#c.gap,gripWidth:this.#c.gripWidth,actionWidth:this.#c.actionWidth,groupActionWidth:this.#c.groupActionWidth,tabWidth:this.#c.tabWidth,tabMinWidth:this.#c.tabMinWidth,panels:e,headerHeight:t,width:this.#o.width,height:this.#o.height};this.#x(n)}#y(e){let t=Object.create(null),n=e.headerHeight;for(let r of this.#i){let i=this.#t.isPresented(r.panel.id),a=!i&&this.#t.isCarried(r.panel.id);this.#b(r,i),t[r.panel.id]=i||a?r.measurements:$k,(i||a)&&(n=Math.max(n,r.labelHeight,r.suffixHeight),r.header||(n=Math.max(n,e.headerlessHeight)))}return{panels:t,headerHeight:n}}#b(e,t){let n=e.dirty||t&&!e.presented;if(e.presented=t,!t||!n)return;let{suffixWidth:r,suffixHeight:i}=rA(e.suffix),a=iA(e,e.measurements.footerHeight);(r!==e.measurements.suffixWidth||a!==e.measurements.footerHeight)&&(e.measurements={suffixWidth:r,footerHeight:a}),e.suffixHeight=i,e.labelHeight=Z(e.label,`height`),e.dirty=!1}#x(e){let t=this.#d;if(Zk(t,e))return;let n=e.width!==(t?.width??0)||e.height!==(t?.height??0)||e.gap!==(t?.gap??0);this.#d=e,this.#t.applyMeasurements({measurements:e,spaceChanged:n})}};function tA(e,t){let n=t??{panel:e,header:null,label:null,suffix:null,footer:null,dirty:!0,presented:!1,labelHeight:0,suffixHeight:0,measurements:$k},r=e.querySelector(`:scope > nve-workspace-panel-header`),i=r?._getMeasurementTargets(),a=i?.label??null;return n.label!==a&&(n.labelHeight=0),n.header=r,n.label=a,n.suffix=i?.suffix??null,n.footer=e.querySelector(`:scope > nve-workspace-panel-footer`),n.dirty=!0,n}function nA(e){return{gap:Z(e.querySelector(`.gap-probe`),`width`),headerHeight:Math.max(Z(e.querySelector(`.tab-probe`),`height`),Z(e.querySelector(`nve-drag-handle`),`height`),Z(e.querySelector(`[part~="close-button"]`),`height`),Z(e.querySelector(`[part~="fullscreen-button"]`),`height`)),headerlessHeight:Z(e.querySelector(`.chrome-header`),`height`),gripWidth:Z(e.querySelector(`nve-drag-handle`),`width`),tabWidth:Z(e.querySelector(`.tab-probe`),`width`),tabMinWidth:Z(e.querySelector(`.tab-min-probe`),`width`),actionWidth:aA(e),groupActionWidth:Z(e.querySelector(`.group-actions`),`width`)}}function rA(e){return e?{suffixWidth:Z(e,`width`),suffixHeight:Z(e,`height`)}:{suffixWidth:0,suffixHeight:0}}function iA(e,t){return e.panel.getAttribute(`aria-hidden`)!==`false`||!e.panel.shadowRoot?.querySelector(`.content:not([hidden])`)?t:Z(e.footer,`height`)}function aA(e){let t=e.querySelector(`[part~="close-button"]`),n=t?.closest(`nve-tabs-item-group`);return t&&n?Math.max(0,n.getBoundingClientRect().right-t.getBoundingClientRect().left):0}function Z(e,t){return e?.getBoundingClientRect()[t]??0}function oA(e){return JSON.stringify([...e].sort())}function sA(e,t,n){let r=new Set(n);return{kind:e,members:J(t).filter(t=>e===`rail`||!r.has(t))}}function cA(e){let t=new Map(e.achieved.flatMap(e=>e.node.type===`group`?e.node.panels.map(t=>[t,e.rect]):[])),n=new Set(e.recipient);for(let r of e.baseline)if(r.node.type===`group`)for(let i of r.node.panels){if(e.source.includes(i))continue;let a=t.get(i);a&&lA(r.rect,a)&&n.add(i)}let r=e.baseline.filter(e=>{let t=J(e.node);return[...n].every(e=>t.includes(e))}).at(-1);return r?{kind:r.node.type===`group`?`recipient`:`rail`,members:J(r.node)}:{kind:`recipient`,members:e.recipient}}function lA(e,t){return[`x`,`y`,`width`,`height`].some(n=>Math.abs(e[n]-t[n])>1e-6)}function uA(e){let t=new Set(e.source),n=/* @__PURE__ */ new Map;for(let r of e.catalog){let e=J(r.node),i=e.filter(e=>!t.has(e));if(i.length)for(let t of[e,i])n.set(oA(t),t)}let r=pA(e.allocation);return[...n].flatMap(([e,n])=>{let i=mA({members:n,geometry:r,carried:t});return i?[{key:e,rect:i}]:[]})}function dA(e){return mA({members:e.members,geometry:pA(e.allocation),carried:new Set(e.source)})}function fA(){let e=/* @__PURE__ */ new WeakMap;return t=>{let n=e.get(t.allocation);return n||(n=pA(t.allocation),e.set(t.allocation,n)),mA({members:t.members,geometry:n,carried:new Set(t.source)})}}function pA(e){let t=e.filter(e=>e.node.type===`group`),n=new Map(e.map(e=>[e.key,e])),r=/* @__PURE__ */ new Map;for(let e of t)J(e.node).forEach(t=>r.set(t,e.key));let i=/* @__PURE__ */ new Map;for(let n of e){let e=t.filter(e=>gA(e.key,n.key)).map(e=>e.key);i.set(oA(e),n.rect)}return{leaves:t,byKey:n,groupByMember:r,exact:i}}function mA(e){let{members:t,geometry:n,carried:r}=e,i=new Set(t.flatMap(e=>n.groupByMember.get(e)??[]));if(!i.size)return;let a=n.exact.get(oA([...i]));if(a)return a;let o=hA([...i]),s=n.byKey.get(o);if(s?.node.type!==`split`)return;let{depth:c,first:l,last:u}=_A([...i],o);if(n.leaves.filter(e=>{let t=Number(e.key.split(`.`)[c]);return gA(e.key,o)&&t>=l&&t<=u}).some(e=>!i.has(e.key)&&!J(e.node).every(e=>r.has(e))))return;let d=n.byKey.get(`${o}.${l}`),f=n.byKey.get(`${o}.${u}`);if(d&&f)return s.node.axis===`horizontal`?{x:d.rect.x,y:s.rect.y,width:f.rect.x+f.rect.width-d.rect.x,height:s.rect.height}:{x:s.rect.x,y:d.rect.y,width:s.rect.width,height:f.rect.y+f.rect.height-d.rect.y}}function hA(e){let t=e[0].split(`.`);for(;!e.every(e=>gA(e,t.join(`.`)));)t.pop();return t.join(`.`)}function gA(e,t){return e===t||e.startsWith(`${t}.`)}function _A(e,t){let n=t.split(`.`).length,r=e.map(e=>Number(e.split(`.`)[n]));return{depth:n,first:Math.min(...r),last:Math.max(...r)}}function vA(){let e=[];return(t,n)=>{let r=e.find(e=>xA(e.available,n)&&xA(e.closed,t.closed));r||(r={available:n,closed:t.closed,roots:/* @__PURE__ */ new Map},e.push(r));let i=r.roots.get(t.root);return i||(i=X(t,n),r.roots.set(t.root,i)),i}}function Q(e){return e?e.type===`group`?JSON.stringify(e.panels):JSON.stringify([e.axis,e.children.map(Q)]):`null`}function yA(e,t,n){if(e){if(e.type===`split`)for(let r of e.children){let e=yA(r,t,n);if(e)return e}return Q(n(e))===t?e:void 0}}function bA(e,t,n,r,i){if(!e.root||!CA(t,n))return;let a=r.filter(t=>!e.closed.includes(t)),o=/* @__PURE__ */ new Map,s=e=>(o.has(e)||o.set(e,(i??X)({version:1,root:e,closed:[]},a).root),o.get(e)??null),c=Q(t),l=new Set(t.children.map(Q)),u=/* @__PURE__ */ new Map;t.children.forEach((e,t)=>{J(e).forEach(e=>u.set(e,t))});let d=e=>[...new Set(J(s(e)).flatMap(e=>{let t=u.get(e);return t===void 0?[]:[t]}))].reduce((e,t)=>e+(n[t]??0),0),f=e=>{if(e.type===`group`||l.has(Q(s(e))))return e;let n=e.children.map(e=>f(e)),r=wA(e,d,t.axis);return r===e.weights&&n.every((t,n)=>t===e.children[n])?e:{...e,weights:r,children:n}},p=SA(e.root,e=>Q(s(e))===c,f);return p===e.root?void 0:{version:1,root:p,closed:[...e.closed]}}function xA(e,t){return e===t||e.length===t.length&&e.every((e,n)=>e===t[n])}function SA(e,t,n){if(t(e))return n(e);if(e.type===`group`)return e;let r=e.children.map(e=>SA(e,t,n));return r.some((t,n)=>t!==e.children[n])?{...e,children:r}:e}function CA(e,t){return t.length===e.children.length&&t.every(e=>Number.isFinite(e)&&e>0)&&Number.isFinite(t.reduce((e,t)=>e+t,0))}function wA(e,t,n){if(e.axis!==n)return e.weights;let r=e.children.map(t),i=r.reduce((e,t)=>e+t,0);if(!i)return e.weights;let a=e.weights.reduce((e,t,n)=>e+((r[n]??0)>0?t:0),0),o=e.weights.map((e,t)=>{let n=r[t]??0;return n>0?n/i*a:e});return o.every((t,n)=>{let r=e.weights[n]??0;return Math.abs(t-r)<=1e-12*Math.max(t,r)})?e.weights:o}function TA(e,t){let n=t.split(`.`);if(n.shift()!==`root`)return;let r=e;for(let e of n){if(!r||r.type!==`split`||!/^\d+$/.test(e))return;r=r.children[Number(e)]??null}return r??void 0}function EA(e){let t=NA(e);if(!t)return;let{layout:n,source:r,sourceGroup:i,visible:a,carrier:o,region:s,position:c,projectLayout:l,root:u}=t,d=sA(`recipient`,s,r),f=new Set(r),p={type:`group`,panels:[...r],active:r.includes(i.active)?i.active:r[0]},m=jA(o,f);if(!m||!l({version:1,root:m,closed:[]},a).root)return{kind:`reorder`,layout:n,context:d};let h=MA(u,{carrier:o,replacement:{type:`split`,axis:c===`left`||c===`right`?`horizontal`:`vertical`,children:c===`left`||c===`top`?[p,m]:[m,p],weights:[.5,.5]},removed:f});return h?{kind:`split`,layout:{...n,root:dO(h)},context:d}:void 0}function DA(e,t){let n=t.flatMap(e=>e?[e]:[]);return n.length?n.length===1?n[0]:{...e,children:n,weights:e.weights.filter((e,n)=>t[n])}:null}function OA(e,t){let n=Y(e.root,t[0]);if(n&&new Set(t).size===t.length&&t.every(e=>n.panels.includes(e)))return t.length===1||kA(n,t)?n:void 0}function kA(e,t){return e.panels.length===t.length&&e.panels.every((e,n)=>e===t[n])}function AA(e,t){let{layout:n,destination:r}=e,i=TA((e.projectLayout??X)(n,t).root,r.region);if(!i)return;let a=yA(n.root,Q(i),n=>(e.projectLayout??X)({version:1,root:n,closed:[]},t).root);return a?{carrier:a,region:i}:void 0}function jA(e,t){if(e.type===`split`)return DA(e,e.children.map(e=>jA(e,t)));let n=e.panels.filter(e=>!t.has(e));return n.length?{...e,panels:n,active:n.includes(e.active)?e.active:n[0]}:null}function MA(e,t){return e===t.carrier?t.replacement:e.type===`group`?jA(e,t.removed):DA(e,e.children.map(e=>MA(e,t)))}function NA(e){let{layout:t,source:n,destination:r}=e;if(!t.root||!r.region||r.position===`tab`||!n.length)return;let i=OA(t,n);if(!i)return;let a=e.available.filter(e=>!t.closed.includes(e)),o=AA(e,a);if(o)return{layout:t,source:n,sourceGroup:i,visible:a,...o,position:r.position,projectLayout:e.projectLayout??X,root:t.root}}function PA(e){let t=zA(e);if(!t)return;let n=FA(e,t);return n?IA({input:e,context:t,topology:n}):void 0}function FA(e,t){let{peers:n,slot:r,visible:i,root:a,axis:o}=t,s=n[Math.min(r,n.length-1)],c=e.projectLayout??X,l=yA(a,Q(s.node),t=>{let n=MO({version:1,root:t,closed:[]},e.source);return c(n,i).root}),u=l&&WA(a,l);if(!u||!l)return;let d=r<n.length,f={target:J(l)[0],region:u,position:uO(o,d?`before`:`after`)};return EA({...e,destination:f})}function IA({input:e,context:t,topology:n}){let{owner:r,peers:i,visible:a,axis:o}=t,s=(e.projectLayout??X)(n.layout,a).root,c=e.source.filter(e=>a.includes(e)),l=HA(s,c);if(!l||l.axis!==o||l.children.length!==i.length+1)return;let u=VA({branch:l,peers:i,moving:c});if(!u)return;let d=GA({layout:n.layout,branch:l,weights:u,available:e.available});if(d)return{kind:`insert`,layout:d,context:{kind:`rail`,members:[.../* @__PURE__ */ new Set([...J(r),...c])]}}}function LA(e){let{destination:t,layout:n}=e;if(!t.region||t.position===`tab`)return;let r=e.available.filter(e=>!n.closed.includes(e)),i=(e.projectLayout??X)(n,r).root,a=TA(i,t.region);if(!i||!a)return;let o=t.position===`left`||t.position===`right`?`horizontal`:`vertical`,s=RA({root:i,target:a,key:t.region,axis:o});if(s)return{visible:r,root:i,target:a,axis:o,owner:s}}function RA(e){if(e.target.type===`split`&&e.target.axis===e.axis)return e.target;let t=TA(e.root,e.key.split(`.`).slice(0,-1).join(`.`));return t?.type===`split`&&t.axis===e.axis?t:e.target.type===`split`?e.target:void 0}function zA(e){let t=LA(e);if(!t)return;let{owner:n,target:r,axis:i}=t,a=MO({version:1,root:n,closed:[]},e.source).root;if(!a)return;let o=BA(a,i),s=new Set(J(r).filter(t=>!e.source.includes(t))),c=o.flatMap((e,t)=>J(e.node).every(e=>s.has(e))?[t]:[]);if(!c.length)return;let l=e.destination.position===`left`||e.destination.position===`top`;return{...t,peers:o,slot:l?c[0]:c.at(-1)+1}}function BA(e,t){return e.type!==`split`||e.axis!==t?[{node:e,weight:1}]:e.children.map((t,n)=>({node:t,weight:e.weights[n]}))}function VA(e){let t=e.peers.reduce((e,t)=>e+t.weight,0)/e.peers.length,n=e.branch.children.map(n=>{if(UA(n,e.moving))return t;let r=e.peers.findIndex(e=>Q(e.node)===Q(n));if(!(r<0))return e.peers[r].weight});return n.every(e=>e!==void 0)?n:void 0}function HA(e,t){if(e?.type===`split`){if(e.children.some(e=>e.type===`group`&&e.panels.length>0&&UA(e,t)))return e;for(let n of e.children){let e=HA(n,t);if(e)return e}}}function UA(e,t){return e.type===`group`&&e.panels.every(e=>t.includes(e))}function WA(e,t,n=`root`){if(e===t)return n;if(e.type===`split`)for(let[r,i]of e.children.entries()){let e=WA(i,t,`${n}.${r}`);if(e)return e}}function GA(e){let t=bA(e.layout,e.branch,e.weights,e.available);if(t)return t;let n=e.weights.reduce((e,t)=>e+t,0);return e.branch.weights.every((t,r)=>Math.abs(t-e.weights[r]/n)<1e-10)?e.layout:void 0}function KA(e){let t=e.available.filter(t=>!e.plan.layout.closed.includes(t)),n=e.source.filter(e=>t.includes(e)),r=HA((e.projectLayout??X)(e.plan.layout,t).root,n);if(!r)return;let i=r.children.findIndex(e=>UA(e,n));if(!(i<0))return{axis:r.axis,index:i,members:J(r).filter(e=>!n.includes(e)),previous:r.children[i-1]?J(r.children[i-1]):void 0,next:r.children[i+1]?J(r.children[i+1]):void 0,key:JSON.stringify([r.axis,i,qA(e.plan.layout.root),e.plan.layout.closed])}}function qA(e){return e?e.type===`group`?[`group`,e.panels,e.active]:[e.axis,e.children.map(qA)]:null}function JA(){let e;return t=>{e&&XA(e,t)||(e={layout:t.layout,source:[...t.source],available:[...t.available],entries:[]});let n=e.entries.find(e=>e.operation===t.operation&&QA(e.destination,t.destination));if(!n){let{target:r,position:i,region:a,index:o}=t.destination;n={operation:t.operation,destination:{target:r,position:i,region:a,index:o},plan:$A(t)},e.entries.push(n)}return n.plan}}function YA(e){return $A(e)}function XA(e,t){return e.layout===t.layout&&ZA(e.source,t.source)&&ZA(e.available,t.available)}function ZA(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function QA(e,t){return e.target===t.target&&e.position===t.position&&e.region===t.region&&e.index===t.index}function $A(e){if(jO(e.destination.index))return ej(e)}function ej(e){if(e.operation===`tab`)return e.destination.position===`tab`?fj(e):void 0;if(e.destination.position!==`tab`)return e.operation===`order`?nj(e):e.operation===`insert`?nj(e)??PA(e):e.destination.region?EA(e):fj(e)}function tj(e){let{layout:t,source:n,destination:r}=e,i=Y(t.root,n[0]);if(!i||!sj(i.panels,n)||r.position===`tab`)return;let a=r.position===`left`||r.position===`right`?`horizontal`:`vertical`,o=e.available.filter(e=>!t.closed.includes(e)),s=n.find(e=>o.includes(e));if(!s)return;let c=(e.projectLayout??X)(t,o).root,l=cj(c,r);if(!l)return;let u=ij(c,{source:s,target:l,axis:a});return u?{branch:u,visible:o,sourceId:s,target:l}:void 0}function nj(e){let t=tj(e);if(!t)return;let{branch:n,visible:r,sourceId:i,target:a}=t,{layout:o,destination:s}=e;if(!s.region&&e.source.includes(s.target))return pj(o,e,n);let c=lj({branch:n,sourceId:i,targetNode:a,destination:s});if(c.every((e,t)=>e.child===n.children[t]))return pj(o,e,n);let l=rj({layout:o,children:n.children,reordered:c.map(e=>e.child),visible:r,projectLayout:e.projectLayout});return l?pj(bA(l,{...n,children:c.map(e=>e.child)},c.map(e=>e.weight),e.available)??l,e,n):void 0}function rj(e){let{layout:t,children:n,reordered:r,visible:i}=e,a=/* @__PURE__ */ new Map,o=t=>(a.has(t)||a.set(t,(e.projectLayout??X)({version:1,root:t,closed:[]},i).root),a.get(t)??null),s=n.map(e=>yA(t.root,Q(e),o));if(s.some(e=>!e))return;let c=/* @__PURE__ */ new Map;s.forEach((e,t)=>c.set(e,s[n.indexOf(r[t])]));let l=dO(aj(t.root,c));return l?{...t,root:l}:void 0}function ij(e,t){if(e&&e.type!==`group`){if(uj(e,t))return e;for(let n of e.children){let e=ij(n,t);if(e)return e}}}function aj(e,t){return t.get(e)||(e.type===`group`?e:{...e,children:e.children.map(e=>aj(e,t))})}function oj(e,t){return e?{kind:t.position===`tab`?`tab`:`split`,layout:e}:void 0}function sj(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function cj(e,t){return t.region?TA(e,t.region):Y(e,t.target)}function lj(e){let{branch:t,sourceId:n,targetNode:r,destination:i}=e,a=t.children.findIndex(e=>e.type===`group`&&e.panels.includes(n)),o=t.children.map((e,n)=>({child:e,weight:t.weights[n]})),s=o.splice(a,1)[0],c=i.position===`right`||i.position===`bottom`,l=o.findIndex(e=>Q(e.child)===Q(r)),u;if(r===t)u=c?o.length:0;else{if(l<0)return t.children.map((e,n)=>({child:e,weight:t.weights[n]}));u=l+ +!!c}return o.splice(u,0,s),o}function uj(e,t){return e.axis===t.axis&&e.children.length>1&&e.children.some(e=>e.type===`group`&&e.panels.includes(t.source??``))&&(Q(e)===Q(t.target)||e.children.some(e=>Q(e)===Q(t.target)))}function dj(e){let{layout:t,source:n,destination:r}=e,i=NO({layout:t,source:n,destination:r});return i?oj(i,r):void 0}function fj(e){let t=dj(e);if(!t)return t;let n=Y((e.projectLayout??X)(e.layout,e.available).root,e.destination.target);return{...t,context:sA(`recipient`,n??null,e.source)}}function pj(e,t,n){return{kind:`reorder`,layout:e,context:sA(`rail`,n,t.source)}}function mj(e){let t=e.destination.region?.slice(0,e.destination.region.lastIndexOf(`.`))===e.owner;return e.kind===`order`||!!e.boundary||t&&!!e.scope.previous&&!!e.scope.next}var hj=[`left`,`right`,`top`,`bottom`];function gj(e,t,n=`root`){if(e?.type===`split`){if(e.children.some(e=>e.type===`group`&&e.panels.every(e=>t.includes(e))))return n;for(let[r,i]of e.children.entries()){let e=gj(i,t,`${n}.${r}`);if(e)return e}}}function _j(e){let t=[],n=/* @__PURE__ */ new Set;for(let r of e.existing)n.add(r.scope.key),t.push(r);let r=Cj(e.root).flatMap(t=>vj(e,t)).sort((e,t)=>Number(e.interior)-Number(t.interior));for(let{offer:e}of r)n.has(e.scope.key)||(n.add(e.scope.key),t.push(e));return t}function vj(e,t){let n=J(t.node).filter(t=>!e.source.includes(t)),r=(e.contextRect??dA)({members:n,allocation:e.regions,source:e.source});if(!r)return[];let i=(e.contextRect??dA)({members:n,allocation:e.explorationRegions??e.regions,source:e.source}),a={input:e,group:t,rect:r,planPlacement:e.planPlacement??YA},o=i?{...a,rect:i}:void 0;return bj(t).flatMap(e=>{let t=e.interior?a:o;return t?yj(t,e):[]})}function yj({input:e,group:t,rect:n,planPlacement:r},{target:i,key:a,direction:o,interior:s}){let c={target:J(i).find(t=>!e.source.includes(t))??``,region:a,position:o},l=r({layout:e.currentLayout,source:e.source,destination:c,available:e.available,projectLayout:e.projectLayout,operation:`insert`});if(!l)return[];let u=KA({plan:l,source:e.source,available:e.available,projectLayout:e.projectLayout});if(!u)return[];let d=Sj(e,u)??n,f=wj(d,o);if(!f)return[];let p={scope:u,owner:t.key,boundary:u.previous?u.next?void 0:`end`:`start`,plan:l,scopeRect:d,rect:f,destination:c,kind:l.kind===`reorder`?`order`:`insert`};return(s?xj(p,e):[p]).map(e=>({offer:e,interior:s}))}function bj(e){let t=hj.map(t=>({target:e.node,key:e.key,direction:t,interior:!1}));if(e.node.type===`split`){let n=e.node.axis===`horizontal`?`left`:`top`;e.node.children.slice(1).forEach((r,i)=>t.push({target:r,key:`${e.key}.${i+1}`,direction:n,interior:!0}))}return t}function xj(e,t){let n=Mj(e,t);return n?[{...e,rect:n}]:[]}function Sj(e,t){if(!!t.previous!=!!t.next)return(e.contextRect??dA)({members:t.members,allocation:e.explorationRegions??e.regions,source:e.source})}function Cj(e,t=`root`){return e?.type===`split`?[{key:t,node:e},...e.children.flatMap((e,n)=>Cj(e,`${t}.${n}`))]:[]}function wj(e,t){return t===`left`||t===`right`?12<=e.width?{x:t===`left`?e.x:e.x+e.width-12,y:e.y,width:12,height:e.height}:void 0:12<=e.height?{x:e.x,y:t===`top`?e.y:e.y+e.height-12,width:e.width,height:12}:void 0}function Tj(e){if(e.destination.position===`tab`)return{kind:`invalid`};let t={...e.destination,position:e.destination.position};return e.kind===`insert`?{kind:`insert`,destination:t}:{kind:`order`,destination:t}}function Ej(e){let t=e.axis===`horizontal`,n=t?`x`:`y`,r=t?`width`:`height`;if(e.owner[r]<12)return;let i=Dj(e,{start:n,extent:r});return t?{x:i,y:e.owner.y,width:12,height:e.owner.height}:{x:e.owner.x,y:i,width:e.owner.width,height:12}}function Dj(e,{start:t,extent:n}){if(e.boundary===`start`)return e.owner[t];let r=e.owner[t]+e.owner[n]-12;if(e.boundary===`end`)return r;let i=e.sourceSlot;if(e.after)return i&&i[t]>=e.recipient[t]+e.recipient[n]?(e.recipient[t]+e.recipient[n]+i[t])/2-6:r;if(!e.previous)return e.owner[t];let a=e.previous[t]+e.previous[n];return(a+(i&&i[t]>=a&&i[t]<e.recipient[t]?i[t]:e.recipient[t]))/2-6}function Oj(e){let t=[...e].sort((e,t)=>Aj(t)-Aj(e)),n=[],r=[];for(let e of t){let t=r.filter(t=>jj(e,t)).length;r.push(e);let i=kj(e.destination.position),a=(e.destination.position===`right`||e.destination.position===`bottom`?-1:1)*t*12,o={...e.rect,x:e.rect.x+(i?a:0),y:e.rect.y+(i?0:a)};o.x<e.scopeRect.x||o.y<e.scopeRect.y||o.x+o.width>e.scopeRect.x+e.scopeRect.width||o.y+o.height>e.scopeRect.y+e.scopeRect.height||n.push({...e,rect:o})}return n}function kj(e){return e===`left`||e===`right`}function Aj(e){return e.destination.position===`left`||e.destination.position===`right`?e.rect.height:e.rect.width}function jj(e,t){if(e.destination.position!==t.destination.position)return!1;let n=kj(e.destination.position),r=n?`x`:`y`,i=n?`y`:`x`,a=n?`height`:`width`;return Math.abs(e.rect[r]-t.rect[r])<1&&Math.max(e.rect[i],t.rect[i])<Math.min(e.rect[i]+e.rect[a],t.rect[i]+t.rect[a])}function Mj(e,t){if(e.kind!==`insert`||!e.scope.previous||!e.scope.next)return;let n=(t.contextRect??dA)({members:e.scope.previous,allocation:t.regions,source:t.source}),r=(t.contextRect??dA)({members:e.scope.next,allocation:t.regions,source:t.source});if(!n||!r)return;let{normal:i,normalExtent:a,tangent:o,tangentSize:s}=Nj(e.scope.axis),c=r[i]-n[i]-n[a];if(Math.abs(c-t.gap)>1)return;let l=Math.max(n[o],r[o]),u=Math.min(n[o]+n[s],r[o]+r[s]);if(!(u<=l))return Ej({owner:{...e.scopeRect,[o]:l,[s]:u-l},recipient:r,previous:n,axis:e.scope.axis,after:!1})}function Nj(e){return e===`horizontal`?{normal:`x`,normalExtent:`width`,tangent:`y`,tangentSize:`height`}:{normal:`y`,normalExtent:`height`,tangent:`x`,tangentSize:`width`}}var Pj=[`left`,`right`,`top`,`bottom`];function Fj(e){let{offers:t,bounds:n,point:r,current:i}=e,a=t.filter(e=>e.owner===`root`&&e.boundary),o=Rj(n,r,i&&i.kind!==`invalid`&&i.kind!==`tab`?i.destination.position:void 0),s=a.find(e=>e.destination.position===o),c=s&&zj(n,r)[o]<=6?s:void 0,l=Oj(t.filter(e=>!a.includes(e))).flatMap(t=>Lj({input:e,roots:a,offer:t})),u=a.filter(e=>e.destination.position===o).flatMap(e=>{let t=Ij(n,o);return t.width&&t.height?[{...e,rect:t}]:[]});return{offers:[...u,...l],hit:c?u.find(e=>e.scope.key===c.scope.key):void 0}}function Ij(e,t){return t===`left`||t===`right`?{x:t===`left`?e.x:e.x+e.width-6,y:e.y,width:6,height:e.height}:{x:e.x,y:t===`top`?e.y:e.y+e.height-6,width:e.width,height:6}}function Lj({input:e,roots:t,offer:n}){let r=e.offers.find(e=>e.scope.key===n.scope.key),i=e.geometry?Mj(r,e.geometry)??r.rect:r.rect,a=n.destination.position,o=a===`left`||a===`right`,s={...n.rect};return t.some(e=>e.destination.position===a)&&Bj(s,e.bounds,a)&&(o?s.x+=a===`left`?6:-6:s.y+=a===`top`?6:-6),mj(n)?[{...n,rect:r.rect,hitRect:s}]:Vj(s,e.headers,o).map(e=>({...n,rect:i,hitRect:e}))}function Rj(e,t,n){let r=zj(e,t),i=Math.min(...Object.values(r)),a=Pj.filter(e=>r[e]===i);return n&&a.includes(n)?n:a[0]}function zj(e,t){return{left:t.x-e.x,right:e.x+e.width-t.x,top:t.y-e.y,bottom:e.y+e.height-t.y}}function Bj(e,t,n){switch(n){case`left`:return Math.abs(e.x-t.x)<1;case`right`:return Math.abs(e.x+e.width-t.x-t.width)<1;case`top`:return Math.abs(e.y-t.y)<1;case`bottom`:case`tab`:return Math.abs(e.y+e.height-t.y-t.height)<1}}function Vj(e,t,n=e.width===12){let r=[e];for(let e of t)r=r.flatMap(t=>Hj(t,e,n));return r}function Hj(e,t,n){if(e.x>=t.x+t.width||e.x+e.width<=t.x||e.y>=t.y+t.height||e.y+e.height<=t.y)return[e];let r=n?`y`:`x`,i=n?`height`:`width`,a=t[r]-e[r],o=e[r]+e[i]-t[r]-t[i],s=[];return a>0&&s.push({...e,[i]:a}),o>0&&s.push({...e,[r]:t[r]+t[i],[i]:o}),s}function Uj(e){let t=Y(e.root,e.source[0]);return!t||!e.source.length?!1:e.intent.kind===`tab`?Y(e.root,e.intent.destination.target)===t:t.panels.every(t=>e.source.includes(t))}function Wj(e){let t=Y(e.layout?.root??null,e.anchor);return t&&t.panels.filter(t=>!e.layout?.closed.includes(t)&&e.available.includes(t)).length===1?[...t.panels]:[e.anchor]}function Gj(e,t){let n=t===void 0?e.length:e.indexOf(t);return n<0?e.length:n}var Kj=(e,t)=>t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height;function qj(e){let{placement:t,point:n}=e,r=!!t.headerTarget,i=Yj(e,t.headerTarget??(Kj(t.bounds,n)?t.targets.find(e=>Kj(e.rect,n)):void 0),r);return Jj({...t,source:e.source,point:n,local:i,header:r,currentLayout:e.currentLayout,gap:e.gap,available:e.available,projectLayout:e.projectLayout,planPlacement:e.planPlacement})}function Jj(e){let t=eM({...e,contextRect:fA()}),n=nM(t.offers,e),r=Zj(e),i=t.offers.filter(t=>Qj(t,r,e.bounds)),a=i.filter(e=>e.scope.key!==n).map(t=>({offer:t,distance:rM(t,e.point)})).sort((e,t)=>e.distance-t.distance)[0],o=Kj(e.bounds,e.point)?t.offers.find(t=>Kj(t.hitRect??t.rect,e.point)&&(!e.header||mj(t))):void 0,s=t.hit??o;return{acquisition:s?{plan:s.plan,rect:s.hitRect??s.rect}:void 0,intent:tM(e,s),hint:$j({hit:s&&i.includes(s)?s:void 0,selectedKey:n,boundary:t.hit,nearest:a})}}function Yj(e,t,n){let{reservationHit:r}=e.placement,i=!n&&r,a=n&&r===`tab`&&e.heldIntent.kind===`tab`;if(i||a)return e.heldIntent;if(!t)return;let o=t.panels[0];return o?n?Xj(e,t,o):{kind:`split`,destination:{target:o,position:uM(e.point,{rect:t.rect,headerHeight:t.headerHeight})}}:{kind:`invalid`}}function Xj(e,t,n){let r=t.tabs.find(t=>e.point.x<t.rect.x+t.rect.width/2),i={kind:`tab`,destination:{target:n,position:`tab`,index:Gj(Y(e.canonicalRoot,n)?.panels??[],r?.id)}};return e.groupable||Uj({root:e.canonicalRoot,source:e.source,intent:i})?i:void 0}function Zj(e){let t=e.preview;if(e.sourceSlot&&t?.phase===`detached`&&!t.blocked&&t.allocation===`reserved`&&t.cue.kind===`group`)return wk(e.sourceSlot,e.bounds)}function Qj(e,t,n){if(!t)return!0;let r=wk(e.rect,n),i=e.destination.position===`left`||e.destination.position===`right`,a=i?`x`:`y`,o=i?`width`:`height`,s=i?`y`:`x`,c=i?`height`:`width`;return r[a]>t[a]&&r[a]+r[o]<t[a]+t[o]?!(r[s]>=t[s]&&r[s]+r[c]<=t[s]+t[c]):!0}function $j({hit:e,selectedKey:t,boundary:n,nearest:r}){if(e&&e.scope.key!==t)return e;if(!n&&r&&r.distance<=24)return r.offer}function eM(e){let t=(e.projectLayout??X)(e.currentLayout,e.available).root,n=e.orderingRegions??e.regions;return Fj({offers:_j({...e,root:t,regions:n,explorationRegions:e.regions,existing:aM({...e,root:t})}),bounds:e.bounds,point:e.point,current:e.preview?.intent,headers:e.headers??[],geometry:{regions:n,source:e.source,gap:e.gap,contextRect:e.contextRect}})}function tM(e,t){if(t)return Tj(t);if(Kj(e.bounds,e.point))return e.sourceSlot&&Kj(e.sourceSlot,e.point)?e.preview?.intent??e.local:e.local}function nM(e,t){let n=t.preview;if(n&&n.phase===`detached`)return`layout`in n?KA({plan:n,source:t.source,available:t.available,projectLayout:t.projectLayout})?.key:e.find(e=>Tk(Tj(e),n.intent))?.scope.key}function rM(e,t){let n=e.hitRect??e.rect,r=e.destination.position===`left`||e.destination.position===`right`,i=r?t.y:t.x,a=r?n.y:n.x,o=r?n.height:n.width;if(!(i>=a&&i<a+o))return 1/0;let s=r?t.x-n.x:t.y-n.y,c=r?n.width:n.height;return Math.abs(s-c/2)}function iM(e){let{root:t,source:n}=e,r=gj(t,n)??`root`,i=TA(t,r),a=Y(e.currentLayout.root,n[0]);if(i?.type!==`split`||!cM(a,n))return;let o=t=>t.find(e=>e.key===r)?.rect??e.contextRect({members:J(i).filter(e=>!n.includes(e)),allocation:t,source:n}),s=o(e.regions),c=o(e.orderingRegions??e.regions);if(!s||!c)return;let l=i.children.findIndex(e=>e.type===`group`&&e.panels.some(e=>n.includes(e)));if(!(l<0))return{key:r,owner:i,rect:s,adjacencyRect:c,peers:i.children.flatMap((e,t)=>t===l?[]:[{node:e,index:t}])}}function aM(e){let t=iM(e);if(!t)return[];let n=t.peers.map(e=>({...e,after:!1})),r=t.peers.at(-1);return r&&n.push({...r,after:!0}),n.flatMap((n,r)=>oM({input:e,owner:t,entry:n,slot:r}))}function oM({input:e,owner:t,entry:n,slot:r}){let i=lM({input:e,owner:t,entry:n,slot:r});if(!i)return[];let{region:a,before:o}=i,s={target:J(n.node)[0],region:a.key,position:uO(t.owner.axis,n.after?`after`:`before`)},c=(e.planPlacement??YA)({layout:e.currentLayout,source:e.source,destination:s,available:e.available,projectLayout:e.projectLayout,operation:`order`});if(c?.kind!==`reorder`)return[];let l=KA({plan:c,source:e.source,available:e.available,projectLayout:e.projectLayout}),u=sM(n,r),d=u?t.rect:t.adjacencyRect,f=Ej({owner:d,recipient:a.rect,previous:o?.rect,axis:t.owner.axis,after:n.after,sourceSlot:e.sourceSlot,boundary:u});return!f||!l?[]:[{destination:s,owner:t.key,boundary:u,rect:f,scopeRect:d,scope:l,plan:c,kind:`order`}]}function sM(e,t){if(e.after)return`end`;if(t===0)return`start`}function cM(e,t){return!!e&&e.panels.length===t.length&&e.panels.every(e=>t.includes(e))}function lM({input:e,owner:t,entry:n,slot:r}){let i=e.orderingRegions??e.regions,a=i.find(e=>e.key===`${t.key}.${n.index}`),o=t.peers[r-1],s=o&&i.find(e=>e.key===`${t.key}.${o.index}`);return!a||r>0&&!n.after&&!s?void 0:{region:a,before:s}}function uM(e,t){let{rect:n,headerHeight:r}=t,i=n.x+n.width/2,a=Math.max(1,n.height-r),o=n.y+r+a/2,s=(e.x-i)/Math.max(1,n.width/2),c=(e.y-o)/Math.max(1,a/2);return Math.abs(s)>Math.abs(c)?s<0?`left`:`right`:c<0?`top`:`bottom`}function dM(e){let t=fM(e);return{intent:t,offer:(t.kind===`invalid`?void 0:e.evaluate(t))??{cue:e.cue,feasible:!0,allocation:`reserved`,layout:e.layout}}}function fM(e){let t=X(e.layout,e.available).root,n=e.source.find(e=>Y(t,e));if(!n)return{kind:`invalid`};let r=Y(t,n),i=Y(e.layout.root,e.source[0]);if(!r||!i)return{kind:`invalid`};let a=r.panels.find(t=>!e.source.includes(t));return a?{kind:`tab`,destination:{target:a,position:`tab`,index:i.panels.indexOf(e.source[0])}}:i.panels.some(t=>!e.source.includes(t))?{kind:`invalid`}:pM(t,e.source)??{kind:`invalid`}}function pM(e,t){if(e?.type!==`split`)return;let n=e.children.findIndex(e=>e.type===`group`&&e.panels.every(e=>t.includes(e)));if(n<0)return e.children.map(e=>pM(e,t)).find(Boolean);let r=e.children[n+1],i=r??e.children[n-1];if(i)return{kind:`order`,destination:{target:mM(i),position:uO(e.axis,r?`before`:`after`)}}}function mM(e){return e.type===`group`?e.panels[0]:mM(e.children[0])}function hM(e,t){if(!e)return{width:0,height:0};if(e.type===`group`){let n=e.panels.flatMap(e=>{let n=t.panels.get(e);return n?[n]:[]});return{width:Math.max(t.chrome.width,...n.map(e=>e.width)),height:Math.max(t.chrome.height,...n.map(e=>e.height))}}let n=e.children.map(e=>hM(e,t)),r=t.gap*(n.length-1);return{width:e.axis===`horizontal`?n.reduce((e,t)=>e+t.width,r):Math.max(...n.map(e=>e.width)),height:e.axis===`vertical`?n.reduce((e,t)=>e+t.height,r):Math.max(...n.map(e=>e.height))}}function gM(e){let t=hM(e.current,e.requirements),n=hM(e.candidate,e.requirements);return[`width`,`height`].every(r=>Math.max(0,n[r]-e.viewport[r])<=Math.max(0,t[r]-e.viewport[r]))}function _M(e){return{gap:e.measurements.gap,chrome:{width:e.measurements.gripWidth+e.measurements.tabWidth+(e.measurements.groupActionWidth??0),height:e.measurements.headerHeight},panels:new Map(e.panels.map(t=>[t.id,{width:Math.max(Number.isFinite(t.minWidth)?Math.max(0,t.minWidth):0,e.measurements.gripWidth+e.measurements.tabWidth+(e.measurements.groupActionWidth??0)+(e.measurements.panels?.[t.id]?.suffixWidth??0)),height:Math.max(Number.isFinite(t.minHeight)?Math.max(0,t.minHeight):0,e.measurements.headerHeight+(e.measurements.panels?.[t.id]?.footerHeight??0))}]))}}function vM(e,t){if(e.length!==t.length||!e.every(e=>Number.isFinite(e)&&e>0)||!t.every(e=>Number.isFinite(e)&&e>=0))throw TypeError(`Invalid split sizes`);if(!Number.isFinite(e.reduce((e,t)=>e+t,0))||!Number.isFinite(t.reduce((e,t)=>e+t,0)))throw TypeError(`Split size total exceeds the supported range`)}function yM(e,{boundary:t,delta:n,policy:r}){if(r===`stop`)return[n>0?t+1:t];let i=e.map((e,t)=>t);return n>0?i.slice(t+1):i.slice(0,t+1).reverse()}function bM(e,t,n){if(vM(e,t),!Number.isFinite(n))throw TypeError(`Invalid available extent`);let r=Math.max(n,t.reduce((e,t)=>e+t,0)),i=e.map(()=>0),a=new Set(e.map((e,t)=>t)),o=r;for(;a.size;){let n=[...a].reduce((t,n)=>t+e[n],0),r=[...a].filter(r=>o*e[r]/n<t[r]);if(!r.length){a.forEach(t=>{i[t]=o*e[t]/n});break}r.forEach(e=>{i[e]=t[e],o-=t[e],a.delete(e)})}return i}function xM(e,t,n){vM(e,t);let{boundary:r,delta:i}=n;if(!Number.isInteger(r)||r<0||r>=e.length-1||!Number.isFinite(i))throw TypeError(`Invalid split boundary`);let a=[...e],o=i>0?r:r+1,s=yM(e,n),c=Math.abs(i);return s.forEach(e=>{let n=Math.min(c,Math.max(0,a[e]-t[e]));a[e]-=n,a[o]+=n,c-=n}),a}function SM(e){let t=[],n=[],r=[],i=(a,o,s)=>{if(n.push({key:s,node:a,rect:o}),a.type===`group`){t.push({key:s,group:a,rect:o});return}let c=a.axis===`horizontal`,l=a.children.map(t=>e.minimum(t)[c?`width`:`height`]),u=bM(a.weights,l,(c?o.width:o.height)-e.gap*(a.children.length-1)),d=0;a.children.forEach((t,n)=>{let f=u[n];i(t,c?{...o,x:o.x+d,width:f}:{...o,y:o.y+d,height:f},`${s}.${n}`),d+=f,n<a.children.length-1&&(r.push(CM({node:a,rect:o,path:s,index:n,offset:d,sizes:u,minima:l,policy:e.policy,gap:e.gap})),d+=e.gap)})};return e.root&&i(e.root,e.rect,`root`),{groups:t,boundaries:r,regions:n}}function CM(e){let{node:t,rect:n,path:r,index:i,offset:a,sizes:o,minima:s,policy:c}=e,l=t.axis===`horizontal`,u=c===`stop`?[i+1]:o.map((e,t)=>t).slice(i+1),d=c===`stop`?[i]:o.map((e,t)=>t).slice(0,i+1),f=o.slice(0,i+1).reduce((e,t)=>e+t,0),p=o.reduce((e,t)=>e+t,0),m=d.reduce((e,t)=>e+o[t]-s[t],0),h=u.reduce((e,t)=>e+o[t]-s[t],0);return{key:`${r}:${i}`,branch:t,index:i,rect:l?{x:n.x+a,y:n.y,width:e.gap,height:n.height}:{x:n.x,y:n.y+a,width:n.width,height:e.gap},sizes:o,minima:s,value:l?f:p-f,min:l?f-m:p-f-h,max:l?f+h:p-f+m}}function wM(e){let t=KA(e);if(!TM(t,KA({...e,plan:{layout:e.previous}})))return e.plan;let n=DM(e,t.axis),r=n.allocate(e.plan.layout).groups.find(t=>t.group.panels.every(t=>e.source.includes(t)));if(!r)return;if(EM(n,r.rect))return e.plan;let i=kM(n,r.key),a=i&&jM(n,i,r.key),o=a&&n.allocate(a).groups.find(e=>e.key===r.key);return a&&EM(n,o?.rect)?{...e.plan,layout:a}:void 0}function TM(e,t){return!!e?.previous&&!!e.next&&!!t&&(e.axis!==t.axis||oA(e.members)!==oA(t.members))}function EM(e,t){return!!t&&e.covers(t,`x`)&&e.covers(t,`y`)}function DM(e,t){let n=t===`horizontal`?`x`:`y`,r=n===`x`?`width`:`height`,i=t=>t===n?{start:e.acquisition.rect[n],end:e.acquisition.rect[n]+e.acquisition.rect[r]}:{start:e.acquisition.point[t],end:e.acquisition.point[t]};return{input:e,axis:n,extent:r,range:i,covers:(e,t)=>OM(e,t,i(t)),allocate:t=>SM({root:X(t,e.available).root,rect:e.rect,minimum:t=>hM(t,e.requirements),policy:`stop`,gap:e.requirements.gap})}}function OM(e,t,n){let r=e[t]+e[t===`x`?`width`:`height`];return n.start===n.end?e[t]<=n.start&&n.start<r:e[t]<=n.start+1e-7&&r>=n.end-1e-7}function kM(e,t){let n=t.split(`.`),r=e.input.plan.layout;for(let t=1;t<n.length-1;t++){if(!r)return;let i=n.slice(0,t).join(`.`),a=e.allocate(r).regions,o=a.find(e=>e.key===i),s=a.find(e=>e.key===`${i}.${n[t]}`);if(o.node.type!==`split`)return;let c=o.node.axis===`horizontal`?`x`:`y`;e.covers(s.rect,c)||(r=AM({fit:e,layout:r,parent:o,index:Number(n[t])}))}return r}function AM({fit:e,layout:t,parent:n,index:r}){if(n.node.type!==`split`)return;let i=n.node.axis===`horizontal`?`width`:`height`,a=n.node.children.map(t=>hM(t,e.input.requirements)[i]),o=n.rect[i]-e.input.requirements.gap*(a.length-1),s=n.node.children.map((t,n)=>n===r?0:dA({members:J(t),allocation:e.input.current,source:e.input.source})?.[i]);if(s.some(e=>e===void 0)||NM(a)>o)return;let c=s.map(e=>e);return c[r]=Math.max(a[r],o-NM(c)),bA(t,n.node,bM(c,a,o),e.input.available)??t}function jM(e,t,n){let r=e.allocate(t),i=r.regions.find(e=>e.key===n.split(`.`).slice(0,-1).join(`.`));if(i.node.type!==`split`)return;let a=r.groups.find(e=>e.key===n),o=Number(n.split(`.`).at(-1)),s=MM({fit:e,owner:{...i,node:i.node},incoming:a.rect,index:o});if(s)return bA(t,i.node,s,e.input.available)??t}function MM(e){let{fit:t,owner:n,incoming:r,index:i}=e,{axis:a,extent:o}=t,s=n.node.children.map(e=>hM(e,t.input.requirements)[o]),c=s.slice(0,i),l=s.slice(i+1),u=Math.max(n.rect[a]+NM(c)+t.input.requirements.gap*i,t.range(a).end-r[o]),d=Math.min(n.rect[a]+n.rect[o]-NM(l)-t.input.requirements.gap*l.length-r[o],t.range(a).start);if(u>d)return;let f=Math.max(u,Math.min(r[a],d));return[...bM(n.node.weights.slice(0,i),c,f-n.rect[a]-t.input.requirements.gap*i),r[o],...bM(n.node.weights.slice(i+1),l,n.rect[a]+n.rect[o]-f-r[o]-t.input.requirements.gap*l.length)]}var NM=e=>e.reduce((e,t)=>e+t,0);function PM(e){let t=e.previous;if(LM(t,e.intent)&&!e.acquisition)return;if(!IM(t,e.source)||!FM(t,e.plan))return e.plan;let n=KA({...e,plan:t}),r=KA(e);if(n&&n.key===r?.key)return{...e.plan,layout:t.layout};if(!e.acquisition)return e.plan;let{rect:i,point:a}=e.acquisition;return wM({...e,previous:t.layout,acquisition:{rect:{...i,x:i.x-e.clientOrigin.x,y:i.y-e.clientOrigin.y},point:{x:a.x-e.clientOrigin.x,y:a.y-e.clientOrigin.y}}})}function FM(e,t){return[`order`,`insert`].includes(e.intent.kind)&&[`insert`,`reorder`].includes(t.kind)}function IM(e,t){return e?.phase===`detached`&&!e.blocked&&e.allocation===`reserved`&&oA(e.source)===oA(t)}function LM(e,t){return e?.phase===`detached`&&e.blocked&&Tk(e.intent,t)}function RM(e){let{plan:t,preference:n,source:r,available:i}=e;if(!n||!t.context||t.kind!==`split`)return t;let a=(e.projectLayout??X)(t.layout,i).root,o=GM(a,r);if(!o)return t;let s=zM({branch:o,preference:n,source:r,recipients:t.context.members});if(!s)return t;let c=HM(s);if(!c)return t;let l=bA(t.layout,o,c,i,e.projectLayout);return l?{...t,layout:l}:t}function zM(e){let{branch:t,preference:n,source:r,recipients:i}=e,a=t.axis===`horizontal`?`width`:`height`,o=(n.contextRect??dA)({members:J(t).filter(e=>!r.includes(e)),allocation:n.allocation,source:r});if(!o)return;let s=VM({branch:t,preference:n,source:r,recipients:i});if(s)return{entries:s,preferred:BM({members:i,preference:n,source:r,axis:a}),budget:o[a]-n.requirements.gap*(s.length-1)}}function BM(e){let t=(e.preference.contextRect??dA)({members:e.members,allocation:e.preference.allocation,source:e.source});return t?Math.max(0,(t[e.axis]-e.preference.requirements.gap)/2):NaN}function VM(e){let{branch:t,preference:n,source:r,recipients:i}=e,a=t.axis===`horizontal`?`width`:`height`,o=t.children.map(e=>{let t=J(e),o=t.every(e=>r.includes(e)),s=t.every(e=>i.includes(e)),c=!s&&t.some(e=>i.includes(e)),l=o?void 0:(n.contextRect??dA)({members:t,allocation:n.allocation,source:r});return{moving:o,donor:s,minimum:hM(e,n.requirements)[a],extent:l?.[a],mixed:c}});return o.some(e=>e.mixed||!e.moving&&e.extent===void 0)?void 0:o}function HM(e){let{entries:t,preferred:n,budget:r}=e,i=t.find(e=>e.moving);if(!i||!Number.isFinite(n)||r<=0)return;let a=t.reduce((e,t)=>e+(!t.moving&&!t.donor?t.extent:0),0),o=t.filter(e=>e.donor&&!e.moving),s=r-a-o.reduce((e,t)=>e+t.minimum,0);if(!o.length)return;let c=Math.max(i.minimum,Math.min(n,s));if(s<i.minimum)return UM(t,c,r);let l=bM(o.map(e=>e.extent),o.map(e=>e.minimum),r-a-c),u=0;function d(e){return e.moving?c:e.donor?l[u++]:e.extent}return t.map(d)}function UM(e,t,n){let r=e.map(e=>WM(e,t));if(!r.some(e=>e<=0))return bM(r,e.map(e=>e.minimum),n)}function WM(e,t){return e.moving?t:e.donor?e.minimum:e.extent}function GM(e,t){if(e&&e.type!==`group`){if(e.children.some(e=>e.type===`group`&&e.panels.some(e=>t.includes(e))))return e;for(let n of e.children){let e=GM(n,t);if(e)return e}}}function KM(e){let t=e.split?.groups.find(t=>t.panels.some(t=>t.id===e.destination.target)),n=t&&e.destination.position!==`tab`?YM(e.client(t.rect),e.destination.position):void 0,r=wk(n?.cue??e.cue,e.bounds);return{cue:r,seams:JM(e,n,r),context:t&&e.split?cA({baseline:e.split.regions,achieved:e.regions,source:e.split.source,recipient:t.panels.map(e=>e.id)}):e.plan.context}}function qM(e,t){return(e.kind===`reorder`||e.kind===`tab`||e.kind===`insert`)&&t?{allocation:`reserved`,layout:e.layout}:{allocation:`overlay`}}function JM(e,t,n){if(e.feasible)return t?XM(t,n,e.bounds):ZM({...e,cue:n,position:e.destination.position})}function YM(e,t){let n=t===`left`||t===`right`;return{cue:{x:e.x+(t===`right`?e.width/2:0),y:e.y+(t===`bottom`?e.height/2:0),width:n?e.width/2:e.width,height:n?e.height:e.height/2},seams:{kind:`split`,edges:[{side:{left:`right`,right:`left`,top:`bottom`,bottom:`top`}[t],offset:0,fraction:.5}]}}}function XM(e,t,n){let r=e.seams.edges[0],i=r.side===`left`||r.side===`right`,{x:a,y:o}=$M(e.cue,r.side,0);if(a<n.x||a>=n.x+n.width||o<n.y||o>=n.y+n.height)return;let s=i?(o-t.y)/t.height:(a-t.x)/t.width;return Number.isFinite(s)?{kind:`split`,edges:[{...r,fraction:s}]}:void 0}function ZM(e){let{plan:t,regions:n,sourceKey:r,position:i}=e;if(t.kind===`tab`||i===`tab`)return;let a=r.split(`.`),o=Number(a.pop()),s=n.find(e=>e.key===a.join(`.`)),c=n.find(e=>e.key===r);if(!c||s?.node.type!==`split`)return;let[l,u]=s.node.axis===`horizontal`?[`left`,`right`]:[`top`,`bottom`],d={left:`right`,right:`left`,top:`bottom`,bottom:`top`}[i],f=[-1,1].flatMap(r=>{let i=n.find(e=>e.key===`${s.key}.${o+r}`),a=r<0?l:u;if(!i||t.kind===`split`&&a!==d)return[];let f=tN(e,a,QM(c.rect,i.rect,a));return f?[f]:[]});return f.length?{kind:{reorder:`insert`,insert:`insert`,split:`split`}[t.kind],edges:f}:void 0}function QM(e,t,n){let r={left:e.x-t.x-t.width,right:t.x-e.x-e.width,top:e.y-t.y-t.height,bottom:t.y-e.y-e.height};return Math.max(0,r[n])/2}function $M(e,t,n){switch(t){case`left`:return{x:e.x-n,y:e.y+e.height/2};case`right`:return{x:e.x+e.width+n,y:e.y+e.height/2};case`top`:return{x:e.x+e.width/2,y:e.y-n};case`bottom`:return{x:e.x+e.width/2,y:e.y+e.height+n}}}function eN(e,t){return t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height}function tN(e,t,n){let{cue:r,bounds:i}=e,a=$M(e.sourceRect,t,n);if(!eN(i,a))return;let o=t===`left`||t===`right`,s=o?r.height:r.width;if(s<=0)return;let c=((o?a.y:a.x)-(o?r.y:r.x))/s;return c>=0&&c<=1?{side:t,offset:n,fraction:c}:void 0}function nN(e){let{evaluation:t,layout:n,source:r,intent:i,groupable:a}=e;if(!a&&!Uj({root:n.root,source:r,intent:i}))return;let o=e.candidate??rN(e)?.layout;if(o&&!yO(o,n)&&iN({...e,candidate:t.project(o)}))return o}function rN(e){let{evaluation:t,layout:n,source:r,intent:i,planner:a=YA}=e,o=a({layout:n,source:r,destination:i.destination,operation:i.kind,available:t.available,projectLayout:t.projectLayout});return o?oN(e,o):void 0}function iN(e){return gM({current:e.evaluation.project(e.layout).root,candidate:e.candidate.root,viewport:{width:e.measurements.width,height:e.measurements.height},requirements:e.evaluation.requirements})}function aN(e){let{evaluation:t,source:n,intent:r,context:i}=e,a=i?.acquisition,o=a?oN(e,a.plan):rN(e);if(!o)return;let{width:s,height:c}=t.geometry(t.project(o.layout)),l=PM({plan:o,source:n,available:t.available,previous:i?.selected,intent:r,acquisition:a,current:e.currentRegions(),rect:{x:0,y:0,width:s,height:c},clientOrigin:t.client({x:0,y:0,width:0,height:0}),requirements:t.requirements});return sN(e,l??o,!!l)}function oN(e,t){if(t.kind!==`split`)return t;let{evaluation:n,source:r}=e;return RM({plan:t,source:r,available:n.available,projectLayout:n.projectLayout,preference:{allocation:n.detached(r).regions,requirements:n.requirements,contextRect:n.contextRect}})}function sN(e,t,n){let{evaluation:r,layout:i,measurements:a,source:o,intent:s}=e,c=r.project(t.layout),l=r.geometry(c),u=l.groups.find(e=>e.panels.some(e=>o.includes(e.id)));if(!u)return;let d=r.client(u.rect),{cue:f,bounds:p}=s.kind===`tab`?Pk({group:u,source:o,intent:s,root:i.root,spatial:()=>r.detached(o).groups,measurements:a,viewport:r.bounds(),client:e=>r.client(e),scroll:e=>r.scroll(e)}):{cue:d,bounds:r.bounds()},m=n&&iN({...e,candidate:c})&&(e.groupable||Uj({root:i.root,source:o,intent:s})),h=KM({plan:t,regions:l.regions,sourceKey:u.key,sourceRect:d,cue:f,bounds:p,destination:s.destination,feasible:m,split:s.kind===`split`?{...r.detached(o),source:o}:void 0,client:e=>r.client(e)});if(cN(s,h.cue))return{...h,cue:{kind:s.kind===`tab`?`tab`:`group`,rect:h.cue},feasible:m,...qM(t,m)}}function cN(e,t){return e.kind===`tab`||t.width!==0&&t.height!==0}var lN=class{#e;#t;#n;#r;#i;#a;#o=!1;#s;#c;constructor(e,t){this.#e=e,this.#t=t,this.#n=new Nt(e,{claimPriority:`descendant-first`,suppressNativeDrag:!0,shouldIgnoreEvent:e=>{let t=this.#h(e);return!this.#r&&!this.#_(t)||this.#c!==void 0||!t}}),this.#n.target=e,e.addController(this)}get capabilities(){return this.#r?.capabilities}get suppressSelection(){return this.#o||this.#r?.phase===`attached`||this.#r?.phase===`detached`}hostConnected(){this.#a=this.#e.ownerDocument,this.#e.addEventListener(`nve-gesture-input`,this.#y),this.#e.addEventListener(`nve-gesture`,this.#N),this.#e.addEventListener(`click`,this.#f,!0),this.#a.addEventListener(`keydown`,this.#d),this.#a.addEventListener(`pointerdown`,this.#u,!0)}hostDisconnected(){this.#e.removeEventListener(`nve-gesture-input`,this.#y),this.#e.removeEventListener(`nve-gesture`,this.#N),this.#e.removeEventListener(`click`,this.#f,!0),this.#a?.removeEventListener(`keydown`,this.#d),this.#a?.removeEventListener(`pointerdown`,this.#u,!0),this.#a=void 0,this.cancel()}getPreviewHint(e,t){if(e.phase===`detached`&&e.point)return Jj({...t.targetCatalog(e.source),preview:e,source:e.source,point:e.point,local:e.intent,header:!1,currentLayout:this.#t.getLayout()??{version:1,root:null,closed:[]},available:t.available,projectLayout:t.projectLayout,planPlacement:this.#i}).hint}handleMeasurementsChange(e){e.spaceChanged?this.cancel():this.refresh()}refresh(){let e=this.#r;e&&e.phase!==`pressed`&&(e.phase===`attached`?(e.initialCue=this.#x(e.source,e.group),e.preview={...e.preview,cue:e.initialCue},this.#t.applyPreview(e.preview)):(e.pendingRefresh=!0,this.#I(e)))}cancelForUser(){if(this.#c)return;let e=this.#r;if(!e||e.phase===`pressed`){this.cancel();return}e.phase===`detached`&&this.#L(e),this.#m(),this.#r=void 0,this.#o=!0;let t=e;this.#c=t;let n=this.#E(e);e.restoreScroll?.(),this.#O(n,t)}cancel(){this.#m(),this.#c=void 0,this.#o||=this.#r!==void 0&&this.#r.phase!==`pressed`,this.#r?.phase===`detached`&&this.#L(this.#r),this.#r=void 0,this.#i=void 0,this.#t.applyPreview(void 0)}#l(e){let t=t=>{let n=this.#S(e.source,t.intent,{selected:t});if(!n)return t;let{feasible:r,context:i,seams:a,...o}=n;return{...t,...o,seams:a,context:i,blocked:!r}},n=e.lastFeasible===e.preview;e.lastFeasible=t(e.lastFeasible),e.preview=n?e.lastFeasible:t(e.preview)}#u=()=>{this.#c&&this.cancel(),this.#o=!1};#d=e=>{this.#c&&e.key!==`Escape`&&!e.repeat&&this.cancel(),e.key===`Escape`&&!e.defaultPrevented&&this.#r&&(e.preventDefault(),this.cancelForUser())};#f=e=>{this.#o&&=(e instanceof MouseEvent&&e.detail===0||(e.preventDefault(),e.stopImmediatePropagation()),!1)};#p(e){this.#s??={value:this.#e.style.getPropertyValue(`cursor`),priority:this.#e.style.getPropertyPriority(`cursor`),owned:e},this.#s.owned=e,this.#e.style.setProperty(`cursor`,e,`important`)}#m(){let e=this.#s;e&&(this.#s=void 0,this.#e.style.getPropertyValue(`cursor`)===e.owned&&this.#e.style.getPropertyPriority(`cursor`)===`important`&&(e.value?this.#e.style.setProperty(`cursor`,e.value,e.priority):this.#e.style.removeProperty(`cursor`)))}#h(e){return e.composedPath().find(e=>e instanceof HTMLElement&&e.getRootNode()===this.#e.shadowRoot&&(e.hasAttribute(`data-panel`)||e.hasAttribute(`data-drag-group`)))}#g(){return{rearrangeable:this.#e.rearrangeable,groupable:this.#e.groupable}}#_(e,t=this.#g()){return!!e&&this.#t.isRearrangementAllowed()&&t.rearrangeable&&(t.groupable||e.localName!==`nve-tabs-item`)}#v(e){let t=this.#t.getLayout();return e.dataset.panel?Wj({layout:t,anchor:e.dataset.panel,available:this.#t.getAvailablePanels()}):e.dataset.dragGroup?[...Y(t?.root??null,e.dataset.dragGroup)?.panels??[]]:void 0}#y=e=>{if(e.target!==this.#e)return;let t=e.detail;t.kind===`pointerdown`?this.#b(t):t.kind===`pointerend`&&this.#C(t)};#b(e){let t=this.#h(e.event);if(!t)return;let n=this.#g(),r=this.#v(t);if(!r||!this.#_(t,n)||e.event.button!==0||!e.event.isPrimary||this.#r||!e.claim({kind:`drag`}))return;this.#o=!1;let i=this.#e.detachThreshold,a=this.#x(r,t.hasAttribute(`data-drag-group`)),o=this.#t.getLayout();o&&(this.#i=JA()),this.#r={source:r,phase:`pressed`,capabilities:n,initialAllocation:{allocation:`committed`},initialPlacement:o?dM({layout:o,source:r,cue:a,available:this.#t.getAvailablePanels(),evaluate:e=>this.#S(r,e)}):void 0,detachThreshold:Er(i,48),group:t.hasAttribute(`data-drag-group`),controlRect:t.getBoundingClientRect(),initialCue:a,restoreScroll:pk(this.#e)}}#x(e,t){return this.#t.evaluateWithContext(n=>{let r=this.#t.getLayout()??{version:1,root:null,closed:[]},i=this.#t.getMeasurements();return Mk({groups:n.geometry(n.project(r)).groups,source:e,groupDrag:t,bounds:n.bounds(),client:e=>n.client(e),measurements:i,width:e=>kk(e,i),scroll:e=>n.scroll(e)})})}#S(e,t,n){return this.#t.evaluateWithContext(r=>{let i=this.#t.getLayout();if(i&&t.kind!==`invalid`)return aN({evaluation:r,layout:i,measurements:this.#t.getMeasurements(),source:e,intent:t,context:n,planner:this.#i,groupable:this.#r?.capabilities.groupable??this.#e.groupable,currentRegions:()=>r.presentationGeometry().regions})})}#C(e){let t=this.#r;t&&(e.interrupted||e.reason!==`up`?this.cancelForUser():t.phase===`detached`&&!this.#T(t)?this.#r===t&&this.cancelForUser():this.#w(t,e))}#w(e,t){let n=e.phase===`detached`&&this.#j(e);e.phase===`pressed`&&this.#M(e,t),this.#o=!0,this.cancel(),e.phase!==`pressed`&&this.#k(e,n)}#T(e){return this.#L(e),e.initialPaint=!1,this.#R(e),this.#r===e&&!e.preview.blocked}#E(e){let t={source:e.source,...e.initialAllocation,phase:e.phase===`attached`?`returning-attached`:`returning-detached`,intent:{kind:`invalid`},cue:this.#x(e.source,e.group),blocked:!1};return this.#i=void 0,this.#t.applyPreview(t),this.#D(e)}async#D(e){if(await this.#e.updateComplete,this.#c!==e)return;let t=this.#e.shadowRoot?.querySelector(`[data-destination-ghost]`);t&&(t.getBoundingClientRect(),await Promise.allSettled(t.getAnimations().map(e=>e.finished)))}async#O(e,t){await e,this.#c===t&&(this.#t.applyPreview(void 0),this.#A(t))}#k(e,t){this.#c=e,t||e.restoreScroll?.(),this.#A(e)}async#A(e){await this.#e.updateComplete,this.#c===e&&(this.#c=void 0,e.restoreFocus?.())}#j(e){let t=e.preview.intent;return t.kind!==`invalid`&&this.#t.commitPlacement(e.source,t,e.preview.allocation===`reserved`?e.preview.layout:void 0)}#M(e,t){let n=e.controlRect;t.clientX>=n.x&&t.clientX<=n.x+n.width&&t.clientY>=n.y&&t.clientY<=n.y+n.height&&this.#t.activateSource(e.source,e.group)}#N=e=>{let t=e.detail,n=this.#r;if(!n||t.kind!==`drag`)return;let r=Math.hypot(t.totalDisplacementX,t.totalDisplacementY);if(n.phase===`pressed`&&r<6)return;let i={x:t.clientX,y:t.clientY};if(n.phase===`detached`){this.#F(n,i);return}let a={...n,restoreFocus:n.phase===`pressed`?fk(this.#e):n.restoreFocus,phase:`attached`,point:i,preview:{source:n.source,phase:`attached`,point:i,intent:{kind:`invalid`},cue:n.initialCue,blocked:!1}};this.#p(`grabbing`),r>=n.detachThreshold?this.#P(a):(this.#r=a,this.#t.applyPreview(a.preview))};#P(e){let{feasible:t,...n}=e.initialPlacement?.offer??{...e.initialAllocation,cue:e.initialCue,feasible:!0},r={...e.preview,...n,intent:e.initialPlacement?.intent??e.preview.intent,context:n.context,blocked:!t,phase:`detached`},i={...e,phase:`detached`,preview:r,lastFeasible:r,pendingInput:!0,pendingRefresh:!1,initialPaint:!0};this.#r=i,this.#t.applyPreview(r),this.#I(i)}#F(e,t){e.point=t,e.pendingInput=!0,this.#I(e)}#I(e){if(e.pendingFrame!==void 0)return;let t=requestAnimationFrame(()=>{this.#r===e&&e.pendingFrame===t&&(e.pendingFrame=void 0,e.initialPaint&&(e.initialPaint=!1,this.#e.shadowRoot?.querySelector(`[data-destination-ghost]`)?.getBoundingClientRect()),this.#R(e))});e.pendingFrame=t}#L(e){e.pendingFrame!==void 0&&cancelAnimationFrame(e.pendingFrame),e.pendingFrame=void 0}#R(e){let t=e.pendingInput,n=e.pendingRefresh;e.pendingInput=!1,e.pendingRefresh=!1,n&&this.#l(e),this.#r===e&&(t?this.#z(e,e.point):n&&this.#H(e.preview))}#z(e,t){this.#t.evaluateWithContext(n=>this.#B(e,t,n))}#B(e,t,n){let r=this.#t.getLayout(),{intent:i,acquisition:a}=qj({placement:n.getPlacementCatalog(e.source,t),canonicalRoot:r?.root??null,currentLayout:r??{version:1,root:null,closed:[]},source:e.source,point:t,heldIntent:e.preview.intent,groupable:e.capabilities.groupable,gap:this.#t.getMeasurements().gap,available:n.available,projectLayout:n.projectLayout,planPlacement:this.#i});if(!i){this.#V(e,t);return}let o=this.#S(e.source,i,{selected:e.preview,acquisition:a?{...a,point:t}:void 0});if(!o){e.preview={...e.preview,point:t},this.#t.applyPreview(e.preview);return}let{feasible:s,context:c,...l}=o;e.preview={context:c,...l,source:e.source,phase:`detached`,point:t,intent:i,cue:o.cue,blocked:!s},s&&(e.lastFeasible=e.preview),this.#H(e.preview)}#V(e,t){this.#p(e.lastFeasible.blocked?`no-drop`:`grabbing`),e.preview={...e.lastFeasible,point:t},this.#t.applyPreview(e.preview)}#H(e){this.#p(e.blocked?`no-drop`:`grabbing`),this.#t.applyPreview(e)}},uN=[`ArrowLeft`,`ArrowRight`,`ArrowUp`,`ArrowDown`,`Home`,`End`,`PageUp`,`PageDown`];function dN(e){return uN.includes(e)}var fN=class{#e;#t;#n;#r;#i;#a;constructor(e,t){this.#i=!1,this.gesture=e=>{let t=this.#s(e);if(!t)return;let n=e.detail;if(n.kind===`pointerdown`&&n.event.button===0&&n.event.isPrimary&&this.#t.isEnabled()){let e=this.#t.getBoundaries().find(e=>e.key===t.dataset.boundary);e&&this.#u(t,e,n.event.pointerId)}n.kind===`pointerend`&&this.#o(t,n)},this.#c=e=>{this.#s(e)&&(e instanceof KeyboardEvent&&!dN(e.key)||(this.#t.isEnabled()&&!this.#l?e instanceof KeyboardEvent&&this.#n?.status===`cancelled`&&(this.#n=void 0):(e.preventDefault(),e.stopImmediatePropagation())))},this.#m=e=>{e.key!==`Escape`||e.defaultPrevented||this.#n?.status!==`active`||(e.preventDefault(),this.#t.cancelForUser())},this.#e=e,this.#t=t,e.addController(this)}get preview(){return this.#n?.status===`cancelled`?void 0:this.#n?.preview?.layout}get presentation(){let e=this.#n;return e?.status===`cancelled`?void 0:e?.presentation}get retainingHandles(){return this.#n?.pointerId!==void 0&&this.#n.status!==`cancelled`}get resizing(){return this.#i}get policy(){let e=this.#n;return e&&e.status!==`cancelled`?e.policy:this.#e.resizePolicy===`propagate`?`propagate`:`stop`}hostConnected(){this.#r=this.#e.ownerDocument,this.#e.addEventListener(`pointerdown`,this.#c,!0),this.#e.addEventListener(`keydown`,this.#c,!0),this.#r.addEventListener(`keydown`,this.#m)}hostDisconnected(){this.#e.removeEventListener(`pointerdown`,this.#c,!0),this.#e.removeEventListener(`keydown`,this.#c,!0),this.#r?.removeEventListener(`keydown`,this.#m),this.#r=void 0,this.#n=void 0,this.#f()}hostUpdate(){let e=this.#n;if(e?.status!==`active`||e.pendingValue===void 0)return;let t=e.pendingValue;e.pendingValue=void 0,this.#_(t,e)}hostUpdated(){!this.#i||this.preview||this.retainingHandles||this.#a!==void 0||(this.#a=requestAnimationFrame(()=>{this.#a=requestAnimationFrame(()=>{this.#a=void 0,!(this.preview||this.retainingHandles)&&(this.#f(),this.#e.requestUpdate())})}))}handleMeasurementsChange(e){e.spaceChanged&&this.cancel()}resetForRestore(){this.cancel(),this.#f()}cancel(){let e=this.#n;e&&e.status!==`cancelled`&&(this.#n={handle:e.handle,pointerId:e.pointerId,status:`cancelled`},this.#e.requestUpdate())}input(e,t){this.#h(e,t,!1)}change(e,t){this.#h(e,t,!0)}#o(e,t){let n=this.#n;if(n?.handle!==e||n.pointerId!==t.event.pointerId)return;t.interrupted&&this.cancel();let r=this.#n;r&&(r.status===`cancelled`?(r.pointerId=void 0,this.#p(e)):r.status===`committed`?this.#n=void 0:r.pointerId=void 0,this.#e.requestUpdate())}#s(e){return e.composedPath().find(e=>pN(e)&&e.isConnected&&e.getRootNode()===this.#e.shadowRoot)}#c;get#l(){let e=this.#n;return e?.pointerId!==void 0&&e.handle.isConnected&&e.handle.getRootNode()===this.#e.shadowRoot}#u(e,t,n){let r=this.#t.getLayout();r&&(this.#n={handle:e,pointerId:n,status:`active`,baseline:structuredClone(r),origin:t,policy:this.policy,available:this.#t.getAvailablePanels(),presentation:this.#t.getPresentation()})}#d(){this.#a!==void 0&&cancelAnimationFrame(this.#a),this.#a=void 0,this.#i=!0}#f(){this.#a!==void 0&&cancelAnimationFrame(this.#a),this.#a=void 0,this.#i=!1}async#p(e){if(await this.#e.updateComplete,!e.isConnected||e.getRootNode()!==this.#e.shadowRoot)return;let t=this.#t.getBoundaries().find(t=>t.key===e.dataset.boundary);t&&(e.valueAsNumber=t.value)}#m;#h(e,t,n){e.stopPropagation();let r=e.currentTarget;if(!pN(r)||!this.#s(e))return;!this.#n&&this.#t.isEnabled()&&this.#u(r,t);let i=this.#n;if(!i||i.handle!==r||i.status!==`active`)return;let a=r.valueAsNumber;if(n){i.pendingValue=void 0;let e=this.#_(a,i);e&&this.#v(e,i)}else this.#g(a,i)}#g(e,t){t.pendingValue===e||t.pendingValue===void 0&&t.preview?.value===e||(t.pendingValue=e,this.#e.requestUpdate())}#_(e,t){if(t.preview?.value===e)return t.preview.layout;let n=this.#y(e,t);return n&&(this.#d(),t.preview={value:e,layout:n}),n}#v(e,t){t.preview=void 0,t.status=`committed`,t.pointerId===void 0&&(this.#n=void 0),this.#t.commitLayout(e)}#y(e,t){let{origin:n,baseline:r}=t,i=(e-n.value)*(n.branch.axis===`horizontal`?1:-1),a=xM(n.sizes,n.minima,{boundary:n.index,delta:i,policy:t.policy});return a.every((e,t)=>e===n.sizes[t])?structuredClone(r):bA(r,n.branch,a,t.available)}};function pN(e){return e!==null&&bn(e,IE)}var mN=class{#e;#t;#n;constructor(e,t){this.#e=e,this.#t=t,e.addController(this)}get active(){return this.#n!==void 0}hostConnected(){this.#e.addEventListener(`pointerdown`,this.#i,!0),this.#e.addEventListener(`keydown`,this.#i,!0)}hostDisconnected(){this.finish(),this.#e.removeEventListener(`pointerdown`,this.#i,!0),this.#e.removeEventListener(`keydown`,this.#i,!0)}handleMeasurementsChange(e){e.spaceChanged&&this.finish()}animateTo(e,t){let n=this.#n?.target;n&&yO(e,n.layout)||(!this.active&&yO(e,this.#t.getLayout())?this.#t.applyLayout(e):this.transition(()=>this.#t.applyLayout(e),t,{layout:e}))}transition(e,t={},n){let r=this.#e.isConnected&&!matchMedia(`(prefers-reduced-motion: reduce)`).matches?yN(this.#e,t.duration):0;if(r===0){this.finish(),e();return}let i=vN(this.#t.getTransitionTargets());if(this.finish(),!i.panels.size){e();return}let a={target:n,before:i,duration:r,animations:[]};this.#n=a,e(),this.#r(a)}finish(){let e=this.#n;this.#n=void 0,e?.animations.forEach(e=>e.cancel())}async#r(e){if(await this.#e.updateComplete,await Promise.all(xN(this.#e)),this.#n!==e||!this.#e.isConnected)return;let t=vN(this.#t.getTransitionTargets()),n=bN(this.#e);e.animations=SN({...e,after:t,easing:n}),await Promise.allSettled(e.animations.map(e=>e.finished)),this.#n===e&&this.finish()}#i=e=>{if(!this.active)return;let t=this.#a(e);if(!t)return;let n=t.hasAttribute(`data-boundary`);e instanceof KeyboardEvent&&(!n||!dN(e.key))||(e.stopImmediatePropagation(),n&&e.preventDefault())};#a(e){return e.composedPath().find(e=>e instanceof HTMLElement&&e.getRootNode()===this.#e.shadowRoot&&(e.hasAttribute(`data-panel`)||e.hasAttribute(`data-drag-group`)||e.hasAttribute(`data-boundary`)))}};function hN(e){let t=getComputedStyle(e);return{element:e,rect:e.getBoundingClientRect(),frame:{left:t.left,top:t.top,width:t.width,height:t.height}}}function gN(e){let t=/* @__PURE__ */ new Map;for(let[n,r]of Object.entries(e??{})){if(!r)continue;let e=hN(r);n===`labelTrack`&&(e.frame.transform=getComputedStyle(r).transform),t.set(n,e)}return t}function _N(e){let t=/* @__PURE__ */ new Map;for(let{element:n,tabs:r}of e){let e=/* @__PURE__ */ new Map;r.forEach((t,n)=>e.set(n,hN(t)));let i={...hN(n),tabs:e};r.forEach((e,n)=>t.set(n,i))}return t}function vN(e){let t=/* @__PURE__ */ new Map;e.panels.forEach((e,n)=>{t.set(n,{box:hN(e.element),header:gN(e.header)})});let n=/* @__PURE__ */ new Map;return e.gutters.forEach((e,t)=>n.set(t,hN(e))),{panels:t,groups:_N(e.groups),gutters:n}}function yN(e,t){if(t!==void 0&&Number.isFinite(t)&&t>=0)return t;let n=e.shadowRoot?.querySelector(`[data-chrome]`);if(!e.isConnected||!n)return 0;let r=getComputedStyle(n).animationDuration,i=Number.parseFloat(r);return Number.isFinite(i)?Math.max(0,r.endsWith(`ms`)?i:i*1e3):150}function bN(e){let t=e.shadowRoot?.querySelector(`[data-chrome]`);return t?getComputedStyle(t).animationTimingFunction:`ease`}function xN(e){let t=[];for(let n of e.children){if(!bn(n,lk))continue;let e=n;t.push(e.updateComplete);let r=e.querySelector(`:scope > nve-workspace-panel-header`);r&&t.push(r.updateComplete)}return t}function SN(e){let t=[],n=(n,r)=>{JSON.stringify(n)!==JSON.stringify(r.frame)&&t.push(r.element.animate([n,r.frame],{duration:e.duration,easing:e.easing}))};e.after.panels.forEach((t,r)=>{let i=e.before.panels.get(r);i&&(n(i.box.frame,t.box),t.header.forEach((e,t)=>{let r=i.header.get(t);r&&n(r.frame,e)}))});let r={input:e,animations:t},i=/* @__PURE__ */ new Set;return e.after.groups.forEach((t,a)=>{if(i.has(t.element))return;i.add(t.element);let o=e.before.groups.get(a);o&&(n(o.frame,t),CN(r,o,t))}),e.after.gutters.forEach((t,r)=>{let i=e.before.gutters.get(r);i&&n(i.frame,t)}),t}function CN({input:e,animations:t},n,r){r.tabs.forEach((i,a)=>{let o=e.before.groups.get(a)?.tabs.get(a);if(!o)return;let s=o.rect.x-n.rect.x-(i.rect.x-r.rect.x),c=o.rect.y-n.rect.y-(i.rect.y-r.rect.y),l={width:o.frame.width,height:o.frame.height,translate:`${s}px ${c}px`},u={width:i.frame.width,height:i.frame.height,translate:`0px 0px`};(s||c||l.width!==u.width||l.height!==u.height)&&t.push(i.element.animate([l,u],{duration:e.duration,easing:e.easing}))})}function wN(e){return!e.blocked&&`allocation`in e&&e.allocation===`reserved`&&(e.intent.kind===`order`||e.intent.kind===`insert`||e.phase===`detached`&&e.intent.kind===`invalid`&&e.cue.kind===`group`)}function TN(e,t){let n=[[`top-left`,0,0],[`top-right`,1,0],[`bottom-right`,1,1],[`bottom-left`,0,1]],r=[`border-radius:var(--_workspace-border-radius)`];for(let[i,a,o]of n){let n=e.x+a*e.width,s=e.y+o*e.height;t.some(({node:e,rect:t})=>e.type===`group`&&Math.abs(n-t.x-a*t.width)<1e-6&&Math.abs(s-t.y-o*t.height)<1e-6)||r.push(`border-${i}-radius:0px`)}return r.join(`;`)}var EN=class{#e;#t;#n;#r;#i;#a;#o;#s;#c;constructor(e,t,n){this.projectLayout=vA(),this.contextRect=fA(),this.#r=/* @__PURE__ */ new WeakMap,this.#i=/* @__PURE__ */ new Map,this.#a=/* @__PURE__ */ new Map,this.#o=/* @__PURE__ */ new WeakMap,this.#e=e,this.#t=t,this.#n=n,this.panels=t.panels,this.available=t.panels.map(e=>e.id),this.requirements=_M(t)}minimum(e){let t=this.#a.get(e);return t||(t=hM(e,this.requirements),this.#a.set(e,t)),t}project(e){return this.projectLayout(e,this.available)}geometry(e,t=e){let n=this.#i.get(e.root);n||(n=/* @__PURE__ */ new Map,this.#i.set(e.root,n));let r=n.get(t.root);return r||(r=DN({...this.#t,minimum:e=>this.minimum(e)},e,t),n.set(t.root,r)),r}detached(e){let t=this.#o.get(e);return t||(t=this.geometry(this.project(MO(this.#t.layout,e)),this.project(this.#t.layout)),this.#o.set(e,t)),t}nonOrderGeometry(e){let t=this.detached(e),n=this.#n?.getCurrentPreview();return n?.phase!==`detached`||n.intent.kind!==`tab`||n.allocation!==`reserved`?t:{...t,groups:Ok(t.groups,this.geometry(this.project(n.layout)).groups)}}targetCatalog(e,t=this.nonOrderGeometry(e)){let n=this.#l;return ON({gap:this.#u.gap,currentLayout:n,catalog:this.geometry(this.project(n)).regions,allocation:t,reservation:this.presentationGeometry(),preview:this.#n?.getCurrentPreview(),source:e,available:this.available,bounds:this.bounds(),client:e=>this.client(e),headerHeight:this.#u.headerHeight})}getPlacementCatalog(e,t){let n=jk(this.#f(e,t)),r=this.targetCatalog(e);return r.headerTarget=n,r.reservationHit=PN({...this.#f(this.#n?.getCurrentPreview()?.source??[],t),groups:this.presentationGeometry().groups}),r}bounds(){return this.#c??=LN(this.#e)}client(e){let t=this.#s??=RN(this.#e,{x:0,y:0,width:0,height:0});return{...e,x:e.x+t.x,y:e.y+t.y}}scroll(e){if(e.panels.length<2)return 0;let t=this.#t.strip(e);if(!t)return 0;let n=this.#r.get(t);return n===void 0&&(n=t.scrollLeft,this.#r.set(t,n)),n}presentationGeometry(){let e=HO(this.project(this.#l),this.#n?.getFullscreenTarget());return e?this.geometry(e):this.#d()}get#l(){return this.#n?.getCurrentLayout()??this.#t.layout}get#u(){return this.#n?.getCurrentMeasurements()??this.#t.measurements}#d(){let e=this.#n?.getCurrentPreview();return zN(e)?this.nonOrderGeometry(e.source):e&&`allocation`in e&&e.allocation===`reserved`?this.geometry(this.project(e.layout)):BN(e)?this.detached(e.source):this.geometry(this.project(this.#n?.getResizePreview()??this.#l))}#f(e,t){return{groups:Dk(this.nonOrderGeometry(e).groups,this.#l.root,e),measurements:this.#u,source:e,point:t,bounds:this.bounds(),client:e=>this.client(e),scroll:e=>this.scroll(e)}}};function DN(e,t,n){let r=e.minimum(n.root),i=Math.max(e.measurements.width,r.width),a=Math.max(e.measurements.height,r.height),o=SM({root:t.root,rect:{x:0,y:0,width:i,height:a},minimum:e.minimum,policy:e.policy,gap:e.measurements.gap}),s=Ek({groups:o.groups,panels:e.panels,root:e.layout.root,closed:e.layout.closed,source:e.source,gripWidth:e.measurements.gripWidth});return{...o,width:i,height:a,minimum:r,groups:s}}function ON(e){let{currentLayout:t,catalog:n,allocation:r,source:i,available:a,bounds:o}=e,s={catalog:n,allocation:r.regions,source:i,bounds:o,getRemainingLayoutSignature:jN({currentLayout:t,source:i,available:a})},c=n.map(t=>({...t,rect:e.client(t.rect)})),l=kN({...s,catalog:c,allocation:r.regions.map(t=>({...t,rect:e.client(t.rect)}))});return{gap:e.gap,regions:l,orderingRegions:e.reservation?kN({...s,catalog:c,allocation:e.reservation.regions.map(t=>({...t,rect:e.client(t.rect)}))}):l,sourceSlot:e.reservation?FN({...e,groups:e.reservation.groups}):void 0,preview:e.preview,headers:NN(e),targets:MN(l,i,e.headerHeight),bounds:o}}function kN(e){let t=uA(e);return AN(e,e=>t.find(t=>t.key===e)?.rect)}function AN(e,t){let{catalog:n,allocation:r,source:i,bounds:a}=e,o=r.some(e=>e.node.type===`group`&&J(e.node).every(e=>i.includes(e))),s=new Set(r.filter(e=>e.node.type===`split`).map(e=>oA(J(e.node)))),c=/* @__PURE__ */ new Set;return[...n].reverse().flatMap(n=>{let r=J(n.node),l=r.filter(e=>!i.includes(e));if(!l.length)return[];let u=oA(r),d=o&&n.node.type===`split`&&s.has(u)?u:oA(l),f=t(d);if(!f)return[];let p=wk(f,a);if(p.width<=0||p.height<=0)return[];let m=`${d}:${e.getRemainingLayoutSignature(n.node)}`;return c.has(m)?[]:(c.add(m),[{...n,rect:{x:f.x,y:f.y,width:f.width,height:f.height}}])}).reverse()}function jN(e){let t=e.available.filter(t=>!e.currentLayout.closed.includes(t)),n=/* @__PURE__ */ new Map,r=/* @__PURE__ */ new Map,i=e=>(n.has(e)||n.set(e,X({version:1,root:e,closed:[]},t).root),n.get(e)??null);return t=>{let n=r.get(t);if(n===void 0){let a=MO({version:1,root:yA(e.currentLayout.root,Q(t),i)??t,closed:[]},e.source);n=JSON.stringify(a.root),r.set(t,n)}return n}}function MN(e,t,n){return e.flatMap(e=>e.node.type===`group`?[{panels:e.node.panels.filter(e=>!t.includes(e)),rect:e.rect,headerHeight:n,tabs:[]}]:[])}function NN(e){return(e.reservation?.groups??[]).flatMap(t=>{if(t.panels.every(t=>e.source.includes(t.id)))return[];let n=e.client(t.rect);return[wk({...n,height:Math.min(n.height,e.headerHeight)},e.bounds)]}).filter(e=>e.width>0&&e.height>0)}function PN(e){let t=FN(e);if(!t)return Nk(e);if(IN(t,e.point))return`group`}function FN(e){let t=e.groups.find(t=>t.panels.length>0&&t.panels.every(t=>e.source.includes(t.id)));return t?wk(e.client(t.rect),e.bounds):void 0}function IN(e,t){return e.width>0&&e.height>0&&t.x>=e.x&&t.x<e.x+e.width&&t.y>=e.y&&t.y<e.y+e.height}function LN(e){let t=e.shadowRoot?.querySelector(`.viewport`);if(!(t instanceof HTMLElement))return e.getBoundingClientRect();let n=t.getBoundingClientRect();return{x:n.x+t.clientLeft,y:n.y+t.clientTop,width:t.clientWidth,height:t.clientHeight}}function RN(e,t){let n=e.shadowRoot?.querySelector(`.canvas`)?.getBoundingClientRect();return{...t,x:t.x+(n?.x??0),y:t.y+(n?.y??0)}}function zN(e){return!!e&&e.phase===`detached`&&e.intent.kind!==`order`&&e.intent.kind!==`insert`&&(e.intent.kind!==`invalid`||e.allocation!==`reserved`)}function BN(e){return!!e&&`allocation`in e&&e.allocation===`overlay`&&(e.phase===`detached`||e.phase===`returning-detached`)}var VN=`:host{--gap: var(--nve-ref-size-150);--border-radius: var(--nve-ref-border-radius-lg);--tab-min-width: calc(3 * var(--nve-ref-size-1000));--tab-border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--close-button-inset: var(--nve-ref-size-200);--header-control-size: var(--nve-ref-size-700);--header-control-inset: var(--nve-ref-size-100);--_workspace-border-radius: var(--border-radius);--animation-duration: var(--nve-ref-animation-duration-150);--animation-easing: var(--nve-ref-animation-easing-100);--_placement-reserved-background: color-mix(in srgb, var(--nve-sys-accent-secondary-background) 28%, transparent);--gutter-background: transparent;--gutter-hover-background: var(--nve-sys-accent-secondary-background);display:grid;width:100%;width:stretch;grid-template-rows:minmax(0,1fr)}[internal-host]{position:relative;display:grid;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;contain:size;contain-intrinsic-block-size:var(--_minimum-height, 0)}.viewport{position:relative;min-width:0;min-height:0;overflow:auto}.canvas{width:100%;height:100%;position:relative;overflow:clip}::slotted(nve-workspace-panel){position:absolute}::slotted(nve-workspace-panel:not(:state(workspace-presented))){display:none!important}.group-chrome{position:absolute;overflow:clip;border-radius:var(--_workspace-border-radius);pointer-events:none}.tabs{direction:ltr;position:relative;display:flex;pointer-events:auto;background:var(--nve-sys-layer-container-background)}.tabs[data-carried-reservation]{visibility:hidden}.tablist{position:relative;flex:none;min-width:0;overflow:clip}.tablist[data-scrollable]{overflow:auto hidden;scrollbar-color:var(--nve-sys-scrollbar-thumb-color) var(--nve-sys-scrollbar-track-color);scrollbar-width:var(--nve-sys-scrollbar-width)}.tab-track{position:relative;height:100%;display:block;--gap: 0;--indicator-border-radius: var(--nve-ref-border-radius-none)}[internal-host][data-resizing] .tab-track,[internal-host][data-rearranging] .tab-track{--indicator-animation-duration: 0ms}.tab-entry{--padding: 0;--gap: 0;--border-radius: var(--nve-ref-border-radius-none)}:host([closable]) .tab-entry{--padding: 0 var(--close-button-inset) 0 0}.tab-entry nve-tabs-item{--padding: 0 var(--nve-ref-size-200)}.tablist .tab-entry{position:absolute;top:0;height:100%;--width: 100%;box-sizing:border-box}.tablist .tab-entry+.tab-entry,.tabs>nve-drag-handle+.tablist .tab-entry:first-child{border-inline-start:var(--tab-border)}[data-carried-tab]{visibility:hidden}[internal-host][data-rearranging] .tablist .tab-entry{transition:left var(--animation-duration) var(--animation-easing),width var(--animation-duration) var(--animation-easing)}.panel-entry{padding:var(--padding);display:flex;align-items:center}.panel-title{display:flex;align-items:center;flex:1;min-width:0;height:100%;box-sizing:border-box;padding:0 var(--nve-ref-size-200);overflow:hidden;white-space:nowrap;color:var(--nve-sys-text-emphasis-color);font-size:var(--nve-ref-font-size-100);font-weight:var(--nve-ref-font-weight-semibold);line-height:var(--nve-ref-font-size-500)}.fallback-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([rearrangeable][groupable]) .tabs nve-tabs-item,:host([rearrangeable]) .tabs .panel-title{--cursor: grab;cursor:grab;touch-action:pan-x}.tabs nve-drag-handle{flex:0 0 auto;--cursor: grab;--height: 100%;--border-radius: var(--nve-ref-border-radius-none);touch-action:none}:is(.tabs,.chrome) nve-drag-handle{--width: calc(var(--header-control-size) + 2 * var(--header-control-inset))}nve-icon-button:is([part~=close-button],[part~=fullscreen-button]){--width: var(--header-control-size);--height: var(--header-control-size)}.group-actions{display:flex;align-items:center;flex:none;padding-inline:var(--header-control-inset) calc(var(--header-control-inset) + var(--nve-ref-border-width-sm));border-inline-start:var(--tab-border);box-sizing:border-box}.group-actions[data-authored-suffix]{border-inline-start-color:transparent}.gutter{position:absolute;background:var(--gutter-background);pointer-events:none}nve-resize-handle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:auto;--background: transparent}nve-resize-handle:hover:not(:state(active))::part(_line){background:var(--gutter-hover-background)}.preview-layer{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:6}.destination{position:absolute;inset:0 auto auto 0;pointer-events:none;z-index:6;box-sizing:border-box;--background: transparent;background-color:color-mix(in srgb,var(--nve-sys-accent-secondary-background) 16%,transparent);border-radius:var(--border-radius);transition:background-color var(--animation-duration) var(--animation-easing),transform var(--animation-duration) var(--animation-easing),width var(--animation-duration) var(--animation-easing),height var(--animation-duration) var(--animation-easing)}.destination[data-reserved-placement]{background-color:var(--_placement-reserved-background)}.destination[data-cue-clipped]{visibility:hidden}.destination[data-drop-blocked]{--border: 2px solid var(--nve-sys-support-danger-emphasis-color)}.destination nve-icon{position:absolute;inset:var(--nve-ref-space-sm) auto auto var(--nve-ref-space-sm)}.carried{position:absolute;z-index:8;pointer-events:none;white-space:nowrap;--background: var(--nve-sys-layer-container-background);--border: var(--nve-ref-border-width-sm) solid var(--nve-sys-accent-secondary-background)}.context-boundary{position:absolute;box-sizing:border-box;pointer-events:none;opacity:0;box-shadow:inset 0 0 0 var(--nve-ref-border-width-md) var(--nve-sys-accent-secondary-background);z-index:4}.context-boundary[data-active]{opacity:1}.order-overlay{position:absolute;pointer-events:none;background:var(--_placement-reserved-background);z-index:7}.seam-badge{position:absolute;box-sizing:border-box;display:grid;place-items:center;width:var(--nve-ref-size-800);height:var(--nve-ref-size-800);border:var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);border-radius:var(--nve-ref-border-radius-full);background:var(--nve-sys-layer-container-background);color:var(--nve-sys-accent-secondary-background);transform:translate(-50%,-50%);pointer-events:none}.seam-badge>svg{display:block;width:var(--nve-ref-size-500);height:var(--nve-ref-size-500);overflow:visible;pointer-events:none}[internal-host][data-rearranging] .context-boundary,[internal-host][data-rearranging] .group-chrome,[internal-host][data-rearranging] ::slotted(nve-workspace-panel){transition:left var(--animation-duration) var(--animation-easing),top var(--animation-duration) var(--animation-easing),width var(--animation-duration) var(--animation-easing),height var(--animation-duration) var(--animation-easing)}.chrome{animation-duration:var(--animation-duration);animation-timing-function:var(--animation-easing);position:absolute;visibility:hidden;pointer-events:none;width:max-content}.gap-probe{position:absolute;width:max(0px,var(--gap));height:0}.tab-min-probe{position:absolute;width:max(0px,var(--tab-min-width));height:0}.chrome-header{align-items:center;min-height:calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));direction:ltr;display:flex}:host(:fullscreen){width:100%;height:100%;background:var(--nve-sys-layer-container-background)}:host([container="flat"]) .tabs{background:transparent}:host([container="flat"]),:host([container="full"]){--_workspace-border-radius: var(--nve-ref-border-radius-none)}`,HN={close:`close`,move:`move`,enterFullscreen:`enter full screen`,exitFullscreen:`exit full screen`},$=class extends y{constructor(...e){super(...e),this.#e=new A(this,HN),this.i18n=this.#e.i18n,this.resizable=!1,this.rearrangeable=!1,this.groupable=!1,this.fullscreenable=!1,this.detachThreshold=48,this.closable=!1,this.resizePolicy=`stop`,this.#n=``,this.#r=!1,this.#a=new mN(this,{getLayout:()=>this.#t,applyLayout:e=>this.#A(e),getTransitionTargets:()=>this.#m.getTransitionTargets()}),this.#o=new sk(this,{getState:()=>({panels:this.#y,layout:this.#t}),isRearrangementAllowed:()=>!this.#s.active,isPlacementAvailable:(e,t)=>!!this.#H(e,t),canEnterFullscreen:e=>this.#s.canEnter(e),canExitFullscreen:()=>this.#s.canExit,isFullscreenGroup:e=>this.#s.isSelectedGroup(e),enterFullscreen:e=>this.#s.enter(e),exitFullscreen:()=>this.#s.exit(),activatePanel:(e,t)=>this.#P(e,t),closePanel:e=>this.#L(e),placePanel:(e,t)=>this.#I(e,t)}),this.#s=new Yk(this,{getGroup:e=>Y(this.#V(this.#v).root,e)?.panels??[],cancelInteractions:()=>{this.#a.finish(),this.#c.cancel(),this.#f.cancel()},invalidateCommandAvailability:()=>{this.#o.invalidateAvailability(),this.#p.invalidate()}}),this.#c=new lN(this,{evaluateWithContext:e=>this.#B(e),isRearrangementAllowed:()=>!this.#s.active&&!this.#a.active,getLayout:()=>this.#t,getMeasurements:()=>this.#x,getAvailablePanels:()=>this.#b,activateSource:(e,t)=>this.#N(e,t),applyPreview:e=>{this.#i=e,this.requestUpdate()},commitPlacement:(e,t,n)=>this.#I(e,t,{layout:n,capabilities:this.#S,focus:!1})}),this.#l=[],this.#u=[],this.#d={gap:0,headerHeight:0,gripWidth:0,actionWidth:0,groupActionWidth:0,tabWidth:0,tabMinWidth:0,width:0,height:0},this.#f=new fN(this,{isEnabled:()=>this.#w,getLayout:()=>this.#t,getBoundaries:()=>this.#u,getAvailablePanels:()=>this.#b,getPresentation:()=>({measurements:this.#x,rearrangeable:this.#S.rearrangeable,closable:this.closable,fullscreenable:this.fullscreenable}),cancelForUser:()=>this.#a.transition(()=>this.#f.cancel()),commitLayout:e=>this.#M(e)}),this.#p=new eA(this,{getPanels:()=>this.#y,isPresented:e=>!this.#W(e)&&this.#l.some(t=>t.panels.some(t=>t.id===e)),isCarried:e=>!this.#t?.closed.includes(e)&&this.#W(e),applyMeasurements:e=>this.#O(e)}),this.#m=new Vk(this,{getPanels:()=>this.#y,getGroups:()=>this.#l,getLayout:()=>this.#t,getPreview:()=>this.#i,scrollChanged:()=>this.#c.refresh()}),this.#_={getCurrentLayout:()=>this.#v,getCurrentMeasurements:()=>this.#x,getCurrentPreview:()=>this.#i,getFullscreenTarget:()=>this.#s.targetPanelId,getResizePreview:()=>this.#f.preview}}static{this.styles=k([VN])}static{this.metadata={tag:`nve-workspace`,version:`0.0.0`,children:[`nve-workspace-panel`,`nve-dropdown-group`]}}static{this.elementDefinitions={[xC.metadata.tag]:xC,[Lw.metadata.tag]:Lw,[F.metadata.tag]:F,[I.metadata.tag]:I,[IE.metadata.tag]:IE,[CD.metadata.tag]:CD,[SD.metadata.tag]:SD,[OD.metadata.tag]:OD}}#e;get value(){return this.#n}set value(e){let t=_O(e);this.#a.finish(),this.#A(t)}#t;#n;#r;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m;#h;#g;#_;connectedCallback(){super.connectedCallback(),this.#h=new MutationObserver(e=>this.#E(e)),this.#h.observe(this,{childList:!0,characterData:!0,attributes:!0,subtree:!0,attributeFilter:[`id`,`min-width`,`min-height`,`slot`]})}disconnectedCallback(){this.#c.cancel(),this.#h?.disconnect(),super.disconnectedCallback()}willUpdate(e){super.willUpdate(e),this.#m.captureFocus(),[`value`,`fullscreenable`,`closable`,`rearrangeable`,`groupable`,`resizePolicy`].some(t=>e.has(t))&&this.#o.invalidateAvailability(),[`fullscreenable`,`closable`,`rearrangeable`,`groupable`].some(t=>e.has(t))&&this.#p.invalidate(),this.#D(),this.#r=!1}updated(){this.#m.sync(),this.#o.flushAvailability()}animateTo(e,t={}){let n=_O(e);this.#a.animateTo(n,t)}isCommandAvailable(e,t={}){return this.#o.isCommandAvailable(e,t)}get#v(){return this.#t??{version:1,root:null,closed:[]}}get#y(){return this.#g?this.#g.panels:[...this.children].filter(e=>bn(e,lk))}get#b(){return this.#g?.available??this.#y.map(e=>e.id)}get#x(){return this.#f.presentation?.measurements??this.#d}get#S(){return this.#c.capabilities??{rearrangeable:this.rearrangeable,groupable:this.groupable}}get#C(){return this.#f.presentation?.closable??this.closable}get#w(){return this.resizable&&!this.#s.active}get#T(){return this.#w||this.#f.retainingHandles}#E(e){let t=e.some(e=>e.target===this||e.type===`attributes`&&bn(e.target,lk)&&e.target.parentElement===this),n=e.some(e=>dk(this,e));t&&(this.#a.finish(),this.#o.invalidateAvailability(),this.#f.cancel(),this.#c.cancel()),(t||n)&&(this.#p.invalidate(),this.requestUpdate())}#D(){let e=this.#b;if(!e.every(Boolean)||new Set(e).size!==e.length)return;if(!this.#t){e.length&&this.#k({version:1,root:{type:`group`,panels:e,active:e[0]},closed:[]});return}let t=BO(this.#t,e);t!==this.#t&&(this.#k(t),this.#r||this.#j())}#O(e){this.#d=e.measurements,this.#o.invalidateAvailability(),this.requestUpdate(),this.#f.handleMeasurementsChange(e),this.#a.handleMeasurementsChange(e),this.#c.handleMeasurementsChange(e)}#k(e){if(e===this.#t)return;let t=vO(e);this.#t=e,this.#n=t}#A(e){this.#c.cancel();let t=this.value;this.#f.resetForRestore(),this.#k(e),this.#r=!0,this.requestUpdate(`value`,t)}#j(){this.#o.invalidateAvailability(),this.dispatchEvent(new Event(`change`,{bubbles:!0,composed:!0}))}#M(e){yO(this.#t,e)?this.requestUpdate():(this.#k(e),this.#j())}#N(e,t){if(t)return;let n=e.find(e=>!this.#t?.closed.includes(e)&&this.#b.includes(e));n&&this.shadowRoot?.querySelector(`nve-tabs-item[data-panel="${CSS.escape(n)}"]`)&&(this.#P(n,`select`),this.#z(n))}#P(e,t){if(this.#a.finish(),!this.#t||!this.#y.some(t=>t.id===e))return;let n=this.#t;t===`open`&&(n=zO(this.#t,e)??this.#t);let r=VO(n,e);r===void 0&&n!==this.#t&&(r=n),r&&(this.#c.cancel(),this.#f.cancel(),this.#k(r),this.#j())}#F(e){this.#c.suppressSelection||this.#P(e,`select`)}#I(e,t,n={}){let r=n.capabilities??{rearrangeable:this.rearrangeable,groupable:this.groupable};if(!r.rearrangeable||this.#s.active)return!1;let i=this.#H(e,t,{candidate:n.layout,groupable:r.groupable});return i?(this.#a.finish(),this.#c.cancel(),this.#f.cancel(),this.#k(i),this.#j(),this.#R(e,n),!0):!1}#L(e){if(this.#a.finish(),!this.closable||!this.#t)return;let t=RO(this.#t,e);if(!t)return;let n=hk(this,e);this.#c.cancel(),this.#f.cancel(),this.#k(t),this.#j();let r=this.#l.find(t=>t.panels.some(t=>t.id===e));n&&this.#z(r?.panels.find(t=>t.id!==e)?.id)}#R(e,t){t.focus!==!1&&this.#z(e.find(e=>!this.#t?.closed.includes(e)&&this.#y.some(t=>t.id===e)))}#z(e){gk(this,{id:e})}#B(e){if(this.#g)return e(this.#g);this.#g=new EN(this,{panels:this.#y,layout:this.#v,source:this.#i?.source??[],measurements:this.#x,policy:this.#f.policy,strip:e=>this.#m.findTabStrip(e)},this.#_);try{return e(this.#g)}finally{this.#g=void 0}}#V(e){return this.#g?this.#g.project(e):X(e,this.#b)}#H(e,t,n={}){if(this.#t)return this.#B(r=>nN({evaluation:r,layout:this.#v,measurements:this.#x,source:e,intent:t,groupable:n.groupable??this.groupable,candidate:n.candidate}))}#U(e){let t=e.filter(e=>!this.#t?.closed.includes(e)&&this.#y.some(t=>t.id===e)),n=Y(this.#t?.root??null,t[0])?.active,r=n&&t.includes(n)?n:t[0];return{title:r?uk(this.#y,r):``,layers:Math.min(t.length,3)}}#W(e){return this.#i?.source.includes(e)??!1}#G(e=this.#i){return!!e&&`allocation`in e&&e.allocation!==`overlay`}render(){return this.#B(e=>this.#K(e))}#K(e){let t=this.#i,n=e.presentationGeometry();this.#l=Dk(n.groups,this.#t?.root??null,this.#i?.source),this.#u=n.boundaries;let r=this.#q(n.regions,e);return this.#m.applyPresentation({groups:this.#l,extent:n,container:this.container,measurements:this.#x,closable:this.#C,animate:!!t,source:t?.source??[],scroll:t=>e.scroll(t)}),_`<div internal-host ?data-resizing="${this.#f.resizing}" ?data-fullscreen="${this.#s.active}" ?data-rearranging="${!!t}" data-preview-allocation="${kS(t&&`allocation`in t?t.allocation:void 0)}" style="${`--_minimum-height:${e.minimum(e.project(this.#v).root).height}px`}"><div class="viewport" @scroll="${()=>this.#c.refresh()}"><div class="canvas" style="${`min-width:${n.minimum.width}px;min-height:${n.minimum.height}px`}">${lO(this.#l,e=>this.#m.getGroupIdentity(e),e=>this.#$(e))}<slot @slotchange="${()=>this.requestUpdate()}"></slot>${this.#ae()}<div class="preview-layer" data-drag-phase="${kS(this.#i?.phase)}">${r}</div></div></div>${this.#se()}</div>`}#q(e,t){let n=this.#i;if(!n)return null;let{x:r,y:i}=t.client({x:0,y:0,width:0,height:0}),{title:a,layers:o}=this.#U(n.source),s=this.#t??{version:1,root:null,closed:[]},c=t.geometry(t.project(s)).regions,l=uA({catalog:c,allocation:e,source:n.source}),u=t.bounds(),d=this.#c.getPreviewHint(n,t),{rect:f,kind:p}=n.cue,m={...f,x:f.x-r,y:f.y-i},h=n.point;return _`${this.#J(d,r,i)}${lO(l,e=>e.key,t=>_`<div class="context-boundary" data-context-boundary="${t.key}" ?data-active="${n.context&&t.key===oA(n.context.members)}" inert aria-hidden="true" style="${`left:${t.rect.x}px;top:${t.rect.y}px;width:${t.rect.width}px;height:${t.rect.height}px;${TN(t.rect,e)}`}"></div>`)}<nve-ghost class="destination" part="ghost destination-ghost" data-destination-ghost ?data-cue-clipped="${f.width<=0||f.height<=0}" data-drag-phase="${n.phase}" ?data-drop-blocked="${n.blocked}" data-destination-kind="${p}" ?data-reserved-placement="${wN(n)}" style="${`transform:translate(${f.x-r}px,${f.y-i}px);width:${f.width}px;height:${f.height}px;${TN(m,e)}`}">${n.blocked?_`<nve-icon part="icon blocked-icon" name="cancel" status="danger" size="lg" aria-hidden="true"></nve-icon>`:null}${this.#Y(n)}</nve-ghost>${h?this.#Q({point:h,x:r,y:i,bounds:u,title:a,layers:o}):null}`}#J(e,t,n){return e?_`<div class="order-overlay" data-order-slot="${e.scope.index}" data-placement-hint="${e.kind}" inert aria-hidden="true" style="${`left:${e.rect.x-t}px;top:${e.rect.y-n}px;width:${e.rect.width}px;height:${e.rect.height}px`}"></div>`:null}#Y(e){if(!e||e.phase!==`detached`||e.blocked||!e.seams)return null;let{kind:t,edges:n}=e.seams;return _`${n.map(e=>{let n=e.side===`left`||e.side===`right`,r=e.side===`left`||e.side===`top`?`-${e.offset}px`:`calc(100% + ${e.offset}px)`,i=n?`left:${r};top:${e.fraction*100}%`:`left:${e.fraction*100}%;top:${r}`,a={right:0,bottom:90,left:180,top:270}[e.side];return _`<div class="seam-badge" data-seam-badge="${t}" data-seam-side="${e.side}" inert aria-hidden="true" style="${i}"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" style="${`transform:rotate(${a}deg)`}">${t===`split`?this.#X():this.#Z()}</svg></div>`})}`}#X(){return Je`<path d="M3 4h9v16H3z" fill="currentColor" fill-opacity=".2" stroke="none"></path><rect x="2" y="4" width="20" height="16" rx="1"></rect><path d="M12 4v16"></path>`}#Z(){return Je`<rect x="2" y="7" width="7" height="10" rx="1" fill="currentColor" fill-opacity=".2"></rect><path d="M22 4h-9v16h9"></path>`}#Q(e){let{point:t,x:n,y:r,bounds:i,title:a,layers:o}=e,s=i.x+i.width,c=i.y+i.height,l=Math.max(i.x,Math.min(t.x+12,s)),u=Math.max(i.y,Math.min(t.y+12,c));return _`<nve-ghost class="carried" part="ghost carried-ghost" data-carried-ghost .layers="${o}" style="${`left:${l-n}px;top:${u-r}px;width:max-content;max-width:${Math.max(0,Math.min(240,i.width))}px;max-height:${i.height}px;transform:translate(min(0px,calc(${s-l}px - 100%)),min(0px,calc(${c-u}px - 100%)))`}">${a}</nve-ghost>`}#$(e){let t=this.#x,{headerHeight:n}=t,r=this.#G()&&e.panels.every(e=>this.#W(e.id)),i=this.#s.isSelectedGroup(e.active),a=(this.#f.presentation?.fullscreenable??this.fullscreenable)||i,o=a?t.groupActionWidth??0:0;return _`<div class="group-chrome" style="${`left:${e.rect.x}px;top:${e.rect.y}px;width:${e.rect.width}px;height:${e.rect.height}px`}"><div class="tabs" ?data-carried-reservation="${r}" ?inert="${r}" aria-hidden="${kS(r?`true`:void 0)}" style="${`height:${n}px`}">${this.#ee(e)} ${this.#te(e,o)} ${a?this.#ie(e,i):null}</div></div>`}#ee(e){return(this.#f.presentation?.rearrangeable??this.#S.rearrangeable)&&!this.#s.active&&e.gripWidth>0?_`<nve-drag-handle part="drag-handle" data-drag-group="${e.panels[0]?.id??``}" draggable="false" aria-label="${kS(this.i18n.move)}" @click="${e=>e.preventDefault()}"></nve-drag-handle>`:null}#te(e,t){let n=kk(e,this.#x),r=this.#x.panels?.[e.active]?.suffixWidth??0;return _`<div class="tablist" ?data-scrollable="${e.panels.length>1}" style="${`width:${Math.max(0,e.rect.width-e.gripWidth-r-t)}px;margin-right:${r}px`}" data-group="${this.#m.getGroupIdentity(e)}" @scroll="${t=>this.#m.handleScroll(e,t)}">${this.#ne(e,n)}</div>`}#ne(e,t){let n=lO(e.panels,e=>e.id,(n,r)=>this.#re(e,n,{left:r*t,width:t}));return e.tabbed?_`<nve-tabs part="tabs" class="tab-track" @nve-key-change="${e=>{let t=e.detail.activeItem.dataset.panel;t&&this.#F(t)}}" style="${`width:${e.panels.length*t}px`}">${n}</nve-tabs>`:_`<div class="tab-track" style="${`width:${e.panels.length*t}px`}">${n}</div>`}#re(e,t,n){let r=Aw({left:`${n.left}px`,width:`${n.width}px`,"--height":`${this.#x.headerHeight}px`}),i=this.#W(t.id),a=t.querySelector(`:scope > nve-workspace-panel-header`)?null:_`<span class="fallback-title">${t.id}</span>`,o=this.#C?_`<nve-icon-button slot="${kS(e.tabbed?`suffix`:void 0)}" part="icon-button close-button" icon-name="cancel" container="flat" size="sm" data-close="${t.id}" aria-label="${`${this.i18n.close} ${uk(this.#y,t.id)}`}" @click="${()=>this.#L(t.id)}"></nve-icon-button>`:null;return e.tabbed?_`<nve-tabs-item-group part="tabs-item-group" class="tab-entry" ?data-carried-tab="${i}" ?inert="${i}" aria-hidden="${kS(i?`true`:void 0)}" style="${r}"><nve-tabs-item part="tabs-item tab" data-panel="${t.id}" ?selected="${e.active===t.id}" aria-label="${t.id}" @pointerenter="${()=>this.#m.setHeaderHovered(t.id,!0)}" @pointerleave="${()=>this.#m.setHeaderHovered(t.id,!1)}" @click="${()=>this.#F(t.id)}">${a}</nve-tabs-item>${o}</nve-tabs-item-group>`:_`<div class="tab-entry panel-entry" ?data-carried-tab="${i}" ?inert="${i}" aria-hidden="${kS(i?`true`:void 0)}" style="${r}"><div class="panel-title" data-panel="${t.id}" aria-hidden="true">${a}</div>${o}</div>`}#ie(e,t){let n=this.#x.panels?.[e.active]?.suffixWidth??0,r=!this.isCommandAvailable(`--toggle-fullscreen`,{value:e.active});return _`<div class="group-actions" ?data-authored-suffix="${n>0}"><nve-icon-button part="icon-button fullscreen-button" icon-name="${t?`minimize`:`maximize`}" container="flat" size="sm" command="--toggle-fullscreen" .commandForElement="${e.panels.find(t=>t.id===e.active)??null}" ?disabled="${r}" aria-label="${kS(t?this.i18n.exitFullscreen:this.i18n.enterFullscreen)}"></nve-icon-button></div>`}#ae(){return this.#T?lO(this.#u,e=>e.key,e=>this.#oe(e)):null}#oe(e){return _`<div class="gutter" style="${`left:${e.rect.x}px;top:${e.rect.y}px;width:${e.rect.width}px;height:${e.rect.height}px`}"><nve-resize-handle data-boundary="${e.key}" part="resize-handle" orientation="${e.branch.axis===`horizontal`?`vertical`:`horizontal`}" .min="${e.min}" .max="${e.max}" .step="${10}" .value="${e.value}" @nve-gesture-input="${this.#f.gesture}" @toggle="${e=>e.preventDefault()}" @input="${t=>this.#f.input(t,e)}" @change="${t=>this.#f.change(t,e)}"></nve-resize-handle></div>`}#se(){let{rearrangeable:e}=this.#S,t=this.fullscreenable||this.#l.some(e=>this.#s.isSelectedGroup(e.active));return _`<div class="chrome" data-chrome inert aria-hidden="true"><div class="gap-probe"></div><div class="tab-min-probe"></div><div class="chrome-header"><nve-tabs part="tabs"><nve-tabs-item-group part="tabs-item-group" class="tab-entry tab-probe"><nve-tabs-item part="tabs-item tab" tabindex="-1"> </nve-tabs-item>${this.closable?_`<nve-icon-button slot="suffix" part="icon-button close-button" icon-name="cancel" container="flat" size="sm" tabindex="-1"></nve-icon-button>`:null}</nve-tabs-item-group></nve-tabs>${e?_`<nve-drag-handle part="drag-handle" draggable="false"></nve-drag-handle>`:null}${t?_`<div class="group-actions"><nve-icon-button part="icon-button fullscreen-button" icon-name="maximize" container="flat" size="sm" tabindex="-1"></nve-icon-button></div>`:null}</div></div>`}};M([b({type:Object,attribute:!1})],$.prototype,`i18n`,void 0),M([b({type:Boolean,reflect:!0})],$.prototype,`resizable`,void 0),M([b({type:Boolean,reflect:!0})],$.prototype,`rearrangeable`,void 0),M([b({type:Boolean,reflect:!0})],$.prototype,`groupable`,void 0),M([b({type:Boolean,reflect:!0})],$.prototype,`fullscreenable`,void 0),M([b({type:Number,attribute:`detach-threshold`})],$.prototype,`detachThreshold`,void 0),M([b({type:Boolean,reflect:!0})],$.prototype,`closable`,void 0),M([b({attribute:`resize-policy`})],$.prototype,`resizePolicy`,void 0),M([b({reflect:!0})],$.prototype,`container`,void 0),M([b({type:String})],$.prototype,`value`,null),$=M([O()],$);function UN(e,t){return e.selected===t.selected&&e.offset===t.offset&&e.animate===t.animate&&e.tabWidth===t.tabWidth&&e.headerHeight===t.headerHeight&&e.suffixEnd===t.suffixEnd&&e.clipLeft===t.clipLeft&&e.clipWidth===t.clipWidth}var WN=`:host{--min-height: calc(var(--nve-ref-size-1000) + var(--nve-ref-size-200));--padding: var(--nve-ref-size-300) var(--nve-ref-size-400);--prefix-padding: 0;--prefix-border: none;--suffix-padding: initial;--suffix-border: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--gap: var(--nve-ref-space-xs);--border-bottom: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--font-size: var(--nve-ref-font-size-100);--font-weight: var(--nve-ref-font-weight-medium);--color: var(--nve-sys-text-muted-color);--text-transform: initial;display:block;position:absolute;inset:0;pointer-events:none;contain:none}:host(:state(selected)){--color: var(--nve-sys-text-emphasis-color);--font-weight: var(--nve-ref-font-weight-semibold)}:host(:is(:hover,:state(tab-hover)):not(:state(selected))){--color: var(--nve-sys-text-emphasis-color)}[internal-host]{position:relative;height:100%}.label-viewport{position:absolute;top:0;overflow:hidden;pointer-events:none}.label-track{transform:translate(var(--_workspace-tab-scroll, 0));position:absolute;inset:0}.label{position:absolute;top:0;overflow:hidden;box-sizing:border-box;display:flex;align-items:center}.label[data-animate]{transition:left var(--animation-duration) var(--animation-easing),width var(--animation-duration) var(--animation-easing)}.label-content{padding:var(--padding);min-height:var(--min-height);box-sizing:border-box;color:var(--color);font-size:var(--font-size);font-weight:var(--font-weight);line-height:var(--nve-ref-font-size-500);text-transform:var(--text-transform);display:inline-flex;align-items:center;gap:var(--gap);white-space:nowrap;width:100%}slot[name=prefix]{flex:none;display:inline-flex;align-items:center;gap:var(--gap);padding:var(--prefix-padding)}slot[name=prefix][data-empty]{display:none}slot[name=prefix]:not([data-empty]){border-inline-end:var(--prefix-border)}.title-content{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.title-content slot{display:contents}.suffix{position:absolute;inset:0 0 0 auto;display:flex;align-items:center;width:max-content;pointer-events:auto;box-sizing:border-box;z-index:3}.suffix[data-inactive]{visibility:hidden;pointer-events:none}.suffix-content{min-height:var(--min-height);box-sizing:border-box;display:flex;align-items:center;width:max-content;padding:var(--suffix-padding, var(--header-control-inset, var(--nve-ref-size-100)));gap:var(--gap)}.suffix[data-group-actions] .suffix-content{padding:var( --suffix-padding, var(--header-control-inset, var(--nve-ref-size-100)) 0 var(--header-control-inset, var(--nve-ref-size-100)) var(--header-control-inset, var(--nve-ref-size-100)) )}.suffix:not([data-empty]) .suffix-content{border-inline-start:var(--suffix-border);border-inline-start-color:transparent}.suffix:not([data-empty]):before{content:"";position:absolute;inset-block:0;inset-inline-start:0;border-inline-start:var(--suffix-border);pointer-events:none}.suffix[data-empty] .suffix-content{min-height:0;padding:0}.separator{position:absolute;left:0;right:0;border-top:var(--border-bottom);z-index:1;pointer-events:none}`,GN=class extends y{constructor(...e){super(...e),this.slot=`header`,this.configuration={selected:!1,offset:0,animate:!1,tabWidth:0,headerHeight:0,suffixEnd:0,clipLeft:0,clipWidth:0},this.#t=0}static{this.styles=k([WN])}static{this.metadata={tag:`nve-workspace-panel-header`,version:`0.0.0`,parents:[`nve-workspace-panel`]}}#e;#t;#n;connectedCallback(){super.connectedCallback(),T(this)}disconnectedCallback(){super.disconnectedCallback(),this._bindScroll(void 0,0)}updated(){this.#i()}render(){let{selected:e,offset:t,animate:n,tabWidth:r,headerHeight:i,suffixEnd:a,clipLeft:o,clipWidth:s}=this.configuration;return _`<div internal-host><div class="label-viewport" aria-hidden="true" style="${`left:${o}px;width:${s}px;height:${i}px`}"><div class="label-track"><div class="label" ?data-animate="${n}" style="${`left:${t-o}px;width:${r}px;height:${i}px`}"><span class="label-content"><slot name="prefix" ?data-empty="${!this.querySelector(`:scope > [slot="prefix"]`)}" @slotchange="${()=>this.requestUpdate()}"></slot><span class="title-content"><slot @slotchange="${()=>this.requestUpdate()}"></slot>${this.#a()?null:this.parentElement?.id}</span></span></div></div></div>${e?_`<div class="separator" style="${`top:${i}px`}" aria-hidden="true"></div>`:null}<div class="suffix" ?data-group-actions="${a>0}" style="${`height:${i}px;right:${a}px`}" aria-hidden="${!e}" ?inert="${!e}" ?data-inactive="${!e}" ?data-empty="${!this.querySelector(`:scope > [slot="suffix"]`)}"><div class="suffix-content"><slot name="suffix" @slotchange="${()=>this.requestUpdate()}"></slot></div></div></div>`}_getMeasurementTargets(){return{label:this.shadowRoot?.querySelector(`.label-content`)??null,suffix:this.shadowRoot?.querySelector(`.suffix-content`)??null}}_getTransitionTargets(){return{labelViewport:this.shadowRoot?.querySelector(`.label-viewport`)??null,labelTrack:this.shadowRoot?.querySelector(`.label-track`)??null,label:this.shadowRoot?.querySelector(`.label`)??null,suffix:this.shadowRoot?.querySelector(`.suffix`)??null}}_hover(e){e?this._internals.states.add(`tab-hover`):this._internals.states.delete(`tab-hover`)}_configure({scrollLeft:e,...t}){this._scroll(e),!UN(this.configuration,t)&&(t.selected?this._internals.states.add(`selected`):this._internals.states.delete(`selected`),this.configuration=t)}_scroll(e){this.#n||this.style.setProperty(`--_workspace-tab-scroll`,`${-e}px`)}_bindScroll(e,t){e===this.#e&&t===this.#t||this.#r(e,t)||(this.#n?.cancel(),this.#n=void 0,this.#e=e,this.#t=t,this.#i(),this.#n||this._scroll(e?.scrollLeft??0))}#r(e,t){if(e!==this.#e||t<=0)return!1;let n=this.#n?.effect;return n instanceof KeyframeEffect&&(this.#t=t,n.setKeyframes(KN(t)),!0)}#i(){if(this.#n||!this.#e||this.#t<=0||typeof ScrollTimeline>`u`)return;let e=this.shadowRoot?.querySelector(`.label-track`);e&&(this.#n=e.animate(KN(this.#t),{timeline:new ScrollTimeline({source:this.#e,axis:`x`}),fill:`both`,easing:`linear`}))}#a(){return[...this.childNodes].some(e=>(!(e instanceof Element)||!e.hasAttribute(`slot`))&&!!e.textContent?.trim())}};M([D()],GN.prototype,`slot`,void 0),M([N()],GN.prototype,`configuration`,void 0);function KN(e){return[{transform:`translateX(0px)`},{transform:`translateX(${-e}px)`}]}var qN=`:host{--padding: var(--nve-ref-space-sm);display:block;contain:none}[internal-host]{padding:var(--padding)}`,JN=class extends y{static{this.styles=k([qN])}static{this.metadata={tag:`nve-workspace-panel-content`,version:`0.0.0`,parents:[`nve-workspace-panel`]}}render(){return _`<div internal-host><slot></slot></div>`}},YN=`:host{--padding: var(--nve-ref-space-sm);--border-top: var(--nve-ref-border-width-sm) solid var(--nve-ref-border-color-muted);--gap: var(--nve-ref-space-xs);display:block;contain:none}[internal-host]{padding:var(--padding);display:flex;align-items:center;gap:var(--gap);border-top:var(--border-top)}`,XN=class extends y{constructor(...e){super(...e),this.slot=`footer`}static{this.styles=k([YN])}static{this.metadata={tag:`nve-workspace-panel-footer`,version:`0.0.0`,parents:[`nve-workspace-panel`]}}render(){return _`<div internal-host><slot></slot></div>`}};M([D()],XN.prototype,`slot`,void 0),g(GN),g(JN),g(XN),g(lk),g($),globalThis.NVE_ELEMENTS.state.bundle=!0;export{yx as Accordion,vx as AccordionContent,bx as AccordionGroup,_x as AccordionHeader,wx as Alert,Ex as AlertGroup,Ox as Avatar,Ax as AvatarGroup,Mx as Badge,Px as Breadcrumb,xi as Button,Lx as ButtonGroup,Hx as Card,Wx as CardContent,Gx as CardFooter,Ux as CardHeader,Jx as ChatMessage,gS as Checkbox,vS as CheckboxGroup,OS as Color,YS as Combobox,R as Control,z as ControlGroup,L as ControlMessage,tC as CopyButton,iC as Date,sC as Datetime,dC as Dialog,hC as DialogFooter,pC as DialogHeader,_C as Divider,yC as Dot,xC as DragHandle,wC as Drawer,EC as DrawerContent,OC as DrawerFooter,AC as DrawerHeader,B as Dropdown,VS as DropdownFooter,MC as DropdownGroup,US as DropdownHeader,RC as Dropzone,VC as File,ZC as FormatBytes,U as FormatDatetime,W as FormatNumber,aw as FormatRelativeTime,ww as FormatTruncate,Fw as Gauge,Lw as Ghost,Qw as Grid,Ww as GridCell,Hw as GridColumn,Yw as GridFooter,qw as GridHeader,zw as GridPlaceholder,Kw as GridRow,ox as ICON_IMPORTS,cx as ICON_NAMES,sx as ICON_NAMES_SOLID,F as Icon,I as IconButton,rT as Iframe,xS as Input,wS as InputGroup,sT as Joystick,dT as Logo,MS as Menu,PS as MenuGroup,IS as MenuItem,mT as Month,G as Notification,vT as NotificationGroup,bT as Page,MT as PageHeader,LT as PageLoader,CT as PagePanel,TT as PagePanelContent,DT as PagePanelFooter,kT as PagePanelHeader,WT as Pagination,eE as Panel,QT as PanelContent,$T as PanelFooter,ZT as PanelHeader,rE as Password,mE as PreferencesInput,_E as ProgressBar,bE as ProgressDot,FT as ProgressRing,wE as ProgressiveFilterChip,EE as Pulse,OE as Radio,AE as RadioGroup,NE as Range,IE as ResizeHandle,RE as Search,VT as Select,BE as Skeleton,WE as SortButton,K as Sparkline,fD as StarRating,gD as Steps,hD as StepsItem,aE as Switch,sE as SwitchGroup,CD as Tabs,ED as TabsGroup,SD as TabsItem,OD as TabsItemGroup,KS as Tag,AD as Textarea,ND as Time,V as Toast,LD as Toggletip,zD as ToggletipFooter,VD as ToggletipHeader,UD as Toolbar,H as Tooltip,YD as Tree,q as TreeNode,QD as Week,$ as Workspace,lk as WorkspacePanel,JN as WorkspacePanelContent,XN as WorkspacePanelFooter,GN as WorkspacePanelHeader,bS as inputStyles,ux as mergeIcons};
|