@gkd-kit/inspect 0.0.1708438877041 → 0.0.1708531886882
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/404.html +4 -4
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-EIoLCoQx.js +10 -0
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-EIoLCoQx.js.map +1 -0
- package/dist/assets/DevicePage-gRPAiopr.js +49 -0
- package/dist/assets/{DevicePage-5ORDd_iC.js.map → DevicePage-gRPAiopr.js.map} +1 -1
- package/dist/assets/HomePage--nbz-6RR.js +10 -0
- package/dist/assets/HomePage--nbz-6RR.js.map +1 -0
- package/dist/assets/ImportPage-hRTl6X1o.js +2 -0
- package/dist/assets/{ImportPage-OTlSmtHD.js.map → ImportPage-hRTl6X1o.js.map} +1 -1
- package/dist/assets/PreviewSharePage-fDUp6EkY.js +2 -0
- package/dist/assets/PreviewSharePage-fDUp6EkY.js.map +1 -0
- package/dist/assets/{SnapshotPage-asBpznqH.js → SnapshotPage-UiGXStrN.js} +11 -11
- package/dist/assets/SnapshotPage-UiGXStrN.js.map +1 -0
- package/dist/assets/_404Page-ZBcimwJ8.js +2 -0
- package/dist/assets/{_404Page-E_28aQLR.js.map → _404Page-ZBcimwJ8.js.map} +1 -1
- package/dist/assets/fetch-Ktxryej1.js +332 -0
- package/dist/assets/fetch-Ktxryej1.js.map +1 -0
- package/dist/assets/import-lKHRTPc2.js +2 -0
- package/dist/assets/{import-OrhGwZ2A.js.map → import-lKHRTPc2.js.map} +1 -1
- package/dist/assets/index-2qB1KYL_.js +481 -0
- package/dist/assets/index-2qB1KYL_.js.map +1 -0
- package/dist/assets/index-JTJ7QRy3.js +281 -0
- package/dist/assets/index-JTJ7QRy3.js.map +1 -0
- package/dist/assets/index-OeHJxffM.css +1 -0
- package/dist/assets/{jszip.min-FSOFxs7Q.js → jszip.min-wHcj-zq9.js} +2 -2
- package/dist/assets/{jszip.min-FSOFxs7Q.js.map → jszip.min-wHcj-zq9.js.map} +1 -1
- package/dist/assets/node-eyIH0lwl.js +466 -0
- package/dist/assets/node-eyIH0lwl.js.map +1 -0
- package/dist/assets/{polyfills--bbXeJl6.js → polyfills-4ameGDja.js} +1 -1
- package/dist/assets/selector-wm3fOFdO.js +4 -0
- package/dist/assets/selector-wm3fOFdO.js.map +1 -0
- package/dist/assets/storage-FvLsA3bx.js +7 -0
- package/dist/assets/storage-FvLsA3bx.js.map +1 -0
- package/dist/assets/{table-oFGHIw-x.js → table-mgpVKMUi.js} +11 -11
- package/dist/assets/{table-oFGHIw-x.js.map → table-mgpVKMUi.js.map} +1 -1
- package/dist/index.html +4 -4
- package/package.json +1 -1
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-8YK-E48E.js +0 -10
- package/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-8YK-E48E.js.map +0 -1
- package/dist/assets/DevicePage-5ORDd_iC.js +0 -49
- package/dist/assets/HomePage-sRH3MoKB.js +0 -10
- package/dist/assets/HomePage-sRH3MoKB.js.map +0 -1
- package/dist/assets/ImportPage-OTlSmtHD.js +0 -2
- package/dist/assets/SnapshotPage-asBpznqH.js.map +0 -1
- package/dist/assets/_404Page-E_28aQLR.js +0 -2
- package/dist/assets/import-OrhGwZ2A.js +0 -2
- package/dist/assets/index-DmMZH0yh.js +0 -481
- package/dist/assets/index-DmMZH0yh.js.map +0 -1
- package/dist/assets/index-JOZxsyd5.css +0 -1
- package/dist/assets/index-sMQg_EeW.js +0 -17
- package/dist/assets/index-sMQg_EeW.js.map +0 -1
- package/dist/assets/node-24aK3gnl.js +0 -732
- package/dist/assets/node-24aK3gnl.js.map +0 -1
- package/dist/assets/storage-4CXZlYcJ.js +0 -337
- package/dist/assets/storage-4CXZlYcJ.js.map +0 -1
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import{k as Pe,j as V,bN as Ve,bO as fe,bP as Ht,bQ as Fe,W as cu,bz as Ut,d as Q,q as l,bR as qt,v as k,y as R,A as p,ae as Jt,C as du,P as qe,a7 as Kt,ag as Ee,Z as ze,a8 as Xt,H as Cu,a3 as Oe,L as Zt,I as N,Y as Yt,z as j,x as he,B as fu,J as Te,bS as Gt,aN as Qt,V as ru,ab as er,a$ as ur,w as nu,D as tr,G as rr,K as Fu,aG as we,aH as nr,F as or,aZ as ar,aj as ou,aB as au,M as L,a6 as je,af as ir,az as iu,aW as lr,aU as sr}from"./index-2qB1KYL_.js";const Dr=/^(\d|\.)+$/,lu=/(\d|\.)+/;function cr(e,{c:o=1,offset:n=0,attachPx:i=!0}={}){if(typeof e=="number"){const s=(e+n)*o;return s===0?"0":`${s}px`}else if(typeof e=="string")if(Dr.test(e)){const s=(Number(e)+n)*o;return i?s===0?"0":`${s}px`:`${s}`}else{const s=lu.exec(e);return s?e.replace(lu,String((Number(s[0])+n)*o)):e}return e}function dr(e,o){return Pe(e,n=>{n!==void 0&&(o.value=n)}),V(()=>e.value===void 0?o.value:e.value)}const Cr={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:"yyyy-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"}},fr=Cr;var Fr={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"}},hr=function(o,n,i){var s,a=Fr[o];return typeof a=="string"?s=a:n===1?s=a.one:s=a.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+s:s+" ago":s};const Ar=hr;var Er={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pr={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vr={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mr={date:Ve({formats:Er,defaultWidth:"full"}),time:Ve({formats:pr,defaultWidth:"full"}),dateTime:Ve({formats:vr,defaultWidth:"full"})};const gr=mr;var Br={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},br=function(o,n,i,s){return Br[o]};const yr=br;var wr={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Sr={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"]},Pr={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"]},zr={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"}},$r={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"}},Mr=function(o,n){var i=Number(o),s=i%100;if(s>20||s<10)switch(s%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},Tr={ordinalNumber:Mr,era:fe({values:wr,defaultWidth:"wide"}),quarter:fe({values:xr,defaultWidth:"wide",argumentCallback:function(o){return o-1}}),month:fe({values:Sr,defaultWidth:"wide"}),day:fe({values:Pr,defaultWidth:"wide"}),dayPeriod:fe({values:zr,defaultWidth:"wide",formattingValues:$r,defaultFormattingWidth:"wide"})};const kr=Tr;var _r=/^(\d+)(th|st|nd|rd)?/i,Ir=/\d+/i,Nr={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},Rr={any:[/^b/i,/^(a|c)/i]},Lr={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Wr={any:[/1/i,/2/i,/3/i,/4/i]},Vr={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},Or={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]},jr={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},Hr={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]},Ur={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},qr={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}},Jr={ordinalNumber:Ht({matchPattern:_r,parsePattern:Ir,valueCallback:function(o){return parseInt(o,10)}}),era:Fe({matchPatterns:Nr,defaultMatchWidth:"wide",parsePatterns:Rr,defaultParseWidth:"any"}),quarter:Fe({matchPatterns:Lr,defaultMatchWidth:"wide",parsePatterns:Wr,defaultParseWidth:"any",valueCallback:function(o){return o+1}}),month:Fe({matchPatterns:Vr,defaultMatchWidth:"wide",parsePatterns:Or,defaultParseWidth:"any"}),day:Fe({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Hr,defaultParseWidth:"any"}),dayPeriod:Fe({matchPatterns:Ur,defaultMatchWidth:"any",parsePatterns:qr,defaultParseWidth:"any"})};const Kr=Jr;var Xr={code:"en-US",formatDistance:Ar,formatLong:gr,formatRelative:yr,localize:kr,match:Kr,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Zr=Xr,Yr={name:"en-US",locale:Zr},Gr=Yr;function Qr(e){const{mergedLocaleRef:o,mergedDateLocaleRef:n}=cu(Ut,null)||{},i=V(()=>{var a,D;return(D=(a=o==null?void 0:o.value)===null||a===void 0?void 0:a[e])!==null&&D!==void 0?D:fr[e]});return{dateLocaleRef:V(()=>{var a;return(a=n==null?void 0:n.value)!==null&&a!==void 0?a:Gr}),localeRef:i}}const en=Q({name:"Eye",render(){return l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},l("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"}),l("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),un=Q({name:"EyeOff",render(){return l("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},l("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"}),l("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"}),l("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"}),l("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"}),l("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"}))}}),tn=Q({name:"ChevronDown",render(){return l("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l("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"}))}}),rn=qt("clear",l("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},l("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},l("g",{fill:"currentColor","fill-rule":"nonzero"},l("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"}))))),nn=k("base-clear",`
|
|
2
|
+
flex-shrink: 0;
|
|
3
|
+
height: 1em;
|
|
4
|
+
width: 1em;
|
|
5
|
+
position: relative;
|
|
6
|
+
`,[R(">",[p("clear",`
|
|
7
|
+
font-size: var(--n-clear-size);
|
|
8
|
+
height: 1em;
|
|
9
|
+
width: 1em;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
color: var(--n-clear-color);
|
|
12
|
+
transition: color .3s var(--n-bezier);
|
|
13
|
+
display: flex;
|
|
14
|
+
`,[R("&:hover",`
|
|
15
|
+
color: var(--n-clear-color-hover)!important;
|
|
16
|
+
`),R("&:active",`
|
|
17
|
+
color: var(--n-clear-color-pressed)!important;
|
|
18
|
+
`)]),p("placeholder",`
|
|
19
|
+
display: flex;
|
|
20
|
+
`),p("clear, placeholder",`
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 50%;
|
|
23
|
+
top: 50%;
|
|
24
|
+
transform: translateX(-50%) translateY(-50%);
|
|
25
|
+
`,[Jt({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Je=Q({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return du("-base-clear",nn,qe(e,"clsPrefix")),{handleMouseDown(o){o.preventDefault()}}},render(){const{clsPrefix:e}=this;return l("div",{class:`${e}-base-clear`},l(Kt,null,{default:()=>{var o,n;return this.show?l("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},Ee(this.$slots.icon,()=>[l(ze,{clsPrefix:e},{default:()=>l(rn,null)})])):l("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(o=this.$slots).placeholder)===null||n===void 0?void 0:n.call(o))}}))}}),on=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:o}){return()=>{const{clsPrefix:n}=e;return l(Xt,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?l(Je,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>l(ze,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>Ee(o.default,()=>[l(tn,null)])})}):null})}}}),an={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},ln=e=>{const{textColor2:o,textColor3:n,textColorDisabled:i,primaryColor:s,primaryColorHover:a,inputColor:D,inputColorDisabled:f,borderColor:d,warningColor:h,warningColorHover:F,errorColor:g,errorColorHover:M,borderRadius:U,lineHeight:W,fontSizeTiny:v,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:B,heightTiny:$,heightSmall:w,heightMedium:S,heightLarge:q,actionColor:Y,clearColor:ee,clearColorHover:J,clearColorPressed:ue,placeholderColor:le,placeholderColorDisabled:se,iconColor:ke,iconColorDisabled:_e,iconColorHover:De,iconColorPressed:Ie}=e;return Object.assign(Object.assign({},an),{countTextColorDisabled:i,countTextColor:n,heightTiny:$,heightSmall:w,heightMedium:S,heightLarge:q,fontSizeTiny:v,fontSizeSmall:b,fontSizeMedium:C,fontSizeLarge:B,lineHeight:W,lineHeightTextarea:W,borderRadius:U,iconSize:"16px",groupLabelColor:Y,groupLabelTextColor:o,textColor:o,textColorDisabled:i,textDecorationColor:o,caretColor:s,placeholderColor:le,placeholderColorDisabled:se,color:D,colorDisabled:f,colorFocus:D,groupLabelBorder:`1px solid ${d}`,border:`1px solid ${d}`,borderHover:`1px solid ${a}`,borderDisabled:`1px solid ${d}`,borderFocus:`1px solid ${a}`,boxShadowFocus:`0 0 0 2px ${Oe(s,{alpha:.2})}`,loadingColor:s,loadingColorWarning:h,borderWarning:`1px solid ${h}`,borderHoverWarning:`1px solid ${F}`,colorFocusWarning:D,borderFocusWarning:`1px solid ${F}`,boxShadowFocusWarning:`0 0 0 2px ${Oe(h,{alpha:.2})}`,caretColorWarning:h,loadingColorError:g,borderError:`1px solid ${g}`,borderHoverError:`1px solid ${M}`,colorFocusError:D,borderFocusError:`1px solid ${M}`,boxShadowFocusError:`0 0 0 2px ${Oe(g,{alpha:.2})}`,caretColorError:g,clearColor:ee,clearColorHover:J,clearColorPressed:ue,iconColor:ke,iconColorDisabled:_e,iconColorHover:De,iconColorPressed:Ie,suffixTextColor:o})},sn={name:"Input",common:Cu,self:ln},Dn=sn,hu=Zt("n-input");function cn(e){let o=0;for(const n of e)o++;return o}function xe(e){return e===""||e==null}function dn(e){const o=N(null);function n(){const{value:a}=e;if(!(a!=null&&a.focus)){s();return}const{selectionStart:D,selectionEnd:f,value:d}=a;if(D==null||f==null){s();return}o.value={start:D,end:f,beforeText:d.slice(0,D),afterText:d.slice(f)}}function i(){var a;const{value:D}=o,{value:f}=e;if(!D||!f)return;const{value:d}=f,{start:h,beforeText:F,afterText:g}=D;let M=d.length;if(d.endsWith(g))M=d.length-g.length;else if(d.startsWith(F))M=F.length;else{const U=F[h-1],W=d.indexOf(U,h-1);W!==-1&&(M=W+1)}(a=f.setSelectionRange)===null||a===void 0||a.call(f,M,M)}function s(){o.value=null}return Pe(e,s),{recordCursor:n,restoreCursor:i}}const su=Q({name:"InputWordCount",setup(e,{slots:o}){const{mergedValueRef:n,maxlengthRef:i,mergedClsPrefixRef:s,countGraphemesRef:a}=cu(hu),D=V(()=>{const{value:f}=n;return f===null||Array.isArray(f)?0:(a.value||cn)(f)});return()=>{const{value:f}=i,{value:d}=n;return l("span",{class:`${s.value}-input-word-count`},Yt(o.default,{value:d===null||Array.isArray(d)?"":d},()=>[f===void 0?D.value:`${D.value} / ${f}`]))}}}),Cn=k("input",`
|
|
26
|
+
max-width: 100%;
|
|
27
|
+
cursor: text;
|
|
28
|
+
line-height: 1.5;
|
|
29
|
+
z-index: auto;
|
|
30
|
+
outline: none;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
position: relative;
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
border-radius: var(--n-border-radius);
|
|
35
|
+
background-color: var(--n-color);
|
|
36
|
+
transition: background-color .3s var(--n-bezier);
|
|
37
|
+
font-size: var(--n-font-size);
|
|
38
|
+
--n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
|
|
39
|
+
`,[p("input, textarea",`
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
position: relative;
|
|
43
|
+
`),p("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",`
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
font-size: inherit;
|
|
46
|
+
line-height: 1.5;
|
|
47
|
+
font-family: inherit;
|
|
48
|
+
border: none;
|
|
49
|
+
outline: none;
|
|
50
|
+
background-color: #0000;
|
|
51
|
+
text-align: inherit;
|
|
52
|
+
transition:
|
|
53
|
+
-webkit-text-fill-color .3s var(--n-bezier),
|
|
54
|
+
caret-color .3s var(--n-bezier),
|
|
55
|
+
color .3s var(--n-bezier),
|
|
56
|
+
text-decoration-color .3s var(--n-bezier);
|
|
57
|
+
`),p("input-el, textarea-el",`
|
|
58
|
+
-webkit-appearance: none;
|
|
59
|
+
scrollbar-width: none;
|
|
60
|
+
width: 100%;
|
|
61
|
+
min-width: 0;
|
|
62
|
+
text-decoration-color: var(--n-text-decoration-color);
|
|
63
|
+
color: var(--n-text-color);
|
|
64
|
+
caret-color: var(--n-caret-color);
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
`,[R("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
|
67
|
+
width: 0;
|
|
68
|
+
height: 0;
|
|
69
|
+
display: none;
|
|
70
|
+
`),R("&::placeholder",`
|
|
71
|
+
color: #0000;
|
|
72
|
+
-webkit-text-fill-color: transparent !important;
|
|
73
|
+
`),R("&:-webkit-autofill ~",[p("placeholder","display: none;")])]),j("round",[he("textarea","border-radius: calc(var(--n-height) / 2);")]),p("placeholder",`
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
position: absolute;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
top: 0;
|
|
79
|
+
bottom: 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
color: var(--n-placeholder-color);
|
|
82
|
+
`,[R("span",`
|
|
83
|
+
width: 100%;
|
|
84
|
+
display: inline-block;
|
|
85
|
+
`)]),j("textarea",[p("placeholder","overflow: visible;")]),he("autosize","width: 100%;"),j("autosize",[p("textarea-el, input-el",`
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 0;
|
|
88
|
+
left: 0;
|
|
89
|
+
height: 100%;
|
|
90
|
+
`)]),k("input-wrapper",`
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
flex-grow: 1;
|
|
94
|
+
position: relative;
|
|
95
|
+
padding-left: var(--n-padding-left);
|
|
96
|
+
padding-right: var(--n-padding-right);
|
|
97
|
+
`),p("input-mirror",`
|
|
98
|
+
padding: 0;
|
|
99
|
+
height: var(--n-height);
|
|
100
|
+
line-height: var(--n-height);
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
visibility: hidden;
|
|
103
|
+
position: static;
|
|
104
|
+
white-space: pre;
|
|
105
|
+
pointer-events: none;
|
|
106
|
+
`),p("input-el",`
|
|
107
|
+
padding: 0;
|
|
108
|
+
height: var(--n-height);
|
|
109
|
+
line-height: var(--n-height);
|
|
110
|
+
`,[R("&[type=password]::-ms-reveal","display: none;"),R("+",[p("placeholder",`
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
`)])]),he("textarea",[p("placeholder","white-space: nowrap;")]),p("eye",`
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
transition: color .3s var(--n-bezier);
|
|
118
|
+
`),j("textarea","width: 100%;",[k("input-word-count",`
|
|
119
|
+
position: absolute;
|
|
120
|
+
right: var(--n-padding-right);
|
|
121
|
+
bottom: var(--n-padding-vertical);
|
|
122
|
+
`),j("resizable",[k("input-wrapper",`
|
|
123
|
+
resize: vertical;
|
|
124
|
+
min-height: var(--n-height);
|
|
125
|
+
`)]),p("textarea-el, textarea-mirror, placeholder",`
|
|
126
|
+
height: 100%;
|
|
127
|
+
padding-left: 0;
|
|
128
|
+
padding-right: 0;
|
|
129
|
+
padding-top: var(--n-padding-vertical);
|
|
130
|
+
padding-bottom: var(--n-padding-vertical);
|
|
131
|
+
word-break: break-word;
|
|
132
|
+
display: inline-block;
|
|
133
|
+
vertical-align: bottom;
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
line-height: var(--n-line-height-textarea);
|
|
136
|
+
margin: 0;
|
|
137
|
+
resize: none;
|
|
138
|
+
white-space: pre-wrap;
|
|
139
|
+
scroll-padding-block-end: var(--n-padding-vertical);
|
|
140
|
+
`),p("textarea-mirror",`
|
|
141
|
+
width: 100%;
|
|
142
|
+
pointer-events: none;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
visibility: hidden;
|
|
145
|
+
position: static;
|
|
146
|
+
white-space: pre-wrap;
|
|
147
|
+
overflow-wrap: break-word;
|
|
148
|
+
`)]),j("pair",[p("input-el, placeholder","text-align: center;"),p("separator",`
|
|
149
|
+
display: flex;
|
|
150
|
+
align-items: center;
|
|
151
|
+
transition: color .3s var(--n-bezier);
|
|
152
|
+
color: var(--n-text-color);
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
`,[k("icon",`
|
|
155
|
+
color: var(--n-icon-color);
|
|
156
|
+
`),k("base-icon",`
|
|
157
|
+
color: var(--n-icon-color);
|
|
158
|
+
`)])]),j("disabled",`
|
|
159
|
+
cursor: not-allowed;
|
|
160
|
+
background-color: var(--n-color-disabled);
|
|
161
|
+
`,[p("border","border: var(--n-border-disabled);"),p("input-el, textarea-el",`
|
|
162
|
+
cursor: not-allowed;
|
|
163
|
+
color: var(--n-text-color-disabled);
|
|
164
|
+
text-decoration-color: var(--n-text-color-disabled);
|
|
165
|
+
`),p("placeholder","color: var(--n-placeholder-color-disabled);"),p("separator","color: var(--n-text-color-disabled);",[k("icon",`
|
|
166
|
+
color: var(--n-icon-color-disabled);
|
|
167
|
+
`),k("base-icon",`
|
|
168
|
+
color: var(--n-icon-color-disabled);
|
|
169
|
+
`)]),k("input-word-count",`
|
|
170
|
+
color: var(--n-count-text-color-disabled);
|
|
171
|
+
`),p("suffix, prefix","color: var(--n-text-color-disabled);",[k("icon",`
|
|
172
|
+
color: var(--n-icon-color-disabled);
|
|
173
|
+
`),k("internal-icon",`
|
|
174
|
+
color: var(--n-icon-color-disabled);
|
|
175
|
+
`)])]),he("disabled",[p("eye",`
|
|
176
|
+
color: var(--n-icon-color);
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
`,[R("&:hover",`
|
|
179
|
+
color: var(--n-icon-color-hover);
|
|
180
|
+
`),R("&:active",`
|
|
181
|
+
color: var(--n-icon-color-pressed);
|
|
182
|
+
`)]),R("&:hover",[p("state-border","border: var(--n-border-hover);")]),j("focus","background-color: var(--n-color-focus);",[p("state-border",`
|
|
183
|
+
border: var(--n-border-focus);
|
|
184
|
+
box-shadow: var(--n-box-shadow-focus);
|
|
185
|
+
`)])]),p("border, state-border",`
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
position: absolute;
|
|
188
|
+
left: 0;
|
|
189
|
+
right: 0;
|
|
190
|
+
top: 0;
|
|
191
|
+
bottom: 0;
|
|
192
|
+
pointer-events: none;
|
|
193
|
+
border-radius: inherit;
|
|
194
|
+
border: var(--n-border);
|
|
195
|
+
transition:
|
|
196
|
+
box-shadow .3s var(--n-bezier),
|
|
197
|
+
border-color .3s var(--n-bezier);
|
|
198
|
+
`),p("state-border",`
|
|
199
|
+
border-color: #0000;
|
|
200
|
+
z-index: 1;
|
|
201
|
+
`),p("prefix","margin-right: 4px;"),p("suffix",`
|
|
202
|
+
margin-left: 4px;
|
|
203
|
+
`),p("suffix, prefix",`
|
|
204
|
+
transition: color .3s var(--n-bezier);
|
|
205
|
+
flex-wrap: nowrap;
|
|
206
|
+
flex-shrink: 0;
|
|
207
|
+
line-height: var(--n-height);
|
|
208
|
+
white-space: nowrap;
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
color: var(--n-suffix-text-color);
|
|
213
|
+
`,[k("base-loading",`
|
|
214
|
+
font-size: var(--n-icon-size);
|
|
215
|
+
margin: 0 2px;
|
|
216
|
+
color: var(--n-loading-color);
|
|
217
|
+
`),k("base-clear",`
|
|
218
|
+
font-size: var(--n-icon-size);
|
|
219
|
+
`,[p("placeholder",[k("base-icon",`
|
|
220
|
+
transition: color .3s var(--n-bezier);
|
|
221
|
+
color: var(--n-icon-color);
|
|
222
|
+
font-size: var(--n-icon-size);
|
|
223
|
+
`)])]),R(">",[k("icon",`
|
|
224
|
+
transition: color .3s var(--n-bezier);
|
|
225
|
+
color: var(--n-icon-color);
|
|
226
|
+
font-size: var(--n-icon-size);
|
|
227
|
+
`)]),k("base-icon",`
|
|
228
|
+
font-size: var(--n-icon-size);
|
|
229
|
+
`)]),k("input-word-count",`
|
|
230
|
+
pointer-events: none;
|
|
231
|
+
line-height: 1.5;
|
|
232
|
+
font-size: .85em;
|
|
233
|
+
color: var(--n-count-text-color);
|
|
234
|
+
transition: color .3s var(--n-bezier);
|
|
235
|
+
margin-left: 4px;
|
|
236
|
+
font-variant: tabular-nums;
|
|
237
|
+
`),["warning","error"].map(e=>j(`${e}-status`,[he("disabled",[k("base-loading",`
|
|
238
|
+
color: var(--n-loading-color-${e})
|
|
239
|
+
`),p("input-el, textarea-el",`
|
|
240
|
+
caret-color: var(--n-caret-color-${e});
|
|
241
|
+
`),p("state-border",`
|
|
242
|
+
border: var(--n-border-${e});
|
|
243
|
+
`),R("&:hover",[p("state-border",`
|
|
244
|
+
border: var(--n-border-hover-${e});
|
|
245
|
+
`)]),R("&:focus",`
|
|
246
|
+
background-color: var(--n-color-focus-${e});
|
|
247
|
+
`,[p("state-border",`
|
|
248
|
+
box-shadow: var(--n-box-shadow-focus-${e});
|
|
249
|
+
border: var(--n-border-focus-${e});
|
|
250
|
+
`)]),j("focus",`
|
|
251
|
+
background-color: var(--n-color-focus-${e});
|
|
252
|
+
`,[p("state-border",`
|
|
253
|
+
box-shadow: var(--n-box-shadow-focus-${e});
|
|
254
|
+
border: var(--n-border-focus-${e});
|
|
255
|
+
`)])])]))]),fn=k("input",[j("disabled",[p("input-el, textarea-el",`
|
|
256
|
+
-webkit-text-fill-color: var(--n-text-color-disabled);
|
|
257
|
+
`)])]),Fn=Object.assign(Object.assign({},Te.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}),Tn=Q({name:"Input",props:Fn,setup(e){const{mergedClsPrefixRef:o,mergedBorderedRef:n,inlineThemeDisabled:i,mergedRtlRef:s}=fu(e),a=Te("Input","-input",Cn,Dn,e,o);Gt&&du("-input-safari",fn,o);const D=N(null),f=N(null),d=N(null),h=N(null),F=N(null),g=N(null),M=N(null),U=dn(M),W=N(null),{localeRef:v}=Qr("Input"),b=N(e.defaultValue),C=qe(e,"value"),B=dr(C,b),$=Qt(e),{mergedSizeRef:w,mergedDisabledRef:S,mergedStatusRef:q}=$,Y=N(!1),ee=N(!1),J=N(!1),ue=N(!1);let le=null;const se=V(()=>{const{placeholder:u,pair:r}=e;return r?Array.isArray(u)?u:u===void 0?["",""]:[u,u]:u===void 0?[v.value.placeholder]:[u]}),ke=V(()=>{const{value:u}=J,{value:r}=B,{value:c}=se;return!u&&(xe(r)||Array.isArray(r)&&xe(r[0]))&&c[0]}),_e=V(()=>{const{value:u}=J,{value:r}=B,{value:c}=se;return!u&&c[1]&&(xe(r)||Array.isArray(r)&&xe(r[1]))}),De=ru(()=>e.internalForceFocus||Y.value),Ie=ru(()=>{if(S.value||e.readonly||!e.clearable||!De.value&&!ee.value)return!1;const{value:u}=B,{value:r}=De;return e.pair?!!(Array.isArray(u)&&(u[0]||u[1]))&&(ee.value||r):!!u&&(ee.value||r)}),Ne=V(()=>{const{showPasswordOn:u}=e;if(u)return u;if(e.showPasswordToggle)return"click"}),ce=N(!1),pu=V(()=>{const{textDecoration:u}=e;return u?Array.isArray(u)?u.map(r=>({textDecoration:r})):[{textDecoration:u}]:["",""]}),Ge=N(void 0),vu=()=>{var u,r;if(e.type==="textarea"){const{autosize:c}=e;if(c&&(Ge.value=(r=(u=W.value)===null||u===void 0?void 0:u.$el)===null||r===void 0?void 0:r.offsetWidth),!f.value||typeof c=="boolean")return;const{paddingTop:x,paddingBottom:T,lineHeight:y}=window.getComputedStyle(f.value),te=Number(x.slice(0,-2)),re=Number(T.slice(0,-2)),ne=Number(y.slice(0,-2)),{value:de}=d;if(!de)return;if(c.minRows){const Ce=Math.max(c.minRows,1),We=`${te+re+ne*Ce}px`;de.style.minHeight=We}if(c.maxRows){const Ce=`${te+re+ne*c.maxRows}px`;de.style.maxHeight=Ce}}},mu=V(()=>{const{maxlength:u}=e;return u===void 0?void 0:Number(u)});er(()=>{const{value:u}=B;Array.isArray(u)||Le(u)});const gu=ur().proxy;function ve(u,r){const{onUpdateValue:c,"onUpdate:value":x,onInput:T}=e,{nTriggerFormInput:y}=$;c&&L(c,u,r),x&&L(x,u,r),T&&L(T,u,r),b.value=u,y()}function me(u,r){const{onChange:c}=e,{nTriggerFormChange:x}=$;c&&L(c,u,r),b.value=u,x()}function Bu(u){const{onBlur:r}=e,{nTriggerFormBlur:c}=$;r&&L(r,u),c()}function bu(u){const{onFocus:r}=e,{nTriggerFormFocus:c}=$;r&&L(r,u),c()}function yu(u){const{onClear:r}=e;r&&L(r,u)}function wu(u){const{onInputBlur:r}=e;r&&L(r,u)}function xu(u){const{onInputFocus:r}=e;r&&L(r,u)}function Su(){const{onDeactivate:u}=e;u&&L(u)}function Pu(){const{onActivate:u}=e;u&&L(u)}function zu(u){const{onClick:r}=e;r&&L(r,u)}function $u(u){const{onWrapperFocus:r}=e;r&&L(r,u)}function Mu(u){const{onWrapperBlur:r}=e;r&&L(r,u)}function Tu(){J.value=!0}function ku(u){J.value=!1,u.target===g.value?ge(u,1):ge(u,0)}function ge(u,r=0,c="input"){const x=u.target.value;if(Le(x),u instanceof InputEvent&&!u.isComposing&&(J.value=!1),e.type==="textarea"){const{value:y}=W;y&&y.syncUnifiedContainer()}if(le=x,J.value)return;U.recordCursor();const T=_u(x);if(T)if(!e.pair)c==="input"?ve(x,{source:r}):me(x,{source:r});else{let{value:y}=B;Array.isArray(y)?y=[y[0],y[1]]:y=["",""],y[r]=x,c==="input"?ve(y,{source:r}):me(y,{source:r})}gu.$forceUpdate(),T||ou(U.restoreCursor)}function _u(u){const{countGraphemes:r,maxlength:c,minlength:x}=e;if(r){let y;if(c!==void 0&&(y===void 0&&(y=r(u)),y>Number(c))||x!==void 0&&(y===void 0&&(y=r(u)),y<Number(c)))return!1}const{allowInput:T}=e;return typeof T=="function"?T(u):!0}function Iu(u){wu(u),u.relatedTarget===D.value&&Su(),u.relatedTarget!==null&&(u.relatedTarget===F.value||u.relatedTarget===g.value||u.relatedTarget===f.value)||(ue.value=!1),Be(u,"blur"),M.value=null}function Nu(u,r){xu(u),Y.value=!0,ue.value=!0,Pu(),Be(u,"focus"),r===0?M.value=F.value:r===1?M.value=g.value:r===2&&(M.value=f.value)}function Ru(u){e.passivelyActivated&&(Mu(u),Be(u,"blur"))}function Lu(u){e.passivelyActivated&&(Y.value=!0,$u(u),Be(u,"focus"))}function Be(u,r){u.relatedTarget!==null&&(u.relatedTarget===F.value||u.relatedTarget===g.value||u.relatedTarget===f.value||u.relatedTarget===D.value)||(r==="focus"?(bu(u),Y.value=!0):r==="blur"&&(Bu(u),Y.value=!1))}function Wu(u,r){ge(u,r,"change")}function Vu(u){zu(u)}function Ou(u){yu(u),Qe()}function Qe(){e.pair?(ve(["",""],{source:"clear"}),me(["",""],{source:"clear"})):(ve("",{source:"clear"}),me("",{source:"clear"}))}function ju(u){const{onMousedown:r}=e;r&&r(u);const{tagName:c}=u.target;if(c!=="INPUT"&&c!=="TEXTAREA"){if(e.resizable){const{value:x}=D;if(x){const{left:T,top:y,width:te,height:re}=x.getBoundingClientRect(),ne=14;if(T+te-ne<u.clientX&&u.clientX<T+te&&y+re-ne<u.clientY&&u.clientY<y+re)return}}u.preventDefault(),Y.value||eu()}}function Hu(){var u;ee.value=!0,e.type==="textarea"&&((u=W.value)===null||u===void 0||u.handleMouseEnterWrapper())}function Uu(){var u;ee.value=!1,e.type==="textarea"&&((u=W.value)===null||u===void 0||u.handleMouseLeaveWrapper())}function qu(){S.value||Ne.value==="click"&&(ce.value=!ce.value)}function Ju(u){if(S.value)return;u.preventDefault();const r=x=>{x.preventDefault(),iu("mouseup",document,r)};if(au("mouseup",document,r),Ne.value!=="mousedown")return;ce.value=!0;const c=()=>{ce.value=!1,iu("mouseup",document,c)};au("mouseup",document,c)}function Ku(u){e.onKeyup&&L(e.onKeyup,u)}function Xu(u){switch(e.onKeydown&&L(e.onKeydown,u),u.key){case"Escape":Re();break;case"Enter":Zu(u);break}}function Zu(u){var r,c;if(e.passivelyActivated){const{value:x}=ue;if(x){e.internalDeactivateOnEnter&&Re();return}u.preventDefault(),e.type==="textarea"?(r=f.value)===null||r===void 0||r.focus():(c=F.value)===null||c===void 0||c.focus()}}function Re(){e.passivelyActivated&&(ue.value=!1,ou(()=>{var u;(u=D.value)===null||u===void 0||u.focus()}))}function eu(){var u,r,c;S.value||(e.passivelyActivated?(u=D.value)===null||u===void 0||u.focus():((r=f.value)===null||r===void 0||r.focus(),(c=F.value)===null||c===void 0||c.focus()))}function Yu(){var u;!((u=D.value)===null||u===void 0)&&u.contains(document.activeElement)&&document.activeElement.blur()}function Gu(){var u,r;(u=f.value)===null||u===void 0||u.select(),(r=F.value)===null||r===void 0||r.select()}function Qu(){S.value||(f.value?f.value.focus():F.value&&F.value.focus())}function et(){const{value:u}=D;u!=null&&u.contains(document.activeElement)&&u!==document.activeElement&&Re()}function ut(u){if(e.type==="textarea"){const{value:r}=f;r==null||r.scrollTo(u)}else{const{value:r}=F;r==null||r.scrollTo(u)}}function Le(u){const{type:r,pair:c,autosize:x}=e;if(!c&&x)if(r==="textarea"){const{value:T}=d;T&&(T.textContent=(u!=null?u:"")+`\r
|
|
258
|
+
`)}else{const{value:T}=h;T&&(u?T.textContent=u:T.innerHTML=" ")}}function tt(){vu()}const uu=N({top:"0"});function rt(u){var r;const{scrollTop:c}=u.target;uu.value.top=`${-c}px`,(r=W.value)===null||r===void 0||r.syncUnifiedContainer()}let be=null;nu(()=>{const{autosize:u,type:r}=e;u&&r==="textarea"?be=Pe(B,c=>{!Array.isArray(c)&&c!==le&&Le(c)}):be==null||be()});let ye=null;nu(()=>{e.type==="textarea"?ye=Pe(B,u=>{var r;!Array.isArray(u)&&u!==le&&((r=W.value)===null||r===void 0||r.syncUnifiedContainer())}):ye==null||ye()}),tr(hu,{mergedValueRef:B,maxlengthRef:mu,mergedClsPrefixRef:o,countGraphemesRef:qe(e,"countGraphemes")});const nt={wrapperElRef:D,inputElRef:F,textareaElRef:f,isCompositing:J,clear:Qe,focus:eu,blur:Yu,select:Gu,deactivate:et,activate:Qu,scrollTo:ut},ot=rr("Input",s,o),tu=V(()=>{const{value:u}=w,{common:{cubicBezierEaseInOut:r},self:{color:c,borderRadius:x,textColor:T,caretColor:y,caretColorError:te,caretColorWarning:re,textDecorationColor:ne,border:de,borderDisabled:Ce,borderHover:We,borderFocus:at,placeholderColor:it,placeholderColorDisabled:lt,lineHeightTextarea:st,colorDisabled:Dt,colorFocus:ct,textColorDisabled:dt,boxShadowFocus:Ct,iconSize:ft,colorFocusWarning:Ft,boxShadowFocusWarning:ht,borderWarning:At,borderFocusWarning:Et,borderHoverWarning:pt,colorFocusError:vt,boxShadowFocusError:mt,borderError:gt,borderFocusError:Bt,borderHoverError:bt,clearSize:yt,clearColor:wt,clearColorHover:xt,clearColorPressed:St,iconColor:Pt,iconColorDisabled:zt,suffixTextColor:$t,countTextColor:Mt,countTextColorDisabled:Tt,iconColorHover:kt,iconColorPressed:_t,loadingColor:It,loadingColorError:Nt,loadingColorWarning:Rt,[je("padding",u)]:Lt,[je("fontSize",u)]:Wt,[je("height",u)]:Vt}}=a.value,{left:Ot,right:jt}=ir(Lt);return{"--n-bezier":r,"--n-count-text-color":Mt,"--n-count-text-color-disabled":Tt,"--n-color":c,"--n-font-size":Wt,"--n-border-radius":x,"--n-height":Vt,"--n-padding-left":Ot,"--n-padding-right":jt,"--n-text-color":T,"--n-caret-color":y,"--n-text-decoration-color":ne,"--n-border":de,"--n-border-disabled":Ce,"--n-border-hover":We,"--n-border-focus":at,"--n-placeholder-color":it,"--n-placeholder-color-disabled":lt,"--n-icon-size":ft,"--n-line-height-textarea":st,"--n-color-disabled":Dt,"--n-color-focus":ct,"--n-text-color-disabled":dt,"--n-box-shadow-focus":Ct,"--n-loading-color":It,"--n-caret-color-warning":re,"--n-color-focus-warning":Ft,"--n-box-shadow-focus-warning":ht,"--n-border-warning":At,"--n-border-focus-warning":Et,"--n-border-hover-warning":pt,"--n-loading-color-warning":Rt,"--n-caret-color-error":te,"--n-color-focus-error":vt,"--n-box-shadow-focus-error":mt,"--n-border-error":gt,"--n-border-focus-error":Bt,"--n-border-hover-error":bt,"--n-loading-color-error":Nt,"--n-clear-color":wt,"--n-clear-size":yt,"--n-clear-color-hover":xt,"--n-clear-color-pressed":St,"--n-icon-color":Pt,"--n-icon-color-hover":kt,"--n-icon-color-pressed":_t,"--n-icon-color-disabled":zt,"--n-suffix-text-color":$t}}),ie=i?Fu("input",V(()=>{const{value:u}=w;return u[0]}),tu,e):void 0;return Object.assign(Object.assign({},nt),{wrapperElRef:D,inputElRef:F,inputMirrorElRef:h,inputEl2Ref:g,textareaElRef:f,textareaMirrorElRef:d,textareaScrollbarInstRef:W,rtlEnabled:ot,uncontrolledValue:b,mergedValue:B,passwordVisible:ce,mergedPlaceholder:se,showPlaceholder1:ke,showPlaceholder2:_e,mergedFocus:De,isComposing:J,activated:ue,showClearButton:Ie,mergedSize:w,mergedDisabled:S,textDecorationStyle:pu,mergedClsPrefix:o,mergedBordered:n,mergedShowPasswordOn:Ne,placeholderStyle:uu,mergedStatus:q,textAreaScrollContainerWidth:Ge,handleTextAreaScroll:rt,handleCompositionStart:Tu,handleCompositionEnd:ku,handleInput:ge,handleInputBlur:Iu,handleInputFocus:Nu,handleWrapperBlur:Ru,handleWrapperFocus:Lu,handleMouseEnter:Hu,handleMouseLeave:Uu,handleMouseDown:ju,handleChange:Wu,handleClick:Vu,handleClear:Ou,handlePasswordToggleClick:qu,handlePasswordToggleMousedown:Ju,handleWrapperKeydown:Xu,handleWrapperKeyup:Ku,handleTextAreaMirrorResize:tt,getTextareaScrollContainer:()=>f.value,mergedTheme:a,cssVars:i?void 0:tu,themeClass:ie==null?void 0:ie.themeClass,onRender:ie==null?void 0:ie.onRender})},render(){var e,o;const{mergedClsPrefix:n,mergedStatus:i,themeClass:s,type:a,countGraphemes:D,onRender:f}=this,d=this.$slots;return f==null||f(),l("div",{ref:"wrapperElRef",class:[`${n}-input`,s,i&&`${n}-input--${i}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:a==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&a!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-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},l("div",{class:`${n}-input-wrapper`},we(d.prefix,h=>h&&l("div",{class:`${n}-input__prefix`},h)),a==="textarea"?l(nr,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var h,F;const{textAreaScrollContainerWidth:g}=this,M={width:this.autosize&&g&&`${g}px`};return l(or,null,l("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(h=this.inputProps)===null||h===void 0?void 0:h.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,M],onBlur:this.handleInputBlur,onFocus:U=>{this.handleInputFocus(U,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?l("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,M],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?l(ar,{onResize:this.handleTextAreaMirrorResize},{default:()=>l("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):l("div",{class:`${n}-input__input`},l("input",Object.assign({type:a==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":a},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(o=this.inputProps)===null||o===void 0?void 0:o.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:h=>{this.handleInputFocus(h,0)},onInput:h=>{this.handleInput(h,0)},onChange:h=>{this.handleChange(h,0)}})),this.showPlaceholder1?l("div",{class:`${n}-input__placeholder`},l("span",null,this.mergedPlaceholder[0])):null,this.autosize?l("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&we(d.suffix,h=>h||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?l("div",{class:`${n}-input__suffix`},[we(d["clear-icon-placeholder"],F=>(this.clearable||F)&&l(Je,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>F,icon:()=>{var g,M;return(M=(g=this.$slots)["clear-icon"])===null||M===void 0?void 0:M.call(g)}})),this.internalLoadingBeforeSuffix?null:h,this.loading!==void 0?l(on,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?h:null,this.showCount&&this.type!=="textarea"?l(su,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"?l("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?Ee(d["password-visible-icon"],()=>[l(ze,{clsPrefix:n},{default:()=>l(en,null)})]):Ee(d["password-invisible-icon"],()=>[l(ze,{clsPrefix:n},{default:()=>l(un,null)})])):null]):null)),this.pair?l("span",{class:`${n}-input__separator`},Ee(d.separator,()=>[this.separator])):null,this.pair?l("div",{class:`${n}-input-wrapper`},l("div",{class:`${n}-input__input`},l("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-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:h=>{this.handleInputFocus(h,1)},onInput:h=>{this.handleInput(h,1)},onChange:h=>{this.handleChange(h,1)}}),this.showPlaceholder2?l("div",{class:`${n}-input__placeholder`},l("span",null,this.mergedPlaceholder[1])):null),we(d.suffix,h=>(this.clearable||h)&&l("div",{class:`${n}-input__suffix`},[this.clearable&&l(Je,{clsPrefix:n,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)}}),h]))):null,this.mergedBordered?l("div",{class:`${n}-input__border`}):null,this.mergedBordered?l("div",{class:`${n}-input__state-border`}):null,this.showCount&&a==="textarea"?l(su,null,{default:h=>{var F;const{renderCount:g}=this;return g?g(h):(F=d.count)===null||F===void 0?void 0:F.call(d,h)}}):null)}}),hn=e=>{const{textColorBase:o,opacity1:n,opacity2:i,opacity3:s,opacity4:a,opacity5:D}=e;return{color:o,opacity1Depth:n,opacity2Depth:i,opacity3Depth:s,opacity4Depth:a,opacity5Depth:D}},An={name:"Icon",common:Cu,self:hn},En=An,pn=k("icon",`
|
|
259
|
+
height: 1em;
|
|
260
|
+
width: 1em;
|
|
261
|
+
line-height: 1em;
|
|
262
|
+
text-align: center;
|
|
263
|
+
display: inline-block;
|
|
264
|
+
position: relative;
|
|
265
|
+
fill: currentColor;
|
|
266
|
+
transform: translateZ(0);
|
|
267
|
+
`,[j("color-transition",{transition:"color .3s var(--n-bezier)"}),j("depth",{color:"var(--n-color)"},[R("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),R("svg",{height:"1em",width:"1em"})]),vn=Object.assign(Object.assign({},Te.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),kn=Q({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:vn,setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:n}=fu(e),i=Te("Icon","-icon",pn,En,e,o),s=V(()=>{const{depth:D}=e,{common:{cubicBezierEaseInOut:f},self:d}=i.value;if(D!==void 0){const{color:h,[`opacity${D}Depth`]:F}=d;return{"--n-bezier":f,"--n-color":h,"--n-opacity":F}}return{"--n-bezier":f,"--n-color":"","--n-opacity":""}}),a=n?Fu("icon",V(()=>`${e.depth||"d"}`),s,e):void 0;return{mergedClsPrefix:o,mergedStyle:V(()=>{const{size:D,color:f}=e;return{fontSize:cr(D),color:f}}),cssVars:n?void 0:s,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var e;const{$parent:o,depth:n,mergedClsPrefix:i,component:s,onRender:a,themeClass:D}=this;return!((e=o==null?void 0:o.$options)===null||e===void 0)&&e._n_icon__&&lr("icon","don't wrap `n-icon` inside `n-icon`"),a==null||a(),l("i",sr(this.$attrs,{role:"img",class:[`${i}-icon`,D,{[`${i}-icon--depth`]:n,[`${i}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),s?l(s):this.$slots)}});var mn=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,gn=/[\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\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\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\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\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]/,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\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\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-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\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[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\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]/,He={Space_Separator:mn,ID_Start:gn,ID_Continue:Bn},_={isSpaceSeparator(e){return typeof e=="string"&&He.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||He.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===""||He.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 Ke,O,X,$e,G,H,I,Ye,pe;var bn=function(o,n){Ke=String(o),O="start",X=[],$e=0,G=1,H=0,I=void 0,Ye=void 0,pe=void 0;do I=yn(),Sn[O]();while(I.type!=="eof");return typeof n=="function"?Xe({"":pe},"",n):pe};function Xe(e,o,n){const i=e[o];if(i!=null&&typeof i=="object")if(Array.isArray(i))for(let s=0;s<i.length;s++){const a=String(s),D=Xe(i,a,n);D===void 0?delete i[a]:Object.defineProperty(i,a,{value:D,writable:!0,enumerable:!0,configurable:!0})}else for(const s in i){const a=Xe(i,s,n);a===void 0?delete i[s]:Object.defineProperty(i,s,{value:a,writable:!0,enumerable:!0,configurable:!0})}return n.call(e,o,i)}let E,A,Ae,K,m;function yn(){for(E="default",A="",Ae=!1,K=1;;){m=Z();const e=Au[E]();if(e)return e}}function Z(){if(Ke[$e])return String.fromCodePoint(Ke.codePointAt($e))}function t(){const e=Z();return e===`
|
|
268
|
+
`?(G++,H=0):e?H+=e.length:H++,e&&($e+=e.length),e}const Au={default(){switch(m){case" ":case"\v":case"\f":case" ":case" ":case"\uFEFF":case`
|
|
269
|
+
`:case"\r":case"\u2028":case"\u2029":t();return;case"/":t(),E="comment";return;case void 0:return t(),P("eof")}if(_.isSpaceSeparator(m)){t();return}return Au[O]()},comment(){switch(m){case"*":t(),E="multiLineComment";return;case"/":t(),E="singleLineComment";return}throw z(t())},multiLineComment(){switch(m){case"*":t(),E="multiLineCommentAsterisk";return;case void 0:throw z(t())}t()},multiLineCommentAsterisk(){switch(m){case"*":t();return;case"/":t(),E="default";return;case void 0:throw z(t())}t(),E="multiLineComment"},singleLineComment(){switch(m){case`
|
|
270
|
+
`:case"\r":case"\u2028":case"\u2029":t(),E="default";return;case void 0:return t(),P("eof")}t()},value(){switch(m){case"{":case"[":return P("punctuator",t());case"n":return t(),oe("ull"),P("null",null);case"t":return t(),oe("rue"),P("boolean",!0);case"f":return t(),oe("alse"),P("boolean",!1);case"-":case"+":t()==="-"&&(K=-1),E="sign";return;case".":A=t(),E="decimalPointLeading";return;case"0":A=t(),E="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=t(),E="decimalInteger";return;case"I":return t(),oe("nfinity"),P("numeric",1/0);case"N":return t(),oe("aN"),P("numeric",NaN);case'"':case"'":Ae=t()==='"',A="",E="string";return}throw z(t())},identifierNameStartEscape(){if(m!=="u")throw z(t());t();const e=Ze();switch(e){case"$":case"_":break;default:if(!_.isIdStartChar(e))throw Du();break}A+=e,E="identifierName"},identifierName(){switch(m){case"$":case"_":case"":case"":A+=t();return;case"\\":t(),E="identifierNameEscape";return}if(_.isIdContinueChar(m)){A+=t();return}return P("identifier",A)},identifierNameEscape(){if(m!=="u")throw z(t());t();const e=Ze();switch(e){case"$":case"_":case"":case"":break;default:if(!_.isIdContinueChar(e))throw Du();break}A+=e,E="identifierName"},sign(){switch(m){case".":A=t(),E="decimalPointLeading";return;case"0":A=t(),E="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":A=t(),E="decimalInteger";return;case"I":return t(),oe("nfinity"),P("numeric",K*(1/0));case"N":return t(),oe("aN"),P("numeric",NaN)}throw z(t())},zero(){switch(m){case".":A+=t(),E="decimalPoint";return;case"e":case"E":A+=t(),E="decimalExponent";return;case"x":case"X":A+=t(),E="hexadecimal";return}return P("numeric",K*0)},decimalInteger(){switch(m){case".":A+=t(),E="decimalPoint";return;case"e":case"E":A+=t(),E="decimalExponent";return}if(_.isDigit(m)){A+=t();return}return P("numeric",K*Number(A))},decimalPointLeading(){if(_.isDigit(m)){A+=t(),E="decimalFraction";return}throw z(t())},decimalPoint(){switch(m){case"e":case"E":A+=t(),E="decimalExponent";return}if(_.isDigit(m)){A+=t(),E="decimalFraction";return}return P("numeric",K*Number(A))},decimalFraction(){switch(m){case"e":case"E":A+=t(),E="decimalExponent";return}if(_.isDigit(m)){A+=t();return}return P("numeric",K*Number(A))},decimalExponent(){switch(m){case"+":case"-":A+=t(),E="decimalExponentSign";return}if(_.isDigit(m)){A+=t(),E="decimalExponentInteger";return}throw z(t())},decimalExponentSign(){if(_.isDigit(m)){A+=t(),E="decimalExponentInteger";return}throw z(t())},decimalExponentInteger(){if(_.isDigit(m)){A+=t();return}return P("numeric",K*Number(A))},hexadecimal(){if(_.isHexDigit(m)){A+=t(),E="hexadecimalInteger";return}throw z(t())},hexadecimalInteger(){if(_.isHexDigit(m)){A+=t();return}return P("numeric",K*Number(A))},string(){switch(m){case"\\":t(),A+=wn();return;case'"':if(Ae)return t(),P("string",A);A+=t();return;case"'":if(!Ae)return t(),P("string",A);A+=t();return;case`
|
|
271
|
+
`:case"\r":throw z(t());case"\u2028":case"\u2029":Pn(m);break;case void 0:throw z(t())}A+=t()},start(){switch(m){case"{":case"[":return P("punctuator",t())}E="value"},beforePropertyName(){switch(m){case"$":case"_":A=t(),E="identifierName";return;case"\\":t(),E="identifierNameStartEscape";return;case"}":return P("punctuator",t());case'"':case"'":Ae=t()==='"',E="string";return}if(_.isIdStartChar(m)){A+=t(),E="identifierName";return}throw z(t())},afterPropertyName(){if(m===":")return P("punctuator",t());throw z(t())},beforePropertyValue(){E="value"},afterPropertyValue(){switch(m){case",":case"}":return P("punctuator",t())}throw z(t())},beforeArrayValue(){if(m==="]")return P("punctuator",t());E="value"},afterArrayValue(){switch(m){case",":case"]":return P("punctuator",t())}throw z(t())},end(){throw z(t())}};function P(e,o){return{type:e,value:o,line:G,column:H}}function oe(e){for(const o of e){if(Z()!==o)throw z(t());t()}}function wn(){switch(Z()){case"b":return t(),"\b";case"f":return t(),"\f";case"n":return t(),`
|
|
272
|
+
`;case"r":return t(),"\r";case"t":return t()," ";case"v":return t(),"\v";case"0":if(t(),_.isDigit(Z()))throw z(t());return"\0";case"x":return t(),xn();case"u":return t(),Ze();case`
|
|
273
|
+
`:case"\u2028":case"\u2029":return t(),"";case"\r":return t(),Z()===`
|
|
274
|
+
`&&t(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw z(t());case void 0:throw z(t())}return t()}function xn(){let e="",o=Z();if(!_.isHexDigit(o)||(e+=t(),o=Z(),!_.isHexDigit(o)))throw z(t());return e+=t(),String.fromCodePoint(parseInt(e,16))}function Ze(){let e="",o=4;for(;o-- >0;){const n=Z();if(!_.isHexDigit(n))throw z(t());e+=t()}return String.fromCodePoint(parseInt(e,16))}const Sn={start(){if(I.type==="eof")throw ae();Ue()},beforePropertyName(){switch(I.type){case"identifier":case"string":Ye=I.value,O="afterPropertyName";return;case"punctuator":Se();return;case"eof":throw ae()}},afterPropertyName(){if(I.type==="eof")throw ae();O="beforePropertyValue"},beforePropertyValue(){if(I.type==="eof")throw ae();Ue()},beforeArrayValue(){if(I.type==="eof")throw ae();if(I.type==="punctuator"&&I.value==="]"){Se();return}Ue()},afterPropertyValue(){if(I.type==="eof")throw ae();switch(I.value){case",":O="beforePropertyName";return;case"}":Se()}},afterArrayValue(){if(I.type==="eof")throw ae();switch(I.value){case",":O="beforeArrayValue";return;case"]":Se()}},end(){}};function Ue(){let e;switch(I.type){case"punctuator":switch(I.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=I.value;break}if(pe===void 0)pe=e;else{const o=X[X.length-1];Array.isArray(o)?o.push(e):Object.defineProperty(o,Ye,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")X.push(e),Array.isArray(e)?O="beforeArrayValue":O="beforePropertyName";else{const o=X[X.length-1];o==null?O="end":Array.isArray(o)?O="afterArrayValue":O="afterPropertyValue"}}function Se(){X.pop();const e=X[X.length-1];e==null?O="end":Array.isArray(e)?O="afterArrayValue":O="afterPropertyValue"}function z(e){return Me(e===void 0?`JSON5: invalid end of input at ${G}:${H}`:`JSON5: invalid character '${Eu(e)}' at ${G}:${H}`)}function ae(){return Me(`JSON5: invalid end of input at ${G}:${H}`)}function Du(){return H-=5,Me(`JSON5: invalid identifier character at ${G}:${H}`)}function Pn(e){console.warn(`JSON5: '${Eu(e)}' in strings is not valid ECMAScript; consider escaping`)}function Eu(e){const o={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(o[e])return o[e];if(e<" "){const n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Me(e){const o=new SyntaxError(e);return o.lineNumber=G,o.columnNumber=H,o}var zn=function(o,n,i){const s=[];let a="",D,f,d="",h;if(n!=null&&typeof n=="object"&&!Array.isArray(n)&&(i=n.space,h=n.quote,n=n.replacer),typeof n=="function")f=n;else if(Array.isArray(n)){D=[];for(const v of n){let b;typeof v=="string"?b=v:(typeof v=="number"||v instanceof String||v instanceof Number)&&(b=String(v)),b!==void 0&&D.indexOf(b)<0&&D.push(b)}}return i instanceof Number?i=Number(i):i instanceof String&&(i=String(i)),typeof i=="number"?i>0&&(i=Math.min(10,Math.floor(i)),d=" ".substr(0,i)):typeof i=="string"&&(d=i.substr(0,10)),F("",{"":o});function F(v,b){let C=b[v];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(v):typeof C.toJSON=="function"&&(C=C.toJSON(v))),f&&(C=f.call(b,v,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return g(C);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?W(C):M(C)}function g(v){const b={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let B="";for(let w=0;w<v.length;w++){const S=v[w];switch(S){case"'":case'"':b[S]++,B+=S;continue;case"\0":if(_.isDigit(v[w+1])){B+="\\x00";continue}}if(C[S]){B+=C[S];continue}if(S<" "){let q=S.charCodeAt(0).toString(16);B+="\\x"+("00"+q).substring(q.length);continue}B+=S}const $=h||Object.keys(b).reduce((w,S)=>b[w]<b[S]?w:S);return B=B.replace(new RegExp($,"g"),C[$]),$+B+$}function M(v){if(s.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");s.push(v);let b=a;a=a+d;let C=D||Object.keys(v),B=[];for(const w of C){const S=F(w,v);if(S!==void 0){let q=U(w)+":";d!==""&&(q+=" "),q+=S,B.push(q)}}let $;if(B.length===0)$="{}";else{let w;if(d==="")w=B.join(","),$="{"+w+"}";else{let S=`,
|
|
275
|
+
`+a;w=B.join(S),$=`{
|
|
276
|
+
`+a+w+`,
|
|
277
|
+
`+b+"}"}}return s.pop(),a=b,$}function U(v){if(v.length===0)return g(v);const b=String.fromCodePoint(v.codePointAt(0));if(!_.isIdStartChar(b))return g(v);for(let C=b.length;C<v.length;C++)if(!_.isIdContinueChar(String.fromCodePoint(v.codePointAt(C))))return g(v);return v}function W(v){if(s.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");s.push(v);let b=a;a=a+d;let C=[];for(let $=0;$<v.length;$++){const w=F(String($),v);C.push(w!==void 0?w:"null")}let B;if(C.length===0)B="[]";else if(d==="")B="["+C.join(",")+"]";else{let $=`,
|
|
278
|
+
`+a,w=C.join($);B=`[
|
|
279
|
+
`+a+w+`,
|
|
280
|
+
`+b+"]"}return s.pop(),a=b,B}};const $n={parse:bn,stringify:zn};var _n=$n;export{tn as C,Tn as N,kn as a,on as b,Qr as c,cr as f,Dn as i,_n as l,dr as u};
|
|
281
|
+
//# sourceMappingURL=index-JTJ7QRy3.js.map
|