@vmscloud/moz-ui-components-core 0.1.42

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.
Files changed (146) hide show
  1. package/dist/components/avatar/avatar.core.d.ts +39 -0
  2. package/dist/components/avatar/index.d.ts +14 -0
  3. package/dist/components/bread-crumb/breadcrumb.core.d.ts +70 -0
  4. package/dist/components/bread-crumb/icons.d.ts +9 -0
  5. package/dist/components/bread-crumb/index.d.ts +10 -0
  6. package/dist/components/button/button.core.d.ts +59 -0
  7. package/dist/components/button/circleLoader.d.ts +8 -0
  8. package/dist/components/button/index.d.ts +12 -0
  9. package/dist/components/calendar/calendar.core.d.ts +25 -0
  10. package/dist/components/calendar/icons.d.ts +7 -0
  11. package/dist/components/calendar/index.d.ts +7 -0
  12. package/dist/components/checkbox/checkbox.core.d.ts +46 -0
  13. package/dist/components/checkbox/icons.d.ts +9 -0
  14. package/dist/components/checkbox/index.d.ts +10 -0
  15. package/dist/components/collapsible/collapsible.core.d.ts +34 -0
  16. package/dist/components/collapsible/index.d.ts +15 -0
  17. package/dist/components/context-menu/contextmenu.core.d.ts +58 -0
  18. package/dist/components/context-menu/index.d.ts +10 -0
  19. package/dist/components/controller/controller.core.d.ts +44 -0
  20. package/dist/components/controller/icons.d.ts +12 -0
  21. package/dist/components/controller/index.d.ts +12 -0
  22. package/dist/components/date-input/dateinput.core.d.ts +32 -0
  23. package/dist/components/date-input/icons.d.ts +6 -0
  24. package/dist/components/date-input/index.d.ts +7 -0
  25. package/dist/components/empty-state/emptystate.core.d.ts +25 -0
  26. package/dist/components/empty-state/emptystate.types.d.ts +17 -0
  27. package/dist/components/empty-state/index.d.ts +8 -0
  28. package/dist/components/input/icons.d.ts +4 -0
  29. package/dist/components/input/index.d.ts +10 -0
  30. package/dist/components/input/input.core.d.ts +38 -0
  31. package/dist/components/label/index.d.ts +6 -0
  32. package/dist/components/label/label.core.d.ts +22 -0
  33. package/dist/components/multi-select/icons.d.ts +14 -0
  34. package/dist/components/multi-select/index.d.ts +10 -0
  35. package/dist/components/multi-select/multiselect.core.d.ts +60 -0
  36. package/dist/components/number-input/icons.d.ts +7 -0
  37. package/dist/components/number-input/index.d.ts +7 -0
  38. package/dist/components/number-input/numberinput.core.d.ts +30 -0
  39. package/dist/components/password-input/icons.d.ts +7 -0
  40. package/dist/components/password-input/index.d.ts +7 -0
  41. package/dist/components/password-input/passwordinput.core.d.ts +29 -0
  42. package/dist/components/popover/index.d.ts +14 -0
  43. package/dist/components/popover/popover.core.d.ts +65 -0
  44. package/dist/components/popup/icons.d.ts +18 -0
  45. package/dist/components/popup/index.d.ts +14 -0
  46. package/dist/components/popup/popup.core.d.ts +132 -0
  47. package/dist/components/radio/index.d.ts +9 -0
  48. package/dist/components/radio/radio.core.d.ts +35 -0
  49. package/dist/components/scroll-area/index.d.ts +16 -0
  50. package/dist/components/scroll-area/scrollarea.core.d.ts +47 -0
  51. package/dist/components/select/icons.d.ts +16 -0
  52. package/dist/components/select/index.d.ts +10 -0
  53. package/dist/components/select/select.core.d.ts +48 -0
  54. package/dist/components/slider/index.d.ts +6 -0
  55. package/dist/components/slider/slider.core.d.ts +23 -0
  56. package/dist/components/split-pane/index.d.ts +15 -0
  57. package/dist/components/split-pane/splitpane.core.d.ts +24 -0
  58. package/dist/components/tab/icons.d.ts +4 -0
  59. package/dist/components/tab/index.d.ts +10 -0
  60. package/dist/components/tab/tab.core.d.ts +28 -0
  61. package/dist/components/table-select/index.d.ts +10 -0
  62. package/dist/components/table-select/tableselect.core.d.ts +45 -0
  63. package/dist/components/tag-input/icons.d.ts +9 -0
  64. package/dist/components/tag-input/index.d.ts +12 -0
  65. package/dist/components/tag-input/taginput.core.d.ts +32 -0
  66. package/dist/components/textarea/index.d.ts +6 -0
  67. package/dist/components/textarea/textarea.core.d.ts +35 -0
  68. package/dist/components/time-picker/icons.d.ts +9 -0
  69. package/dist/components/time-picker/index.d.ts +10 -0
  70. package/dist/components/time-picker/timepicker.core.d.ts +26 -0
  71. package/dist/components/toast/icons.d.ts +12 -0
  72. package/dist/components/toast/index.d.ts +13 -0
  73. package/dist/components/toast/timer.d.ts +17 -0
  74. package/dist/components/toast/toast.core.d.ts +48 -0
  75. package/dist/components/toast/useToast.d.ts +13 -0
  76. package/dist/components/toggle/index.d.ts +9 -0
  77. package/dist/components/toggle/toggle.core.d.ts +54 -0
  78. package/dist/components/tooltip/index.d.ts +18 -0
  79. package/dist/components/tooltip/placement.d.ts +9 -0
  80. package/dist/components/tooltip/tooltip.core.d.ts +50 -0
  81. package/dist/components/tree-select/icons.d.ts +14 -0
  82. package/dist/components/tree-select/index.d.ts +12 -0
  83. package/dist/components/tree-select/tree-utils.d.ts +63 -0
  84. package/dist/components/tree-select/treeselect.core.d.ts +45 -0
  85. package/dist/index.cjs +1887 -0
  86. package/dist/index.cjs.map +1 -0
  87. package/dist/index.d.ts +51 -0
  88. package/dist/index.js +9233 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/locale/en.d.ts +3 -0
  91. package/dist/locale/index.d.ts +10 -0
  92. package/dist/locale/ja.d.ts +3 -0
  93. package/dist/locale/ko.d.ts +3 -0
  94. package/dist/locale/types.d.ts +482 -0
  95. package/dist/locale/zh.d.ts +3 -0
  96. package/dist/overlay/DismissStack.d.ts +49 -0
  97. package/dist/overlay/Overlay.d.ts +39 -0
  98. package/dist/overlay/PortalHost.d.ts +11 -0
  99. package/dist/overlay/index.d.ts +5 -0
  100. package/dist/overlay/placement.d.ts +74 -0
  101. package/dist/runtime/ChromeComponent.d.ts +38 -0
  102. package/dist/runtime/Observable.d.ts +18 -0
  103. package/dist/runtime/SlotHost.d.ts +48 -0
  104. package/dist/runtime/defineHeadless.d.ts +28 -0
  105. package/dist/runtime/spread.d.ts +26 -0
  106. package/dist/runtime/types.d.ts +149 -0
  107. package/dist/shared/cn.d.ts +8 -0
  108. package/dist/shared/dayjs.d.ts +10 -0
  109. package/dist/shared/index.d.ts +5 -0
  110. package/dist/shared/utils.d.ts +58 -0
  111. package/dist/styles/default/avatar.css +94 -0
  112. package/dist/styles/default/breadcrumb.css +120 -0
  113. package/dist/styles/default/button.css +220 -0
  114. package/dist/styles/default/calendar.css +158 -0
  115. package/dist/styles/default/checkbox.css +128 -0
  116. package/dist/styles/default/collapsible.css +27 -0
  117. package/dist/styles/default/contextmenu.css +212 -0
  118. package/dist/styles/default/controller.css +157 -0
  119. package/dist/styles/default/dateinput.css +193 -0
  120. package/dist/styles/default/emptystate.css +91 -0
  121. package/dist/styles/default/index.css +3877 -0
  122. package/dist/styles/default/input.css +179 -0
  123. package/dist/styles/default/label.css +65 -0
  124. package/dist/styles/default/multiselect.css +394 -0
  125. package/dist/styles/default/numberinput.css +174 -0
  126. package/dist/styles/default/passwordinput.css +189 -0
  127. package/dist/styles/default/popover.css +92 -0
  128. package/dist/styles/default/popup.css +222 -0
  129. package/dist/styles/default/radio.css +264 -0
  130. package/dist/styles/default/scrollarea.css +133 -0
  131. package/dist/styles/default/select.css +287 -0
  132. package/dist/styles/default/slider.css +123 -0
  133. package/dist/styles/default/splitpane.css +62 -0
  134. package/dist/styles/default/tab.css +172 -0
  135. package/dist/styles/default/tableselect.css +313 -0
  136. package/dist/styles/default/taginput.css +296 -0
  137. package/dist/styles/default/textarea.css +145 -0
  138. package/dist/styles/default/timepicker.css +221 -0
  139. package/dist/styles/default/toast.css +165 -0
  140. package/dist/styles/default/toggle.css +129 -0
  141. package/dist/styles/default/tooltip.css +131 -0
  142. package/dist/styles/default/treeselect.css +382 -0
  143. package/dist/validator/createValidator.d.ts +7 -0
  144. package/dist/validator/index.d.ts +2 -0
  145. package/dist/validator/types.d.ts +26 -0
  146. package/package.json +57 -0
package/dist/index.cjs ADDED
@@ -0,0 +1,1887 @@
1
+ "use strict";var El=Object.defineProperty;var Pl=(e,t,o)=>t in e?El(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var Ve=(e,t,o)=>Pl(e,typeof t!="symbol"?t+"":t,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("lit-html"),qt=require("lit-html/directive.js"),te=require("lit-html/directives/style-map.js"),xl=require("clsx"),xe=require("lit-html/directives/if-defined.js"),Eo=require("lit-html/directives/unsafe-html.js"),Lt=require("lit-html/directives/live.js"),st=require("dayjs"),Ll=require("dayjs/plugin/duration.js"),Tl=require("dayjs/plugin/minMax.js"),Ml=require("dayjs/plugin/timezone.js"),zl=require("dayjs/plugin/utc.js"),Vl=require("dayjs/plugin/isSameOrBefore.js"),Dl=require("dayjs/plugin/isSameOrAfter.js");require("dayjs/locale/ko.js");require("dayjs/locale/en.js");require("dayjs/locale/zh.js");require("dayjs/locale/ja.js");const H=require("lit-html/directives/ref.js"),Fe=require("@tanstack/virtual-core");var Ye=typeof document<"u"?document.currentScript:null;class Po{constructor(t){Ve(this,"container");Ve(this,"updateScheduled",!1);Ve(this,"mounted",!1);Ve(this,"cleanups",[]);this.container=t}mount(){return this.mounted?this:(this.mounted=!0,this.onMount(),this.renderNow(),this)}requestUpdate(){!this.mounted||this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>{this.updateScheduled=!1,this.mounted&&this.renderNow()}))}renderNow(){l.render(this.template(),this.container)}addCleanup(t){this.cleanups.push(t)}onMount(){}onDestroy(){}destroy(){if(this.mounted){this.mounted=!1,this.onDestroy();for(const t of this.cleanups.splice(0))try{t()}catch{}l.render(l.nothing,this.container)}}get isMounted(){return this.mounted}}class Rl{constructor(){Ve(this,"listeners",new Set)}subscribe(t){return this.listeners.add(t),()=>{this.listeners.delete(t)}}emit(){for(const t of this.listeners)t()}clearListeners(){this.listeners.clear()}}class xo{constructor(){Ve(this,"renderers",new Map);Ve(this,"resolver",null);Ve(this,"mounted",new Map)}setResolver(t){this.resolver=t}lookup(t){var o;return this.renderers.get(t)??((o=this.resolver)==null?void 0:o.call(this,t))}register(t,o){this.renderers.set(t,o)}unregister(t){for(const o of Array.from(this.mounted.keys()))(o===t||o.startsWith(`${t}#`))&&this.clear(o);this.renderers.delete(t)}has(t){return this.lookup(t)!==void 0}fill(t,o,n,r){var i,m;const s=this.lookup(o);if(!s)return!1;const h=this.mounted.get(t);if(h){if(h.el===n)return(m=(i=h.handle).update)==null||m.call(i,r),!0;h.handle.dispose(),this.mounted.delete(t)}const c=s(n,r);return this.mounted.set(t,{el:n,handle:c}),!0}clear(t){const o=this.mounted.get(t);o&&(o.handle.dispose(),this.mounted.delete(t))}clearAll(){for(const t of Array.from(this.mounted.keys()))this.clear(t)}destroy(){this.clearAll(),this.renderers.clear(),this.resolver=null}get mountedCount(){return this.mounted.size}}class kt{constructor(){Ve(this,"el",null)}open(t="",o=document.body){return this.el?this.el:(this.el=document.createElement("div"),t&&(this.el.className=t),o.appendChild(this.el),this.el)}close(){this.el&&(this.el.remove(),this.el=null)}get element(){return this.el}get isOpen(){return this.el!==null}}function Lo(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function Le(e,t=16){return e/t}let ro=0;function Xe(e=""){return ro+=1,`${e}${ro}`}const rt=(e,t)=>{const o=Object.keys(e),n=Object.keys(t);if(o.length!==n.length)return!1;for(const r of o)if(e[r]!==t[r])return!1;return!0};function ge(e,t){const o={};for(const n of Object.keys(e))t.has(n)||(o[n]=e[n]);return o}function ut(e){const t={},o={};for(const n of Object.keys(e))n.startsWith("aria-")?t[n]=e[n]:o[n]=e[n];return{aria:t,dom:o}}function Pe(e){if(!e)return{};if(typeof e=="object")return e;if(typeof e=="string"){const t={};for(const o of e.split(";")){const n=o.indexOf(":");n>0&&(t[o.slice(0,n).trim()]=o.slice(n+1).trim())}return t}return{}}function Tt(e,t,o,n){return e.length>0||t===0||!n||n.getBoundingClientRect().height>0?e:Array.from({length:t},(r,s)=>({index:s,size:o,start:s*o}))}const It={Toast:{close:"닫기"},Popup:{title:"팝업",save:"저장",cancel:"취소",ok:"확인",close:"닫기"},Select:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다"},MultiSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",specificSelect:"선택만",noData:"데이터가 없습니다",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})"},TreeSelect:{search:"검색",selectAll:"전체 선택",selectFiltered:"필터 결과 선택",specificResults:"결과만",noData:"데이터가 없습니다",showSelectedOnly:"선택한 항목만 표시",expandAll:"모두 펼치기",collapseAll:"모두 접기",required:"{label} 은(는) 필수입니다",headerFormat:"항목 ({count})",expand:"펼치기",collapse:"접기"},TagInput:{add:"추가",editTag:"{label} 수정",removeTag:"{label} 삭제"},TimePicker:{hour:"시",minute:"분",currentTime:"현재 시간"},EmptyState:{customEmptyHeader:"데이터 없음",customEmptyContent:"표시할 데이터가 없습니다.",dataEmptyHeader:"데이터가 없습니다.",dataEmptyContent:"필요한 데이터를 추가해 주세요.",resultEmptyHeader:"설정한 조건에 해당되는 데이터가 없습니다.",resultEmptyContent:`조회 조건이 적절하게 설정되었는지 확인해주세요.
2
+ 조회 조건을 변경하였다면, 조회 버튼을 다시 눌러주세요.`,searchEmptyHeader:"검색 결과 없음",searchEmptyContent:"필터 값을 확인하고 다시 시도해 주세요."},TableSelect:{searchPlaceholder:"검색",emptyText:"데이터가 없습니다",requiredMessage:"{label} 은(는) 필수입니다",footerSelect:"선택",footerNavigate:"이동",footerClose:"닫기"},Common:{requiredMessage:"{label} 은(는) 필수입니다"},Grid:{layoutSetting:"보기 설정",filter:"필터",sort:"정렬",customCellStyle:"조건부 서식 설정",reset:"초기화",searchFilter:"검색",newView:"새 뷰",selectAll:"전체 선택",columnPicker:"열 표시/숨김 설정",viewToolbar:"Tool Bar 보기",viewFooter:"Footer 보기",viewGroupPanel:"그룹 패널 보기",resetFilterAndSort:"필터 및 정렬 초기화",defaultView:"기본 뷰",filterPopup:"필터 설정",resetFilter:"필터 초기화",addFilter:"필터 추가",sortingPopup:"정렬 설정",ascending:"오름차순",descending:"내림차순",resetSort:"정렬 초기화",addSort:"정렬 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"이하",symbolGreaterOrEqual:"이상",symbolEmpty:"비어 있음",symbolNotEmpty:"비어 있지 않음",customCellRuleNamePlaceholder:"규칙 이름을 입력하세요",addFormulaCondition:"조건 추가",applicationColumn:"적용 열",backgroundColor:"배경색",fontColor:"글꼴 색",resetCustomCell:"초기화",addFormulaConditionSet:"규칙 추가",customColor:"사용자 지정 색상",formulaConditionSet:"새 규칙",contextFilterAndSort:"필터 및 정렬",contextAddFilter:"필터 추가",contextSelectFilter:"선택 값으로 필터",contextResetColumnFilter:"열 필터 초기화",contextResetColumnSort:"열 정렬 초기화",contextResetColumnAll:"열 필터/정렬 초기화",contextDataCopy:"선택한 데이터 복사",contextDataExcelCopy:"Excel 복사",contextDataWithHeaderCopy:"선택한 데이터 복사 (헤더 포함)",contextPin:"열 고정 / 해제",contextColumnPicker:"열 표시/숨김 설정",contextMoveColumnFirst:"첫 번째 열로 보내기",contextAutoSizeColumns:"열 너비 자동 조정",contextGroupPanel:"그룹 패널",contextGroupToggle:"그룹 접기/펼치기",contextGroupCollapseAll:"모든 그룹 접기",contextGroupExpandAll:"모든 그룹 펼치기",groupPanelPlaceholder:"열을 드래그 앤 드롭하여 그룹을 만듭니다.",contextBulkEdit:"데이터 일괄변경 [{name}]",contextImport:"가져오기",contextImportExcel:"Excel 가져오기 (덮어쓰기)",contextImportExcelAppend:"Excel 가져오기 (추가)",contextExport:"내보내기",contextExportXlsx:"엑셀 내보내기 (xlsx)",contextExportCsv:"CSV 내보내기 (csv)",contextSum:"합계",check:"확인",cancel:"취소",save:"저장",remove:"삭제",close:"닫기",pause:"일시 중지",add:"추가",immediateApply:"바로 적용",warning:"경고",mozWarning:"경고",confirmCancel:"취소하시겠습니까?",alreadyExcelProgress:"Excel 작업이 이미 진행 중입니다.",downloadFail:"다운로드에 실패했습니다.",addDataWithFilterSort:"필터/정렬이 적용된 상태에서 데이터를 추가하시겠습니까?",resetAndAdd:"초기화 후 추가",confirmDeleteGeneral:"{name}을(를) 삭제하시겠습니까?",toastCopySuccess:"복사되었습니다.",toastSaveSuccess:"저장되었습니다.",toastSaveError:"저장에 실패했습니다.",toastResetSuccess:"초기화되었습니다.",toastRequiredVal:"필수 값을 입력하세요.",excelInvalidExcel:"유효하지 않은 Excel 파일입니다.",excelInvalidUpload:"유효하지 않은 업로드 데이터입니다.",downloadFormat:"서식 내려받기",click:"클릭",drag:"드래그",overwriteSelected:"선택한 항목을 덮어쓰시겠습니까?",fileOverwrite:"파일을 덮어쓰시겠습니까?",dropHere:"이 곳을 클릭 또는 파일을 드래그 하세요.",dropHerePrefix:"이 곳을 ",dropHereMiddle:" 또는 파일을 ",dropHereSuffix:" 하세요.",withFormatting:"서식 포함",requestTimedOut:"요청 시간이 초과되었습니다.",serverError:"서버 오류가 발생했습니다.",total:"전체",correct:"정상",error:"오류",success:"성공",fail:"실패",excelExportConfirmLargeData:"대용량 데이터를 내보내시겠습니까?",footerTotalRowCount:"총 개수: {totalRowCount}개",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"평균",aggregateCount:"개수",aggregateMin:"최소",aggregateMax:"최대",aggregateSum:"합계",settings:"설정",collapseToolbar:"툴바 접기",expandToolbar:"툴바 펼치기",searchPrev:"이전 검색 결과",searchNext:"다음 검색 결과",searchGoTo:"결과 번호로 이동",searching:"검색 중...",deleteCondition:"조건 삭제",deleteSort:"정렬 삭제",selectPlaceholder:"선택",byValueLabel:"레이블",decrease:"감소",increase:"증가",selectColor:"색상 선택",noColor:"색상 없음",customColorInput:"직접 입력",alignLeft:"왼쪽 정렬",alignCenter:"가운데 정렬",alignRight:"오른쪽 정렬",alignLabel:"정렬",fontStyleLabel:"글자 스타일",bold:"굵게",italic:"기울임",underline:"밑줄",columnOptions:"컬럼 옵션",showAllColumns:"전체 표시",commonSection:"공통",headerLabelField:"헤더 라벨",pinColumn:"고정",pinLeft:"왼쪽",pinNone:"없음",pinRight:"오른쪽",columnWidthPx:"너비(px)",headerSection:"헤더",cellSection:"셀",fontLabel:"글자",sizeLabel:"크기",displayMask:"표시 형식(마스크)",resetThisColumn:"이 컬럼 초기화",selectColumnHint:"컬럼을 선택하세요",showColumnNamed:"{column} 표시",columnTextColor:"글자색",cellStyleTitle:"셀 스타일",formulaHelp:"수식 도움말",validFormula:"유효한 수식",formulaHint:"컬럼을 선택하거나 값을 입력해 수식을 작성하세요.",ruleName:"규칙 이름",targetColumns:"적용 컬럼",allColumns:"전체 컬럼",colorLabel:"색상",cellBgColor:"배경 색상",cellTextColor:"텍스트 색상",moveUp:"위로",moveDown:"아래로",formulaPlaceholder:"예: [수요수량] > [재고수량] AND [우선순위] < 3",helpColumnRef:"컬럼 참조",helpCompare:"비교",helpArithmetic:"산술",helpLogic:"논리",helpString:"문자열",helpNull:"NULL 체크",helpValue:"값",groupColon:"그룹:",groupEmptyHint:"여기에 컬럼을 추가해 그룹화",addGroupBtn:"+ 그룹 추가",ungroup:"해제",removeGroup:"그룹 제거",excelImportTitle:"Excel 가져오기",processing:"처리 중…",excelPreview:"미리보기 {shown}행 / 총 {total}행+",clientImportFile:"파일에서 가져오기 (클라이언트)",clientExportXlsx:"XLSX (클라이언트)",groupExpand:"그룹 펼치기",groupCollapse:"그룹 접기",fontSizeDefault:"기본",maskGroupNone:"없음",maskGroupNumber:"숫자",maskGroupDate:"날짜",maskGroupString:"문자열",maskNoneText:"마스크 없음",maskNoneDesc:"원본 값 그대로 표시",maskThousandsText:"천 단위 구분 (1,234)",maskThousandsDesc:"예: 1234 → 1,234",maskDecimal2Text:"소수 2자리 (#,##0.00)",maskDecimal2Desc:"예: 1234.5 → 1,234.50",maskKrwText:"원화 (₩1,234)",maskKrwDesc:"예: 1234 → ₩1,234",maskUsdText:"달러 ($1,234.00)",maskUsdDesc:"예: 1234.5 → $1,234.50",maskPercentText:"퍼센트 (12%)",maskPercentDesc:"예: 12 → 12%",maskDateIsoDesc:"예: 2026-05-26",maskDateKoDesc:"예: 2026년 05월 26일",maskDatetimeDesc:"예: 2026-05-26 14:30",maskDateUsDesc:"예: 05/26/2026",maskPhoneText:"전화번호 (010-1234-5678)",maskPhoneDesc:"예: 01012345678 → 010-1234-5678",maskRrnText:"주민등록번호 (000000-0000000)",maskRrnDesc:"예: 9501011234567 → 950101-1234567",maskBizText:"사업자등록번호 (000-00-00000)",maskBizDesc:"예: 1234567890 → 123-45-67890"},GridPivot:{setting:"피봇 설정",gridSetting:"그리드 설정",fieldSetting:"값 필드 설정",showRowTotals:"행 합계 표시",showColumnTotals:"열 합계 표시",subtotalCriteria:"소계 기준",subtotalAggregateField:"소계 집계 필드",totalsBeforeData:"합계 먼저 보기",showZeros:"빈 값 채우기",showOutlineMode:"개요 모드",collapsibleSubtotal:"소계 접기",fieldName:"필드 이름",fieldAggregate:"집계",fieldShowAs:"표시 방식",fieldFormat:"형식",openChart:"차트 열기",selectValueField:"값 필드 선택",none:"없음",sum:"합계",count:"개수",average:"평균",max:"최대값",min:"최소값",range:"범위",std:"표준 편차",var:"분산",stdPop:"모표준 편차",varPop:"모분산",cntAll:"전체 개수",cntNumbers:"숫자 개수",showFirstValue:"첫 번째 값",showLastValue:"마지막 값",noCalculation:"계산 없음",diffRow:"이전 행과의 차이",diffRowPct:"이전 행과의 차이 (%)",diffCol:"이전 열과의 차이",diffColPct:"이전 열과의 차이 (%)",grandtotalPct:"전체 합계 대비 (%)",rowTotalPct:"행 합계 대비 (%)",colTotalPct:"열 합계 대비 (%)",prevRowPct:"이전 행 대비 (%)",prevColPct:"이전 열 대비 (%)",runTot:"누적 합계",runTotPct:"누적 합계 (%)",generalFormat:"일반",int:"정수",float:"실수",currency:"통화",percentage:"백분율 (정수)",percentageDot2:"백분율 (실수)",thousands:"천 단위",millions:"백만 단위",billions:"십억 단위",subtotal:"소계",grandtotal:"전체 합계",grandtotalValue:"총합계",category:"범주",chartType:"차트 유형",chartXAxis:"X축 범주",chartYAxis:"Y축 범주",categoryName:"카테고리",barChart:"막대 차트",lineChart:"꺾은선 차트",lineSymbolChart:"기호 꺾은선 차트",areaChart:"영역 차트",chartRenderingErrorHeader:"차트 렌더링 오류",chartRenderingErrorContent:"차트를 표시할 수 없습니다.",contextPivotExportXlsx:"화면 내보내기 (xlsx)",contextPivotExportOriginXlsx:"원본 데이터 내보내기 (xlsx)",contextPivotExportOriginCsv:"원본 데이터 내보내기 (csv)",row:"행",column:"열",value:"값",filter:"필터",searchFieldPlaceholder:"필드 검색...",dropZoneRowPlaceholder:"행 축 필드를 드래그하세요",dropZoneColumnPlaceholder:"열 축 필드를 드래그하세요",dropZoneValuePlaceholder:"값 필드를 드래그하세요",dropZoneFilterPlaceholder:"필터 필드를 드래그하세요",update:"업데이트",selectFieldForReport:"보고서에 추가할 필드 선택:",dragFieldsBetweenAreas:"아래 영역 사이에 필드를 끌어 놓으십시오:",valueSummaryCriteria:"값 요약 기준",roundRound:"반올림",roundFloor:"내림",roundCeil:"올림",roundTrunc:"절삭",roundingMode:"반올림 모드",decimalPlaces:"소수점 자리수",decimalUnlimited:"제한 없음",showOriginalValue:"원본값 병기",back:"뒤로",parentRowPct:"상위 행 그룹(%)",parentColPct:"상위 열 그룹(%)",rankAsc:"오름차순 순위",rankDesc:"내림차순 순위",index:"인덱스",showTotalsGrand:"합계",showTotalsSub:"부분합",fieldPanelSetting:"필드 설정",colSubtotalCriteria:"열 소계 기준",allowRowToggle:"행 확장/축소 허용",allowColToggle:"열 확장/축소 허용",outlineMode:"요약 모드"},Gantt:{searchPlaceholder:"검색",columnSize:"컬럼 크기",rowSize:"행 크기"},Chart:{filterPopup:"필터",resetFilter:"필터 초기화",addFilter:"필터 추가",symbolEqual:"같음",symbolNotEqual:"같지 않음",symbolContains:"포함",symbolNotContains:"포함하지 않음",symbolLessThan:"보다 작음",symbolGreaterThan:"보다 큼",symbolLessOrEqual:"작거나 같음",symbolGreaterOrEqual:"크거나 같음",symbolEmpty:"비어있음",symbolNotEmpty:"비어있지 않음",chartSetting:"차트 설정",chartCategory:"차트 카테고리",chartType:"차트 타입",chartUseZoom:"줌 사용",multiYAxisSetting:"Y축 다중 설정",notUsed:"(사용안함)",chartPopup:"차트 팝업",errorMessage:"데이터를 불러오는 중 오류가 발생했습니다.",valueFieldSetting:"값 필드 설정",valueSummaryCriteria:"값 요약 기준",selectFieldForReport:"보고서에 추가할 필드 선택:",column:"열",row:"행",value:"값",sumValue:"∑ 값",count:"개수",sum:"합계",average:"평균",min:"최소값",max:"최대값",seriesCategory:"일반",pieCategory:"파이",scatterCategory:"산점도",treemapCategory:"트리맵",boxplotCategory:"박스플롯",candlestickCategory:"캔들스틱",barChart:"바 차트",stackBarChart:"스택 바 차트",horizontalStackBarChart:"가로 스택 바 차트",lineChart:"선 차트",lineSymbolChart:"선 차트(심볼)",areaChart:"면적 차트",general:"일반",custom:"사용자 지정",axisCategoryLabel:"축 (범주)",legendSeriesLabel:"범례 (계열)",legendSingleLabel:"범례 (단일 선택)",legendMultiLabel:"범례 (다중 선택 가능)",valueSingleLabel:"값 (단일 선택)",xAxisSingleLabel:"X축 (단일 선택)",yAxisMultiLabel:"Y축 (다중 선택 가능)",notSet:"미지정",legendLimitExceededTitle:"차트 범례 개수가 최대 {limit}개를 초과했습니다.",legendLimitExceededContent:"범례를 {limit}개 이하로 재설정하여 주십시오."},NumberInput:{increase:"값 증가",decrease:"값 감소"},DateInput:{prevDate:"이전 날짜",nextDate:"다음 날짜"},PasswordInput:{showPassword:"비밀번호 표시",hidePassword:"비밀번호 숨기기"},Tab:{closeTab:"{label} 닫기"},SplitPane:{resizeHandle:"영역 크기 조절"},BreadCrumb:{navigation:"탐색 경로"}},Al={Toast:{close:"Close"},Popup:{title:"Popup",save:"Save",cancel:"Cancel",ok:"OK",close:"Close"},Select:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required"},MultiSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",specificSelect:"Only",noData:"No data",required:"{label} is required",headerFormat:"ITEMS ({count})"},TreeSelect:{search:"Search",selectAll:"Select All",selectFiltered:"Select Filtered",specificResults:"Only Results",noData:"No data",showSelectedOnly:"Show selected only",expandAll:"Expand All",collapseAll:"Collapse All",required:"{label} is required",headerFormat:"ITEMS ({count})",expand:"Expand",collapse:"Collapse"},TagInput:{add:"Add",editTag:"Edit {label}",removeTag:"Remove {label}"},TimePicker:{hour:"Hour",minute:"Minute",currentTime:"Current Time"},EmptyState:{customEmptyHeader:"No data",customEmptyContent:"There is no data to display.",dataEmptyHeader:"No data to display",dataEmptyContent:"Please enter the required data.",resultEmptyHeader:"No results",resultEmptyContent:"Check the search conditions and try again.",searchEmptyHeader:"No search results",searchEmptyContent:"Please check the filter value and try again."},TableSelect:{searchPlaceholder:"Search",emptyText:"No data",requiredMessage:"{label} is required",footerSelect:"Select",footerNavigate:"Navigate",footerClose:"Close"},Common:{requiredMessage:"{label} is required"},Grid:{layoutSetting:"Layout Settings",filter:"Filter",sort:"Sort",customCellStyle:"Conditional Formatting",reset:"Reset",searchFilter:"Search",newView:"New View",selectAll:"Select All",columnPicker:"Show/Hide Columns",viewToolbar:"Show Toolbar",viewFooter:"Show Footer",viewGroupPanel:"Show Group Panel",resetFilterAndSort:"Reset Filter & Sort",defaultView:"Default View",filterPopup:"Filter Settings",resetFilter:"Reset Filter",addFilter:"Add Filter",sortingPopup:"Sort Settings",ascending:"Ascending",descending:"Descending",resetSort:"Reset Sort",addSort:"Add Sort",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Does Not Contain",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less Or Equal",symbolGreaterOrEqual:"Greater Or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",customCellRuleNamePlaceholder:"Enter rule name",addFormulaCondition:"Add Condition",applicationColumn:"Application Column",backgroundColor:"Background Color",fontColor:"Font Color",resetCustomCell:"Reset",addFormulaConditionSet:"Add Rule",customColor:"Custom Color",formulaConditionSet:"New Rule",contextFilterAndSort:"Filter & Sort",contextAddFilter:"Add Filter",contextSelectFilter:"Filter by Selection",contextResetColumnFilter:"Reset Column Filter",contextResetColumnSort:"Reset Column Sort",contextResetColumnAll:"Reset Column Filter/Sort",contextDataCopy:"Copy",contextDataExcelCopy:"Copy for Excel",contextDataWithHeaderCopy:"Copy with Header",contextPin:"Pin Column",contextColumnPicker:"Column Picker",contextMoveColumnFirst:"Move to First Column",contextAutoSizeColumns:"Auto Size Columns",contextGroupPanel:"Group Panel",contextGroupToggle:"Toggle Collapse",contextGroupCollapseAll:"Collapse All Groups",contextGroupExpandAll:"Expand All Groups",groupPanelPlaceholder:"Drag and drop columns here to create groups.",contextBulkEdit:"Bulk Edit {name}",contextImport:"Import",contextImportExcel:"Import Excel (Overwrite)",contextImportExcelAppend:"Import Excel (Append)",contextExport:"Export",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"Sum",check:"OK",cancel:"Cancel",save:"Save",remove:"Delete",close:"Close",pause:"Pause",add:"Add",immediateApply:"Apply Immediately",warning:"Warning",mozWarning:"Warning",confirmCancel:"Are you sure you want to cancel?",alreadyExcelProgress:"Excel operation is already in progress.",downloadFail:"Download failed.",addDataWithFilterSort:"Add data while filter/sort is applied?",resetAndAdd:"Reset and Add",confirmDeleteGeneral:"Are you sure you want to delete {name}?",toastCopySuccess:"Copied.",toastSaveSuccess:"Saved.",toastSaveError:"Save failed.",toastResetSuccess:"Reset.",toastRequiredVal:"Please enter the required values.",excelInvalidExcel:"Invalid Excel file.",excelInvalidUpload:"Invalid upload data.",downloadFormat:"Download Format",click:"Click",drag:"Drag",overwriteSelected:"Overwrite selected items?",fileOverwrite:"Overwrite the file?",dropHere:"Drop here",dropHerePrefix:"",dropHereMiddle:" here or ",dropHereSuffix:" a file.",withFormatting:"With Formatting",requestTimedOut:"Request timed out.",serverError:"A server error occurred.",total:"Total",correct:"Correct",error:"Error",success:"Success",fail:"Fail",excelExportConfirmLargeData:"Export large data?",footerTotalRowCount:"Total: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"Average",aggregateCount:"Count",aggregateMin:"Min",aggregateMax:"Max",aggregateSum:"Sum",settings:"Settings",collapseToolbar:"Collapse toolbar",expandToolbar:"Expand toolbar",searchPrev:"Previous result",searchNext:"Next result",searchGoTo:"Go to result",searching:"Searching...",deleteCondition:"Delete condition",deleteSort:"Delete sort",selectPlaceholder:"Select",byValueLabel:"Label",decrease:"Decrease",increase:"Increase",selectColor:"Select color",noColor:"No color",customColorInput:"Custom",alignLeft:"Align left",alignCenter:"Align center",alignRight:"Align right",alignLabel:"Align",fontStyleLabel:"Font style",bold:"Bold",italic:"Italic",underline:"Underline",columnOptions:"Column Options",showAllColumns:"Show all",commonSection:"Common",headerLabelField:"Header label",pinColumn:"Pin",pinLeft:"Left",pinNone:"None",pinRight:"Right",columnWidthPx:"Width (px)",headerSection:"Header",cellSection:"Cell",fontLabel:"Font",sizeLabel:"Size",displayMask:"Display format (mask)",resetThisColumn:"Reset this column",selectColumnHint:"Select a column",showColumnNamed:"Show {column}",columnTextColor:"Text color",cellStyleTitle:"Cell Style",formulaHelp:"Formula help",validFormula:"Valid formula",formulaHint:"Select a column or enter a value to build a formula.",ruleName:"Rule name",targetColumns:"Target columns",allColumns:"All columns",colorLabel:"Color",cellBgColor:"Background color",cellTextColor:"Text color",moveUp:"Move up",moveDown:"Move down",formulaPlaceholder:"e.g. [Demand] > [Stock] AND [Priority] < 3",helpColumnRef:"Column ref",helpCompare:"Compare",helpArithmetic:"Arithmetic",helpLogic:"Logic",helpString:"String",helpNull:"NULL check",helpValue:"Value",groupColon:"Group:",groupEmptyHint:"Drag columns here to group",addGroupBtn:"+ Add group",ungroup:"Clear",removeGroup:"Remove group",excelImportTitle:"Excel Import",processing:"Processing…",excelPreview:"Preview {shown} rows / {total} total+",clientImportFile:"Import from file (client)",clientExportXlsx:"XLSX (client)",groupExpand:"Expand group",groupCollapse:"Collapse group",fontSizeDefault:"Default",maskGroupNone:"None",maskGroupNumber:"Number",maskGroupDate:"Date",maskGroupString:"String",maskNoneText:"No mask",maskNoneDesc:"Show raw value",maskThousandsText:"Thousands (1,234)",maskThousandsDesc:"e.g. 1234 → 1,234",maskDecimal2Text:"2 decimals (#,##0.00)",maskDecimal2Desc:"e.g. 1234.5 → 1,234.50",maskKrwText:"KRW (₩1,234)",maskKrwDesc:"e.g. 1234 → ₩1,234",maskUsdText:"USD ($1,234.00)",maskUsdDesc:"e.g. 1234.5 → $1,234.50",maskPercentText:"Percent (12%)",maskPercentDesc:"e.g. 12 → 12%",maskDateIsoDesc:"e.g. 2026-05-26",maskDateKoDesc:"e.g. 2026-05-26",maskDatetimeDesc:"e.g. 2026-05-26 14:30",maskDateUsDesc:"e.g. 05/26/2026",maskPhoneText:"Phone (010-1234-5678)",maskPhoneDesc:"e.g. 01012345678 → 010-1234-5678",maskRrnText:"RRN (000000-0000000)",maskRrnDesc:"e.g. 9501011234567 → 950101-1234567",maskBizText:"Business No. (000-00-00000)",maskBizDesc:"e.g. 1234567890 → 123-45-67890"},GridPivot:{setting:"Pivot Settings",gridSetting:"Grid Settings",fieldSetting:"Field Settings",showRowTotals:"Show Row Totals",showColumnTotals:"Show Column Totals",subtotalCriteria:"Subtotal Criteria",subtotalAggregateField:"Subtotal Aggregate Field",totalsBeforeData:"Show Totals Before Data",showZeros:"Show Zeros",showOutlineMode:"Outline Mode",collapsibleSubtotal:"Collapsible Subtotal",fieldName:"Field Name",fieldAggregate:"Aggregate",fieldShowAs:"Show As",fieldFormat:"Format",openChart:"Open Chart",selectValueField:"Select Value Field",none:"None",sum:"Sum",count:"Count",average:"Average",max:"Max",min:"Min",range:"Range",std:"Std Dev",var:"Variance",stdPop:"Pop Std Dev",varPop:"Pop Variance",cntAll:"Count All",cntNumbers:"Count Numbers",showFirstValue:"First Value",showLastValue:"Last Value",noCalculation:"No Calculation",diffRow:"Diff from Previous Row",diffRowPct:"Diff from Previous Row (%)",diffCol:"Diff from Previous Column",diffColPct:"Diff from Previous Column (%)",grandtotalPct:"% of Grand Total",rowTotalPct:"% of Row Total",colTotalPct:"% of Column Total",prevRowPct:"% of Previous Row",prevColPct:"% of Previous Column",runTot:"Running Total",runTotPct:"Running Total (%)",generalFormat:"General",int:"Integer",float:"Decimal",currency:"Currency",percentage:"Percentage (Integer)",percentageDot2:"Percentage (Decimal)",thousands:"Thousands",millions:"Millions",billions:"Billions",subtotal:"Subtotal",grandtotal:"Grand Total",grandtotalValue:"Grand Total",category:"Category",chartType:"Chart Type",chartXAxis:"X Axis",chartYAxis:"Y Axis",categoryName:"Category Name",barChart:"Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Symbol Line Chart",areaChart:"Area Chart",chartRenderingErrorHeader:"Chart Rendering Error",chartRenderingErrorContent:"Unable to display the chart.",contextPivotExportXlsx:"View Export (xlsx)",contextPivotExportOriginXlsx:"Source Data Export (xlsx)",contextPivotExportOriginCsv:"Source Data Export (csv)",row:"Rows",column:"Columns",value:"Values",filter:"Filters",searchFieldPlaceholder:"Search fields...",dropZoneRowPlaceholder:"Drag row axis fields here",dropZoneColumnPlaceholder:"Drag column axis fields here",dropZoneValuePlaceholder:"Drag value fields here",dropZoneFilterPlaceholder:"Drag filter fields here",update:"Update",selectFieldForReport:"Choose fields to add to report:",dragFieldsBetweenAreas:"Drag fields between areas below:",valueSummaryCriteria:"Summarize Values By",roundRound:"Round",roundFloor:"Floor",roundCeil:"Ceil",roundTrunc:"Truncate",roundingMode:"Rounding mode",decimalPlaces:"Decimal places",decimalUnlimited:"No limit",showOriginalValue:"Show original value",back:"Back",parentRowPct:"% of Parent Row Group",parentColPct:"% of Parent Column Group",rankAsc:"Rank Ascending",rankDesc:"Rank Descending",index:"Index",showTotalsGrand:"Grand Totals",showTotalsSub:"Subtotals",fieldPanelSetting:"Field Settings",colSubtotalCriteria:"Column Subtotal Criteria",allowRowToggle:"Allow Row Expand/Collapse",allowColToggle:"Allow Column Expand/Collapse",outlineMode:"Outline Mode"},Gantt:{searchPlaceholder:"Search",columnSize:"Column Size",rowSize:"Row Size"},Chart:{filterPopup:"Filter",resetFilter:"Reset Filter",addFilter:"Add Filter",symbolEqual:"Equal",symbolNotEqual:"Not Equal",symbolContains:"Contains",symbolNotContains:"Not Contains",symbolLessThan:"Less Than",symbolGreaterThan:"Greater Than",symbolLessOrEqual:"Less or Equal",symbolGreaterOrEqual:"Greater or Equal",symbolEmpty:"Empty",symbolNotEmpty:"Not Empty",chartSetting:"Chart Setting",chartCategory:"Chart Category",chartType:"Chart Type",chartUseZoom:"Use Zoom",multiYAxisSetting:"Multi Y-Axis Setting",notUsed:"(Not Used)",chartPopup:"Chart Popup",errorMessage:"An error occurred while loading data.",valueFieldSetting:"Value Field Setting",valueSummaryCriteria:"Value Summary Criteria",selectFieldForReport:"Select fields to add to the report:",column:"Column",row:"Row",value:"Value",sumValue:"∑ Value",count:"Count",sum:"Sum",average:"Average",min:"Min",max:"Max",seriesCategory:"General",pieCategory:"Pie",scatterCategory:"Scatter",treemapCategory:"Treemap",boxplotCategory:"Boxplot",candlestickCategory:"Candlestick",barChart:"Bar Chart",stackBarChart:"Stack Bar Chart",horizontalStackBarChart:"Horizontal Stack Bar Chart",lineChart:"Line Chart",lineSymbolChart:"Line Chart (Symbol)",areaChart:"Area Chart",general:"General",custom:"Custom",axisCategoryLabel:"Axis (Category)",legendSeriesLabel:"Legend (Series)",legendSingleLabel:"Legend (Single)",legendMultiLabel:"Legend (Multiple)",valueSingleLabel:"Value (Single)",xAxisSingleLabel:"X-Axis (Single)",yAxisMultiLabel:"Y-Axis (Multiple)",notSet:"Not Set",legendLimitExceededTitle:"The number of chart legends has exceeded the maximum of {limit}.",legendLimitExceededContent:"Please reconfigure the legend to {limit} or fewer."},NumberInput:{increase:"Increase value",decrease:"Decrease value"},DateInput:{prevDate:"Previous date",nextDate:"Next date"},PasswordInput:{showPassword:"Show password",hidePassword:"Hide password"},Tab:{closeTab:"Close {label}"},SplitPane:{resizeHandle:"Resize panes"},BreadCrumb:{navigation:"Breadcrumb"}},ql={Toast:{close:"关闭"},Popup:{title:"弹窗",save:"保存",cancel:"取消",ok:"确认",close:"关闭"},Select:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项"},MultiSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",specificSelect:"仅选择",noData:"暂无数据",required:"{label} 为必填项",headerFormat:"项目 ({count})"},TreeSelect:{search:"搜索",selectAll:"全选",selectFiltered:"选择筛选结果",specificResults:"仅结果",noData:"暂无数据",showSelectedOnly:"仅显示已选项",expandAll:"全部展开",collapseAll:"全部收起",required:"{label} 为必填项",headerFormat:"项目 ({count})",expand:"展开",collapse:"折叠"},TagInput:{add:"添加",editTag:"编辑 {label}",removeTag:"删除 {label}"},TimePicker:{hour:"时",minute:"分",currentTime:"当前时间"},EmptyState:{customEmptyHeader:"暂无数据",customEmptyContent:"没有可显示的数据。",dataEmptyHeader:"暂无数据",dataEmptyContent:"请输入所需数据。",resultEmptyHeader:"无结果",resultEmptyContent:"请检查搜索条件后重试。",searchEmptyHeader:"无搜索结果",searchEmptyContent:"请检查筛选条件后重试。"},TableSelect:{searchPlaceholder:"搜索",emptyText:"暂无数据",requiredMessage:"{label} 为必填项",footerSelect:"选择",footerNavigate:"移动",footerClose:"关闭"},Common:{requiredMessage:"{label} 为必填项"},Grid:{layoutSetting:"布局设置",filter:"筛选",sort:"排序",customCellStyle:"条件格式设置",reset:"重置",searchFilter:"搜索",newView:"新建视图",selectAll:"全选",columnPicker:"列显示/隐藏设置",viewToolbar:"显示工具栏",viewFooter:"显示页脚",viewGroupPanel:"显示分组面板",resetFilterAndSort:"重置筛选和排序",defaultView:"默认视图",filterPopup:"筛选设置",resetFilter:"重置筛选",addFilter:"添加筛选",sortingPopup:"排序设置",ascending:"升序",descending:"降序",resetSort:"重置排序",addSort:"添加排序",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于或等于",symbolGreaterOrEqual:"大于或等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",customCellRuleNamePlaceholder:"请输入规则名称",addFormulaCondition:"添加条件",applicationColumn:"应用列",backgroundColor:"背景色",fontColor:"字体颜色",resetCustomCell:"重置",addFormulaConditionSet:"添加规则",customColor:"自定义颜色",formulaConditionSet:"新建规则",contextFilterAndSort:"筛选和排序",contextAddFilter:"添加筛选",contextSelectFilter:"按选定值筛选",contextResetColumnFilter:"重置列筛选",contextResetColumnSort:"重置列排序",contextResetColumnAll:"重置列筛选/排序",contextDataCopy:"复制",contextDataExcelCopy:"Excel 复制",contextDataWithHeaderCopy:"含表头复制",contextPin:"固定列",contextColumnPicker:"列选择",contextMoveColumnFirst:"移至第一列",contextAutoSizeColumns:"自动调整列宽",contextGroupPanel:"分组面板",contextGroupToggle:"折叠/展开组",contextGroupCollapseAll:"折叠所有组",contextGroupExpandAll:"展开所有组",groupPanelPlaceholder:"将列拖放到此处以创建分组。",contextBulkEdit:"批量编辑 {name}",contextImport:"导入",contextImportExcel:"Excel 导入(覆盖)",contextImportExcelAppend:"Excel 导入(追加)",contextExport:"导出",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合计",check:"确认",cancel:"取消",save:"保存",remove:"删除",close:"关闭",pause:"暂停",add:"添加",immediateApply:"立即应用",warning:"警告",mozWarning:"警告",confirmCancel:"确定要取消吗?",alreadyExcelProgress:"Excel 操作正在进行中。",downloadFail:"下载失败。",addDataWithFilterSort:"在筛选/排序状态下添加数据?",resetAndAdd:"重置后添加",confirmDeleteGeneral:"确定要删除 {name} 吗?",toastCopySuccess:"已复制。",toastSaveSuccess:"已保存。",toastSaveError:"保存失败。",toastResetSuccess:"已重置。",toastRequiredVal:"请输入必填值。",excelInvalidExcel:"无效的 Excel 文件。",excelInvalidUpload:"无效的上传数据。",downloadFormat:"下载格式",click:"点击",drag:"拖拽",overwriteSelected:"覆盖选定项?",fileOverwrite:"覆盖文件?",dropHere:"拖放到此处",dropHerePrefix:"",dropHereMiddle:"此处或",dropHereSuffix:"文件。",withFormatting:"包含格式",requestTimedOut:"请求超时。",serverError:"服务器发生错误。",total:"总计",correct:"正常",error:"错误",success:"成功",fail:"失败",excelExportConfirmLargeData:"确定导出大量数据?",footerTotalRowCount:"总计: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"计数",aggregateMin:"最小值",aggregateMax:"最大值",aggregateSum:"合计",settings:"设置",collapseToolbar:"折叠工具栏",expandToolbar:"展开工具栏",searchPrev:"上一个结果",searchNext:"下一个结果",searchGoTo:"跳转到结果",searching:"搜索中...",deleteCondition:"删除条件",deleteSort:"删除排序",selectPlaceholder:"选择",byValueLabel:"标签",decrease:"减少",increase:"增加",selectColor:"选择颜色",noColor:"无颜色",customColorInput:"自定义输入",alignLeft:"左对齐",alignCenter:"居中对齐",alignRight:"右对齐",alignLabel:"对齐",fontStyleLabel:"字体样式",bold:"加粗",italic:"斜体",underline:"下划线",columnOptions:"列选项",showAllColumns:"全部显示",commonSection:"通用",headerLabelField:"表头标签",pinColumn:"固定",pinLeft:"左",pinNone:"无",pinRight:"右",columnWidthPx:"宽度(px)",headerSection:"表头",cellSection:"单元格",fontLabel:"文字",sizeLabel:"大小",displayMask:"显示格式(掩码)",resetThisColumn:"重置此列",selectColumnHint:"请选择列",showColumnNamed:"显示 {column}",columnTextColor:"文字颜色",cellStyleTitle:"单元格样式",formulaHelp:"公式帮助",validFormula:"有效公式",formulaHint:"选择列或输入值以创建公式。",ruleName:"规则名称",targetColumns:"应用列",allColumns:"全部列",colorLabel:"颜色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上移",moveDown:"下移",formulaPlaceholder:"例: [需求量] > [库存量] AND [优先级] < 3",helpColumnRef:"列引用",helpCompare:"比较",helpArithmetic:"算术",helpLogic:"逻辑",helpString:"字符串",helpNull:"NULL 检查",helpValue:"值",groupColon:"分组:",groupEmptyHint:"将列拖到此处进行分组",addGroupBtn:"+ 添加分组",ungroup:"解除",removeGroup:"移除分组",excelImportTitle:"Excel 导入",processing:"处理中…",excelPreview:"预览 {shown} 行 / 共 {total} 行+",clientImportFile:"从文件导入 (客户端)",clientExportXlsx:"XLSX (客户端)",groupExpand:"展开分组",groupCollapse:"折叠分组",fontSizeDefault:"默认",maskGroupNone:"无",maskGroupNumber:"数字",maskGroupDate:"日期",maskGroupString:"字符串",maskNoneText:"无掩码",maskNoneDesc:"按原值显示",maskThousandsText:"千位分隔 (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"两位小数 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"韩元 (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"美元 ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"百分比 (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"电话号码 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"身份证号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"营业执照号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"数据透视设置",gridSetting:"网格设置",fieldSetting:"字段设置",showRowTotals:"显示行合计",showColumnTotals:"显示列合计",subtotalCriteria:"小计基准",subtotalAggregateField:"小计汇总字段",totalsBeforeData:"在数据前显示合计",showZeros:"显示零值",showOutlineMode:"大纲模式",collapsibleSubtotal:"可折叠小计",fieldName:"字段名称",fieldAggregate:"汇总",fieldShowAs:"显示方式",fieldFormat:"格式",openChart:"打开图表",selectValueField:"选择值字段",none:"无",sum:"求和",count:"计数",average:"平均值",max:"最大值",min:"最小值",range:"范围",std:"标准差",var:"方差",stdPop:"总体标准差",varPop:"总体方差",cntAll:"全部计数",cntNumbers:"数字计数",showFirstValue:"第一个值",showLastValue:"最后一个值",noCalculation:"无计算",diffRow:"与前一行的差",diffRowPct:"与前一行的差 (%)",diffCol:"与前一列的差",diffColPct:"与前一列的差 (%)",grandtotalPct:"占总计百分比",rowTotalPct:"占行合计百分比",colTotalPct:"占列合计百分比",prevRowPct:"占前一行百分比",prevColPct:"占前一列百分比",runTot:"累计",runTotPct:"累计百分比",generalFormat:"常规",int:"整数",float:"小数",currency:"货币",percentage:"百分比 (整数)",percentageDot2:"百分比 (小数)",thousands:"千位",millions:"百万位",billions:"十亿位",subtotal:"小计",grandtotal:"总计",grandtotalValue:"总合计",category:"类别",chartType:"图表类型",chartXAxis:"X轴",chartYAxis:"Y轴",categoryName:"类别名称",barChart:"柱状图",lineChart:"折线图",lineSymbolChart:"符号折线图",areaChart:"面积图",chartRenderingErrorHeader:"图表渲染错误",chartRenderingErrorContent:"无法显示图表。",contextPivotExportXlsx:"视图导出 (xlsx)",contextPivotExportOriginXlsx:"原始数据导出 (xlsx)",contextPivotExportOriginCsv:"原始数据导出 (csv)",row:"行",column:"列",value:"值",filter:"筛选",searchFieldPlaceholder:"搜索字段...",dropZoneRowPlaceholder:"拖动行轴字段到这里",dropZoneColumnPlaceholder:"拖动列轴字段到这里",dropZoneValuePlaceholder:"拖动值字段到这里",dropZoneFilterPlaceholder:"拖动筛选字段到这里",update:"更新",selectFieldForReport:"选择要添加到报表的字段:",dragFieldsBetweenAreas:"在下面的区域之间拖动字段:",valueSummaryCriteria:"值汇总依据",roundRound:"四舍五入",roundFloor:"向下取整",roundCeil:"向上取整",roundTrunc:"截断",roundingMode:"舍入模式",decimalPlaces:"小数位数",decimalUnlimited:"无限制",showOriginalValue:"并列原始值",back:"返回",parentRowPct:"占上级行组百分比",parentColPct:"占上级列组百分比",rankAsc:"升序排名",rankDesc:"降序排名",index:"索引",showTotalsGrand:"总计",showTotalsSub:"小计",fieldPanelSetting:"字段设置",colSubtotalCriteria:"列小计基准",allowRowToggle:"允许行展开/折叠",allowColToggle:"允许列展开/折叠",outlineMode:"大纲模式"},Gantt:{searchPlaceholder:"搜索",columnSize:"列大小",rowSize:"行大小"},Chart:{filterPopup:"筛选",resetFilter:"重置筛选",addFilter:"添加筛选",symbolEqual:"等于",symbolNotEqual:"不等于",symbolContains:"包含",symbolNotContains:"不包含",symbolLessThan:"小于",symbolGreaterThan:"大于",symbolLessOrEqual:"小于等于",symbolGreaterOrEqual:"大于等于",symbolEmpty:"为空",symbolNotEmpty:"不为空",chartSetting:"图表设置",chartCategory:"图表类别",chartType:"图表类型",chartUseZoom:"使用缩放",multiYAxisSetting:"Y轴多轴设置",notUsed:"(未使用)",chartPopup:"图表弹窗",errorMessage:"加载数据时发生错误。",valueFieldSetting:"值字段设置",valueSummaryCriteria:"值汇总基准",selectFieldForReport:"选择要添加到报表的字段:",column:"列",row:"行",value:"值",sumValue:"∑ 值",count:"计数",sum:"合计",average:"平均",min:"最小值",max:"最大值",seriesCategory:"常规",pieCategory:"饼图",scatterCategory:"散点图",treemapCategory:"树状图",boxplotCategory:"箱线图",candlestickCategory:"K线图",barChart:"柱状图",stackBarChart:"堆叠柱状图",horizontalStackBarChart:"水平堆叠柱状图",lineChart:"折线图",lineSymbolChart:"折线图(符号)",areaChart:"面积图",general:"常规",custom:"自定义",axisCategoryLabel:"轴 (类别)",legendSeriesLabel:"图例 (系列)",legendSingleLabel:"图例 (单选)",legendMultiLabel:"图例 (多选)",valueSingleLabel:"值 (单选)",xAxisSingleLabel:"X轴 (单选)",yAxisMultiLabel:"Y轴 (多选)",notSet:"未指定",legendLimitExceededTitle:"图表图例数量已超过最大值 {limit} 个。",legendLimitExceededContent:"请将图例重新设置为 {limit} 个以内。"},NumberInput:{increase:"增加数值",decrease:"减少数值"},DateInput:{prevDate:"上一个日期",nextDate:"下一个日期"},PasswordInput:{showPassword:"显示密码",hidePassword:"隐藏密码"},Tab:{closeTab:"关闭 {label}"},SplitPane:{resizeHandle:"调整区域大小"},BreadCrumb:{navigation:"面包屑导航"}},Il={Toast:{close:"閉じる"},Popup:{title:"ポップアップ",save:"保存",cancel:"キャンセル",ok:"OK",close:"閉じる"},Select:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です"},MultiSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",specificSelect:"選択のみ",noData:"データがありません",required:"{label} は必須です",headerFormat:"項目 ({count})"},TreeSelect:{search:"検索",selectAll:"すべて選択",selectFiltered:"フィルター結果を選択",specificResults:"結果のみ",noData:"データがありません",showSelectedOnly:"選択項目のみ表示",expandAll:"すべて展開",collapseAll:"すべて折りたたむ",required:"{label} は必須です",headerFormat:"項目 ({count})",expand:"展開",collapse:"折りたたむ"},TagInput:{add:"追加",editTag:"{label} を編集",removeTag:"{label} を削除"},TimePicker:{hour:"時",minute:"分",currentTime:"現在時刻"},EmptyState:{customEmptyHeader:"データなし",customEmptyContent:"表示するデータがありません。",dataEmptyHeader:"表示するデータがありません",dataEmptyContent:"必要なデータを入力してください。",resultEmptyHeader:"結果なし",resultEmptyContent:"検索条件を確認して再度お試しください。",searchEmptyHeader:"検索結果なし",searchEmptyContent:"フィルター値を確認して再度お試しください。"},TableSelect:{searchPlaceholder:"検索",emptyText:"データがありません",requiredMessage:"{label} は必須です",footerSelect:"選択",footerNavigate:"移動",footerClose:"閉じる"},Common:{requiredMessage:"{label} は必須です"},Grid:{layoutSetting:"レイアウト設定",filter:"フィルター",sort:"ソート",customCellStyle:"条件付き書式設定",reset:"リセット",searchFilter:"検索",newView:"新しいビュー",selectAll:"すべて選択",columnPicker:"列の表示/非表示設定",viewToolbar:"ツールバー表示",viewFooter:"フッター表示",viewGroupPanel:"グループパネル表示",resetFilterAndSort:"フィルター・ソートリセット",defaultView:"デフォルトビュー",filterPopup:"フィルター設定",resetFilter:"フィルターリセット",addFilter:"フィルター追加",sortingPopup:"ソート設定",ascending:"昇順",descending:"降順",resetSort:"ソートリセット",addSort:"ソート追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",customCellRuleNamePlaceholder:"ルール名を入力してください",addFormulaCondition:"条件追加",applicationColumn:"適用列",backgroundColor:"背景色",fontColor:"フォント色",resetCustomCell:"リセット",addFormulaConditionSet:"ルールを追加",customColor:"カスタム色",formulaConditionSet:"新しいルール",contextFilterAndSort:"フィルター・ソート",contextAddFilter:"フィルター追加",contextSelectFilter:"選択値でフィルター",contextResetColumnFilter:"列フィルターリセット",contextResetColumnSort:"列ソートリセット",contextResetColumnAll:"列フィルター/ソートリセット",contextDataCopy:"コピー",contextDataExcelCopy:"Excelコピー",contextDataWithHeaderCopy:"ヘッダー付きコピー",contextPin:"列固定",contextColumnPicker:"列選択",contextMoveColumnFirst:"最初の列に移動",contextAutoSizeColumns:"列幅自動調整",contextGroupPanel:"グループパネル",contextGroupToggle:"グループ折りたたみ/展開",contextGroupCollapseAll:"すべてのグループを折りたたむ",contextGroupExpandAll:"すべてのグループを展開",groupPanelPlaceholder:"列をドラッグ&ドロップしてグループを作成します。",contextBulkEdit:"{name} 一括編集",contextImport:"インポート",contextImportExcel:"Excelインポート(上書き)",contextImportExcelAppend:"Excelインポート(追加)",contextExport:"エクスポート",contextExportXlsx:"Excel (xlsx)",contextExportCsv:"CSV",contextSum:"合計",check:"確認",cancel:"キャンセル",save:"保存",remove:"削除",close:"閉じる",pause:"一時停止",add:"追加",immediateApply:"すぐに適用",warning:"警告",mozWarning:"警告",confirmCancel:"キャンセルしますか?",alreadyExcelProgress:"Excel操作が進行中です。",downloadFail:"ダウンロードに失敗しました。",addDataWithFilterSort:"フィルター/ソート適用中にデータを追加しますか?",resetAndAdd:"リセットして追加",confirmDeleteGeneral:"{name}を削除しますか?",toastCopySuccess:"コピーしました。",toastSaveSuccess:"保存しました。",toastSaveError:"保存に失敗しました。",toastResetSuccess:"リセットしました。",toastRequiredVal:"必須値を入力してください。",excelInvalidExcel:"無効なExcelファイルです。",excelInvalidUpload:"無効なアップロードデータです。",downloadFormat:"フォーマットダウンロード",click:"クリック",drag:"ドラッグ",overwriteSelected:"選択項目を上書きしますか?",fileOverwrite:"ファイルを上書きしますか?",dropHere:"ここにドロップ",dropHerePrefix:"ここを",dropHereMiddle:"またはファイルを",dropHereSuffix:"してください。",withFormatting:"書式付き",requestTimedOut:"リクエストがタイムアウトしました。",serverError:"サーバーエラーが発生しました。",total:"合計",correct:"正常",error:"エラー",success:"成功",fail:"失敗",excelExportConfirmLargeData:"大量データをエクスポートしますか?",footerTotalRowCount:"合計: {totalRowCount}",footerFilteredRowCount:"{filterdRowCount} / {totalRowCount}",aggregateAverage:"平均",aggregateCount:"件数",aggregateMin:"最小値",aggregateMax:"最大値",aggregateSum:"合計",settings:"設定",collapseToolbar:"ツールバーを折りたたむ",expandToolbar:"ツールバーを展開",searchPrev:"前の検索結果",searchNext:"次の検索結果",searchGoTo:"結果番号へ移動",searching:"検索中...",deleteCondition:"条件を削除",deleteSort:"ソートを削除",selectPlaceholder:"選択",byValueLabel:"ラベル",decrease:"減少",increase:"増加",selectColor:"色を選択",noColor:"色なし",customColorInput:"直接入力",alignLeft:"左揃え",alignCenter:"中央揃え",alignRight:"右揃え",alignLabel:"配置",fontStyleLabel:"文字スタイル",bold:"太字",italic:"斜体",underline:"下線",columnOptions:"列オプション",showAllColumns:"すべて表示",commonSection:"共通",headerLabelField:"ヘッダーラベル",pinColumn:"固定",pinLeft:"左",pinNone:"なし",pinRight:"右",columnWidthPx:"幅(px)",headerSection:"ヘッダー",cellSection:"セル",fontLabel:"文字",sizeLabel:"サイズ",displayMask:"表示形式(マスク)",resetThisColumn:"この列をリセット",selectColumnHint:"列を選択してください",showColumnNamed:"{column} を表示",columnTextColor:"文字色",cellStyleTitle:"セルスタイル",formulaHelp:"数式ヘルプ",validFormula:"有効な数式",formulaHint:"列を選択するか値を入力して数式を作成してください。",ruleName:"ルール名",targetColumns:"適用列",allColumns:"全列",colorLabel:"色",cellBgColor:"背景色",cellTextColor:"文字色",moveUp:"上へ",moveDown:"下へ",formulaPlaceholder:"例: [需要数] > [在庫数] AND [優先度] < 3",helpColumnRef:"列参照",helpCompare:"比較",helpArithmetic:"算術",helpLogic:"論理",helpString:"文字列",helpNull:"NULL チェック",helpValue:"値",groupColon:"グループ:",groupEmptyHint:"ここに列をドラッグしてグループ化",addGroupBtn:"+ グループ追加",ungroup:"解除",removeGroup:"グループ削除",excelImportTitle:"Excel 取り込み",processing:"処理中…",excelPreview:"プレビュー {shown}行 / 全 {total}行+",clientImportFile:"ファイルから取り込み (クライアント)",clientExportXlsx:"XLSX (クライアント)",groupExpand:"グループを展開",groupCollapse:"グループを折りたたむ",fontSizeDefault:"既定",maskGroupNone:"なし",maskGroupNumber:"数値",maskGroupDate:"日付",maskGroupString:"文字列",maskNoneText:"マスクなし",maskNoneDesc:"元の値をそのまま表示",maskThousandsText:"桁区切り (1,234)",maskThousandsDesc:"例: 1234 → 1,234",maskDecimal2Text:"小数2桁 (#,##0.00)",maskDecimal2Desc:"例: 1234.5 → 1,234.50",maskKrwText:"ウォン (₩1,234)",maskKrwDesc:"例: 1234 → ₩1,234",maskUsdText:"ドル ($1,234.00)",maskUsdDesc:"例: 1234.5 → $1,234.50",maskPercentText:"パーセント (12%)",maskPercentDesc:"例: 12 → 12%",maskDateIsoDesc:"例: 2026-05-26",maskDateKoDesc:"例: 2026-05-26",maskDatetimeDesc:"例: 2026-05-26 14:30",maskDateUsDesc:"例: 05/26/2026",maskPhoneText:"電話番号 (010-1234-5678)",maskPhoneDesc:"例: 01012345678 → 010-1234-5678",maskRrnText:"住民登録番号 (000000-0000000)",maskRrnDesc:"例: 9501011234567 → 950101-1234567",maskBizText:"事業者登録番号 (000-00-00000)",maskBizDesc:"例: 1234567890 → 123-45-67890"},GridPivot:{setting:"ピボット設定",gridSetting:"グリッド設定",fieldSetting:"フィールド設定",showRowTotals:"行合計表示",showColumnTotals:"列合計表示",subtotalCriteria:"小計基準",subtotalAggregateField:"小計集計フィールド",totalsBeforeData:"データ前に合計表示",showZeros:"ゼロ表示",showOutlineMode:"アウトラインモード",collapsibleSubtotal:"小計折りたたみ",fieldName:"フィールド名",fieldAggregate:"集計",fieldShowAs:"表示方式",fieldFormat:"形式",openChart:"チャートを開く",selectValueField:"値フィールド選択",none:"なし",sum:"合計",count:"個数",average:"平均",max:"最大値",min:"最小値",range:"範囲",std:"標準偏差",var:"分散",stdPop:"母標準偏差",varPop:"母分散",cntAll:"全個数",cntNumbers:"数値の個数",showFirstValue:"最初の値",showLastValue:"最後の値",noCalculation:"計算なし",diffRow:"前の行との差",diffRowPct:"前の行との差 (%)",diffCol:"前の列との差",diffColPct:"前の列との差 (%)",grandtotalPct:"総計に対する割合",rowTotalPct:"行合計に対する割合",colTotalPct:"列合計に対する割合",prevRowPct:"前の行に対する割合",prevColPct:"前の列に対する割合",runTot:"累計",runTotPct:"累計割合",generalFormat:"一般",int:"整数",float:"小数",currency:"通貨",percentage:"パーセント (整数)",percentageDot2:"パーセント (小数)",thousands:"千単位",millions:"百万単位",billions:"十億単位",subtotal:"小計",grandtotal:"総計",grandtotalValue:"総合計",category:"カテゴリ",chartType:"チャートタイプ",chartXAxis:"X軸",chartYAxis:"Y軸",categoryName:"カテゴリ名",barChart:"棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"シンボル折れ線グラフ",areaChart:"エリアチャート",chartRenderingErrorHeader:"チャートレンダリングエラー",chartRenderingErrorContent:"チャートを表示できません。",contextPivotExportXlsx:"ビューエクスポート (xlsx)",contextPivotExportOriginXlsx:"元データエクスポート (xlsx)",contextPivotExportOriginCsv:"元データエクスポート (csv)",row:"行",column:"列",value:"値",filter:"フィルター",searchFieldPlaceholder:"フィールド検索...",dropZoneRowPlaceholder:"行軸フィールドをドラッグしてください",dropZoneColumnPlaceholder:"列軸フィールドをドラッグしてください",dropZoneValuePlaceholder:"値フィールドをドラッグしてください",dropZoneFilterPlaceholder:"フィルターフィールドをドラッグしてください",update:"更新",selectFieldForReport:"レポートに追加するフィールドを選択:",dragFieldsBetweenAreas:"下の領域間にフィールドをドラッグしてください:",valueSummaryCriteria:"値の集計方法",roundRound:"四捨五入",roundFloor:"切り捨て",roundCeil:"切り上げ",roundTrunc:"切り捨て(0方向)",roundingMode:"丸めモード",decimalPlaces:"小数点桁数",decimalUnlimited:"制限なし",showOriginalValue:"元の値を併記",back:"戻る",parentRowPct:"上位行グループ比 (%)",parentColPct:"上位列グループ比 (%)",rankAsc:"昇順ランク",rankDesc:"降順ランク",index:"インデックス",showTotalsGrand:"合計",showTotalsSub:"小計",fieldPanelSetting:"フィールド設定",colSubtotalCriteria:"列小計基準",allowRowToggle:"行の展開/折りたたみ許可",allowColToggle:"列の展開/折りたたみ許可",outlineMode:"アウトラインモード"},Gantt:{searchPlaceholder:"検索",columnSize:"列サイズ",rowSize:"行サイズ"},Chart:{filterPopup:"フィルター",resetFilter:"フィルターリセット",addFilter:"フィルター追加",symbolEqual:"等しい",symbolNotEqual:"等しくない",symbolContains:"含む",symbolNotContains:"含まない",symbolLessThan:"より小さい",symbolGreaterThan:"より大きい",symbolLessOrEqual:"以下",symbolGreaterOrEqual:"以上",symbolEmpty:"空",symbolNotEmpty:"空でない",chartSetting:"チャート設定",chartCategory:"チャートカテゴリ",chartType:"チャートタイプ",chartUseZoom:"ズーム使用",multiYAxisSetting:"Y軸マルチ設定",notUsed:"(使用しない)",chartPopup:"チャートポップアップ",errorMessage:"データの読み込み中にエラーが発生しました。",valueFieldSetting:"値フィールド設定",valueSummaryCriteria:"値集計基準",selectFieldForReport:"レポートに追加するフィールドを選択:",column:"列",row:"行",value:"値",sumValue:"∑ 値",count:"件数",sum:"合計",average:"平均",min:"最小値",max:"最大値",seriesCategory:"一般",pieCategory:"パイ",scatterCategory:"散布図",treemapCategory:"ツリーマップ",boxplotCategory:"ボックスプロット",candlestickCategory:"ローソク足",barChart:"棒グラフ",stackBarChart:"スタック棒グラフ",horizontalStackBarChart:"横スタック棒グラフ",lineChart:"折れ線グラフ",lineSymbolChart:"折れ線グラフ(シンボル)",areaChart:"エリアチャート",general:"一般",custom:"カスタム",axisCategoryLabel:"軸 (カテゴリ)",legendSeriesLabel:"凡例 (シリーズ)",legendSingleLabel:"凡例 (単一選択)",legendMultiLabel:"凡例 (複数選択可)",valueSingleLabel:"値 (単一選択)",xAxisSingleLabel:"X軸 (単一選択)",yAxisMultiLabel:"Y軸 (複数選択可)",notSet:"未指定",legendLimitExceededTitle:"チャートの凡例数が最大 {limit} 件を超えました。",legendLimitExceededContent:"凡例を {limit} 件以下に再設定してください。"},NumberInput:{increase:"値を増やす",decrease:"値を減らす"},DateInput:{prevDate:"前の日付",nextDate:"次の日付"},PasswordInput:{showPassword:"パスワードを表示",hidePassword:"パスワードを非表示"},Tab:{closeTab:"{label} を閉じる"},SplitPane:{resizeHandle:"領域サイズの調整"},BreadCrumb:{navigation:"パンくずリスト"}};function we(e){return(t,o,n,r)=>{var de;const s=e.portal?new kt:null,h=s?s.open():t,c=new xo;if(r!=null&&r.slots)for(const[ee,W]of Object.entries(r.slots))c.register(ee,W);r!=null&&r.slotResolver&&c.setResolver(r.slotResolver);const i=new Set(Object.keys(o)),m=r!=null&&r.providedKeys?new Set(r.providedKeys):null,a=ee=>{const W=e.defaults;if(!W)return ee;const z={...ee};for(const G of Object.keys(W))z[G]===void 0&&(z[G]=W[G]);return z};let u=a({...o}),p=(r==null?void 0:r.locale)??It;const v=(r==null?void 0:r.validator)??null,$=[];let R=new Map,y=new Set,b=new Map,M=null;const S={get props(){return u},emit:n,slots:c,requestUpdate:()=>j.requestUpdate(),onCleanup:ee=>$.push(ee),px:ee=>Le(ee),get locale(){return p},validator:v,controlled:ee=>m?m.has(ee):i.has(ee),slot(ee,W){if(!c.has(ee))return l.nothing;const z=b.get(ee)??0;b.set(ee,z+1);const G=`${ee}#${z}`;return R.set(G,{name:ee,scope:W}),l.html`<span data-moz-slot=${ee} data-moz-slot-id=${G}></span>`}},L=e.setup(S);class X extends Po{template(){return R=new Map,b=new Map,L.render()}renderNow(){super.renderNow();let W=null;if(L.renderPortal){const z=L.renderPortal(),G=L.getPortalContainer?L.getPortalContainer():document.body;z===l.nothing||z==null||G==null?M&&M.isOpen&&(l.render(l.nothing,M.element),M.close()):(M||(M=new kt),W=M.isOpen?M.element:M.open("moz-overlay-portal",G),l.render(z,W))}for(const[z,{name:G,scope:le}]of R){let se=this.container.querySelector(`[data-moz-slot-id="${z}"]`);!se&&W&&(se=W.querySelector(`[data-moz-slot-id="${z}"]`)),se&&c.fill(z,G,se,le)}for(const z of y)R.has(z)||c.clear(z);y=new Set(R.keys())}flush(){this.isMounted&&this.renderNow()}onDestroy(){for(const W of $.splice(0))try{W()}catch{}c.destroy()}}const j=new X(h);return j.mount(),(de=L.onMounted)==null||de.call(L,h.firstElementChild),{get el(){return h.firstElementChild},update(ee,W){W!=null&&W.replace?(u=a({...ee}),i.clear()):u=a({...u,...ee});for(const z of Object.keys(ee))i.add(z);W!=null&&W.sync?j.flush():j.requestUpdate()},destroy(){j.destroy(),s==null||s.close(),M==null||M.close()},setLocale(ee){ee!==p&&(p=ee??It,j.requestUpdate())},api:L.api??{}}}}class Fl extends qt.Directive{constructor(o){super(o);Ve(this,"prevKeys",[]);Ve(this,"listeners",new Map);if(o.type!==qt.PartType.ELEMENT)throw new Error("spread() 는 element 바인딩(`<el ${spread(obj)}>`)에서만 사용할 수 있습니다.")}render(o){return l.nothing}update(o,[n]){const r=o.element,s=n??{};for(const h of this.prevKeys)if(!(h in s))if(this.isEventKey(h)){const c=this.listeners.get(h);c&&r.removeEventListener(this.eventName(h),c),this.listeners.delete(h)}else r.removeAttribute(h);for(const[h,c]of Object.entries(s))if(!(h==="class"||h==="style"||h==="key"||h==="ref"))if(this.isEventKey(h)&&typeof c=="function"){const i=this.eventName(h),m=this.listeners.get(h);m&&r.removeEventListener(i,m),r.addEventListener(i,c),this.listeners.set(h,c)}else c==null?r.removeAttribute(h):h.startsWith("aria-")?r.setAttribute(h,String(c)):c===!1?r.removeAttribute(h):c===!0?r.setAttribute(h,""):r.setAttribute(h,String(c));return this.prevKeys=Object.keys(s),l.noChange}isEventKey(o){return o.length>2&&o.startsWith("on")&&o[2]===o[2].toUpperCase()}eventName(o){return o.slice(2).toLowerCase()}}const he=qt.directive(Fl);function T(...e){return xl.clsx(e)}function Bl(){return st.extend(zl),st.extend(Ml),st.extend(Ll),st.extend(Tl),st.extend(Vl),st.extend(Dl),st.tz.setDefault("Asia/Seoul"),st}const Ee=Bl();function Hl(){const e=[];return{addValidator:s=>{e.push(s)},removeValidator:s=>{const h=e.findIndex(c=>c.validate===s.validate);h>=0&&e.splice(h,1)},validate:async(s="save")=>(await Promise.all(e.map(c=>c.validate(s).then(i=>i===void 0?!0:i)))).every(c=>c),initValidator:()=>{var s;for(const h of e)(s=h==null?void 0:h.initValidator)==null||s.call(h)}}}const Ol=16;function Ul(e,t){let o=0;return(...n)=>{const r=Date.now();r-o>=t&&(o=r,e(...n))}}class pt{constructor(t){Ve(this,"opened",!1);Ve(this,"scrollHandler");Ve(this,"clickHandler");this.opts=t,this.scrollHandler=Ul(o=>this.onScroll(o),Ol),this.clickHandler=o=>this.onOutsideClick(o)}open(){this.opened||(this.opened=!0,document.addEventListener("scroll",this.scrollHandler,{capture:!0}),this.opts.closeOnOutsideClick!==!1&&setTimeout(()=>{this.opened&&document.addEventListener("click",this.clickHandler,{capture:!0})},0),queueMicrotask(()=>this.calcPosition()))}close(){this.opened&&(this.opened=!1,document.removeEventListener("scroll",this.scrollHandler,{capture:!0}),document.removeEventListener("click",this.clickHandler,{capture:!0}))}destroy(){this.close()}calcPosition(){const t=this.opts.anchor(),o=this.opts.panel();if(!t||!o)return;const n=t.getBoundingClientRect(),r=this.opts.maxHeight?this.opts.maxHeight():250,s=window.innerHeight-n.bottom,h=n.top,c=s<r&&h>=r;let i=n.left;const m=o.clientWidth;n.left+m>document.body.clientWidth&&(i-=m-n.width);let a=`${n.width}px`,u=!1;if(this.opts.listWidth){const p=this.opts.listWidth();p&&(typeof p!="number"||p>0)&&(a=typeof p=="number"?`${p}px`:p,u=!0)}o.style.position="fixed",o.style.left=`${i}px`,this.opts.useMinWidth?o.style.minWidth=`${n.width}px`:u?o.style.width=String(a):o.style.width=`${n.width}px`,c?(o.style.bottom=`${window.innerHeight-n.top}px`,o.style.top="auto"):(o.style.top=`${n.bottom}px`,o.style.bottom="auto")}onScroll(t){const o=t.target;if(this.opts.ignoreScrollTargets&&o&&this.opts.ignoreScrollTargets(o))return;const n=this.opts.anchor();if(n){const r=n.getBoundingClientRect();if(r.bottom<0||r.top>window.innerHeight){this.opts.requestClose();return}}this.calcPosition()}onOutsideClick(t){var n,r,s,h,c;if(this.opts.closeOnOutsideClick===!1)return;const o=t.target;(s=(r=(n=this.opts).container)==null?void 0:r.call(n))!=null&&s.contains(o)||(h=this.opts.panel())!=null&&h.contains(o)||(c=this.opts.anchor())!=null&&c.contains(o)||this.opts.requestClose()}}const tt=[];let Et=!1;function To(e){var o;if(e.key!=="Escape")return;const t=tt[tt.length-1];t&&t.kind==="moz"&&((o=t.onEscape)==null||o.call(t,e),e.stopPropagation())}function _l(){Et||typeof window>"u"||(window.addEventListener("keydown",To,{capture:!0}),Et=!0)}function Nl(){!Et||typeof window>"u"||(window.removeEventListener("keydown",To,!0),Et=!1)}function Bt(e){tt.push(e),_l();let t=!1;return{release(){if(t)return;t=!0;const o=tt.indexOf(e);o>=0&&tt.splice(o,1),tt.length===0&&Nl()},isTopmost(){return tt[tt.length-1]===e}}}function Ht(e){return Bt({kind:"moz",onEscape:e})}function Wl(){return Bt({kind:"foreign"})}function ht(){return Bt({kind:"self"})}function Kl(){return tt.length}function Ot(e={}){const{circleClass:t="",progressClass:o=""}=e;return l.html`<svg
3
+ aria-hidden="true"
4
+ role="status"
5
+ class="moz-circle-loader"
6
+ width="14"
7
+ height="14"
8
+ viewBox="0 0 14 14"
9
+ fill="none"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ >
12
+ <path
13
+ d="M6.99798 14.0002C5.38298 13.9993 3.81794 13.4402 2.568 12.4177C1.31806 11.3951 0.460084 9.97196 0.139418 8.38932C-0.181247 6.80669 0.0551169 5.16188 0.808467 3.73354C1.56182 2.30521 2.78583 1.18117 4.27315 0.551862C5.98381 -0.17071 7.9115 -0.18422 9.63213 0.514304C11.3528 1.21283 12.7254 2.56617 13.4481 4.2766C14.1707 5.98703 14.1842 7.91445 13.4856 9.63485C12.787 11.3552 11.4335 12.7277 9.72281 13.4503C8.86076 13.8149 7.934 14.0019 6.99798 14.0002ZM6.99798 2.15526C6.03955 2.1553 5.10264 2.4395 4.30575 2.97193C3.50885 3.50435 2.88775 4.26109 2.52098 5.14645C2.15422 6.03181 2.05825 7.00604 2.24523 7.94593C2.43221 8.88582 2.89372 9.74917 3.57143 10.4268C4.24913 11.1044 5.11258 11.5659 6.05259 11.7529C6.9926 11.9399 7.96696 11.844 8.85246 11.4773C9.73795 11.1106 10.4948 10.4897 11.0274 9.69289C11.5599 8.89613 11.8442 7.95936 11.8442 7.00106C11.8428 5.71635 11.3318 4.48466 10.4232 3.57621C9.5147 2.66777 8.28287 2.15674 6.99798 2.15526Z"
14
+ fill="var(--moz-color-accent)"
15
+ fill-opacity="0.3"
16
+ class=${t}
17
+ ></path>
18
+ <path
19
+ d="M7.10526 0C7.70019 3.43902e-05 8.18241 0.482401 8.18241 1.07715C8.18229 1.67179 7.70012 2.15426 7.10526 2.1543V2.15723C7.06949 2.15639 7.03369 2.15532 6.99784 2.15527C6.03943 2.15531 5.10233 2.43928 4.30545 2.97168C3.50856 3.5041 2.88707 4.26113 2.5203 5.14648C2.1536 6.03179 2.05795 7.00647 2.24491 7.94629C2.43192 8.88601 2.89351 9.74921 3.57108 10.4268C4.24878 11.1044 5.11251 11.5659 6.05252 11.7529C6.99249 11.9399 7.96688 11.8442 8.85233 11.4775C9.7377 11.1109 10.4946 10.49 11.0271 9.69336C11.5399 8.92611 11.8203 8.02853 11.8406 7.10742H11.8455C11.8456 6.51278 12.3278 6.03125 12.9226 6.03125C13.5175 6.03132 13.9996 6.51282 13.9998 7.10742C13.9998 7.14897 13.9966 7.19015 13.992 7.23047C13.9653 8.04804 13.7988 8.86228 13.4851 9.63477C12.7865 11.3552 11.4331 12.7276 9.72245 13.4502C8.86044 13.8148 7.9338 14.0017 6.99784 14C5.38299 13.9991 3.81802 13.4403 2.56815 12.418C1.31831 11.3955 0.460158 9.97214 0.139438 8.38965C-0.181225 6.80702 0.0550344 5.16173 0.808383 3.7334C1.56174 2.30515 2.78597 1.18104 4.27323 0.551758C5.16282 0.176049 6.11107 -0.00627887 7.05838 0.00195312C7.07392 0.0012886 7.08956 0 7.10526 0Z"
20
+ fill="var(--moz-color-accent)"
21
+ class=${o}
22
+ ></path>
23
+ </svg>`}function Mo(e="default"){switch(e){case"text":return"moz-text-button";case"outline":return"moz-outline-button";case"icon":return"moz-icon-button";case"icon-accent":return"moz-icon-button moz-icon-accent-button";case"no-interaction":return"moz-icon-button moz-no-interaction-button";case"default":default:return"moz-default-button"}}const Gl=new Set(["action","text","type","nativeType","width","loading","disabled","class","style"]);function at(e,t={}){const o=!!e.disabled||!!e.loading,n=t.icon!=null&&t.icon!==l.nothing,r=e.width==null?void 0:typeof e.width=="number"?`${Le(e.width)}rem`:e.width,s=e.width==null?void 0:typeof e.width=="number"?`${e.width}px`:e.width,h={width:r,minWidth:r,"--moz-btn-loading-width":s,...Pe(e.style)},c=i=>{var m;o||(m=t.onClick)==null||m.call(t,i)};return l.html`
24
+ <button
25
+ type=${e.nativeType??"button"}
26
+ class=${T("moz-button",Mo(e.type),{loading:!!e.loading,disabled:o,"moz-icon-text-button":n},e.class)}
27
+ style=${te.styleMap(h)}
28
+ ?disabled=${o}
29
+ @click=${c}
30
+ ${he(t.rest??{})}
31
+ >
32
+ ${e.loading?l.html`<span class="spinner" data-part="spinner"
33
+ >${Ot({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
34
+ >`:t.icon??l.nothing}
35
+ ${e.text||t.content!=null?l.html`<span class=${T("text",{"has-icon-text":n})} data-part="label"
36
+ >${e.text??""}${t.content??l.nothing}</span
37
+ >`:l.nothing}
38
+ </button>
39
+ `}const zo=we({name:"moz-button",defaults:{type:"default",loading:!1,disabled:!1},setup(e){let t=!!e.props.loading,o=e.props.loading;const n=r=>{const s=e.props;s.disabled||t||(e.emit("click",r),s.action==="Search"&&(t=!0,s.loading||(t=!1),e.requestUpdate()))};return{api:{setLoading(r){t=r,e.requestUpdate()}},render(){const r=e.props;r.loading!==o&&(o=r.loading,t=!!r.loading);const s=e.slots.has("icon"),h=!!r.disabled||t,c=r.width==null?void 0:typeof r.width=="number"?`${e.px(r.width)}rem`:r.width,i=r.width==null?void 0:typeof r.width=="number"?`${r.width}px`:r.width,m={};for(const u of Object.keys(r))Gl.has(u)||(m[u]=r[u]);const a={width:c,minWidth:c,"--moz-btn-loading-width":i,...Pe(r.style)};return l.html`
40
+ <button
41
+ type=${r.nativeType??"button"}
42
+ class=${T("moz-button",Mo(r.type),{loading:t,disabled:h,"moz-icon-text-button":s},r.class)}
43
+ style=${te.styleMap(a)}
44
+ ?disabled=${h}
45
+ @click=${n}
46
+ ${he(m)}
47
+ >
48
+ ${t?l.html`<span class="spinner" data-part="spinner"
49
+ >${Ot({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
50
+ >`:e.slot("icon",{disabled:h})}
51
+ ${r.text||e.slots.has("default")?l.html`<span class=${T("text",{"has-icon-text":s})} data-part="label"
52
+ >${r.text??""}${e.slot("default",{disabled:h})}</span
53
+ >`:l.nothing}
54
+ </button>
55
+ `}}}}),Yl={name:"MozButton",core:zo,props:["action","text","type","nativeType","width","loading","disabled"],emits:["click"],slots:["icon","default"],expose:!0},Zl=new Set(["for","disabled","required","isReadOnly","class","style"]);function Ut(e,t){return T("moz-label",{disabled:!!e.disabled,"read-only":!!e.isReadOnly},t,e.class)}function Be(e,t,o){return l.html`<label class=${Ut(e,o)} for=${xe.ifDefined(e.for)}
56
+ >${t}${e.required?l.html`<span class="require-mark">*</span>`:l.nothing}</label
57
+ >`}const Vo=we({name:"moz-label",setup(e){return{render(){const t=e.props,o=ge(t,Zl);return l.html`<label
58
+ class=${Ut(t)}
59
+ for=${xe.ifDefined(t.for)}
60
+ style=${te.styleMap(Pe(t.style))}
61
+ ${he(o)}
62
+ >${e.slot("default")}${t.required?l.html`<span class="require-mark">*</span>`:l.nothing}</label
63
+ >`}}}}),jl={name:"MozLabel",core:Vo,props:["for","disabled","required","isReadOnly"],emits:[],slots:["default"],expose:!1},Xl=new Set(["modelValue","label","labelPosition","required","readonly","disabled","visible","class","style"]);function Pt(e){const t=!!e.model;return l.html`
64
+ <div
65
+ data-part="root"
66
+ class=${T(e.class)}
67
+ style=${xe.ifDefined(e.visible===!1?"display: none;":void 0)}
68
+ ${he(e.rest??{})}
69
+ >
70
+ <div class="moz-switch">
71
+ ${e.labelPosition!=="right"?Be({for:e.id,disabled:e.disabled,required:e.required},e.label??"","label-left"):l.nothing}
72
+ <div class=${T("moz-switch-box",{active:t,disabled:!!e.disabled})}>
73
+ <input
74
+ id=${e.id}
75
+ class="moz-switch-input"
76
+ type="checkbox"
77
+ role="switch"
78
+ ${he(e.inputRest??{})}
79
+ aria-checked=${t?"true":"false"}
80
+ ?disabled=${!!e.disabled}
81
+ .checked=${t}
82
+ @change=${e.onChange}
83
+ @click=${e.onClick}
84
+ />
85
+ <div class=${T("moz-switch-handler",{active:t,disabled:!!e.disabled})}></div>
86
+ </div>
87
+ ${e.labelPosition==="right"?Be({for:e.id,disabled:e.disabled},e.label??"","label-right"):l.nothing}
88
+ </div>
89
+ </div>
90
+ `}const Do=we({name:"moz-toggle",defaults:{labelPosition:"left",required:!1,readonly:!1,disabled:!1,visible:!0},setup(e){const t=Xe("switch_"),o=r=>{const s=e.props;(s.disabled||s.readonly)&&(r.preventDefault(),r.stopPropagation())},n=r=>{const s=e.props;if(s.disabled||s.readonly)return;const h=r.target.checked;e.emit("change",!!h)};return{render(){const r=e.props,{aria:s,dom:h}=ut(ge(r,Xl));return Pt({id:t,class:r.class,rest:h,inputRest:s,model:!!r.modelValue,label:r.label,labelPosition:r.labelPosition,required:r.required,disabled:r.disabled,visible:r.visible,onChange:n,onClick:o})}}}}),Ql={name:"MozToggle",core:Do,props:["label","labelPosition","required","readonly","disabled","visible"],emits:["change"],models:{modelValue:{prop:"modelValue",event:"change"}},slots:[],expose:!1};function _t(e=""){return l.html`<svg class=${e} xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
91
+ <path
92
+ fill-rule="evenodd"
93
+ clip-rule="evenodd"
94
+ d="M3.72661 8.48896C3.41073 8.18004 3.40509 7.67354 3.71401 7.35766L6.04911 4.96997L3.72108 2.64854C3.40822 2.33656 3.4075 1.83003 3.71948 1.51717C4.03145 1.2043 4.53798 1.20359 4.85085 1.51556L7.73988 4.39642C8.0506 4.70626 8.05375 5.20855 7.74695 5.52226L4.85791 8.47636C4.54899 8.79224 4.04249 8.79788 3.72661 8.48896Z"
95
+ fill="var(--moz-color-text-subtle)"
96
+ ></path>
97
+ </svg>`}function Nt(e="var(--moz-color-text-subtle)",t=""){return l.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
98
+ <path
99
+ d="M8 1.5L10.163 5.875L15 6.575L11.5 9.975L12.326 14.775L8 12.5L3.674 14.775L4.5 9.975L1 6.575L5.837 5.875L8 1.5Z"
100
+ stroke=${e}
101
+ stroke-width="1.2"
102
+ stroke-linecap="round"
103
+ stroke-linejoin="round"
104
+ ></path>
105
+ </svg>`}function Wt(e="var(--moz-color-accent)",t=""){return l.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
106
+ <path
107
+ d="M8 1.5L10.163 5.875L15 6.575L11.5 9.975L12.326 14.775L8 12.5L3.674 14.775L4.5 9.975L1 6.575L5.837 5.875L8 1.5Z"
108
+ fill=${e}
109
+ stroke=${e}
110
+ stroke-width="1.2"
111
+ stroke-linecap="round"
112
+ stroke-linejoin="round"
113
+ ></path>
114
+ </svg>`}const io=new Set(["itemSource","items","listClass","showFavorite","modelValue","class","style"]);function Kt(e){const t=e.itemSource??[],o=!!e.favorite,n=e.showFavorite?e.favoriteSlot!=null?e.favoriteSlot:l.html`<button type="button" class="favorite-icon" @click=${e.onFavClick}>
115
+ ${o?Wt(void 0,"favorite-filled"):Nt(void 0,"empty")}
116
+ </button>`:l.nothing;return l.html`
117
+ <div
118
+ role="navigation"
119
+ aria-label=${e.ariaLabel??"breadcrumb"}
120
+ class=${T("moz-bread-crumb",e.class)}
121
+ style=${te.styleMap(Pe(e.style))}
122
+ ${he(e.rest??{})}
123
+ >
124
+ <div class="menu-item">
125
+ ${t.map((r,s)=>t.length-1===s?l.html`<div class="current-item" aria-current="page">${r}</div>`:l.html`<div>${r}</div>${_t("separator")}`)}
126
+ </div>
127
+ ${n}${e.titleSlot??l.nothing}
128
+ </div>
129
+ `}const Ro=we({name:"moz-bread-crumb",defaults:{showFavorite:!0,modelValue:!0,itemSource:[]},setup(e){const t=()=>e.emit("click",!!e.props.modelValue),o=n=>{const r=e.props,s=!!r.modelValue,h=r.showFavorite?e.slots.has("favorite")?e.slot("favorite"):l.html`<button type="button" class="favorite-icon" @click=${t}>
130
+ ${s?Wt(void 0,"favorite-filled"):Nt(void 0,"empty")}
131
+ </button>`:l.nothing,c=()=>l.html`<li role="presentation" aria-hidden="true" class="moz-bread-crumb-separator">
132
+ ${e.slots.has("separator")?e.slot("separator"):_t("separator")}
133
+ </li>`;return l.html`
134
+ <nav
135
+ aria-label=${e.locale.BreadCrumb.navigation}
136
+ class=${T("moz-bread-crumb","moz-bread-crumb-items",r.class)}
137
+ style=${te.styleMap(Pe(r.style))}
138
+ ${he(ge(r,io))}
139
+ >
140
+ <ol class=${T("moz-bread-crumb-list",r.listClass)}>
141
+ ${n.map((i,m)=>l.html`
142
+ <li class="moz-bread-crumb-item" aria-current=${i.current?"page":l.nothing}>
143
+ ${e.slot(`item-${i.key}`)}
144
+ </li>
145
+ ${m<n.length-1?c():l.nothing}
146
+ `)}
147
+ </ol>
148
+ ${h}${e.slot("title")}
149
+ </nav>
150
+ `};return{render(){const n=e.props;return n.items&&n.items.length>0?o(n.items):Kt({itemSource:n.itemSource,showFavorite:n.showFavorite,favorite:!!n.modelValue,onFavClick:t,ariaLabel:e.locale.BreadCrumb.navigation,favoriteSlot:e.slots.has("favorite")?e.slot("favorite"):void 0,titleSlot:e.slot("title"),class:n.class,style:n.style,rest:ge(n,io)})}}}}),Jl={name:"MozBreadCrumb",core:Ro,props:["itemSource","items","listClass","showFavorite"],emits:["click"],models:{modelValue:{prop:"modelValue",event:"update:modelValue"}},slots:["favorite","title","separator"],expose:!1,syncUpdate:!0},Ao={customEmptyHeader:"No data",customEmptyContent:"There is no data to display.",dataEmptyHeader:"No data to display",dataEmptyContent:"Please enter the required data.",resultEmptyHeader:"No results",resultEmptyContent:"Check the search conditions and try again.",searchEmptyHeader:"No search results",searchEmptyContent:"Please check the filter value and try again."},qo=new URL("data:image/svg+xml,%3csvg%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='90'%20cy='90'%20r='90'%20fill='%23F6F8FA'/%3e%3crect%20x='106.5'%20y='49.5'%20width='51'%20height='28'%20rx='7.5'%20fill='%23F6F8FA'%20stroke='%238B919C'/%3e%3cellipse%20cx='90'%20cy='136'%20rx='37'%20ry='2'%20fill='%23C2CBD3'/%3e%3cpath%20d='M34.5%2066C34.5%2061.8579%2037.8579%2058.5%2042%2058.5H143C147.142%2058.5%20150.5%2061.8579%20150.5%2066V115C150.5%20119.694%20146.694%20123.5%20142%20123.5H42C37.8579%20123.5%2034.5%20120.142%2034.5%20116V66Z'%20fill='white'%20stroke='%238B919C'/%3e%3cg%20filter='url(%23filter0_d_2328_1616)'%3e%3crect%20x='32'%20y='56'%20width='116'%20height='65'%20rx='8'%20fill='white'/%3e%3crect%20x='32.5'%20y='56.5'%20width='115'%20height='64'%20rx='7.5'%20stroke='%238B919C'/%3e%3c/g%3e%3ccircle%20cx='126'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='132'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='138'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3crect%20x='40'%20y='74'%20width='100'%20height='26'%20rx='2'%20fill='%23E4E6EB'/%3e%3crect%20x='44'%20y='80'%20width='27'%20height='4'%20fill='%23CBCFD7'/%3e%3crect%20x='92'%20y='80'%20width='27'%20height='4'%20fill='%23CBCFD7'/%3e%3crect%20x='44'%20y='86'%20width='44'%20height='8'%20fill='%23CBCFD7'/%3e%3crect%20x='92'%20y='86'%20width='44'%20height='8'%20fill='%23CBCFD7'/%3e%3crect%20x='116'%20y='104'%20width='24'%20height='9'%20rx='2'%20fill='%23868C98'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M147%2070H33V69H147V70Z'%20fill='%23D6DAE2'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_2328_1616'%20x='32'%20y='56'%20width='118'%20height='67'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2'%20dy='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.886275%200%200%200%200%200.894118%200%200%200%200%200.913725%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2328_1616'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2328_1616'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",typeof document>"u"?require("url").pathToFileURL(__filename).href:Ye&&Ye.tagName.toUpperCase()==="SCRIPT"&&Ye.src||new URL("index.cjs",document.baseURI).href).href,es=new URL("data:image/svg+xml,%3csvg%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='90'%20cy='90'%20r='90'%20fill='%23F6F8FA'/%3e%3cellipse%20cx='88'%20cy='141'%20rx='37'%20ry='2'%20fill='%23C2CBD3'/%3e%3cpath%20d='M32.5%2059C32.5%2054.8579%2035.8579%2051.5%2040%2051.5H141C145.142%2051.5%20148.5%2054.8579%20148.5%2059V120C148.5%20124.694%20144.694%20128.5%20140%20128.5H40C35.8579%20128.5%2032.5%20125.142%2032.5%20121V59Z'%20fill='white'%20stroke='%238B919C'/%3e%3cg%20filter='url(%23filter0_d_2357_2211)'%3e%3crect%20x='30'%20y='49'%20width='116'%20height='77'%20rx='8'%20fill='white'/%3e%3crect%20x='30.5'%20y='49.5'%20width='115'%20height='76'%20rx='7.5'%20stroke='%238B919C'/%3e%3c/g%3e%3ccircle%20cx='124'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='130'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='136'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3crect%20x='38.5'%20y='90.5'%20width='99'%20height='27'%20rx='1.5'%20stroke='%238B919C'%20stroke-dasharray='2%202'/%3e%3crect%20x='59'%20y='71'%20width='49'%20height='4'%20fill='%23CBCFD7'/%3e%3crect%20x='59'%20y='77'%20width='79'%20height='6'%20fill='%23CBCFD7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M145%2063H31V62H145V63Z'%20fill='%23D6DAE2'/%3e%3cg%20clip-path='url(%23clip0_2357_2211)'%3e%3cg%20clip-path='url(%23clip1_2357_2211)'%3e%3cpath%20d='M88%2098.2857V109.714'%20stroke='%238B919C'%20stroke-width='1.8'%20stroke-linecap='round'/%3e%3cpath%20d='M82.2856%20104H93.7142'%20stroke='%238B919C'%20stroke-width='1.8'%20stroke-linecap='round'/%3e%3c/g%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M46%2084C49.866%2084%2053%2080.866%2053%2077C53%2073.134%2049.866%2070%2046%2070C42.134%2070%2039%2073.134%2039%2077C39%2080.866%2042.134%2084%2046%2084ZM45.5333%2073.8667C45.5333%2073.5353%2045.802%2073.2667%2046.1333%2073.2667H46.3333C46.6647%2073.2667%2046.9333%2073.5353%2046.9333%2073.8667V77.8C46.9333%2078.1314%2046.6647%2078.4%2046.3333%2078.4H46.1333C45.802%2078.4%2045.5333%2078.1314%2045.5333%2077.8V73.8667ZM45.5333%2079.9333C45.5333%2079.602%2045.802%2079.3333%2046.1333%2079.3333H46.3333C46.6647%2079.3333%2046.9333%2079.602%2046.9333%2079.9333V80.1333C46.9333%2080.4647%2046.6647%2080.7333%2046.3333%2080.7333H46.1333C45.802%2080.7333%2045.5333%2080.4647%2045.5333%2080.1333V79.9333Z'%20fill='%23868C98'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_2357_2211'%20x='30'%20y='49'%20width='118'%20height='79'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2'%20dy='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.886275%200%200%200%200%200.894118%200%200%200%200%200.913725%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2357_2211'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2357_2211'%20result='shape'/%3e%3c/filter%3e%3cclipPath%20id='clip0_2357_2211'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(80%2096)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_2357_2211'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(80%2096)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",typeof document>"u"?require("url").pathToFileURL(__filename).href:Ye&&Ye.tagName.toUpperCase()==="SCRIPT"&&Ye.src||new URL("index.cjs",document.baseURI).href).href,ts=new URL("data:image/svg+xml,%3csvg%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='90'%20cy='90'%20r='90'%20fill='%23F6F8FA'/%3e%3crect%20x='106.5'%20y='49.5'%20width='51'%20height='28'%20rx='7.5'%20fill='%23F6F8FA'%20stroke='%238B919C'/%3e%3cellipse%20cx='90'%20cy='136'%20rx='37'%20ry='2'%20fill='%23C2CBD3'/%3e%3cpath%20d='M34.5%2066C34.5%2061.8579%2037.8579%2058.5%2042%2058.5H143C147.142%2058.5%20150.5%2061.8579%20150.5%2066V115C150.5%20119.694%20146.694%20123.5%20142%20123.5H42C37.8579%20123.5%2034.5%20120.142%2034.5%20116V66Z'%20fill='white'%20stroke='%238B919C'/%3e%3cg%20filter='url(%23filter0_d_2328_1616)'%3e%3crect%20x='32'%20y='56'%20width='116'%20height='65'%20rx='8'%20fill='white'/%3e%3crect%20x='32.5'%20y='56.5'%20width='115'%20height='64'%20rx='7.5'%20stroke='%238B919C'/%3e%3c/g%3e%3ccircle%20cx='126'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='132'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='138'%20cy='63'%20r='2'%20fill='%23E2E4E9'/%3e%3crect%20x='40'%20y='74'%20width='100'%20height='26'%20rx='2'%20fill='%23E4E6EB'/%3e%3crect%20x='44'%20y='80'%20width='27'%20height='4'%20fill='%23CBCFD7'/%3e%3crect%20x='92'%20y='80'%20width='27'%20height='4'%20fill='%23CBCFD7'/%3e%3crect%20x='44'%20y='86'%20width='44'%20height='8'%20fill='%23CBCFD7'/%3e%3crect%20x='92'%20y='86'%20width='44'%20height='8'%20fill='%23CBCFD7'/%3e%3crect%20x='116'%20y='104'%20width='24'%20height='9'%20rx='2'%20fill='%23868C98'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M147%2070H33V69H147V70Z'%20fill='%23D6DAE2'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_2328_1616'%20x='32'%20y='56'%20width='118'%20height='67'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2'%20dy='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.886275%200%200%200%200%200.894118%200%200%200%200%200.913725%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2328_1616'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2328_1616'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",typeof document>"u"?require("url").pathToFileURL(__filename).href:Ye&&Ye.tagName.toUpperCase()==="SCRIPT"&&Ye.src||new URL("index.cjs",document.baseURI).href).href,os=new URL("data:image/svg+xml,%3csvg%20width='180'%20height='180'%20viewBox='0%200%20180%20180'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='90'%20cy='90'%20r='90'%20fill='%23F6F8FA'/%3e%3cellipse%20cx='88'%20cy='141'%20rx='37'%20ry='2'%20fill='%23C2CBD3'/%3e%3cpath%20d='M32.5%2059C32.5%2054.8579%2035.8579%2051.5%2040%2051.5H141C145.142%2051.5%20148.5%2054.8579%20148.5%2059V120C148.5%20124.694%20144.694%20128.5%20140%20128.5H40C35.8579%20128.5%2032.5%20125.142%2032.5%20121V59Z'%20fill='white'%20stroke='%238B919C'/%3e%3cg%20filter='url(%23filter0_d_2357_2190)'%3e%3crect%20x='30'%20y='49'%20width='116'%20height='77'%20rx='8'%20fill='white'/%3e%3crect%20x='30.5'%20y='49.5'%20width='115'%20height='76'%20rx='7.5'%20stroke='%238B919C'/%3e%3c/g%3e%3ccircle%20cx='124'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='130'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3ccircle%20cx='136'%20cy='56'%20r='2'%20fill='%23E2E4E9'/%3e%3crect%20x='38.5'%20y='70.5'%20width='99'%20height='47'%20rx='1.5'%20stroke='%238B919C'%20stroke-dasharray='2%202'/%3e%3crect%20x='50'%20y='81'%20width='27.54'%20height='4'%20rx='2'%20fill='%23A6ABB3'/%3e%3crect%20x='50'%20y='97'%20width='27.54'%20height='4'%20rx='2'%20fill='%23A6ABB3'/%3e%3crect%20x='50'%20y='87'%20width='51'%20height='4'%20rx='2'%20fill='%23CBCFD7'/%3e%3crect%20x='50'%20y='103'%20width='51'%20height='4'%20rx='2'%20fill='%23CBCFD7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M145%2063H31V62H145V63Z'%20fill='%23D6DAE2'/%3e%3cpath%20d='M123.553%20101.582L119.095%2097.1196C117.866%2097.9205%20116.394%2098.3781%20114.808%2098.2923C111.421%2098.135%20108.521%2095.4892%20108.064%2092.1283C107.435%2087.3372%20111.564%2083.2899%20116.394%2084.1051C119.18%2084.577%20121.495%2086.7509%20122.11%2089.5111C122.581%2091.5991%20122.124%2093.5441%20121.11%2095.0887L125.582%2099.5651C126.139%20100.123%20126.139%20101.024%20125.582%20101.582C125.025%20102.139%20124.11%20102.139%20123.553%20101.582ZM119.438%2091.1558C119.438%2088.796%20117.509%2086.8653%20115.151%2086.8653C112.793%2086.8653%20110.864%2088.796%20110.864%2091.1558C110.864%2093.5155%20112.793%2095.4463%20115.151%2095.4463C117.509%2095.4463%20119.438%2093.5155%20119.438%2091.1558Z'%20fill='%23868C98'/%3e%3cdefs%3e%3cfilter%20id='filter0_d_2357_2190'%20x='30'%20y='49'%20width='118'%20height='79'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2'%20dy='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.886275%200%200%200%200%200.894118%200%200%200%200%200.913725%200%200%200%201%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2357_2190'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2357_2190'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e",typeof document>"u"?require("url").pathToFileURL(__filename).href:Ye&&Ye.tagName.toUpperCase()==="SCRIPT"&&Ye.src||new URL("index.cjs",document.baseURI).href).href,ls=new Set(["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed","class","style"]),ss={custom_empty:qo,data_empty:es,result_empty:ts,search_empty:os},ns={custom_empty:"customEmptyHeader",data_empty:"dataEmptyHeader",result_empty:"resultEmptyHeader",search_empty:"searchEmptyHeader"},rs={custom_empty:"customEmptyContent",data_empty:"dataEmptyContent",result_empty:"resultEmptyContent",search_empty:"searchEmptyContent"},Io=we({name:"moz-empty-state",defaults:{isReadOnly:!0,isCustomState:!1,filterdRowCount:0,totalRowCount:0,useImg:!0,composed:!1},setup(e){const t=n=>{var s;return((s=e.props.messages)==null?void 0:s[n])||e.locale.EmptyState[n]||Ao[n]||""},o=()=>{const n=e.props,r=n.totalRowCount??0,s=n.filterdRowCount??0;if(n.selectImg&&(r===0||s===0))switch(n.selectImg){case"Custom":return"custom_empty";case"Result":return"result_empty";case"Data":return"data_empty";case"Search":return"search_empty"}return n.isCustomState?"custom_empty":r===0?n.isReadOnly?"result_empty":"data_empty":s===0?"search_empty":""};return{render(){const n=e.props,r=ge(n,ls);if(n.composed)return l.html`
151
+ <div
152
+ class=${T("empty-container","empty-composed",n.class)}
153
+ style=${te.styleMap(Pe(n.style))}
154
+ ${he(r)}
155
+ >
156
+ ${e.slots.has("icon")?l.html`<div class="empty-icon">${e.slot("icon")}</div>`:l.nothing}
157
+ ${e.slots.has("heading")?l.html`<div class="empty-heading-slot">${e.slot("heading")}</div>`:l.nothing}
158
+ ${e.slots.has("description")?l.html`<div class="empty-description">${e.slot("description")}</div>`:l.nothing}
159
+ ${e.slots.has("actions")?l.html`<div class="empty-actions">${e.slot("actions")}</div>`:l.nothing}
160
+ ${e.slots.has("customState")?l.html`<div class="empty-content">${e.slot("customState")}</div>`:l.nothing}
161
+ </div>
162
+ `;const s=o();if(!s)return l.nothing;const h=ss[s]||qo,c=typeof n.headerMsg=="string"?n.headerMsg:t(ns[s]||"customEmptyHeader"),i=typeof n.contentMsg=="string"?n.contentMsg:t(rs[s]||"customEmptyContent"),m=e.slots.has("icon")?l.html`<div class="empty-icon">${e.slot("icon")}</div>`:n.useImg?l.html`<img src=${h} alt="Empty state" class="empty-img" />`:l.nothing;return l.html`
163
+ <div class=${T("empty-container",n.class)} style=${te.styleMap(Pe(n.style))} ${he(r)}>
164
+ ${m}
165
+ <div class="empty-heading">${c}</div>
166
+ <div class="empty-content"><span>${Eo.unsafeHTML(i)}</span></div>
167
+ <div class="empty-content">${e.slot("customState")}</div>
168
+ ${e.slots.has("actions")?l.html`<div class="empty-actions">${e.slot("actions")}</div>`:l.nothing}
169
+ </div>
170
+ `}}}}),is={name:"MozEmptyState",core:Io,props:["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed"],emits:[],slots:["customState","icon","heading","description","actions"],expose:!1};function Gt(e="var(--moz-color-border)",t=!1,o=""){return l.html`<svg class=${o} data-icon="unchecked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
171
+ <path
172
+ d="M10 0H2C0.89543 0 0 0.89543 0 2V10C0 11.1046 0.89543 12 2 12H10C11.1046 12 12 11.1046 12 10V2C12 0.89543 11.1046 0 10 0Z"
173
+ fill=${t?"var(--moz-color-surface-subtle)":"var(--moz-color-surface)"}
174
+ ></path>
175
+ <path
176
+ d="M10 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V10C0.5 10.8284 1.17157 11.5 2 11.5H10C10.8284 11.5 11.5 10.8284 11.5 10V2C11.5 1.17157 10.8284 0.5 10 0.5Z"
177
+ stroke=${t?"var(--moz-color-text-muted)":e}
178
+ ></path>
179
+ </svg>`}function Yt(e="var(--moz-color-accent)",t=!1,o=""){return l.html`<svg class=${o} data-icon="checked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
180
+ <path
181
+ d="M10 12H2C1.46957 12 0.960859 11.7893 0.585786 11.4142C0.210714 11.0391 0 10.5304 0 10V2C0 1.46957 0.210714 0.960859 0.585786 0.585786C0.960859 0.210714 1.46957 0 2 0L10 0C10.5304 0 11.0391 0.210714 11.4142 0.585786C11.7893 0.960859 12 1.46957 12 2V10C12 10.5304 11.7893 11.0391 11.4142 11.4142C11.0391 11.7893 10.5304 12 10 12ZM2.276 5.472C2.18827 5.47227 2.10149 5.49011 2.02077 5.52446C1.94005 5.5588 1.86702 5.60897 1.806 5.672C1.68191 5.79695 1.61227 5.9659 1.61227 6.142C1.61227 6.3181 1.68191 6.48705 1.806 6.612L4.2 9C4.32469 9.12457 4.49374 9.19455 4.67 9.19455C4.84626 9.19455 5.01531 9.12457 5.14 9L10.194 3.94C10.2557 3.87821 10.3047 3.80487 10.338 3.72417C10.3714 3.64347 10.3886 3.55698 10.3885 3.46965C10.3885 3.38231 10.3712 3.29584 10.3378 3.21518C10.3043 3.13451 10.2553 3.06122 10.1935 2.9995C10.1317 2.93778 10.0584 2.88883 9.97767 2.85545C9.89697 2.82208 9.81048 2.80492 9.72315 2.80497C9.63581 2.80501 9.54934 2.82226 9.46868 2.85572C9.38801 2.88919 9.31472 2.93821 9.253 3L4.667 7.587L2.747 5.667C2.68531 5.60494 2.61191 5.55574 2.53105 5.52227C2.4502 5.48879 2.36351 5.47171 2.276 5.472Z"
182
+ fill=${t?"var(--moz-color-text-muted)":e}
183
+ ></path>
184
+ </svg>`}function Zt(e="var(--moz-color-accent)",t=!1,o=""){return l.html`<svg class=${o} data-icon="indeterminate" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
185
+ <rect width="12" height="12" rx="2" fill=${t?"var(--moz-color-text-muted)":e}></rect>
186
+ <path d="M3 6H9" stroke="var(--moz-color-on-accent)" stroke-width="2" stroke-linecap="round"></path>
187
+ </svg>`}const as=new Set(["label","fieldId","disabled","readonly","checked","indeterminate","modelValue","class","style"]);function $t(e={}){const t=!!e.checked,o=!!e.disabled,n=!!e.indeterminate,r=()=>{var s;o||(s=e.onChange)==null||s.call(e,!t)};return l.html`
188
+ <div
189
+ class=${T("moz-checkbox",{"cursor-pointer":!o,"cursor-not-allowed":o,disabled:o},e.class)}
190
+ @click=${s=>{o||(s.preventDefault(),s.stopPropagation(),r())}}
191
+ >
192
+ <div class="checkbox-icon-wrapper">
193
+ <input
194
+ type="checkbox"
195
+ class=${T("checkbox-input",{"cursor-pointer":!o,"cursor-not-allowed":o})}
196
+ .checked=${t}
197
+ ?disabled=${o}
198
+ tabindex=${o?-1:0}
199
+ @click=${s=>s.stopPropagation()}
200
+ @change=${s=>{s.target.checked=t,r()}}
201
+ />
202
+ <div class="checkbox-visual">
203
+ ${n?Zt(void 0,o,"checked-icon"):t?Yt(void 0,o,"checked-icon"):Gt(void 0,o,"check-icon")}
204
+ </div>
205
+ </div>
206
+ </div>
207
+ `}const Fo=we({name:"moz-checkbox",defaults:{disabled:!1,readonly:!1,indeterminate:!1,modelValue:!1},setup(e){const t=Lo();let o=!1;const n=()=>{const u=e.props;return e.controlled("checked")?u.checked??!1:u.modelValue??!1},r=()=>{const u=!n();e.controlled("checked")||e.emit("update:modelValue",u),e.emit("change",u)},s=u=>{var v;const p=e.props;p.disabled||p.readonly||(u.preventDefault(),u.stopPropagation(),r(),(v=u.currentTarget.querySelector("input"))==null||v.focus())},h=u=>u.stopPropagation(),c=u=>{const p=e.props,v=u.target;if(p.readonly){v.checked=n();return}const $=v.checked;e.controlled("checked")?(v.checked=n(),e.emit("change",$)):(e.emit("update:modelValue",$),e.emit("change",$))},i=u=>{const p=e.props;p.disabled||p.readonly||(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),r())},m=()=>{o=!0,e.requestUpdate()},a=()=>{o=!1,e.requestUpdate()};return{render(){const u=e.props,p=u.fieldId||t,v=n(),$=ge(u,as);return l.html`
208
+ <div
209
+ class=${T("moz-checkbox",{"cursor-pointer":!u.disabled&&!u.readonly,"cursor-not-allowed":u.disabled,disabled:u.disabled,"cursor-default":u.readonly&&!u.disabled})}
210
+ @click=${s}
211
+ >
212
+ <div class="checkbox-icon-wrapper">
213
+ <input
214
+ id=${p}
215
+ type="checkbox"
216
+ class=${T("checkbox-input",{"cursor-pointer":!u.disabled&&!u.readonly,"cursor-not-allowed":u.disabled,"cursor-default":u.readonly&&!u.disabled})}
217
+ ${he($)}
218
+ .checked=${v}
219
+ ?disabled=${!!u.disabled}
220
+ tabindex=${u.disabled?-1:0}
221
+ @click=${h}
222
+ @change=${c}
223
+ @focus=${m}
224
+ @blur=${a}
225
+ @keydown=${i}
226
+ />
227
+ <div class=${T("checkbox-visual",{focused:o})}>
228
+ ${u.indeterminate?Zt(void 0,!!u.disabled,"checked-icon"):v?Yt(void 0,!!u.disabled,"checked-icon"):Gt(void 0,!!u.disabled,"check-icon")}
229
+ </div>
230
+ </div>
231
+ ${u.label?Be({for:p,disabled:u.disabled},u.label,"moz-checkbox-label"):l.nothing}
232
+ </div>
233
+ `}}}}),cs={name:"MozCheckBox",core:Fo,props:["label","fieldId","disabled","readonly","checked","indeterminate","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1},ds=new Set(["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","itemsSource","value","name","direction","variant","labelPosition","modelValue","class","style"]),Bo=we({name:"moz-radio",defaults:{label:"",text:"",disabled:!1,required:!1,displayExpr:"label",valueExpr:"value",tooltipExpr:"tooltip",itemsSource:[],direction:"horizontal",variant:"boxed",labelPosition:"top"},setup(e){const t=Xe("radio_"),o=s=>s.key===" "||s.key==="Enter"||s.key==="Spacebar"||s.key==="Space"||s.code==="Space"||s.code==="Enter"||s.keyCode===32||s.keyCode===13,n=s=>{const h=e.props,c=h.itemsSource??[];return T("label-container",{boxed:h.variant==="boxed","first-h":h.variant==="boxed"&&h.direction==="horizontal"&&s===0,"last-h":h.variant==="boxed"&&h.direction==="horizontal"&&s===c.length-1,"first-v":h.variant==="boxed"&&h.direction==="vertical"&&s===0,"last-v":h.variant==="boxed"&&h.direction==="vertical"&&s===c.length-1,disabled:h.disabled})},r=s=>{const h=e.props;return h.variant!=="boxed"||s===0?{}:h.direction==="horizontal"?{marginInlineStart:"-1px"}:{marginBlockStart:"-1px"}};return{render(){const s=e.props,h=s.itemsSource??[],c=s.valueExpr??"value",i=s.displayExpr??"label",m=!!s.disabled,a=s.modelValue,u=s.value!==void 0&&h.length===0,p=ge(s,ds),v=()=>l.html`
234
+ <div class="radio-container">
235
+ <div class="radio">
236
+ <label for=${t} class=${T("label-container",{disabled:m})}>
237
+ <div class="radio-icon-wrapper">
238
+ <input
239
+ type="radio"
240
+ name=${s.name||t}
241
+ id=${t}
242
+ .checked=${String(a)===String(s.value)}
243
+ ?disabled=${m}
244
+ class="radio-input"
245
+ @keydown=${y=>{o(y)&&!m&&e.emit("update:modelValue",String(s.value))}}
246
+ @change=${()=>{m||e.emit("update:modelValue",String(s.value))}}
247
+ />
248
+ <span
249
+ class=${T("dot",{active:String(a)===String(s.value),disabled:m,"borderless-focus":!m})}
250
+ ></span>
251
+ </div>
252
+ ${s.text?l.html`<span class="radio-label-text">${s.text}</span>`:l.nothing}
253
+ </label>
254
+ </div>
255
+ </div>
256
+ `,$=()=>l.html`
257
+ <div class=${T("radio-container",{segment:!0,"disabled-container":m})}>
258
+ ${h.map(y=>l.html`
259
+ <div
260
+ class=${T("segment-button",{"is-active":String(a)===String(y[c]??""),disabled:m})}
261
+ @click=${()=>{m||e.emit("update:modelValue",y[c]??"")}}
262
+ >
263
+ ${String(y[i]??"")}
264
+ </div>
265
+ `)}
266
+ </div>
267
+ `,R=()=>l.html`
268
+ <div
269
+ class=${T("radio-container",{"disabled-container":m,borderless:s.variant==="borderless",vertical:s.direction==="vertical"})}
270
+ >
271
+ ${h.map((y,b)=>l.html`
272
+ <div class="radio">
273
+ <label for=${`${t}_${b}`} class=${n(b)} style=${te.styleMap(r(b))}>
274
+ <div class="radio-icon-wrapper">
275
+ <input
276
+ type="radio"
277
+ name=${s.name||t}
278
+ id=${`${t}_${b}`}
279
+ .checked=${a===String(y[c]??"")}
280
+ ?disabled=${m}
281
+ class="radio-input"
282
+ @keydown=${M=>{o(M)&&e.emit("update:modelValue",String(y[c]??""))}}
283
+ @change=${()=>e.emit("update:modelValue",String(y[c]??""))}
284
+ />
285
+ <span
286
+ class=${T("dot",{active:a===String(y[c]??""),disabled:m,"borderless-focus":s.variant!=="boxed"&&!m})}
287
+ ></span>
288
+ </div>
289
+ <span class="radio-label-text">${String(y[i]??"")}</span>
290
+ </label>
291
+ </div>
292
+ `)}
293
+ </div>
294
+ `;return l.html`
295
+ <div
296
+ class=${T("moz-radio-buttons",{"label-position-left":s.labelPosition==="left"},s.class)}
297
+ style=${te.styleMap(Pe(s.style))}
298
+ ${he(p)}
299
+ >
300
+ ${s.label?Be({disabled:m,required:s.required},s.label):l.nothing}
301
+ ${u?v():s.variant==="segment"?$():R()}
302
+ </div>
303
+ `}}}}),us={name:"MozRadio",core:Bo,props:["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","itemsSource","value","name","direction","variant","labelPosition","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function jt(e="var(--moz-color-text-subtle)"){return l.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
304
+ <g>
305
+ <path
306
+ d="M0 6C0 4.81331 0.351894 3.65328 1.01118 2.66658C1.67047 1.67989 2.60754 0.910851 3.7039 0.456726C4.80026 0.00259972 6.00666 -0.11622 7.17054 0.115291C8.33443 0.346802 9.40353 0.918247 10.2426 1.75736C11.0818 2.59648 11.6532 3.66558 11.8847 4.82946C12.1162 5.99335 11.9974 7.19975 11.5433 8.2961C11.0892 9.39246 10.3201 10.3295 9.33342 10.9888C8.34673 11.6481 7.18669 12 6 12C4.40927 11.9981 2.88422 11.3654 1.75941 10.2406C0.634589 9.11578 0.00185261 7.59073 0 6ZM1.26 6C1.26 6.93773 1.53808 7.85439 2.05907 8.63407C2.58006 9.41374 3.32057 10.0214 4.18693 10.3802C5.05329 10.739 6.0066 10.8328 6.92629 10.6498C7.84598 10.4668 8.69075 10.0152 9.35375 9.35204C10.0167 8.6889 10.4682 7.84404 10.651 6.92431C10.8338 6.00458 10.7398 5.05129 10.3808 4.18501C10.0218 3.31872 9.41402 2.57835 8.63423 2.05752C7.85445 1.53669 6.93772 1.2588 6 1.259C4.74319 1.26059 3.53832 1.76063 2.64971 2.64942C1.76111 3.53822 1.26132 4.74319 1.26 6ZM5.743 9.7C5.5867 9.7 5.43678 9.63798 5.32616 9.52755C5.21554 9.41712 5.15326 9.26731 5.153 9.111V5.569C5.153 5.41243 5.21513 5.26226 5.32575 5.15146C5.43636 5.04065 5.58643 4.97827 5.743 4.978H6.163C6.31949 4.97853 6.4694 5.041 6.57996 5.15175C6.69052 5.2625 6.75274 5.41251 6.753 5.569V9.11C6.75247 9.26623 6.69011 9.41588 6.57955 9.52626C6.46899 9.63663 6.31922 9.69874 6.163 9.699L5.743 9.7ZM5.743 4.366C5.58652 4.366 5.43645 4.30384 5.32581 4.1932C5.21516 4.08255 5.153 3.93248 5.153 3.776V3.356C5.153 3.19943 5.21513 3.04926 5.32575 2.93846C5.43636 2.82765 5.58643 2.76527 5.743 2.765H6.163C6.31949 2.76553 6.4694 2.828 6.57996 2.93875C6.69052 3.04949 6.75274 3.19951 6.753 3.356V3.776C6.75274 3.9324 6.69049 4.08231 6.5799 4.1929C6.46931 4.30349 6.3194 4.36574 6.163 4.366H5.743Z"
307
+ fill=${e}
308
+ ></path>
309
+ </g>
310
+ </svg>`}const ps=new Set(["label","value","name","type","placeholder","required","disabled","isReadOnly","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),Ho=we({name:"moz-input",defaults:{type:"text",required:!1,disabled:!1,isReadOnly:!1,rules:[],messagePosition:"outside",width:"100%",useInvalidV2:!1},setup(e){const t={change:"",blur:"",save:""};let o=!1;const n=()=>{const a=e.props,u=[];return a.required&&u.push({message:a.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",a.label||a.name||""),type:"save",validator:p=>!!p}),[...u,...a.rules??[]]},r=async(a,u)=>{const p=e.props,v=n();if(v.length<=0||p.disabled||p.isReadOnly)return!0;t[u]="";const $=v.filter(R=>R.type===u);for(const R of $)if(!await R.validator(a))return t[u]=R.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},s=a=>{const u=a.target.value;t.save="",t.blur="",e.emit("update:modelValue",u),r(u,"change")},h=()=>{t.save="",o=!0,e.requestUpdate()},c=a=>{const u=a.target.value;r(u,"blur"),o=!1,e.requestUpdate()},i=a=>{a.key==="Enter"&&e.emit("enter",a)},m={validate:(a="save")=>r(String(e.props.modelValue??""),a),initValidator:()=>{t.change="",t.blur="",t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(m),e.onCleanup(()=>{var a;return(a=e.validator)==null?void 0:a.removeValidator(m)})),{onMounted:a=>{e.emit("mounted",(a==null?void 0:a.querySelector("input"))??null)},render(){const a=e.props,u=String(a.modelValue??""),p=t.save||t.blur||t.change,v=!!a.useInvalidV2,$=a.width?typeof a.width=="number"?`${a.width}px`:a.width:"100%",R=ge(a,ps);return l.html`
311
+ <div
312
+ class=${T("moz-input-wrapper",{"is-invalid":p!==""},a.class)}
313
+ style="width:${$}"
314
+ >
315
+ <div class="input-wrapper">
316
+ ${a.label?Be({isReadOnly:a.isReadOnly,required:a.required},a.label,"input-label"):l.nothing}
317
+ <input
318
+ class=${T("moz-input",{disabled:a.disabled,"read-only":a.isReadOnly,"has-inside-message":!v&&a.messagePosition==="inside"&&p!==""&&!o,"has-invalid-icon":v&&p!==""&&!o})}
319
+ name=${xe.ifDefined(a.name)}
320
+ type=${a.type??"text"}
321
+ placeholder=${xe.ifDefined(a.placeholder)}
322
+ ?disabled=${!!a.disabled}
323
+ ?readonly=${!!a.isReadOnly}
324
+ .value=${Lt.live(u)}
325
+ ${he(R)}
326
+ @input=${s}
327
+ @keypress=${i}
328
+ @focus=${h}
329
+ @blur=${c}
330
+ />
331
+ ${v&&p!==""&&!o?l.html`<div class="moz-input-invalid-icon-v2">
332
+ ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:p}):l.html`<div title=${p}>${jt("var(--moz-color-danger)")}</div>`}
333
+ </div>`:l.nothing}
334
+ ${!v&&p!==""&&!o?l.html`<span class=${T("moz-input-invalid-message",`position-${a.messagePosition}`)}
335
+ >${p}</span
336
+ >`:l.nothing}
337
+ </div>
338
+ </div>
339
+ `}}}}),hs={name:"MozInput",core:Ho,props:["label","value","name","type","placeholder","required","disabled","isReadOnly","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue"],emits:["enter","mounted","update:modelValue"],slots:["invalidTooltip"],expose:!1};function Oo(){return l.html`<svg data-icon="password-hidden" width="18" height="18" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
340
+ <path d="M1.5 1.5L16.5 14.5" stroke="var(--moz-color-text-secondary)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
341
+ <path
342
+ d="M7.5 8C7.5 7.17157 8.17157 6.5 9 6.5C9.82843 6.5 10.5 7.17157 10.5 8C10.5 8.82843 9.82843 9.5 9 9.5C8.17157 9.5 7.5 8.82843 7.5 8Z"
343
+ stroke="var(--moz-color-text-secondary)"
344
+ stroke-width="1.5"
345
+ ></path>
346
+ <path
347
+ d="M9 3C5.5 3 2.5 5.5 1 8C2.5 10.5 5.5 13 9 13C12.5 13 15.5 10.5 17 8C15.5 5.5 12.5 3 9 3Z"
348
+ stroke="var(--moz-color-text-secondary)"
349
+ stroke-width="1.5"
350
+ stroke-linecap="round"
351
+ stroke-linejoin="round"
352
+ ></path>
353
+ </svg>`}function Uo(){return l.html`<svg data-icon="password-visible" width="18" height="18" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg">
354
+ <path
355
+ d="M7.5 6C7.5 5.17157 8.17157 4.5 9 4.5C9.82843 4.5 10.5 5.17157 10.5 6C10.5 6.82843 9.82843 7.5 9 7.5C8.17157 7.5 7.5 6.82843 7.5 6Z"
356
+ stroke="var(--moz-color-text-secondary)"
357
+ stroke-width="1.5"
358
+ ></path>
359
+ <path
360
+ d="M9 1C5.5 1 2.5 3.5 1 6C2.5 8.5 5.5 11 9 11C12.5 11 15.5 8.5 17 6C15.5 3.5 12.5 1 9 1Z"
361
+ stroke="var(--moz-color-text-secondary)"
362
+ stroke-width="1.5"
363
+ stroke-linecap="round"
364
+ stroke-linejoin="round"
365
+ ></path>
366
+ </svg>`}const ms=new Set(["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),fs=typeof navigator<"u"&&/Edg/.test(navigator.userAgent)?"edge-password":"",_o=we({name:"moz-password-input",defaults:{required:!1,disabled:!1,rules:[],messagePosition:"outside",width:"100%",useInvalidV2:!1},setup(e){const t={change:"",blur:"",save:""};let o=!1,n=!1;const r=()=>{const p=e.props,v=[];return p.required&&v.push({message:p.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",p.label||p.name||""),type:"save",validator:$=>!!$}),[...v,...p.rules??[]]},s=async(p,v)=>{const $=e.props,R=r();if(R.length<=0||$.disabled)return!0;t[v]="";for(const y of R.filter(b=>b.type===v))if(!await y.validator(p))return t[v]=y.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},h=p=>{const v=p.target.value;t.save="",t.blur="",e.emit("update:modelValue",v),s(v,"change")},c=()=>{t.save="",o=!0,e.requestUpdate()},i=p=>{s(p.target.value,"blur"),o=!1,e.requestUpdate()},m=p=>{p.key==="Enter"&&e.emit("enter",p)},a=()=>{e.props.disabled||(n=!n,e.requestUpdate())},u={validate:(p="save")=>s(String(e.props.modelValue??""),p),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(u),e.onCleanup(()=>{var p;return(p=e.validator)==null?void 0:p.removeValidator(u)})),{onMounted:p=>e.emit("mounted",(p==null?void 0:p.querySelector("input"))??null),render(){const p=e.props;p.disabled&&(n=!1);const v=String(p.modelValue??""),$=t.save||t.blur||t.change,R=!!p.useInvalidV2,y=p.width?typeof p.width=="number"?`${p.width}px`:p.width:"100%",b=ge(p,ms);return l.html`
367
+ <div
368
+ class=${T("moz-password-input-container",{"is-invalid":$!=="",disabled:p.disabled},p.class)}
369
+ >
370
+ <div class="input-wrapper">
371
+ ${p.label?Be({disabled:p.disabled,required:p.required},p.label,"moz-input-label"):l.nothing}
372
+ <div class="moz-password-input-wrapper" style="width:${y}">
373
+ <input
374
+ autocomplete="new-password"
375
+ style="width:${y}"
376
+ class=${T("moz-input",fs,{disabled:p.disabled,"has-inside-message":!R&&p.messagePosition==="inside"&&$!==""&&!o,"has-invalid-icon":R&&$!==""&&!o})}
377
+ name=${xe.ifDefined(p.name)}
378
+ type=${n?"text":"password"}
379
+ placeholder=${xe.ifDefined(p.placeholder)}
380
+ ?disabled=${!!p.disabled}
381
+ .value=${Lt.live(v)}
382
+ ${he(b)}
383
+ @input=${h}
384
+ @keypress=${m}
385
+ @focus=${c}
386
+ @blur=${i}
387
+ />
388
+ <button
389
+ type="button"
390
+ aria-label=${n?e.locale.PasswordInput.hidePassword:e.locale.PasswordInput.showPassword}
391
+ aria-pressed=${n?"true":"false"}
392
+ class=${T("icon-container password-icon",{"cursor-pointer":!p.disabled,"cursor-not-allowed":p.disabled})}
393
+ ?disabled=${!!p.disabled}
394
+ @click=${a}
395
+ >
396
+ ${n?Oo():Uo()}
397
+ </button>
398
+ ${R&&$!==""&&!o?l.html`<div class="moz-input-invalid-icon-v2">
399
+ ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:$}):l.html`<div title=${$}>${jt("var(--moz-color-danger)")}</div>`}
400
+ </div>`:l.nothing}
401
+ ${!R&&$!==""&&!o?l.html`<span class=${T("moz-input-invalid-message",`position-${p.messagePosition}`)}
402
+ >${$}</span
403
+ >`:l.nothing}
404
+ </div>
405
+ </div>
406
+ </div>
407
+ `}}}}),gs={name:"MozPasswordInput",core:_o,props:["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue"],emits:["enter","mounted","update:modelValue"],slots:["invalidTooltip"],expose:!1},vs=new Set(["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue","class","style"]),No=we({name:"moz-textarea",defaults:{id:"moz-text-area-id",height:80,required:!1,disabled:!1,rules:[],maxLength:null,resize:"none",immediatelyFocus:!1,modelValue:""},setup(e){const t={change:"",blur:"",save:""},o=()=>{const i=e.props,m=[];return i.required&&m.push({message:i.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",i.label||""),type:"save",validator:a=>!!a}),[...m,...i.rules??[]]},n=async(i,m)=>{const a=e.props,u=o();if(u.length<=0||a.disabled)return!0;t[m]="";for(const p of u.filter(v=>v.type===m))if(!await p.validator(i))return t[m]=p.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},r=i=>{const m=i.target,a=e.props;m.value&&a.maxLength&&m.value.length>a.maxLength&&(m.value=m.value.slice(0,a.maxLength)),e.emit("update:modelValue",m.value),n(m.value,"change")},s=i=>{n(i.target.value,"blur")},h=()=>{t.save="",e.requestUpdate()},c={validate:(i="save")=>n(String(e.props.modelValue??""),i),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(c),e.onCleanup(()=>{var i;return(i=e.validator)==null?void 0:i.removeValidator(c)})),{onMounted:i=>{var m;e.props.immediatelyFocus&&((m=i==null?void 0:i.querySelector("textarea"))==null||m.focus())},render(){const i=e.props,m=String(i.modelValue??""),a=t.save||t.blur||t.change,u=i.width?typeof i.width=="number"?`${Le(i.width)}rem`:i.width:"100%",p=`${Le(i.height??80)}rem`,v=i.resize??"none",$=v==="none"?`height:${p}`:`min-height:${p}`,R=m.length,y=ge(i,vs);return l.html`
408
+ <div
409
+ class=${T("moz-textarea-wrapper",{disabled:i.disabled},i.class)}
410
+ style="width:${u};${$}"
411
+ >
412
+ <div class="textarea-inner">
413
+ ${i.label?Be({for:i.id,disabled:i.disabled,required:i.required},i.label):l.nothing}
414
+ <div class=${T("moz-textarea-box",{disabled:i.disabled,invalid:a!==""})}>
415
+ <textarea
416
+ id=${xe.ifDefined(i.id)}
417
+ ${he(y)}
418
+ .value=${Lt.live(m)}
419
+ ?disabled=${!!i.disabled}
420
+ maxlength=${xe.ifDefined(i.maxLength??void 0)}
421
+ class=${T("moz-textarea",{disabled:i.disabled})}
422
+ style=${te.styleMap({resize:v==="none"?void 0:v,height:v==="none"?void 0:"auto"})}
423
+ @input=${r}
424
+ @blur=${s}
425
+ @focus=${h}
426
+ ></textarea>
427
+ ${i.maxLength?l.html`<div class="char-counter"><span>${R}</span><span>/</span><span>${i.maxLength}</span></div>`:l.nothing}
428
+ </div>
429
+ </div>
430
+ ${a!==""?l.html`<span class="moz-textarea-invalid-message">${a}</span>`:l.nothing}
431
+ </div>
432
+ `}}}}),ws={name:"MozTextArea",core:No,props:["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function Cs(e="var(--moz-color-on-accent)",t=!1){return l.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
433
+ <path d="M7 1V13M1 7H13" stroke=${t?"var(--moz-color-text-muted)":e} stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
434
+ </svg>`}function ys(e="var(--moz-color-on-accent)",t=!1){return l.html`<svg width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">
435
+ <path d="M1 1H13" stroke=${t?"var(--moz-color-text-muted)":e} stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
436
+ </svg>`}function bs(e=!1){return l.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
437
+ <path d="M9.50097 7.73588L5.95565 4.27686L2.49904 7.73588" stroke=${e?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)"} stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"></path>
438
+ </svg>`}function $s(e=!1){return l.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
439
+ <path d="M2.49901 4.27686L6.04435 7.73588L9.50099 4.27686" stroke=${e?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)"} stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"></path>
440
+ </svg>`}const Ss=new Set(["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue","class","style"]),Wo=we({name:"moz-number-input",defaults:{label:"",width:100,required:!1,step:1,min:-Number.MAX_VALUE,max:Number.MAX_VALUE,disabled:!1,shortMode:!1,nullable:!1},setup(e){const t=()=>{const c=e.props;if(c.disabled||c.modelValue===void 0)return;const i=c.modelValue+c.step;c.max!==void 0&&c.max!==null&&i>c.max||(e.emit("update:modelValue",i),e.emit("change",i))},o=()=>{const c=e.props;if(c.disabled||c.modelValue===void 0)return;const i=c.modelValue-c.step;c.min!==void 0&&c.min!==null&&i<c.min||(e.emit("update:modelValue",i),e.emit("change",i))},n=c=>{const i=e.props;if(i.disabled||i.nullable||c.key!=="Backspace"&&c.key!=="Delete"||i.min===-Number.MAX_VALUE||Number(i.modelValue)!==Number(i.min))return;const m=c.target,a=m.selectionStart??0,u=m.selectionEnd??0,p=m.value,v=a!==u;(v&&a===0&&u===p.length||!v&&p.length===1)&&c.preventDefault()},r=c=>{const i=e.props;if(i.disabled||i.nullable)return;const m=c.target;if(m.value===""){const a=i.min!==-Number.MAX_VALUE?i.min:0;e.emit("update:modelValue",a),m.value=String(a),e.emit("change",a)}},s=c=>{const i=e.props;if(i.disabled)return;const m=c.target;if(!m&&!i.nullable){e.emit("update:modelValue",0),e.emit("change",0);return}if(!m)return;Number(m.value)<i.min&&(m.value=String(i.min)),Number(m.value)>i.max&&(m.value=String(i.max));const a=+m.value.replace(/,/g,"");e.emit("update:modelValue",a),e.emit("change",a)},h=c=>{c.key==="Enter"&&e.emit("enter",c)};return{onMounted:c=>e.emit("mounted",(c==null?void 0:c.querySelector("input"))??null),render(){const c=e.props,i=c.modelValue,m=!!c.disabled,a=c.min,u=c.max,p=typeof c.width=="number"?`${Le(c.width)}rem`:c.width,v=ge(c,Ss),$=y=>T("moz-button","moz-icon-button","moz-icon-accent-button","num-change-btn",y),R=l.html`
441
+ <div class=${T("moz-number-input",{"input-border":c.shortMode})}>
442
+ <input
443
+ name=${xe.ifDefined(c.name)}
444
+ ?disabled=${m}
445
+ .value=${Lt.live(String(i??""))}
446
+ ${he(v)}
447
+ @input=${s}
448
+ @change=${s}
449
+ @blur=${r}
450
+ @keydown=${n}
451
+ @keypress=${h}
452
+ type="number"
453
+ />
454
+ <div class="moz-number-input-btn">
455
+ ${c.shortMode?l.html`
456
+ <button type="button" aria-label=${e.locale.NumberInput.increase} class="moz-number-input-btn-icon" @click=${t}>${bs(m)}</button>
457
+ <button type="button" aria-label=${e.locale.NumberInput.decrease} class="moz-number-input-btn-icon" @click=${o}>${$s(m)}</button>
458
+ `:l.nothing}
459
+ </div>
460
+ </div>
461
+ `;return l.html`
462
+ <div class=${T("moz-number-input-container",{disabled:m},c.class)}>
463
+ ${c.label?Be({disabled:m},l.html`${c.label}${c.required?l.html`<span class="require-mark">*</span>`:l.nothing}`):l.nothing}
464
+ <div class="moz-number-input-wrapper" style="width:${p}">
465
+ ${c.shortMode?l.nothing:l.html`<button
466
+ type="button"
467
+ aria-label=${e.locale.NumberInput.decrease}
468
+ class=${$({disabled:m||a>=i,"min-disabled":a>=i})}
469
+ style="border-radius: 4px 0px 0px 4px"
470
+ ?disabled=${m}
471
+ @click=${o}
472
+ >
473
+ ${ys("var(--moz-color-on-accent)",m||a>=i)}
474
+ </button>`}
475
+ ${R}
476
+ ${c.shortMode?l.nothing:l.html`<button
477
+ type="button"
478
+ aria-label=${e.locale.NumberInput.increase}
479
+ class=${$({disabled:m||u<=i,"max-disabled":u<=i})}
480
+ style="border-radius: 0px 4px 4px 0px"
481
+ ?disabled=${m}
482
+ @click=${t}
483
+ >
484
+ ${Cs("var(--moz-color-on-accent)",m||u<=i)}
485
+ </button>`}
486
+ </div>
487
+ </div>
488
+ `}}}}),ks={name:"MozNumberInput",core:Wo,props:["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue"],emits:["change","mounted","enter","update:modelValue"],slots:[],expose:!1};function Ko(e="var(--moz-color-text-subtle)"){return l.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
489
+ <path d="M9 3L3 9M3 3L9 9" stroke=${e} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
490
+ </svg>`}const Es=new Set(["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue","class","style"]),Go=we({name:"moz-tab",defaults:{vertical:!1,tabWidth:100,closeAble:!1,itemSource:[]},setup(e){const t=Xe("tab_"),o=i=>`${t}-tab-${i}`,n=i=>`${t}-panel-${i}`,r=i=>typeof requestAnimationFrame=="function"?requestAnimationFrame(i):setTimeout(i,16),s=i=>{e.props.modelValue!==i&&(e.emit("update:modelValue",i),e.emit("change",i))},h=(i,m)=>{const a=e.props,u=(a.itemSource??[]).map(S=>S.id);if(u.length===0)return;const p=a.vertical?"ArrowDown":"ArrowRight",v=a.vertical?"ArrowUp":"ArrowLeft";let $;if(i.key===p?$=u[(u.indexOf(m)+1)%u.length]:i.key===v?$=u[(u.indexOf(m)-1+u.length)%u.length]:i.key==="Home"?$=u[0]:i.key==="End"?$=u[u.length-1]:(i.key==="Enter"||i.key===" ")&&($=m),$===void 0)return;i.preventDefault(),i.stopPropagation(),s($);const R=i.currentTarget.closest('[role="tablist"]'),y=o($);let b=0;const M=()=>{const S=Array.from((R==null?void 0:R.querySelectorAll('[role="tab"]'))??[]).find(L=>L.id===y);if(S&&S.getAttribute("aria-selected")==="true"){S.focus();return}++b<20&&r(M)};r(M)},c=i=>{const m=e.props;if(m.modelValue===i){const a=(m.itemSource??[]).filter(u=>u.id!==i);a.length>0&&s(a[a.length-1].id)}e.emit("close",i)};return{onMounted:()=>{const i=e.props;!i.modelValue&&(i.itemSource??[]).length>0&&queueMicrotask(()=>{!e.props.modelValue&&(e.props.itemSource??[]).length>0&&s(e.props.itemSource[0].id)})},render(){const i=e.props,m=i.itemSource??[],a=i.modelValue,u=ge(i,Es),p=te.styleMap({width:i.closeAble?`${i.tabWidth}px`:"",maxWidth:i.maxTabWidth?`${i.maxTabWidth}px`:void 0,display:"flex",justifyContent:i.closeAble||i.vertical?"space-between":"center",alignItems:i.vertical?"center":"normal"});return l.html`
491
+ <div
492
+ class=${T("moz-tabs-container",{vertical:i.vertical},i.class)}
493
+ style=${te.styleMap(Pe(i.style))}
494
+ ${he(u)}
495
+ >
496
+ <div
497
+ class=${T("moz-tabs",{vertical:i.vertical})}
498
+ role="tablist"
499
+ aria-orientation=${i.vertical?"vertical":"horizontal"}
500
+ >
501
+ ${m.map(v=>{const $=a===v.id;return l.html`
502
+ <div
503
+ class=${T("moz-tab",{"current-tab":$,vertical:i.vertical,closeable:i.closeAble})}
504
+ style=${p}
505
+ id=${o(v.id)}
506
+ role="tab"
507
+ aria-selected=${$?"true":"false"}
508
+ aria-controls=${n(v.id)}
509
+ tabindex=${$?"0":"-1"}
510
+ @click=${()=>s(v.id)}
511
+ @mousedown=${R=>{R.button===0&&s(v.id)}}
512
+ @keydown=${R=>h(R,v.id)}
513
+ >
514
+ ${e.slots.has(`${v.id}-tab`)?e.slot(`${v.id}-tab`,{text:v.text,active:$}):l.html`<p class=${T("tab-label",{active:$})}>${v.text}</p>`}
515
+ ${i.closeAble?l.html`<button type="button"
516
+ class="tab-close-btn"
517
+ aria-label=${e.locale.Tab.closeTab.replace("{label}",v.text??"")}
518
+ @click=${R=>{R.stopPropagation(),c(v.id)}}
519
+ >
520
+ ${Ko()}
521
+ </button>`:l.nothing}
522
+ </div>
523
+ `})}
524
+ </div>
525
+ <div class="moz-tab-body">
526
+ ${m.map(v=>l.html`
527
+ <div
528
+ class=${T("tab-panel",{active:a===v.id})}
529
+ id=${n(v.id)}
530
+ role="tabpanel"
531
+ aria-labelledby=${o(v.id)}
532
+ tabindex=${a===v.id?"0":"-1"}
533
+ ?hidden=${a!==v.id}
534
+ >
535
+ ${e.slot(v.id,{active:a===v.id})}
536
+ </div>
537
+ `)}
538
+ </div>
539
+ </div>
540
+ `}}}}),Ps={name:"MozTab",core:Go,props:["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue"],emits:["change","close","update:modelValue"],slots:[],expose:!1},xs=new Set(["id","width","label","min","max","step","disabled","modelValue","class","style"]),Yo=we({name:"moz-slider",defaults:{id:"moz-slider-id",width:150,min:0,max:100,step:1,disabled:!1,modelValue:0},setup(e){let t=!1,o=null,n=null;const r=u=>{const p=e.props;if(!o)return;const v=o.getBoundingClientRect(),R=(u.clientX-v.left)/o.offsetWidth;let y=Math.round(p.min+(p.max-p.min)*R);y<p.min?y=p.min:y>p.max&&(y=p.max);const b=Math.round(y/p.step)*p.step;e.emit("update:modelValue",b),e.emit("change")},s=()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",s),n==null||n.focus()},h=u=>{e.props.disabled||(u.preventDefault(),n=u.currentTarget,o=n.querySelector(".moz-slider"),r(u),window.addEventListener("mousemove",r),window.addEventListener("mouseup",s))},c=u=>{const p=e.props;let v=p.modelValue??0;u==="-"?v-=p.step:v+=p.step,v>p.max?v=p.max:v<p.min&&(v=p.min),e.emit("update:modelValue",v),e.emit("change")},i=u=>{u.key==="ArrowLeft"||u.keyCode===37?c("-"):(u.key==="ArrowRight"||u.keyCode===39)&&c("+")},m=()=>{t=!0,e.requestUpdate()},a=()=>{t=!1,e.requestUpdate()};return e.onCleanup(()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",s)}),{render(){const u=e.props,p=u.modelValue??0,v=!!u.disabled,$=u.min,R=u.max,y=typeof u.width=="number"?`${Le(u.width)}rem`:u.width,b=typeof u.width=="number"?u.width:Number.isNaN(parseFloat(String(u.width)))?150:parseFloat(String(u.width)),S=(p-$)/(R-$)*(b-18),L=S<0?0:S,X=ge(u,xs);return l.html`
541
+ <div class=${T("moz-slider-wrapper",u.class)} style=${te.styleMap(Pe(u.style))} ${he(X)}>
542
+ ${u.label?Be({for:u.id},u.label):l.nothing}
543
+ <div
544
+ class=${T("moz-slider-container",{disabled:v,label:!!u.label})}
545
+ role="slider"
546
+ aria-valuenow=${String(p??0)}
547
+ aria-valuemin=${String(u.min??0)}
548
+ aria-valuemax=${String(u.max??100)}
549
+ aria-orientation="horizontal"
550
+ aria-disabled=${v?"true":"false"}
551
+ aria-label=${xe.ifDefined(u.label)}
552
+ tabindex=${v?"-1":"0"}
553
+ @mousedown=${h}
554
+ @focus=${m}
555
+ @blur=${a}
556
+ @keydown=${i}
557
+ >
558
+ <div class="moz-slider" style="width:${y}">
559
+ <div class="moz-slider-track" style="width:${Le(L+10)}rem"></div>
560
+ </div>
561
+ <div
562
+ class=${T("moz-slider-handle",{focused:t&&!v})}
563
+ style="left:${Le(L)}rem"
564
+ ></div>
565
+ </div>
566
+ </div>
567
+ `}}}}),Ls={name:"MozSlider",core:Yo,props:["id","width","label","min","max","step","disabled","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1};function Ts(e="var(--moz-color-text-subtle)"){return l.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
568
+ <path d="M3 4.5L6 7.5L9 4.5" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
569
+ </svg>`}function Ms(e="var(--moz-color-text-subtle)"){return l.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
570
+ <path
571
+ fill-rule="evenodd"
572
+ clip-rule="evenodd"
573
+ d="M6.44838 8.48894C6.76426 8.18002 6.7699 7.67352 6.46097 7.35764L4.12588 4.96996L6.45391 2.64852C6.76677 2.33654 6.76749 1.83001 6.45551 1.51715C6.14354 1.20429 5.637 1.20357 5.32414 1.51555L2.4351 4.39641C2.12439 4.70624 2.12124 5.20853 2.42804 5.52225L5.31708 8.47635C5.626 8.79223 6.1325 8.79787 6.44838 8.48894Z"
574
+ fill=${e}
575
+ ></path>
576
+ </svg>`}function zs(e="var(--moz-color-text-subtle)"){return l.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
577
+ <path
578
+ fill-rule="evenodd"
579
+ clip-rule="evenodd"
580
+ d="M3.72667 8.48894C3.41079 8.18002 3.40515 7.67352 3.71407 7.35764L6.04917 4.96996L3.72114 2.64852C3.40828 2.33654 3.40756 1.83001 3.71954 1.51715C4.03151 1.20429 4.53804 1.20357 4.85091 1.51555L7.73994 4.39641C8.05066 4.70624 8.05381 5.20853 7.74701 5.52225L4.85797 8.47635C4.54905 8.79223 4.04255 8.79787 3.72667 8.48894Z"
581
+ fill=${e}
582
+ ></path>
583
+ </svg>`}function Vs(e="var(--moz-color-text-subtle)"){return l.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
584
+ <path
585
+ d="M11.5 2.7H2.50001C1.78204 2.7 1.20001 3.28203 1.20001 4V12C1.20001 12.718 1.78204 13.3 2.50001 13.3H11.5C12.218 13.3 12.8 12.718 12.8 12V4C12.8 3.28203 12.218 2.7 11.5 2.7Z"
586
+ stroke=${e}
587
+ stroke-width="1.4"
588
+ ></path>
589
+ <path d="M3.41699 0.900391V2.42939" stroke=${e} stroke-width="1.8" stroke-linecap="round"></path>
590
+ <path d="M10.583 0.900391V2.42939" stroke=${e} stroke-width="1.8" stroke-linecap="round"></path>
591
+ <path
592
+ d="M2.5 2H11.5C12.0304 2 12.5391 2.21071 12.9142 2.58579C13.2893 2.96086 13.5 3.46957 13.5 4V6H0.5V4C0.5 3.46957 0.710714 2.96086 1.08579 2.58579C1.46086 2.21071 1.96957 2 2.5 2Z"
593
+ fill=${e}
594
+ ></path>
595
+ <rect x="3.34009" y="7.41504" width="2.93262" height="2.93262" rx="0.5" fill=${e}></rect>
596
+ </svg>`}const Ds=new Set(["rowHeight","exceptWeeks","min","max","modelValue","class","style"]),Rs=(e,...t)=>e.filter(o=>!t.includes(o)),Xt=we({name:"moz-calendar",defaults:{rowHeight:36,exceptWeeks:[],min:null,max:null},setup(e){let t=e.props.modelValue?Ee(e.props.modelValue):Ee(),o=e.props.modelValue,n=!0,r=!1,s=!1,h=-1;const c=S=>{const L=e.props;return!!L.min&&S.isBefore(L.min,"day")||!!L.max&&S.isAfter(L.max,"day")},i=S=>{const L=e.props;return!!L.min&&S.endOf("year").isBefore(L.min,"day")||!!L.max&&S.startOf("year").isAfter(L.max,"day")},m=S=>{const L=e.props;return!!L.min&&S.endOf("month").isBefore(L.min,"day")||!!L.max&&S.startOf("month").isAfter(L.max,"day")},a=()=>{t=t.subtract(1,"M"),e.requestUpdate()},u=()=>{t=t.add(1,"M"),e.requestUpdate()},p=()=>{n=!0,r=!1,s=!1,e.requestUpdate()},v=()=>{n=!1,r=!0,s=!1,e.requestUpdate()},$=()=>{n=!1,r=!1,s=!0,e.requestUpdate()},R=S=>{i(S)||(t=t.set("year",S.year()),n=!0,r=!1,s=!1,e.requestUpdate())},y=S=>{m(S)||(t=t.set("month",S.month()),n=!0,r=!1,s=!1,e.requestUpdate())},b=S=>{c(S)||e.emit("update:modelValue",Ee(S))},M=()=>b(Ee());return{render(){const S=e.props;S.modelValue!==o&&(o=S.modelValue,t=S.modelValue?Ee(S.modelValue):Ee());const L=S.rowHeight??36,X=["ko","zh","zh-cn"].includes(Ee().locale()),j=t.hour(),re=t.minute(),de=t.second(),ee=V=>V.set("hour",j||0).set("minute",re||0).set("second",de||0),W=Rs([0,1,2,3,4,5,6],...S.exceptWeeks??[]),z=[];{const V=ee(t.endOf("M"));let D=ee(t.startOf("M")).startOf("w");do z.push(D),D=D.add(7,"d");while(D.diff(V)<=0)}const G=L*z.length+126;G!==h&&(h=G,queueMicrotask(()=>e.emit("setMaxHeight",G)));const le=(V,D)=>{const U=V.add(D,"d");return t.format("YYYYMMDD")!==U.format("YYYYMMDD")?t.format("MM")===U.format("MM")?"":"moz-calendar-column-otherMonth":""},se=S.modelValue?Ee(S.modelValue).format("YYYYMMDD"):"",J=(V,D,U)=>l.html`<button
597
+ type="button"
598
+ aria-label=${U}
599
+ class="moz-button moz-icon-button"
600
+ style="width:24px;height:24px;min-width:24px;min-height:24px"
601
+ @click=${D}
602
+ >
603
+ ${V}
604
+ </button>`,O=l.html`
605
+ <div class="moz-calendar-header">
606
+ <div class="moz-calendar-select">
607
+ ${X?l.html`
608
+ <div class="moz-calendar-select__text" @click=${v}>
609
+ ${new Intl.DateTimeFormat(Ee().locale(),{year:"numeric"}).format(t.toDate())}
610
+ </div>
611
+ <div class="moz-calendar-select__text" @click=${$}>${t.format("MMMM")}</div>
612
+ `:l.html`
613
+ <div class="moz-calendar-select__text" @click=${$}>${t.format("MMMM")}</div>
614
+ <div class="moz-calendar-select__text" @click=${v}>${t.format("YYYY")}</div>
615
+ `}
616
+ <div class="moz-calendar-select-btn" @click=${p}>${Ts("currentColor")}</div>
617
+ </div>
618
+ <div class="moz-calendar-header__spacer"></div>
619
+ <div class="moz-calendar-select-btn-group">
620
+ ${J(Ms(),a,"이전 달")}${J(Vs(),M,"오늘")}${J(zs(),u,"다음 달")}
621
+ </div>
622
+ </div>
623
+ `,k=l.html`
624
+ <div class="moz-calendar-row">
625
+ ${W.map(V=>l.html`<div
626
+ class="moz-calendar-column moz-calendar-column-day"
627
+ style="width: ${100/W.length}%; height: ${Le(L)}rem;"
628
+ >
629
+ ${Ee().day(V).format("ddd")}
630
+ </div>`)}
631
+ </div>
632
+ ${z.map(V=>l.html`<div class="moz-calendar-row">
633
+ ${W.map(D=>{const U=V.add(D,"d");return l.html`<div
634
+ class=${T("moz-calendar-column",le(V,D),se===U.format("YYYYMMDD")?"moz-calendar-selected":"",c(U)?"date-disable":"moz-calendar-column--hoverable")}
635
+ style="width: ${100/W.length}%; height: ${Le(L)}rem"
636
+ @click=${()=>b(U)}
637
+ >
638
+ ${U.format("DD")}
639
+ </div>`})}
640
+ </div>`)}
641
+ `;let _=l.nothing;if(r){const V=[],D=Ee().add(100,"y").startOf("y");let U=Ee().subtract(100,"y").startOf("y");do V.push(U),U=U.add(1,"y");while(U.diff(D)<=0);_=l.html`<div
642
+ class="moz-calendar-row moz-calendar-row--wrap"
643
+ style="max-height: ${Le(L*z.length)}rem"
644
+ >
645
+ ${V.map(g=>l.html`<div
646
+ class=${T("moz-calendar-column",t.format("YYYY")===g.format("YYYY")?"moz-calendar-selected":"",i(g)?"date-disable":"moz-calendar-column--hoverable")}
647
+ style="width: ${100/3}%; height: ${Le(L)}rem"
648
+ @click=${()=>R(g)}
649
+ >
650
+ ${g.format("YYYY")}
651
+ </div>`)}
652
+ </div>`}let Z=l.nothing;if(s){const V=[],D=t.endOf("y");let U=t.startOf("y");do V.push(U),U=U.add(1,"M");while(U.diff(D)<=0);Z=l.html`<div class="moz-calendar-row moz-calendar-row--wrap">
653
+ ${V.map(g=>l.html`<div
654
+ class=${T("moz-calendar-column",t.format("YYYYMM")===g.format("YYYYMM")?"moz-calendar-selected":"",m(g)?"date-disable":"moz-calendar-column--hoverable")}
655
+ style="width: ${100/3}%; height: ${Le(L)}rem"
656
+ @click=${()=>y(g)}
657
+ >
658
+ ${g.format("MMM")}
659
+ </div>`)}
660
+ </div>`}const P=ge(S,Ds);return l.html`
661
+ <div class=${T("moz-calendar-container",S.class)} ${he(P)}>
662
+ ${O}${n?k:l.nothing}${_}${Z}
663
+ </div>
664
+ `}}}}),As={name:"MozCalendar",core:Xt,props:["rowHeight","exceptWeeks","min","max","modelValue"],emits:["changed","setMaxHeight","update:modelValue"],slots:[],expose:!1};function qs(e="var(--moz-color-on-accent)",t="14",o=!1){return l.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
665
+ <path d="M8.5 3.5L5.5 7L8.5 10.5" stroke=${o?"var(--moz-color-text-muted)":e} stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"></path>
666
+ </svg>`}function Is(e="var(--moz-color-on-accent)",t="14",o=!1){return l.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
667
+ <path d="M5.5 3.5L8.5 7L5.5 10.5" stroke=${o?"var(--moz-color-text-muted)":e} stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"></path>
668
+ </svg>`}function Fs(e="var(--moz-color-text-subtle)",t=""){return l.html`<svg class=${t} width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
669
+ <path
670
+ d="M12 2.70001H3.00001C2.28204 2.70001 1.70001 3.28204 1.70001 4.00001V12C1.70001 12.718 2.28204 13.3 3.00001 13.3H12C12.718 13.3 13.3 12.718 13.3 12V4.00001C13.3 3.28204 12.718 2.70001 12 2.70001Z"
671
+ stroke=${e}
672
+ stroke-width="1.4"
673
+ ></path>
674
+ <path d="M3.91699 0.899994V2.42899" stroke=${e} stroke-width="1.8" stroke-linecap="round"></path>
675
+ <path d="M11.083 0.899994V2.42899" stroke=${e} stroke-width="1.8" stroke-linecap="round"></path>
676
+ <path
677
+ d="M3 2H12C12.5304 2 13.0391 2.21071 13.4142 2.58579C13.7893 2.96086 14 3.46957 14 4V6H1V4C1 3.46957 1.21071 2.96086 1.58579 2.58579C1.96086 2.21071 2.46957 2 3 2Z"
678
+ fill=${e}
679
+ ></path>
680
+ </svg>`}const Bs="YYYY-MM-DD",Hs=new Set(["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue","class","style"]),Zo=we({name:"moz-date-input",defaults:{label:"",width:200,required:!1,disabled:!1,readonly:!1,showSpin:!1,min:null,max:null},setup(e){let t=!1,o=270,n=e.props.modelValue,r=null,s=null;const h=new kt,c=y=>{const b=e.props.modelValue;let M;y&&b instanceof Date?M=Ee(y).toDate():y&&Ee.isDayjs(b)||!b&&y?M=Ee(y):M=void 0,e.emit("update:modelValue",M)},i=((y,...b)=>{y==="update:modelValue"?c(b[0]):y==="setMaxHeight"&&(o=b[0],m.calcPosition())}),m=new pt({anchor:()=>r==null?void 0:r.querySelector(".moz-date-input-wrapper"),panel:()=>h.element,maxHeight:()=>o,ignoreScrollTargets:y=>(y&&typeof y.className=="string"?y.className:"").split(" ").includes("moz-calendar-row"),container:()=>r,requestClose:()=>{t&&(t=!1,u(),e.requestUpdate())}}),a=()=>{const y=h.open("calendar-container");s=Xt(y,{modelValue:e.props.modelValue,min:e.props.min,max:e.props.max},i),m.open()},u=()=>{m.close(),s==null||s.destroy(),s=null,h.close(),e.emit("close")},p=()=>{var b;const y=e.props;y.disabled||y.readonly||(t=!t,t?((b=r==null?void 0:r.querySelector("input"))==null||b.focus(),a()):u(),e.requestUpdate())},v=()=>{e.props.modelValue&&c(Ee(e.props.modelValue).subtract(1,"d"))},$=()=>{e.props.modelValue&&c(Ee(e.props.modelValue).add(1,"d"))},R=y=>{const b=y.target,M=e.props.modelValue;M?Ee.isDayjs(M)&&Ee(b.value).isValid()?c(Ee(b.value)):M instanceof Date&&!Number.isNaN(Date.parse(b.value))?c(new Date(b.value)):c(void 0):c(Ee(b.value))};return e.onCleanup(()=>{m.destroy(),s==null||s.destroy(),h.close()}),{onMounted:y=>{r=y},render(){const y=e.props;if(y.modelValue!==n){n=y.modelValue;const de=y.modelValue;queueMicrotask(()=>e.emit("change",de)),s&&s.update({modelValue:y.modelValue})}const b=y.format||Bs,M=typeof y.width=="number"?`${Le(y.width)}rem`:y.width,S=y.modelValue?Ee(y.modelValue).format(b):"",L=!!y.min&&Ee(S).isSameOrBefore(Ee(y.min),"day"),X=!!y.max&&Ee(S).isSameOrAfter(Ee(y.max),"day"),j=ge(y,Hs),re=(de,ee,W,z)=>l.html`<button
681
+ type="button"
682
+ aria-label=${ee==="left"?e.locale.DateInput.prevDate:e.locale.DateInput.nextDate}
683
+ class=${T("moz-button","moz-icon-button","moz-icon-accent-button","moz-icon-text-button","date-move-btn",`date-move-btn--${ee}`,{"date-move-btn--disabled":W})}
684
+ ?disabled=${W}
685
+ @click=${z}
686
+ >
687
+ ${de}
688
+ </button>`;return l.html`
689
+ <div
690
+ class=${T("moz-date-input-container",{disabled:y.disabled},y.class)}
691
+ style=${te.styleMap({...Pe(y.style),width:M})}
692
+ >
693
+ ${y.label?Be({disabled:y.disabled},l.html`${y.label}${y.required?l.html`<span class="require-mark">*</span>`:l.nothing}`):l.nothing}
694
+ <div class="moz-date-input-wrapper" style="width:${M}">
695
+ ${y.showSpin?re(qs("var(--moz-color-on-accent)","14",y.disabled||L),"left",L,v):l.nothing}
696
+ <div
697
+ class=${T("moz-date-input",{"moz-date-input--no-lr-border":y.showSpin,"moz-date-input--radius":!y.showSpin,"moz-date-input--disabled":y.disabled})}
698
+ @click=${p}
699
+ >
700
+ <input
701
+ .value=${S}
702
+ name=${xe.ifDefined(y.name)}
703
+ ?disabled=${!!y.disabled}
704
+ ?readonly=${!!y.readonly}
705
+ class=${T("moz-date-input__field",{"moz-date-input__field--disabled":y.disabled})}
706
+ ${he(j)}
707
+ @change=${R}
708
+ />
709
+ ${y.readonly?l.nothing:l.html`<div class="moz-date-input__icon-container">
710
+ ${Fs("currentColor",T("moz-date-input__icon",{"moz-date-input__icon--disabled":y.disabled}))}
711
+ </div>`}
712
+ </div>
713
+ ${y.showSpin?re(Is("var(--moz-color-on-accent)","14",y.disabled||X),"right",X,$):l.nothing}
714
+ </div>
715
+ </div>
716
+ `}}}}),Os={name:"MozDateInput",core:Zo,props:["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue"],emits:["change","focus","focusOut","close","update:modelValue"],slots:[],expose:!1};function mt(e){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:12,height:12}}function Us(e="10",t="var(--moz-color-text-muted)",o=!1,n=!1,r=""){const s=mt(e),h=r||l.nothing;return s.width<=10?l.html`<svg class=${h} width=${s.width} height=${s.height} viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
717
+ <path d="M8.5 1.5L1.49999 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
718
+ <path d="M1.5 1.5L8.50001 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
719
+ </svg>`:s.width<=13&&s.width>=11&&!n?l.html`<svg class=${h} width=${s.width} height=${s.height} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
720
+ <path d="M1.71436 1.71428L10.8069 10.7926" stroke=${t} stroke-width="2" stroke-linecap="round"></path>
721
+ <path d="M10.8069 1.71428L1.71436 10.7926" stroke=${t} stroke-width="2" stroke-linecap="round"></path>
722
+ </svg>`:s.width<=13&&s.width>=11&&n?l.html`<svg class=${h} width=${s.width} height=${s.height} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
723
+ <path d="M10.2 1.7998L1.79994 10.1998" stroke=${t} stroke-width="1.6" stroke-linecap="round"></path>
724
+ <path d="M1.79993 1.7998L10.1999 10.1998" stroke=${t} stroke-width="1.6" stroke-linecap="round"></path>
725
+ </svg>`:l.html`<svg class=${h} width=${s.width} height=${s.height} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
726
+ <g>
727
+ <g>
728
+ <path
729
+ fill-rule="evenodd"
730
+ clip-rule="evenodd"
731
+ d="M1.29234 1.29345C1.68256 0.902618 2.31572 0.902121 2.70655 1.29234L13.3146 11.8837C13.7054 12.2739 13.7059 12.9071 13.3157 13.2979C12.9254 13.6887 12.2923 13.6892 11.9014 13.299L1.29345 2.70766C0.902618 2.31744 0.902121 1.68428 1.29234 1.29345Z"
732
+ fill=${o?"var(--moz-color-text-muted)":t}
733
+ ></path>
734
+ <path
735
+ fill-rule="evenodd"
736
+ clip-rule="evenodd"
737
+ d="M13.3157 1.29345C13.7059 1.68428 13.7054 2.31744 13.3146 2.70766L2.70655 13.299C2.31572 13.6892 1.68256 13.6887 1.29234 13.2979C0.902121 12.9071 0.902618 12.2739 1.29345 11.8837L11.9014 1.29234C12.2923 0.902121 12.9254 0.902618 13.3157 1.29345Z"
738
+ fill=${o?"var(--moz-color-text-muted)":t}
739
+ ></path>
740
+ </g>
741
+ </g>
742
+ </svg>`}function _s(e="30",t="var(--moz-color-danger)",o=""){const n=mt(e);return l.html`<svg class=${o||l.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
743
+ <mask id="mask0_6027_4458" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
744
+ <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
745
+ </mask>
746
+ <g mask="url(#mask0_6027_4458)">
747
+ <g>
748
+ <path
749
+ d="M29.1788 13.0145L16.9866 0.821408C16.4595 0.296149 15.7456 0.0012207 15.0015 0.0012207C14.2573 0.0012207 13.5435 0.296149 13.0163 0.821408L0.825062 13.0145C0.563854 13.2749 0.356605 13.5843 0.215195 13.925C0.0737849 14.2656 0.000993729 14.6309 0.000993729 14.9997C0.000993729 15.3685 0.0737849 15.7337 0.215195 16.0744C0.356605 16.415 0.563854 16.7244 0.825062 16.9848L13.0126 29.177C13.5397 29.7023 14.2536 29.9972 14.9977 29.9972C15.7419 29.9972 16.4557 29.7023 16.9829 29.177L29.1704 16.9848C29.6956 16.4577 29.9906 15.7439 29.9906 14.9997C29.9906 14.2555 29.6956 13.5417 29.1704 13.0145M16.4766 21.8008C16.4767 21.8983 16.4576 21.9949 16.4204 22.0851C16.3831 22.1752 16.3284 22.2571 16.2594 22.3261C16.1905 22.3951 16.1086 22.4497 16.0184 22.487C15.9283 22.5243 15.8317 22.5434 15.7341 22.5433H14.2576C14.0607 22.543 13.872 22.4647 13.7328 22.3255C13.5936 22.1863 13.5153 21.9976 13.5151 21.8008V20.3158C13.5153 20.1189 13.5936 19.9302 13.7328 19.791C13.872 19.6518 14.0607 19.5735 14.2576 19.5733H15.7426C15.8401 19.5732 15.9367 19.5923 16.0269 19.6296C16.117 19.6668 16.1989 19.7215 16.2679 19.7905C16.3368 19.8595 16.3915 19.9414 16.4288 20.0315C16.4661 20.1216 16.4852 20.2182 16.4851 20.3158L16.4766 21.8008ZM16.4766 16.8395C16.4767 16.9371 16.4576 17.0337 16.4204 17.1238C16.3831 17.214 16.3284 17.2959 16.2594 17.3648C16.1905 17.4338 16.1086 17.4885 16.0184 17.5258C15.9283 17.563 15.8317 17.5822 15.7341 17.582H14.2576C14.0607 17.5818 13.872 17.5035 13.7328 17.3643C13.5936 17.2251 13.5153 17.0364 13.5151 16.8395V8.1986C13.5153 8.00175 13.5936 7.81303 13.7328 7.67384C13.872 7.53465 14.0607 7.45634 14.2576 7.4561H15.7426C15.8401 7.45597 15.9367 7.47509 16.0269 7.51236C16.117 7.54963 16.1989 7.60432 16.2679 7.67329C16.3368 7.74227 16.3915 7.82417 16.4288 7.91431C16.4661 8.00445 16.4852 8.10105 16.4851 8.1986L16.4766 16.8395Z"
750
+ fill=${t}
751
+ ></path>
752
+ </g>
753
+ </g>
754
+ </svg>`}function Ns(e="30",t="var(--moz-color-accent)",o=""){const n=mt(e);return l.html`<svg class=${o||l.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
755
+ <g>
756
+ <path
757
+ fill-rule="evenodd"
758
+ clip-rule="evenodd"
759
+ d="M30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15ZM14 7.6C14 7.26863 14.2686 7 14.6 7H16.4C16.7314 7 17 7.26863 17 7.6V17.4C17 17.7314 16.7314 18 16.4 18H14.6C14.2686 18 14 17.7314 14 17.4V7.6ZM14.6 20C14.2686 20 14 20.2686 14 20.6V22.4C14 22.7314 14.2686 23 14.6 23H16.4C16.7314 23 17 22.7314 17 22.4V20.6C17 20.2686 16.7314 20 16.4 20H14.6Z"
760
+ fill=${t}
761
+ ></path>
762
+ </g>
763
+ </svg>`}function Ws(e="30",t="var(--moz-color-success)",o=""){const n=mt(e);return l.html`<svg class=${o||l.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
764
+ <g>
765
+ <path
766
+ fill-rule="evenodd"
767
+ clip-rule="evenodd"
768
+ d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30ZM12.8944 17.9373L10.6229 15.6658C10.1352 15.1781 9.35358 15.1781 8.86582 15.6658C8.37806 16.1536 8.37806 16.9352 8.86582 17.4229L12.0083 20.5654C12.496 21.0531 13.285 21.0532 13.7728 20.5656L21.7228 12.6231C22.2105 12.1353 22.2107 11.3536 21.7229 10.8658C21.2352 10.3781 20.4536 10.3781 19.9658 10.8658L12.8944 17.9373Z"
769
+ fill=${t}
770
+ ></path>
771
+ </g>
772
+ </svg>`}function Ks(e="30",t="var(--moz-color-warning)",o=""){const n=mt(e);return l.html`<svg class=${o||l.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
773
+ <mask id="mask0_6027_4463" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
774
+ <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
775
+ </mask>
776
+ <g mask="url(#mask0_6027_4463)">
777
+ <g>
778
+ <path
779
+ d="M29.5313 23.2669L17.9663 3.29813C17.6654 2.77759 17.2329 2.34536 16.7122 2.04487C16.1914 1.74437 15.6008 1.58618 14.9995 1.58618C14.3983 1.58618 13.8077 1.74437 13.2869 2.04487C12.7662 2.34536 12.3337 2.77759 12.0328 3.29813L0.468764 23.2669C0.166554 23.7878 0.00699555 24.3793 0.00616779 24.9815C0.00534002 25.5838 0.163272 26.1757 0.464049 26.6975C0.764826 27.2193 1.19782 27.6526 1.71941 27.9537C2.24099 28.2549 2.83274 28.4132 3.43501 28.4128H26.565C27.1673 28.4132 27.759 28.2549 28.2806 27.9537C28.8022 27.6526 29.2352 27.2193 29.536 26.6975C29.8368 26.1757 29.9947 25.5838 29.9939 24.9815C29.993 24.3793 29.8335 23.7878 29.5313 23.2669ZM16.4841 23.6044C16.4841 23.702 16.4648 23.7986 16.4273 23.8887C16.3899 23.9788 16.335 24.0606 16.2658 24.1294C16.1967 24.1982 16.1146 24.2527 16.0243 24.2897C15.934 24.3267 15.8373 24.3455 15.7397 24.345H14.2556C14.0593 24.3448 13.8711 24.2666 13.7322 24.1278C13.5934 23.989 13.5153 23.8007 13.515 23.6044V22.1203C13.515 21.9235 13.5929 21.7348 13.7317 21.5953C13.8705 21.4558 14.0589 21.3769 14.2556 21.3759H15.7406C15.8384 21.3758 15.9353 21.395 16.0256 21.4324C16.116 21.4697 16.1981 21.5245 16.2673 21.5937C16.3364 21.6628 16.3912 21.7449 16.4286 21.8353C16.466 21.9257 16.4851 22.0225 16.485 22.1203L16.4841 23.6044ZM16.4841 18.6431C16.4841 18.7407 16.4648 18.8373 16.4273 18.9274C16.3899 19.0175 16.335 19.0993 16.2658 19.1682C16.1967 19.237 16.1146 19.2915 16.0243 19.3285C15.934 19.3655 15.8373 19.3842 15.7397 19.3838H14.2556C14.0593 19.3835 13.8711 19.3054 13.7322 19.1666C13.5934 19.0277 13.5153 18.8395 13.515 18.6431V10.0013C13.515 9.80448 13.5929 9.61571 13.7317 9.47622C13.8705 9.33673 14.0589 9.25787 14.2556 9.25688H15.7406C15.8384 9.25675 15.9353 9.27592 16.0256 9.31329C16.116 9.35065 16.1981 9.40548 16.2673 9.47462C16.3364 9.54377 16.3912 9.62588 16.4286 9.71625C16.466 9.80661 16.4851 9.90346 16.485 10.0013L16.4841 18.6431Z"
780
+ fill=${t}
781
+ ></path>
782
+ </g>
783
+ </g>
784
+ </svg>`}const Gs=new Set(["title","minWidth","minHeight","maxWidth","maxHeight","draggable","resizeable","keepAspectRatio","disabledConfirmButton","showCloseButton","dialogClass","showHeader","closeOnOutsideClick","preset","dialogIcon","dialogMessage","onCancel","onBeforeClose","onBeforeUnload","onConfirm","onBeforeConfirm","loading","contentsPadding","class","style","useVShow","top","left","showFooterBorder","action","saveText","cancelText","okText","closeText","visible","width","height","focusTrap","lockScroll","side","showBackdrop","autoPosition","hideOthers"]);let ct=0,jo="";const Ys=()=>{ct===0&&(jo=document.body.style.overflow,document.body.style.overflow="hidden"),ct+=1},Zs=()=>{ct!==0&&(ct-=1,ct===0&&(document.body.style.overflow=jo))},js='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Xo=we({name:"moz-popup",portal:!0,defaults:{title:"Popup",minWidth:300,minHeight:100,maxWidth:800,maxHeight:600,draggable:!0,resizeable:!1,keepAspectRatio:!1,disabledConfirmButton:!1,showCloseButton:!0,showHeader:!0,closeOnOutsideClick:!0,preset:"close",dialogIcon:"info",loading:!1,contentsPadding:"24px 16px",useVShow:!1,top:null,left:null,showFooterBorder:!0,focusTrap:!1,lockScroll:!1,showBackdrop:!0,autoPosition:!0,hideOthers:!1},setup(e){const t=H.createRef(),o=H.createRef(),n=Xe("moz-popup-title-"),r=Xe("moz-popup-desc-");let s=null,h=e.props.visible??!1,c=e.props.width,i=e.props.height;const m=()=>e.controlled("visible")?!!e.props.visible:h,a=C=>{e.controlled("visible")||(h=C),e.emit("update:visible",C),e.requestUpdate()},u=()=>e.controlled("width")?e.props.width:c,p=C=>{e.controlled("width")||(c=C),e.emit("update:width",C),e.requestUpdate()},v=()=>e.controlled("height")?e.props.height:i,$=C=>{e.controlled("height")||(i=C),e.emit("update:height",C),e.requestUpdate()};let R=0,y=0,b=!1;const M=!0;let S=null;const L={mouseDown:!1,dragging:!1,offset:{x:0,y:0}};let X=m(),j=!1,re=!1,de=null,ee=[];const W=()=>{const C=t.value;if(C)for(const A of Array.from(document.body.children))A instanceof HTMLElement&&(A.contains(C)||A.getAttribute("aria-hidden")!=="true"&&(A.setAttribute("aria-hidden","true"),ee.push(A)))},z=()=>{for(const C of ee)C.removeAttribute("aria-hidden");ee=[]},G=()=>{const C=t.value;return C?Array.from(C.querySelectorAll(js)).filter(A=>A.getAttribute("aria-hidden")!=="true"):[]},le=()=>{const C=document.querySelectorAll(".moz-popup");return C.length>0&&C[C.length-1]===t.value},se=()=>{s||(s=Ht(()=>D()))},J=()=>{s==null||s.release(),s=null},O=()=>{j||(j=!0,se(),e.props.lockScroll&&(Ys(),re=!0),e.props.focusTrap&&(de=document.activeElement instanceof HTMLElement?document.activeElement:null,queueMicrotask(()=>{const C=t.value;!C||!m()||(G()[0]??C).focus()})),e.props.hideOthers&&queueMicrotask(()=>{m()&&W()}))},k=()=>{if(J(),!j)return;j=!1,re&&(Zs(),re=!1),z();const C=de;de=null,C&&C.isConnected&&C.focus()},_=()=>{e.props.side||e.props.autoPosition===!1||queueMicrotask(()=>{const C=t.value;if(!C)return;const A=e.props;y=A.top!=null?A.top:window.innerHeight/2-C.offsetHeight/2,R=A.left!=null?A.left:window.innerWidth/2-C.offsetWidth/2,e.requestUpdate()})},Z=()=>{!m()||e.props.side||e.props.autoPosition===!1||b||_()},P=()=>{m()||a(!0),e.emit("open"),_(),O()},V=async()=>{let C=!0;return e.props.onBeforeClose?C=await e.props.onBeforeClose()??!0:e.emit("close:before",C),C},D=async()=>{await V()&&m()&&(a(!1),e.props.onCancel?e.props.onCancel():e.emit("close"),e.emit("hidden"))},U=async()=>{let C=!0;return e.props.onBeforeConfirm?C=await e.props.onBeforeConfirm()??!0:e.emit("confirm:before",C),C},g=async()=>{await U()&&m()&&(a(!1),e.props.onConfirm?e.props.onConfirm():e.emit("confirm"),e.emit("hidden"))},I=()=>{e.props.onBeforeUnload&&e.props.onBeforeUnload()},N=()=>{e.props.closeOnOutsideClick&&D()},Y=C=>{C?P():(k(),I(),D())},ve=(C,A)=>{document.addEventListener("mouseup",C),document.addEventListener("mousemove",A)},De=(C,A)=>{document.removeEventListener("mouseup",C),document.removeEventListener("mousemove",A)},_e=C=>{const A=R-C.clientX,Ce=y-C.clientY;L.mouseDown=!0,L.offset.x=A,L.offset.y=Ce,e.emit("drag-start")},He=C=>{e.props.draggable&&(C.clientX===0&&S&&(C=S),C&&C.clientX&&C.clientY&&(R=C.clientX+L.offset.x,y=C.clientY+L.offset.y,b=!0,e.requestUpdate()))},d=C=>{C.clientX!==0&&C.clientY!==0&&(S=C),L.mouseDown&&M&&(L.dragging=!0,He(C))},x=()=>{L.dragging&&e.emit("drag-end"),L.mouseDown=!1,setTimeout(()=>{L.dragging=!1,De(x,d)},100)},K=C=>{e.props.side||e.props.autoPosition===!1||(C.preventDefault(),ve(x,d),_e(C))},ne=C=>{C.preventDefault();const A=t.value;if(!A)return;const Ce=A.getBoundingClientRect(),Se=u()??Ce.width,ke=v()??Ce.height;if(!Se||!ke)return;const Te=Se/ke,Re={x:C.clientX,y:C.clientY},Ne=e.props,Qe=Je=>{let Ze=Je.clientX-Re.x,f=Je.clientY-Re.y;if(Ne.keepAspectRatio){const Q=Ze/Te;Math.abs(f)>Math.abs(Q)?f=Q:Ze=f*Te}const F=Math.max(Ne.minWidth,Math.min(Se+Ze,Ne.maxWidth));let q=Math.max(Ne.minHeight,Math.min(ke+f,Ne.maxHeight));Ne.keepAspectRatio&&F/q!==Te&&(q=F/Te),p(F),$(q)},ot=()=>{document.removeEventListener("mousemove",Qe),document.removeEventListener("mouseup",ot)};document.addEventListener("mousemove",Qe),document.addEventListener("mouseup",ot)},ce=C=>{if(C.key==="Tab"&&e.props.focusTrap&&m()&&le()){if(s&&!s.isTopmost())return;const A=t.value;if(!A)return;const Ce=G();if(Ce.length===0){C.preventDefault(),A.focus();return}const Se=Ce[0],ke=Ce[Ce.length-1],Te=document.activeElement,Re=Te instanceof Node&&A.contains(Te);C.shiftKey?(!Re||Te===Se||Te===A)&&(C.preventDefault(),ke.focus()):(!Re||Te===ke)&&(C.preventDefault(),Se.focus());return}};e.onCleanup(()=>{k(),window.removeEventListener("keydown",ce),window.removeEventListener("resize",Z),I(),window.removeEventListener("unload",I),De(x,d)});const $e=()=>{const C=e.props;if(C.action)return C.action;const A=e.locale.Popup;switch(C.preset){case"save":return{positive:C.saveText??A.save,negative:C.cancelText??A.cancel};case"check":return{positive:C.okText??A.ok};case"close":return{negative:C.closeText??A.close};case"confirm":default:return{positive:C.okText??A.ok,negative:C.cancelText??A.cancel}}},ye=C=>{switch(C){case"error":return _s("30","var(--moz-color-danger)","dialog-icon");case"info":return Ns("30","var(--moz-color-accent)","dialog-icon");case"success":return Ws("30","var(--moz-color-success)","dialog-icon");case"warning":return Ks("30","var(--moz-color-warning)","dialog-icon");default:return l.nothing}};return{api:{resetPosition:_},onMounted:()=>{window.addEventListener("keydown",ce),window.addEventListener("resize",Z),window.addEventListener("unload",I),queueMicrotask(()=>e.emit("init",o.value??null)),m()&&(_(),O())},render(){const C=e.props,A=m();if(A!==X){const fe=A;X=A,fe?se():J(),queueMicrotask(()=>Y(fe))}if(!(C.useVShow?!0:A))return l.nothing;const Se=C.useVShow?!A:!1,ke=u(),Te=v(),Re=C.side,Ne=!!Re||C.autoPosition===!1,Qe={...Pe(C.style),...ke?{width:`${Le(ke)}rem`}:{},...Te?{height:`${Le(Te)}rem`}:{},...Ne?{}:{left:`${Le(R)}rem`,top:`${Le(y)}rem`}},ot=!!C.draggable&&!Ne,Je=!!C.resizeable&&!Re,Ze=typeof C.contentsPadding=="number"?`${Le(C.contentsPadding)}rem`:C.contentsPadding,f=$e(),F=ge(C,Gs),q=e.slots.has("title")?e.slot("title"):l.html`<span class="truncate">${C.title}</span>`,Q=e.slots.has("description"),oe=e.slots.has("default")?e.slot("default"):l.html`<div class="moz-dialog-body">
785
+ ${ye(C.dialogIcon)}
786
+ <div class="dialog-message">${C.dialogMessage!=null?Eo.unsafeHTML(C.dialogMessage):l.nothing}</div>
787
+ </div>`,ue=e.slots.has("footer")?e.slot("footer",{onConfirm:g,onCancel:D}):l.html`
788
+ ${f.positive?at({class:"preset-btn",loading:C.loading,disabled:C.disabledConfirmButton,style:"min-width: 80px"},{onClick:g,content:f.positive}):l.nothing}
789
+ ${f.negative?at({class:"preset-btn",type:"outline",disabled:C.loading,style:"min-width: 80px"},{onClick:D,content:f.negative}):l.nothing}
790
+ `;return l.html`
791
+ <div
792
+ class=${T("moz-popup-container",C.class,Re?`moz-popup-side moz-popup-side-${Re}`:null,C.showBackdrop===!1?"moz-popup-no-backdrop":null)}
793
+ style=${xe.ifDefined(Se?"display: none;":void 0)}
794
+ >
795
+ ${C.showBackdrop===!1?l.nothing:l.html`<div class="moz-popup-backdrop" aria-hidden="true" @click=${N}></div>`}
796
+ <div
797
+ class=${T("moz-popup",C.dialogClass)}
798
+ role="dialog"
799
+ aria-modal="true"
800
+ aria-labelledby=${xe.ifDefined(C.showHeader===!1?void 0:n)}
801
+ aria-describedby=${xe.ifDefined(Q?r:void 0)}
802
+ tabindex=${xe.ifDefined(C.focusTrap?"-1":void 0)}
803
+ style=${te.styleMap(Qe)}
804
+ ${H.ref(t)}
805
+ ${he(F)}
806
+ >
807
+ ${C.showHeader===!1?l.nothing:l.html`<div
808
+ id=${n}
809
+ class=${T("moz-popup-title",{draggable:ot})}
810
+ @mousedown=${K}
811
+ @touchstart=${K}
812
+ >
813
+ ${q}
814
+ ${C.showCloseButton?at({type:"icon",class:"close-button","aria-label":e.locale.Popup.close},{onClick:D,icon:Us("14","var(--moz-color-text-subtle)")}):l.nothing}
815
+ </div>`}
816
+ ${Q?l.html`<div id=${r} class="moz-popup-description">${e.slot("description")}</div>`:l.nothing}
817
+ <div class="moz-popup-body" style=${te.styleMap({padding:Ze})} ${H.ref(o)}>${oe}</div>
818
+ ${C.preset!=="no-footer"?l.html`<div class=${T("moz-popup-footer",{"with-border":C.showFooterBorder})}>
819
+ ${ue}
820
+ </div>`:l.nothing}
821
+ ${Je?l.html`<div class="resize-handler" @mousedown=${ne}></div>`:l.nothing}
822
+ </div>
823
+ </div>
824
+ `}}}}),Xs={name:"MozPopup",core:Xo,props:["title","minWidth","minHeight","maxWidth","maxHeight","draggable","resizeable","keepAspectRatio","disabledConfirmButton","showCloseButton","closeOnOutsideClick","preset","dialogIcon","dialogMessage","onCancel","onBeforeClose","onBeforeUnload","onConfirm","onBeforeConfirm","loading","contentsPadding","useVShow","top","left","showFooterBorder","action","saveText","cancelText","okText","closeText","visible","width","height","focusTrap","lockScroll","side","showBackdrop","autoPosition","hideOthers","dialogClass","showHeader"],emits:["open","close","close:before","confirm","confirm:before","drag-start","drag-end","hidden","init","update:visible","update:width","update:height"],slots:["title","default","footer","description"],expose:!0,syncUpdate:!0};function Mt(e,t=12){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:t,height:t}}function Qt(e="12",t="var(--moz-color-text-subtle)",o=!1,n=""){const r=Mt(e),s=o?"var(--moz-color-text-muted)":t;return l.html`<svg class=${n||l.nothing} xmlns="http://www.w3.org/2000/svg" width=${r.width} height=${r.height} viewBox="0 0 16 16">
825
+ <g style=${`fill: ${s}`}>
826
+ <path
827
+ d="M836.533 699.734h-.022a.928.928 0 0 1-.716-.336l-3.779-4.535a.926.926 0 0 1-.212-.68.93.93 0 0 1 1.643-.512l3.026 3.63 6.096-8.128a.922.922 0 0 1 .745-.373c.202 0 .396.064.559.186.199.15.328.367.363.614a.925.925 0 0 1-.177.69l-6.803 9.071a.928.928 0 0 1-.721.373h-.002z"
828
+ style="stroke: none"
829
+ transform="translate(-829.971 -686.318)"
830
+ ></path>
831
+ <path
832
+ d="M836.532 699.634a.833.833 0 0 0 .644-.333l6.803-9.07a.831.831 0 1 0-1.33-.998l-6.172 8.23-3.107-3.728a.83.83 0 1 0-1.277 1.064l3.78 4.535c.157.19.391.3.638.3h.021m.003.2h-.024c-.307 0-.596-.136-.793-.372l-3.779-4.535a1.025 1.025 0 0 1-.235-.754 1.03 1.03 0 0 1 1.82-.567l2.945 3.534 6.02-8.027a1.034 1.034 0 0 1 1.444-.207c.22.165.363.407.402.68.04.273-.03.544-.196.765l-6.803 9.07c-.19.254-.481.404-.799.412h-.002z"
833
+ style=${`fill: ${s}; stroke: none`}
834
+ transform="translate(-829.971 -686.318)"
835
+ ></path>
836
+ </g>
837
+ </svg>`}function Jt(e="14",t="var(--moz-color-text-subtle)",o=!1){const n=Mt(e,14);return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
838
+ <path
839
+ fill-rule="evenodd"
840
+ clip-rule="evenodd"
841
+ d="M4.28543 4.37082C4.63291 4.01541 5.20272 4.00898 5.55814 4.35646L9.05717 7.77743L12.4606 4.36449C12.8116 4.01253 13.3815 4.01174 13.7334 4.36272C14.0854 4.7137 14.0862 5.28355 13.7352 5.63551L9.70247 9.67945C9.35394 10.029 8.78895 10.0325 8.43602 9.68748L4.29979 5.64353C3.94437 5.29605 3.93794 4.72624 4.28543 4.37082Z"
842
+ fill=${o?"var(--moz-color-text-muted)":t}
843
+ ></path>
844
+ </svg>`}function eo(e="14",t="var(--moz-color-text-subtle)",o=!1){const n=Mt(e,14);return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
845
+ <path
846
+ fill-rule="evenodd"
847
+ clip-rule="evenodd"
848
+ d="M13.7433 9.67312C13.3958 10.0285 12.826 10.035 12.4705 9.68748L8.97152 6.26652L5.56806 9.67946C5.21708 10.0314 4.64723 10.0322 4.29527 9.68123C3.94331 9.33024 3.94252 8.7604 4.2935 8.40844L8.32621 4.36449C8.67474 4.01499 9.23974 4.01141 9.59267 4.35647L13.7289 8.40041C14.0843 8.7479 14.0907 9.31771 13.7433 9.67312Z"
849
+ fill=${o?"var(--moz-color-text-muted)":t}
850
+ ></path>
851
+ </svg>`}function to(e="12",t="var(--moz-color-text-subtle)",o=!1){const n=Mt(e),r=o?"var(--moz-color-text-muted)":t;return n.width<=13?l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
852
+ <path
853
+ d="M10.293 11.375L7.71099 8.79103C6.76581 9.4655 5.60162 9.76002 4.44941 9.61616C3.29719 9.4723 2.24116 8.90058 1.49082 8.01442C0.740489 7.12825 0.350682 5.99242 0.398745 4.83225C0.446808 3.67209 0.929227 2.57239 1.75029 1.75133C2.57135 0.930264 3.67106 0.447845 4.83122 0.399783C5.99138 0.35172 7.12722 0.741526 8.01338 1.49186C8.89954 2.2422 9.47126 3.29823 9.61512 4.45044C9.75898 5.60265 9.46446 6.76684 8.78999 7.71203L11.373 10.294C11.5163 10.4374 11.5969 10.6318 11.5969 10.8345C11.5969 11.0373 11.5163 11.2317 11.373 11.375C11.2296 11.5184 11.0352 11.5989 10.8325 11.5989C10.6298 11.5989 10.4363 11.5184 10.293 11.375ZM1.92899 5.02703C1.92899 5.64015 2.1108 6.2395 2.45144 6.7493C2.79207 7.25909 3.27622 7.65642 3.84267 7.89106C4.40912 8.12569 5.03243 8.18708 5.63377 8.06746C6.23511 7.94785 6.78748 7.6526 7.22102 7.21906C7.65457 6.78552 7.94981 6.23315 8.06943 5.63181C8.18904 5.03047 8.12765 4.40716 7.89302 3.84071C7.65839 3.27426 7.26105 2.79011 6.75126 2.44947C6.24147 2.10884 5.64211 1.92703 5.02899 1.92703C4.20682 1.92703 3.41832 2.25364 2.83696 2.835C2.2556 3.41636 1.92899 4.20486 1.92899 5.02703Z"
854
+ fill=${r}
855
+ ></path>
856
+ </svg>`:l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
857
+ <path
858
+ d="M5.84944 0.402344C2.83893 0.402344 0.398438 2.84284 0.398438 5.85334C0.398438 8.86385 2.83893 11.3043 5.84944 11.3043C7.0308 11.3043 8.12438 10.9285 9.01716 10.29L12.0619 13.3347C12.4134 13.6862 12.9832 13.6862 13.3347 13.3347C13.6862 12.9832 13.6862 12.4134 13.3347 12.0619L10.2893 9.01651C10.9259 8.12457 11.3004 7.03269 11.3004 5.85334C11.3004 2.84284 8.85994 0.402344 5.84944 0.402344ZM2.19844 5.85334C2.19844 3.83695 3.83305 2.20234 5.84944 2.20234C7.86583 2.20234 9.50044 3.83695 9.50044 5.85334C9.50044 7.86974 7.86583 9.50434 5.84944 9.50434C3.83305 9.50434 2.19844 7.86974 2.19844 5.85334Z"
859
+ fill=${r}
860
+ ></path>
861
+ </svg>`}const ao=250,gt=24,Qs=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue","class","style"]);function Js(e,t){let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>e(...n),t)}}function en(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Qo=we({name:"moz-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",rules:[],useObjBinding:!1,useFilter:!0,listWidth:100,modelValue:null},setup(e){const t=H.createRef(),o=H.createRef(),n=H.createRef(),r=H.createRef(),s=H.createRef(),h=H.createRef();let c=null,i=e.props.modelValue??null;const m=()=>e.controlled("modelValue")?e.props.modelValue??null:i,a=d=>{e.controlled("modelValue")||(i=d),e.emit("update:modelValue",d),e.requestUpdate()};let u=!1,p="";const v=Xe("moz-select-listbox-"),$={change:"",blur:"",save:""};let R=m();const y=()=>e.props.keyProp||"id",b=new Fe.Virtualizer({count:0,getScrollElement:()=>c,estimateSize:()=>gt,measureElement:d=>d.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{O==null||O.release(),O=null}),e.onCleanup(b._didMount());const M=d=>{c=d??null,d&&(b._willUpdate(),e.requestUpdate())},S=d=>e.props.itemsSource?e.props.itemsSource.find(K=>K[y()]===d)??null:null,L=d=>d?typeof e.props.displayProp=="function"?e.props.displayProp(d):typeof d=="object"?d[e.props.displayProp]:String(d):"",X=()=>{const d=m();if(!d&&isNaN(Number(d)))return null;const x=e.props.useObjBinding?d:S(d);return x?typeof e.props.displayProp=="function"?e.props.displayProp(x):x[e.props.displayProp]:null},j=()=>{if(!p)return e.props.itemsSource??[];const d=p.toLowerCase();return(e.props.itemsSource??[]).filter(x=>L(x).toLowerCase().indexOf(d)>-1)},re=d=>{if(!p)return[{part:d,highlight:!1}];const x=en(p),K=new RegExp(`(${x})`,"gi");return d.split(K).map(ne=>({part:ne,highlight:p.toLowerCase()===ne.toLowerCase()}))},de=()=>$.save||$.blur||$.change,ee=()=>{const d=[];return e.props.required&&d.push({message:e.props.requiredMessage??e.locale.Select.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...d,...e.props.rules??[]]},W=async(d,x)=>{const K=ee();if(K.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ne=K.filter(ce=>ce.type===x);for(const ce of ne)if(!await ce.validator(d))return $[x]=ce.message,e.requestUpdate(),!1;return!0},z=async(d="save")=>de()!==""?!1:await W(m(),d),G={validate:z,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(G),e.onCleanup(()=>{var d;return(d=e.validator)==null?void 0:d.removeValidator(G)}));const le=new pt({anchor:()=>o.value??null,panel:()=>n.value??null,maxHeight:()=>ao,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:d=>d===c,requestClose:()=>{u&&k(!1)}});e.onCleanup(()=>le.destroy());const se=d=>{`${d.ctrlKey?"ctrl+":""}${d.altKey?"alt+":""}${d.key.toLowerCase()}`==="escape"&&k(!1)},J=d=>{const K=gt*d-ao/2;return Math.max(0,K+gt)};let O=null;const k=d=>{u!==d&&(u=d,e.requestUpdate(),d?(O=ht(),le.open(),$.save="",window.addEventListener("keydown",se),queueMicrotask(()=>{var K;const x=m();if(x&&c){const ne=(e.props.itemsSource??[]).findIndex(ce=>ce[y()]===x);c.scrollTop=J(ne)}h.value?h.value.focus():(K=s.value)==null||K.focus()})):(O==null||O.release(),O=null,le.close(),e.emit("close"),W(m(),"blur"),window.removeEventListener("keydown",se),p="",e.emit("close"),queueMicrotask(()=>{var x;return(x=s.value)==null?void 0:x.focus()})))},_=()=>{var d;e.props.disabled||(k(!u),(d=s.value)==null||d.focus())},Z=d=>{var x;a(d),k(!1),(x=s.value)==null||x.focus()},P=Js(d=>{p=d.target.value,e.requestUpdate(),queueMicrotask(()=>{const x=j().length;b.setOptions({...b.options,count:x}),b.measure(),c&&(c.scrollTop=0,b.scrollToIndex(0),b.measure())})},300),V=d=>{var x;if(u){d.stopPropagation(),d.preventDefault();const K=h.value??((x=r.value)==null?void 0:x.querySelector("div:first-child"));K==null||K.focus()}},D=d=>{var $e,ye,C;const x=(($e=n.value)==null?void 0:$e.querySelectorAll('[tabindex="0"]'))??[],K=[...Array.from(x)];h.value&&K.unshift(h.value);const ne=K[0],ce=K[K.length-1];(d.target===ne||d.target===ce)&&s.value&&(d.target===ne&&d.shiftKey?(d.stopPropagation(),d.preventDefault(),(ye=s.value)==null||ye.focus()):d.target===ce&&!d.shiftKey&&(d.stopPropagation(),d.preventDefault(),(C=s.value)==null||C.focus()))},U=d=>{c&&(d.shiftKey?c.scrollTop-=24:c.scrollTop+=24)},g=()=>{var x;const d=Array.from(((x=n.value)==null?void 0:x.querySelectorAll('[tabindex="0"]'))??[]);return h.value&&!d.includes(h.value)&&d.unshift(h.value),d},I=d=>{var ce;const x=g();if(x.length===0)return;const K=x.indexOf(document.activeElement),ne=K<0?d>0?0:x.length-1:Math.min(x.length-1,Math.max(0,K+d));(ce=x[ne])==null||ce.focus()},N=d=>d.find(x=>x.getAttribute("aria-selected")==="true")??null,Y=d=>{k(!0),queueMicrotask(()=>queueMicrotask(()=>{if(h.value)return;const x=g();x.length!==0&&(N(x)??x[d<0?x.length-1:0]).focus()}))},ve=()=>{var d;k(!1),(d=s.value)==null||d.focus()},De=d=>{if(d.key==="Tab"){V(d);return}if(d.key==="Enter"||d.key===" "){u||(d.preventDefault(),d.stopPropagation(),Y(1));return}if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault(),d.stopPropagation();const x=d.key==="ArrowDown"?1:-1;u?I(x):Y(x);return}d.key==="Escape"&&u&&(d.preventDefault(),ve())},_e=d=>{if(d.key==="Tab"){D(d);return}if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault(),I(d.key==="ArrowDown"?1:-1);return}d.key==="Escape"&&(d.preventDefault(),ve())},He=(d,x)=>{if(d.key==="Tab"){U(d);return}if(d.key==="ArrowDown"||d.key==="ArrowUp"){d.preventDefault(),d.stopPropagation(),I(d.key==="ArrowDown"?1:-1);return}if(d.key==="Escape"){d.preventDefault(),d.stopPropagation(),ve();return}(d.key==="Enter"||d.key===" ")&&Z(x)};return{api:{validate:z},render(){const d=e.props,x=m();if(x!==R){R=x;const Ce=x;queueMicrotask(()=>{W(Ce,"change"),e.emit("change",d.useObjBinding?Ce:Ce&&Ce[y()],Ce)})}const K=typeof d.width=="number"?`${Le(d.width)}rem`:d.width,ne=ge(d,Qs),{aria:ce,dom:$e}=ut(ne),ye=e.slots.has("icon")?e.slot("icon",{isOpen:u}):u?eo("14","var(--moz-color-accent)"):Jt("14","var(--moz-color-text-subtle)",d.disabled),C=l.html`<button
862
+ type="button"
863
+ class="icon-container"
864
+ ${he(ce)}
865
+ role="combobox"
866
+ aria-haspopup="listbox"
867
+ aria-expanded=${u?"true":"false"}
868
+ aria-controls=${v}
869
+ aria-label=${xe.ifDefined(ce["aria-label"]??d.label??void 0)}
870
+ @keydown=${De}
871
+ ${H.ref(s)}
872
+ ?disabled=${!!d.disabled}
873
+ >
874
+ ${ye}
875
+ </button>`,A=e.slots.has("input-container")?l.html`<div
876
+ class="moz-input-container select-input-container"
877
+ style=${te.styleMap({width:K})}
878
+ @click=${_}
879
+ ${H.ref(o)}
880
+ >
881
+ <div
882
+ class=${T("input-container-wrapper",{"input-container-wrapper--disabled":d.disabled})}
883
+ >
884
+ ${e.slot("input-container",{text:X(),item:x})}
885
+ </div>
886
+ ${C}
887
+ </div>`:l.html`<div
888
+ class="moz-input-container select-input-container"
889
+ style=${te.styleMap({width:K})}
890
+ @click=${_}
891
+ ${H.ref(o)}
892
+ >
893
+ <input
894
+ ${he($e)}
895
+ .value=${X()??""}
896
+ placeholder=${xe.ifDefined(d.placeholder??void 0)}
897
+ autocomplete="off"
898
+ ?disabled=${!!d.disabled}
899
+ readonly
900
+ tabindex="-1"
901
+ class=${T("select-display-input",{"select-display-input--disabled":d.disabled})}
902
+ />
903
+ ${e.slot("input")}
904
+ ${C}
905
+ </div>`;return l.html`
906
+ <div
907
+ class=${T("moz-select",{"is-invalid":de()!=="","is-open":u,disabled:!!d.disabled},d.class)}
908
+ style=${te.styleMap(Pe(d.style))}
909
+ ${H.ref(t)}
910
+ >
911
+ <div class="input-wrapper">
912
+ ${d.label?Be({disabled:d.disabled,required:d.required},d.label):l.nothing}
913
+ ${A}
914
+ </div>
915
+
916
+ ${de()!==""?l.html`<span class="moz-input-invalid-message">${de()}</span>`:l.nothing}
917
+ </div>
918
+ `},renderPortal(){if(!u)return l.nothing;const d=e.props,x=m(),K=y(),ne=j();b.options.count!==ne.length&&b.setOptions({...b.options,count:ne.length}),b._willUpdate();const ce=Tt(b.getVirtualItems(),ne.length,gt,c),$e=b.getTotalSize(),ye=ce.map(C=>{if(C.index>=ne.length)return null;const A=ne[C.index];return A?{index:C.index,value:A,size:C.size,start:C.start}:null}).filter(C=>C!==null);return l.html`<div
919
+ class=${T("list-box",{"no-label":!d.label})}
920
+ @keydown=${_e}
921
+ ${H.ref(n)}
922
+ >
923
+ ${d.useFilter?l.html`<div class="filter-input">
924
+ <input
925
+ ${H.ref(h)}
926
+ @mousedown=${C=>C.stopPropagation()}
927
+ placeholder=${d.searchPlaceholder??e.locale.Select.searchPlaceholder}
928
+ @input=${P}
929
+ class="filter-input__field"
930
+ />
931
+ <div class="search-icon">${to("12","var(--moz-color-text-subtle)")}</div>
932
+ </div>`:l.nothing}
933
+ <div
934
+ id=${v}
935
+ role="listbox"
936
+ class=${T("list-box-container",{"list-box-container--with-filter":d.useFilter})}
937
+ ${H.ref(M)}
938
+ >
939
+ <div class="inner-container" style=${te.styleMap({height:`${$e}px`})} ${H.ref(r)}>
940
+ ${ye.map(({index:C,value:A,start:Ce})=>{const Se=d.useObjBinding?A&&x&&A[K]===x[K]:A[K]===x;return l.html`<div
941
+ data-index=${C}
942
+ role="option"
943
+ aria-selected=${Se?"true":"false"}
944
+ ${H.ref(ke=>{ke&&b.measureElement(ke)})}
945
+ style=${te.styleMap({transform:`translateY(${Ce}px)`})}
946
+ class=${T("list-box-item virtual-row",{"list-selected":A[K]===x})}
947
+ @click=${()=>Z(d.useObjBinding?A:A[K])}
948
+ tabindex="0"
949
+ @keydown=${ke=>He(ke,d.useObjBinding?A:A[K])}
950
+ >
951
+ ${e.slots.has("list-item")?e.slot("list-item",{text:L(A),item:A,index:C,highlightText:re(L(A))}):l.html`<div class="highlight-container" title=${L(A)}>
952
+ ${re(L(A)).map(ke=>l.html`<span class=${T({highlight:ke.highlight})}>${ke.part}</span>`)}
953
+ </div>`}
954
+ ${Se?Qt("12","var(--moz-color-accent)",!1,"icon-check"):l.nothing}
955
+ </div>`})}
956
+ </div>
957
+
958
+ ${!ne||ne.length<=0?l.html`<div class="list-box-item loading not-hover">
959
+ ${e.slots.has("empty")?e.slot("empty"):d.emptyText??e.locale.Select.emptyText}
960
+ </div>`:l.nothing}
961
+ </div>
962
+ </div>`}}}}),tn={name:"MozSelect",core:Qo,props:["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue"],emits:["change","close","update:modelValue"],slots:["input-container","input","icon","list-item","empty"],expose:!0};function oo(e,t=12){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:t,height:t}}function on(e="14",t="var(--moz-color-text-subtle)",o=!1){const n=oo(e,14);return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
963
+ <path
964
+ fill-rule="evenodd"
965
+ clip-rule="evenodd"
966
+ d="M4.28543 4.37082C4.63291 4.01541 5.20272 4.00898 5.55814 4.35646L9.05717 7.77743L12.4606 4.36449C12.8116 4.01253 13.3815 4.01174 13.7334 4.36272C14.0854 4.7137 14.0862 5.28355 13.7352 5.63551L9.70247 9.67945C9.35394 10.029 8.78895 10.0325 8.43602 9.68748L4.29979 5.64353C3.94437 5.29605 3.93794 4.72624 4.28543 4.37082Z"
967
+ fill=${o?"var(--moz-color-text-muted)":t}
968
+ ></path>
969
+ </svg>`}function ln(e="14",t="var(--moz-color-text-subtle)",o=!1){const n=oo(e,14);return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
970
+ <path
971
+ fill-rule="evenodd"
972
+ clip-rule="evenodd"
973
+ d="M13.7433 9.67312C13.3958 10.0285 12.826 10.035 12.4705 9.68748L8.97152 6.26652L5.56806 9.67946C5.21708 10.0314 4.64723 10.0322 4.29527 9.68123C3.94331 9.33024 3.94252 8.7604 4.2935 8.40844L8.32621 4.36449C8.67474 4.01499 9.23974 4.01141 9.59267 4.35647L13.7289 8.40041C14.0843 8.7479 14.0907 9.31771 13.7433 9.67312Z"
974
+ fill=${o?"var(--moz-color-text-muted)":t}
975
+ ></path>
976
+ </svg>`}function sn(e="12",t="var(--moz-color-text-subtle)",o=!1){const n=oo(e),r=o?"var(--moz-color-text-muted)":t;return n.width<=13?l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
977
+ <path
978
+ d="M10.293 11.375L7.71099 8.79103C6.76581 9.4655 5.60162 9.76002 4.44941 9.61616C3.29719 9.4723 2.24116 8.90058 1.49082 8.01442C0.740489 7.12825 0.350682 5.99242 0.398745 4.83225C0.446808 3.67209 0.929227 2.57239 1.75029 1.75133C2.57135 0.930264 3.67106 0.447845 4.83122 0.399783C5.99138 0.35172 7.12722 0.741526 8.01338 1.49186C8.89954 2.2422 9.47126 3.29823 9.61512 4.45044C9.75898 5.60265 9.46446 6.76684 8.78999 7.71203L11.373 10.294C11.5163 10.4374 11.5969 10.6318 11.5969 10.8345C11.5969 11.0373 11.5163 11.2317 11.373 11.375C11.2296 11.5184 11.0352 11.5989 10.8325 11.5989C10.6298 11.5989 10.4363 11.5184 10.293 11.375ZM1.92899 5.02703C1.92899 5.64015 2.1108 6.2395 2.45144 6.7493C2.79207 7.25909 3.27622 7.65642 3.84267 7.89106C4.40912 8.12569 5.03243 8.18708 5.63377 8.06746C6.23511 7.94785 6.78748 7.6526 7.22102 7.21906C7.65457 6.78552 7.94981 6.23315 8.06943 5.63181C8.18904 5.03047 8.12765 4.40716 7.89302 3.84071C7.65839 3.27426 7.26105 2.79011 6.75126 2.44947C6.24147 2.10884 5.64211 1.92703 5.02899 1.92703C4.20682 1.92703 3.41832 2.25364 2.83696 2.835C2.2556 3.41636 1.92899 4.20486 1.92899 5.02703Z"
979
+ fill=${r}
980
+ ></path>
981
+ </svg>`:l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
982
+ <path
983
+ d="M5.84944 0.402344C2.83893 0.402344 0.398438 2.84284 0.398438 5.85334C0.398438 8.86385 2.83893 11.3043 5.84944 11.3043C7.0308 11.3043 8.12438 10.9285 9.01716 10.29L12.0619 13.3347C12.4134 13.6862 12.9832 13.6862 13.3347 13.3347C13.6862 12.9832 13.6862 12.4134 13.3347 12.0619L10.2893 9.01651C10.9259 8.12457 11.3004 7.03269 11.3004 5.85334C11.3004 2.84284 8.85994 0.402344 5.84944 0.402344ZM2.19844 5.85334C2.19844 3.83695 3.83305 2.20234 5.84944 2.20234C7.86583 2.20234 9.50044 3.83695 9.50044 5.85334C9.50044 7.86974 7.86583 9.50434 5.84944 9.50434C3.83305 9.50434 2.19844 7.86974 2.19844 5.85334Z"
984
+ fill=${r}
985
+ ></path>
986
+ </svg>`}const nn=new Set(["itemsSource","inline","filterMode","filterValue","searchPlaceholder","preserveMissingValues","loading","loadingText","listBoxHeight","label","width","required","readonly","disabled","keyProp","displayProp","disabledProp","rules","useSelectAll","useFilter","headerFormat","listBoxWidth","useSpecificSelect","autoSelectNewItems","selectAllWhenEmpty","modelValue","class","style","dropdown-item-height"]);function rn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const Jo=we({name:"moz-multi-select",defaults:{inline:!1,filterMode:"local",preserveMissingValues:!1,loading:!1,listBoxHeight:224,label:null,width:200,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProp:"text",disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!1,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,autoSelectNewItems:!1,selectAllWhenEmpty:!1,modelValue:null},setup(e){const t=H.createRef(),o=H.createRef(),n=H.createRef(),r=H.createRef(),s=H.createRef();let h=null;const c=()=>e.props.keyProp||"id",i=()=>e.props.disabledProp||"disabled";let m=e.props.modelValue??null;const a=()=>{const f=e.controlled("modelValue")?e.props.modelValue:m;return Array.isArray(f)?f:[]},u=f=>{e.controlled("modelValue")||(m=f),e.emit("update:modelValue",f),e.requestUpdate()};let p=!1;const v=Xe("moz-multiselect-listbox-");let $=e.props.filterValue??"",R=!1,y=!1,b={},M=[];const S={change:"",blur:"",save:""};let L=e.props.itemsSource;const X=(()=>{const f=e.props["dropdown-item-height"];if(f!=null)return+f;try{return+getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height").trim().replace("px","")||24}catch{return 24}})(),j=new Fe.Virtualizer({count:0,getScrollElement:()=>h,estimateSize:()=>X,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{C==null||C.release(),C=null}),e.onCleanup(j._didMount());const re=f=>{h=f??null,f&&(j._willUpdate(),e.requestUpdate())},de=f=>typeof e.props.displayProp=="function"?e.props.displayProp(f):typeof f=="object"?f[e.props.displayProp]??"":f,ee=()=>{const f=new Map;return(e.props.itemsSource??[]).forEach(F=>f.set(F[c()],F)),f},W=()=>{if(e.props.filterMode==="remote"||!$)return e.props.itemsSource??[];const f=$.toLowerCase();return(e.props.itemsSource??[]).filter(F=>de(F).toLowerCase().indexOf(f)>-1)},z=f=>{if(!$)return[{part:f,highlight:!1}];const F=rn($),q=new RegExp(`(${F})`,"gi");return f.split(q).map(Q=>({part:Q,highlight:$.toLowerCase()===Q.toLowerCase()}))},G=f=>new Set(a()).has(f[c()]),le=f=>M.some(F=>rt(F.item,f)),se=()=>{const f=a(),F=W();if(f.length<F.length||f.length===0||F.length===0)return!1;const q=new Set(f);return F.every(Q=>q.has(Q[c()]))},J=()=>new Set(W().map(f=>f[c()])),O=()=>new Set(a()),k=()=>{const f=J(),F=O();return!f.size||!F.size||F.size<f.size?!1:Array.from(f).every(q=>F.has(q))},_=()=>S.save||S.blur||S.change,Z=()=>{const f=[];return e.props.required&&f.push({message:e.locale.MultiSelect.required.replace("{label}",e.props.label||""),type:"save",validator:F=>!!F.length}),[...f,...e.props.rules??[]]},P=async(f,F)=>{const q=Z();if(q.length<=0)return;if(e.props.disabled)return!0;S[F]="",e.requestUpdate();const Q=q.filter(oe=>oe.type===F);for(const oe of Q)if(!await oe.validator(f))return S[F]=oe.message,e.requestUpdate(),!1;return!0},V=async(f="save")=>_()!==""?!1:await P(a(),f)??!0,D={validate:V,initValidator:()=>{S.change="",S.blur="",S.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(D),e.onCleanup(()=>{var f;return(f=e.validator)==null?void 0:f.removeValidator(D)}));const U=f=>{if(e.props.disabled||e.props.readonly||e.props.loading)return;const F=ee(),q=new Set;a().forEach(oe=>{const ue=F.get(oe);(ue==null?void 0:ue[i()])===!0&&q.add(oe)}),f.forEach(oe=>{const ue=F.get(oe);(ue&&ue[i()]!==!0||!ue&&e.props.preserveMissingValues)&&q.add(oe)});const Q=Array.from(q);rt(a(),Q)||(u(Q),e.emit("change",Q,Q.map(oe=>F.get(oe)).filter(Boolean)),P(Q,"change"))},g=(f,F)=>f.filter(q=>G(q)!==F).map(q=>q[c()]),I=(f,F,q)=>{if(q.shiftKey&&M.length>0){const Q=M[0],oe=Math.min(Q.index,F),ue=Math.max(Q.index,F);M=W().slice(oe,ue+1).map((fe,be)=>({item:fe,index:oe+be}))}else q.ctrlKey?M.push({item:f,index:F}):M=[{item:f,index:F}];return M.length},N=(f=!0)=>{const F=M.map(oe=>oe.item),q=g(F,f);let Q=a();f?Q=[...Q,...q]:Q=Q.filter(oe=>!q.some(ue=>oe===ue)),U(Q)},Y=(f,F,q)=>{if(f[i()]===!0)return;const Q=M.some(ue=>ue.item[c()]===f[c()]);(M.length<=1||!Q)&&I(f,F,{shiftKey:!1,ctrlKey:!1});const oe=a().some(ue=>ue===f[c()]);N(!oe),q.stopPropagation()},ve=(f,F,q)=>{f[i()]!==!0&&(!q.ctrlKey&&!q.shiftKey&&M.length<=1&&Y(f,F,q),I(f,F,q),e.requestUpdate())},De=(f,F,q)=>{if(f[i()]===!0)return;const Q=a(),oe=O().size!==0&&Q.every(ue=>ue===f[c()]);U(oe?[]:[f[c()]]),I(f,F,q),q.stopPropagation()},_e=f=>{f.stopPropagation();const F=J().size===O().size&&[...J()].every(q=>O().has(q));if(se()&&F){const q=new Set((e.props.itemsSource??[]).filter(Q=>Q[i()]===!0).map(Q=>Q[c()]));U(Array.from(q))}else{const q=new Set(W().filter(Q=>Q[i()]!==!0).map(Q=>Q[c()]));U(Array.from(q))}},He=f=>{if(f.stopPropagation(),k()){const F=J();U(a().filter(q=>!F.has(q)))}else{const F=new Set([...a(),...J()]);U(Array.from(F))}},d=f=>{R=f.target.scrollTop>0,e.requestUpdate()},x=()=>{const f=a();if(!(f!=null&&f.length))return"";const F=ee(),q=f.map(oe=>F.get(oe)).filter(Boolean).map(oe=>typeof e.props.displayProp=="function"?e.props.displayProp(oe):oe[e.props.displayProp]||""),Q=e.props.itemsSource??[];return q.length===Q.length&&q.length>2?`${e.props.headerFormat.replace(/\{count(:.*?)?}/g,"ALL")}`:q.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${q.length.toLocaleString()}`):q.join(", ")||""},K=(f,F,q=10)=>{const Q=window.innerHeight||document.documentElement.clientHeight,oe=window.innerWidth||document.documentElement.clientWidth,ue=f.getBoundingClientRect(),fe=F.getBoundingClientRect(),be=ue.bottom+fe.height+q>Q;if(!be)return!1;const Me=ue.top-fe.height-q<0,We=ue.right+fe.width+q>oe,et=ue.left-fe.width-q<0;return be&&!Me||We&&!et},ne=()=>{const f=o.value;if(!f)return;const F=f.getBoundingClientRect();let q=`${F.width}px`;e.props.listBoxWidth&&(q=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),b={width:String(q),left:`${F.left}px`,top:`${F.top+(y?0:F.height)}px`},e.requestUpdate()},ce=f=>{var F;(F=n.value)!=null&&F.contains(f.target)||A(!1)},$e=f=>{var F,q;!((F=t.value)!=null&&F.contains(f.target))&&!((q=n.value)!=null&&q.contains(f.target))&&(A(!1),document.removeEventListener("click",$e,{capture:!0}))},ye=f=>{var q;`${f.ctrlKey?"ctrl+":""}${f.altKey?"alt+":""}${f.key.toLowerCase()}`==="escape"&&(A(!1),(q=r.value)==null||q.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",$e,{capture:!0}),window.removeEventListener("keydown",ye)});let C=null;const A=f=>{if(p===f)return;const F=p;if(p=f,e.requestUpdate(),f)C=ht(),document.body.addEventListener("scroll",ce,{capture:!0}),document.addEventListener("click",$e,{capture:!0}),S.save="",window.addEventListener("keydown",ye),ne(),queueMicrotask(()=>{var q;o.value&&h&&(y=K(o.value,h)),ne(),j.measure(),h&&(h.scrollTop=0),s.value?s.value.focus():(q=r.value)==null||q.focus()});else if(C==null||C.release(),C=null,$="",s.value&&(s.value.value=""),document.body.removeEventListener("scroll",ce,{capture:!0}),document.removeEventListener("click",$e,{capture:!0}),P(a(),"blur"),window.removeEventListener("keydown",ye),F&&!f){const q=a();if(e.props.selectAllWhenEmpty&&(!q||q.length===0)){const Q=(e.props.itemsSource??[]).filter(oe=>oe[i()]!==!0).map(oe=>oe[c()]);Q.length>0&&(u(Q),e.emit("change",Q,(e.props.itemsSource??[]).filter(oe=>Q.includes(oe[c()]))))}e.emit("close")}},Ce=f=>{var F;if(p){f.stopPropagation(),f.preventDefault();const q=(F=n.value)==null?void 0:F.querySelector("input:first-child, button:first-child");q==null||q.focus()}},Se=f=>{var oe,ue,fe;const F=((oe=n.value)==null?void 0:oe.querySelectorAll("input, button"))??[],q=F[0],Q=F[F.length-1];(f.target===q||f.target===Q)&&r.value&&(f.target===q&&f.shiftKey?(f.stopPropagation(),f.preventDefault(),(ue=r.value)==null||ue.focus()):f.target===Q&&!f.shiftKey&&(f.stopPropagation(),f.preventDefault(),(fe=r.value)==null||fe.focus()))},ke=f=>{f.key==="Tab"&&Ce(f)},Te=f=>{!e.props.inline&&f.key==="Tab"&&Se(f)},Re=f=>{!p&&!e.props.inline||($=f.target.value,M=[],e.emit("update:filterValue",$),e.requestUpdate(),queueMicrotask(()=>{j.setOptions({...j.options,count:W().length}),j.measure(),h&&(h.scrollTop=0)}))},Ne=()=>{var f;e.props.disabled||(A(!p),(f=r.value)==null||f.focus())},Qe=(f,F)=>{var q,Q;if(f.key==="Enter"||f.key===" "){f.preventDefault(),f.stopPropagation(),F();return}if(f.key==="ArrowDown"||f.key==="ArrowUp"){f.preventDefault(),f.stopPropagation();const oe=Array.from(((q=n.value)==null?void 0:q.querySelectorAll('[tabindex="0"]'))??[]),ue=oe.indexOf(f.currentTarget),fe=oe[ue+(f.key==="ArrowDown"?1:-1)];fe==null||fe.focus();return}f.key==="Escape"&&!e.props.inline&&(f.preventDefault(),f.stopPropagation(),A(!1),(Q=r.value)==null||Q.focus())},ot=(f,F)=>{ve(f,F,{ctrlKey:!1,shiftKey:!1,stopPropagation(){}})},Je=(f,F)=>{if(M=[],e.props.preserveMissingValues||JSON.stringify(f)===JSON.stringify(F))return;const q=new Set(f.map(oe=>oe[c()])),Q=a();if(e.props.autoSelectNewItems&&F){const oe=new Set(F.map(fe=>fe[c()])),ue=f.filter(fe=>!oe.has(fe[c()])).map(fe=>fe[c()]);if(ue.length>0){const fe=Q.filter(be=>q.has(be));u([...new Set([...fe,...ue])])}else u(Q.filter(fe=>q.has(fe)))}else{const oe=Q.filter(ue=>q.has(ue));if(rt(Q,oe))return;u(oe)}},Ze=()=>{const f=e.props,F=c(),q=f.loading?[]:W();j.options.count!==q.length&&j.setOptions({...j.options,count:q.length}),j._willUpdate();const Q=new Set(a()),oe=Tt(j.getVirtualItems(),q.length,X,h).map(be=>{if(be.index>=q.length)return null;const Me=q[be.index];return Me?{index:be.index,value:Me,size:be.size,start:be.start,isSelected:Q.has(Me[F]),isDisabled:!!f.disabled||!!f.readonly||Me[i()]===!0,isFocused:le(Me)}:null}).filter(be=>be!==null),ue=j.getTotalSize(),fe=$?e.locale.MultiSelect.selectFiltered:e.locale.MultiSelect.selectAll;return l.html`<div
987
+ class=${T("list-box",{"no-label":!f.label,"show-top":y,"moz-multiselect-inline-list":!!f.inline},f.class)}
988
+ style=${te.styleMap(f.inline?{"--moz-multiselect-list-height":`${f.listBoxHeight??224}px`}:b)}
989
+ @keydown=${Te}
990
+ ${H.ref(n)}
991
+ >
992
+ ${f.useFilter?l.html`<div class="filter-input">
993
+ <input
994
+ placeholder=${f.searchPlaceholder??e.locale.MultiSelect.search}
995
+ aria-label=${f.searchPlaceholder??e.locale.MultiSelect.search}
996
+ .value=${$}
997
+ ?disabled=${!!f.disabled||!!f.readonly}
998
+ @input=${Re}
999
+ ${H.ref(s)}
1000
+ />
1001
+ <div class="search-icon">${sn("12","var(--moz-color-text-subtle)")}</div>
1002
+ </div>`:l.nothing}
1003
+ ${f.useSelectAll&&(f.itemsSource??[]).length>0&&q.length>0?l.html`<div
1004
+ class=${T("list-box-item multi-select-item multi-select-all",{"is-scrolled":R})}
1005
+ role="button"
1006
+ tabindex=${f.disabled||f.readonly||f.loading?"-1":"0"}
1007
+ aria-disabled=${f.disabled||f.readonly||f.loading?"true":"false"}
1008
+ aria-pressed=${k()?"true":"false"}
1009
+ aria-label=${fe}
1010
+ @click=${He}
1011
+ @keydown=${be=>Qe(be,()=>He({stopPropagation(){}}))}
1012
+ >
1013
+ <input
1014
+ type="checkbox"
1015
+ aria-hidden="true"
1016
+ tabindex="-1"
1017
+ class=${T("moz-checkbox",{"is-indeterminate":q.some(be=>Q.has(be[F]))&&!se()})}
1018
+ .checked=${k()}
1019
+ />
1020
+ <div class="highlight-container">
1021
+ <span title=${fe}>${fe}</span>
1022
+ </div>
1023
+ ${f.useSpecificSelect&&$&&q.length>0?l.html`<button type="button" class="item-only" @click=${_e}>
1024
+ ${e.locale.MultiSelect.specificResults}
1025
+ </button>`:l.nothing}
1026
+ </div>`:l.nothing}
1027
+
1028
+ <div
1029
+ id=${v}
1030
+ role="listbox"
1031
+ aria-multiselectable="true"
1032
+ aria-label=${xe.ifDefined(f["aria-label"]??f.label??void 0)}
1033
+ aria-busy=${f.loading?"true":"false"}
1034
+ class="list-box-container"
1035
+ @scroll=${d}
1036
+ ${H.ref(re)}
1037
+ >
1038
+ <div class="inner-container" style=${te.styleMap({height:`${ue}px`})}>
1039
+ ${oe.map(({index:be,value:Me,start:We,size:et,isSelected:it,isDisabled:lt,isFocused:zt})=>l.html`<div
1040
+ class=${T("list-box-item multi-select-item virtual-row",{"list-selected":it,"moz-multi-focus":zt})}
1041
+ style=${te.styleMap({height:`${et}px`,transform:`translateY(${We}px)`})}
1042
+ role="option"
1043
+ aria-selected=${it?"true":"false"}
1044
+ aria-disabled=${lt?"true":"false"}
1045
+ tabindex=${lt?"-1":"0"}
1046
+ @click=${Ge=>ve(Me,be,Ge)}
1047
+ @keydown=${Ge=>Qe(Ge,()=>ot(Me,be))}
1048
+ >
1049
+ <input
1050
+ type="checkbox"
1051
+ aria-hidden="true"
1052
+ tabindex="-1"
1053
+ class="moz-checkbox"
1054
+ .checked=${it}
1055
+ ?disabled=${lt}
1056
+ @click=${Ge=>Y(Me,be,Ge)}
1057
+ />
1058
+ ${e.slots.has("list-item")?e.slot("list-item",{text:de(Me),item:Me}):l.html`<div class="highlight-container" title=${de(Me)}>
1059
+ ${z(de(Me)).map(Ge=>l.html`<span class=${T("text-part",{highlight:Ge.highlight})}>${Ge.part}</span>`)}
1060
+ </div>`}
1061
+ ${f.useSpecificSelect&&!lt?l.html`<button type="button" class="item-only" @click=${Ge=>De(Me,be,Ge)}>
1062
+ ${e.locale.MultiSelect.specificSelect}
1063
+ </button>`:l.nothing}
1064
+ </div>`)}
1065
+ </div>
1066
+ ${q.length<=0?l.html`<div class="list-box-item loading not-hover">
1067
+ ${f.loading?f.loadingText??"Loading…":e.slots.has("empty")?e.slot("empty"):e.locale.MultiSelect.noData}
1068
+ </div>`:l.nothing}
1069
+ </div>
1070
+ </div>`};return{api:{validate:V},render(){const f=e.props;if(e.controlled("filterValue")&&($=f.filterValue??""),f.itemsSource!==L){const fe=L,be=f.itemsSource;L=f.itemsSource,queueMicrotask(()=>Je(be??[],fe??[]))}const F=typeof f.width=="number"?`${Le(f.width)}rem`:f.width,q=ge(f,nn),{aria:Q,dom:oe}=ut(q);if(f.inline)return l.html`<div class="moz-multi-select moz-multi-select-inline"
1071
+ style=${te.styleMap({width:F,...Pe(f.style)})}
1072
+ ${H.ref(t)}>${Ze()}</div>`;const ue=e.slots.has("icon")?e.slot("icon",{isOpen:p}):p?ln("14","var(--moz-color-accent)"):on("14",f.disabled?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)");return l.html`
1073
+ <div
1074
+ class=${T("moz-multi-select",{"is-invalid":_()!=="","is-open":p,disabled:!!f.disabled})}
1075
+ style=${te.styleMap({width:F,...Pe(f.style)})}
1076
+ ${H.ref(t)}
1077
+ >
1078
+ <div class="input-wrapper">
1079
+ ${f.label?Be({},l.html`${f.label}${f.required?l.html`<span class="require-mark">*</span>`:l.nothing}`):l.nothing}
1080
+ <div class="moz-input-container" @click=${Ne} ${H.ref(o)}>
1081
+ <input
1082
+ ${he(oe)}
1083
+ .value=${x()}
1084
+ autocomplete="off"
1085
+ readonly
1086
+ tabindex="-1"
1087
+ />
1088
+ <button
1089
+ type="button"
1090
+ class="icon-container"
1091
+ ${he(Q)}
1092
+ role="combobox"
1093
+ aria-haspopup="listbox"
1094
+ aria-expanded=${p?"true":"false"}
1095
+ aria-controls=${v}
1096
+ aria-label=${xe.ifDefined(Q["aria-label"]??f.label??void 0)}
1097
+ ?disabled=${!!f.disabled}
1098
+ @keydown=${ke}
1099
+ ${H.ref(r)}
1100
+ >
1101
+ ${ue}
1102
+ </button>
1103
+ </div>
1104
+ </div>
1105
+
1106
+ ${_()!==""?l.html`<span class="moz-input-invalid-message">${_()}</span>`:l.nothing}
1107
+ </div>
1108
+ `},renderPortal(){return e.props.inline||!p?l.nothing:Ze()}}}}),an={name:"MozMultiSelect",core:Jo,props:["itemsSource","inline","filterMode","filterValue","searchPlaceholder","preserveMissingValues","loading","loadingText","listBoxHeight","label","width","required","readonly","disabled","keyProp","displayProp","disabledProp","rules","useSelectAll","useFilter","headerFormat","listBoxWidth","useSpecificSelect","autoSelectNewItems","selectAllWhenEmpty","modelValue"],emits:["change","close","update:modelValue","update:filterValue"],slots:["icon","list-item","empty"],expose:!0};function el(e,t=14){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:t,height:t}}function cn(e="14",t="var(--moz-color-text-subtle)"){const o=el(e,14);return l.html`<svg width=${o.width} height=${o.height} viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1109
+ <g clip-path="url(#clip0_4513_575)">
1110
+ <path
1111
+ fill-rule="evenodd"
1112
+ clip-rule="evenodd"
1113
+ d="M8.36563 0.838669C7.00776 0.568572 5.6003 0.707196 4.32121 1.23701C3.04213 1.76682 1.94888 2.66403 1.17971 3.81517C0.410543 4.96632 0 6.31985 0 7.70432C0.00222295 9.56011 0.740418 11.3393 2.05266 12.6515C3.3649 13.9637 5.14421 14.7019 7 14.7042C8.38447 14.7042 9.73784 14.2936 10.889 13.5245C12.0401 12.7553 12.9373 11.662 13.4672 10.3829C13.997 9.10387 14.1356 7.6964 13.8655 6.33853C13.5954 4.98067 12.9287 3.73339 11.9497 2.75442C10.9708 1.77545 9.7235 1.10877 8.36563 0.838669ZM3.12416 3.82903C4.15237 2.80124 5.5463 2.22329 7.00012 2.22199C8.08476 2.2221 9.14502 2.54385 10.0468 3.14655C10.9486 3.74928 11.6515 4.6059 12.0664 5.60808C12.4814 6.61026 12.5898 7.71299 12.378 8.77681C12.1662 9.84062 11.6437 10.8177 10.8765 11.5846C10.1094 12.3514 9.13205 12.8735 8.06816 13.0849C7.00426 13.2962 5.90157 13.1874 4.89956 12.772C3.89754 12.3566 3.04121 11.6535 2.43885 10.7514C1.83651 9.84935 1.51519 8.78893 1.51553 7.70425C1.51745 6.25047 2.09596 4.85681 3.12416 3.82903ZM6.50728 8.71444L8.42625 10.653L8.57241 10.8011C8.63809 10.8677 8.71633 10.9205 8.8026 10.9566C8.88887 10.9926 8.98144 11.0112 9.07494 11.0112C9.16845 11.0112 9.26102 10.9926 9.34729 10.9566C9.43355 10.9205 9.51195 10.8675 9.57762 10.8009C9.71012 10.6662 9.78438 10.4849 9.78438 10.2959C9.78438 10.1069 9.70982 9.92525 9.57732 9.79054L7.71884 7.91366V4.44717C7.72123 4.35293 7.70483 4.25914 7.6706 4.17129C7.63612 4.08283 7.58426 4.00218 7.51808 3.93411C7.4519 3.86605 7.37275 3.81194 7.28529 3.77499C7.19784 3.73805 7.10387 3.71901 7.00893 3.71901C6.91399 3.71901 6.82002 3.73805 6.73256 3.77499C6.64511 3.81194 6.56595 3.86605 6.49977 3.93411C6.43359 4.00218 6.38173 4.08283 6.34726 4.17129C6.31302 4.25914 6.29662 4.35293 6.29902 4.44717L6.29902 8.21058C6.29958 8.39934 6.37442 8.58036 6.50728 8.71444Z"
1114
+ fill=${t}
1115
+ ></path>
1116
+ </g>
1117
+ <defs>
1118
+ <clipPath id="clip0_4513_575">
1119
+ <rect width=${o.width} height=${o.height} fill="white" transform="translate(0 0.704163)"></rect>
1120
+ </clipPath>
1121
+ </defs>
1122
+ </svg>`}function co(e="12",t="var(--moz-color-text-subtle)",o=!1,n=""){const r=el(e,12),s=o?"var(--moz-color-text-muted)":t;return l.html`<svg class=${n||l.nothing} xmlns="http://www.w3.org/2000/svg" width=${r.width} height=${r.height} viewBox="0 0 16 16">
1123
+ <g style=${`fill: ${s}`}>
1124
+ <path
1125
+ d="M836.533 699.734h-.022a.928.928 0 0 1-.716-.336l-3.779-4.535a.926.926 0 0 1-.212-.68.93.93 0 0 1 1.643-.512l3.026 3.63 6.096-8.128a.922.922 0 0 1 .745-.373c.202 0 .396.064.559.186.199.15.328.367.363.614a.925.925 0 0 1-.177.69l-6.803 9.071a.928.928 0 0 1-.721.373h-.002z"
1126
+ style="stroke: none"
1127
+ transform="translate(-829.971 -686.318)"
1128
+ ></path>
1129
+ <path
1130
+ d="M836.532 699.634a.833.833 0 0 0 .644-.333l6.803-9.07a.831.831 0 1 0-1.33-.998l-6.172 8.23-3.107-3.728a.83.83 0 1 0-1.277 1.064l3.78 4.535c.157.19.391.3.638.3h.021m.003.2h-.024c-.307 0-.596-.136-.793-.372l-3.779-4.535a1.025 1.025 0 0 1-.235-.754 1.03 1.03 0 0 1 1.82-.567l2.945 3.534 6.02-8.027a1.034 1.034 0 0 1 1.444-.207c.22.165.363.407.402.68.04.273-.03.544-.196.765l-6.803 9.07c-.19.254-.481.404-.799.412h-.002z"
1131
+ style=${`fill: ${s}; stroke: none`}
1132
+ transform="translate(-829.971 -686.318)"
1133
+ ></path>
1134
+ </g>
1135
+ </svg>`}const dn=new Set(["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required","class","style"]),un=Array.from({length:24},(e,t)=>t),pn=Array.from({length:60},(e,t)=>t),tl=we({name:"moz-time-picker",defaults:{width:"160px",modelValue:"09:00",label:"",disabled:!1,required:!1},setup(e){const t=H.createRef(),o=H.createRef(),n=H.createRef(),r=H.createRef(),s=H.createRef(),h=H.createRef();let c=!1,i=9,m=0,a="",u="";const p=z=>{if(z&&z.includes(":")){const[G,le]=z.split(":").map(Number);!isNaN(G)&&!isNaN(le)&&(i=G,m=le,a=z,u=z)}};p(e.props.modelValue);let v=e.props.modelValue,$=a;const R=new pt({anchor:()=>o.value??null,panel:()=>r.value??null,maxHeight:()=>210,container:()=>t.value??null,listWidth:()=>"160px",requestClose:()=>{c&&b(!1)}});e.onCleanup(()=>R.destroy());const y=()=>{s.value&&(s.value.scrollTop=i*24-72),h.value&&(h.value.scrollTop=m*24-72)},b=z=>{c!==z&&(c=z,e.requestUpdate(),z?(R.open(),queueMicrotask(y)):R.close())},M=()=>{const z=`${i.toString().padStart(2,"0")}:${m.toString().padStart(2,"0")}`;a=z,u=z,e.emit("update:modelValue",z),e.requestUpdate()},S=z=>{i=z,M()},L=z=>{m=z,b(!1),M()},X=()=>{i=new Date().getHours(),m=new Date().getMinutes(),M(),b(!1)},j=z=>{let G=z.replace(/[^\d:]/g,"");return G.length>5&&(G=G.slice(0,5)),G},re=z=>{b(!1);const G=z.target,le=z.key;if(!/^\d$/.test(le))return;const se=G.selectionStart||0,J=a;if(G.selectionStart!==G.selectionEnd||se>=J.length)return;z.preventDefault();const O=J.replace(/:/g,""),k=(J.slice(0,se).match(/:/g)||[]).length,_=se-k;let Z=O.substring(0,_)+le;_+1<O.length&&(Z+=O.substring(_+1)),Z.length>4&&(Z=Z.slice(0,4));let P=Z,V=_+1;if(Z.length>=2){const D=Z.slice(0,2),U=Z.slice(2);P=`${D}:${U}`,V>2&&(V=V+1)}a=P,u=P,e.requestUpdate(),queueMicrotask(()=>G.setSelectionRange(V,V))},de=z=>{const G=z.target,le=G.selectionStart||0,se=u;let J=G.value;const O=J.length<se.length;J=j(J);const k=J.replace(/:/g,"");if(!O&&k.length>=2){const _=(J.slice(0,le).match(/:/g)||[]).length,Z=le-_,P=k.slice(0,2),V=k.slice(2);J=P+(V?`:${V}`:":");let D=Z;Z>2&&(D=Z+1),a=J,u=J,e.requestUpdate(),setTimeout(()=>G.setSelectionRange(D,D),0);return}a=J,u=J,e.requestUpdate()},ee=()=>b(!0),W=()=>{if(!a){M();return}let z=a;!z.includes(":")&&z.length>=2&&(z=`${z.slice(0,2)}:${z.slice(2)}`);const G=z.split(":");let le=i,se=m;if(G[0]){const J=parseInt(G[0],10);isNaN(J)||(J>=0&&J<=23?le=J:J>23?le=23:le=0)}if(G[1]){const J=parseInt(G[1],10);isNaN(J)||(J>=0&&J<=59?se=J:J>59?se=59:se=0)}i=le,m=se,M()};return{render(){const z=e.props;if(z.modelValue!==v&&(v=z.modelValue,p(z.modelValue)),a!==$){$=a;const O=a;if(/^\d{2}:\d{2}$/.test(O)){const[k,_]=O.split(":").map(Number);!isNaN(k)&&!isNaN(_)&&k>=0&&k<=23&&_>=0&&_<=59&&O!==z.modelValue&&(i=k,m=_,queueMicrotask(()=>e.emit("update:modelValue",O)))}}const G=z.disabled?"var(--moz-color-text-muted)":c?"var(--moz-color-accent)":"var(--moz-color-text-subtle)",le=ge(z,dn),se="__:__",J=[];for(let O=0;O<se.length;O++)O<a.length?J.push({char:a[O],isInput:!0}):J.push({char:se[O],isInput:!1});return l.html`
1136
+ <div
1137
+ class=${T("custom-time-picker",z.class,{"custom-time-picker--has-class":!!z.class})}
1138
+ style=${te.styleMap({width:z.width,...Pe(z.style)})}
1139
+ ${he(le)}
1140
+ ${H.ref(t)}
1141
+ >
1142
+ ${z.label?Be({disabled:z.disabled,required:z.required},z.label):l.nothing}
1143
+ <div
1144
+ class=${T("time-input-wrapper",{"time-input-wrapper--disabled":z.disabled,"time-input-wrapper--open":c&&!z.disabled})}
1145
+ ${H.ref(o)}
1146
+ >
1147
+ <div class="input-with-mask">
1148
+ <input
1149
+ type="text"
1150
+ .value=${a}
1151
+ @keydown=${re}
1152
+ @input=${de}
1153
+ @blur=${W}
1154
+ @focus=${ee}
1155
+ @click=${()=>b(!0)}
1156
+ class=${T("time-input",{"time-input--disabled":z.disabled,"time-input--open":c})}
1157
+ ?disabled=${!!z.disabled}
1158
+ maxlength="5"
1159
+ ${H.ref(n)}
1160
+ />
1161
+ <div class="time-mask">
1162
+ ${J.map(O=>l.html`<span
1163
+ class=${T({"mask-input":O.isInput&&!z.disabled,"mask-placeholder":!O.isInput,"mask-input--disabled":O.isInput&&!!z.disabled})}
1164
+ >${O.char}</span
1165
+ >`)}
1166
+ </div>
1167
+ </div>
1168
+ <div class="icon-container">
1169
+ <span @click=${()=>b(!0)}>${cn("14",G)}</span>
1170
+ </div>
1171
+ </div>
1172
+ </div>
1173
+ `},renderPortal(){if(!c)return l.nothing;const z=e.props;return l.html`<div class="time-picker-dropdown" ${H.ref(r)}>
1174
+ <div class="time-picker-content">
1175
+ <div class="time-column">
1176
+ <div class="time-label">${z.hourLabel??e.locale.TimePicker.hour}</div>
1177
+ <div class="time-list">
1178
+ <div class="time-option-wrapper" ${H.ref(s)}>
1179
+ ${un.map(G=>l.html`<div @click=${()=>S(G)} class="time-option">
1180
+ <div class="time-option-text">${G.toString().padStart(2,"0")}</div>
1181
+ ${i===G?co("12","var(--moz-color-accent)",!1,"check-icon"):l.nothing}
1182
+ </div>`)}
1183
+ </div>
1184
+ </div>
1185
+ </div>
1186
+ <div class="time-column">
1187
+ <div class="time-label">${z.minuteLabel??e.locale.TimePicker.minute}</div>
1188
+ <div class="time-list">
1189
+ <div class="time-option-wrapper" ${H.ref(h)}>
1190
+ ${pn.map(G=>l.html`<div @click=${()=>L(G)} class="time-option">
1191
+ <div class="time-option-text">${G.toString().padStart(2,"0")}</div>
1192
+ ${m===G?co("12","var(--moz-color-accent)",!1,"check-icon"):l.nothing}
1193
+ </div>`)}
1194
+ </div>
1195
+ </div>
1196
+ </div>
1197
+ </div>
1198
+ <div class="time-picker-footer" @click=${X}>
1199
+ ${z.currentTimeLabel??e.locale.TimePicker.currentTime}
1200
+ </div>
1201
+ </div>`}}}}),hn={name:"MozTimePicker",core:tl,props:["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required"],emits:["update:modelValue"],slots:[],expose:!1};function mn(e,t=12){return{10:{width:10,height:10},12:{width:12,height:12},14:{width:14,height:14},16:{width:16,height:16},18:{width:18,height:18},20:{width:20,height:20},22:{width:22,height:22},30:{width:30,height:30}}[e]??{width:t,height:t}}function uo(e="var(--moz-color-text-subtle)",t=""){return l.html`<svg class=${t} width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1202
+ <path d="M9 3L3 9M3 3L9 9" stroke=${e} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1203
+ </svg>`}function po(e="12",t="var(--moz-color-text-subtle)",o=!1,n=""){const r=mn(e,12),s=o?"var(--moz-color-text-muted)":t;return l.html`<svg class=${n} xmlns="http://www.w3.org/2000/svg" width=${r.width} height=${r.height} viewBox="0 0 12 12">
1204
+ <g transform="translate(-0.005)">
1205
+ <path
1206
+ d="M2.311,12.843a1.028,1.028,0,0,1-.291-.933L2.53,9.262a1.029,1.029,0,0,1,.279-.528L9.241,2.186a1.036,1.036,0,0,1,1.45-.021l2.151,2.071A1.03,1.03,0,0,1,12.861,5.7L6.432,12.246a1.024,1.024,0,0,1-.518.283l-2.665.58a.957.957,0,0,1-.22.024,1.027,1.027,0,0,1-.718-.291M3.652,9.515,3.183,11.95l2.456-.535L10.132,6.84,8.147,4.934Zm7.285-3.494,1.021-1.036L9.979,3.079,8.957,4.114Z"
1207
+ transform="translate(-1.577 -1.504)"
1208
+ fill=${s}
1209
+ stroke=${s}
1210
+ stroke-width="0.6"
1211
+ ></path>
1212
+ </g>
1213
+ </svg>`}const fn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","class","style"]);function gn(e,t){let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>e(...n),t)}}const ol=we({name:"moz-tag-input",defaults:{modelValue:[],required:!1,label:"",addButtonLabel:"",itemsSource:[],displayKey:"",pattern:"",dynamicSearch:!1,simplify:!1,limitItemLength:0,limitTextLength:0,disableUpdate:!1,disableDelete:!1,pushOnBlur:!1,isExpandTop:!1},setup(e){const t=H.createRef(),o=H.createRef();let n=null,r=[],s=!1,h=!1,c="",i=!1,m={};const a=()=>e.props,u=g=>a().pattern?new RegExp(`${a().pattern}`).test(g):!0,p=()=>r.map((g,I)=>({...g,idx:I})).filter(g=>g.isSelected!==-1).sort((g,I)=>g.isSelected-I.isSelected),v=()=>p().map(g=>g.value),$=()=>!p().some(g=>!g.isValid),R=(g,I)=>{const N=a().limitItemLength;(!I||I&&N&&p().length<N||I&&!N)&&(I&&r[g].isSelected===-1||!I)&&(r[g].isSelected=I?Date.now():-1)},y=(g,I)=>{const N=r.findIndex(De=>De.value===g);if(N!==-1)return v().includes(g)?!1:(R(N,!0),!0);const Y={key:Date.now(),isSelected:I?Date.now():-1,isValid:u(g),isEditing:!1,beforeValue:g,value:g};Y.isValid&&a().requestCreate&&a().requestCreate(g);const ve=a().limitItemLength;return!I||!ve||I&&ve&&p().length<ve?(r.push(Y),!0):!1},b=g=>{r.splice(g,1)},M=g=>{r[g].isValid=u(r[g].value),r[g].isValid&&a().requestUpdate&&a().requestUpdate({before:r[g].beforeValue,after:r[g].value}),r[g].beforeValue=r[g].value},S=()=>{r=r.filter(g=>g.isSelected!==-1),(a().itemsSource??[]).forEach(g=>{y(a().displayKey?g[a().displayKey]:g,!1)})};S();const L=()=>{const g=a().modelValue;if(g&&g.toString()!==v().toString()){const I=[...g];r.forEach((N,Y)=>{const ve=I.indexOf(N.value);ve!==-1&&(N.key===-1&&R(Y,!0),I.splice(ve,1))}),I.forEach(N=>y(N,!0))}};L();let X=a().modelValue,j=a().itemsSource,re=v().toString();const de=()=>{if(!t.value||!o.value)return;const g=t.value.getBoundingClientRect();let I=g.left;g.left+o.value.clientWidth>document.body.clientWidth&&(I-=o.value.clientWidth-g.width),m={minWidth:`${g.width}px`,width:`${g.width}px`,left:`${I}px`,top:`${g.top}px`},e.requestUpdate()},ee=g=>{const I=g.target,N=()=>{c&&a().pushOnBlur&&y(c,!0)&&e.emit("modelChange",v()),c="",h=!1,s=!1};I.className&&Array.from(String(I.className).split(" ")).includes("tag-input-not-close")||N(),O(""),window.removeEventListener("mousedown",ee),e.requestUpdate()},W=()=>{s=!0,window.addEventListener("mousedown",ee),e.requestUpdate(),queueMicrotask(de)};e.onCleanup(()=>window.removeEventListener("mousedown",ee));const z=g=>{setTimeout(()=>{const I=o.value,N=I==null?void 0:I.querySelector(`[data-edit-idx="${g}"] .moz-auto-input`);N==null||N.focus()},0)},G=g=>{r[g].isEditing=!0,e.requestUpdate(),z(g)},le=()=>{h=!0,W(),setTimeout(()=>n==null?void 0:n.focus(),0)},se=g=>{if(g.key==="Enter"&&c===""&&e.emit("onEnterEmpty",v()),(g.key==="Enter"||g.key==="Tab"&&a().pushOnBlur)&&c!==""&&(y(c,!0)&&(e.emit("modelChange",v()),c=""),e.requestUpdate()),g.key==="Tab"&&(s=!1,h=!1,e.requestUpdate()),g.key==="Backspace"){const I=g.target,N=p();I.selectionStart===0&&N.length>0&&(R(N[N.length-1].idx,!1),e.requestUpdate())}},J=g=>{a().dynamicSearch&&a().requestRead&&(i=!0,e.requestUpdate(),O(g.target.value))},O=gn(g=>{a().requestRead&&a().requestRead(g).then(()=>{i=!1,e.requestUpdate()})},300),k=(g,I)=>{g.key==="Backspace"&&r[I].value===""&&r.length>1&&(b(I),e.requestUpdate())},_=g=>{g.key==="Enter"&&(h=!0,e.requestUpdate(),setTimeout(()=>n==null?void 0:n.focus(),0))},Z=g=>{r[g].value===""&&b(g),(r.length>1||r[g]&&r[g].value!=="")&&r[g]&&(r[g].isEditing=!1),r[g]&&M(g),e.requestUpdate()},P=g=>{R(g,!0),e.requestUpdate(),n==null||n.focus()},V=g=>{g.style.width="1px",g.style.width=`${g.scrollWidth}px`},D=g=>{const I=a().limitTextLength;return l.html`<input
1214
+ class="moz-auto-input tag-input-common tag-input-add"
1215
+ .value=${g.value}
1216
+ style="width:1px"
1217
+ ${H.ref(N=>{var ve;const Y=N??null;Y&&V(Y),(ve=g.captureEl)==null||ve.call(g,Y)})}
1218
+ @input=${N=>{var ve;const Y=N.target;I&&Y.value.length<=I||!I||I===-1?g.setValue(Y.value):Y.value=g.value,V(Y),(ve=g.onInputExtra)==null||ve.call(g,N)}}
1219
+ @keydown=${N=>{var Y;return(Y=g.onKeydown)==null?void 0:Y.call(g,N)}}
1220
+ @keyup=${N=>{var Y;return(Y=g.onKeyup)==null?void 0:Y.call(g,N)}}
1221
+ @blur=${()=>{var N;return(N=g.onBlur)==null?void 0:N.call(g)}}
1222
+ />`},U=(g,I,N)=>l.html`<div class="tag-input-controller" style=${te.styleMap({display:g.isSelected!==-1?"":"none"})}>
1223
+ <div
1224
+ class=${T("tag-input-item",{invalid:!g.isValid})}
1225
+ data-isValid=${String(g.isValid)}
1226
+ data-edit-idx=${g.idx}
1227
+ @mousedown=${Y=>Y.stopPropagation()}
1228
+ >
1229
+ ${N&&a().simplify&&g.isEditing?D({value:g.value,setValue:Y=>{r[g.idx].value=Y,e.requestUpdate()},onKeydown:Y=>k(Y,g.idx),onKeyup:Y=>_(Y),onBlur:()=>Z(g.idx)}):l.html`<span class="tag-input-preview tag-input-common">${g.value}</span>`}
1230
+ <div class="tag-input-btn-wrapper">
1231
+ ${a().simplify&&!g.isEditing&&!a().disableUpdate?l.html`<span
1232
+ class="tag-input-button cursor-pointer"
1233
+ role="button"
1234
+ tabindex="0"
1235
+ aria-label=${e.locale.TagInput.editTag.replace("{label}",g.value??"")}
1236
+ @click=${()=>G(g.idx)}
1237
+ @keydown=${Y=>{Y.key!=="Enter"&&Y.key!==" "||(Y.preventDefault(),G(g.idx))}}
1238
+ >${po("10")}</span
1239
+ >`:l.nothing}
1240
+ <span
1241
+ class="tag-input-button cursor-pointer"
1242
+ role="button"
1243
+ tabindex="0"
1244
+ aria-label=${e.locale.TagInput.removeTag.replace("{label}",g.value??"")}
1245
+ @click=${()=>{R(g.idx,!1),e.requestUpdate()}}
1246
+ @keydown=${Y=>{Y.key!=="Enter"&&Y.key!==" "||(Y.preventDefault(),R(g.idx,!1),e.requestUpdate())}}
1247
+ >${uo()}</span
1248
+ >
1249
+ </div>
1250
+ </div>
1251
+ </div>`;return{api:{isValid:$},render(){const g=e.props;g.modelValue!==X&&(X=g.modelValue,L()),g.itemsSource!==j&&(j=g.itemsSource,S());const I=v().toString();if(I!==re){re=I;const Y=v();queueMicrotask(()=>e.emit("update:modelValue",Y))}const N=ge(g,fn);return l.html`
1252
+ <div class=${T("moz-tag-input-wrapper",g.class)} ${he(N)}>
1253
+ ${g.label?l.html`<label class=${T("tag-input-label",{required:g.required})}>${g.label}</label>`:l.nothing}
1254
+ <div class="tag-input-grid">
1255
+ <div
1256
+ class="tag-input-not-close tag-input-row scrollbar-none"
1257
+ @mousedown=${Y=>{Y.stopPropagation(),le()}}
1258
+ @click=${W}
1259
+ ${H.ref(t)}
1260
+ >
1261
+ ${e.slot("left")}
1262
+ ${p().map((Y,ve)=>U(Y,ve,!1))}
1263
+ ${h?l.html`<span class="tag-input-preview tag-input-common" @click=${le}>${c}</span>`:l.nothing}
1264
+ ${g.limitItemLength&&h?l.html`<div class="tag-input-counter">${p().length} / ${g.limitItemLength}</div>`:l.nothing}
1265
+ ${h?l.nothing:l.html`<span class="tag-input-add-to">${g.addButtonLabel?g.addButtonLabel:e.locale.TagInput.add} </span>`}
1266
+ <div class="flex-1"></div>
1267
+ ${e.slot("right")}
1268
+ </div>
1269
+ </div>
1270
+ </div>
1271
+ `},renderPortal(){if(!s)return l.nothing;const g=e.props;return l.html`<div class="absolute z-1501" style=${te.styleMap(m)}>
1272
+ <div
1273
+ class="tag-input-placeholder-float tag-input-not-close scrollbar-none shown"
1274
+ @mousedown=${I=>{I.stopPropagation(),le()}}
1275
+ ${H.ref(o)}
1276
+ >
1277
+ ${p().map((I,N)=>U(I,N,!0))}
1278
+ ${h?D({value:c,setValue:I=>{c=I,e.requestUpdate()},onKeydown:se,onKeyup:()=>{},onBlur:()=>{},onInputExtra:J,captureEl:I=>{n=I}}):l.nothing}
1279
+ ${i?l.html`<div class="tag-input-loading">
1280
+ <div class="tag-input-loading-ball-1"></div>
1281
+ <div class="tag-input-loading-ball-2"></div>
1282
+ <div class="tag-input-loading-ball-3"></div>
1283
+ </div>`:l.nothing}
1284
+ ${g.limitItemLength&&h?l.html`<div class="tag-input-counter" @click=${le}>
1285
+ ${p().length} / ${g.limitItemLength}
1286
+ </div>`:l.nothing}
1287
+ ${h?l.nothing:l.html`<span class="tag-input-add-to flex-1">${g.addButtonLabel?g.addButtonLabel:""} </span>`}
1288
+ </div>
1289
+ ${g.simplify?l.nothing:l.html`<div class="tag-input-dropdown-outer-wrapper" @mousedown=${I=>I.stopPropagation()}>
1290
+ <div class=${T("tag-input-dropdown-wrapper",{"expand-top":g.isExpandTop})}>
1291
+ <div class="tag-input-dropdown-inner-wrapper">
1292
+ <div class="tag-input-dropdown-title"></div>
1293
+ ${r.map((I,N)=>l.html`<div class="dropdown-tag-input-item-wrapper tag-input-controller">
1294
+ <div
1295
+ class=${T("tag-input-item tag-item-limit-width",{invalid:!I.isValid})}
1296
+ data-isValid=${String(I.isValid)}
1297
+ data-edit-idx=${N}
1298
+ @click=${()=>P(N)}
1299
+ >
1300
+ ${I.isEditing?D({value:I.value,setValue:Y=>{r[N].value=Y,e.requestUpdate()},onKeydown:Y=>k(Y,N),onKeyup:Y=>_(Y),onBlur:()=>Z(N)}):l.html`<span class="tag-input-preview tag-input-common">
1301
+ <span>${I.value}</span>
1302
+ <div class="tag-input-btn-wrapper">
1303
+ ${!I.isEditing&&!g.disableUpdate?l.html`<span
1304
+ class="tag-input-button cursor-pointer"
1305
+ @click=${Y=>{Y.stopPropagation(),G(N)}}
1306
+ >${po("10")}</span
1307
+ >`:l.nothing}
1308
+ ${g.disableDelete?l.nothing:l.html`<span
1309
+ class="tag-input-button cursor-pointer"
1310
+ @click=${Y=>{Y.stopPropagation(),b(N),e.requestUpdate()}}
1311
+ >${uo()}</span
1312
+ >`}
1313
+ </div>
1314
+ </span>`}
1315
+ </div>
1316
+ </div>`)}
1317
+ </div>
1318
+ </div>
1319
+ </div>`}
1320
+ </div>`}}}}),vn={name:"MozTagInput",core:ol,props:["modelValue","required","label","addButtonLabel","itemsSource","displayKey","pattern","dynamicSearch","requestCreate","requestRead","requestUpdate","simplify","limitItemLength","limitTextLength","disableUpdate","disableDelete","pushOnBlur","isExpandTop"],emits:["update:modelValue","modelChange","onEnterEmpty"],slots:["left","right"],expose:!0},wn=new Set(["itemSource","fixPosition","noPadding","minWidth","class","style"]);function Cn(e,t){let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>e(...n),t)}}const yn=500,ll=we({name:"moz-context-menu",defaults:{transition:"fade",minWidth:"150px",direction:"rb"},setup(e){let t=null,o=null;const n=H.createRef();let r=!1,s=!1,h=!1,c=!1,i=null,m=!1,a=!1,u=!1,p=!1;const v=new Map,$=new Map,R=new Map,y=new Map,b=()=>{r&&s&&(i||e.props.itemSource)&&o&&!p&&(p=!0,e.emit("open",{target:o}))},M=k=>{const _=h!==k;h=k,e.requestUpdate(),_&&!k&&setTimeout(()=>{r=!1,c=!1,p=!1,e.emit("close",{target:o}),e.requestUpdate()},50)},S=k=>{const _=r!==k;r=k,e.requestUpdate(),_&&(setTimeout(()=>{s=r,e.requestUpdate(),b()},0),M(r),b())},L=k=>{if(e.props.disableCloseOnClickBackdrop)return;const _=["list-box-container"],Z=k.composedPath();Z.includes(o)||_.forEach(P=>{(!P||P&&!Z.some(V=>{var D;return(D=V.classList)==null?void 0:D.contains(P)}))&&X()})},X=()=>{(e.props.beforeClose??(()=>{}))&&(M(!1),window.removeEventListener("mousedown",L),window.removeEventListener("resize",X))},j=(k,_)=>{k instanceof Function&&(i=k(_)),S(!0),setTimeout(()=>S(!0),60)},re=()=>{r?X():j()},de=()=>{const k=e.props.fixPosition;if(!k)return;const _=k.selector&&document.querySelector(k.selector)||t;if(!_||!o||!n.value)return;const Z=_.getBoundingClientRect(),P=n.value.getBoundingClientRect();m=Z.left+_.clientWidth<P.left+o.clientWidth,a=Z.left+_.clientWidth<P.left+o.clientWidth*2,u=Z.top+_.clientHeight<P.top+o.clientHeight,k.useTeleport?(o.style.left=`${P.left}px`,o.style.top=`${P.top}px`):(o.style.left=`${n.value.offsetLeft}px`,o.style.top=`${n.value.offsetTop}px`),e.requestUpdate()},ee=k=>{c||(o&&t&&(e.props.fixPosition?de():(m=t.clientWidth<k.clientX+o.clientWidth,a=t.clientWidth<k.clientX+o.clientWidth*2,u=t.clientHeight<k.clientY+o.clientHeight,o.style.left=`${k.clientX}px`,o.style.top=`${k.clientY}px`)),t&&(t.style.pointerEvents="none"),window.addEventListener("mousedown",L),window.addEventListener("resize",X),c=!0,e.requestUpdate())};e.onCleanup(()=>{window.removeEventListener("mousedown",L),window.removeEventListener("resize",X)});const W=k=>{let _=y.get(k);return _||(_=Cn((Z,P,V)=>{P.children&&(z(V,P),v.set(V,Z),e.requestUpdate())},400),y.set(k,_)),_},z=(k,_)=>{if(!_.children||$.get(k))return;const Z=R.get(k);if(!Z)return;const P=Z.getBoundingClientRect();$.set(k,Z.clientHeight+P.top>document.body.offsetHeight)},G=(k,_)=>{k.function?(k.function(),X()):k.children&&(z(_,k),v.set(_,!0),e.requestUpdate())},le=k=>typeof k.disabled=="function"?k.disabled():!!k.disabled,se=(k,_,Z,P)=>{const V=v.get(P)??!1,D=$.get(P)??!1,U=W(P);return l.html`<div
1321
+ class=${T({"context-menu-item-enable-hover":!("hover"in k)||k.hover,"context-menu-item-wrapper":!0,"context-menu-item-wrapper-selected":V,"context-menu-item-wrapper-disabled":le(k)})}
1322
+ @mouseenter=${()=>U(!0,k,P)}
1323
+ @mouseleave=${()=>U(!1,k,P)}
1324
+ >
1325
+ <div
1326
+ class=${T({"context-menu-sub-items-wrapper-right":Z&&!D,"context-menu-sub-items-wrapper-bottom":D&&!Z,"context-menu-sub-items-wrapper-bottom-right":D&&Z,"context-menu-sub-items-wrapper-hide":!k.children||!V,"context-menu-sub-items-wrapper":!D&&!Z})}
1327
+ ${H.ref(g=>{g&&R.set(P,g)})}
1328
+ >
1329
+ ${k.children?O(k.children,_+1,Z,P):l.nothing}
1330
+ </div>
1331
+ ${k.template?l.html`<div
1332
+ class=${`context-menu-item-${k.template}`}
1333
+ @mouseup=${()=>{var g;(!("hover"in k)||k.hover)&&((g=k.function)==null||g.call(k),X())}}
1334
+ >
1335
+ ${J(k)}
1336
+ </div>`:l.html`<div
1337
+ class="context-menu-item"
1338
+ role="menuitem"
1339
+ tabindex="-1"
1340
+ aria-disabled=${le(k)?"true":"false"}
1341
+ aria-haspopup=${k.children?"menu":"false"}
1342
+ @click=${()=>G(k,P)}
1343
+ >
1344
+ <div class="context-menu-item-left">${k.text}</div>
1345
+ ${k.children?l.html`<div class="context-menu-item-right"></div>`:l.nothing}
1346
+ </div>`}
1347
+ </div>`},J=k=>{const _=k.template,Z=_.includes("[col-padding]")?"col-padding":_.includes("[row-padding]")?"row-padding":_.includes("[padding]")?"padding":null,P=e.slots.has(_)?e.slot(_,{props:{...k}}):l.nothing;return Z?l.html`<div class="context-menu-item-template" data-layout=${Z}>${P}</div>`:l.html`${P}`},O=(k,_,Z,P)=>{const V=_===0;return l.html`<div
1348
+ role=${V?"menu":"group"}
1349
+ class=${T("context-menu-content-wrapper",V?e.props.class:void 0)}
1350
+ data-noPadding=${String(!!e.props.noPadding)}
1351
+ style=${te.styleMap({minWidth:e.props.minWidth})}
1352
+ ${he(V?ge(e.props,wn):{})}
1353
+ >
1354
+ ${k.map((D,U)=>{const g=`${P}/${_}-${U}`;return l.html`<div class="context-menu-item-outer-wrapper" style=${te.styleMap({display:D!=null&&D.hidden?"none":""})}>
1355
+ ${D.separator?l.html`<div class="context-menu-separator"></div>`:se(D,_,Z,g)}
1356
+ </div>`})}
1357
+ </div>`};return{api:{state:()=>r,open:j,close:X,toggle:re},render(){const k=e.props;return k.fixPosition?l.html`<div
1358
+ class="context-menu-fixed-position-space"
1359
+ style=${te.styleMap({left:typeof k.fixPosition.left=="string"?k.fixPosition.left:`${k.fixPosition.left}px`,top:typeof k.fixPosition.top=="string"?k.fixPosition.top:`${k.fixPosition.top}px`})}
1360
+ ${H.ref(n)}
1361
+ ></div>`:l.nothing},renderPortal(){const k=e.props,_=i||k.itemSource;if(!r||!_)return l.nothing;const Z=k.transition,P=k.direction;return l.html`
1362
+ <div
1363
+ class="context-menu-wrapper"
1364
+ @mouseenter=${ee}
1365
+ @contextmenu=${V=>V.preventDefault()}
1366
+ ${H.ref(V=>{V&&(t=V)})}
1367
+ ></div>
1368
+ <div
1369
+ class=${T({[`before-${Z}`]:!0,[`after-${Z}`]:s&&h,"context-menu-content-hide":!r,"context-menu-content-init":!0,"context-menu-content-init-right":m&&!u||P==="lb"||P.startsWith("l")&&!u||P.endsWith("b")&&m,"context-menu-content-init-bottom":u&&!m||P==="rt"||P.startsWith("r")&&u||P.endsWith("t")&&!m,"context-menu-content-init-bottom-right":u&&m||P==="lt"||P.startsWith("l")&&u||P.endsWith("t")&&m})}
1370
+ style=${te.styleMap({transitionDuration:`${yn}ms`,...k.toTopCenter?{transform:"translate(-50%, -100%)"}:{},...k.toBottomCenter?{transform:"translate(-50%, 0)"}:{}})}
1371
+ @contextmenu=${V=>V.preventDefault()}
1372
+ ${H.ref(V=>{V&&(o=V,b())})}
1373
+ >
1374
+ ${O(_,0,a,"root")}
1375
+ </div>
1376
+ `}}}}),bn={name:"MozContextMenu",core:ll,props:["itemSource","beforeClose","transition","minWidth","direction","fixPosition","toTopCenter","toBottomCenter","noPadding","disableCloseOnClickBackdrop"],emits:["open","close"],slots:[],expose:!0},vt=32,ho=300,$n=29,Sn=32,mo=120,kn=34,En=12,fo=30,Pn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue","class","style"]);function xn(e,t){let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>e(...n),t)}}function Ln(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const sl=we({name:"moz-table-select",defaults:{label:null,required:!1,readonly:!1,disabled:!1,keyProp:"id",displayProps:["text"],columnWidths:[],separator:" / ",rules:[],useFilter:!0,useObjKeyProp:!1,modelValue:null},setup(e){const t=H.createRef(),o=H.createRef(),n=H.createRef(),r=H.createRef(),s=H.createRef(),h=H.createRef();let c=null,i=e.props.modelValue??null;const m=()=>e.controlled("modelValue")?e.props.modelValue??null:i,a=d=>{e.controlled("modelValue")||(i=d),e.emit("update:modelValue",d),e.requestUpdate()};let u=!1,p="",v=-1;const $={change:"",blur:"",save:""};let R=m();const y=()=>e.props.keyProp||"id",b=()=>e.props.displayProps??["text"],M=new Fe.Virtualizer({count:0,getScrollElement:()=>c,estimateSize:()=>vt,measureElement:d=>d.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{D==null||D.release(),D=null}),e.onCleanup(M._didMount());const S=d=>{c=d??null,d&&(M._willUpdate(),e.requestUpdate())},L=d=>{const x=m();return x==null?!1:e.props.useObjKeyProp?typeof x!="object"?!1:b().every(K=>d[K]===x[K]):d[y()]===x},X=()=>m()==null||!e.props.itemsSource?null:e.props.itemsSource.find(d=>L(d))??null,j=d=>e.props.itemsSource?e.props.itemsSource.find(x=>x[y()]===d)??null:null,re=()=>{const d=m();if(d==null)return null;const x=e.props.useObjKeyProp?X():j(d);return x?b().map(K=>String(x[K]??"")).join(e.props.separator):null},de=()=>{const d=b(),x=e.props.columnWidths??[],K=d.reduce((ce,$e,ye)=>ce+(x[ye]??mo),0),ne=Math.max(0,d.length-1)*En;return K+ne+kn+fo},ee=()=>{const d=e.props.width;return d!=null?typeof d=="number"?`${Le(d)}rem`:d:`${de()}px`},W=d=>{const x=(e.props.columnWidths??[])[d]??mo,K=d===b().length-1;return`${x+(K?fo:0)}px`},z=()=>{if(!p)return e.props.itemsSource??[];const d=p.toLowerCase();return(e.props.itemsSource??[]).filter(x=>b().some(K=>String(x[K]??"").toLowerCase().indexOf(d)>-1))},G=d=>{if(!p)return[{part:d,highlight:!1}];const x=Ln(p),K=new RegExp(`(${x})`,"gi");return d.split(K).map(ne=>({part:ne,highlight:p.toLowerCase()===ne.toLowerCase()}))},le=()=>{const d=m();return e.props.useObjKeyProp?d==null?"":String(d):d},se=()=>$.save||$.blur||$.change,J=()=>{const d=[];return e.props.required&&d.push({message:e.props.requiredMessage??e.locale.TableSelect.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...d,...e.props.rules??[]]},O=async(d,x)=>{const K=J();if(K.length<=0||e.props.disabled)return!0;$[x]="",e.requestUpdate();const ne=K.filter(ce=>ce.type===x);for(const ce of ne)if(!await ce.validator(d))return $[x]=ce.message,e.requestUpdate(),!1;return!0},k=async(d="save")=>se()!==""?!1:await O(le(),d),_={validate:k,initValidator:()=>{$.change="",$.blur="",$.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(_),e.onCleanup(()=>{var d;return(d=e.validator)==null?void 0:d.removeValidator(_)}));const Z=new pt({anchor:()=>o.value??null,panel:()=>n.value??null,maxHeight:()=>ho,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:d=>d===c,requestClose:()=>{u&&U(!1)}});e.onCleanup(()=>Z.destroy());const P=d=>{d.key==="Escape"&&U(!1)},V=d=>{const x=!!e.props.columnHeaders&&e.props.columnHeaders.length>0,K=ho-(e.props.useFilter?$n:0)-(x?Sn:0),ce=vt*d-K/2;return Math.max(0,ce+vt)};let D=null;const U=d=>{u!==d&&(u=d,e.requestUpdate(),d?(D=ht(),Z.open(),$.save="",window.addEventListener("keydown",P),queueMicrotask(()=>{var K;if(m()!=null){const ne=z().findIndex(ce=>L(ce));ne>=0&&(v=ne,c&&(c.scrollTop=V(ne)),e.requestUpdate())}h.value?h.value.focus():(K=s.value)==null||K.focus()})):(D==null||D.release(),D=null,Z.close(),e.emit("close"),O(le(),"blur"),v=-1,window.removeEventListener("keydown",P),p="",e.emit("close"),queueMicrotask(()=>{var x;return(x=s.value)==null?void 0:x.focus()})))};e.onCleanup(()=>window.removeEventListener("keydown",P));const g=()=>{var d;e.props.disabled||(U(!u),(d=s.value)==null||d.focus())},I=d=>{a(e.props.useObjKeyProp?{...d}:d[y()]),U(!1)},N=()=>{queueMicrotask(()=>M.scrollToIndex(v,{align:"auto"}))},Y=d=>{d.preventDefault();const x=z().length-1;x<0||(v=v>=x?0:v+1,e.requestUpdate(),N())},ve=d=>{d.preventDefault();const x=z().length-1;x<0||(v=v<=0?x:v-1,e.requestUpdate(),N())},De=d=>{d.preventDefault();const x=z();v>=0&&v<x.length&&I(x[v])},_e=d=>{d.key==="ArrowDown"?Y(d):d.key==="ArrowUp"?ve(d):d.key==="Enter"&&De(d)},He=xn(d=>{p=d.target.value;const x=z().length;v=x>0?0:-1,e.requestUpdate(),queueMicrotask(()=>{M.setOptions({...M.options,count:x}),M.measure(),c&&(c.scrollTop=0,M.scrollToIndex(0),M.measure())})},300);return{api:{validate:k},render(){const d=e.props,x=m();if(x!==R){R=x;const $e=x;queueMicrotask(()=>{O(le(),"change");let ye=null;d.useObjKeyProp?ye=X():$e!=null&&(ye=j($e)),e.emit("change",$e,ye)})}const K=ge(d,Pn),{aria:ne,dom:ce}=ut(K);return l.html`
1377
+ <div
1378
+ class=${T("moz-table-select",{"is-invalid":se()!=="","is-open":u,disabled:!!d.disabled})}
1379
+ style=${te.styleMap(Pe(d.style))}
1380
+ ${H.ref(t)}
1381
+ >
1382
+ <div class="input-wrapper">
1383
+ ${d.label?Be({disabled:d.disabled,required:d.required},d.label):l.nothing}
1384
+ <div
1385
+ class="moz-input-container select-input-container"
1386
+ style=${te.styleMap({width:ee()})}
1387
+ @click=${g}
1388
+ ${H.ref(o)}
1389
+ >
1390
+ <input
1391
+ ${he(ce)}
1392
+ .value=${re()??""}
1393
+ autocomplete="off"
1394
+ ?disabled=${!!d.disabled}
1395
+ readonly
1396
+ tabindex="-1"
1397
+ class=${T("select-display-input",{"select-display-input--disabled":d.disabled})}
1398
+ />
1399
+ <button
1400
+ type="button"
1401
+ class="icon-container"
1402
+ ${he(ne)}
1403
+ role="combobox"
1404
+ aria-haspopup="listbox"
1405
+ aria-expanded=${u?"true":"false"}
1406
+ aria-label=${xe.ifDefined(ne["aria-label"]??d.label)}
1407
+ ?disabled=${!!d.disabled}
1408
+ ${H.ref(s)}
1409
+ >
1410
+ ${u?eo("14","var(--moz-color-accent)"):Jt("14","var(--moz-color-text-subtle)",d.disabled)}
1411
+ </button>
1412
+ </div>
1413
+ </div>
1414
+ ${se()!==""?l.html`<span class="moz-input-invalid-message">${se()}</span>`:l.nothing}
1415
+ </div>
1416
+ `},renderPortal(){if(!u)return l.nothing;const d=e.props,x=b(),K=z(),ne=!!d.columnHeaders&&d.columnHeaders.length>0;M.options.count!==K.length&&M.setOptions({...M.options,count:K.length}),M._willUpdate();const ce=M.getTotalSize(),$e=Tt(M.getVirtualItems(),K.length,vt,c).map(C=>{if(C.index>=K.length)return null;const A=K[C.index];return A?{index:C.index,value:A,start:C.start}:null}).filter(C=>C!==null),ye=d.listWidth?typeof d.listWidth=="number"?`${d.listWidth}px`:d.listWidth:void 0;return l.html`<div
1417
+ class=${T("table-list-box",{"no-label":!d.label},d.class)}
1418
+ style=${te.styleMap({width:ye})}
1419
+ @keydown=${_e}
1420
+ ${H.ref(n)}
1421
+ >
1422
+ ${d.useFilter?l.html`<div class="filter-input">
1423
+ <div class="search-icon">${to("12","var(--moz-color-text-subtle)")}</div>
1424
+ <input
1425
+ ${H.ref(h)}
1426
+ @mousedown=${C=>C.stopPropagation()}
1427
+ placeholder=${d.searchPlaceholder??e.locale.TableSelect.searchPlaceholder}
1428
+ @input=${He}
1429
+ class="filter-input__field"
1430
+ />
1431
+ </div>`:l.nothing}
1432
+ ${ne?l.html`<div class="table-header">
1433
+ ${x.map((C,A)=>l.html`<div
1434
+ class="table-header-cell"
1435
+ style=${te.styleMap({width:W(A),minWidth:W(A),maxWidth:W(A)})}
1436
+ >
1437
+ ${(d.columnHeaders??[])[A]??""}
1438
+ </div>`)}
1439
+ </div>`:l.nothing}
1440
+ <div
1441
+ class=${T("list-box-container",{"list-box-container--with-filter":d.useFilter,"list-box-container--with-header":ne,"list-box-container--with-filter-header":d.useFilter&&ne})}
1442
+ ${H.ref(S)}
1443
+ >
1444
+ <div class="inner-container" style=${te.styleMap({height:`${ce}px`})} ${H.ref(r)}>
1445
+ ${$e.map(({index:C,value:A,start:Ce})=>{const Se=L(A);return l.html`<div
1446
+ data-index=${C}
1447
+ ${H.ref(ke=>{ke&&M.measureElement(ke)})}
1448
+ style=${te.styleMap({transform:`translateY(${Ce}px)`})}
1449
+ class=${T("virtual-row table-row",{"row-selected":Se,"row-focused":C===v})}
1450
+ @click=${()=>I(A)}
1451
+ @mouseenter=${()=>{v=C,e.requestUpdate()}}
1452
+ tabindex="0"
1453
+ >
1454
+ ${x.map((ke,Te)=>l.html`<div
1455
+ class="table-cell"
1456
+ style=${te.styleMap({width:W(Te),minWidth:W(Te),maxWidth:W(Te)})}
1457
+ title=${String(A[ke]??"")}
1458
+ >
1459
+ ${G(String(A[ke]??"")).map(Re=>l.html`<span class=${T({highlight:Re.highlight})}>${Re.part}</span>`)}
1460
+ </div>`)}
1461
+ ${Se?Qt("12","var(--moz-color-accent)",!1,"icon-check"):l.nothing}
1462
+ </div>`})}
1463
+ </div>
1464
+ ${!K||K.length<=0?l.html`<div class="empty-row table-row">
1465
+ ${e.slots.has("empty")?e.slot("empty"):d.emptyText??e.locale.TableSelect.emptyText}
1466
+ </div>`:l.nothing}
1467
+ </div>
1468
+ </div>`}}}}),Tn={name:"MozTableSelect",core:sl,props:["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue"],emits:["change","close","update:modelValue"],slots:["empty"],expose:!0};function Mn(e="var(--moz-color-text-subtle)",t=12){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1469
+ <path
1470
+ d="M2.49902 4.27679L6.04436 7.73581L9.501 4.27679"
1471
+ stroke=${e}
1472
+ stroke-width="1.8"
1473
+ stroke-linecap="round"
1474
+ stroke-linejoin="round"
1475
+ ></path>
1476
+ </svg>`}function zn(e="var(--moz-color-text-subtle)",t=12){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1477
+ <path
1478
+ d="M9.50095 7.73636L5.95563 4.27734L2.49902 7.73636"
1479
+ stroke=${e}
1480
+ stroke-width="1.8"
1481
+ stroke-linecap="round"
1482
+ stroke-linejoin="round"
1483
+ ></path>
1484
+ </svg>`}function Vn(e="var(--moz-color-text-subtle)",t=12,o=""){return l.html`<svg class=${o} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1485
+ <path d="M1.71436 7.07145L3.00007 6.00002L1.71436 4.92859" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
1486
+ <path d="M5.14307 4.71423H10.2859" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1487
+ <path d="M1.71436 2.14282L10.2858 2.14282" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1488
+ <path d="M5.14307 7.28577H10.2859" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1489
+ <path d="M1.71436 9.85718L10.2858 9.85718" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1490
+ </svg>`}function Dn(e="var(--moz-color-text-subtle)",t=12,o=""){return l.html`<svg class=${o} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1491
+ <path d="M0.856934 4.92852L2.14265 4.07138L0.856934 3.21423" fill=${e}></path>
1492
+ <path d="M0.856934 4.92852L2.14265 4.07138L0.856934 3.21423V4.92852Z" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
1493
+ <path d="M0.856934 8.7857L2.14265 7.92855L0.856934 7.07141" fill=${e}></path>
1494
+ <path d="M0.856934 8.7857L2.14265 7.92855L0.856934 7.07141V8.7857Z" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
1495
+ <path d="M3.8501 2.35718H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1496
+ <path d="M3.8501 6H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1497
+ <path d="M3.8501 9.64282H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1498
+ </svg>`}const Ft={keyProp:"code",displayProp:"name",categoryLv1ID:"categoryLv1ID",categoryLv1Label:"categoryLv1Label",categoryLv2ID:"categoryLv2ID",categoryLv2Label:"categoryLv2Label",description:"description"};function Rn(e,t){const o=s=>t.displayProp&&s[t.displayProp]?s[t.displayProp]:s[t.keyProp],n=s=>t.categoryLv1Label&&s[t.categoryLv1Label]?s[t.categoryLv1Label]:t.categoryLv1ID?s[t.categoryLv1ID]:"",r=s=>t.categoryLv2Label&&s[t.categoryLv2Label]?s[t.categoryLv2Label]:t.categoryLv2ID?s[t.categoryLv2ID]:"";return e.map(s=>({code:s[t.keyProp],name:o(s),categoryLv1ID:t.categoryLv1ID&&s[t.categoryLv1ID]||"",categoryLv1Label:n(s),categoryLv2ID:t.categoryLv2ID&&s[t.categoryLv2ID]||"",categoryLv2Label:r(s),description:t.description&&s[t.description]||""}))}function wt(e,t){let o=e.get(t);return o||(o=[],e.set(t,o)),o}function An(e){const t=new Map([["depth0",[]],["depth1",[]],["depth2",[]]]),o=new Map,n=new Map;e.forEach(h=>{const c=h.categoryLv1ID;if(!o.get(c)){const i={code:c,name:h.categoryLv1Label??c};o.set(c,i),wt(t,"depth0").push(i)}if(!h.categoryLv2ID||h.categoryLv2ID.trim()==="")wt(t,"depth1").push({...h,parent:h.categoryLv1ID});else{const i=`${h.categoryLv1ID}-${h.categoryLv2ID}`;if(!n.get(i)){const m={code:h.categoryLv2ID,name:h.categoryLv2Label??h.categoryLv2ID,parent:h.categoryLv1ID,isSubCategory:!0};n.set(i,m),wt(t,"depth1").push(m)}wt(t,"depth2").push({...h,parent:h.categoryLv2ID})}});function r(h,c,i,m){const a=`depth${c}`,u=`depth${c+1}`,p=i.get(u),v={...h,depth:c};if(c!==0&&(v.isHidden=!1),p&&p.length>0){const $=m[a],R=m[u],y=p.filter(M=>M[R]===(h.isSubCategory?h.code:h[$]));v.isExpanded=!0;const b=[v];return y.forEach(M=>{b.push(...r(M,c+1,i,m))}),b}return[v]}const s={depth0:"code",depth1:"parent",depth2:"parent"};return(t.get("depth0")??[]).flatMap(h=>r(h,0,t,s))}function qn(e){return new Set(e.map(t=>t.code))}function Ke(e,t){return t===e}function St(e,t){return e.filter(o=>o.categoryLv1ID===t.code||o.categoryLv2ID===t.code)}function Ct(e){return new Set(e.map(t=>t.code))}function Rt(e,t){return{childDepthList:St(e,t)}}function go(e,t){for(const o of e)if(!t.has(o))return!1;return!0}function xt(e,t,o){t===0&&e.categoryLv1Set.delete(o),t===1&&e.categoryLv2Set.delete(o)}function dt(e,t,o){t===0&&e.categoryLv1Set.add(o),t===1&&e.categoryLv2Set.add(o)}function In(e,t,o){t.length&&e.categoryLv1Set.add(t),o.length&&e.categoryLv2Set.add(o)}function yt(e){e.categoryLv1Set.clear(),e.categoryLv2Set.clear()}function nl(e,t,o,n){if(dt(e,o.depth,o.code),o.parent){const r=t.find(s=>s.code===o.parent);r&&nl(e,t,r)}}function rl(e,t,o,n){if(dt(e,o.depth,o.code),Ke(n,o.depth))return;t.filter(s=>s.parent===o.code).forEach(s=>{Ke(n,s.depth)||rl(e,t,s,n)})}function vo(e,t,o,n){nl(e,t,o),rl(e,t,o,n)}function il(e,t,o,n){if(xt(e,o.depth,o.code),o.parent){const r=t.find(s=>s.code===o.parent);r&&il(e,t,r)}}function al(e,t,o,n){if(xt(e,o.depth,o.code),Ke(n,o.depth))return;t.filter(s=>s.parent===o.code).forEach(s=>{Ke(n,s.depth)||al(e,t,s,n)})}function wo(e,t,o,n){il(e,t,o),al(e,t,o,n)}const Fn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","useFilter","useSelectAll","class","style"]),cl=we({name:"moz-tree-select",defaults:{label:null,width:200,required:!1,readonly:!1,disabled:!1,disabledProp:"disabled",rules:[],useSelectAll:!0,useFilter:!0,headerFormat:"ITEMS ({count})",listBoxWidth:0,useSpecificSelect:!0,treeLevels:1,useMultiSelect:!1,treeProps:Ft,modelValue:[]},setup(e){const t=H.createRef(),o=H.createRef(),n=H.createRef(),r=H.createRef(),s=H.createRef();let h=null;const c=(e.props.treeLevels??1)-1,i=c,m=()=>!!e.props.useMultiSelect,a=()=>e.props.disabledProp||"disabled",u=()=>e.props.treeProps??Ft;let p=e.props.modelValue??(m()?[]:"");const v=()=>e.controlled("modelValue")?e.props.modelValue??[]:p,$=()=>{const w=v();return Array.isArray(w)?w:w?[w]:[]},R=w=>{e.controlled("modelValue")||(p=w),e.emit("update:modelValue",w),e.requestUpdate()};let y=!1,b="",M=!1,S=!1,L=!1,X={},j=[];const re={change:"",blur:"",save:""},de=new Set,ee=new Set,W={categoryLv1Set:de,categoryLv2Set:ee},z=(()=>{try{const w=getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height");return w?+w.trim().replace("px",""):24}catch{return 24}})();let G=z;const le=()=>e.slots.has("list-item");let se=[],J=[],O=e.props.itemsSource;const k=()=>{se=Rn(e.props.itemsSource??[],u()),J=An(se)};k();const _=()=>{const w=new Map;return se.forEach(E=>w.set(E.code,E)),w},Z=w=>w.name??"",P=w=>new Set($()).has(w.code),V=w=>j.some(E=>rt(E.item,w)),D=()=>new Set($()),U=()=>{let w=[];if(!b)w=J;else{const E=[],B=new Set,ae=ie=>`depth${ie.depth}_${ie.code}`;for(const ie of J)if(ie.depth!==i){for(;E.length&&E[E.length-1].depth>=ie.depth;)E.pop();E.push(ie)}else if(Z(ie).toLowerCase().indexOf(b.toLowerCase())>-1){for(const me of E){const ze=ae(me);B.has(ze)||(w.push(me),B.add(ze))}const pe=ae(ie);B.has(pe)||(w.push(ie),B.add(pe))}}if(L){const E=new Set,B=_(),ae=D();w.filter(pe=>{if(ve(pe,ae))return!0;if(m()&&!Ke(c,pe.depth)){const me=St(J,pe);if(me.length>0&&me.some(ze=>ae.has(ze.code)))return!0}return!1}).forEach(pe=>{let me=pe;for(;me&&(E.add(me.code),!!me.parent);)me=B.get(me.parent)}),w=w.filter(pe=>E.has(pe.code))}return w},g=()=>U().filter(w=>!(w.categoryLv1ID||w.categoryLv2ID)),I=()=>{const w=g();return U().filter(E=>!w.includes(E))},N=()=>new Set(I().map(w=>w.code)),Y=()=>qn(I()),ve=(w,E)=>m()?Ke(i,w.depth)?E.has(w.code):de.has(w.code)||ee.has(w.code):v()===w.code,De=w=>{if(Ke(c,w.depth))return!0;const E=St(U(),w);return E.length===0?!0:go(Ct(E),D())},_e=()=>{const w=$().length,E=g().length;if(w<E||w===0||E===0)return!1;for(const B of Y())if(!D().has(B))return!1;return!0},He=()=>{const w=Y(),E=D();return!w.size||!E.size||E.size<w.size?!1:Array.from(w).every(B=>E.has(B))},d=()=>m()?!!e.props.useSelectAll:!1,x=()=>{const w=v(),E=_();if(typeof w=="string")return E.has(w)?E.get(w).name:w;const B=Array.isArray(w)?w:[],ae=B.filter(ie=>E.has(ie)).map(ie=>E.get(ie).name);return B.length?m()&&ae.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${ae.length.toLocaleString()}`):ae.join(", ")||"":""},K=()=>re.save||re.blur||re.change,ne=()=>{const w=[];return e.props.required&&w.push({message:e.locale.TreeSelect.required.replace("{label}",e.props.label||""),type:"save",validator:E=>!!E.length}),[...w,...e.props.rules??[]]},ce=async(w,E)=>{const B=ne();if(B.length<=0)return;if(e.props.disabled)return!0;re[E]="",e.requestUpdate();const ae=B.filter(ie=>ie.type===E);for(const ie of ae)if(!await ie.validator(w))return re[E]=ie.message,e.requestUpdate(),!1;return!0},$e=async(w="save")=>K()!==""?!1:await ce($(),w)??!0,ye={validate:$e,initValidator:()=>{re.change="",re.blur="",re.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(ye),e.onCleanup(()=>{We==null||We.release(),We=null}),e.onCleanup(()=>{var w;return(w=e.validator)==null?void 0:w.removeValidator(ye)}));const C=(w,E)=>w.filter(B=>P(B)!==E).map(B=>B.code),A=w=>{const E=Array.from(new Set(w));rt($(),E)||(R(E),e.emit("change",E,E.filter(Boolean)),ce(E,"change"),Ce(E))},Ce=w=>{w.length===se.length?g().forEach(E=>dt(W,E.depth,E.code)):w.forEach(E=>{const B=I().find(ae=>ae.code===E);B&&In(W,B.categoryLv1ID??"",B.categoryLv2ID??"")})},Se=(w,E,B)=>{if(B.shiftKey&&j.length>0){const ae=j[0],ie=Math.min(ae.index,E),pe=Math.max(ae.index,E);j=U().slice(ie,pe+1).map((me,ze)=>({item:me,index:ie+ze}))}else B.ctrlKey?j.push({item:w,index:E}):j=[{item:w,index:E}]},ke=(w,E)=>{if(!Ke(c,w.depth)){const{childDepthList:B}=Rt(U(),w);if(E){const ae=Ct(B);R($().filter(ie=>!ae.has(ie))),wo(W,U(),w,i)}else{const ae=B.map(ie=>ie.code);R([...$(),...ae])}}},Te=(w,E)=>{const ae=j.map(me=>me.item).filter(me=>me.depth===i),ie=C(ae,w);let pe=[];if(E.depth!==c){const{childDepthList:me}=Rt(U(),E),ze=Ct(me);pe=$().filter(Oe=>!ze.has(Oe))}else pe=$();w?E.depth===c?pe=[...pe,...ie]:vo(W,U(),E,i):(yt(W),pe=pe.filter(me=>!ie.some(ze=>me===ze))),A(pe)},Re=(w,E,B,ae)=>{const ie=j.some(pe=>pe.item.code===w.code);(j.length<=1||!ie)&&Se(w,E,{shiftKey:!1,ctrlKey:!1}),Te(!ae,w),ke(w,ae),e.requestUpdate()},Ne=(w,E,B,ae)=>{w[a()]!==!0&&(!B.ctrlKey&&!B.shiftKey&&j.length<=1&&Re(w,E,B,ae),Se(w,E,B),e.requestUpdate())},Qe=(w,E,B)=>{if(w[a()]===!0)return;let ae=[],ie=!1;const pe=w.code;if(Ke(c,w.depth))ie=$().length===1&&$()[0]===pe,ie||(ae=[pe]),yt(W);else{const{childDepthList:me}=Rt(U(),w),ze=Ct(me);ie=go(ze,D())&&ze.size===D().size,ie?wo(W,U(),w,i):(ae=[],yt(W),vo(W,U(),w,i))}A(ae),ke(w,ie),Se(w,E,B),e.requestUpdate()},ot=w=>{R(w),et(!1)},Je=(w,E)=>{U().filter(ae=>ae.parent===w).forEach(ae=>{if(ae.isHidden=E,ae.depth===i)return;const pe=!E&&!ae.isExpanded?!0:E;Je(ae.code,pe)})},Ze=(w,E)=>{E.stopPropagation(),w.isExpanded=!w.isExpanded,Je(w.code,!w.isExpanded),queueMicrotask(()=>Ae.measure()),e.requestUpdate()},f=w=>{J.forEach(E=>{E.isExpanded=w,E.depth>0?E.isHidden=!w:E.isHidden=!1}),queueMicrotask(()=>Ae.measure()),e.requestUpdate()},F=w=>{w.stopPropagation(),N().size===D().size&&[...N()].every(B=>D().has(B))?(g().forEach(B=>xt(W,B.depth,B.code)),A([])):(yt(W),g().forEach(B=>dt(W,B.depth,B.code)),A([...N()]))},q=w=>{if(w.stopPropagation(),He()){const E=Y();A($().filter(B=>!E.has(B))),g().forEach(B=>xt(W,B.depth,B.code))}else{const E=new Set([...$(),...N()]);A(Array.from(E)),g().forEach(B=>dt(W,B.depth,B.code))}},Q=w=>{M=w.target.scrollTop>0,e.requestUpdate()},oe=()=>{const w=o.value;if(!w)return;const E=w.getBoundingClientRect();let B=`${E.width}px`;e.props.listBoxWidth&&(B=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),X={width:String(B),left:`${E.left}px`,top:`${E.top+(S?0:E.height)}px`},e.requestUpdate()},ue=(w,E,B=10)=>{const ae=window.innerHeight||document.documentElement.clientHeight,ie=window.innerWidth||document.documentElement.clientWidth,pe=w.getBoundingClientRect(),me=E.getBoundingClientRect(),ze=pe.bottom+me.height+B>ae;if(!ze)return!1;const Oe=pe.top-me.height-B<0,qe=pe.right+me.width+B>ie,Ue=pe.left-me.width-B<0;return ze&&!Oe||qe&&!Ue},fe=w=>{w.target!==h&&et(!1)},be=w=>{var E,B;!((E=t.value)!=null&&E.contains(w.target))&&!((B=n.value)!=null&&B.contains(w.target))&&(et(!1),document.removeEventListener("click",be,{capture:!0}))},Me=w=>{var B;`${w.ctrlKey?"ctrl+":""}${w.altKey?"alt+":""}${w.key.toLowerCase()}`==="escape"&&(et(!1),(B=r.value)==null||B.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",be,{capture:!0}),window.removeEventListener("keydown",Me)});let We=null;const et=w=>{y!==w&&(y=w,e.requestUpdate(),w?(We=ht(),document.body.addEventListener("scroll",fe,{capture:!0}),document.addEventListener("click",be,{capture:!0}),re.save="",window.addEventListener("keydown",Me),oe(),queueMicrotask(()=>{var E;o.value&&h&&(S=ue(o.value,h)),oe(),s.value?s.value.focus():(E=r.value)==null||E.focus()})):(We==null||We.release(),We=null,document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",be,{capture:!0}),ce($(),"blur"),window.removeEventListener("keydown",Me),b="",e.emit("close")))},it=()=>{e.props.disabled||et(!y)};let lt;const zt=w=>{const E=w.target.value;lt&&clearTimeout(lt),lt=setTimeout(()=>{b=E,e.requestUpdate(),queueMicrotask(()=>{Ae.setOptions({...Ae.options,count:U().length}),Ae.measure()})},300)},Ge=w=>{L=w,e.requestUpdate(),queueMicrotask(()=>{Ae.setOptions({...Ae.options,count:U().length}),Ae.measure()})},Ae=new Fe.Virtualizer({count:0,getScrollElement:()=>h,estimateSize:w=>{const E=U()[w];return E!=null&&E.isHidden?0:le()&&E&&Ke(c,E.depth)?G:z},measureElement:w=>w.getBoundingClientRect().height,overscan:3,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(Ae._didMount());const bl=w=>{h=w??null,w&&(Ae._willUpdate(),e.requestUpdate())},$l=(w,E)=>{w&&E===c&&(G=w.getBoundingClientRect().height)},Sl=w=>w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),so=(w,E)=>{if(!b||!Ke(c,E))return[{part:w,highlight:!1}];const B=new RegExp(`(${Sl(b)})`,"gi");return w.split(B).map(ae=>({part:ae,highlight:b.toLowerCase()===ae.toLowerCase()}))};let no=v();const kl=w=>{const{index:E,item:B,start:ae,isSelected:ie,isIndeterminate:pe,isDisabled:me,isFocused:ze}=w;if(B.isHidden)return l.nothing;const Oe=e.props,qe=B.depth,Ue=Ke(c,qe),je=m(),nt=Ie=>{qe!==c?Ze(B,Ie):ot(B.code)},ft=Ie=>{je?Ne(B,E,Ie,ie&&De(B)):nt(Ie)},Vt=()=>{Re(B,E,{},ie&&De(B))},Dt=Ue?"하나만":"그룹만";return l.html`<div
1499
+ data-index=${E}
1500
+ ${H.ref(Ie=>{Ie&&(Ae.measureElement(Ie),$l(Ie,qe))})}
1501
+ style=${te.styleMap({transform:`translateY(${ae}px)`})}
1502
+ class=${T("list-box-item virtual-row tree-item",{"list-selected":ie,"moz-multi-focus":ze,"is-selected":ie,"single-select-item":!je&&Ue,"multi-select-item":je})}
1503
+ >
1504
+ <div
1505
+ class=${T("depth-indicator",{"depth-indicator--parent":!Ue,"depth-indicator--last-depth":Ue,"depth-indicator--custom-item":le()})}
1506
+ style=${te.styleMap({"--depth":String(qe),"--last-depth-item-height":String(G)})}
1507
+ @click=${Ie=>{je||nt(Ie)}}
1508
+ ></div>
1509
+ <div class="item-content" @click=${ft}>
1510
+ ${Ue?l.nothing:l.html`<button
1511
+ type="button"
1512
+ class="icon-container"
1513
+ aria-expanded=${B.isExpanded?"true":"false"}
1514
+ aria-label=${B.isExpanded?e.locale.TreeSelect.collapse:e.locale.TreeSelect.expand}
1515
+ @click=${Ie=>Ze(B,Ie)}
1516
+ >
1517
+ ${e.slots.has("icon")?e.slot("icon"):B.isExpanded?zn("var(--moz-color-accent)"):Mn("var(--moz-color-text-subtle)")}
1518
+ </button>`}
1519
+ ${je?$t({checked:ie,disabled:me,indeterminate:pe,onChange:Vt}):l.nothing}
1520
+ <div class="highlight-container">
1521
+ ${le()&&Ue?e.slot("list-item",{text:{text:Z(B),depth:qe},item:B,highlightText:so(Z(B),qe)}):l.html`${so(Z(B),qe).map(Ie=>l.html`<span class=${T({highlight:Ie.highlight})}>${Ie.part}</span>`)}`}
1522
+ </div>
1523
+ ${!je&&ie&&Ue?Qt("12","var(--moz-color-accent)",!1,"icon-check"):l.nothing}
1524
+ ${je&&Oe.useSpecificSelect&&!me?l.html`<button type="button" class="item-only item-only-btn" @click=${Ie=>Qe(B,E,Ie)}>
1525
+ ${Dt}
1526
+ </button>`:l.nothing}
1527
+ </div>
1528
+ </div>`};return{api:{validate:$e},render(){const w=e.props;w.itemsSource!==O&&(O=w.itemsSource,k());const E=v();E!==no&&(no=E,typeof E!="string"&&Ce($()));const B=typeof w.width=="number"?`${Le(w.width)}rem`:w.width,ae=e.slots.has("icon")?e.slot("icon",{isOpen:y}):y?eo("14","var(--moz-color-accent)"):Jt("14","var(--moz-color-text-subtle)",w.disabled),ie=ge(w,Fn),{aria:pe,dom:me}=ut(ie);return l.html`
1529
+ <div
1530
+ ${he(me)}
1531
+ class=${T("moz-multi-select moz-tree-select",w.class,{"is-invalid":K()!=="","is-open":y,disabled:!!w.disabled})}
1532
+ style=${te.styleMap({width:B})}
1533
+ ${H.ref(t)}
1534
+ >
1535
+ <div class="input-wrapper">
1536
+ ${w.label?Be({},l.html`${w.label}${w.required?l.html`<span class="require-mark">*</span>`:l.nothing}`):l.nothing}
1537
+ <div class="moz-input-container" @click=${it} ${H.ref(o)}>
1538
+ <input .value=${x()} autocomplete="off" readonly tabindex="-1" />
1539
+ <button
1540
+ type="button"
1541
+ class="icon-container"
1542
+ ${he(pe)}
1543
+ role="combobox"
1544
+ aria-haspopup="tree"
1545
+ aria-expanded=${y?"true":"false"}
1546
+ aria-label=${xe.ifDefined(pe["aria-label"]??w.label)}
1547
+ ?disabled=${!!w.disabled}
1548
+ ${H.ref(r)}
1549
+ >
1550
+ ${ae}
1551
+ </button>
1552
+ </div>
1553
+ </div>
1554
+ ${K()!==""?l.html`<span class="moz-input-invalid-message">${K()}</span>`:l.nothing}
1555
+ </div>
1556
+ `},renderPortal(){if(!y)return l.nothing;const w=e.props,E=U();Ae.options.count!==E.length&&Ae.setOptions({...Ae.options,count:E.length}),Ae._willUpdate();const B=Ae.getTotalSize(),ae=D(),ie=Tt(Ae.getVirtualItems(),E.length,z,h).map(Oe=>{if(Oe.index>=E.length)return null;const qe=E[Oe.index];if(!qe)return null;let Ue=ve(qe,ae),je=!1;if(m()&&!Ke(c,qe.depth)){const nt=St(J,qe);if(nt.length>0){const ft=nt.reduce((Vt,Dt)=>Vt+(ae.has(Dt.code)?1:0),0);ft===0?Ue=!1:ft<nt.length?(Ue=!0,je=!0):Ue=!0}}return{index:Oe.index,item:qe,start:Oe.start,isSelected:Ue,isIndeterminate:je,isDisabled:qe[a()]===!0,isFocused:V(qe)}}).filter(Oe=>Oe!==null),pe=b?e.locale.TreeSelect.selectFiltered:e.locale.TreeSelect.selectAll,me=v(),ze=Array.isArray(me)?me.length:me?1:0;return l.html`<div
1557
+ class=${T("list-box",{"no-label":!w.label,"show-top":S})}
1558
+ style=${te.styleMap(X)}
1559
+ ${H.ref(n)}
1560
+ >
1561
+ <div class="filter-input-wrapper">
1562
+ ${w.useFilter?l.html`<div class="filter-input">
1563
+ <div class="search-icon">${to("12","var(--moz-color-text-subtle)")}</div>
1564
+ <input placeholder=${e.locale.TreeSelect.search} @input=${zt} ${H.ref(s)} />
1565
+ </div>`:l.nothing}
1566
+ <div class="tree-controls">
1567
+ <span class="control-btn" @click=${()=>f(!0)}>${Vn("currentColor")}</span>
1568
+ <span class="control-btn" @click=${()=>f(!1)}>${Dn("currentColor")}</span>
1569
+ </div>
1570
+ </div>
1571
+
1572
+ ${d()&&se.length>0&&E.length>0?l.html`<div class=${T("list-box-item multi-select-item multi-select-all",{"is-scrolled":M})} @click=${q}>
1573
+ <div class="select-all-content">
1574
+ ${$t({indeterminate:ze>0&&_e()===!1,checked:He()})}
1575
+ <div><span title=${pe}>${pe}</span></div>
1576
+ </div>
1577
+ ${b&&E.length>0?l.html`<button type="button" class="item-only" @click=${F}>${e.locale.TreeSelect.specificResults}</button>`:l.nothing}
1578
+ </div>`:l.nothing}
1579
+
1580
+ <div class="list-box-container" @scroll=${Q} ${H.ref(bl)}>
1581
+ <div class="inner-container" style=${te.styleMap({height:`${B}px`})}>
1582
+ ${ie.map(Oe=>kl(Oe))}
1583
+ </div>
1584
+ ${E.length<=0?l.html`<div class="list-box-item loading not-hover">
1585
+ ${e.slots.has("empty")?e.slot("empty"):e.locale.TreeSelect.noData}
1586
+ </div>`:l.nothing}
1587
+ </div>
1588
+
1589
+ ${m()?l.html`<div class="list-footer">
1590
+ <label class="footer-checkbox">
1591
+ ${$t({checked:L,onChange:Ge,class:"moz-checkbox"})}
1592
+ <span>${e.locale.TreeSelect.showSelectedOnly}</span>
1593
+ </label>
1594
+ </div>`:l.nothing}
1595
+ </div>`}}}}),Bn={name:"MozTreeSelect",core:cl,props:["itemsSource","label","width","required","readonly","disabled","disabledProp","rules","useSelectAll","useFilter","headerFormat","listBoxWidth","useSpecificSelect","treeLevels","useMultiSelect","treeProps","modelValue"],emits:["change","close","update:modelValue"],slots:["icon","list-item","empty"],expose:!0},Hn=new Set(["panes","direction","resizable","minSize","class","style"]),Co=(e,t)=>e===void 0?t:typeof e=="number"?`${e}px`:e,dl=we({name:"moz-split-pane",defaults:{horizontal:!1,panes:[]},setup(e){let t=null,o=null;const n=[],r=[],s=[],h=[];let c=[],i=!1,m=0,a=0,u=-1,p=-1,v=-1,$=null,R=null,y=0;const b=()=>!!e.props.horizontal,M=()=>e.props.panes??[],S=()=>{c=M().map(O=>O.hidden?"0":O.size!=null?String(O.size):"1fr")};S();const L=O=>b()?O.clientHeight:O.clientWidth,X=()=>L(s[p]),j=()=>L(h[p]),re=()=>L(s[v]),de=()=>L(h[v]),ee=O=>{if(!i)return;let k=b()?O.movementY:O.movementX;$=+(k>0),$!==R&&R!==null&&(p=u,v=u+1),R=$;const _=r[u].getBoundingClientRect(),Z=b()?O.clientY-_.top+window.scrollY:O.clientX-_.left+window.scrollX;($===0&&Z>10||$===1&&Z<-10)&&(k=k/(Math.abs(Z)/10)),($===0&&b()?O.clientY<_.top:O.clientX<_.left)&&(y=0),($===1&&b()?O.clientY>_.top:O.clientX>_.left)&&(y=0);const P=U=>n[U][b()?"clientHeight":"clientWidth"];if(m=P(p)+k,a=P(v)+P(p)-m,!(m>X()&&m<j()||m<X()&&$===1||m>X()&&$===0)){if(m<X()){if(p-1<0&&$===0){y+=b()?O.movementY:O.movementX;return}p=p-1>=0?p-1:0}else if(m>j()){if(p-1<0){y+=b()?O.movementY:O.movementX;return}p=p-1>=0?p-1:0}}if(!(a>re()&&a<de()||a<re()&&$===0||a>re()&&$===1)){if(a<re()){if(v+1>=c.length){y+=b()?O.movementY:O.movementX;return}v=v+1<c.length?v+1:c.length-1}else if(a>de()){if(v+1>=c.length){y+=b()?O.movementY:O.movementX;return}v=v+1<c.length?v+1:c.length-1}}if($===0&&y>0||$===1&&y<0||$===0&&a>de()||$===1&&a<re()||$===0&&m<X()||$===1&&m>j())return;const V=t[b()?"clientHeight":"clientWidth"],D=P(p)+k;c[p]=`clamp(${X()}px, ${D/V*100}%, ${j()}px)`,c[v]="1fr",e.requestUpdate(),queueMicrotask(()=>{const U=P(v);c[v]=`clamp(${re()}px, ${U/V*100}%, ${de()}px)`,e.requestUpdate()})},W=()=>{u=-1,p=-1,v=-1,i=!1,y=0,document.removeEventListener("mousemove",ee),document.removeEventListener("mouseup",W),e.requestUpdate()},z=O=>{O.preventDefault(),i=!0,b()?O.clientY:O.clientX,document.addEventListener("mousemove",ee),document.addEventListener("mouseup",W),e.requestUpdate()},G=(O,k)=>{u=k,p=k,v=k+1,y=0,z(O)};let le=null;const se=()=>{t&&o&&(o.style.width=`${t.clientWidth}px`,o.style.height=`${t.clientHeight}px`)};e.onCleanup(()=>{document.removeEventListener("mouseup",W),document.removeEventListener("mousemove",ee),le==null||le.disconnect()});let J=e.props.panes;return{onMounted:()=>{S(),e.requestUpdate()},render(){const O=M();e.props.panes!==J&&(J=e.props.panes,queueMicrotask(()=>{S(),e.requestUpdate()}));const k=b()?"gridTemplateRows":"gridTemplateColumns",_=O.length-1,Z=ge(e.props,Hn);return l.html`
1596
+ <div
1597
+ ${he(Z)}
1598
+ class=${T("splitter",e.props.class)}
1599
+ style=${te.styleMap({display:"grid",[k]:c.join(" "),width:"100%",height:"100%",overflow:"hidden",cursor:i?b()?"row-resize":"col-resize":"unset"})}
1600
+ ${H.ref(P=>{t=P??null,t&&o&&(se(),!le&&typeof ResizeObserver<"u"&&(le=new ResizeObserver(()=>se()),le.observe(t)))})}
1601
+ >
1602
+ ${O.map((P,V)=>{const D=V===_?"100%":c[V+1]!=="0"?"calc(100% - 10px) 10px":"100%";return l.html`<div
1603
+ style=${te.styleMap({display:"grid",[k]:D,overflow:"hidden"})}
1604
+ ${H.ref(U=>{n[V]=U??null})}
1605
+ >
1606
+ <div style="width: 100%; height: 100%; overflow: hidden">${e.slot(`pane-${V}`)}</div>
1607
+ ${V!==_&&c[V+1]!=="0"?l.html`<div
1608
+ class=${b()?"resizer resizer-horizontal":"resizer resizer-vertical"}
1609
+ role="separator"
1610
+ aria-orientation=${b()?"horizontal":"vertical"}
1611
+ aria-label=${e.locale.SplitPane.resizeHandle}
1612
+ tabindex="0"
1613
+ @mousedown=${U=>G(U,V)}
1614
+ ${H.ref(U=>{r[V]=U??null})}
1615
+ ></div>`:l.nothing}
1616
+ </div>`})}
1617
+
1618
+ <div
1619
+ style="pointer-events: none; position: fixed"
1620
+ ${H.ref(P=>{o=P??null,t&&o&&se()})}
1621
+ >
1622
+ ${O.map((P,V)=>{const D=Co(P.minSize,"10px"),U=Co(P.maxSize,"100%");return l.html`<div
1623
+ class="size-calculator min-size"
1624
+ style=${te.styleMap({width:D,height:D})}
1625
+ ${H.ref(g=>{s[V]=g??null})}
1626
+ ></div>
1627
+ <div
1628
+ class="size-calculator max-size"
1629
+ style=${te.styleMap({width:U,height:U})}
1630
+ ${H.ref(g=>{h[V]=g??null})}
1631
+ ></div>`})}
1632
+ </div>
1633
+ </div>
1634
+ `}}}}),On={name:"MozSplitPane",core:dl,props:["horizontal","panes"],emits:[],slots:["pane-0","pane-1","pane-2","pane-3","pane-4","pane-5","pane-6","pane-7"],expose:!1};function Un(e="currentColor",t=14){return l.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
1635
+ <path
1636
+ d="M12.25 12.25V3.8436L10.163 1.75H1.75V12.25H12.25ZM12.4448 14H1.55615C0.7002 14 0 13.3001 0 12.4446V1.55617C0 0.70013 0.69238 0 1.55615 0H10.2432C10.6558 0 11.0522 0.16353 11.3481 0.46009L13.5415 2.66039C13.8364 2.94828 14 3.34501 14 3.75673V12.4446C14 13.3001 13.3003 14 12.4448 14Z"
1637
+ fill=${e}
1638
+ ></path>
1639
+ <path
1640
+ d="M3.37402 1.5H8.37402V3C8.37402 3.13261 8.32134 3.25979 8.22758 3.35355C8.13381 3.44732 8.00663 3.5 7.87402 3.5H3.87402C3.74142 3.5 3.61424 3.44732 3.52047 3.35355C3.4267 3.25979 3.37402 3.13261 3.37402 3V1.5Z"
1641
+ fill=${e}
1642
+ ></path>
1643
+ <path
1644
+ fill-rule="evenodd"
1645
+ clip-rule="evenodd"
1646
+ d="M4.75 9.75V12.25H9.25V9.75H4.75ZM3.29289 8.29289C3.48043 8.10536 3.73478 8 4 8H10C10.2652 8 10.5196 8.10536 10.7071 8.29289C10.8946 8.48043 11 8.73479 11 9V14H3V9C3 8.73478 3.10536 8.48043 3.29289 8.29289Z"
1647
+ fill=${e}
1648
+ ></path>
1649
+ </svg>`}function _n(e="currentColor",t=14){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1650
+ <g clip-path="url(#clip0_16945_2363)">
1651
+ <path
1652
+ d="M10.8 5.2998H3.2C2.8134 5.2998 2.5 5.61321 2.5 5.9998V12.3998C2.5 12.7864 2.8134 13.0998 3.2 13.0998H10.8C11.1866 13.0998 11.5 12.7864 11.5 12.3998V5.9998C11.5 5.61321 11.1866 5.2998 10.8 5.2998Z"
1653
+ stroke=${e}
1654
+ stroke-width="1.8"
1655
+ ></path>
1656
+ <path
1657
+ d="M7.78101 2.62296H6.21901C5.86109 2.63759 5.51198 2.5097 5.24823 2.26731C4.98447 2.02492 4.8276 1.68783 4.81201 1.32996C4.82786 0.972439 4.9847 0.635759 5.24821 0.393615C5.51172 0.151471 5.86043 0.023588 6.21801 0.0379575H7.78101C8.13859 0.023588 8.4873 0.151471 8.75081 0.393615C9.01432 0.635759 9.17117 0.972439 9.18701 1.32996C9.17117 1.68748 9.01432 2.02416 8.75081 2.2663C8.4873 2.50844 8.13859 2.63733 7.78101 2.62296Z"
1658
+ fill=${e}
1659
+ ></path>
1660
+ <path d="M1.2002 2.23804H12.7002" stroke=${e} stroke-width="1.8" stroke-linecap="round"></path>
1661
+ </g>
1662
+ <defs>
1663
+ <clipPath id="clip0_16945_2363"><rect width="14" height="14" fill=${e}></rect></clipPath>
1664
+ </defs>
1665
+ </svg>`}function Nn(e="currentColor",t=14){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14">
1666
+ <path d="M0,0H14V14H0Z" fill="none"></path>
1667
+ <line
1668
+ y2="10"
1669
+ transform="translate(7 2)"
1670
+ fill="none"
1671
+ stroke=${e}
1672
+ stroke-linecap="round"
1673
+ stroke-width="1.8"
1674
+ ></line>
1675
+ <line
1676
+ x2="10"
1677
+ transform="translate(2 7)"
1678
+ fill="none"
1679
+ stroke=${e}
1680
+ stroke-linecap="round"
1681
+ stroke-width="1.8"
1682
+ ></line>
1683
+ </svg>`}function Wn(e="currentColor",t=14){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1684
+ <path
1685
+ d="M5.84944 0.402344C2.83893 0.402344 0.398438 2.84284 0.398438 5.85334C0.398438 8.86385 2.83893 11.3043 5.84944 11.3043C7.0308 11.3043 8.12438 10.9285 9.01716 10.29L12.0619 13.3347C12.4134 13.6862 12.9832 13.6862 13.3347 13.3347C13.6862 12.9832 13.6862 12.4134 13.3347 12.0619L10.2893 9.01651C10.9259 8.12457 11.3004 7.03269 11.3004 5.85334C11.3004 2.84284 8.85994 0.402344 5.84944 0.402344ZM2.19844 5.85334C2.19844 3.83695 3.83305 2.20234 5.84944 2.20234C7.86583 2.20234 9.50044 3.83695 9.50044 5.85334C9.50044 7.86974 7.86583 9.50434 5.84944 9.50434C3.83305 9.50434 2.19844 7.86974 2.19844 5.85334Z"
1686
+ fill=${e}
1687
+ ></path>
1688
+ </svg>`}function Kn(e="currentColor",t=14){return l.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1689
+ <path
1690
+ d="M12.7988 6.23621C12.6596 5.99307 12.4571 5.79178 12.2126 5.65358L4.31964 1.20161C4.08323 1.06797 3.81572 0.998459 3.54385 1.00003C3.27199 1.00159 3.00531 1.07419 2.77047 1.21055C2.53563 1.3469 2.34088 1.54224 2.20567 1.77703C2.07046 2.01181 1.99953 2.27781 2 2.54843V11.4524C1.99975 11.7229 2.07082 11.9888 2.20609 12.2234C2.34136 12.4581 2.53611 12.6533 2.77089 12.7895C3.00567 12.9258 3.27225 12.9984 3.54402 13C3.81579 13.0016 4.08324 12.9322 4.31964 12.7987L12.2117 8.3472C12.5703 8.14432 12.8334 7.80821 12.9435 7.4125C13.0536 7.0168 13.0015 6.59379 12.7988 6.23621Z"
1691
+ fill=${e}
1692
+ ></path>
1693
+ </svg>`}const Gn=new Set(["navigations","containerStyle","headerStyle","class","style"]);function Yn(e){switch(e.action){case"Add":return"IconPlus";case"Remove":return"IconTrash";case"Save":return"IconSave";case"Search":return"IconSearch";case"Run":return"IconPlay";default:return e.icon??null}}function Zn(e){switch(e){case"IconSave":return Un();case"IconTrash":return _n();case"IconPlus":return Nn();case"IconSearch":return Wn();case"IconPlay":return Kn();default:return l.html``}}const ul=we({name:"moz-controller",defaults:{height:66,showFilterButton:!1,showFavorite:!0,showPreset:!0},setup(e){var a,u;(u=(a=e.props).setControlHeight)==null||u.call(a,e.props.height??66);let t=!!e.props.showFilterButton,o=!1;const n=()=>e.controlled("customQueryParamsPanel")?!!e.props.customQueryParamsPanel:o;let r=null,s=!1;const h=Xe("switch_"),c=Xe("switch_"),i=p=>{t=p.target.checked,e.requestUpdate()},m=p=>{const v=p.target.checked;o=v,e.emit("update:customQueryParamsPanel",v),e.requestUpdate()};return{onMounted(){r=document.querySelector(".moz-contents-container"),s=!!r,s&&e.requestUpdate()},getPortalContainer:()=>r,renderPortal(){return!s||!e.slots.has("custom-filter")?l.nothing:l.html`<div style=${te.styleMap({display:n()?void 0:"none"})}>
1694
+ ${e.slot("custom-filter")}
1695
+ </div>`},render(){const p=e.props,v=e.slots.has("custom-filter"),$=e.slots.has("action"),R=p.actions??[],y=R.find(S=>S.loading===!0),b=R.map(S=>{const L=Yn(S),X=!!y&&S.action!==y.action||!!S.disabled;return{...S,icon:L,disabled:X}}),M=ge(p,Gn);return l.html`
1696
+ <div
1697
+ class=${T("moz-controller-root",p.class)}
1698
+ style=${te.styleMap(Pe(p.containerStyle))}
1699
+ ${he(M)}
1700
+ >
1701
+ <div class="moz-controller" style=${te.styleMap(Pe(p.headerStyle))}>
1702
+ ${p.navigations?Kt({itemSource:p.navigations,showFavorite:!1,ariaLabel:e.locale.BreadCrumb.navigation}):l.nothing}
1703
+ <div class="spacer"></div>
1704
+
1705
+ <div class="moz-controller-actions">
1706
+ ${e.slot("beforeFilter")}
1707
+ ${p.showFilterButton&&!v?Pt({id:h,model:t,label:"조회 조건",onChange:i}):l.nothing}
1708
+ ${p.showFilterButton&&v?Pt({id:c,model:n(),label:"조회 조건",onChange:m}):l.nothing}
1709
+ ${p.showFilterButton?l.html`<div class="spacer between-buttons" style="margin: 0 6px"></div>`:l.nothing}
1710
+ ${e.slot("action")}
1711
+ ${$&&b.length>0?l.html`<div class="spacer between-buttons"></div>`:l.nothing}
1712
+ ${b.map(S=>at({action:S.action,text:S.text,disabled:S.disabled,loading:S.loading,width:S.text?void 0:30,style:{padding:S.text?void 0:"0"}},{icon:Zn(S.icon),onClick:()=>{S.click&&S.click()},rest:{title:S.action}}))}
1713
+ </div>
1714
+ </div>
1715
+
1716
+ ${t&&!v?l.html`<div
1717
+ class="moz-horizontal-filter moz-controller-filter"
1718
+ style=${te.styleMap(Pe(p.filterStyle))}
1719
+ >
1720
+ ${e.slot("filter")}
1721
+ </div>`:l.nothing}
1722
+ </div>
1723
+ `}}}}),jn={name:"MozController",core:ul,props:["height","setControlHeight","showFilterButton","actions","containerStyle","headerStyle","filterStyle","showFavorite","showPreset","navigations","customQueryParamsPanel"],emits:["update:customQueryParamsPanel"],slots:["beforeFilter","action","filter","custom-filter"],expose:!1};class pl{constructor(t,o){Ve(this,"startedAt");Ve(this,"callback");Ve(this,"delay");Ve(this,"timer");Ve(this,"paused",!1);this.startedAt=Date.now(),this.callback=t,this.delay=o,this.timer=setTimeout(t,o)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt,this.paused=!0}resume(){this.stop(),this.startedAt=Date.now(),this.paused=!1,this.timer=setTimeout(this.callback,this.delay)}remaining(){return this.paused?Math.max(0,this.delay):Math.max(0,this.delay-(Date.now()-this.startedAt))}stop(){clearTimeout(this.timer)}}function Xn(e="var(--moz-color-on-accent)"){return l.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1724
+ <path
1725
+ fill-rule="evenodd"
1726
+ clip-rule="evenodd"
1727
+ d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30ZM12.8944 17.9373L10.6229 15.6658C10.1352 15.1781 9.35358 15.1781 8.86582 15.6658C8.37806 16.1536 8.37806 16.9352 8.86582 17.4229L12.0083 20.5654C12.496 21.0531 13.285 21.0532 13.7728 20.5656L21.7228 12.6231C22.2105 12.1353 22.2107 11.3536 21.7229 10.8658C21.2352 10.3781 20.4536 10.3781 19.9658 10.8658L12.8944 17.9373Z"
1728
+ fill=${e}
1729
+ ></path>
1730
+ </svg>`}function Qn(e="var(--moz-color-on-accent)"){return l.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1731
+ <mask id="mask0_6027_4458" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
1732
+ <path d="M30 0H0V30H30V0Z" fill="#FFF"></path>
1733
+ </mask>
1734
+ <g mask="url(#mask0_6027_4458)">
1735
+ <path
1736
+ d="M29.1788 13.0145L16.9866 0.821408C16.4595 0.296149 15.7456 0.0012207 15.0015 0.0012207C14.2573 0.0012207 13.5435 0.296149 13.0163 0.821408L0.825062 13.0145C0.563854 13.2749 0.356605 13.5843 0.215195 13.925C0.0737849 14.2656 0.000993729 14.6309 0.000993729 14.9997C0.000993729 15.3685 0.0737849 15.7337 0.215195 16.0744C0.356605 16.415 0.563854 16.7244 0.825062 16.9848L13.0126 29.177C13.5397 29.7023 14.2536 29.9972 14.9977 29.9972C15.7419 29.9972 16.4557 29.7023 16.9829 29.177L29.1704 16.9848C29.6956 16.4577 29.9906 15.7439 29.9906 14.9997C29.9906 14.2555 29.6956 13.5417 29.1704 13.0145M16.4766 21.8008C16.4767 21.8983 16.4576 21.9949 16.4204 22.0851C16.3831 22.1752 16.3284 22.2571 16.2594 22.3261C16.1905 22.3951 16.1086 22.4497 16.0184 22.487C15.9283 22.5243 15.8317 22.5434 15.7341 22.5433H14.2576C14.0607 22.543 13.872 22.4647 13.7328 22.3255C13.5936 22.1863 13.5153 21.9976 13.5151 21.8008V20.3158C13.5153 20.1189 13.5936 19.9302 13.7328 19.791C13.872 19.6518 14.0607 19.5735 14.2576 19.5733H15.7426C15.8401 19.5732 15.9367 19.5923 16.0269 19.6296C16.117 19.6668 16.1989 19.7215 16.2679 19.7905C16.3368 19.8595 16.3915 19.9414 16.4288 20.0315C16.4661 20.1216 16.4852 20.2182 16.4851 20.3158L16.4766 21.8008ZM16.4766 16.8395C16.4767 16.9371 16.4576 17.0337 16.4204 17.1238C16.3831 17.214 16.3284 17.2959 16.2594 17.3648C16.1905 17.4338 16.1086 17.4885 16.0184 17.5258C15.9283 17.563 15.8317 17.5822 15.7341 17.582H14.2576C14.0607 17.5818 13.872 17.5035 13.7328 17.3643C13.5936 17.2251 13.5153 17.0364 13.5151 16.8395V8.1986C13.5153 8.00175 13.5936 7.81303 13.7328 7.67384C13.872 7.53465 14.0607 7.45634 14.2576 7.4561H15.7426C15.8401 7.45597 15.9367 7.47509 16.0269 7.51236C16.117 7.54963 16.1989 7.60432 16.2679 7.67329C16.3368 7.74227 16.3915 7.82417 16.4288 7.91431C16.4661 8.00445 16.4852 8.10105 16.4851 8.1986L16.4766 16.8395Z"
1737
+ fill=${e}
1738
+ ></path>
1739
+ </g>
1740
+ </svg>`}function Jn(e="var(--moz-color-on-accent)"){return l.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1741
+ <path
1742
+ fill-rule="evenodd"
1743
+ clip-rule="evenodd"
1744
+ d="M30 15C30 23.2843 23.2843 30 15 30C6.71573 30 0 23.2843 0 15C0 6.71573 6.71573 0 15 0C23.2843 0 30 6.71573 30 15ZM14 7.6C14 7.26863 14.2686 7 14.6 7H16.4C16.7314 7 17 7.26863 17 7.6V17.4C17 17.7314 16.7314 18 16.4 18H14.6C14.2686 18 14 17.7314 14 17.4V7.6ZM14.6 20C14.2686 20 14 20.2686 14 20.6V22.4C14 22.7314 14.2686 23 14.6 23H16.4C16.7314 23 17 22.7314 17 22.4V20.6C17 20.2686 16.7314 20 16.4 20H14.6Z"
1745
+ fill=${e}
1746
+ ></path>
1747
+ </svg>`}function er(e="var(--moz-color-on-accent)"){return l.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1748
+ <mask id="mask0_6027_4463" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
1749
+ <path d="M30 0H0V30H30V0Z" fill="#FFF"></path>
1750
+ </mask>
1751
+ <g mask="url(#mask0_6027_4463)">
1752
+ <path
1753
+ d="M29.5313 23.2669L17.9663 3.29813C17.6654 2.77759 17.2329 2.34536 16.7122 2.04487C16.1914 1.74437 15.6008 1.58618 14.9995 1.58618C14.3983 1.58618 13.8077 1.74437 13.2869 2.04487C12.7662 2.34536 12.3337 2.77759 12.0328 3.29813L0.468764 23.2669C0.166554 23.7878 0.00699555 24.3793 0.00616779 24.9815C0.00534002 25.5838 0.163272 26.1757 0.464049 26.6975C0.764826 27.2193 1.19782 27.6526 1.71941 27.9537C2.24099 28.2549 2.83274 28.4132 3.43501 28.4128H26.565C27.1673 28.4132 27.759 28.2549 28.2806 27.9537C28.8022 27.6526 29.2352 27.2193 29.536 26.6975C29.8368 26.1757 29.9947 25.5838 29.9939 24.9815C29.993 24.3793 29.8335 23.7878 29.5313 23.2669ZM16.4841 23.6044C16.4841 23.702 16.4648 23.7986 16.4273 23.8887C16.3899 23.9788 16.335 24.0606 16.2658 24.1294C16.1967 24.1982 16.1146 24.2527 16.0243 24.2897C15.934 24.3267 15.8373 24.3455 15.7397 24.345H14.2556C14.0593 24.3448 13.8711 24.2666 13.7322 24.1278C13.5934 23.989 13.5153 23.8007 13.515 23.6044V22.1203C13.515 21.9235 13.5929 21.7348 13.7317 21.5953C13.8705 21.4558 14.0589 21.3769 14.2556 21.3759H15.7406C15.8384 21.3758 15.9353 21.395 16.0256 21.4324C16.116 21.4697 16.1981 21.5245 16.2673 21.5937C16.3364 21.6628 16.3912 21.7449 16.4286 21.8353C16.466 21.9257 16.4851 22.0225 16.485 22.1203L16.4841 23.6044ZM16.4841 18.6431C16.4841 18.7407 16.4648 18.8373 16.4273 18.9274C16.3899 19.0175 16.335 19.0993 16.2658 19.1682C16.1967 19.237 16.1146 19.2915 16.0243 19.3285C15.934 19.3655 15.8373 19.3842 15.7397 19.3838H14.2556C14.0593 19.3835 13.8711 19.3054 13.7322 19.1666C13.5934 19.0277 13.5153 18.8395 13.515 18.6431V10.0013C13.515 9.80448 13.5929 9.61571 13.7317 9.47622C13.8705 9.33673 14.0589 9.25787 14.2556 9.25688H15.7406C15.8384 9.25675 15.9353 9.27592 16.0256 9.31329C16.116 9.35065 16.1981 9.40548 16.2673 9.47462C16.3364 9.54377 16.3912 9.62588 16.4286 9.71625C16.466 9.80661 16.4851 9.90346 16.485 10.0013L16.4841 18.6431Z"
1754
+ fill=${e}
1755
+ ></path>
1756
+ </g>
1757
+ </svg>`}const tr=()=>l.html`
1758
+ <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
1759
+ <path d="M18 6 6 18M6 6l12 12" />
1760
+ </svg>
1761
+ `,yo=new Set(["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","class","style","inline","composed","showProgress","progressClass","exitDuration"]);function bo(e){switch(e){case"success":return"bg-success";case"error":return"bg-error";case"info":return"bg-info";default:return"bg-warning"}}function or(e){switch(e){case"top":case"bottom":return"position-center";case"top-right":case"bottom-right":return"position-end";case"top-left":case"bottom-left":default:return"position-start"}}function lr(e){switch(e){case"top":case"top-right":case"top-left":return".toast--top";case"bottom":case"bottom-right":case"bottom-left":default:return".toast--bottom"}}function sr(e){return e==="error"?Qn("var(--moz-color-on-accent)"):e==="info"?Jn("var(--moz-color-on-accent)"):e==="success"?Xn("var(--moz-color-on-accent)"):er("var(--moz-color-on-accent)")}const lo=we({name:"moz-toast",defaults:{type:"warning",position:"bottom",duration:3e3,dismissible:!0,queue:!1,pauseOnHover:!0,inline:!1,composed:!1,showProgress:!1,exitDuration:150},setup(e){let t=!1,o=!1,n=null,r=null,s=null,h=100;const c=()=>{let b=document.querySelector(".toast--top"),M=document.querySelector(".toast--bottom");b&&M||(b||(b=document.createElement("div"),b.className="toast--top moz-toast-body moz-toast-body--top",document.body.appendChild(b)),M||(M=document.createElement("div"),M.className="toast--bottom moz-toast-body moz-toast-body--bottom",document.body.appendChild(M)))},i=()=>{if(!e.props.queue)return!1;const b=document.querySelector(".toast--top"),M=document.querySelector(".toast--bottom");return!b||!M?!1:b.childElementCount>0||M.childElementCount>0},m=()=>{s&&clearInterval(s),s=null},a=()=>{n&&n.stop(),r&&clearTimeout(r),m(),t=!1,e.requestUpdate(),setTimeout(()=>{var b,M;(M=(b=e.props).onDismiss)==null||M.call(b),o=!0,e.requestUpdate()},e.props.exitDuration??150)},u=()=>{if(!e.props.inline&&i()){r=setTimeout(u,250);return}t=!0,e.requestUpdate();const b=e.props.duration;b&&(n=new pl(a,b),e.props.showProgress&&(s=setInterval(()=>{h=n?Math.max(0,Math.min(100,n.remaining()/b*100)):0,e.requestUpdate()},50)))},p=b=>{!e.props.pauseOnHover||!n||(b?n.pause():n.resume())},v=()=>{e.props.dismissible&&a()};e.props.inline||c(),e.onCleanup(()=>{n&&n.stop(),r&&clearTimeout(r),m()});const $=()=>{const b=e.props,M=b.duration??0;return l.html`
1762
+ <div
1763
+ data-testid="toast-container"
1764
+ ${he(ge(b,yo))}
1765
+ role=${b.type==="error"?"alert":"status"}
1766
+ aria-live=${b.type==="error"?"assertive":"polite"}
1767
+ aria-atomic="true"
1768
+ class=${T("moz-toast","moz-toast-composed",bo(b.type),b.class)}
1769
+ style=${t?l.nothing:"display: none;"}
1770
+ @mouseenter=${()=>p(!0)}
1771
+ @mouseleave=${()=>p(!1)}
1772
+ >
1773
+ ${b.showProgress&&M>0?l.html`<div class="moz-toast-progress" aria-hidden="true">
1774
+ <div class=${T("moz-toast-progress-bar",b.progressClass)} style=${`width: ${h}%`}></div>
1775
+ </div>`:l.nothing}
1776
+ ${e.slots.has("icon")?l.html`<div class="moz-toast-icon">${e.slot("icon")}</div>`:l.nothing}
1777
+ <div class="moz-toast-content">
1778
+ ${e.slots.has("heading")?l.html`<div class="moz-toast-heading">${e.slot("heading")}</div>`:l.nothing}
1779
+ ${e.slots.has("description")?l.html`<div class="moz-toast-description">${e.slot("description")}</div>`:l.nothing}
1780
+ ${e.slots.has("actions")?l.html`<div class="moz-toast-actions">${e.slot("actions")}</div>`:l.nothing}
1781
+ </div>
1782
+ ${b.dismissible?l.html`<button type="button" class="moz-toast-close" aria-label=${e.locale.Toast.close} @click=${a}>
1783
+ ${tr()}
1784
+ </button>`:l.nothing}
1785
+ </div>
1786
+ `},R=()=>{const b=e.props;return l.html`
1787
+ <div
1788
+ data-testid="toast-container"
1789
+ ${he(ge(b,yo))}
1790
+ role=${b.type==="error"?"alert":"status"}
1791
+ aria-live=${b.type==="error"?"assertive":"polite"}
1792
+ aria-atomic="true"
1793
+ class=${T("moz-toast",bo(b.type),or(b.position),b.class)}
1794
+ style=${t?l.nothing:"display: none;"}
1795
+ @mouseenter=${()=>p(!0)}
1796
+ @mouseleave=${()=>p(!1)}
1797
+ @click=${v}
1798
+ >
1799
+ ${sr(b.type)}
1800
+ <span class="toast-message">${b.message}</span>
1801
+ </div>
1802
+ `},y=()=>o?l.nothing:e.props.composed?$():R();return{onMounted(){u()},getPortalContainer:()=>e.props.inline?null:document.querySelector(lr(e.props.position)),renderPortal(){return e.props.inline?l.nothing:y()},render(){return e.props.inline?y():l.nothing}}}}),nr=e=>{var t;typeof e.remove<"u"?e.remove():(t=e.parentNode)==null||t.removeChild(e)},rr=(e={})=>{const t=o=>{let n;typeof o=="string"&&(n=o);const r=document.createElement("div");r.style.display="contents";const s={message:n||o.message||"",onDismiss:()=>{nr(r)}},h=Object.assign({},s,e,typeof o=="string"?{}:o);document.body.appendChild(r),lo(r,h,(()=>{}))};return{open:t,success(o,n={}){return t({message:o,type:"success",...n})},error(o,n={}){return t({message:o,type:"error",...n})},info(o,n={}){return t({message:o,type:"info",...n})},warning(o,n={}){return t({message:o,type:"warning",...n})}}},ir={name:"MozToast",core:lo,props:["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","inline","composed","showProgress","progressClass","exitDuration"],emits:[],slots:["icon","heading","description","actions"],expose:!1,syncUpdate:!0},$o={top:"bottom",bottom:"top",left:"right",right:"left"};function So(e,t,o,n,r,s){const h=(e==="top"||e==="bottom"?o.height:o.width)+r+s;return{top:t.top,bottom:n.height-(t.top+t.height),left:t.left,right:n.width-(t.left+t.width)}[e]>=h}function bt(e,t,o,n){return e==="start"?t:e==="end"?t+o-n:t+o/2-n/2}function At(e,t,o){return o<t?t:Math.min(Math.max(e,t),o)}function hl(e,t,o,n){const{align:r,sideOffset:s,collisionPadding:h}=n,c=n.arrowSize??0;let i=n.side;!So(i,e,t,o,s,h)&&So($o[i],e,t,o,s,h)&&(i=$o[i]);const m=i==="top"||i==="bottom";let a,u;i==="top"?(u=e.top-t.height-s,a=bt(r,e.left,e.width,t.width)):i==="bottom"?(u=e.top+e.height+s,a=bt(r,e.left,e.width,t.width)):i==="left"?(a=e.left-t.width-s,u=bt(r,e.top,e.height,t.height)):(a=e.left+e.width+s,u=bt(r,e.top,e.height,t.height)),m?a=At(a,h,o.width-t.width-h):u=At(u,h,o.height-t.height-h);const p=m?e.left+e.width/2:e.top+e.height/2,v=m?a:u,$=m?t.width:t.height,R=At(p-v,c*2,$-c*2),y={top:e.top-s-h,bottom:o.height-(e.top+e.height)-s-h,left:o.height-h*2,right:o.height-h*2},b=Math.max(0,y[i]);return{side:i,x:a,y:u,arrowOffset:R,availableHeight:b}}const ml=hl,ar=new Set(["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId","class","style"]),cr=5,dr=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},fl=we({name:"moz-tooltip",defaults:{open:!1,side:"top",align:"center",sideOffset:8,collisionPadding:8,arrow:!0},setup(e){const t=H.createRef();let o=null,n=null,r=!1;const s=()=>!!e.props.open&&!!e.props.anchor,h=()=>{const i=e.props.anchor,m=t.value;if(!i||!m||!e.props.open)return;const a=ml(i.getBoundingClientRect(),{width:m.offsetWidth,height:m.offsetHeight},{width:window.innerWidth,height:window.innerHeight},{side:e.props.side??"top",align:e.props.align??"center",sideOffset:e.props.sideOffset??8,collisionPadding:e.props.collisionPadding??8,arrowSize:cr});o!==null&&r&&o.side===a.side&&o.x===a.x&&o.y===a.y&&o.arrowOffset===a.arrowOffset||(o=a,r=!0,e.requestUpdate(),n!==a.side&&(n=a.side,e.emit("placed",a.side)))},c=()=>{s()&&h()};return typeof window<"u"&&(window.addEventListener("scroll",c,{capture:!0,passive:!0}),window.addEventListener("resize",c,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",c,!0),window.removeEventListener("resize",c)})),{render(){return l.nothing},renderPortal(){const i=e.props;if(!s())return o=null,n=null,r=!1,l.nothing;dr(h);const m=(o==null?void 0:o.side)??i.side??"top",a=ge(i,ar),u=m==="top"||m==="bottom"?"left":"top";return l.html`
1803
+ <div
1804
+ ${H.ref(t)}
1805
+ class=${T("moz-tooltip",i.class)}
1806
+ role="tooltip"
1807
+ id=${i.tooltipId??l.nothing}
1808
+ data-side=${m}
1809
+ data-align=${i.align??"center"}
1810
+ style=${te.styleMap({...Pe(i.style),position:"fixed",left:`${(o==null?void 0:o.x)??0}px`,top:`${(o==null?void 0:o.y)??0}px`,opacity:r?"1":"0"})}
1811
+ ${he(a)}
1812
+ >
1813
+ ${i.arrow?l.html`<span
1814
+ class="moz-tooltip-arrow"
1815
+ data-side=${m}
1816
+ style=${te.styleMap({[u]:`${(o==null?void 0:o.arrowOffset)??0}px`})}
1817
+ ></span>`:l.nothing}
1818
+ <div class="moz-tooltip-content">
1819
+ ${e.slots.has("content")?e.slot("content"):i.text??l.nothing}
1820
+ </div>
1821
+ </div>
1822
+ `},api:{reposition:()=>h()}}}}),ur={name:"MozTooltip",core:fl,props:["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId"],emits:["placed"],slots:["content"],expose:!0},pr=new Set(["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId","class","style"]),hr='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',ko=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},gl=we({name:"moz-popover",defaults:{open:!1,side:"bottom",align:"start",sideOffset:4,collisionPadding:8,trapFocus:!0,matchTriggerWidth:!1},setup(e){const t=H.createRef();let o=null,n=null,r=!1,s=!1,h=null,c=null;const i=()=>!!e.props.open&&!!e.props.anchor,m=()=>{const S=t.value;return S?Array.from(S.querySelectorAll(hr)).filter(L=>L.getAttribute("aria-hidden")!=="true"):[]},a=()=>{const S=e.props.anchor,L=t.value;if(!S||!L||!e.props.open)return;const X=hl(S.getBoundingClientRect(),{width:L.offsetWidth,height:L.offsetHeight},{width:window.innerWidth,height:window.innerHeight},{side:e.props.side??"bottom",align:e.props.align??"start",sideOffset:e.props.sideOffset??4,collisionPadding:e.props.collisionPadding??8});o!==null&&r&&o.side===X.side&&o.x===X.x&&o.y===X.y&&o.availableHeight===X.availableHeight||(o=X,r=!0,e.requestUpdate(),n!==X.side&&(n=X.side,e.emit("placed",X.side)))},u=(S,L)=>new CustomEvent(S,{cancelable:!0,detail:L}),p=S=>{e.emit("requestClose",S)},v=S=>{e.emit("escapeKeyDown",S),S.defaultPrevented||p("escape")},$=S=>{if(!i()||!(h!=null&&h.isTopmost()))return;const L=t.value,X=S.target;if(!L||!X||L.contains(X))return;const j=u("moz.interactOutside",{originalEvent:S});e.emit("interactOutside",j),j.defaultPrevented||p("interactOutside")},R=S=>{if(S.key!=="Tab"||!e.props.trapFocus)return;const L=m();if(L.length===0){S.preventDefault();return}const X=L[0],j=L[L.length-1],re=document.activeElement;S.shiftKey&&(re===X||re===t.value)?(S.preventDefault(),j.focus()):!S.shiftKey&&re===j&&(S.preventDefault(),X.focus())},y=()=>{c=document.activeElement??null,h=Ht(v),document.addEventListener("pointerdown",$,!0),ko(()=>{var L;if(!i())return;const S=u("moz.openAutoFocus");e.emit("openAutoFocus",S),!S.defaultPrevented&&((L=m()[0]??t.value)==null||L.focus())})},b=()=>{var X;h==null||h.release(),h=null,document.removeEventListener("pointerdown",$,!0),o=null,n=null,r=!1;const S=u("moz.closeAutoFocus");e.emit("closeAutoFocus",S);const L=c??e.props.anchor;c=null,S.defaultPrevented||(X=L==null?void 0:L.focus)==null||X.call(L)},M=()=>{i()&&a()};return typeof window<"u"&&(window.addEventListener("scroll",M,{capture:!0,passive:!0}),window.addEventListener("resize",M,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",M,!0),window.removeEventListener("resize",M),h==null||h.release(),h=null,document.removeEventListener("pointerdown",$,!0)})),{render(){return l.nothing},renderPortal(){var de;const S=e.props,L=i();if(L!==s&&(s=L,L?y():b()),!L)return l.nothing;ko(a);const X=(o==null?void 0:o.side)??S.side??"bottom",j=ge(S,pr),re=((de=S.anchor)==null?void 0:de.offsetWidth)??0;return l.html`
1823
+ <div
1824
+ ${H.ref(t)}
1825
+ class=${T("moz-popover",S.class)}
1826
+ role="dialog"
1827
+ id=${S.popoverId??l.nothing}
1828
+ tabindex="-1"
1829
+ data-side=${X}
1830
+ data-align=${S.align??"start"}
1831
+ @keydown=${R}
1832
+ style=${te.styleMap({...Pe(S.style),position:"fixed",left:`${(o==null?void 0:o.x)??0}px`,top:`${(o==null?void 0:o.y)??0}px`,opacity:r?"1":"0",pointerEvents:"auto","--moz-popover-trigger-width":`${re}px`,"--moz-popover-available-height":`${(o==null?void 0:o.availableHeight)??0}px`,...S.matchTriggerWidth?{width:`${re}px`}:{}})}
1833
+ ${he(j)}
1834
+ >
1835
+ ${e.slot("content")}
1836
+ </div>
1837
+ `},api:{reposition:()=>a(),panel:()=>t.value??null}}}}),mr={name:"MozPopover",core:gl,props:["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId"],emits:["placed","escapeKeyDown","interactOutside","openAutoFocus","closeAutoFocus","requestClose"],slots:["content"],expose:!0,syncUpdate:!0},fr=new Set(["open","contentId","disabled","forceMount","class","style"]),vl="--moz-collapsible-content-height",wl=we({name:"moz-collapsible",defaults:{open:!1,disabled:!1,forceMount:!1},setup(e){let t=null,o=null,n=-1;const r=()=>{const c=t;if(!c)return;const i=c.scrollHeight;c.style.setProperty(vl,`${i}px`),i!==n&&(n=i,e.emit("heightChange",i))},s=()=>{o==null||o.disconnect(),o=null},h=c=>{if(t=c??null,!t){s(),n=-1;return}r(),!(typeof ResizeObserver>"u")&&(s(),o=new ResizeObserver(()=>r()),o.observe(t))};return e.onCleanup(s),{render(){const c=e.props,i=!!c.open;if(!i&&!c.forceMount)return l.nothing;const m=ge(c,fr);return l.html`<div
1838
+ ${H.ref(h)}
1839
+ class=${T("moz-collapsible-content",c.class)}
1840
+ id=${xe.ifDefined(c.contentId)}
1841
+ data-state=${i?"open":"closed"}
1842
+ data-disabled=${c.disabled?"":l.nothing}
1843
+ ?hidden=${!i}
1844
+ style=${te.styleMap(Pe(c.style))}
1845
+ ${he(m)}
1846
+ >
1847
+ ${e.slot("content")}
1848
+ </div>`}}}}),gr={name:"MozCollapsible",core:wl,props:["open","contentId","disabled","forceMount"],emits:["heightChange"],slots:["content"],expose:!1,syncUpdate:!0},vr=new Set(["src","alt","delayMs","imageClass","fallbackClass","class","style"]),Cl=we({name:"moz-avatar",setup(e){let t="idle",o,n=!0,r,s;const h=a=>{t!==a&&(t=a,e.emit("loadingStatusChange",a),e.requestUpdate())},c=()=>{s&&(s.onload=null,s.onerror=null,s=void 0)},i=a=>{if(r!==void 0&&clearTimeout(r),r=void 0,!a||a<=0){n=!0;return}n=!1,r=setTimeout(()=>{n=!0,r=void 0,e.requestUpdate()},a)},m=()=>{const a=e.props.src;if(a===o)return;if(o=a,c(),i(e.props.delayMs),!a){h("idle");return}h("loading");const u=new Image;s=u,u.onload=()=>{s!==u||o!==a||h("loaded")},u.onerror=()=>{s!==u||o!==a||h("error")},u.src=a};return e.onCleanup(()=>{c(),r!==void 0&&clearTimeout(r)}),{render(){m();const a=e.props,u=ge(a,vr),p=t==="loaded",v=!p&&n;return l.html`<span
1849
+ class=${T("moz-avatar",a.class)}
1850
+ data-status=${t}
1851
+ style=${te.styleMap(Pe(a.style))}
1852
+ ${he(u)}
1853
+ >
1854
+ ${p?l.html`<img
1855
+ class=${T("moz-avatar-image",a.imageClass)}
1856
+ src=${xe.ifDefined(a.src)}
1857
+ alt=${xe.ifDefined(a.alt)}
1858
+ />`:l.nothing}
1859
+ ${v?l.html`<span class=${T("moz-avatar-fallback",a.fallbackClass)}>${e.slot("fallback")}</span>`:l.nothing}
1860
+ </span>`},api:{get status(){return t}}}}}),wr={name:"MozAvatar",core:Cl,props:["src","alt","delayMs","imageClass","fallbackClass"],emits:["loadingStatusChange"],slots:["fallback"],expose:!0},Cr=new Set(["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass","class","style"]),yr=20,yl=we({name:"moz-scroll-area",defaults:{orientation:"vertical",scrollbarVisibility:"always"},setup(e){let t=null,o=null,n=null,r=null,s=null,h=!1,c=!1,i=null,m=null,a=null,u=null,p=null,v=!1,$=!1,R=null,y=null;const b=P=>!!P&&"nodeType"in P&&(!!(a!=null&&a.contains(P))||!!(u!=null&&u.contains(P))),M=()=>b((a==null?void 0:a.ownerDocument.activeElement)??null),S=()=>{const P=M();P!==$&&($=P,e.requestUpdate())},L=P=>{u=P??null},X=P=>{P.pointerType!=="touch"&&(v=!0,e.requestUpdate())},j=P=>{P.pointerType!=="touch"&&(v=b(P.relatedTarget),e.requestUpdate())},re=()=>{S()},de=()=>{e.requestUpdate()},ee=()=>{R==null||R(),p==null||p.disconnect(),p=null,a==null||a.removeEventListener("pointerenter",X),a==null||a.removeEventListener("pointerleave",j),a==null||a.removeEventListener("focusin",re),a==null||a.removeEventListener("focusout",de),a=null,v=$=!1},W=()=>{(y==null?void 0:y.getAttribute("tabindex"))==="0"&&y.removeAttribute("tabindex"),y=null},z=()=>{var D;const P=e.props.interactionRoot??t;P!==a&&(ee(),a=P,P&&(P.addEventListener("pointerenter",X),P.addEventListener("pointerleave",j),P.addEventListener("focusin",re),P.addEventListener("focusout",de)));const V=(D=P==null?void 0:P.ownerDocument.defaultView)==null?void 0:D.MutationObserver;e.props.scrollbarVisibility==="hover"&&P&&!p&&V?(p=new V(S),p.observe(P,{childList:!0,subtree:!0})):e.props.scrollbarVisibility!=="hover"&&(p==null||p.disconnect(),p=null),$=M(),e.props.scrollbarVisibility!=="hover"?W():t&&!t.hasAttribute("tabindex")&&(t.tabIndex=0,y=t)},G=P=>{const V=e.props.orientation??"vertical";return V==="both"||V===P},le=P=>{const V=t;if(!V||!G(P))return!1;const D=P==="vertical",U=D?V.scrollHeight:V.scrollWidth,g=D?V.clientHeight:V.clientWidth;if(U<=g+1||g<=0)return!1;const I=D?r:s,N=D?o:n;if(!I||!N)return!0;const Y=D?I.clientHeight:I.clientWidth;if(Y<=0)return!0;const ve=g/U,De=Math.max(Y*ve,yr),_e=Y-De,He=D?V.scrollTop:V.scrollLeft,d=U-g,x=d>0?He/d*_e:0;return D?(N.style.height=`${De}px`,N.style.transform=`translateY(${x}px)`):(N.style.width=`${De}px`,N.style.transform=`translateX(${x}px)`),!0},se=()=>{const P=le("vertical"),V=le("horizontal");P===h&&V===c||(h=P,c=V,e.requestUpdate())},J=()=>{const P=t;P&&(se(),e.emit("scroll",{scrollTop:P.scrollTop,scrollLeft:P.scrollLeft}))},O=()=>{ee(),W(),t&&t.removeEventListener("scroll",J),i==null||i.disconnect(),i=null,m==null||m.disconnect(),m=null,t=null},k=()=>{const P=e.props.viewport??null;if(P!==t&&(O(),t=P,!!t)){if(t.addEventListener("scroll",J,{passive:!0}),typeof ResizeObserver<"u"){i=new ResizeObserver(()=>se()),i.observe(t);const V=t.firstElementChild;V&&(m=new ResizeObserver(()=>se()),m.observe(V))}se()}},_=(P,V)=>{var C;const D=t,U=D==null?void 0:D.ownerDocument.defaultView;if(!D||!U||R||V.button!==0)return;const g=P==="vertical",I=g?r:s,N=g?o:n;if(!I||!N)return;V.preventDefault();const Y=g?V.clientY:V.clientX,ve=g?D.scrollTop:D.scrollLeft,De=g?I.clientHeight:I.clientWidth,_e=g?N.offsetHeight:N.offsetWidth,He=g?D.scrollHeight:D.scrollWidth,d=g?D.clientHeight:D.clientWidth,x=De-_e,K=He-d;if(x<=0||K<=0)return;const ne=V.pointerId,ce=A=>{v=A.pointerType!=="touch"&&[a,r,s].some(Ce=>{if(!Ce||Ce.hidden)return!1;const Se=Ce.getBoundingClientRect();return A.clientX>=Se.left&&A.clientX<Se.right&&A.clientY>=Se.top&&A.clientY<Se.bottom})},$e=A=>{if(A.pointerId!==ne)return;ce(A);const Ce=(g?A.clientY:A.clientX)-Y,Se=ve+Ce/x*K;g?D.scrollTop=Se:D.scrollLeft=Se},ye=A=>{A.pointerId===ne&&(ce(A),A.type!=="pointerup"&&(v=!1),R==null||R(),e.requestUpdate())};R=()=>{var A;R=null,U.removeEventListener("pointermove",$e),U.removeEventListener("pointerup",ye),U.removeEventListener("pointercancel",ye),N.removeEventListener("lostpointercapture",ye);try{(A=N.releasePointerCapture)==null||A.call(N,ne)}catch{}},U.addEventListener("pointermove",$e),U.addEventListener("pointerup",ye),U.addEventListener("pointercancel",ye),N.addEventListener("lostpointercapture",ye);try{(C=N.setPointerCapture)==null||C.call(N,ne)}catch{}e.requestUpdate()};e.onCleanup(O);const Z=(P,V)=>{const D=P==="vertical",U=I=>{D?r=I??null:s=I??null},g=I=>{D?o=I??null:n=I??null,I&&se()};return l.html`<div
1861
+ class=${T("moz-scroll-area-scrollbar",e.props.scrollbarClass)}
1862
+ data-orientation=${P}
1863
+ ?hidden=${!V}
1864
+ ${H.ref(U)}
1865
+ >
1866
+ <div
1867
+ class=${T("moz-scroll-area-thumb",e.props.thumbClass)}
1868
+ @pointerdown=${I=>_(P,I)}
1869
+ ${H.ref(g)}
1870
+ ></div>
1871
+ </div>`};return{render(){k(),z();const P=e.props,V=ge(P,Cr),D=G("vertical")&&G("horizontal");return l.html`<div
1872
+ class=${T("moz-scroll-area-bars",P.class)}
1873
+ data-orientation=${P.orientation??"vertical"}
1874
+ data-state=${P.scrollbarVisibility!=="hover"||v||$||R?"visible":"hidden"}
1875
+ style=${te.styleMap(Pe(P.style))}
1876
+ @pointerenter=${X}
1877
+ @pointerleave=${j}
1878
+ @focusin=${re}
1879
+ @focusout=${de}
1880
+ ${H.ref(L)}
1881
+ ${he(V)}
1882
+ >
1883
+ ${G("vertical")?Z("vertical",h):l.nothing}
1884
+ ${G("horizontal")?Z("horizontal",c):l.nothing}
1885
+ ${D&&h&&c?l.html`<div class="moz-scroll-area-corner"></div>`:l.nothing}
1886
+ </div>`}}}}),br={name:"MozScrollAreaBars",core:yl,props:["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass"],emits:["scroll"],expose:!1,syncUpdate:!0};exports.AVATAR_SPEC=wr;exports.BREADCRUMB_SPEC=Jl;exports.BUTTON_SPEC=Yl;exports.CALENDAR_SPEC=As;exports.CHECKBOX_SPEC=cs;exports.COLLAPSIBLE_HEIGHT_VAR=vl;exports.COLLAPSIBLE_SPEC=gr;exports.CONTEXTMENU_SPEC=bn;exports.CONTROLLER_SPEC=jn;exports.ChromeComponent=Po;exports.DATEINPUT_SPEC=Os;exports.DEFAULT_TREE_PROPS=Ft;exports.EMPTYSTATE_SPEC=is;exports.INPUT_SPEC=hs;exports.LABEL_SPEC=jl;exports.MULTISELECT_SPEC=an;exports.NUMBERINPUT_SPEC=ks;exports.Observable=Rl;exports.Overlay=pt;exports.PASSWORDINPUT_SPEC=gs;exports.POPOVER_SPEC=mr;exports.POPUP_SPEC=Xs;exports.PortalHost=kt;exports.RADIO_SPEC=us;exports.SCROLLAREA_SPEC=br;exports.SELECT_SPEC=tn;exports.SLIDER_SPEC=Ls;exports.SPLITPANE_SPEC=On;exports.SlotHost=xo;exports.TABLESELECT_SPEC=Tn;exports.TAB_SPEC=Ps;exports.TAGINPUT_SPEC=vn;exports.TEXTAREA_SPEC=ws;exports.TIMEPICKER_SPEC=hn;exports.TOAST_SPEC=ir;exports.TOGGLE_SPEC=Ql;exports.TOOLTIP_SPEC=ur;exports.TREESELECT_SPEC=Bn;exports.Timer=pl;exports.breadcrumbTemplate=Kt;exports.buttonTemplate=at;exports.checkboxTemplate=$t;exports.circleLoader=Ot;exports.cn=T;exports.computeTooltipPlacement=ml;exports.createAvatar=Cl;exports.createBreadCrumb=Ro;exports.createButton=zo;exports.createCalendar=Xt;exports.createCheckBox=Fo;exports.createCollapsible=wl;exports.createContextMenu=ll;exports.createController=ul;exports.createDateInput=Zo;exports.createEmptyState=Io;exports.createInput=Ho;exports.createLabel=Vo;exports.createMultiSelect=Jo;exports.createNumberInput=Wo;exports.createPasswordInput=_o;exports.createPopover=gl;exports.createPopup=Xo;exports.createRadio=Bo;exports.createScrollArea=yl;exports.createSelect=Qo;exports.createSlider=Yo;exports.createSplitPane=dl;exports.createTab=Go;exports.createTableSelect=sl;exports.createTagInput=ol;exports.createTextArea=No;exports.createTimePicker=tl;exports.createToast=lo;exports.createToggle=Do;exports.createTooltip=fl;exports.createTreeSelect=cl;exports.createValidator=Hl;exports.dayjs=Ee;exports.defaultEmptyStateMessages=Ao;exports.defineHeadless=we;exports.dismissLayerCount=Kl;exports.enUS=Al;exports.generateUUID=Lo;exports.iconArrowRight=_t;exports.iconCheckBox=Gt;exports.iconCheckBoxChecked=Yt;exports.iconCheckboxIndeterminate=Zt;exports.iconClose=Ko;exports.iconFavorite=Nt;exports.iconFavoriteFilled=Wt;exports.iconInfo=jt;exports.iconPasswordHidden=Oo;exports.iconPasswordVisible=Uo;exports.jaJP=Il;exports.koKR=It;exports.labelClass=Ut;exports.labelTemplate=Be;exports.normalizeStyle=Pe;exports.pickRest=ge;exports.pxToRem=Le;exports.registerDismissLayer=Ht;exports.registerForeignLayer=Wl;exports.registerSelfHandledLayer=ht;exports.shallowEqual=rt;exports.spread=he;exports.toggleTemplate=Pt;exports.uniqueId=Xe;exports.useToast=rr;exports.zhCN=ql;
1887
+ //# sourceMappingURL=index.cjs.map