@vmscloud/moz-ui-components-core 0.1.51 → 0.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";var Os=Object.defineProperty;var Hs=(e,t,s)=>t in e?Os(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Ae=(e,t,s)=>Hs(e,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("lit-html"),Bt=require("lit-html/directive.js"),oe=require("lit-html/directives/style-map.js"),_s=require("clsx"),Le=require("lit-html/directives/if-defined.js"),To=require("lit-html/directives/unsafe-html.js"),Tt=require("lit-html/directives/live.js"),lt=require("dayjs"),Ns=require("dayjs/plugin/duration.js"),Us=require("dayjs/plugin/minMax.js"),Ws=require("dayjs/plugin/timezone.js"),Ks=require("dayjs/plugin/utc.js"),Gs=require("dayjs/plugin/isSameOrBefore.js"),Ys=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 N=require("lit-html/directives/ref.js"),Fe=require("@tanstack/virtual-core");var Ye=typeof document<"u"?document.currentScript:null;class Mo{constructor(t){Ae(this,"container");Ae(this,"updateScheduled",!1);Ae(this,"mounted",!1);Ae(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(){o.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{}o.render(o.nothing,this.container)}}get isMounted(){return this.mounted}}class Zs{constructor(){Ae(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 zo{constructor(){Ae(this,"renderers",new Map);Ae(this,"resolver",null);Ae(this,"mounted",new Map)}setResolver(t){this.resolver=t}lookup(t){var s;return this.renderers.get(t)??((s=this.resolver)==null?void 0:s.call(this,t))}register(t,s){this.renderers.set(t,s)}unregister(t){for(const s of Array.from(this.mounted.keys()))(s===t||s.startsWith(`${t}#`))&&this.clear(s);this.renderers.delete(t)}has(t){return this.lookup(t)!==void 0}fill(t,s,n,i){var l,h;const a=this.lookup(s);if(!a)return!1;const m=this.mounted.get(t);if(m){if(m.el===n)return(h=(l=m.handle).update)==null||h.call(l,i),!0;m.handle.dispose(),this.mounted.delete(t)}const d=a(n,i);return this.mounted.set(t,{el:n,handle:d}),!0}clear(t){const s=this.mounted.get(t);s&&(s.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 Et{constructor(){Ae(this,"el",null)}open(t="",s=document.body){return this.el?this.el:(this.el=document.createElement("div"),t&&(this.el.className=t),s.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 Ao(){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 xe(e,t=16){return e/t}let uo=0;function Xe(e=""){return uo+=1,`${e}${uo}`}const it=(e,t)=>{const s=Object.keys(e),n=Object.keys(t);if(s.length!==n.length)return!1;for(const i of s)if(e[i]!==t[i])return!1;return!0};function ge(e,t){const s={};for(const n of Object.keys(e))t.has(n)||(s[n]=e[n]);return s}function ut(e){const t={},s={};for(const n of Object.keys(e))n.startsWith("aria-")?t[n]=e[n]:s[n]=e[n];return{aria:t,dom:s}}function $e(e){if(!e)return{};if(typeof e=="object")return e;if(typeof e=="string"){const t={};for(const s of e.split(";")){const n=s.indexOf(":");n>0&&(t[s.slice(0,n).trim()]=s.slice(n+1).trim())}return t}return{}}function Mt(e,t,s,n){return e.length>0||t===0||!n||n.getBoundingClientRect().height>0?e:Array.from({length:t},(i,a)=>({index:a,size:s,start:a*s}))}const Ot={Toast:{close:"닫기"},Chip:{remove:"삭제"},Callout:{dismiss:"닫기"},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:"탐색 경로"}},js={Toast:{close:"Close"},Chip:{remove:"Remove"},Callout:{dismiss:"Dismiss"},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"}},Xs={Toast:{close:"关闭"},Chip:{remove:"删除"},Callout:{dismiss:"关闭"},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:"面包屑导航"}},Qs={Toast:{close:"閉じる"},Chip:{remove:"削除"},Callout:{dismiss:"閉じる"},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 ve(e){return(t,s,n,i)=>{var ne;const a=e.portal?new Et:null,m=a?a.open():t,d=new zo;if(i!=null&&i.slots)for(const[ee,K]of Object.entries(i.slots))d.register(ee,K);i!=null&&i.slotResolver&&d.setResolver(i.slotResolver);const l=new Set(Object.keys(s)),h=i!=null&&i.providedKeys?new Set(i.providedKeys):null,r=ee=>{const K=e.defaults;if(!K)return ee;const D={...ee};for(const G of Object.keys(K))D[G]===void 0&&(D[G]=K[G]);return D};let p=r({...s}),u=(i==null?void 0:i.locale)??Ot;const v=(i==null?void 0:i.validator)??null,y=[];let R=new Map,$=new Set,b=new Map,V=null;const k={get props(){return p},emit:n,slots:d,requestUpdate:()=>W.requestUpdate(),onCleanup:ee=>y.push(ee),px:ee=>xe(ee),get locale(){return u},validator:v,controlled:ee=>h?h.has(ee):l.has(ee),slot(ee,K){if(!d.has(ee))return o.nothing;const D=b.get(ee)??0;b.set(ee,D+1);const G=`${ee}#${D}`;return R.set(G,{name:ee,scope:K}),o.html`<span data-moz-slot=${ee} data-moz-slot-id=${G}></span>`}},T=e.setup(k);class X extends Mo{template(){return R=new Map,b=new Map,T.render()}renderNow(){super.renderNow();let K=null;if(T.renderPortal){const D=T.renderPortal(),G=T.getPortalContainer?T.getPortalContainer():document.body;D===o.nothing||D==null||G==null?V&&V.isOpen&&(o.render(o.nothing,V.element),V.close()):(V||(V=new Et),K=V.isOpen?V.element:V.open("moz-overlay-portal",G),o.render(D,K))}for(const[D,{name:G,scope:se}]of R){let ie=this.container.querySelector(`[data-moz-slot-id="${D}"]`);!ie&&K&&(ie=K.querySelector(`[data-moz-slot-id="${D}"]`)),ie&&d.fill(D,G,ie,se)}for(const D of $)R.has(D)||d.clear(D);$=new Set(R.keys())}flush(){this.isMounted&&this.renderNow()}onDestroy(){for(const K of y.splice(0))try{K()}catch{}d.destroy()}}const W=new X(m);return W.mount(),(ne=T.onMounted)==null||ne.call(T,m.firstElementChild),{get el(){return m.firstElementChild},update(ee,K){K!=null&&K.replace?(p=r({...ee}),l.clear()):p=r({...p,...ee});for(const D of Object.keys(ee))l.add(D);K!=null&&K.sync?W.flush():W.requestUpdate()},destroy(){W.destroy(),a==null||a.close(),V==null||V.close()},setLocale(ee){ee!==u&&(u=ee??Ot,W.requestUpdate())},api:T.api??{}}}}class Js extends Bt.Directive{constructor(s){super(s);Ae(this,"prevKeys",[]);Ae(this,"listeners",new Map);if(s.type!==Bt.PartType.ELEMENT)throw new Error("spread() 는 element 바인딩(`<el ${spread(obj)}>`)에서만 사용할 수 있습니다.")}render(s){return o.nothing}update(s,[n]){const i=s.element,a=n??{};for(const m of this.prevKeys)if(!(m in a))if(this.isEventKey(m)){const d=this.listeners.get(m);d&&i.removeEventListener(this.eventName(m),d),this.listeners.delete(m)}else i.removeAttribute(m);for(const[m,d]of Object.entries(a))if(!(m==="class"||m==="style"||m==="key"||m==="ref"))if(this.isEventKey(m)&&typeof d=="function"){const l=this.eventName(m),h=this.listeners.get(m);h&&i.removeEventListener(l,h),i.addEventListener(l,d),this.listeners.set(m,d)}else d==null?i.removeAttribute(m):m.startsWith("aria-")?i.setAttribute(m,String(d)):d===!1?i.removeAttribute(m):d===!0?i.setAttribute(m,""):i.setAttribute(m,String(d));return this.prevKeys=Object.keys(a),o.noChange}isEventKey(s){return s.length>2&&s.startsWith("on")&&s[2]===s[2].toUpperCase()}eventName(s){return s.slice(2).toLowerCase()}}const ue=Bt.directive(Js);function z(...e){return _s.clsx(e)}function el(){return lt.extend(Ks),lt.extend(Ws),lt.extend(Ns),lt.extend(Us),lt.extend(Gs),lt.extend(Ys),lt.tz.setDefault("Asia/Seoul"),lt}const Pe=el();function tl(){const e=[];return{addValidator:a=>{e.push(a)},removeValidator:a=>{const m=e.findIndex(d=>d.validate===a.validate);m>=0&&e.splice(m,1)},validate:async(a="save")=>(await Promise.all(e.map(d=>d.validate(a).then(l=>l===void 0?!0:l)))).every(d=>d),initValidator:()=>{var a;for(const m of e)(a=m==null?void 0:m.initValidator)==null||a.call(m)}}}const ol=16;function sl(e,t){let s=0;return(...n)=>{const i=Date.now();i-s>=t&&(s=i,e(...n))}}class pt{constructor(t){Ae(this,"opened",!1);Ae(this,"scrollHandler");Ae(this,"clickHandler");this.opts=t,this.scrollHandler=sl(s=>this.onScroll(s),ol),this.clickHandler=s=>this.onOutsideClick(s)}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(),s=this.opts.panel();if(!t||!s)return;const n=t.getBoundingClientRect(),i=this.opts.maxHeight?this.opts.maxHeight():250,a=window.innerHeight-n.bottom,m=n.top,d=a<i&&m>=i;let l=n.left;const h=s.clientWidth;n.left+h>document.body.clientWidth&&(l-=h-n.width);let r=`${n.width}px`,p=!1;if(this.opts.listWidth){const u=this.opts.listWidth();u&&(typeof u!="number"||u>0)&&(r=typeof u=="number"?`${u}px`:u,p=!0)}s.style.position="fixed",s.style.left=`${l}px`,this.opts.useMinWidth?(s.style.minWidth=`${n.width}px`,p&&(s.style.width=String(r))):p?s.style.width=String(r):s.style.width=`${n.width}px`,d?(s.style.bottom=`${window.innerHeight-n.top}px`,s.style.top="auto"):(s.style.top=`${n.bottom}px`,s.style.bottom="auto")}onScroll(t){const s=t.target;if(this.opts.ignoreScrollTargets&&s&&this.opts.ignoreScrollTargets(s))return;const n=this.opts.anchor();if(n){const i=n.getBoundingClientRect();if(i.bottom<0||i.top>window.innerHeight){this.opts.requestClose();return}}this.calcPosition()}onOutsideClick(t){var n,i,a,m,d;if(this.opts.closeOnOutsideClick===!1)return;const s=t.target;(a=(i=(n=this.opts).container)==null?void 0:i.call(n))!=null&&a.contains(s)||(m=this.opts.panel())!=null&&m.contains(s)||(d=this.opts.anchor())!=null&&d.contains(s)||this.opts.requestClose()}}const tt=[];let Pt=!1;function Do(e){var s;if(e.key!=="Escape")return;const t=tt[tt.length-1];t&&t.kind==="moz"&&((s=t.onEscape)==null||s.call(t,e),e.stopPropagation())}function ll(){Pt||typeof window>"u"||(window.addEventListener("keydown",Do,{capture:!0}),Pt=!0)}function nl(){!Pt||typeof window>"u"||(window.removeEventListener("keydown",Do,!0),Pt=!1)}function Nt(e){tt.push(e),ll();let t=!1;return{release(){if(t)return;t=!0;const s=tt.indexOf(e);s>=0&&tt.splice(s,1),tt.length===0&&nl()},isTopmost(){return tt[tt.length-1]===e}}}function Ut(e){return Nt({kind:"moz",onEscape:e})}function il(){return Nt({kind:"foreign"})}function ht(){return Nt({kind:"self"})}function rl(){return tt.length}function Wt(e={}){const{circleClass:t="",progressClass:s=""}=e;return o.html`<svg
1
+ "use strict";var Bs=Object.defineProperty;var Os=(e,t,s)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Ae=(e,t,s)=>Os(e,typeof t!="symbol"?t+"":t,s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("lit-html"),Ft=require("lit-html/directive.js"),oe=require("lit-html/directives/style-map.js"),Hs=require("clsx"),xe=require("lit-html/directives/if-defined.js"),Lo=require("lit-html/directives/unsafe-html.js"),Lt=require("lit-html/directives/live.js"),lt=require("dayjs"),_s=require("dayjs/plugin/duration.js"),Ns=require("dayjs/plugin/minMax.js"),Us=require("dayjs/plugin/timezone.js"),Ws=require("dayjs/plugin/utc.js"),Ks=require("dayjs/plugin/isSameOrBefore.js"),Gs=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 N=require("lit-html/directives/ref.js"),Fe=require("@tanstack/virtual-core");var Ye=typeof document<"u"?document.currentScript:null;class To{constructor(t){Ae(this,"container");Ae(this,"updateScheduled",!1);Ae(this,"mounted",!1);Ae(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(){o.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{}o.render(o.nothing,this.container)}}get isMounted(){return this.mounted}}class Ys{constructor(){Ae(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 Mo{constructor(){Ae(this,"renderers",new Map);Ae(this,"resolver",null);Ae(this,"mounted",new Map)}setResolver(t){this.resolver=t}lookup(t){var s;return this.renderers.get(t)??((s=this.resolver)==null?void 0:s.call(this,t))}register(t,s){this.renderers.set(t,s)}unregister(t){for(const s of Array.from(this.mounted.keys()))(s===t||s.startsWith(`${t}#`))&&this.clear(s);this.renderers.delete(t)}has(t){return this.lookup(t)!==void 0}fill(t,s,n,i){var l,h;const a=this.lookup(s);if(!a)return!1;const m=this.mounted.get(t);if(m){if(m.el===n)return(h=(l=m.handle).update)==null||h.call(l,i),!0;m.handle.dispose(),this.mounted.delete(t)}const d=a(n,i);return this.mounted.set(t,{el:n,handle:d}),!0}clear(t){const s=this.mounted.get(t);s&&(s.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(){Ae(this,"el",null)}open(t="",s=document.body){return this.el?this.el:(this.el=document.createElement("div"),t&&(this.el.className=t),s.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 zo(){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 co=0;function Xe(e=""){return co+=1,`${e}${co}`}const it=(e,t)=>{const s=Object.keys(e),n=Object.keys(t);if(s.length!==n.length)return!1;for(const i of s)if(e[i]!==t[i])return!1;return!0};function ge(e,t){const s={};for(const n of Object.keys(e))t.has(n)||(s[n]=e[n]);return s}function ut(e){const t={},s={};for(const n of Object.keys(e))n.startsWith("aria-")?t[n]=e[n]:s[n]=e[n];return{aria:t,dom:s}}function $e(e){if(!e)return{};if(typeof e=="object")return e;if(typeof e=="string"){const t={};for(const s of e.split(";")){const n=s.indexOf(":");n>0&&(t[s.slice(0,n).trim()]=s.slice(n+1).trim())}return t}return{}}function Tt(e,t,s,n){return e.length>0||t===0||!n||n.getBoundingClientRect().height>0?e:Array.from({length:t},(i,a)=>({index:a,size:s,start:a*s}))}const Bt={Toast:{close:"닫기"},Chip:{remove:"삭제"},Callout:{dismiss:"닫기"},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:"탐색 경로"}},Zs={Toast:{close:"Close"},Chip:{remove:"Remove"},Callout:{dismiss:"Dismiss"},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"}},js={Toast:{close:"关闭"},Chip:{remove:"删除"},Callout:{dismiss:"关闭"},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:"面包屑导航"}},Xs={Toast:{close:"閉じる"},Chip:{remove:"削除"},Callout:{dismiss:"閉じる"},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 ve(e){return(t,s,n,i)=>{var ne;const a=e.portal?new kt:null,m=a?a.open():t,d=new Mo;if(i!=null&&i.slots)for(const[ee,K]of Object.entries(i.slots))d.register(ee,K);i!=null&&i.slotResolver&&d.setResolver(i.slotResolver);const l=new Set(Object.keys(s)),h=i!=null&&i.providedKeys?new Set(i.providedKeys):null,r=ee=>{const K=e.defaults;if(!K)return ee;const D={...ee};for(const G of Object.keys(K))D[G]===void 0&&(D[G]=K[G]);return D};let p=r({...s}),u=(i==null?void 0:i.locale)??Bt;const v=(i==null?void 0:i.validator)??null,y=[];let R=new Map,$=new Set,b=new Map,V=null;const k={get props(){return p},emit:n,slots:d,requestUpdate:()=>W.requestUpdate(),onCleanup:ee=>y.push(ee),px:ee=>Le(ee),get locale(){return u},validator:v,controlled:ee=>h?h.has(ee):l.has(ee),slot(ee,K){if(!d.has(ee))return o.nothing;const D=b.get(ee)??0;b.set(ee,D+1);const G=`${ee}#${D}`;return R.set(G,{name:ee,scope:K}),o.html`<span data-moz-slot=${ee} data-moz-slot-id=${G}></span>`}},T=e.setup(k);class X extends To{template(){return R=new Map,b=new Map,T.render()}renderNow(){super.renderNow();let K=null;if(T.renderPortal){const D=T.renderPortal(),G=T.getPortalContainer?T.getPortalContainer():document.body;D===o.nothing||D==null||G==null?V&&V.isOpen&&(o.render(o.nothing,V.element),V.close()):(V||(V=new kt),K=V.isOpen?V.element:V.open("moz-overlay-portal",G),o.render(D,K))}for(const[D,{name:G,scope:se}]of R){let ie=this.container.querySelector(`[data-moz-slot-id="${D}"]`);!ie&&K&&(ie=K.querySelector(`[data-moz-slot-id="${D}"]`)),ie&&d.fill(D,G,ie,se)}for(const D of $)R.has(D)||d.clear(D);$=new Set(R.keys())}flush(){this.isMounted&&this.renderNow()}onDestroy(){for(const K of y.splice(0))try{K()}catch{}d.destroy()}}const W=new X(m);return W.mount(),(ne=T.onMounted)==null||ne.call(T,m.firstElementChild),{get el(){return m.firstElementChild},update(ee,K){K!=null&&K.replace?(p=r({...ee}),l.clear()):p=r({...p,...ee});for(const D of Object.keys(ee))l.add(D);K!=null&&K.sync?W.flush():W.requestUpdate()},destroy(){W.destroy(),a==null||a.close(),V==null||V.close()},setLocale(ee){ee!==u&&(u=ee??Bt,W.requestUpdate())},api:T.api??{}}}}class Qs extends Ft.Directive{constructor(s){super(s);Ae(this,"prevKeys",[]);Ae(this,"listeners",new Map);if(s.type!==Ft.PartType.ELEMENT)throw new Error("spread() 는 element 바인딩(`<el ${spread(obj)}>`)에서만 사용할 수 있습니다.")}render(s){return o.nothing}update(s,[n]){const i=s.element,a=n??{};for(const m of this.prevKeys)if(!(m in a))if(this.isEventKey(m)){const d=this.listeners.get(m);d&&i.removeEventListener(this.eventName(m),d),this.listeners.delete(m)}else i.removeAttribute(m);for(const[m,d]of Object.entries(a))if(!(m==="class"||m==="style"||m==="key"||m==="ref"))if(this.isEventKey(m)&&typeof d=="function"){const l=this.eventName(m),h=this.listeners.get(m);h&&i.removeEventListener(l,h),i.addEventListener(l,d),this.listeners.set(m,d)}else d==null?i.removeAttribute(m):m.startsWith("aria-")?i.setAttribute(m,String(d)):d===!1?i.removeAttribute(m):d===!0?i.setAttribute(m,""):i.setAttribute(m,String(d));return this.prevKeys=Object.keys(a),o.noChange}isEventKey(s){return s.length>2&&s.startsWith("on")&&s[2]===s[2].toUpperCase()}eventName(s){return s.slice(2).toLowerCase()}}const ue=Ft.directive(Qs);function z(...e){return Hs.clsx(e)}function Js(){return lt.extend(Ws),lt.extend(Us),lt.extend(_s),lt.extend(Ns),lt.extend(Ks),lt.extend(Gs),lt.tz.setDefault("Asia/Seoul"),lt}const Pe=Js();function el(){const e=[];return{addValidator:a=>{e.push(a)},removeValidator:a=>{const m=e.findIndex(d=>d.validate===a.validate);m>=0&&e.splice(m,1)},validate:async(a="save")=>(await Promise.all(e.map(d=>d.validate(a).then(l=>l===void 0?!0:l)))).every(d=>d),initValidator:()=>{var a;for(const m of e)(a=m==null?void 0:m.initValidator)==null||a.call(m)}}}const tl=16;function ol(e,t){let s=0;return(...n)=>{const i=Date.now();i-s>=t&&(s=i,e(...n))}}class pt{constructor(t){Ae(this,"opened",!1);Ae(this,"scrollHandler");Ae(this,"clickHandler");this.opts=t,this.scrollHandler=ol(s=>this.onScroll(s),tl),this.clickHandler=s=>this.onOutsideClick(s)}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(),s=this.opts.panel();if(!t||!s)return;const n=t.getBoundingClientRect(),i=this.opts.maxHeight?this.opts.maxHeight():250,a=window.innerHeight-n.bottom,m=n.top,d=a<i&&m>=i;let l=n.left;const h=s.clientWidth;n.left+h>document.body.clientWidth&&(l-=h-n.width);let r=`${n.width}px`,p=!1;if(this.opts.listWidth){const u=this.opts.listWidth();u&&(typeof u!="number"||u>0)&&(r=typeof u=="number"?`${u}px`:u,p=!0)}s.style.position="fixed",s.style.left=`${l}px`,this.opts.useMinWidth?(s.style.minWidth=`${n.width}px`,p&&(s.style.width=String(r))):p?s.style.width=String(r):s.style.width=`${n.width}px`,d?(s.style.bottom=`${window.innerHeight-n.top}px`,s.style.top="auto"):(s.style.top=`${n.bottom}px`,s.style.bottom="auto")}onScroll(t){const s=t.target;if(this.opts.ignoreScrollTargets&&s&&this.opts.ignoreScrollTargets(s))return;const n=this.opts.anchor();if(n){const i=n.getBoundingClientRect();if(i.bottom<0||i.top>window.innerHeight){this.opts.requestClose();return}}this.calcPosition()}onOutsideClick(t){var n,i,a,m,d;if(this.opts.closeOnOutsideClick===!1)return;const s=t.target;(a=(i=(n=this.opts).container)==null?void 0:i.call(n))!=null&&a.contains(s)||(m=this.opts.panel())!=null&&m.contains(s)||(d=this.opts.anchor())!=null&&d.contains(s)||this.opts.requestClose()}}const tt=[];let Et=!1;function Ao(e){var s;if(e.key!=="Escape")return;const t=tt[tt.length-1];t&&t.kind==="moz"&&((s=t.onEscape)==null||s.call(t,e),e.stopPropagation())}function sl(){Et||typeof window>"u"||(window.addEventListener("keydown",Ao,{capture:!0}),Et=!0)}function ll(){!Et||typeof window>"u"||(window.removeEventListener("keydown",Ao,!0),Et=!1)}function _t(e){tt.push(e),sl();let t=!1;return{release(){if(t)return;t=!0;const s=tt.indexOf(e);s>=0&&tt.splice(s,1),tt.length===0&&ll()},isTopmost(){return tt[tt.length-1]===e}}}function Nt(e){return _t({kind:"moz",onEscape:e})}function nl(){return _t({kind:"foreign"})}function ht(){return _t({kind:"self"})}function il(){return tt.length}function Ut(e={}){const{circleClass:t="",progressClass:s=""}=e;return o.html`<svg
3
3
  aria-hidden="true"
4
4
  role="status"
5
5
  class="moz-circle-loader"
@@ -20,51 +20,51 @@
20
20
  fill="var(--moz-color-accent)"
21
21
  class=${s}
22
22
  ></path>
23
- </svg>`}function Vo(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 al=new Set(["action","text","type","nativeType","width","loading","disabled","class","style"]);function at(e,t={}){const s=!!e.disabled||!!e.loading,n=t.icon!=null&&t.icon!==o.nothing,i=e.width==null?void 0:typeof e.width=="number"?`${xe(e.width)}rem`:e.width,a=e.width==null?void 0:typeof e.width=="number"?`${e.width}px`:e.width,m={width:i,minWidth:i,"--moz-btn-loading-width":a,...$e(e.style)},d=l=>{var h;s||(h=t.onClick)==null||h.call(t,l)};return o.html`
23
+ </svg>`}function Do(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 rl=new Set(["action","text","type","nativeType","width","loading","disabled","class","style"]);function at(e,t={}){const s=!!e.disabled||!!e.loading,n=t.icon!=null&&t.icon!==o.nothing,i=e.width==null?void 0:typeof e.width=="number"?`${Le(e.width)}rem`:e.width,a=e.width==null?void 0:typeof e.width=="number"?`${e.width}px`:e.width,m={width:i,minWidth:i,"--moz-btn-loading-width":a,...$e(e.style)},d=l=>{var h;s||(h=t.onClick)==null||h.call(t,l)};return o.html`
24
24
  <button
25
25
  type=${e.nativeType??"button"}
26
- class=${z("moz-button",Vo(e.type),{loading:!!e.loading,disabled:s,"moz-icon-text-button":n},e.class)}
26
+ class=${z("moz-button",Do(e.type),{loading:!!e.loading,disabled:s,"moz-icon-text-button":n},e.class)}
27
27
  style=${oe.styleMap(m)}
28
28
  ?disabled=${s}
29
29
  @click=${d}
30
30
  ${ue(t.rest??{})}
31
31
  >
32
32
  ${e.loading?o.html`<span class="spinner" data-part="spinner"
33
- >${Wt({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
33
+ >${Ut({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
34
34
  >`:t.icon??o.nothing}
35
35
  ${e.text||t.content!=null?o.html`<span class=${z("text",{"has-icon-text":n})} data-part="label"
36
36
  >${e.text??""}${t.content??o.nothing}</span
37
37
  >`:o.nothing}
38
38
  </button>
39
- `}const Ro=ve({name:"moz-button",defaults:{type:"default",loading:!1,disabled:!1},setup(e){let t=!!e.props.loading,s=e.props.loading;const n=i=>{const a=e.props;a.disabled||t||(e.emit("click",i),a.action==="Search"&&(t=!0,a.loading||(t=!1),e.requestUpdate()))};return{api:{setLoading(i){t=i,e.requestUpdate()}},render(){const i=e.props;i.loading!==s&&(s=i.loading,t=!!i.loading);const a=e.slots.has("icon"),m=!!i.disabled||t,d=i.width==null?void 0:typeof i.width=="number"?`${e.px(i.width)}rem`:i.width,l=i.width==null?void 0:typeof i.width=="number"?`${i.width}px`:i.width,h={};for(const p of Object.keys(i))al.has(p)||(h[p]=i[p]);const r={width:d,minWidth:d,"--moz-btn-loading-width":l,...$e(i.style)};return o.html`
39
+ `}const Vo=ve({name:"moz-button",defaults:{type:"default",loading:!1,disabled:!1},setup(e){let t=!!e.props.loading,s=e.props.loading;const n=i=>{const a=e.props;a.disabled||t||(e.emit("click",i),a.action==="Search"&&(t=!0,a.loading||(t=!1),e.requestUpdate()))};return{api:{setLoading(i){t=i,e.requestUpdate()}},render(){const i=e.props;i.loading!==s&&(s=i.loading,t=!!i.loading);const a=e.slots.has("icon"),m=!!i.disabled||t,d=i.width==null?void 0:typeof i.width=="number"?`${e.px(i.width)}rem`:i.width,l=i.width==null?void 0:typeof i.width=="number"?`${i.width}px`:i.width,h={};for(const p of Object.keys(i))rl.has(p)||(h[p]=i[p]);const r={width:d,minWidth:d,"--moz-btn-loading-width":l,...$e(i.style)};return o.html`
40
40
  <button
41
41
  type=${i.nativeType??"button"}
42
- class=${z("moz-button",Vo(i.type),{loading:t,disabled:m,"moz-icon-text-button":a},i.class)}
42
+ class=${z("moz-button",Do(i.type),{loading:t,disabled:m,"moz-icon-text-button":a},i.class)}
43
43
  style=${oe.styleMap(r)}
44
44
  ?disabled=${m}
45
45
  @click=${n}
46
46
  ${ue(h)}
47
47
  >
48
48
  ${t?o.html`<span class="spinner" data-part="spinner"
49
- >${Wt({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
49
+ >${Ut({circleClass:"fill-accent-50",progressClass:"fill-accent-400"})}</span
50
50
  >`:e.slot("icon",{disabled:m})}
51
51
  ${i.text||e.slots.has("default")?o.html`<span class=${z("text",{"has-icon-text":a})} data-part="label"
52
52
  >${i.text??""}${e.slot("default",{disabled:m})}</span
53
53
  >`:o.nothing}
54
54
  </button>
55
- `}}}}),cl={name:"MozButton",core:Ro,props:["action","text","type","nativeType","width","loading","disabled"],emits:["click"],slots:["icon","default"],expose:!0},dl=new Set(["for","disabled","required","isReadOnly","class","style"]);function Kt(e,t){return z("moz-label",{disabled:!!e.disabled,"read-only":!!e.isReadOnly},t,e.class)}function Be(e,t,s){return o.html`<label class=${Kt(e,s)} for=${Le.ifDefined(e.for)}
55
+ `}}}}),al={name:"MozButton",core:Vo,props:["action","text","type","nativeType","width","loading","disabled"],emits:["click"],slots:["icon","default"],expose:!0},cl=new Set(["for","disabled","required","isReadOnly","class","style"]);function Wt(e,t){return z("moz-label",{disabled:!!e.disabled,"read-only":!!e.isReadOnly},t,e.class)}function Be(e,t,s){return o.html`<label class=${Wt(e,s)} for=${xe.ifDefined(e.for)}
56
56
  >${t}${e.required?o.html`<span class="require-mark">*</span>`:o.nothing}</label
57
- >`}const qo=ve({name:"moz-label",setup(e){return{render(){const t=e.props,s=ge(t,dl);return o.html`<label
58
- class=${Kt(t)}
59
- for=${Le.ifDefined(t.for)}
57
+ >`}const Ro=ve({name:"moz-label",setup(e){return{render(){const t=e.props,s=ge(t,cl);return o.html`<label
58
+ class=${Wt(t)}
59
+ for=${xe.ifDefined(t.for)}
60
60
  style=${oe.styleMap($e(t.style))}
61
61
  ${ue(s)}
62
62
  >${e.slot("default")}${t.required?o.html`<span class="require-mark">*</span>`:o.nothing}</label
63
- >`}}}}),ul={name:"MozLabel",core:qo,props:["for","disabled","required","isReadOnly"],emits:[],slots:["default"],expose:!1},pl=new Set(["modelValue","label","labelPosition","required","readonly","disabled","visible","class","style"]);function Lt(e){const t=!!e.model;return o.html`
63
+ >`}}}}),dl={name:"MozLabel",core:Ro,props:["for","disabled","required","isReadOnly"],emits:[],slots:["default"],expose:!1},ul=new Set(["modelValue","label","labelPosition","required","readonly","disabled","visible","class","style"]);function Pt(e){const t=!!e.model;return o.html`
64
64
  <div
65
65
  data-part="root"
66
66
  class=${z(e.class)}
67
- style=${Le.ifDefined(e.visible===!1?"display: none;":void 0)}
67
+ style=${xe.ifDefined(e.visible===!1?"display: none;":void 0)}
68
68
  ${ue(e.rest??{})}
69
69
  >
70
70
  <div class="moz-switch">
@@ -87,14 +87,14 @@
87
87
  ${e.labelPosition==="right"?Be({for:e.id,disabled:e.disabled},e.label??"","label-right"):o.nothing}
88
88
  </div>
89
89
  </div>
90
- `}const Io=ve({name:"moz-toggle",defaults:{labelPosition:"left",required:!1,readonly:!1,disabled:!1,visible:!0},setup(e){const t=Xe("switch_"),s=i=>{const a=e.props;(a.disabled||a.readonly)&&(i.preventDefault(),i.stopPropagation())},n=i=>{const a=e.props;if(a.disabled||a.readonly)return;const m=i.target.checked;e.emit("change",!!m)};return{render(){const i=e.props,{aria:a,dom:m}=ut(ge(i,pl));return Lt({id:t,class:i.class,rest:m,inputRest:a,model:!!i.modelValue,label:i.label,labelPosition:i.labelPosition,required:i.required,disabled:i.disabled,visible:i.visible,onChange:n,onClick:s})}}}}),hl={name:"MozToggle",core:Io,props:["label","labelPosition","required","readonly","disabled","visible"],emits:["change"],models:{modelValue:{prop:"modelValue",event:"change"}},slots:[],expose:!1};function Gt(e=""){return o.html`<svg class=${e} xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
90
+ `}const qo=ve({name:"moz-toggle",defaults:{labelPosition:"left",required:!1,readonly:!1,disabled:!1,visible:!0},setup(e){const t=Xe("switch_"),s=i=>{const a=e.props;(a.disabled||a.readonly)&&(i.preventDefault(),i.stopPropagation())},n=i=>{const a=e.props;if(a.disabled||a.readonly)return;const m=i.target.checked;e.emit("change",!!m)};return{render(){const i=e.props,{aria:a,dom:m}=ut(ge(i,ul));return Pt({id:t,class:i.class,rest:m,inputRest:a,model:!!i.modelValue,label:i.label,labelPosition:i.labelPosition,required:i.required,disabled:i.disabled,visible:i.visible,onChange:n,onClick:s})}}}}),pl={name:"MozToggle",core:qo,props:["label","labelPosition","required","readonly","disabled","visible"],emits:["change"],models:{modelValue:{prop:"modelValue",event:"change"}},slots:[],expose:!1};function Kt(e=""){return o.html`<svg class=${e} xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
91
91
  <path
92
92
  fill-rule="evenodd"
93
93
  clip-rule="evenodd"
94
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
95
  fill="var(--moz-color-text-subtle)"
96
96
  ></path>
97
- </svg>`}function Yt(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
97
+ </svg>`}function Gt(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
98
98
  <path
99
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
100
  stroke=${e}
@@ -102,7 +102,7 @@
102
102
  stroke-linecap="round"
103
103
  stroke-linejoin="round"
104
104
  ></path>
105
- </svg>`}function Zt(e="var(--moz-color-accent)",t=""){return o.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
105
+ </svg>`}function Yt(e="var(--moz-color-accent)",t=""){return o.html`<svg class=${t} width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
106
106
  <path
107
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
108
  fill=${e}
@@ -111,8 +111,8 @@
111
111
  stroke-linecap="round"
112
112
  stroke-linejoin="round"
113
113
  ></path>
114
- </svg>`}const po=new Set(["itemSource","items","listClass","showFavorite","modelValue","class","style"]);function jt(e){const t=e.itemSource??[],s=!!e.favorite,n=e.showFavorite?e.favoriteSlot!=null?e.favoriteSlot:o.html`<button type="button" class="favorite-icon" @click=${e.onFavClick}>
115
- ${s?Zt(void 0,"favorite-filled"):Yt(void 0,"empty")}
114
+ </svg>`}const uo=new Set(["itemSource","items","listClass","showFavorite","modelValue","class","style"]);function Zt(e){const t=e.itemSource??[],s=!!e.favorite,n=e.showFavorite?e.favoriteSlot!=null?e.favoriteSlot:o.html`<button type="button" class="favorite-icon" @click=${e.onFavClick}>
115
+ ${s?Yt(void 0,"favorite-filled"):Gt(void 0,"empty")}
116
116
  </button>`:o.nothing;return o.html`
117
117
  <div
118
118
  role="navigation"
@@ -122,20 +122,20 @@
122
122
  ${ue(e.rest??{})}
123
123
  >
124
124
  <div class="menu-item">
125
- ${t.map((i,a)=>t.length-1===a?o.html`<div class="current-item" aria-current="page">${i}</div>`:o.html`<div>${i}</div>${Gt("separator")}`)}
125
+ ${t.map((i,a)=>t.length-1===a?o.html`<div class="current-item" aria-current="page">${i}</div>`:o.html`<div>${i}</div>${Kt("separator")}`)}
126
126
  </div>
127
127
  ${n}${e.titleSlot??o.nothing}
128
128
  </div>
129
- `}const Fo=ve({name:"moz-bread-crumb",defaults:{showFavorite:!0,modelValue:!0,itemSource:[]},setup(e){const t=()=>e.emit("click",!!e.props.modelValue),s=n=>{const i=e.props,a=!!i.modelValue,m=i.showFavorite?e.slots.has("favorite")?e.slot("favorite"):o.html`<button type="button" class="favorite-icon" @click=${t}>
130
- ${a?Zt(void 0,"favorite-filled"):Yt(void 0,"empty")}
129
+ `}const Io=ve({name:"moz-bread-crumb",defaults:{showFavorite:!0,modelValue:!0,itemSource:[]},setup(e){const t=()=>e.emit("click",!!e.props.modelValue),s=n=>{const i=e.props,a=!!i.modelValue,m=i.showFavorite?e.slots.has("favorite")?e.slot("favorite"):o.html`<button type="button" class="favorite-icon" @click=${t}>
130
+ ${a?Yt(void 0,"favorite-filled"):Gt(void 0,"empty")}
131
131
  </button>`:o.nothing,d=()=>o.html`<li role="presentation" aria-hidden="true" class="moz-bread-crumb-separator">
132
- ${e.slots.has("separator")?e.slot("separator"):Gt("separator")}
132
+ ${e.slots.has("separator")?e.slot("separator"):Kt("separator")}
133
133
  </li>`;return o.html`
134
134
  <nav
135
135
  aria-label=${e.locale.BreadCrumb.navigation}
136
136
  class=${z("moz-bread-crumb","moz-bread-crumb-items",i.class)}
137
137
  style=${oe.styleMap($e(i.style))}
138
- ${ue(ge(i,po))}
138
+ ${ue(ge(i,uo))}
139
139
  >
140
140
  <ol class=${z("moz-bread-crumb-list",i.listClass)}>
141
141
  ${n.map((l,h)=>o.html`
@@ -147,7 +147,7 @@
147
147
  </ol>
148
148
  ${m}${e.slot("title")}
149
149
  </nav>
150
- `};return{render(){const n=e.props;return n.items&&n.items.length>0?s(n.items):jt({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,po)})}}}}),ml={name:"MozBreadCrumb",core:Fo,props:["itemSource","items","listClass","showFavorite"],emits:["click"],models:{modelValue:{prop:"modelValue",event:"update:modelValue"}},slots:["favorite","title","separator"],expose:!1,syncUpdate:!0},Bo={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."},Oo=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,fl=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,gl=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,vl=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,wl=new Set(["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed","class","style"]),Cl={custom_empty:Oo,data_empty:fl,result_empty:gl,search_empty:vl},bl={custom_empty:"customEmptyHeader",data_empty:"dataEmptyHeader",result_empty:"resultEmptyHeader",search_empty:"searchEmptyHeader"},yl={custom_empty:"customEmptyContent",data_empty:"dataEmptyContent",result_empty:"resultEmptyContent",search_empty:"searchEmptyContent"},Ho=ve({name:"moz-empty-state",defaults:{isReadOnly:!0,isCustomState:!1,filterdRowCount:0,totalRowCount:0,useImg:!0,composed:!1},setup(e){const t=n=>{var a;return((a=e.props.messages)==null?void 0:a[n])||e.locale.EmptyState[n]||Bo[n]||""},s=()=>{const n=e.props,i=n.totalRowCount??0,a=n.filterdRowCount??0;if(n.selectImg&&(i===0||a===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":i===0?n.isReadOnly?"result_empty":"data_empty":a===0?"search_empty":""};return{render(){const n=e.props,i=ge(n,wl);if(n.composed)return o.html`
150
+ `};return{render(){const n=e.props;return n.items&&n.items.length>0?s(n.items):Zt({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,uo)})}}}}),hl={name:"MozBreadCrumb",core:Io,props:["itemSource","items","listClass","showFavorite"],emits:["click"],models:{modelValue:{prop:"modelValue",event:"update:modelValue"}},slots:["favorite","title","separator"],expose:!1,syncUpdate:!0},Fo={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."},Bo=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,ml=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,fl=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,gl=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,vl=new Set(["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed","class","style"]),wl={custom_empty:Bo,data_empty:ml,result_empty:fl,search_empty:gl},Cl={custom_empty:"customEmptyHeader",data_empty:"dataEmptyHeader",result_empty:"resultEmptyHeader",search_empty:"searchEmptyHeader"},bl={custom_empty:"customEmptyContent",data_empty:"dataEmptyContent",result_empty:"resultEmptyContent",search_empty:"searchEmptyContent"},Oo=ve({name:"moz-empty-state",defaults:{isReadOnly:!0,isCustomState:!1,filterdRowCount:0,totalRowCount:0,useImg:!0,composed:!1},setup(e){const t=n=>{var a;return((a=e.props.messages)==null?void 0:a[n])||e.locale.EmptyState[n]||Fo[n]||""},s=()=>{const n=e.props,i=n.totalRowCount??0,a=n.filterdRowCount??0;if(n.selectImg&&(i===0||a===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":i===0?n.isReadOnly?"result_empty":"data_empty":a===0?"search_empty":""};return{render(){const n=e.props,i=ge(n,vl);if(n.composed)return o.html`
151
151
  <div
152
152
  class=${z("empty-container","empty-composed",n.class)}
153
153
  style=${oe.styleMap($e(n.style))}
@@ -159,15 +159,15 @@
159
159
  ${e.slots.has("actions")?o.html`<div class="empty-actions">${e.slot("actions")}</div>`:o.nothing}
160
160
  ${e.slots.has("customState")?o.html`<div class="empty-content">${e.slot("customState")}</div>`:o.nothing}
161
161
  </div>
162
- `;const a=s();if(!a)return o.nothing;const m=Cl[a]||Oo,d=typeof n.headerMsg=="string"?n.headerMsg:t(bl[a]||"customEmptyHeader"),l=typeof n.contentMsg=="string"?n.contentMsg:t(yl[a]||"customEmptyContent"),h=e.slots.has("icon")?o.html`<div class="empty-icon">${e.slot("icon")}</div>`:n.useImg?o.html`<img src=${m} alt="Empty state" class="empty-img" />`:o.nothing;return o.html`
162
+ `;const a=s();if(!a)return o.nothing;const m=wl[a]||Bo,d=typeof n.headerMsg=="string"?n.headerMsg:t(Cl[a]||"customEmptyHeader"),l=typeof n.contentMsg=="string"?n.contentMsg:t(bl[a]||"customEmptyContent"),h=e.slots.has("icon")?o.html`<div class="empty-icon">${e.slot("icon")}</div>`:n.useImg?o.html`<img src=${m} alt="Empty state" class="empty-img" />`:o.nothing;return o.html`
163
163
  <div class=${z("empty-container",n.class)} style=${oe.styleMap($e(n.style))} ${ue(i)}>
164
164
  ${h}
165
165
  <div class="empty-heading">${d}</div>
166
- <div class="empty-content"><span>${To.unsafeHTML(l)}</span></div>
166
+ <div class="empty-content"><span>${Lo.unsafeHTML(l)}</span></div>
167
167
  <div class="empty-content">${e.slot("customState")}</div>
168
168
  ${e.slots.has("actions")?o.html`<div class="empty-actions">${e.slot("actions")}</div>`:o.nothing}
169
169
  </div>
170
- `}}}}),$l={name:"MozEmptyState",core:Ho,props:["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed"],emits:[],slots:["customState","icon","heading","description","actions"],expose:!1};function Xt(e="var(--moz-color-border)",t=!1,s=""){return o.html`<svg class=${s} data-icon="unchecked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
170
+ `}}}}),yl={name:"MozEmptyState",core:Oo,props:["isReadOnly","isCustomState","headerMsg","contentMsg","filterdRowCount","totalRowCount","useImg","selectImg","messages","composed"],emits:[],slots:["customState","icon","heading","description","actions"],expose:!1};function jt(e="var(--moz-color-border)",t=!1,s=""){return o.html`<svg class=${s} data-icon="unchecked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
171
171
  <path
172
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
173
  fill=${t?"var(--moz-color-surface-subtle)":"var(--moz-color-surface)"}
@@ -176,15 +176,15 @@
176
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
177
  stroke=${t?"var(--moz-color-text-muted)":e}
178
178
  ></path>
179
- </svg>`}function Qt(e="var(--moz-color-accent)",t=!1,s=""){return o.html`<svg class=${s} data-icon="checked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
179
+ </svg>`}function Xt(e="var(--moz-color-accent)",t=!1,s=""){return o.html`<svg class=${s} data-icon="checked" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
180
180
  <path
181
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
182
  fill=${t?"var(--moz-color-text-muted)":e}
183
183
  ></path>
184
- </svg>`}function Jt(e="var(--moz-color-accent)",t=!1,s=""){return o.html`<svg class=${s} data-icon="indeterminate" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
184
+ </svg>`}function Qt(e="var(--moz-color-accent)",t=!1,s=""){return o.html`<svg class=${s} data-icon="indeterminate" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
185
185
  <rect width="12" height="12" rx="2" fill=${t?"var(--moz-color-text-muted)":e}></rect>
186
186
  <path d="M3 6H9" stroke="var(--moz-color-on-accent)" stroke-width="2" stroke-linecap="round"></path>
187
- </svg>`}const Sl=new Set(["label","fieldId","disabled","readonly","checked","indeterminate","modelValue","class","style"]);function St(e={}){const t=!!e.checked,s=!!e.disabled,n=!!e.indeterminate,i=()=>{var a;s||(a=e.onChange)==null||a.call(e,!t)};return o.html`
187
+ </svg>`}const $l=new Set(["label","fieldId","disabled","readonly","checked","indeterminate","modelValue","class","style"]);function $t(e={}){const t=!!e.checked,s=!!e.disabled,n=!!e.indeterminate,i=()=>{var a;s||(a=e.onChange)==null||a.call(e,!t)};return o.html`
188
188
  <div
189
189
  class=${z("moz-checkbox",{"cursor-pointer":!s,"cursor-not-allowed":s,disabled:s},e.class)}
190
190
  @click=${a=>{s||(a.preventDefault(),a.stopPropagation(),i())}}
@@ -200,11 +200,11 @@
200
200
  @change=${a=>{a.target.checked=t,i()}}
201
201
  />
202
202
  <div class="checkbox-visual">
203
- ${n?Jt(void 0,s,"checked-icon"):t?Qt(void 0,s,"checked-icon"):Xt(void 0,s,"check-icon")}
203
+ ${n?Qt(void 0,s,"checked-icon"):t?Xt(void 0,s,"checked-icon"):jt(void 0,s,"check-icon")}
204
204
  </div>
205
205
  </div>
206
206
  </div>
207
- `}const _o=ve({name:"moz-checkbox",defaults:{disabled:!1,readonly:!1,indeterminate:!1,modelValue:!1},setup(e){const t=Ao();let s=!1;const n=()=>{const p=e.props;return e.controlled("checked")?p.checked??!1:p.modelValue??!1},i=()=>{const p=!n();e.controlled("checked")||e.emit("update:modelValue",p),e.emit("change",p)},a=p=>{var v;const u=e.props;u.disabled||u.readonly||(p.preventDefault(),p.stopPropagation(),i(),(v=p.currentTarget.querySelector("input"))==null||v.focus())},m=p=>p.stopPropagation(),d=p=>{const u=e.props,v=p.target;if(u.readonly){v.checked=n();return}const y=v.checked;e.controlled("checked")?(v.checked=n(),e.emit("change",y)):(e.emit("update:modelValue",y),e.emit("change",y))},l=p=>{const u=e.props;u.disabled||u.readonly||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),i())},h=()=>{s=!0,e.requestUpdate()},r=()=>{s=!1,e.requestUpdate()};return{render(){const p=e.props,u=p.fieldId||t,v=n(),y=ge(p,Sl);return o.html`
207
+ `}const Ho=ve({name:"moz-checkbox",defaults:{disabled:!1,readonly:!1,indeterminate:!1,modelValue:!1},setup(e){const t=zo();let s=!1;const n=()=>{const p=e.props;return e.controlled("checked")?p.checked??!1:p.modelValue??!1},i=()=>{const p=!n();e.controlled("checked")||e.emit("update:modelValue",p),e.emit("change",p)},a=p=>{var v;const u=e.props;u.disabled||u.readonly||(p.preventDefault(),p.stopPropagation(),i(),(v=p.currentTarget.querySelector("input"))==null||v.focus())},m=p=>p.stopPropagation(),d=p=>{const u=e.props,v=p.target;if(u.readonly){v.checked=n();return}const y=v.checked;e.controlled("checked")?(v.checked=n(),e.emit("change",y)):(e.emit("update:modelValue",y),e.emit("change",y))},l=p=>{const u=e.props;u.disabled||u.readonly||(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),i())},h=()=>{s=!0,e.requestUpdate()},r=()=>{s=!1,e.requestUpdate()};return{render(){const p=e.props,u=p.fieldId||t,v=n(),y=ge(p,$l);return o.html`
208
208
  <div
209
209
  class=${z("moz-checkbox",{"cursor-pointer":!p.disabled&&!p.readonly,"cursor-not-allowed":p.disabled,disabled:p.disabled,"cursor-default":p.readonly&&!p.disabled})}
210
210
  @click=${a}
@@ -225,12 +225,12 @@
225
225
  @keydown=${l}
226
226
  />
227
227
  <div class=${z("checkbox-visual",{focused:s})}>
228
- ${p.indeterminate?Jt(void 0,!!p.disabled,"checked-icon"):v?Qt(void 0,!!p.disabled,"checked-icon"):Xt(void 0,!!p.disabled,"check-icon")}
228
+ ${p.indeterminate?Qt(void 0,!!p.disabled,"checked-icon"):v?Xt(void 0,!!p.disabled,"checked-icon"):jt(void 0,!!p.disabled,"check-icon")}
229
229
  </div>
230
230
  </div>
231
231
  ${p.label?Be({for:u,disabled:p.disabled},p.label,"moz-checkbox-label"):o.nothing}
232
232
  </div>
233
- `}}}}),kl={name:"MozCheckBox",core:_o,props:["label","fieldId","disabled","readonly","checked","indeterminate","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1},No=["accent","neutral","info","success","warning","danger"],El=new Set(["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","disabledExpr","toneExpr","itemsSource","value","name","direction","variant","size","iconOnly","labelPosition","modelValue","class","style"]),Uo=ve({name:"moz-radio",defaults:{label:"",text:"",disabled:!1,required:!1,displayExpr:"label",valueExpr:"value",tooltipExpr:"tooltip",disabledExpr:"disabled",toneExpr:"tone",itemsSource:[],direction:"horizontal",variant:"boxed",size:"md",iconOnly:!1,labelPosition:"top"},setup(e){const t=Xe("radio_"),s=l=>l.key===" "||l.key==="Enter"||l.key==="Spacebar"||l.key==="Space"||l.code==="Space"||l.code==="Enter"||l.keyCode===32||l.keyCode===13,n=l=>typeof requestAnimationFrame=="function"?requestAnimationFrame(l):setTimeout(l,16),i=l=>{const h=l[e.props.toneExpr??"tone"];return typeof h=="string"&&No.includes(h)?h:void 0},a=l=>{const h=e.props;return!!h.disabled||l[h.disabledExpr??"disabled"]===!0},m=(l,h)=>{const r=e.props,p=r.itemsSource??[];return z("label-container",{boxed:r.variant==="boxed","first-h":r.variant==="boxed"&&r.direction==="horizontal"&&l===0,"last-h":r.variant==="boxed"&&r.direction==="horizontal"&&l===p.length-1,"first-v":r.variant==="boxed"&&r.direction==="vertical"&&l===0,"last-v":r.variant==="boxed"&&r.direction==="vertical"&&l===p.length-1,disabled:h})},d=l=>{const h=e.props;return h.variant!=="boxed"||l===0?{}:h.direction==="horizontal"?{marginInlineStart:"-1px"}:{marginBlockStart:"-1px"}};return{render(){const l=e.props,h=l.itemsSource??[],r=l.valueExpr??"value",p=l.displayExpr??"label",u=!!l.disabled,v=l.modelValue,y=l.value!==void 0&&h.length===0,R=!y&&l.variant==="segment",$=ge(l,El),b=()=>o.html`
233
+ `}}}}),Sl={name:"MozCheckBox",core:Ho,props:["label","fieldId","disabled","readonly","checked","indeterminate","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1},_o=["accent","neutral","info","success","warning","danger"],kl=new Set(["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","disabledExpr","toneExpr","itemsSource","value","name","direction","variant","size","iconOnly","labelPosition","modelValue","class","style"]),No=ve({name:"moz-radio",defaults:{label:"",text:"",disabled:!1,required:!1,displayExpr:"label",valueExpr:"value",tooltipExpr:"tooltip",disabledExpr:"disabled",toneExpr:"tone",itemsSource:[],direction:"horizontal",variant:"boxed",size:"md",iconOnly:!1,labelPosition:"top"},setup(e){const t=Xe("radio_"),s=l=>l.key===" "||l.key==="Enter"||l.key==="Spacebar"||l.key==="Space"||l.code==="Space"||l.code==="Enter"||l.keyCode===32||l.keyCode===13,n=l=>typeof requestAnimationFrame=="function"?requestAnimationFrame(l):setTimeout(l,16),i=l=>{const h=l[e.props.toneExpr??"tone"];return typeof h=="string"&&_o.includes(h)?h:void 0},a=l=>{const h=e.props;return!!h.disabled||l[h.disabledExpr??"disabled"]===!0},m=(l,h)=>{const r=e.props,p=r.itemsSource??[];return z("label-container",{boxed:r.variant==="boxed","first-h":r.variant==="boxed"&&r.direction==="horizontal"&&l===0,"last-h":r.variant==="boxed"&&r.direction==="horizontal"&&l===p.length-1,"first-v":r.variant==="boxed"&&r.direction==="vertical"&&l===0,"last-v":r.variant==="boxed"&&r.direction==="vertical"&&l===p.length-1,disabled:h})},d=l=>{const h=e.props;return h.variant!=="boxed"||l===0?{}:h.direction==="horizontal"?{marginInlineStart:"-1px"}:{marginBlockStart:"-1px"}};return{render(){const l=e.props,h=l.itemsSource??[],r=l.valueExpr??"value",p=l.displayExpr??"label",u=!!l.disabled,v=l.modelValue,y=l.value!==void 0&&h.length===0,R=!y&&l.variant==="segment",$=ge(l,kl),b=()=>o.html`
234
234
  <div class="radio-container">
235
235
  <div class="radio">
236
236
  <label for=${t} class=${z("label-container",{disabled:u})}>
@@ -253,13 +253,13 @@
253
253
  </label>
254
254
  </div>
255
255
  </div>
256
- `,V=()=>{const W=M=>String(v)===String(M[r]??""),te=h.length,ne=h.findIndex(W),ee=(M,U)=>{for(let S=1;S<=te;S+=1){const x=(M+U*S+te*te)%te;if(!a(h[x]))return x}return-1},K=M=>{for(let U=0;U<te;U+=1){const S=M===1?U:te-1-U;if(!a(h[S]))return S}return-1},D=ne>=0&&!a(h[ne])?ne:K(1),G=M=>Array.from(M.querySelectorAll('[role="radio"]')),se=(M,U)=>{if(U<0)return;M.preventDefault(),M.stopPropagation();const S=M.currentTarget,x=G(S)[U];x==null||x.focus(),e.emit("update:modelValue",h[U][r]??"");let A=0;const F=()=>{const f=G(S)[U];if(f&&f.getAttribute("aria-checked")==="true"){document.activeElement!==f&&f.focus();return}++A<20&&n(F)};n(F)},ie=M=>{var F,f;if(u||te===0)return;const U=M.currentTarget,S=(f=(F=M.target)==null?void 0:F.closest)==null?void 0:f.call(F,'[role="radio"]'),x=S?G(U).indexOf(S):-1,A=x>=0?x:ne>=0?ne:0;switch(M.key){case"ArrowRight":case"ArrowDown":se(M,ee(A,1));break;case"ArrowLeft":case"ArrowUp":se(M,ee(A,-1));break;case"Home":se(M,K(1));break;case"End":se(M,K(-1));break}},Q=!!l.iconOnly,_=e.slots.has("item-icon"),E=!Q&&e.slots.has("item-badge");return o.html`
256
+ `,V=()=>{const W=M=>String(v)===String(M[r]??""),te=h.length,ne=h.findIndex(W),ee=(M,U)=>{for(let S=1;S<=te;S+=1){const L=(M+U*S+te*te)%te;if(!a(h[L]))return L}return-1},K=M=>{for(let U=0;U<te;U+=1){const S=M===1?U:te-1-U;if(!a(h[S]))return S}return-1},D=ne>=0&&!a(h[ne])?ne:K(1),G=M=>Array.from(M.querySelectorAll('[role="radio"]')),se=(M,U)=>{if(U<0)return;M.preventDefault(),M.stopPropagation();const S=M.currentTarget,L=G(S)[U];L==null||L.focus(),e.emit("update:modelValue",h[U][r]??"");let A=0;const F=()=>{const f=G(S)[U];if(f&&f.getAttribute("aria-checked")==="true"){document.activeElement!==f&&f.focus();return}++A<20&&n(F)};n(F)},ie=M=>{var F,f;if(u||te===0)return;const U=M.currentTarget,S=(f=(F=M.target)==null?void 0:F.closest)==null?void 0:f.call(F,'[role="radio"]'),L=S?G(U).indexOf(S):-1,A=L>=0?L:ne>=0?ne:0;switch(M.key){case"ArrowRight":case"ArrowDown":se(M,ee(A,1));break;case"ArrowLeft":case"ArrowUp":se(M,ee(A,-1));break;case"Home":se(M,K(1));break;case"End":se(M,K(-1));break}},Q=!!l.iconOnly,_=e.slots.has("item-icon"),E=!Q&&e.slots.has("item-badge");return o.html`
257
257
  <div
258
258
  class=${z("radio-container",{segment:!0,"disabled-container":u,"size-sm":l.size==="sm","size-md":l.size!=="sm","icon-only":Q})}
259
259
  @keydown=${ie}
260
260
  @click=${M=>M.stopPropagation()}
261
261
  >
262
- ${h.map((M,U)=>{const S=W(M),x=a(M),A=String(M[p]??""),F=A||String(M[r]??""),f={item:M,index:U,active:S,disabled:x};return o.html`
262
+ ${h.map((M,U)=>{const S=W(M),L=a(M),A=String(M[p]??""),F=A||String(M[r]??""),f={item:M,index:U,active:S,disabled:L};return o.html`
263
263
  <button
264
264
  type="button"
265
265
  role="radio"
@@ -268,9 +268,9 @@
268
268
  data-value=${String(M[r]??"")}
269
269
  data-tone=${i(M)??o.nothing}
270
270
  tabindex=${U===D?"0":"-1"}
271
- ?disabled=${x}
272
- class=${z("segment-button",{"is-active":S,disabled:x})}
273
- @click=${()=>{x||e.emit("update:modelValue",M[r]??"")}}
271
+ ?disabled=${L}
272
+ class=${z("segment-button",{"is-active":S,disabled:L})}
273
+ @click=${()=>{L||e.emit("update:modelValue",M[r]??"")}}
274
274
  >
275
275
  ${_?o.html`<span class="segment-icon">${e.slot("item-icon",f)}</span>`:o.nothing}
276
276
  ${Q?o.nothing:A}
@@ -320,14 +320,14 @@
320
320
  ${l.label?Be({disabled:u,required:l.required},l.label):o.nothing}
321
321
  ${y?b():R?V():k()}
322
322
  </div>
323
- `}}}}),Pl={name:"MozRadio",core:Uo,props:["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","disabledExpr","toneExpr","itemsSource","value","name","direction","variant","size","iconOnly","labelPosition","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function eo(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
323
+ `}}}}),El={name:"MozRadio",core:No,props:["label","text","disabled","required","displayExpr","valueExpr","tooltipExpr","disabledExpr","toneExpr","itemsSource","value","name","direction","variant","size","iconOnly","labelPosition","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function Jt(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
324
324
  <g>
325
325
  <path
326
326
  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"
327
327
  fill=${e}
328
328
  ></path>
329
329
  </g>
330
- </svg>`}const Ll=new Set(["label","value","name","type","placeholder","required","disabled","isReadOnly","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),Wo=ve({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 s=!1;const n=()=>{const r=e.props,p=[];return r.required&&p.push({message:r.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",r.label||r.name||""),type:"save",validator:u=>!!u}),[...p,...r.rules??[]]},i=async(r,p)=>{const u=e.props,v=n();if(v.length<=0||u.disabled||u.isReadOnly)return!0;t[p]="";const y=v.filter(R=>R.type===p);for(const R of y)if(!await R.validator(r))return t[p]=R.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},a=r=>{const p=r.target.value;t.save="",t.blur="",e.emit("update:modelValue",p),i(p,"change")},m=()=>{t.save="",s=!0,e.requestUpdate()},d=r=>{const p=r.target.value;i(p,"blur"),s=!1,e.requestUpdate()},l=r=>{r.key==="Enter"&&e.emit("enter",r)},h={validate:(r="save")=>i(String(e.props.modelValue??""),r),initValidator:()=>{t.change="",t.blur="",t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(h),e.onCleanup(()=>{var r;return(r=e.validator)==null?void 0:r.removeValidator(h)})),{onMounted:r=>{e.emit("mounted",(r==null?void 0:r.querySelector("input"))??null)},render(){const r=e.props,p=String(r.modelValue??""),u=t.save||t.blur||t.change,v=!!r.useInvalidV2,y=r.width?typeof r.width=="number"?`${r.width}px`:r.width:"100%",R=ge(r,Ll);return o.html`
330
+ </svg>`}const Pl=new Set(["label","value","name","type","placeholder","required","disabled","isReadOnly","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),Uo=ve({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 s=!1;const n=()=>{const r=e.props,p=[];return r.required&&p.push({message:r.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",r.label||r.name||""),type:"save",validator:u=>!!u}),[...p,...r.rules??[]]},i=async(r,p)=>{const u=e.props,v=n();if(v.length<=0||u.disabled||u.isReadOnly)return!0;t[p]="";const y=v.filter(R=>R.type===p);for(const R of y)if(!await R.validator(r))return t[p]=R.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},a=r=>{const p=r.target.value;t.save="",t.blur="",e.emit("update:modelValue",p),i(p,"change")},m=()=>{t.save="",s=!0,e.requestUpdate()},d=r=>{const p=r.target.value;i(p,"blur"),s=!1,e.requestUpdate()},l=r=>{r.key==="Enter"&&e.emit("enter",r)},h={validate:(r="save")=>i(String(e.props.modelValue??""),r),initValidator:()=>{t.change="",t.blur="",t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(h),e.onCleanup(()=>{var r;return(r=e.validator)==null?void 0:r.removeValidator(h)})),{onMounted:r=>{e.emit("mounted",(r==null?void 0:r.querySelector("input"))??null)},render(){const r=e.props,p=String(r.modelValue??""),u=t.save||t.blur||t.change,v=!!r.useInvalidV2,y=r.width?typeof r.width=="number"?`${r.width}px`:r.width:"100%",R=ge(r,Pl);return o.html`
331
331
  <div
332
332
  class=${z("moz-input-wrapper",{"is-invalid":u!==""},r.class)}
333
333
  style="width:${y}"
@@ -336,12 +336,12 @@
336
336
  ${r.label?Be({isReadOnly:r.isReadOnly,required:r.required},r.label,"input-label"):o.nothing}
337
337
  <input
338
338
  class=${z("moz-input",{disabled:r.disabled,"read-only":r.isReadOnly,"has-inside-message":!v&&r.messagePosition==="inside"&&u!==""&&!s,"has-invalid-icon":v&&u!==""&&!s})}
339
- name=${Le.ifDefined(r.name)}
339
+ name=${xe.ifDefined(r.name)}
340
340
  type=${r.type??"text"}
341
- placeholder=${Le.ifDefined(r.placeholder)}
341
+ placeholder=${xe.ifDefined(r.placeholder)}
342
342
  ?disabled=${!!r.disabled}
343
343
  ?readonly=${!!r.isReadOnly}
344
- .value=${Tt.live(p)}
344
+ .value=${Lt.live(p)}
345
345
  ${ue(R)}
346
346
  @input=${a}
347
347
  @keypress=${l}
@@ -349,14 +349,14 @@
349
349
  @blur=${d}
350
350
  />
351
351
  ${v&&u!==""&&!s?o.html`<div class="moz-input-invalid-icon-v2">
352
- ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:u}):o.html`<div title=${u}>${eo("var(--moz-color-danger)")}</div>`}
352
+ ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:u}):o.html`<div title=${u}>${Jt("var(--moz-color-danger)")}</div>`}
353
353
  </div>`:o.nothing}
354
354
  ${!v&&u!==""&&!s?o.html`<span class=${z("moz-input-invalid-message",`position-${r.messagePosition}`)}
355
355
  >${u}</span
356
356
  >`:o.nothing}
357
357
  </div>
358
358
  </div>
359
- `}}}}),xl={name:"MozInput",core:Wo,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 Ko(){return o.html`<svg data-icon="password-hidden" width="18" height="18" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
359
+ `}}}}),xl={name:"MozInput",core:Uo,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 Wo(){return o.html`<svg data-icon="password-hidden" width="18" height="18" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
360
360
  <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>
361
361
  <path
362
362
  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"
@@ -370,7 +370,7 @@
370
370
  stroke-linecap="round"
371
371
  stroke-linejoin="round"
372
372
  ></path>
373
- </svg>`}function Go(){return o.html`<svg data-icon="password-visible" width="18" height="18" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg">
373
+ </svg>`}function Ko(){return o.html`<svg data-icon="password-visible" width="18" height="18" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg">
374
374
  <path
375
375
  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"
376
376
  stroke="var(--moz-color-text-secondary)"
@@ -383,7 +383,7 @@
383
383
  stroke-linecap="round"
384
384
  stroke-linejoin="round"
385
385
  ></path>
386
- </svg>`}const Tl=new Set(["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),Ml=typeof navigator<"u"&&/Edg/.test(navigator.userAgent)?"edge-password":"",Yo=ve({name:"moz-password-input",defaults:{required:!1,disabled:!1,rules:[],messagePosition:"outside",width:"100%",useInvalidV2:!1},setup(e){const t={change:"",blur:"",save:""};let s=!1,n=!1;const i=()=>{const u=e.props,v=[];return u.required&&v.push({message:u.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",u.label||u.name||""),type:"save",validator:y=>!!y}),[...v,...u.rules??[]]},a=async(u,v)=>{const y=e.props,R=i();if(R.length<=0||y.disabled)return!0;t[v]="";for(const $ of R.filter(b=>b.type===v))if(!await $.validator(u))return t[v]=$.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},m=u=>{const v=u.target.value;t.save="",t.blur="",e.emit("update:modelValue",v),a(v,"change")},d=()=>{t.save="",s=!0,e.requestUpdate()},l=u=>{a(u.target.value,"blur"),s=!1,e.requestUpdate()},h=u=>{u.key==="Enter"&&e.emit("enter",u)},r=()=>{e.props.disabled||(n=!n,e.requestUpdate())},p={validate:(u="save")=>a(String(e.props.modelValue??""),u),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(p),e.onCleanup(()=>{var u;return(u=e.validator)==null?void 0:u.removeValidator(p)})),{onMounted:u=>e.emit("mounted",(u==null?void 0:u.querySelector("input"))??null),render(){const u=e.props;u.disabled&&(n=!1);const v=String(u.modelValue??""),y=t.save||t.blur||t.change,R=!!u.useInvalidV2,$=u.width?typeof u.width=="number"?`${u.width}px`:u.width:"100%",b=ge(u,Tl);return o.html`
386
+ </svg>`}const Ll=new Set(["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue","class","style"]),Tl=typeof navigator<"u"&&/Edg/.test(navigator.userAgent)?"edge-password":"",Go=ve({name:"moz-password-input",defaults:{required:!1,disabled:!1,rules:[],messagePosition:"outside",width:"100%",useInvalidV2:!1},setup(e){const t={change:"",blur:"",save:""};let s=!1,n=!1;const i=()=>{const u=e.props,v=[];return u.required&&v.push({message:u.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",u.label||u.name||""),type:"save",validator:y=>!!y}),[...v,...u.rules??[]]},a=async(u,v)=>{const y=e.props,R=i();if(R.length<=0||y.disabled)return!0;t[v]="";for(const $ of R.filter(b=>b.type===v))if(!await $.validator(u))return t[v]=$.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},m=u=>{const v=u.target.value;t.save="",t.blur="",e.emit("update:modelValue",v),a(v,"change")},d=()=>{t.save="",s=!0,e.requestUpdate()},l=u=>{a(u.target.value,"blur"),s=!1,e.requestUpdate()},h=u=>{u.key==="Enter"&&e.emit("enter",u)},r=()=>{e.props.disabled||(n=!n,e.requestUpdate())},p={validate:(u="save")=>a(String(e.props.modelValue??""),u),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(p),e.onCleanup(()=>{var u;return(u=e.validator)==null?void 0:u.removeValidator(p)})),{onMounted:u=>e.emit("mounted",(u==null?void 0:u.querySelector("input"))??null),render(){const u=e.props;u.disabled&&(n=!1);const v=String(u.modelValue??""),y=t.save||t.blur||t.change,R=!!u.useInvalidV2,$=u.width?typeof u.width=="number"?`${u.width}px`:u.width:"100%",b=ge(u,Ll);return o.html`
387
387
  <div
388
388
  class=${z("moz-password-input-container",{"is-invalid":y!=="",disabled:u.disabled},u.class)}
389
389
  >
@@ -393,12 +393,12 @@
393
393
  <input
394
394
  autocomplete="new-password"
395
395
  style="width:${$}"
396
- class=${z("moz-input",Ml,{disabled:u.disabled,"has-inside-message":!R&&u.messagePosition==="inside"&&y!==""&&!s,"has-invalid-icon":R&&y!==""&&!s})}
397
- name=${Le.ifDefined(u.name)}
396
+ class=${z("moz-input",Tl,{disabled:u.disabled,"has-inside-message":!R&&u.messagePosition==="inside"&&y!==""&&!s,"has-invalid-icon":R&&y!==""&&!s})}
397
+ name=${xe.ifDefined(u.name)}
398
398
  type=${n?"text":"password"}
399
- placeholder=${Le.ifDefined(u.placeholder)}
399
+ placeholder=${xe.ifDefined(u.placeholder)}
400
400
  ?disabled=${!!u.disabled}
401
- .value=${Tt.live(v)}
401
+ .value=${Lt.live(v)}
402
402
  ${ue(b)}
403
403
  @input=${m}
404
404
  @keypress=${h}
@@ -413,10 +413,10 @@
413
413
  ?disabled=${!!u.disabled}
414
414
  @click=${r}
415
415
  >
416
- ${n?Ko():Go()}
416
+ ${n?Wo():Ko()}
417
417
  </button>
418
418
  ${R&&y!==""&&!s?o.html`<div class="moz-input-invalid-icon-v2">
419
- ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:y}):o.html`<div title=${y}>${eo("var(--moz-color-danger)")}</div>`}
419
+ ${e.slots.has("invalidTooltip")?e.slot("invalidTooltip",{message:y}):o.html`<div title=${y}>${Jt("var(--moz-color-danger)")}</div>`}
420
420
  </div>`:o.nothing}
421
421
  ${!R&&y!==""&&!s?o.html`<span class=${z("moz-input-invalid-message",`position-${u.messagePosition}`)}
422
422
  >${y}</span
@@ -424,7 +424,7 @@
424
424
  </div>
425
425
  </div>
426
426
  </div>
427
- `}}}}),zl={name:"MozPasswordInput",core:Yo,props:["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue"],emits:["enter","mounted","update:modelValue"],slots:["invalidTooltip"],expose:!1},Al=new Set(["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue","class","style"]),Zo=ve({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:""},s=()=>{const l=e.props,h=[];return l.required&&h.push({message:l.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",l.label||""),type:"save",validator:r=>!!r}),[...h,...l.rules??[]]},n=async(l,h)=>{const r=e.props,p=s();if(p.length<=0||r.disabled)return!0;t[h]="";for(const u of p.filter(v=>v.type===h))if(!await u.validator(l))return t[h]=u.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},i=l=>{const h=l.target,r=e.props;h.value&&r.maxLength&&h.value.length>r.maxLength&&(h.value=h.value.slice(0,r.maxLength)),e.emit("update:modelValue",h.value),n(h.value,"change")},a=l=>{n(l.target.value,"blur")},m=()=>{t.save="",e.requestUpdate()},d={validate:(l="save")=>n(String(e.props.modelValue??""),l),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(d),e.onCleanup(()=>{var l;return(l=e.validator)==null?void 0:l.removeValidator(d)})),{onMounted:l=>{var h;e.props.immediatelyFocus&&((h=l==null?void 0:l.querySelector("textarea"))==null||h.focus())},render(){const l=e.props,h=String(l.modelValue??""),r=t.save||t.blur||t.change,p=l.width?typeof l.width=="number"?`${xe(l.width)}rem`:l.width:"100%",u=`${xe(l.height??80)}rem`,v=l.resize??"none",y=v==="none"?`height:${u}`:`min-height:${u}`,R=h.length,$=ge(l,Al);return o.html`
427
+ `}}}}),Ml={name:"MozPasswordInput",core:Go,props:["label","value","name","placeholder","required","disabled","rules","width","messagePosition","requiredMessage","useInvalidV2","modelValue"],emits:["enter","mounted","update:modelValue"],slots:["invalidTooltip"],expose:!1},zl=new Set(["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue","class","style"]),Yo=ve({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:""},s=()=>{const l=e.props,h=[];return l.required&&h.push({message:l.requiredMessage??e.locale.Common.requiredMessage.replace("{label}",l.label||""),type:"save",validator:r=>!!r}),[...h,...l.rules??[]]},n=async(l,h)=>{const r=e.props,p=s();if(p.length<=0||r.disabled)return!0;t[h]="";for(const u of p.filter(v=>v.type===h))if(!await u.validator(l))return t[h]=u.message,e.requestUpdate(),!1;return e.requestUpdate(),!0},i=l=>{const h=l.target,r=e.props;h.value&&r.maxLength&&h.value.length>r.maxLength&&(h.value=h.value.slice(0,r.maxLength)),e.emit("update:modelValue",h.value),n(h.value,"change")},a=l=>{n(l.target.value,"blur")},m=()=>{t.save="",e.requestUpdate()},d={validate:(l="save")=>n(String(e.props.modelValue??""),l),initValidator:()=>{t.change=t.blur=t.save="",e.requestUpdate()}};return e.validator&&(e.validator.addValidator(d),e.onCleanup(()=>{var l;return(l=e.validator)==null?void 0:l.removeValidator(d)})),{onMounted:l=>{var h;e.props.immediatelyFocus&&((h=l==null?void 0:l.querySelector("textarea"))==null||h.focus())},render(){const l=e.props,h=String(l.modelValue??""),r=t.save||t.blur||t.change,p=l.width?typeof l.width=="number"?`${Le(l.width)}rem`:l.width:"100%",u=`${Le(l.height??80)}rem`,v=l.resize??"none",y=v==="none"?`height:${u}`:`min-height:${u}`,R=h.length,$=ge(l,zl);return o.html`
428
428
  <div
429
429
  class=${z("moz-textarea-wrapper",{disabled:l.disabled},l.class)}
430
430
  style="width:${p};${y}"
@@ -433,11 +433,11 @@
433
433
  ${l.label?Be({for:l.id,disabled:l.disabled,required:l.required},l.label):o.nothing}
434
434
  <div class=${z("moz-textarea-box",{disabled:l.disabled,invalid:r!==""})}>
435
435
  <textarea
436
- id=${Le.ifDefined(l.id)}
436
+ id=${xe.ifDefined(l.id)}
437
437
  ${ue($)}
438
- .value=${Tt.live(h)}
438
+ .value=${Lt.live(h)}
439
439
  ?disabled=${!!l.disabled}
440
- maxlength=${Le.ifDefined(l.maxLength??void 0)}
440
+ maxlength=${xe.ifDefined(l.maxLength??void 0)}
441
441
  class=${z("moz-textarea",{disabled:l.disabled})}
442
442
  style=${oe.styleMap({resize:v==="none"?void 0:v,height:v==="none"?void 0:"auto"})}
443
443
  @input=${i}
@@ -449,20 +449,20 @@
449
449
  </div>
450
450
  ${r!==""?o.html`<span class="moz-textarea-invalid-message">${r}</span>`:o.nothing}
451
451
  </div>
452
- `}}}}),Dl={name:"MozTextArea",core:Zo,props:["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function Vl(e="var(--moz-color-on-accent)",t=!1){return o.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
452
+ `}}}}),Al={name:"MozTextArea",core:Yo,props:["id","label","width","height","required","disabled","rules","maxLength","resize","immediatelyFocus","requiredMessage","modelValue"],emits:["update:modelValue"],slots:[],expose:!1};function Dl(e="var(--moz-color-on-accent)",t=!1){return o.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
453
453
  <path d="M7 1V13M1 7H13" stroke=${t?"var(--moz-color-text-muted)":e} stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
454
- </svg>`}function Rl(e="var(--moz-color-on-accent)",t=!1){return o.html`<svg width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">
454
+ </svg>`}function Vl(e="var(--moz-color-on-accent)",t=!1){return o.html`<svg width="14" height="2" viewBox="0 0 14 2" fill="none" xmlns="http://www.w3.org/2000/svg">
455
455
  <path d="M1 1H13" stroke=${t?"var(--moz-color-text-muted)":e} stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
456
- </svg>`}function ql(e=!1){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
456
+ </svg>`}function Rl(e=!1){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
457
457
  <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>
458
- </svg>`}function Il(e=!1){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
458
+ </svg>`}function ql(e=!1){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
459
459
  <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>
460
- </svg>`}const Fl=new Set(["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue","class","style"]),jo=ve({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 d=e.props;if(d.disabled||d.modelValue===void 0)return;const l=d.modelValue+d.step;d.max!==void 0&&d.max!==null&&l>d.max||(e.emit("update:modelValue",l),e.emit("change",l))},s=()=>{const d=e.props;if(d.disabled||d.modelValue===void 0)return;const l=d.modelValue-d.step;d.min!==void 0&&d.min!==null&&l<d.min||(e.emit("update:modelValue",l),e.emit("change",l))},n=d=>{const l=e.props;if(l.disabled||l.nullable||d.key!=="Backspace"&&d.key!=="Delete"||l.min===-Number.MAX_VALUE||Number(l.modelValue)!==Number(l.min))return;const h=d.target,r=h.selectionStart??0,p=h.selectionEnd??0,u=h.value,v=r!==p;(v&&r===0&&p===u.length||!v&&u.length===1)&&d.preventDefault()},i=d=>{const l=e.props;if(l.disabled||l.nullable)return;const h=d.target;if(h.value===""){const r=l.min!==-Number.MAX_VALUE?l.min:0;e.emit("update:modelValue",r),h.value=String(r),e.emit("change",r)}},a=d=>{const l=e.props;if(l.disabled)return;const h=d.target;if(!h&&!l.nullable){e.emit("update:modelValue",0),e.emit("change",0);return}if(!h)return;Number(h.value)<l.min&&(h.value=String(l.min)),Number(h.value)>l.max&&(h.value=String(l.max));const r=+h.value.replace(/,/g,"");e.emit("update:modelValue",r),e.emit("change",r)},m=d=>{d.key==="Enter"&&e.emit("enter",d)};return{onMounted:d=>e.emit("mounted",(d==null?void 0:d.querySelector("input"))??null),render(){const d=e.props,l=d.modelValue,h=!!d.disabled,r=d.min,p=d.max,u=typeof d.width=="number"?`${xe(d.width)}rem`:d.width,v=ge(d,Fl),y=$=>z("moz-button","moz-icon-button","moz-icon-accent-button","num-change-btn",$),R=o.html`
460
+ </svg>`}const Il=new Set(["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue","class","style"]),Zo=ve({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 d=e.props;if(d.disabled||d.modelValue===void 0)return;const l=d.modelValue+d.step;d.max!==void 0&&d.max!==null&&l>d.max||(e.emit("update:modelValue",l),e.emit("change",l))},s=()=>{const d=e.props;if(d.disabled||d.modelValue===void 0)return;const l=d.modelValue-d.step;d.min!==void 0&&d.min!==null&&l<d.min||(e.emit("update:modelValue",l),e.emit("change",l))},n=d=>{const l=e.props;if(l.disabled||l.nullable||d.key!=="Backspace"&&d.key!=="Delete"||l.min===-Number.MAX_VALUE||Number(l.modelValue)!==Number(l.min))return;const h=d.target,r=h.selectionStart??0,p=h.selectionEnd??0,u=h.value,v=r!==p;(v&&r===0&&p===u.length||!v&&u.length===1)&&d.preventDefault()},i=d=>{const l=e.props;if(l.disabled||l.nullable)return;const h=d.target;if(h.value===""){const r=l.min!==-Number.MAX_VALUE?l.min:0;e.emit("update:modelValue",r),h.value=String(r),e.emit("change",r)}},a=d=>{const l=e.props;if(l.disabled)return;const h=d.target;if(!h&&!l.nullable){e.emit("update:modelValue",0),e.emit("change",0);return}if(!h)return;Number(h.value)<l.min&&(h.value=String(l.min)),Number(h.value)>l.max&&(h.value=String(l.max));const r=+h.value.replace(/,/g,"");e.emit("update:modelValue",r),e.emit("change",r)},m=d=>{d.key==="Enter"&&e.emit("enter",d)};return{onMounted:d=>e.emit("mounted",(d==null?void 0:d.querySelector("input"))??null),render(){const d=e.props,l=d.modelValue,h=!!d.disabled,r=d.min,p=d.max,u=typeof d.width=="number"?`${Le(d.width)}rem`:d.width,v=ge(d,Il),y=$=>z("moz-button","moz-icon-button","moz-icon-accent-button","num-change-btn",$),R=o.html`
461
461
  <div class=${z("moz-number-input",{"input-border":d.shortMode})}>
462
462
  <input
463
- name=${Le.ifDefined(d.name)}
463
+ name=${xe.ifDefined(d.name)}
464
464
  ?disabled=${h}
465
- .value=${Tt.live(String(l??""))}
465
+ .value=${Lt.live(String(l??""))}
466
466
  ${ue(v)}
467
467
  @input=${a}
468
468
  @change=${a}
@@ -473,8 +473,8 @@
473
473
  />
474
474
  <div class="moz-number-input-btn">
475
475
  ${d.shortMode?o.html`
476
- <button type="button" aria-label=${e.locale.NumberInput.increase} class="moz-number-input-btn-icon" @click=${t}>${ql(h)}</button>
477
- <button type="button" aria-label=${e.locale.NumberInput.decrease} class="moz-number-input-btn-icon" @click=${s}>${Il(h)}</button>
476
+ <button type="button" aria-label=${e.locale.NumberInput.increase} class="moz-number-input-btn-icon" @click=${t}>${Rl(h)}</button>
477
+ <button type="button" aria-label=${e.locale.NumberInput.decrease} class="moz-number-input-btn-icon" @click=${s}>${ql(h)}</button>
478
478
  `:o.nothing}
479
479
  </div>
480
480
  </div>
@@ -490,7 +490,7 @@
490
490
  ?disabled=${h}
491
491
  @click=${s}
492
492
  >
493
- ${Rl("var(--moz-color-on-accent)",h||r>=l)}
493
+ ${Vl("var(--moz-color-on-accent)",h||r>=l)}
494
494
  </button>`}
495
495
  ${R}
496
496
  ${d.shortMode?o.nothing:o.html`<button
@@ -501,13 +501,13 @@
501
501
  ?disabled=${h}
502
502
  @click=${t}
503
503
  >
504
- ${Vl("var(--moz-color-on-accent)",h||p<=l)}
504
+ ${Dl("var(--moz-color-on-accent)",h||p<=l)}
505
505
  </button>`}
506
506
  </div>
507
507
  </div>
508
- `}}}}),Bl={name:"MozNumberInput",core:jo,props:["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue"],emits:["change","mounted","enter","update:modelValue"],slots:[],expose:!1};function Xo(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
508
+ `}}}}),Fl={name:"MozNumberInput",core:Zo,props:["label","name","width","required","step","min","max","disabled","shortMode","nullable","modelValue"],emits:["change","mounted","enter","update:modelValue"],slots:[],expose:!1};function jo(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
509
509
  <path d="M9 3L3 9M3 3L9 9" stroke=${e} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
510
- </svg>`}const Ol=new Set(["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue","class","style"]),Qo=ve({name:"moz-tab",defaults:{vertical:!1,tabWidth:100,closeAble:!1,itemSource:[]},setup(e){const t=Xe("tab_"),s=l=>`${t}-tab-${l}`,n=l=>`${t}-panel-${l}`,i=l=>typeof requestAnimationFrame=="function"?requestAnimationFrame(l):setTimeout(l,16),a=l=>{e.props.modelValue!==l&&(e.emit("update:modelValue",l),e.emit("change",l))},m=(l,h)=>{const r=e.props,p=(r.itemSource??[]).map(k=>k.id);if(p.length===0)return;const u=r.vertical?"ArrowDown":"ArrowRight",v=r.vertical?"ArrowUp":"ArrowLeft";let y;if(l.key===u?y=p[(p.indexOf(h)+1)%p.length]:l.key===v?y=p[(p.indexOf(h)-1+p.length)%p.length]:l.key==="Home"?y=p[0]:l.key==="End"?y=p[p.length-1]:(l.key==="Enter"||l.key===" ")&&(y=h),y===void 0)return;l.preventDefault(),l.stopPropagation(),a(y);const R=l.currentTarget.closest('[role="tablist"]'),$=s(y);let b=0;const V=()=>{const k=Array.from((R==null?void 0:R.querySelectorAll('[role="tab"]'))??[]).find(T=>T.id===$);if(k&&k.getAttribute("aria-selected")==="true"){k.focus();return}++b<20&&i(V)};i(V)},d=l=>{const h=e.props;if(h.modelValue===l){const r=(h.itemSource??[]).filter(p=>p.id!==l);r.length>0&&a(r[r.length-1].id)}e.emit("close",l)};return{onMounted:()=>{const l=e.props;!l.modelValue&&(l.itemSource??[]).length>0&&queueMicrotask(()=>{!e.props.modelValue&&(e.props.itemSource??[]).length>0&&a(e.props.itemSource[0].id)})},render(){const l=e.props,h=l.itemSource??[],r=l.modelValue,p=ge(l,Ol),u=oe.styleMap({width:l.closeAble?`${l.tabWidth}px`:"",maxWidth:l.maxTabWidth?`${l.maxTabWidth}px`:void 0,display:"flex",justifyContent:l.closeAble||l.vertical?"space-between":"center",alignItems:l.vertical?"center":"normal"});return o.html`
510
+ </svg>`}const Bl=new Set(["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue","class","style"]),Xo=ve({name:"moz-tab",defaults:{vertical:!1,tabWidth:100,closeAble:!1,itemSource:[]},setup(e){const t=Xe("tab_"),s=l=>`${t}-tab-${l}`,n=l=>`${t}-panel-${l}`,i=l=>typeof requestAnimationFrame=="function"?requestAnimationFrame(l):setTimeout(l,16),a=l=>{e.props.modelValue!==l&&(e.emit("update:modelValue",l),e.emit("change",l))},m=(l,h)=>{const r=e.props,p=(r.itemSource??[]).map(k=>k.id);if(p.length===0)return;const u=r.vertical?"ArrowDown":"ArrowRight",v=r.vertical?"ArrowUp":"ArrowLeft";let y;if(l.key===u?y=p[(p.indexOf(h)+1)%p.length]:l.key===v?y=p[(p.indexOf(h)-1+p.length)%p.length]:l.key==="Home"?y=p[0]:l.key==="End"?y=p[p.length-1]:(l.key==="Enter"||l.key===" ")&&(y=h),y===void 0)return;l.preventDefault(),l.stopPropagation(),a(y);const R=l.currentTarget.closest('[role="tablist"]'),$=s(y);let b=0;const V=()=>{const k=Array.from((R==null?void 0:R.querySelectorAll('[role="tab"]'))??[]).find(T=>T.id===$);if(k&&k.getAttribute("aria-selected")==="true"){k.focus();return}++b<20&&i(V)};i(V)},d=l=>{const h=e.props;if(h.modelValue===l){const r=(h.itemSource??[]).filter(p=>p.id!==l);r.length>0&&a(r[r.length-1].id)}e.emit("close",l)};return{onMounted:()=>{const l=e.props;!l.modelValue&&(l.itemSource??[]).length>0&&queueMicrotask(()=>{!e.props.modelValue&&(e.props.itemSource??[]).length>0&&a(e.props.itemSource[0].id)})},render(){const l=e.props,h=l.itemSource??[],r=l.modelValue,p=ge(l,Bl),u=oe.styleMap({width:l.closeAble?`${l.tabWidth}px`:"",maxWidth:l.maxTabWidth?`${l.maxTabWidth}px`:void 0,display:"flex",justifyContent:l.closeAble||l.vertical?"space-between":"center",alignItems:l.vertical?"center":"normal"});return o.html`
511
511
  <div
512
512
  class=${z("moz-tabs-container",{vertical:l.vertical},l.class)}
513
513
  style=${oe.styleMap($e(l.style))}
@@ -537,7 +537,7 @@
537
537
  aria-label=${e.locale.Tab.closeTab.replace("{label}",v.text??"")}
538
538
  @click=${R=>{R.stopPropagation(),d(v.id)}}
539
539
  >
540
- ${Xo()}
540
+ ${jo()}
541
541
  </button>`:o.nothing}
542
542
  </div>
543
543
  `})}
@@ -557,7 +557,7 @@
557
557
  `)}
558
558
  </div>
559
559
  </div>
560
- `}}}}),Hl={name:"MozTab",core:Qo,props:["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue"],emits:["change","close","update:modelValue"],slots:[],expose:!1},_l=new Set(["id","width","label","min","max","step","disabled","modelValue","class","style"]),Jo=ve({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,s=null,n=null;const i=p=>{const u=e.props;if(!s)return;const v=s.getBoundingClientRect(),R=(p.clientX-v.left)/s.offsetWidth;let $=Math.round(u.min+(u.max-u.min)*R);$<u.min?$=u.min:$>u.max&&($=u.max);const b=Math.round($/u.step)*u.step;e.emit("update:modelValue",b),e.emit("change")},a=()=>{window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a),n==null||n.focus()},m=p=>{e.props.disabled||(p.preventDefault(),n=p.currentTarget,s=n.querySelector(".moz-slider"),i(p),window.addEventListener("mousemove",i),window.addEventListener("mouseup",a))},d=p=>{const u=e.props;let v=u.modelValue??0;p==="-"?v-=u.step:v+=u.step,v>u.max?v=u.max:v<u.min&&(v=u.min),e.emit("update:modelValue",v),e.emit("change")},l=p=>{p.key==="ArrowLeft"||p.keyCode===37?d("-"):(p.key==="ArrowRight"||p.keyCode===39)&&d("+")},h=()=>{t=!0,e.requestUpdate()},r=()=>{t=!1,e.requestUpdate()};return e.onCleanup(()=>{window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a)}),{render(){const p=e.props,u=p.modelValue??0,v=!!p.disabled,y=p.min,R=p.max,$=typeof p.width=="number"?`${xe(p.width)}rem`:p.width,b=typeof p.width=="number"?p.width:Number.isNaN(parseFloat(String(p.width)))?150:parseFloat(String(p.width)),k=(u-y)/(R-y)*(b-18),T=k<0?0:k,X=ge(p,_l);return o.html`
560
+ `}}}}),Ol={name:"MozTab",core:Xo,props:["itemSource","vertical","tabWidth","maxTabWidth","closeAble","modelValue"],emits:["change","close","update:modelValue"],slots:[],expose:!1},Hl=new Set(["id","width","label","min","max","step","disabled","modelValue","class","style"]),Qo=ve({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,s=null,n=null;const i=p=>{const u=e.props;if(!s)return;const v=s.getBoundingClientRect(),R=(p.clientX-v.left)/s.offsetWidth;let $=Math.round(u.min+(u.max-u.min)*R);$<u.min?$=u.min:$>u.max&&($=u.max);const b=Math.round($/u.step)*u.step;e.emit("update:modelValue",b),e.emit("change")},a=()=>{window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a),n==null||n.focus()},m=p=>{e.props.disabled||(p.preventDefault(),n=p.currentTarget,s=n.querySelector(".moz-slider"),i(p),window.addEventListener("mousemove",i),window.addEventListener("mouseup",a))},d=p=>{const u=e.props;let v=u.modelValue??0;p==="-"?v-=u.step:v+=u.step,v>u.max?v=u.max:v<u.min&&(v=u.min),e.emit("update:modelValue",v),e.emit("change")},l=p=>{p.key==="ArrowLeft"||p.keyCode===37?d("-"):(p.key==="ArrowRight"||p.keyCode===39)&&d("+")},h=()=>{t=!0,e.requestUpdate()},r=()=>{t=!1,e.requestUpdate()};return e.onCleanup(()=>{window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a)}),{render(){const p=e.props,u=p.modelValue??0,v=!!p.disabled,y=p.min,R=p.max,$=typeof p.width=="number"?`${Le(p.width)}rem`:p.width,b=typeof p.width=="number"?p.width:Number.isNaN(parseFloat(String(p.width)))?150:parseFloat(String(p.width)),k=(u-y)/(R-y)*(b-18),T=k<0?0:k,X=ge(p,Hl);return o.html`
561
561
  <div class=${z("moz-slider-wrapper",p.class)} style=${oe.styleMap($e(p.style))} ${ue(X)}>
562
562
  ${p.label?Be({for:p.id},p.label):o.nothing}
563
563
  <div
@@ -568,7 +568,7 @@
568
568
  aria-valuemax=${String(p.max??100)}
569
569
  aria-orientation="horizontal"
570
570
  aria-disabled=${v?"true":"false"}
571
- aria-label=${Le.ifDefined(p.label)}
571
+ aria-label=${xe.ifDefined(p.label)}
572
572
  tabindex=${v?"-1":"0"}
573
573
  @mousedown=${m}
574
574
  @focus=${h}
@@ -576,31 +576,31 @@
576
576
  @keydown=${l}
577
577
  >
578
578
  <div class="moz-slider" style="width:${$}">
579
- <div class="moz-slider-track" style="width:${xe(T+10)}rem"></div>
579
+ <div class="moz-slider-track" style="width:${Le(T+10)}rem"></div>
580
580
  </div>
581
581
  <div
582
582
  class=${z("moz-slider-handle",{focused:t&&!v})}
583
- style="left:${xe(T)}rem"
583
+ style="left:${Le(T)}rem"
584
584
  ></div>
585
585
  </div>
586
586
  </div>
587
- `}}}}),Nl={name:"MozSlider",core:Jo,props:["id","width","label","min","max","step","disabled","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1};function Ul(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
587
+ `}}}}),_l={name:"MozSlider",core:Qo,props:["id","width","label","min","max","step","disabled","modelValue"],emits:["change","update:modelValue"],slots:[],expose:!1};function Nl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
588
588
  <path d="M3 4.5L6 7.5L9 4.5" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
589
- </svg>`}function Wl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
589
+ </svg>`}function Ul(e="var(--moz-color-text-subtle)"){return o.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
590
590
  <path
591
591
  fill-rule="evenodd"
592
592
  clip-rule="evenodd"
593
593
  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"
594
594
  fill=${e}
595
595
  ></path>
596
- </svg>`}function Kl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
596
+ </svg>`}function Wl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
597
597
  <path
598
598
  fill-rule="evenodd"
599
599
  clip-rule="evenodd"
600
600
  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"
601
601
  fill=${e}
602
602
  ></path>
603
- </svg>`}function Gl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
603
+ </svg>`}function Kl(e="var(--moz-color-text-subtle)"){return o.html`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
604
604
  <path
605
605
  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"
606
606
  stroke=${e}
@@ -613,14 +613,14 @@
613
613
  fill=${e}
614
614
  ></path>
615
615
  <rect x="3.34009" y="7.41504" width="2.93262" height="2.93262" rx="0.5" fill=${e}></rect>
616
- </svg>`}const Yl=new Set(["rowHeight","exceptWeeks","min","max","modelValue","class","style"]),Zl=(e,...t)=>e.filter(s=>!t.includes(s)),to=ve({name:"moz-calendar",defaults:{rowHeight:36,exceptWeeks:[],min:null,max:null},setup(e){let t=e.props.modelValue?Pe(e.props.modelValue):Pe(),s=e.props.modelValue,n=!0,i=!1,a=!1,m=-1;const d=k=>{const T=e.props;return!!T.min&&k.isBefore(T.min,"day")||!!T.max&&k.isAfter(T.max,"day")},l=k=>{const T=e.props;return!!T.min&&k.endOf("year").isBefore(T.min,"day")||!!T.max&&k.startOf("year").isAfter(T.max,"day")},h=k=>{const T=e.props;return!!T.min&&k.endOf("month").isBefore(T.min,"day")||!!T.max&&k.startOf("month").isAfter(T.max,"day")},r=()=>{t=t.subtract(1,"M"),e.requestUpdate()},p=()=>{t=t.add(1,"M"),e.requestUpdate()},u=()=>{n=!0,i=!1,a=!1,e.requestUpdate()},v=()=>{n=!1,i=!0,a=!1,e.requestUpdate()},y=()=>{n=!1,i=!1,a=!0,e.requestUpdate()},R=k=>{l(k)||(t=t.set("year",k.year()),n=!0,i=!1,a=!1,e.requestUpdate())},$=k=>{h(k)||(t=t.set("month",k.month()),n=!0,i=!1,a=!1,e.requestUpdate())},b=k=>{d(k)||e.emit("update:modelValue",Pe(k))},V=()=>b(Pe());return{render(){const k=e.props;k.modelValue!==s&&(s=k.modelValue,t=k.modelValue?Pe(k.modelValue):Pe());const T=k.rowHeight??36,X=["ko","zh","zh-cn"].includes(Pe().locale()),W=t.hour(),te=t.minute(),ne=t.second(),ee=x=>x.set("hour",W||0).set("minute",te||0).set("second",ne||0),K=Zl([0,1,2,3,4,5,6],...k.exceptWeeks??[]),D=[];{const x=ee(t.endOf("M"));let A=ee(t.startOf("M")).startOf("w");do D.push(A),A=A.add(7,"d");while(A.diff(x)<=0)}const G=T*D.length+126;G!==m&&(m=G,queueMicrotask(()=>e.emit("setMaxHeight",G)));const se=(x,A)=>{const F=x.add(A,"d");return t.format("YYYYMMDD")!==F.format("YYYYMMDD")?t.format("MM")===F.format("MM")?"":"moz-calendar-column-otherMonth":""},ie=k.modelValue?Pe(k.modelValue).format("YYYYMMDD"):"",Q=(x,A,F)=>o.html`<button
616
+ </svg>`}const Gl=new Set(["rowHeight","exceptWeeks","min","max","modelValue","class","style"]),Yl=(e,...t)=>e.filter(s=>!t.includes(s)),eo=ve({name:"moz-calendar",defaults:{rowHeight:36,exceptWeeks:[],min:null,max:null},setup(e){let t=e.props.modelValue?Pe(e.props.modelValue):Pe(),s=e.props.modelValue,n=!0,i=!1,a=!1,m=-1;const d=k=>{const T=e.props;return!!T.min&&k.isBefore(T.min,"day")||!!T.max&&k.isAfter(T.max,"day")},l=k=>{const T=e.props;return!!T.min&&k.endOf("year").isBefore(T.min,"day")||!!T.max&&k.startOf("year").isAfter(T.max,"day")},h=k=>{const T=e.props;return!!T.min&&k.endOf("month").isBefore(T.min,"day")||!!T.max&&k.startOf("month").isAfter(T.max,"day")},r=()=>{t=t.subtract(1,"M"),e.requestUpdate()},p=()=>{t=t.add(1,"M"),e.requestUpdate()},u=()=>{n=!0,i=!1,a=!1,e.requestUpdate()},v=()=>{n=!1,i=!0,a=!1,e.requestUpdate()},y=()=>{n=!1,i=!1,a=!0,e.requestUpdate()},R=k=>{l(k)||(t=t.set("year",k.year()),n=!0,i=!1,a=!1,e.requestUpdate())},$=k=>{h(k)||(t=t.set("month",k.month()),n=!0,i=!1,a=!1,e.requestUpdate())},b=k=>{d(k)||e.emit("update:modelValue",Pe(k))},V=()=>b(Pe());return{render(){const k=e.props;k.modelValue!==s&&(s=k.modelValue,t=k.modelValue?Pe(k.modelValue):Pe());const T=k.rowHeight??36,X=["ko","zh","zh-cn"].includes(Pe().locale()),W=t.hour(),te=t.minute(),ne=t.second(),ee=L=>L.set("hour",W||0).set("minute",te||0).set("second",ne||0),K=Yl([0,1,2,3,4,5,6],...k.exceptWeeks??[]),D=[];{const L=ee(t.endOf("M"));let A=ee(t.startOf("M")).startOf("w");do D.push(A),A=A.add(7,"d");while(A.diff(L)<=0)}const G=T*D.length+126;G!==m&&(m=G,queueMicrotask(()=>e.emit("setMaxHeight",G)));const se=(L,A)=>{const F=L.add(A,"d");return t.format("YYYYMMDD")!==F.format("YYYYMMDD")?t.format("MM")===F.format("MM")?"":"moz-calendar-column-otherMonth":""},ie=k.modelValue?Pe(k.modelValue).format("YYYYMMDD"):"",Q=(L,A,F)=>o.html`<button
617
617
  type="button"
618
618
  aria-label=${F}
619
619
  class="moz-button moz-icon-button"
620
620
  style="width:24px;height:24px;min-width:24px;min-height:24px"
621
621
  @click=${A}
622
622
  >
623
- ${x}
623
+ ${L}
624
624
  </button>`,_=o.html`
625
625
  <div class="moz-calendar-header">
626
626
  <div class="moz-calendar-select">
@@ -633,59 +633,59 @@
633
633
  <div class="moz-calendar-select__text" @click=${y}>${t.format("MMMM")}</div>
634
634
  <div class="moz-calendar-select__text" @click=${v}>${t.format("YYYY")}</div>
635
635
  `}
636
- <div class="moz-calendar-select-btn" @click=${u}>${Ul("currentColor")}</div>
636
+ <div class="moz-calendar-select-btn" @click=${u}>${Nl("currentColor")}</div>
637
637
  </div>
638
638
  <div class="moz-calendar-header__spacer"></div>
639
639
  <div class="moz-calendar-select-btn-group">
640
- ${Q(Wl(),r,"이전 달")}${Q(Gl(),V,"오늘")}${Q(Kl(),p,"다음 달")}
640
+ ${Q(Ul(),r,"이전 달")}${Q(Kl(),V,"오늘")}${Q(Wl(),p,"다음 달")}
641
641
  </div>
642
642
  </div>
643
643
  `,E=o.html`
644
644
  <div class="moz-calendar-row">
645
- ${K.map(x=>o.html`<div
645
+ ${K.map(L=>o.html`<div
646
646
  class="moz-calendar-column moz-calendar-column-day"
647
- style="width: ${100/K.length}%; height: ${xe(T)}rem;"
647
+ style="width: ${100/K.length}%; height: ${Le(T)}rem;"
648
648
  >
649
- ${Pe().day(x).format("ddd")}
649
+ ${Pe().day(L).format("ddd")}
650
650
  </div>`)}
651
651
  </div>
652
- ${D.map(x=>o.html`<div class="moz-calendar-row">
653
- ${K.map(A=>{const F=x.add(A,"d");return o.html`<div
654
- class=${z("moz-calendar-column",se(x,A),ie===F.format("YYYYMMDD")?"moz-calendar-selected":"",d(F)?"date-disable":"moz-calendar-column--hoverable")}
655
- style="width: ${100/K.length}%; height: ${xe(T)}rem"
652
+ ${D.map(L=>o.html`<div class="moz-calendar-row">
653
+ ${K.map(A=>{const F=L.add(A,"d");return o.html`<div
654
+ class=${z("moz-calendar-column",se(L,A),ie===F.format("YYYYMMDD")?"moz-calendar-selected":"",d(F)?"date-disable":"moz-calendar-column--hoverable")}
655
+ style="width: ${100/K.length}%; height: ${Le(T)}rem"
656
656
  @click=${()=>b(F)}
657
657
  >
658
658
  ${F.format("DD")}
659
659
  </div>`})}
660
660
  </div>`)}
661
- `;let M=o.nothing;if(i){const x=[],A=Pe().add(100,"y").startOf("y");let F=Pe().subtract(100,"y").startOf("y");do x.push(F),F=F.add(1,"y");while(F.diff(A)<=0);M=o.html`<div
661
+ `;let M=o.nothing;if(i){const L=[],A=Pe().add(100,"y").startOf("y");let F=Pe().subtract(100,"y").startOf("y");do L.push(F),F=F.add(1,"y");while(F.diff(A)<=0);M=o.html`<div
662
662
  class="moz-calendar-row moz-calendar-row--wrap"
663
- style="max-height: ${xe(T*D.length)}rem"
663
+ style="max-height: ${Le(T*D.length)}rem"
664
664
  >
665
- ${x.map(f=>o.html`<div
665
+ ${L.map(f=>o.html`<div
666
666
  class=${z("moz-calendar-column",t.format("YYYY")===f.format("YYYY")?"moz-calendar-selected":"",l(f)?"date-disable":"moz-calendar-column--hoverable")}
667
- style="width: ${100/3}%; height: ${xe(T)}rem"
667
+ style="width: ${100/3}%; height: ${Le(T)}rem"
668
668
  @click=${()=>R(f)}
669
669
  >
670
670
  ${f.format("YYYY")}
671
671
  </div>`)}
672
- </div>`}let U=o.nothing;if(a){const x=[],A=t.endOf("y");let F=t.startOf("y");do x.push(F),F=F.add(1,"M");while(F.diff(A)<=0);U=o.html`<div class="moz-calendar-row moz-calendar-row--wrap">
673
- ${x.map(f=>o.html`<div
672
+ </div>`}let U=o.nothing;if(a){const L=[],A=t.endOf("y");let F=t.startOf("y");do L.push(F),F=F.add(1,"M");while(F.diff(A)<=0);U=o.html`<div class="moz-calendar-row moz-calendar-row--wrap">
673
+ ${L.map(f=>o.html`<div
674
674
  class=${z("moz-calendar-column",t.format("YYYYMM")===f.format("YYYYMM")?"moz-calendar-selected":"",h(f)?"date-disable":"moz-calendar-column--hoverable")}
675
- style="width: ${100/3}%; height: ${xe(T)}rem"
675
+ style="width: ${100/3}%; height: ${Le(T)}rem"
676
676
  @click=${()=>$(f)}
677
677
  >
678
678
  ${f.format("MMM")}
679
679
  </div>`)}
680
- </div>`}const S=ge(k,Yl);return o.html`
680
+ </div>`}const S=ge(k,Gl);return o.html`
681
681
  <div class=${z("moz-calendar-container",k.class)} ${ue(S)}>
682
682
  ${_}${n?E:o.nothing}${M}${U}
683
683
  </div>
684
- `}}}}),jl={name:"MozCalendar",core:to,props:["rowHeight","exceptWeeks","min","max","modelValue"],emits:["changed","setMaxHeight","update:modelValue"],slots:[],expose:!1};function Xl(e="var(--moz-color-on-accent)",t="14",s=!1){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
684
+ `}}}}),Zl={name:"MozCalendar",core:eo,props:["rowHeight","exceptWeeks","min","max","modelValue"],emits:["changed","setMaxHeight","update:modelValue"],slots:[],expose:!1};function jl(e="var(--moz-color-on-accent)",t="14",s=!1){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
685
685
  <path d="M8.5 3.5L5.5 7L8.5 10.5" stroke=${s?"var(--moz-color-text-muted)":e} stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"></path>
686
- </svg>`}function Ql(e="var(--moz-color-on-accent)",t="14",s=!1){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
686
+ </svg>`}function Xl(e="var(--moz-color-on-accent)",t="14",s=!1){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
687
687
  <path d="M5.5 3.5L8.5 7L5.5 10.5" stroke=${s?"var(--moz-color-text-muted)":e} stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"></path>
688
- </svg>`}function Jl(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
688
+ </svg>`}function Ql(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
689
689
  <path
690
690
  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"
691
691
  stroke=${e}
@@ -697,7 +697,7 @@
697
697
  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"
698
698
  fill=${e}
699
699
  ></path>
700
- </svg>`}const en="YYYY-MM-DD",tn=new Set(["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue","class","style"]),es=ve({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,s=270,n=e.props.modelValue,i=null,a=null;const m=new Et,d=$=>{const b=e.props.modelValue;let V;$&&b instanceof Date?V=Pe($).toDate():$&&Pe.isDayjs(b)||!b&&$?V=Pe($):V=void 0,e.emit("update:modelValue",V)},l=(($,...b)=>{$==="update:modelValue"?d(b[0]):$==="setMaxHeight"&&(s=b[0],h.calcPosition())}),h=new pt({anchor:()=>i==null?void 0:i.querySelector(".moz-date-input-wrapper"),panel:()=>m.element,maxHeight:()=>s,ignoreScrollTargets:$=>($&&typeof $.className=="string"?$.className:"").split(" ").includes("moz-calendar-row"),container:()=>i,requestClose:()=>{t&&(t=!1,p(),e.requestUpdate())}}),r=()=>{const $=m.open("calendar-container");a=to($,{modelValue:e.props.modelValue,min:e.props.min,max:e.props.max},l),h.open()},p=()=>{h.close(),a==null||a.destroy(),a=null,m.close(),e.emit("close")},u=()=>{var b;const $=e.props;$.disabled||$.readonly||(t=!t,t?((b=i==null?void 0:i.querySelector("input"))==null||b.focus(),r()):p(),e.requestUpdate())},v=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).subtract(1,"d"))},y=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).add(1,"d"))},R=$=>{const b=$.target,V=e.props.modelValue;V?Pe.isDayjs(V)&&Pe(b.value).isValid()?d(Pe(b.value)):V instanceof Date&&!Number.isNaN(Date.parse(b.value))?d(new Date(b.value)):d(void 0):d(Pe(b.value))};return e.onCleanup(()=>{h.destroy(),a==null||a.destroy(),m.close()}),{onMounted:$=>{i=$},render(){const $=e.props;if($.modelValue!==n){n=$.modelValue;const ne=$.modelValue;queueMicrotask(()=>e.emit("change",ne)),a&&a.update({modelValue:$.modelValue})}const b=$.format||en,V=typeof $.width=="number"?`${xe($.width)}rem`:$.width,k=$.modelValue?Pe($.modelValue).format(b):"",T=!!$.min&&Pe(k).isSameOrBefore(Pe($.min),"day"),X=!!$.max&&Pe(k).isSameOrAfter(Pe($.max),"day"),W=ge($,tn),te=(ne,ee,K,D)=>o.html`<button
700
+ </svg>`}const Jl="YYYY-MM-DD",en=new Set(["label","name","width","required","disabled","readonly","format","showSpin","min","max","modelValue","class","style"]),Jo=ve({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,s=270,n=e.props.modelValue,i=null,a=null;const m=new kt,d=$=>{const b=e.props.modelValue;let V;$&&b instanceof Date?V=Pe($).toDate():$&&Pe.isDayjs(b)||!b&&$?V=Pe($):V=void 0,e.emit("update:modelValue",V)},l=(($,...b)=>{$==="update:modelValue"?d(b[0]):$==="setMaxHeight"&&(s=b[0],h.calcPosition())}),h=new pt({anchor:()=>i==null?void 0:i.querySelector(".moz-date-input-wrapper"),panel:()=>m.element,maxHeight:()=>s,ignoreScrollTargets:$=>($&&typeof $.className=="string"?$.className:"").split(" ").includes("moz-calendar-row"),container:()=>i,requestClose:()=>{t&&(t=!1,p(),e.requestUpdate())}}),r=()=>{const $=m.open("calendar-container");a=eo($,{modelValue:e.props.modelValue,min:e.props.min,max:e.props.max},l),h.open()},p=()=>{h.close(),a==null||a.destroy(),a=null,m.close(),e.emit("close")},u=()=>{var b;const $=e.props;$.disabled||$.readonly||(t=!t,t?((b=i==null?void 0:i.querySelector("input"))==null||b.focus(),r()):p(),e.requestUpdate())},v=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).subtract(1,"d"))},y=()=>{e.props.modelValue&&d(Pe(e.props.modelValue).add(1,"d"))},R=$=>{const b=$.target,V=e.props.modelValue;V?Pe.isDayjs(V)&&Pe(b.value).isValid()?d(Pe(b.value)):V instanceof Date&&!Number.isNaN(Date.parse(b.value))?d(new Date(b.value)):d(void 0):d(Pe(b.value))};return e.onCleanup(()=>{h.destroy(),a==null||a.destroy(),m.close()}),{onMounted:$=>{i=$},render(){const $=e.props;if($.modelValue!==n){n=$.modelValue;const ne=$.modelValue;queueMicrotask(()=>e.emit("change",ne)),a&&a.update({modelValue:$.modelValue})}const b=$.format||Jl,V=typeof $.width=="number"?`${Le($.width)}rem`:$.width,k=$.modelValue?Pe($.modelValue).format(b):"",T=!!$.min&&Pe(k).isSameOrBefore(Pe($.min),"day"),X=!!$.max&&Pe(k).isSameOrAfter(Pe($.max),"day"),W=ge($,en),te=(ne,ee,K,D)=>o.html`<button
701
701
  type="button"
702
702
  aria-label=${ee==="left"?e.locale.DateInput.prevDate:e.locale.DateInput.nextDate}
703
703
  class=${z("moz-button","moz-icon-button","moz-icon-accent-button","moz-icon-text-button","date-move-btn",`date-move-btn--${ee}`,{"date-move-btn--disabled":K})}
@@ -712,14 +712,14 @@
712
712
  >
713
713
  ${$.label?Be({disabled:$.disabled},o.html`${$.label}${$.required?o.html`<span class="require-mark">*</span>`:o.nothing}`):o.nothing}
714
714
  <div class="moz-date-input-wrapper" style="width:${V}">
715
- ${$.showSpin?te(Xl("var(--moz-color-on-accent)","14",$.disabled||T),"left",T,v):o.nothing}
715
+ ${$.showSpin?te(jl("var(--moz-color-on-accent)","14",$.disabled||T),"left",T,v):o.nothing}
716
716
  <div
717
717
  class=${z("moz-date-input",{"moz-date-input--no-lr-border":$.showSpin,"moz-date-input--radius":!$.showSpin,"moz-date-input--disabled":$.disabled})}
718
718
  @click=${u}
719
719
  >
720
720
  <input
721
721
  .value=${k}
722
- name=${Le.ifDefined($.name)}
722
+ name=${xe.ifDefined($.name)}
723
723
  ?disabled=${!!$.disabled}
724
724
  ?readonly=${!!$.readonly}
725
725
  class=${z("moz-date-input__field",{"moz-date-input__field--disabled":$.disabled})}
@@ -727,13 +727,13 @@
727
727
  @change=${R}
728
728
  />
729
729
  ${$.readonly?o.nothing:o.html`<div class="moz-date-input__icon-container">
730
- ${Jl("currentColor",z("moz-date-input__icon",{"moz-date-input__icon--disabled":$.disabled}))}
730
+ ${Ql("currentColor",z("moz-date-input__icon",{"moz-date-input__icon--disabled":$.disabled}))}
731
731
  </div>`}
732
732
  </div>
733
- ${$.showSpin?te(Ql("var(--moz-color-on-accent)","14",$.disabled||X),"right",X,y):o.nothing}
733
+ ${$.showSpin?te(Xl("var(--moz-color-on-accent)","14",$.disabled||X),"right",X,y):o.nothing}
734
734
  </div>
735
735
  </div>
736
- `}}}}),on={name:"MozDateInput",core:es,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 sn(e="10",t="var(--moz-color-text-muted)",s=!1,n=!1,i=""){const a=mt(e),m=i||o.nothing;return a.width<=10?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
736
+ `}}}}),tn={name:"MozDateInput",core:Jo,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 on(e="10",t="var(--moz-color-text-muted)",s=!1,n=!1,i=""){const a=mt(e),m=i||o.nothing;return a.width<=10?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
737
737
  <path d="M8.5 1.5L1.49999 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
738
738
  <path d="M1.5 1.5L8.50001 8.50001" stroke=${t} stroke-width="1.75" stroke-linecap="round"></path>
739
739
  </svg>`:a.width<=13&&a.width>=11&&!n?o.html`<svg class=${m} width=${a.width} height=${a.height} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -759,7 +759,7 @@
759
759
  ></path>
760
760
  </g>
761
761
  </g>
762
- </svg>`}function ln(e="30",t="var(--moz-color-danger)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
762
+ </svg>`}function sn(e="30",t="var(--moz-color-danger)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
763
763
  <mask id="mask0_6027_4458" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
764
764
  <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
765
765
  </mask>
@@ -771,7 +771,7 @@
771
771
  ></path>
772
772
  </g>
773
773
  </g>
774
- </svg>`}function nn(e="30",t="var(--moz-color-accent)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
774
+ </svg>`}function ln(e="30",t="var(--moz-color-accent)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
775
775
  <g>
776
776
  <path
777
777
  fill-rule="evenodd"
@@ -780,7 +780,7 @@
780
780
  fill=${t}
781
781
  ></path>
782
782
  </g>
783
- </svg>`}function rn(e="30",t="var(--moz-color-success)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
783
+ </svg>`}function nn(e="30",t="var(--moz-color-success)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
784
784
  <g>
785
785
  <path
786
786
  fill-rule="evenodd"
@@ -789,7 +789,7 @@
789
789
  fill=${t}
790
790
  ></path>
791
791
  </g>
792
- </svg>`}function an(e="30",t="var(--moz-color-warning)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
792
+ </svg>`}function rn(e="30",t="var(--moz-color-warning)",s=""){const n=mt(e);return o.html`<svg class=${s||o.nothing} width=${n.width} height=${n.height} viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
793
793
  <mask id="mask0_6027_4463" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
794
794
  <g><path d="M30 0H0V30H30V0Z" fill="#FFF"></path></g>
795
795
  </mask>
@@ -801,25 +801,25 @@
801
801
  ></path>
802
802
  </g>
803
803
  </g>
804
- </svg>`}const cn=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,ts="";const dn=()=>{ct===0&&(ts=document.body.style.overflow,document.body.style.overflow="hidden"),ct+=1},un=()=>{ct!==0&&(ct-=1,ct===0&&(document.body.style.overflow=ts))},pn='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',os=ve({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=N.createRef(),s=N.createRef(),n=Xe("moz-popup-title-"),i=Xe("moz-popup-desc-");let a=null,m=e.props.visible??!1,d=e.props.width,l=e.props.height;const h=()=>e.controlled("visible")?!!e.props.visible:m,r=C=>{e.controlled("visible")||(m=C),e.emit("update:visible",C),e.requestUpdate()},p=()=>e.controlled("width")?e.props.width:d,u=C=>{e.controlled("width")||(d=C),e.emit("update:width",C),e.requestUpdate()},v=()=>e.controlled("height")?e.props.height:l,y=C=>{e.controlled("height")||(l=C),e.emit("update:height",C),e.requestUpdate()};let R=0,$=0,b=!1;const V=!0;let k=null;const T={mouseDown:!1,dragging:!1,offset:{x:0,y:0}};let X=h(),W=!1,te=!1,ne=null,ee=[];const K=()=>{const C=t.value;if(C)for(const q of Array.from(document.body.children))q instanceof HTMLElement&&(q.contains(C)||q.getAttribute("aria-hidden")!=="true"&&(q.setAttribute("aria-hidden","true"),ee.push(q)))},D=()=>{for(const C of ee)C.removeAttribute("aria-hidden");ee=[]},G=()=>{const C=t.value;return C?Array.from(C.querySelectorAll(pn)).filter(q=>q.getAttribute("aria-hidden")!=="true"):[]},se=()=>{const C=document.querySelectorAll(".moz-popup");return C.length>0&&C[C.length-1]===t.value},ie=()=>{a||(a=Ut(()=>A()))},Q=()=>{a==null||a.release(),a=null},_=()=>{W||(W=!0,ie(),e.props.lockScroll&&(dn(),te=!0),e.props.focusTrap&&(ne=document.activeElement instanceof HTMLElement?document.activeElement:null,queueMicrotask(()=>{const C=t.value;!C||!h()||(G()[0]??C).focus()})),e.props.hideOthers&&queueMicrotask(()=>{h()&&K()}))},E=()=>{if(Q(),!W)return;W=!1,te&&(un(),te=!1),D();const C=ne;ne=null,C&&C.isConnected&&C.focus()},M=()=>{e.props.side||e.props.autoPosition===!1||queueMicrotask(()=>{const C=t.value;if(!C)return;const q=e.props;$=q.top!=null?q.top:window.innerHeight/2-C.offsetHeight/2,R=q.left!=null?q.left:window.innerWidth/2-C.offsetWidth/2,e.requestUpdate()})},U=()=>{!h()||e.props.side||e.props.autoPosition===!1||b||M()},S=()=>{h()||r(!0),e.emit("open"),M(),_()},x=async()=>{let C=!0;return e.props.onBeforeClose?C=await e.props.onBeforeClose()??!0:e.emit("close:before",C),C},A=async()=>{await x()&&h()&&(r(!1),e.props.onCancel?e.props.onCancel():e.emit("close"),e.emit("hidden"))},F=async()=>{let C=!0;return e.props.onBeforeConfirm?C=await e.props.onBeforeConfirm()??!0:e.emit("confirm:before",C),C},f=async()=>{await F()&&h()&&(r(!1),e.props.onConfirm?e.props.onConfirm():e.emit("confirm"),e.emit("hidden"))},B=()=>{e.props.onBeforeUnload&&e.props.onBeforeUnload()},Y=()=>{e.props.closeOnOutsideClick&&A()},j=C=>{C?S():(E(),B(),A())},we=(C,q)=>{document.addEventListener("mouseup",C),document.addEventListener("mousemove",q)},De=(C,q)=>{document.removeEventListener("mouseup",C),document.removeEventListener("mousemove",q)},Ne=C=>{const q=R-C.clientX,Ce=$-C.clientY;T.mouseDown=!0,T.offset.x=q,T.offset.y=Ce,e.emit("drag-start")},Oe=C=>{e.props.draggable&&(C.clientX===0&&k&&(C=k),C&&C.clientX&&C.clientY&&(R=C.clientX+T.offset.x,$=C.clientY+T.offset.y,b=!0,e.requestUpdate()))},c=C=>{C.clientX!==0&&C.clientY!==0&&(k=C),T.mouseDown&&V&&(T.dragging=!0,Oe(C))},L=()=>{T.dragging&&e.emit("drag-end"),T.mouseDown=!1,setTimeout(()=>{T.dragging=!1,De(L,c)},100)},Z=C=>{e.props.side||e.props.autoPosition===!1||(C.preventDefault(),we(L,c),Ne(C))},re=C=>{C.preventDefault();const q=t.value;if(!q)return;const Ce=q.getBoundingClientRect(),ke=p()??Ce.width,Ee=v()??Ce.height;if(!ke||!Ee)return;const Te=ke/Ee,Ve={x:C.clientX,y:C.clientY},Ue=e.props,Qe=Je=>{let Ze=Je.clientX-Ve.x,g=Je.clientY-Ve.y;if(Ue.keepAspectRatio){const J=Ze/Te;Math.abs(g)>Math.abs(J)?g=J:Ze=g*Te}const O=Math.max(Ue.minWidth,Math.min(ke+Ze,Ue.maxWidth));let I=Math.max(Ue.minHeight,Math.min(Ee+g,Ue.maxHeight));Ue.keepAspectRatio&&O/I!==Te&&(I=O/Te),u(O),y(I)},ot=()=>{document.removeEventListener("mousemove",Qe),document.removeEventListener("mouseup",ot)};document.addEventListener("mousemove",Qe),document.addEventListener("mouseup",ot)},de=C=>{if(C.key==="Tab"&&e.props.focusTrap&&h()&&se()){if(a&&!a.isTopmost())return;const q=t.value;if(!q)return;const Ce=G();if(Ce.length===0){C.preventDefault(),q.focus();return}const ke=Ce[0],Ee=Ce[Ce.length-1],Te=document.activeElement,Ve=Te instanceof Node&&q.contains(Te);C.shiftKey?(!Ve||Te===ke||Te===q)&&(C.preventDefault(),Ee.focus()):(!Ve||Te===Ee)&&(C.preventDefault(),ke.focus());return}};e.onCleanup(()=>{E(),window.removeEventListener("keydown",de),window.removeEventListener("resize",U),B(),window.removeEventListener("unload",B),De(L,c)});const Se=()=>{const C=e.props;if(C.action)return C.action;const q=e.locale.Popup;switch(C.preset){case"save":return{positive:C.saveText??q.save,negative:C.cancelText??q.cancel};case"check":return{positive:C.okText??q.ok};case"close":return{negative:C.closeText??q.close};case"confirm":default:return{positive:C.okText??q.ok,negative:C.cancelText??q.cancel}}},be=C=>{switch(C){case"error":return ln("30","var(--moz-color-danger)","dialog-icon");case"info":return nn("30","var(--moz-color-accent)","dialog-icon");case"success":return rn("30","var(--moz-color-success)","dialog-icon");case"warning":return an("30","var(--moz-color-warning)","dialog-icon");default:return o.nothing}};return{api:{resetPosition:M},onMounted:()=>{window.addEventListener("keydown",de),window.addEventListener("resize",U),window.addEventListener("unload",B),queueMicrotask(()=>e.emit("init",s.value??null)),h()&&(M(),_())},render(){const C=e.props,q=h();if(q!==X){const fe=q;X=q,fe?ie():Q(),queueMicrotask(()=>j(fe))}if(!(C.useVShow?!0:q))return o.nothing;const ke=C.useVShow?!q:!1,Ee=p(),Te=v(),Ve=C.side,Ue=!!Ve||C.autoPosition===!1,Qe={...$e(C.style),...Ee?{width:`${xe(Ee)}rem`}:{},...Te?{height:`${xe(Te)}rem`}:{},...Ue?{}:{left:`${xe(R)}rem`,top:`${xe($)}rem`}},ot=!!C.draggable&&!Ue,Je=!!C.resizeable&&!Ve,Ze=typeof C.contentsPadding=="number"?`${xe(C.contentsPadding)}rem`:C.contentsPadding,g=Se(),O=ge(C,cn),I=e.slots.has("title")?e.slot("title"):o.html`<span class="truncate">${C.title}</span>`,J=e.slots.has("description"),le=e.slots.has("default")?e.slot("default"):o.html`<div class="moz-dialog-body">
804
+ </svg>`}const an=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,es="";const cn=()=>{ct===0&&(es=document.body.style.overflow,document.body.style.overflow="hidden"),ct+=1},dn=()=>{ct!==0&&(ct-=1,ct===0&&(document.body.style.overflow=es))},un='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',ts=ve({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=N.createRef(),s=N.createRef(),n=Xe("moz-popup-title-"),i=Xe("moz-popup-desc-");let a=null,m=e.props.visible??!1,d=e.props.width,l=e.props.height;const h=()=>e.controlled("visible")?!!e.props.visible:m,r=C=>{e.controlled("visible")||(m=C),e.emit("update:visible",C),e.requestUpdate()},p=()=>e.controlled("width")?e.props.width:d,u=C=>{e.controlled("width")||(d=C),e.emit("update:width",C),e.requestUpdate()},v=()=>e.controlled("height")?e.props.height:l,y=C=>{e.controlled("height")||(l=C),e.emit("update:height",C),e.requestUpdate()};let R=0,$=0,b=!1;const V=!0;let k=null;const T={mouseDown:!1,dragging:!1,offset:{x:0,y:0}};let X=h(),W=!1,te=!1,ne=null,ee=[];const K=()=>{const C=t.value;if(C)for(const q of Array.from(document.body.children))q instanceof HTMLElement&&(q.contains(C)||q.getAttribute("aria-hidden")!=="true"&&(q.setAttribute("aria-hidden","true"),ee.push(q)))},D=()=>{for(const C of ee)C.removeAttribute("aria-hidden");ee=[]},G=()=>{const C=t.value;return C?Array.from(C.querySelectorAll(un)).filter(q=>q.getAttribute("aria-hidden")!=="true"):[]},se=()=>{const C=document.querySelectorAll(".moz-popup");return C.length>0&&C[C.length-1]===t.value},ie=()=>{a||(a=Nt(()=>A()))},Q=()=>{a==null||a.release(),a=null},_=()=>{W||(W=!0,ie(),e.props.lockScroll&&(cn(),te=!0),e.props.focusTrap&&(ne=document.activeElement instanceof HTMLElement?document.activeElement:null,queueMicrotask(()=>{const C=t.value;!C||!h()||(G()[0]??C).focus()})),e.props.hideOthers&&queueMicrotask(()=>{h()&&K()}))},E=()=>{if(Q(),!W)return;W=!1,te&&(dn(),te=!1),D();const C=ne;ne=null,C&&C.isConnected&&C.focus()},M=()=>{e.props.side||e.props.autoPosition===!1||queueMicrotask(()=>{const C=t.value;if(!C)return;const q=e.props;$=q.top!=null?q.top:window.innerHeight/2-C.offsetHeight/2,R=q.left!=null?q.left:window.innerWidth/2-C.offsetWidth/2,e.requestUpdate()})},U=()=>{!h()||e.props.side||e.props.autoPosition===!1||b||M()},S=()=>{h()||r(!0),e.emit("open"),M(),_()},L=async()=>{let C=!0;return e.props.onBeforeClose?C=await e.props.onBeforeClose()??!0:e.emit("close:before",C),C},A=async()=>{await L()&&h()&&(r(!1),e.props.onCancel?e.props.onCancel():e.emit("close"),e.emit("hidden"))},F=async()=>{let C=!0;return e.props.onBeforeConfirm?C=await e.props.onBeforeConfirm()??!0:e.emit("confirm:before",C),C},f=async()=>{await F()&&h()&&(r(!1),e.props.onConfirm?e.props.onConfirm():e.emit("confirm"),e.emit("hidden"))},B=()=>{e.props.onBeforeUnload&&e.props.onBeforeUnload()},Y=()=>{e.props.closeOnOutsideClick&&A()},j=C=>{C?S():(E(),B(),A())},we=(C,q)=>{document.addEventListener("mouseup",C),document.addEventListener("mousemove",q)},De=(C,q)=>{document.removeEventListener("mouseup",C),document.removeEventListener("mousemove",q)},Ne=C=>{const q=R-C.clientX,Ce=$-C.clientY;T.mouseDown=!0,T.offset.x=q,T.offset.y=Ce,e.emit("drag-start")},Oe=C=>{e.props.draggable&&(C.clientX===0&&k&&(C=k),C&&C.clientX&&C.clientY&&(R=C.clientX+T.offset.x,$=C.clientY+T.offset.y,b=!0,e.requestUpdate()))},c=C=>{C.clientX!==0&&C.clientY!==0&&(k=C),T.mouseDown&&V&&(T.dragging=!0,Oe(C))},x=()=>{T.dragging&&e.emit("drag-end"),T.mouseDown=!1,setTimeout(()=>{T.dragging=!1,De(x,c)},100)},Z=C=>{e.props.side||e.props.autoPosition===!1||(C.preventDefault(),we(x,c),Ne(C))},re=C=>{C.preventDefault();const q=t.value;if(!q)return;const Ce=q.getBoundingClientRect(),ke=p()??Ce.width,Ee=v()??Ce.height;if(!ke||!Ee)return;const Te=ke/Ee,Ve={x:C.clientX,y:C.clientY},Ue=e.props,Qe=Je=>{let Ze=Je.clientX-Ve.x,g=Je.clientY-Ve.y;if(Ue.keepAspectRatio){const J=Ze/Te;Math.abs(g)>Math.abs(J)?g=J:Ze=g*Te}const O=Math.max(Ue.minWidth,Math.min(ke+Ze,Ue.maxWidth));let I=Math.max(Ue.minHeight,Math.min(Ee+g,Ue.maxHeight));Ue.keepAspectRatio&&O/I!==Te&&(I=O/Te),u(O),y(I)},ot=()=>{document.removeEventListener("mousemove",Qe),document.removeEventListener("mouseup",ot)};document.addEventListener("mousemove",Qe),document.addEventListener("mouseup",ot)},de=C=>{if(C.key==="Tab"&&e.props.focusTrap&&h()&&se()){if(a&&!a.isTopmost())return;const q=t.value;if(!q)return;const Ce=G();if(Ce.length===0){C.preventDefault(),q.focus();return}const ke=Ce[0],Ee=Ce[Ce.length-1],Te=document.activeElement,Ve=Te instanceof Node&&q.contains(Te);C.shiftKey?(!Ve||Te===ke||Te===q)&&(C.preventDefault(),Ee.focus()):(!Ve||Te===Ee)&&(C.preventDefault(),ke.focus());return}};e.onCleanup(()=>{E(),window.removeEventListener("keydown",de),window.removeEventListener("resize",U),B(),window.removeEventListener("unload",B),De(x,c)});const Se=()=>{const C=e.props;if(C.action)return C.action;const q=e.locale.Popup;switch(C.preset){case"save":return{positive:C.saveText??q.save,negative:C.cancelText??q.cancel};case"check":return{positive:C.okText??q.ok};case"close":return{negative:C.closeText??q.close};case"confirm":default:return{positive:C.okText??q.ok,negative:C.cancelText??q.cancel}}},be=C=>{switch(C){case"error":return sn("30","var(--moz-color-danger)","dialog-icon");case"info":return ln("30","var(--moz-color-accent)","dialog-icon");case"success":return nn("30","var(--moz-color-success)","dialog-icon");case"warning":return rn("30","var(--moz-color-warning)","dialog-icon");default:return o.nothing}};return{api:{resetPosition:M},onMounted:()=>{window.addEventListener("keydown",de),window.addEventListener("resize",U),window.addEventListener("unload",B),queueMicrotask(()=>e.emit("init",s.value??null)),h()&&(M(),_())},render(){const C=e.props,q=h();if(q!==X){const fe=q;X=q,fe?ie():Q(),queueMicrotask(()=>j(fe))}if(!(C.useVShow?!0:q))return o.nothing;const ke=C.useVShow?!q:!1,Ee=p(),Te=v(),Ve=C.side,Ue=!!Ve||C.autoPosition===!1,Qe={...$e(C.style),...Ee?{width:`${Le(Ee)}rem`}:{},...Te?{height:`${Le(Te)}rem`}:{},...Ue?{}:{left:`${Le(R)}rem`,top:`${Le($)}rem`}},ot=!!C.draggable&&!Ue,Je=!!C.resizeable&&!Ve,Ze=typeof C.contentsPadding=="number"?`${Le(C.contentsPadding)}rem`:C.contentsPadding,g=Se(),O=ge(C,an),I=e.slots.has("title")?e.slot("title"):o.html`<span class="truncate">${C.title}</span>`,J=e.slots.has("description"),le=e.slots.has("default")?e.slot("default"):o.html`<div class="moz-dialog-body">
805
805
  ${be(C.dialogIcon)}
806
- <div class="dialog-message">${C.dialogMessage!=null?To.unsafeHTML(C.dialogMessage):o.nothing}</div>
806
+ <div class="dialog-message">${C.dialogMessage!=null?Lo.unsafeHTML(C.dialogMessage):o.nothing}</div>
807
807
  </div>`,pe=e.slots.has("footer")?e.slot("footer",{onConfirm:f,onCancel:A}):o.html`
808
808
  ${g.positive?at({class:"preset-btn",loading:C.loading,disabled:C.disabledConfirmButton,style:"min-width: 80px"},{onClick:f,content:g.positive}):o.nothing}
809
809
  ${g.negative?at({class:"preset-btn",type:"outline",disabled:C.loading,style:"min-width: 80px"},{onClick:A,content:g.negative}):o.nothing}
810
810
  `;return o.html`
811
811
  <div
812
812
  class=${z("moz-popup-container",C.class,Ve?`moz-popup-side moz-popup-side-${Ve}`:null,C.showBackdrop===!1?"moz-popup-no-backdrop":null)}
813
- style=${Le.ifDefined(ke?"display: none;":void 0)}
813
+ style=${xe.ifDefined(ke?"display: none;":void 0)}
814
814
  >
815
815
  ${C.showBackdrop===!1?o.nothing:o.html`<div class="moz-popup-backdrop" aria-hidden="true" @click=${Y}></div>`}
816
816
  <div
817
817
  class=${z("moz-popup",C.dialogClass)}
818
818
  role="dialog"
819
819
  aria-modal="true"
820
- aria-labelledby=${Le.ifDefined(C.showHeader===!1?void 0:n)}
821
- aria-describedby=${Le.ifDefined(J?i:void 0)}
822
- tabindex=${Le.ifDefined(C.focusTrap?"-1":void 0)}
820
+ aria-labelledby=${xe.ifDefined(C.showHeader===!1?void 0:n)}
821
+ aria-describedby=${xe.ifDefined(J?i:void 0)}
822
+ tabindex=${xe.ifDefined(C.focusTrap?"-1":void 0)}
823
823
  style=${oe.styleMap(Qe)}
824
824
  ${N.ref(t)}
825
825
  ${ue(O)}
@@ -831,7 +831,7 @@
831
831
  @touchstart=${Z}
832
832
  >
833
833
  ${I}
834
- ${C.showCloseButton?at({type:"icon",class:"close-button","aria-label":e.locale.Popup.close},{onClick:A,icon:sn("14","var(--moz-color-text-subtle)")}):o.nothing}
834
+ ${C.showCloseButton?at({type:"icon",class:"close-button","aria-label":e.locale.Popup.close},{onClick:A,icon:on("14","var(--moz-color-text-subtle)")}):o.nothing}
835
835
  </div>`}
836
836
  ${J?o.html`<div id=${i} class="moz-popup-description">${e.slot("description")}</div>`:o.nothing}
837
837
  <div class="moz-popup-body" style=${oe.styleMap({padding:Ze})} ${N.ref(s)}>${le}</div>
@@ -841,7 +841,7 @@
841
841
  ${Je?o.html`<div class="resize-handler" @mousedown=${re}></div>`:o.nothing}
842
842
  </div>
843
843
  </div>
844
- `}}}}),hn={name:"MozPopup",core:os,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 zt(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 oo(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=zt(e),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n||o.nothing} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 16 16">
844
+ `}}}}),pn={name:"MozPopup",core:ts,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 to(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=Mt(e),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n||o.nothing} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 16 16">
845
845
  <g style=${`fill: ${a}`}>
846
846
  <path
847
847
  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"
@@ -854,21 +854,21 @@
854
854
  transform="translate(-829.971 -686.318)"
855
855
  ></path>
856
856
  </g>
857
- </svg>`}function so(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=zt(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
857
+ </svg>`}function oo(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=Mt(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
858
858
  <path
859
859
  fill-rule="evenodd"
860
860
  clip-rule="evenodd"
861
861
  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"
862
862
  fill=${s?"var(--moz-color-text-muted)":t}
863
863
  ></path>
864
- </svg>`}function lo(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=zt(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
864
+ </svg>`}function so(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=Mt(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
865
865
  <path
866
866
  fill-rule="evenodd"
867
867
  clip-rule="evenodd"
868
868
  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"
869
869
  fill=${s?"var(--moz-color-text-muted)":t}
870
870
  ></path>
871
- </svg>`}function no(e="12",t="var(--moz-color-text-subtle)",s=!1){const n=zt(e),i=s?"var(--moz-color-text-muted)":t;return n.width<=13?o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
871
+ </svg>`}function lo(e="12",t="var(--moz-color-text-subtle)",s=!1){const n=Mt(e),i=s?"var(--moz-color-text-muted)":t;return n.width<=13?o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
872
872
  <path
873
873
  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"
874
874
  fill=${i}
@@ -878,7 +878,7 @@
878
878
  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"
879
879
  fill=${i}
880
880
  ></path>
881
- </svg>`}const ho=250,vt=24,mn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue","class","style"]);function fn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function gn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ss=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="";const v=Xe("moz-select-listbox-"),y={change:"",blur:"",save:""};let R=h();const $=()=>e.props.keyProp||"id",b=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>vt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{_==null||_.release(),_=null}),e.onCleanup(b._didMount());const V=c=>{d=c??null,c&&(b._willUpdate(),e.requestUpdate())},k=c=>e.props.itemsSource?e.props.itemsSource.find(Z=>Z[$()]===c)??null:null,T=c=>c?typeof e.props.displayProp=="function"?e.props.displayProp(c):typeof c=="object"?c[e.props.displayProp]:String(c):"",X=()=>{const c=h();if(!c&&isNaN(Number(c)))return null;const L=e.props.useObjBinding?c:k(c);return L?typeof e.props.displayProp=="function"?e.props.displayProp(L):L[e.props.displayProp]:null},W=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(L=>T(L).toLowerCase().indexOf(c)>-1)},te=c=>{if(!u)return[{part:c,highlight:!1}];const L=gn(u),Z=new RegExp(`(${L})`,"gi");return c.split(Z).map(re=>({part:re,highlight:u.toLowerCase()===re.toLowerCase()}))},ne=()=>y.save||y.blur||y.change,ee=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.Select.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:L=>!!L}),[...c,...e.props.rules??[]]},K=async(c,L)=>{const Z=ee();if(Z.length<=0||e.props.disabled)return!0;y[L]="",e.requestUpdate();const re=Z.filter(de=>de.type===L);for(const de of re)if(!await de.validator(c))return y[L]=de.message,e.requestUpdate(),!1;return!0},D=async(c="save")=>ne()!==""?!1:await K(h(),c),G={validate:D,initValidator:()=>{y.change="",y.blur="",y.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(G),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(G)}));const se=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>ho,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&E(!1)}});e.onCleanup(()=>se.destroy());const ie=c=>{`${c.ctrlKey?"ctrl+":""}${c.altKey?"alt+":""}${c.key.toLowerCase()}`==="escape"&&E(!1)},Q=c=>{const Z=vt*c-ho/2;return Math.max(0,Z+vt)};let _=null;const E=c=>{p!==c&&(p=c,e.requestUpdate(),c?(_=ht(),se.open(),y.save="",window.addEventListener("keydown",ie),queueMicrotask(()=>{var Z;const L=h();if(L&&d){const re=(e.props.itemsSource??[]).findIndex(de=>de[$()]===L);d.scrollTop=Q(re)}m.value?m.value.focus():(Z=a.value)==null||Z.focus()})):(_==null||_.release(),_=null,se.close(),e.emit("close"),K(h(),"blur"),window.removeEventListener("keydown",ie),u="",e.emit("close"),queueMicrotask(()=>{var L;return(L=a.value)==null?void 0:L.focus()})))},M=()=>{var c;e.props.disabled||(E(!p),(c=a.value)==null||c.focus())},U=c=>{var L;r(c),E(!1),(L=a.value)==null||L.focus()},S=fn(c=>{u=c.target.value,e.requestUpdate(),queueMicrotask(()=>{const L=W().length;b.setOptions({...b.options,count:L}),b.measure(),d&&(d.scrollTop=0,b.scrollToIndex(0),b.measure())})},300),x=c=>{var L;if(p){c.stopPropagation(),c.preventDefault();const Z=m.value??((L=i.value)==null?void 0:L.querySelector("div:first-child"));Z==null||Z.focus()}},A=c=>{var Se,be,C;const L=((Se=n.value)==null?void 0:Se.querySelectorAll('[tabindex="0"]'))??[],Z=[...Array.from(L)];m.value&&Z.unshift(m.value);const re=Z[0],de=Z[Z.length-1];(c.target===re||c.target===de)&&a.value&&(c.target===re&&c.shiftKey?(c.stopPropagation(),c.preventDefault(),(be=a.value)==null||be.focus()):c.target===de&&!c.shiftKey&&(c.stopPropagation(),c.preventDefault(),(C=a.value)==null||C.focus()))},F=c=>{d&&(c.shiftKey?d.scrollTop-=24:d.scrollTop+=24)},f=()=>{var L;const c=Array.from(((L=n.value)==null?void 0:L.querySelectorAll('[tabindex="0"]'))??[]);return m.value&&!c.includes(m.value)&&c.unshift(m.value),c},B=c=>{var de;const L=f();if(L.length===0)return;const Z=L.indexOf(document.activeElement),re=Z<0?c>0?0:L.length-1:Math.min(L.length-1,Math.max(0,Z+c));(de=L[re])==null||de.focus()},Y=c=>c.find(L=>L.getAttribute("aria-selected")==="true")??null,j=c=>{E(!0),queueMicrotask(()=>queueMicrotask(()=>{if(m.value)return;const L=f();L.length!==0&&(Y(L)??L[c<0?L.length-1:0]).focus()}))},we=()=>{var c;E(!1),(c=a.value)==null||c.focus()},De=c=>{if(c.key==="Tab"){x(c);return}if(c.key==="Enter"||c.key===" "){p||(c.preventDefault(),c.stopPropagation(),j(1));return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation();const L=c.key==="ArrowDown"?1:-1;p?B(L):j(L);return}c.key==="Escape"&&p&&(c.preventDefault(),we())},Ne=c=>{if(c.key==="Tab"){A(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),B(c.key==="ArrowDown"?1:-1);return}c.key==="Escape"&&(c.preventDefault(),we())},Oe=(c,L)=>{if(c.key==="Tab"){F(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation(),B(c.key==="ArrowDown"?1:-1);return}if(c.key==="Escape"){c.preventDefault(),c.stopPropagation(),we();return}(c.key==="Enter"||c.key===" ")&&U(L)};return{api:{validate:D},render(){const c=e.props,L=h();if(L!==R){R=L;const Ce=L;queueMicrotask(()=>{K(Ce,"change"),e.emit("change",c.useObjBinding?Ce:Ce&&Ce[$()],Ce)})}const Z=typeof c.width=="number"?`${xe(c.width)}rem`:c.width,re=ge(c,mn),{aria:de,dom:Se}=ut(re),be=e.slots.has("icon")?e.slot("icon",{isOpen:p}):p?lo("14","var(--moz-color-accent)"):so("14","var(--moz-color-text-subtle)",c.disabled),C=o.html`<button
881
+ </svg>`}const po=250,gt=24,hn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProp","rules","useObjBinding","useFilter","listWidth","placeholder","searchPlaceholder","emptyText","requiredMessage","modelValue","class","style"]);function mn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function fn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const os=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="";const v=Xe("moz-select-listbox-"),y={change:"",blur:"",save:""};let R=h();const $=()=>e.props.keyProp||"id",b=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>gt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{_==null||_.release(),_=null}),e.onCleanup(b._didMount());const V=c=>{d=c??null,c&&(b._willUpdate(),e.requestUpdate())},k=c=>e.props.itemsSource?e.props.itemsSource.find(Z=>Z[$()]===c)??null:null,T=c=>c?typeof e.props.displayProp=="function"?e.props.displayProp(c):typeof c=="object"?c[e.props.displayProp]:String(c):"",X=()=>{const c=h();if(!c&&isNaN(Number(c)))return null;const x=e.props.useObjBinding?c:k(c);return x?typeof e.props.displayProp=="function"?e.props.displayProp(x):x[e.props.displayProp]:null},W=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>T(x).toLowerCase().indexOf(c)>-1)},te=c=>{if(!u)return[{part:c,highlight:!1}];const x=fn(u),Z=new RegExp(`(${x})`,"gi");return c.split(Z).map(re=>({part:re,highlight:u.toLowerCase()===re.toLowerCase()}))},ne=()=>y.save||y.blur||y.change,ee=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.Select.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},K=async(c,x)=>{const Z=ee();if(Z.length<=0||e.props.disabled)return!0;y[x]="",e.requestUpdate();const re=Z.filter(de=>de.type===x);for(const de of re)if(!await de.validator(c))return y[x]=de.message,e.requestUpdate(),!1;return!0},D=async(c="save")=>ne()!==""?!1:await K(h(),c),G={validate:D,initValidator:()=>{y.change="",y.blur="",y.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(G),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(G)}));const se=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>po,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&E(!1)}});e.onCleanup(()=>se.destroy());const ie=c=>{`${c.ctrlKey?"ctrl+":""}${c.altKey?"alt+":""}${c.key.toLowerCase()}`==="escape"&&E(!1)},Q=c=>{const Z=gt*c-po/2;return Math.max(0,Z+gt)};let _=null;const E=c=>{p!==c&&(p=c,e.requestUpdate(),c?(_=ht(),se.open(),y.save="",window.addEventListener("keydown",ie),queueMicrotask(()=>{var Z;const x=h();if(x&&d){const re=(e.props.itemsSource??[]).findIndex(de=>de[$()]===x);d.scrollTop=Q(re)}m.value?m.value.focus():(Z=a.value)==null||Z.focus()})):(_==null||_.release(),_=null,se.close(),e.emit("close"),K(h(),"blur"),window.removeEventListener("keydown",ie),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))},M=()=>{var c;e.props.disabled||(E(!p),(c=a.value)==null||c.focus())},U=c=>{var x;r(c),E(!1),(x=a.value)==null||x.focus()},S=mn(c=>{u=c.target.value,e.requestUpdate(),queueMicrotask(()=>{const x=W().length;b.setOptions({...b.options,count:x}),b.measure(),d&&(d.scrollTop=0,b.scrollToIndex(0),b.measure())})},300),L=c=>{var x;if(p){c.stopPropagation(),c.preventDefault();const Z=m.value??((x=i.value)==null?void 0:x.querySelector("div:first-child"));Z==null||Z.focus()}},A=c=>{var Se,be,C;const x=((Se=n.value)==null?void 0:Se.querySelectorAll('[tabindex="0"]'))??[],Z=[...Array.from(x)];m.value&&Z.unshift(m.value);const re=Z[0],de=Z[Z.length-1];(c.target===re||c.target===de)&&a.value&&(c.target===re&&c.shiftKey?(c.stopPropagation(),c.preventDefault(),(be=a.value)==null||be.focus()):c.target===de&&!c.shiftKey&&(c.stopPropagation(),c.preventDefault(),(C=a.value)==null||C.focus()))},F=c=>{d&&(c.shiftKey?d.scrollTop-=24:d.scrollTop+=24)},f=()=>{var x;const c=Array.from(((x=n.value)==null?void 0:x.querySelectorAll('[tabindex="0"]'))??[]);return m.value&&!c.includes(m.value)&&c.unshift(m.value),c},B=c=>{var de;const x=f();if(x.length===0)return;const Z=x.indexOf(document.activeElement),re=Z<0?c>0?0:x.length-1:Math.min(x.length-1,Math.max(0,Z+c));(de=x[re])==null||de.focus()},Y=c=>c.find(x=>x.getAttribute("aria-selected")==="true")??null,j=c=>{E(!0),queueMicrotask(()=>queueMicrotask(()=>{if(m.value)return;const x=f();x.length!==0&&(Y(x)??x[c<0?x.length-1:0]).focus()}))},we=()=>{var c;E(!1),(c=a.value)==null||c.focus()},De=c=>{if(c.key==="Tab"){L(c);return}if(c.key==="Enter"||c.key===" "){p||(c.preventDefault(),c.stopPropagation(),j(1));return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation();const x=c.key==="ArrowDown"?1:-1;p?B(x):j(x);return}c.key==="Escape"&&p&&(c.preventDefault(),we())},Ne=c=>{if(c.key==="Tab"){A(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),B(c.key==="ArrowDown"?1:-1);return}c.key==="Escape"&&(c.preventDefault(),we())},Oe=(c,x)=>{if(c.key==="Tab"){F(c);return}if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault(),c.stopPropagation(),B(c.key==="ArrowDown"?1:-1);return}if(c.key==="Escape"){c.preventDefault(),c.stopPropagation(),we();return}(c.key==="Enter"||c.key===" ")&&U(x)};return{api:{validate:D},render(){const c=e.props,x=h();if(x!==R){R=x;const Ce=x;queueMicrotask(()=>{K(Ce,"change"),e.emit("change",c.useObjBinding?Ce:Ce&&Ce[$()],Ce)})}const Z=typeof c.width=="number"?`${Le(c.width)}rem`:c.width,re=ge(c,hn),{aria:de,dom:Se}=ut(re),be=e.slots.has("icon")?e.slot("icon",{isOpen:p}):p?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",c.disabled),C=o.html`<button
882
882
  type="button"
883
883
  class="icon-container"
884
884
  ${ue(de)}
@@ -886,7 +886,7 @@
886
886
  aria-haspopup="listbox"
887
887
  aria-expanded=${p?"true":"false"}
888
888
  aria-controls=${v}
889
- aria-label=${Le.ifDefined(de["aria-label"]??c.label??void 0)}
889
+ aria-label=${xe.ifDefined(de["aria-label"]??c.label??void 0)}
890
890
  @keydown=${De}
891
891
  ${N.ref(a)}
892
892
  ?disabled=${!!c.disabled}
@@ -901,7 +901,7 @@
901
901
  <div
902
902
  class=${z("input-container-wrapper",{"input-container-wrapper--disabled":c.disabled})}
903
903
  >
904
- ${e.slot("input-container",{text:X(),item:L})}
904
+ ${e.slot("input-container",{text:X(),item:x})}
905
905
  </div>
906
906
  ${C}
907
907
  </div>`:o.html`<div
@@ -913,7 +913,7 @@
913
913
  <input
914
914
  ${ue(Se)}
915
915
  .value=${X()??""}
916
- placeholder=${Le.ifDefined(c.placeholder??void 0)}
916
+ placeholder=${xe.ifDefined(c.placeholder??void 0)}
917
917
  autocomplete="off"
918
918
  ?disabled=${!!c.disabled}
919
919
  readonly
@@ -935,7 +935,7 @@
935
935
 
936
936
  ${ne()!==""?o.html`<span class="moz-input-invalid-message">${ne()}</span>`:o.nothing}
937
937
  </div>
938
- `},renderPortal(){if(!p)return o.nothing;const c=e.props,L=h(),Z=$(),re=W();b.options.count!==re.length&&b.setOptions({...b.options,count:re.length}),b._willUpdate();const de=Mt(b.getVirtualItems(),re.length,vt,d),Se=b.getTotalSize(),be=de.map(C=>{if(C.index>=re.length)return null;const q=re[C.index];return q?{index:C.index,value:q,size:C.size,start:C.start}:null}).filter(C=>C!==null);return o.html`<div
938
+ `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=h(),Z=$(),re=W();b.options.count!==re.length&&b.setOptions({...b.options,count:re.length}),b._willUpdate();const de=Tt(b.getVirtualItems(),re.length,gt,d),Se=b.getTotalSize(),be=de.map(C=>{if(C.index>=re.length)return null;const q=re[C.index];return q?{index:C.index,value:q,size:C.size,start:C.start}:null}).filter(C=>C!==null);return o.html`<div
939
939
  class=${z("list-box",{"no-label":!c.label})}
940
940
  @keydown=${Ne}
941
941
  ${N.ref(n)}
@@ -948,7 +948,7 @@
948
948
  @input=${S}
949
949
  class="filter-input__field"
950
950
  />
951
- <div class="search-icon">${no("12","var(--moz-color-text-subtle)")}</div>
951
+ <div class="search-icon">${lo("12","var(--moz-color-text-subtle)")}</div>
952
952
  </div>`:o.nothing}
953
953
  <div
954
954
  id=${v}
@@ -957,13 +957,13 @@
957
957
  ${N.ref(V)}
958
958
  >
959
959
  <div class="inner-container" style=${oe.styleMap({height:`${Se}px`})} ${N.ref(i)}>
960
- ${be.map(({index:C,value:q,start:Ce})=>{const ke=c.useObjBinding?q&&L&&q[Z]===L[Z]:q[Z]===L;return o.html`<div
960
+ ${be.map(({index:C,value:q,start:Ce})=>{const ke=c.useObjBinding?q&&x&&q[Z]===x[Z]:q[Z]===x;return o.html`<div
961
961
  data-index=${C}
962
962
  role="option"
963
963
  aria-selected=${ke?"true":"false"}
964
964
  ${N.ref(Ee=>{Ee&&b.measureElement(Ee)})}
965
965
  style=${oe.styleMap({transform:`translateY(${Ce}px)`})}
966
- class=${z("list-box-item virtual-row",{"list-selected":q[Z]===L})}
966
+ class=${z("list-box-item virtual-row",{"list-selected":q[Z]===x})}
967
967
  @click=${()=>U(c.useObjBinding?q:q[Z])}
968
968
  tabindex="0"
969
969
  @keydown=${Ee=>Oe(Ee,c.useObjBinding?q:q[Z])}
@@ -971,7 +971,7 @@
971
971
  ${e.slots.has("list-item")?e.slot("list-item",{text:T(q),item:q,index:C,highlightText:te(T(q))}):o.html`<div class="highlight-container" title=${T(q)}>
972
972
  ${te(T(q)).map(Ee=>o.html`<span class=${z({highlight:Ee.highlight})}>${Ee.part}</span>`)}
973
973
  </div>`}
974
- ${ke?oo("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
974
+ ${ke?to("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
975
975
  </div>`})}
976
976
  </div>
977
977
 
@@ -979,21 +979,21 @@
979
979
  ${e.slots.has("empty")?e.slot("empty"):c.emptyText??e.locale.Select.emptyText}
980
980
  </div>`:o.nothing}
981
981
  </div>
982
- </div>`}}}}),vn={name:"MozSelect",core:ss,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 io(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 wn(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=io(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
982
+ </div>`}}}}),gn={name:"MozSelect",core:os,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 no(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 vn(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=no(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
983
983
  <path
984
984
  fill-rule="evenodd"
985
985
  clip-rule="evenodd"
986
986
  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"
987
987
  fill=${s?"var(--moz-color-text-muted)":t}
988
988
  ></path>
989
- </svg>`}function Cn(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=io(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
989
+ </svg>`}function wn(e="14",t="var(--moz-color-text-subtle)",s=!1){const n=no(e,14);return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 14 14" fill="none">
990
990
  <path
991
991
  fill-rule="evenodd"
992
992
  clip-rule="evenodd"
993
993
  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"
994
994
  fill=${s?"var(--moz-color-text-muted)":t}
995
995
  ></path>
996
- </svg>`}function bn(e="12",t="var(--moz-color-text-subtle)",s=!1){const n=io(e),i=s?"var(--moz-color-text-muted)":t;return n.width<=13?o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
996
+ </svg>`}function Cn(e="12",t="var(--moz-color-text-subtle)",s=!1){const n=no(e),i=s?"var(--moz-color-text-muted)":t;return n.width<=13?o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${n.width} height=${n.height} viewBox="0 0 12 12" fill="none">
997
997
  <path
998
998
  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"
999
999
  fill=${i}
@@ -1003,7 +1003,7 @@
1003
1003
  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"
1004
1004
  fill=${i}
1005
1005
  ></path>
1006
- </svg>`}const yn=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 $n(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ls=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=()=>e.props.keyProp||"id",l=()=>e.props.disabledProp||"disabled";let h=e.props.modelValue??null;const r=()=>{const g=e.controlled("modelValue")?e.props.modelValue:h;return Array.isArray(g)?g:[]},p=g=>{e.controlled("modelValue")||(h=g),e.emit("update:modelValue",g),e.requestUpdate()};let u=!1;const v=Xe("moz-multiselect-listbox-");let y=e.props.filterValue??"",R=!1,$=!1,b={},V=[];const k={change:"",blur:"",save:""};let T=e.props.itemsSource;const X=(()=>{const g=e.props["dropdown-item-height"];if(g!=null)return+g;try{return+getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height").trim().replace("px","")||24}catch{return 24}})(),W=new Fe.Virtualizer({count:0,getScrollElement:()=>m,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(W._didMount());const te=g=>{m=g??null,g&&(W._willUpdate(),e.requestUpdate())},ne=g=>typeof e.props.displayProp=="function"?e.props.displayProp(g):typeof g=="object"?g[e.props.displayProp]??"":g,ee=()=>{const g=new Map;return(e.props.itemsSource??[]).forEach(O=>g.set(O[d()],O)),g},K=()=>{if(e.props.filterMode==="remote"||!y)return e.props.itemsSource??[];const g=y.toLowerCase();return(e.props.itemsSource??[]).filter(O=>ne(O).toLowerCase().indexOf(g)>-1)},D=g=>{if(!y)return[{part:g,highlight:!1}];const O=$n(y),I=new RegExp(`(${O})`,"gi");return g.split(I).map(J=>({part:J,highlight:y.toLowerCase()===J.toLowerCase()}))},G=g=>new Set(r()).has(g[d()]),se=g=>V.some(O=>it(O.item,g)),ie=()=>{const g=r(),O=K();if(g.length<O.length||g.length===0||O.length===0)return!1;const I=new Set(g);return O.every(J=>I.has(J[d()]))},Q=()=>new Set(K().map(g=>g[d()])),_=()=>new Set(r()),E=()=>{const g=Q(),O=_();return!g.size||!O.size||O.size<g.size?!1:Array.from(g).every(I=>O.has(I))},M=()=>k.save||k.blur||k.change,U=()=>{const g=[];return e.props.required&&g.push({message:e.locale.MultiSelect.required.replace("{label}",e.props.label||""),type:"save",validator:O=>!!O.length}),[...g,...e.props.rules??[]]},S=async(g,O)=>{const I=U();if(I.length<=0)return;if(e.props.disabled)return!0;k[O]="",e.requestUpdate();const J=I.filter(le=>le.type===O);for(const le of J)if(!await le.validator(g))return k[O]=le.message,e.requestUpdate(),!1;return!0},x=async(g="save")=>M()!==""?!1:await S(r(),g)??!0,A={validate:x,initValidator:()=>{k.change="",k.blur="",k.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(A),e.onCleanup(()=>{var g;return(g=e.validator)==null?void 0:g.removeValidator(A)}));const F=g=>{if(e.props.disabled||e.props.readonly||e.props.loading)return;const O=ee(),I=new Set;r().forEach(le=>{const pe=O.get(le);(pe==null?void 0:pe[l()])===!0&&I.add(le)}),g.forEach(le=>{const pe=O.get(le);(pe&&pe[l()]!==!0||!pe&&e.props.preserveMissingValues)&&I.add(le)});const J=Array.from(I);it(r(),J)||(p(J),e.emit("change",J,J.map(le=>O.get(le)).filter(Boolean)),S(J,"change"))},f=(g,O)=>g.filter(I=>G(I)!==O).map(I=>I[d()]),B=(g,O,I)=>{if(I.shiftKey&&V.length>0){const J=V[0],le=Math.min(J.index,O),pe=Math.max(J.index,O);V=K().slice(le,pe+1).map((fe,ye)=>({item:fe,index:le+ye}))}else I.ctrlKey?V.push({item:g,index:O}):V=[{item:g,index:O}];return V.length},Y=(g=!0)=>{const O=V.map(le=>le.item),I=f(O,g);let J=r();g?J=[...J,...I]:J=J.filter(le=>!I.some(pe=>le===pe)),F(J)},j=(g,O,I)=>{if(g[l()]===!0)return;const J=V.some(pe=>pe.item[d()]===g[d()]);(V.length<=1||!J)&&B(g,O,{shiftKey:!1,ctrlKey:!1});const le=r().some(pe=>pe===g[d()]);Y(!le),I.stopPropagation()},we=(g,O,I)=>{g[l()]!==!0&&(!I.ctrlKey&&!I.shiftKey&&V.length<=1&&j(g,O,I),B(g,O,I),e.requestUpdate())},De=(g,O,I)=>{if(g[l()]===!0)return;const J=r(),le=_().size!==0&&J.every(pe=>pe===g[d()]);F(le?[]:[g[d()]]),B(g,O,I),I.stopPropagation()},Ne=g=>{g.stopPropagation();const O=Q().size===_().size&&[...Q()].every(I=>_().has(I));if(ie()&&O){const I=new Set((e.props.itemsSource??[]).filter(J=>J[l()]===!0).map(J=>J[d()]));F(Array.from(I))}else{const I=new Set(K().filter(J=>J[l()]!==!0).map(J=>J[d()]));F(Array.from(I))}},Oe=g=>{if(g.stopPropagation(),E()){const O=Q();F(r().filter(I=>!O.has(I)))}else{const O=new Set([...r(),...Q()]);F(Array.from(O))}},c=g=>{R=g.target.scrollTop>0,e.requestUpdate()},L=()=>{const g=r();if(!(g!=null&&g.length))return"";const O=ee(),I=g.map(le=>O.get(le)).filter(Boolean).map(le=>typeof e.props.displayProp=="function"?e.props.displayProp(le):le[e.props.displayProp]||""),J=e.props.itemsSource??[];return I.length===J.length&&I.length>2?`${e.props.headerFormat.replace(/\{count(:.*?)?}/g,"ALL")}`:I.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${I.length.toLocaleString()}`):I.join(", ")||""},Z=(g,O,I=10)=>{const J=window.innerHeight||document.documentElement.clientHeight,le=window.innerWidth||document.documentElement.clientWidth,pe=g.getBoundingClientRect(),fe=O.getBoundingClientRect(),ye=pe.bottom+fe.height+I>J;if(!ye)return!1;const Me=pe.top-fe.height-I<0,We=pe.right+fe.width+I>le,et=pe.left-fe.width-I<0;return ye&&!Me||We&&!et},re=()=>{const g=s.value;if(!g)return;const O=g.getBoundingClientRect();let I=`${O.width}px`;e.props.listBoxWidth&&(I=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),b={width:String(I),left:`${O.left}px`,top:`${O.top+($?0:O.height)}px`},e.requestUpdate()},de=g=>{var O;(O=n.value)!=null&&O.contains(g.target)||q(!1)},Se=g=>{var O,I;!((O=t.value)!=null&&O.contains(g.target))&&!((I=n.value)!=null&&I.contains(g.target))&&(q(!1),document.removeEventListener("click",Se,{capture:!0}))},be=g=>{var I;`${g.ctrlKey?"ctrl+":""}${g.altKey?"alt+":""}${g.key.toLowerCase()}`==="escape"&&(q(!1),(I=i.value)==null||I.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",de,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),window.removeEventListener("keydown",be)});let C=null;const q=g=>{if(u===g)return;const O=u;if(u=g,e.requestUpdate(),g)C=ht(),document.body.addEventListener("scroll",de,{capture:!0}),document.addEventListener("click",Se,{capture:!0}),k.save="",window.addEventListener("keydown",be),re(),queueMicrotask(()=>{var I;s.value&&m&&($=Z(s.value,m)),re(),W.measure(),m&&(m.scrollTop=0),a.value?a.value.focus():(I=i.value)==null||I.focus()});else if(C==null||C.release(),C=null,y="",a.value&&(a.value.value=""),document.body.removeEventListener("scroll",de,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),S(r(),"blur"),window.removeEventListener("keydown",be),O&&!g){const I=r();if(e.props.selectAllWhenEmpty&&(!I||I.length===0)){const J=(e.props.itemsSource??[]).filter(le=>le[l()]!==!0).map(le=>le[d()]);J.length>0&&(p(J),e.emit("change",J,(e.props.itemsSource??[]).filter(le=>J.includes(le[d()]))))}e.emit("close")}},Ce=g=>{var O;if(u){g.stopPropagation(),g.preventDefault();const I=(O=n.value)==null?void 0:O.querySelector("input:first-child, button:first-child");I==null||I.focus()}},ke=g=>{var le,pe,fe;const O=((le=n.value)==null?void 0:le.querySelectorAll("input, button"))??[],I=O[0],J=O[O.length-1];(g.target===I||g.target===J)&&i.value&&(g.target===I&&g.shiftKey?(g.stopPropagation(),g.preventDefault(),(pe=i.value)==null||pe.focus()):g.target===J&&!g.shiftKey&&(g.stopPropagation(),g.preventDefault(),(fe=i.value)==null||fe.focus()))},Ee=g=>{g.key==="Tab"&&Ce(g)},Te=g=>{!e.props.inline&&g.key==="Tab"&&ke(g)},Ve=g=>{!u&&!e.props.inline||(y=g.target.value,V=[],e.emit("update:filterValue",y),e.requestUpdate(),queueMicrotask(()=>{W.setOptions({...W.options,count:K().length}),W.measure(),m&&(m.scrollTop=0)}))},Ue=()=>{var g;e.props.disabled||(q(!u),(g=i.value)==null||g.focus())},Qe=(g,O)=>{var I,J;if(g.key==="Enter"||g.key===" "){g.preventDefault(),g.stopPropagation(),O();return}if(g.key==="ArrowDown"||g.key==="ArrowUp"){g.preventDefault(),g.stopPropagation();const le=Array.from(((I=n.value)==null?void 0:I.querySelectorAll('[tabindex="0"]'))??[]),pe=le.indexOf(g.currentTarget),fe=le[pe+(g.key==="ArrowDown"?1:-1)];fe==null||fe.focus();return}g.key==="Escape"&&!e.props.inline&&(g.preventDefault(),g.stopPropagation(),q(!1),(J=i.value)==null||J.focus())},ot=(g,O)=>{we(g,O,{ctrlKey:!1,shiftKey:!1,stopPropagation(){}})},Je=(g,O)=>{if(V=[],e.props.preserveMissingValues||JSON.stringify(g)===JSON.stringify(O))return;const I=new Set(g.map(le=>le[d()])),J=r();if(e.props.autoSelectNewItems&&O){const le=new Set(O.map(fe=>fe[d()])),pe=g.filter(fe=>!le.has(fe[d()])).map(fe=>fe[d()]);if(pe.length>0){const fe=J.filter(ye=>I.has(ye));p([...new Set([...fe,...pe])])}else p(J.filter(fe=>I.has(fe)))}else{const le=J.filter(pe=>I.has(pe));if(it(J,le))return;p(le)}},Ze=()=>{const g=e.props,O=d(),I=g.loading?[]:K();W.options.count!==I.length&&W.setOptions({...W.options,count:I.length}),W._willUpdate();const J=new Set(r()),le=Mt(W.getVirtualItems(),I.length,X,m).map(ye=>{if(ye.index>=I.length)return null;const Me=I[ye.index];return Me?{index:ye.index,value:Me,size:ye.size,start:ye.start,isSelected:J.has(Me[O]),isDisabled:!!g.disabled||!!g.readonly||Me[l()]===!0,isFocused:se(Me)}:null}).filter(ye=>ye!==null),pe=W.getTotalSize(),fe=y?e.locale.MultiSelect.selectFiltered:e.locale.MultiSelect.selectAll;return o.html`<div
1006
+ </svg>`}const bn=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 yn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const ss=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=()=>e.props.keyProp||"id",l=()=>e.props.disabledProp||"disabled";let h=e.props.modelValue??null;const r=()=>{const g=e.controlled("modelValue")?e.props.modelValue:h;return Array.isArray(g)?g:[]},p=g=>{e.controlled("modelValue")||(h=g),e.emit("update:modelValue",g),e.requestUpdate()};let u=!1;const v=Xe("moz-multiselect-listbox-");let y=e.props.filterValue??"",R=!1,$=!1,b={},V=[];const k={change:"",blur:"",save:""};let T=e.props.itemsSource;const X=(()=>{const g=e.props["dropdown-item-height"];if(g!=null)return+g;try{return+getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height").trim().replace("px","")||24}catch{return 24}})(),W=new Fe.Virtualizer({count:0,getScrollElement:()=>m,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(W._didMount());const te=g=>{m=g??null,g&&(W._willUpdate(),e.requestUpdate())},ne=g=>typeof e.props.displayProp=="function"?e.props.displayProp(g):typeof g=="object"?g[e.props.displayProp]??"":g,ee=()=>{const g=new Map;return(e.props.itemsSource??[]).forEach(O=>g.set(O[d()],O)),g},K=()=>{if(e.props.filterMode==="remote"||!y)return e.props.itemsSource??[];const g=y.toLowerCase();return(e.props.itemsSource??[]).filter(O=>ne(O).toLowerCase().indexOf(g)>-1)},D=g=>{if(!y)return[{part:g,highlight:!1}];const O=yn(y),I=new RegExp(`(${O})`,"gi");return g.split(I).map(J=>({part:J,highlight:y.toLowerCase()===J.toLowerCase()}))},G=g=>new Set(r()).has(g[d()]),se=g=>V.some(O=>it(O.item,g)),ie=()=>{const g=r(),O=K();if(g.length<O.length||g.length===0||O.length===0)return!1;const I=new Set(g);return O.every(J=>I.has(J[d()]))},Q=()=>new Set(K().map(g=>g[d()])),_=()=>new Set(r()),E=()=>{const g=Q(),O=_();return!g.size||!O.size||O.size<g.size?!1:Array.from(g).every(I=>O.has(I))},M=()=>k.save||k.blur||k.change,U=()=>{const g=[];return e.props.required&&g.push({message:e.locale.MultiSelect.required.replace("{label}",e.props.label||""),type:"save",validator:O=>!!O.length}),[...g,...e.props.rules??[]]},S=async(g,O)=>{const I=U();if(I.length<=0)return;if(e.props.disabled)return!0;k[O]="",e.requestUpdate();const J=I.filter(le=>le.type===O);for(const le of J)if(!await le.validator(g))return k[O]=le.message,e.requestUpdate(),!1;return!0},L=async(g="save")=>M()!==""?!1:await S(r(),g)??!0,A={validate:L,initValidator:()=>{k.change="",k.blur="",k.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(A),e.onCleanup(()=>{var g;return(g=e.validator)==null?void 0:g.removeValidator(A)}));const F=g=>{if(e.props.disabled||e.props.readonly||e.props.loading)return;const O=ee(),I=new Set;r().forEach(le=>{const pe=O.get(le);(pe==null?void 0:pe[l()])===!0&&I.add(le)}),g.forEach(le=>{const pe=O.get(le);(pe&&pe[l()]!==!0||!pe&&e.props.preserveMissingValues)&&I.add(le)});const J=Array.from(I);it(r(),J)||(p(J),e.emit("change",J,J.map(le=>O.get(le)).filter(Boolean)),S(J,"change"))},f=(g,O)=>g.filter(I=>G(I)!==O).map(I=>I[d()]),B=(g,O,I)=>{if(I.shiftKey&&V.length>0){const J=V[0],le=Math.min(J.index,O),pe=Math.max(J.index,O);V=K().slice(le,pe+1).map((fe,ye)=>({item:fe,index:le+ye}))}else I.ctrlKey?V.push({item:g,index:O}):V=[{item:g,index:O}];return V.length},Y=(g=!0)=>{const O=V.map(le=>le.item),I=f(O,g);let J=r();g?J=[...J,...I]:J=J.filter(le=>!I.some(pe=>le===pe)),F(J)},j=(g,O,I)=>{if(g[l()]===!0)return;const J=V.some(pe=>pe.item[d()]===g[d()]);(V.length<=1||!J)&&B(g,O,{shiftKey:!1,ctrlKey:!1});const le=r().some(pe=>pe===g[d()]);Y(!le),I.stopPropagation()},we=(g,O,I)=>{g[l()]!==!0&&(!I.ctrlKey&&!I.shiftKey&&V.length<=1&&j(g,O,I),B(g,O,I),e.requestUpdate())},De=(g,O,I)=>{if(g[l()]===!0)return;const J=r(),le=_().size!==0&&J.every(pe=>pe===g[d()]);F(le?[]:[g[d()]]),B(g,O,I),I.stopPropagation()},Ne=g=>{g.stopPropagation();const O=Q().size===_().size&&[...Q()].every(I=>_().has(I));if(ie()&&O){const I=new Set((e.props.itemsSource??[]).filter(J=>J[l()]===!0).map(J=>J[d()]));F(Array.from(I))}else{const I=new Set(K().filter(J=>J[l()]!==!0).map(J=>J[d()]));F(Array.from(I))}},Oe=g=>{if(g.stopPropagation(),E()){const O=Q();F(r().filter(I=>!O.has(I)))}else{const O=new Set([...r(),...Q()]);F(Array.from(O))}},c=g=>{R=g.target.scrollTop>0,e.requestUpdate()},x=()=>{const g=r();if(!(g!=null&&g.length))return"";const O=ee(),I=g.map(le=>O.get(le)).filter(Boolean).map(le=>typeof e.props.displayProp=="function"?e.props.displayProp(le):le[e.props.displayProp]||""),J=e.props.itemsSource??[];return I.length===J.length&&I.length>2?`${e.props.headerFormat.replace(/\{count(:.*?)?}/g,"ALL")}`:I.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${I.length.toLocaleString()}`):I.join(", ")||""},Z=(g,O,I=10)=>{const J=window.innerHeight||document.documentElement.clientHeight,le=window.innerWidth||document.documentElement.clientWidth,pe=g.getBoundingClientRect(),fe=O.getBoundingClientRect(),ye=pe.bottom+fe.height+I>J;if(!ye)return!1;const Me=pe.top-fe.height-I<0,We=pe.right+fe.width+I>le,et=pe.left-fe.width-I<0;return ye&&!Me||We&&!et},re=()=>{const g=s.value;if(!g)return;const O=g.getBoundingClientRect();let I=`${O.width}px`;e.props.listBoxWidth&&(I=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),b={width:String(I),left:`${O.left}px`,top:`${O.top+($?0:O.height)}px`},e.requestUpdate()},de=g=>{var O;(O=n.value)!=null&&O.contains(g.target)||q(!1)},Se=g=>{var O,I;!((O=t.value)!=null&&O.contains(g.target))&&!((I=n.value)!=null&&I.contains(g.target))&&(q(!1),document.removeEventListener("click",Se,{capture:!0}))},be=g=>{var I;`${g.ctrlKey?"ctrl+":""}${g.altKey?"alt+":""}${g.key.toLowerCase()}`==="escape"&&(q(!1),(I=i.value)==null||I.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",de,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),window.removeEventListener("keydown",be)});let C=null;const q=g=>{if(u===g)return;const O=u;if(u=g,e.requestUpdate(),g)C=ht(),document.body.addEventListener("scroll",de,{capture:!0}),document.addEventListener("click",Se,{capture:!0}),k.save="",window.addEventListener("keydown",be),re(),queueMicrotask(()=>{var I;s.value&&m&&($=Z(s.value,m)),re(),W.measure(),m&&(m.scrollTop=0),a.value?a.value.focus():(I=i.value)==null||I.focus()});else if(C==null||C.release(),C=null,y="",a.value&&(a.value.value=""),document.body.removeEventListener("scroll",de,{capture:!0}),document.removeEventListener("click",Se,{capture:!0}),S(r(),"blur"),window.removeEventListener("keydown",be),O&&!g){const I=r();if(e.props.selectAllWhenEmpty&&(!I||I.length===0)){const J=(e.props.itemsSource??[]).filter(le=>le[l()]!==!0).map(le=>le[d()]);J.length>0&&(p(J),e.emit("change",J,(e.props.itemsSource??[]).filter(le=>J.includes(le[d()]))))}e.emit("close")}},Ce=g=>{var O;if(u){g.stopPropagation(),g.preventDefault();const I=(O=n.value)==null?void 0:O.querySelector("input:first-child, button:first-child");I==null||I.focus()}},ke=g=>{var le,pe,fe;const O=((le=n.value)==null?void 0:le.querySelectorAll("input, button"))??[],I=O[0],J=O[O.length-1];(g.target===I||g.target===J)&&i.value&&(g.target===I&&g.shiftKey?(g.stopPropagation(),g.preventDefault(),(pe=i.value)==null||pe.focus()):g.target===J&&!g.shiftKey&&(g.stopPropagation(),g.preventDefault(),(fe=i.value)==null||fe.focus()))},Ee=g=>{g.key==="Tab"&&Ce(g)},Te=g=>{!e.props.inline&&g.key==="Tab"&&ke(g)},Ve=g=>{!u&&!e.props.inline||(y=g.target.value,V=[],e.emit("update:filterValue",y),e.requestUpdate(),queueMicrotask(()=>{W.setOptions({...W.options,count:K().length}),W.measure(),m&&(m.scrollTop=0)}))},Ue=()=>{var g;e.props.disabled||(q(!u),(g=i.value)==null||g.focus())},Qe=(g,O)=>{var I,J;if(g.key==="Enter"||g.key===" "){g.preventDefault(),g.stopPropagation(),O();return}if(g.key==="ArrowDown"||g.key==="ArrowUp"){g.preventDefault(),g.stopPropagation();const le=Array.from(((I=n.value)==null?void 0:I.querySelectorAll('[tabindex="0"]'))??[]),pe=le.indexOf(g.currentTarget),fe=le[pe+(g.key==="ArrowDown"?1:-1)];fe==null||fe.focus();return}g.key==="Escape"&&!e.props.inline&&(g.preventDefault(),g.stopPropagation(),q(!1),(J=i.value)==null||J.focus())},ot=(g,O)=>{we(g,O,{ctrlKey:!1,shiftKey:!1,stopPropagation(){}})},Je=(g,O)=>{if(V=[],e.props.preserveMissingValues||JSON.stringify(g)===JSON.stringify(O))return;const I=new Set(g.map(le=>le[d()])),J=r();if(e.props.autoSelectNewItems&&O){const le=new Set(O.map(fe=>fe[d()])),pe=g.filter(fe=>!le.has(fe[d()])).map(fe=>fe[d()]);if(pe.length>0){const fe=J.filter(ye=>I.has(ye));p([...new Set([...fe,...pe])])}else p(J.filter(fe=>I.has(fe)))}else{const le=J.filter(pe=>I.has(pe));if(it(J,le))return;p(le)}},Ze=()=>{const g=e.props,O=d(),I=g.loading?[]:K();W.options.count!==I.length&&W.setOptions({...W.options,count:I.length}),W._willUpdate();const J=new Set(r()),le=Tt(W.getVirtualItems(),I.length,X,m).map(ye=>{if(ye.index>=I.length)return null;const Me=I[ye.index];return Me?{index:ye.index,value:Me,size:ye.size,start:ye.start,isSelected:J.has(Me[O]),isDisabled:!!g.disabled||!!g.readonly||Me[l()]===!0,isFocused:se(Me)}:null}).filter(ye=>ye!==null),pe=W.getTotalSize(),fe=y?e.locale.MultiSelect.selectFiltered:e.locale.MultiSelect.selectAll;return o.html`<div
1007
1007
  class=${z("list-box",{"no-label":!g.label,"show-top":$,"moz-multiselect-inline-list":!!g.inline},g.class)}
1008
1008
  style=${oe.styleMap(g.inline?{"--moz-multiselect-list-height":`${g.listBoxHeight??224}px`}:b)}
1009
1009
  @keydown=${Te}
@@ -1018,7 +1018,7 @@
1018
1018
  @input=${Ve}
1019
1019
  ${N.ref(a)}
1020
1020
  />
1021
- <div class="search-icon">${bn("12","var(--moz-color-text-subtle)")}</div>
1021
+ <div class="search-icon">${Cn("12","var(--moz-color-text-subtle)")}</div>
1022
1022
  </div>`:o.nothing}
1023
1023
  ${g.useSelectAll&&(g.itemsSource??[]).length>0&&I.length>0?o.html`<div
1024
1024
  class=${z("list-box-item multi-select-item multi-select-all",{"is-scrolled":R})}
@@ -1049,15 +1049,15 @@
1049
1049
  id=${v}
1050
1050
  role="listbox"
1051
1051
  aria-multiselectable="true"
1052
- aria-label=${Le.ifDefined(g["aria-label"]??g.label??void 0)}
1052
+ aria-label=${xe.ifDefined(g["aria-label"]??g.label??void 0)}
1053
1053
  aria-busy=${g.loading?"true":"false"}
1054
1054
  class="list-box-container"
1055
1055
  @scroll=${c}
1056
1056
  ${N.ref(te)}
1057
1057
  >
1058
1058
  <div class="inner-container" style=${oe.styleMap({height:`${pe}px`})}>
1059
- ${le.map(({index:ye,value:Me,start:We,size:et,isSelected:rt,isDisabled:st,isFocused:At})=>o.html`<div
1060
- class=${z("list-box-item multi-select-item virtual-row",{"list-selected":rt,"moz-multi-focus":At})}
1059
+ ${le.map(({index:ye,value:Me,start:We,size:et,isSelected:rt,isDisabled:st,isFocused:zt})=>o.html`<div
1060
+ class=${z("list-box-item multi-select-item virtual-row",{"list-selected":rt,"moz-multi-focus":zt})}
1061
1061
  style=${oe.styleMap({height:`${et}px`,transform:`translateY(${We}px)`})}
1062
1062
  role="option"
1063
1063
  aria-selected=${rt?"true":"false"}
@@ -1087,9 +1087,9 @@
1087
1087
  ${g.loading?g.loadingText??"Loading…":e.slots.has("empty")?e.slot("empty"):e.locale.MultiSelect.noData}
1088
1088
  </div>`:o.nothing}
1089
1089
  </div>
1090
- </div>`};return{api:{validate:x},render(){const g=e.props;if(e.controlled("filterValue")&&(y=g.filterValue??""),g.itemsSource!==T){const fe=T,ye=g.itemsSource;T=g.itemsSource,queueMicrotask(()=>Je(ye??[],fe??[]))}const O=typeof g.width=="number"?`${xe(g.width)}rem`:g.width,I=ge(g,yn),{aria:J,dom:le}=ut(I);if(g.inline)return o.html`<div class="moz-multi-select moz-multi-select-inline"
1090
+ </div>`};return{api:{validate:L},render(){const g=e.props;if(e.controlled("filterValue")&&(y=g.filterValue??""),g.itemsSource!==T){const fe=T,ye=g.itemsSource;T=g.itemsSource,queueMicrotask(()=>Je(ye??[],fe??[]))}const O=typeof g.width=="number"?`${Le(g.width)}rem`:g.width,I=ge(g,bn),{aria:J,dom:le}=ut(I);if(g.inline)return o.html`<div class="moz-multi-select moz-multi-select-inline"
1091
1091
  style=${oe.styleMap({width:O,...$e(g.style)})}
1092
- ${N.ref(t)}>${Ze()}</div>`;const pe=e.slots.has("icon")?e.slot("icon",{isOpen:u}):u?Cn("14","var(--moz-color-accent)"):wn("14",g.disabled?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)");return o.html`
1092
+ ${N.ref(t)}>${Ze()}</div>`;const pe=e.slots.has("icon")?e.slot("icon",{isOpen:u}):u?wn("14","var(--moz-color-accent)"):vn("14",g.disabled?"var(--moz-color-text-muted)":"var(--moz-color-text-subtle)");return o.html`
1093
1093
  <div
1094
1094
  class=${z("moz-multi-select",{"is-invalid":M()!=="","is-open":u,disabled:!!g.disabled})}
1095
1095
  style=${oe.styleMap({width:O,...$e(g.style)})}
@@ -1100,7 +1100,7 @@
1100
1100
  <div class="moz-input-container" @click=${Ue} ${N.ref(s)}>
1101
1101
  <input
1102
1102
  ${ue(le)}
1103
- .value=${L()}
1103
+ .value=${x()}
1104
1104
  autocomplete="off"
1105
1105
  readonly
1106
1106
  tabindex="-1"
@@ -1113,7 +1113,7 @@
1113
1113
  aria-haspopup="listbox"
1114
1114
  aria-expanded=${u?"true":"false"}
1115
1115
  aria-controls=${v}
1116
- aria-label=${Le.ifDefined(J["aria-label"]??g.label??void 0)}
1116
+ aria-label=${xe.ifDefined(J["aria-label"]??g.label??void 0)}
1117
1117
  ?disabled=${!!g.disabled}
1118
1118
  @keydown=${Ee}
1119
1119
  ${N.ref(i)}
@@ -1125,7 +1125,7 @@
1125
1125
 
1126
1126
  ${M()!==""?o.html`<span class="moz-input-invalid-message">${M()}</span>`:o.nothing}
1127
1127
  </div>
1128
- `},renderPortal(){return e.props.inline||!u?o.nothing:Ze()}}}}),Sn={name:"MozMultiSelect",core:ls,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 ns(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 kn(e="14",t="var(--moz-color-text-subtle)"){const s=ns(e,14);return o.html`<svg width=${s.width} height=${s.height} viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1128
+ `},renderPortal(){return e.props.inline||!u?o.nothing:Ze()}}}}),$n={name:"MozMultiSelect",core:ss,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 ls(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 Sn(e="14",t="var(--moz-color-text-subtle)"){const s=ls(e,14);return o.html`<svg width=${s.width} height=${s.height} viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1129
1129
  <g clip-path="url(#clip0_4513_575)">
1130
1130
  <path
1131
1131
  fill-rule="evenodd"
@@ -1139,7 +1139,7 @@
1139
1139
  <rect width=${s.width} height=${s.height} fill="white" transform="translate(0 0.704163)"></rect>
1140
1140
  </clipPath>
1141
1141
  </defs>
1142
- </svg>`}function mo(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=ns(e,12),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n||o.nothing} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 16 16">
1142
+ </svg>`}function ho(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=ls(e,12),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n||o.nothing} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 16 16">
1143
1143
  <g style=${`fill: ${a}`}>
1144
1144
  <path
1145
1145
  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"
@@ -1152,7 +1152,7 @@
1152
1152
  transform="translate(-829.971 -686.318)"
1153
1153
  ></path>
1154
1154
  </g>
1155
- </svg>`}const En=new Set(["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required","class","style"]),Pn=Array.from({length:24},(e,t)=>t),Ln=Array.from({length:60},(e,t)=>t),is=ve({name:"moz-time-picker",defaults:{width:"160px",modelValue:"09:00",label:"",disabled:!1,required:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=!1,l=9,h=0,r="",p="";const u=D=>{if(D&&D.includes(":")){const[G,se]=D.split(":").map(Number);!isNaN(G)&&!isNaN(se)&&(l=G,h=se,r=D,p=D)}};u(e.props.modelValue);let v=e.props.modelValue,y=r;const R=new pt({anchor:()=>s.value??null,panel:()=>i.value??null,maxHeight:()=>210,container:()=>t.value??null,listWidth:()=>"160px",requestClose:()=>{d&&b(!1)}});e.onCleanup(()=>R.destroy());const $=()=>{a.value&&(a.value.scrollTop=l*24-72),m.value&&(m.value.scrollTop=h*24-72)},b=D=>{d!==D&&(d=D,e.requestUpdate(),D?(R.open(),queueMicrotask($)):R.close())},V=()=>{const D=`${l.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;r=D,p=D,e.emit("update:modelValue",D),e.requestUpdate()},k=D=>{l=D,V()},T=D=>{h=D,b(!1),V()},X=()=>{l=new Date().getHours(),h=new Date().getMinutes(),V(),b(!1)},W=D=>{let G=D.replace(/[^\d:]/g,"");return G.length>5&&(G=G.slice(0,5)),G},te=D=>{b(!1);const G=D.target,se=D.key;if(!/^\d$/.test(se))return;const ie=G.selectionStart||0,Q=r;if(G.selectionStart!==G.selectionEnd||ie>=Q.length)return;D.preventDefault();const _=Q.replace(/:/g,""),E=(Q.slice(0,ie).match(/:/g)||[]).length,M=ie-E;let U=_.substring(0,M)+se;M+1<_.length&&(U+=_.substring(M+1)),U.length>4&&(U=U.slice(0,4));let S=U,x=M+1;if(U.length>=2){const A=U.slice(0,2),F=U.slice(2);S=`${A}:${F}`,x>2&&(x=x+1)}r=S,p=S,e.requestUpdate(),queueMicrotask(()=>G.setSelectionRange(x,x))},ne=D=>{const G=D.target,se=G.selectionStart||0,ie=p;let Q=G.value;const _=Q.length<ie.length;Q=W(Q);const E=Q.replace(/:/g,"");if(!_&&E.length>=2){const M=(Q.slice(0,se).match(/:/g)||[]).length,U=se-M,S=E.slice(0,2),x=E.slice(2);Q=S+(x?`:${x}`:":");let A=U;U>2&&(A=U+1),r=Q,p=Q,e.requestUpdate(),setTimeout(()=>G.setSelectionRange(A,A),0);return}r=Q,p=Q,e.requestUpdate()},ee=()=>b(!0),K=()=>{if(!r){V();return}let D=r;!D.includes(":")&&D.length>=2&&(D=`${D.slice(0,2)}:${D.slice(2)}`);const G=D.split(":");let se=l,ie=h;if(G[0]){const Q=parseInt(G[0],10);isNaN(Q)||(Q>=0&&Q<=23?se=Q:Q>23?se=23:se=0)}if(G[1]){const Q=parseInt(G[1],10);isNaN(Q)||(Q>=0&&Q<=59?ie=Q:Q>59?ie=59:ie=0)}l=se,h=ie,V()};return{render(){const D=e.props;if(D.modelValue!==v&&(v=D.modelValue,u(D.modelValue)),r!==y){y=r;const _=r;if(/^\d{2}:\d{2}$/.test(_)){const[E,M]=_.split(":").map(Number);!isNaN(E)&&!isNaN(M)&&E>=0&&E<=23&&M>=0&&M<=59&&_!==D.modelValue&&(l=E,h=M,queueMicrotask(()=>e.emit("update:modelValue",_)))}}const G=D.disabled?"var(--moz-color-text-muted)":d?"var(--moz-color-accent)":"var(--moz-color-text-subtle)",se=ge(D,En),ie="__:__",Q=[];for(let _=0;_<ie.length;_++)_<r.length?Q.push({char:r[_],isInput:!0}):Q.push({char:ie[_],isInput:!1});return o.html`
1155
+ </svg>`}const kn=new Set(["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required","class","style"]),En=Array.from({length:24},(e,t)=>t),Pn=Array.from({length:60},(e,t)=>t),ns=ve({name:"moz-time-picker",defaults:{width:"160px",modelValue:"09:00",label:"",disabled:!1,required:!1},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=!1,l=9,h=0,r="",p="";const u=D=>{if(D&&D.includes(":")){const[G,se]=D.split(":").map(Number);!isNaN(G)&&!isNaN(se)&&(l=G,h=se,r=D,p=D)}};u(e.props.modelValue);let v=e.props.modelValue,y=r;const R=new pt({anchor:()=>s.value??null,panel:()=>i.value??null,maxHeight:()=>210,container:()=>t.value??null,listWidth:()=>"160px",requestClose:()=>{d&&b(!1)}});e.onCleanup(()=>R.destroy());const $=()=>{a.value&&(a.value.scrollTop=l*24-72),m.value&&(m.value.scrollTop=h*24-72)},b=D=>{d!==D&&(d=D,e.requestUpdate(),D?(R.open(),queueMicrotask($)):R.close())},V=()=>{const D=`${l.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`;r=D,p=D,e.emit("update:modelValue",D),e.requestUpdate()},k=D=>{l=D,V()},T=D=>{h=D,b(!1),V()},X=()=>{l=new Date().getHours(),h=new Date().getMinutes(),V(),b(!1)},W=D=>{let G=D.replace(/[^\d:]/g,"");return G.length>5&&(G=G.slice(0,5)),G},te=D=>{b(!1);const G=D.target,se=D.key;if(!/^\d$/.test(se))return;const ie=G.selectionStart||0,Q=r;if(G.selectionStart!==G.selectionEnd||ie>=Q.length)return;D.preventDefault();const _=Q.replace(/:/g,""),E=(Q.slice(0,ie).match(/:/g)||[]).length,M=ie-E;let U=_.substring(0,M)+se;M+1<_.length&&(U+=_.substring(M+1)),U.length>4&&(U=U.slice(0,4));let S=U,L=M+1;if(U.length>=2){const A=U.slice(0,2),F=U.slice(2);S=`${A}:${F}`,L>2&&(L=L+1)}r=S,p=S,e.requestUpdate(),queueMicrotask(()=>G.setSelectionRange(L,L))},ne=D=>{const G=D.target,se=G.selectionStart||0,ie=p;let Q=G.value;const _=Q.length<ie.length;Q=W(Q);const E=Q.replace(/:/g,"");if(!_&&E.length>=2){const M=(Q.slice(0,se).match(/:/g)||[]).length,U=se-M,S=E.slice(0,2),L=E.slice(2);Q=S+(L?`:${L}`:":");let A=U;U>2&&(A=U+1),r=Q,p=Q,e.requestUpdate(),setTimeout(()=>G.setSelectionRange(A,A),0);return}r=Q,p=Q,e.requestUpdate()},ee=()=>b(!0),K=()=>{if(!r){V();return}let D=r;!D.includes(":")&&D.length>=2&&(D=`${D.slice(0,2)}:${D.slice(2)}`);const G=D.split(":");let se=l,ie=h;if(G[0]){const Q=parseInt(G[0],10);isNaN(Q)||(Q>=0&&Q<=23?se=Q:Q>23?se=23:se=0)}if(G[1]){const Q=parseInt(G[1],10);isNaN(Q)||(Q>=0&&Q<=59?ie=Q:Q>59?ie=59:ie=0)}l=se,h=ie,V()};return{render(){const D=e.props;if(D.modelValue!==v&&(v=D.modelValue,u(D.modelValue)),r!==y){y=r;const _=r;if(/^\d{2}:\d{2}$/.test(_)){const[E,M]=_.split(":").map(Number);!isNaN(E)&&!isNaN(M)&&E>=0&&E<=23&&M>=0&&M<=59&&_!==D.modelValue&&(l=E,h=M,queueMicrotask(()=>e.emit("update:modelValue",_)))}}const G=D.disabled?"var(--moz-color-text-muted)":d?"var(--moz-color-accent)":"var(--moz-color-text-subtle)",se=ge(D,kn),ie="__:__",Q=[];for(let _=0;_<ie.length;_++)_<r.length?Q.push({char:r[_],isInput:!0}):Q.push({char:ie[_],isInput:!1});return o.html`
1156
1156
  <div
1157
1157
  class=${z("custom-time-picker",D.class,{"custom-time-picker--has-class":!!D.class})}
1158
1158
  style=${oe.styleMap({width:D.width,...$e(D.style)})}
@@ -1186,7 +1186,7 @@
1186
1186
  </div>
1187
1187
  </div>
1188
1188
  <div class="icon-container">
1189
- <span @click=${()=>b(!0)}>${kn("14",G)}</span>
1189
+ <span @click=${()=>b(!0)}>${Sn("14",G)}</span>
1190
1190
  </div>
1191
1191
  </div>
1192
1192
  </div>
@@ -1196,9 +1196,9 @@
1196
1196
  <div class="time-label">${D.hourLabel??e.locale.TimePicker.hour}</div>
1197
1197
  <div class="time-list">
1198
1198
  <div class="time-option-wrapper" ${N.ref(a)}>
1199
- ${Pn.map(G=>o.html`<div @click=${()=>k(G)} class="time-option">
1199
+ ${En.map(G=>o.html`<div @click=${()=>k(G)} class="time-option">
1200
1200
  <div class="time-option-text">${G.toString().padStart(2,"0")}</div>
1201
- ${l===G?mo("12","var(--moz-color-accent)",!1,"check-icon"):o.nothing}
1201
+ ${l===G?ho("12","var(--moz-color-accent)",!1,"check-icon"):o.nothing}
1202
1202
  </div>`)}
1203
1203
  </div>
1204
1204
  </div>
@@ -1207,9 +1207,9 @@
1207
1207
  <div class="time-label">${D.minuteLabel??e.locale.TimePicker.minute}</div>
1208
1208
  <div class="time-list">
1209
1209
  <div class="time-option-wrapper" ${N.ref(m)}>
1210
- ${Ln.map(G=>o.html`<div @click=${()=>T(G)} class="time-option">
1210
+ ${Pn.map(G=>o.html`<div @click=${()=>T(G)} class="time-option">
1211
1211
  <div class="time-option-text">${G.toString().padStart(2,"0")}</div>
1212
- ${h===G?mo("12","var(--moz-color-accent)",!1,"check-icon"):o.nothing}
1212
+ ${h===G?ho("12","var(--moz-color-accent)",!1,"check-icon"):o.nothing}
1213
1213
  </div>`)}
1214
1214
  </div>
1215
1215
  </div>
@@ -1218,9 +1218,9 @@
1218
1218
  <div class="time-picker-footer" @click=${X}>
1219
1219
  ${D.currentTimeLabel??e.locale.TimePicker.currentTime}
1220
1220
  </div>
1221
- </div>`}}}}),xn={name:"MozTimePicker",core:is,props:["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required"],emits:["update:modelValue"],slots:[],expose:!1};function Tn(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 Ht(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1221
+ </div>`}}}}),xn={name:"MozTimePicker",core:ns,props:["width","modelValue","label","disabled","hourLabel","minuteLabel","currentTimeLabel","required"],emits:["update:modelValue"],slots:[],expose:!1};function Ln(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 Ot(e="var(--moz-color-text-subtle)",t=""){return o.html`<svg class=${t} width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1222
1222
  <path d="M9 3L3 9M3 3L9 9" stroke=${e} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
1223
- </svg>`}function fo(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=Tn(e,12),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 12 12">
1223
+ </svg>`}function mo(e="12",t="var(--moz-color-text-subtle)",s=!1,n=""){const i=Ln(e,12),a=s?"var(--moz-color-text-muted)":t;return o.html`<svg class=${n} xmlns="http://www.w3.org/2000/svg" width=${i.width} height=${i.height} viewBox="0 0 12 12">
1224
1224
  <g transform="translate(-0.005)">
1225
1225
  <path
1226
1226
  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"
@@ -1230,12 +1230,12 @@
1230
1230
  stroke-width="0.6"
1231
1231
  ></path>
1232
1232
  </g>
1233
- </svg>`}const Mn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","class","style"]);function zn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}const rs=ve({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=N.createRef(),s=N.createRef();let n=null,i=[],a=!1,m=!1,d="",l=!1,h={};const r=()=>e.props,p=f=>r().pattern?new RegExp(`${r().pattern}`).test(f):!0,u=()=>i.map((f,B)=>({...f,idx:B})).filter(f=>f.isSelected!==-1).sort((f,B)=>f.isSelected-B.isSelected),v=()=>u().map(f=>f.value),y=()=>!u().some(f=>!f.isValid),R=(f,B)=>{const Y=r().limitItemLength;(!B||B&&Y&&u().length<Y||B&&!Y)&&(B&&i[f].isSelected===-1||!B)&&(i[f].isSelected=B?Date.now():-1)},$=(f,B)=>{const Y=i.findIndex(De=>De.value===f);if(Y!==-1)return v().includes(f)?!1:(R(Y,!0),!0);const j={key:Date.now(),isSelected:B?Date.now():-1,isValid:p(f),isEditing:!1,beforeValue:f,value:f};j.isValid&&r().requestCreate&&r().requestCreate(f);const we=r().limitItemLength;return!B||!we||B&&we&&u().length<we?(i.push(j),!0):!1},b=f=>{i.splice(f,1)},V=f=>{i[f].isValid=p(i[f].value),i[f].isValid&&r().requestUpdate&&r().requestUpdate({before:i[f].beforeValue,after:i[f].value}),i[f].beforeValue=i[f].value},k=()=>{i=i.filter(f=>f.isSelected!==-1),(r().itemsSource??[]).forEach(f=>{$(r().displayKey?f[r().displayKey]:f,!1)})};k();const T=()=>{const f=r().modelValue;if(f&&f.toString()!==v().toString()){const B=[...f];i.forEach((Y,j)=>{const we=B.indexOf(Y.value);we!==-1&&(Y.key===-1&&R(j,!0),B.splice(we,1))}),B.forEach(Y=>$(Y,!0))}};T();let X=r().modelValue,W=r().itemsSource,te=v().toString();const ne=()=>{if(!t.value||!s.value)return;const f=t.value.getBoundingClientRect();let B=f.left;f.left+s.value.clientWidth>document.body.clientWidth&&(B-=s.value.clientWidth-f.width),h={minWidth:`${f.width}px`,width:`${f.width}px`,left:`${B}px`,top:`${f.top}px`},e.requestUpdate()},ee=f=>{const B=f.target,Y=()=>{d&&r().pushOnBlur&&$(d,!0)&&e.emit("modelChange",v()),d="",m=!1,a=!1};B.className&&Array.from(String(B.className).split(" ")).includes("tag-input-not-close")||Y(),_(""),window.removeEventListener("mousedown",ee),e.requestUpdate()},K=()=>{a=!0,window.addEventListener("mousedown",ee),e.requestUpdate(),queueMicrotask(ne)};e.onCleanup(()=>window.removeEventListener("mousedown",ee));const D=f=>{setTimeout(()=>{const B=s.value,Y=B==null?void 0:B.querySelector(`[data-edit-idx="${f}"] .moz-auto-input`);Y==null||Y.focus()},0)},G=f=>{i[f].isEditing=!0,e.requestUpdate(),D(f)},se=()=>{m=!0,K(),setTimeout(()=>n==null?void 0:n.focus(),0)},ie=f=>{if(f.key==="Enter"&&d===""&&e.emit("onEnterEmpty",v()),(f.key==="Enter"||f.key==="Tab"&&r().pushOnBlur)&&d!==""&&($(d,!0)&&(e.emit("modelChange",v()),d=""),e.requestUpdate()),f.key==="Tab"&&(a=!1,m=!1,e.requestUpdate()),f.key==="Backspace"){const B=f.target,Y=u();B.selectionStart===0&&Y.length>0&&(R(Y[Y.length-1].idx,!1),e.requestUpdate())}},Q=f=>{r().dynamicSearch&&r().requestRead&&(l=!0,e.requestUpdate(),_(f.target.value))},_=zn(f=>{r().requestRead&&r().requestRead(f).then(()=>{l=!1,e.requestUpdate()})},300),E=(f,B)=>{f.key==="Backspace"&&i[B].value===""&&i.length>1&&(b(B),e.requestUpdate())},M=f=>{f.key==="Enter"&&(m=!0,e.requestUpdate(),setTimeout(()=>n==null?void 0:n.focus(),0))},U=f=>{i[f].value===""&&b(f),(i.length>1||i[f]&&i[f].value!=="")&&i[f]&&(i[f].isEditing=!1),i[f]&&V(f),e.requestUpdate()},S=f=>{R(f,!0),e.requestUpdate(),n==null||n.focus()},x=f=>{f.style.width="1px",f.style.width=`${f.scrollWidth}px`},A=f=>{const B=r().limitTextLength;return o.html`<input
1233
+ </svg>`}const Tn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","class","style"]);function Mn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}const is=ve({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=N.createRef(),s=N.createRef();let n=null,i=[],a=!1,m=!1,d="",l=!1,h={};const r=()=>e.props,p=f=>r().pattern?new RegExp(`${r().pattern}`).test(f):!0,u=()=>i.map((f,B)=>({...f,idx:B})).filter(f=>f.isSelected!==-1).sort((f,B)=>f.isSelected-B.isSelected),v=()=>u().map(f=>f.value),y=()=>!u().some(f=>!f.isValid),R=(f,B)=>{const Y=r().limitItemLength;(!B||B&&Y&&u().length<Y||B&&!Y)&&(B&&i[f].isSelected===-1||!B)&&(i[f].isSelected=B?Date.now():-1)},$=(f,B)=>{const Y=i.findIndex(De=>De.value===f);if(Y!==-1)return v().includes(f)?!1:(R(Y,!0),!0);const j={key:Date.now(),isSelected:B?Date.now():-1,isValid:p(f),isEditing:!1,beforeValue:f,value:f};j.isValid&&r().requestCreate&&r().requestCreate(f);const we=r().limitItemLength;return!B||!we||B&&we&&u().length<we?(i.push(j),!0):!1},b=f=>{i.splice(f,1)},V=f=>{i[f].isValid=p(i[f].value),i[f].isValid&&r().requestUpdate&&r().requestUpdate({before:i[f].beforeValue,after:i[f].value}),i[f].beforeValue=i[f].value},k=()=>{i=i.filter(f=>f.isSelected!==-1),(r().itemsSource??[]).forEach(f=>{$(r().displayKey?f[r().displayKey]:f,!1)})};k();const T=()=>{const f=r().modelValue;if(f&&f.toString()!==v().toString()){const B=[...f];i.forEach((Y,j)=>{const we=B.indexOf(Y.value);we!==-1&&(Y.key===-1&&R(j,!0),B.splice(we,1))}),B.forEach(Y=>$(Y,!0))}};T();let X=r().modelValue,W=r().itemsSource,te=v().toString();const ne=()=>{if(!t.value||!s.value)return;const f=t.value.getBoundingClientRect();let B=f.left;f.left+s.value.clientWidth>document.body.clientWidth&&(B-=s.value.clientWidth-f.width),h={minWidth:`${f.width}px`,width:`${f.width}px`,left:`${B}px`,top:`${f.top}px`},e.requestUpdate()},ee=f=>{const B=f.target,Y=()=>{d&&r().pushOnBlur&&$(d,!0)&&e.emit("modelChange",v()),d="",m=!1,a=!1};B.className&&Array.from(String(B.className).split(" ")).includes("tag-input-not-close")||Y(),_(""),window.removeEventListener("mousedown",ee),e.requestUpdate()},K=()=>{a=!0,window.addEventListener("mousedown",ee),e.requestUpdate(),queueMicrotask(ne)};e.onCleanup(()=>window.removeEventListener("mousedown",ee));const D=f=>{setTimeout(()=>{const B=s.value,Y=B==null?void 0:B.querySelector(`[data-edit-idx="${f}"] .moz-auto-input`);Y==null||Y.focus()},0)},G=f=>{i[f].isEditing=!0,e.requestUpdate(),D(f)},se=()=>{m=!0,K(),setTimeout(()=>n==null?void 0:n.focus(),0)},ie=f=>{if(f.key==="Enter"&&d===""&&e.emit("onEnterEmpty",v()),(f.key==="Enter"||f.key==="Tab"&&r().pushOnBlur)&&d!==""&&($(d,!0)&&(e.emit("modelChange",v()),d=""),e.requestUpdate()),f.key==="Tab"&&(a=!1,m=!1,e.requestUpdate()),f.key==="Backspace"){const B=f.target,Y=u();B.selectionStart===0&&Y.length>0&&(R(Y[Y.length-1].idx,!1),e.requestUpdate())}},Q=f=>{r().dynamicSearch&&r().requestRead&&(l=!0,e.requestUpdate(),_(f.target.value))},_=Mn(f=>{r().requestRead&&r().requestRead(f).then(()=>{l=!1,e.requestUpdate()})},300),E=(f,B)=>{f.key==="Backspace"&&i[B].value===""&&i.length>1&&(b(B),e.requestUpdate())},M=f=>{f.key==="Enter"&&(m=!0,e.requestUpdate(),setTimeout(()=>n==null?void 0:n.focus(),0))},U=f=>{i[f].value===""&&b(f),(i.length>1||i[f]&&i[f].value!=="")&&i[f]&&(i[f].isEditing=!1),i[f]&&V(f),e.requestUpdate()},S=f=>{R(f,!0),e.requestUpdate(),n==null||n.focus()},L=f=>{f.style.width="1px",f.style.width=`${f.scrollWidth}px`},A=f=>{const B=r().limitTextLength;return o.html`<input
1234
1234
  class="moz-auto-input tag-input-common tag-input-add"
1235
1235
  .value=${f.value}
1236
1236
  style="width:1px"
1237
- ${N.ref(Y=>{var we;const j=Y??null;j&&x(j),(we=f.captureEl)==null||we.call(f,j)})}
1238
- @input=${Y=>{var we;const j=Y.target;B&&j.value.length<=B||!B||B===-1?f.setValue(j.value):j.value=f.value,x(j),(we=f.onInputExtra)==null||we.call(f,Y)}}
1237
+ ${N.ref(Y=>{var we;const j=Y??null;j&&L(j),(we=f.captureEl)==null||we.call(f,j)})}
1238
+ @input=${Y=>{var we;const j=Y.target;B&&j.value.length<=B||!B||B===-1?f.setValue(j.value):j.value=f.value,L(j),(we=f.onInputExtra)==null||we.call(f,Y)}}
1239
1239
  @keydown=${Y=>{var j;return(j=f.onKeydown)==null?void 0:j.call(f,Y)}}
1240
1240
  @keyup=${Y=>{var j;return(j=f.onKeyup)==null?void 0:j.call(f,Y)}}
1241
1241
  @blur=${()=>{var Y;return(Y=f.onBlur)==null?void 0:Y.call(f)}}
@@ -1255,7 +1255,7 @@
1255
1255
  aria-label=${e.locale.TagInput.editTag.replace("{label}",f.value??"")}
1256
1256
  @click=${()=>G(f.idx)}
1257
1257
  @keydown=${j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),G(f.idx))}}
1258
- >${fo("10")}</span
1258
+ >${mo("10")}</span
1259
1259
  >`:o.nothing}
1260
1260
  <span
1261
1261
  class="tag-input-button cursor-pointer"
@@ -1264,11 +1264,11 @@
1264
1264
  aria-label=${e.locale.TagInput.removeTag.replace("{label}",f.value??"")}
1265
1265
  @click=${()=>{R(f.idx,!1),e.requestUpdate()}}
1266
1266
  @keydown=${j=>{j.key!=="Enter"&&j.key!==" "||(j.preventDefault(),R(f.idx,!1),e.requestUpdate())}}
1267
- >${Ht()}</span
1267
+ >${Ot()}</span
1268
1268
  >
1269
1269
  </div>
1270
1270
  </div>
1271
- </div>`;return{api:{isValid:y},render(){const f=e.props;f.modelValue!==X&&(X=f.modelValue,T()),f.itemsSource!==W&&(W=f.itemsSource,k());const B=v().toString();if(B!==te){te=B;const j=v();queueMicrotask(()=>e.emit("update:modelValue",j))}const Y=ge(f,Mn);return o.html`
1271
+ </div>`;return{api:{isValid:y},render(){const f=e.props;f.modelValue!==X&&(X=f.modelValue,T()),f.itemsSource!==W&&(W=f.itemsSource,k());const B=v().toString();if(B!==te){te=B;const j=v();queueMicrotask(()=>e.emit("update:modelValue",j))}const Y=ge(f,Tn);return o.html`
1272
1272
  <div class=${z("moz-tag-input-wrapper",f.class)} ${ue(Y)}>
1273
1273
  ${f.label?o.html`<label class=${z("tag-input-label",{required:f.required})}>${f.label}</label>`:o.nothing}
1274
1274
  <div class="tag-input-grid">
@@ -1323,12 +1323,12 @@
1323
1323
  ${!B.isEditing&&!f.disableUpdate?o.html`<span
1324
1324
  class="tag-input-button cursor-pointer"
1325
1325
  @click=${j=>{j.stopPropagation(),G(Y)}}
1326
- >${fo("10")}</span
1326
+ >${mo("10")}</span
1327
1327
  >`:o.nothing}
1328
1328
  ${f.disableDelete?o.nothing:o.html`<span
1329
1329
  class="tag-input-button cursor-pointer"
1330
1330
  @click=${j=>{j.stopPropagation(),b(Y),e.requestUpdate()}}
1331
- >${Ht()}</span
1331
+ >${Ot()}</span
1332
1332
  >`}
1333
1333
  </div>
1334
1334
  </span>`}
@@ -1337,13 +1337,13 @@
1337
1337
  </div>
1338
1338
  </div>
1339
1339
  </div>`}
1340
- </div>`}}}}),An={name:"MozTagInput",core:rs,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},Dn=new Set(["itemSource","fixPosition","noPadding","minWidth","class","style"]);function Vn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}const Rn=500,as=ve({name:"moz-context-menu",defaults:{transition:"fade",minWidth:"150px",direction:"rb"},setup(e){let t=null,s=null;const n=N.createRef();let i=!1,a=!1,m=!1,d=!1,l=null,h=!1,r=!1,p=!1,u=!1;const v=new Map,y=new Map,R=new Map,$=new Map,b=()=>{i&&a&&(l||e.props.itemSource)&&s&&!u&&(u=!0,e.emit("open",{target:s}))},V=E=>{const M=m!==E;m=E,e.requestUpdate(),M&&!E&&setTimeout(()=>{i=!1,d=!1,u=!1,e.emit("close",{target:s}),e.requestUpdate()},50)},k=E=>{const M=i!==E;i=E,e.requestUpdate(),M&&(setTimeout(()=>{a=i,e.requestUpdate(),b()},0),V(i),b())},T=E=>{if(e.props.disableCloseOnClickBackdrop)return;const M=["list-box-container"],U=E.composedPath();U.includes(s)||M.forEach(S=>{(!S||S&&!U.some(x=>{var A;return(A=x.classList)==null?void 0:A.contains(S)}))&&X()})},X=()=>{(e.props.beforeClose??(()=>{}))&&(V(!1),window.removeEventListener("mousedown",T),window.removeEventListener("resize",X))},W=(E,M)=>{E instanceof Function&&(l=E(M)),k(!0),setTimeout(()=>k(!0),60)},te=()=>{i?X():W()},ne=()=>{const E=e.props.fixPosition;if(!E)return;const M=E.selector&&document.querySelector(E.selector)||t;if(!M||!s||!n.value)return;const U=M.getBoundingClientRect(),S=n.value.getBoundingClientRect();h=U.left+M.clientWidth<S.left+s.clientWidth,r=U.left+M.clientWidth<S.left+s.clientWidth*2,p=U.top+M.clientHeight<S.top+s.clientHeight,E.useTeleport?(s.style.left=`${S.left}px`,s.style.top=`${S.top}px`):(s.style.left=`${n.value.offsetLeft}px`,s.style.top=`${n.value.offsetTop}px`),e.requestUpdate()},ee=E=>{d||(s&&t&&(e.props.fixPosition?ne():(h=t.clientWidth<E.clientX+s.clientWidth,r=t.clientWidth<E.clientX+s.clientWidth*2,p=t.clientHeight<E.clientY+s.clientHeight,s.style.left=`${E.clientX}px`,s.style.top=`${E.clientY}px`)),t&&(t.style.pointerEvents="none"),window.addEventListener("mousedown",T),window.addEventListener("resize",X),d=!0,e.requestUpdate())};e.onCleanup(()=>{window.removeEventListener("mousedown",T),window.removeEventListener("resize",X)});const K=E=>{let M=$.get(E);return M||(M=Vn((U,S,x)=>{S.children&&(D(x,S),v.set(x,U),e.requestUpdate())},400),$.set(E,M)),M},D=(E,M)=>{if(!M.children||y.get(E))return;const U=R.get(E);if(!U)return;const S=U.getBoundingClientRect();y.set(E,U.clientHeight+S.top>document.body.offsetHeight)},G=(E,M)=>{E.function?(E.function(),X()):E.children&&(D(M,E),v.set(M,!0),e.requestUpdate())},se=E=>typeof E.disabled=="function"?E.disabled():!!E.disabled,ie=(E,M,U,S)=>{const x=v.get(S)??!1,A=y.get(S)??!1,F=K(S);return o.html`<div
1341
- class=${z({"context-menu-item-enable-hover":!("hover"in E)||E.hover,"context-menu-item-wrapper":!0,"context-menu-item-wrapper-selected":x,"context-menu-item-wrapper-disabled":se(E)})}
1340
+ </div>`}}}}),zn={name:"MozTagInput",core:is,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},An=new Set(["itemSource","fixPosition","noPadding","minWidth","class","style"]);function Dn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}const Vn=500,rs=ve({name:"moz-context-menu",defaults:{transition:"fade",minWidth:"150px",direction:"rb"},setup(e){let t=null,s=null;const n=N.createRef();let i=!1,a=!1,m=!1,d=!1,l=null,h=!1,r=!1,p=!1,u=!1;const v=new Map,y=new Map,R=new Map,$=new Map,b=()=>{i&&a&&(l||e.props.itemSource)&&s&&!u&&(u=!0,e.emit("open",{target:s}))},V=E=>{const M=m!==E;m=E,e.requestUpdate(),M&&!E&&setTimeout(()=>{i=!1,d=!1,u=!1,e.emit("close",{target:s}),e.requestUpdate()},50)},k=E=>{const M=i!==E;i=E,e.requestUpdate(),M&&(setTimeout(()=>{a=i,e.requestUpdate(),b()},0),V(i),b())},T=E=>{if(e.props.disableCloseOnClickBackdrop)return;const M=["list-box-container"],U=E.composedPath();U.includes(s)||M.forEach(S=>{(!S||S&&!U.some(L=>{var A;return(A=L.classList)==null?void 0:A.contains(S)}))&&X()})},X=()=>{(e.props.beforeClose??(()=>{}))&&(V(!1),window.removeEventListener("mousedown",T),window.removeEventListener("resize",X))},W=(E,M)=>{E instanceof Function&&(l=E(M)),k(!0),setTimeout(()=>k(!0),60)},te=()=>{i?X():W()},ne=()=>{const E=e.props.fixPosition;if(!E)return;const M=E.selector&&document.querySelector(E.selector)||t;if(!M||!s||!n.value)return;const U=M.getBoundingClientRect(),S=n.value.getBoundingClientRect();h=U.left+M.clientWidth<S.left+s.clientWidth,r=U.left+M.clientWidth<S.left+s.clientWidth*2,p=U.top+M.clientHeight<S.top+s.clientHeight,E.useTeleport?(s.style.left=`${S.left}px`,s.style.top=`${S.top}px`):(s.style.left=`${n.value.offsetLeft}px`,s.style.top=`${n.value.offsetTop}px`),e.requestUpdate()},ee=E=>{d||(s&&t&&(e.props.fixPosition?ne():(h=t.clientWidth<E.clientX+s.clientWidth,r=t.clientWidth<E.clientX+s.clientWidth*2,p=t.clientHeight<E.clientY+s.clientHeight,s.style.left=`${E.clientX}px`,s.style.top=`${E.clientY}px`)),t&&(t.style.pointerEvents="none"),window.addEventListener("mousedown",T),window.addEventListener("resize",X),d=!0,e.requestUpdate())};e.onCleanup(()=>{window.removeEventListener("mousedown",T),window.removeEventListener("resize",X)});const K=E=>{let M=$.get(E);return M||(M=Dn((U,S,L)=>{S.children&&(D(L,S),v.set(L,U),e.requestUpdate())},400),$.set(E,M)),M},D=(E,M)=>{if(!M.children||y.get(E))return;const U=R.get(E);if(!U)return;const S=U.getBoundingClientRect();y.set(E,U.clientHeight+S.top>document.body.offsetHeight)},G=(E,M)=>{E.function?(E.function(),X()):E.children&&(D(M,E),v.set(M,!0),e.requestUpdate())},se=E=>typeof E.disabled=="function"?E.disabled():!!E.disabled,ie=(E,M,U,S)=>{const L=v.get(S)??!1,A=y.get(S)??!1,F=K(S);return o.html`<div
1341
+ class=${z({"context-menu-item-enable-hover":!("hover"in E)||E.hover,"context-menu-item-wrapper":!0,"context-menu-item-wrapper-selected":L,"context-menu-item-wrapper-disabled":se(E)})}
1342
1342
  @mouseenter=${()=>F(!0,E,S)}
1343
1343
  @mouseleave=${()=>F(!1,E,S)}
1344
1344
  >
1345
1345
  <div
1346
- class=${z({"context-menu-sub-items-wrapper-right":U&&!A,"context-menu-sub-items-wrapper-bottom":A&&!U,"context-menu-sub-items-wrapper-bottom-right":A&&U,"context-menu-sub-items-wrapper-hide":!E.children||!x,"context-menu-sub-items-wrapper":!A&&!U})}
1346
+ class=${z({"context-menu-sub-items-wrapper-right":U&&!A,"context-menu-sub-items-wrapper-bottom":A&&!U,"context-menu-sub-items-wrapper-bottom-right":A&&U,"context-menu-sub-items-wrapper-hide":!E.children||!L,"context-menu-sub-items-wrapper":!A&&!U})}
1347
1347
  ${N.ref(f=>{f&&R.set(S,f)})}
1348
1348
  >
1349
1349
  ${E.children?_(E.children,M+1,U,S):o.nothing}
@@ -1364,12 +1364,12 @@
1364
1364
  <div class="context-menu-item-left">${E.text}</div>
1365
1365
  ${E.children?o.html`<div class="context-menu-item-right"></div>`:o.nothing}
1366
1366
  </div>`}
1367
- </div>`},Q=E=>{const M=E.template,U=M.includes("[col-padding]")?"col-padding":M.includes("[row-padding]")?"row-padding":M.includes("[padding]")?"padding":null,S=e.slots.has(M)?e.slot(M,{props:{...E}}):o.nothing;return U?o.html`<div class="context-menu-item-template" data-layout=${U}>${S}</div>`:o.html`${S}`},_=(E,M,U,S)=>{const x=M===0;return o.html`<div
1368
- role=${x?"menu":"group"}
1369
- class=${z("context-menu-content-wrapper",x?e.props.class:void 0)}
1367
+ </div>`},Q=E=>{const M=E.template,U=M.includes("[col-padding]")?"col-padding":M.includes("[row-padding]")?"row-padding":M.includes("[padding]")?"padding":null,S=e.slots.has(M)?e.slot(M,{props:{...E}}):o.nothing;return U?o.html`<div class="context-menu-item-template" data-layout=${U}>${S}</div>`:o.html`${S}`},_=(E,M,U,S)=>{const L=M===0;return o.html`<div
1368
+ role=${L?"menu":"group"}
1369
+ class=${z("context-menu-content-wrapper",L?e.props.class:void 0)}
1370
1370
  data-noPadding=${String(!!e.props.noPadding)}
1371
1371
  style=${oe.styleMap({minWidth:e.props.minWidth})}
1372
- ${ue(x?ge(e.props,Dn):{})}
1372
+ ${ue(L?ge(e.props,An):{})}
1373
1373
  >
1374
1374
  ${E.map((A,F)=>{const f=`${S}/${M}-${F}`;return o.html`<div class="context-menu-item-outer-wrapper" style=${oe.styleMap({display:A!=null&&A.hidden?"none":""})}>
1375
1375
  ${A.separator?o.html`<div class="context-menu-separator"></div>`:ie(A,M,U,f)}
@@ -1382,18 +1382,18 @@
1382
1382
  <div
1383
1383
  class="context-menu-wrapper"
1384
1384
  @mouseenter=${ee}
1385
- @contextmenu=${x=>x.preventDefault()}
1386
- ${N.ref(x=>{x&&(t=x)})}
1385
+ @contextmenu=${L=>L.preventDefault()}
1386
+ ${N.ref(L=>{L&&(t=L)})}
1387
1387
  ></div>
1388
1388
  <div
1389
1389
  class=${z({[`before-${U}`]:!0,[`after-${U}`]:a&&m,"context-menu-content-hide":!i,"context-menu-content-init":!0,"context-menu-content-init-right":h&&!p||S==="lb"||S.startsWith("l")&&!p||S.endsWith("b")&&h,"context-menu-content-init-bottom":p&&!h||S==="rt"||S.startsWith("r")&&p||S.endsWith("t")&&!h,"context-menu-content-init-bottom-right":p&&h||S==="lt"||S.startsWith("l")&&p||S.endsWith("t")&&h})}
1390
- style=${oe.styleMap({transitionDuration:`${Rn}ms`,...E.toTopCenter?{transform:"translate(-50%, -100%)"}:{},...E.toBottomCenter?{transform:"translate(-50%, 0)"}:{}})}
1391
- @contextmenu=${x=>x.preventDefault()}
1392
- ${N.ref(x=>{x&&(s=x,b())})}
1390
+ style=${oe.styleMap({transitionDuration:`${Vn}ms`,...E.toTopCenter?{transform:"translate(-50%, -100%)"}:{},...E.toBottomCenter?{transform:"translate(-50%, 0)"}:{}})}
1391
+ @contextmenu=${L=>L.preventDefault()}
1392
+ ${N.ref(L=>{L&&(s=L,b())})}
1393
1393
  >
1394
1394
  ${_(M,0,r,"root")}
1395
1395
  </div>
1396
- `}}}}),qn={name:"MozContextMenu",core:as,props:["itemSource","beforeClose","transition","minWidth","direction","fixPosition","toTopCenter","toBottomCenter","noPadding","disableCloseOnClickBackdrop"],emits:["open","close"],slots:[],expose:!0},wt=32,go=300,In=29,Fn=32,vo=120,Bn=34,On=12,wo=30,Hn=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue","class","style"]);function _n(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function Nn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const cs=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="",v=-1;const y={change:"",blur:"",save:""};let R=h();const $=()=>e.props.keyProp||"id",b=()=>e.props.displayProps??["text"],V=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>wt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{A==null||A.release(),A=null}),e.onCleanup(V._didMount());const k=c=>{d=c??null,c&&(V._willUpdate(),e.requestUpdate())},T=c=>{const L=h();return L==null?!1:e.props.useObjKeyProp?typeof L!="object"?!1:b().every(Z=>c[Z]===L[Z]):c[$()]===L},X=()=>h()==null||!e.props.itemsSource?null:e.props.itemsSource.find(c=>T(c))??null,W=c=>e.props.itemsSource?e.props.itemsSource.find(L=>L[$()]===c)??null:null,te=()=>{const c=h();if(c==null)return null;const L=e.props.useObjKeyProp?X():W(c);return L?b().map(Z=>String(L[Z]??"")).join(e.props.separator):null},ne=()=>{const c=b(),L=e.props.columnWidths??[],Z=c.reduce((de,Se,be)=>de+(L[be]??vo),0),re=Math.max(0,c.length-1)*On;return Z+re+Bn+wo},ee=()=>{const c=e.props.width;return c!=null?typeof c=="number"?`${xe(c)}rem`:c:`${ne()}px`},K=c=>{const L=(e.props.columnWidths??[])[c]??vo,Z=c===b().length-1;return`${L+(Z?wo:0)}px`},D=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(L=>b().some(Z=>String(L[Z]??"").toLowerCase().indexOf(c)>-1))},G=c=>{if(!u)return[{part:c,highlight:!1}];const L=Nn(u),Z=new RegExp(`(${L})`,"gi");return c.split(Z).map(re=>({part:re,highlight:u.toLowerCase()===re.toLowerCase()}))},se=()=>{const c=h();return e.props.useObjKeyProp?c==null?"":String(c):c},ie=()=>y.save||y.blur||y.change,Q=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.TableSelect.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:L=>!!L}),[...c,...e.props.rules??[]]},_=async(c,L)=>{const Z=Q();if(Z.length<=0||e.props.disabled)return!0;y[L]="",e.requestUpdate();const re=Z.filter(de=>de.type===L);for(const de of re)if(!await de.validator(c))return y[L]=de.message,e.requestUpdate(),!1;return!0},E=async(c="save")=>ie()!==""?!1:await _(se(),c),M={validate:E,initValidator:()=>{y.change="",y.blur="",y.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(M),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(M)}));const U=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>go,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&F(!1)}});e.onCleanup(()=>U.destroy());const S=c=>{c.key==="Escape"&&F(!1)},x=c=>{const L=!!e.props.columnHeaders&&e.props.columnHeaders.length>0,Z=go-(e.props.useFilter?In:0)-(L?Fn:0),de=wt*c-Z/2;return Math.max(0,de+wt)};let A=null;const F=c=>{p!==c&&(p=c,e.requestUpdate(),c?(A=ht(),U.open(),y.save="",window.addEventListener("keydown",S),queueMicrotask(()=>{var Z;if(h()!=null){const re=D().findIndex(de=>T(de));re>=0&&(v=re,d&&(d.scrollTop=x(re)),e.requestUpdate())}m.value?m.value.focus():(Z=a.value)==null||Z.focus()})):(A==null||A.release(),A=null,U.close(),e.emit("close"),_(se(),"blur"),v=-1,window.removeEventListener("keydown",S),u="",e.emit("close"),queueMicrotask(()=>{var L;return(L=a.value)==null?void 0:L.focus()})))};e.onCleanup(()=>window.removeEventListener("keydown",S));const f=()=>{var c;e.props.disabled||(F(!p),(c=a.value)==null||c.focus())},B=c=>{r(e.props.useObjKeyProp?{...c}:c[$()]),F(!1)},Y=()=>{queueMicrotask(()=>V.scrollToIndex(v,{align:"auto"}))},j=c=>{c.preventDefault();const L=D().length-1;L<0||(v=v>=L?0:v+1,e.requestUpdate(),Y())},we=c=>{c.preventDefault();const L=D().length-1;L<0||(v=v<=0?L:v-1,e.requestUpdate(),Y())},De=c=>{c.preventDefault();const L=D();v>=0&&v<L.length&&B(L[v])},Ne=c=>{c.key==="ArrowDown"?j(c):c.key==="ArrowUp"?we(c):c.key==="Enter"&&De(c)},Oe=_n(c=>{u=c.target.value;const L=D().length;v=L>0?0:-1,e.requestUpdate(),queueMicrotask(()=>{V.setOptions({...V.options,count:L}),V.measure(),d&&(d.scrollTop=0,V.scrollToIndex(0),V.measure())})},300);return{api:{validate:E},render(){const c=e.props,L=h();if(L!==R){R=L;const Se=L;queueMicrotask(()=>{_(se(),"change");let be=null;c.useObjKeyProp?be=X():Se!=null&&(be=W(Se)),e.emit("change",Se,be)})}const Z=ge(c,Hn),{aria:re,dom:de}=ut(Z);return o.html`
1396
+ `}}}}),Rn={name:"MozContextMenu",core:rs,props:["itemSource","beforeClose","transition","minWidth","direction","fixPosition","toTopCenter","toBottomCenter","noPadding","disableCloseOnClickBackdrop"],emits:["open","close"],slots:[],expose:!0},vt=32,fo=300,qn=29,In=32,go=120,Fn=34,Bn=12,vo=30,On=new Set(["itemsSource","label","width","required","readonly","disabled","keyProp","displayProps","columnWidths","separator","rules","useFilter","listWidth","searchPlaceholder","emptyText","requiredMessage","useObjKeyProp","columnHeaders","modelValue","class","style"]);function Hn(e,t){let s;return(...n)=>{s&&clearTimeout(s),s=setTimeout(()=>e(...n),t)}}function _n(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}const as=ve({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=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef(),m=N.createRef();let d=null,l=e.props.modelValue??null;const h=()=>e.controlled("modelValue")?e.props.modelValue??null:l,r=c=>{e.controlled("modelValue")||(l=c),e.emit("update:modelValue",c),e.requestUpdate()};let p=!1,u="",v=-1;const y={change:"",blur:"",save:""};let R=h();const $=()=>e.props.keyProp||"id",b=()=>e.props.displayProps??["text"],V=new Fe.Virtualizer({count:0,getScrollElement:()=>d,estimateSize:()=>vt,measureElement:c=>c.getBoundingClientRect().height,overscan:5,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(()=>{A==null||A.release(),A=null}),e.onCleanup(V._didMount());const k=c=>{d=c??null,c&&(V._willUpdate(),e.requestUpdate())},T=c=>{const x=h();return x==null?!1:e.props.useObjKeyProp?typeof x!="object"?!1:b().every(Z=>c[Z]===x[Z]):c[$()]===x},X=()=>h()==null||!e.props.itemsSource?null:e.props.itemsSource.find(c=>T(c))??null,W=c=>e.props.itemsSource?e.props.itemsSource.find(x=>x[$()]===c)??null:null,te=()=>{const c=h();if(c==null)return null;const x=e.props.useObjKeyProp?X():W(c);return x?b().map(Z=>String(x[Z]??"")).join(e.props.separator):null},ne=()=>{const c=b(),x=e.props.columnWidths??[],Z=c.reduce((de,Se,be)=>de+(x[be]??go),0),re=Math.max(0,c.length-1)*Bn;return Z+re+Fn+vo},ee=()=>{const c=e.props.width;return c!=null?typeof c=="number"?`${Le(c)}rem`:c:`${ne()}px`},K=c=>{const x=(e.props.columnWidths??[])[c]??go,Z=c===b().length-1;return`${x+(Z?vo:0)}px`},D=()=>{if(!u)return e.props.itemsSource??[];const c=u.toLowerCase();return(e.props.itemsSource??[]).filter(x=>b().some(Z=>String(x[Z]??"").toLowerCase().indexOf(c)>-1))},G=c=>{if(!u)return[{part:c,highlight:!1}];const x=_n(u),Z=new RegExp(`(${x})`,"gi");return c.split(Z).map(re=>({part:re,highlight:u.toLowerCase()===re.toLowerCase()}))},se=()=>{const c=h();return e.props.useObjKeyProp?c==null?"":String(c):c},ie=()=>y.save||y.blur||y.change,Q=()=>{const c=[];return e.props.required&&c.push({message:e.props.requiredMessage??e.locale.TableSelect.requiredMessage.replace("{label}",e.props.label||""),type:"save",validator:x=>!!x}),[...c,...e.props.rules??[]]},_=async(c,x)=>{const Z=Q();if(Z.length<=0||e.props.disabled)return!0;y[x]="",e.requestUpdate();const re=Z.filter(de=>de.type===x);for(const de of re)if(!await de.validator(c))return y[x]=de.message,e.requestUpdate(),!1;return!0},E=async(c="save")=>ie()!==""?!1:await _(se(),c),M={validate:E,initValidator:()=>{y.change="",y.blur="",y.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(M),e.onCleanup(()=>{var c;return(c=e.validator)==null?void 0:c.removeValidator(M)}));const U=new pt({anchor:()=>s.value??null,panel:()=>n.value??null,maxHeight:()=>fo,container:()=>t.value??null,useMinWidth:!0,listWidth:()=>e.props.listWidth,ignoreScrollTargets:c=>c===d,requestClose:()=>{p&&F(!1)}});e.onCleanup(()=>U.destroy());const S=c=>{c.key==="Escape"&&F(!1)},L=c=>{const x=!!e.props.columnHeaders&&e.props.columnHeaders.length>0,Z=fo-(e.props.useFilter?qn:0)-(x?In:0),de=vt*c-Z/2;return Math.max(0,de+vt)};let A=null;const F=c=>{p!==c&&(p=c,e.requestUpdate(),c?(A=ht(),U.open(),y.save="",window.addEventListener("keydown",S),queueMicrotask(()=>{var Z;if(h()!=null){const re=D().findIndex(de=>T(de));re>=0&&(v=re,d&&(d.scrollTop=L(re)),e.requestUpdate())}m.value?m.value.focus():(Z=a.value)==null||Z.focus()})):(A==null||A.release(),A=null,U.close(),e.emit("close"),_(se(),"blur"),v=-1,window.removeEventListener("keydown",S),u="",e.emit("close"),queueMicrotask(()=>{var x;return(x=a.value)==null?void 0:x.focus()})))};e.onCleanup(()=>window.removeEventListener("keydown",S));const f=()=>{var c;e.props.disabled||(F(!p),(c=a.value)==null||c.focus())},B=c=>{r(e.props.useObjKeyProp?{...c}:c[$()]),F(!1)},Y=()=>{queueMicrotask(()=>V.scrollToIndex(v,{align:"auto"}))},j=c=>{c.preventDefault();const x=D().length-1;x<0||(v=v>=x?0:v+1,e.requestUpdate(),Y())},we=c=>{c.preventDefault();const x=D().length-1;x<0||(v=v<=0?x:v-1,e.requestUpdate(),Y())},De=c=>{c.preventDefault();const x=D();v>=0&&v<x.length&&B(x[v])},Ne=c=>{c.key==="ArrowDown"?j(c):c.key==="ArrowUp"?we(c):c.key==="Enter"&&De(c)},Oe=Hn(c=>{u=c.target.value;const x=D().length;v=x>0?0:-1,e.requestUpdate(),queueMicrotask(()=>{V.setOptions({...V.options,count:x}),V.measure(),d&&(d.scrollTop=0,V.scrollToIndex(0),V.measure())})},300);return{api:{validate:E},render(){const c=e.props,x=h();if(x!==R){R=x;const Se=x;queueMicrotask(()=>{_(se(),"change");let be=null;c.useObjKeyProp?be=X():Se!=null&&(be=W(Se)),e.emit("change",Se,be)})}const Z=ge(c,On),{aria:re,dom:de}=ut(Z);return o.html`
1397
1397
  <div
1398
1398
  class=${z("moz-table-select",{"is-invalid":ie()!=="","is-open":p,disabled:!!c.disabled})}
1399
1399
  style=${oe.styleMap($e(c.style))}
@@ -1423,24 +1423,24 @@
1423
1423
  role="combobox"
1424
1424
  aria-haspopup="listbox"
1425
1425
  aria-expanded=${p?"true":"false"}
1426
- aria-label=${Le.ifDefined(re["aria-label"]??c.label)}
1426
+ aria-label=${xe.ifDefined(re["aria-label"]??c.label)}
1427
1427
  ?disabled=${!!c.disabled}
1428
1428
  ${N.ref(a)}
1429
1429
  >
1430
- ${p?lo("14","var(--moz-color-accent)"):so("14","var(--moz-color-text-subtle)",c.disabled)}
1430
+ ${p?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",c.disabled)}
1431
1431
  </button>
1432
1432
  </div>
1433
1433
  </div>
1434
1434
  ${ie()!==""?o.html`<span class="moz-input-invalid-message">${ie()}</span>`:o.nothing}
1435
1435
  </div>
1436
- `},renderPortal(){if(!p)return o.nothing;const c=e.props,L=b(),Z=D(),re=!!c.columnHeaders&&c.columnHeaders.length>0;V.options.count!==Z.length&&V.setOptions({...V.options,count:Z.length}),V._willUpdate();const de=V.getTotalSize(),Se=Mt(V.getVirtualItems(),Z.length,wt,d).map(C=>{if(C.index>=Z.length)return null;const q=Z[C.index];return q?{index:C.index,value:q,start:C.start}:null}).filter(C=>C!==null),be=c.listWidth?typeof c.listWidth=="number"?`${c.listWidth}px`:c.listWidth:void 0;return o.html`<div
1436
+ `},renderPortal(){if(!p)return o.nothing;const c=e.props,x=b(),Z=D(),re=!!c.columnHeaders&&c.columnHeaders.length>0;V.options.count!==Z.length&&V.setOptions({...V.options,count:Z.length}),V._willUpdate();const de=V.getTotalSize(),Se=Tt(V.getVirtualItems(),Z.length,vt,d).map(C=>{if(C.index>=Z.length)return null;const q=Z[C.index];return q?{index:C.index,value:q,start:C.start}:null}).filter(C=>C!==null),be=c.listWidth?typeof c.listWidth=="number"?`${c.listWidth}px`:c.listWidth:void 0;return o.html`<div
1437
1437
  class=${z("table-list-box",{"no-label":!c.label},c.class)}
1438
1438
  style=${oe.styleMap({width:be})}
1439
1439
  @keydown=${Ne}
1440
1440
  ${N.ref(n)}
1441
1441
  >
1442
1442
  ${c.useFilter?o.html`<div class="filter-input">
1443
- <div class="search-icon">${no("12","var(--moz-color-text-subtle)")}</div>
1443
+ <div class="search-icon">${lo("12","var(--moz-color-text-subtle)")}</div>
1444
1444
  <input
1445
1445
  ${N.ref(m)}
1446
1446
  @mousedown=${C=>C.stopPropagation()}
@@ -1450,7 +1450,7 @@
1450
1450
  />
1451
1451
  </div>`:o.nothing}
1452
1452
  ${re?o.html`<div class="table-header">
1453
- ${L.map((C,q)=>o.html`<div
1453
+ ${x.map((C,q)=>o.html`<div
1454
1454
  class="table-header-cell"
1455
1455
  style=${oe.styleMap({width:K(q),minWidth:K(q),maxWidth:K(q)})}
1456
1456
  >
@@ -1471,21 +1471,21 @@
1471
1471
  @mouseenter=${()=>{v=C,e.requestUpdate()}}
1472
1472
  tabindex="0"
1473
1473
  >
1474
- ${L.map((Ee,Te)=>o.html`<div
1474
+ ${x.map((Ee,Te)=>o.html`<div
1475
1475
  class="table-cell"
1476
1476
  style=${oe.styleMap({width:K(Te),minWidth:K(Te),maxWidth:K(Te)})}
1477
1477
  title=${String(q[Ee]??"")}
1478
1478
  >
1479
1479
  ${G(String(q[Ee]??"")).map(Ve=>o.html`<span class=${z({highlight:Ve.highlight})}>${Ve.part}</span>`)}
1480
1480
  </div>`)}
1481
- ${ke?oo("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
1481
+ ${ke?to("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
1482
1482
  </div>`})}
1483
1483
  </div>
1484
1484
  ${!Z||Z.length<=0?o.html`<div class="empty-row table-row">
1485
1485
  ${e.slots.has("empty")?e.slot("empty"):c.emptyText??e.locale.TableSelect.emptyText}
1486
1486
  </div>`:o.nothing}
1487
1487
  </div>
1488
- </div>`}}}}),Un={name:"MozTableSelect",core:cs,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 Wn(e="var(--moz-color-text-subtle)",t=12){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1488
+ </div>`}}}}),Nn={name:"MozTableSelect",core:as,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 Un(e="var(--moz-color-text-subtle)",t=12){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1489
1489
  <path
1490
1490
  d="M2.49902 4.27679L6.04436 7.73581L9.501 4.27679"
1491
1491
  stroke=${e}
@@ -1493,7 +1493,7 @@
1493
1493
  stroke-linecap="round"
1494
1494
  stroke-linejoin="round"
1495
1495
  ></path>
1496
- </svg>`}function Kn(e="var(--moz-color-text-subtle)",t=12){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1496
+ </svg>`}function Wn(e="var(--moz-color-text-subtle)",t=12){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 12 12" fill="none">
1497
1497
  <path
1498
1498
  d="M9.50095 7.73636L5.95563 4.27734L2.49902 7.73636"
1499
1499
  stroke=${e}
@@ -1501,13 +1501,13 @@
1501
1501
  stroke-linecap="round"
1502
1502
  stroke-linejoin="round"
1503
1503
  ></path>
1504
- </svg>`}function Gn(e="var(--moz-color-text-subtle)",t=12,s=""){return o.html`<svg class=${s} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1504
+ </svg>`}function Kn(e="var(--moz-color-text-subtle)",t=12,s=""){return o.html`<svg class=${s} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1505
1505
  <path d="M1.71436 7.07145L3.00007 6.00002L1.71436 4.92859" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
1506
1506
  <path d="M5.14307 4.71423H10.2859" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1507
1507
  <path d="M1.71436 2.14282L10.2858 2.14282" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1508
1508
  <path d="M5.14307 7.28577H10.2859" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1509
1509
  <path d="M1.71436 9.85718L10.2858 9.85718" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1510
- </svg>`}function Yn(e="var(--moz-color-text-subtle)",t=12,s=""){return o.html`<svg class=${s} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1510
+ </svg>`}function Gn(e="var(--moz-color-text-subtle)",t=12,s=""){return o.html`<svg class=${s} width=${t} height=${t} viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
1511
1511
  <path d="M0.856934 4.92852L2.14265 4.07138L0.856934 3.21423" fill=${e}></path>
1512
1512
  <path d="M0.856934 4.92852L2.14265 4.07138L0.856934 3.21423V4.92852Z" stroke=${e} stroke-linecap="round" stroke-linejoin="round"></path>
1513
1513
  <path d="M0.856934 8.7857L2.14265 7.92855L0.856934 7.07141" fill=${e}></path>
@@ -1515,9 +1515,9 @@
1515
1515
  <path d="M3.8501 2.35718H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1516
1516
  <path d="M3.8501 6H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1517
1517
  <path d="M3.8501 9.64282H11.1358" stroke=${e} stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"></path>
1518
- </svg>`}const _t={keyProp:"code",displayProp:"name",categoryLv1ID:"categoryLv1ID",categoryLv1Label:"categoryLv1Label",categoryLv2ID:"categoryLv2ID",categoryLv2Label:"categoryLv2Label",description:"description"};function Zn(e,t){const s=a=>t.displayProp&&a[t.displayProp]?a[t.displayProp]:a[t.keyProp],n=a=>t.categoryLv1Label&&a[t.categoryLv1Label]?a[t.categoryLv1Label]:t.categoryLv1ID?a[t.categoryLv1ID]:"",i=a=>t.categoryLv2Label&&a[t.categoryLv2Label]?a[t.categoryLv2Label]:t.categoryLv2ID?a[t.categoryLv2ID]:"";return e.map(a=>({code:a[t.keyProp],name:s(a),categoryLv1ID:t.categoryLv1ID&&a[t.categoryLv1ID]||"",categoryLv1Label:n(a),categoryLv2ID:t.categoryLv2ID&&a[t.categoryLv2ID]||"",categoryLv2Label:i(a),description:t.description&&a[t.description]||""}))}function Ct(e,t){let s=e.get(t);return s||(s=[],e.set(t,s)),s}function jn(e){const t=new Map([["depth0",[]],["depth1",[]],["depth2",[]]]),s=new Map,n=new Map;e.forEach(m=>{const d=m.categoryLv1ID;if(!s.get(d)){const l={code:d,name:m.categoryLv1Label??d};s.set(d,l),Ct(t,"depth0").push(l)}if(!m.categoryLv2ID||m.categoryLv2ID.trim()==="")Ct(t,"depth1").push({...m,parent:m.categoryLv1ID});else{const l=`${m.categoryLv1ID}-${m.categoryLv2ID}`;if(!n.get(l)){const h={code:m.categoryLv2ID,name:m.categoryLv2Label??m.categoryLv2ID,parent:m.categoryLv1ID,isSubCategory:!0};n.set(l,h),Ct(t,"depth1").push(h)}Ct(t,"depth2").push({...m,parent:m.categoryLv2ID})}});function i(m,d,l,h){const r=`depth${d}`,p=`depth${d+1}`,u=l.get(p),v={...m,depth:d};if(d!==0&&(v.isHidden=!1),u&&u.length>0){const y=h[r],R=h[p],$=u.filter(V=>V[R]===(m.isSubCategory?m.code:m[y]));v.isExpanded=!0;const b=[v];return $.forEach(V=>{b.push(...i(V,d+1,l,h))}),b}return[v]}const a={depth0:"code",depth1:"parent",depth2:"parent"};return(t.get("depth0")??[]).flatMap(m=>i(m,0,t,a))}function Xn(e){return new Set(e.map(t=>t.code))}function Ke(e,t){return t===e}function kt(e,t){return e.filter(s=>s.categoryLv1ID===t.code||s.categoryLv2ID===t.code)}function bt(e){return new Set(e.map(t=>t.code))}function Rt(e,t){return{childDepthList:kt(e,t)}}function Co(e,t){for(const s of e)if(!t.has(s))return!1;return!0}function xt(e,t,s){t===0&&e.categoryLv1Set.delete(s),t===1&&e.categoryLv2Set.delete(s)}function dt(e,t,s){t===0&&e.categoryLv1Set.add(s),t===1&&e.categoryLv2Set.add(s)}function Qn(e,t,s){t.length&&e.categoryLv1Set.add(t),s.length&&e.categoryLv2Set.add(s)}function yt(e){e.categoryLv1Set.clear(),e.categoryLv2Set.clear()}function ds(e,t,s,n){if(dt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&ds(e,t,i)}}function us(e,t,s,n){if(dt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||us(e,t,a,n)})}function bo(e,t,s,n){ds(e,t,s),us(e,t,s,n)}function ps(e,t,s,n){if(xt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&ps(e,t,i)}}function hs(e,t,s,n){if(xt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||hs(e,t,a,n)})}function yo(e,t,s,n){ps(e,t,s),hs(e,t,s,n)}const Jn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","useFilter","useSelectAll","class","style"]),ms=ve({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:_t,modelValue:[]},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=(e.props.treeLevels??1)-1,l=d,h=()=>!!e.props.useMultiSelect,r=()=>e.props.disabledProp||"disabled",p=()=>e.props.treeProps??_t;let u=e.props.modelValue??(h()?[]:"");const v=()=>e.controlled("modelValue")?e.props.modelValue??[]:u,y=()=>{const w=v();return Array.isArray(w)?w:w?[w]:[]},R=w=>{e.controlled("modelValue")||(u=w),e.emit("update:modelValue",w),e.requestUpdate()};let $=!1,b="",V=!1,k=!1,T=!1,X={},W=[];const te={change:"",blur:"",save:""},ne=new Set,ee=new Set,K={categoryLv1Set:ne,categoryLv2Set:ee},D=(()=>{try{const w=getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height");return w?+w.trim().replace("px",""):24}catch{return 24}})();let G=D;const se=()=>e.slots.has("list-item");let ie=[],Q=[],_=e.props.itemsSource;const E=()=>{ie=Zn(e.props.itemsSource??[],p()),Q=jn(ie)};E();const M=()=>{const w=new Map;return ie.forEach(P=>w.set(P.code,P)),w},U=w=>w.name??"",S=w=>new Set(y()).has(w.code),x=w=>W.some(P=>it(P.item,w)),A=()=>new Set(y()),F=()=>{let w=[];if(!b)w=Q;else{const P=[],H=new Set,ce=ae=>`depth${ae.depth}_${ae.code}`;for(const ae of Q)if(ae.depth!==l){for(;P.length&&P[P.length-1].depth>=ae.depth;)P.pop();P.push(ae)}else if(U(ae).toLowerCase().indexOf(b.toLowerCase())>-1){for(const me of P){const ze=ce(me);H.has(ze)||(w.push(me),H.add(ze))}const he=ce(ae);H.has(he)||(w.push(ae),H.add(he))}}if(T){const P=new Set,H=M(),ce=A();w.filter(he=>{if(we(he,ce))return!0;if(h()&&!Ke(d,he.depth)){const me=kt(Q,he);if(me.length>0&&me.some(ze=>ce.has(ze.code)))return!0}return!1}).forEach(he=>{let me=he;for(;me&&(P.add(me.code),!!me.parent);)me=H.get(me.parent)}),w=w.filter(he=>P.has(he.code))}return w},f=()=>F().filter(w=>!(w.categoryLv1ID||w.categoryLv2ID)),B=()=>{const w=f();return F().filter(P=>!w.includes(P))},Y=()=>new Set(B().map(w=>w.code)),j=()=>Xn(B()),we=(w,P)=>h()?Ke(l,w.depth)?P.has(w.code):ne.has(w.code)||ee.has(w.code):v()===w.code,De=w=>{if(Ke(d,w.depth))return!0;const P=kt(F(),w);return P.length===0?!0:Co(bt(P),A())},Ne=()=>{const w=y().length,P=f().length;if(w<P||w===0||P===0)return!1;for(const H of j())if(!A().has(H))return!1;return!0},Oe=()=>{const w=j(),P=A();return!w.size||!P.size||P.size<w.size?!1:Array.from(w).every(H=>P.has(H))},c=()=>h()?!!e.props.useSelectAll:!1,L=()=>{const w=v(),P=M();if(typeof w=="string")return P.has(w)?P.get(w).name:w;const H=Array.isArray(w)?w:[],ce=H.filter(ae=>P.has(ae)).map(ae=>P.get(ae).name);return H.length?h()&&ce.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${ce.length.toLocaleString()}`):ce.join(", ")||"":""},Z=()=>te.save||te.blur||te.change,re=()=>{const w=[];return e.props.required&&w.push({message:e.locale.TreeSelect.required.replace("{label}",e.props.label||""),type:"save",validator:P=>!!P.length}),[...w,...e.props.rules??[]]},de=async(w,P)=>{const H=re();if(H.length<=0)return;if(e.props.disabled)return!0;te[P]="",e.requestUpdate();const ce=H.filter(ae=>ae.type===P);for(const ae of ce)if(!await ae.validator(w))return te[P]=ae.message,e.requestUpdate(),!1;return!0},Se=async(w="save")=>Z()!==""?!1:await de(y(),w)??!0,be={validate:Se,initValidator:()=>{te.change="",te.blur="",te.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(be),e.onCleanup(()=>{We==null||We.release(),We=null}),e.onCleanup(()=>{var w;return(w=e.validator)==null?void 0:w.removeValidator(be)}));const C=(w,P)=>w.filter(H=>S(H)!==P).map(H=>H.code),q=w=>{const P=Array.from(new Set(w));it(y(),P)||(R(P),e.emit("change",P,P.filter(Boolean)),de(P,"change"),Ce(P))},Ce=w=>{w.length===ie.length?f().forEach(P=>dt(K,P.depth,P.code)):w.forEach(P=>{const H=B().find(ce=>ce.code===P);H&&Qn(K,H.categoryLv1ID??"",H.categoryLv2ID??"")})},ke=(w,P,H)=>{if(H.shiftKey&&W.length>0){const ce=W[0],ae=Math.min(ce.index,P),he=Math.max(ce.index,P);W=F().slice(ae,he+1).map((me,ze)=>({item:me,index:ae+ze}))}else H.ctrlKey?W.push({item:w,index:P}):W=[{item:w,index:P}]},Ee=(w,P)=>{if(!Ke(d,w.depth)){const{childDepthList:H}=Rt(F(),w);if(P){const ce=bt(H);R(y().filter(ae=>!ce.has(ae))),yo(K,F(),w,l)}else{const ce=H.map(ae=>ae.code);R([...y(),...ce])}}},Te=(w,P)=>{const ce=W.map(me=>me.item).filter(me=>me.depth===l),ae=C(ce,w);let he=[];if(P.depth!==d){const{childDepthList:me}=Rt(F(),P),ze=bt(me);he=y().filter(He=>!ze.has(He))}else he=y();w?P.depth===d?he=[...he,...ae]:bo(K,F(),P,l):(yt(K),he=he.filter(me=>!ae.some(ze=>me===ze))),q(he)},Ve=(w,P,H,ce)=>{const ae=W.some(he=>he.item.code===w.code);(W.length<=1||!ae)&&ke(w,P,{shiftKey:!1,ctrlKey:!1}),Te(!ce,w),Ee(w,ce),e.requestUpdate()},Ue=(w,P,H,ce)=>{w[r()]!==!0&&(!H.ctrlKey&&!H.shiftKey&&W.length<=1&&Ve(w,P,H,ce),ke(w,P,H),e.requestUpdate())},Qe=(w,P,H)=>{if(w[r()]===!0)return;let ce=[],ae=!1;const he=w.code;if(Ke(d,w.depth))ae=y().length===1&&y()[0]===he,ae||(ce=[he]),yt(K);else{const{childDepthList:me}=Rt(F(),w),ze=bt(me);ae=Co(ze,A())&&ze.size===A().size,ae?yo(K,F(),w,l):(ce=[],yt(K),bo(K,F(),w,l))}q(ce),Ee(w,ae),ke(w,P,H),e.requestUpdate()},ot=w=>{R(w),et(!1)},Je=(w,P)=>{F().filter(ce=>ce.parent===w).forEach(ce=>{if(ce.isHidden=P,ce.depth===l)return;const he=!P&&!ce.isExpanded?!0:P;Je(ce.code,he)})},Ze=(w,P)=>{P.stopPropagation(),w.isExpanded=!w.isExpanded,Je(w.code,!w.isExpanded),queueMicrotask(()=>Re.measure()),e.requestUpdate()},g=w=>{Q.forEach(P=>{P.isExpanded=w,P.depth>0?P.isHidden=!w:P.isHidden=!1}),queueMicrotask(()=>Re.measure()),e.requestUpdate()},O=w=>{w.stopPropagation(),Y().size===A().size&&[...Y()].every(H=>A().has(H))?(f().forEach(H=>xt(K,H.depth,H.code)),q([])):(yt(K),f().forEach(H=>dt(K,H.depth,H.code)),q([...Y()]))},I=w=>{if(w.stopPropagation(),Oe()){const P=j();q(y().filter(H=>!P.has(H))),f().forEach(H=>xt(K,H.depth,H.code))}else{const P=new Set([...y(),...Y()]);q(Array.from(P)),f().forEach(H=>dt(K,H.depth,H.code))}},J=w=>{V=w.target.scrollTop>0,e.requestUpdate()},le=()=>{const w=s.value;if(!w)return;const P=w.getBoundingClientRect();let H=`${P.width}px`;e.props.listBoxWidth&&(H=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),X={width:String(H),left:`${P.left}px`,top:`${P.top+(k?0:P.height)}px`},e.requestUpdate()},pe=(w,P,H=10)=>{const ce=window.innerHeight||document.documentElement.clientHeight,ae=window.innerWidth||document.documentElement.clientWidth,he=w.getBoundingClientRect(),me=P.getBoundingClientRect(),ze=he.bottom+me.height+H>ce;if(!ze)return!1;const He=he.top-me.height-H<0,qe=he.right+me.width+H>ae,_e=he.left-me.width-H<0;return ze&&!He||qe&&!_e},fe=w=>{w.target!==m&&et(!1)},ye=w=>{var P,H;!((P=t.value)!=null&&P.contains(w.target))&&!((H=n.value)!=null&&H.contains(w.target))&&(et(!1),document.removeEventListener("click",ye,{capture:!0}))},Me=w=>{var H;`${w.ctrlKey?"ctrl+":""}${w.altKey?"alt+":""}${w.key.toLowerCase()}`==="escape"&&(et(!1),(H=i.value)==null||H.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),window.removeEventListener("keydown",Me)});let We=null;const et=w=>{$!==w&&($=w,e.requestUpdate(),w?(We=ht(),document.body.addEventListener("scroll",fe,{capture:!0}),document.addEventListener("click",ye,{capture:!0}),te.save="",window.addEventListener("keydown",Me),le(),queueMicrotask(()=>{var P;s.value&&m&&(k=pe(s.value,m)),le(),a.value?a.value.focus():(P=i.value)==null||P.focus()})):(We==null||We.release(),We=null,document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),de(y(),"blur"),window.removeEventListener("keydown",Me),b="",e.emit("close")))},rt=()=>{e.props.disabled||et(!$)};let st;const At=w=>{const P=w.target.value;st&&clearTimeout(st),st=setTimeout(()=>{b=P,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},300)},Ge=w=>{T=w,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},Re=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:w=>{const P=F()[w];return P!=null&&P.isHidden?0:se()&&P&&Ke(d,P.depth)?G:D},measureElement:w=>w.getBoundingClientRect().height,overscan:3,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(Re._didMount());const qs=w=>{m=w??null,w&&(Re._willUpdate(),e.requestUpdate())},Is=(w,P)=>{w&&P===d&&(G=w.getBoundingClientRect().height)},Fs=w=>w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ao=(w,P)=>{if(!b||!Ke(d,P))return[{part:w,highlight:!1}];const H=new RegExp(`(${Fs(b)})`,"gi");return w.split(H).map(ce=>({part:ce,highlight:b.toLowerCase()===ce.toLowerCase()}))};let co=v();const Bs=w=>{const{index:P,item:H,start:ce,isSelected:ae,isIndeterminate:he,isDisabled:me,isFocused:ze}=w;if(H.isHidden)return o.nothing;const He=e.props,qe=H.depth,_e=Ke(d,qe),je=h(),nt=Ie=>{qe!==d?Ze(H,Ie):ot(H.code)},gt=Ie=>{je?Ue(H,P,Ie,ae&&De(H)):nt(Ie)},Dt=()=>{Ve(H,P,{},ae&&De(H))},Vt=_e?"하나만":"그룹만";return o.html`<div
1518
+ </svg>`}const Ht={keyProp:"code",displayProp:"name",categoryLv1ID:"categoryLv1ID",categoryLv1Label:"categoryLv1Label",categoryLv2ID:"categoryLv2ID",categoryLv2Label:"categoryLv2Label",description:"description"};function Yn(e,t){const s=a=>t.displayProp&&a[t.displayProp]?a[t.displayProp]:a[t.keyProp],n=a=>t.categoryLv1Label&&a[t.categoryLv1Label]?a[t.categoryLv1Label]:t.categoryLv1ID?a[t.categoryLv1ID]:"",i=a=>t.categoryLv2Label&&a[t.categoryLv2Label]?a[t.categoryLv2Label]:t.categoryLv2ID?a[t.categoryLv2ID]:"";return e.map(a=>({code:a[t.keyProp],name:s(a),categoryLv1ID:t.categoryLv1ID&&a[t.categoryLv1ID]||"",categoryLv1Label:n(a),categoryLv2ID:t.categoryLv2ID&&a[t.categoryLv2ID]||"",categoryLv2Label:i(a),description:t.description&&a[t.description]||""}))}function wt(e,t){let s=e.get(t);return s||(s=[],e.set(t,s)),s}function Zn(e){const t=new Map([["depth0",[]],["depth1",[]],["depth2",[]]]),s=new Map,n=new Map;e.forEach(m=>{const d=m.categoryLv1ID;if(!s.get(d)){const l={code:d,name:m.categoryLv1Label??d};s.set(d,l),wt(t,"depth0").push(l)}if(!m.categoryLv2ID||m.categoryLv2ID.trim()==="")wt(t,"depth1").push({...m,parent:m.categoryLv1ID});else{const l=`${m.categoryLv1ID}-${m.categoryLv2ID}`;if(!n.get(l)){const h={code:m.categoryLv2ID,name:m.categoryLv2Label??m.categoryLv2ID,parent:m.categoryLv1ID,isSubCategory:!0};n.set(l,h),wt(t,"depth1").push(h)}wt(t,"depth2").push({...m,parent:m.categoryLv2ID})}});function i(m,d,l,h){const r=`depth${d}`,p=`depth${d+1}`,u=l.get(p),v={...m,depth:d};if(d!==0&&(v.isHidden=!1),u&&u.length>0){const y=h[r],R=h[p],$=u.filter(V=>V[R]===(m.isSubCategory?m.code:m[y]));v.isExpanded=!0;const b=[v];return $.forEach(V=>{b.push(...i(V,d+1,l,h))}),b}return[v]}const a={depth0:"code",depth1:"parent",depth2:"parent"};return(t.get("depth0")??[]).flatMap(m=>i(m,0,t,a))}function jn(e){return new Set(e.map(t=>t.code))}function Ke(e,t){return t===e}function St(e,t){return e.filter(s=>s.categoryLv1ID===t.code||s.categoryLv2ID===t.code)}function Ct(e){return new Set(e.map(t=>t.code))}function Vt(e,t){return{childDepthList:St(e,t)}}function wo(e,t){for(const s of e)if(!t.has(s))return!1;return!0}function xt(e,t,s){t===0&&e.categoryLv1Set.delete(s),t===1&&e.categoryLv2Set.delete(s)}function dt(e,t,s){t===0&&e.categoryLv1Set.add(s),t===1&&e.categoryLv2Set.add(s)}function Xn(e,t,s){t.length&&e.categoryLv1Set.add(t),s.length&&e.categoryLv2Set.add(s)}function bt(e){e.categoryLv1Set.clear(),e.categoryLv2Set.clear()}function cs(e,t,s,n){if(dt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&cs(e,t,i)}}function ds(e,t,s,n){if(dt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ds(e,t,a,n)})}function Co(e,t,s,n){cs(e,t,s),ds(e,t,s,n)}function us(e,t,s,n){if(xt(e,s.depth,s.code),s.parent){const i=t.find(a=>a.code===s.parent);i&&us(e,t,i)}}function ps(e,t,s,n){if(xt(e,s.depth,s.code),Ke(n,s.depth))return;t.filter(a=>a.parent===s.code).forEach(a=>{Ke(n,a.depth)||ps(e,t,a,n)})}function bo(e,t,s,n){us(e,t,s),ps(e,t,s,n)}const Qn=new Set(["modelValue","itemsSource","label","placeholder","required","disabled","isReadOnly","width","rules","keyProp","displayProp","useFilter","useSelectAll","class","style"]),hs=ve({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:Ht,modelValue:[]},setup(e){const t=N.createRef(),s=N.createRef(),n=N.createRef(),i=N.createRef(),a=N.createRef();let m=null;const d=(e.props.treeLevels??1)-1,l=d,h=()=>!!e.props.useMultiSelect,r=()=>e.props.disabledProp||"disabled",p=()=>e.props.treeProps??Ht;let u=e.props.modelValue??(h()?[]:"");const v=()=>e.controlled("modelValue")?e.props.modelValue??[]:u,y=()=>{const w=v();return Array.isArray(w)?w:w?[w]:[]},R=w=>{e.controlled("modelValue")||(u=w),e.emit("update:modelValue",w),e.requestUpdate()};let $=!1,b="",V=!1,k=!1,T=!1,X={},W=[];const te={change:"",blur:"",save:""},ne=new Set,ee=new Set,K={categoryLv1Set:ne,categoryLv2Set:ee},D=(()=>{try{const w=getComputedStyle(document.documentElement).getPropertyValue("--size-input-dropdown-item-height");return w?+w.trim().replace("px",""):24}catch{return 24}})();let G=D;const se=()=>e.slots.has("list-item");let ie=[],Q=[],_=e.props.itemsSource;const E=()=>{ie=Yn(e.props.itemsSource??[],p()),Q=Zn(ie)};E();const M=()=>{const w=new Map;return ie.forEach(P=>w.set(P.code,P)),w},U=w=>w.name??"",S=w=>new Set(y()).has(w.code),L=w=>W.some(P=>it(P.item,w)),A=()=>new Set(y()),F=()=>{let w=[];if(!b)w=Q;else{const P=[],H=new Set,ce=ae=>`depth${ae.depth}_${ae.code}`;for(const ae of Q)if(ae.depth!==l){for(;P.length&&P[P.length-1].depth>=ae.depth;)P.pop();P.push(ae)}else if(U(ae).toLowerCase().indexOf(b.toLowerCase())>-1){for(const me of P){const ze=ce(me);H.has(ze)||(w.push(me),H.add(ze))}const he=ce(ae);H.has(he)||(w.push(ae),H.add(he))}}if(T){const P=new Set,H=M(),ce=A();w.filter(he=>{if(we(he,ce))return!0;if(h()&&!Ke(d,he.depth)){const me=St(Q,he);if(me.length>0&&me.some(ze=>ce.has(ze.code)))return!0}return!1}).forEach(he=>{let me=he;for(;me&&(P.add(me.code),!!me.parent);)me=H.get(me.parent)}),w=w.filter(he=>P.has(he.code))}return w},f=()=>F().filter(w=>!(w.categoryLv1ID||w.categoryLv2ID)),B=()=>{const w=f();return F().filter(P=>!w.includes(P))},Y=()=>new Set(B().map(w=>w.code)),j=()=>jn(B()),we=(w,P)=>h()?Ke(l,w.depth)?P.has(w.code):ne.has(w.code)||ee.has(w.code):v()===w.code,De=w=>{if(Ke(d,w.depth))return!0;const P=St(F(),w);return P.length===0?!0:wo(Ct(P),A())},Ne=()=>{const w=y().length,P=f().length;if(w<P||w===0||P===0)return!1;for(const H of j())if(!A().has(H))return!1;return!0},Oe=()=>{const w=j(),P=A();return!w.size||!P.size||P.size<w.size?!1:Array.from(w).every(H=>P.has(H))},c=()=>h()?!!e.props.useSelectAll:!1,x=()=>{const w=v(),P=M();if(typeof w=="string")return P.has(w)?P.get(w).name:w;const H=Array.isArray(w)?w:[],ce=H.filter(ae=>P.has(ae)).map(ae=>P.get(ae).name);return H.length?h()&&ce.length>1?e.props.headerFormat.replace(/\{count(:.*?)?}/g,`${ce.length.toLocaleString()}`):ce.join(", ")||"":""},Z=()=>te.save||te.blur||te.change,re=()=>{const w=[];return e.props.required&&w.push({message:e.locale.TreeSelect.required.replace("{label}",e.props.label||""),type:"save",validator:P=>!!P.length}),[...w,...e.props.rules??[]]},de=async(w,P)=>{const H=re();if(H.length<=0)return;if(e.props.disabled)return!0;te[P]="",e.requestUpdate();const ce=H.filter(ae=>ae.type===P);for(const ae of ce)if(!await ae.validator(w))return te[P]=ae.message,e.requestUpdate(),!1;return!0},Se=async(w="save")=>Z()!==""?!1:await de(y(),w)??!0,be={validate:Se,initValidator:()=>{te.change="",te.blur="",te.save="",e.requestUpdate()}};e.validator&&(e.validator.addValidator(be),e.onCleanup(()=>{We==null||We.release(),We=null}),e.onCleanup(()=>{var w;return(w=e.validator)==null?void 0:w.removeValidator(be)}));const C=(w,P)=>w.filter(H=>S(H)!==P).map(H=>H.code),q=w=>{const P=Array.from(new Set(w));it(y(),P)||(R(P),e.emit("change",P,P.filter(Boolean)),de(P,"change"),Ce(P))},Ce=w=>{w.length===ie.length?f().forEach(P=>dt(K,P.depth,P.code)):w.forEach(P=>{const H=B().find(ce=>ce.code===P);H&&Xn(K,H.categoryLv1ID??"",H.categoryLv2ID??"")})},ke=(w,P,H)=>{if(H.shiftKey&&W.length>0){const ce=W[0],ae=Math.min(ce.index,P),he=Math.max(ce.index,P);W=F().slice(ae,he+1).map((me,ze)=>({item:me,index:ae+ze}))}else H.ctrlKey?W.push({item:w,index:P}):W=[{item:w,index:P}]},Ee=(w,P)=>{if(!Ke(d,w.depth)){const{childDepthList:H}=Vt(F(),w);if(P){const ce=Ct(H);R(y().filter(ae=>!ce.has(ae))),bo(K,F(),w,l)}else{const ce=H.map(ae=>ae.code);R([...y(),...ce])}}},Te=(w,P)=>{const ce=W.map(me=>me.item).filter(me=>me.depth===l),ae=C(ce,w);let he=[];if(P.depth!==d){const{childDepthList:me}=Vt(F(),P),ze=Ct(me);he=y().filter(He=>!ze.has(He))}else he=y();w?P.depth===d?he=[...he,...ae]:Co(K,F(),P,l):(bt(K),he=he.filter(me=>!ae.some(ze=>me===ze))),q(he)},Ve=(w,P,H,ce)=>{const ae=W.some(he=>he.item.code===w.code);(W.length<=1||!ae)&&ke(w,P,{shiftKey:!1,ctrlKey:!1}),Te(!ce,w),Ee(w,ce),e.requestUpdate()},Ue=(w,P,H,ce)=>{w[r()]!==!0&&(!H.ctrlKey&&!H.shiftKey&&W.length<=1&&Ve(w,P,H,ce),ke(w,P,H),e.requestUpdate())},Qe=(w,P,H)=>{if(w[r()]===!0)return;let ce=[],ae=!1;const he=w.code;if(Ke(d,w.depth))ae=y().length===1&&y()[0]===he,ae||(ce=[he]),bt(K);else{const{childDepthList:me}=Vt(F(),w),ze=Ct(me);ae=wo(ze,A())&&ze.size===A().size,ae?bo(K,F(),w,l):(ce=[],bt(K),Co(K,F(),w,l))}q(ce),Ee(w,ae),ke(w,P,H),e.requestUpdate()},ot=w=>{R(w),et(!1)},Je=(w,P)=>{F().filter(ce=>ce.parent===w).forEach(ce=>{if(ce.isHidden=P,ce.depth===l)return;const he=!P&&!ce.isExpanded?!0:P;Je(ce.code,he)})},Ze=(w,P)=>{P.stopPropagation(),w.isExpanded=!w.isExpanded,Je(w.code,!w.isExpanded),queueMicrotask(()=>Re.measure()),e.requestUpdate()},g=w=>{Q.forEach(P=>{P.isExpanded=w,P.depth>0?P.isHidden=!w:P.isHidden=!1}),queueMicrotask(()=>Re.measure()),e.requestUpdate()},O=w=>{w.stopPropagation(),Y().size===A().size&&[...Y()].every(H=>A().has(H))?(f().forEach(H=>xt(K,H.depth,H.code)),q([])):(bt(K),f().forEach(H=>dt(K,H.depth,H.code)),q([...Y()]))},I=w=>{if(w.stopPropagation(),Oe()){const P=j();q(y().filter(H=>!P.has(H))),f().forEach(H=>xt(K,H.depth,H.code))}else{const P=new Set([...y(),...Y()]);q(Array.from(P)),f().forEach(H=>dt(K,H.depth,H.code))}},J=w=>{V=w.target.scrollTop>0,e.requestUpdate()},le=()=>{const w=s.value;if(!w)return;const P=w.getBoundingClientRect();let H=`${P.width}px`;e.props.listBoxWidth&&(H=typeof e.props.listBoxWidth=="number"?`${e.props.listBoxWidth}px`:e.props.listBoxWidth),X={width:String(H),left:`${P.left}px`,top:`${P.top+(k?0:P.height)}px`},e.requestUpdate()},pe=(w,P,H=10)=>{const ce=window.innerHeight||document.documentElement.clientHeight,ae=window.innerWidth||document.documentElement.clientWidth,he=w.getBoundingClientRect(),me=P.getBoundingClientRect(),ze=he.bottom+me.height+H>ce;if(!ze)return!1;const He=he.top-me.height-H<0,qe=he.right+me.width+H>ae,_e=he.left-me.width-H<0;return ze&&!He||qe&&!_e},fe=w=>{w.target!==m&&et(!1)},ye=w=>{var P,H;!((P=t.value)!=null&&P.contains(w.target))&&!((H=n.value)!=null&&H.contains(w.target))&&(et(!1),document.removeEventListener("click",ye,{capture:!0}))},Me=w=>{var H;`${w.ctrlKey?"ctrl+":""}${w.altKey?"alt+":""}${w.key.toLowerCase()}`==="escape"&&(et(!1),(H=i.value)==null||H.focus())};e.onCleanup(()=>{document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),window.removeEventListener("keydown",Me)});let We=null;const et=w=>{$!==w&&($=w,e.requestUpdate(),w?(We=ht(),document.body.addEventListener("scroll",fe,{capture:!0}),document.addEventListener("click",ye,{capture:!0}),te.save="",window.addEventListener("keydown",Me),le(),queueMicrotask(()=>{var P;s.value&&m&&(k=pe(s.value,m)),le(),a.value?a.value.focus():(P=i.value)==null||P.focus()})):(We==null||We.release(),We=null,document.body.removeEventListener("scroll",fe,{capture:!0}),document.removeEventListener("click",ye,{capture:!0}),de(y(),"blur"),window.removeEventListener("keydown",Me),b="",e.emit("close")))},rt=()=>{e.props.disabled||et(!$)};let st;const zt=w=>{const P=w.target.value;st&&clearTimeout(st),st=setTimeout(()=>{b=P,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},300)},Ge=w=>{T=w,e.requestUpdate(),queueMicrotask(()=>{Re.setOptions({...Re.options,count:F().length}),Re.measure()})},Re=new Fe.Virtualizer({count:0,getScrollElement:()=>m,estimateSize:w=>{const P=F()[w];return P!=null&&P.isHidden?0:se()&&P&&Ke(d,P.depth)?G:D},measureElement:w=>w.getBoundingClientRect().height,overscan:3,observeElementRect:Fe.observeElementRect,observeElementOffset:Fe.observeElementOffset,scrollToFn:Fe.elementScroll,onChange:()=>e.requestUpdate()});e.onCleanup(Re._didMount());const Rs=w=>{m=w??null,w&&(Re._willUpdate(),e.requestUpdate())},qs=(w,P)=>{w&&P===d&&(G=w.getBoundingClientRect().height)},Is=w=>w.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ro=(w,P)=>{if(!b||!Ke(d,P))return[{part:w,highlight:!1}];const H=new RegExp(`(${Is(b)})`,"gi");return w.split(H).map(ce=>({part:ce,highlight:b.toLowerCase()===ce.toLowerCase()}))};let ao=v();const Fs=w=>{const{index:P,item:H,start:ce,isSelected:ae,isIndeterminate:he,isDisabled:me,isFocused:ze}=w;if(H.isHidden)return o.nothing;const He=e.props,qe=H.depth,_e=Ke(d,qe),je=h(),nt=Ie=>{qe!==d?Ze(H,Ie):ot(H.code)},ft=Ie=>{je?Ue(H,P,Ie,ae&&De(H)):nt(Ie)},At=()=>{Ve(H,P,{},ae&&De(H))},Dt=_e?"하나만":"그룹만";return o.html`<div
1519
1519
  data-index=${P}
1520
- ${N.ref(Ie=>{Ie&&(Re.measureElement(Ie),Is(Ie,qe))})}
1520
+ ${N.ref(Ie=>{Ie&&(Re.measureElement(Ie),qs(Ie,qe))})}
1521
1521
  style=${oe.styleMap({transform:`translateY(${ce}px)`})}
1522
1522
  class=${z("list-box-item virtual-row tree-item",{"list-selected":ae,"moz-multi-focus":ze,"is-selected":ae,"single-select-item":!je&&_e,"multi-select-item":je})}
1523
1523
  >
@@ -1526,7 +1526,7 @@
1526
1526
  style=${oe.styleMap({"--depth":String(qe),"--last-depth-item-height":String(G)})}
1527
1527
  @click=${Ie=>{je||nt(Ie)}}
1528
1528
  ></div>
1529
- <div class="item-content" @click=${gt}>
1529
+ <div class="item-content" @click=${ft}>
1530
1530
  ${_e?o.nothing:o.html`<button
1531
1531
  type="button"
1532
1532
  class="icon-container"
@@ -1534,18 +1534,18 @@
1534
1534
  aria-label=${H.isExpanded?e.locale.TreeSelect.collapse:e.locale.TreeSelect.expand}
1535
1535
  @click=${Ie=>Ze(H,Ie)}
1536
1536
  >
1537
- ${e.slots.has("icon")?e.slot("icon"):H.isExpanded?Kn("var(--moz-color-accent)"):Wn("var(--moz-color-text-subtle)")}
1537
+ ${e.slots.has("icon")?e.slot("icon"):H.isExpanded?Wn("var(--moz-color-accent)"):Un("var(--moz-color-text-subtle)")}
1538
1538
  </button>`}
1539
- ${je?St({checked:ae,disabled:me,indeterminate:he,onChange:Dt}):o.nothing}
1539
+ ${je?$t({checked:ae,disabled:me,indeterminate:he,onChange:At}):o.nothing}
1540
1540
  <div class="highlight-container">
1541
- ${se()&&_e?e.slot("list-item",{text:{text:U(H),depth:qe},item:H,highlightText:ao(U(H),qe)}):o.html`${ao(U(H),qe).map(Ie=>o.html`<span class=${z({highlight:Ie.highlight})}>${Ie.part}</span>`)}`}
1541
+ ${se()&&_e?e.slot("list-item",{text:{text:U(H),depth:qe},item:H,highlightText:ro(U(H),qe)}):o.html`${ro(U(H),qe).map(Ie=>o.html`<span class=${z({highlight:Ie.highlight})}>${Ie.part}</span>`)}`}
1542
1542
  </div>
1543
- ${!je&&ae&&_e?oo("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
1543
+ ${!je&&ae&&_e?to("12","var(--moz-color-accent)",!1,"icon-check"):o.nothing}
1544
1544
  ${je&&He.useSpecificSelect&&!me?o.html`<button type="button" class="item-only item-only-btn" @click=${Ie=>Qe(H,P,Ie)}>
1545
- ${Vt}
1545
+ ${Dt}
1546
1546
  </button>`:o.nothing}
1547
1547
  </div>
1548
- </div>`};return{api:{validate:Se},render(){const w=e.props;w.itemsSource!==_&&(_=w.itemsSource,E());const P=v();P!==co&&(co=P,typeof P!="string"&&Ce(y()));const H=typeof w.width=="number"?`${xe(w.width)}rem`:w.width,ce=e.slots.has("icon")?e.slot("icon",{isOpen:$}):$?lo("14","var(--moz-color-accent)"):so("14","var(--moz-color-text-subtle)",w.disabled),ae=ge(w,Jn),{aria:he,dom:me}=ut(ae);return o.html`
1548
+ </div>`};return{api:{validate:Se},render(){const w=e.props;w.itemsSource!==_&&(_=w.itemsSource,E());const P=v();P!==ao&&(ao=P,typeof P!="string"&&Ce(y()));const H=typeof w.width=="number"?`${Le(w.width)}rem`:w.width,ce=e.slots.has("icon")?e.slot("icon",{isOpen:$}):$?so("14","var(--moz-color-accent)"):oo("14","var(--moz-color-text-subtle)",w.disabled),ae=ge(w,Qn),{aria:he,dom:me}=ut(ae);return o.html`
1549
1549
  <div
1550
1550
  ${ue(me)}
1551
1551
  class=${z("moz-multi-select moz-tree-select",w.class,{"is-invalid":Z()!=="","is-open":$,disabled:!!w.disabled})}
@@ -1555,7 +1555,7 @@
1555
1555
  <div class="input-wrapper">
1556
1556
  ${w.label?Be({},o.html`${w.label}${w.required?o.html`<span class="require-mark">*</span>`:o.nothing}`):o.nothing}
1557
1557
  <div class="moz-input-container" @click=${rt} ${N.ref(s)}>
1558
- <input .value=${L()} autocomplete="off" readonly tabindex="-1" />
1558
+ <input .value=${x()} autocomplete="off" readonly tabindex="-1" />
1559
1559
  <button
1560
1560
  type="button"
1561
1561
  class="icon-container"
@@ -1563,7 +1563,7 @@
1563
1563
  role="combobox"
1564
1564
  aria-haspopup="tree"
1565
1565
  aria-expanded=${$?"true":"false"}
1566
- aria-label=${Le.ifDefined(he["aria-label"]??w.label)}
1566
+ aria-label=${xe.ifDefined(he["aria-label"]??w.label)}
1567
1567
  ?disabled=${!!w.disabled}
1568
1568
  ${N.ref(i)}
1569
1569
  >
@@ -1573,33 +1573,33 @@
1573
1573
  </div>
1574
1574
  ${Z()!==""?o.html`<span class="moz-input-invalid-message">${Z()}</span>`:o.nothing}
1575
1575
  </div>
1576
- `},renderPortal(){if(!$)return o.nothing;const w=e.props,P=F();Re.options.count!==P.length&&Re.setOptions({...Re.options,count:P.length}),Re._willUpdate();const H=Re.getTotalSize(),ce=A(),ae=Mt(Re.getVirtualItems(),P.length,D,m).map(He=>{if(He.index>=P.length)return null;const qe=P[He.index];if(!qe)return null;let _e=we(qe,ce),je=!1;if(h()&&!Ke(d,qe.depth)){const nt=kt(Q,qe);if(nt.length>0){const gt=nt.reduce((Dt,Vt)=>Dt+(ce.has(Vt.code)?1:0),0);gt===0?_e=!1:gt<nt.length?(_e=!0,je=!0):_e=!0}}return{index:He.index,item:qe,start:He.start,isSelected:_e,isIndeterminate:je,isDisabled:qe[r()]===!0,isFocused:x(qe)}}).filter(He=>He!==null),he=b?e.locale.TreeSelect.selectFiltered:e.locale.TreeSelect.selectAll,me=v(),ze=Array.isArray(me)?me.length:me?1:0;return o.html`<div
1576
+ `},renderPortal(){if(!$)return o.nothing;const w=e.props,P=F();Re.options.count!==P.length&&Re.setOptions({...Re.options,count:P.length}),Re._willUpdate();const H=Re.getTotalSize(),ce=A(),ae=Tt(Re.getVirtualItems(),P.length,D,m).map(He=>{if(He.index>=P.length)return null;const qe=P[He.index];if(!qe)return null;let _e=we(qe,ce),je=!1;if(h()&&!Ke(d,qe.depth)){const nt=St(Q,qe);if(nt.length>0){const ft=nt.reduce((At,Dt)=>At+(ce.has(Dt.code)?1:0),0);ft===0?_e=!1:ft<nt.length?(_e=!0,je=!0):_e=!0}}return{index:He.index,item:qe,start:He.start,isSelected:_e,isIndeterminate:je,isDisabled:qe[r()]===!0,isFocused:L(qe)}}).filter(He=>He!==null),he=b?e.locale.TreeSelect.selectFiltered:e.locale.TreeSelect.selectAll,me=v(),ze=Array.isArray(me)?me.length:me?1:0;return o.html`<div
1577
1577
  class=${z("list-box",{"no-label":!w.label,"show-top":k})}
1578
1578
  style=${oe.styleMap(X)}
1579
1579
  ${N.ref(n)}
1580
1580
  >
1581
1581
  <div class="filter-input-wrapper">
1582
1582
  ${w.useFilter?o.html`<div class="filter-input">
1583
- <div class="search-icon">${no("12","var(--moz-color-text-subtle)")}</div>
1584
- <input placeholder=${e.locale.TreeSelect.search} @input=${At} ${N.ref(a)} />
1583
+ <div class="search-icon">${lo("12","var(--moz-color-text-subtle)")}</div>
1584
+ <input placeholder=${e.locale.TreeSelect.search} @input=${zt} ${N.ref(a)} />
1585
1585
  </div>`:o.nothing}
1586
1586
  <div class="tree-controls">
1587
- <span class="control-btn" @click=${()=>g(!0)}>${Gn("currentColor")}</span>
1588
- <span class="control-btn" @click=${()=>g(!1)}>${Yn("currentColor")}</span>
1587
+ <span class="control-btn" @click=${()=>g(!0)}>${Kn("currentColor")}</span>
1588
+ <span class="control-btn" @click=${()=>g(!1)}>${Gn("currentColor")}</span>
1589
1589
  </div>
1590
1590
  </div>
1591
1591
 
1592
1592
  ${c()&&ie.length>0&&P.length>0?o.html`<div class=${z("list-box-item multi-select-item multi-select-all",{"is-scrolled":V})} @click=${I}>
1593
1593
  <div class="select-all-content">
1594
- ${St({indeterminate:ze>0&&Ne()===!1,checked:Oe()})}
1594
+ ${$t({indeterminate:ze>0&&Ne()===!1,checked:Oe()})}
1595
1595
  <div><span title=${he}>${he}</span></div>
1596
1596
  </div>
1597
1597
  ${b&&P.length>0?o.html`<button type="button" class="item-only" @click=${O}>${e.locale.TreeSelect.specificResults}</button>`:o.nothing}
1598
1598
  </div>`:o.nothing}
1599
1599
 
1600
- <div class="list-box-container" @scroll=${J} ${N.ref(qs)}>
1600
+ <div class="list-box-container" @scroll=${J} ${N.ref(Rs)}>
1601
1601
  <div class="inner-container" style=${oe.styleMap({height:`${H}px`})}>
1602
- ${ae.map(He=>Bs(He))}
1602
+ ${ae.map(He=>Fs(He))}
1603
1603
  </div>
1604
1604
  ${P.length<=0?o.html`<div class="list-box-item loading not-hover">
1605
1605
  ${e.slots.has("empty")?e.slot("empty"):e.locale.TreeSelect.noData}
@@ -1608,30 +1608,30 @@
1608
1608
 
1609
1609
  ${h()?o.html`<div class="list-footer">
1610
1610
  <label class="footer-checkbox">
1611
- ${St({checked:T,onChange:Ge,class:"moz-checkbox"})}
1611
+ ${$t({checked:T,onChange:Ge,class:"moz-checkbox"})}
1612
1612
  <span>${e.locale.TreeSelect.showSelectedOnly}</span>
1613
1613
  </label>
1614
1614
  </div>`:o.nothing}
1615
- </div>`}}}}),ei={name:"MozTreeSelect",core:ms,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},ti=new Set(["panes","direction","resizable","minSize","class","style"]),$o=(e,t)=>e===void 0?t:typeof e=="number"?`${e}px`:e,fs=ve({name:"moz-split-pane",defaults:{horizontal:!1,panes:[]},setup(e){let t=null,s=null;const n=[],i=[],a=[],m=[];let d=[],l=!1,h=0,r=0,p=-1,u=-1,v=-1,y=null,R=null,$=0;const b=()=>!!e.props.horizontal,V=()=>e.props.panes??[],k=()=>{d=V().map(_=>_.hidden?"0":_.size!=null?String(_.size):"1fr")};k();const T=_=>b()?_.clientHeight:_.clientWidth,X=()=>T(a[u]),W=()=>T(m[u]),te=()=>T(a[v]),ne=()=>T(m[v]),ee=_=>{if(!l)return;let E=b()?_.movementY:_.movementX;y=+(E>0),y!==R&&R!==null&&(u=p,v=p+1),R=y;const M=i[p].getBoundingClientRect(),U=b()?_.clientY-M.top+window.scrollY:_.clientX-M.left+window.scrollX;(y===0&&U>10||y===1&&U<-10)&&(E=E/(Math.abs(U)/10)),(y===0&&b()?_.clientY<M.top:_.clientX<M.left)&&($=0),(y===1&&b()?_.clientY>M.top:_.clientX>M.left)&&($=0);const S=F=>n[F][b()?"clientHeight":"clientWidth"];if(h=S(u)+E,r=S(v)+S(u)-h,!(h>X()&&h<W()||h<X()&&y===1||h>X()&&y===0)){if(h<X()){if(u-1<0&&y===0){$+=b()?_.movementY:_.movementX;return}u=u-1>=0?u-1:0}else if(h>W()){if(u-1<0){$+=b()?_.movementY:_.movementX;return}u=u-1>=0?u-1:0}}if(!(r>te()&&r<ne()||r<te()&&y===0||r>te()&&y===1)){if(r<te()){if(v+1>=d.length){$+=b()?_.movementY:_.movementX;return}v=v+1<d.length?v+1:d.length-1}else if(r>ne()){if(v+1>=d.length){$+=b()?_.movementY:_.movementX;return}v=v+1<d.length?v+1:d.length-1}}if(y===0&&$>0||y===1&&$<0||y===0&&r>ne()||y===1&&r<te()||y===0&&h<X()||y===1&&h>W())return;const x=t[b()?"clientHeight":"clientWidth"],A=S(u)+E;d[u]=`clamp(${X()}px, ${A/x*100}%, ${W()}px)`,d[v]="1fr",e.requestUpdate(),queueMicrotask(()=>{const F=S(v);d[v]=`clamp(${te()}px, ${F/x*100}%, ${ne()}px)`,e.requestUpdate()})},K=()=>{p=-1,u=-1,v=-1,l=!1,$=0,document.removeEventListener("mousemove",ee),document.removeEventListener("mouseup",K),e.requestUpdate()},D=_=>{_.preventDefault(),l=!0,b()?_.clientY:_.clientX,document.addEventListener("mousemove",ee),document.addEventListener("mouseup",K),e.requestUpdate()},G=(_,E)=>{p=E,u=E,v=E+1,$=0,D(_)};let se=null;const ie=()=>{t&&s&&(s.style.width=`${t.clientWidth}px`,s.style.height=`${t.clientHeight}px`)};e.onCleanup(()=>{document.removeEventListener("mouseup",K),document.removeEventListener("mousemove",ee),se==null||se.disconnect()});let Q=e.props.panes;return{onMounted:()=>{k(),e.requestUpdate()},render(){const _=V();e.props.panes!==Q&&(Q=e.props.panes,queueMicrotask(()=>{k(),e.requestUpdate()}));const E=b()?"gridTemplateRows":"gridTemplateColumns",M=_.length-1,U=ge(e.props,ti);return o.html`
1615
+ </div>`}}}}),Jn={name:"MozTreeSelect",core:hs,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},ei=new Set(["panes","direction","resizable","minSize","class","style"]),yo=(e,t)=>e===void 0?t:typeof e=="number"?`${e}px`:e,ms=ve({name:"moz-split-pane",defaults:{horizontal:!1,panes:[]},setup(e){let t=null,s=null;const n=[],i=[],a=[],m=[];let d=[],l=!1,h=0,r=0,p=-1,u=-1,v=-1,y=null,R=null,$=0;const b=()=>!!e.props.horizontal,V=()=>e.props.panes??[],k=()=>{d=V().map(_=>_.hidden?"0":_.size!=null?String(_.size):"1fr")};k();const T=_=>b()?_.clientHeight:_.clientWidth,X=()=>T(a[u]),W=()=>T(m[u]),te=()=>T(a[v]),ne=()=>T(m[v]),ee=_=>{if(!l)return;let E=b()?_.movementY:_.movementX;y=+(E>0),y!==R&&R!==null&&(u=p,v=p+1),R=y;const M=i[p].getBoundingClientRect(),U=b()?_.clientY-M.top+window.scrollY:_.clientX-M.left+window.scrollX;(y===0&&U>10||y===1&&U<-10)&&(E=E/(Math.abs(U)/10)),(y===0&&b()?_.clientY<M.top:_.clientX<M.left)&&($=0),(y===1&&b()?_.clientY>M.top:_.clientX>M.left)&&($=0);const S=F=>n[F][b()?"clientHeight":"clientWidth"];if(h=S(u)+E,r=S(v)+S(u)-h,!(h>X()&&h<W()||h<X()&&y===1||h>X()&&y===0)){if(h<X()){if(u-1<0&&y===0){$+=b()?_.movementY:_.movementX;return}u=u-1>=0?u-1:0}else if(h>W()){if(u-1<0){$+=b()?_.movementY:_.movementX;return}u=u-1>=0?u-1:0}}if(!(r>te()&&r<ne()||r<te()&&y===0||r>te()&&y===1)){if(r<te()){if(v+1>=d.length){$+=b()?_.movementY:_.movementX;return}v=v+1<d.length?v+1:d.length-1}else if(r>ne()){if(v+1>=d.length){$+=b()?_.movementY:_.movementX;return}v=v+1<d.length?v+1:d.length-1}}if(y===0&&$>0||y===1&&$<0||y===0&&r>ne()||y===1&&r<te()||y===0&&h<X()||y===1&&h>W())return;const L=t[b()?"clientHeight":"clientWidth"],A=S(u)+E;d[u]=`clamp(${X()}px, ${A/L*100}%, ${W()}px)`,d[v]="1fr",e.requestUpdate(),queueMicrotask(()=>{const F=S(v);d[v]=`clamp(${te()}px, ${F/L*100}%, ${ne()}px)`,e.requestUpdate()})},K=()=>{p=-1,u=-1,v=-1,l=!1,$=0,document.removeEventListener("mousemove",ee),document.removeEventListener("mouseup",K),e.requestUpdate()},D=_=>{_.preventDefault(),l=!0,b()?_.clientY:_.clientX,document.addEventListener("mousemove",ee),document.addEventListener("mouseup",K),e.requestUpdate()},G=(_,E)=>{p=E,u=E,v=E+1,$=0,D(_)};let se=null;const ie=()=>{t&&s&&(s.style.width=`${t.clientWidth}px`,s.style.height=`${t.clientHeight}px`)};e.onCleanup(()=>{document.removeEventListener("mouseup",K),document.removeEventListener("mousemove",ee),se==null||se.disconnect()});let Q=e.props.panes;return{onMounted:()=>{k(),e.requestUpdate()},render(){const _=V();e.props.panes!==Q&&(Q=e.props.panes,queueMicrotask(()=>{k(),e.requestUpdate()}));const E=b()?"gridTemplateRows":"gridTemplateColumns",M=_.length-1,U=ge(e.props,ei);return o.html`
1616
1616
  <div
1617
1617
  ${ue(U)}
1618
1618
  class=${z("splitter",e.props.class)}
1619
1619
  style=${oe.styleMap({display:"grid",[E]:d.join(" "),width:"100%",height:"100%",overflow:"hidden",cursor:l?b()?"row-resize":"col-resize":"unset"})}
1620
1620
  ${N.ref(S=>{t=S??null,t&&s&&(ie(),!se&&typeof ResizeObserver<"u"&&(se=new ResizeObserver(()=>ie()),se.observe(t)))})}
1621
1621
  >
1622
- ${_.map((S,x)=>{const A=x===M?"100%":d[x+1]!=="0"?"calc(100% - 10px) 10px":"100%";return o.html`<div
1622
+ ${_.map((S,L)=>{const A=L===M?"100%":d[L+1]!=="0"?"calc(100% - 10px) 10px":"100%";return o.html`<div
1623
1623
  style=${oe.styleMap({display:"grid",[E]:A,overflow:"hidden"})}
1624
- ${N.ref(F=>{n[x]=F??null})}
1624
+ ${N.ref(F=>{n[L]=F??null})}
1625
1625
  >
1626
- <div style="width: 100%; height: 100%; overflow: hidden">${e.slot(`pane-${x}`)}</div>
1627
- ${x!==M&&d[x+1]!=="0"?o.html`<div
1626
+ <div style="width: 100%; height: 100%; overflow: hidden">${e.slot(`pane-${L}`)}</div>
1627
+ ${L!==M&&d[L+1]!=="0"?o.html`<div
1628
1628
  class=${b()?"resizer resizer-horizontal":"resizer resizer-vertical"}
1629
1629
  role="separator"
1630
1630
  aria-orientation=${b()?"horizontal":"vertical"}
1631
1631
  aria-label=${e.locale.SplitPane.resizeHandle}
1632
1632
  tabindex="0"
1633
- @mousedown=${F=>G(F,x)}
1634
- ${N.ref(F=>{i[x]=F??null})}
1633
+ @mousedown=${F=>G(F,L)}
1634
+ ${N.ref(F=>{i[L]=F??null})}
1635
1635
  ></div>`:o.nothing}
1636
1636
  </div>`})}
1637
1637
 
@@ -1639,19 +1639,19 @@
1639
1639
  style="pointer-events: none; position: fixed"
1640
1640
  ${N.ref(S=>{s=S??null,t&&s&&ie()})}
1641
1641
  >
1642
- ${_.map((S,x)=>{const A=$o(S.minSize,"10px"),F=$o(S.maxSize,"100%");return o.html`<div
1642
+ ${_.map((S,L)=>{const A=yo(S.minSize,"10px"),F=yo(S.maxSize,"100%");return o.html`<div
1643
1643
  class="size-calculator min-size"
1644
1644
  style=${oe.styleMap({width:A,height:A})}
1645
- ${N.ref(f=>{a[x]=f??null})}
1645
+ ${N.ref(f=>{a[L]=f??null})}
1646
1646
  ></div>
1647
1647
  <div
1648
1648
  class="size-calculator max-size"
1649
1649
  style=${oe.styleMap({width:F,height:F})}
1650
- ${N.ref(f=>{m[x]=f??null})}
1650
+ ${N.ref(f=>{m[L]=f??null})}
1651
1651
  ></div>`})}
1652
1652
  </div>
1653
1653
  </div>
1654
- `}}}}),oi={name:"MozSplitPane",core:fs,props:["horizontal","panes"],emits:[],slots:["pane-0","pane-1","pane-2","pane-3","pane-4","pane-5","pane-6","pane-7"],expose:!1};function si(e="currentColor",t=14){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
1654
+ `}}}}),ti={name:"MozSplitPane",core:ms,props:["horizontal","panes"],emits:[],slots:["pane-0","pane-1","pane-2","pane-3","pane-4","pane-5","pane-6","pane-7"],expose:!1};function oi(e="currentColor",t=14){return o.html`<svg width=${t} height=${t} viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
1655
1655
  <path
1656
1656
  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"
1657
1657
  fill=${e}
@@ -1666,7 +1666,7 @@
1666
1666
  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"
1667
1667
  fill=${e}
1668
1668
  ></path>
1669
- </svg>`}function li(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1669
+ </svg>`}function si(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1670
1670
  <g clip-path="url(#clip0_16945_2363)">
1671
1671
  <path
1672
1672
  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"
@@ -1682,7 +1682,7 @@
1682
1682
  <defs>
1683
1683
  <clipPath id="clip0_16945_2363"><rect width="14" height="14" fill=${e}></rect></clipPath>
1684
1684
  </defs>
1685
- </svg>`}function ni(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14">
1685
+ </svg>`}function li(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14">
1686
1686
  <path d="M0,0H14V14H0Z" fill="none"></path>
1687
1687
  <line
1688
1688
  y2="10"
@@ -1700,36 +1700,36 @@
1700
1700
  stroke-linecap="round"
1701
1701
  stroke-width="1.8"
1702
1702
  ></line>
1703
- </svg>`}function ii(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1703
+ </svg>`}function ni(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1704
1704
  <path
1705
1705
  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"
1706
1706
  fill=${e}
1707
1707
  ></path>
1708
- </svg>`}function ri(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1708
+ </svg>`}function ii(e="currentColor",t=14){return o.html`<svg xmlns="http://www.w3.org/2000/svg" width=${t} height=${t} viewBox="0 0 14 14" fill="none">
1709
1709
  <path
1710
1710
  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"
1711
1711
  fill=${e}
1712
1712
  ></path>
1713
- </svg>`}const ai=new Set(["navigations","containerStyle","headerStyle","class","style"]);function ci(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 di(e){switch(e){case"IconSave":return si();case"IconTrash":return li();case"IconPlus":return ni();case"IconSearch":return ii();case"IconPlay":return ri();default:return o.html``}}const gs=ve({name:"moz-controller",defaults:{height:66,showFilterButton:!1,showFavorite:!0,showPreset:!0},setup(e){var r,p;(p=(r=e.props).setControlHeight)==null||p.call(r,e.props.height??66);let t=!!e.props.showFilterButton,s=!1;const n=()=>e.controlled("customQueryParamsPanel")?!!e.props.customQueryParamsPanel:s;let i=null,a=!1;const m=Xe("switch_"),d=Xe("switch_"),l=u=>{t=u.target.checked,e.requestUpdate()},h=u=>{const v=u.target.checked;s=v,e.emit("update:customQueryParamsPanel",v),e.requestUpdate()};return{onMounted(){i=document.querySelector(".moz-contents-container"),a=!!i,a&&e.requestUpdate()},getPortalContainer:()=>i,renderPortal(){return!a||!e.slots.has("custom-filter")?o.nothing:o.html`<div style=${oe.styleMap({display:n()?void 0:"none"})}>
1713
+ </svg>`}const ri=new Set(["navigations","containerStyle","headerStyle","class","style"]);function ai(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 ci(e){switch(e){case"IconSave":return oi();case"IconTrash":return si();case"IconPlus":return li();case"IconSearch":return ni();case"IconPlay":return ii();default:return o.html``}}const fs=ve({name:"moz-controller",defaults:{height:66,showFilterButton:!1,showFavorite:!0,showPreset:!0},setup(e){var r,p;(p=(r=e.props).setControlHeight)==null||p.call(r,e.props.height??66);let t=!!e.props.showFilterButton,s=!1;const n=()=>e.controlled("customQueryParamsPanel")?!!e.props.customQueryParamsPanel:s;let i=null,a=!1;const m=Xe("switch_"),d=Xe("switch_"),l=u=>{t=u.target.checked,e.requestUpdate()},h=u=>{const v=u.target.checked;s=v,e.emit("update:customQueryParamsPanel",v),e.requestUpdate()};return{onMounted(){i=document.querySelector(".moz-contents-container"),a=!!i,a&&e.requestUpdate()},getPortalContainer:()=>i,renderPortal(){return!a||!e.slots.has("custom-filter")?o.nothing:o.html`<div style=${oe.styleMap({display:n()?void 0:"none"})}>
1714
1714
  ${e.slot("custom-filter")}
1715
- </div>`},render(){const u=e.props,v=e.slots.has("custom-filter"),y=e.slots.has("action"),R=u.actions??[],$=R.find(k=>k.loading===!0),b=R.map(k=>{const T=ci(k),X=!!$&&k.action!==$.action||!!k.disabled;return{...k,icon:T,disabled:X}}),V=ge(u,ai);return o.html`
1715
+ </div>`},render(){const u=e.props,v=e.slots.has("custom-filter"),y=e.slots.has("action"),R=u.actions??[],$=R.find(k=>k.loading===!0),b=R.map(k=>{const T=ai(k),X=!!$&&k.action!==$.action||!!k.disabled;return{...k,icon:T,disabled:X}}),V=ge(u,ri);return o.html`
1716
1716
  <div
1717
1717
  class=${z("moz-controller-root",u.class)}
1718
1718
  style=${oe.styleMap($e(u.containerStyle))}
1719
1719
  ${ue(V)}
1720
1720
  >
1721
1721
  <div class="moz-controller" style=${oe.styleMap($e(u.headerStyle))}>
1722
- ${u.navigations?jt({itemSource:u.navigations,showFavorite:!1,ariaLabel:e.locale.BreadCrumb.navigation}):o.nothing}
1722
+ ${u.navigations?Zt({itemSource:u.navigations,showFavorite:!1,ariaLabel:e.locale.BreadCrumb.navigation}):o.nothing}
1723
1723
  <div class="spacer"></div>
1724
1724
 
1725
1725
  <div class="moz-controller-actions">
1726
1726
  ${e.slot("beforeFilter")}
1727
- ${u.showFilterButton&&!v?Lt({id:m,model:t,label:"조회 조건",onChange:l}):o.nothing}
1728
- ${u.showFilterButton&&v?Lt({id:d,model:n(),label:"조회 조건",onChange:h}):o.nothing}
1727
+ ${u.showFilterButton&&!v?Pt({id:m,model:t,label:"조회 조건",onChange:l}):o.nothing}
1728
+ ${u.showFilterButton&&v?Pt({id:d,model:n(),label:"조회 조건",onChange:h}):o.nothing}
1729
1729
  ${u.showFilterButton?o.html`<div class="spacer between-buttons" style="margin: 0 6px"></div>`:o.nothing}
1730
1730
  ${e.slot("action")}
1731
1731
  ${y&&b.length>0?o.html`<div class="spacer between-buttons"></div>`:o.nothing}
1732
- ${b.map(k=>at({action:k.action,text:k.text,disabled:k.disabled,loading:k.loading,width:k.text?void 0:30,style:{padding:k.text?void 0:"0"}},{icon:di(k.icon),onClick:()=>{k.click&&k.click()},rest:{title:k.action}}))}
1732
+ ${b.map(k=>at({action:k.action,text:k.text,disabled:k.disabled,loading:k.loading,width:k.text?void 0:30,style:{padding:k.text?void 0:"0"}},{icon:ci(k.icon),onClick:()=>{k.click&&k.click()},rest:{title:k.action}}))}
1733
1733
  </div>
1734
1734
  </div>
1735
1735
 
@@ -1740,14 +1740,14 @@
1740
1740
  ${e.slot("filter")}
1741
1741
  </div>`:o.nothing}
1742
1742
  </div>
1743
- `}}}}),ui={name:"MozController",core:gs,props:["height","setControlHeight","showFilterButton","actions","containerStyle","headerStyle","filterStyle","showFavorite","showPreset","navigations","customQueryParamsPanel"],emits:["update:customQueryParamsPanel"],slots:["beforeFilter","action","filter","custom-filter"],expose:!1};class vs{constructor(t,s){Ae(this,"startedAt");Ae(this,"callback");Ae(this,"delay");Ae(this,"timer");Ae(this,"paused",!1);this.startedAt=Date.now(),this.callback=t,this.delay=s,this.timer=setTimeout(t,s)}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 pi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1743
+ `}}}}),di={name:"MozController",core:fs,props:["height","setControlHeight","showFilterButton","actions","containerStyle","headerStyle","filterStyle","showFavorite","showPreset","navigations","customQueryParamsPanel"],emits:["update:customQueryParamsPanel"],slots:["beforeFilter","action","filter","custom-filter"],expose:!1};class gs{constructor(t,s){Ae(this,"startedAt");Ae(this,"callback");Ae(this,"delay");Ae(this,"timer");Ae(this,"paused",!1);this.startedAt=Date.now(),this.callback=t,this.delay=s,this.timer=setTimeout(t,s)}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 ui(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1744
1744
  <path
1745
1745
  fill-rule="evenodd"
1746
1746
  clip-rule="evenodd"
1747
1747
  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"
1748
1748
  fill=${e}
1749
1749
  ></path>
1750
- </svg>`}function hi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1750
+ </svg>`}function pi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1751
1751
  <mask id="mask0_6027_4458" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
1752
1752
  <path d="M30 0H0V30H30V0Z" fill="#FFF"></path>
1753
1753
  </mask>
@@ -1757,14 +1757,14 @@
1757
1757
  fill=${e}
1758
1758
  ></path>
1759
1759
  </g>
1760
- </svg>`}function mi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1760
+ </svg>`}function hi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1761
1761
  <path
1762
1762
  fill-rule="evenodd"
1763
1763
  clip-rule="evenodd"
1764
1764
  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"
1765
1765
  fill=${e}
1766
1766
  ></path>
1767
- </svg>`}function fi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1767
+ </svg>`}function mi(e="var(--moz-color-on-accent)"){return o.html`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1768
1768
  <mask id="mask0_6027_4463" style="mask-type: luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="30" height="30">
1769
1769
  <path d="M30 0H0V30H30V0Z" fill="#FFF"></path>
1770
1770
  </mask>
@@ -1774,18 +1774,18 @@
1774
1774
  fill=${e}
1775
1775
  ></path>
1776
1776
  </g>
1777
- </svg>`}const gi=()=>o.html`
1777
+ </svg>`}const fi=()=>o.html`
1778
1778
  <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">
1779
1779
  <path d="M18 6 6 18M6 6l12 12" />
1780
1780
  </svg>
1781
- `,So=new Set(["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","class","style","inline","composed","showProgress","progressClass","exitDuration"]);function ko(e){switch(e){case"success":return"bg-success";case"error":return"bg-error";case"info":return"bg-info";default:return"bg-warning"}}function vi(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 wi(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 Ci(e){return e==="error"?hi("var(--moz-color-on-accent)"):e==="info"?mi("var(--moz-color-on-accent)"):e==="success"?pi("var(--moz-color-on-accent)"):fi("var(--moz-color-on-accent)")}const ro=ve({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,s=!1,n=null,i=null,a=null,m=100;const d=()=>{let b=document.querySelector(".toast--top"),V=document.querySelector(".toast--bottom");b&&V||(b||(b=document.createElement("div"),b.className="toast--top moz-toast-body moz-toast-body--top",document.body.appendChild(b)),V||(V=document.createElement("div"),V.className="toast--bottom moz-toast-body moz-toast-body--bottom",document.body.appendChild(V)))},l=()=>{if(!e.props.queue)return!1;const b=document.querySelector(".toast--top"),V=document.querySelector(".toast--bottom");return!b||!V?!1:b.childElementCount>0||V.childElementCount>0},h=()=>{a&&clearInterval(a),a=null},r=()=>{n&&n.stop(),i&&clearTimeout(i),h(),t=!1,e.requestUpdate(),setTimeout(()=>{var b,V;(V=(b=e.props).onDismiss)==null||V.call(b),s=!0,e.requestUpdate()},e.props.exitDuration??150)},p=()=>{if(!e.props.inline&&l()){i=setTimeout(p,250);return}t=!0,e.requestUpdate();const b=e.props.duration;b&&(n=new vs(r,b),e.props.showProgress&&(a=setInterval(()=>{m=n?Math.max(0,Math.min(100,n.remaining()/b*100)):0,e.requestUpdate()},50)))},u=b=>{!e.props.pauseOnHover||!n||(b?n.pause():n.resume())},v=()=>{e.props.dismissible&&r()};e.props.inline||d(),e.onCleanup(()=>{n&&n.stop(),i&&clearTimeout(i),h()});const y=()=>{const b=e.props,V=b.duration??0;return o.html`
1781
+ `,$o=new Set(["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","class","style","inline","composed","showProgress","progressClass","exitDuration"]);function So(e){switch(e){case"success":return"bg-success";case"error":return"bg-error";case"info":return"bg-info";default:return"bg-warning"}}function gi(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 vi(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 wi(e){return e==="error"?pi("var(--moz-color-on-accent)"):e==="info"?hi("var(--moz-color-on-accent)"):e==="success"?ui("var(--moz-color-on-accent)"):mi("var(--moz-color-on-accent)")}const io=ve({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,s=!1,n=null,i=null,a=null,m=100;const d=()=>{let b=document.querySelector(".toast--top"),V=document.querySelector(".toast--bottom");b&&V||(b||(b=document.createElement("div"),b.className="toast--top moz-toast-body moz-toast-body--top",document.body.appendChild(b)),V||(V=document.createElement("div"),V.className="toast--bottom moz-toast-body moz-toast-body--bottom",document.body.appendChild(V)))},l=()=>{if(!e.props.queue)return!1;const b=document.querySelector(".toast--top"),V=document.querySelector(".toast--bottom");return!b||!V?!1:b.childElementCount>0||V.childElementCount>0},h=()=>{a&&clearInterval(a),a=null},r=()=>{n&&n.stop(),i&&clearTimeout(i),h(),t=!1,e.requestUpdate(),setTimeout(()=>{var b,V;(V=(b=e.props).onDismiss)==null||V.call(b),s=!0,e.requestUpdate()},e.props.exitDuration??150)},p=()=>{if(!e.props.inline&&l()){i=setTimeout(p,250);return}t=!0,e.requestUpdate();const b=e.props.duration;b&&(n=new gs(r,b),e.props.showProgress&&(a=setInterval(()=>{m=n?Math.max(0,Math.min(100,n.remaining()/b*100)):0,e.requestUpdate()},50)))},u=b=>{!e.props.pauseOnHover||!n||(b?n.pause():n.resume())},v=()=>{e.props.dismissible&&r()};e.props.inline||d(),e.onCleanup(()=>{n&&n.stop(),i&&clearTimeout(i),h()});const y=()=>{const b=e.props,V=b.duration??0;return o.html`
1782
1782
  <div
1783
1783
  data-testid="toast-container"
1784
- ${ue(ge(b,So))}
1784
+ ${ue(ge(b,$o))}
1785
1785
  role=${b.type==="error"?"alert":"status"}
1786
1786
  aria-live=${b.type==="error"?"assertive":"polite"}
1787
1787
  aria-atomic="true"
1788
- class=${z("moz-toast","moz-toast-composed",ko(b.type),b.class)}
1788
+ class=${z("moz-toast","moz-toast-composed",So(b.type),b.class)}
1789
1789
  style=${t?o.nothing:"display: none;"}
1790
1790
  @mouseenter=${()=>u(!0)}
1791
1791
  @mouseleave=${()=>u(!1)}
@@ -1800,26 +1800,26 @@
1800
1800
  ${e.slots.has("actions")?o.html`<div class="moz-toast-actions">${e.slot("actions")}</div>`:o.nothing}
1801
1801
  </div>
1802
1802
  ${b.dismissible?o.html`<button type="button" class="moz-toast-close" aria-label=${e.locale.Toast.close} @click=${r}>
1803
- ${gi()}
1803
+ ${fi()}
1804
1804
  </button>`:o.nothing}
1805
1805
  </div>
1806
1806
  `},R=()=>{const b=e.props;return o.html`
1807
1807
  <div
1808
1808
  data-testid="toast-container"
1809
- ${ue(ge(b,So))}
1809
+ ${ue(ge(b,$o))}
1810
1810
  role=${b.type==="error"?"alert":"status"}
1811
1811
  aria-live=${b.type==="error"?"assertive":"polite"}
1812
1812
  aria-atomic="true"
1813
- class=${z("moz-toast",ko(b.type),vi(b.position),b.class)}
1813
+ class=${z("moz-toast",So(b.type),gi(b.position),b.class)}
1814
1814
  style=${t?o.nothing:"display: none;"}
1815
1815
  @mouseenter=${()=>u(!0)}
1816
1816
  @mouseleave=${()=>u(!1)}
1817
1817
  @click=${v}
1818
1818
  >
1819
- ${Ci(b.type)}
1819
+ ${wi(b.type)}
1820
1820
  <span class="toast-message">${b.message}</span>
1821
1821
  </div>
1822
- `},$=()=>s?o.nothing:e.props.composed?y():R();return{onMounted(){p()},getPortalContainer:()=>e.props.inline?null:document.querySelector(wi(e.props.position)),renderPortal(){return e.props.inline?o.nothing:$()},render(){return e.props.inline?$():o.nothing}}}}),bi=e=>{var t;typeof e.remove<"u"?e.remove():(t=e.parentNode)==null||t.removeChild(e)},yi=(e={})=>{const t=s=>{let n;typeof s=="string"&&(n=s);const i=document.createElement("div");i.style.display="contents";const a={message:n||s.message||"",onDismiss:()=>{bi(i)}},m=Object.assign({},a,e,typeof s=="string"?{}:s);document.body.appendChild(i),ro(i,m,(()=>{}))};return{open:t,success(s,n={}){return t({message:s,type:"success",...n})},error(s,n={}){return t({message:s,type:"error",...n})},info(s,n={}){return t({message:s,type:"info",...n})},warning(s,n={}){return t({message:s,type:"warning",...n})}}},$i={name:"MozToast",core:ro,props:["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","inline","composed","showProgress","progressClass","exitDuration"],emits:[],slots:["icon","heading","description","actions"],expose:!1,syncUpdate:!0},Eo={top:"bottom",bottom:"top",left:"right",right:"left"};function Po(e,t,s,n,i,a){const m=(e==="top"||e==="bottom"?s.height:s.width)+i+a;return{top:t.top,bottom:n.height-(t.top+t.height),left:t.left,right:n.width-(t.left+t.width)}[e]>=m}function $t(e,t,s,n){return e==="start"?t:e==="end"?t+s-n:t+s/2-n/2}function qt(e,t,s){return s<t?t:Math.min(Math.max(e,t),s)}function ws(e,t,s,n){const{align:i,sideOffset:a,collisionPadding:m}=n,d=n.arrowSize??0;let l=n.side;!Po(l,e,t,s,a,m)&&Po(Eo[l],e,t,s,a,m)&&(l=Eo[l]);const h=l==="top"||l==="bottom";let r,p;l==="top"?(p=e.top-t.height-a,r=$t(i,e.left,e.width,t.width)):l==="bottom"?(p=e.top+e.height+a,r=$t(i,e.left,e.width,t.width)):l==="left"?(r=e.left-t.width-a,p=$t(i,e.top,e.height,t.height)):(r=e.left+e.width+a,p=$t(i,e.top,e.height,t.height)),h?r=qt(r,m,s.width-t.width-m):p=qt(p,m,s.height-t.height-m);const u=h?e.left+e.width/2:e.top+e.height/2,v=h?r:p,y=h?t.width:t.height,R=qt(u-v,d*2,y-d*2),$={top:e.top-a-m,bottom:s.height-(e.top+e.height)-a-m,left:s.height-m*2,right:s.height-m*2},b=Math.max(0,$[l]);return{side:l,x:r,y:p,arrowOffset:R,availableHeight:b}}const Cs=ws,Si=new Set(["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId","class","style"]),ki=5,Ei=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},bs=ve({name:"moz-tooltip",defaults:{open:!1,side:"top",align:"center",sideOffset:8,collisionPadding:8,arrow:!0},setup(e){const t=N.createRef();let s=null,n=null,i=!1;const a=()=>!!e.props.open&&!!e.props.anchor,m=()=>{const l=e.props.anchor,h=t.value;if(!l||!h||!e.props.open)return;const r=Cs(l.getBoundingClientRect(),{width:h.offsetWidth,height:h.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:ki});s!==null&&i&&s.side===r.side&&s.x===r.x&&s.y===r.y&&s.arrowOffset===r.arrowOffset||(s=r,i=!0,e.requestUpdate(),n!==r.side&&(n=r.side,e.emit("placed",r.side)))},d=()=>{a()&&m()};return typeof window<"u"&&(window.addEventListener("scroll",d,{capture:!0,passive:!0}),window.addEventListener("resize",d,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",d,!0),window.removeEventListener("resize",d)})),{render(){return o.nothing},renderPortal(){const l=e.props;if(!a())return s=null,n=null,i=!1,o.nothing;Ei(m);const h=(s==null?void 0:s.side)??l.side??"top",r=ge(l,Si),p=h==="top"||h==="bottom"?"left":"top";return o.html`
1822
+ `},$=()=>s?o.nothing:e.props.composed?y():R();return{onMounted(){p()},getPortalContainer:()=>e.props.inline?null:document.querySelector(vi(e.props.position)),renderPortal(){return e.props.inline?o.nothing:$()},render(){return e.props.inline?$():o.nothing}}}}),Ci=e=>{var t;typeof e.remove<"u"?e.remove():(t=e.parentNode)==null||t.removeChild(e)},bi=(e={})=>{const t=s=>{let n;typeof s=="string"&&(n=s);const i=document.createElement("div");i.style.display="contents";const a={message:n||s.message||"",onDismiss:()=>{Ci(i)}},m=Object.assign({},a,e,typeof s=="string"?{}:s);document.body.appendChild(i),io(i,m,(()=>{}))};return{open:t,success(s,n={}){return t({message:s,type:"success",...n})},error(s,n={}){return t({message:s,type:"error",...n})},info(s,n={}){return t({message:s,type:"info",...n})},warning(s,n={}){return t({message:s,type:"warning",...n})}}},yi={name:"MozToast",core:io,props:["message","type","position","duration","dismissible","queue","pauseOnHover","onDismiss","inline","composed","showProgress","progressClass","exitDuration"],emits:[],slots:["icon","heading","description","actions"],expose:!1,syncUpdate:!0},ko={top:"bottom",bottom:"top",left:"right",right:"left"};function Eo(e,t,s,n,i,a){const m=(e==="top"||e==="bottom"?s.height:s.width)+i+a;return{top:t.top,bottom:n.height-(t.top+t.height),left:t.left,right:n.width-(t.left+t.width)}[e]>=m}function yt(e,t,s,n){return e==="start"?t:e==="end"?t+s-n:t+s/2-n/2}function Rt(e,t,s){return s<t?t:Math.min(Math.max(e,t),s)}function vs(e,t,s,n){const{align:i,sideOffset:a,collisionPadding:m}=n,d=n.arrowSize??0;let l=n.side;!Eo(l,e,t,s,a,m)&&Eo(ko[l],e,t,s,a,m)&&(l=ko[l]);const h=l==="top"||l==="bottom";let r,p;l==="top"?(p=e.top-t.height-a,r=yt(i,e.left,e.width,t.width)):l==="bottom"?(p=e.top+e.height+a,r=yt(i,e.left,e.width,t.width)):l==="left"?(r=e.left-t.width-a,p=yt(i,e.top,e.height,t.height)):(r=e.left+e.width+a,p=yt(i,e.top,e.height,t.height)),h?r=Rt(r,m,s.width-t.width-m):p=Rt(p,m,s.height-t.height-m);const u=h?e.left+e.width/2:e.top+e.height/2,v=h?r:p,y=h?t.width:t.height,R=Rt(u-v,d*2,y-d*2),$={top:e.top-a-m,bottom:s.height-(e.top+e.height)-a-m,left:s.height-m*2,right:s.height-m*2},b=Math.max(0,$[l]);return{side:l,x:r,y:p,arrowOffset:R,availableHeight:b}}const ws=vs,$i=new Set(["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId","class","style"]),Si=5,ki=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},Cs=ve({name:"moz-tooltip",defaults:{open:!1,side:"top",align:"center",sideOffset:8,collisionPadding:8,arrow:!0},setup(e){const t=N.createRef();let s=null,n=null,i=!1;const a=()=>!!e.props.open&&!!e.props.anchor,m=()=>{const l=e.props.anchor,h=t.value;if(!l||!h||!e.props.open)return;const r=ws(l.getBoundingClientRect(),{width:h.offsetWidth,height:h.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:Si});s!==null&&i&&s.side===r.side&&s.x===r.x&&s.y===r.y&&s.arrowOffset===r.arrowOffset||(s=r,i=!0,e.requestUpdate(),n!==r.side&&(n=r.side,e.emit("placed",r.side)))},d=()=>{a()&&m()};return typeof window<"u"&&(window.addEventListener("scroll",d,{capture:!0,passive:!0}),window.addEventListener("resize",d,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",d,!0),window.removeEventListener("resize",d)})),{render(){return o.nothing},renderPortal(){const l=e.props;if(!a())return s=null,n=null,i=!1,o.nothing;ki(m);const h=(s==null?void 0:s.side)??l.side??"top",r=ge(l,$i),p=h==="top"||h==="bottom"?"left":"top";return o.html`
1823
1823
  <div
1824
1824
  ${N.ref(t)}
1825
1825
  class=${z("moz-tooltip",l.class)}
@@ -1839,7 +1839,7 @@
1839
1839
  ${e.slots.has("content")?e.slot("content"):l.text??o.nothing}
1840
1840
  </div>
1841
1841
  </div>
1842
- `},api:{reposition:()=>m()}}}}),Pi={name:"MozTooltip",core:bs,props:["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId"],emits:["placed"],slots:["content"],expose:!0},Li=new Set(["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId","class","style"]),xi='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Lo=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},ys=ve({name:"moz-popover",defaults:{open:!1,side:"bottom",align:"start",sideOffset:4,collisionPadding:8,trapFocus:!0,matchTriggerWidth:!1},setup(e){const t=N.createRef();let s=null,n=null,i=!1,a=!1,m=null,d=null;const l=()=>!!e.props.open&&!!e.props.anchor,h=()=>{const k=t.value;return k?Array.from(k.querySelectorAll(xi)).filter(T=>T.getAttribute("aria-hidden")!=="true"):[]},r=()=>{const k=e.props.anchor,T=t.value;if(!k||!T||!e.props.open)return;const X=ws(k.getBoundingClientRect(),{width:T.offsetWidth,height:T.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});s!==null&&i&&s.side===X.side&&s.x===X.x&&s.y===X.y&&s.availableHeight===X.availableHeight||(s=X,i=!0,e.requestUpdate(),n!==X.side&&(n=X.side,e.emit("placed",X.side)))},p=(k,T)=>new CustomEvent(k,{cancelable:!0,detail:T}),u=k=>{e.emit("requestClose",k)},v=k=>{e.emit("escapeKeyDown",k),k.defaultPrevented||u("escape")},y=k=>{if(!l()||!(m!=null&&m.isTopmost()))return;const T=t.value,X=k.target;if(!T||!X||T.contains(X))return;const W=p("moz.interactOutside",{originalEvent:k});e.emit("interactOutside",W),W.defaultPrevented||u("interactOutside")},R=k=>{if(k.key!=="Tab"||!e.props.trapFocus)return;const T=h();if(T.length===0){k.preventDefault();return}const X=T[0],W=T[T.length-1],te=document.activeElement;k.shiftKey&&(te===X||te===t.value)?(k.preventDefault(),W.focus()):!k.shiftKey&&te===W&&(k.preventDefault(),X.focus())},$=()=>{d=document.activeElement??null,m=Ut(v),document.addEventListener("pointerdown",y,!0),Lo(()=>{var T;if(!l())return;const k=p("moz.openAutoFocus");e.emit("openAutoFocus",k),!k.defaultPrevented&&((T=h()[0]??t.value)==null||T.focus())})},b=()=>{var X;m==null||m.release(),m=null,document.removeEventListener("pointerdown",y,!0),s=null,n=null,i=!1;const k=p("moz.closeAutoFocus");e.emit("closeAutoFocus",k);const T=d??e.props.anchor;d=null,k.defaultPrevented||(X=T==null?void 0:T.focus)==null||X.call(T)},V=()=>{l()&&r()};return typeof window<"u"&&(window.addEventListener("scroll",V,{capture:!0,passive:!0}),window.addEventListener("resize",V,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",V,!0),window.removeEventListener("resize",V),m==null||m.release(),m=null,document.removeEventListener("pointerdown",y,!0)})),{render(){return o.nothing},renderPortal(){var ne;const k=e.props,T=l();if(T!==a&&(a=T,T?$():b()),!T)return o.nothing;Lo(r);const X=(s==null?void 0:s.side)??k.side??"bottom",W=ge(k,Li),te=((ne=k.anchor)==null?void 0:ne.offsetWidth)??0;return o.html`
1842
+ `},api:{reposition:()=>m()}}}}),Ei={name:"MozTooltip",core:Cs,props:["open","anchor","text","side","align","sideOffset","collisionPadding","arrow","tooltipId"],emits:["placed"],slots:["content"],expose:!0},Pi=new Set(["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId","class","style"]),xi='a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])',Po=typeof requestAnimationFrame=="function"?e=>{requestAnimationFrame(e)}:e=>{setTimeout(e,0)},bs=ve({name:"moz-popover",defaults:{open:!1,side:"bottom",align:"start",sideOffset:4,collisionPadding:8,trapFocus:!0,matchTriggerWidth:!1},setup(e){const t=N.createRef();let s=null,n=null,i=!1,a=!1,m=null,d=null;const l=()=>!!e.props.open&&!!e.props.anchor,h=()=>{const k=t.value;return k?Array.from(k.querySelectorAll(xi)).filter(T=>T.getAttribute("aria-hidden")!=="true"):[]},r=()=>{const k=e.props.anchor,T=t.value;if(!k||!T||!e.props.open)return;const X=vs(k.getBoundingClientRect(),{width:T.offsetWidth,height:T.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});s!==null&&i&&s.side===X.side&&s.x===X.x&&s.y===X.y&&s.availableHeight===X.availableHeight||(s=X,i=!0,e.requestUpdate(),n!==X.side&&(n=X.side,e.emit("placed",X.side)))},p=(k,T)=>new CustomEvent(k,{cancelable:!0,detail:T}),u=k=>{e.emit("requestClose",k)},v=k=>{e.emit("escapeKeyDown",k),k.defaultPrevented||u("escape")},y=k=>{if(!l()||!(m!=null&&m.isTopmost()))return;const T=t.value,X=k.target;if(!T||!X||T.contains(X))return;const W=p("moz.interactOutside",{originalEvent:k});e.emit("interactOutside",W),W.defaultPrevented||u("interactOutside")},R=k=>{if(k.key!=="Tab"||!e.props.trapFocus)return;const T=h();if(T.length===0){k.preventDefault();return}const X=T[0],W=T[T.length-1],te=document.activeElement;k.shiftKey&&(te===X||te===t.value)?(k.preventDefault(),W.focus()):!k.shiftKey&&te===W&&(k.preventDefault(),X.focus())},$=()=>{d=document.activeElement??null,m=Nt(v),document.addEventListener("pointerdown",y,!0),Po(()=>{var T;if(!l())return;const k=p("moz.openAutoFocus");e.emit("openAutoFocus",k),!k.defaultPrevented&&((T=h()[0]??t.value)==null||T.focus())})},b=()=>{var X;m==null||m.release(),m=null,document.removeEventListener("pointerdown",y,!0),s=null,n=null,i=!1;const k=p("moz.closeAutoFocus");e.emit("closeAutoFocus",k);const T=d??e.props.anchor;d=null,k.defaultPrevented||(X=T==null?void 0:T.focus)==null||X.call(T)},V=()=>{l()&&r()};return typeof window<"u"&&(window.addEventListener("scroll",V,{capture:!0,passive:!0}),window.addEventListener("resize",V,{passive:!0}),e.onCleanup(()=>{window.removeEventListener("scroll",V,!0),window.removeEventListener("resize",V),m==null||m.release(),m=null,document.removeEventListener("pointerdown",y,!0)})),{render(){return o.nothing},renderPortal(){var ne;const k=e.props,T=l();if(T!==a&&(a=T,T?$():b()),!T)return o.nothing;Po(r);const X=(s==null?void 0:s.side)??k.side??"bottom",W=ge(k,Pi),te=((ne=k.anchor)==null?void 0:ne.offsetWidth)??0;return o.html`
1843
1843
  <div
1844
1844
  ${N.ref(t)}
1845
1845
  class=${z("moz-popover",k.class)}
@@ -1854,10 +1854,10 @@
1854
1854
  >
1855
1855
  ${e.slot("content")}
1856
1856
  </div>
1857
- `},api:{reposition:()=>r(),panel:()=>t.value??null}}}}),Ti={name:"MozPopover",core:ys,props:["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId"],emits:["placed","escapeKeyDown","interactOutside","openAutoFocus","closeAutoFocus","requestClose"],slots:["content"],expose:!0,syncUpdate:!0},Mi=new Set(["open","contentId","disabled","forceMount","class","style"]),$s="--moz-collapsible-content-height",Ss=ve({name:"moz-collapsible",defaults:{open:!1,disabled:!1,forceMount:!1},setup(e){let t=null,s=null,n=-1;const i=()=>{const d=t;if(!d)return;const l=d.scrollHeight;d.style.setProperty($s,`${l}px`),l!==n&&(n=l,e.emit("heightChange",l))},a=()=>{s==null||s.disconnect(),s=null},m=d=>{if(t=d??null,!t){a(),n=-1;return}i(),!(typeof ResizeObserver>"u")&&(a(),s=new ResizeObserver(()=>i()),s.observe(t))};return e.onCleanup(a),{render(){const d=e.props,l=!!d.open;if(!l&&!d.forceMount)return o.nothing;const h=ge(d,Mi);return o.html`<div
1857
+ `},api:{reposition:()=>r(),panel:()=>t.value??null}}}}),Li={name:"MozPopover",core:bs,props:["open","anchor","side","align","sideOffset","collisionPadding","matchTriggerWidth","trapFocus","popoverId"],emits:["placed","escapeKeyDown","interactOutside","openAutoFocus","closeAutoFocus","requestClose"],slots:["content"],expose:!0,syncUpdate:!0},Ti=new Set(["open","contentId","disabled","forceMount","class","style"]),ys="--moz-collapsible-content-height",$s=ve({name:"moz-collapsible",defaults:{open:!1,disabled:!1,forceMount:!1},setup(e){let t=null,s=null,n=-1;const i=()=>{const d=t;if(!d)return;const l=d.scrollHeight;d.style.setProperty(ys,`${l}px`),l!==n&&(n=l,e.emit("heightChange",l))},a=()=>{s==null||s.disconnect(),s=null},m=d=>{if(t=d??null,!t){a(),n=-1;return}i(),!(typeof ResizeObserver>"u")&&(a(),s=new ResizeObserver(()=>i()),s.observe(t))};return e.onCleanup(a),{render(){const d=e.props,l=!!d.open;if(!l&&!d.forceMount)return o.nothing;const h=ge(d,Ti);return o.html`<div
1858
1858
  ${N.ref(m)}
1859
1859
  class=${z("moz-collapsible-content",d.class)}
1860
- id=${Le.ifDefined(d.contentId)}
1860
+ id=${xe.ifDefined(d.contentId)}
1861
1861
  data-state=${l?"open":"closed"}
1862
1862
  data-disabled=${d.disabled?"":o.nothing}
1863
1863
  ?hidden=${!l}
@@ -1865,7 +1865,7 @@
1865
1865
  ${ue(h)}
1866
1866
  >
1867
1867
  ${e.slot("content")}
1868
- </div>`}}}}),zi={name:"MozCollapsible",core:Ss,props:["open","contentId","disabled","forceMount"],emits:["heightChange"],slots:["content"],expose:!1,syncUpdate:!0},Ai=new Set(["src","alt","delayMs","imageClass","fallbackClass","class","style"]),ks=ve({name:"moz-avatar",setup(e){let t="idle",s,n=!0,i,a;const m=r=>{t!==r&&(t=r,e.emit("loadingStatusChange",r),e.requestUpdate())},d=()=>{a&&(a.onload=null,a.onerror=null,a=void 0)},l=r=>{if(i!==void 0&&clearTimeout(i),i=void 0,!r||r<=0){n=!0;return}n=!1,i=setTimeout(()=>{n=!0,i=void 0,e.requestUpdate()},r)},h=()=>{const r=e.props.src;if(r===s)return;if(s=r,d(),l(e.props.delayMs),!r){m("idle");return}m("loading");const p=new Image;a=p,p.onload=()=>{a!==p||s!==r||m("loaded")},p.onerror=()=>{a!==p||s!==r||m("error")},p.src=r};return e.onCleanup(()=>{d(),i!==void 0&&clearTimeout(i)}),{render(){h();const r=e.props,p=ge(r,Ai),u=t==="loaded",v=!u&&n;return o.html`<span
1868
+ </div>`}}}}),Mi={name:"MozCollapsible",core:$s,props:["open","contentId","disabled","forceMount"],emits:["heightChange"],slots:["content"],expose:!1,syncUpdate:!0},zi=new Set(["src","alt","delayMs","imageClass","fallbackClass","class","style"]),Ss=ve({name:"moz-avatar",setup(e){let t="idle",s,n=!0,i,a;const m=r=>{t!==r&&(t=r,e.emit("loadingStatusChange",r),e.requestUpdate())},d=()=>{a&&(a.onload=null,a.onerror=null,a=void 0)},l=r=>{if(i!==void 0&&clearTimeout(i),i=void 0,!r||r<=0){n=!0;return}n=!1,i=setTimeout(()=>{n=!0,i=void 0,e.requestUpdate()},r)},h=()=>{const r=e.props.src;if(r===s)return;if(s=r,d(),l(e.props.delayMs),!r){m("idle");return}m("loading");const p=new Image;a=p,p.onload=()=>{a!==p||s!==r||m("loaded")},p.onerror=()=>{a!==p||s!==r||m("error")},p.src=r};return e.onCleanup(()=>{d(),i!==void 0&&clearTimeout(i)}),{render(){h();const r=e.props,p=ge(r,zi),u=t==="loaded",v=!u&&n;return o.html`<span
1869
1869
  class=${z("moz-avatar",r.class)}
1870
1870
  data-status=${t}
1871
1871
  style=${oe.styleMap($e(r.style))}
@@ -1873,14 +1873,14 @@
1873
1873
  >
1874
1874
  ${u?o.html`<img
1875
1875
  class=${z("moz-avatar-image",r.imageClass)}
1876
- src=${Le.ifDefined(r.src)}
1877
- alt=${Le.ifDefined(r.alt)}
1876
+ src=${xe.ifDefined(r.src)}
1877
+ alt=${xe.ifDefined(r.alt)}
1878
1878
  />`:o.nothing}
1879
1879
  ${v?o.html`<span class=${z("moz-avatar-fallback",r.fallbackClass)}>${e.slot("fallback")}</span>`:o.nothing}
1880
- </span>`},api:{get status(){return t}}}}}),Di={name:"MozAvatar",core:ks,props:["src","alt","delayMs","imageClass","fallbackClass"],emits:["loadingStatusChange"],slots:["fallback"],expose:!0},Vi=new Set(["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass","class","style"]),Ri=20,Es=ve({name:"moz-scroll-area",defaults:{orientation:"vertical",scrollbarVisibility:"always"},setup(e){let t=null,s=null,n=null,i=null,a=null,m=!1,d=!1,l=null,h=null,r=null,p=null,u=null,v=!1,y=!1,R=null,$=null;const b=S=>!!S&&"nodeType"in S&&(!!(r!=null&&r.contains(S))||!!(p!=null&&p.contains(S))),V=()=>b((r==null?void 0:r.ownerDocument.activeElement)??null),k=()=>{const S=V();S!==y&&(y=S,e.requestUpdate())},T=S=>{p=S??null},X=S=>{S.pointerType!=="touch"&&(v=!0,e.requestUpdate())},W=S=>{S.pointerType!=="touch"&&(v=b(S.relatedTarget),e.requestUpdate())},te=()=>{k()},ne=()=>{e.requestUpdate()},ee=()=>{R==null||R(),u==null||u.disconnect(),u=null,r==null||r.removeEventListener("pointerenter",X),r==null||r.removeEventListener("pointerleave",W),r==null||r.removeEventListener("focusin",te),r==null||r.removeEventListener("focusout",ne),r=null,v=y=!1},K=()=>{($==null?void 0:$.getAttribute("tabindex"))==="0"&&$.removeAttribute("tabindex"),$=null},D=()=>{var A;const S=e.props.interactionRoot??t;S!==r&&(ee(),r=S,S&&(S.addEventListener("pointerenter",X),S.addEventListener("pointerleave",W),S.addEventListener("focusin",te),S.addEventListener("focusout",ne)));const x=(A=S==null?void 0:S.ownerDocument.defaultView)==null?void 0:A.MutationObserver;e.props.scrollbarVisibility==="hover"&&S&&!u&&x?(u=new x(k),u.observe(S,{childList:!0,subtree:!0})):e.props.scrollbarVisibility!=="hover"&&(u==null||u.disconnect(),u=null),y=V(),e.props.scrollbarVisibility!=="hover"?K():t&&!t.hasAttribute("tabindex")&&(t.tabIndex=0,$=t)},G=S=>{const x=e.props.orientation??"vertical";return x==="both"||x===S},se=S=>{const x=t;if(!x||!G(S))return!1;const A=S==="vertical",F=A?x.scrollHeight:x.scrollWidth,f=A?x.clientHeight:x.clientWidth;if(F<=f+1||f<=0)return!1;const B=A?i:a,Y=A?s:n;if(!B||!Y)return!0;const j=A?B.clientHeight:B.clientWidth;if(j<=0)return!0;const we=f/F,De=Math.max(j*we,Ri),Ne=j-De,Oe=A?x.scrollTop:x.scrollLeft,c=F-f,L=c>0?Oe/c*Ne:0;return A?(Y.style.height=`${De}px`,Y.style.transform=`translateY(${L}px)`):(Y.style.width=`${De}px`,Y.style.transform=`translateX(${L}px)`),!0},ie=()=>{const S=se("vertical"),x=se("horizontal");S===m&&x===d||(m=S,d=x,e.requestUpdate())},Q=()=>{const S=t;S&&(ie(),e.emit("scroll",{scrollTop:S.scrollTop,scrollLeft:S.scrollLeft}))},_=()=>{ee(),K(),t&&t.removeEventListener("scroll",Q),l==null||l.disconnect(),l=null,h==null||h.disconnect(),h=null,t=null},E=()=>{const S=e.props.viewport??null;if(S!==t&&(_(),t=S,!!t)){if(t.addEventListener("scroll",Q,{passive:!0}),typeof ResizeObserver<"u"){l=new ResizeObserver(()=>ie()),l.observe(t);const x=t.firstElementChild;x&&(h=new ResizeObserver(()=>ie()),h.observe(x))}ie()}},M=(S,x)=>{var C;const A=t,F=A==null?void 0:A.ownerDocument.defaultView;if(!A||!F||R||x.button!==0)return;const f=S==="vertical",B=f?i:a,Y=f?s:n;if(!B||!Y)return;x.preventDefault();const j=f?x.clientY:x.clientX,we=f?A.scrollTop:A.scrollLeft,De=f?B.clientHeight:B.clientWidth,Ne=f?Y.offsetHeight:Y.offsetWidth,Oe=f?A.scrollHeight:A.scrollWidth,c=f?A.clientHeight:A.clientWidth,L=De-Ne,Z=Oe-c;if(L<=0||Z<=0)return;const re=x.pointerId,de=q=>{v=q.pointerType!=="touch"&&[r,i,a].some(Ce=>{if(!Ce||Ce.hidden)return!1;const ke=Ce.getBoundingClientRect();return q.clientX>=ke.left&&q.clientX<ke.right&&q.clientY>=ke.top&&q.clientY<ke.bottom})},Se=q=>{if(q.pointerId!==re)return;de(q);const Ce=(f?q.clientY:q.clientX)-j,ke=we+Ce/L*Z;f?A.scrollTop=ke:A.scrollLeft=ke},be=q=>{q.pointerId===re&&(de(q),q.type!=="pointerup"&&(v=!1),R==null||R(),e.requestUpdate())};R=()=>{var q;R=null,F.removeEventListener("pointermove",Se),F.removeEventListener("pointerup",be),F.removeEventListener("pointercancel",be),Y.removeEventListener("lostpointercapture",be);try{(q=Y.releasePointerCapture)==null||q.call(Y,re)}catch{}},F.addEventListener("pointermove",Se),F.addEventListener("pointerup",be),F.addEventListener("pointercancel",be),Y.addEventListener("lostpointercapture",be);try{(C=Y.setPointerCapture)==null||C.call(Y,re)}catch{}e.requestUpdate()};e.onCleanup(_);const U=(S,x)=>{const A=S==="vertical",F=B=>{A?i=B??null:a=B??null},f=B=>{A?s=B??null:n=B??null,B&&ie()};return o.html`<div
1880
+ </span>`},api:{get status(){return t}}}}}),Ai={name:"MozAvatar",core:Ss,props:["src","alt","delayMs","imageClass","fallbackClass"],emits:["loadingStatusChange"],slots:["fallback"],expose:!0},Di=new Set(["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass","class","style"]),Vi=20,ks=ve({name:"moz-scroll-area",defaults:{orientation:"vertical",scrollbarVisibility:"always"},setup(e){let t=null,s=null,n=null,i=null,a=null,m=!1,d=!1,l=null,h=null,r=null,p=null,u=null,v=!1,y=!1,R=null,$=null;const b=S=>!!S&&"nodeType"in S&&(!!(r!=null&&r.contains(S))||!!(p!=null&&p.contains(S))),V=()=>b((r==null?void 0:r.ownerDocument.activeElement)??null),k=()=>{const S=V();S!==y&&(y=S,e.requestUpdate())},T=S=>{p=S??null},X=S=>{S.pointerType!=="touch"&&(v=!0,e.requestUpdate())},W=S=>{S.pointerType!=="touch"&&(v=b(S.relatedTarget),e.requestUpdate())},te=()=>{k()},ne=()=>{e.requestUpdate()},ee=()=>{R==null||R(),u==null||u.disconnect(),u=null,r==null||r.removeEventListener("pointerenter",X),r==null||r.removeEventListener("pointerleave",W),r==null||r.removeEventListener("focusin",te),r==null||r.removeEventListener("focusout",ne),r=null,v=y=!1},K=()=>{($==null?void 0:$.getAttribute("tabindex"))==="0"&&$.removeAttribute("tabindex"),$=null},D=()=>{var A;const S=e.props.interactionRoot??t;S!==r&&(ee(),r=S,S&&(S.addEventListener("pointerenter",X),S.addEventListener("pointerleave",W),S.addEventListener("focusin",te),S.addEventListener("focusout",ne)));const L=(A=S==null?void 0:S.ownerDocument.defaultView)==null?void 0:A.MutationObserver;e.props.scrollbarVisibility==="hover"&&S&&!u&&L?(u=new L(k),u.observe(S,{childList:!0,subtree:!0})):e.props.scrollbarVisibility!=="hover"&&(u==null||u.disconnect(),u=null),y=V(),e.props.scrollbarVisibility!=="hover"?K():t&&!t.hasAttribute("tabindex")&&(t.tabIndex=0,$=t)},G=S=>{const L=e.props.orientation??"vertical";return L==="both"||L===S},se=S=>{const L=t;if(!L||!G(S))return!1;const A=S==="vertical",F=A?L.scrollHeight:L.scrollWidth,f=A?L.clientHeight:L.clientWidth;if(F<=f+1||f<=0)return!1;const B=A?i:a,Y=A?s:n;if(!B||!Y)return!0;const j=A?B.clientHeight:B.clientWidth;if(j<=0)return!0;const we=f/F,De=Math.max(j*we,Vi),Ne=j-De,Oe=A?L.scrollTop:L.scrollLeft,c=F-f,x=c>0?Oe/c*Ne:0;return A?(Y.style.height=`${De}px`,Y.style.transform=`translateY(${x}px)`):(Y.style.width=`${De}px`,Y.style.transform=`translateX(${x}px)`),!0},ie=()=>{const S=se("vertical"),L=se("horizontal");S===m&&L===d||(m=S,d=L,e.requestUpdate())},Q=()=>{const S=t;S&&(ie(),e.emit("scroll",{scrollTop:S.scrollTop,scrollLeft:S.scrollLeft}))},_=()=>{ee(),K(),t&&t.removeEventListener("scroll",Q),l==null||l.disconnect(),l=null,h==null||h.disconnect(),h=null,t=null},E=()=>{const S=e.props.viewport??null;if(S!==t&&(_(),t=S,!!t)){if(t.addEventListener("scroll",Q,{passive:!0}),typeof ResizeObserver<"u"){l=new ResizeObserver(()=>ie()),l.observe(t);const L=t.firstElementChild;L&&(h=new ResizeObserver(()=>ie()),h.observe(L))}ie()}},M=(S,L)=>{var C;const A=t,F=A==null?void 0:A.ownerDocument.defaultView;if(!A||!F||R||L.button!==0)return;const f=S==="vertical",B=f?i:a,Y=f?s:n;if(!B||!Y)return;L.preventDefault();const j=f?L.clientY:L.clientX,we=f?A.scrollTop:A.scrollLeft,De=f?B.clientHeight:B.clientWidth,Ne=f?Y.offsetHeight:Y.offsetWidth,Oe=f?A.scrollHeight:A.scrollWidth,c=f?A.clientHeight:A.clientWidth,x=De-Ne,Z=Oe-c;if(x<=0||Z<=0)return;const re=L.pointerId,de=q=>{v=q.pointerType!=="touch"&&[r,i,a].some(Ce=>{if(!Ce||Ce.hidden)return!1;const ke=Ce.getBoundingClientRect();return q.clientX>=ke.left&&q.clientX<ke.right&&q.clientY>=ke.top&&q.clientY<ke.bottom})},Se=q=>{if(q.pointerId!==re)return;de(q);const Ce=(f?q.clientY:q.clientX)-j,ke=we+Ce/x*Z;f?A.scrollTop=ke:A.scrollLeft=ke},be=q=>{q.pointerId===re&&(de(q),q.type!=="pointerup"&&(v=!1),R==null||R(),e.requestUpdate())};R=()=>{var q;R=null,F.removeEventListener("pointermove",Se),F.removeEventListener("pointerup",be),F.removeEventListener("pointercancel",be),Y.removeEventListener("lostpointercapture",be);try{(q=Y.releasePointerCapture)==null||q.call(Y,re)}catch{}},F.addEventListener("pointermove",Se),F.addEventListener("pointerup",be),F.addEventListener("pointercancel",be),Y.addEventListener("lostpointercapture",be);try{(C=Y.setPointerCapture)==null||C.call(Y,re)}catch{}e.requestUpdate()};e.onCleanup(_);const U=(S,L)=>{const A=S==="vertical",F=B=>{A?i=B??null:a=B??null},f=B=>{A?s=B??null:n=B??null,B&&ie()};return o.html`<div
1881
1881
  class=${z("moz-scroll-area-scrollbar",e.props.scrollbarClass)}
1882
1882
  data-orientation=${S}
1883
- ?hidden=${!x}
1883
+ ?hidden=${!L}
1884
1884
  ${N.ref(F)}
1885
1885
  >
1886
1886
  <div
@@ -1888,7 +1888,7 @@
1888
1888
  @pointerdown=${B=>M(S,B)}
1889
1889
  ${N.ref(f)}
1890
1890
  ></div>
1891
- </div>`};return{render(){E(),D();const S=e.props,x=ge(S,Vi),A=G("vertical")&&G("horizontal");return o.html`<div
1891
+ </div>`};return{render(){E(),D();const S=e.props,L=ge(S,Di),A=G("vertical")&&G("horizontal");return o.html`<div
1892
1892
  class=${z("moz-scroll-area-bars",S.class)}
1893
1893
  data-orientation=${S.orientation??"vertical"}
1894
1894
  data-state=${S.scrollbarVisibility!=="hover"||v||y||R?"visible":"hidden"}
@@ -1898,19 +1898,19 @@
1898
1898
  @focusin=${te}
1899
1899
  @focusout=${ne}
1900
1900
  ${N.ref(T)}
1901
- ${ue(x)}
1901
+ ${ue(L)}
1902
1902
  >
1903
1903
  ${G("vertical")?U("vertical",m):o.nothing}
1904
1904
  ${G("horizontal")?U("horizontal",d):o.nothing}
1905
1905
  ${A&&m&&d?o.html`<div class="moz-scroll-area-corner"></div>`:o.nothing}
1906
- </div>`}}}}),qi={name:"MozScrollAreaBars",core:Es,props:["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass"],emits:["scroll"],expose:!1,syncUpdate:!0},Ps=["accent","neutral","info","success","warning","danger"],Ls=["soft","outline","solid"],xs=["sm","md","lg"],Ii=new Set(["tone","appearance","size","dot","text","class","style"]);function It(e,t,s){return typeof t=="string"&&e.includes(t)?t:s}const Ts=ve({name:"moz-badge",defaults:{tone:"neutral",appearance:"soft",size:"md",dot:!1},setup(e){return{render(){const t=e.props,s=ge(t,Ii),n=It(Ps,t.tone,"neutral"),i=It(Ls,t.appearance,"soft"),a=It(xs,t.size,"md"),m=e.slots.has("default")?e.slot("default"):t.text??o.nothing;return o.html`<span
1906
+ </div>`}}}}),Ri={name:"MozScrollAreaBars",core:ks,props:["viewport","interactionRoot","scrollbarVisibility","orientation","scrollbarClass","thumbClass"],emits:["scroll"],expose:!1,syncUpdate:!0},Es=["accent","neutral","info","success","warning","danger"],Ps=["soft","outline","solid"],xs=["sm","md","lg"],qi=new Set(["tone","appearance","size","dot","text","class","style"]);function qt(e,t,s){return typeof t=="string"&&e.includes(t)?t:s}const Ls=ve({name:"moz-badge",defaults:{tone:"neutral",appearance:"soft",size:"md",dot:!1},setup(e){return{render(){const t=e.props,s=ge(t,qi),n=qt(Es,t.tone,"neutral"),i=qt(Ps,t.appearance,"soft"),a=qt(xs,t.size,"md"),m=e.slots.has("default")?e.slot("default"):t.text??o.nothing;return o.html`<span
1907
1907
  class=${z("moz-badge",`size-${a}`,t.class)}
1908
1908
  data-tone=${n}
1909
1909
  data-appearance=${i}
1910
1910
  style=${oe.styleMap($e(t.style))}
1911
1911
  ${ue(s)}
1912
1912
  >${t.dot?o.html`<span class="moz-badge-dot"></span>`:o.nothing}${m}</span
1913
- >`}}}}),Fi={name:"MozBadge",core:Ts,props:["tone","appearance","size","dot","text"],emits:[],slots:["default"],expose:!1,syncUpdate:!0},Ms=["accent","neutral","info","success","warning","danger"],zs=["outline","soft"],As=["sm","md"],Bi=new Set(["tone","appearance","size","selected","disabled","removable","labelInteractive","removeLabel","text","class","style"]);function Ft(e,t,s){return typeof t=="string"&&e.includes(t)?t:s}const Ds=ve({name:"moz-chip",defaults:{tone:"accent",appearance:"outline",size:"md",selected:!1,disabled:!1,removable:!1,labelInteractive:!0},setup(e){const t=n=>{e.props.disabled||e.emit("click",n)},s=n=>{e.props.disabled||e.emit("remove",n)};return{render(){const n=e.props,i=ge(n,Bi),a=Ft(Ms,n.tone,"accent"),m=Ft(zs,n.appearance,"outline"),d=Ft(As,n.size,"md"),l=!!n.disabled,h=e.slots.has("icon")?o.html`<span class="moz-chip-icon">${e.slot("icon")}</span>`:o.nothing,r=e.slots.has("default")?e.slot("default"):n.text??o.nothing;if(n.removable){const v=n.labelInteractive!==!1?o.html`<button type="button" class="moz-chip-label" ?disabled=${l} @click=${t}
1913
+ >`}}}}),Ii={name:"MozBadge",core:Ls,props:["tone","appearance","size","dot","text"],emits:[],slots:["default"],expose:!1,syncUpdate:!0},Ts=["accent","neutral","info","success","warning","danger"],Ms=["outline","soft"],zs=["sm","md"],Fi=new Set(["tone","appearance","size","selected","disabled","removable","labelInteractive","removeLabel","text","class","style"]);function It(e,t,s){return typeof t=="string"&&e.includes(t)?t:s}const As=ve({name:"moz-chip",defaults:{tone:"accent",appearance:"outline",size:"md",selected:!1,disabled:!1,removable:!1,labelInteractive:!0},setup(e){const t=n=>{e.props.disabled||e.emit("click",n)},s=n=>{e.props.disabled||e.emit("remove",n)};return{render(){const n=e.props,i=ge(n,Fi),a=It(Ts,n.tone,"accent"),m=It(Ms,n.appearance,"outline"),d=It(zs,n.size,"md"),l=!!n.disabled,h=e.slots.has("icon")?o.html`<span class="moz-chip-icon">${e.slot("icon")}</span>`:o.nothing,r=e.slots.has("default")?e.slot("default"):n.text??o.nothing;if(n.removable){const v=n.labelInteractive!==!1?o.html`<button type="button" class="moz-chip-label" ?disabled=${l} @click=${t}
1914
1914
  >${h}${r}</button
1915
1915
  >`:o.html`<span class="moz-chip-label">${h}${r}</span>`;return o.html`<span
1916
1916
  class=${z("moz-chip","removable",`size-${d}`,{disabled:l},n.class)}
@@ -1924,7 +1924,7 @@
1924
1924
  aria-label=${n.removeLabel||e.locale.Chip.remove}
1925
1925
  ?disabled=${l}
1926
1926
  @click=${s}
1927
- >${Ht("currentColor")}</button
1927
+ >${Ot("currentColor")}</button
1928
1928
  ></span
1929
1929
  >`}const p=!!n.selected;return o.html`<button
1930
1930
  type="button"
@@ -1937,7 +1937,7 @@
1937
1937
  ${ue(i)}
1938
1938
  @click=${t}
1939
1939
  >${h}${r}</button
1940
- >`}}}}),Oi={name:"MozChip",core:Ds,props:["tone","appearance","size","selected","disabled","removable","labelInteractive","removeLabel","text"],emits:["click","remove"],slots:["icon","default"],expose:!1,syncUpdate:!0},ft=e=>o.html`<svg
1940
+ >`}}}}),Bi={name:"MozChip",core:As,props:["tone","appearance","size","selected","disabled","removable","labelInteractive","removeLabel","text"],emits:["click","remove"],slots:["icon","default"],expose:!1,syncUpdate:!0},xo=()=>o.html`<svg
1941
1941
  width="20"
1942
1942
  height="20"
1943
1943
  viewBox="0 0 20 20"
@@ -1945,28 +1945,64 @@
1945
1945
  xmlns="http://www.w3.org/2000/svg"
1946
1946
  aria-hidden="true"
1947
1947
  >
1948
- ${e}
1949
- </svg>`,xo=()=>ft(o.html`<path
1948
+ <path
1950
1949
  fill-rule="evenodd"
1951
1950
  clip-rule="evenodd"
1952
1951
  d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 11-2 0 1 1 0 012 0zm-2 3a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"
1953
- ></path>`),Hi=()=>ft(o.html`<path
1952
+ ></path>
1953
+ </svg>`,Oi=()=>o.html`<svg
1954
+ width="20"
1955
+ height="20"
1956
+ viewBox="0 0 20 20"
1957
+ fill="currentColor"
1958
+ xmlns="http://www.w3.org/2000/svg"
1959
+ aria-hidden="true"
1960
+ >
1961
+ <path
1954
1962
  fill-rule="evenodd"
1955
1963
  clip-rule="evenodd"
1956
1964
  d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
1957
- ></path>`),_i=()=>ft(o.html`<path
1965
+ ></path>
1966
+ </svg>`,Hi=()=>o.html`<svg
1967
+ width="20"
1968
+ height="20"
1969
+ viewBox="0 0 20 20"
1970
+ fill="currentColor"
1971
+ xmlns="http://www.w3.org/2000/svg"
1972
+ aria-hidden="true"
1973
+ >
1974
+ <path
1958
1975
  fill-rule="evenodd"
1959
1976
  clip-rule="evenodd"
1960
1977
  d="M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z"
1961
- ></path>`),Ni=()=>ft(o.html`<path
1978
+ ></path>
1979
+ </svg>`,_i=()=>o.html`<svg
1980
+ width="20"
1981
+ height="20"
1982
+ viewBox="0 0 20 20"
1983
+ fill="currentColor"
1984
+ xmlns="http://www.w3.org/2000/svg"
1985
+ aria-hidden="true"
1986
+ >
1987
+ <path
1962
1988
  fill-rule="evenodd"
1963
1989
  clip-rule="evenodd"
1964
1990
  d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"
1965
- ></path>`),Ui=()=>ft(o.html`<path
1991
+ ></path>
1992
+ </svg>`,Ni=()=>o.html`<svg
1993
+ width="20"
1994
+ height="20"
1995
+ viewBox="0 0 20 20"
1996
+ fill="currentColor"
1997
+ xmlns="http://www.w3.org/2000/svg"
1998
+ aria-hidden="true"
1999
+ >
2000
+ <path
1966
2001
  fill-rule="evenodd"
1967
2002
  clip-rule="evenodd"
1968
2003
  d="M10 18a8 8 0 100-16 8 8 0 000 16zm0-12a1 1 0 00-1 1v4a1 1 0 102 0V7a1 1 0 00-1-1zm0 8a1 1 0 100-2 1 1 0 000 2z"
1969
- ></path>`),Wi=()=>o.html`<svg
2004
+ ></path>
2005
+ </svg>`,Ui=()=>o.html`<svg
1970
2006
  width="14"
1971
2007
  height="14"
1972
2008
  viewBox="0 0 24 24"
@@ -1978,17 +2014,17 @@
1978
2014
  aria-hidden="true"
1979
2015
  >
1980
2016
  <path d="M18 6 6 18M6 6l12 12"></path>
1981
- </svg>`,Vs=["info","success","warning","danger","neutral","accent"],Ki=new Set(["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live","class","style"]),Gi={info:xo,success:Hi,warning:_i,danger:Ni,neutral:Ui,accent:xo};function Yi(e){return typeof e=="string"&&Vs.includes(e)?e:"info"}const Rs=ve({name:"moz-callout",defaults:{tone:"info",dismissible:!1,hideIcon:!1,compact:!1,live:!1},setup(e){const t=s=>e.emit("dismiss",s);return{render(){const s=e.props,n=ge(s,Ki),i=Yi(s.tone),a=i==="danger"||i==="warning",m=!!s.live,l=e.slots.has("heading")?e.slot("heading"):s.title?s.title:void 0,h=e.slots.has("default")?e.slot("default"):s.text??o.nothing;return o.html`<div
2017
+ </svg>`,Ds=["info","success","warning","danger","neutral","accent"],Wi=new Set(["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live","class","style"]),Ki={info:xo,success:Oi,warning:Hi,danger:_i,neutral:Ni,accent:xo};function Gi(e){return typeof e=="string"&&Ds.includes(e)?e:"info"}const Vs=ve({name:"moz-callout",defaults:{tone:"info",dismissible:!1,hideIcon:!1,compact:!1,live:!1},setup(e){const t=s=>e.emit("dismiss",s);return{render(){const s=e.props,n=ge(s,Wi),i=Gi(s.tone),a=i==="danger"||i==="warning",m=!!s.live,l=e.slots.has("heading")?e.slot("heading"):s.title?s.title:void 0,h=e.slots.has("default")?e.slot("default"):s.text??o.nothing;return o.html`<div
1982
2018
  class=${z("moz-callout",{compact:!!s.compact},s.class)}
1983
2019
  data-tone=${i}
1984
- role=${Le.ifDefined(m?a?"alert":"status":void 0)}
1985
- aria-live=${Le.ifDefined(m?a?"assertive":"polite":void 0)}
1986
- aria-atomic=${Le.ifDefined(m?"true":void 0)}
2020
+ role=${xe.ifDefined(m?a?"alert":"status":void 0)}
2021
+ aria-live=${xe.ifDefined(m?a?"assertive":"polite":void 0)}
2022
+ aria-atomic=${xe.ifDefined(m?"true":void 0)}
1987
2023
  style=${oe.styleMap($e(s.style))}
1988
2024
  ${ue(n)}
1989
2025
  >
1990
2026
  ${s.hideIcon?o.nothing:o.html`<span class="moz-callout-icon"
1991
- >${e.slots.has("icon")?e.slot("icon"):Gi[i]()}</span
2027
+ >${e.slots.has("icon")?e.slot("icon"):Ki[i]()}</span
1992
2028
  >`}
1993
2029
  <div class="moz-callout-body">
1994
2030
  ${l!==void 0?o.html`<div class="moz-callout-title">${l}</div>`:o.nothing}
@@ -2000,7 +2036,7 @@
2000
2036
  aria-label=${s.dismissLabel||e.locale.Callout.dismiss}
2001
2037
  @click=${t}
2002
2038
  >
2003
- ${Wi()}
2039
+ ${Ui()}
2004
2040
  </button>`:o.nothing}
2005
- </div>`}}}}),Zi={name:"MozCallout",core:Rs,props:["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live"],emits:["dismiss"],slots:["icon","heading","default"],expose:!1,syncUpdate:!0};exports.AVATAR_SPEC=Di;exports.BADGE_APPEARANCES=Ls;exports.BADGE_SIZES=xs;exports.BADGE_SPEC=Fi;exports.BADGE_TONES=Ps;exports.BREADCRUMB_SPEC=ml;exports.BUTTON_SPEC=cl;exports.CALENDAR_SPEC=jl;exports.CALLOUT_SPEC=Zi;exports.CALLOUT_TONES=Vs;exports.CHECKBOX_SPEC=kl;exports.CHIP_APPEARANCES=zs;exports.CHIP_SIZES=As;exports.CHIP_SPEC=Oi;exports.CHIP_TONES=Ms;exports.COLLAPSIBLE_HEIGHT_VAR=$s;exports.COLLAPSIBLE_SPEC=zi;exports.CONTEXTMENU_SPEC=qn;exports.CONTROLLER_SPEC=ui;exports.ChromeComponent=Mo;exports.DATEINPUT_SPEC=on;exports.DEFAULT_TREE_PROPS=_t;exports.EMPTYSTATE_SPEC=$l;exports.INPUT_SPEC=xl;exports.LABEL_SPEC=ul;exports.MULTISELECT_SPEC=Sn;exports.NUMBERINPUT_SPEC=Bl;exports.Observable=Zs;exports.Overlay=pt;exports.PASSWORDINPUT_SPEC=zl;exports.POPOVER_SPEC=Ti;exports.POPUP_SPEC=hn;exports.PortalHost=Et;exports.RADIO_SPEC=Pl;exports.SCROLLAREA_SPEC=qi;exports.SEGMENT_TONES=No;exports.SELECT_SPEC=vn;exports.SLIDER_SPEC=Nl;exports.SPLITPANE_SPEC=oi;exports.SlotHost=zo;exports.TABLESELECT_SPEC=Un;exports.TAB_SPEC=Hl;exports.TAGINPUT_SPEC=An;exports.TEXTAREA_SPEC=Dl;exports.TIMEPICKER_SPEC=xn;exports.TOAST_SPEC=$i;exports.TOGGLE_SPEC=hl;exports.TOOLTIP_SPEC=Pi;exports.TREESELECT_SPEC=ei;exports.Timer=vs;exports.breadcrumbTemplate=jt;exports.buttonTemplate=at;exports.checkboxTemplate=St;exports.circleLoader=Wt;exports.cn=z;exports.computeTooltipPlacement=Cs;exports.createAvatar=ks;exports.createBadge=Ts;exports.createBreadCrumb=Fo;exports.createButton=Ro;exports.createCalendar=to;exports.createCallout=Rs;exports.createCheckBox=_o;exports.createChip=Ds;exports.createCollapsible=Ss;exports.createContextMenu=as;exports.createController=gs;exports.createDateInput=es;exports.createEmptyState=Ho;exports.createInput=Wo;exports.createLabel=qo;exports.createMultiSelect=ls;exports.createNumberInput=jo;exports.createPasswordInput=Yo;exports.createPopover=ys;exports.createPopup=os;exports.createRadio=Uo;exports.createScrollArea=Es;exports.createSelect=ss;exports.createSlider=Jo;exports.createSplitPane=fs;exports.createTab=Qo;exports.createTableSelect=cs;exports.createTagInput=rs;exports.createTextArea=Zo;exports.createTimePicker=is;exports.createToast=ro;exports.createToggle=Io;exports.createTooltip=bs;exports.createTreeSelect=ms;exports.createValidator=tl;exports.dayjs=Pe;exports.defaultEmptyStateMessages=Bo;exports.defineHeadless=ve;exports.dismissLayerCount=rl;exports.enUS=js;exports.generateUUID=Ao;exports.iconArrowRight=Gt;exports.iconCheckBox=Xt;exports.iconCheckBoxChecked=Qt;exports.iconCheckboxIndeterminate=Jt;exports.iconClose=Xo;exports.iconFavorite=Yt;exports.iconFavoriteFilled=Zt;exports.iconInfo=eo;exports.iconPasswordHidden=Ko;exports.iconPasswordVisible=Go;exports.jaJP=Qs;exports.koKR=Ot;exports.labelClass=Kt;exports.labelTemplate=Be;exports.normalizeStyle=$e;exports.pickRest=ge;exports.pxToRem=xe;exports.registerDismissLayer=Ut;exports.registerForeignLayer=il;exports.registerSelfHandledLayer=ht;exports.shallowEqual=it;exports.spread=ue;exports.toggleTemplate=Lt;exports.uniqueId=Xe;exports.useToast=yi;exports.zhCN=Xs;
2041
+ </div>`}}}}),Yi={name:"MozCallout",core:Vs,props:["tone","title","text","dismissible","dismissLabel","hideIcon","compact","live"],emits:["dismiss"],slots:["icon","heading","default"],expose:!1,syncUpdate:!0};exports.AVATAR_SPEC=Ai;exports.BADGE_APPEARANCES=Ps;exports.BADGE_SIZES=xs;exports.BADGE_SPEC=Ii;exports.BADGE_TONES=Es;exports.BREADCRUMB_SPEC=hl;exports.BUTTON_SPEC=al;exports.CALENDAR_SPEC=Zl;exports.CALLOUT_SPEC=Yi;exports.CALLOUT_TONES=Ds;exports.CHECKBOX_SPEC=Sl;exports.CHIP_APPEARANCES=Ms;exports.CHIP_SIZES=zs;exports.CHIP_SPEC=Bi;exports.CHIP_TONES=Ts;exports.COLLAPSIBLE_HEIGHT_VAR=ys;exports.COLLAPSIBLE_SPEC=Mi;exports.CONTEXTMENU_SPEC=Rn;exports.CONTROLLER_SPEC=di;exports.ChromeComponent=To;exports.DATEINPUT_SPEC=tn;exports.DEFAULT_TREE_PROPS=Ht;exports.EMPTYSTATE_SPEC=yl;exports.INPUT_SPEC=xl;exports.LABEL_SPEC=dl;exports.MULTISELECT_SPEC=$n;exports.NUMBERINPUT_SPEC=Fl;exports.Observable=Ys;exports.Overlay=pt;exports.PASSWORDINPUT_SPEC=Ml;exports.POPOVER_SPEC=Li;exports.POPUP_SPEC=pn;exports.PortalHost=kt;exports.RADIO_SPEC=El;exports.SCROLLAREA_SPEC=Ri;exports.SEGMENT_TONES=_o;exports.SELECT_SPEC=gn;exports.SLIDER_SPEC=_l;exports.SPLITPANE_SPEC=ti;exports.SlotHost=Mo;exports.TABLESELECT_SPEC=Nn;exports.TAB_SPEC=Ol;exports.TAGINPUT_SPEC=zn;exports.TEXTAREA_SPEC=Al;exports.TIMEPICKER_SPEC=xn;exports.TOAST_SPEC=yi;exports.TOGGLE_SPEC=pl;exports.TOOLTIP_SPEC=Ei;exports.TREESELECT_SPEC=Jn;exports.Timer=gs;exports.breadcrumbTemplate=Zt;exports.buttonTemplate=at;exports.checkboxTemplate=$t;exports.circleLoader=Ut;exports.cn=z;exports.computeTooltipPlacement=ws;exports.createAvatar=Ss;exports.createBadge=Ls;exports.createBreadCrumb=Io;exports.createButton=Vo;exports.createCalendar=eo;exports.createCallout=Vs;exports.createCheckBox=Ho;exports.createChip=As;exports.createCollapsible=$s;exports.createContextMenu=rs;exports.createController=fs;exports.createDateInput=Jo;exports.createEmptyState=Oo;exports.createInput=Uo;exports.createLabel=Ro;exports.createMultiSelect=ss;exports.createNumberInput=Zo;exports.createPasswordInput=Go;exports.createPopover=bs;exports.createPopup=ts;exports.createRadio=No;exports.createScrollArea=ks;exports.createSelect=os;exports.createSlider=Qo;exports.createSplitPane=ms;exports.createTab=Xo;exports.createTableSelect=as;exports.createTagInput=is;exports.createTextArea=Yo;exports.createTimePicker=ns;exports.createToast=io;exports.createToggle=qo;exports.createTooltip=Cs;exports.createTreeSelect=hs;exports.createValidator=el;exports.dayjs=Pe;exports.defaultEmptyStateMessages=Fo;exports.defineHeadless=ve;exports.dismissLayerCount=il;exports.enUS=Zs;exports.generateUUID=zo;exports.iconArrowRight=Kt;exports.iconCheckBox=jt;exports.iconCheckBoxChecked=Xt;exports.iconCheckboxIndeterminate=Qt;exports.iconClose=jo;exports.iconFavorite=Gt;exports.iconFavoriteFilled=Yt;exports.iconInfo=Jt;exports.iconPasswordHidden=Wo;exports.iconPasswordVisible=Ko;exports.jaJP=Xs;exports.koKR=Bt;exports.labelClass=Wt;exports.labelTemplate=Be;exports.normalizeStyle=$e;exports.pickRest=ge;exports.pxToRem=Le;exports.registerDismissLayer=Nt;exports.registerForeignLayer=nl;exports.registerSelfHandledLayer=ht;exports.shallowEqual=it;exports.spread=ue;exports.toggleTemplate=Pt;exports.uniqueId=Xe;exports.useToast=bi;exports.zhCN=js;
2006
2042
  //# sourceMappingURL=index.cjs.map