@gkd-kit/inspect 0.0.1722398445606 → 0.0.1722412694882
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/assets/ActionCard.vue_vue_type_script_setup_true_lang-Ct8cNz8k.js +17 -0
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Ct8cNz8k.js.map +1 -0
- package/dist/assets/DevicePage-CoAhEcx1.js +49 -0
- package/dist/assets/DevicePage-CoAhEcx1.js.map +1 -0
- package/dist/assets/HomePage-zAaOYFsa.js +119 -0
- package/dist/assets/{HomePage-CmdVsII9.js.map → HomePage-zAaOYFsa.js.map} +1 -1
- package/dist/assets/ImportPage-CUExjGdL.js +2 -0
- package/dist/assets/{ImportPage-CBnzeCIR.js.map → ImportPage-CUExjGdL.js.map} +1 -1
- package/dist/assets/PreviewSharePage-7Z_E5ThE.js +2 -0
- package/dist/assets/PreviewSharePage-7Z_E5ThE.js.map +1 -0
- package/dist/assets/{SelectorPage-gzPzkCEn.js → SelectorPage-DE6DDZ1q.js} +2 -2
- package/dist/assets/SelectorPage-DE6DDZ1q.js.map +1 -0
- package/dist/assets/SnapshotPage-B1sTN711.js +276 -0
- package/dist/assets/SnapshotPage-B1sTN711.js.map +1 -0
- package/dist/assets/{TrackGraph-bvX9IAqr.js → TrackGraph-DGrJni7J.js} +2 -2
- package/dist/assets/{TrackGraph-bvX9IAqr.js.map → TrackGraph-DGrJni7J.js.map} +1 -1
- package/dist/assets/{_404Page-BOClj7dn.js → _404Page-C4Wq6sEC.js} +2 -2
- package/dist/assets/{_404Page-BOClj7dn.js.map → _404Page-C4Wq6sEC.js.map} +1 -1
- package/dist/assets/{dayjs.min-C8gqYQL2.js → dayjs.min-CztBMIkx.js} +27 -27
- package/dist/assets/{dayjs.min-C8gqYQL2.js.map → dayjs.min-CztBMIkx.js.map} +1 -1
- package/dist/assets/{error-qg3zJMs8.js → error-CyilyQZf.js} +2 -2
- package/dist/assets/{error-qg3zJMs8.js.map → error-CyilyQZf.js.map} +1 -1
- package/dist/assets/{export-DKzCnEI8.js → export-NLzNNN73.js} +2 -2
- package/dist/assets/{export-DKzCnEI8.js.map → export-NLzNNN73.js.map} +1 -1
- package/dist/assets/{fetch-D6e5uSxW.js → fetch-lBUrhSVk.js} +4 -4
- package/dist/assets/{fetch-D6e5uSxW.js.map → fetch-lBUrhSVk.js.map} +1 -1
- package/dist/assets/{import-BY8QKaVt.js → import-BpB3aqFf.js} +2 -2
- package/dist/assets/{import-BY8QKaVt.js.map → import-BpB3aqFf.js.map} +1 -1
- package/dist/assets/{index-BS5g-smu.js → index-CKN-Mj0K.js} +45 -45
- package/dist/assets/index-CKN-Mj0K.js.map +1 -0
- package/dist/assets/{index-BQPWUQxY.js → index-CfhlGl__.js} +14 -14
- package/dist/assets/{index-BQPWUQxY.js.map → index-CfhlGl__.js.map} +1 -1
- package/dist/assets/{index-Bh9Fxz-K.js → index-XJrg9-Tr.js} +2 -2
- package/dist/assets/{index-Bh9Fxz-K.js.map → index-XJrg9-Tr.js.map} +1 -1
- package/dist/assets/{table-DOc2KouP.js → table-DkDqjowr.js} +21 -21
- package/dist/assets/{table-DOc2KouP.js.map → table-DkDqjowr.js.map} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-BUNNAoSP.js +0 -17
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-BUNNAoSP.js.map +0 -1
- package/dist/assets/DevicePage-7K7QSUev.js +0 -49
- package/dist/assets/DevicePage-7K7QSUev.js.map +0 -1
- package/dist/assets/HomePage-CmdVsII9.js +0 -119
- package/dist/assets/ImportPage-CBnzeCIR.js +0 -2
- package/dist/assets/PreviewSharePage-DxXY60XW.js +0 -2
- package/dist/assets/PreviewSharePage-DxXY60XW.js.map +0 -1
- package/dist/assets/SelectorPage-gzPzkCEn.js.map +0 -1
- package/dist/assets/SnapshotPage-C3-fhmBU.js +0 -276
- package/dist/assets/SnapshotPage-C3-fhmBU.js.map +0 -1
- package/dist/assets/index-BS5g-smu.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c5 as Oe,c6 as Ce,c7 as Gt,c8 as Fe,ab as fu,m as O,bW as Qt,h as Q,v as s,c9 as er,a as _,e as N,b as E,i as ur,a0 as Cu,t as ze,N as tr,aq as pe,ae as Me,x as rr,d as Fu,c as je,a4 as nr,r as I,U as me,ad as or,f as j,g as he,u as hu,j as _e,ca as ar,l as ir,k as lr,aa as ou,R as Au,bn as pu,B as au,a1 as sr,a3 as Dr,n as He,ap as cr,q as Eu,w as xe,b4 as dr,I as fr,bj as Cr,as as Je,a$ as iu,y as W,aZ as lu,bg as Fr,bd as hr,G as Ar,a_ as mu,c4 as pr,aY as Er,cb as mr,cc as vr}from"./index-BS5g-smu.js";const gr=/^(\d|\.)+$/,su=/(\d|\.)+/;function Br(e,{c:r=1,offset:t=0,attachPx:a=!0}={}){if(typeof e=="number"){const l=(e+t)*r;return l===0?"0":`${l}px`}else if(typeof e=="string")if(gr.test(e)){const l=(Number(e)+t)*r;return a?l===0?"0":`${l}px`:`${l}`}else{const l=su.exec(e);return l?e.replace(su,String((Number(l[0])+t)*r)):e}return e}const br={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}};var yr={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},wr=function(r,t,a){var l,i=yr[r];return typeof i=="string"?l=i:t===1?l=i.one:l=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+l:l+" ago":l},xr={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Sr={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pr={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zr={date:Oe({formats:xr,defaultWidth:"full"}),time:Oe({formats:Sr,defaultWidth:"full"}),dateTime:Oe({formats:Pr,defaultWidth:"full"})},Mr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},$r=function(r,t,a,l){return Mr[r]},Tr={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_r={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},kr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ir={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Rr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Nr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Wr=function(r,t){var a=Number(r),l=a%100;if(l>20||l<10)switch(l%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Lr={ordinalNumber:Wr,era:Ce({values:Tr,defaultWidth:"wide"}),quarter:Ce({values:_r,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:Ce({values:kr,defaultWidth:"wide"}),day:Ce({values:Ir,defaultWidth:"wide"}),dayPeriod:Ce({values:Rr,defaultWidth:"wide",formattingValues:Nr,defaultFormattingWidth:"wide"})},Vr=/^(\d+)(th|st|nd|rd)?/i,Or=/\d+/i,jr={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Hr={any:[/^b/i,/^(a|c)/i]},Ur={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qr={any:[/1/i,/2/i,/3/i,/4/i]},Jr={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xr={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Yr={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Zr={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Gr={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Qr={ordinalNumber:Gt({matchPattern:Vr,parsePattern:Or,valueCallback:function(r){return parseInt(r,10)}}),era:Fe({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Hr,defaultParseWidth:"any"}),quarter:Fe({matchPatterns:Ur,defaultMatchWidth:"wide",parsePatterns:qr,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:Fe({matchPatterns:Jr,defaultMatchWidth:"wide",parsePatterns:Kr,defaultParseWidth:"any"}),day:Fe({matchPatterns:Xr,defaultMatchWidth:"wide",parsePatterns:Yr,defaultParseWidth:"any"}),dayPeriod:Fe({matchPatterns:Zr,defaultMatchWidth:"any",parsePatterns:Gr,defaultParseWidth:"any"})},en={code:"en-US",formatDistance:wr,formatLong:zr,formatRelative:$r,localize:Lr,match:Qr,options:{weekStartsOn:0,firstWeekContainsDate:1}};const un={name:"en-US",locale:en};function tn(e){const{mergedLocaleRef:r,mergedDateLocaleRef:t}=fu(Qt,null)||{},a=O(()=>{var i,D;return(D=(i=r==null?void 0:r.value)===null||i===void 0?void 0:i[e])!==null&&D!==void 0?D:br[e]});return{dateLocaleRef:O(()=>{var i;return(i=t==null?void 0:t.value)!==null&&i!==void 0?i:un}),localeRef:a}}const rn=Q({name:"Eye",render(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},s("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),s("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),nn=Q({name:"EyeOff",render(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},s("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),s("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),s("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),s("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),s("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),on=Q({name:"ChevronDown",render(){return s("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),an=er("clear",s("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},s("g",{fill:"currentColor","fill-rule":"nonzero"},s("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),ln=_("base-clear",`
|
|
1
|
+
import{c6 as Oe,c7 as Ce,c8 as Gt,c9 as Fe,ab as fu,m as O,bX as Qt,h as Q,v as s,ca as er,a as _,e as N,b as E,i as ur,a0 as Cu,t as ze,N as tr,aq as pe,ae as Me,x as rr,d as Fu,c as je,a4 as nr,r as I,T as me,ad as or,f as j,g as he,u as hu,j as _e,cb as ar,l as ir,k as lr,aa as ou,Q as Au,bo as pu,B as au,a1 as sr,a3 as Dr,n as He,ap as cr,q as Eu,w as xe,b5 as dr,I as fr,bk as Cr,as as Je,b0 as iu,y as W,a_ as lu,bh as Fr,be as hr,G as Ar,a$ as mu,c5 as pr,aZ as Er,cc as mr,cd as vr}from"./index-CKN-Mj0K.js";const gr=/^(\d|\.)+$/,su=/(\d|\.)+/;function Br(e,{c:r=1,offset:t=0,attachPx:a=!0}={}){if(typeof e=="number"){const l=(e+t)*r;return l===0?"0":`${l}px`}else if(typeof e=="string")if(gr.test(e)){const l=(Number(e)+t)*r;return a?l===0?"0":`${l}px`:`${l}`}else{const l=su.exec(e);return l?e.replace(su,String((Number(l[0])+t)*r)):e}return e}const br={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"RRRR-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}};var yr={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},wr=function(r,t,a){var l,i=yr[r];return typeof i=="string"?l=i:t===1?l=i.one:l=i.other.replace("{{count}}",t.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+l:l+" ago":l},xr={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Sr={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Pr={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},zr={date:Oe({formats:xr,defaultWidth:"full"}),time:Oe({formats:Sr,defaultWidth:"full"}),dateTime:Oe({formats:Pr,defaultWidth:"full"})},Mr={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Tr=function(r,t,a,l){return Mr[r]},$r={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_r={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},kr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ir={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Rr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Nr={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Wr=function(r,t){var a=Number(r),l=a%100;if(l>20||l<10)switch(l%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},Lr={ordinalNumber:Wr,era:Ce({values:$r,defaultWidth:"wide"}),quarter:Ce({values:_r,defaultWidth:"wide",argumentCallback:function(r){return r-1}}),month:Ce({values:kr,defaultWidth:"wide"}),day:Ce({values:Ir,defaultWidth:"wide"}),dayPeriod:Ce({values:Rr,defaultWidth:"wide",formattingValues:Nr,defaultFormattingWidth:"wide"})},Vr=/^(\d+)(th|st|nd|rd)?/i,Or=/\d+/i,jr={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Hr={any:[/^b/i,/^(a|c)/i]},qr={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ur={any:[/1/i,/2/i,/3/i,/4/i]},Jr={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xr={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Zr={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Yr={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Gr={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Qr={ordinalNumber:Gt({matchPattern:Vr,parsePattern:Or,valueCallback:function(r){return parseInt(r,10)}}),era:Fe({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Hr,defaultParseWidth:"any"}),quarter:Fe({matchPatterns:qr,defaultMatchWidth:"wide",parsePatterns:Ur,defaultParseWidth:"any",valueCallback:function(r){return r+1}}),month:Fe({matchPatterns:Jr,defaultMatchWidth:"wide",parsePatterns:Kr,defaultParseWidth:"any"}),day:Fe({matchPatterns:Xr,defaultMatchWidth:"wide",parsePatterns:Zr,defaultParseWidth:"any"}),dayPeriod:Fe({matchPatterns:Yr,defaultMatchWidth:"any",parsePatterns:Gr,defaultParseWidth:"any"})},en={code:"en-US",formatDistance:wr,formatLong:zr,formatRelative:Tr,localize:Lr,match:Qr,options:{weekStartsOn:0,firstWeekContainsDate:1}};const un={name:"en-US",locale:en};function tn(e){const{mergedLocaleRef:r,mergedDateLocaleRef:t}=fu(Qt,null)||{},a=O(()=>{var i,D;return(D=(i=r==null?void 0:r.value)===null||i===void 0?void 0:i[e])!==null&&D!==void 0?D:br[e]});return{dateLocaleRef:O(()=>{var i;return(i=t==null?void 0:t.value)!==null&&i!==void 0?i:un}),localeRef:a}}const rn=Q({name:"Eye",render(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},s("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),s("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),nn=Q({name:"EyeOff",render(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},s("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),s("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),s("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),s("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),s("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),on=Q({name:"ChevronDown",render(){return s("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),an=er("clear",s("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},s("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},s("g",{fill:"currentColor","fill-rule":"nonzero"},s("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),ln=_("base-clear",`
|
|
2
2
|
flex-shrink: 0;
|
|
3
3
|
height: 1em;
|
|
4
4
|
width: 1em;
|
|
@@ -22,7 +22,7 @@ import{c5 as Oe,c6 as Ce,c7 as Gt,c8 as Fe,ab as fu,m as O,bW as Qt,h as Q,v as
|
|
|
22
22
|
left: 50%;
|
|
23
23
|
top: 50%;
|
|
24
24
|
transform: translateX(-50%) translateY(-50%);
|
|
25
|
-
`,[ur({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Ke=Q({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Cu("-base-clear",ln,ze(e,"clsPrefix")),{handleMouseDown(r){r.preventDefault()}}},render(){const{clsPrefix:e}=this;return s("div",{class:`${e}-base-clear`},s(tr,null,{default:()=>{var r,t;return this.show?s("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},pe(this.$slots.icon,()=>[s(Me,{clsPrefix:e},{default:()=>s(an,null)})])):s("div",{key:"icon",class:`${e}-base-clear__placeholder`},(t=(r=this.$slots).placeholder)===null||t===void 0?void 0:t.call(r))}}))}}),sn=Q({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:r}){return()=>{const{clsPrefix:t}=e;return s(rr,{clsPrefix:t,class:`${t}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?s(Ke,{clsPrefix:t,show:e.showClear,onClear:e.onClear},{placeholder:()=>s(Me,{clsPrefix:t,class:`${t}-base-suffix__arrow`},{default:()=>pe(r.default,()=>[s(on,null)])})}):null})}}}),Dn={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"};function cn(e){const{textColor2:r,textColor3:t,textColorDisabled:a,primaryColor:l,primaryColorHover:i,inputColor:D,inputColorDisabled:c,borderColor:d,warningColor:C,warningColorHover:F,errorColor:g,errorColorHover
|
|
25
|
+
`,[ur({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Ke=Q({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Cu("-base-clear",ln,ze(e,"clsPrefix")),{handleMouseDown(r){r.preventDefault()}}},render(){const{clsPrefix:e}=this;return s("div",{class:`${e}-base-clear`},s(tr,null,{default:()=>{var r,t;return this.show?s("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},pe(this.$slots.icon,()=>[s(Me,{clsPrefix:e},{default:()=>s(an,null)})])):s("div",{key:"icon",class:`${e}-base-clear__placeholder`},(t=(r=this.$slots).placeholder)===null||t===void 0?void 0:t.call(r))}}))}}),sn=Q({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:r}){return()=>{const{clsPrefix:t}=e;return s(rr,{clsPrefix:t,class:`${t}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?s(Ke,{clsPrefix:t,show:e.showClear,onClear:e.onClear},{placeholder:()=>s(Me,{clsPrefix:t,class:`${t}-base-suffix__arrow`},{default:()=>pe(r.default,()=>[s(on,null)])})}):null})}}}),Dn={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"};function cn(e){const{textColor2:r,textColor3:t,textColorDisabled:a,primaryColor:l,primaryColorHover:i,inputColor:D,inputColorDisabled:c,borderColor:d,warningColor:C,warningColorHover:F,errorColor:g,errorColorHover:T,borderRadius:q,lineHeight:L,fontSizeTiny:m,fontSizeSmall:b,fontSizeMedium:h,fontSizeLarge:B,heightTiny:M,heightSmall:w,heightMedium:S,heightLarge:U,actionColor:Y,clearColor:ee,clearColorHover:J,clearColorPressed:ue,placeholderColor:le,placeholderColorDisabled:se,iconColor:ke,iconColorDisabled:Ie,iconColorHover:De,iconColorPressed:Re}=e;return Object.assign(Object.assign({},Dn),{countTextColorDisabled:a,countTextColor:t,heightTiny:M,heightSmall:w,heightMedium:S,heightLarge:U,fontSizeTiny:m,fontSizeSmall:b,fontSizeMedium:h,fontSizeLarge:B,lineHeight:L,lineHeightTextarea:L,borderRadius:q,iconSize:"16px",groupLabelColor:Y,groupLabelTextColor:r,textColor:r,textColorDisabled:a,textDecorationColor:r,caretColor:l,placeholderColor:le,placeholderColorDisabled:se,color:D,colorDisabled:c,colorFocus:D,groupLabelBorder:`1px solid ${d}`,border:`1px solid ${d}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${d}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${je(l,{alpha:.2})}`,loadingColor:l,loadingColorWarning:C,borderWarning:`1px solid ${C}`,borderHoverWarning:`1px solid ${F}`,colorFocusWarning:D,borderFocusWarning:`1px solid ${F}`,boxShadowFocusWarning:`0 0 0 2px ${je(C,{alpha:.2})}`,caretColorWarning:C,loadingColorError:g,borderError:`1px solid ${g}`,borderHoverError:`1px solid ${T}`,colorFocusError:D,borderFocusError:`1px solid ${T}`,boxShadowFocusError:`0 0 0 2px ${je(g,{alpha:.2})}`,caretColorError:g,clearColor:ee,clearColorHover:J,clearColorPressed:ue,iconColor:ke,iconColorDisabled:Ie,iconColorHover:De,iconColorPressed:Re,suffixTextColor:r})}const dn={name:"Input",common:Fu,self:cn},vu=nr("n-input");function fn(e){let r=0;for(const t of e)r++;return r}function Se(e){return e===""||e==null}function Cn(e){const r=I(null);function t(){const{value:i}=e;if(!(i!=null&&i.focus)){l();return}const{selectionStart:D,selectionEnd:c,value:d}=i;if(D==null||c==null){l();return}r.value={start:D,end:c,beforeText:d.slice(0,D),afterText:d.slice(c)}}function a(){var i;const{value:D}=r,{value:c}=e;if(!D||!c)return;const{value:d}=c,{start:C,beforeText:F,afterText:g}=D;let T=d.length;if(d.endsWith(g))T=d.length-g.length;else if(d.startsWith(F))T=F.length;else{const q=F[C-1],L=d.indexOf(q,C-1);L!==-1&&(T=L+1)}(i=c.setSelectionRange)===null||i===void 0||i.call(c,T,T)}function l(){r.value=null}return me(e,l),{recordCursor:t,restoreCursor:a}}const Du=Q({name:"InputWordCount",setup(e,{slots:r}){const{mergedValueRef:t,maxlengthRef:a,mergedClsPrefixRef:l,countGraphemesRef:i}=fu(vu),D=O(()=>{const{value:c}=t;return c===null||Array.isArray(c)?0:(i.value||fn)(c)});return()=>{const{value:c}=a,{value:d}=t;return s("span",{class:`${l.value}-input-word-count`},or(r.default,{value:d===null||Array.isArray(d)?"":d},()=>[c===void 0?D.value:`${D.value} / ${c}`]))}}}),Fn=_("input",`
|
|
26
26
|
max-width: 100%;
|
|
27
27
|
cursor: text;
|
|
28
28
|
line-height: 1.5;
|
|
@@ -254,8 +254,8 @@ import{c5 as Oe,c6 as Ce,c7 as Gt,c8 as Fe,ab as fu,m as O,bW as Qt,h as Q,v as
|
|
|
254
254
|
border: var(--n-border-focus-${e});
|
|
255
255
|
`)])])]))]),hn=_("input",[j("disabled",[E("input-el, textarea-el",`
|
|
256
256
|
-webkit-text-fill-color: var(--n-text-color-disabled);
|
|
257
|
-
`)])]),An=Object.assign(Object.assign({},_e.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Wn=Q({name:"Input",props:An,setup(e){const{mergedClsPrefixRef:r,mergedBorderedRef:t,inlineThemeDisabled:a,mergedRtlRef:l}=hu(e),i=_e("Input","-input",Fn,dn,e,r);ar&&Cu("-input-safari",hn,r);const D=I(null),c=I(null),d=I(null),C=I(null),F=I(null),g=I(null)
|
|
258
|
-
`)}else{const{value:T}=C;T&&(u?T.textContent=u:T.innerHTML=" ")}}function Dt(){Su()}const ru=I({top:"0"});function ct(u){var o;const{scrollTop:f}=u.target;ru.value.top=`${-f}px`,(o=L.value)===null||o===void 0||o.syncUnifiedContainer()}let ye=null;au(()=>{const{autosize:u,type:o}=e;u&&o==="textarea"?ye=me(B,f=>{!Array.isArray(f)&&f!==le&&Le(f)}):ye==null||ye()});let we=null;au(()=>{e.type==="textarea"?we=me(B,u=>{var o;!Array.isArray(u)&&u!==le&&((o=L.value)===null||o===void 0||o.syncUnifiedContainer())}):we==null||we()}),sr(vu,{mergedValueRef:B,maxlengthRef:Pu,mergedClsPrefixRef:r,countGraphemesRef:ze(e,"countGraphemes")});const dt={wrapperElRef:D,inputElRef:F,textareaElRef:c,isCompositing:J,clear:uu,focus:tu,blur:ot,select:at,deactivate:lt,activate:it,scrollTo:st},ft=Dr("Input",l,r),nu=O(()=>{const{value:u}=w,{common:{cubicBezierEaseInOut:o},self:{color:f,borderRadius:x,textColor:T,caretColor:y,caretColorError:te,caretColorWarning:re,textDecorationColor:ne,border:de,borderDisabled:fe,borderHover:Ve,borderFocus:Ct,placeholderColor:Ft,placeholderColorDisabled:ht,lineHeightTextarea:At,colorDisabled:pt,colorFocus:Et,textColorDisabled:mt,boxShadowFocus:vt,iconSize:gt,colorFocusWarning:Bt,boxShadowFocusWarning:bt,borderWarning:yt,borderFocusWarning:wt,borderHoverWarning:xt,colorFocusError:St,boxShadowFocusError:Pt,borderError:zt,borderFocusError:Mt,borderHoverError:$t,clearSize:Tt,clearColor:_t,clearColorHover:kt,clearColorPressed:It,iconColor:Rt,iconColorDisabled:Nt,suffixTextColor:Wt,countTextColor:Lt,countTextColorDisabled:Vt,iconColorHover:Ot,iconColorPressed:jt,loadingColor:Ht,loadingColorError:Ut,loadingColorWarning:qt,[He("padding",u)]:Jt,[He("fontSize",u)]:Kt,[He("height",u)]:Xt}}=i.value,{left:Yt,right:Zt}=cr(Jt);return{"--n-bezier":o,"--n-count-text-color":Lt,"--n-count-text-color-disabled":Vt,"--n-color":f,"--n-font-size":Kt,"--n-border-radius":x,"--n-height":Xt,"--n-padding-left":Yt,"--n-padding-right":Zt,"--n-text-color":T,"--n-caret-color":y,"--n-text-decoration-color":ne,"--n-border":de,"--n-border-disabled":fe,"--n-border-hover":Ve,"--n-border-focus":Ct,"--n-placeholder-color":Ft,"--n-placeholder-color-disabled":ht,"--n-icon-size":gt,"--n-line-height-textarea":At,"--n-color-disabled":pt,"--n-color-focus":Et,"--n-text-color-disabled":mt,"--n-box-shadow-focus":vt,"--n-loading-color":Ht,"--n-caret-color-warning":re,"--n-color-focus-warning":Bt,"--n-box-shadow-focus-warning":bt,"--n-border-warning":yt,"--n-border-focus-warning":wt,"--n-border-hover-warning":xt,"--n-loading-color-warning":qt,"--n-caret-color-error":te,"--n-color-focus-error":St,"--n-box-shadow-focus-error":Pt,"--n-border-error":zt,"--n-border-focus-error":Mt,"--n-border-hover-error":$t,"--n-loading-color-error":Ut,"--n-clear-color":_t,"--n-clear-size":Tt,"--n-clear-color-hover":kt,"--n-clear-color-pressed":It,"--n-icon-color":Rt,"--n-icon-color-hover":Ot,"--n-icon-color-pressed":jt,"--n-icon-color-disabled":Nt,"--n-suffix-text-color":Wt}}),ie=a?Eu("input",O(()=>{const{value:u}=w;return u[0]}),nu,e):void 0;return Object.assign(Object.assign({},dt),{wrapperElRef:D,inputElRef:F,inputMirrorElRef:C,inputEl2Ref:g,textareaElRef:c,textareaMirrorElRef:d,textareaScrollbarInstRef:L,rtlEnabled:ft,uncontrolledValue:b,mergedValue:B,passwordVisible:ce,mergedPlaceholder:se,showPlaceholder1:ke,showPlaceholder2:Ie,mergedFocus:De,isComposing:J,activated:ue,showClearButton:Re,mergedSize:w,mergedDisabled:S,textDecorationStyle:xu,mergedClsPrefix:r,mergedBordered:t,mergedShowPasswordOn:Ne,placeholderStyle:ru,mergedStatus:q,textAreaScrollContainerWidth:eu,handleTextAreaScroll:ct,handleCompositionStart:Vu,handleCompositionEnd:Ou,handleInput:Be,handleInputBlur:Hu,handleInputFocus:Uu,handleWrapperBlur:qu,handleWrapperFocus:Ju,handleMouseEnter:Gu,handleMouseLeave:Qu,handleMouseDown:Zu,handleChange:Ku,handleClick:Xu,handleClear:Yu,handlePasswordToggleClick:et,handlePasswordToggleMousedown:ut,handleWrapperKeydown:rt,handleWrapperKeyup:tt,handleTextAreaMirrorResize:Dt,getTextareaScrollContainer:()=>c.value,mergedTheme:i,cssVars:a?void 0:nu,themeClass:ie==null?void 0:ie.themeClass,onRender:ie==null?void 0:ie.onRender})},render(){var e,r;const{mergedClsPrefix:t,mergedStatus:a,themeClass:l,type:i,countGraphemes:D,onRender:c}=this,d=this.$slots;return c==null||c(),s("div",{ref:"wrapperElRef",class:[`${t}-input`,l,a&&`${t}-input--${a}-status`,{[`${t}-input--rtl`]:this.rtlEnabled,[`${t}-input--disabled`]:this.mergedDisabled,[`${t}-input--textarea`]:i==="textarea",[`${t}-input--resizable`]:this.resizable&&!this.autosize,[`${t}-input--autosize`]:this.autosize,[`${t}-input--round`]:this.round&&i!=="textarea",[`${t}-input--pair`]:this.pair,[`${t}-input--focus`]:this.mergedFocus,[`${t}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},s("div",{class:`${t}-input-wrapper`},xe(d.prefix,C=>C&&s("div",{class:`${t}-input__prefix`},C)),i==="textarea"?s(dr,{ref:"textareaScrollbarInstRef",class:`${t}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var C,F;const{textAreaScrollContainerWidth:g}=this,$={width:this.autosize&&g&&`${g}px`};return s(fr,null,s("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${t}-input__textarea-el`,(C=this.inputProps)===null||C===void 0?void 0:C.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(F=this.inputProps)===null||F===void 0?void 0:F.style,$],onBlur:this.handleInputBlur,onFocus:U=>{this.handleInputFocus(U,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?s("div",{class:`${t}-input__placeholder`,style:[this.placeholderStyle,$],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?s(Cr,{onResize:this.handleTextAreaMirrorResize},{default:()=>s("div",{ref:"textareaMirrorElRef",class:`${t}-input__textarea-mirror`,key:"mirror"})}):null)}}):s("div",{class:`${t}-input__input`},s("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${t}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(r=this.inputProps)===null||r===void 0?void 0:r.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:C=>{this.handleInputFocus(C,0)},onInput:C=>{this.handleInput(C,0)},onChange:C=>{this.handleChange(C,0)}})),this.showPlaceholder1?s("div",{class:`${t}-input__placeholder`},s("span",null,this.mergedPlaceholder[0])):null,this.autosize?s("div",{class:`${t}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&xe(d.suffix,C=>C||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?s("div",{class:`${t}-input__suffix`},[xe(d["clear-icon-placeholder"],F=>(this.clearable||F)&&s(Ke,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>F,icon:()=>{var g,$;return($=(g=this.$slots)["clear-icon"])===null||$===void 0?void 0:$.call(g)}})),this.internalLoadingBeforeSuffix?null:C,this.loading!==void 0?s(sn,{clsPrefix:t,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?C:null,this.showCount&&this.type!=="textarea"?s(Du,null,{default:F=>{var g;return(g=d.count)===null||g===void 0?void 0:g.call(d,F)}}):null,this.mergedShowPasswordOn&&this.type==="password"?s("div",{class:`${t}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?pe(d["password-visible-icon"],()=>[s(Me,{clsPrefix:t},{default:()=>s(rn,null)})]):pe(d["password-invisible-icon"],()=>[s(Me,{clsPrefix:t},{default:()=>s(nn,null)})])):null]):null)),this.pair?s("span",{class:`${t}-input__separator`},pe(d.separator,()=>[this.separator])):null,this.pair?s("div",{class:`${t}-input-wrapper`},s("div",{class:`${t}-input__input`},s("input",{ref:"inputEl2Ref",type:this.type,class:`${t}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:C=>{this.handleInputFocus(C,1)},onInput:C=>{this.handleInput(C,1)},onChange:C=>{this.handleChange(C,1)}}),this.showPlaceholder2?s("div",{class:`${t}-input__placeholder`},s("span",null,this.mergedPlaceholder[1])):null),xe(d.suffix,C=>(this.clearable||C)&&s("div",{class:`${t}-input__suffix`},[this.clearable&&s(Ke,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var F;return(F=d["clear-icon"])===null||F===void 0?void 0:F.call(d)},placeholder:()=>{var F;return(F=d["clear-icon-placeholder"])===null||F===void 0?void 0:F.call(d)}}),C]))):null,this.mergedBordered?s("div",{class:`${t}-input__border`}):null,this.mergedBordered?s("div",{class:`${t}-input__state-border`}):null,this.showCount&&i==="textarea"?s(Du,null,{default:C=>{var F;const{renderCount:g}=this;return g?g(C):(F=d.count)===null||F===void 0?void 0:F.call(d,C)}}):null)}});function pn(e){const{textColorBase:r,opacity1:t,opacity2:a,opacity3:l,opacity4:i,opacity5:D}=e;return{color:r,opacity1Depth:t,opacity2Depth:a,opacity3Depth:l,opacity4Depth:i,opacity5Depth:D}}const En={name:"Icon",common:Fu,self:pn},mn=_("icon",`
|
|
257
|
+
`)])]),An=Object.assign(Object.assign({},_e.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),Wn=Q({name:"Input",props:An,setup(e){const{mergedClsPrefixRef:r,mergedBorderedRef:t,inlineThemeDisabled:a,mergedRtlRef:l}=hu(e),i=_e("Input","-input",Fn,dn,e,r);ar&&Cu("-input-safari",hn,r);const D=I(null),c=I(null),d=I(null),C=I(null),F=I(null),g=I(null),T=I(null),q=Cn(T),L=I(null),{localeRef:m}=tn("Input"),b=I(e.defaultValue),h=ze(e,"value"),B=ir(h,b),M=lr(e),{mergedSizeRef:w,mergedDisabledRef:S,mergedStatusRef:U}=M,Y=I(!1),ee=I(!1),J=I(!1),ue=I(!1);let le=null;const se=O(()=>{const{placeholder:u,pair:o}=e;return o?Array.isArray(u)?u:u===void 0?["",""]:[u,u]:u===void 0?[m.value.placeholder]:[u]}),ke=O(()=>{const{value:u}=J,{value:o}=B,{value:f}=se;return!u&&(Se(o)||Array.isArray(o)&&Se(o[0]))&&f[0]}),Ie=O(()=>{const{value:u}=J,{value:o}=B,{value:f}=se;return!u&&f[1]&&(Se(o)||Array.isArray(o)&&Se(o[1]))}),De=ou(()=>e.internalForceFocus||Y.value),Re=ou(()=>{if(S.value||e.readonly||!e.clearable||!De.value&&!ee.value)return!1;const{value:u}=B,{value:o}=De;return e.pair?!!(Array.isArray(u)&&(u[0]||u[1]))&&(ee.value||o):!!u&&(ee.value||o)}),Ne=O(()=>{const{showPasswordOn:u}=e;if(u)return u;if(e.showPasswordToggle)return"click"}),ce=I(!1),xu=O(()=>{const{textDecoration:u}=e;return u?Array.isArray(u)?u.map(o=>({textDecoration:o})):[{textDecoration:u}]:["",""]}),eu=I(void 0),Su=()=>{var u,o;if(e.type==="textarea"){const{autosize:f}=e;if(f&&(eu.value=(o=(u=L.value)===null||u===void 0?void 0:u.$el)===null||o===void 0?void 0:o.offsetWidth),!c.value||typeof f=="boolean")return;const{paddingTop:x,paddingBottom:$,lineHeight:y}=window.getComputedStyle(c.value),te=Number(x.slice(0,-2)),re=Number($.slice(0,-2)),ne=Number(y.slice(0,-2)),{value:de}=d;if(!de)return;if(f.minRows){const fe=Math.max(f.minRows,1),Ve=`${te+re+ne*fe}px`;de.style.minHeight=Ve}if(f.maxRows){const fe=`${te+re+ne*f.maxRows}px`;de.style.maxHeight=fe}}},Pu=O(()=>{const{maxlength:u}=e;return u===void 0?void 0:Number(u)});Au(()=>{const{value:u}=B;Array.isArray(u)||Le(u)});const zu=pu().proxy;function ve(u,o){const{onUpdateValue:f,"onUpdate:value":x,onInput:$}=e,{nTriggerFormInput:y}=M;f&&W(f,u,o),x&&W(x,u,o),$&&W($,u,o),b.value=u,y()}function ge(u,o){const{onChange:f}=e,{nTriggerFormChange:x}=M;f&&W(f,u,o),b.value=u,x()}function Mu(u){const{onBlur:o}=e,{nTriggerFormBlur:f}=M;o&&W(o,u),f()}function Tu(u){const{onFocus:o}=e,{nTriggerFormFocus:f}=M;o&&W(o,u),f()}function $u(u){const{onClear:o}=e;o&&W(o,u)}function _u(u){const{onInputBlur:o}=e;o&&W(o,u)}function ku(u){const{onInputFocus:o}=e;o&&W(o,u)}function Iu(){const{onDeactivate:u}=e;u&&W(u)}function Ru(){const{onActivate:u}=e;u&&W(u)}function Nu(u){const{onClick:o}=e;o&&W(o,u)}function Wu(u){const{onWrapperFocus:o}=e;o&&W(o,u)}function Lu(u){const{onWrapperBlur:o}=e;o&&W(o,u)}function Vu(){J.value=!0}function Ou(u){J.value=!1,u.target===g.value?Be(u,1):Be(u,0)}function Be(u,o=0,f="input"){const x=u.target.value;if(Le(x),u instanceof InputEvent&&!u.isComposing&&(J.value=!1),e.type==="textarea"){const{value:y}=L;y&&y.syncUnifiedContainer()}if(le=x,J.value)return;q.recordCursor();const $=ju(x);if($)if(!e.pair)f==="input"?ve(x,{source:o}):ge(x,{source:o});else{let{value:y}=B;Array.isArray(y)?y=[y[0],y[1]]:y=["",""],y[o]=x,f==="input"?ve(y,{source:o}):ge(y,{source:o})}zu.$forceUpdate(),$||Je(q.restoreCursor)}function ju(u){const{countGraphemes:o,maxlength:f,minlength:x}=e;if(o){let y;if(f!==void 0&&(y===void 0&&(y=o(u)),y>Number(f))||x!==void 0&&(y===void 0&&(y=o(u)),y<Number(f)))return!1}const{allowInput:$}=e;return typeof $=="function"?$(u):!0}function Hu(u){_u(u),u.relatedTarget===D.value&&Iu(),u.relatedTarget!==null&&(u.relatedTarget===F.value||u.relatedTarget===g.value||u.relatedTarget===c.value)||(ue.value=!1),be(u,"blur"),T.value=null}function qu(u,o){ku(u),Y.value=!0,ue.value=!0,Ru(),be(u,"focus"),o===0?T.value=F.value:o===1?T.value=g.value:o===2&&(T.value=c.value)}function Uu(u){e.passivelyActivated&&(Lu(u),be(u,"blur"))}function Ju(u){e.passivelyActivated&&(Y.value=!0,Wu(u),be(u,"focus"))}function be(u,o){u.relatedTarget!==null&&(u.relatedTarget===F.value||u.relatedTarget===g.value||u.relatedTarget===c.value||u.relatedTarget===D.value)||(o==="focus"?(Tu(u),Y.value=!0):o==="blur"&&(Mu(u),Y.value=!1))}function Ku(u,o){Be(u,o,"change")}function Xu(u){Nu(u)}function Zu(u){$u(u),uu()}function uu(){e.pair?(ve(["",""],{source:"clear"}),ge(["",""],{source:"clear"})):(ve("",{source:"clear"}),ge("",{source:"clear"}))}function Yu(u){const{onMousedown:o}=e;o&&o(u);const{tagName:f}=u.target;if(f!=="INPUT"&&f!=="TEXTAREA"){if(e.resizable){const{value:x}=D;if(x){const{left:$,top:y,width:te,height:re}=x.getBoundingClientRect(),ne=14;if($+te-ne<u.clientX&&u.clientX<$+te&&y+re-ne<u.clientY&&u.clientY<y+re)return}}u.preventDefault(),Y.value||tu()}}function Gu(){var u;ee.value=!0,e.type==="textarea"&&((u=L.value)===null||u===void 0||u.handleMouseEnterWrapper())}function Qu(){var u;ee.value=!1,e.type==="textarea"&&((u=L.value)===null||u===void 0||u.handleMouseLeaveWrapper())}function et(){S.value||Ne.value==="click"&&(ce.value=!ce.value)}function ut(u){if(S.value)return;u.preventDefault();const o=x=>{x.preventDefault(),lu("mouseup",document,o)};if(iu("mouseup",document,o),Ne.value!=="mousedown")return;ce.value=!0;const f=()=>{ce.value=!1,lu("mouseup",document,f)};iu("mouseup",document,f)}function tt(u){e.onKeyup&&W(e.onKeyup,u)}function rt(u){switch(e.onKeydown&&W(e.onKeydown,u),u.key){case"Escape":We();break;case"Enter":nt(u);break}}function nt(u){var o,f;if(e.passivelyActivated){const{value:x}=ue;if(x){e.internalDeactivateOnEnter&&We();return}u.preventDefault(),e.type==="textarea"?(o=c.value)===null||o===void 0||o.focus():(f=F.value)===null||f===void 0||f.focus()}}function We(){e.passivelyActivated&&(ue.value=!1,Je(()=>{var u;(u=D.value)===null||u===void 0||u.focus()}))}function tu(){var u,o,f;S.value||(e.passivelyActivated?(u=D.value)===null||u===void 0||u.focus():((o=c.value)===null||o===void 0||o.focus(),(f=F.value)===null||f===void 0||f.focus()))}function ot(){var u;!((u=D.value)===null||u===void 0)&&u.contains(document.activeElement)&&document.activeElement.blur()}function at(){var u,o;(u=c.value)===null||u===void 0||u.select(),(o=F.value)===null||o===void 0||o.select()}function it(){S.value||(c.value?c.value.focus():F.value&&F.value.focus())}function lt(){const{value:u}=D;u!=null&&u.contains(document.activeElement)&&u!==document.activeElement&&We()}function st(u){if(e.type==="textarea"){const{value:o}=c;o==null||o.scrollTo(u)}else{const{value:o}=F;o==null||o.scrollTo(u)}}function Le(u){const{type:o,pair:f,autosize:x}=e;if(!f&&x)if(o==="textarea"){const{value:$}=d;$&&($.textContent=`${u!=null?u:""}\r
|
|
258
|
+
`)}else{const{value:$}=C;$&&(u?$.textContent=u:$.innerHTML=" ")}}function Dt(){Su()}const ru=I({top:"0"});function ct(u){var o;const{scrollTop:f}=u.target;ru.value.top=`${-f}px`,(o=L.value)===null||o===void 0||o.syncUnifiedContainer()}let ye=null;au(()=>{const{autosize:u,type:o}=e;u&&o==="textarea"?ye=me(B,f=>{!Array.isArray(f)&&f!==le&&Le(f)}):ye==null||ye()});let we=null;au(()=>{e.type==="textarea"?we=me(B,u=>{var o;!Array.isArray(u)&&u!==le&&((o=L.value)===null||o===void 0||o.syncUnifiedContainer())}):we==null||we()}),sr(vu,{mergedValueRef:B,maxlengthRef:Pu,mergedClsPrefixRef:r,countGraphemesRef:ze(e,"countGraphemes")});const dt={wrapperElRef:D,inputElRef:F,textareaElRef:c,isCompositing:J,clear:uu,focus:tu,blur:ot,select:at,deactivate:lt,activate:it,scrollTo:st},ft=Dr("Input",l,r),nu=O(()=>{const{value:u}=w,{common:{cubicBezierEaseInOut:o},self:{color:f,borderRadius:x,textColor:$,caretColor:y,caretColorError:te,caretColorWarning:re,textDecorationColor:ne,border:de,borderDisabled:fe,borderHover:Ve,borderFocus:Ct,placeholderColor:Ft,placeholderColorDisabled:ht,lineHeightTextarea:At,colorDisabled:pt,colorFocus:Et,textColorDisabled:mt,boxShadowFocus:vt,iconSize:gt,colorFocusWarning:Bt,boxShadowFocusWarning:bt,borderWarning:yt,borderFocusWarning:wt,borderHoverWarning:xt,colorFocusError:St,boxShadowFocusError:Pt,borderError:zt,borderFocusError:Mt,borderHoverError:Tt,clearSize:$t,clearColor:_t,clearColorHover:kt,clearColorPressed:It,iconColor:Rt,iconColorDisabled:Nt,suffixTextColor:Wt,countTextColor:Lt,countTextColorDisabled:Vt,iconColorHover:Ot,iconColorPressed:jt,loadingColor:Ht,loadingColorError:qt,loadingColorWarning:Ut,[He("padding",u)]:Jt,[He("fontSize",u)]:Kt,[He("height",u)]:Xt}}=i.value,{left:Zt,right:Yt}=cr(Jt);return{"--n-bezier":o,"--n-count-text-color":Lt,"--n-count-text-color-disabled":Vt,"--n-color":f,"--n-font-size":Kt,"--n-border-radius":x,"--n-height":Xt,"--n-padding-left":Zt,"--n-padding-right":Yt,"--n-text-color":$,"--n-caret-color":y,"--n-text-decoration-color":ne,"--n-border":de,"--n-border-disabled":fe,"--n-border-hover":Ve,"--n-border-focus":Ct,"--n-placeholder-color":Ft,"--n-placeholder-color-disabled":ht,"--n-icon-size":gt,"--n-line-height-textarea":At,"--n-color-disabled":pt,"--n-color-focus":Et,"--n-text-color-disabled":mt,"--n-box-shadow-focus":vt,"--n-loading-color":Ht,"--n-caret-color-warning":re,"--n-color-focus-warning":Bt,"--n-box-shadow-focus-warning":bt,"--n-border-warning":yt,"--n-border-focus-warning":wt,"--n-border-hover-warning":xt,"--n-loading-color-warning":Ut,"--n-caret-color-error":te,"--n-color-focus-error":St,"--n-box-shadow-focus-error":Pt,"--n-border-error":zt,"--n-border-focus-error":Mt,"--n-border-hover-error":Tt,"--n-loading-color-error":qt,"--n-clear-color":_t,"--n-clear-size":$t,"--n-clear-color-hover":kt,"--n-clear-color-pressed":It,"--n-icon-color":Rt,"--n-icon-color-hover":Ot,"--n-icon-color-pressed":jt,"--n-icon-color-disabled":Nt,"--n-suffix-text-color":Wt}}),ie=a?Eu("input",O(()=>{const{value:u}=w;return u[0]}),nu,e):void 0;return Object.assign(Object.assign({},dt),{wrapperElRef:D,inputElRef:F,inputMirrorElRef:C,inputEl2Ref:g,textareaElRef:c,textareaMirrorElRef:d,textareaScrollbarInstRef:L,rtlEnabled:ft,uncontrolledValue:b,mergedValue:B,passwordVisible:ce,mergedPlaceholder:se,showPlaceholder1:ke,showPlaceholder2:Ie,mergedFocus:De,isComposing:J,activated:ue,showClearButton:Re,mergedSize:w,mergedDisabled:S,textDecorationStyle:xu,mergedClsPrefix:r,mergedBordered:t,mergedShowPasswordOn:Ne,placeholderStyle:ru,mergedStatus:U,textAreaScrollContainerWidth:eu,handleTextAreaScroll:ct,handleCompositionStart:Vu,handleCompositionEnd:Ou,handleInput:Be,handleInputBlur:Hu,handleInputFocus:qu,handleWrapperBlur:Uu,handleWrapperFocus:Ju,handleMouseEnter:Gu,handleMouseLeave:Qu,handleMouseDown:Yu,handleChange:Ku,handleClick:Xu,handleClear:Zu,handlePasswordToggleClick:et,handlePasswordToggleMousedown:ut,handleWrapperKeydown:rt,handleWrapperKeyup:tt,handleTextAreaMirrorResize:Dt,getTextareaScrollContainer:()=>c.value,mergedTheme:i,cssVars:a?void 0:nu,themeClass:ie==null?void 0:ie.themeClass,onRender:ie==null?void 0:ie.onRender})},render(){var e,r;const{mergedClsPrefix:t,mergedStatus:a,themeClass:l,type:i,countGraphemes:D,onRender:c}=this,d=this.$slots;return c==null||c(),s("div",{ref:"wrapperElRef",class:[`${t}-input`,l,a&&`${t}-input--${a}-status`,{[`${t}-input--rtl`]:this.rtlEnabled,[`${t}-input--disabled`]:this.mergedDisabled,[`${t}-input--textarea`]:i==="textarea",[`${t}-input--resizable`]:this.resizable&&!this.autosize,[`${t}-input--autosize`]:this.autosize,[`${t}-input--round`]:this.round&&i!=="textarea",[`${t}-input--pair`]:this.pair,[`${t}-input--focus`]:this.mergedFocus,[`${t}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},s("div",{class:`${t}-input-wrapper`},xe(d.prefix,C=>C&&s("div",{class:`${t}-input__prefix`},C)),i==="textarea"?s(dr,{ref:"textareaScrollbarInstRef",class:`${t}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var C,F;const{textAreaScrollContainerWidth:g}=this,T={width:this.autosize&&g&&`${g}px`};return s(fr,null,s("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${t}-input__textarea-el`,(C=this.inputProps)===null||C===void 0?void 0:C.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(F=this.inputProps)===null||F===void 0?void 0:F.style,T],onBlur:this.handleInputBlur,onFocus:q=>{this.handleInputFocus(q,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?s("div",{class:`${t}-input__placeholder`,style:[this.placeholderStyle,T],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?s(Cr,{onResize:this.handleTextAreaMirrorResize},{default:()=>s("div",{ref:"textareaMirrorElRef",class:`${t}-input__textarea-mirror`,key:"mirror"})}):null)}}):s("div",{class:`${t}-input__input`},s("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${t}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(r=this.inputProps)===null||r===void 0?void 0:r.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:C=>{this.handleInputFocus(C,0)},onInput:C=>{this.handleInput(C,0)},onChange:C=>{this.handleChange(C,0)}})),this.showPlaceholder1?s("div",{class:`${t}-input__placeholder`},s("span",null,this.mergedPlaceholder[0])):null,this.autosize?s("div",{class:`${t}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&xe(d.suffix,C=>C||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?s("div",{class:`${t}-input__suffix`},[xe(d["clear-icon-placeholder"],F=>(this.clearable||F)&&s(Ke,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>F,icon:()=>{var g,T;return(T=(g=this.$slots)["clear-icon"])===null||T===void 0?void 0:T.call(g)}})),this.internalLoadingBeforeSuffix?null:C,this.loading!==void 0?s(sn,{clsPrefix:t,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?C:null,this.showCount&&this.type!=="textarea"?s(Du,null,{default:F=>{var g;return(g=d.count)===null||g===void 0?void 0:g.call(d,F)}}):null,this.mergedShowPasswordOn&&this.type==="password"?s("div",{class:`${t}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?pe(d["password-visible-icon"],()=>[s(Me,{clsPrefix:t},{default:()=>s(rn,null)})]):pe(d["password-invisible-icon"],()=>[s(Me,{clsPrefix:t},{default:()=>s(nn,null)})])):null]):null)),this.pair?s("span",{class:`${t}-input__separator`},pe(d.separator,()=>[this.separator])):null,this.pair?s("div",{class:`${t}-input-wrapper`},s("div",{class:`${t}-input__input`},s("input",{ref:"inputEl2Ref",type:this.type,class:`${t}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:D?void 0:this.maxlength,minlength:D?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:C=>{this.handleInputFocus(C,1)},onInput:C=>{this.handleInput(C,1)},onChange:C=>{this.handleChange(C,1)}}),this.showPlaceholder2?s("div",{class:`${t}-input__placeholder`},s("span",null,this.mergedPlaceholder[1])):null),xe(d.suffix,C=>(this.clearable||C)&&s("div",{class:`${t}-input__suffix`},[this.clearable&&s(Ke,{clsPrefix:t,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var F;return(F=d["clear-icon"])===null||F===void 0?void 0:F.call(d)},placeholder:()=>{var F;return(F=d["clear-icon-placeholder"])===null||F===void 0?void 0:F.call(d)}}),C]))):null,this.mergedBordered?s("div",{class:`${t}-input__border`}):null,this.mergedBordered?s("div",{class:`${t}-input__state-border`}):null,this.showCount&&i==="textarea"?s(Du,null,{default:C=>{var F;const{renderCount:g}=this;return g?g(C):(F=d.count)===null||F===void 0?void 0:F.call(d,C)}}):null)}});function pn(e){const{textColorBase:r,opacity1:t,opacity2:a,opacity3:l,opacity4:i,opacity5:D}=e;return{color:r,opacity1Depth:t,opacity2Depth:a,opacity3Depth:l,opacity4Depth:i,opacity5Depth:D}}const En={name:"Icon",common:Fu,self:pn},mn=_("icon",`
|
|
259
259
|
height: 1em;
|
|
260
260
|
width: 1em;
|
|
261
261
|
line-height: 1em;
|
|
@@ -264,18 +264,18 @@ import{c5 as Oe,c6 as Ce,c7 as Gt,c8 as Fe,ab as fu,m as O,bW as Qt,h as Q,v as
|
|
|
264
264
|
position: relative;
|
|
265
265
|
fill: currentColor;
|
|
266
266
|
transform: translateZ(0);
|
|
267
|
-
`,[j("color-transition",{transition:"color .3s var(--n-bezier)"}),j("depth",{color:"var(--n-color)"},[N("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),N("svg",{height:"1em",width:"1em"})]),vn=Object.assign(Object.assign({},_e.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Ln=Q({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:vn,setup(e){const{mergedClsPrefixRef:r,inlineThemeDisabled:t}=hu(e),a=_e("Icon","-icon",mn,En,e,r),l=O(()=>{const{depth:D}=e,{common:{cubicBezierEaseInOut:c},self:d}=a.value;if(D!==void 0){const{color:C,[`opacity${D}Depth`]:F}=d;return{"--n-bezier":c,"--n-color":C,"--n-opacity":F}}return{"--n-bezier":c,"--n-color":"","--n-opacity":""}}),i=t?Eu("icon",O(()=>`${e.depth||"d"}`),l,e):void 0;return{mergedClsPrefix:r,mergedStyle:O(()=>{const{size:D,color:c}=e;return{fontSize:Br(D),color:c}}),cssVars:t?void 0:l,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:r,depth:t,mergedClsPrefix:a,component:l,onRender:i,themeClass:D}=this;return!((e=r==null?void 0:r.$options)===null||e===void 0)&&e._n_icon__&&Fr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),s("i",hr(this.$attrs,{role:"img",class:[`${a}-icon`,D,{[`${a}-icon--depth`]:t,[`${a}-icon--color-transition`]:t!==void 0}],style:[this.cssVars,this.mergedStyle]}),l?s(l):this.$slots)}});var gn=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bn=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\u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DDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uD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xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u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F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D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\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED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uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Ue={Space_Separator:gn,ID_Start:Bn,ID_Continue:bn},k={isSpaceSeparator(e){return typeof e=="string"&&Ue.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Ue.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e===""||e===""||Ue.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}};let Xe,V,X,$e,G,H,R,Qe,Ee;var yn=function(r,t){Xe=String(r),V="start",X=[],$e=0,G=1,H=0,R=void 0,Qe=void 0,Ee=void 0;do R=wn(),Pn[V]();while(R.type!=="eof");return typeof t=="function"?Ye({"":Ee},"",t):Ee};function Ye(e,r,t){const a=e[r];if(a!=null&&typeof a=="object")if(Array.isArray(a))for(let l=0;l<a.length;l++){const i=String(l),D=Ye(a,i,t);D===void 0?delete a[i]:Object.defineProperty(a,i,{value:D,writable:!0,enumerable:!0,configurable:!0})}else for(const l in a){const i=Ye(a,l,t);i===void 0?delete a[l]:Object.defineProperty(a,l,{value:i,writable:!0,enumerable:!0,configurable:!0})}return t.call(e,r,a)}let p,A,Ae,K,v;function wn(){for(p="default",A="",Ae=!1,K=1;;){v=Y();const e=gu[p]();if(e)return e}}function Y(){if(Xe[$e])return String.fromCodePoint(Xe.codePointAt($e))}function n(){const e=Y();return e===`
|
|
268
|
-
`?(G++,H=0):e?H+=e.length:H++,e&&(
|
|
267
|
+
`,[j("color-transition",{transition:"color .3s var(--n-bezier)"}),j("depth",{color:"var(--n-color)"},[N("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),N("svg",{height:"1em",width:"1em"})]),vn=Object.assign(Object.assign({},_e.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Ln=Q({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:vn,setup(e){const{mergedClsPrefixRef:r,inlineThemeDisabled:t}=hu(e),a=_e("Icon","-icon",mn,En,e,r),l=O(()=>{const{depth:D}=e,{common:{cubicBezierEaseInOut:c},self:d}=a.value;if(D!==void 0){const{color:C,[`opacity${D}Depth`]:F}=d;return{"--n-bezier":c,"--n-color":C,"--n-opacity":F}}return{"--n-bezier":c,"--n-color":"","--n-opacity":""}}),i=t?Eu("icon",O(()=>`${e.depth||"d"}`),l,e):void 0;return{mergedClsPrefix:r,mergedStyle:O(()=>{const{size:D,color:c}=e;return{fontSize:Br(D),color:c}}),cssVars:t?void 0:l,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:r,depth:t,mergedClsPrefix:a,component:l,onRender:i,themeClass:D}=this;return!((e=r==null?void 0:r.$options)===null||e===void 0)&&e._n_icon__&&Fr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),s("i",hr(this.$attrs,{role:"img",class:[`${a}-icon`,D,{[`${a}-icon--depth`]:t,[`${a}-icon--color-transition`]:t!==void 0}],style:[this.cssVars,this.mergedStyle]}),l?s(l):this.$slots)}});var gn=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Bn=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C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DCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED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uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,bn=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\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-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB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DC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811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34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,qe={Space_Separator:gn,ID_Start:Bn,ID_Continue:bn},k={isSpaceSeparator(e){return typeof e=="string"&&qe.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||qe.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e===""||e===""||qe.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}};let Xe,V,X,Te,G,H,R,Qe,Ee;var yn=function(r,t){Xe=String(r),V="start",X=[],Te=0,G=1,H=0,R=void 0,Qe=void 0,Ee=void 0;do R=wn(),Pn[V]();while(R.type!=="eof");return typeof t=="function"?Ze({"":Ee},"",t):Ee};function Ze(e,r,t){const a=e[r];if(a!=null&&typeof a=="object")if(Array.isArray(a))for(let l=0;l<a.length;l++){const i=String(l),D=Ze(a,i,t);D===void 0?delete a[i]:Object.defineProperty(a,i,{value:D,writable:!0,enumerable:!0,configurable:!0})}else for(const l in a){const i=Ze(a,l,t);i===void 0?delete a[l]:Object.defineProperty(a,l,{value:i,writable:!0,enumerable:!0,configurable:!0})}return t.call(e,r,a)}let p,A,Ae,K,v;function wn(){for(p="default",A="",Ae=!1,K=1;;){v=Z();const e=gu[p]();if(e)return e}}function Z(){if(Xe[Te])return String.fromCodePoint(Xe.codePointAt(Te))}function n(){const e=Z();return e===`
|
|
268
|
+
`?(G++,H=0):e?H+=e.length:H++,e&&(Te+=e.length),e}const gu={default(){switch(v){case" ":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
|
|
269
269
|
`:case"\r":case"\u2028":case"\u2029":n();return;case"/":n(),p="comment";return;case void 0:return n(),P("eof")}if(k.isSpaceSeparator(v)){n();return}return gu[V]()},comment(){switch(v){case"*":n(),p="multiLineComment";return;case"/":n(),p="singleLineComment";return}throw z(n())},multiLineComment(){switch(v){case"*":n(),p="multiLineCommentAsterisk";return;case void 0:throw z(n())}n()},multiLineCommentAsterisk(){switch(v){case"*":n();return;case"/":n(),p="default";return;case void 0:throw z(n())}n(),p="multiLineComment"},singleLineComment(){switch(v){case`
|
|
270
|
-
`:case"\r":case"\u2028":case"\u2029":n(),p="default";return;case void 0:return n(),P("eof")}n()},value(){switch(v){case"{":case"[":return P("punctuator",n());case"n":return n(),oe("ull"),P("null",null);case"t":return n(),oe("rue"),P("boolean",!0);case"f":return n(),oe("alse"),P("boolean",!1);case"-":case"+":n()==="-"&&(K=-1),p="sign";return;case".":A=n(),p="decimalPointLeading";return;case"0":A=n(),p="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=n(),p="decimalInteger";return;case"I":return n(),oe("nfinity"),P("numeric",1/0);case"N":return n(),oe("aN"),P("numeric",NaN);case'"':case"'":Ae=n()==='"',A="",p="string";return}throw z(n())},identifierNameStartEscape(){if(v!=="u")throw z(n());n();const e=
|
|
271
|
-
`:case"\r":throw z(n());case"\u2028":case"\u2029":zn(v);break;case void 0:throw z(n())}A+=n()},start(){switch(v){case"{":case"[":return P("punctuator",n())}p="value"},beforePropertyName(){switch(v){case"$":case"_":A=n(),p="identifierName";return;case"\\":n(),p="identifierNameStartEscape";return;case"}":return P("punctuator",n());case'"':case"'":Ae=n()==='"',p="string";return}if(k.isIdStartChar(v)){A+=n(),p="identifierName";return}throw z(n())},afterPropertyName(){if(v===":")return P("punctuator",n());throw z(n())},beforePropertyValue(){p="value"},afterPropertyValue(){switch(v){case",":case"}":return P("punctuator",n())}throw z(n())},beforeArrayValue(){if(v==="]")return P("punctuator",n());p="value"},afterArrayValue(){switch(v){case",":case"]":return P("punctuator",n())}throw z(n())},end(){throw z(n())}};function P(e,r){return{type:e,value:r,line:G,column:H}}function oe(e){for(const r of e){if(
|
|
272
|
-
`;case"r":return n(),"\r";case"t":return n()," ";case"v":return n(),"\v";case"0":if(n(),k.isDigit(
|
|
273
|
-
`:case"\u2028":case"\u2029":return n(),"";case"\r":return n(),
|
|
274
|
-
`&&n(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw z(n());case void 0:throw z(n())}return n()}function Sn(){let e="",r=
|
|
270
|
+
`:case"\r":case"\u2028":case"\u2029":n(),p="default";return;case void 0:return n(),P("eof")}n()},value(){switch(v){case"{":case"[":return P("punctuator",n());case"n":return n(),oe("ull"),P("null",null);case"t":return n(),oe("rue"),P("boolean",!0);case"f":return n(),oe("alse"),P("boolean",!1);case"-":case"+":n()==="-"&&(K=-1),p="sign";return;case".":A=n(),p="decimalPointLeading";return;case"0":A=n(),p="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=n(),p="decimalInteger";return;case"I":return n(),oe("nfinity"),P("numeric",1/0);case"N":return n(),oe("aN"),P("numeric",NaN);case'"':case"'":Ae=n()==='"',A="",p="string";return}throw z(n())},identifierNameStartEscape(){if(v!=="u")throw z(n());n();const e=Ye();switch(e){case"$":case"_":break;default:if(!k.isIdStartChar(e))throw cu();break}A+=e,p="identifierName"},identifierName(){switch(v){case"$":case"_":case"":case"":A+=n();return;case"\\":n(),p="identifierNameEscape";return}if(k.isIdContinueChar(v)){A+=n();return}return P("identifier",A)},identifierNameEscape(){if(v!=="u")throw z(n());n();const e=Ye();switch(e){case"$":case"_":case"":case"":break;default:if(!k.isIdContinueChar(e))throw cu();break}A+=e,p="identifierName"},sign(){switch(v){case".":A=n(),p="decimalPointLeading";return;case"0":A=n(),p="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=n(),p="decimalInteger";return;case"I":return n(),oe("nfinity"),P("numeric",K*(1/0));case"N":return n(),oe("aN"),P("numeric",NaN)}throw z(n())},zero(){switch(v){case".":A+=n(),p="decimalPoint";return;case"e":case"E":A+=n(),p="decimalExponent";return;case"x":case"X":A+=n(),p="hexadecimal";return}return P("numeric",K*0)},decimalInteger(){switch(v){case".":A+=n(),p="decimalPoint";return;case"e":case"E":A+=n(),p="decimalExponent";return}if(k.isDigit(v)){A+=n();return}return P("numeric",K*Number(A))},decimalPointLeading(){if(k.isDigit(v)){A+=n(),p="decimalFraction";return}throw z(n())},decimalPoint(){switch(v){case"e":case"E":A+=n(),p="decimalExponent";return}if(k.isDigit(v)){A+=n(),p="decimalFraction";return}return P("numeric",K*Number(A))},decimalFraction(){switch(v){case"e":case"E":A+=n(),p="decimalExponent";return}if(k.isDigit(v)){A+=n();return}return P("numeric",K*Number(A))},decimalExponent(){switch(v){case"+":case"-":A+=n(),p="decimalExponentSign";return}if(k.isDigit(v)){A+=n(),p="decimalExponentInteger";return}throw z(n())},decimalExponentSign(){if(k.isDigit(v)){A+=n(),p="decimalExponentInteger";return}throw z(n())},decimalExponentInteger(){if(k.isDigit(v)){A+=n();return}return P("numeric",K*Number(A))},hexadecimal(){if(k.isHexDigit(v)){A+=n(),p="hexadecimalInteger";return}throw z(n())},hexadecimalInteger(){if(k.isHexDigit(v)){A+=n();return}return P("numeric",K*Number(A))},string(){switch(v){case"\\":n(),A+=xn();return;case'"':if(Ae)return n(),P("string",A);A+=n();return;case"'":if(!Ae)return n(),P("string",A);A+=n();return;case`
|
|
271
|
+
`:case"\r":throw z(n());case"\u2028":case"\u2029":zn(v);break;case void 0:throw z(n())}A+=n()},start(){switch(v){case"{":case"[":return P("punctuator",n())}p="value"},beforePropertyName(){switch(v){case"$":case"_":A=n(),p="identifierName";return;case"\\":n(),p="identifierNameStartEscape";return;case"}":return P("punctuator",n());case'"':case"'":Ae=n()==='"',p="string";return}if(k.isIdStartChar(v)){A+=n(),p="identifierName";return}throw z(n())},afterPropertyName(){if(v===":")return P("punctuator",n());throw z(n())},beforePropertyValue(){p="value"},afterPropertyValue(){switch(v){case",":case"}":return P("punctuator",n())}throw z(n())},beforeArrayValue(){if(v==="]")return P("punctuator",n());p="value"},afterArrayValue(){switch(v){case",":case"]":return P("punctuator",n())}throw z(n())},end(){throw z(n())}};function P(e,r){return{type:e,value:r,line:G,column:H}}function oe(e){for(const r of e){if(Z()!==r)throw z(n());n()}}function xn(){switch(Z()){case"b":return n(),"\b";case"f":return n(),"\f";case"n":return n(),`
|
|
272
|
+
`;case"r":return n(),"\r";case"t":return n()," ";case"v":return n(),"\v";case"0":if(n(),k.isDigit(Z()))throw z(n());return"\0";case"x":return n(),Sn();case"u":return n(),Ye();case`
|
|
273
|
+
`:case"\u2028":case"\u2029":return n(),"";case"\r":return n(),Z()===`
|
|
274
|
+
`&&n(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw z(n());case void 0:throw z(n())}return n()}function Sn(){let e="",r=Z();if(!k.isHexDigit(r)||(e+=n(),r=Z(),!k.isHexDigit(r)))throw z(n());return e+=n(),String.fromCodePoint(parseInt(e,16))}function Ye(){let e="",r=4;for(;r-- >0;){const t=Z();if(!k.isHexDigit(t))throw z(n());e+=n()}return String.fromCodePoint(parseInt(e,16))}const Pn={start(){if(R.type==="eof")throw ae();Ue()},beforePropertyName(){switch(R.type){case"identifier":case"string":Qe=R.value,V="afterPropertyName";return;case"punctuator":Pe();return;case"eof":throw ae()}},afterPropertyName(){if(R.type==="eof")throw ae();V="beforePropertyValue"},beforePropertyValue(){if(R.type==="eof")throw ae();Ue()},beforeArrayValue(){if(R.type==="eof")throw ae();if(R.type==="punctuator"&&R.value==="]"){Pe();return}Ue()},afterPropertyValue(){if(R.type==="eof")throw ae();switch(R.value){case",":V="beforePropertyName";return;case"}":Pe()}},afterArrayValue(){if(R.type==="eof")throw ae();switch(R.value){case",":V="beforeArrayValue";return;case"]":Pe()}},end(){}};function Ue(){let e;switch(R.type){case"punctuator":switch(R.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=R.value;break}if(Ee===void 0)Ee=e;else{const r=X[X.length-1];Array.isArray(r)?r.push(e):Object.defineProperty(r,Qe,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")X.push(e),Array.isArray(e)?V="beforeArrayValue":V="beforePropertyName";else{const r=X[X.length-1];r==null?V="end":Array.isArray(r)?V="afterArrayValue":V="afterPropertyValue"}}function Pe(){X.pop();const e=X[X.length-1];e==null?V="end":Array.isArray(e)?V="afterArrayValue":V="afterPropertyValue"}function z(e){return $e(e===void 0?`JSON5: invalid end of input at ${G}:${H}`:`JSON5: invalid character '${Bu(e)}' at ${G}:${H}`)}function ae(){return $e(`JSON5: invalid end of input at ${G}:${H}`)}function cu(){return H-=5,$e(`JSON5: invalid identifier character at ${G}:${H}`)}function zn(e){console.warn(`JSON5: '${Bu(e)}' in strings is not valid ECMAScript; consider escaping`)}function Bu(e){const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(r[e])return r[e];if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function $e(e){const r=new SyntaxError(e);return r.lineNumber=G,r.columnNumber=H,r}var Mn=function(r,t,a){const l=[];let i="",D,c,d="",C;if(t!=null&&typeof t=="object"&&!Array.isArray(t)&&(a=t.space,C=t.quote,t=t.replacer),typeof t=="function")c=t;else if(Array.isArray(t)){D=[];for(const m of t){let b;typeof m=="string"?b=m:(typeof m=="number"||m instanceof String||m instanceof Number)&&(b=String(m)),b!==void 0&&D.indexOf(b)<0&&D.push(b)}}return a instanceof Number?a=Number(a):a instanceof String&&(a=String(a)),typeof a=="number"?a>0&&(a=Math.min(10,Math.floor(a)),d=" ".substr(0,a)):typeof a=="string"&&(d=a.substr(0,10)),F("",{"":r});function F(m,b){let h=b[m];switch(h!=null&&(typeof h.toJSON5=="function"?h=h.toJSON5(m):typeof h.toJSON=="function"&&(h=h.toJSON(m))),c&&(h=c.call(b,m,h)),h instanceof Number?h=Number(h):h instanceof String?h=String(h):h instanceof Boolean&&(h=h.valueOf()),h){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof h=="string")return g(h);if(typeof h=="number")return String(h);if(typeof h=="object")return Array.isArray(h)?L(h):T(h)}function g(m){const b={"'":.1,'"':.2},h={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let B="";for(let w=0;w<m.length;w++){const S=m[w];switch(S){case"'":case'"':b[S]++,B+=S;continue;case"\0":if(k.isDigit(m[w+1])){B+="\\x00";continue}}if(h[S]){B+=h[S];continue}if(S<" "){let U=S.charCodeAt(0).toString(16);B+="\\x"+("00"+U).substring(U.length);continue}B+=S}const M=C||Object.keys(b).reduce((w,S)=>b[w]<b[S]?w:S);return B=B.replace(new RegExp(M,"g"),h[M]),M+B+M}function T(m){if(l.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");l.push(m);let b=i;i=i+d;let h=D||Object.keys(m),B=[];for(const w of h){const S=F(w,m);if(S!==void 0){let U=q(w)+":";d!==""&&(U+=" "),U+=S,B.push(U)}}let M;if(B.length===0)M="{}";else{let w;if(d==="")w=B.join(","),M="{"+w+"}";else{let S=`,
|
|
275
275
|
`+i;w=B.join(S),M=`{
|
|
276
276
|
`+i+w+`,
|
|
277
|
-
`+b+"}"}}return l.pop(),i=b,M}function
|
|
277
|
+
`+b+"}"}}return l.pop(),i=b,M}function q(m){if(m.length===0)return g(m);const b=String.fromCodePoint(m.codePointAt(0));if(!k.isIdStartChar(b))return g(m);for(let h=b.length;h<m.length;h++)if(!k.isIdContinueChar(String.fromCodePoint(m.codePointAt(h))))return g(m);return m}function L(m){if(l.indexOf(m)>=0)throw TypeError("Converting circular structure to JSON5");l.push(m);let b=i;i=i+d;let h=[];for(let M=0;M<m.length;M++){const w=F(String(M),m);h.push(w!==void 0?w:"null")}let B;if(h.length===0)B="[]";else if(d==="")B="["+h.join(",")+"]";else{let M=`,
|
|
278
278
|
`+i,w=h.join(M);B=`[
|
|
279
279
|
`+i+w+`,
|
|
280
|
-
`+b+"]"}return l.pop(),i=b,B}};const
|
|
281
|
-
//# sourceMappingURL=index-
|
|
280
|
+
`+b+"]"}return l.pop(),i=b,B}};const Tn={parse:yn,stringify:Mn};var Vn=Tn;function On(e){return mr()?(vr(e),!0):!1}function du(e){return typeof e=="function"?e():Ar(e)}const jn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Hn=e=>e!=null,$n=Object.prototype.toString,qn=e=>$n.call(e)==="[object Object]",Ge=()=>{};function bu(e,r){function t(...a){return new Promise((l,i)=>{Promise.resolve(e(()=>r.apply(this,a),{fn:r,thisArg:this,args:a})).then(l).catch(i)})}return t}const yu=e=>e();function _n(e,r={}){let t,a,l=Ge;const i=c=>{clearTimeout(c),l(),l=Ge};return c=>{const d=du(e),C=du(r.maxWait);return t&&i(t),d<=0||C!==void 0&&C<=0?(a&&(i(a),a=null),Promise.resolve(c())):new Promise((F,g)=>{l=r.rejectOnCancel?g:F,C&&!a&&(a=setTimeout(()=>{t&&i(t),a=null,F(c())},C)),t=setTimeout(()=>{a&&i(a),a=null,F(c())},d)})}}function kn(e=yu){const r=I(!0);function t(){r.value=!1}function a(){r.value=!0}const l=(...i)=>{r.value&&e(...i)};return{isActive:mu(r),pause:t,resume:a,eventFilter:l}}function wu(e){return pu()}function Un(...e){if(e.length!==1)return ze(...e);const r=e[0];return typeof r=="function"?mu(pr(()=>({get:r,set:Ge}))):I(r)}function In(e,r=200,t={}){return bu(_n(r,t),e)}function Jn(e,r=200,t={}){const a=I(e.value),l=In(()=>{a.value=e.value},r,t);return me(e,()=>l()),a}function Rn(e,r,t={}){const{eventFilter:a=yu,...l}=t;return me(e,bu(a,r),l)}function Kn(e,r,t={}){const{eventFilter:a,...l}=t,{eventFilter:i,pause:D,resume:c,isActive:d}=kn(a);return{stop:Rn(e,r,{...l,eventFilter:i}),pause:D,resume:c,isActive:d}}function Xn(e,r){wu()&&Er(e,r)}function Zn(e,r=!0,t){wu()?Au(e,t):r?e():Je(e)}export{on as C,Ln as N,Wn as _,tn as a,sn as b,du as c,Un as d,Xn as e,Br as f,jn as g,qn as h,dn as i,On as j,Hn as k,Vn as l,Ge as n,Jn as r,Zn as t,In as u,Kn as w};
|
|
281
|
+
//# sourceMappingURL=index-CfhlGl__.js.map
|