neko-ui 2.14.13 → 2.14.15
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/AGENTS.md +31 -0
- package/es/dropdown/index.d.ts +1 -0
- package/es/glass-panel/index.d.ts +2 -2
- package/es/glass-panel/index.js +2 -2
- package/es/popover/index.d.ts +3 -0
- package/es/popover/index.js +2 -2
- package/eslint.config.mjs +1 -0
- package/lib/dropdown/index.d.ts +1 -0
- package/lib/glass-panel/index.d.ts +2 -2
- package/lib/glass-panel/index.js +2 -2
- package/lib/popover/index.d.ts +3 -0
- package/lib/popover/index.js +2 -2
- package/package.json +12 -4
- package/umd/index.js +84 -84
- package/umd/site.webmanifest +1 -1
package/umd/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("NekoUI",[],t):"object"==typeof exports?exports.NekoUI=t():e.NekoUI=t()}(self,()=>(()=>{var e={19(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(904),o=r.n(n);r(22),r(191),r(832),r(479),r(561),r(608),r(386),r(515),r(874),r(759),r(942),r(601),r(656),r(101),r(398),r(70),r(921),r(100),r(931),r(299),r(153);let i=o()},21(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="week",i="month",a="quarter",l="year",s="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},p="en",b={};b[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var g="$isDayjsObject",h=function(e){return e instanceof x||!(!e||!e[g])},v=function e(t,r,n){var o;if(!t)return p;if("string"==typeof t){var i=t.toLowerCase();b[i]&&(o=i),r&&(b[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var l=t.name;b[l]=t,o=l}return!n&&o&&(p=o),o||!n&&p},m=function(e,t){if(h(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},y={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,i),a=r-o<0,l=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-o)/(a?o-l:l-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:l,w:o,d:"day",D:s,h:n,m:r,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=v,y.i=h,y.w=function(e,t){return m(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(u);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return y},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(e,t){var r=m(e);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(e,t){return m(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<m(e)},p.$g=function(e,t,r){return y.u(e)?this[t]:this.set(r,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var c=this,u=!!y.u(a)||a,d=y.p(e),f=function(e,t){var r=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?r:r.endOf("day")},p=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},b=this.$W,g=this.$M,h=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case l:return u?f(1,0):f(31,11);case i:return u?f(1,g):f(0,g+1);case o:var m=this.$locale().weekStart||0,x=(b<m?b+7:b)-m;return f(u?h-x:h+(6-x),g);case"day":case s:return p(v+"Hours",0);case n:return p(v+"Minutes",1);case r:return p(v+"Seconds",2);case t:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(o,a){var c,u=y.p(o),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[s]=d+"Date",c[i]=d+"Month",c[l]=d+"FullYear",c[n]=d+"Hours",c[r]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],p="day"===u?this.$D+(a-this.$W):a;if(u===i||u===l){var b=this.clone().set(s,1);b.$d[f](p),b.init(),this.$d=b.set(s,Math.min(this.$D,b.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[y.p(e)]()},p.add=function(e,a){var s,c=this;e=Number(e);var u=y.p(a),d=function(t){var r=m(c);return y.w(r.date(r.date()+Math.round(t*e)),c)};if(u===i)return this.set(i,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return d(1);if(u===o)return d(7);var f=((s={})[r]=6e4,s[n]=36e5,s[t]=1e3,s)[u]||1,p=this.$d.getTime()+e*f;return y.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=y.z(this),i=this.$H,a=this.$m,l=this.$M,s=r.weekdays,u=r.months,f=r.meridiem,p=function(e,r,o,i){return e&&(e[r]||e(t,n))||o[r].slice(0,i)},b=function(e){return y.s(i%12||12,e,"0")},g=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return l+1;case"MM":return y.s(l+1,2,"0");case"MMM":return p(r.monthsShort,l,u,3);case"MMMM":return p(u,l);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,s,2);case"ddd":return p(r.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return b(1);case"hh":return b(2);case"a":return g(i,a,!0);case"A":return g(i,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,c){var u,d=this,f=y.p(s),p=m(e),b=(p.utcOffset()-this.utcOffset())*6e4,g=this-p,h=function(){return y.m(d,p)};switch(f){case l:u=h()/12;break;case i:u=h();break;case a:u=h()/3;break;case o:u=(g-b)/6048e5;break;case"day":u=(g-b)/864e5;break;case n:u=g/36e5;break;case r:u=g/6e4;break;case t:u=g/1e3;break;default:u=g}return c?u:y.a(u)},p.daysInMonth=function(){return this.endOf(i).$D},p.$locale=function(){return b[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=v(e,t,!0);return n&&(r.$L=n),r},p.clone=function(){return y.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),w=x.prototype;return m.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",l],["$D",s]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),m.extend=function(e,t){return e.$i||(e(t,x,m),e.$i=!0),m},m.locale=v,m.isDayjs=h,m.unix=function(e){return m(1e3*e)},m.en=b[p],m.Ls=b,m.p={},m}()},453(e,t,r){e.exports=function(e){"use strict";var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(r(21))},12(e){e.exports=function(e,t,r){var n=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,r,n,i){var a=e.name?e:e.$locale(),l=o(a[t]),s=o(a[r]),c=l||s.map(function(e){return e.slice(0,n)});if(!i)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return r.Ls[r.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return s.bind(this)()},r.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return i(a(),"months")},r.monthsShort=function(){return i(a(),"monthsShort","months",3)},r.weekdays=function(e){return i(a(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}},22(){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},191(){Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},832(){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},479(){var e,t,r;e=Prism,t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])},561(){var e,t,r;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(e=Prism).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(r=e.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))},608(){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),n=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return n}),i={pattern:RegExp(n),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(e,t){return RegExp(e=e.replace(/<OPT>/g,function(){return o}).replace(/<SP>/g,function(){return r}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker}(Prism)},386(){Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}},515(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},874(){Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},759(){!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},l=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===a(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:a(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var s=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(s+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(s=a(t[n-1])+s,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})}(Prism)},601(){Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})},656(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},153(){Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}},101(){var e,t,r,n,o,i;e=Prism,t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=RegExp((n="(?:[^\\\\-]|"+(r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+n),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:r}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":i}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}},398(){for(var e=Prism,t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string},70(){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},921(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*")+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},100(){var e=Prism,t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}},942(){var e,t,r;t=(e=Prism).util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(r=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0},931(){var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript},299(){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},904(e){var t,r,n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,i;switch(r=r||{},o.util.type(t)){case"Object":if(r[i=o.util.objId(t)])return r[i];for(var a in n={},r[i]=n,t)t.hasOwnProperty(a)&&(n[a]=e(t[a],r));return n;case"Array":if(r[i=o.util.objId(t)])return r[i];return n=[],r[i]=n,t.forEach(function(t,o){n[o]=e(t,r)}),n;default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("u"<typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=o.util.clone(o.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var i=(n=n||o.languages)[e],a={};for(var l in i)if(i.hasOwnProperty(l)){if(l==t)for(var s in r)r.hasOwnProperty(s)&&(a[s]=r[s]);r.hasOwnProperty(l)||(a[l]=i[l])}var c=n[e];return n[e]=a,o.languages.DFS(o.languages,function(t,r){r===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,r,n,i){i=i||{};var a=o.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],n||l);var s=t[l],c=o.util.type(s);"Object"!==c||i[a(s)]?"Array"!==c||i[a(s)]||(i[a(s)]=!0,e(s,r,l,i)):(i[a(s)]=!0,e(s,r,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var i,a=0;i=n.elements[a++];)o.highlightElement(i,!0===t,n.callback)},highlightElement:function(t,r,n){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var l=t.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&o.util.setLanguage(l,i);var s=t.textContent,c={element:t,language:i,grammar:a,code:s};function u(e){c.highlightedCode=e,o.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,o.hooks.run("after-highlight",c),o.hooks.run("complete",c),n&&n.call(c.element)}if(o.hooks.run("before-sanity-check",c),(l=c.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!c.code){o.hooks.run("complete",c),n&&n.call(c.element);return}if(o.hooks.run("before-highlight",c),!c.grammar)return void u(o.util.encode(c.code));if(r&&e.Worker){var d=new Worker(o.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(o.highlight(c.code,c.grammar,c.language))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(o.hooks.run("before-tokenize",n),!n.grammar)throw Error('The language "'+n.language+'" has no grammar.');return n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),i.stringify(o.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var c=new l;return s(c,c.head,e),function e(t,r,n,l,c,u){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var f=n[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(u&&u.cause==d+","+p)return;var b=f[p],g=b.inside,h=!!b.lookbehind,v=!!b.greedy,m=b.alias;if(v&&!b.pattern.global){var y=b.pattern.toString().match(/[imsuy]*$/)[0];b.pattern=RegExp(b.pattern.source,y+"g")}for(var x=b.pattern||b,w=l.next,k=c;w!==r.tail&&(!u||!(k>=u.reach));k+=w.value.length,w=w.next){var S,A=w.value;if(r.length>t.length)return;if(!(A instanceof i)){var O=1;if(v){if(!(S=a(x,k,t,h))||S.index>=t.length)break;var C=S.index,E=S.index+S[0].length,z=k;for(z+=w.value.length;C>=z;)z+=(w=w.next).value.length;if(z-=w.value.length,k=z,w.value instanceof i)continue;for(var j=w;j!==r.tail&&(z<E||"string"==typeof j.value);j=j.next)O++,z+=j.value.length;O--,A=t.slice(k,z),S.index-=k}else if(!(S=a(x,0,A,h)))continue;var C=S.index,T=S[0],I=A.slice(0,C),P=A.slice(C+T.length),_=k+A.length;u&&_>u.reach&&(u.reach=_);var $=w.prev;if(I&&($=s(r,$,I),k+=I.length),function(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}(r,$,O),w=s(r,$,new i(d,g?o.tokenize(T,g):T,m,T)),P&&s(r,w,P),O>1){var L={cause:d+","+p,reach:_};e(t,r,n,w.prev,k,L),u&&L.reach>u.reach&&(u.reach=L.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(c)},hooks:{all:{},add:function(e,t){var r=o.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=o.hooks.all[e];if(r&&r.length)for(var n,i=0;n=r[i++];)n(t)}},Token:i};function i(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}if(e.Prism=o,i.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var i={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var l="";for(var s in i.attributes)l+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+l+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,i=r.code,a=r.immediateClose;e.postMessage(o.highlight(i,o.languages[n],n)),a&&e.close()},!1)),o;var c=o.util.currentScript();function u(){o.manual||o.highlightAll()}if(c&&(o.filename=c.src,c.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return o}("u">typeof window?window:"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),"u">typeof global&&(global.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(e,t){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css,(r=n.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css")),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(void 0!==n&&"u">typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",r="loading",o="loaded",i="pre[data-src]:not(["+t+'="'+o+'"]):not(['+t+'="'+r+'"])';n.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),n.hooks.add("before-sanity-check",function(a){var l=a.element;if(l.matches(i)){a.code="",l.setAttribute(t,r);var s,c,u,d,f=l.appendChild(document.createElement("CODE"));f.textContent="Loading…";var p=l.getAttribute("data-src"),b=a.language;if("none"===b){var g=(/\.(\w+)$/.exec(p)||[,"none"])[1];b=e[g]||g}n.util.setLanguage(f,b),n.util.setLanguage(l,b);var h=n.plugins.autoloader;h&&h.loadLanguages(b),s=p,c=function(e){l.setAttribute(t,o);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],o=t[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(l.getAttribute("data-range"));if(r){var i=e.split(/\r\n?|\n/g),a=r[0],s=null==r[1]?i.length:r[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),s<0&&(s+=i.length),s=Math.max(0,Math.min(s,i.length)),e=i.slice(a,s).join(`
|
|
2
|
-
`),l.hasAttribute("data-start")||l.setAttribute("data-start",String(a+1))}f.textContent=e,n.highlightElement(f)},u=function(e){l.setAttribute(t,"failed"),f.textContent=e},(d=new XMLHttpRequest).open("GET",s,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?c(d.responseText):d.status>=400?u((e=d.status,"✖ Error "+e+" while fetching file: "+d.statusText)):u("✖ Error: File does not exist or is empty"))},d.send(null)}}),n.plugins.fileHighlight={highlight:function(e){for(var t,r=(e||document).querySelectorAll(i),o=0;t=r[o++];)n.highlightElement(t)}};var a=!1;n.fileHighlight=function(){a||(a=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.g.importScripts&&(n=r.g.location+"");var n,o=r.g.document;if(!n&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(n=o.currentScript.src),!n)){var i=o.getElementsByTagName("script");if(i.length)for(var a=i.length-1;a>-1&&(!n||!/^http(s?):/.test(n));)n=i[a--].src}if(!n)throw Error("Automatic publicPath is not supported in this browser");r.p=n=n.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var l={};return(()=>{"use strict";let e,t;r.r(l),r.d(l,{Avatar:()=>oO,AvatarGroup:()=>ix,BackTop:()=>iT,Button:()=>iG,CaptureScreen:()=>ao,Carousel:()=>ah,Checkbox:()=>aP,Code:()=>a0,Collapse:()=>a8,ColorPalette:()=>sl,ColorPicker:()=>sm,Cron:()=>ut,DatePicker:()=>uj,Dropdown:()=>lC,Empty:()=>oJ,FieldName:()=>nS,GlassPanel:()=>uU,HighlightText:()=>uX,Img:()=>og,Input:()=>lD,InputNumber:()=>lX,Marquee:()=>u4,Md:()=>di,Menu:()=>lb,Modal:()=>dL,OpenState:()=>d_,Pagination:()=>d8,Popover:()=>il,Prism:()=>d9.default,Provider:()=>fr,QrCode:()=>f_,Radio:()=>sC,Segmented:()=>fY,Select:()=>s1,Size:()=>nw,Skeleton:()=>f0,Spin:()=>n8,Status:()=>nk,Switch:()=>f8,Table:()=>pS,Tabs:()=>cl,Tag:()=>sM,Tree:()=>pM,Typography:()=>oY,css:()=>nu,customElement:()=>nx,cx:()=>nf,dayjs:()=>cU,fromSchema:()=>u$,generateColor:()=>nX,getCurrentElement:()=>nh,getOptions:()=>aw,hot:()=>nm,icon:()=>i_,injectGlobal:()=>nd,mdStyle:()=>u5,noShadowDOM:()=>nv,notification:()=>dX,registry:()=>pD,theme:()=>nQ,toneColor:()=>nB,withSolid:()=>ny});let n={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}};function o(e){let t=String(e),r=t.length-1;return n.context.id+(r?String.fromCharCode(96+r):"")+t}let i=Symbol("solid-proxy"),a="function"==typeof Proxy,s=Symbol("solid-track");Symbol("solid-dev-component");let c={equals:(e,t)=>e===t},u=tL,d={owned:null,cleanups:null,context:null,owner:null},f={};var p,b,g,h,v,m,y,x,w,k,S,A,O,C,E,z,j,T,I,P,_,$,L,N,R,M,D,F,U,H,B,V,Y,q,G,W,X,Z,K,J,Q,ee,et,er,en,eo,ei,ea,el,es,ec,eu,ed,ef,ep,eb,eg,eh,ev,em,ey,ex,ew,ek,eS,eA,eO,eC,eE,ez,ej,eT,eI,eP,e_,e$,eL,eN,eR,eM,eD,eF,eU,eH,eB,eV,eY,eq,eG,eW,eX,eZ,eK,eJ,eQ,e0,e1,e2,e3,e4,e5,e6,e8,e9,e7,te,tt,tr,tn,to,ti,ta,tl,ts,tc,tu=null;let td=null,tf=null,tp=null,tb=null,tg=0;function th(e,t){let r=tf,n=tu,o=0===e.length,i=void 0===t?n:t,a=o?d:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=o?e:()=>e(()=>tk(()=>tM(a)));tu=a,tf=null;try{return t$(l,!0)}finally{tf=r,tu=n}}function tv(e,t){let r={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[tz.bind(r),e=>("function"==typeof e&&(e=e(td&&td.running&&td.sources.has(r)?r.tValue:r.value)),tj(r,e))]}function tm(e,t,r){tT(tP(e,t,!1,1))}function ty(t,r,n){u=tN;let o=tP(t,r,!1,1),i=e&&tE(e);i&&(o.suspense=i),n&&n.render||(o.user=!0),tb?tb.push(o):tT(o)}function tx(e,t,r){r=r?Object.assign({},c,r):c;let n=tP(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=r.equals||void 0,tT(n),tz.bind(n)}function tw(e){return t$(e,!1)}function tk(e){if(null===tf)return e();let t=tf;tf=null;try{return e()}finally{tf=t}}function tS(e){ty(()=>tk(e))}function tA(e){return null===tu||(null===tu.cleanups?tu.cleanups=[e]:tu.cleanups.push(e)),e}function tO(e,t){let r=tu,n=tf;tu=e,tf=null;try{return t$(t,!0)}catch(e){tU(e)}finally{tu=r,tf=n}}let[,tC]=tv(!1);function tE(e){let t;return tu&&tu.context&&void 0!==(t=tu.context[e.id])?t:e.defaultValue}function tz(){let e=td&&td.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===1)tT(this);else{let e=tp;tp=null,t$(()=>tR(this),!1),tp=e}if(tf){let e=this.observers?this.observers.length:0;tf.sources?(tf.sources.push(this),tf.sourceSlots.push(e)):(tf.sources=[this],tf.sourceSlots=[e]),this.observers?(this.observers.push(tf),this.observerSlots.push(tf.sources.length-1)):(this.observers=[tf],this.observerSlots=[tf.sources.length-1])}return e&&td.sources.has(this)?this.tValue:this.value}function tj(e,t,r){let n=td&&td.running&&td.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(n,t)){if(td){let n=td.running;(n||!r&&td.sources.has(e))&&(td.sources.add(e),e.tValue=t),n||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&t$(()=>{for(let t=0;t<e.observers.length;t+=1){let r=e.observers[t],n=td&&td.running;n&&td.disposed.has(r)||((n?r.tState:r.state)||(r.pure?tp.push(r):tb.push(r),r.observers&&function e(t){let r=td&&td.running;for(let n=0;n<t.observers.length;n+=1){let o=t.observers[n];(r?o.tState:o.state)||(r?o.tState=2:o.state=2,o.pure?tp.push(o):tb.push(o),o.observers&&e(o))}}(r)),n?r.tState=1:r.state=1)}if(tp.length>1e6)throw tp=[],Error()},!1)}return t}function tT(e){if(!e.fn)return;tM(e);let t=tg;tI(e,td&&td.running&&td.sources.has(e)?e.tValue:e.value,t),td&&!td.running&&td.sources.has(e)&&queueMicrotask(()=>{t$(()=>{td&&(td.running=!0),tf=tu=e,tI(e,e.tValue,t),tf=tu=null},!1)})}function tI(e,t,r){let n,o=tu,i=tf;tf=tu=e;try{n=e.fn(t)}catch(t){return e.pure&&(td&&td.running?(e.tState=1,e.tOwned&&e.tOwned.forEach(tM),e.tOwned=void 0):(e.state=1,e.owned&&e.owned.forEach(tM),e.owned=null)),e.updatedAt=r+1,tU(t)}finally{tf=i,tu=o}(!e.updatedAt||e.updatedAt<=r)&&(null!=e.updatedAt&&"observers"in e?tj(e,n,!0):td&&td.running&&e.pure?(td.sources.add(e),e.tValue=n):e.value=n,e.updatedAt=r)}function tP(e,t,r,n=1,o){let i={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:tu,context:tu?tu.context:null,pure:r};return td&&td.running&&(i.state=0,i.tState=n),null===tu||tu!==d&&(td&&td.running&&tu.pure?tu.tOwned?tu.tOwned.push(i):tu.tOwned=[i]:tu.owned?tu.owned.push(i):tu.owned=[i]),i}function t_(e){let t=td&&td.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===2)return tR(e);if(e.suspense&&tk(e.suspense.inFallback))return e.suspense.effects.push(e);let r=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<tg);){if(t&&td.disposed.has(e))return;(t?e.tState:e.state)&&r.push(e)}for(let n=r.length-1;n>=0;n--){if(e=r[n],t){let t=e,o=r[n+1];for(;(t=t.owner)&&t!==o;)if(td.disposed.has(t))return}if((t?e.tState:e.state)===1)tT(e);else if((t?e.tState:e.state)===2){let t=tp;tp=null,t$(()=>tR(e,r[0]),!1),tp=t}}}function t$(e,t){if(tp)return e();let r=!1;t||(tp=[]),tb?r=!0:tb=[],tg++;try{let t=e();return function(e){let t;if(tp&&(tL(tp),tp=null),e)return;if(td)if(td.promises.size||td.queue.size){if(td.running){td.running=!1,td.effects.push.apply(td.effects,tb),tb=null,tC(!0);return}}else{let e=td.sources,r=td.disposed;for(let e of(tb.push.apply(tb,td.effects),t=td.resolve,tb))"tState"in e&&(e.state=e.tState),delete e.tState;td=null,t$(()=>{for(let e of r)tM(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,r=t.owned.length;e<r;e++)tM(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}tC(!1)},!1)}let r=tb;tb=null,r.length&&t$(()=>u(r),!1),t&&t()}(r),t}catch(e){r||(tb=null),tp=null,tU(e)}}function tL(e){for(let t=0;t<e.length;t++)t_(e[t])}function tN(e){let t,r=0;for(t=0;t<e.length;t++){let n=e[t];n.user?e[r++]=n:t_(n)}if(n.context){if(n.count){n.effects||(n.effects=[]),n.effects.push(...e.slice(0,r));return}n.context=void 0}for(n.effects&&(n.done||!n.count)&&(e=[...n.effects,...e],r+=n.effects.length,delete n.effects),t=0;t<r;t++)t_(e[t])}function tR(e,t){let r=td&&td.running;r?e.tState=0:e.state=0;for(let n=0;n<e.sources.length;n+=1){let o=e.sources[n];if(o.sources){let e=r?o.tState:o.state;1===e?o!==t&&(!o.updatedAt||o.updatedAt<tg)&&t_(o):2===e&&tR(o,t)}}}function tM(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),r=e.sourceSlots.pop(),n=t.observers;if(n&&n.length){let e=n.pop(),o=t.observerSlots.pop();r<n.length&&(e.sourceSlots[o]=r,n[r]=e,t.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)tM(e.tOwned[t]);delete e.tOwned}if(td&&td.running&&e.pure)!function e(t,r){if(r||(t.tState=0,td.disposed.add(t)),t.owned)for(let r=0;r<t.owned.length;r++)e(t.owned[r])}(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)tM(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}td&&td.running?e.tState=0:e.state=0}function tD(e){return e instanceof Error?e:Error("string"==typeof e?e:"Unknown error",{cause:e})}function tF(e,t,r){try{for(let r of t)r(e)}catch(e){tU(e,r&&r.owner||null)}}function tU(e,t=tu){let r=tD(e);!0;throw r}let tH=Symbol("fallback");function tB(e){for(let t=0;t<e.length;t++)e[t]()}function tV(e,t){return tk(()=>e(t||{}))}function tY(){return!0}let tq={get:(e,t,r)=>t===i?r:e.get(t),has:(e,t)=>t===i||e.has(t),set:tY,deleteProperty:tY,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:tY,deleteProperty:tY}),ownKeys:e=>e.keys()};function tG(e){return(e="function"==typeof e?e():e)?e:{}}function tW(){for(let e=0,t=this.length;e<t;++e){let t=this[e]();if(void 0!==t)return t}}function tX(...e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];t=t||!!n&&i in n,e[r]="function"==typeof n?(t=!0,tx(n)):n}if(a&&t)return new Proxy({get(t){for(let r=e.length-1;r>=0;r--){let n=tG(e[r])[t];if(void 0!==n)return n}},has(t){for(let r=e.length-1;r>=0;r--)if(t in tG(e[r]))return!0;return!1},keys(){let t=[];for(let r=0;r<e.length;r++)t.push(...Object.keys(tG(e[r])));return[...new Set(t)]}},tq);let r={},n=Object.create(null);for(let t=e.length-1;t>=0;t--){let o=e[t];if(!o)continue;let i=Object.getOwnPropertyNames(o);for(let e=i.length-1;e>=0;e--){let t=i[e];if("__proto__"===t||"constructor"===t)continue;let a=Object.getOwnPropertyDescriptor(o,t);if(n[t]){let e=r[t];e&&(a.get?e.push(a.get.bind(o)):void 0!==a.value&&e.push(()=>a.value))}else n[t]=a.get?{enumerable:!0,configurable:!0,get:tW.bind(r[t]=[a.get.bind(o)])}:void 0!==a.value?a:void 0}}let o={},l=Object.keys(n);for(let e=l.length-1;e>=0;e--){let t=l[e],r=n[t];r&&r.get?Object.defineProperty(o,t,r):o[t]=r?r.value:void 0}return o}function tZ(e,...t){let r=t.length;if(a&&i in e){let n=r>1?t.flat():t[0],o=t.map(t=>new Proxy({get:r=>t.includes(r)?e[r]:void 0,has:r=>t.includes(r)&&r in e,keys:()=>t.filter(t=>t in e)},tq));return o.push(new Proxy({get:t=>n.includes(t)?void 0:e[t],has:t=>!n.includes(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.includes(e))},tq)),o}let n=[];for(let e=0;e<=r;e++)n[e]={};for(let o of Object.getOwnPropertyNames(e)){let i=r;for(let e=0;e<t.length;e++)if(t[e].includes(o)){i=e;break}let a=Object.getOwnPropertyDescriptor(e,o);!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable?n[i][o]=a.value:Object.defineProperty(n[i],o,a)}return n}let tK=0;function tJ(){return n.context?n.getNextContextId():`cl-${tK++}`}let tQ=e=>`Stale read from <${e}>.`;function t0(e){let t="fallback"in e&&{fallback:()=>e.fallback};return tx(function(e,t,r={}){let n=[],o=[],i=[],a=0,l=t.length>1?[]:null;return tA(()=>tB(i)),()=>{let c=e()||[],u=c.length,d,f;return c[s],tk(()=>{let e,t,s,b,g,h,v,m,y;if(0===u)0!==a&&(tB(i),i=[],n=[],o=[],a=0,l&&(l=[])),r.fallback&&(n=[tH],o[0]=th(e=>(i[0]=e,r.fallback())),a=1);else if(0===a){for(f=0,o=Array(u);f<u;f++)n[f]=c[f],o[f]=th(p);a=u}else{for(s=Array(u),b=Array(u),l&&(g=Array(u)),h=0,v=Math.min(a,u);h<v&&n[h]===c[h];h++);for(v=a-1,m=u-1;v>=h&&m>=h&&n[v]===c[m];v--,m--)s[m]=o[v],b[m]=i[v],l&&(g[m]=l[v]);for(e=new Map,t=Array(m+1),f=m;f>=h;f--)y=c[f],d=e.get(y),t[f]=void 0===d?-1:d,e.set(y,f);for(d=h;d<=v;d++)y=n[d],void 0!==(f=e.get(y))&&-1!==f?(s[f]=o[d],b[f]=i[d],l&&(g[f]=l[d]),f=t[f],e.set(y,f)):i[d]();for(f=h;f<u;f++)f in s?(o[f]=s[f],i[f]=b[f],l&&(l[f]=g[f],l[f](f))):o[f]=th(p);o=o.slice(0,a=u),n=c.slice(0)}return o});function p(e){if(i[f]=e,l){let[e,r]=tv(f);return l[f]=r,t(c[f],e)}return t(c[f])}}}(()=>e.each,e.children,t||void 0))}function t1(e){let t="fallback"in e&&{fallback:()=>e.fallback};return tx(function(e,t,r={}){let n=[],o=[],i=[],a=[],l=0,c;return tA(()=>tB(i)),()=>{let u=e()||[],d=u.length;return u[s],tk(()=>{if(0===d)return 0!==l&&(tB(i),i=[],n=[],o=[],l=0,a=[]),r.fallback&&(n=[tH],o[0]=th(e=>(i[0]=e,r.fallback())),l=1),o;for(n[0]===tH&&(i[0](),i=[],n=[],o=[],l=0),c=0;c<d;c++)c<n.length&&n[c]!==u[c]?a[c](()=>u[c]):c>=n.length&&(o[c]=th(f));for(;c<n.length;c++)i[c]();return l=a.length=i.length=d,n=u.slice(0),o=o.slice(0,l)});function f(e){i[c]=e;let[r,n]=tv(u[c]);return a[c]=n,t(r,c)}}}(()=>e.each,e.children,t||void 0))}function t2(e){let t=e.keyed,r=tx(()=>e.when,void 0,void 0),n=t?r:tx(r,void 0,{equals:(e,t)=>!e==!t});return tx(()=>{let o=n();if(o){let i=e.children;return"function"==typeof i&&i.length>0?tk(()=>i(t?o:()=>{if(!tk(n))throw tQ("Show");return r()})):i}return e.fallback},void 0,void 0)}function t3(e){let t,r,n=(t=tx(()=>e.children),(r=tx(()=>(function e(t){if("function"==typeof t&&!t.length)return e(t());if(Array.isArray(t)){let r=[];for(let n=0;n<t.length;n++){let o=e(t[n]);Array.isArray(o)?r.push.apply(r,o):r.push(o)}return r}return t})(t()))).toArray=()=>{let e=r();return Array.isArray(e)?e:null!=e?[e]:[]},r),o=tx(()=>{let e=n(),t=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;e<t.length;e++){let n=e,o=t[e],i=r,a=tx(()=>i()?void 0:o.when,void 0,void 0),l=o.keyed?a:tx(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(l()?[n,a,o]:void 0)}return r});return tx(()=>{let t=o()();if(!t)return e.fallback;let[r,n,i]=t,a=i.children;return"function"==typeof a&&a.length>0?tk(()=>a(i.keyed?n():()=>{if(tk(o)()?.[0]!==r)throw tQ("Match");return n()})):a},void 0,void 0)}function t4(e){return e}let t5=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),t6=new Set(["innerHTML","textContent","innerText","children"]),t8=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),t9=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}}),t7=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),re=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),rt={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},rr=e=>tx(()=>e()),rn="_$DX_DELEGATE";function ro(e,t,r,n={}){let o;return th(n=>{o=n,t===document?e():rg(t,e(),t.firstChild?null:void 0,r)},n.owner),()=>{o(),t.textContent=""}}function ri(e,t,r,n){let o,i=()=>{let t=n?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return t.innerHTML=e,r?t.content.firstChild.firstChild:n?t.firstChild:t.content.firstChild},a=t?()=>tk(()=>document.importNode(o||(o=i()),!0)):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function ra(e,t=window.document){let r=t[rn]||(t[rn]=new Set);for(let n=0,o=e.length;n<o;n++){let o=e[n];r.has(o)||(r.add(o),t.addEventListener(o,ry))}}function rl(e,t,r){rh(e)||(null==r?e.removeAttribute(t):e.setAttribute(t,r))}function rs(e,t){rh(e)||(null==t?e.removeAttribute("class"):e.className=t)}function rc(e,t,r,n){if(n)Array.isArray(r)?(e[`$$${t}`]=r[0],e[`$$${t}Data`]=r[1]):e[`$$${t}`]=r;else if(Array.isArray(r)){let n=r[0];e.addEventListener(t,r[0]=t=>n.call(e,r[1],t))}else e.addEventListener(t,r,"function"!=typeof r&&r)}function ru(e,t,r={}){let n,o,i=Object.keys(t||{}),a=Object.keys(r);for(n=0,o=a.length;n<o;n++){let o=a[n];o&&"undefined"!==o&&!t[o]&&(rv(e,o,!1),delete r[o])}for(n=0,o=i.length;n<o;n++){let o=i[n],a=!!t[o];o&&"undefined"!==o&&r[o]!==a&&a&&(rv(e,o,!0),r[o]=a)}return r}function rd(e,t,r){let n,o;if(!t)return r?rl(e,"style"):t;let i=e.style;if("string"==typeof t)return i.cssText=t;for(o in"string"==typeof r&&(i.cssText=r=void 0),r||(r={}),t||(t={}),r)null==t[o]&&i.removeProperty(o),delete r[o];for(o in t)(n=t[o])!==r[o]&&(i.setProperty(o,n),r[o]=n);return r}function rf(e,t,r){null!=r?e.style.setProperty(t,r):e.style.removeProperty(t)}function rp(e,t={},r,n){let o={};return n||tm(()=>o.children=rx(e,t.children,o.children)),tm(()=>"function"==typeof t.ref&&rb(t.ref,e)),tm(()=>(function(e,t,r,n,o={},i=!1){for(let n in t||(t={}),o)if(!(n in t)){if("children"===n)continue;o[n]=rm(e,n,null,o[n],r,i,t)}for(let a in t){if("children"===a){n||rx(e,t.children);continue}let l=t[a];o[a]=rm(e,a,l,o[a],r,i,t)}})(e,t,r,!0,o,!0)),o}function rb(e,t,r){return tk(()=>e(t,r))}function rg(e,t,r,n){if(void 0===r||n||(n=[]),"function"!=typeof t)return rx(e,t,n,r);tm(n=>rx(e,t(),n,r),n)}function rh(e){return!!n.context&&!n.done&&(!e||e.isConnected)}function rv(e,t,r){let n=t.trim().split(/\s+/);for(let t=0,o=n.length;t<o;t++)e.classList.toggle(n[t],r)}function rm(e,t,r,n,o,i,a){var l,s,c,u;let d,f,p,b,g;if("style"===t)return rd(e,r,n);if("classList"===t)return ru(e,r,n);if(r===n)return n;if("ref"===t)i||r(e);else if("on:"===t.slice(0,3)){let o=t.slice(3);n&&e.removeEventListener(o,n,"function"!=typeof n&&n),r&&e.addEventListener(o,r,"function"!=typeof r&&r)}else if("oncapture:"===t.slice(0,10)){let o=t.slice(10);n&&e.removeEventListener(o,n,!0),r&&e.addEventListener(o,r,!0)}else if("on"===t.slice(0,2)){let o=t.slice(2).toLowerCase(),i=t7.has(o);if(!i&&n){let t=Array.isArray(n)?n[0]:n;e.removeEventListener(o,t)}(i||r)&&(rc(e,o,r,i),i&&ra([o]))}else if("attr:"===t.slice(0,5))rl(e,t.slice(5),r);else if("bool:"===t.slice(0,5))l=t.slice(5),rh(e)||(r?e.setAttribute(l,""):e.removeAttribute(l));else{let n;if((g="prop:"===t.slice(0,5))||(p=t6.has(t))||!o&&(s=t,c=e.tagName,(b="object"==typeof(n=t9[s])?n[c]?n.$:void 0:n)||(f=t5.has(t)))||(d=e.nodeName.includes("-")||"is"in a)){if(g)t=t.slice(5),f=!0;else if(rh(e))return r;"class"===t||"className"===t?rs(e,r):!d||f||p?e[b||t]=r:e[t.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())]=r}else{let n=o&&t.indexOf(":")>-1&&rt[t.split(":")[0]];n?(u=t,rh(e)||(null==r?e.removeAttributeNS(n,u):e.setAttributeNS(n,u,r))):rl(e,t8[t]||t,r)}}return r}function ry(e){if(n.registry&&n.events&&n.events.find(([t,r])=>r===e))return;let t=e.target,r=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),l=()=>{let n=t[r];if(n&&!t.disabled){let o=t[`${r}Data`];if(void 0!==o?n.call(t,o,e):n.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),n.registry&&!n.done&&(n.done=_$HY.done=!0),e.composedPath){let r=e.composedPath();a(r[0]);for(let e=0;e<r.length-2&&(t=r[e],l());e++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(o)}function rx(e,t,r,n,o){let i=rh(e);if(i){r||(r=[...e.childNodes]);let t=[];for(let e=0;e<r.length;e++){let n=r[e];8===n.nodeType&&"!$"===n.data.slice(0,2)?n.remove():t.push(n)}r=t}for(;"function"==typeof r;)r=r();if(t===r)return r;let a=typeof t,l=void 0!==n;if(e=l&&r[0]&&r[0].parentNode||e,"string"===a||"number"===a){if(i||"number"===a&&(t=t.toString())===r)return r;if(l){let o=r[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),r=rk(e,r,n,o)}else r=""!==r&&"string"==typeof r?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return r;r=rk(e,r,n)}else if("function"===a)return tm(()=>{let o=t();for(;"function"==typeof o;)o=o();r=rx(e,o,r,n)}),()=>r;else if(Array.isArray(t)){let a=[],s=r&&Array.isArray(r);if(function e(t,r,n,o){let i=!1;for(let a=0,l=r.length;a<l;a++){let l=r[a],s=n&&n[t.length],c;if(null==l||!0===l||!1===l);else if("object"==(c=typeof l)&&l.nodeType)t.push(l);else if(Array.isArray(l))i=e(t,l,s)||i;else if("function"===c)if(o){for(;"function"==typeof l;)l=l();i=e(t,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||i}else t.push(l),i=!0;else{let e=String(l);s&&3===s.nodeType&&s.data===e?t.push(s):t.push(document.createTextNode(e))}}return i}(a,t,r,o))return tm(()=>r=rx(e,a,r,n,!0)),()=>r;if(i){if(!a.length)return r;if(void 0===n)return r=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return r;let o=[t];for(;(t=t.nextSibling)!==n;)o.push(t);return r=o}if(0===a.length){if(r=rk(e,r,n),l)return r}else s?0===r.length?rw(e,a,n):function(e,t,r){let n=r.length,o=t.length,i=n,a=0,l=0,s=t[o-1].nextSibling,c=null;for(;a<o||l<i;){if(t[a]===r[l]){a++,l++;continue}for(;t[o-1]===r[i-1];)o--,i--;if(o===a){let t=i<n?l?r[l-1].nextSibling:r[i-l]:s;for(;l<i;)e.insertBefore(r[l++],t)}else if(i===l)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===r[i-1]&&r[l]===t[o-1]){let n=t[--o].nextSibling;e.insertBefore(r[l++],t[a++].nextSibling),e.insertBefore(r[--i],n),t[o]=r[i]}else{if(!c){c=new Map;let e=l;for(;e<i;)c.set(r[e],e++)}let n=c.get(t[a]);if(null!=n)if(l<n&&n<i){let s=a,u=1,d;for(;++s<o&&s<i&&null!=(d=c.get(t[s]))&&d===n+u;)u++;if(u>n-l){let o=t[a];for(;l<n;)e.insertBefore(r[l++],o)}else e.replaceChild(r[l++],t[a++])}else a++;else t[a++].remove()}}}(e,r,a):(r&&rk(e),rw(e,a));r=a}else if(t.nodeType){if(i&&t.parentNode)return r=l?[t]:t;if(Array.isArray(r)){if(l)return r=rk(e,r,n,t);rk(e,r,null,t)}else null!=r&&""!==r&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);r=t}return r}function rw(e,t,r=null){for(let n=0,o=t.length;n<o;n++)e.insertBefore(t[n],r)}function rk(e,t,r,n){if(void 0===r)return e.textContent="";let o=n||document.createTextNode("");if(t.length){let n=!1;for(let i=t.length-1;i>=0;i--){let a=t[i];if(o!==a){let t=a.parentNode===e;n||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,r)}else n=!0}}else e.insertBefore(o,r);return[o]}function rS(e,t=!1,r){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e,{is:r})}function rA(e){let t,{useShadow:r}=e,o=document.createTextNode(""),i=tu,a=!!n.context;return ty(()=>{a&&(tu.user=a=!1),t||(t=tO(i,()=>tx(()=>e.children)));let n=e.mount||document.body;if(n instanceof HTMLHeadElement){let[e,r]=tv(!1);th(r=>rg(n,()=>e()?r():t(),null)),tA(()=>r(!0))}else{let i=rS(e.isSVG?"g":"div",e.isSVG),a=r&&i.attachShadow?i.attachShadow({mode:"open"}):i;Object.defineProperty(i,"_$host",{get:()=>o.parentNode,configurable:!0}),rg(a,t),n.appendChild(i),e.ref&&e.ref(i),tA(()=>n.removeChild(i))}},void 0,{render:!a}),o}function rO(e){let t,[,r]=tZ(e,["component"]);return t=tx(()=>e.component),tx(()=>{let e=t();switch(typeof e){case"function":return tk(()=>e(r));case"string":let o,i,a=re.has(e),l=n.context?rh()&&(o=n.registry.get(i=n.getNextContextId()))?(n.completed&&n.completed.add(o),n.registry.delete(i),o):(void 0)():rS(e,a,tk(()=>r.is));return rp(l,r,a),l}})}Symbol();var rC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},rE=/[A-Z]|^ms/g,rz=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rj=function(e){return 45===e.charCodeAt(1)},rT=function(e){return null!=e&&"boolean"!=typeof e},rI=(p=function(e){return rj(e)?e:e.replace(rE,"-$&").toLowerCase()},b=Object.create(null),function(e){return void 0===b[e]&&(b[e]=p(e)),b[e]}),rP=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(rz,function(e,t,r){return ek={name:t,styles:r,next:ek},t})}return 1===rC[e]||rj(e)||"number"!=typeof t||0===t?t:t+"px"};function r_(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return ek={name:r.name,styles:r.styles,next:ek},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ek={name:n.name,styles:n.styles,next:ek},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=r_(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":rT(a)&&(n+=rI(i)+":"+rP(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)rT(a[l])&&(n+=rI(i)+":"+rP(i,a[l])+";");else{var s=r_(e,t,a);switch(i){case"animation":case"animationName":n+=rI(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=ek,i=r(e);return ek=o,r_(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var r$=/label:\s*([^\s;{]+)\s*(;|$)/g,rL=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),rN="-ms-",rR="-moz-",rM="-webkit-",rD="comm",rF="rule",rU="decl",rH="@keyframes",rB=Math.abs,rV=String.fromCharCode,rY=Object.assign;function rq(e,t){return(e=t.exec(e))?e[0]:e}function rG(e,t,r){return e.replace(t,r)}function rW(e,t,r){return e.indexOf(t,r)}function rX(e,t){return 0|e.charCodeAt(t)}function rZ(e,t,r){return e.slice(t,r)}function rK(e){return e.length}function rJ(e,t){return t.push(e),e}function rQ(e,t){return e.filter(function(e){return!rq(e,t)})}function r0(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function r1(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case rU:return e.return=e.return||e.value;case rD:return"";case rH:return e.return=e.value+"{"+r0(e.children,n)+"}";case rF:if(!rK(e.value=e.props.join(",")))return""}return rK(r=r0(e.children,n))?e.return=e.value+"{"+r+"}":""}var r2=1,r3=1,r4=0,r5=0,r6=0,r8="";function r9(e,t,r,n,o,i,a,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:r2,column:r3,length:a,return:"",siblings:l}}function r7(e,t){return rY(r9("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ne(e){for(;e.root;)e=r7(e.root,{children:[e]});rJ(e,e.siblings)}function nt(){return r6=r5<r4?rX(r8,r5++):0,r3++,10===r6&&(r3=1,r2++),r6}function nr(){return rX(r8,r5)}function nn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function no(e){var t,r;return(t=r5-1,r=function e(t){for(;nt();)switch(r6){case t:return r5;case 34:case 39:34!==t&&39!==t&&e(r6);break;case 40:41===t&&e(t);break;case 92:nt()}return r5}(91===e?e+2:40===e?e+1:e),rZ(r8,t,r)).trim()}function ni(e,t,r,n,o,i,a,l,s,c,u,d){for(var f=o-1,p=0===o?i:[""],b=p.length,g=0,h=0,v=0;g<n;++g)for(var m=0,y=rZ(e,f+1,f=rB(h=a[g])),x=e;m<b;++m)(x=(h>0?p[m]+" "+y:rG(y,/&\f/g,p[m])).trim())&&(s[v++]=x);return r9(e,t,r,0===o?rF:l,s,c,u,d)}function na(e,t,r,n,o){return r9(e,t,r,rU,rZ(e,0,n),rZ(e,n+1,-1),n,o)}function nl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case rU:e.return=function e(t,r,n){var o;switch(o=r,45^rX(t,0)?(((o<<2^rX(t,0))<<2^rX(t,1))<<2^rX(t,2))<<2^rX(t,3):0){case 5103:return rM+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return rM+t+t;case 4855:return rM+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return rR+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return rM+t+rR+t+rN+t+t;case 5936:switch(rX(t,r+11)){case 114:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return rM+t+rN+t+t;case 6165:return rM+t+rN+"flex-"+t+t;case 5187:return rM+t+rG(t,/(\w+).+(:[^]+)/,rM+"box-$1$2"+rN+"flex-$1$2")+t;case 5443:return rM+t+rN+"flex-item-"+rG(t,/flex-|-self/g,"")+(rq(t,/flex-|baseline/)?"":rN+"grid-row-"+rG(t,/flex-|-self/g,""))+t;case 4675:return rM+t+rN+"flex-line-pack"+rG(t,/align-content|flex-|-self/g,"")+t;case 5548:return rM+t+rN+rG(t,"shrink","negative")+t;case 5292:return rM+t+rN+rG(t,"basis","preferred-size")+t;case 6060:return rM+"box-"+rG(t,"-grow","")+rM+t+rN+rG(t,"grow","positive")+t;case 4554:return rM+rG(t,/([^-])(transform)/g,"$1"+rM+"$2")+t;case 6187:return rG(rG(rG(t,/(zoom-|grab)/,rM+"$1"),/(image-set)/,rM+"$1"),t,"")+t;case 5495:case 3959:return rG(t,/(image-set\([^]*)/,rM+"$1$`$1");case 4968:return rG(rG(t,/(.+:)(flex-)?(.*)/,rM+"box-pack:$3"+rN+"flex-pack:$3"),/space-between/,"justify")+rM+t+t;case 4200:if(!rq(t,/flex-|baseline/))return rN+"grid-column-align"+rZ(t,r)+t;break;case 2592:case 3360:return rN+rG(t,"template-","")+t;case 4384:case 3616:if(n&&n.some(function(e,t){return r=t,rq(e.props,/grid-\w+-end/)}))return~rW(t+(n=n[r].value),"span",0)?t:rN+rG(t,"-start","")+t+rN+"grid-row-span:"+(~rW(n,"span",0)?rq(n,/\d+/):rq(n,/\d+/)-rq(t,/\d+/))+";";return rN+rG(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(e){return rq(e.props,/grid-\w+-start/)})?t:rN+rG(rG(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return rG(t,/(.+)-inline(.+)/,rM+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rK(t)-1-r>6)switch(rX(t,r+1)){case 109:if(45!==rX(t,r+4))break;case 102:return rG(t,/(.+:)(.+)-([^]+)/,"$1"+rM+"$2-$3$1"+rR+(108==rX(t,r+3)?"$3":"$2-$3"))+t;case 115:return~rW(t,"stretch",0)?e(rG(t,"stretch","fill-available"),r,n)+t:t}break;case 5152:case 5920:return rG(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,n,o,i,a,l){return rN+r+":"+n+l+(o?rN+r+"-span:"+(i?a:a-n)+l:"")+t});case 4949:if(121===rX(t,r+6))return rG(t,":",":"+rM)+t;break;case 6444:switch(rX(t,45===rX(t,14)?18:11)){case 120:return rG(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+rM+(45===rX(t,14)?"inline-":"")+"box$3$1"+rM+"$2$3$1"+rN+"$2box$3")+t;case 100:return rG(t,":",":"+rN)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return rG(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case rH:return r0([r7(e,{value:rG(e.value,"@","@"+rM)})],n);case rF:if(e.length){var o,i;return o=r=e.props,i=function(t){switch(rq(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ne(r7(e,{props:[rG(t,/:(read-\w+)/,":"+rR+"$1")]})),ne(r7(e,{props:[t]})),rY(e,{props:rQ(r,n)});break;case"::placeholder":ne(r7(e,{props:[rG(t,/:(plac\w+)/,":"+rM+"input-$1")]})),ne(r7(e,{props:[rG(t,/:(plac\w+)/,":"+rR+"$1")]})),ne(r7(e,{props:[rG(t,/:(plac\w+)/,rN+"input-$1")]})),ne(r7(e,{props:[t]})),rY(e,{props:rQ(r,n)})}return""},o.map(i).join("")}}}var ns=/"[^"]+"|'[^']+'|url\([^)]+\)|(\d*\.?\d+)px/g,nc=function(){return function(e){e.type===rU&&e.value.startsWith("backdrop-filter")&&(e.return="".concat(rM).concat(e.props,":").concat(e.children,";").concat(e.props,":").concat(e.children,";"))}};function nu(){for(var e,t,r,n,o,i,a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];if(!l[0])return"";var c="";return r0((o=function e(t,r,n,o,i,a,l,s,c){for(var u,d,f,p,b=0,g=0,h=l,v=0,m=0,y=0,x=1,w=1,k=1,S=0,A="",O=i,C=a,E=o,z=A;w;)switch(y=S,S=nt()){case 40:if(108!=y&&58==rX(z,h-1)){-1!=rW(z+=rG(no(S),"&","&\f"),"&\f",rB(b?s[b-1]:0))&&(k=-1);break}case 34:case 39:case 91:z+=no(S);break;case 9:case 10:case 13:case 32:z+=function(e){for(;r6=nr();)if(r6<33)nt();else break;return nn(e)>2||nn(r6)>3?"":" "}(y);break;case 92:z+=function(e,t){for(var r;--t&&nt()&&!(r6<48)&&!(r6>102)&&(!(r6>57)||!(r6<65))&&(!(r6>70)||!(r6<97)););return r=r5+(t<6&&32==nr()&&32==nt()),rZ(r8,e,r)}(r5-1,7);continue;case 47:switch(nr()){case 42:case 47:rJ((u=function(e,t){for(;nt();)if(e+r6===57)break;else if(e+r6===84&&47===nr())break;return"/*"+rZ(r8,t,r5-1)+"*"+rV(47===e?e:nt())}(nt(),r5),d=r,f=n,p=c,r9(u,d,f,rD,rV(r6),rZ(u,2,-2),0,p)),c),(5==nn(y||1)||5==nn(nr()||1))&&rK(z)&&" "!==rZ(z,-1,void 0)&&(z+=" ");break;default:z+="/"}break;case 123*x:s[b++]=rK(z)*k;case 125*x:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+g:-1==k&&(z=rG(z,/\f/g,"")),m>0&&(rK(z)-h||0===x&&47===y)&&rJ(m>32?na(z+";",o,n,h-1,c):na(rG(z," ","")+";",o,n,h-2,c),c);break;case 59:z+=";";default:if(rJ(E=ni(z,r,n,b,g,i,s,A,O=[],C=[],h,a),a),123===S)if(0===g)e(z,r,E,E,O,a,h,s,C);else{switch(v){case 99:if(110===rX(z,3))break;case 108:if(97===rX(z,2))break;default:g=0;case 100:case 109:case 115:}g?e(t,E,E,o&&rJ(ni(t,E,E,0,0,i,s,A,i,O=[],h,C),C),i,C,h,s,o?O:C):e(z,E,E,E,[""],C,0,s,C)}}b=g=m=0,x=k=1,A=z="",h=l;break;case 58:h=1+rK(z),m=y;default:if(x<1){if(123==S)--x;else if(125==S&&0==x++&&125==(r6=r5>0?rX(r8,--r5):0,r3--,10===r6&&(r3=1,r2--),r6))continue}switch(z+=rV(S),S*x){case 38:k=g>0?1:(z+="\f",-1);break;case 44:s[b++]=(rK(z)-1)*k,k=1;break;case 64:45===nr()&&(z+=no(nt())),v=nr(),g=h=rK(A=z+=function(e){for(;!nn(nr());)nt();return rZ(r8,e,r5)}(r5)),S++;break;case 45:45===y&&2==rK(z)&&(x=0)}}return a}("",null,null,null,[""],(n=r=function(e){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var t,r=!0,n="";ek=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,n+=r_(void 0,void 0,o)):n+=o[0];for(var i=1;i<e.length;i++)n+=r_(void 0,void 0,e[i]),r&&(n+=o[i]);r$.lastIndex=0;for(var a="";null!==(t=r$.exec(n));)a+="-"+t[1];return{name:function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(n)+a,styles:n,next:ek}}(l).styles,r2=r3=1,r4=rK(r8=n),r5=0,r=[]),0,[0],r),r8="",o),(t=(e=[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.remSize,r=void 0===t?16:t,n=e.allowList,o=e.blockList;return function(e){e.type===rU&&e.value.match(ns)&&(n&&!n.includes(e.props)||o&&o.includes(e.props)||(e.return="".concat(e.props,":").concat(e.children.replace(ns,function(e,t){return t?"".concat(Number(t)/r,"rem"):e}),";")))}}(),nl,nc(),r1,(i=function(e){c+=e},function(e){!e.root&&(e=e.return)&&i(e)})]).length,function(r,n,o,i){for(var a="",l=0;l<t;l++)a+=e[l](r,n,o,i)||"";return a})),c}function nd(){var e=new rL({key:"n-global",container:document.head}),t=nu.apply(void 0,arguments);return e.insert(t),e.flush}function nf(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function np(e){if(e)try{return JSON.parse(e)}catch(t){return e}}function nb(e,t,r,n){if(null==r||!1===r)return e.removeAttribute(t);let o=n?JSON.stringify(r):r;e.__updating[t]=!0,"true"===o&&(o=""),e.setAttribute(t,o),Promise.resolve().then(()=>delete e.__updating[t])}function ng(e){return null!=e&&("object"==typeof e||"function"==typeof e)}function nh(){return t}function nv(){Object.defineProperty(t,"renderRoot",{value:t})}function nm(e,t){if(e.hot){function r(e){e&&e instanceof Error||function e(t,r){r(t),t.shadowRoot&&e(t.shadowRoot,r);let n=t.firstChild;for(;n;)1===n.nodeType&&e(n,r),n=n.nextSibling}(document.body,e=>e.localName===t&&setTimeout(()=>(function(e){let t=null;for(;t=e.__releaseCallbacks.pop();)t(e);delete e.__initialized,e.renderRoot.textContent="",e.connectedCallback()})(e),0))}e.hot.accept(r),e.hot.status&&"apply"===e.hot.status()&&r()}}function ny(e){return(t,r)=>{let{element:n}=r;return th(o=>{let i=function(e){let t=Object.keys(e),r={};for(let n=0;n<t.length;n++){let[o,i]=tv(e[t[n]]);Object.defineProperty(r,t[n],{get:o,set(e){i(()=>e)}})}return r}(t);n.addPropertyChangedCallback((e,t)=>i[e]=t),n.addReleaseCallback(()=>{n.renderRoot.textContent="",o()});let a=e(i,r);return rg(n.renderRoot,a)},function(e){if(e.assignedSlot&&e.assignedSlot._$owner)return e.assignedSlot._$owner;let t=e.parentNode;for(;t&&!t._$owner&&!(t.assignedSlot&&t.assignedSlot._$owner);)t=t.parentNode;return t&&t.assignedSlot?t.assignedSlot._$owner:e._$owner}(n))}}function nx(e,r,n){return 2==arguments.length&&(n=r,r={}),(function(e,r={},n={}){let{BaseElement:o=HTMLElement,extension:i,customElements:a=window.customElements}=n;return n=>{var l,s;let c;if(!e)throw Error("tag is required to register a Component");let u=a.get(e);return u?(u.prototype.Component=n,u):(l=o,c=Object.keys(s=r?Object.keys(r).reduce((e,t)=>{let n=r[t];return e[t]=ng(n)&&"value"in n?n:{value:n},e[t].attribute||(e[t].attribute=t.replace(/\.?([A-Z]+)/g,(e,t)=>"-"+t.toLowerCase()).replace("_","-").replace(/^-/,"")),e[t].parse="parse"in e[t]?e[t].parse:"string"!=typeof e[t].value,e},{}):{}),(u=class extends l{static get observedAttributes(){return c.map(e=>s[e].attribute)}constructor(){super(),this.__initialized=!1,this.__released=!1,this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props={}}connectedCallback(){var e,r;let n;if(this.__initialized)return;this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props=(e=this,n=Object.keys(s).reduce((e,t)=>{var r;let n=s[t];return e[t]=Object.assign({},n),ng(n.value)&&(r=n.value,"[object Function]"!==Object.prototype.toString.call(r))&&!Array.isArray(n.value)&&(e[t].value=Object.assign({},n.value)),Array.isArray(n.value)&&(e[t].value=n.value.slice(0)),e},{}),Object.keys(s).forEach(t=>{let r=n[t],o=e.getAttribute(r.attribute),i=e[t];null!=o&&(r.value=r.parse?np(o):o),null!=i&&(r.value=Array.isArray(i)?i.slice(0):i),r.reflect&&nb(e,r.attribute,r.value,!!r.parse),Object.defineProperty(e,t,{get:()=>r.value,set(e){let n=r.value;r.value=e,r.reflect&&nb(this,r.attribute,r.value,!!r.parse);for(let r=0,o=this.__propertyChangedCallbacks.length;r<o;r++)this.__propertyChangedCallbacks[r](t,e,n)},enumerable:!0,configurable:!0})}),n);let o=Object.keys(r=this.props).reduce((e,t)=>(e[t]=r[t].value,e),{}),i=this.Component,a=t;try{(t=this,this.__initialized=!0,"function"==typeof i&&0===i.toString().indexOf("class"))?new i(o,{element:this}):i(o,{element:this})}finally{t=a}}async disconnectedCallback(){if(await Promise.resolve(),this.isConnected)return;this.__propertyChangedCallbacks.length=0;let e=null;for(;e=this.__releaseCallbacks.pop();)e(this);delete this.__initialized,this.__released=!0}attributeChangedCallback(e,t,r){if(this.__initialized&&!this.__updating[e]&&(e=this.lookupProp(e))in s){if(null!=r||this[e])this[e]=s[e].parse?np(r):r}}lookupProp(e){if(s)return c.find(t=>e===t||e===s[t].attribute)}get renderRoot(){return this.shadowRoot||this.attachShadow({mode:"open"})}addReleaseCallback(e){this.__releaseCallbacks.push(e)}addPropertyChangedCallback(e){this.__propertyChangedCallbacks.push(e)}}).prototype.Component=n,u.prototype.registeredTag=e,a.define(e,u,i),u)}})(e,r)(ny(n))}Object.defineProperty(nc,"name",{value:"prefixBackdropFilter"}),Symbol("element-context");var nw=((g={}).small="small",g.normal="normal",g.large="large",g),nk=((h={}).normal="normal",h.success="success",h.warning="warning",h.error="error",h.info="info",h.primary="primary",h),nS=((v={}).label="label",v.value="value",v.options="options",v.children="children",v.icon="icon",v.suffix="suffix",v.title="title",v.subTitle="subTitle",v.key="key",v.name="name",v);function nA(e,t){t.forEach(function(t){var r=e[t];e.removeAttribute(t.replace(/([A-Z])/g,"-$1").toLowerCase()),e[t]=r})}function nO(e){return e[3]&&e[3]<1?"hsva(".concat(e[0],", ").concat(e[1],"%, ").concat(e[2],"%, ").concat(e[3],")"):"hsv(".concat(e[0],", ").concat(e[1],"%, ").concat(e[2],"%)")}function nC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nE(e){var t,r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return nC(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nC(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),n=r[0],o=r[1],i=r[2],a=r[3],l=n/255,s=o/255,c=i/255,u=0,d=Math.min(l,s,c),f=Math.max(l,s,c),p=f-d;if(0===p)u=t=0;else{t=p/f;var
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1],o=t[2],i=t[3],a=void 0===i?1:i,l=r/360*6,s=n/100,c=o/100,u=Math.floor(l),d=l-u,f=c*(1-s),p=c*(1-d*s),
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("NekoUI",[],t):"object"==typeof exports?exports.NekoUI=t():e.NekoUI=t()}(self,()=>(()=>{var e={643(e,t,r){"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(904),o=r.n(n);r(22),r(191),r(832),r(479),r(561),r(608),r(386),r(515),r(874),r(759),r(942),r(601),r(656),r(101),r(398),r(70),r(921),r(100),r(931),r(299),r(153);let i=o()},21(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="week",i="month",a="quarter",l="year",s="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},p="en",g={};g[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var b="$isDayjsObject",h=function(e){return e instanceof x||!(!e||!e[b])},v=function e(t,r,n){var o;if(!t)return p;if("string"==typeof t){var i=t.toLowerCase();g[i]&&(o=i),r&&(g[i]=r,o=i);var a=t.split("-");if(!o&&a.length>1)return e(a[0])}else{var l=t.name;g[l]=t,o=l}return!n&&o&&(p=o),o||!n&&p},m=function(e,t){if(h(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new x(r)},y={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,i),a=r-o<0,l=t.clone().add(n+(a?-1:1),i);return+(-(n+(r-o)/(a?o-l:l-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:i,y:l,w:o,d:"day",D:s,h:n,m:r,s:t,ms:e,Q:a})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};y.l=v,y.i=h,y.w=function(e,t){return m(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var x=function(){function f(e){this.$L=v(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var p=f.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(u);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return y},p.isValid=function(){return this.$d.toString()!==c},p.isSame=function(e,t){var r=m(e);return this.startOf(t)<=r&&r<=this.endOf(t)},p.isAfter=function(e,t){return m(e)<this.startOf(t)},p.isBefore=function(e,t){return this.endOf(t)<m(e)},p.$g=function(e,t,r){return y.u(e)?this[t]:this.set(r,e)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,a){var c=this,u=!!y.u(a)||a,d=y.p(e),f=function(e,t){var r=y.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?r:r.endOf("day")},p=function(e,t){return y.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},g=this.$W,b=this.$M,h=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case l:return u?f(1,0):f(31,11);case i:return u?f(1,b):f(0,b+1);case o:var m=this.$locale().weekStart||0,x=(g<m?g+7:g)-m;return f(u?h-x:h+(6-x),b);case"day":case s:return p(v+"Hours",0);case n:return p(v+"Minutes",1);case r:return p(v+"Seconds",2);case t:return p(v+"Milliseconds",3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(o,a){var c,u=y.p(o),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[s]=d+"Date",c[i]=d+"Month",c[l]=d+"FullYear",c[n]=d+"Hours",c[r]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],p="day"===u?this.$D+(a-this.$W):a;if(u===i||u===l){var g=this.clone().set(s,1);g.$d[f](p),g.init(),this.$d=g.set(s,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.get=function(e){return this[y.p(e)]()},p.add=function(e,a){var s,c=this;e=Number(e);var u=y.p(a),d=function(t){var r=m(c);return y.w(r.date(r.date()+Math.round(t*e)),c)};if(u===i)return this.set(i,this.$M+e);if(u===l)return this.set(l,this.$y+e);if("day"===u)return d(1);if(u===o)return d(7);var f=((s={})[r]=6e4,s[n]=36e5,s[t]=1e3,s)[u]||1,p=this.$d.getTime()+e*f;return y.w(p,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=y.z(this),i=this.$H,a=this.$m,l=this.$M,s=r.weekdays,u=r.months,f=r.meridiem,p=function(e,r,o,i){return e&&(e[r]||e(t,n))||o[r].slice(0,i)},g=function(e){return y.s(i%12||12,e,"0")},b=f||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return y.s(t.$y,4,"0");case"M":return l+1;case"MM":return y.s(l+1,2,"0");case"MMM":return p(r.monthsShort,l,u,3);case"MMMM":return p(u,l);case"D":return t.$D;case"DD":return y.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return p(r.weekdaysMin,t.$W,s,2);case"ddd":return p(r.weekdaysShort,t.$W,s,3);case"dddd":return s[t.$W];case"H":return String(i);case"HH":return y.s(i,2,"0");case"h":return g(1);case"hh":return g(2);case"a":return b(i,a,!0);case"A":return b(i,a,!1);case"m":return String(a);case"mm":return y.s(a,2,"0");case"s":return String(t.$s);case"ss":return y.s(t.$s,2,"0");case"SSS":return y.s(t.$ms,3,"0");case"Z":return o}return null}(e)||o.replace(":","")})},p.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},p.diff=function(e,s,c){var u,d=this,f=y.p(s),p=m(e),g=(p.utcOffset()-this.utcOffset())*6e4,b=this-p,h=function(){return y.m(d,p)};switch(f){case l:u=h()/12;break;case i:u=h();break;case a:u=h()/3;break;case o:u=(b-g)/6048e5;break;case"day":u=(b-g)/864e5;break;case n:u=b/36e5;break;case r:u=b/6e4;break;case t:u=b/1e3;break;default:u=b}return c?u:y.a(u)},p.daysInMonth=function(){return this.endOf(i).$D},p.$locale=function(){return g[this.$L]},p.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=v(e,t,!0);return n&&(r.$L=n),r},p.clone=function(){return y.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},f}(),w=x.prototype;return m.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",l],["$D",s]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),m.extend=function(e,t){return e.$i||(e(t,x,m),e.$i=!0),m},m.locale=v,m.isDayjs=h,m.unix=function(e){return m(1e3*e)},m.en=g[p],m.Ls=g,m.p={},m}()},453(e,t,r){e.exports=function(e){"use strict";var t={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,t){return"W"===t?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,t){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1100?"上午":r<1300?"中午":r<1800?"下午":"晚上"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(r(21))},12(e){e.exports=function(e,t,r){var n=t.prototype,o=function(e){return e&&(e.indexOf?e:e.s)},i=function(e,t,r,n,i){var a=e.name?e:e.$locale(),l=o(a[t]),s=o(a[r]),c=l||s.map(function(e){return e.slice(0,n)});if(!i)return c;var u=a.weekStart;return c.map(function(e,t){return c[(t+(u||0))%7]})},a=function(){return r.Ls[r.locale()]},l=function(e,t){return e.formats[t]||e.formats[t.toUpperCase()].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,r){return t||r.slice(1)})},s=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):i(e,"months")},monthsShort:function(t){return t?t.format("MMM"):i(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):i(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):i(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):i(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return l(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};n.localeData=function(){return s.bind(this)()},r.localeData=function(){var e=a();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return l(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return i(a(),"months")},r.monthsShort=function(){return i(a(),"monthsShort","months",3)},r.weekdays=function(e){return i(a(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return i(a(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return i(a(),"weekdaysMin","weekdays",2,e)}}},22(){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},191(){Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},832(){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},479(){var e,t,r;e=Prism,t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])},561(){var e,t,r;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(e=Prism).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(r=e.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))},608(){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,r=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),n=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return n}),i={pattern:RegExp(n),greedy:!0},a={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function l(e,t){return RegExp(e=e.replace(/<OPT>/g,function(){return o}).replace(/<SP>/g,function(){return r}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:l(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:l(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:l(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:a,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:a},e.languages.dockerfile=e.languages.docker}(Prism)},386(){Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}},515(){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},874(){Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},759(){!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return RegExp(e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},l=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===a(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:a(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var s=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(s+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(s=a(t[n-1])+s,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&l(o.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&l(e.tokens)})}(Prism)},601(){Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})},656(){Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},153(){Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}},101(){var e,t,r,n,o,i;e=Prism,t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},o=RegExp((n="(?:[^\\\\-]|"+(r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+n),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:r}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":i}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}},398(){for(var e=Prism,t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string},70(){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},921(){Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*")+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})},100(){var e=Prism,t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function r(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(r(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(r(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}},942(){var e,t,r;t=(e=Prism).util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(r=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0},931(){var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript},299(){!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return n}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(i),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},904(e){var t,r,n=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},o={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,i;switch(r=r||{},o.util.type(t)){case"Object":if(r[i=o.util.objId(t)])return r[i];for(var a in n={},r[i]=n,t)t.hasOwnProperty(a)&&(n[a]=e(t[a],r));return n;case"Array":if(r[i=o.util.objId(t)])return r[i];return n=[],r[i]=n,t.forEach(function(t,o){n[o]=e(t,r)}),n;default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className);if(r)return r[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("u"<typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var o=e.classList;if(o.contains(t))return!0;if(o.contains(n))return!1;e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=o.util.clone(o.languages[e]);for(var n in t)r[n]=t[n];return r},insertBefore:function(e,t,r,n){var i=(n=n||o.languages)[e],a={};for(var l in i)if(i.hasOwnProperty(l)){if(l==t)for(var s in r)r.hasOwnProperty(s)&&(a[s]=r[s]);r.hasOwnProperty(l)||(a[l]=i[l])}var c=n[e];return n[e]=a,o.languages.DFS(o.languages,function(t,r){r===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,r,n,i){i=i||{};var a=o.util.objId;for(var l in t)if(t.hasOwnProperty(l)){r.call(t,l,t[l],n||l);var s=t[l],c=o.util.type(s);"Object"!==c||i[a(s)]?"Array"!==c||i[a(s)]||(i[a(s)]=!0,e(s,r,l,i)):(i[a(s)]=!0,e(s,r,null,i))}}},plugins:{},highlightAll:function(e,t){o.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var i,a=0;i=n.elements[a++];)o.highlightElement(i,!0===t,n.callback)},highlightElement:function(t,r,n){var i=o.util.getLanguage(t),a=o.languages[i];o.util.setLanguage(t,i);var l=t.parentElement;l&&"pre"===l.nodeName.toLowerCase()&&o.util.setLanguage(l,i);var s=t.textContent,c={element:t,language:i,grammar:a,code:s};function u(e){c.highlightedCode=e,o.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,o.hooks.run("after-highlight",c),o.hooks.run("complete",c),n&&n.call(c.element)}if(o.hooks.run("before-sanity-check",c),(l=c.element.parentElement)&&"pre"===l.nodeName.toLowerCase()&&!l.hasAttribute("tabindex")&&l.setAttribute("tabindex","0"),!c.code){o.hooks.run("complete",c),n&&n.call(c.element);return}if(o.hooks.run("before-highlight",c),!c.grammar)return void u(o.util.encode(c.code));if(r&&e.Worker){var d=new Worker(o.filename);d.onmessage=function(e){u(e.data)},d.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else u(o.highlight(c.code,c.grammar,c.language))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r};if(o.hooks.run("before-tokenize",n),!n.grammar)throw Error('The language "'+n.language+'" has no grammar.');return n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),i.stringify(o.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest;if(r){for(var n in r)t[n]=r[n];delete t.rest}var c=new l;return s(c,c.head,e),function e(t,r,n,l,c,u){for(var d in n)if(n.hasOwnProperty(d)&&n[d]){var f=n[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(u&&u.cause==d+","+p)return;var g=f[p],b=g.inside,h=!!g.lookbehind,v=!!g.greedy,m=g.alias;if(v&&!g.pattern.global){var y=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,y+"g")}for(var x=g.pattern||g,w=l.next,k=c;w!==r.tail&&(!u||!(k>=u.reach));k+=w.value.length,w=w.next){var S,A=w.value;if(r.length>t.length)return;if(!(A instanceof i)){var O=1;if(v){if(!(S=a(x,k,t,h))||S.index>=t.length)break;var C=S.index,E=S.index+S[0].length,z=k;for(z+=w.value.length;C>=z;)z+=(w=w.next).value.length;if(z-=w.value.length,k=z,w.value instanceof i)continue;for(var j=w;j!==r.tail&&(z<E||"string"==typeof j.value);j=j.next)O++,z+=j.value.length;O--,A=t.slice(k,z),S.index-=k}else if(!(S=a(x,0,A,h)))continue;var C=S.index,T=S[0],I=A.slice(0,C),P=A.slice(C+T.length),_=k+A.length;u&&_>u.reach&&(u.reach=_);var $=w.prev;if(I&&($=s(r,$,I),k+=I.length),function(e,t,r){for(var n=t.next,o=0;o<r&&n!==e.tail;o++)n=n.next;t.next=n,n.prev=t,e.length-=o}(r,$,O),w=s(r,$,new i(d,b?o.tokenize(T,b):T,m,T)),P&&s(r,w,P),O>1){var L={cause:d+","+p,reach:_};e(t,r,n,w.prev,k,L),u&&L.reach>u.reach&&(u.reach=L.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next;return t}(c)},hooks:{all:{},add:function(e,t){var r=o.hooks.all;r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=o.hooks.all[e];if(r&&r.length)for(var n,i=0;n=r[i++];)n(t)}},Token:i};function i(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function a(e,t,r,n){e.lastIndex=t;var o=e.exec(r);if(o&&n&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,r){var n=t.next,o={value:r,prev:t,next:n};return t.next=o,n.prev=o,e.length++,o}if(e.Prism=o,i.stringify=function e(t,r){if("string"==typeof t)return t;if(Array.isArray(t)){var n="";return t.forEach(function(t){n+=e(t,r)}),n}var i={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(i.classes,a):i.classes.push(a)),o.hooks.run("wrap",i);var l="";for(var s in i.attributes)l+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+l+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener&&(o.disableWorkerMessageHandler||e.addEventListener("message",function(t){var r=JSON.parse(t.data),n=r.language,i=r.code,a=r.immediateClose;e.postMessage(o.highlight(i,o.languages[n],n)),a&&e.close()},!1)),o;var c=o.util.currentScript();function u(){o.manual||o.highlightAll()}if(c&&(o.filename=c.src,c.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return o}("u">typeof window?window:"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=n),"u">typeof global&&(global.Prism=n),n.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["language-"+t]={pattern:/[\s\S]+/,inside:n.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},n.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(e,t){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:n.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml,t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css,(r=n.languages.markup)&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css")),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript,function(){if(void 0!==n&&"u">typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",r="loading",o="loaded",i="pre[data-src]:not(["+t+'="'+o+'"]):not(['+t+'="'+r+'"])';n.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),n.hooks.add("before-sanity-check",function(a){var l=a.element;if(l.matches(i)){a.code="",l.setAttribute(t,r);var s,c,u,d,f=l.appendChild(document.createElement("CODE"));f.textContent="Loading…";var p=l.getAttribute("data-src"),g=a.language;if("none"===g){var b=(/\.(\w+)$/.exec(p)||[,"none"])[1];g=e[b]||b}n.util.setLanguage(f,g),n.util.setLanguage(l,g);var h=n.plugins.autoloader;h&&h.loadLanguages(g),s=p,c=function(e){l.setAttribute(t,o);var r=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],o=t[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(l.getAttribute("data-range"));if(r){var i=e.split(/\r\n?|\n/g),a=r[0],s=null==r[1]?i.length:r[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),s<0&&(s+=i.length),s=Math.max(0,Math.min(s,i.length)),e=i.slice(a,s).join(`
|
|
2
|
+
`),l.hasAttribute("data-start")||l.setAttribute("data-start",String(a+1))}f.textContent=e,n.highlightElement(f)},u=function(e){l.setAttribute(t,"failed"),f.textContent=e},(d=new XMLHttpRequest).open("GET",s,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?c(d.responseText):d.status>=400?u((e=d.status,"✖ Error "+e+" while fetching file: "+d.statusText)):u("✖ Error: File does not exist or is empty"))},d.send(null)}}),n.plugins.fileHighlight={highlight:function(e){for(var t,r=(e||document).querySelectorAll(i),o=0;t=r[o++];)n.highlightElement(t)}};var a=!1;n.fileHighlight=function(){a||(a=!0),n.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.g.importScripts&&(n=r.g.location+"");var n,o=r.g.document;if(!n&&o&&(o.currentScript&&"SCRIPT"===o.currentScript.tagName.toUpperCase()&&(n=o.currentScript.src),!n)){var i=o.getElementsByTagName("script");if(i.length)for(var a=i.length-1;a>-1&&(!n||!/^http(s?):/.test(n));)n=i[a--].src}if(!n)throw Error("Automatic publicPath is not supported in this browser");r.p=n=n.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var l={};return(()=>{"use strict";let e,t;r.r(l),r.d(l,{Avatar:()=>oO,AvatarGroup:()=>ix,BackTop:()=>iT,Button:()=>iG,CaptureScreen:()=>ao,Carousel:()=>ah,Checkbox:()=>aP,Code:()=>a0,Collapse:()=>a8,ColorPalette:()=>sl,ColorPicker:()=>sm,Cron:()=>ut,DatePicker:()=>uj,Dropdown:()=>lC,Empty:()=>oJ,FieldName:()=>nS,GlassPanel:()=>uU,HighlightText:()=>uX,Img:()=>ob,Input:()=>lD,InputNumber:()=>lX,Marquee:()=>u4,Md:()=>di,Menu:()=>lg,Modal:()=>dL,OpenState:()=>d_,Pagination:()=>d8,Popover:()=>il,Prism:()=>d9.default,Provider:()=>fr,QrCode:()=>f_,Radio:()=>sC,Segmented:()=>fY,Select:()=>s1,Size:()=>nw,Skeleton:()=>f0,Spin:()=>n8,Status:()=>nk,Switch:()=>f8,Table:()=>pS,Tabs:()=>cl,Tag:()=>sM,Tree:()=>pM,Typography:()=>oY,css:()=>nu,customElement:()=>nx,cx:()=>nf,dayjs:()=>cU,fromSchema:()=>u$,generateColor:()=>nX,getCurrentElement:()=>nh,getOptions:()=>aw,hot:()=>nm,icon:()=>i_,injectGlobal:()=>nd,mdStyle:()=>u5,noShadowDOM:()=>nv,notification:()=>dX,registry:()=>pD,theme:()=>nQ,toneColor:()=>nH,withSolid:()=>ny});let n={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return o(this.context.count)},getNextContextId(){return o(this.context.count++)}};function o(e){let t=String(e),r=t.length-1;return n.context.id+(r?String.fromCharCode(96+r):"")+t}let i=Symbol("solid-proxy"),a="function"==typeof Proxy,s=Symbol("solid-track");Symbol("solid-dev-component");let c={equals:(e,t)=>e===t},u=tL,d={owned:null,cleanups:null,context:null,owner:null},f={};var p,g,b,h,v,m,y,x,w,k,S,A,O,C,E,z,j,T,I,P,_,$,L,N,R,M,D,F,U,B,H,V,Y,q,G,W,X,Z,K,J,Q,ee,et,er,en,eo,ei,ea,el,es,ec,eu,ed,ef,ep,eg,eb,eh,ev,em,ey,ex,ew,ek,eS,eA,eO,eC,eE,ez,ej,eT,eI,eP,e_,e$,eL,eN,eR,eM,eD,eF,eU,eB,eH,eV,eY,eq,eG,eW,eX,eZ,eK,eJ,eQ,e0,e1,e2,e3,e4,e5,e6,e8,e9,e7,te,tt,tr,tn,to,ti,ta,tl,ts,tc,tu=null;let td=null,tf=null,tp=null,tg=null,tb=0;function th(e,t){let r=tf,n=tu,o=0===e.length,i=void 0===t?n:t,a=o?d:{owned:null,cleanups:null,context:i?i.context:null,owner:i},l=o?e:()=>e(()=>tk(()=>tM(a)));tu=a,tf=null;try{return t$(l,!0)}finally{tf=r,tu=n}}function tv(e,t){let r={value:e,observers:null,observerSlots:null,comparator:(t=t?Object.assign({},c,t):c).equals||void 0};return[tz.bind(r),e=>("function"==typeof e&&(e=e(td&&td.running&&td.sources.has(r)?r.tValue:r.value)),tj(r,e))]}function tm(e,t,r){tT(tP(e,t,!1,1))}function ty(t,r,n){u=tN;let o=tP(t,r,!1,1),i=e&&tE(e);i&&(o.suspense=i),n&&n.render||(o.user=!0),tg?tg.push(o):tT(o)}function tx(e,t,r){r=r?Object.assign({},c,r):c;let n=tP(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=r.equals||void 0,tT(n),tz.bind(n)}function tw(e){return t$(e,!1)}function tk(e){if(null===tf)return e();let t=tf;tf=null;try{return e()}finally{tf=t}}function tS(e){ty(()=>tk(e))}function tA(e){return null===tu||(null===tu.cleanups?tu.cleanups=[e]:tu.cleanups.push(e)),e}function tO(e,t){let r=tu,n=tf;tu=e,tf=null;try{return t$(t,!0)}catch(e){tU(e)}finally{tu=r,tf=n}}let[,tC]=tv(!1);function tE(e){let t;return tu&&tu.context&&void 0!==(t=tu.context[e.id])?t:e.defaultValue}function tz(){let e=td&&td.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===1)tT(this);else{let e=tp;tp=null,t$(()=>tR(this),!1),tp=e}if(tf){let e=this.observers?this.observers.length:0;tf.sources?(tf.sources.push(this),tf.sourceSlots.push(e)):(tf.sources=[this],tf.sourceSlots=[e]),this.observers?(this.observers.push(tf),this.observerSlots.push(tf.sources.length-1)):(this.observers=[tf],this.observerSlots=[tf.sources.length-1])}return e&&td.sources.has(this)?this.tValue:this.value}function tj(e,t,r){let n=td&&td.running&&td.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(n,t)){if(td){let n=td.running;(n||!r&&td.sources.has(e))&&(td.sources.add(e),e.tValue=t),n||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&t$(()=>{for(let t=0;t<e.observers.length;t+=1){let r=e.observers[t],n=td&&td.running;n&&td.disposed.has(r)||((n?r.tState:r.state)||(r.pure?tp.push(r):tg.push(r),r.observers&&function e(t){let r=td&&td.running;for(let n=0;n<t.observers.length;n+=1){let o=t.observers[n];(r?o.tState:o.state)||(r?o.tState=2:o.state=2,o.pure?tp.push(o):tg.push(o),o.observers&&e(o))}}(r)),n?r.tState=1:r.state=1)}if(tp.length>1e6)throw tp=[],Error()},!1)}return t}function tT(e){if(!e.fn)return;tM(e);let t=tb;tI(e,td&&td.running&&td.sources.has(e)?e.tValue:e.value,t),td&&!td.running&&td.sources.has(e)&&queueMicrotask(()=>{t$(()=>{td&&(td.running=!0),tf=tu=e,tI(e,e.tValue,t),tf=tu=null},!1)})}function tI(e,t,r){let n,o=tu,i=tf;tf=tu=e;try{n=e.fn(t)}catch(t){return e.pure&&(td&&td.running?(e.tState=1,e.tOwned&&e.tOwned.forEach(tM),e.tOwned=void 0):(e.state=1,e.owned&&e.owned.forEach(tM),e.owned=null)),e.updatedAt=r+1,tU(t)}finally{tf=i,tu=o}(!e.updatedAt||e.updatedAt<=r)&&(null!=e.updatedAt&&"observers"in e?tj(e,n,!0):td&&td.running&&e.pure?(td.sources.add(e),e.tValue=n):e.value=n,e.updatedAt=r)}function tP(e,t,r,n=1,o){let i={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:tu,context:tu?tu.context:null,pure:r};return td&&td.running&&(i.state=0,i.tState=n),null===tu||tu!==d&&(td&&td.running&&tu.pure?tu.tOwned?tu.tOwned.push(i):tu.tOwned=[i]:tu.owned?tu.owned.push(i):tu.owned=[i]),i}function t_(e){let t=td&&td.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===2)return tR(e);if(e.suspense&&tk(e.suspense.inFallback))return e.suspense.effects.push(e);let r=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<tb);){if(t&&td.disposed.has(e))return;(t?e.tState:e.state)&&r.push(e)}for(let n=r.length-1;n>=0;n--){if(e=r[n],t){let t=e,o=r[n+1];for(;(t=t.owner)&&t!==o;)if(td.disposed.has(t))return}if((t?e.tState:e.state)===1)tT(e);else if((t?e.tState:e.state)===2){let t=tp;tp=null,t$(()=>tR(e,r[0]),!1),tp=t}}}function t$(e,t){if(tp)return e();let r=!1;t||(tp=[]),tg?r=!0:tg=[],tb++;try{let t=e();return function(e){let t;if(tp&&(tL(tp),tp=null),e)return;if(td)if(td.promises.size||td.queue.size){if(td.running){td.running=!1,td.effects.push.apply(td.effects,tg),tg=null,tC(!0);return}}else{let e=td.sources,r=td.disposed;for(let e of(tg.push.apply(tg,td.effects),t=td.resolve,tg))"tState"in e&&(e.state=e.tState),delete e.tState;td=null,t$(()=>{for(let e of r)tM(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,r=t.owned.length;e<r;e++)tM(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}tC(!1)},!1)}let r=tg;tg=null,r.length&&t$(()=>u(r),!1),t&&t()}(r),t}catch(e){r||(tg=null),tp=null,tU(e)}}function tL(e){for(let t=0;t<e.length;t++)t_(e[t])}function tN(e){let t,r=0;for(t=0;t<e.length;t++){let n=e[t];n.user?e[r++]=n:t_(n)}if(n.context){if(n.count){n.effects||(n.effects=[]),n.effects.push(...e.slice(0,r));return}n.context=void 0}for(n.effects&&(n.done||!n.count)&&(e=[...n.effects,...e],r+=n.effects.length,delete n.effects),t=0;t<r;t++)t_(e[t])}function tR(e,t){let r=td&&td.running;r?e.tState=0:e.state=0;for(let n=0;n<e.sources.length;n+=1){let o=e.sources[n];if(o.sources){let e=r?o.tState:o.state;1===e?o!==t&&(!o.updatedAt||o.updatedAt<tb)&&t_(o):2===e&&tR(o,t)}}}function tM(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),r=e.sourceSlots.pop(),n=t.observers;if(n&&n.length){let e=n.pop(),o=t.observerSlots.pop();r<n.length&&(e.sourceSlots[o]=r,n[r]=e,t.observerSlots[r]=o)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)tM(e.tOwned[t]);delete e.tOwned}if(td&&td.running&&e.pure)!function e(t,r){if(r||(t.tState=0,td.disposed.add(t)),t.owned)for(let r=0;r<t.owned.length;r++)e(t.owned[r])}(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)tM(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}td&&td.running?e.tState=0:e.state=0}function tD(e){return e instanceof Error?e:Error("string"==typeof e?e:"Unknown error",{cause:e})}function tF(e,t,r){try{for(let r of t)r(e)}catch(e){tU(e,r&&r.owner||null)}}function tU(e,t=tu){let r=tD(e);!0;throw r}let tB=Symbol("fallback");function tH(e){for(let t=0;t<e.length;t++)e[t]()}function tV(e,t){return tk(()=>e(t||{}))}function tY(){return!0}let tq={get:(e,t,r)=>t===i?r:e.get(t),has:(e,t)=>t===i||e.has(t),set:tY,deleteProperty:tY,getOwnPropertyDescriptor:(e,t)=>({configurable:!0,enumerable:!0,get:()=>e.get(t),set:tY,deleteProperty:tY}),ownKeys:e=>e.keys()};function tG(e){return(e="function"==typeof e?e():e)?e:{}}function tW(){for(let e=0,t=this.length;e<t;++e){let t=this[e]();if(void 0!==t)return t}}function tX(...e){let t=!1;for(let r=0;r<e.length;r++){let n=e[r];t=t||!!n&&i in n,e[r]="function"==typeof n?(t=!0,tx(n)):n}if(a&&t)return new Proxy({get(t){for(let r=e.length-1;r>=0;r--){let n=tG(e[r])[t];if(void 0!==n)return n}},has(t){for(let r=e.length-1;r>=0;r--)if(t in tG(e[r]))return!0;return!1},keys(){let t=[];for(let r=0;r<e.length;r++)t.push(...Object.keys(tG(e[r])));return[...new Set(t)]}},tq);let r={},n=Object.create(null);for(let t=e.length-1;t>=0;t--){let o=e[t];if(!o)continue;let i=Object.getOwnPropertyNames(o);for(let e=i.length-1;e>=0;e--){let t=i[e];if("__proto__"===t||"constructor"===t)continue;let a=Object.getOwnPropertyDescriptor(o,t);if(n[t]){let e=r[t];e&&(a.get?e.push(a.get.bind(o)):void 0!==a.value&&e.push(()=>a.value))}else n[t]=a.get?{enumerable:!0,configurable:!0,get:tW.bind(r[t]=[a.get.bind(o)])}:void 0!==a.value?a:void 0}}let o={},l=Object.keys(n);for(let e=l.length-1;e>=0;e--){let t=l[e],r=n[t];r&&r.get?Object.defineProperty(o,t,r):o[t]=r?r.value:void 0}return o}function tZ(e,...t){let r=t.length;if(a&&i in e){let n=r>1?t.flat():t[0],o=t.map(t=>new Proxy({get:r=>t.includes(r)?e[r]:void 0,has:r=>t.includes(r)&&r in e,keys:()=>t.filter(t=>t in e)},tq));return o.push(new Proxy({get:t=>n.includes(t)?void 0:e[t],has:t=>!n.includes(t)&&t in e,keys:()=>Object.keys(e).filter(e=>!n.includes(e))},tq)),o}let n=[];for(let e=0;e<=r;e++)n[e]={};for(let o of Object.getOwnPropertyNames(e)){let i=r;for(let e=0;e<t.length;e++)if(t[e].includes(o)){i=e;break}let a=Object.getOwnPropertyDescriptor(e,o);!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable?n[i][o]=a.value:Object.defineProperty(n[i],o,a)}return n}let tK=0;function tJ(){return n.context?n.getNextContextId():`cl-${tK++}`}let tQ=e=>`Stale read from <${e}>.`;function t0(e){let t="fallback"in e&&{fallback:()=>e.fallback};return tx(function(e,t,r={}){let n=[],o=[],i=[],a=0,l=t.length>1?[]:null;return tA(()=>tH(i)),()=>{let c=e()||[],u=c.length,d,f;return c[s],tk(()=>{let e,t,s,g,b,h,v,m,y;if(0===u)0!==a&&(tH(i),i=[],n=[],o=[],a=0,l&&(l=[])),r.fallback&&(n=[tB],o[0]=th(e=>(i[0]=e,r.fallback())),a=1);else if(0===a){for(f=0,o=Array(u);f<u;f++)n[f]=c[f],o[f]=th(p);a=u}else{for(s=Array(u),g=Array(u),l&&(b=Array(u)),h=0,v=Math.min(a,u);h<v&&n[h]===c[h];h++);for(v=a-1,m=u-1;v>=h&&m>=h&&n[v]===c[m];v--,m--)s[m]=o[v],g[m]=i[v],l&&(b[m]=l[v]);for(e=new Map,t=Array(m+1),f=m;f>=h;f--)y=c[f],d=e.get(y),t[f]=void 0===d?-1:d,e.set(y,f);for(d=h;d<=v;d++)y=n[d],void 0!==(f=e.get(y))&&-1!==f?(s[f]=o[d],g[f]=i[d],l&&(b[f]=l[d]),f=t[f],e.set(y,f)):i[d]();for(f=h;f<u;f++)f in s?(o[f]=s[f],i[f]=g[f],l&&(l[f]=b[f],l[f](f))):o[f]=th(p);o=o.slice(0,a=u),n=c.slice(0)}return o});function p(e){if(i[f]=e,l){let[e,r]=tv(f);return l[f]=r,t(c[f],e)}return t(c[f])}}}(()=>e.each,e.children,t||void 0))}function t1(e){let t="fallback"in e&&{fallback:()=>e.fallback};return tx(function(e,t,r={}){let n=[],o=[],i=[],a=[],l=0,c;return tA(()=>tH(i)),()=>{let u=e()||[],d=u.length;return u[s],tk(()=>{if(0===d)return 0!==l&&(tH(i),i=[],n=[],o=[],l=0,a=[]),r.fallback&&(n=[tB],o[0]=th(e=>(i[0]=e,r.fallback())),l=1),o;for(n[0]===tB&&(i[0](),i=[],n=[],o=[],l=0),c=0;c<d;c++)c<n.length&&n[c]!==u[c]?a[c](()=>u[c]):c>=n.length&&(o[c]=th(f));for(;c<n.length;c++)i[c]();return l=a.length=i.length=d,n=u.slice(0),o=o.slice(0,l)});function f(e){i[c]=e;let[r,n]=tv(u[c]);return a[c]=n,t(r,c)}}}(()=>e.each,e.children,t||void 0))}function t2(e){let t=e.keyed,r=tx(()=>e.when,void 0,void 0),n=t?r:tx(r,void 0,{equals:(e,t)=>!e==!t});return tx(()=>{let o=n();if(o){let i=e.children;return"function"==typeof i&&i.length>0?tk(()=>i(t?o:()=>{if(!tk(n))throw tQ("Show");return r()})):i}return e.fallback},void 0,void 0)}function t3(e){let t,r,n=(t=tx(()=>e.children),(r=tx(()=>(function e(t){if("function"==typeof t&&!t.length)return e(t());if(Array.isArray(t)){let r=[];for(let n=0;n<t.length;n++){let o=e(t[n]);Array.isArray(o)?r.push.apply(r,o):r.push(o)}return r}return t})(t()))).toArray=()=>{let e=r();return Array.isArray(e)?e:null!=e?[e]:[]},r),o=tx(()=>{let e=n(),t=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;e<t.length;e++){let n=e,o=t[e],i=r,a=tx(()=>i()?void 0:o.when,void 0,void 0),l=o.keyed?a:tx(a,void 0,{equals:(e,t)=>!e==!t});r=()=>i()||(l()?[n,a,o]:void 0)}return r});return tx(()=>{let t=o()();if(!t)return e.fallback;let[r,n,i]=t,a=i.children;return"function"==typeof a&&a.length>0?tk(()=>a(i.keyed?n():()=>{if(tk(o)()?.[0]!==r)throw tQ("Match");return n()})):a},void 0,void 0)}function t4(e){return e}let t5=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),t6=new Set(["innerHTML","textContent","innerText","children"]),t8=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),t9=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}}),t7=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),re=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),rt={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},rr=e=>tx(()=>e()),rn="_$DX_DELEGATE";function ro(e,t,r,n={}){let o;return th(n=>{o=n,t===document?e():rb(t,e(),t.firstChild?null:void 0,r)},n.owner),()=>{o(),t.textContent=""}}function ri(e,t,r,n){let o,i=()=>{let t=n?document.createElementNS("http://www.w3.org/1998/Math/MathML","template"):document.createElement("template");return t.innerHTML=e,r?t.content.firstChild.firstChild:n?t.firstChild:t.content.firstChild},a=t?()=>tk(()=>document.importNode(o||(o=i()),!0)):()=>(o||(o=i())).cloneNode(!0);return a.cloneNode=a,a}function ra(e,t=window.document){let r=t[rn]||(t[rn]=new Set);for(let n=0,o=e.length;n<o;n++){let o=e[n];r.has(o)||(r.add(o),t.addEventListener(o,ry))}}function rl(e,t,r){rh(e)||(null==r?e.removeAttribute(t):e.setAttribute(t,r))}function rs(e,t){rh(e)||(null==t?e.removeAttribute("class"):e.className=t)}function rc(e,t,r,n){if(n)Array.isArray(r)?(e[`$$${t}`]=r[0],e[`$$${t}Data`]=r[1]):e[`$$${t}`]=r;else if(Array.isArray(r)){let n=r[0];e.addEventListener(t,r[0]=t=>n.call(e,r[1],t))}else e.addEventListener(t,r,"function"!=typeof r&&r)}function ru(e,t,r={}){let n,o,i=Object.keys(t||{}),a=Object.keys(r);for(n=0,o=a.length;n<o;n++){let o=a[n];o&&"undefined"!==o&&!t[o]&&(rv(e,o,!1),delete r[o])}for(n=0,o=i.length;n<o;n++){let o=i[n],a=!!t[o];o&&"undefined"!==o&&r[o]!==a&&a&&(rv(e,o,!0),r[o]=a)}return r}function rd(e,t,r){let n,o;if(!t)return r?rl(e,"style"):t;let i=e.style;if("string"==typeof t)return i.cssText=t;for(o in"string"==typeof r&&(i.cssText=r=void 0),r||(r={}),t||(t={}),r)null==t[o]&&i.removeProperty(o),delete r[o];for(o in t)(n=t[o])!==r[o]&&(i.setProperty(o,n),r[o]=n);return r}function rf(e,t,r){null!=r?e.style.setProperty(t,r):e.style.removeProperty(t)}function rp(e,t={},r,n){let o={};return n||tm(()=>o.children=rx(e,t.children,o.children)),tm(()=>"function"==typeof t.ref&&rg(t.ref,e)),tm(()=>(function(e,t,r,n,o={},i=!1){for(let n in t||(t={}),o)if(!(n in t)){if("children"===n)continue;o[n]=rm(e,n,null,o[n],r,i,t)}for(let a in t){if("children"===a){n||rx(e,t.children);continue}let l=t[a];o[a]=rm(e,a,l,o[a],r,i,t)}})(e,t,r,!0,o,!0)),o}function rg(e,t,r){return tk(()=>e(t,r))}function rb(e,t,r,n){if(void 0===r||n||(n=[]),"function"!=typeof t)return rx(e,t,n,r);tm(n=>rx(e,t(),n,r),n)}function rh(e){return!!n.context&&!n.done&&(!e||e.isConnected)}function rv(e,t,r){let n=t.trim().split(/\s+/);for(let t=0,o=n.length;t<o;t++)e.classList.toggle(n[t],r)}function rm(e,t,r,n,o,i,a){var l,s,c,u;let d,f,p,g,b;if("style"===t)return rd(e,r,n);if("classList"===t)return ru(e,r,n);if(r===n)return n;if("ref"===t)i||r(e);else if("on:"===t.slice(0,3)){let o=t.slice(3);n&&e.removeEventListener(o,n,"function"!=typeof n&&n),r&&e.addEventListener(o,r,"function"!=typeof r&&r)}else if("oncapture:"===t.slice(0,10)){let o=t.slice(10);n&&e.removeEventListener(o,n,!0),r&&e.addEventListener(o,r,!0)}else if("on"===t.slice(0,2)){let o=t.slice(2).toLowerCase(),i=t7.has(o);if(!i&&n){let t=Array.isArray(n)?n[0]:n;e.removeEventListener(o,t)}(i||r)&&(rc(e,o,r,i),i&&ra([o]))}else if("attr:"===t.slice(0,5))rl(e,t.slice(5),r);else if("bool:"===t.slice(0,5))l=t.slice(5),rh(e)||(r?e.setAttribute(l,""):e.removeAttribute(l));else{let n;if((b="prop:"===t.slice(0,5))||(p=t6.has(t))||!o&&(s=t,c=e.tagName,(g="object"==typeof(n=t9[s])?n[c]?n.$:void 0:n)||(f=t5.has(t)))||(d=e.nodeName.includes("-")||"is"in a)){if(b)t=t.slice(5),f=!0;else if(rh(e))return r;"class"===t||"className"===t?rs(e,r):!d||f||p?e[g||t]=r:e[t.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())]=r}else{let n=o&&t.indexOf(":")>-1&&rt[t.split(":")[0]];n?(u=t,rh(e)||(null==r?e.removeAttributeNS(n,u):e.setAttributeNS(n,u,r))):rl(e,t8[t]||t,r)}}return r}function ry(e){if(n.registry&&n.events&&n.events.find(([t,r])=>r===e))return;let t=e.target,r=`$$${e.type}`,o=e.target,i=e.currentTarget,a=t=>Object.defineProperty(e,"target",{configurable:!0,value:t}),l=()=>{let n=t[r];if(n&&!t.disabled){let o=t[`${r}Data`];if(void 0!==o?n.call(t,o,e):n.call(t,e),e.cancelBubble)return}return t.host&&"string"!=typeof t.host&&!t.host._$host&&t.contains(e.target)&&a(t.host),!0},s=()=>{for(;l()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get:()=>t||document}),n.registry&&!n.done&&(n.done=_$HY.done=!0),e.composedPath){let r=e.composedPath();a(r[0]);for(let e=0;e<r.length-2&&(t=r[e],l());e++){if(t._$host){t=t._$host,s();break}if(t.parentNode===i)break}}else s();a(o)}function rx(e,t,r,n,o){let i=rh(e);if(i){r||(r=[...e.childNodes]);let t=[];for(let e=0;e<r.length;e++){let n=r[e];8===n.nodeType&&"!$"===n.data.slice(0,2)?n.remove():t.push(n)}r=t}for(;"function"==typeof r;)r=r();if(t===r)return r;let a=typeof t,l=void 0!==n;if(e=l&&r[0]&&r[0].parentNode||e,"string"===a||"number"===a){if(i||"number"===a&&(t=t.toString())===r)return r;if(l){let o=r[0];o&&3===o.nodeType?o.data!==t&&(o.data=t):o=document.createTextNode(t),r=rk(e,r,n,o)}else r=""!==r&&"string"==typeof r?e.firstChild.data=t:e.textContent=t}else if(null==t||"boolean"===a){if(i)return r;r=rk(e,r,n)}else if("function"===a)return tm(()=>{let o=t();for(;"function"==typeof o;)o=o();r=rx(e,o,r,n)}),()=>r;else if(Array.isArray(t)){let a=[],s=r&&Array.isArray(r);if(function e(t,r,n,o){let i=!1;for(let a=0,l=r.length;a<l;a++){let l=r[a],s=n&&n[t.length],c;if(null==l||!0===l||!1===l);else if("object"==(c=typeof l)&&l.nodeType)t.push(l);else if(Array.isArray(l))i=e(t,l,s)||i;else if("function"===c)if(o){for(;"function"==typeof l;)l=l();i=e(t,Array.isArray(l)?l:[l],Array.isArray(s)?s:[s])||i}else t.push(l),i=!0;else{let e=String(l);s&&3===s.nodeType&&s.data===e?t.push(s):t.push(document.createTextNode(e))}}return i}(a,t,r,o))return tm(()=>r=rx(e,a,r,n,!0)),()=>r;if(i){if(!a.length)return r;if(void 0===n)return r=[...e.childNodes];let t=a[0];if(t.parentNode!==e)return r;let o=[t];for(;(t=t.nextSibling)!==n;)o.push(t);return r=o}if(0===a.length){if(r=rk(e,r,n),l)return r}else s?0===r.length?rw(e,a,n):function(e,t,r){let n=r.length,o=t.length,i=n,a=0,l=0,s=t[o-1].nextSibling,c=null;for(;a<o||l<i;){if(t[a]===r[l]){a++,l++;continue}for(;t[o-1]===r[i-1];)o--,i--;if(o===a){let t=i<n?l?r[l-1].nextSibling:r[i-l]:s;for(;l<i;)e.insertBefore(r[l++],t)}else if(i===l)for(;a<o;)c&&c.has(t[a])||t[a].remove(),a++;else if(t[a]===r[i-1]&&r[l]===t[o-1]){let n=t[--o].nextSibling;e.insertBefore(r[l++],t[a++].nextSibling),e.insertBefore(r[--i],n),t[o]=r[i]}else{if(!c){c=new Map;let e=l;for(;e<i;)c.set(r[e],e++)}let n=c.get(t[a]);if(null!=n)if(l<n&&n<i){let s=a,u=1,d;for(;++s<o&&s<i&&null!=(d=c.get(t[s]))&&d===n+u;)u++;if(u>n-l){let o=t[a];for(;l<n;)e.insertBefore(r[l++],o)}else e.replaceChild(r[l++],t[a++])}else a++;else t[a++].remove()}}}(e,r,a):(r&&rk(e),rw(e,a));r=a}else if(t.nodeType){if(i&&t.parentNode)return r=l?[t]:t;if(Array.isArray(r)){if(l)return r=rk(e,r,n,t);rk(e,r,null,t)}else null!=r&&""!==r&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t);r=t}return r}function rw(e,t,r=null){for(let n=0,o=t.length;n<o;n++)e.insertBefore(t[n],r)}function rk(e,t,r,n){if(void 0===r)return e.textContent="";let o=n||document.createTextNode("");if(t.length){let n=!1;for(let i=t.length-1;i>=0;i--){let a=t[i];if(o!==a){let t=a.parentNode===e;n||i?t&&a.remove():t?e.replaceChild(o,a):e.insertBefore(o,r)}else n=!0}}else e.insertBefore(o,r);return[o]}function rS(e,t=!1,r){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e,{is:r})}function rA(e){let t,{useShadow:r}=e,o=document.createTextNode(""),i=tu,a=!!n.context;return ty(()=>{a&&(tu.user=a=!1),t||(t=tO(i,()=>tx(()=>e.children)));let n=e.mount||document.body;if(n instanceof HTMLHeadElement){let[e,r]=tv(!1);th(r=>rb(n,()=>e()?r():t(),null)),tA(()=>r(!0))}else{let i=rS(e.isSVG?"g":"div",e.isSVG),a=r&&i.attachShadow?i.attachShadow({mode:"open"}):i;Object.defineProperty(i,"_$host",{get:()=>o.parentNode,configurable:!0}),rb(a,t),n.appendChild(i),e.ref&&e.ref(i),tA(()=>n.removeChild(i))}},void 0,{render:!a}),o}function rO(e){let t,[,r]=tZ(e,["component"]);return t=tx(()=>e.component),tx(()=>{let e=t();switch(typeof e){case"function":return tk(()=>e(r));case"string":let o,i,a=re.has(e),l=n.context?rh()&&(o=n.registry.get(i=n.getNextContextId()))?(n.completed&&n.completed.add(o),n.registry.delete(i),o):(void 0)():rS(e,a,tk(()=>r.is));return rp(l,r,a),l}})}Symbol();var rC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},rE=/[A-Z]|^ms/g,rz=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rj=function(e){return 45===e.charCodeAt(1)},rT=function(e){return null!=e&&"boolean"!=typeof e},rI=(p=function(e){return rj(e)?e:e.replace(rE,"-$&").toLowerCase()},g=Object.create(null),function(e){return void 0===g[e]&&(g[e]=p(e)),g[e]}),rP=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(rz,function(e,t,r){return ek={name:t,styles:r,next:ek},t})}return 1===rC[e]||rj(e)||"number"!=typeof t||0===t?t:t+"px"};function r_(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return ek={name:r.name,styles:r.styles,next:ek},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ek={name:n.name,styles:n.styles,next:ek},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=r_(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":rT(a)&&(n+=rI(i)+":"+rP(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)rT(a[l])&&(n+=rI(i)+":"+rP(i,a[l])+";");else{var s=r_(e,t,a);switch(i){case"animation":case"animationName":n+=rI(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=ek,i=r(e);return ek=o,r_(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var r$=/label:\s*([^\s;{]+)\s*(;|$)/g,rL=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),rN="-ms-",rR="-moz-",rM="-webkit-",rD="comm",rF="rule",rU="decl",rB="@keyframes",rH=Math.abs,rV=String.fromCharCode,rY=Object.assign;function rq(e,t){return(e=t.exec(e))?e[0]:e}function rG(e,t,r){return e.replace(t,r)}function rW(e,t,r){return e.indexOf(t,r)}function rX(e,t){return 0|e.charCodeAt(t)}function rZ(e,t,r){return e.slice(t,r)}function rK(e){return e.length}function rJ(e,t){return t.push(e),e}function rQ(e,t){return e.filter(function(e){return!rq(e,t)})}function r0(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function r1(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case rU:return e.return=e.return||e.value;case rD:return"";case rB:return e.return=e.value+"{"+r0(e.children,n)+"}";case rF:if(!rK(e.value=e.props.join(",")))return""}return rK(r=r0(e.children,n))?e.return=e.value+"{"+r+"}":""}var r2=1,r3=1,r4=0,r5=0,r6=0,r8="";function r9(e,t,r,n,o,i,a,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:r2,column:r3,length:a,return:"",siblings:l}}function r7(e,t){return rY(r9("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ne(e){for(;e.root;)e=r7(e.root,{children:[e]});rJ(e,e.siblings)}function nt(){return r6=r5<r4?rX(r8,r5++):0,r3++,10===r6&&(r3=1,r2++),r6}function nr(){return rX(r8,r5)}function nn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function no(e){var t,r;return(t=r5-1,r=function e(t){for(;nt();)switch(r6){case t:return r5;case 34:case 39:34!==t&&39!==t&&e(r6);break;case 40:41===t&&e(t);break;case 92:nt()}return r5}(91===e?e+2:40===e?e+1:e),rZ(r8,t,r)).trim()}function ni(e,t,r,n,o,i,a,l,s,c,u,d){for(var f=o-1,p=0===o?i:[""],g=p.length,b=0,h=0,v=0;b<n;++b)for(var m=0,y=rZ(e,f+1,f=rH(h=a[b])),x=e;m<g;++m)(x=(h>0?p[m]+" "+y:rG(y,/&\f/g,p[m])).trim())&&(s[v++]=x);return r9(e,t,r,0===o?rF:l,s,c,u,d)}function na(e,t,r,n,o){return r9(e,t,r,rU,rZ(e,0,n),rZ(e,n+1,-1),n,o)}function nl(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case rU:e.return=function e(t,r,n){var o;switch(o=r,45^rX(t,0)?(((o<<2^rX(t,0))<<2^rX(t,1))<<2^rX(t,2))<<2^rX(t,3):0){case 5103:return rM+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return rM+t+t;case 4855:return rM+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return rR+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return rM+t+rR+t+rN+t+t;case 5936:switch(rX(t,r+11)){case 114:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return rM+t+rN+rG(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return rM+t+rN+t+t;case 6165:return rM+t+rN+"flex-"+t+t;case 5187:return rM+t+rG(t,/(\w+).+(:[^]+)/,rM+"box-$1$2"+rN+"flex-$1$2")+t;case 5443:return rM+t+rN+"flex-item-"+rG(t,/flex-|-self/g,"")+(rq(t,/flex-|baseline/)?"":rN+"grid-row-"+rG(t,/flex-|-self/g,""))+t;case 4675:return rM+t+rN+"flex-line-pack"+rG(t,/align-content|flex-|-self/g,"")+t;case 5548:return rM+t+rN+rG(t,"shrink","negative")+t;case 5292:return rM+t+rN+rG(t,"basis","preferred-size")+t;case 6060:return rM+"box-"+rG(t,"-grow","")+rM+t+rN+rG(t,"grow","positive")+t;case 4554:return rM+rG(t,/([^-])(transform)/g,"$1"+rM+"$2")+t;case 6187:return rG(rG(rG(t,/(zoom-|grab)/,rM+"$1"),/(image-set)/,rM+"$1"),t,"")+t;case 5495:case 3959:return rG(t,/(image-set\([^]*)/,rM+"$1$`$1");case 4968:return rG(rG(t,/(.+:)(flex-)?(.*)/,rM+"box-pack:$3"+rN+"flex-pack:$3"),/space-between/,"justify")+rM+t+t;case 4200:if(!rq(t,/flex-|baseline/))return rN+"grid-column-align"+rZ(t,r)+t;break;case 2592:case 3360:return rN+rG(t,"template-","")+t;case 4384:case 3616:if(n&&n.some(function(e,t){return r=t,rq(e.props,/grid-\w+-end/)}))return~rW(t+(n=n[r].value),"span",0)?t:rN+rG(t,"-start","")+t+rN+"grid-row-span:"+(~rW(n,"span",0)?rq(n,/\d+/):rq(n,/\d+/)-rq(t,/\d+/))+";";return rN+rG(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(e){return rq(e.props,/grid-\w+-start/)})?t:rN+rG(rG(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return rG(t,/(.+)-inline(.+)/,rM+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rK(t)-1-r>6)switch(rX(t,r+1)){case 109:if(45!==rX(t,r+4))break;case 102:return rG(t,/(.+:)(.+)-([^]+)/,"$1"+rM+"$2-$3$1"+rR+(108==rX(t,r+3)?"$3":"$2-$3"))+t;case 115:return~rW(t,"stretch",0)?e(rG(t,"stretch","fill-available"),r,n)+t:t}break;case 5152:case 5920:return rG(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,r,n,o,i,a,l){return rN+r+":"+n+l+(o?rN+r+"-span:"+(i?a:a-n)+l:"")+t});case 4949:if(121===rX(t,r+6))return rG(t,":",":"+rM)+t;break;case 6444:switch(rX(t,45===rX(t,14)?18:11)){case 120:return rG(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+rM+(45===rX(t,14)?"inline-":"")+"box$3$1"+rM+"$2$3$1"+rN+"$2box$3")+t;case 100:return rG(t,":",":"+rN)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return rG(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,r);return;case rB:return r0([r7(e,{value:rG(e.value,"@","@"+rM)})],n);case rF:if(e.length){var o,i;return o=r=e.props,i=function(t){switch(rq(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ne(r7(e,{props:[rG(t,/:(read-\w+)/,":"+rR+"$1")]})),ne(r7(e,{props:[t]})),rY(e,{props:rQ(r,n)});break;case"::placeholder":ne(r7(e,{props:[rG(t,/:(plac\w+)/,":"+rM+"input-$1")]})),ne(r7(e,{props:[rG(t,/:(plac\w+)/,":"+rR+"$1")]})),ne(r7(e,{props:[rG(t,/:(plac\w+)/,rN+"input-$1")]})),ne(r7(e,{props:[t]})),rY(e,{props:rQ(r,n)})}return""},o.map(i).join("")}}}var ns=/"[^"]+"|'[^']+'|url\([^)]+\)|(\d*\.?\d+)px/g,nc=function(){return function(e){e.type===rU&&e.value.startsWith("backdrop-filter")&&(e.return="".concat(rM).concat(e.props,":").concat(e.children,";").concat(e.props,":").concat(e.children,";"))}};function nu(){for(var e,t,r,n,o,i,a=arguments.length,l=Array(a),s=0;s<a;s++)l[s]=arguments[s];if(!l[0])return"";var c="";return r0((o=function e(t,r,n,o,i,a,l,s,c){for(var u,d,f,p,g=0,b=0,h=l,v=0,m=0,y=0,x=1,w=1,k=1,S=0,A="",O=i,C=a,E=o,z=A;w;)switch(y=S,S=nt()){case 40:if(108!=y&&58==rX(z,h-1)){-1!=rW(z+=rG(no(S),"&","&\f"),"&\f",rH(g?s[g-1]:0))&&(k=-1);break}case 34:case 39:case 91:z+=no(S);break;case 9:case 10:case 13:case 32:z+=function(e){for(;r6=nr();)if(r6<33)nt();else break;return nn(e)>2||nn(r6)>3?"":" "}(y);break;case 92:z+=function(e,t){for(var r;--t&&nt()&&!(r6<48)&&!(r6>102)&&(!(r6>57)||!(r6<65))&&(!(r6>70)||!(r6<97)););return r=r5+(t<6&&32==nr()&&32==nt()),rZ(r8,e,r)}(r5-1,7);continue;case 47:switch(nr()){case 42:case 47:rJ((u=function(e,t){for(;nt();)if(e+r6===57)break;else if(e+r6===84&&47===nr())break;return"/*"+rZ(r8,t,r5-1)+"*"+rV(47===e?e:nt())}(nt(),r5),d=r,f=n,p=c,r9(u,d,f,rD,rV(r6),rZ(u,2,-2),0,p)),c),(5==nn(y||1)||5==nn(nr()||1))&&rK(z)&&" "!==rZ(z,-1,void 0)&&(z+=" ");break;default:z+="/"}break;case 123*x:s[g++]=rK(z)*k;case 125*x:case 59:case 0:switch(S){case 0:case 125:w=0;case 59+b:-1==k&&(z=rG(z,/\f/g,"")),m>0&&(rK(z)-h||0===x&&47===y)&&rJ(m>32?na(z+";",o,n,h-1,c):na(rG(z," ","")+";",o,n,h-2,c),c);break;case 59:z+=";";default:if(rJ(E=ni(z,r,n,g,b,i,s,A,O=[],C=[],h,a),a),123===S)if(0===b)e(z,r,E,E,O,a,h,s,C);else{switch(v){case 99:if(110===rX(z,3))break;case 108:if(97===rX(z,2))break;default:b=0;case 100:case 109:case 115:}b?e(t,E,E,o&&rJ(ni(t,E,E,0,0,i,s,A,i,O=[],h,C),C),i,C,h,s,o?O:C):e(z,E,E,E,[""],C,0,s,C)}}g=b=m=0,x=k=1,A=z="",h=l;break;case 58:h=1+rK(z),m=y;default:if(x<1){if(123==S)--x;else if(125==S&&0==x++&&125==(r6=r5>0?rX(r8,--r5):0,r3--,10===r6&&(r3=1,r2--),r6))continue}switch(z+=rV(S),S*x){case 38:k=b>0?1:(z+="\f",-1);break;case 44:s[g++]=(rK(z)-1)*k,k=1;break;case 64:45===nr()&&(z+=no(nt())),v=nr(),b=h=rK(A=z+=function(e){for(;!nn(nr());)nt();return rZ(r8,e,r5)}(r5)),S++;break;case 45:45===y&&2==rK(z)&&(x=0)}}return a}("",null,null,null,[""],(n=r=function(e){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var t,r=!0,n="";ek=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,n+=r_(void 0,void 0,o)):n+=o[0];for(var i=1;i<e.length;i++)n+=r_(void 0,void 0,e[i]),r&&(n+=o[i]);r$.lastIndex=0;for(var a="";null!==(t=r$.exec(n));)a+="-"+t[1];return{name:function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(n)+a,styles:n,next:ek}}(l).styles,r2=r3=1,r4=rK(r8=n),r5=0,r=[]),0,[0],r),r8="",o),(t=(e=[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.remSize,r=void 0===t?16:t,n=e.allowList,o=e.blockList;return function(e){e.type===rU&&e.value.match(ns)&&(n&&!n.includes(e.props)||o&&o.includes(e.props)||(e.return="".concat(e.props,":").concat(e.children.replace(ns,function(e,t){return t?"".concat(Number(t)/r,"rem"):e}),";")))}}(),nl,nc(),r1,(i=function(e){c+=e},function(e){!e.root&&(e=e.return)&&i(e)})]).length,function(r,n,o,i){for(var a="",l=0;l<t;l++)a+=e[l](r,n,o,i)||"";return a})),c}function nd(){var e=new rL({key:"n-global",container:document.head}),t=nu.apply(void 0,arguments);return e.insert(t),e.flush}function nf(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function np(e){if(e)try{return JSON.parse(e)}catch(t){return e}}function ng(e,t,r,n){if(null==r||!1===r)return e.removeAttribute(t);let o=n?JSON.stringify(r):r;e.__updating[t]=!0,"true"===o&&(o=""),e.setAttribute(t,o),Promise.resolve().then(()=>delete e.__updating[t])}function nb(e){return null!=e&&("object"==typeof e||"function"==typeof e)}function nh(){return t}function nv(){Object.defineProperty(t,"renderRoot",{value:t})}function nm(e,t){if(e.hot){function r(e){e&&e instanceof Error||function e(t,r){r(t),t.shadowRoot&&e(t.shadowRoot,r);let n=t.firstChild;for(;n;)1===n.nodeType&&e(n,r),n=n.nextSibling}(document.body,e=>e.localName===t&&setTimeout(()=>(function(e){let t=null;for(;t=e.__releaseCallbacks.pop();)t(e);delete e.__initialized,e.renderRoot.textContent="",e.connectedCallback()})(e),0))}e.hot.accept(r),e.hot.status&&"apply"===e.hot.status()&&r()}}function ny(e){return(t,r)=>{let{element:n}=r;return th(o=>{let i=function(e){let t=Object.keys(e),r={};for(let n=0;n<t.length;n++){let[o,i]=tv(e[t[n]]);Object.defineProperty(r,t[n],{get:o,set(e){i(()=>e)}})}return r}(t);n.addPropertyChangedCallback((e,t)=>i[e]=t),n.addReleaseCallback(()=>{n.renderRoot.textContent="",o()});let a=e(i,r);return rb(n.renderRoot,a)},function(e){if(e.assignedSlot&&e.assignedSlot._$owner)return e.assignedSlot._$owner;let t=e.parentNode;for(;t&&!t._$owner&&!(t.assignedSlot&&t.assignedSlot._$owner);)t=t.parentNode;return t&&t.assignedSlot?t.assignedSlot._$owner:e._$owner}(n))}}function nx(e,r,n){return 2==arguments.length&&(n=r,r={}),(function(e,r={},n={}){let{BaseElement:o=HTMLElement,extension:i,customElements:a=window.customElements}=n;return n=>{var l,s;let c;if(!e)throw Error("tag is required to register a Component");let u=a.get(e);return u?(u.prototype.Component=n,u):(l=o,c=Object.keys(s=r?Object.keys(r).reduce((e,t)=>{let n=r[t];return e[t]=nb(n)&&"value"in n?n:{value:n},e[t].attribute||(e[t].attribute=t.replace(/\.?([A-Z]+)/g,(e,t)=>"-"+t.toLowerCase()).replace("_","-").replace(/^-/,"")),e[t].parse="parse"in e[t]?e[t].parse:"string"!=typeof e[t].value,e},{}):{}),(u=class extends l{static get observedAttributes(){return c.map(e=>s[e].attribute)}constructor(){super(),this.__initialized=!1,this.__released=!1,this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props={}}connectedCallback(){var e,r;let n;if(this.__initialized)return;this.__releaseCallbacks=[],this.__propertyChangedCallbacks=[],this.__updating={},this.props=(e=this,n=Object.keys(s).reduce((e,t)=>{var r;let n=s[t];return e[t]=Object.assign({},n),nb(n.value)&&(r=n.value,"[object Function]"!==Object.prototype.toString.call(r))&&!Array.isArray(n.value)&&(e[t].value=Object.assign({},n.value)),Array.isArray(n.value)&&(e[t].value=n.value.slice(0)),e},{}),Object.keys(s).forEach(t=>{let r=n[t],o=e.getAttribute(r.attribute),i=e[t];null!=o&&(r.value=r.parse?np(o):o),null!=i&&(r.value=Array.isArray(i)?i.slice(0):i),r.reflect&&ng(e,r.attribute,r.value,!!r.parse),Object.defineProperty(e,t,{get:()=>r.value,set(e){let n=r.value;r.value=e,r.reflect&&ng(this,r.attribute,r.value,!!r.parse);for(let r=0,o=this.__propertyChangedCallbacks.length;r<o;r++)this.__propertyChangedCallbacks[r](t,e,n)},enumerable:!0,configurable:!0})}),n);let o=Object.keys(r=this.props).reduce((e,t)=>(e[t]=r[t].value,e),{}),i=this.Component,a=t;try{(t=this,this.__initialized=!0,"function"==typeof i&&0===i.toString().indexOf("class"))?new i(o,{element:this}):i(o,{element:this})}finally{t=a}}async disconnectedCallback(){if(await Promise.resolve(),this.isConnected)return;this.__propertyChangedCallbacks.length=0;let e=null;for(;e=this.__releaseCallbacks.pop();)e(this);delete this.__initialized,this.__released=!0}attributeChangedCallback(e,t,r){if(this.__initialized&&!this.__updating[e]&&(e=this.lookupProp(e))in s){if(null!=r||this[e])this[e]=s[e].parse?np(r):r}}lookupProp(e){if(s)return c.find(t=>e===t||e===s[t].attribute)}get renderRoot(){return this.shadowRoot||this.attachShadow({mode:"open"})}addReleaseCallback(e){this.__releaseCallbacks.push(e)}addPropertyChangedCallback(e){this.__propertyChangedCallbacks.push(e)}}).prototype.Component=n,u.prototype.registeredTag=e,a.define(e,u,i),u)}})(e,r)(ny(n))}Object.defineProperty(nc,"name",{value:"prefixBackdropFilter"}),Symbol("element-context");var nw=((b={}).small="small",b.normal="normal",b.large="large",b),nk=((h={}).normal="normal",h.success="success",h.warning="warning",h.error="error",h.info="info",h.primary="primary",h),nS=((v={}).label="label",v.value="value",v.options="options",v.children="children",v.icon="icon",v.suffix="suffix",v.title="title",v.subTitle="subTitle",v.key="key",v.name="name",v);function nA(e,t){t.forEach(function(t){var r=e[t];e.removeAttribute(t.replace(/([A-Z])/g,"-$1").toLowerCase()),e[t]=r})}function nO(e){return e[3]&&e[3]<1?"hsva(".concat(e[0],", ").concat(e[1],"%, ").concat(e[2],"%, ").concat(e[3],")"):"hsv(".concat(e[0],", ").concat(e[1],"%, ").concat(e[2],"%)")}function nC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nE(e){var t,r=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return nC(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nC(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),n=r[0],o=r[1],i=r[2],a=r[3],l=n/255,s=o/255,c=i/255,u=0,d=Math.min(l,s,c),f=Math.max(l,s,c),p=f-d;if(0===p)u=t=0;else{t=p/f;var g=((f-l)/6+p/2)/p,b=((f-s)/6+p/2)/p,h=((f-c)/6+p/2)/p;l===f?u=h-b:s===f?u=1/3+g-h:c===f&&(u=2/3+b-g),u<0?u+=1:u>1&&(u-=1)}var v=[Math.floor(360*u),Math.floor(100*t),Math.floor(100*f),void 0===a?1:a];return v.toString=function(){return nO(v)},v.max=nU.hsva,v}function nz(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nj(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nP(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return nI(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nI(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1],o=t[2],i=t[3],a=void 0===i?1:i,l=r/360*6,s=n/100,c=o/100,u=Math.floor(l),d=l-u,f=c*(1-s),p=c*(1-d*s),g=c*(1-(1-d)*s),b=u%6,h=[Math.floor(255*[c,p,f,f,g,c][b]),Math.floor(255*[g,c,c,p,f,f][b]),Math.floor(255*[f,f,g,c,c,p][b]),a];return h.toString=function(){return a<1?"rgba(".concat(h.join(","),")"):"rgb(".concat(h.slice(0,3).join(","),")")},h.max=nU.rgba,h}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function n$(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return n_(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n_(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1],o=t[2],i=t[3],a=nP([r,n,o,void 0===i?1:i]),l=a[0]/255,s=a[1]/255,c=a[2]/255,u=Math.min(1-l,1-s,1-c),d=[Math.floor(100*(1===u?0:(1-l-u)/(1-u))),Math.floor(100*(1===u?0:(1-s-u)/(1-u))),Math.floor(100*(1===u?0:(1-c-u)/(1-u))),Math.floor(100*u)];return d.toString=function(){return"cmyk(".concat(d.join("%, "),")")},d.max=nU.cmyk,d}function nL(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nN(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return nL(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nL(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1],o=t[2],i=t[3],a=void 0===i?1:i,l=[Math.floor(r).toString(16).padStart(2,"0"),Math.floor(n).toString(16).padStart(2,"0"),Math.floor(o).toString(16).padStart(2,"0"),Math.floor(255*a).toString(16).padStart(2,"0")];return l.toString=function(){return"#".concat(a<1?l.join(""):l.slice(0,3).join(""))},l}function nR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nM(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return nR(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nR(e,4):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
7
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1],o=t[2],i=t[3],a=void 0===i?1:i,l=n/100,s=o/100,c=(2-l)*s/2;0!==c&&(l=1===c?0:c<.5?l*s/(2*c):l*s/(2-2*c));var u=[r,Math.floor(100*l),Math.floor(100*c),a];return u.toString=function(){return u[3]&&u[3]<1?"hsla(".concat(u[0],", ").concat(u[1],"%, ").concat(u[2],"%, ").concat(a,")"):"hsl(".concat(u[0],", ").concat(u[1],"%, ").concat(u[2],"%)")},u.max=nU.hsla,u}function nD(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nF(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nF(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nF(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var nU={cmyk:[100,100,100,100],hsla:[360,100,100,1],hsva:[360,100,100,1],rgba:[255,255,255,1]};function
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nF(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var nU={cmyk:[100,100,100,100],hsla:[360,100,100,1],hsva:[360,100,100,1],rgba:[255,255,255,1]};function nB(e){function t(e){return e.map(function(e){return/^(|\d+)\.\d+|\d+$/.test(e)?Number(e):void 0})}var r=[0,0,0,1],n=function(e){if(e){for(var t,r={cmyk:/^cmyk[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)/i,rgba:/^((rgba)|rgb)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsla:/^((hsla)|hsl)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hsva:/^((hsva)|hsv)[\D]+([\d.]+)[\D]+([\d.]+)[\D]+([\d.]+)[\D]*?([\d.]+|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},n=Object.keys(r),o=0,i=n.length;o<i;o++){var a=void 0,l=n[o];(a=r[l].exec(e))&&(t={type:l,match:a})}return t}}(function(e){if(!e.match(/^[a-zA-Z]+$/))return e;if("black"===e.toLowerCase())return"#000000";var t=document.createElement("canvas").getContext("2d");return t?(t.fillStyle=e,"#000000"===t.fillStyle?null:t.fillStyle):null}(e)),o=(null==n?void 0:n.type)||"hsva",i=(null==n?void 0:n.match)||[0,0,0,1];switch(o){case"cmyk":var a,l,s,c,u,d,f,p=nD(t(i),5),g=p[1],b=void 0===g?0:g,h=p[2],v=void 0===h?0:h,m=p[3],y=void 0===m?0:m,x=p[4],w=void 0===x?0:x,k=nU[o];if(b>k[0]||v>k[1]||y>k[2]||w>k[3])break;s=(l=function(e){if(Array.isArray(e))return e}(a=[b,v,y,w])||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(a)||function(e){if(e){if("string"==typeof e)return nz(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nz(e,4):void 0}}(a)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
9
9
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],c=l[1],u=l[2],(f=nE([(1-Math.min(1,s/100*(1-(d=l[3]/100))+d))*255,(1-Math.min(1,c/100*(1-d)+d))*255,(1-Math.min(1,u/100*(1-d)+d))*255,1])).toString=function(){return nO(f)},f.max=nU.hsva,r=f;break;case"rgba":var S=nD(t(i),7),A=S[3],O=void 0===A?0:A,C=S[4],E=void 0===C?0:C,z=S[5],j=void 0===z?0:z,T=S[6],I=void 0===T?1:T,P=nU[o];if(O>P[0]||E>P[1]||j>P[2]||I<0||I>P[3])break;r=nE([O,E,j,I]);break;case"hexa":L=(_=nD(i,2)[1]).replace(/^#/,""),(4===_.length||3===_.length)&&(L=_.split("").map(function(e){return e+e}).join("")),M=(R=function(e){if(Array.isArray(e))return e}(N=(null==($=L.match(/.{2}/g))?void 0:$.map(function(e){return parseInt(e,16)}))||[])||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(N)||function(e){if(e){if("string"==typeof e)return nj(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nj(e,4):void 0}}(N)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
10
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],D=R[1],r=nE([void 0===M?0:M,void 0===D?0:D,void 0===(F=R[2])?0:F,Math.floor(Number(((void 0===(U=R[3])?255:U)/2.55).toFixed(2)))/100]);break;case"hsla":var _,$,L,N,R,M,D,F,U,H,
|
|
11
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],Y=
|
|
12
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nW(e,t,r){var n;return(n=function(e,t){if("object"!=nY(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nY(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==nY(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nX(e,t){var r,n=
|
|
10
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],D=R[1],r=nE([void 0===M?0:M,void 0===D?0:D,void 0===(F=R[2])?0:F,Math.floor(Number(((void 0===(U=R[3])?255:U)/2.55).toFixed(2)))/100]);break;case"hsla":var _,$,L,N,R,M,D,F,U,B,H,V,Y,q,G,W,X,Z,K=nD(t(i),7),J=K[3],Q=void 0===J?0:J,ee=K[4],et=void 0===ee?0:ee,er=K[5],en=void 0===er?0:er,eo=K[6],ei=void 0===eo?1:eo,ea=nU[o];if(Q>ea[0]||et>ea[1]||en>ea[2]||ei<0||ei>ea[3])break;V=(H=function(e){if(Array.isArray(e))return e}(B=[Q,et,en,ei])||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),4!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(B)||function(e){if(e){if("string"==typeof e)return nT(e,4);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?nT(e,4):void 0}}(B)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
11
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],Y=H[1],q=H[2],G=H[3],X=Y/100*((W=q/100)<.5?W:1-W),(Z=[V,Math.floor(W+X?2*X/(W+X)*100:0),Math.floor((W+X)*100),void 0===G?1:G]).toString=function(){return nO(Z)},Z.max=nU.hsva,r=Z;break;case"hsva":var el=nD(t(i),7),es=el[3],ec=void 0===es?0:es,eu=el[4],ed=void 0===eu?0:eu,ef=el[5],ep=void 0===ef?0:ef,eg=el[6],eb=void 0===eg?1:eg,eh=nU[o];if(ec>eh[0]||ed>eh[1]||ep>eh[2]||eb<0||eb>eh[3])break;r=[ec,ed,ep,eb]}r.toString=function(){return nO(r)},r.max=nU.hsva;var ev={value:r,type:(null==n?void 0:n.type)||"hsva",complement:function(){var e=nD(ev.toRgba(),4),t=e[0],r=e[1],n=e[2],o=e[3];return"rgba(".concat(255-t,",").concat(255-r,",").concat(255-n,",").concat(o,")")},toHsva:function(){return ev.value.toString=function(){return nO(ev.value)},ev.value.max=nU.hsva,ev.value},toHsvaString:function(){return ev.value.toString()},toHexa:function(){return nN(nP(ev.value))},toHexaString:function(){return nN(nP(ev.value)).toString()},toRgba:function(){return nP(ev.value)},toRgbaString:function(){return nP(ev.value).toString()},toHsla:function(){return nM(ev.value)},toHslaString:function(){return nM(ev.value).toString()},toCmyk:function(){return n$(ev.value)},toCmykString:function(){return n$(ev.value).toString()},setValue:function(e){return ev.value=e,ev},setAlpha:function(e){return ev.value[3]=e,ev}};return ev}function nH(e,t){var r=nB(e),n=r.toRgba(),o=[0,5,10,20,30,40,50,60,70,80,90,95,98,99,100],i={0:t?"#ffffff":"#000000",40:r.toHexaString(),100:t?"#000000":"#ffffff"};function a(e,t){return[Math.round((255-e[0])*t+e[0]),Math.round((255-e[1])*t+e[1]),Math.round((255-e[2])*t+e[2]),e[3]]}function l(e,t){var r=1-t;return[Math.round(e[0]*r),Math.round(e[1]*r),Math.round(e[2]*r),e[3]]}for(var s=0,c=o.length;s<c;s++){var u=o[s];if(100!==u&&40!==u&&0!==u){if(s<5){if(t){var d=.85-u/100-.15*(s-1);i[u]=nN(a(n,d)).toString()}else{var f=.6-u/100-.3*s;i[u]=nN(l(n,.6+.4*f)).toString()}continue}t?i[u]=nN(l(n,u/100*.93)).toString():i[u]=nN(a(n,u/100*.99)).toString()}}return i}function nV(e,t,r){var n=r>1?r/100:r,o=1-n,i=nB(e).toRgba(),a=nB(t).toRgba();return nN([i[0]*o+a[0]*n,i[1]*o+a[1]*n,i[2]*o+a[2]*n,i[3]*o+a[3]*n]).toString()}function nY(e){return(nY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function nq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nG(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nG(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
12
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function nW(e,t,r){var n;return(n=function(e,t){if("object"!=nY(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=nY(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==nY(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nX(e,t){var r,n=nH(e,t.dark),o=nB(n[5]),i=nB(e);return nW(nW(nW(nW(nW(nW(nW(nW(nW(nW(r={},"--".concat(t.name,"-text"),o.setAlpha(.65).toRgbaString()),"--".concat(t.name,"-secondary"),o.setAlpha(.45).toRgbaString()),"--".concat(t.name,"-heading"),n[5]),"--".concat(t.name,"-active"),n[30]),"--".concat(t.name,"-color"),n[40]),"--".concat(t.name,"-hover"),nV(n[40],n[30],15)),"--".concat(t.name,"-secondary-bg"),n[70]),"--".concat(t.name,"-border"),n[80]),"--".concat(t.name,"-outline"),nV(n[90],n[40],5)),"--".concat(t.name,"-selection"),n[90]),nW(nW(nW(nW(nW(nW(nW(nW(nW(r,"--".concat(t.name,"-notify-bg"),nB(n[90]).setAlpha(.8).toRgbaString()),"--on-".concat(t.name,"-selection"),n[10]),"--".concat(t.name,"-shadow"),i.setAlpha(.12).toRgbaString()),"--".concat(t.name,"-shadow-1"),i.setAlpha(.08).toRgbaString()),"--".concat(t.name,"-shadow-2"),i.setAlpha(.05).toRgbaString()),"--".concat(t.name,"-details-bg"),n[95]),"--".concat(t.name,"-component-bg"),n[98]),"--".concat(t.name,"-bg"),n[99]),"--on-".concat(t.name,"-bg"),n[5])}var nZ=((m={}).light="light",m.dark="dark",m.auto="auto",m),nK=nu({":host":{display:"inline-flex"}}),nJ=nu({":host":{display:"block"}});let nQ=th(function(){var e=nu({":root,:host":{"--scrollbar-size":"4px","--font-size":"14px","--font-size-sm":"12px","--font-size-xs":"10px","--font-size-lg":"16px","--border-base":"1px solid var(--border-color)","--border-radius":"8px","--text-color":"var(--primary-text)","--text-secondary":"var(--primary-secondary)","--text-heading":"var(--primary-heading)","--text-selection":"var(--primary-selection)","--transition-duration":"0.3s","--mask-bg":"rgb(0 0 0 / 5%)","--modal-component-bg":"rgb(255 255 255 / 80%)","--modal-box-shadow":"0 5px 35px rgb(0 0 0 / 10%)","--notification-box-shadow":"0 4px 16px rgb(0 0 0 / 5%)","--transition-timing-function":"cubic-bezier(0.645, 0.045, 0.355, 1)",fontSize:"var(--font-size)",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', Helvetica, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans'",color:"var(--text-color, rgb(0 0 0 / 65%))",lineHeight:1.8},'[disabled]:not([disabled="false"]):not(n-img)':{cursor:"not-allowed",color:"var(--disable-color)"},"::selection":{backgroundColor:"var(--text-selection)"},"::-webkit-scrollbar":{inlineSize:"var(--scrollbar-size)",blockSize:"var(--scrollbar-size)"}}),t=nZ[localStorage.getItem("color-scheme")]||"auto",r=window.matchMedia("(prefers-color-scheme: dark)"),n=nq(tv(t),2),o=n[0],i=n[1],a=nq(tv(r.matches),2),l=a[0],s=a[1],c=nq(tv({primary:"#5794ff",warning:"#faad14",error:"#ff4d4f",success:"#52c41a"}),2),u=c[0],d=c[1],f=nq(tv({primary:"#4d81dc",warning:"#bb8314",error:"#901c22",success:"#419418"}),2),p=f[0],g=f[1],b=tx(function(){return nX(u().primary,{name:"primary"})}),h=tx(function(){return nX(p().primary,{name:"primary",dark:!0})}),v=tx(function(){return nX(u().warning,{name:"warning"})}),m=tx(function(){return nX(p().warning,{name:"warning",dark:!0})}),y=tx(function(){return nX(u().success,{name:"success"})}),x=tx(function(){return nX(p().success,{name:"success",dark:!0})}),w=tx(function(){return nX(u().error,{name:"error"})}),k=tx(function(){return nX(p().error,{name:"error",dark:!0})});function S(t){var r="";for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r+="".concat(n,":").concat(t[n],";"));return"".concat(e,":root,:host{").concat(r,"}")}var A=tx(function(){return S(Object.assign({},b(),v(),y(),w(),{"--bg":"transparent","--disable-color":"rgb(0 0 0 / 25%)","--disable-bg":"rgb(0 0 0 / 4%)","--disable-border":"#d9d9d9","--border-color":"var(--primary-border)","--component-bg":"var(--primary-bg)"}))}),O=tx(function(){return S(Object.assign({},h(),m(),x(),k(),{"--bg":"#1c1c1c","--disable-color":"rgb(255 255 255 / 25%)","--disable-bg":"rgb(255 255 255 / 8%)","--disable-border":"#424242","--border-color":"#303030","--component-bg":"#141414","--primary-shadow":"rgb(0 0 0 / 12%)","--primary-selection":"rgb(255 255 255 / 5%)","--primary-details-bg":"rgb(255 255 255 / 3%)","--primary-component-bg":"#000","--modal-component-bg":"rgb(30 30 30 / 80%)"}))});function C(e){s(e.matches)}ty(function(){var e=o();s("dark"===e||"auto"===e&&r.matches)});var E=tx(function(){return l()?O():A()});return ty(function(){"auto"===o()?r.addEventListener("change",C):r.removeEventListener("change",C),localStorage.setItem("color-scheme",o())}),{baseStyle:E,dark:p,setDark:g,light:u,setLight:d,scheme:o,setScheme:i,isDark:l}},tu);var n0=ri("<style> "),n1=ri("<style>"),n2=ri("<div><div class=content>");function n3(e,t){if(e){if("string"==typeof e)return n4(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n4(e,t):void 0}}function n4(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var n5=nu(eS||(y=[`
|
|
13
13
|
:host {
|
|
14
14
|
display: inline-block;
|
|
15
15
|
box-sizing: border-box;
|
|
@@ -74,7 +74,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
74
74
|
transform: rotate(360deg);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
`],x||(x=y.slice(0)),eS=Object.freeze(Object.defineProperties(y,{raw:{value:Object.freeze(x)}}))));function n6(e){var t,r,n,o,i=nQ.baseStyle;return[(r=(t=n0()).firstChild,tm(function(){return r.data=i()}),t),((n=n1()).textContent=n5,n),tV(t2,{get when(){return e.css},get children(){var a=n0(),l=a.firstChild;return tm(function(){return l.data=nu(e.css)}),a}}),(
|
|
77
|
+
`],x||(x=y.slice(0)),eS=Object.freeze(Object.defineProperties(y,{raw:{value:Object.freeze(x)}}))));function n6(e){var t,r,n,o,i=nQ.baseStyle;return[(r=(t=n0()).firstChild,tm(function(){return r.data=i()}),t),((n=n1()).textContent=n5,n),tV(t2,{get when(){return e.css},get children(){var a=n0(),l=a.firstChild;return tm(function(){return l.data=nu(e.css)}),a}}),(rb((o=n2()).firstChild,function(){return e.children}),tm(function(t){var r=nf("spin",e.class),n=!!e.spin;return r!==t.e&&rs(o,t.e=r),n!==t.t&&o.classList.toggle("spining",t.t=n),t},{e:void 0,t:void 0}),o)]}n6.registry=function(){nx("n-spin",{class:void 0,css:void 0,spin:void 0,children:void 0},function(e,t){var r,n,o,i=t.element,a=function(e){if(Array.isArray(e))return n4(e)}(r=(t.element.childNodes||[]).values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||n3(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
78
78
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),l=(function(e){if(Array.isArray(e))return e}(n=tZ(e,["children"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(n)||n3(n,2)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
79
79
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[1];return ty(function(){nA(i,["css"]),i.replaceChildren()}),[((o=n1()).textContent=nK,o),tV(n6,tX(l,{children:a}))]})};let n8=n6;function n9(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var n7=nu(eA||(eA=n9([`
|
|
80
80
|
.img {
|
|
@@ -221,8 +221,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
`])));function ot(e){return(ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var or=ri("<style>"),on=ri("<img>");function oo(e,t,r){var n;return(n=function(e,t){if("object"!=ot(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ot(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ot(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oi(e,t,r,n){var o={configurable:!0,enumerable:!0};return o[e]=n,Object.defineProperty(t,r,o)}function oa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ol(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ol(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
224
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ol(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let os=function(e){var t,r,n,o=oa(tZ(e,["src","lazy","onLoad","onError","classList","class","part","ref"]),2),i=o[0],a=o[1],l=oa(tv(!1),2),s=l[0],c=l[1],u=oa(tv(!1),2),d=u[0],f=u[1],p=oa(tv(!0),2),
|
|
225
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function op(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function
|
|
224
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ol(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let os=function(e){var t,r,n,o=oa(tZ(e,["src","lazy","onLoad","onError","classList","class","part","ref"]),2),i=o[0],a=o[1],l=oa(tv(!1),2),s=l[0],c=l[1],u=oa(tv(!1),2),d=u[0],f=u[1],p=oa(tv(!0),2),g=p[0],b=p[1];function h(e){e&&(n&&e.unobserve(n),e.disconnect())}function v(e){var t;null==(t=i.onError)||t.call(i,e),c(!0),b(!1)}function m(e){var t;null==(t=i.onLoad)||t.call(i,e),b(!1)}return tS(function(){i.lazy?(r=new IntersectionObserver(function(e){f(e[0].isIntersecting),e[0].isIntersecting&&h(r)}),n&&r.observe(n)):f(!0)}),tA(function(){h(r)}),[((t=or()).textContent=n7,t),tV(n8,{get spin(){return g()},get children(){var y=on(),x=n;return"function"==typeof x?rg(x,y):n=y,rp(y,tX(a,oo(oo(oi("get",oi("get",oi("get",oi("get",{},"class",function(){return i.class}),"classList",function(){return{img:!0,error:s()}}),"part",function(){return i.part||"img"}),"src",function(){return rr(function(){return!!d()})()?i.src:void 0}),"on:error",v),"on:load",m)),!1,!1),y}})]};var oc=ri("<style> "),ou=ri("<style>"),od=ri("<div class=portal><span class=close></span><img class=img>");function of(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return op(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?op(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
225
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function op(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function og(e){var t,r=tX({maskClosable:!0,escClosable:!0,lazy:!0,disabled:!1},e),n=of(tv(null),2),o=n[0],i=n[1],a=of(tv({width:0,height:0,left:0,top:0}),2),l=a[0],s=a[1];function c(e){if(!r.disabled){var t;i(e),null==(t=r.onOpenChange)||t.call(r,e)}}function u(e){e.preventDefault()}function d(e){u(e),"keydown"===e.type?r.escClosable&&"Escape"===e.key&&c(!1):c(!1)}function f(){!1===o()&&c(null)}function p(e){u(e),r.maskClosable&&e.target===t&&c(!1)}return ty(function(){void 0!==r.open&&r.open!==tk(o)&&i(r.open)}),ty(function(){!0===o()&&(document.documentElement.addEventListener("mousewheel",u,{passive:!1}),r.escClosable&&document.documentElement.addEventListener("keydown",d,!1)),tA(function(){document.documentElement.removeEventListener("mousewheel",u,!1),document.documentElement.removeEventListener("keydown",d,!1)})}),[tV(t2,{get when(){return r.css},get children(){var g=oc(),b=g.firstChild;return tm(function(){return b.data=nu(r.css)}),g}}),tV(os,{get src(){return r.src},get alt(){return r.alt},get lazy(){return r.lazy},get style(){return r.style},get classList(){return{none:!!o()}},onClick:function(e){r.disabled||(e.stopPropagation(),u(e),e.target&&s(e.target.getBoundingClientRect()),c(!0))}}),tV(t2,{get when(){return null!==o()},get children(){return tV(rA,{useShadow:!0,get children(){var h,v,m,y,x,w,k,S;return[(v=(h=oc()).firstChild,tm(function(){var e,t,n,o,i;return t=(e=l()).width,n=e.height,o=e.top,i=e.left,v.data=".portal {--img: url(".concat(r.src,");inline-size: ").concat(t,"px;block-size: ").concat(n,"px;inset-block-start: ").concat(o,"px;inset-inline-start: ").concat(i,"px;}")}),h),((m=ou()).textContent=n7,m),((y=ou()).textContent=oe,y),(k=(w=(x=od()).firstChild).nextSibling,rc(x,"click",p),rc(x,"animationend",f),"function"==typeof(S=t)?rg(S,x):t=x,rc(w,"click",d),tm(function(e){var t=!!o(),n=!o(),i=r.srcFull||r.src,a=r.alt;return t!==e.e&&x.classList.toggle("open",e.e=t),n!==e.t&&x.classList.toggle("closeing",e.t=n),i!==e.a&&rl(k,"src",e.a=i),a!==e.o&&rl(k,"alt",e.o=a),e},{e:void 0,t:void 0,a:void 0,o:void 0}),x)]}})}})]}og.registry=function(){nx("n-img",{class:void 0,css:void 0,alt:void 0,src:void 0,srcFull:void 0,open:null,maskClosable:void 0,escClosable:void 0,onOpenChange:void 0,onLoad:void 0,lazy:void 0,disabled:void 0},function(e,t){var r,n=t.element,o=tX({onOpenChange:function(e){t.element.dispatchEvent(new CustomEvent("openchange",{detail:e}))},onLoad:function(){t.element.dispatchEvent(new CustomEvent("load"))}},e);return ty(function(){nA(n,["css"])}),[((r=ou()).textContent=nK,r),tV(og,o)]})};let ob=og;var oh=nu(eC||(w=[`
|
|
226
226
|
.avatar {
|
|
227
227
|
position: relative;
|
|
228
228
|
display: inline-flex;
|
|
@@ -287,22 +287,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
`],k||(k=w.slice(0)),eC=Object.freeze(Object.defineProperties(w,{raw:{value:Object.freeze(k)}}))),"data:image/svg+xml,%3csvg viewBox='0 0 1.29 1' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M.519 0a.565.565 0 0 1-.033.003l-.13.01a.083.083 0 0 1-.01.001l-.02.002A1.176 1.176 0 0 0 .26.02a.093.093 0 0 0-.033.006A.06.06 0 0 0 .2.042.933.933 0 0 0 .123.13a.046.046 0 0 0-.007.01.057.057 0 0 0-.024.036L.091.177a.206.206 0 0 1-.012.02.05.05 0 0 1-.005.01.056.056 0 0 0-.003.006.083.083 0 0 0-.007.013.017.017 0 0 1-.002.005 3.365 3.365 0 0 1-.034.086.135.135 0 0 1-.01.035.033.033 0 0 1-.002.01.677.677 0 0 0 .023.367l.003.005a.265.265 0 0 0 .017.041.051.051 0 0 1 .003.007l.006.011a.414.414 0 0 0 .02.036l.004.008.01.015.005.01.01.014a.086.086 0 0 0 .006.007.01.01 0 0 1 .002.003l.001.001A.075.075 0 0 0 .135.9.1.1 0 0 1 .14.908L.145.91l.003.004.01.012.005.006a.613.613 0 0 0 .065.061l.004.002a.091.091 0 0 0 .036.003.034.034 0 0 1 .01-.001c.007 0 .014 0 .021-.002h.012L.324.993h.03A.484.484 0 0 0 .404.99.412.412 0 0 0 .461.986L.469.985.48.984A.092.092 0 0 0 .496.98.033.033 0 0 0 .518.96s0-.003.002-.004C.523.95.518.932.51.925A.032.032 0 0 1 .508.92.054.054 0 0 0 .505.915V.913c.001 0 .001 0 0 0L.503.91H.502L.5.907A.028.028 0 0 0 .498.902C.493.892.488.882.492.888c.01.009.022.016.035.02a.148.148 0 0 1 .019.007l.003.002h.004L.556.92H.56l.005.002.005.001.004.002H.58l.003.001h.003l.001.001a.04.04 0 0 1 .009.002H.6l.01.002a.18.18 0 0 0 .033.002c.018 0 .02 0 .033-.002A.823.823 0 0 1 .718.922a.018.018 0 0 1 .004 0L.727.92H.73L.733.917h.003L.738.916a.01.01 0 0 1 .004 0L.746.914A.102.102 0 0 1 .76.91.104.104 0 0 0 .797.886v.002a.132.132 0 0 1-.015.025L.78.92a.072.072 0 0 0-.013.028C.766.96.778.979.79.98a.03.03 0 0 0 .016.004l.012.001a.92.92 0 0 0 .115.008.168.168 0 0 0 .033.001l.011.001.011.001.022.002a.146.146 0 0 0 .037 0 .012.012 0 0 1 .003 0 .05.05 0 0 0 .012-.005.213.213 0 0 0 .029-.026L1.098.96l.006-.006a.042.042 0 0 0 .007-.007L1.119.94a.017.017 0 0 0 .003-.004l.003-.003.002-.003.002-.002.003-.003.002-.003.002-.002a.026.026 0 0 1 .006-.006L1.143.91h.002l.001-.003.001-.001.002-.002V.902l.005-.005.002-.002a.11.11 0 0 0 .008-.011l.001-.001.001-.002.001-.001.004-.006A.01.01 0 0 1 1.173.87l.003-.004a.01.01 0 0 0 .002-.003L1.18.862a.01.01 0 0 0 .003-.004l.001-.002.002-.003.002-.003.001-.002.002-.002a.035.035 0 0 0 .005-.009l.002-.002V.832L1.2.83l.001-.002.002-.001A.02.02 0 0 1 1.206.82V.819l.001-.002.001-.002V.814L1.21.811l.001-.002s0-.002.002-.003l.002-.004L1.217.8V.798l.001-.002.002-.004.002-.004V.787l.003-.004A.013.013 0 0 0 1.227.78l.001-.003V.775L1.23.773V.77l.002-.003V.765l.002-.002.001-.003.001-.002V.756l.002-.001c0-.002 0-.003.002-.005V.745l.002-.002V.74l.002-.003V.734l.002-.003V.729l.001-.001.001-.003L1.25.72l.001-.003.001-.003.001-.003.001-.004A.068.068 0 0 0 1.26.694L1.261.69c.001 0 .001 0 0 0V.686a.033.033 0 0 0 .003-.008l.001-.003V.674l.003-.01V.66h.002V.651L1.272.65l.001-.001V.645L1.274.64V.638L1.277.63A.167.167 0 0 0 1.28.604L1.284.58l.001-.017a.719.719 0 0 0-.001-.13V.432A.217.217 0 0 1 1.279.4a.093.093 0 0 0-.003-.013.072.072 0 0 1-.001-.01c0-.003 0-.004-.002-.004V.371A.02.02 0 0 0 1.27.364V.36a.025.025 0 0 1-.002-.01c-.001 0-.002-.003-.002-.007L1.265.337 1.264.331 1.263.328 1.262.326 1.261.324V.32L1.26.318 1.258.314V.313L1.257.31V.309L1.254.306V.303a.032.032 0 0 1-.003-.01L1.25.29V.286L1.247.284S1.245.28 1.246.278a.04.04 0 0 1-.004-.009.052.052 0 0 0-.003-.006.009.009 0 0 1 0-.004L1.236.257V.253A.009.009 0 0 1 1.233.25a.028.028 0 0 0-.005-.01V.236L1.227.234A.008.008 0 0 0 1.225.23L1.223.228V.226L1.22.224V.222L1.219.219 1.218.216 1.217.214A.011.011 0 0 1 1.215.21a.015.015 0 0 0-.003-.004V.204H1.21L1.209.2 1.208.197 1.206.195 1.205.192 1.204.19s0-.002-.002-.003L1.2.184V.182a.014.014 0 0 1-.002-.004h-.001V.175L1.192.171V.169L1.19.167 1.187.164V.163a.02.02 0 0 0-.004-.006L1.182.155 1.18.154V.152h-.002V.148L1.176.146 1.173.143V.142a.03.03 0 0 1-.006-.007V.133h-.002V.13A.016.016 0 0 1 1.16.126a.048.048 0 0 0-.008-.01V.113L1.15.11 1.148.108a.037.037 0 0 1-.004-.005.064.064 0 0 0-.007-.007.009.009 0 0 0-.002-.003L1.134.09 1.128.085A.105.105 0 0 0 1.072.03.037.037 0 0 0 1.06.026.093.093 0 0 0 1.027.02 31.75 31.75 0 0 0 .747 0C.724.001.715.005.711.018.706.032.707.028.706.06a.436.436 0 0 1-.024.15L.678.22a.259.259 0 0 1-.032.055L.644.277.64.275A.267.267 0 0 1 .593.164.449.449 0 0 1 .58.06C.58.03.58.028.576.02V.016L.574.014.573.01C.57.004.558 0 .54 0H.52zm-.01.033h.004a.021.021 0 0 1 .025.018v.003l.001.02a.503.503 0 0 0 .024.154l.005.01.005.012C.59.284.618.315.637.319h.016a.108.108 0 0 0 .02-.013.148.148 0 0 0 .032-.04.334.334 0 0 0 .043-.18v-.01a.04.04 0 0 1 0-.01v-.01l.003-.01C.75.044.762.035.766.034h.01L.778.032H.78L.784.031H.79l.004.001.015.001.016.002H.84A.158.158 0 0 0 .867.04H.87L.9.043A1.015 1.015 0 0 1 .99.05h.017a.03.03 0 0 1 .009.002h.012c.011 0 .023.008.046.03a.309.309 0 0 1 .023.026L1.1.113a.66.66 0 0 1 .08.119l.001.001.002.002.01.02a.039.039 0 0 0 .005.01L1.2.27l.004.01.01.027a.182.182 0 0 0 .005.011.502.502 0 0 0 .014.047l.002.013c.006.028.01.057.012.086l.001.017a.46.46 0 0 1-.01.136.692.692 0 0 1-.08.207l-.039.055a.487.487 0 0 1-.086.088.054.054 0 0 1-.017.003A1.289 1.289 0 0 0 .98.967L.942.964A1.406 1.406 0 0 0 .859.96C.825.955.819.952.81.942A.025.025 0 0 1 .806.933C.804.93.808.92.818.902A.166.166 0 0 0 .83.872L.833.87V.867A.184.184 0 0 0 .844.84.192.192 0 0 1 .85.821.036.036 0 0 0 .853.808V.805H.851a.313.313 0 0 1-.136.091A.229.229 0 0 1 .56.893.322.322 0 0 1 .45.818C.438.805.436.803.435.808c.002.01.004.02.008.028v.005a.407.407 0 0 0 .03.068l.004.007c.005.011.005.016 0 .024C.473.95.464.954.445.957a.594.594 0 0 1-.058.005 1.245 1.245 0 0 0-.112.007.035.035 0 0 1-.028-.007.564.564 0 0 1-.12-.144.675.675 0 0 1-.083-.246L.04.552V.535A.45.45 0 0 1 .042.43L.045.413a.371.371 0 0 1 .006-.03.222.222 0 0 1 .012-.049.06.06 0 0 1 .004-.012.171.171 0 0 0 .007-.018L.077.295a.377.377 0 0 1 .03-.068L.116.213A.18.18 0 0 1 .13.188L.135.179A.37.37 0 0 1 .182.117.517.517 0 0 0 .194.103a.22.22 0 0 1 .05-.046A.046.046 0 0 1 .26.052h.019A.042.042 0 0 1 .29.05a.02.02 0 0 0 .005 0h.004L.302.048h.002L.32.047h.016A.133.133 0 0 0 .36.043h.01L.372.042h.007A.233.233 0 0 1 .4.04h.018L.421.039h.004c.007 0 .015 0 .023-.002h.007L.459.035a.036.036 0 0 1 .01 0L.473.034h.008L.484.033H.49L.5.032h.003l.005.001zm.708.366c-.009.003-.013.009-.013.017 0 .023.034.025.035.002.001-.012-.011-.022-.022-.019zm-.032.033c-.026.003-.04.012-.046.03a.13.13 0 0 0-.003.03l-.001.01a.121.121 0 0 0-.003.025v.004L1.13.535V.54a.01.01 0 0 1-.001.004l-.001.003V.55l-.001.002v.003l-.001.004a.02.02 0 0 1-.002.007v.003l-.002.004v.004L1.121.58 1.12.584A.11.11 0 0 1 1.117.6v.002a.041.041 0 0 0-.002.007.056.056 0 0 1-.002.007.049.049 0 0 0-.003.007.092.092 0 0 1-.002.007.047.047 0 0 0-.002.006.072.072 0 0 1-.005.013.052.052 0 0 0-.002.005.058.058 0 0 1-.002.007.061.061 0 0 0-.004.01.013.013 0 0 1-.002.003L1.09.675c0 .001 0 .003-.002.005a1.035 1.035 0 0 0-.022.045.116.116 0 0 0-.01.016l-.002.003-.001.002-.002.002a.145.145 0 0 1-.015.024.073.073 0 0 0-.009.011.02.02 0 0 1-.003.004.027.027 0 0 0-.003.005.027.027 0 0 1-.006.006.114.114 0 0 1-.013.015A.015.015 0 0 0 1 .819a.007.007 0 0 0-.003.003.068.068 0 0 1-.006.007L.984.834a.364.364 0 0 1-.016.015L.963.854v.001L.958.86a.056.056 0 0 0-.004.052.05.05 0 0 0 .035.03c.012.003.024 0 .032-.007a.036.036 0 0 1 .005-.003L1.028.93 1.03.928l.007-.006.002-.001a.604.604 0 0 0 .13-.168.068.068 0 0 1 .004-.007l.001-.004a.156.156 0 0 0 .022-.048V.692l.002-.004L1.2.685 1.201.68l.001-.004h.001V.673a.05.05 0 0 0 .003-.008V.663L1.21.657c0-.003 0-.007.002-.01l.001-.003.001-.005.001-.004A.11.11 0 0 0 1.22.618V.616a.01.01 0 0 1 0-.004l.001-.005.002-.008a.382.382 0 0 0 .014-.135C1.231.445 1.205.43 1.184.432zm.017.006a.05.05 0 0 1 .015.007.04.04 0 0 1 .013.013l.002.003.001.002.001.004a.045.045 0 0 1 0 .018v.002L1.232.49a.01.01 0 0 1-.002.003l-.002.003a.027.027 0 0 1-.006.007s-.002 0-.003.002c-.007.007-.029.012-.04.008A.056.056 0 0 1 1.16.505a.038.038 0 0 1-.008-.007L1.15.493a.032.032 0 0 1 0-.036V.455s.01-.01.012-.01a.037.037 0 0 1 .012-.006.02.02 0 0 1 .006-.001l.004-.001.017.001zm-.02.021c-.023.006-.02.027.003.032l.007.001h.005c.005-.002.01-.004.013-.008.012-.013-.008-.03-.028-.025zm-.036.097c.003.001.004.002.014.021l.01.016.002-.001.019-.014c.019-.014.02-.014.023-.014.009 0 .013.01.007.017a.694.694 0 0 1-.036.027l.012.002c.011.002.014.003.016.007.003.006-.001.015-.009.015L1.128.617C1.121.613 1.122.602 1.13.599l.003-.002.01.002.008.002a.209.209 0 0 0-.009-.017c-.01-.016-.01-.018-.009-.021a.01.01 0 0 1 .014-.007zm-.004.1c.014.004.019.015.015.03-.005.022-.022.032-.028.019C1.127.7 1.127.698 1.132.693a.027.027 0 0 0 .007-.014V.675h-.002C1.132.673 1.13.674 1.123.677c-.01.006-.011.015-.006.026.005.012.01.015.024.015.02 0 .026-.01.02-.03-.003-.013.013-.02.019-.008a.07.07 0 0 1 .002.027c-.004.035-.057.043-.079.012C1.09.7 1.091.681 1.105.667c.013-.013.024-.016.037-.012zm-.059.093a.01.01 0 0 1 .006.006l.004.001h.004l.016.01.016.012a.01.01 0 0 1-.007.017.15.15 0 0 1-.037-.025L1.084.768h-.005c-.012 0-.017.007-.011.016.002.003.003.007.001.01v.003l.015.01c.018.013.019.013.02.016.004.01-.006.018-.015.012a1.447 1.447 0 0 1-.056-.038c-.006-.008.002-.02.01-.016h.002V.777a.03.03 0 0 1 .023-.028.033.033 0 0 1 .015 0zm-.065.086a.02.02 0 0 1 .006.002c.014.008.025.02.029.036V.89a.027.027 0 0 0-.001.004c-.004.016-.023.026-.04.022A.033.033 0 0 1 1 .913.07.07 0 0 1 .98.896.016.016 0 0 0 .978.893a.046.046 0 0 1-.007-.02V.86A.01.01 0 0 0 .974.858c0-.008.012-.02.019-.022a.05.05 0 0 1 .026 0zm-.017.02C.989.86.99.88 1.003.89l.004.003c.007.006.02.004.024-.002.008-.017-.013-.041-.03-.035z' fill='%237483AB'/%3e%3c/svg%3e"),ov=ri("<style>"),om=ri("<style> "),oy=ri("<span>"),ox=ri("<div>"),ow=ri('<svg viewBox="0 0 1 1"aria-hidden=true overflow=hidden style=position:absolute;width:0;height:0;opacity:0;pointer-events:none><defs><clipPath id=clipPathAvatar clipPathUnits=objectBoundingBox><path d="M.395.126H.4A.016.016 0 0 1 .418.14v.002L.42.158a.39.39 0 0 0 .019.12L.44.284l.005.01c.011.026.034.05.05.053h.011a.084.084 0 0 0 .016-.01.115.115 0 0 0 .025-.03.259.259 0 0 0 .033-.14.02.02 0 0 0 0-.008.03.03 0 0 1 0-.01V.145L.584.136h.001C.583.134.591.127.594.126h.024L.63.127l.013.001h.01a.123.123 0 0 0 .021.003h.003L.7.133a.591.591 0 0 1 .046.004L.77.139h.013l.006.002h.009c.01 0 .019.006.036.023a.24.24 0 0 1 .018.02l.004.004a.49.49 0 0 1 .063.094L.927.3a.032.032 0 0 0 .004.007L.932.31l.004.007.007.022a.141.141 0 0 0 .004.008.34.34 0 0 0 .011.037l.002.01A.463.463 0 0 1 .969.46v.013A.358.358 0 0 1 .963.58a.537.537 0 0 1-.064.16.378.378 0 0 1-.096.111.042.042 0 0 1-.014.002L.762.851.732.85A1.092 1.092 0 0 0 .667.845C.641.842.636.84.63.832L.626.825C.624.822.628.814.636.8a.129.129 0 0 0 .01-.022.02.02 0 0 0 .001-.003V.773a.143.143 0 0 0 .009-.02A.149.149 0 0 1 .66.738.028.028 0 0 0 .662.73V.726a.243.243 0 0 1-.106.07.177.177 0 0 1-.121-.003A.25.25 0 0 1 .35.736C.34.726.338.724.337.727A.095.095 0 0 0 .344.75v.003s.001 0 0 0a.316.316 0 0 0 .024.053L.37.811c.005.01.005.013.001.02C.367.837.36.84.345.842A.462.462 0 0 1 .3.847.967.967 0 0 0 .25.85L.224.852.213.853A.027.027 0 0 1 .191.847.438.438 0 0 1 .098.735a.525.525 0 0 1-.065-.19L.032.529V.517a.35.35 0 0 1 0-.052L.034.433.036.421A.288.288 0 0 1 .04.397.173.173 0 0 1 .05.36c0-.003 0-.006.002-.01A.133.133 0 0 0 .057.336L.06.33A.293.293 0 0 1 .084.276L.09.266A.14.14 0 0 1 .1.246L.106.24A.288.288 0 0 1 .142.19a.227.227 0 0 0 .01-.01.17.17 0 0 1 .037-.036A.036.036 0 0 1 .202.14h.023L.228.138h.008L.248.136H.26A.104.104 0 0 0 .28.134a.01.01 0 0 1 .004 0h.003L.289.133h.006A.18.18 0 0 1 .313.131h.011L.327.13H.33L.348.128h.009L.364.127h.004L.37.126h.011L.388.125a.01.01 0 0 0 .003 0h.004z"fill=#7483AB>');function ok(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oS(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oS(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
290
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function oS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oA(e){var t,r,n,o,i,a,l,s,c,u,d={small:"24px",normal:"32px",large:"40px"},f=ok(tZ(tX({size:32},e),["class","css","src","alt","size","color","username"]),2),p=f[0],
|
|
290
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function oS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oA(e){var t,r,n,o,i,a,l,s,c,u,d={small:"24px",normal:"32px",large:"40px"},f=ok(tZ(tX({size:32},e),["class","css","src","alt","size","color","username"]),2),p=f[0],g=f[1],b=ok(tv(1),2),h=b[0],v=b[1],m=tx(function(){var e,t,r=d[p.size]||"".concat(p.size,"px");return nu(eE||(e=[`
|
|
291
291
|
.avatar {
|
|
292
292
|
--avatar-color: `,`;
|
|
293
293
|
|
|
294
294
|
inline-size: `,`;
|
|
295
295
|
block-size: `,`;
|
|
296
296
|
}
|
|
297
|
-
`],t||(t=e.slice(0)),eE=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),p.color,r,r)});return ty(function(){u&&c&&u.clientWidth+6>c.clientWidth&&v((c.clientWidth-6)/u.clientWidth)}),[((t=ov()).textContent=oh,t),(n=(r=om()).firstChild,tm(function(){return n.data=m()}),r),tV(t2,{get when(){return p.css},get children(){var y=om(),x=y.firstChild;return tm(function(){return x.data=nu(p.css)}),y}}),(o=ox(),"function"==typeof(i=c)?
|
|
297
|
+
`],t||(t=e.slice(0)),eE=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),p.color,r,r)});return ty(function(){u&&c&&u.clientWidth+6>c.clientWidth&&v((c.clientWidth-6)/u.clientWidth)}),[((t=ov()).textContent=oh,t),(n=(r=om()).firstChild,tm(function(){return n.data=m()}),r),tV(t2,{get when(){return p.css},get children(){var y=om(),x=y.firstChild;return tm(function(){return x.data=nu(p.css)}),y}}),(o=ox(),"function"==typeof(i=c)?rg(i,o):c=o,rp(o,tX((a={},l=function(){return nf("avatar",p.class)},(s={configurable:!0,enumerable:!0}).get=l,Object.defineProperty(a,"class",s)),g),!1,!0),rb(o,tV(t3,{get children(){return[tV(t4,{get when(){return"string"==typeof p.src},get children(){return tV(ob,{get src(){return p.src},get alt(){return p.alt},style:{"z-index":9999}})}}),tV(t4,{get when(){return p.username},get children(){var w=oy(),k=u;return"function"==typeof k?rg(k,w):u=w,rb(w,function(){return p.username}),tm(function(e){return rf(w,"transform","scale(".concat(h(),")"))}),w}})]}})),o),ow()]}oA.registry=function(){nx("n-avatar",{css:void 0,size:void 0,src:void 0,alt:void 0,username:void 0,color:void 0,class:void 0},function(e,t){var r,n,o,i=nQ.baseStyle,a=t.element;return ty(function(){nA(a,["css"])}),[((r=ov()).textContent=nK,r),(o=(n=om()).firstChild,tm(function(){return o.data=i()}),n),tV(oA,e)]})};let oO=oA;function oC(e){return Object.prototype.toString.call(e)}function oE(e){return(oE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oz(e){return null!==e&&"object"==oE(e)&&"[object Proxy]"===oC(e)}function oj(e,t){var r="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=oP(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
298
298
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}function oT(e){return(oT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||oP(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
299
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function oP(e,t){if(e){if("string"==typeof e)return o_(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o_(e,t):void 0}}function o_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o$(e){return(null==e?void 0:e.target)||e}function oL(e){return(null==e?void 0:e.handler)||{}}function oN(e,t){return e.toString()===t.toString()}function oR(e){return["[object Function]","[object AsyncFunction]","[object GeneratorFunction]"].includes(Object.prototype.toString.call(e))}var oM=!1;try{var oD=Object.defineProperty({},"passive",{get:function(){oM=!0}});window.addEventListener("test-passive-supported",function(){},oD)}catch(e){}var oF=ri("<style> ");function oU(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function
|
|
299
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function oP(e,t){if(e){if("string"==typeof e)return o_(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o_(e,t):void 0}}function o_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o$(e){return(null==e?void 0:e.target)||e}function oL(e){return(null==e?void 0:e.handler)||{}}function oN(e,t){return e.toString()===t.toString()}function oR(e){return["[object Function]","[object AsyncFunction]","[object GeneratorFunction]"].includes(Object.prototype.toString.call(e))}var oM=!1;try{var oD=Object.defineProperty({},"passive",{get:function(){oM=!0}});window.addEventListener("test-passive-supported",function(){},oD)}catch(e){}var oF=ri("<style> ");function oU(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function oB(e,t,r,n){var o={configurable:!0,enumerable:!0};return o[e]=n,Object.defineProperty(t,r,o)}function oH(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function oV(e){var t,r,n,o,i=nQ.baseStyle,a=tX({type:"text",tag:"span"},e),l=tx(function(){var t="secondary"===e.type?"--text-secondary":"--".concat(e.type,"-color");"error"===e.type?t="--error-color":e.disabled&&(t="--disable-color");var r="";return e.truncated&&(r=nu(ez||(ez=oH([`
|
|
300
300
|
overflow: hidden;
|
|
301
301
|
/* stylelint-disable-next-line */
|
|
302
302
|
display: -webkit-box;
|
|
303
303
|
-webkit-box-orient: block-axis;
|
|
304
304
|
-webkit-line-clamp: `,`;
|
|
305
|
-
`])),"number"==typeof e.truncated&&e.truncated||1)),nu(ej||(ej=
|
|
305
|
+
`])),"number"==typeof e.truncated&&e.truncated||1)),nu(ej||(ej=oH([`
|
|
306
306
|
:host {
|
|
307
307
|
max-inline-size: 100%;
|
|
308
308
|
}
|
|
@@ -315,7 +315,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
315
315
|
cursor: `,`;
|
|
316
316
|
`,`
|
|
317
317
|
}
|
|
318
|
-
`])),t,e.disabled?"not-allowed":"auto",r)});return[(r=(t=oF()).firstChild,tm(function(){return r.data=i()}),t),(o=(n=oF()).firstChild,tm(function(){return o.data=l()}),n),tV(t2,{get when(){return e.css},get children(){var s=oF(),c=s.firstChild;return tm(function(){return c.data=nu(e.css)}),s}}),tV(rO,
|
|
318
|
+
`])),t,e.disabled?"not-allowed":"auto",r)});return[(r=(t=oF()).firstChild,tm(function(){return r.data=i()}),t),(o=(n=oF()).firstChild,tm(function(){return o.data=l()}),n),tV(t2,{get when(){return e.css},get children(){var s=oF(),c=s.firstChild;return tm(function(){return c.data=nu(e.css)}),s}}),tV(rO,oB("get",oB("get",oB("get",{get component(){return a.tag}},"class",function(){return nf("typography",a.class)}),"style",function(){return a.style}),"children",function(){return a.children}))]}oV.registry=function(){nx("n-typography",{class:void 0,css:void 0,type:void 0,truncated:void 0,tag:void 0,disabled:void 0,style:void 0},function(e,t){var r,n=t.element,o=tX({children:function(e){if(Array.isArray(e))return oU(e)}(r=n.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return oU(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?oU(e,void 0):void 0}}(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
319
319
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(n,["css","tag","style"]),n.replaceChildren()}),tV(oV,o)})};let oY=oV;var oq=ri("<style>"),oG=ri("<style> "),oW=ri("<div class=empty-container>"),oX=ri("<n-typography class=empty-label type=secondary>无数据",!0,!1,!1),oZ=nu(eT||(S=[`
|
|
320
320
|
.empty-container {
|
|
321
321
|
inline-size: 100%;
|
|
@@ -330,7 +330,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
330
330
|
.empty-label {
|
|
331
331
|
font-size: var(--font-size-sm);
|
|
332
332
|
}
|
|
333
|
-
`],A||(A=S.slice(0)),eT=Object.freeze(Object.defineProperties(S,{raw:{value:Object.freeze(A)}}))));function oK(e){var t,r;return[((t=oq()).textContent=oZ,t),tV(t2,{get when(){return e.css},get children(){var n=oG(),o=n.firstChild;return tm(function(){return o.data=nu(e.css)}),n}}),(
|
|
333
|
+
`],A||(A=S.slice(0)),eT=Object.freeze(Object.defineProperties(S,{raw:{value:Object.freeze(A)}}))));function oK(e){var t,r;return[((t=oq()).textContent=oZ,t),tV(t2,{get when(){return e.css},get children(){var n=oG(),o=n.firstChild;return tm(function(){return o.data=nu(e.css)}),n}}),(rb(r=oW(),tV(t2,{get when(){return e.label},get fallback(){var i;return(i=oX())._$owner=tu,i},get children(){return e.label}})),r)]}oK.registry=function(){oY.registry(),nx("n-empty",{class:void 0,css:void 0,label:void 0},function(e,t){var r,n=t.element;return ty(function(){nA(n,["css"])}),[((r=oq()).textContent=nK,r),tV(oK,e)]})};let oJ=oK;function oQ(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var o0=nu(eI||(eI=oQ([`
|
|
334
334
|
.popover {
|
|
335
335
|
position: relative;
|
|
336
336
|
display: inline-block;
|
|
@@ -488,8 +488,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
`])));function o2(e){return(o2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o3=ri("<style>"),o4=ri("<style> "),o5=ri("<span>"),o6=ri("<div>");function o8(e,t,r,n){var o={configurable:!0,enumerable:!0};return o[e]=n,Object.defineProperty(t,r,o)}function o9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o7(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o9(Object(r),!0).forEach(function(t){ie(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o9(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ie(e,t,r){var n;return(n=function(e,t){if("object"!=o2(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o2(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o2(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function it(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||ir(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
491
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ir(e,t){if(e){if("string"==typeof e)return io(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?io(e,t):void 0}}function io(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ii(e){var t,r,n,o,i,a,l,s=nQ.isDark,c=nQ.baseStyle,u=it(tZ(tX({trigger:"hover"},e),["class","css","popupClass","popupCss","size","trigger","open","disabled","onOpenChange","dropdownMatchSelectWidth","destroyInactive","arrow","placement","getPopupContainer","children","content"]),1)[0],d=it(tv(null),2),f=d[0],p=d[1],
|
|
492
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(l,["content","popupCss","css"])}),[((n=o3()).textContent=nK,n),(i=(o=o4()).firstChild,tm(function(){return i.data=a()}),o),tV(ii,s)]})};let il=ii;var is=ri("<style>"),ic=ri("<style> "),iu=ri("<n-avatar>",!0,!1,!1),id=ri("<div>"),ip=ri("<div class=more>");function
|
|
491
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ir(e,t){if(e){if("string"==typeof e)return io(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?io(e,t):void 0}}function io(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ii(e){var t,r,n,o,i,a,l,s=nQ.isDark,c=nQ.baseStyle,u=it(tZ(tX({trigger:"hover"},e),["class","css","popupClass","popupCss","size","trigger","open","disabled","onOpenChange","dropdownMatchSelectWidth","destroyInactive","arrow","placement","getPopupContainer","children","content","encodeUri"]),1)[0],d=it(tv(null),2),f=d[0],p=d[1],g=it(tv({}),2),b=g[0],h=g[1],v=it(tv(!1),2),m=v[0],y=v[1],x=it(tv(""),2),w=x[0],k=x[1];function S(e){u.disabled||(u.onOpenChange&&u.onOpenChange(e),void 0===u.open&&p(e))}function A(){!1===f()&&(p(null),S(null))}function O(e){clearTimeout(a),a=setTimeout(function(){if(clearTimeout(a),!e.target||"false"!==e.target.getAttribute("handle-closed")){var t=function e(t,r){if(!t||!r)return!1;if(r.contains(t))return!0;var n=t.getRootNode();return n instanceof ShadowRoot&&e(n.host,r)}(e.target,o);(f()&&!t||t&&"mousedown"!==e.type)&&S(!1)}},300*("hover"===u.trigger))}ty(function(){void 0!==u.open&&p(u.open)}),ty(function(){f()&&u.dropdownMatchSelectWidth&&i&&k(".portal {width: ".concat(i.offsetWidth,"px;}"))});var C=function(e){clearTimeout(l),l=setTimeout(function(){if(clearTimeout(l),o&&i&&(e||"contextMenu"!==u.trigger)){if((null==e?void 0:e.type)==="scroll"&&"contextMenu"===u.trigger)return void S(!1);var t=i.getBoundingClientRect(),r=o.getBoundingClientRect(),n=r.width/2-t.width/2,a=window.innerHeight-t.bottom,s=u.placement,c=!(null!=s&&s.startsWith("top"))&&a>.8*o.offsetHeight&&a>t.top||(null==s?void 0:s.startsWith("bottom")),d=u.arrow?8:4,f={};switch(u.placement){case"bottomLeft":case"left":case"topLeft":f.left=t.left,f["--x"]=-r.width/2+16;break;case"bottomRight":case"right":case"topRight":f.left=t.right-r.width,f["--x"]=r.width/2-16;break;default:f.left=Math.abs(n>t.left?t.left:t.left-n),f["--x"]=-(f.left-t.left+n)}c?f.top=t.bottom+d:f.bottom=window.innerHeight-t.top+d,h(function(e){return!function e(t,r,n){for(var o=n||new WeakMap,i=[[t,r]];i.length>0;){var a=oI(i.pop(),2),l=a[0],s=a[1];if(l!==s){if(!l||!s){if(l!==s)return!1;continue}var c=oC(l);if(c!==oC(s))return!1;if(!(Number.isNaN(l)&&Number.isNaN(s))){if(["[object Function]","[object AsyncFunction]","[object GeneratorFunction]"].includes(c)){if(!oN(l,s))return!1;continue}if("object"!=oT(l)&&"object"!=oT(s)||"bigint"==typeof l&&"bigint"==typeof s){if(l!==s)return!1;continue}if(!o.has(l)||o.get(l)!==s){if(o.set(l,s),o.set(s,l),l instanceof Date&&s instanceof Date){if(l.getTime()!==s.getTime())return!1;continue}if(l instanceof RegExp&&s instanceof RegExp){if(!oN(l,s))return!1;continue}if(l instanceof Map&&s instanceof Map){if(l.size!==s.size)return!1;var u,d=oj(l);try{for(d.s();!(u=d.n()).done;){var f=oI(u.value,2),p=f[0],g=f[1];if(!s.has(p)||!e(g,s.get(p),o))return!1}}catch(e){d.e(e)}finally{d.f()}break}if(l instanceof Set&&s instanceof Set){if(l.size!==s.size)return!1;var b,h=oj(l);try{for(h.s();!(b=h.n()).done;){var v,m=b.value,y=!1,x=oj(s);try{for(x.s();!(v=x.n()).done;){var w=v.value;if(e(m,w,o)){y=!0;break}}}catch(e){x.e(e)}finally{x.f()}if(!y)return!1}}catch(e){h.e(e)}finally{h.f()}break}if(l instanceof ArrayBuffer&&s instanceof ArrayBuffer){if(l.byteLength!==s.byteLength)return!1;for(var k=new DataView(l),S=new DataView(s),A=0;A<l.byteLength;A++)if(k.getUint8(A)!==S.getUint8(A))return!1;continue}if(ArrayBuffer.isView(l)&&ArrayBuffer.isView(s)){if(l.byteLength!==s.byteLength)return!1;for(var O=new Uint8Array(l.buffer),C=new Uint8Array(s.buffer),E=0;E<O.length;E++)if(O[E]!==C[E])return!1;continue}if(l instanceof DataView&&s instanceof DataView){if(l.byteLength!==s.byteLength)return!1;for(var z=0;z<l.byteLength;z++)if(l.getUint8(z)!==s.getUint8(z))return!1;continue}if(l instanceof Promise&&s instanceof Promise){if(l!==s)return!1;continue}if("function"==typeof l&&"function"==typeof s){if(!oN(l,s))return!1;continue}if(oz(l)||oz(s)){var j=o$(l),T=o$(s),I=oL(l),P=oL(s);i.push([j,T],[I,P]);continue}var _=Reflect.ownKeys(l),$=Reflect.ownKeys(s);if(_.length!==$.length)return!1;var L,N=oj(_);try{for(N.s();!(L=N.n()).done;){var R=L.value,M=l[R],D=s[R];if(!Object.prototype.hasOwnProperty.call(r,R)||!e(M,D,o))return!1}}catch(e){N.e(e)}finally{N.f()}}}}}return!0}(e,f)?f:e}),y(function(e){return!c===e?e:!c})}},32)};function E(e){clearTimeout(a),e.stopPropagation(),"contextMenu"===u.trigger&&"contextmenu"===e.type&&(e.preventDefault(),h(function(t){return o7(o7({},t),{},ie({left:e.clientX,top:e.clientY},"--x",-((null==o?void 0:o.getBoundingClientRect().width)||0)/2+16))})),S(!0)}var z=tx(function(){return oR(u.getPopupContainer)?u.getPopupContainer(i):document.body}),j=tx(function(){var e={},t={click:"on:mousedown",hover:"on:mouseenter",contextMenu:"on:contextmenu",none:void 0}[u.trigger],r={hover:"on:mouseleave",click:void 0,contextMenu:void 0,none:void 0}[u.trigger];return Object.assign(e,t&&ie({},t,E),r&&ie({},r,O)),e}),T=tx(function(){var e=b();return".portal {".concat(Object.keys(e).map(function(t){return"".concat(t,":").concat(e[t],"px;")}).join(""),"z-index: 99999;}")}),I=tx(function(){return nf("portal",u.arrow&&"arrow","".concat(f()?"in":"out","-").concat(m()?"up":"down"),u.size,u.popupClass)}),P=tx(function(){return":host {--popover-bg: ".concat(s()?"#1f1f1f":"var(--component-bg)",";--popover-shadow-color: rgb(0 0 0 / 5%);position: absolute;}")});return ty(function(){f()&&(C(),window.addEventListener("scroll",C,{passive:oM})),tA(function(){window.removeEventListener("scroll",C,!1)})}),tS(function(){"none"!==u.trigger&&document.documentElement.addEventListener("mousedown",O,!1)}),tA(function(){clearTimeout(a),document.documentElement.removeEventListener("mousedown",O,!1)}),[((t=o3()).textContent=o0,t),tV(t2,{get when(){return u.css},get children(){var _=o4(),$=_.firstChild;return tm(function(){return $.data=nu(u.css)}),_}}),(r=o5(),"function"==typeof(n=i)?rg(n,r):i=r,rp(r,tX(o8("get",{},"class",function(){return nf("popover",u.size,u.class)}),j),!1,!0),rb(r,function(){return u.children}),r),tV(t2,{get when(){return null!==f()||!u.destroyInactive},get children(){return tV(rA,{useShadow:!0,get mount(){return z()},get children(){var L,N,R,M,D,F,U,B,H,V,Y;return[(N=(L=o4()).firstChild,tm(function(){return N.data=c()}),L),((R=o3()).textContent=o1,R),(D=(M=o4()).firstChild,tm(function(){return D.data=P()}),M),(U=(F=o4()).firstChild,tm(function(){return U.data=T()}),F),(H=(B=o4()).firstChild,tm(function(){return H.data=w()}),B),tV(t2,{get when(){return u.popupCss},get children(){var q=o4(),G=q.firstChild;return tm(function(){return G.data=nu(u.popupCss)}),q}}),(rc(V=o6(),"animationend",A),"function"==typeof(Y=o)?rg(Y,V):o=V,rp(V,tX(o8("get",{},"class",function(){return I()}),j),!1,!0),rb(V,tV(t2,{get when(){return!!u.content},get fallback(){return tV(oJ,{})},get children(){return tV(t2,{get when(){return"string"==typeof u.content},get fallback(){return rr(function(){return u.content})},get children(){var W=o6();return tm(function(){return W.innerHTML=u.encodeUri?decodeURIComponent(u.content):u.content}),W}})}})),V)]}})}})]}var ia={class:void 0,css:void 0,content:void 0,getPopupContainer:void 0,trigger:void 0,open:void 0,onOpenChange:void 0,popupClass:void 0,popupCss:void 0,destroyInactive:!0,disabled:void 0,arrow:void 0,placement:void 0,dropdownMatchSelectWidth:void 0,encodeUri:void 0};ii.registry=function(){nx("n-popover",ia,function(e,t){var r,n,o,i,a=nQ.baseStyle,l=t.element,s=tX({onOpenChange:function(e){l.dispatchEvent(new CustomEvent("openchange",{detail:e}))},children:function(e){if(Array.isArray(e))return io(e)}(r=l.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||ir(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
492
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(l,["content","popupCss","css"])}),[((n=o3()).textContent=nK,n),(i=(o=o4()).firstChild,tm(function(){return i.data=a()}),o),tV(ii,s)]})};let il=ii;var is=ri("<style>"),ic=ri("<style> "),iu=ri("<n-avatar>",!0,!1,!1),id=ri("<div>"),ip=ri("<div class=more>");function ig(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ib(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ih=nu(e_||(e_=ib([`
|
|
493
493
|
.more {
|
|
494
494
|
display: flex;
|
|
495
495
|
justify-content: center;
|
|
@@ -505,7 +505,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
505
505
|
display: flex;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
`]))),iv=nu(e$||(e$=
|
|
508
|
+
`]))),iv=nu(e$||(e$=ib([`
|
|
509
509
|
.group {
|
|
510
510
|
display: inline-flex;
|
|
511
511
|
align-items: center;
|
|
@@ -529,8 +529,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
`]))),im={data:[],size:void 0,class:void 0,maxCount:void 0,css:void 0};function iy(e){var t,r,n,o,i,a,l=function(e){if(Array.isArray(e))return e}(t=tZ(tX(im,e),["data","maxCount","class","size","css"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return
|
|
533
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return s.data||[]}),d=tx(function(){return u().slice(0,s.maxCount)}),f=tx(function(){var e=u(),t=e.length-(s.maxCount||e.length);return t>0?e.slice(-t):[]});return[((r=is()).textContent=iv,r),tV(t2,{get when(){return s.css},get children(){var p=ic(),
|
|
532
|
+
`]))),im={data:[],size:void 0,class:void 0,maxCount:void 0,css:void 0};function iy(e){var t,r,n,o,i,a,l=function(e){if(Array.isArray(e))return e}(t=tZ(tX(im,e),["data","maxCount","class","size","css"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return ig(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ig(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
533
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return s.data||[]}),d=tx(function(){return u().slice(0,s.maxCount)}),f=tx(function(){var e=u(),t=e.length-(s.maxCount||e.length);return t>0?e.slice(-t):[]});return[((r=is()).textContent=iv,r),tV(t2,{get when(){return s.css},get children(){var p=ic(),g=p.firstChild;return tm(function(){return g.data=nu(s.css)}),p}}),(rp(n=id(),tX(c,(o={},i=function(){return nf("group",s.class)},(a={configurable:!0,enumerable:!0}).get=i,Object.defineProperty(o,"class",a))),!1,!0),rb(n,tV(t0,{get each(){return d()},children:function(e){var t;return rp(t=iu(),tX(e,{get size(){return s.size}}),!1,!1),t._$owner=tu,t}}),null),rb(n,tV(t2,{get when(){return f().length},get children(){return tV(il,{arrow:!0,trigger:"click",popupCss:ih,get content(){var b;return rb(b=ip(),tV(t0,{get each(){return f()},children:function(e){var t;return rp(t=iu(),tX(e,{get size(){return s.size}}),!1,!1),t._$owner=tu,t}})),b},get children(){var h=iu();return h._$owner=tu,tm(function(e){var t=s.size,r="+".concat(f().length);return t!==e.e&&(h.size=e.e=t),r!==e.t&&(h.username=e.t=r),e},{e:void 0,t:void 0}),h}})}}),null),n)]}iy.registry=function(){oO.registry(),nx("n-avatar-group",im,function(e,t){var r,n=t.element;return ty(function(){nA(n,["css","data"])}),[((r=is()).textContent=nK,r),tV(iy,e)]})};let ix=iy;function iw(e){return void 0===e}var ik=nu(eL||(O=[`
|
|
534
534
|
:host {
|
|
535
535
|
--back-top-color: var(--on-primary-selection);
|
|
536
536
|
--back-top-hover-bg: var(--primary-hover);
|
|
@@ -606,7 +606,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
`],C||(C=O.slice(0)),eL=Object.freeze(Object.defineProperties(O,{raw:{value:Object.freeze(C)}})))),iS=ri("<style> "),iA=ri("<style>"),iO=ri("<div>");function iC(e,t,r,n){var o={configurable:!0,enumerable:!0};return o[e]=n,Object.defineProperty(t,r,o)}function iE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iz(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iz(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
609
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function iz(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ij(e){var t=nQ.baseStyle,r=nQ.isDark,n=iE(tZ(tX({target:window,visibilityHeight:400},e),["class","target","mount","css","visibilityHeight"]),2),o=n[0],i=n[1],a=iE(tv(null),2),l=a[0],s=a[1],c=tx(function(){return oR(o.target)?o.target():o.target}),u=tx(function(){var e=r()?"rgb(255 255 255 / 45%)":"var(--primary-border)";return":host {--back-top-bg: ".concat(e,";}")});function d(){var e;null==(e=c())||e.scrollTo({top:0,behavior:"smooth"})}function f(){!1===l()&&s(null)}function p(e){e.preventDefault();var t,r=0,n=0,i=c();i&&(r=null!=(t=null==i?void 0:i.scrollTop)?t:iw(window)?0:iw(window.pageYOffset)?"CSS1Compat"===document.compatMode?document.documentElement.scrollTop:document.body.scrollTop:window.pageYOffset,n=i.offsetHeight||0);var a=r>n/3||r>o.visibilityHeight;return!!l()!==a&&s(a),!1}return tS(function(){var e;null==(e=c())||e.addEventListener("scroll",p,!1)}),tA(function(){var e;null==(e=c())||e.removeEventListener("scroll",p,!1)}),tV(t2,{get when(){return null!==l()},get children(){return tV(rA,{useShadow:!0,get mount(){return o.mount},get children(){var b,
|
|
609
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function iz(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ij(e){var t=nQ.baseStyle,r=nQ.isDark,n=iE(tZ(tX({target:window,visibilityHeight:400},e),["class","target","mount","css","visibilityHeight"]),2),o=n[0],i=n[1],a=iE(tv(null),2),l=a[0],s=a[1],c=tx(function(){return oR(o.target)?o.target():o.target}),u=tx(function(){var e=r()?"rgb(255 255 255 / 45%)":"var(--primary-border)";return":host {--back-top-bg: ".concat(e,";}")});function d(){var e;null==(e=c())||e.scrollTo({top:0,behavior:"smooth"})}function f(){!1===l()&&s(null)}function p(e){e.preventDefault();var t,r=0,n=0,i=c();i&&(r=null!=(t=null==i?void 0:i.scrollTop)?t:iw(window)?0:iw(window.pageYOffset)?"CSS1Compat"===document.compatMode?document.documentElement.scrollTop:document.body.scrollTop:window.pageYOffset,n=i.offsetHeight||0);var a=r>n/3||r>o.visibilityHeight;return!!l()!==a&&s(a),!1}return tS(function(){var e;null==(e=c())||e.addEventListener("scroll",p,!1)}),tA(function(){var e;null==(e=c())||e.removeEventListener("scroll",p,!1)}),tV(t2,{get when(){return null!==l()},get children(){return tV(rA,{useShadow:!0,get mount(){return o.mount},get children(){var g,b,h,v,m,y;return[(b=(g=iS()).firstChild,tm(function(){return b.data=t()}),g),(v=(h=iS()).firstChild,tm(function(){return v.data=u()}),h),((m=iA()).textContent=ik,m),tV(t2,{get when(){return o.css},get children(){var x=iS(),w=x.firstChild;return tm(function(){return w.data=nu(o.css)}),x}}),(rc(y=iO(),"click",d),rc(y,"animationend",f),rp(y,tX(iC("get",iC("get",iC("get",{},"class",function(){return nf("back-top",o.class)}),"classList",function(){return{"back-top-out":!1===l()}}),"style",function(){return{"z-index":(function(){for(var e=document.getElementsByTagName("*"),t=+window.getComputedStyle(e[0]).zIndex||0,r=1,n=e.length;r<n;r++){var o=+window.getComputedStyle(e[r]).zIndex;o&&o>t&&(t=o)}return t})().toString()}}),i),!1,!1),y)]}})}})}ij.registry=function(){nx("n-back-top",{class:void 0,css:void 0,visibilityHeight:void 0,mount:void 0,target:void 0},function(e,t){var r,n=t.element;n.mount||(n.style.position="sticky",n.style.bottom="24px",n.style.right="24px",n.style.display="block",n.style.pointerEvents="none");var o=tX({css:n.css,visibilityHeight:n.visibilityHeight,mount:n.renderRoot,target:n.target},e);return ty(function(){nA(n,["css"])}),[((r=iA()).textContent=nK,r),tV(ij,o)]})};let iT=ij;var iI=["children","qualifiedName"],iP="http://www.w3.org/2000/svg";let i_=function(e){var t=document.createElementNS(iP,"svg");return!function e(t,r){var n=t.children,o=t.qualifiedName,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,iI),a=r;for(var l in o&&(a=document.createElementNS(iP,o),r.appendChild(a)),Array.isArray(n)&&n.length&&n.forEach(function(t){e(t,a)}),i)Object.prototype.hasOwnProperty.call(i,l)&&a.setAttribute(l,i[l])}(Object.assign({viewBox:"0 0 1024 1024",height:"1em",width:"1em",fill:"currentcolor"},e),t),t};function i$(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function iL(e){var t=".".concat(e),r=".".concat(e,".fill");return"error"===e&&(t=".".concat(e,",.danger"),r=".".concat(e,".fill,.danger.fill")),nu(eN||(eN=i$([`
|
|
610
610
|
`,`:not(.disabled) {
|
|
611
611
|
--btn-border: var(--`,`-border);
|
|
612
612
|
--btn-bg: var(--`,`-selection);
|
|
@@ -868,8 +868,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
868
868
|
box-shadow: 0 0 0 6px var(--btn-outline-color);
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
`])),iL("primary"),iL("error"),iL("success"),iL("warning"));function iR(e){return(iR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iM=ri("<style> "),iD=ri("<style>"),iF=ri("<span class=icon part=icon>"),iU=ri("<span class=label part=label>");function
|
|
872
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function iV(e,t){if(e){if("string"==typeof e)return iY(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iY(e,t):void 0}}function iY(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iq(e){var t,r,n,o,i,a,l=nQ.baseStyle,s=
|
|
871
|
+
`])),iL("primary"),iL("error"),iL("success"),iL("warning"));function iR(e){return(iR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iM=ri("<style> "),iD=ri("<style>"),iF=ri("<span class=icon part=icon>"),iU=ri("<span class=label part=label>");function iB(e,t,r){var n;return(n=function(e,t){if("object"!=iR(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iR(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==iR(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iH(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||iV(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
872
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function iV(e,t){if(e){if("string"==typeof e)return iY(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iY(e,t):void 0}}function iY(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iq(e){var t,r,n,o,i,a,l=nQ.baseStyle,s=iH(tZ(tX({size:"normal",type:"default"},e),["ghost","fill","circle","dashed","flat","link","danger","children","block","size","type","class","icon","css","disabled","tag","loading"]),2),c=s[0],u=s[1],d=iH(tv(!1),2),f=d[0],p=d[1],g=tx(function(){return oR(c.icon)?c.icon():c.icon}),b=tx(function(){return c.block?nJ:nK});return[(r=(t=iM()).firstChild,tm(function(){return r.data=b()}),t),(o=(n=iM()).firstChild,tm(function(){return o.data=l()}),n),((i=iD()).textContent=iN,i),tV(t2,{get when(){return c.css},get children(){var h=iM(),v=h.firstChild;return tm(function(){return v.data=nu(c.css)}),h}}),tV(rO,tX({ref:function(e){var t=a;"function"==typeof t?t(e):a=e},get component(){return rr(function(){return!!c.link})()?"a":c.tag||"button"},class:"btn",get classList(){var m;return iB(iB(iB(iB(iB(iB(iB(iB(iB(iB(m={},c.type,!0),c.size,!0),"loading",c.loading),"danger",c.danger),"block",c.block),"fill",c.fill),"circle",c.circle),"flat",c.flat),"dashed",c.dashed),"ghost",c.ghost),iB(iB(iB(m,"link",c.link),"disabled",c.disabled),"without",f())},part:"button","on:click":function(){c.disabled||c.loading||p(!0)},"on:animationend":function(){p(!1)},get disabled(){return c.disabled||c.loading},role:"button"},u,{get children(){var y;return[tV(t2,{get when(){return c.icon||c.loading},get children(){var x=iF();return rb(x,tV(t3,{get children(){return[tV(t4,{get when(){return c.icon},get children(){return g()}}),tV(t4,{get when(){return c.loading},get children(){return i_({children:[{qualifiedName:"g",style:"transform-box:fill-box; transform-origin:center;",children:[{qualifiedName:"path",d:"M512 64c247.2 0 448 200.8 448 448h-64c0-212-172-384-384-384V64zm0 832c-212 0-384-172-384-384H64c0 247.2 200.8 448 448 448v-64z"},{qualifiedName:"animateTransform",attributeName:"transform",type:"rotate",form:"0",to:"360",dur:"1s",repeatCount:"indefinite"}]}]})}})]}})),x}}),(rb(y=iU(),function(){return c.children}),y)]}}))]}iq.registry=function(){nx("n-button",{class:void 0,css:void 0,type:void 0,ghost:void 0,fill:void 0,circle:void 0,dashed:void 0,flat:void 0,disabled:void 0,block:void 0,link:void 0,danger:void 0,size:void 0,icon:void 0,tag:void 0,loading:void 0},function(e,t){var r,n=t.element,o=tX({css:n.css,children:function(e){if(Array.isArray(e))return iY(e)}(r=n.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||iV(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
873
873
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(n,["css"]),n.replaceChildren()}),tV(iq,o)})};let iG=iq;var iW=document.createDocumentFragment(),iX=nu(eM||(E=[`
|
|
874
874
|
.capture-screen {
|
|
875
875
|
display: block;
|
|
@@ -941,8 +941,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
941
941
|
opacity: 0;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
-
`],z||(z=E.slice(0)),eM=Object.freeze(Object.defineProperties(E,{raw:{value:Object.freeze(z)}}))));function iZ(e){return(iZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iK=ri("<style> "),iJ=ri("<style>"),iQ=ri("<n-button class=btn>",!0,!1,!1),i0=ri("<n-button type=error class=btn>",!0,!1,!1),i1=ri("<div class=record><n-button class=btn><span>",!0,!1,!1),i2=ri("<div class=view><span></span><video autoplay>"),i3=ri("<div><div class=controller><n-button class=btn>",!0,!1,!1);function i4(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return i5(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,
|
|
945
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var at={video:!0,audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}},ar={inactive:"primary",paused:"warning",recording:"success"};function an(e){var t,r,n,o,i,a,l,s,c,u,d=nQ.baseStyle,f=i7(tZ(tX({options:at,captureScreenText:"捕获屏幕",stopCaptureText:"停止捕获",startRecorderText:"开始录制",stopRecorderText:"停止录制",pausedRecorderText:"暂停录制",recorderingText:"录制中",onErrorRecorder:null},e),["options","preview","controls","recorder","filename","captureScreenText","stopCaptureText","startRecorderText","stopRecorderText","pausedRecorderText","recorderingText","onErrorRecorder","onStopRecorder","onStartRecorder","onStopCapture","onStartCapture","onRecorderDataAvailable","onErrorCapture","onSaveRecorder","class","css"]),2),p=f[0],
|
|
944
|
+
`],z||(z=E.slice(0)),eM=Object.freeze(Object.defineProperties(E,{raw:{value:Object.freeze(z)}}))));function iZ(e){return(iZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var iK=ri("<style> "),iJ=ri("<style>"),iQ=ri("<n-button class=btn>",!0,!1,!1),i0=ri("<n-button type=error class=btn>",!0,!1,!1),i1=ri("<div class=record><n-button class=btn><span>",!0,!1,!1),i2=ri("<div class=view><span></span><video autoplay>"),i3=ri("<div><div class=controller><n-button class=btn>",!0,!1,!1);function i4(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return i5(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,g=i[2];r>3?(o=g===n)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(l=0,f.v=n,f.n=i[1]):p<g&&(o=r<3||i[0]>n||n>g)&&(i[4]=r,i[5]=n,f.n=g,l=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,g){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,g),l=u,s=g;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:r.call(n,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),s}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=c.prototype=l.prototype=Object.create([][n]?t(t([][n]())):(i5(t={},n,function(){return this}),t));function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,i5(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,i5(u,"constructor",c),i5(c,"constructor",s),s.displayName="GeneratorFunction",i5(c,o,"GeneratorFunction"),i5(u),i5(u,o,"Generator"),i5(u,n,function(){return this}),i5(u,"toString",function(){return"[object Generator]"}),(i4=function(){return{w:i,m:d}})()}function i5(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(i5=function(e,t,r,n){function i(t,r){i5(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))})(e,t,r,n)}function i6(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i6(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=iZ(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=iZ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==iZ(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i6(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i9(e,t,r,n,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function i7(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ae(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
945
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var at={video:!0,audio:{echoCancellation:!0,noiseSuppression:!0,sampleRate:44100}},ar={inactive:"primary",paused:"warning",recording:"success"};function an(e){var t,r,n,o,i,a,l,s,c,u,d=nQ.baseStyle,f=i7(tZ(tX({options:at,captureScreenText:"捕获屏幕",stopCaptureText:"停止捕获",startRecorderText:"开始录制",stopRecorderText:"停止录制",pausedRecorderText:"暂停录制",recorderingText:"录制中",onErrorRecorder:null},e),["options","preview","controls","recorder","filename","captureScreenText","stopCaptureText","startRecorderText","stopRecorderText","pausedRecorderText","recorderingText","onErrorRecorder","onStopRecorder","onStartRecorder","onStopCapture","onStartCapture","onRecorderDataAvailable","onErrorCapture","onSaveRecorder","class","css"]),2),p=f[0],g=f[1],b=[],h=i7(tv(null),2),v=h[0],m=h[1],y=i7(tv(null),2),x=y[0],w=y[1],k=i7(tv("inactive"),2),S=k[0],A=k[1];function O(){var e=tk(v);if(e){switch(oR(p.onStartRecorder)&&p.onStartRecorder(e.state),e.state){case"inactive":e.start();break;case"paused":e.resume();break;default:e.pause()}A(e.state)}}function C(e){var t;b.push(e.data),null==(t=p.onRecorderDataAvailable)||t.call(p,e)}function E(){var e,t=tk(v);t&&("inactive"!==t.state&&t.stop(),A(t.state)),null==(e=p.onStopRecorder)||e.call(p)}function z(){if(b.length){var e=new Blob(b,{type:"video/webm"}),t=p.filename||new Date().toISOString(),r="".concat(t,".webm");b.splice(0),p.onSaveRecorder&&p.onSaveRecorder(e,r),function(e,t){var r=window.navigator.msSaveBlob;if(r)return r(e,t);var n=window.URL||window.webkitURL,o=n.createObjectURL(e),i=document.createElement("a");i.href=o,i.download=t,iW.appendChild(i),i.click(),iW.removeChild(i),n.revokeObjectURL(o)}(e,r)}}function j(){E();var e,t=tk(x);t&&(t.getTracks().forEach(function(e){e.stop()}),w(null)),null==(e=p.onStopCapture)||e.call(p)}function T(){var e;return e=i4().m(function e(){var t,r,n,o;return i4().w(function(e){for(;;)switch(e.p=e.n){case 0:return j(),e.p=1,e.n=2,navigator.mediaDevices.getDisplayMedia(i8(i8({},at),p.options));case 2:(r=e.v)&&(r.addEventListener("inactive",j,!1),w(r)),null==(t=p.onStartCapture)||t.call(p,r),e.n=4;break;case 3:e.p=3,o=e.v,null==(n=p.onErrorCapture)||n.call(p,o);case 4:return e.a(2)}},e,null,[[1,3]])}),(T=function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){i9(i,n,o,a,l,"next",e)}function l(e){i9(i,n,o,a,l,"throw",e)}a(void 0)})}).apply(this,arguments)}ty(function(){var e=x();p.preview&&u&&e&&(u.srcObject=e)}),ty(function(){var e=x();if(null!=e&&e.active){var t=new MediaRecorder(e);t.onstop=z,t.onerror=p.onErrorRecorder,t.ondataavailable=C,m(t)}else m(null)}),tA(function(){var e=tk(v);e&&"inactive"!==e.state&&e.stop();var t=tk(x);t&&t.getTracks().forEach(function(e){e.stop()})});var I=tx(function(){return({paused:p.pausedRecorderText,recording:p.recorderingText,inactive:p.startRecorderText})[S()]});return[(r=(t=iK()).firstChild,tm(function(){return r.data=d()}),t),((n=iJ()).textContent=iX,n),tV(t2,{get when(){return p.css},get children(){var P=iK(),_=P.firstChild;return tm(function(){return _.data=nu(p.css)}),P}}),(a=(i=(o=i3()).firstChild).firstChild,rp(o,tX((l={},s=function(){return nf("capture-screen",p.class)},(c={configurable:!0,enumerable:!0}).get=s,Object.defineProperty(l,"class",c)),g),!1,!0),a.$$click=function(){return T.apply(this,arguments)},a._$owner=tu,rb(a,function(){return p.captureScreenText}),rb(i,tV(t2,{get when(){return x()},get children(){var $;return[(($=iQ()).$$click=j,$.danger=!0,$._$owner=tu,rb($,function(){return p.stopCaptureText}),$),tV(t2,{get when(){return p.recorder},get children(){var L=i1(),N=L.firstChild,R=N.firstChild;return N.$$click=O,N._$owner=tu,rb(R,I),rb(L,tV(t2,{get when(){return"inactive"!==S()},get children(){var M=i0();return M.$$click=E,M._$owner=tu,rb(M,function(){return p.stopRecorderText}),M}}),null),tm(function(){return N.type=ar[S()]}),L}})]}}),null),rb(o,tV(t2,{get when(){return rr(function(){return!!p.preview})()&&x()},get children(){var D=i2(),F=D.firstChild,U=F.nextSibling,B=u;return"function"==typeof B?rg(B,U):u=U,tm(function(e){var t="recording"===S(),r="paused"===S(),n=p.controls&&null!==x();return t!==e.e&&F.classList.toggle("recording",e.e=t),r!==e.t&&F.classList.toggle("paused",e.t=r),n!==e.a&&(U.controls=e.a=n),e},{e:void 0,t:void 0,a:void 0}),D}}),null),o)]}an.registry=function(){iG.registry(),nx("n-capture-screen",{class:void 0,css:void 0,options:void 0,preview:void 0,controls:void 0,recorder:void 0,filename:void 0,captureScreenText:void 0,stopCaptureText:void 0,startRecorderText:void 0,stopRecorderText:void 0,pausedRecorderText:void 0,recorderingText:void 0,onErrorRecorder:void 0,onStopRecorder:void 0,onStartRecorder:void 0,onRecorderDataAvailable:void 0,onErrorCapture:void 0,onStopCapture:void 0,onStartCapture:void 0,onSaveRecorder:void 0},function(e,t){var r,n=t.element,o=tX({onErrorRecorder:function(e){n.dispatchEvent(new CustomEvent("errorrecorder",{detail:e}))},onStopRecorder:function(){n.dispatchEvent(new CustomEvent("stoprecorder",{detail:void 0}))},onStartRecorder:function(e){n.dispatchEvent(new CustomEvent("startrecorder",{detail:e}))},onRecorderDataAvailable:function(e){n.dispatchEvent(new CustomEvent("recorderdataavailable",{detail:e}))},onErrorCapture:function(e){n.dispatchEvent(new CustomEvent("errorcapture",{detail:e}))},onStopCapture:function(){n.dispatchEvent(new CustomEvent("stopcapture",{detail:void 0}))},onStartCapture:function(e){n.dispatchEvent(new CustomEvent("startcapture",{detail:e}))},onSaveRecorder:function(e,t){n.dispatchEvent(new CustomEvent("saverecorder",{detail:[e,t]}))}},e);return ty(function(){nA(n,["css","options"])}),[((r=iJ()).textContent=nK,r),tV(an,o)]})};let ao=an;ra(["click"]);var ai=nu(eD||(j=[`
|
|
946
946
|
:host {
|
|
947
947
|
inline-size: 100%;
|
|
948
948
|
}
|
|
@@ -1108,8 +1108,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
`],T||(T=j.slice(0)),eD=Object.freeze(Object.defineProperties(j,{raw:{value:Object.freeze(T)}})))),aa=ri("<style> "),al=ri("<style>"),as=ri("<section class=header>"),ac=ri("<div class=dots>"),au=ri("<section><section class=list><div class=item></div><div class=item></div><div class=item></div></section><slot name=header></slot><div class=prev></div><div class=next>"),ad=ri("<i class=dot>");function af(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||ap(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1111
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ap(e,t){if(e){if("string"==typeof e)return
|
|
1112
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}),T=tx(function(){return Array(j().length>20?20:j().length).fill(null)});ty(function(){void 0!==
|
|
1111
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ap(e,t){if(e){if("string"==typeof e)return ag(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ag(e,t):void 0}}function ag(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ab(e){var t,r,n,o,i,a,l,s,c,u,d,f,p=nQ.baseStyle,g=tX({autoplay:-1,children:[]},e),b=af(tv(0),2),h=b[0],v=b[1],m=af(tv(1),2),y=m[0],x=m[1],w=af(tv(0),2),k=w[0],S=w[1],A=af(tv(0),2),O=A[0],C=A[1];function E(){C(1)}function z(e,t){t.stopPropagation();var r=k(),n=20*Math.floor(r/20)+e;n>r?(C(1),x(n)):n<r&&(C(-1),v(n))}var j=tx(function(){var e;return function(e){if(Array.isArray(e))return ag(e)}(e=g.children)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ap(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1112
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}),T=tx(function(){return Array(j().length>20?20:j().length).fill(null)});ty(function(){void 0!==g.offset&&S(Number(g.offset))}),ty(function(){var e,t,r,n,o=af((e=k(),t=j(),r=e-1,n=e+1,r<0&&(r=t.length-1),n>t.length-1&&(n=0),[r,n]),2),i=o[0],a=o[1];v(i),x(a)}),ty(function(){clearInterval(f);var e=Number(g.autoplay);e>0&&(f=setInterval(function(){e<1&&clearInterval(f),E()},e))}),tA(function(){clearInterval(f)});var I=tx(function(){return oR(g.header)?g.header(k()):g.header});return[(r=(t=aa()).firstChild,tm(function(){return r.data=p()}),t),((n=al()).textContent=ai,n),tV(t2,{get when(){return g.css},get children(){var P=aa(),_=P.firstChild;return tm(function(){return _.data=nu(g.css)}),P}}),(s=(l=(a=(i=(o=au()).firstChild).firstChild).nextSibling).nextSibling,d=(u=(c=i.nextSibling).nextSibling).nextSibling,rb(a,function(){return j()[h()]}),rc(l,"animationend",function(){var e=O();-1===e?S(h()):1===e&&S(y()),C(0),oR(g.onChange)&&g.onChange(k())}),rb(l,function(){return j()[k()]}),rb(s,function(){return j()[y()]}),c._$owner=tu,rb(o,tV(t2,{get when(){return I()},get children(){var $=as();return rb($,I),$}}),u),rc(u,"click",function(){C(-1)}),rc(d,"click",E),rb(o,tV(t2,{get when(){return g.dots},get children(){var L=ac();return rb(L,tV(t1,{get each(){return T()},children:function(e,t){var r;return rc(r=ad(),"click",z.bind(null,t)),tm(function(){return r.classList.toggle("active",t===k()%20+O())}),r}})),L}}),null),tm(function(e){var t=nf("carousel",g.class),r=O();return t!==e.e&&rs(o,e.e=t),r!==e.t&&rl(i,"data-dir",e.t=r),e},{e:void 0,t:void 0}),o)]}ab.registry=function(){nx("n-carousel",{children:void 0,autoplay:void 0,class:void 0,css:void 0,offset:void 0,dots:void 0,header:void 0,onChange:void 0},function(e,t){var r,n=t.element,o=tX({onChange:function(e){n.offset=e,n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["css"]),n.replaceChildren()}),[((r=al()).textContent=nJ,r),tV(ab,o)]})};let ah=ab;function av(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function am(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?av(Object(r),!0).forEach(function(t){ay(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):av(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ay(e,t,r){var n;return(n=function(e,t){if("object"!=ax(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ax(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==ax(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ax(e){return(ax="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}let aw=function e(t,r){return t?t.map(function(t,n){var o=Object.assign({},nS,r),i=o.options,a=o.children,l=o.label,s=o.value;if("object"===ax(t)){var c,u,d=null!=(c=iw(t[l])?t[s]:t[l])?c:n,f=null!=(u=iw(t[s])?d:t[s])?u:n,p=am(am({},t),{},ay(ay({},l,d),s,f));return Array.isArray(t[a])&&Object.assign(p,ay({},a,e(t[a],r))),Array.isArray(t[i])&&Object.assign(p,ay({},i,e(t[i],r))),p}return ay(ay({},l,t),s,t)}):[]};var ak=nu(eF||(I=[`
|
|
1113
1113
|
.box {
|
|
1114
1114
|
display: flex;
|
|
1115
1115
|
flex-wrap: wrap;
|
|
@@ -1240,8 +1240,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1240
1240
|
|
|
1241
1241
|
`,`
|
|
1242
1242
|
`],P||(P=I.slice(0)),eF=Object.freeze(Object.defineProperties(I,{raw:{value:Object.freeze(P)}}))),["success","error","warning"].map(function(e){return".".concat(e," {--border-color: var(--").concat(e,"-border);--primary-hover: var(--").concat(e,"-hover);--primary-outline: var(--").concat(e,"-outline);--primary-color: var(--").concat(e,"-color);--primary-active: var(--").concat(e,"-active);--component-bg: var(--").concat(e,"-bg);}")}).join(""));function aS(e){return(aS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var aA=ri("<style> "),aO=ri("<style>"),aC=ri("<section>"),aE=ri("<span><input class=checkbox type=checkbox><label>");function az(e,t,r){var n;return(n=function(e,t){if("object"!=aS(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=aS(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==aS(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aj(e,t){if(e){if("string"==typeof e)return aT(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aT(e,t):void 0}}function aT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aI(e){var t,r,n,o,i,a=nQ.baseStyle,l=function(e){if(Array.isArray(e))return e}(t=tv([]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||aj(t,2)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1243
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return Object.assign({},nS,e.fieldNames)});ty(function(){var t=void 0===e.value?e.defaultValue:e.value,r=[];Array.isArray(t)?r=t:void 0!==t&&(r=[t]),c(r)});var d=tx(function(){var t=u();if(void 0===e.options)return aw([{value:1}],t);var r=[az(az(az({},t.value,"all"),t.label,"全选"),"indeterminate",!1)];return(e.checkAll?r:[]).concat(aw(e.options||[],t))}),f=tx(function(){var e=[],t=u();return d().forEach(function(r){"indeterminate"in r||void 0===r[t.value]||e.push(r[t.value])}),e}),p=tx(function(){for(var e=!0,t=f(),r=0,n=t.length;r<n;r++)if(!s().includes(t[r])){e=!1;break}return e});function
|
|
1244
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),a=t[u().value];if(o)p()||(i=f());else{var l=i.indexOf(a);-1!==l?i.splice(l,1):i.push(a)}void 0===e.value&&c(i),null==(n=e.onChange)||n.call(e,void 0===e.options?!!i[0]:i)}}function
|
|
1243
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return Object.assign({},nS,e.fieldNames)});ty(function(){var t=void 0===e.value?e.defaultValue:e.value,r=[];Array.isArray(t)?r=t:void 0!==t&&(r=[t]),c(r)});var d=tx(function(){var t=u();if(void 0===e.options)return aw([{value:1}],t);var r=[az(az(az({},t.value,"all"),t.label,"全选"),"indeterminate",!1)];return(e.checkAll?r:[]).concat(aw(e.options||[],t))}),f=tx(function(){var e=[],t=u();return d().forEach(function(r){"indeterminate"in r||void 0===r[t.value]||e.push(r[t.value])}),e}),p=tx(function(){for(var e=!0,t=f(),r=0,n=t.length;r<n;r++)if(!s().includes(t[r])){e=!1;break}return e});function g(t){if(!e.disabled&&!t.disabled){var r,n,o="indeterminate"in t,i=o?[]:function(e){if(Array.isArray(e))return aT(e)}(r=s())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||aj(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1244
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),a=t[u().value];if(o)p()||(i=f());else{var l=i.indexOf(a);-1!==l?i.splice(l,1):i.push(a)}void 0===e.value&&c(i),null==(n=e.onChange)||n.call(e,void 0===e.options?!!i[0]:i)}}function b(e,t){t.preventDefault(),"Enter"===t.key&&g(e)}return[(n=(r=aA()).firstChild,tm(function(){return n.data=a()}),r),((o=aO()).textContent=ak,o),tV(t2,{get when(){return e.css},get children(){var h=aA(),v=h.firstChild;return tm(function(){return v.data=nu(e.css)}),h}}),(rb(i=aC(),tV(t0,{get each(){return d()},children:function(t){var r,n,o,i,a=e.disabled||t.disabled,l=u(),c=t[l.value];return"indeterminate"in t&&ty(function(){var e;t.ref.indeterminate=(e=!1,f().forEach(function(t){s().length&&!s().includes(t)&&(e=!0)}),e)}),o=(n=(r=aE()).firstChild).nextSibling,rc(r,"click",g.bind(null,t)),rc(r,"keyup",b.bind(null,t)),rl(r,"aria-disabled",a),rl(r,"tabindex",a?-1:0),rc(n,"change",g.bind(null,t)),"function"==typeof(i=t.ref)?rg(i,n):t.ref=n,n.value=c,n.disabled=a,rb(o,function(){return t[l.label]}),tm(function(o){var i=nf("item",t.class,t.status),a=e.name;return i!==o.e&&rs(r,o.e=i),a!==o.t&&rl(n,"name",o.t=a),o},{e:void 0,t:void 0}),tm(function(){return n.checked="indeterminate"in t?p():s().includes(c)}),r}})),tm(function(){return rs(i,nf("box",e.layout,e.class))}),i)]}aI.registry=function(){nx("n-checkbox",{class:void 0,css:void 0,name:void 0,disabled:void 0,value:void 0,defaultValue:void 0,options:void 0,onChange:void 0,fieldNames:void 0,checkAll:void 0,layout:void 0},function(e,t){var r,n=t.element,o=tX({layout:n.layout||"horizontal",onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["options","fieldNames","css"])}),[((r=aO()).textContent=nK,r),tV(aI,o)]})};let aP=aI;function a_(e){var t=window.setTimeout(function(){e.setAttribute("data-copy-exit",""),null!==t&&(window.clearTimeout(t),t=null);var r=window.setTimeout(function(){e.removeAttribute("data-copy-exit"),e.removeAttribute("data-copy"),e.removeAttribute("role"),e.removeAttribute("aria-live"),null!==r&&(window.clearTimeout(r),r=null)},300)},4e3)}function a$(e){e&&(e.setAttribute("data-copy","success"),e.setAttribute("role","alert"),e.setAttribute("aria-live","assertive"),a_(e))}function aL(e,t,r){e&&(e.setAttribute("data-copy","failure"),a_(e)),oR(t)&&t(r)}function aN(e,t,r){if(void 0===navigator.clipboard){var n=document.createElement("input");n.value=e,n.style.position="fixed",n.style.opacity="0",n.style.zIndex="-1000",document.body.appendChild(n),n.focus(),n.select();try{document.execCommand("copy"),a$(t)}catch(e){aL(t,r,e)}document.body.removeChild(n),n.remove()}else navigator.clipboard.writeText(e).then(function(){a$(t)},function(e){aL(t,r,e)})}var aR=function(e){var t=i_({class:e.class,"aria-label":"copy",children:[{qualifiedName:"path",d:"M672 832H224c-52.928 0-96-43.072-96-96V160c0-52.928 43.072-96 96-96h448c52.928 0 96 43.072 96 96v576c0 52.928-43.072 96-96 96zM224 128c-17.632 0-32 14.368-32 32v576c0 17.664 14.368 32 32 32h448c17.664 0 32-14.336 32-32V160c0-17.632-14.336-32-32-32H224z"},{qualifiedName:"path",d:"M800 960H320c-17.664 0-32-14.304-32-32s14.336-32 32-32h480c17.664 0 32-14.336 32-32V256c0-17.664 14.304-32 32-32s32 14.336 32 32v608c0 52.928-43.072 96-96 96zM544 320H288c-17.664 0-32-14.336-32-32s14.336-32 32-32h256c17.696 0 32 14.336 32 32s-14.304 32-32 32zm64 160H288.032c-17.664 0-32-14.336-32-32s14.336-32 32-32H608c17.696 0 32 14.336 32 32s-14.304 32-32 32z"},{qualifiedName:"path",d:"M608 640H288c-17.664 0-32-14.304-32-32s14.336-32 32-32h320c17.696 0 32 14.304 32 32s-14.304 32-32 32z"}]});return t.onclick=e.onClick,t},aM=nu(eU||(_=[`
|
|
1245
1245
|
:host {
|
|
1246
1246
|
--code-font-stack:
|
|
1247
1247
|
'Liberation Mono', monaco, menlo, consolas, 'Source Code Pro', 'Ubuntu Mono',
|
|
@@ -1441,9 +1441,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1441
1441
|
transform: translate3d(0, -100%, 0) scale(0);
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
|
-
`],$||($=_.slice(0)),eU=Object.freeze(Object.defineProperties(_,{raw:{value:Object.freeze($)}})))),aD=nu({":host":{"--code-bg":"#000","--code-color":"#eee","--code-shadow":"rgb(0 0 0 / 12%)","--code-lang-style-color":"#fd9170","--code-toolbar-bg":"rgb(63, 63, 63, 0.7)","--code-toolbar-shadow":"rgb(0 0 0 / 10%)","--atrule":"#c792ea","--attr-name":"#9cdcfe","--attr-value":"#ce9178","--attr-equals":"#ccc","--attribute":"#a5e844","--boolean":"#c792ea","--builtin":"#ffcb6b","--cdata":"#80cbc4","--char":"#80cbc4","--class":"#ffcb6b","--class-name":"#f2ff00","--comment":"#616161","--constant":"#c792ea","--doctype":"#616161","--entity":"#f66","--function":"#dcdcaa","--hexcode":"#f2ff00","--id":"#c792ea","--important":"#c792ea","--keyword":"#c792ea","--number":"#fd9170","--operator":"#569cd6","--prolog":"#616161","--property":"#80cbc4","--pseudo-class":"#a5e844","--pseudo-element":"#a5e844","--punctuation":"#89ddff","--regex":"#f2ff00","--selector":"#f66","--string":"#a5e844","--symbol":"#c792ea","--tag":"#569cd6","--unit":"#fd9170","--url":"#f66","--variable":"#f66","--inserted-bg":"rgba(0, 255, 128, .15)","--deleted-bg":"rgba(255, 0, 0, .15)"}}),aF=nu({":host":{"--code-bg":"#fff","--code-color":"#90a4ae","--code-shadow":"var(--primary-shadow)","--code-lang-style-color":"#f76d47","--code-toolbar-bg":"rgb(220 224 229 / 50%)","--code-toolbar-shadow":"rgb(0 0 0 / 10%)","--namespace":"rgba(56, 64, 68, 0.7)","--tag":"#4b69c6","--atrule":"#7c4dff","--attr-name":"#39adb5","--attr-value":"#f6a434","--attr-equals":"#90a4ae","--attribute":"#f6a434","--boolean":"#7c4dff","--builtin":"#39adb5","--cdata":"#39adb5","--char":"#39adb5","--class":"#39adb5","--class-name":"#6182b8","--comment":"#aabfc9","--constant":"#7c4dff","--doctype":"#aabfc9","--entity":"#e53935","--hexcode":"#f76d47","--id":"#7c4dff","--important":"#7c4dff","--keyword":"#7c4dff","--number":"#f76d47","--operator":"#91b3e0","--prolog":"#aabfc9","--property":"#39adb5","--pseudo-class":"#f6a434","--pseudo-element":"#f6a434","--punctuation":"#39adb5","--regex":"#6182b8","--selector":"#e53935","--string":"#f6a434","--symbol":"#7c4dff","--unit":"#f76d47","--url":"#e53935","--variable":"#e53935","--function":"#4078f2","--name":"#39adb5","--prefix-inserted":"green","--prefix-deleted":"red","--inserted-bg":"rgba(0, 255, 128, .1)","--deleted-bg":"rgba(255, 0, 0, .1)"}}),aU=ri("<style> "),
|
|
1445
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function aK(e,t){if(e){if("string"==typeof e)return aJ(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aJ(e,t):void 0}}function aJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aQ(t){var o,i,a,l,s,c,u,d,p=nQ.isDark,
|
|
1446
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(CSS.highlights.keys());try{for(t.s();!(e=t.n()).done;){var r=e.value;r.startsWith(
|
|
1444
|
+
`],$||($=_.slice(0)),eU=Object.freeze(Object.defineProperties(_,{raw:{value:Object.freeze($)}})))),aD=nu({":host":{"--code-bg":"#000","--code-color":"#eee","--code-shadow":"rgb(0 0 0 / 12%)","--code-lang-style-color":"#fd9170","--code-toolbar-bg":"rgb(63, 63, 63, 0.7)","--code-toolbar-shadow":"rgb(0 0 0 / 10%)","--atrule":"#c792ea","--attr-name":"#9cdcfe","--attr-value":"#ce9178","--attr-equals":"#ccc","--attribute":"#a5e844","--boolean":"#c792ea","--builtin":"#ffcb6b","--cdata":"#80cbc4","--char":"#80cbc4","--class":"#ffcb6b","--class-name":"#f2ff00","--comment":"#616161","--constant":"#c792ea","--doctype":"#616161","--entity":"#f66","--function":"#dcdcaa","--hexcode":"#f2ff00","--id":"#c792ea","--important":"#c792ea","--keyword":"#c792ea","--number":"#fd9170","--operator":"#569cd6","--prolog":"#616161","--property":"#80cbc4","--pseudo-class":"#a5e844","--pseudo-element":"#a5e844","--punctuation":"#89ddff","--regex":"#f2ff00","--selector":"#f66","--string":"#a5e844","--symbol":"#c792ea","--tag":"#569cd6","--unit":"#fd9170","--url":"#f66","--variable":"#f66","--inserted-bg":"rgba(0, 255, 128, .15)","--deleted-bg":"rgba(255, 0, 0, .15)"}}),aF=nu({":host":{"--code-bg":"#fff","--code-color":"#90a4ae","--code-shadow":"var(--primary-shadow)","--code-lang-style-color":"#f76d47","--code-toolbar-bg":"rgb(220 224 229 / 50%)","--code-toolbar-shadow":"rgb(0 0 0 / 10%)","--namespace":"rgba(56, 64, 68, 0.7)","--tag":"#4b69c6","--atrule":"#7c4dff","--attr-name":"#39adb5","--attr-value":"#f6a434","--attr-equals":"#90a4ae","--attribute":"#f6a434","--boolean":"#7c4dff","--builtin":"#39adb5","--cdata":"#39adb5","--char":"#39adb5","--class":"#39adb5","--class-name":"#6182b8","--comment":"#aabfc9","--constant":"#7c4dff","--doctype":"#aabfc9","--entity":"#e53935","--hexcode":"#f76d47","--id":"#7c4dff","--important":"#7c4dff","--keyword":"#7c4dff","--number":"#f76d47","--operator":"#91b3e0","--prolog":"#aabfc9","--property":"#39adb5","--pseudo-class":"#f6a434","--pseudo-element":"#f6a434","--punctuation":"#39adb5","--regex":"#6182b8","--selector":"#e53935","--string":"#f6a434","--symbol":"#7c4dff","--unit":"#f76d47","--url":"#e53935","--variable":"#e53935","--function":"#4078f2","--name":"#39adb5","--prefix-inserted":"green","--prefix-deleted":"red","--inserted-bg":"rgba(0, 255, 128, .1)","--deleted-bg":"rgba(255, 0, 0, .1)"}}),aU=ri("<style> "),aB=ri("<style>"),aH=ri("<div class=toolbar part=code-toolbar>"),aV=ri("<pre part=code-block><code part=code-content>");function aY(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return aq(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,g=i[2];r>3?(o=g===n)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(l=0,f.v=n,f.n=i[1]):p<g&&(o=r<3||i[0]>n||n>g)&&(i[4]=r,i[5]=n,f.n=g,l=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,g){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,g),l=u,s=g;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:r.call(n,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),s}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=c.prototype=l.prototype=Object.create([][n]?t(t([][n]())):(aq(t={},n,function(){return this}),t));function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,aq(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,aq(u,"constructor",c),aq(c,"constructor",s),s.displayName="GeneratorFunction",aq(c,o,"GeneratorFunction"),aq(u),aq(u,o,"Generator"),aq(u,n,function(){return this}),aq(u,"toString",function(){return"[object Generator]"}),(aY=function(){return{w:i,m:d}})()}function aq(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(aq=function(e,t,r,n){function i(t,r){aq(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))})(e,t,r,n)}function aG(e,t,r){var n;return(n=function(e,t){if("object"!=aW(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=aW(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==aW(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aW(e){return(aW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function aX(e,t,r,n,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function aZ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||aK(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1445
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function aK(e,t){if(e){if("string"==typeof e)return aJ(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aJ(e,t):void 0}}function aJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function aQ(t){var o,i,a,l,s,c,u,d,p=nQ.isDark,g=/%[0-9A-Fa-f]{2}/,b=tJ(),h=aZ(tv(""),2),v=h[0],m=h[1],y=aZ(tv(),2),x=y[0],w=y[1];function k(){var e;return e=aY().m(function e(){return aY().w(function(e){for(;;)switch(e.n){case 0:if(window.Prism){e.n=2;break}return e.n=1,Promise.resolve().then(r.bind(r,643));case 1:return e.a(2,e.v.default);case 2:return window.Prism.disableWorkerMessageHandler=!0,window.Prism.manual=!0,e.a(2,window.Prism)}},e)}),(k=function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){aX(i,n,o,a,l,"next",e)}function l(e){aX(i,n,o,a,l,"throw",e)}a(void 0)})}).apply(this,arguments)}var S=aZ(function(t,r){let o,i,a;"function"==typeof r?(o=t,i=r,a={}):(o=!0,i=t,a=r||{});let l=null,s=f,c=null,u=!1,d=!1,p="initialValue"in a,g="function"==typeof o&&tx(o),b=new Set,[h,v]=(a.storage||tv)(a.initialValue),[m,y]=tv(void 0),[x,w]=tv(void 0,{equals:!1}),[k,S]=tv(p?"ready":"unresolved");function A(e,t,r,n){return l===e&&(l=null,void 0!==n&&(p=!0),(e===s||t===s)&&a.onHydrated&&queueMicrotask(()=>a.onHydrated(n,{value:t})),s=f,td&&e&&u?(td.promises.delete(e),u=!1,t$(()=>{td.running=!0,O(t,r)},!1)):O(t,r)),t}function O(e,t){t$(()=>{for(let r of(void 0===t&&v(()=>e),S(void 0!==t?"errored":p?"ready":"unresolved"),y(t),b.keys()))r.decrement();b.clear()},!1)}function C(){let t=e&&tE(e),r=h(),n=m();if(void 0!==n&&!l)throw n;return tf&&!tf.user&&t&&tT(tP(()=>{x(),l&&(t.resolved&&td&&u?td.promises.add(l):b.has(t)||(t.increment(),b.add(t)))},void 0,!0,1)),r}function E(e=!0){let t;if(!1!==e&&d)return;d=!1;let r=g?g():o;if(u=td&&td.running,null==r||!1===r)return void A(l,tk(h));td&&l&&td.promises.delete(l);let n=s!==f?s:tk(()=>{try{return i(r,{value:h(),refetching:e})}catch(e){t=e}});return void 0!==t?void A(l,void 0,tD(t),r):n&&"object"==typeof n&&"then"in n?(l=n,"v"in n)?(1===n.s?A(l,n.v,void 0,r):A(l,void 0,tD(n.v),r),n):(d=!0,queueMicrotask(()=>d=!1),t$(()=>{S(p?"refreshing":"pending"),w()},!1),n.then(e=>A(n,e,void 0,r),e=>A(n,void 0,tD(e),r))):(A(l,n,void 0,r),n)}n.context&&(c=n.getNextContextId(),"initial"===a.ssrLoadFrom?s=a.initialValue:n.load&&n.has(c)&&(s=n.load(c))),Object.defineProperties(C,{state:{get:()=>k()},error:{get:()=>m()},loading:{get(){let e=k();return"pending"===e||"refreshing"===e}},latest:{get(){if(!p)return C();let e=m();if(e&&!l)throw e;return h()}}});let z=tu;return g?tT(tP(()=>(z=tu,E(!1)),void 0,!0,1)):E(!1),[C,{refetch:e=>tO(z,()=>E(e)),mutate:v}]}("prism",function(){return k.apply(this,arguments)}),1)[0],A=tx(function(){var e;return t.title||(null==(e=t.language)?void 0:e.split(" ").pop())}),O=tx(function(){return t.theme?"dark"===t.theme?aD:aF:p()?aD:aF});function C(){aN(tk(v),u)}ty(function(){var e=t.code||"";g.test(e)&&(e=decodeURIComponent(e)),u&&(u.normalize(),e!==u.textContent&&m(e))});function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"markup",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};d&&(clearTimeout(d),d=void 0);var o=S();t&&o&&(d=setTimeout(function(){if(clearTimeout(d),CSS.highlights){r&&CSS.highlights.forEach(function(e,t){t.startsWith(b)&&e.clear()});var i=e.split(" "),a=o.languages[i[0]];a&&u&&function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=o;if(Array.isArray(r)){for(var a=0,l=r.length;a<l;a++){var s=r[a];if("object"!==aW(s)){i+=s.length;continue}i=e(t,s,n,i)}return i}if("object"===aW(r)&&r.type&&t.firstChild){var c,u,d=(null!=(u=r.alias)?u:r.type).toString(),f=b+d,p=new Range;["deleted","inserted"].includes(d)?p.setStart(t.firstChild,i+2):p.setStart(t.firstChild,i),Array.isArray(r.content)?i=e(t,r.content,n,i):"string"==typeof r.content&&(i+=r.content.length),p.setEnd(t.firstChild,i),(c=CSS.highlights.get(f))?c.add(p):CSS.highlights.set(f,new Highlight().add(p)),void 0===n[f]&&(n[f]="::highlight(".concat(f,"){color:var(--").concat(d,");background-color:var(--").concat(d,"-bg);text-decoration:var(--").concat(d,"-text-decoration);text-shadow:var(--").concat(d,"-text-shadow);-webkit-text-stroke-width:var(--").concat(d,"-stroke-width);-webkit-text-stroke-color:var(--").concat(d,"-stroke-color);}"))}return i}(u,o.tokenize(t,a),n),i.length>1||"git"===i[0]?E(i[1],t,!1,n):w(Object.values(n).join(""))}else throw Error("不支持 CSS Highlights");d=void 0},0))}return ty(function(){E(t.language,v(),!0)}),tA(function(){if(CSS.highlights){var e,t=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=aK(e))){t&&(e=t);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1446
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,i=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(CSS.highlights.keys());try{for(t.s();!(e=t.n()).done;){var r=e.value;r.startsWith(b)&&CSS.highlights.delete(r)}}catch(e){t.e(e)}finally{t.f()}}}),[(i=(o=aU()).firstChild,tm(function(){return i.data=O()}),o),tV(t2,{get when(){return x()},get children(){var z=aU(),j=z.firstChild;return tm(function(){return j.data=x()}),z}}),((a=aB()).textContent=aM,a),tV(t2,{get when(){return t.css},get children(){var T=aU(),I=T.firstChild;return tm(function(){return I.data=nu(t.css)}),T}}),(s=(l=aV()).firstChild,rb(l,tV(t2,{get when(){return t.toolbar},get children(){var P=aH();return rb(P,tV(aR,{class:"toolbar-copy",onClick:C})),tm(function(){return rl(P,"data-language",A())}),P}}),s),rc(s,"input",function(e){e.target.normalize();var r=e.target.textContent;E(t.language,r,!0),oR(t.onChange)&&t.onChange(r)}),"function"==typeof(c=u)?rg(c,s):u=s,rl(s,"spellcheck",!1),rb(s,v),tm(function(e){var r=aG(aG(aG(aG({},"language-".concat(t.language),!!t.language),"not-toolbar",!t.toolbar),t.class,!t.edit),"classic",!1!==t.classic),n=t.edit;return e.e=ru(l,r,e.e),n!==e.t&&rl(s,"contenteditable",e.t=n),e},{e:void 0,t:void 0}),l)]}aQ.registry=function(){nx("n-code",{class:void 0,code:void 0,language:void 0,children:void 0,edit:void 0,toolbar:void 0,css:void 0,onChange:void 0,title:void 0,theme:void 0,classic:void 0},function(e,t){var r,n,o=nQ.baseStyle,i=t.element,a=tX({code:i.textContent,css:i.css,onChange:function(e){i.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(i,["css","code","title"]),i.replaceChildren()}),[(n=(r=aU()).firstChild,tm(function(){return n.data=o()}),r),tV(aQ,a)]})};let a0=aQ;var a1=ri("<style>"),a2=ri("<style> "),a3=ri("<details><summary></summary><div class=content part=content>");function a4(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var a5=nu(eB||(L=[`
|
|
1447
1447
|
details {
|
|
1448
1448
|
overflow: hidden;
|
|
1449
1449
|
border-radius: var(--border-radius);
|
|
@@ -1493,8 +1493,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1493
1493
|
details > .content {
|
|
1494
1494
|
padding: 10px 0 0;
|
|
1495
1495
|
}
|
|
1496
|
-
`],N||(N=L.slice(0)),
|
|
1497
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()});return[((t=a1()).textContent=nJ,t),(n=(r=a2()).firstChild,tm(function(){return n.data=s()}),r),((o=a1()).textContent=a5,o),(l=(a=(i=a3()).firstChild).nextSibling,
|
|
1496
|
+
`],N||(N=L.slice(0)),eB=Object.freeze(Object.defineProperties(L,{raw:{value:Object.freeze(N)}})))),a6=function(e){var t,r,n,o,i,a,l,s=nQ.baseStyle,c=tX({autoplay:-1,children:[]},e),u=tx(function(){var e;return function(e){if(Array.isArray(e))return a4(e)}(e=c.children)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return a4(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a4(e,void 0):void 0}}(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1497
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()});return[((t=a1()).textContent=nJ,t),(n=(r=a2()).firstChild,tm(function(){return n.data=s()}),r),((o=a1()).textContent=a5,o),(l=(a=(i=a3()).firstChild).nextSibling,rb(a,function(){return c.title}),rb(l,tV(t1,{get each(){return u()},children:function(e){return rr(e)}})),i)]};a6.registry=function(){nx("n-collapse",{class:void 0,css:void 0,title:void 0,children:[]},function(e,t){var r=t.element;return ty(function(){nA(r,["css","title"]),r.replaceChildren()}),tV(a6,e)})};let a8=a6;function a9(e){var t=performance.now();requestAnimationFrame(function r(n){n-t<16.7?e():(t=n,requestAnimationFrame(r))})}var a7=nu(eH||(R=[`
|
|
1498
1498
|
.menu {
|
|
1499
1499
|
--menu-selection: var(--primary-selection);
|
|
1500
1500
|
|
|
@@ -1708,10 +1708,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1708
1708
|
opacity: 0;
|
|
1709
1709
|
}
|
|
1710
1710
|
}
|
|
1711
|
-
`],M||(M=R.slice(0)),
|
|
1712
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ld(e,t){if(e){if("string"==typeof e)return lf(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lf(e,t):void 0}}function lf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lp(e){var t,r,n,o,i,a,l,s,c=nQ.isDark,u=nQ.baseStyle,d=lu(tZ(e,["class","css","items","fieldNames","value","disabled","toggle","multiple","onChange","onOpenChange","openKeys"]),2),f=d[0],p=d[1],
|
|
1713
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),o=e[w().value];if(f.multiple){var i=n.indexOf(o);-1===i?n.push(o):n.splice(i,1)}else n=f.toggle&&n[0]===o?[]:[o];oR(f.onChange)&&f.onChange(f.multiple?n:n[0],e),void 0===f.value&&h(n)}}return ty(function(){void 0!==f.value&&null!==f.value?h(Array.isArray(f.value)?f.value:[f.value]):h([])}),ty(function(){Array.isArray(f.openKeys)&&y(f.openKeys)}),ty(function(){Array.isArray(
|
|
1714
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function lk(e,t){if(e){if("string"==typeof e)return lS(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lS(e,t):void 0}}function lS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lA(e){var t,r=lw(tZ(e,["popupClass","popupCss","menuCss","value","defaultValue","onChange","open","onOpenChange","fieldNames","items","multiple","toggle"]),2),n=r[0],o=r[1],i=lw(tv([]),2),a=i[0],l=i[1],s=lw(tv(null),2),c=s[0],u=s[1],d=lw(tv([]),2),f=d[0],p=d[1];function
|
|
1711
|
+
`],M||(M=R.slice(0)),eH=Object.freeze(Object.defineProperties(R,{raw:{value:Object.freeze(M)}}))),["primary","success","error","warning"].map(function(e){return".".concat(e," {--text-color: var(--").concat(e,"-color);--text-heading: var(--").concat(e,"-color);--text-secondary: var(--").concat(e,"-secondary);--component-bg: var(--").concat(e,"-details-bg);--menu-selection: var(--").concat(e,"-selection);}")}).join("")),le=ri("<span class=menu-icon part=icon>"),lt=ri("<span class=menu-label>"),lr=ri("<span class=menu-suffix part=suffix>"),ln=ri("<div class=sub-menu-children part=sub-menu-children><div>"),lo=ri("<div part=sub-menu><span class=sub-menu-title><span class=menu-arrow>"),li=ri("<div><span class=menu-group-title>"),la=ri("<div part=item>"),ll=ri("<style> "),ls=ri("<style>"),lc=ri("<section class=menu part=menu>");function lu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||ld(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1712
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ld(e,t){if(e){if("string"==typeof e)return lf(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lf(e,t):void 0}}function lf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lp(e){var t,r,n,o,i,a,l,s,c=nQ.isDark,u=nQ.baseStyle,d=lu(tZ(e,["class","css","items","fieldNames","value","disabled","toggle","multiple","onChange","onOpenChange","openKeys"]),2),f=d[0],p=d[1],g=lu(tv([]),2),b=g[0],h=g[1],v=lu(tv([]),2),m=v[0],y=v[1],x=tx(function(){return":host {--sub-menu-bg: ".concat(c()?"rgb(255 255 255 / 1%)":"rgb(0 0 0 / 1%)"," ;}")}),w=tx(function(){return Object.assign({},nS,f.fieldNames)}),k=tx(function(){return aw(f.items,w())});function S(e){e.preventDefault(),e.stopPropagation()}function A(e,t){if(t.preventDefault(),!e.disabled&&!f.disabled){var r,n=function(e){if(Array.isArray(e))return lf(e)}(r=b())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||ld(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1713
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),o=e[w().value];if(f.multiple){var i=n.indexOf(o);-1===i?n.push(o):n.splice(i,1)}else n=f.toggle&&n[0]===o?[]:[o];oR(f.onChange)&&f.onChange(f.multiple?n:n[0],e),void 0===f.value&&h(n)}}return ty(function(){void 0!==f.value&&null!==f.value?h(Array.isArray(f.value)?f.value:[f.value]):h([])}),ty(function(){Array.isArray(f.openKeys)&&y(f.openKeys)}),ty(function(){Array.isArray(b())&&b().length&&a9(function(){var e=null==s?void 0:s.querySelector("[aria-selected=true]");if(e&&s){var t=e.offsetTop-s.offsetTop;t<s.scrollTop?s.scrollTo({top:t,behavior:"smooth"}):e.offsetTop+e.offsetHeight>s.scrollTop+s.offsetHeight+s.offsetTop&&s.scrollTo({top:t-s.offsetHeight+e.offsetHeight,behavior:"smooth"})}})}),[(r=(t=ll()).firstChild,tm(function(){return r.data=u()}),t),((n=ls()).textContent=a7,n),(i=(o=ll()).firstChild,tm(function(){return i.data=x()}),o),tV(t2,{get when(){return f.css},get children(){var O=ll(),C=O.firstChild;return tm(function(){return C.data=nu(f.css)}),O}}),(a=lc(),"function"==typeof(l=s)?rg(l,a):s=a,rp(a,p,!1,!0),rb(a,tV(function e(t){return tV(t0,{get each(){return t.list},children:function(r){function n(){var e;return[tV(t2,{get when(){return r[t.fieldNames.icon]},get children(){var n=le();return rb(n,function(){return r[t.fieldNames.icon]}),n}}),(rb(e=lt(),function(){return r[t.fieldNames.label]}),e),tV(t2,{get when(){return r[t.fieldNames.suffix]},get children(){var o=lr();return rb(o,function(){return r[t.fieldNames.suffix]}),o}})]}function o(){var o,i,a,l=tx(function(){return m().includes(r[t.fieldNames.value])}),s=lu(tv(tk(l)),2),c=s[0],u=s[1];function d(){var n,o,i,a,s=lu(tv(),2),c=s[0],d=s[1];return ty(function(){d((null==a?void 0:a.offsetHeight)||0)}),o=(n=ln()).firstChild,rc(n,"animationend",function(){l()||u(!1)}),"function"==typeof(i=a)?rg(i,o):a=o,rb(o,tV(e,{get fieldNames(){return t.fieldNames},get list(){return r[t.fieldNames.children]}})),tm(function(e){return rf(n,"--h","".concat(c(),"px"))}),n}return ty(function(){l()&&u(!0)}),a=(i=(o=lo()).firstChild).firstChild,rc(o,"mousedown",S),rc(i,"click",function(e){S(e);var n=m();n=n.includes(r[t.fieldNames.value])?n.filter(function(e){return e!==r[t.fieldNames.value]}):n.concat(r[t.fieldNames.value]),oR(f.onOpenChange)&&f.onOpenChange(n),void 0===f.openKeys&&y(n)}),rb(i,tV(n,{}),a),rb(o,tV(t2,{get when(){return c()},get children(){return tV(d,{})}}),null),tm(function(e){var t=nf("sub-menu",r.class),n=!!l(),i=!l();return t!==e.e&&rs(o,e.e=t),n!==e.t&&o.classList.toggle("sub-menu-open",e.t=n),i!==e.a&&o.classList.toggle("sub-menu-close",e.a=i),e},{e:void 0,t:void 0,a:void 0}),o}return tV(t3,{get fallback(){var i;return rc(i=la(),"click",A.bind(null,r)),rc(i,"mousedown",S),rb(i,tV(n,{})),tm(function(e){var n=nf("menu-item",r.class,r.type),o=r.handleClosed,a=f.disabled||r.disabled,l=b().includes(r[t.fieldNames.value]);return n!==e.e&&rs(i,e.e=n),o!==e.t&&rl(i,"handle-closed",e.t=o),a!==e.a&&rl(i,"aria-disabled",e.a=a),l!==e.o&&rl(i,"aria-selected",e.o=l),e},{e:void 0,t:void 0,a:void 0,o:void 0}),i},get children(){return[tV(t4,{get when(){return Array.isArray(r[t.fieldNames.children])},get children(){return tV(o,{})}}),tV(t4,{get when(){return Array.isArray(r[t.fieldNames.options])},get children(){var a=li(),l=a.firstChild;return rc(a,"mousedown",S),rb(l,tV(n,{})),rb(a,tV(e,{get fieldNames(){return t.fieldNames},get list(){return r[t.fieldNames.options]}}),null),tm(function(){return rs(a,nf("menu-group",r.class))}),a}})]}})}})},{get fieldNames(){return w()},get list(){return k()}})),a)]}lp.registry=function(){nx("n-menu",{class:void 0,css:void 0,disabled:void 0,value:void 0,defaultValue:void 0,onOpenChange:void 0,openKeys:void 0,fieldNames:void 0,multiple:void 0,toggle:void 0,onChange:void 0,items:[]},function(e,t){var r,n=t.element,o=tX({css:n.css,onChange:function(e,t){n.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))},onOpenChange:function(e){n.dispatchEvent(new CustomEvent("openchange",{detail:e}))}},e);return ty(function(){nA(n,["css","items","fieldNames"])}),[((r=ls()).textContent=nJ,r),tV(lp,o)]})};let lg=lp;function lb(e){return(lb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var lh=ri("<n-menu>",!0,!1,!1),lv=ri("<div class=container>"),lm=ri("<style>");function ly(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lx(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ly(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=lb(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=lb(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lb(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ly(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function lw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||lk(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1714
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function lk(e,t){if(e){if("string"==typeof e)return lS(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lS(e,t):void 0}}function lS(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lA(e){var t,r=lw(tZ(e,["popupClass","popupCss","menuCss","value","defaultValue","onChange","open","onOpenChange","fieldNames","items","multiple","toggle"]),2),n=r[0],o=r[1],i=lw(tv([]),2),a=i[0],l=i[1],s=lw(tv(null),2),c=s[0],u=s[1],d=lw(tv([]),2),f=d[0],p=d[1];function g(e){oR(n.onOpenChange)&&n.onOpenChange(e),void 0===n.open&&u(e)}function b(e){var t=lw(e.detail,2),r=t[0],o=t[1];oR(n.onChange)&&n.onChange(r,o),void 0===n.value&&l(Array.isArray(r)?r:[r]),n.multiple||g(!1)}function h(e){p(e.detail)}return ty(function(){void 0!==n.value&&null!==n.value?l(Array.isArray(n.value)?n.value:[n.value]):l([])}),ty(function(){void 0!==n.open&&tk(c)!==n.open&&u(n.open)}),tV(il,tX({get popupClass(){return n.popupClass},get popupCss(){return n.popupCss},get open(){return c()},onOpenChange:g,get content(){var v,m;return v=lv(),"function"==typeof(m=t)?rg(m,v):t=v,rb(v,tV(t2,{get when(){var y;return null==(y=n.items)?void 0:y.length},get fallback(){return tV(oJ,{style:{width:"100%"}})},get children(){var x=lh();return x.addEventListener("openchange",h),x.addEventListener("change",b),x._$owner=tu,tm(function(e){var t=n.items,r=n.defaultValue,i=n.multiple,a=n.fieldNames,l=n.toggle,s=o.disabled,c=f(),u=n.menuCss;return t!==e.e&&(x.items=e.e=t),r!==e.t&&(x.defaultValue=e.t=r),i!==e.a&&(x.multiple=e.a=i),a!==e.o&&(x.fieldNames=e.o=a),l!==e.i&&(x.toggle=e.i=l),s!==e.n&&(x.disabled=e.n=s),c!==e.s&&(x.openKeys=e.s=c),u!==e.h&&(x.css=e.h=u),e},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0}),tm(function(){return x.value=a()}),x}})),v}},o))}var lO=lx(lx({},ia),{},{fieldNames:void 0,toggle:void 0,value:void 0,defaultValue:void 0,onChange:void 0,multiple:void 0,disabled:void 0,type:void 0,onOpenChange:void 0,openKeys:void 0,menuCss:void 0});lA.registry=function(){lg.registry(),il.registry(),nx("n-dropdown",lx(lx({},lO),{},{items:[]}),function(e,t){var r,n,o=t.element,i=tX({items:o.items,onChange:function(e,t){o.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))},onOpenChange:function(e){o.dispatchEvent(new CustomEvent("openchange",{detail:e}))},children:function(e){if(Array.isArray(e))return lS(e)}(r=o.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||lk(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1715
1715
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(o,["popupCss","css","items","fieldNames","content"])}),[((n=lm()).textContent=nK,n),tV(lA,i)]})};let lC=lA;var lE=nu(eV||(D=[`
|
|
1716
1716
|
.label {
|
|
1717
1717
|
--x: 0;
|
|
@@ -1891,7 +1891,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1891
1891
|
margin-inline-start: 4px;
|
|
1892
1892
|
}
|
|
1893
1893
|
`],F||(F=D.slice(0)),eV=Object.freeze(Object.defineProperties(D,{raw:{value:Object.freeze(F)}})))),lz=ri("<style> "),lj=ri("<style>"),lT=ri("<span class=prefix>"),lI=ri("<label class=label>"),lP=ri("<span class=caps-lock>"),l_=ri("<span class=suffix>"),l$=ri("<fieldset><input class=input part=input>");function lL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return lN(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lN(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1894
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function lN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lR(e){var t,r,n,o,i,a,l,s,c,u=nQ.baseStyle,d=lL(tv(),2),f=d[0],p=d[1],
|
|
1894
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function lN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lR(e){var t,r,n,o,i,a,l,s,c,u=nQ.baseStyle,d=lL(tv(),2),f=d[0],p=d[1],g=lL(tv(!1),2),b=g[0],h=g[1],v=tx(function(){return e.formatter?oR(e.formatter)?e.formatter(e.value):e.formatter:e.value});return ty(function(){e.label&&p(".label {--x: ".concat((null==c?void 0:c.offsetLeft)||0,"px;opacity:1;}"))}),[(r=(t=lz()).firstChild,tm(function(){return r.data=u()}),t),((n=lj()).textContent=lE,n),(i=(o=lz()).firstChild,tm(function(){return i.data=f()}),o),tV(t2,{get when(){return e.css},get children(){var m=lz(),y=m.firstChild;return tm(function(){return y.data=nu(e.css)}),m}}),(l=(a=l$()).firstChild,rb(a,tV(t2,{get when(){return e.prefixIcon},get children(){var x=lT();return rb(x,function(){return e.prefixIcon}),x}}),l),rc(l,"blur",function(t){var r;null==(r=e.onBlur)||r.call(e,t)}),rc(l,"keyup",function(t){var r;null==(r=e.onKeyUp)||r.call(e,t)}),rc(l,"keydown",function(t){var r;e.capsLockIcon&&h(t.getModifierState("CapsLock")),null==(r=e.onKeyDown)||r.call(e,t)}),rc(l,"mousedown",function(t){var r;null==(r=e.onMouseDown)||r.call(e,t)}),rc(l,"change",function(t){var r,n;null==(r=e.onChange)||r.call(e,function(t){if(e.parser)return oR(e.parser)?e.parser(t):e.parser;if("number"===e.type&&"string"==typeof t){var r=t.replace(/[^\d]/g,"");return r.length?parseFloat(r):void 0}return t}(null==(n=t.target)?void 0:n.value))}),"function"==typeof(s=c)?rg(s,l):c=l,rb(a,tV(t2,{get when(){return e.label},get children(){var w=lI();return rb(w,function(){return e.label}),w}}),null),rb(a,tV(t2,{get when(){return rr(function(){return!!e.capsLockIcon})()&&b()},get children(){var k=lP();return rb(k,function(){return e.capsLockIcon}),k}}),null),rb(a,tV(t2,{get when(){return e.suffixIcon},get children(){var S=l_();return rb(S,function(){return e.suffixIcon}),S}}),null),tm(function(t){var r=nf("fieldset",e.size,e.status,e.class),n=e.disabled,o=e.type,i=e.autoComplete,s=e.accept,c=e.placeholder;return r!==t.e&&rs(a,t.e=r),n!==t.t&&(a.disabled=t.t=n),o!==t.a&&rl(l,"type",t.a=o),i!==t.o&&rl(l,"autocomplete",t.o=i),s!==t.i&&rl(l,"accept",t.i=s),c!==t.n&&rl(l,"placeholder",t.n=c),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0}),tm(function(){return l.value=v()}),a)]}var lM={class:void 0,css:void 0,suffixIcon:void 0,prefixIcon:void 0,capsLockIcon:void 0,size:void 0,disabled:void 0,status:void 0,type:void 0,label:void 0,value:void 0,defaultValue:void 0,formatter:void 0,parser:void 0,onChange:void 0,onMouseDown:void 0,onKeyDown:void 0,accept:void 0,autoComplete:void 0,placeholder:"请输入"};lR.registry=function(){nx("n-input",lM,function(e,t){var r,n=t.element,o=tX({css:n.css,size:n.size||"normal",value:n.value||n.defaultValue||"",type:n.type||"text",onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["css"])}),[((r=lj()).textContent=nK,r),tV(lR,o)]})};let lD=lR;function lF(e){return(lF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var lU=ri("<style>");function lB(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function lH(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lB(Object(r),!0).forEach(function(t){lV(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lB(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function lV(e,t,r){var n;return(n=function(e,t){if("object"!=lF(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=lF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==lF(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lY(e,t,r,n){var o={configurable:!0,enumerable:!0};return o[e]=n,Object.defineProperty(t,r,o)}function lq(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var lG=nu(eY||(U=[`
|
|
1895
1895
|
/** 隐藏原生加减控件 */
|
|
1896
1896
|
.number[type='number'] {
|
|
1897
1897
|
appearance: textfield;
|
|
@@ -1901,8 +1901,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1901
1901
|
.number[type='number']::-webkit-outer-spin-button {
|
|
1902
1902
|
appearance: none;
|
|
1903
1903
|
}
|
|
1904
|
-
`],
|
|
1905
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),n=r[0],o=r[1];function i(){o(!1)}var a=tX({size:"normal",value:"",defaultValue:0,type:"text",onKeyDown:function(e){switch(e.key){case"ArrowUp":s({movementX:0,movementY:-1});break;case"ArrowDown":s({movementX:0,movementY:1})}},onMouseDown:function(e){e.stopPropagation(),o(!0)},step:1,precision:2,max:Number.MAX_SAFE_INTEGER,min:Number.MIN_SAFE_INTEGER},e);function l(t){var r,n="string"==typeof t?parseFloat(t):t;isNaN(n)&&(n=""),void 0!==n&&(n<a.min&&(n=a.min),n>a.max&&(n=a.max)),null==(r=e.onChange)||r.call(e,n)}function s(e){var t=e.movementX,r=e.movementY,n=a.value;l(Number(Number(("number"!=typeof n||isNaN(n)?Number(n)||0:n)+(t-r)*a.step).toFixed(a.precision)))}return ty(function(){n()&&(document.body.addEventListener("mousemove",s,{passive:oM}),document.body.addEventListener("mouseup",i,{passive:oM})),tA(function(){document.body.removeEventListener("mousemove",s,!1),document.body.removeEventListener("mouseup",i,oM)})}),tV(lD,tX(a,lY("get",lV(lY("get",{},"class",function(){return nf("number",e.class)}),"onChange",l),"css",function(){return lG+(e.css||"")})))}lW.registry=function(){nx("n-input-number",
|
|
1904
|
+
`],B||(B=U.slice(0)),eY=Object.freeze(Object.defineProperties(U,{raw:{value:Object.freeze(B)}}))));function lW(e){var t,r=function(e){if(Array.isArray(e))return e}(t=tv(!1))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return lq(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lq(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1905
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),n=r[0],o=r[1];function i(){o(!1)}var a=tX({size:"normal",value:"",defaultValue:0,type:"text",onKeyDown:function(e){switch(e.key){case"ArrowUp":s({movementX:0,movementY:-1});break;case"ArrowDown":s({movementX:0,movementY:1})}},onMouseDown:function(e){e.stopPropagation(),o(!0)},step:1,precision:2,max:Number.MAX_SAFE_INTEGER,min:Number.MIN_SAFE_INTEGER},e);function l(t){var r,n="string"==typeof t?parseFloat(t):t;isNaN(n)&&(n=""),void 0!==n&&(n<a.min&&(n=a.min),n>a.max&&(n=a.max)),null==(r=e.onChange)||r.call(e,n)}function s(e){var t=e.movementX,r=e.movementY,n=a.value;l(Number(Number(("number"!=typeof n||isNaN(n)?Number(n)||0:n)+(t-r)*a.step).toFixed(a.precision)))}return ty(function(){n()&&(document.body.addEventListener("mousemove",s,{passive:oM}),document.body.addEventListener("mouseup",i,{passive:oM})),tA(function(){document.body.removeEventListener("mousemove",s,!1),document.body.removeEventListener("mouseup",i,oM)})}),tV(lD,tX(a,lY("get",lV(lY("get",{},"class",function(){return nf("number",e.class)}),"onChange",l),"css",function(){return lG+(e.css||"")})))}lW.registry=function(){nx("n-input-number",lH(lH({},lM),{},{defaultValue:void 0,max:void 0,min:void 0,onChange:void 0,step:void 0,precision:void 0}),function(e,t){var r,n=t.element,o=tX({onChange:function(e){n.value=e,n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["css"])}),[((r=lU()).textContent=nK,r),tV(lW,o)]})};let lX=lW;function lZ(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var lK=nu(eq||(eq=lZ([`
|
|
1906
1906
|
.palette {
|
|
1907
1907
|
--alpha-gradient: repeating-conic-gradient(#eee 0 25%, transparent 0 50%) 0 / 10px 10px;
|
|
1908
1908
|
|
|
@@ -2162,8 +2162,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2162
2162
|
transform: scale(0.98);
|
|
2163
2163
|
}
|
|
2164
2164
|
}
|
|
2165
|
-
`])));function lQ(e){return(lQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l0=ri("<style> "),l1=ri("<style>"),l2=ri("<n-input>",!0,!1,!1),l3=ri("<i class=eye-dropper style=--c:transparent>"),l4=ri('<div><div class=picker></div><div class=chooser><div class=range><input class="slider hue"min=0 max=360 type=range><input class="slider opacity"min=0 max=1 step=0.01 type=range></div><div class=preview></div></div><div class=form><n-dropdown placement=right trigger=click><span class=switch></span></n-dropdown></div><div class=color>',!0,!1,!1),l5=ri("<n-input-number>",!0,!1,!1),l6=ri("<i style=--c:rgba(168,16,16,0.15)>"),l8=ri("<i>");function l9(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return l7(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,
|
|
2166
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function so(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function si(e){var t,r,n,o,i,a,l,s,c,u,d,f,p,b,
|
|
2165
|
+
`])));function lQ(e){return(lQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l0=ri("<style> "),l1=ri("<style>"),l2=ri("<n-input>",!0,!1,!1),l3=ri("<i class=eye-dropper style=--c:transparent>"),l4=ri('<div><div class=picker></div><div class=chooser><div class=range><input class="slider hue"min=0 max=360 type=range><input class="slider opacity"min=0 max=1 step=0.01 type=range></div><div class=preview></div></div><div class=form><n-dropdown placement=right trigger=click><span class=switch></span></n-dropdown></div><div class=color>',!0,!1,!1),l5=ri("<n-input-number>",!0,!1,!1),l6=ri("<i style=--c:rgba(168,16,16,0.15)>"),l8=ri("<i>");function l9(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return l7(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,g=i[2];r>3?(o=g===n)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(l=0,f.v=n,f.n=i[1]):p<g&&(o=r<3||i[0]>n||n>g)&&(i[4]=r,i[5]=n,f.n=g,l=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,g){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,g),l=u,s=g;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:r.call(n,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),s}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=c.prototype=l.prototype=Object.create([][n]?t(t([][n]())):(l7(t={},n,function(){return this}),t));function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,l7(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,l7(u,"constructor",c),l7(c,"constructor",s),s.displayName="GeneratorFunction",l7(c,o,"GeneratorFunction"),l7(u),l7(u,o,"Generator"),l7(u,n,function(){return this}),l7(u,"toString",function(){return"[object Generator]"}),(l9=function(){return{w:i,m:d}})()}function l7(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(l7=function(e,t,r,n){function i(t,r){l7(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))})(e,t,r,n)}function se(e,t,r,n,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function st(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=lQ(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=lQ(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lQ(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function sn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return so(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?so(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2166
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function so(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function si(e){var t,r,n,o,i,a,l,s,c,u,d,f,p,g,b,h,v,m,y=nQ.baseStyle,x=tX({defaultValue:"#5794ff"},e),w={class:"input",size:"small",css:".input{text-align:center;font-size:12px;}"},k=sn(tv(nB(x.value||x.defaultValue)),2),S=k[0],A=k[1],O=sn(tv(!1),2),C=O[0],E=O[1];function z(e){return e?Number((100*e).toFixed()):e}function j(e){var t=e;return"string"==typeof e&&(t=e.replace(/[^\d]/g,"")),t/100}var T=tx(function(){var e,t=S(),r=t[e=t.type,"to".concat(e[0].toUpperCase()+e.slice(1))]();return oR(x.onChange)&&r.toString()!==x.value&&x.onChange(r.toString()),r});function I(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.defaultValue;tk(T).toString()!==e&&A(nB(e))}function P(e){e.target&&(e.target.value=e.detail)}function _(e){e.target.value&&I(e.target.value)}function $(e){"Enter"===e.key&&"string"==typeof e.target.value&&I(e.target.value)}function L(e){if(m){var t=m.getBoundingClientRect(),r=t.x,n=t.y,o=t.width,i=t.height,a=tk(S),l=a.value;l[1]=Math.floor(Math.min(Math.max(0,(e.clientX-r)/o*100),100)),l[2]=Math.floor(100-Math.min(Math.max(0,(e.clientY-n)/i*100),100)),A(sr(sr({},a),{},{value:l}))}}function N(e,t,r){if("number"==typeof t){var n=tk(S),o=3===e||"hsva"===r,i=o?n.value:tk(T);i[e]=t||0,o?A(sr(sr({},n),{},{value:i})):A(nB(i.toString()))}}function R(){E(!1)}function M(){return D.apply(this,arguments)}function D(){var e;return e=l9().m(function e(){var t;return l9().w(function(e){for(;;)switch(e.n){case 0:if(!window.EyeDropper){e.n=2;break}return e.n=1,new window.EyeDropper().open();case 1:return(t=e.v).sRGBHex&&I(t.sRGBHex),e.a(2);case 2:return e.a(2)}},e)}),(D=function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){se(i,n,o,a,l,"next",e)}function l(e){se(i,n,o,a,l,"throw",e)}a(void 0)})}).apply(this,arguments)}var F=tx(function(){var e=S(),t=e.value;return".palette {--c:".concat(e.toRgbaString(),";--h:").concat(t[0],";--s:").concat(t[1],";--v:").concat(t[2],";--a:").concat(t[3],";}")});return ty(function(){(function(e,t){var r,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=null,a=0,l=null==(r=o.leading)||r,s=null==(n=o.trailing)||n;function c(){i&&(cancelAnimationFrame(i),i=null)}return function r(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];var d=performance.now();t-(d-a)<=0?(c(),a=d,l?e.apply(void 0,o):s&&(i=requestAnimationFrame(function(){return e.apply(void 0,o)}))):s&&(c(),i=requestAnimationFrame(function(){return r.apply(void 0,o)}))}})(I,8)(x.value)}),ty(function(){C()&&document.body.addEventListener("mousemove",L,{passive:oM}),tA(function(){document.body.removeEventListener("mousemove",L,!1)})}),tS(function(){document.body.addEventListener("mouseup",R,{passive:oM})}),tA(function(){document.body.removeEventListener("mouseup",R,!1)}),[(r=(t=l0()).firstChild,tm(function(){return r.data=y()}),t),((n=l1()).textContent=lK,n),(i=(o=l0()).firstChild,tm(function(){return i.data=F()}),o),tV(t2,{get when(){return x.css},get children(){var U=l0(),B=U.firstChild;return tm(function(){return B.data=nu(x.css)}),U}}),(d=(u=(c=(s=(l=(a=l4()).firstChild).nextSibling).firstChild).firstChild).nextSibling,f=c.nextSibling,b=(g=(p=s.nextSibling).firstChild).firstChild,h=p.nextSibling,rc(l,"mousedown",function(e){E(!0),L(e)}),"function"==typeof(v=m)?rg(v,l):m=l,rc(u,"input",function(e){N(0,Number(e.target.value),"hsva")}),rc(d,"input",function(e){N(3,Number(e.target.value))}),rc(f,"click",function(e){aN(tk(T).toString(),e.target)}),rb(p,tV(t2,{get when(){return"hexa"===S().type},get fallback(){return tV(t1,{get each(){return T()},children:function(e,t){var r,n=Object.assign({},w,3===t&&{step:.01,formatter:z,parse:j});return rp(r=l5(),tX(n,{get value(){return e()},get max(){return tk(T).max[t]},min:0,onChange:function(e){N(t,e.detail)}}),!1,!1),r._$owner=tu,r}})},get children(){var H=l2();return rp(H,tX(w,{get value(){return S().toHexaString()},onChange:P,onBlur:_,onKeyUp:$}),!1,!1),H._$owner=tu,H}}),g),g.addEventListener("change",function(e){A(function(t){return sr(sr({},t),{},{type:e.detail[0]})})}),g.css=lJ,g.items=[{label:"RGBA",value:"rgba",handleClosed:!1},{label:"HSLA",value:"hsla",handleClosed:!1},{label:"HEXA",value:"hexa",handleClosed:!1}],g._$owner=tu,rb(b,function(){return S().type}),rb(h,tV(t2,{get when(){return window.EyeDropper},get fallback(){var V;return rc(V=l6(),"click",I.bind(null,"rgba(168,16,16,0.15)")),V},get children(){var Y=l3();return rc(Y,"click",M),Y}}),null),rb(h,tV(t0,{each:["#f44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#00BCD4","#009688","#4CAF50","#CDDC39","#FF9800","#795548","#607D8B"],children:function(e){var t;return rc(t=l8(),"click",I.bind(null,e)),rf(t,"--c",e),t}}),null),tm(function(){return rs(a,nf("palette",x.class))}),tm(function(){return u.value=S().value[0]}),tm(function(){return d.value=S().value[3]}),tm(function(){return g.value=S().type}),a)]}var sa={class:void 0,style:void 0,css:void 0,value:void 0,defaultValue:void 0,onChange:void 0};si.registry=function(){lC.registry(),lD.registry(),lX.registry(),nx("n-color-palette",sa,function(e,t){var r,n=t.element,o=tX({onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["css"])}),[((r=l1()).textContent=nJ,r),tV(si,o)]})};let sl=si;var ss=nu(eW||(H=[`
|
|
2167
2167
|
.trigger {
|
|
2168
2168
|
--alpha-gradient: repeating-conic-gradient(#eee 0 25%, transparent 0 50%) 0 / 10px 10px;
|
|
2169
2169
|
|
|
@@ -2202,8 +2202,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2202
2202
|
inline-size: 25px;
|
|
2203
2203
|
block-size: 25px;
|
|
2204
2204
|
}
|
|
2205
|
-
`],V||(V=
|
|
2206
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function sv(e){var t=
|
|
2205
|
+
`],V||(V=H.slice(0)),eW=Object.freeze(Object.defineProperties(H,{raw:{value:Object.freeze(V)}}))));function sc(e){return(sc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var su=ri("<span>"),sd=ri("<n-color-palette>",!0,!1,!1),sf=ri("<style>");function sp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sg(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=sc(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sc(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sc(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function sb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sh(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sh(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2206
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function sv(e){var t=sb(tZ(e,["css","value","defaultValue","onChange","popupClass","popupCss","size"]),2),r=t[0],n=t[1],o=sb(tv(r.defaultValue),2),i=o[0],a=o[1];function l(e){var t;void 0===r.value&&a(e.detail),null==(t=r.onChange)||t.call(r,e.detail)}tS(function(){void 0===r.value&&r.defaultValue&&a(r.defaultValue)}),ty(function(){void 0!==r.value&&r.value!==tk(i)&&a(r.value)});var s=tx(function(){return".color-picker {padding: 10px;inline-size: 216px;}".concat(r.popupCss||"")}),c=tx(function(){return"".concat(ss+(r.css||""),".trigger {--c: ").concat(i(),";}")});return tV(il,tX(n,{arrow:!0,trigger:"click",get content(){var u;return(u=sd()).addEventListener("change",l),u._$owner=tu,tm(function(){return u.value=i()}),u},get popupClass(){return nf("color-picker",r.popupClass)},get popupCss(){return s()},get css(){return c()},get children(){var d=su();return tm(function(){return rs(d,nf("trigger",r.size))}),d}}))}sv.registry=function(){sl.registry(),nx("n-color-picker",sg(sg({},ia),{},{value:void 0,defaultValue:void 0,onChange:void 0,size:void 0}),function(e,t){var r,n=t.element,o=tX({onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))},children:n.children},e);return ty(function(){nA(n,["popupCss","css"])}),[((r=sf()).textContent=nK,r),tV(sv,o)]})};let sm=sv;var sy=nu(eX||(Y=[`
|
|
2207
2207
|
.box {
|
|
2208
2208
|
display: flex;
|
|
2209
2209
|
flex-wrap: wrap;
|
|
@@ -2322,7 +2322,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2322
2322
|
|
|
2323
2323
|
`,`
|
|
2324
2324
|
`],q||(q=Y.slice(0)),eX=Object.freeze(Object.defineProperties(Y,{raw:{value:Object.freeze(q)}}))),["success","error","warning"].map(function(e){return".".concat(e," {--border-color: var(--").concat(e,"-border);--primary-hover: var(--").concat(e,"-hover);--primary-outline: var(--").concat(e,"-outline);--primary-color: var(--").concat(e,"-color);--primary-active: var(--").concat(e,"-active);--component-bg: var(--").concat(e,"-bg);}")}).join("")),sx=ri("<style> "),sw=ri("<style>"),sk=ri("<section part=box>"),sS=ri("<div part=item><input class=radio type=radio tabindex=-1><label class=label part=label>");function sA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function sO(e){var t,r,n,o,i,a=nQ.baseStyle,l=function(e){if(Array.isArray(e))return e}(t=tv(e.defaultValue))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return sA(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?sA(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2325
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return Object.assign({},nS,e.fieldNames)});function d(t){if(!e.disabled&&!t.disabled){var r,n=t[u().value];c(n),null==(r=e.onChange)||r.call(e,n)}}function f(e,t){"Enter"===t.key&&d(e)}var p=tx(function(){return aw(e.options,u())});return ty(function(){c(e.value)}),[(n=(r=sx()).firstChild,tm(function(){return n.data=a()}),r),((o=sw()).textContent=sy,o),tV(t2,{get when(){return e.css},get children(){var
|
|
2325
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1],u=tx(function(){return Object.assign({},nS,e.fieldNames)});function d(t){if(!e.disabled&&!t.disabled){var r,n=t[u().value];c(n),null==(r=e.onChange)||r.call(e,n)}}function f(e,t){"Enter"===t.key&&d(e)}var p=tx(function(){return aw(e.options,u())});return ty(function(){c(e.value)}),[(n=(r=sx()).firstChild,tm(function(){return n.data=a()}),r),((o=sw()).textContent=sy,o),tV(t2,{get when(){return e.css},get children(){var g=sx(),b=g.firstChild;return tm(function(){return b.data=nu(e.css)}),g}}),(rb(i=sk(),tV(t0,{get each(){return p()},children:function(t){var r,n,o,i=e.disabled||t.disabled,a=function(){d(t)},l=u();return o=(n=(r=sS()).firstChild).nextSibling,rc(r,"click",a),rc(r,"keyup",f.bind(null,t)),rl(r,"tabindex",i?-1:0),rl(r,"aria-disabled",i),rc(n,"change",a),n.disabled=i,rb(o,function(){return t[l.label]}),tm(function(o){var i=nf("item",t.class,t.status),a=e.name;return i!==o.e&&rs(r,o.e=i),a!==o.t&&rl(n,"name",o.t=a),o},{e:void 0,t:void 0}),tm(function(){return n.value=t[l.value]}),tm(function(){return n.checked=t[l.value]===s()}),r}})),tm(function(){return rs(i,nf("box",e.layout,e.class))}),i)]}sO.registry=function(){nx("n-radio",{class:void 0,css:void 0,name:void 0,disabled:void 0,value:void 0,defaultValue:void 0,options:[],onChange:void 0,fieldNames:void 0,layout:void 0},function(e,t){var r,n=t.element,o=tX({layout:n.layout||"horizontal",onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["options","css","fieldNames"])}),[((r=sw()).textContent=nK,r),tV(sO,o)]})};let sC=sO;var sE=nu(eZ||(G=[`
|
|
2326
2326
|
:host {
|
|
2327
2327
|
display: inline-flex;
|
|
2328
2328
|
}
|
|
@@ -2378,7 +2378,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2378
2378
|
:host {
|
|
2379
2379
|
`,`
|
|
2380
2380
|
}
|
|
2381
|
-
`],t||(t=e.slice(0)),eK=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),nX(o.color,{dark:r(),name:"tag-custom"}))}return""});function u(e){oR(o.onClose)&&o.onClose(e),s(!1)}return tV(t2,{get when(){return l()},get children(){var d,f,p,b,
|
|
2381
|
+
`],t||(t=e.slice(0)),eK=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),nX(o.color,{dark:r(),name:"tag-custom"}))}return""});function u(e){oR(o.onClose)&&o.onClose(e),s(!1)}return tV(t2,{get when(){return l()},get children(){var d,f,p,g,b,h;return[(f=(d=sz()).firstChild,tm(function(){return f.data=t()}),d),(g=(p=sz()).firstChild,tm(function(){return g.data=c()}),p),((b=sj()).textContent=sE,b),tV(t2,{get when(){return o.css},get children(){var v=sz(),m=v.firstChild;return tm(function(){return m.data=nu(o.css)}),v}}),(rp(h=sP(),tX(i,s_("get",s_("get",{},"class",function(){return nf("tag",o.type)}),"classList",function(){return{"tag-custom":!!o.color,bordered:o.bordered,disabled:o.disabled}})),!1,!0),rb(h,tV(t2,{get when(){return o.icon},get children(){var y=sT();return rb(y,function(){return o.icon}),y}}),null),rb(h,function(){return i.children},null),rb(h,tV(t2,{get when(){return o.closeIcon},get children(){var x,w=sI();return rc(w,"click",u),rb(w,(x=rr(function(){return!0===o.closeIcon}),function(){return x()?"⛌":o.closeIcon})),w}}),null),h)]}})}sR.registry=function(){nx("n-tag",{class:void 0,css:void 0,color:void 0,icon:void 0,closeIcon:void 0,onClose:void 0,bordered:!0,disabled:void 0,type:void 0},function(e,t){var r,n,o=t.element,i=tX({css:o.css,children:function(e){if(Array.isArray(e))return sN(e)}(r=o.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||sL(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2382
2382
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),onClose:function(e){o.dispatchEvent(new CustomEvent("close",{detail:e}))}},e);return ty(function(){o.replaceChildren(),nA(o,["css"])}),[((n=sj()).textContent=nK,n),tV(sR,i)]})};let sM=sR;var sD=nu(eJ||(X=[`
|
|
2383
2383
|
.label {
|
|
2384
2384
|
position: absolute;
|
|
@@ -2504,9 +2504,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2504
2504
|
opacity: 1;
|
|
2505
2505
|
}
|
|
2506
2506
|
}
|
|
2507
|
-
`],Z||(Z=X.slice(0)),eJ=Object.freeze(Object.defineProperties(X,{raw:{value:Object.freeze(Z)}}))));function sF(e){return(sF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var sU=ri("<span class=prefix>"),
|
|
2508
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sJ(e,t){if(e){if("string"==typeof e)return sQ(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sQ(e,t):void 0}}function sQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s0(e){var t,r,n=sK(tZ(e,["css","value","onChange","open","onOpenChange","label","prefixIcon","suffixIcon","placeholder","trigger","options"]),2),o=n[0],i=n[1],a=sK(tv(null),2),l=a[0],s=a[1],c=sK(tv([]),2),u=c[0],d=c[1],f=sK(tv(""),2),p=f[0],
|
|
2509
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}();r.splice(-1,1),A(r,tk(y)[tk(u).length-1])}else A(void 0,tk(y)[tk(u)[0]]);break;case"Enter":k(!tk(l));break;case"Escape":k(!1)}}function C(e){e.stopPropagation(),e.preventDefault()}function E(e,t){C(t),A(tk(u).filter(function(t){return t!==e}),tk(y)[e])}function z(e){C(e),k(!0)}function j(e){C(e),tk(l)&&k(!1)}ty(function(){tw(function(){var e=w(),t=aw(o.options,e);v(t),x(function e(t,r){for(var n={},o=0,i=t.length;o<i;o++){var a=t[o],l=a[r.options];n[a[r.value]]=a,Array.isArray(l)&&Object.assign(n,e(l,r));var s=a[r.children];n[a[r.value]]=a,Array.isArray(s)&&Object.assign(n,e(s,r))}return n}(t,e))})}),ty(function(){tw(function(){o.open!==tk(l)&&void 0!==o.open&&s(o.open),void 0!==o.value&&null!==o.value?d(Array.isArray(o.value)?o.value:[o.value]):d([])})}),tS(function(){if(void 0===o.value){var e=i.defaultValue;d(e?Array.isArray(e)?e:[e]:[])}}),ty(function(){o.label&&
|
|
2507
|
+
`],Z||(Z=X.slice(0)),eJ=Object.freeze(Object.defineProperties(X,{raw:{value:Object.freeze(Z)}}))));function sF(e){return(sF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var sU=ri("<span class=prefix>"),sB=ri("<label class=label>"),sH=ri("<span class=suffix>"),sV=ri("<div class=select><div class=tags>"),sY=ri("<span class=value>"),sq=ri("<span class=placeholder>"),sG=ri("<n-tag class=tag>",!0,!1,!1),sW=ri("<style>");function sX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function sZ(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?sX(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=sF(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sF(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sF(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sX(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function sK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||sJ(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2508
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sJ(e,t){if(e){if("string"==typeof e)return sQ(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?sQ(e,t):void 0}}function sQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function s0(e){var t,r,n=sK(tZ(e,["css","value","onChange","open","onOpenChange","label","prefixIcon","suffixIcon","placeholder","trigger","options"]),2),o=n[0],i=n[1],a=sK(tv(null),2),l=a[0],s=a[1],c=sK(tv([]),2),u=c[0],d=c[1],f=sK(tv(""),2),p=f[0],g=f[1],b=sK(tv([]),2),h=b[0],v=b[1],m=sK(tv({}),2),y=m[0],x=m[1],w=tx(function(){return Object.assign({},nS,i.fieldNames)});function k(e){i.disabled||(oR(o.onOpenChange)&&o.onOpenChange(e),void 0===o.open&&s(e))}function S(e){var r,n;(null==(r=e.target)?void 0:r.parentElement)===(null==t||null==(n=t.parentNode)||null==(n=n.parentNode)?void 0:n.activeElement)&&k(!tk(l))}function A(e,t){void 0===o.value&&d(e?Array.isArray(e)?e:[e]:[]),oR(o.onChange)&&o.onChange(e,t)}function O(e){switch(e.key){case"ArrowDown":case"ArrowUp":break;case"Backspace":if(i.multiple){var t,r=function(e){if(Array.isArray(e))return sQ(e)}(t=tk(u))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||sJ(t)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2509
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}();r.splice(-1,1),A(r,tk(y)[tk(u).length-1])}else A(void 0,tk(y)[tk(u)[0]]);break;case"Enter":k(!tk(l));break;case"Escape":k(!1)}}function C(e){e.stopPropagation(),e.preventDefault()}function E(e,t){C(t),A(tk(u).filter(function(t){return t!==e}),tk(y)[e])}function z(e){C(e),k(!0)}function j(e){C(e),tk(l)&&k(!1)}ty(function(){tw(function(){var e=w(),t=aw(o.options,e);v(t),x(function e(t,r){for(var n={},o=0,i=t.length;o<i;o++){var a=t[o],l=a[r.options];n[a[r.value]]=a,Array.isArray(l)&&Object.assign(n,e(l,r));var s=a[r.children];n[a[r.value]]=a,Array.isArray(s)&&Object.assign(n,e(s,r))}return n}(t,e))})}),ty(function(){tw(function(){o.open!==tk(l)&&void 0!==o.open&&s(o.open),void 0!==o.value&&null!==o.value?d(Array.isArray(o.value)?o.value:[o.value]):d([])})}),tS(function(){if(void 0===o.value){var e=i.defaultValue;d(e?Array.isArray(e)?e:[e]:[])}}),ty(function(){o.label&&g(".label {--x: ".concat((null==r?void 0:r.offsetLeft)||0,"px; }"))});var T=tx(function(){return oR(o.prefixIcon)?o.prefixIcon():o.prefixIcon}),I=tx(function(){return oR(o.label)?o.label():o.label}),P=tx(function(){return oR(o.suffixIcon)?o.suffixIcon():o.suffixIcon});return tV(lC,tX({placement:"left",get css(){return sD+p()+(o.css||"")},trigger:"none",get items(){return h()},get value(){return u()},onChange:A,get open(){return l()},onOpenChange:k},i,{get children(){var _=sV(),$=_.firstChild;rc(_,"blur",j),rc(_,"focus",z),rc(_,"keydown",O);var L=t;"function"==typeof L?rg(L,_):t=_,rb(_,tV(t2,{get when(){return T()},get children(){var N=sU();return rb(N,T),N}}),$),rb(_,tV(t2,{get when(){return I()},get children(){var R=sB();return rb(R,I),R}}),$),rc($,"mousedown",S);var M=r;return"function"==typeof M?rg(M,$):r=$,rb($,tV(t2,{get when(){return i.multiple},get fallback(){return tV(t2,{get when(){return u().length},get fallback(){return tV(t2,{get when(){return o.placeholder},get children(){var D=sq();return rb(D,function(){return o.placeholder}),D}})},get children(){var F=sY();return rb(F,function(){var e;return(null==(e=y()[u()[0]])?void 0:e[w().label])||u()[0]}),tm(function(){return F.classList.toggle("opacity",!!l())}),F}})},get children(){return tV(t0,{get each(){return u()},get fallback(){return tV(t2,{get when(){return o.placeholder},get children(){var U=sq();return rb(U,function(){return o.placeholder}),U}})},children:function(e){var t;return rc(t=sG(),"close",E.bind(null,e)),t._$owner=tu,rb(t,function(){var t;return(null==(t=y()[e])?void 0:t[w().label])||e}),tm(function(r){var n,o,a,s,c,u=!!l(),d=(null==(n=y()[e])?void 0:n.type)||"primary",f=null==(o=y()[e])?void 0:o.color,p=null==(a=y()[e])?void 0:a.icon,g=!i.disabled&&!(null!=(s=y()[e])&&s.disabled),b=i.disabled||(null==(c=y()[e])?void 0:c.disabled);return u!==r.e&&t.classList.toggle("opacity",r.e=u),d!==r.t&&(t.type=r.t=d),f!==r.a&&(t.color=r.a=f),p!==r.o&&(t.icon=r.o=p),g!==r.i&&(t.closeIcon=r.i=g),b!==r.n&&(t.disabled=r.n=b),r},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0}),t}})}})),rb(_,tV(t2,{get when(){return P()},get children(){var B=sH();return rb(B,P),B}}),null),tm(function(e){var t=i.disabled?-1:0,r=i.disabled;return t!==e.e&&rl(_,"tabindex",e.e=t),r!==e.t&&rl(_,"aria-disabled",e.t=r),e},{e:void 0,t:void 0}),_}}))}s0.registry=function(){sM.registry(),lC.registry(),nx("n-select",sZ(sZ({},lO),{},{options:[],label:void 0,placeholder:"请选择",dropdownMatchSelectWidth:!0,prefixIcon:void 0,suffixIcon:void 0}),function(e,t){var r,n=t.element,o=tX({onChange:function(e,t){n.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))},onOpenChange:function(e){n.dispatchEvent(new CustomEvent("openchange",{detail:e}))}},e);return ty(function(){nA(n,["options","css","fieldNames"])}),[((r=sW()).textContent=nK,r),tV(s0,o)]})};let s1=s0;function s2(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var s3=nu(eQ||(eQ=s2([`
|
|
2510
2510
|
.btn {
|
|
2511
2511
|
padding: 4px;
|
|
2512
2512
|
font-size: var(--font-size-lg);
|
|
@@ -2671,7 +2671,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2671
2671
|
}
|
|
2672
2672
|
}
|
|
2673
2673
|
`])));function s6(e){return(s6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s8=ri("<style> "),s9=ri("<style>"),s7=ri('<n-button class="tab add">+',!0,!1,!1),ce=ri("<div><div class=items>"),ct=ri("<div class=content>"),cr=ri("<span class=remove>⛌"),cn=ri("<n-button>",!0,!1,!1);function co(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ci(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ci(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2674
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ca(e){var t,r,n,o,i,a,l,s,c,u,d,f,p,b
|
|
2674
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ca(e){var t,r,n,o,i,a,l,s,c,u,d,f,p,g,b=nQ.baseStyle,h=nQ.isDark,v=co(tv(),2),m=v[0],y=v[1],x=co(tv(""),2),w=x[0],k=x[1],S=co(tv({left:!1,right:!1}),2),A=S[0],O=S[1],C=tx(function(){return nu({":host":{"--tab-bg":h()?"rgb(255 255 255 / 4%)":"var(--primary-details-bg)","--tab-current-bg":"var(--component-bg)"}})}),E=tx(function(){return Object.assign({},nS,e.fieldNames)}),z=tx(function(){return aw(e.items,E())}),j=tx(function(){return z().find(function(e){return e[E().value]===m()})});function T(t,r){if(!e.disabled&&!t.disabled){var n=t[E().value];void 0===e.value&&y(n),oR(e.onChange)&&e.onChange(n,t,r)}}function I(e,t){"Enter"===t.key&&T(e,t)}function P(t,r,n){n.stopPropagation(),n.preventDefault(),oR(e.onEdit)&&e.onEdit(t,r,n)}function _(e){if(g){var t,r=f.offsetWidth,n=(null==p?void 0:p.offsetWidth)||0,o=g.scrollWidth;if(o>r-n){var i=0;e&&(oM||(e.stopPropagation(),e.preventDefault()),i=0!==e.deltaX?e.deltaX:e.deltaY);var a=g.scrollLeft+i;g.scrollTo({left:a}),O({left:a>0,right:o>a+g.offsetWidth})}else O({left:!1,right:!1});var l=null==(t=tk(j))?void 0:t.ref;k(".tabs {--w: ".concat(l.offsetWidth,"px;--left: ").concat(l.offsetLeft-g.scrollLeft+g.offsetLeft,"px;--s:").concat(g.scrollLeft,"px}"))}}ty(function(){var t=tk(m);void 0!==e.value?t=e.value:void 0!==e.defaultValue?t=e.defaultValue:z()[0]&&(t=z()[0][E().value]),t!==tk(m)&&y(t)}),ty(function(){var e,t,r,n=null==(e=j())?void 0:e.ref;n?t=setTimeout(function(){clearTimeout(t),g&&(O({left:!1,right:!1}),g.scrollTo({left:n.offsetLeft-g.offsetLeft,behavior:"smooth"})),k(".tabs {--w: ".concat(n.offsetWidth,"px;--left: ").concat(n.offsetLeft-g.scrollLeft+g.offsetLeft,"px;--s:").concat(g.scrollLeft,"px}")),r=setTimeout(function(){clearTimeout(r),_()},300)},0):k(""),tA(function(){clearTimeout(t),clearTimeout(r)})});var $=co(tv("slide-in"),2),L=$[0],N=$[1];ty(function(){var t;return e.animated&&N("slide-in"),null==(t=j())?void 0:t.content});var R=tx(function(){var t,r;return oR(null==(t=e.extra)?void 0:t.left)?e.extra.left():null==(r=e.extra)?void 0:r.left}),M=tx(function(){var t,r;return oR(null==(t=e.extra)?void 0:t.right)?e.extra.right():null==(r=e.extra)?void 0:r.right}),D=tx(function(){var e,t=null==(e=j())?void 0:e.content;return oR(t)?t():t});function F(){e.animated&&N("")}return tS(function(){null==f||f.addEventListener("wheel",_,{passive:oM})}),tA(function(){null==f||f.removeEventListener("wheel",_,!1)}),[(r=(t=s8()).firstChild,tm(function(){return r.data=b()}),t),(o=(n=s8()).firstChild,tm(function(){return o.data=C()}),n),((i=s9()).textContent=s5,i),(l=(a=s8()).firstChild,tm(function(){return l.data=w()}),a),tV(t2,{get when(){return e.css},get children(){var U=s8(),B=U.firstChild;return tm(function(){return B.data=nu(e.css)}),U}}),(c=(s=ce()).firstChild,"function"==typeof(u=f)?rg(u,s):f=s,rb(s,tV(t2,{get when(){return R()},get children(){return R()}}),c),"function"==typeof(d=g)?rg(d,c):g=c,rb(c,tV(t0,{get each(){return z()},children:function(t,r){var n,o,i=tx(function(){return e.disabled||t.disabled}),a=E(),l=a.icon,s=a.value,c=a.label,u=tx(function(){return void 0!==m()&&t[s]===m()});return n=cn(),"function"==typeof(o=z()[r()].ref)?rg(o,n):z()[r()].ref=n,rc(n,"click",T.bind(null,t),!0),rc(n,"keyup",I.bind(null,t),!0),n.link=!0,n.css=s4,n._$owner=tu,rb(n,function(){return t[c]},null),rb(n,tV(t2,{get when(){return t.closable},get children(){var d=cr();return rc(d,"click",P.bind(null,"remove",t)),d}}),null),tm(function(e){var o=u()?"primary":"default",a=nf("tab",t.class),s=!!u(),c=!!(u()&&0===r()),d=i()?-1:0,f=i(),p=t[l];return o!==e.e&&(n.type=e.e=o),a!==e.t&&rs(n,e.t=a),s!==e.a&&n.classList.toggle("active",e.a=s),c!==e.o&&n.classList.toggle("first-active",e.o=c),d!==e.i&&(n.tabindex=e.i=d),f!==e.n&&(n.disabled=e.n=f),p!==e.s&&(n.icon=e.s=p),e},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),n}})),rb(s,tV(t2,{get when(){return e.add},get children(){var H=s7();rc(H,"click",P.bind(null,"add",void 0),!0);var V=p;return"function"==typeof V?rg(V,H):p=H,H.link=!0,H.css=s3,H._$owner=tu,H}}),null),rb(s,tV(t2,{get when(){return M()},get children(){return M()}}),null),tm(function(t){var r=nf("tabs",e.type,e.class),n=!!e.centered,o=e.disabled,i=!!A().left,a=!!A().right;return r!==t.e&&rs(s,t.e=r),n!==t.t&&s.classList.toggle("centered",t.t=n),o!==t.a&&rl(s,"aria-disabled",t.a=o),i!==t.o&&c.classList.toggle("warp-left",t.o=i),a!==t.i&&c.classList.toggle("warp-right",t.i=a),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),s),tV(t2,{get when(){var Y;return null==(Y=j())?void 0:Y.content},get children(){var q=ct();return rc(q,"animationend",F),rb(q,D),tm(function(t){var r,n,o,i;return ru(q,(r={},n=L(),o=e.animated,(i=function(e,t){if("object"!=s6(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=s6(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(n,"string"),(n="symbol"==s6(i)?i:i+"")in r)?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r),t)}),q}})]}ca.registry=function(){iG.registry(),nx("n-tabs",{class:void 0,css:void 0,disabled:void 0,value:void 0,defaultValue:void 0,centered:void 0,items:[],type:"line",fieldNames:void 0,add:void 0,extra:void 0,animated:void 0},function(e,t){var r,n=t.element,o=tX({onChange:function(e,t,r){n.dispatchEvent(new CustomEvent("change",{detail:[e,t,r]}))},onEdit:function(e,t,r){n.dispatchEvent(new CustomEvent("edit",{detail:[e,t,r]}))}},e);return ty(function(){nA(n,["css","fieldNames","items","extra"])}),[((r=s9()).textContent=nJ,r),tV(ca,o)]})};let cl=ca;function cs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}ra(["click","keyup"]);var cc=nu(e2||(e2=cs([`
|
|
2675
2675
|
.portal {
|
|
2676
2676
|
inline-size: 232px;
|
|
2677
2677
|
}
|
|
@@ -2706,17 +2706,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2706
2706
|
inline-size: 70px;
|
|
2707
2707
|
min-inline-size: unset;
|
|
2708
2708
|
}
|
|
2709
|
-
`]))),cf=ri("<n-select>",!0,!1,!1);function cp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let
|
|
2710
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0]);e.validate(t,o)&&e.onChange(t,o)}return[rr(function(){return e.label[0]}),(rc(t=cf(),"change",n.bind(null,"begin")),t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(r){var n=e.beginOption,o=e.disabled;return n!==r.e&&(t.options=r.e=n),o!==r.t&&(t.disabled=r.t=o),r},{e:void 0,t:void 0}),tm(function(){return t.value=e.begin}),t),rr(function(){return e.label[1]}),(rc(r=cf(),"change",n.bind(null,"beginEvery")),r.css=cu,r.popupCss=cc,r.dropdownMatchSelectWidth=!1,r.arrow=!0,r._$owner=tu,tm(function(t){var n=e.beginEveryOption,o=e.disabled;return n!==t.e&&(r.options=t.e=n),o!==t.t&&(r.disabled=t.t=o),t},{e:void 0,t:void 0}),tm(function(){return r.value=e.beginEvery}),r),rr(function(){return e.label[2]})]};var
|
|
2709
|
+
`]))),cf=ri("<n-select>",!0,!1,!1);function cp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let cg=function(e){var t,r;function n(t,r){var n,o=Number((function(e){if(Array.isArray(e))return e}(n=r.detail)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(n)||function(e){if(e){if("string"==typeof e)return cp(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cp(e,1):void 0}}(n)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2710
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0]);e.validate(t,o)&&e.onChange(t,o)}return[rr(function(){return e.label[0]}),(rc(t=cf(),"change",n.bind(null,"begin")),t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(r){var n=e.beginOption,o=e.disabled;return n!==r.e&&(t.options=r.e=n),o!==r.t&&(t.disabled=r.t=o),r},{e:void 0,t:void 0}),tm(function(){return t.value=e.begin}),t),rr(function(){return e.label[1]}),(rc(r=cf(),"change",n.bind(null,"beginEvery")),r.css=cu,r.popupCss=cc,r.dropdownMatchSelectWidth=!1,r.arrow=!0,r._$owner=tu,tm(function(t){var n=e.beginEveryOption,o=e.disabled;return n!==t.e&&(r.options=t.e=n),o!==t.t&&(r.disabled=t.t=o),t},{e:void 0,t:void 0}),tm(function(){return r.value=e.beginEvery}),r),rr(function(){return e.label[2]})]};var cb=ri("<n-radio layout=vertical>",!0,!1,!1);function ch(e){return(ch="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function cv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function cm(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cv(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=ch(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=ch(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ch(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cv(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let cy=function(e){var t,r=tx(function(){return e.disabled?e.options.map(function(t){return cm(cm({},t),{},{disabled:t.value!==e.state.type})}):e.options});return(t=cb()).addEventListener("change",function(t){var r;null==(r=e.onChange)||r.call(e,"type",t.detail)}),t._$owner=tu,tm(function(){return t.options=r()}),tm(function(){return t.value=e.state.type}),t};var cx=ri("<n-select>",!0,!1,!1);function cw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let ck=function(e){var t,r;function n(t,r){var n,o=Number((function(e){if(Array.isArray(e))return e}(n=r.detail)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(n)||function(e){if(e){if("string"==typeof e)return cw(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cw(e,1):void 0}}(n)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2711
2711
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0]);e.validate(t,o)&&e.onChange(t,o)}return[rr(function(){return e.label[0]}),(rc(t=cx(),"change",n.bind(null,"start")),t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(r){var n=e.options.slice(0,-1),o=e.disabled;return n!==r.e&&(t.options=r.e=n),o!==r.t&&(t.disabled=r.t=o),r},{e:void 0,t:void 0}),tm(function(){return t.value=e.start}),t),rr(function(){return e.label[1]}),(rc(r=cx(),"change",n.bind(null,"end")),r.css=cu,r.popupCss=cc,r.dropdownMatchSelectWidth=!1,r.arrow=!0,r._$owner=tu,tm(function(t){var n=e.options.slice(1),o=e.disabled;return n!==t.e&&(r.options=t.e=n),o!==t.t&&(r.disabled=t.t=o),t},{e:void 0,t:void 0}),tm(function(){return r.value=e.end}),r),rr(function(){return e.label[2]})]};var cS=ri("<n-select style=flex:1>",!0,!1,!1);function cA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let cO=function(e){var t;return[rr(function(){return e.label}),((t=cS()).addEventListener("change",function(t){var r,n=(function(e){if(Array.isArray(e))return e}(r=t.detail)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(r)||function(e){if(e){if("string"==typeof e)return cA(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cA(e,1):void 0}}(r)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2712
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0];n.length<1||e.onChange("some",n)}),t.multiple=!0,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(r){var n=e.options,o=e.disabled||"some"!==e.type;return n!==r.e&&(t.options=r.e=n),o!==r.t&&(t.disabled=r.t=o),r},{e:void 0,t:void 0}),tm(function(){return t.value=e.value}),t)]};var cC=ri("<n-select>",!0,!1,!1);function cE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let cz=function(e){for(var t,r=[],n=[],o=1;o<32;o++)r.push({label:o<10?"0".concat(o):"".concat(o),value:o}),n.push(o);var i=[{value:"*",label:"每日"},{value:"?",label:"不指定"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:r,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return t>=1&&t<31},label:["周期从","到","日"]})},{value:"beginInterval",label:tV(
|
|
2712
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0];n.length<1||e.onChange("some",n)}),t.multiple=!0,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(r){var n=e.options,o=e.disabled||"some"!==e.type;return n!==r.e&&(t.options=r.e=n),o!==r.t&&(t.disabled=r.t=o),r},{e:void 0,t:void 0}),tm(function(){return t.value=e.value}),t)]};var cC=ri("<n-select>",!0,!1,!1);function cE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let cz=function(e){for(var t,r=[],n=[],o=1;o<32;o++)r.push({label:o<10?"0".concat(o):"".concat(o),value:o}),n.push(o);var i=[{value:"*",label:"每日"},{value:"?",label:"不指定"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:r,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return t>=1&&t<31},label:["周期从","到","日"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:r,beginEveryOption:n,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return t>=1&&t<=31},label:["从","日开始, 每","天执行一次"]})},{value:"closeWorkDay",label:["每月离",((t=cC()).addEventListener("change",function(t){var r,n=Number((function(e){if(Array.isArray(e))return e}(r=t.detail)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(r)||function(e){if(e){if("string"==typeof e)return cE(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cE(e,1):void 0}}(r)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2713
2713
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0]);n>=1&&n<=31&&e.onChange("closeWorkDay",n)}),t.options=r,t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(){return t.disabled=e.disabled||"closeWorkDay"!==e.state.type}),tm(function(){return t.value=e.state.closeWorkDay}),t),"日最近的那个工作日"]},{value:"last",label:"本月最后1天"},{value:"some",label:tV(cO,{label:"具体天数(至少选择一项)",get value(){return e.state.some},options:r,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{get state(){return e.state},options:i,get onChange(){return e.onChange},get disabled(){return e.disabled}})};var cj=ri("<n-menu>",!0,!1,!1),cT=ri("<section class=time-picker><section class=time-picker-header><n-button><strong></strong></n-button></section><section class=time-picker-items>",!0,!1,!1);function cI(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var cP=Array.from({length:24},function(e,t){return{label:t<10?"0".concat(t):t,value:t}}),c_=Array.from({length:60},function(e,t){return{label:t<10?"0".concat(t):t,value:t}});let c$=function(e){var t,r,n,o,i,a,l=function(e){if(Array.isArray(e))return e}(t=tv("0px"))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return cI(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cI(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2714
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1];return ty(function(){var t;c("".concat(null==(t=e.datePicker)?void 0:t.offsetHeight,"px"))}),i=(o=(n=(r=cT()).firstChild).firstChild).firstChild,a=n.nextSibling,o.ghost=!0,o.flat=!0,o._$owner=tu,
|
|
2714
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1];return ty(function(){var t;c("".concat(null==(t=e.datePicker)?void 0:t.offsetHeight,"px"))}),i=(o=(n=(r=cT()).firstChild).firstChild).firstChild,a=n.nextSibling,o.ghost=!0,o.flat=!0,o._$owner=tu,rb(i,function(){return e.current.format("HH:mm:ss")}),rb(a,tV(t2,{get when(){return e.showHour},get children(){var u=cj();return u.addEventListener("change",function(t){var r=e.current.set("hour",t.detail[0]);e.onChange(r)}),u.items=cP,u._$owner=tu,tm(function(){return u.value=e.current.get("hour")}),u}}),null),rb(a,tV(t2,{get when(){return e.showMinute},get children(){var d=cj();return d.addEventListener("change",function(t){var r=e.current.set("minute",t.detail[0]);e.onChange(r)}),d.items=c_,d._$owner=tu,tm(function(){return d.value=e.current.get("minute")}),d}}),null),rb(a,tV(t2,{get when(){return e.showSecond},get children(){var f=cj();return f.addEventListener("change",function(t){var r=e.current.set("second",t.detail[0]);e.onChange(r)}),f.items=c_,f._$owner=tu,tm(function(){return f.value=e.current.get("second")}),f}}),null),tm(function(e){return rf(r,"max-block-size",s())}),r},cL=function(e){for(var t=[],r=0;r<24;r++)t.push("".concat(r+1));var n=[{value:"*",label:"每小时"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:cP,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=0&&t<23:t>0&&t<=23},label:["周期从","到","时"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:cP,beginEveryOption:t,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return"begin"===e?t>=0&&t<=23:t>=1&&t<=24},label:["从","时开始, 每","小时执行一次"]})},{value:"some",label:tV(cO,{label:"具体小时数(至少选择一项)",get value(){return e.state.some},options:cP,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:n,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})},cN=function(e){for(var t=[],r=0;r<60;r++)t.push("".concat(r+1));var n=[{value:"*",label:"每分钟"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:c_,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=0&&t<59:t>0&&t<=59},label:["周期从","到","分钟"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:c_,beginEveryOption:t,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return"begin"===e?t>=0&&t<=59:t>=1&&t<=60},label:["从","分开始, 每","分钟执行一次"]})},{value:"some",label:tV(cO,{label:"具体分钟数(至少选择一项)",get value(){return e.state.some},options:c_,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:n,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})};var cR=r(21),cM=r.n(cR),cD=r(12),cF=r.n(cD);r(453),(0,cR.extend)(cF()),(0,cR.locale)("zh-cn");let cU=cM();var cB=ri("<n-button type=primary class=date-picker-month>",!0,!1,!1),cH=cU.monthsShort();let cV=function(e){return tV(t0,{each:cH,children:function(t,r){var n,o=tx(function(){return e.current.get("month")===r()});return(n=cB()).$$click=function(){e.onChange(e.current.set("month",r()))},n.flat=!0,n._$owner=tu,rb(n,t),tm(function(e){var t=!!o(),r=o()?"strong":"button";return t!==e.e&&n.classList.toggle("date-active",e.e=t),r!==e.t&&(n.tag=e.t=r),e},{e:void 0,t:void 0}),n}})};ra(["click"]);var cY=cH.map(function(e,t){return{label:e,value:t}});let cq=function(e){for(var t=[],r=1;r<13;r++)t.push(r);var n=[{value:"*",label:"每月"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:cY,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=1&&t<12:t>1&&t<=12},label:["周期从","到","月"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:cY,beginEveryOption:t,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return t>=1&&t<=12},label:["从","开始, 每","个月执行一次"]})},{value:"some",label:tV(cO,{label:"具体月数(至少选择一项)",get value(){return e.state.some},options:cY,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:n,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})},cG=function(e){for(var t=[],r=0;r<60;r++)t.push("".concat(r+1));var n=[{value:"*",label:"每秒"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:c_,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=0&&t<59:t>0&&t<=59},label:["周期从","到","秒"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:c_,beginEveryOption:t,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return"begin"===e?t>=0&&t<=59:t>=0&&t<=60},label:["从","秒开始, 每","秒执行一次"]})},{value:"some",label:tV(cO,{label:"具体秒数(至少选择一项)",get value(){return e.state.some},options:c_,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:n,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})};var cW=ri("<n-select>",!0,!1,!1);let cX=function(e){var t,r=[{label:"星期日",value:1},{label:"星期一",value:2},{label:"星期二",value:3},{label:"星期三",value:4},{label:"星期四",value:5},{label:"星期五",value:6},{label:"星期六",value:7}],n=[{value:"*",label:"每周"},{value:"?",label:"不指定"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:r,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=1&&t<7:t>1&&t<=7},label:["周期从","到","日"]})},{value:"beginInterval",label:tV(cg,{get begin(){return e.state.begin},get beginEvery(){return e.state.beginEvery},get onChange(){return e.onChange},beginOption:[{value:1,label:"1周"},{value:2,label:"2周"},{value:3,label:"3周"},{value:4,label:"4周"}],beginEveryOption:r,get disabled(){return e.disabled||"beginInterval"!==e.state.type},validate:function(e,t){return"begin"!==e||t>=1&&t<=4},label:["第","的",null]})},{value:"last",label:["本月最后一个",((t=cW()).addEventListener("change",function(t){e.onChange("last",Number(t.detail[0]))}),t.options=r,t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(){return t.disabled=e.disabled||"last"!==e.state.type}),tm(function(){return t.value=e.state.last}),t)]},{value:"some",label:tV(cO,{label:"具体星期数(至少选择一项)",get value(){return e.state.some},options:r,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:n,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})};var cZ=ri("<n-select>",!0,!1,!1),cK=ri("<n-input-number min=0>",!0,!1,!1);function cJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let cQ=function(e){for(var t,r,n=new Date().getFullYear(),o=[],i=0,a=2099-n;i<=a;i++)o.push(n+i);var l=[{value:"*",label:"每年"},{value:"?",label:"不指定"},{value:"period",label:tV(ck,{get start(){return e.state.start},get end(){return e.state.end},options:o,get disabled(){return e.disabled||"period"!==e.state.type},get onChange(){return e.onChange},validate:function(e,t){return"start"===e?t>=n:t>=n+1},label:["周期从","到","年"]})},{value:"beginInterval",label:["从",((t=cZ()).addEventListener("change",function(t){var r,o=Number((function(e){if(Array.isArray(e))return e}(r=t.detail)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(r)||function(e){if(e){if("string"==typeof e)return cJ(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?cJ(e,1):void 0}}(r)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2715
2715
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0]);o>=n&&e.onChange("begin",o)}),t.options=o,t.css=cu,t.popupCss=cc,t.dropdownMatchSelectWidth=!1,t.arrow=!0,t._$owner=tu,tm(function(){return t.disabled=e.disabled||"beginInterval"!==e.state.type}),tm(function(){return t.value=e.state.begin}),t),"年开始触发,每隔",((r=cK()).addEventListener("change",function(t){var r=Number(t.detail);r&&e.onChange("beginEvery",r)}),r.css=cd,r._$owner=tu,tm(function(){return r.disabled=e.disabled||"beginInterval"!==e.state.type}),tm(function(){return r.value=e.state.beginEvery}),r),"年触发1次"]},{value:"some",label:tV(cO,{label:"具体年(至少选择一项)",get value(){return e.state.some},options:o,get type(){return e.state.type},get onChange(){return e.onChange},get disabled(){return e.disabled}})}];return tV(cy,{options:l,get onChange(){return e.onChange},get state(){return e.state},get disabled(){return e.disabled}})};function c0(e){return(c0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c1=ri("<style> "),c2=ri("<n-tabs>",!0,!1,!1),c3=ri("<code style=width:100%;display:block;background:var(--component-bg);border-radius:var(--border-radius);text-align:center>"),c4=ri("<style>");function c5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c6(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c5(Object(r),!0).forEach(function(t){c8(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c5(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c8(e,t,r){var n;return(n=function(e,t){if("object"!=c0(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=c0(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==c0(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c9(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c7(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c7(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2716
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function c7(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ue(e){for(var t,r=c9(tZ(e,["value","defaultValue","exclude","onChange","type","showCron","css","class","disabled"]),1)[0],n=c9(tv(r.defaultValue),2),o=n[0],i=n[1],a=new Date().getFullYear(),l={hms:{start:0,end:1,begin:0,beginEvery:1,some:[0],value:""},mwd:{start:1,end:2,begin:1,beginEvery:1,some:[1],value:""},year:{start:a,end:a+1,begin:a,beginEvery:1,some:[a],value:""}},s=[],c=[],u=1;u<32;u++)s.push({label:u<10?"0".concat(u):"".concat(u),value:u}),c.push(u);var d=c9(tv("second"),2),f=d[0],p=d[1],
|
|
2717
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function uo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let ui=function(e){var t=tx(function(){var t=e.current.startOf("month").day();if(!t)return[];for(var r=[],n=e.current.subtract(1,"month").endOf("month"),o=t-1;o>=0;o--)r.push(n.subtract(o,"day").get("date"));return r}),r=tx(function(){return Array.from({length:6-e.current.endOf("month").day()},function(e,t){return t+1})}),n=tx(function(){return[].concat(un(t()),un(Array.from({length:e.current.daysInMonth()},function(e,t){return t+1})),un(r()))});function o(e){return e<t().length}function i(e){return e>=n().length-r().length}return tV(t0,{get each(){return n()},children:function(t,r){var n,a=tx(function(){var e=r();return o(e)||i(e)?"date-day date-opacity":"date-day"}),l=tx(function(){var n=r();return!o(n)&&!i(n)&&e.current.get("date")===t});return rc(n=ur(),"click",(function(t){var n=r(),a=e.current.subtract(1,"month"),l=e.current.subtract(-1,"month"),s=(o(n)?a:i(n)?l:e.current).set("date",t);e.current.isSame(s)||e.onChange(s)}).bind(null,t),!0),n.circle=!0,n.flat=!0,n._$owner=tu,
|
|
2718
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),[r+10])});return tV(t0,{get each(){return t()},children:function(r,n){var o;return(o=ua()).$$click=function(){e.onChange(e.current.set("years",r))},o.flat=!0,o._$owner=tu,
|
|
2719
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function um(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let uy=function(e){var t,r,n,o,i,a=uv(tv(0),2),l=a[0],s=a[1],c=uv(tv("date"),2),u=c[0],d=c[1],f=cU.weekdaysMin(),p=tx(function(){return"date"===u()}),
|
|
2716
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function c7(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ue(e){for(var t,r=c9(tZ(e,["value","defaultValue","exclude","onChange","type","showCron","css","class","disabled"]),1)[0],n=c9(tv(r.defaultValue),2),o=n[0],i=n[1],a=new Date().getFullYear(),l={hms:{start:0,end:1,begin:0,beginEvery:1,some:[0],value:""},mwd:{start:1,end:2,begin:1,beginEvery:1,some:[1],value:""},year:{start:a,end:a+1,begin:a,beginEvery:1,some:[a],value:""}},s=[],c=[],u=1;u<32;u++)s.push({label:u<10?"0".concat(u):"".concat(u),value:u}),c.push(u);var d=c9(tv("second"),2),f=d[0],p=d[1],g=c9(tv({second:c6({type:"*"},l.hms),minute:c6({type:"*"},l.hms),hour:c6({type:"*"},l.hms),day:c6({type:"*",last:1,closeWorkDay:1},l.mwd),month:c6({type:"*"},l.mwd),week:c6({last:1,type:"?"},l.mwd),year:c6({type:""},l.year)}),2),b=g[0],h=g[1];function v(e,t){r.disabled||tw(function(){var r=tk(b),n="day"===f();if(n||"week"===f()){var o=n?"week":"day",i="?"===r[o].type&&"?"===r[f()].type?"*":"?";i!==r[o].type&&h(function(e){return c6(c6({},e),{},c8({},o,c6(c6({},e[o]),{},{type:i})))})}h(function(r){var n=c6(c6({},r[f()]),{},c8({},e,t));return("start"===e||"end"===e)&&n.end-n.start<=1&&("end"===e?n.start=t-1:n.end=t+1),c6(c6({},r),{},c8({},f(),n))})})}function m(e,t){if(e.value.includes("-")){e.type="period";var r=e.value.split("-");e.start=Number(r[0]),e.end=Number(r[1])}else if(e.value.includes("W"))e.type="closeWorkDay",e.closeWorkDay=Number(e.value.split("W")[0])||1;else if(e.value.includes("L"))e.type="last",e.last=Number(e.value.split("L")[0])||1;else if(e.value.includes(t?"#":"/")){e.type="beginInterval";var n=e.value.split(t?"#":"/");t?(e.begin=Number(n[1]),e.beginEvery=Number(n[0])):(e.begin=Number(n[0]),e.beginEvery=Number(n[1]))}else e.value.includes(",")||/^[0-9]+$/.test(e.value)?(e.type="some",e.some=e.value.split(",").map(Number)):e.type=e.value;return e}function y(e){return"number"!=typeof e||isNaN(e)?e:"".concat(e)}function x(e,t){switch(e.type){case"period":return"".concat(y(e.start),"-").concat(y(e.end));case"beginInterval":if(t)return"".concat(y(e.beginEvery),"#").concat(y(e.begin));return"".concat(y(e.begin),"/").concat(y(e.beginEvery));case"closeWorkDay":return"".concat(y(e.closeWorkDay||1),"W");case"last":return t?"".concat(y(e.last),"L"):"L";case"some":return e.some.join(",");default:return e.type}}function w(e){return!(r.exclude||[]).includes(e)}ty(function(){void 0!==r.value&&tk(o)!==r.value&&i(r.value)}),ty(function(){var e=o();if(e){var t=e.toUpperCase().split(" ");tw(function(){h(function(e){return{second:m(c6(c6({},e.second),{},{value:t[0]||"?"})),minute:m(c6(c6({},e.minute),{},{value:t[1]||"?"})),hour:m(c6(c6({},e.hour),{},{value:t[2]||"?"})),day:m(c6(c6({},e.day),{},{value:t[3]||""})),month:m(c6(c6({},e.month),{},{value:t[4]||""})),week:m(c6(c6({},e.week),{},{value:t[5]||""}),!0),year:m(c6(c6({},e.year),{},{value:t[6]||""}))}})})}}),ty(function(){var t=b(),n=t.second,o=t.minute,a=t.hour,l=t.day,s=t.month,c=t.week,u=t.year,d="".concat(x(n)," ").concat(x(o)," ").concat(x(a)," ").concat(x(l)," ").concat(x(s)," ").concat(x(c,!0)," ").concat(x(u));i(function(t){if(t===d)return t;if(!r.disabled){var n;null==(n=e.onChange)||n.call(e,d)}return d})});var k=tx(function(){return[w("second")&&{value:"second",label:"秒",content:tV(cG,{get state(){return b().second},onChange:v,get disabled(){return r.disabled}})},w("minute")&&{value:"minute",label:"分钟",content:tV(cN,{get state(){return b().minute},onChange:v,get disabled(){return r.disabled}})},w("minute")&&{value:"hour",label:"小时",content:tV(cL,{get state(){return b().hour},onChange:v,get disabled(){return r.disabled}})},w("day")&&{value:"day",label:"日",content:tV(cz,{get state(){return b().day},onChange:v,get disabled(){return r.disabled}})},w("week")&&{value:"week",label:"周",content:tV(cX,{get state(){return b().week},onChange:v,get disabled(){return r.disabled}})},w("month")&&{value:"month",label:"月",content:tV(cq,{get state(){return b().month},onChange:v,get disabled(){return r.disabled}})},w("year")&&{value:"year",label:"年",content:tV(cQ,{get state(){return b().year},onChange:v,get disabled(){return r.disabled}})}].filter(Boolean)});return[tV(t2,{get when(){return r.css},get children(){var S=c1(),A=S.firstChild;return tm(function(){return A.data=nu(r.css)}),S}}),((t=c2()).addEventListener("change",function(e){p(e.detail[0])}),t._$owner=tu,tm(function(e){var n=r.type,o=k();return n!==e.e&&(t.type=e.e=n),o!==e.t&&(t.items=e.t=o),e},{e:void 0,t:void 0}),tm(function(){return t.value=f()}),t),tV(t2,{get when(){return r.showCron},get children(){var O=c3();return rb(O,o),O}})]}ue.registry=function(){iG.registry(),lX.registry(),sC.registry(),s1.registry(),cl.registry(),nx("n-cron",{value:void 0,defaultValue:"0 0 0 * * ? *",onChange:void 0,type:"line",exclude:[],showCron:!0,css:void 0,disabled:void 0},function(e,t){var r,n=t.element,o=tX({onChange:function(t){e.disabled||n.dispatchEvent(new CustomEvent("change",{detail:t}))}},e);return ty(function(){nA(n,["exclude","css"])}),[((r=c4()).textContent=nJ,r),tV(ue,o)]})};let ut=ue;var ur=ri("<n-button type=primary>",!0,!1,!1);function un(e){return function(e){if(Array.isArray(e))return uo(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return uo(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uo(e,void 0):void 0}}(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2717
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function uo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let ui=function(e){var t=tx(function(){var t=e.current.startOf("month").day();if(!t)return[];for(var r=[],n=e.current.subtract(1,"month").endOf("month"),o=t-1;o>=0;o--)r.push(n.subtract(o,"day").get("date"));return r}),r=tx(function(){return Array.from({length:6-e.current.endOf("month").day()},function(e,t){return t+1})}),n=tx(function(){return[].concat(un(t()),un(Array.from({length:e.current.daysInMonth()},function(e,t){return t+1})),un(r()))});function o(e){return e<t().length}function i(e){return e>=n().length-r().length}return tV(t0,{get each(){return n()},children:function(t,r){var n,a=tx(function(){var e=r();return o(e)||i(e)?"date-day date-opacity":"date-day"}),l=tx(function(){var n=r();return!o(n)&&!i(n)&&e.current.get("date")===t});return rc(n=ur(),"click",(function(t){var n=r(),a=e.current.subtract(1,"month"),l=e.current.subtract(-1,"month"),s=(o(n)?a:i(n)?l:e.current).set("date",t);e.current.isSame(s)||e.onChange(s)}).bind(null,t),!0),n.circle=!0,n.flat=!0,n._$owner=tu,rb(n,t),tm(function(e){var t=a(),r=!!l(),o=l()?"strong":"button";return t!==e.e&&rs(n,e.e=t),r!==e.t&&n.classList.toggle("date-active",e.t=r),o!==e.a&&(n.tag=e.a=o),e},{e:void 0,t:void 0,a:void 0}),n}})};ra(["click"]);var ua=ri("<n-button type=primary class=date-picker-month>",!0,!1,!1);function ul(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let us=function(e){var t=tx(function(){var t,r=e.start;return[r-1].concat(function(e){if(Array.isArray(e))return ul(e)}(t=Array.from({length:10},function(e,t){return r+t}))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return ul(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ul(e,void 0):void 0}}(t)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2718
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),[r+10])});return tV(t0,{get each(){return t()},children:function(r,n){var o;return(o=ua()).$$click=function(){e.onChange(e.current.set("years",r))},o.flat=!0,o._$owner=tu,rb(o,r),tm(function(i){var a=0===n()||n()===t().length-1,l=e.current.get("years")===r,s=e.current.get("years")===r?"strong":"button";return a!==i.e&&o.classList.toggle("date-opacity",i.e=a),l!==i.t&&o.classList.toggle("date-active",i.t=l),s!==i.a&&(o.tag=i.a=s),i},{e:void 0,t:void 0,a:void 0}),o}})};ra(["click"]);var uc=ri("<n-button class=prev-month type=primary>〈",!0,!1,!1),uu=ri("<n-button><strong>",!0,!1,!1),ud=ri("<n-button class=next-month type=primary>〉",!0,!1,!1),uf=ri("<section class=date-picker-header><span class=date-prev><n-button class=prev-year type=primary>《</n-button></span><span class=date-value><n-button><strong></strong></n-button></span><span class=date-next><n-button class=next-year type=primary>》",!0,!1,!1),up=ri("<section class=date-picker-weeks>"),ug=ri("<section class=date-picker-footer><n-button type=primary>今日",!0,!1,!1),ub=ri("<div class=date-time-picker><div class=date-picker><section class=date-picker-items>"),uh=ri("<span>");function uv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return um(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?um(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2719
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function um(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let uy=function(e){var t,r,n,o,i,a=uv(tv(0),2),l=a[0],s=a[1],c=uv(tv("date"),2),u=c[0],d=c[1],f=cU.weekdaysMin(),p=tx(function(){return"date"===u()}),g=tx(function(){return 10*parseInt("".concat(e.current.get("years")/10+l()))});function b(){"year"===u()?s(function(e){return e-1}):e.onChange(e.current.subtract(1,"year"))}function h(){"year"===u()?s(function(e){return e+1}):e.onChange(e.current.subtract(-1,"year"))}function v(){e.onChange(e.current.subtract(1,"month"))}function m(){e.onChange(e.current.subtract(-1,"month"))}function y(t){e.onChange(t),u()===e.type?e.openChange(!1):d(e.type)}return ty(function(){"year"!==u()&&s(function(e){return e?0:e})}),ty(function(){e.type&&d(e.type)}),n=(r=(t=ub()).firstChild).firstChild,rc(r,"mousedown",function(t){e.open&&(t.stopPropagation(),t.preventDefault())}),"function"==typeof(o=i)?rg(o,r):i=r,rb(r,tV(t2,{get when(){return e.showHeader},get children(){var x=uf(),w=x.firstChild,k=w.firstChild,S=w.nextSibling,A=S.firstChild,O=A.firstChild,C=S.nextSibling,E=C.firstChild;return k.$$click=b,k.circle=!0,k.flat=!0,k._$owner=tu,rb(w,tV(t2,{get when(){return p()},get children(){var z=uc();return z.$$click=v,z.circle=!0,z.flat=!0,z._$owner=tu,z}}),null),A.$$click=function(){return d("year")},A.ghost=!0,A.flat=!0,A._$owner=tu,rb(O,tV(t2,{get when(){return"year"===u()},get fallback(){return"".concat(e.current.get("years"),"年")},get children(){return"".concat(g(),"-").concat(g()+9,"年")}})),rb(S,tV(t2,{get when(){return p()},get children(){var j=uu(),T=j.firstChild;return j.$$click=function(){return d("month")},j.ghost=!0,j.flat=!0,j._$owner=tu,rb(T,function(){return"".concat(e.current.get("months")+1,"月")}),j}}),null),rb(C,tV(t2,{get when(){return p()},get children(){var I=ud();return I.$$click=m,I.circle=!0,I.flat=!0,I._$owner=tu,I}}),E),E.$$click=h,E.circle=!0,E.flat=!0,E._$owner=tu,tm(function(e){var t=!p(),r=!p();return t!==e.e&&w.classList.toggle("not-date",e.e=t),r!==e.t&&C.classList.toggle("not-date",e.t=r),e},{e:void 0,t:void 0}),x}}),n),rb(r,tV(t2,{get when(){return p()},get children(){var P=up();return rb(P,tV(t0,{each:f,children:function(e){var t;return rb(t=uh(),e),t}})),P}}),n),rb(n,tV(t3,{get children(){return[tV(t4,{get when(){return p()},get children(){return tV(ui,{get current(){return e.current},onChange:y})}}),tV(t4,{get when(){return"month"===u()},get children(){return tV(cV,{get current(){return e.current},onChange:y})}}),tV(t4,{get when(){return"year"===u()},get children(){return tV(us,{get current(){return e.current},onChange:y,get start(){return g()}})}})]}})),rb(r,tV(t2,{get when(){return rr(function(){return!!p()})()&&e.showToday},get children(){var _=ug(),$=_.firstChild;return $.$$click=function(){e.onChange(cU())},$.block=!0,$.link=!0,$._$owner=tu,_}}),null),rb(t,tV(t2,{get when(){return rr(function(){return!!p()})()&&e.showTime},get children(){return tV(c$,{get current(){return e.current},get onChange(){return e.onChange},get showHour(){return e.showHour},get showMinute(){return e.showMinute},get showSecond(){return e.showSecond},datePicker:i})}}),null),t};ra(["click"]);var ux=nu(e5||(K=[`
|
|
2720
2720
|
.date-time-picker {
|
|
2721
2721
|
display: flex;
|
|
2722
2722
|
padding: 0 10px;
|
|
@@ -2890,8 +2890,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
2892
|
`],J||(J=K.slice(0)),e5=Object.freeze(Object.defineProperties(K,{raw:{value:Object.freeze(J)}}))));function uw(e){return(uw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var uk=ri("<n-input part=value>",!0,!1,!1),uS=ri("<style>");function uA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function uO(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uA(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=uw(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uw(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uw(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uA(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function uC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return uE(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?uE(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2893
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function uE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function uz(e){var t,r=tX({type:"date",parser:"YYYY-MM-DD HH:mm:ss"},e),n=uC(tZ(r,["class","css","value","defaultValue","onChange","type","content","onOpenChange","open","format","popupCss","trigger","parser","showTime","showHour","showMinute","showSecond","prefixIcon","suffixIcon","placeholder","showToday","showHeader"]),2),o=n[0],i=n[1],a=uC(tv(null),2),l=a[0],s=a[1],c=uC(tv(cU(o.defaultValue)),2),u=c[0],d=c[1],f=tx(function(){return o.format?o.format:o.showTime?"YYYY-MM-DD HH:mm:ss":({month:"YYYY-MM",date:"YYYY-MM-DD",year:"YYYY"})[o.type||"date"]});function p(e){if(!i.disabled){var t;null==(t=o.onOpenChange)||t.call(o,e),void 0===o.open&&s(e)}}function
|
|
2894
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],d=tJ(),f=tx(function(){var e,t,r=nf(!!u.brightness&&"brightness(".concat(u.brightness,")"),!!u.
|
|
2893
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function uE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function uz(e){var t,r=tX({type:"date",parser:"YYYY-MM-DD HH:mm:ss"},e),n=uC(tZ(r,["class","css","value","defaultValue","onChange","type","content","onOpenChange","open","format","popupCss","trigger","parser","showTime","showHour","showMinute","showSecond","prefixIcon","suffixIcon","placeholder","showToday","showHeader"]),2),o=n[0],i=n[1],a=uC(tv(null),2),l=a[0],s=a[1],c=uC(tv(cU(o.defaultValue)),2),u=c[0],d=c[1],f=tx(function(){return o.format?o.format:o.showTime?"YYYY-MM-DD HH:mm:ss":({month:"YYYY-MM",date:"YYYY-MM-DD",year:"YYYY"})[o.type||"date"]});function p(e){if(!i.disabled){var t;null==(t=o.onOpenChange)||t.call(o,e),void 0===o.open&&s(e)}}function g(e){e.stopPropagation(),e.preventDefault(),p(!0)}function b(){tk(l)&&p(!1)}function h(e){var r;e.target===(null==t||null==(r=t.shadowRoot)?void 0:r.activeElement)&&p(!tk(l))}function v(e){var t;void 0===o.value&&d(e),null==(t=r.onChange)||t.call(r,e.format(o.parser),e)}function m(e){if(e.detail){var t=cU(e.detail);t.isValid()&&v(t)}}return ty(function(){void 0!==o.open&&o.open!==tk(l)&&s(o.open)}),ty(function(){var e=cU(o.value||o.defaultValue);void 0!==o.value&&e.isValid()&&d(e)}),tV(il,tX({trigger:"none",placement:"left",get open(){return l()},onOpenChange:p,get css(){return o.css},popupCss:ux,get content(){return tV(uy,{get type(){return o.type},get current(){return u()},get open(){return l()},onChange:v,openChange:p,get showHour(){return o.showHour},get showMinute(){return o.showMinute},get showSecond(){return o.showSecond},get showTime(){return o.showTime},get showToday(){return o.showToday},get showHeader(){return o.showHeader}})}},i,{get children(){var y=uk();y.addEventListener("change",m),y.addEventListener("blur",b),y.addEventListener("focus",g),y.$$mousedown=h;var x=t;return"function"==typeof x?rg(x,y):t=y,y._$owner=tu,tm(function(e){var t=i.disabled,r=o.suffixIcon,n=o.prefixIcon,a=o.placeholder;return t!==e.e&&(y.disabled=e.e=t),r!==e.t&&(y.suffixIcon=e.t=r),n!==e.a&&(y.prefixIcon=e.a=n),a!==e.o&&(y.placeholder=e.o=a),e},{e:void 0,t:void 0,a:void 0,o:void 0}),tm(function(){return y.value=u().format(f())}),y}}))}uz.registry=function(){iG.registry(),lg.registry(),nx("n-data-picker",uO(uO({},ia),{},{value:void 0,defaultValue:void 0,disabled:void 0,onChange:void 0,open:void 0,onOpenChange:void 0,type:void 0,format:void 0,parser:void 0,showTime:void 0,suffixIcon:"📅",prefixIcon:void 0,placeholder:void 0,showHour:!0,showMinute:!0,showSecond:!0,showToday:!0,showHeader:!0}),function(e,t){var r,n=t.element,o=tX({css:n.css,onChange:function(e,t){n.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))},onOpenChange:function(e){n.dispatchEvent(new CustomEvent("openchange",{detail:e}))}},e);return ty(function(){nA(n,["popupCss","css"])}),[((r=uS()).textContent=nK,r),tV(uz,o)]})};let uj=uz;function uT(e){return(uT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}ra(["mousedown"]);var uI=["properties","items","type"];function uP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u_(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?uP(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=uT(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=uT(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==uT(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uP(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let u$=function e(t,r){var n=[],o=t.properties;for(var i in o)if(Object.prototype.hasOwnProperty.call(o,i)){var a=o[i],l=a.properties,s=a.items,c=a.type,u=void 0===c?"string":c,d=u_(u_({},function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(a,uI)),{},{name:i,type:u,subTitle:u,key:"".concat(r?"".concat(r,"."):"").concat(i)});"object"===u?d.children=e({properties:l},d.key):"array"===u&&(d.children=e({properties:{items:u_(u_({},s),{},{title:"items",isItems:!0})}},d.key)),n.push(d)}return n};var uL=ri("<style> "),uN=ri("<slot id=backdrop-slot>"),uR=ri("<svg style=display:none><filter filterUnits=objectBoundingBox x=-5% y=-5% width=110% height=110%><feTurbulence type=fractalNoise baseFrequency=0.45 numOctaves=1></feTurbulence><feDisplacementMap in=SourceGraphic scale=50>"),uM=ri("<style>");function uD(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var uF=function(e){var t,r,n,o,i,a,l,s,c=tX({filterBlur:"16px"},e),u=(function(e){if(Array.isArray(e))return e}(t=tZ(c,["css","filter","feTurbulence","feDisplacementMap","filterBlur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","opacity","saturate","sepia"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),1!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return uD(e,1);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?uD(e,1):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2894
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],d=tJ(),f=tx(function(){var e,t,r=nf(!!u.brightness&&"brightness(".concat(u.brightness,")"),!!u.filterBlur&&"blur(".concat(u.filterBlur,")"),!!u.contrast&&"contrast(".concat(u.contrast,")"),!!u.dropShadow&&"drop-shadow(".concat(u.dropShadow,")"),!!u.grayscale&&"grayscale(".concat(u.grayscale,")"),!!u.hueRotate&&"hue-rotate(".concat(u.hueRotate,")"),!!u.invert&&"invert(".concat(u.invert,")"),!!u.opacity&&"opacity(".concat(u.opacity,")"),!!u.saturate&&"saturate(".concat(u.saturate,")"),!!u.sepia&&"sepia(".concat(u.sepia,")"));return nu(e6||(e=[`
|
|
2895
2895
|
#backdrop-slot {
|
|
2896
2896
|
display: block;
|
|
2897
2897
|
overflow: inherit;
|
|
@@ -2906,14 +2906,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2906
2906
|
backdrop-filter: `," url(#",`);
|
|
2907
2907
|
}
|
|
2908
2908
|
}
|
|
2909
|
-
`],t||(t=e.slice(0)),e6=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),r,d,r,d)});return[(n=(r=uL()).firstChild,tm(function(){return n.data=f()}),r),tV(t2,{get when(){return c.css},get children(){var p=uL(),
|
|
2909
|
+
`],t||(t=e.slice(0)),e6=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))),r,d,r,d)});return[(n=(r=uL()).firstChild,tm(function(){return n.data=f()}),r),tV(t2,{get when(){return c.css},get children(){var p=uL(),g=p.firstChild;return tm(function(){return g.data=nu(u.css)}),p}}),((o=uN())._$owner=tu,o),(s=(l=(a=(i=uR()).firstChild).firstChild).nextSibling,rl(a,"id",d),rp(a,tX(function(){return u.filter}),!0,!0),rp(l,tX(function(){return u.feTurbulence}),!0,!1),rp(s,tX(function(){return u.feDisplacementMap}),!0,!1),i)]};uF.registry=function(){nx("n-glass-panel",{class:void 0,css:void 0,brightness:void 0,filterBlur:void 0,contrast:void 0,dropShadow:void 0,grayscale:void 0,hueRotate:void 0,invert:void 0,opacity:void 0,saturate:void 0,sepia:void 0,filter:void 0,feTurbulence:void 0,feDisplacementMap:void 0},function(e,t){var r,n=t.element;return ty(function(){nA(n,["css"])}),[((r=uM()).textContent=nK,r),tV(uF,e)]})};let uU=uF;var uB=ri("<style> "),uH=ri("<style>"),uV=ri("<div>");function uY(e){return(uY="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var uq=nu(e8||(Q=[`
|
|
2910
2910
|
.text {
|
|
2911
2911
|
word-break: break-word;
|
|
2912
2912
|
word-wrap: break-word;
|
|
2913
2913
|
white-space: break-spaces;
|
|
2914
2914
|
cursor: auto;
|
|
2915
2915
|
}
|
|
2916
|
-
`],ee||(ee=Q.slice(0)),e8=Object.freeze(Object.defineProperties(Q,{raw:{value:Object.freeze(ee)}}))));function uG(e,t,r,n,o){(function(e,t){for(var r,n=[];(r=t.exec(e))&&(n.push(r),t.global););return n})(o,new RegExp(r,n)).forEach(function(r){var n,o=new Range;n=0+r.index,e.firstChild&&(o.setStart(e.firstChild,n),n+=r[0].length,o.setEnd(e.firstChild,n));var i=CSS.highlights.get(t);i?i.add(o):CSS.highlights.set(t,new Highlight().add(o))})}function uW(e){var t,r,n,o,i,a,l,s,c=nQ.baseStyle,u=tJ(),d=tx(function(){var t;return"".concat(e.text).concat(null!=(t=e.extra)?t:"")});return ty(function(){if(s&&e.highlight)if(Array.isArray(e.highlight))for(var t=0,r=e.highlight.length;t<r;t++){var n,o=e.highlight[t],i="object"!==uY(o),a=String(i?o:o.highlight);a.length&&uG(s,u,a,i?e.flag:null!=(n=o.flag)?n:e.flag,d())}else String(e.highlight).length&&uG(s,u,String(e.highlight),e.flag,d())}),ty(function(){if(s&&"string"==typeof e.extra){var t,r=new Range,n=(null==(t=e.text)?void 0:t.length)||0;s.firstChild&&(r.setStart(s.firstChild,n),n+=e.extra.length,r.setEnd(s.firstChild,n));var o=CSS.highlights.get(u);o?o.add(r):CSS.highlights.set(u,new Highlight().add(r))}}),[(r=(t=
|
|
2916
|
+
`],ee||(ee=Q.slice(0)),e8=Object.freeze(Object.defineProperties(Q,{raw:{value:Object.freeze(ee)}}))));function uG(e,t,r,n,o){(function(e,t){for(var r,n=[];(r=t.exec(e))&&(n.push(r),t.global););return n})(o,new RegExp(r,n)).forEach(function(r){var n,o=new Range;n=0+r.index,e.firstChild&&(o.setStart(e.firstChild,n),n+=r[0].length,o.setEnd(e.firstChild,n));var i=CSS.highlights.get(t);i?i.add(o):CSS.highlights.set(t,new Highlight().add(o))})}function uW(e){var t,r,n,o,i,a,l,s,c=nQ.baseStyle,u=tJ(),d=tx(function(){var t;return"".concat(e.text).concat(null!=(t=e.extra)?t:"")});return ty(function(){if(s&&e.highlight)if(Array.isArray(e.highlight))for(var t=0,r=e.highlight.length;t<r;t++){var n,o=e.highlight[t],i="object"!==uY(o),a=String(i?o:o.highlight);a.length&&uG(s,u,a,i?e.flag:null!=(n=o.flag)?n:e.flag,d())}else String(e.highlight).length&&uG(s,u,String(e.highlight),e.flag,d())}),ty(function(){if(s&&"string"==typeof e.extra){var t,r=new Range,n=(null==(t=e.text)?void 0:t.length)||0;s.firstChild&&(r.setStart(s.firstChild,n),n+=e.extra.length,r.setEnd(s.firstChild,n));var o=CSS.highlights.get(u);o?o.add(r):CSS.highlights.set(u,new Highlight().add(r))}}),[(r=(t=uB()).firstChild,tm(function(){return r.data=c()}),t),((n=uH()).textContent=uq,n),(i=(o=uB()).firstChild,tm(function(){var t;return i.data="::highlight(".concat(u,") {color: ").concat(null!=(t=e.highlightColor)?t:"var(--primary-color, #5794ff)",";}")}),o),tV(t2,{get when(){return e.css},get children(){var f=uB(),p=f.firstChild;return tm(function(){return p.data=nu(e.css)}),f}}),(a=uV(),"function"==typeof(l=s)?rg(l,a):s=a,rb(a,d),tm(function(){return rs(a,nf("text",e.class))}),a)]}uW.registry=function(){nx("n-highlight-text",{class:void 0,css:void 0,text:void 0,highlight:void 0,flag:void 0,extra:void 0,highlightColor:void 0,children:void 0},function(e,t){var r,n=t.element,o=tX({text:n.textContent,css:n.css},e);return ty(function(){nA(n,["css","text","highlight","extra","flag"]),n.replaceChildren()}),[((r=uH()).textContent=nK,r),tV(uW,o)]})};let uX=uW;var uZ=nu(e9||(et=[`
|
|
2917
2917
|
.n-marquee {
|
|
2918
2918
|
--speed: 15s;
|
|
2919
2919
|
|
|
@@ -2962,7 +2962,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2962
2962
|
}
|
|
2963
2963
|
}
|
|
2964
2964
|
`],er||(er=et.slice(0)),e9=Object.freeze(Object.defineProperties(et,{raw:{value:Object.freeze(er)}})))),uK=ri("<style> "),uJ=ri("<style>"),uQ=ri("<div>"),u0=ri("<div class=n-marquee-item>");function u1(e,t){if(e){if("string"==typeof e)return u2(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u2(e,t):void 0}}function u2(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var u3=function(e){var t,r,n,o,i,a,l,s=nQ.baseStyle,c=tX({speed:15,hoverPause:!0,mask:!0},e),u=function(e){if(Array.isArray(e))return e}(t=tv(2))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||u1(t,2)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2965
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),d=u[0],f=u[1];return ty(function(){if(l){var e=l.querySelector(".n-marquee-item");f(Math.ceil(l.offsetWidth/e.offsetWidth)+1)}}),[(n=(r=uK()).firstChild,tm(function(){return n.data=s()}),r),((o=uJ()).textContent=uZ,o),tV(t2,{get when(){return c.css},get children(){var p=uK(),
|
|
2965
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),d=u[0],f=u[1];return ty(function(){if(l){var e=l.querySelector(".n-marquee-item");f(Math.ceil(l.offsetWidth/e.offsetWidth)+1)}}),[(n=(r=uK()).firstChild,tm(function(){return n.data=s()}),r),((o=uJ()).textContent=uZ,o),tV(t2,{get when(){return c.css},get children(){var p=uK(),g=p.firstChild;return tm(function(){return g.data=nu(c.css)}),p}}),(i=uQ(),"function"==typeof(a=l)?rg(a,i):l=i,rb(i,tV(t0,{get each(){return Array.from({length:d()})},children:function(){var e,t;return rb(e=u0(),(t=rr(function(){return!!Array.isArray(c.children)}),function(){return t()?tV(t0,{get each(){return c.children},children:function(e){return oR(e.cloneNode)?e.cloneNode(!0):e}}):c.children})),e}})),tm(function(e){var t=nf("n-marquee",c.mask&&"n-marquee-mask",c.hoverPause&&"n-marquee-hover-pause"),r="".concat(c.speed,"s");return t!==e.e&&rs(i,e.e=t),r!==e.t&&rf(i,"--speed",e.t=r),e},{e:void 0,t:void 0}),i)]};u3.registry=function(){nx("n-marquee",{class:void 0,css:void 0,speed:15,hoverPause:!0,mask:!0},function(e,t){var r,n,o=t.element,i=tX({children:function(e){if(Array.isArray(e))return u2(e)}(r=o.childNodes.values())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||u1(r)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2966
2966
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()},e);return ty(function(){nA(o,["css"])}),[((n=uJ()).textContent=nJ,n),tV(u3,i)]})};let u4=u3,u5=nu(e7||(e7=Object.freeze(Object.defineProperties([`
|
|
2967
2967
|
:host,
|
|
2968
2968
|
:root {
|
|
@@ -4100,8 +4100,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4100
4100
|
}
|
|
4101
4101
|
}
|
|
4102
4102
|
`])}}))));var u6=0,u8=ri("<style> "),u9=ri("<style>"),u7=ri("<article class=n-md-box part=box><div class=n-md-body part=body>"),de=ri("<article part=box>");function dt(e){return function(e){if(Array.isArray(e))return dr(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return dr(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?dr(e,void 0):void 0}}(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4103
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function dn(e){var t,r,n,o,i=nQ.baseStyle,a=tX({pictureViewer:!0,lazyPicture:!0,codeTheme:void 0,codeClassic:void 0,text:"",tools:["copy"],getAnchorContainer:function(){return window}},e),l=new Worker((u6++,!te&&(te=URL.createObjectURL(new Blob(['/**\n * marked - a markdown parser\n * Copyright (c) 2011-2025, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/markedjs/marked\n */\n!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).marked=t()}(this,function(){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n,r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length)return r&&(e=r),n=0,function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e){return F[e]}(function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",langLineNumber:null,langToolbar:null,mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1,emojiSource:null,emoji:{}}}t.exports={defaults:e(),getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}})(e={exports:{}});var e=e.exports,r=(e.defaults,e.getDefaults,e.changeDefaults,/[&<>"\']/),C=/[&<>"\']/g,U=/[<>"\']|&(?!#?\\w+;)/,L=/[<>"\']|&(?!#?\\w+;)/g,F={"&":"&","<":"<",">":">",\'"\':""","\'":"'"};var K=/&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/gi;function l(e){return e.replace(K,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var P=/(^|[^\\[])\\^/g;var B=/[^\\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var a={},N=/^[^:]+:\\/*[^/]*$/,M=/^([^:]+:)[\\s\\S]*$/,H=/^([^:]+:\\/*[^/]*)[\\s\\S]*$/;function X(e,t){a[" "+e]||(N.test(e)?a[" "+e]=e+"/":a[" "+e]=o(e,"/",!0));var n=-1===(e=a[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(M,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(H,"$1")+t:e+t}function o(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var s=e.charAt(r-i-1);if(s!==t||n){if(s===t||!n)break;i++}else i++}return e.substr(0,r-i)}var t=function(e,t){if(t){if(r.test(e))return e.replace(C,n)}else if(U.test(e))return e.replace(L,n);return e},G=l,c=function(n,e){n=n.source||n,e=e||"";var r={replace:function(e,t){return t=(t=t.source||t).replace(P,"$1"),n=n.replace(e,t),r},getRegex:function(){return new RegExp(n,e)}};return r},V=function(e,t,n){if(e){var r;try{r=decodeURIComponent(l(n)).replace(B,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!D.test(n)&&(n=X(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},u={exec:function(){}},h=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},g=function(e,t){var n=e.replace(/\\|/g,function(e,t,n){for(var r=!1,i=t;0<=--i&&"\\\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \\|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\\\\|/g,"|");return n},f=o,k=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1},J=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},Q=function(e,t){if(t<1)return"";for(var n="";1<t;)1&t&&(n+=e),t>>=1,e+=e;return n+e},W=e.defaults,d=f,b=g,x=t,Y=k;function m(e,t,n){var r=t.href,t=t.title?x(t.title):null,i=e[1].replace(/\\\\([\\[\\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:t,text:i}:{type:"image",raw:n,href:r,title:t,text:x(i)}}var w=function(){function e(e){this.options=e||W}var t=e.prototype;return t.space=function(e){e=this.rules.block.newline.exec(e);if(e)return 1<e[0].length?{type:"space",raw:e[0]}:{raw:"\\n"}},t.katexBlock=function(e,t){e=this.rules.block.katex.exec(e);if(e){t=t[t.length-1];if(t&&"paragraph"===t.type)return{raw:e[0],text:e[0].trimRight()};t=e[0].replace(/^ {4}/gm,"");return{type:"katexBlock",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:d(t,"\\n")}}},t.code=function(e,t){e=this.rules.block.code.exec(e);if(e){t=t[t.length-1];if(t&&"paragraph"===t.type)return{raw:e[0],text:e[0].trimRight()};t=e[0].replace(/^ {4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:d(t,"\\n")}}},t.fences=function(e){var t,n,e=this.rules.block.fences.exec(e);if(e)return n=function(e,t){if(null===(e=e.match(/^(\\s+)(?:```)/)))return t;var n=e[1];return t.split("\\n").map(function(e){var t=e.match(/^\\s+/);return null!==t&&t[0].length>=n.length?e.slice(n.length):e}).join("\\n")}(t=e[0],e[3]||""),{type:"code",raw:t,lang:e[2]&&e[2].trim(),text:n}},t.fencesKatex=function(e){var t,e=this.rules.block.fencesKatex.exec(e);if(e)return{type:"katexBlock",raw:t=e[0],text:function(e,t){if(null===(e=e.match(/^(\\s+)(?:\\$\\$)/)))return t;var n=e[1];return t.split("\\n").map(function(e){var t=e.match(/^\\s+/);return null!==t&&t[0].length>=n.length?e.slice(n.length):e}).join("\\n")}(t,e[3]||"")}},t.heading=function(e){var t,n,e=this.rules.block.heading.exec(e);if(e)return t=e[2].trim(),/#$/.test(t)&&(n=d(t,"#"),!this.options.pedantic&&n&&!/ $/.test(n)||(t=n.trim())),{type:"heading",raw:e[0],depth:e[1].length,text:t}},t.nptable=function(e){e=this.rules.block.nptable.exec(e);if(e){var t={type:"table",header:b(e[1].replace(/^ *| *\\| *$/g,"")),align:e[2].replace(/^ *|\\| *$/g,"").split(/ *\\| */),cells:e[3]?e[3].replace(/\\n$/,"").split("\\n"):[],raw:e[0]};if(t.header.length===t.align.length){for(var n=t.align.length,r=0;r<n;r++)/^ *-+: *$/.test(t.align[r])?t.align[r]="right":/^ *:-+: *$/.test(t.align[r])?t.align[r]="center":/^ *:-+ *$/.test(t.align[r])?t.align[r]="left":t.align[r]=null;for(n=t.cells.length,r=0;r<n;r++)t.cells[r]=b(t.cells[r],t.header.length);return t}}},t.hr=function(e){e=this.rules.block.hr.exec(e);if(e)return{type:"hr",raw:e[0]}},t.blockquote=function(e){var t,e=this.rules.block.blockquote.exec(e);if(e)return t=e[0].replace(/^ *> ?/gm,""),{type:"blockquote",raw:e[0],text:t}},t.blockquoteTip=function(e){var t,e=this.rules.block.blockquoteTip.exec(e);if(e)return t=e[0].replace(/^ *\\!> ?/gm,""),{type:"blockquoteTip",raw:e[0],text:t}},t.list=function(e){e=this.rules.block.list.exec(e);if(e){for(var t,n,r,i,s,l=e[0],a=e[2],o=1<a.length,c={type:"list",raw:l,ordered:o,start:o?+a.slice(0,-1):"",loose:!1,items:[]},u=e[0].match(this.rules.block.item),p=!1,h=u.length,g=this.rules.block.listItemStart.exec(u[0]),f=0;f<h;f++){if(l=t=u[f],f!==h-1){if((r=this.rules.block.listItemStart.exec(u[f+1]))[1].length>g[0].length||3<r[1].length){u.splice(f,2,u[f]+"\\n"+u[f+1]),f--,h--;continue}(!this.options.pedantic||this.options.smartLists?r[2][r[2].length-1]!==a[a.length-1]:o==(1===r[2].length))&&(n=u.slice(f+1).join("\\n"),c.raw=c.raw.substring(0,c.raw.length-n.length),f=h-1),g=r}n=t.length,~(t=t.replace(/^ *([*+-]|\\d+[.)]) ?/,"")).indexOf("\\n ")&&(n-=t.length,t=this.options.pedantic?t.replace(/^ {1,4}/gm,""):t.replace(new RegExp("^ {1,"+n+"}","gm"),"")),r=p||/\\n\\n(?!\\s*$)/.test(t),f!==h-1&&(p="\\n"===t.charAt(t.length-1),r=r||p),r&&(c.loose=!0),this.options.gfm&&(s=void 0,(i=/^\\[[ xX]\\] /.test(t))&&(s=" "!==t[1],t=t.replace(/^\\[[ xX]\\] +/,""))),c.items.push({type:"list_item",raw:l,task:i,checked:s,loose:r,text:t})}return c}},t.html=function(e){e=this.rules.block.html.exec(e);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]}},t.def=function(e){e=this.rules.block.def.exec(e);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\\s+/g," "),raw:e[0],href:e[2],title:e[3]}},t.table=function(e){e=this.rules.block.table.exec(e);if(e){var t={type:"table",header:b(e[1].replace(/^ *| *\\| *$/g,"")),align:e[2].replace(/^ *|\\| *$/g,"").split(/ *\\| */),cells:e[3]?e[3].replace(/\\n$/,"").split("\\n"):[]};if(t.header.length===t.align.length){t.raw=e[0];for(var n=t.align.length,r=0;r<n;r++)/^ *-+: *$/.test(t.align[r])?t.align[r]="right":/^ *:-+: *$/.test(t.align[r])?t.align[r]="center":/^ *:-+ *$/.test(t.align[r])?t.align[r]="left":t.align[r]=null;for(n=t.cells.length,r=0;r<n;r++)t.cells[r]=b(t.cells[r].replace(/^ *\\| *| *\\| *$/g,""),t.header.length);return t}}},t.lheading=function(e){e=this.rules.block.lheading.exec(e);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1]}},t.paragraph=function(e){e=this.rules.block.paragraph.exec(e);if(e)return{type:"paragraph",raw:e[0],text:"\\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1]}},t.text=function(e,t){e=this.rules.block.text.exec(e);if(e)return(t=t[t.length-1])&&"text"===t.type?{raw:e[0],text:e[0]}:{type:"text",raw:e[0],text:e[0]}},t.escape=function(e){e=this.rules.inline.escape.exec(e);if(e)return{type:"escape",raw:e[0],text:x(e[1])}},t.tag=function(e,t,n){e=this.rules.inline.tag.exec(e);if(e)return!t&&/^<a /i.test(e[0])?t=!0:t&&/^<\\/a>/i.test(e[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\\s|>)/i.test(e[0])?n=!0:n&&/^<\\/(pre|code|kbd|script)(\\s|>)/i.test(e[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]}},t.link=function(e){e=this.rules.inline.link.exec(e);if(e){var t=e[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;var n=d(t.slice(0,-1),"\\\\");if((t.length-n.length)%2==0)return}else{n=Y(e[2],"()");-1<n&&(i=(0===e[0].indexOf("!")?5:4)+e[1].length+n,e[2]=e[2].substring(0,n),e[0]=e[0].substring(0,i).trim(),e[3]="")}var r,n=e[2],i="";return this.options.pedantic?(r=/^([^\'"]*[^\\s])\\s+([\'"])(.*)\\2/.exec(n))&&(n=r[1],i=r[3]):i=e[3]?e[3].slice(1,-1):"",n=n.trim(),m(e,{href:(n=/^</.test(n)?this.options.pedantic&&!/>$/.test(t)?n.slice(1):n.slice(1,-1):n)&&n.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e)))return(e=t[(e=(n[2]||n[1]).replace(/\\s+/g," ")).toLowerCase()])&&e.href?m(n,e,n[0]):{type:"text",raw:t=n[0].charAt(0),text:t}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)))return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)))return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t,n,r,e=this.rules.inline.code.exec(e);if(e)return t=e[2].replace(/\\n/g," "),n=/[^ ]/.test(t),r=/^ /.test(t)&&/ $/.test(t),n&&r&&(t=t.substring(1,t.length-1)),t=x(t,!0),{type:"codespan",raw:e[0],text:t}},t.br=function(e){e=this.rules.inline.br.exec(e);if(e)return{type:"br",raw:e[0]}},t.del=function(e){e=this.rules.inline.del.exec(e);if(e)return{type:"del",raw:e[0],text:e[2]}},t.autolink=function(e,t){var n,e=this.rules.inline.autolink.exec(e);if(e)return t="@"===e[2]?"mailto:"+(n=x(this.options.mangle?t(e[1]):e[1])):n=x(e[1]),{type:"link",raw:e[0],text:n,href:t,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n,r,i,s;if(n=this.rules.inline.url.exec(e)){if("@"===n[2])i="mailto:"+(r=x(this.options.mangle?t(n[0]):n[0]));else{for(;s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0],s!==n[0];);r=x(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){e=this.rules.inline.text.exec(e);if(e)return t=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]:x(this.options.smartypants?n(e[0]):e[0]),{type:"text",raw:e[0],text:t}},t.textEmoji=function(e){e=this.rules.inline.textEmoji.exec(e);if(e&&1<e[0].length)return{type:"textEmoji",raw:e[0],text:e[1]}},t.codeEmoji=function(e){e=this.rules.inline.codeEmoji.exec(e);if(e&&1<e[0].length)return{type:"codeEmoji",raw:e[0],text:e[1]}},t.mark=function(e){e=this.rules.inline.mark.exec(e);if(e&&1<e[0].length)return{type:"mark",raw:e[0],text:e[1]}},t.sup=function(e){e=this.rules.inline.sup.exec(e);if(e&&1<e[0].length)return{type:"sup",raw:e[0],text:e[1]}},t.sub=function(e){e=this.rules.inline.sub.exec(e);if(e&&1<e[0].length)return{type:"sub",raw:e[0],text:e[1]}},t.s=function(e){e=this.rules.inline.s.exec(e);if(e&&1<e[0].length)return{type:"s",raw:e[0],text:e[1]}},t.ins=function(e){e=this.rules.inline.ins.exec(e);if(e&&1<e[0].length)return{type:"ins",raw:e[0],text:e[1]}},t.katexInline=function(e){e=this.rules.inline.katex.exec(e);if(e&&1<e[0].length)return{type:"katexInline",raw:e[0],text:e[1]}},t.colorFont=function(e){e=this.rules.inline.colorFont.exec(e);if(e&&1<e[0].length)return{type:"colorFont",raw:e[0],color:e[1],size:e[2],face:e[3],opacity:e[4],text:e[5]}},t.toc=function(e){e=this.rules.block.toc.exec(e);if(e)return{type:"toc",raw:e[0],text:e[1]}},e}(),f=u,g=c,k=h,u={newline:/^\\n+/,code:/^( {4}[^\\n]+\\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\\n]*\\n)|~{3,})([^\\n]*)\\n(?:|([\\s\\S]*?)\\n)(?: {0,3}\\1[~`]* *(?:\\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,blockquoteTip:/^( {0,3}\\!> ?(paragraph|[^\\n]*)(?:\\n|$))+/,list:/^( {0,3})(bull) [\\s\\S]+?(?:hr|def|\\n{2,}(?! )(?! {0,3}bull )\\n*|\\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\\\s>][\\\\s\\\\S]*?(?:</\\\\1>[^\\\\n]*\\\\n+|$)|comment[^\\\\n]*(\\\\n+|$)|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)|<![A-Z][\\\\s\\\\S]*?(?:>\\\\n*|$)|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?(?:\\\\]\\\\]>\\\\n*|$)|</?(tag)(?: +|\\\\n|/?>)[\\\\s\\\\S]*?(?:\\\\n{2,}|$)|<(?!script|pre|style)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:\\\\n{2,}|$)|</(?!script|pre|style)[a-z][\\\\w-]*\\\\s*>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:\\\\n{2,}|$))",def:/^ {0,3}\\[(label)\\]: *\\n? *<?([^\\s>]+)>?(?:(?: +\\n? *| *\\n *)(title))? *(?:\\n+|$)/,nptable:f,table:f,lheading:/^([^\\n]+)\\n {0,3}(=+|-+) *(?:\\n+|$)/,_paragraph:/^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|fencesKatex|list|html|)[^\\n]+)*)/,text:/^<!\\[TOC\\]|[^\\n]+/,toc:/\\s*\\[TOC\\]/,fencesKatex:/^ {0,2}(\\${2,}(?=[^\\$\\n]*\\n)|~{2,})([^\\n]*)\\n(?:|([\\s\\S]*?)\\n)(?: {0,2}\\1[~\\$]* *(?:\\n+|$)|$)/,katex:/^\\$\\$(.+?)\\$\\$/,_label:/(?!\\s*\\])(?:\\\\[\\[\\]]|[^\\[\\]])+/,_title:/(?:"(?:\\\\"?|[^"\\\\])*"|\'[^\'\\n]*(?:\\n[^\'\\n]+)*\\n?\'|\\([^()]*\\))/},c=(u.def=g(u.def).replace("label",u._label).replace("title",u._title).getRegex(),u.bullet=/(?:[*+-]|\\d{1,9}[.)])/,u.item=/^( *)(bull) ?[^\\n]*(?:\\n(?! *bull ?)[^\\n]*)*/,u.item=g(u.item,"gm").replace(/bull/g,u.bullet).getRegex(),u.listItemStart=g(/^( *)(bull)/).replace("bull",u.bullet).getRegex(),u.list=g(u.list).replace(/bull/g,u.bullet).replace("hr","\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))").replace("def","\\\\n+(?="+u.def.source+")").getRegex(),u._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",u._comment=/\x3c!--(?!-?>)[\\s\\S]*?(?:--\x3e|$)/,u.html=g(u.html,"i").replace("comment",u._comment).replace("tag",u._tag).replace("attribute",/ +[a-zA-Z:_][\\w.:-]*(?: *= *"[^"\\n]*"| *= *\'[^\'\\n]*\'| *= *[^\\s"\'=<>`]+)?/).getRegex(),u.paragraph=g(u._paragraph).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.blockquote=g(u.blockquote).replace("paragraph",u.paragraph).getRegex(),u.blockquoteTip=g(u.blockquoteTip).replace("paragraph",u.paragraph).getRegex(),u.normal=k({},u),u.gfm=k({},u.normal,{nptable:"^ *([^|\\\\n ].*\\\\|.*)\\\\n {0,3}([-:]+ *\\\\|[-| :]*)(?:\\\\n((?:(?!\\\\n|hr|heading|blockquote|code|fences|fencesKatex|list|html).*(?:\\\\n|$))*)\\\\n*|$)",table:"^ *\\\\|(.+)\\\\n {0,3}\\\\|?( *[-:]+[-| :]*)(?:\\\\n *((?:(?!\\\\n|hr|heading|blockquote|code|fences|fencesKatex|list|html).*(?:\\\\n|$))*)\\\\n*|$)"}),u.gfm.nptable=g(u.gfm.nptable).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("code"," {4}[^\\\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.gfm.table=g(u.gfm.table).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.pedantic=k({},u.normal,{html:g("^ *(?:comment *(?:\\\\n|\\\\s*$)|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)|<tag(?:\\"[^\\"]*\\"|\'[^\']*\'|\\\\s[^\'\\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))").replace("comment",u._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b").getRegex(),def:/^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +(["(][^\\n]+[")]))? *(?:\\n+|$)/,heading:/^(#{1,6})(.*)(?:\\n+|$)/,fences:f,fencesKatex:f,paragraph:g(u.normal._paragraph).replace("hr",u.hr).replace("heading"," *#{1,6} *[^\\n]").replace("lheading",u.lheading).replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("|fences","").replace("|fencesKatex","").replace("|list","").replace("|html","").getRegex()}),{escape:/^\\\\([!"#$%&\'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,autolink:/^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,url:f,tag:"^comment|^</[a-zA-Z][\\\\w:-]*\\\\s*>|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>|^<\\\\?[\\\\s\\\\S]*?\\\\?>|^<![a-zA-Z]+\\\\s[\\\\s\\\\S]*?>|^<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>",link:/^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,reflink:/^!?\\[(label)\\]\\[(?!\\s*\\])((?:\\\\[\\[\\]]?|[^\\[\\]\\\\])+)\\]/,nolink:/^!?\\[(?!\\s*\\])((?:\\[[^\\[\\]]*\\]|\\\\[\\[\\]]|[^\\[\\]])*)\\](?:\\[\\])?/,reflinkSearch:"reflink|nolink(?!\\\\()",strong:{start:/^(?:(\\*\\*(?=[*punctuation]))|\\*\\*)(?![\\s])|__/,middle:/^\\*\\*(?:(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)|\\*(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)*?\\*)+?\\*\\*$|^__(?![\\s])((?:(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\\s]\\*\\*(?!\\*)|[punctuation]\\*\\*(?!\\*)(?:(?=[punctuation_\\s]|$))/,endUnd:/[^\\s]__(?!_)(?:(?=[punctuation*\\s])|$)/},em:{start:/^(?:(\\*(?=[punctuation]))|\\*)(?![*\\s])|_/,middle:/^\\*(?:(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)|\\*(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)*?\\*)+?\\*$|^_(?![_\\s])(?:(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\\s]\\*(?!\\*)|[punctuation]\\*(?!\\*)(?:(?=[punctuation_\\s]|$))/,endUnd:/[^\\s]_(?!_)(?:(?=[punctuation*\\s])|$)/},code:/^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,br:/^( {2,}|\\\\)\\n(?!\\s*$)/,del:f,text:/^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[\\`\\^\\~\\=\\+\\:\\*\\$]|\\b_|$)|[^ ](?= {2,}\\n)))/,punctuation:/^([\\s*punctuation])/,textEmoji:/^`([^a-zA-Z]+?)`/,codeEmoji:/^:([A-Za-z0-9_\\-\\+]+?):/,mark:/^\\=\\=(.+?)\\=\\=/,sup:/^\\^(.+?)\\^/,sub:/^\\~(.+?)\\~/,ins:/^\\+\\+(.+?)\\+\\+/,s:/^\\~\\~(.+?)\\~\\~/,katex:/^\\$(.+?)\\$/,colorFont:/^\\\\color{([^|}]*)\\|?([^|}]*)\\|?([^|}]*)\\|?([^}]*)}{([^}]*)}/,_punctuation:"!\\"#$%&\'()+\\\\-.,/:;<=>?@\\\\[\\\\]`^{|}~"}),f=(c.punctuation=g(c.punctuation).replace(/punctuation/g,c._punctuation).getRegex(),c._blockSkip="\\\\[[^\\\\]]*?\\\\]\\\\([^\\\\)]*?\\\\)|`[^`]*?`|<[^>]*?>",c._overlapSkip="__[^_]*?__|\\\\*\\\\*\\\\[^\\\\*\\\\]*?\\\\*\\\\*",c._comment=g(u._comment).replace("(?:--\\x3e|$)","--\\x3e").getRegex(),c.em.start=g(c.em.start).replace(/punctuation/g,c._punctuation).getRegex(),c.em.middle=g(c.em.middle).replace(/punctuation/g,c._punctuation).replace(/overlapSkip/g,c._overlapSkip).getRegex(),c.em.endAst=g(c.em.endAst,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.em.endUnd=g(c.em.endUnd,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.strong.start=g(c.strong.start).replace(/punctuation/g,c._punctuation).getRegex(),c.strong.middle=g(c.strong.middle).replace(/punctuation/g,c._punctuation).replace(/overlapSkip/g,c._overlapSkip).getRegex(),c.strong.endAst=g(c.strong.endAst,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.strong.endUnd=g(c.strong.endUnd,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.blockSkip=g(c._blockSkip,"g").getRegex(),c.overlapSkip=g(c._overlapSkip,"g").getRegex(),c._escapes=/\\\\([!"#$%&\'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/g,c._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,c._email=/[a-zA-Z0-9.!#$%&\'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,c.autolink=g(c.autolink).replace("scheme",c._scheme).replace("email",c._email).getRegex(),c._attribute=/\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*"[^"]*"|\\s*=\\s*\'[^\']*\'|\\s*=\\s*[^\\s"\'=<>`]+)?/,c.tag=g(c.tag).replace("comment",c._comment).replace("attribute",c._attribute).getRegex(),c._label=/(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/,c._href=/<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/,c._title=/"(?:\\\\"?|[^"\\\\])*"|\'(?:\\\\\'?|[^\'\\\\])*\'|\\((?:\\\\\\)?|[^)\\\\])*\\)/,c.link=g(c.link).replace("label",c._label).replace("href",c._href).replace("title",c._title).getRegex(),c.reflink=g(c.reflink).replace("label",c._label).getRegex(),c.reflinkSearch=g(c.reflinkSearch,"g").replace("reflink",c.reflink).replace("nolink",c.nolink).getRegex(),c.normal=k({},c),c.pedantic=k({},c.normal,{strong:{start:/^__|\\*\\*/,middle:/^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,endAst:/\\*\\*(?!\\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\\*/,middle:/^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,endAst:/\\*(?!\\*)/g,endUnd:/_(?!_)/g},link:g(/^!?\\[(label)\\]\\((.*?)\\)/).replace("label",c._label).getRegex(),reflink:g(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/).replace("label",c._label).getRegex()}),c.gfm=k({},c.normal,{escape:g(c.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[\\`\\^\\~\\=\\+\\:\\*\\$]|\\b_|https?:\\/\\/|ftp:\\/\\/|www\\.|$)|[^ ](?= {2,}\\n)|[^a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-](?=[a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-]+@))/}),c.gfm.url=g(c.gfm.url,"i").replace("email",c.gfm._extended_email).getRegex(),c.breaks=k({},c.gfm,{br:g(c.br).replace("{2,}","*").getRegex(),text:g(c.gfm.text).replace("\\\\b_","\\\\b_| {2,}\\\\n").replace(/\\{2,\\}/g,"*").getRegex()}),{block:u,inline:c}),ee=e.defaults,v=f.block,y=f.inline,_=Q;function te(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\\u2014/(\\[{"\\s])\'/g,"$1‘").replace(/\'/g,"’").replace(/(^|[-\\u2014/(\\[{\\u2018\\s])"/g,"$1“").replace(/"/g,"”").replace(/\\.{3}/g,"…")}function z(e){for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),n+="&#"+(t=.5<Math.random()?"x"+t.toString(16):t)+";";return n}var $=function(){function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ee,this.options.tokenizer=this.options.tokenizer||new w,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;e={block:v.normal,inline:y.normal};this.options.pedantic?(e.block=v.pedantic,e.inline=y.pedantic):this.options.gfm&&(e.block=v.gfm,this.options.breaks?e.inline=y.breaks:e.inline=y.gfm),this.tokenizer.rules=e}n.lex=function(e,t){return new n(t).lex(e)},n.lexInline=function(e,t){return new n(t).inlineTokens(e)};var e,t,r=n.prototype;return r.lex=function(e){return e=e.replace(/\\r\\n|\\r/g,"\\n").replace(/\\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var r,i,s,l;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.toc(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),r.type?t.push(r):((l=t[t.length-1]).raw+="\\n"+r.raw,l.text+="\\n"+r.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fencesKatex(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.blockquoteTip(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,i=0;i<s;i++)r.items[i].tokens=this.blockTokens(r.items[i].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e,t))e=e.substring(r.raw.length),r.type?t.push(r):((l=t[t.length-1]).raw+="\\n"+r.raw,l.text+="\\n"+r.text);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return t},r.inline=function(e){for(var t,n,r,i,s,l=e.length,a=0;a<l;a++)switch((s=e[a]).type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},r=s.header.length,t=0;t<r;t++)s.tokens.header[t]=[],this.inlineTokens(s.header[t],s.tokens.header[t]);for(r=s.cells.length,t=0;t<r;t++)for(i=s.cells[t],s.tokens.cells[t]=[],n=0;n<i.length;n++)s.tokens.cells[t][n]=[],this.inlineTokens(i[n],s.tokens.cells[t][n]);break;case"blockquote":case"blockquoteTip":this.inline(s.tokens);break;case"list":for(r=s.items.length,t=0;t<r;t++)this.inline(s.items[t].tokens)}return e},r.inlineTokens=function(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1);var i,s,l,a=e;if(this.tokens.links){var o=Object.keys(this.tokens.links);if(0<o.length)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(a));)o.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,i.index)+"["+_("a",i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,i.index)+"["+_("a",i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(s||(l=""),s=!1,c=this.tokenizer.katexBlock(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.katexInline(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.colorFont(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.textEmoji(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.codeEmoji(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.mark(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.sup(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.s(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.sub(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.ins(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.escape(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.tag(e,n,r))e=e.substring(c.raw.length),n=c.inLink,r=c.inRawBlock,t.push(c);else if(c=this.tokenizer.link(e))e=e.substring(c.raw.length),"link"===c.type&&(c.tokens=this.inlineTokens(c.text,[],!0,r)),t.push(c);else if(c=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(c.raw.length),"link"===c.type&&(c.tokens=this.inlineTokens(c.text,[],!0,r)),t.push(c);else if(c=this.tokenizer.strong(e,a,l))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.em(e,a,l))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.codespan(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.br(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.del(e))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.autolink(e,z))e=e.substring(c.raw.length),t.push(c);else if(!n&&(c=this.tokenizer.url(e,z)))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.inlineText(e,r,te))e=e.substring(c.raw.length),l=c.raw.slice(-1),s=!0,t.push(c);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}return t},r=n,t=[{key:"rules",get:function(){return{block:v,inline:y}}}],(e=null)&&i(r.prototype,e),t&&i(r,t),Object.defineProperty(r,"prototype",{writable:!1}),n}(),ne=e.defaults,S=V,T=t,A=function(){function e(e){this.options=e||ne,this.itoc=[],this.itocIndex=0}var t=e.prototype;return t.code=function(e,t,n){var r=(t=t||"").match(/\\S*/)[0],i="";if(this.options.langToolbar){for(var i=\'<div class="toolbar" data-lang="\'+r+\'">\',s=0,l=this.options.langToolbar.length;s<l;s++)i+=\'<button class="toolbar-\'+this.options.langToolbar[s]+\'"></button>\';i+="</div>"}this.options.highlight&&null!=(a=this.options.highlight(e,r))&&a!==e&&(n=!0,e=a);var a=this.options.langLineNumber?\' class="line-numbers"\':"";if(!r)return"<pre"+a+">"+i+"<code>"+(n?e:T(e,!0))+"</code></pre>";var o=this.options.langPrefix+r+(t.match(/\\s\\S *.+/g)||""),t=null;return\'<pre data-lang="\'+r+\'"\'+a+">"+i+\'<code class="\'+o+\'">\'+(n?e:T(e,!0))+"</code></pre>"},t.katexBlock=function(e,t){return\'<div class="n-katex-block">\'+(t?e:T(e,!0))+"</div>"},t.blockquote=function(e){return"<blockquote>"+e+"</blockquote>"},t.blockquoteTip=function(e){return\'<blockquote class="n-tip">\'+e+"</blockquote>"},t.html=function(e){return e},t.heading=function(e,t,n,r){var i="";return"<h"+t+(i=this.options.headerIds?\' data-prefix="\'+this.options.headerPrefix+\'"\':i)+\' role="heading" aria-level="\'+t+\'" id="\'+n+\'">\'+e+"</h"+t+">"},t.hr=function(){return this.options.xhtml?\'<hr role="separator"/>\':\'<hr role="separator">\'},t.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?\' start="\'+n+\'"\':"")+\' role="listbox">\'+e+"</"+r+">"},t.listitem=function(e){return\'<li role="option">\'+e+"</li>"},t.checkbox=function(e){return"<input "+(e?\'checked="" \':"")+\'disabled="" type="checkbox" role="checkbox"\'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>"},t.table=function(e,t){return\'<table role="grid"><thead>\'+e+"</thead>"+(t=t&&"<tbody>"+t+"</tbody>")+"</table>"},t.tablerow=function(e){return\'<tr role="row">\'+e+"</tr>"},t.tablecell=function(e,t){var n=t.header?\'th role="gridcell"\':\'td role="gridcell"\';return(t.align?"<"+n+\' align="\'+t.align+\'">\':"<"+n+">")+e+"</"+n+">"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=S(this.options.sanitize,this.options.baseUrl,e)))return n;e=\'<a href="\'+T(e)+\'"\';return t&&(e+=\' title="\'+t+\'"\'),e+=\' target="__blank">\'+n+"</a>"},t.image=function(e,t,n){if(null===(e=S(this.options.sanitize,this.options.baseUrl,e)))return n;e=\'<img role="dialog" src="\'+e+\'" alt="\'+n+\'"\';return t&&(e+=\' title="\'+t+\'"\'),e+=this.options.xhtml?"/>":">"},t.text=function(e){return e},t.textEmoji=function(e){return e},t.codeEmoji=function(e){return this.options.emojiSource?\'<img class="n-emoji" style="width: 20px;height: 20px;" src="\'+this.options.emojiSource+e+\'.png" alt="\'+e+\'"/>\':this.options.emoji[e]||" :"+e+": "},t.mark=function(e){return"<mark>"+e+"</mark>"},t.sup=function(e){return"<sup>"+e+"</sup>"},t.sub=function(e){return"<sub>"+e+"</sub>"},t.s=function(e){return"<s>"+e+"</s>"},t.ins=function(e){return"<ins>"+e+"</ins>"},t.katexInline=function(e){return\'<span class="n-katex-inline">\'+e+"</span>"},t.colorFont=function(e,t,n,r,i){return"<font"+(t?\' color="\'+t+\'"\':"")+(n?\' size="\'+n+\'"\':"")+(r?\' face="\'+r+\'"\':"")+(i&&i.trim().length?\' style="opacity:\'+Number(i)+\';"\':"")+">"+e+"</font>"},t.addToc=function(e,t,n){return this.itoc.push({anchor:e,level:n,text:t}),e},t.toTocHTML=function(){function n(){s+="</ol>"}function r(e,t){s+=\'<li role="menuitemradio"><a href="#\'+e+\'">\'+t+"</a></li>"}var i=[],s="";for(this.itoc.forEach(function(e){var t=i.indexOf(e.level);if(-1===t)i.unshift(e.level),s.trim().length?s+="<ol>":s+=\'<ol class="n-md-toc" role="menubar" part="toc">\',r(e.anchor,e.text);else if(0===t)r(e.anchor,e.text);else{for(;t--;)i.shift(),n();r(e.anchor,e.text)}});i.length;)i.shift(),n();return this.itoc=[],this.itocIndex=0,s},e}(),I=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},t.mark=function(e){return e},t.sup=function(e){return e},t.sub=function(e){return e},t.ins=function(e){return e},t.s=function(e){return e},t.textEmoji=function(e){return e},t.codeEmoji=function(e){return e},t.katexInline=function(e){return e},t.colorFont=function(e,t,n,r,i){return e},e}(),R=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\\/a-z].*?>/gi,"").replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g,"").replace(/\\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n))for(r=this.seen[e];n=e+"-"+ ++r,this.seen.hasOwnProperty(n););return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});e=this.serialize(e);return this.getNextSafeSlug(e,t.dryrun)},e}(),re=e.defaults,ie=G,j=function(){function n(e){this.options=e||re,this.options.renderer=this.options.renderer||new A,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new I,this.slugger=new R}n.parse=function(e,t){return new n(t).parse(e)},n.parseInline=function(e,t){return new n(t).parseInline(e)};var e=n.prototype;return e.parse=function(e,t){void 0===t&&(t=!0);for(var n,r,i,s,l,a,o,c,u,p,h,g,f,k,d,b,x,m="",w=e.length,v=0;v<w;v++)switch((c=e[v]).type){case"space":continue;case"hr":m+=this.renderer.hr();continue;case"heading":d=this.parseInline(c.tokens),b=ie(this.parseInline(c.tokens,this.textRenderer)),b=this.slugger.slug(b)+(""+ ++this.renderer.itocIndex),x&&this.renderer.addToc(b,d,c.depth),m+=this.renderer.heading(d,c.depth,b,this.slugger);continue;case"code":m+=this.renderer.code(c.text,c.lang,c.escaped);continue;case"katexBlock":m+=this.renderer.katexBlock(c.text,c.escaped);continue;case"table":for(a=d="",i=c.header.length,n=0;n<i;n++)a+=this.renderer.tablecell(this.parseInline(c.tokens.header[n]),{header:!0,align:c.align[n]});for(d+=this.renderer.tablerow(a),o="",i=c.cells.length,n=0;n<i;n++){for(a="",s=(l=c.tokens.cells[n]).length,r=0;r<s;r++)a+=this.renderer.tablecell(this.parseInline(l[r]),{header:!1,align:c.align[r]});o+=this.renderer.tablerow(a)}m+=this.renderer.table(d,o);continue;case"blockquote":o=this.parse(c.tokens),m+=this.renderer.blockquote(o);continue;case"blockquoteTip":o=this.parse(c.tokens),m+=this.renderer.blockquoteTip(o);continue;case"list":for(b=c.ordered,y=c.start,u=c.loose,i=c.items.length,o="",n=0;n<i;n++)g=(h=c.items[n]).checked,f=h.task,p="",h.task&&(k=this.renderer.checkbox(g),u?0<h.tokens.length&&"text"===h.tokens[0].type?(h.tokens[0].text=k+" "+h.tokens[0].text,h.tokens[0].tokens&&0<h.tokens[0].tokens.length&&"text"===h.tokens[0].tokens[0].type&&(h.tokens[0].tokens[0].text=k+" "+h.tokens[0].tokens[0].text)):h.tokens.unshift({type:"text",text:k}):p+=k),p+=this.parse(h.tokens,u),o+=this.renderer.listitem(p,f,g);m+=this.renderer.list(o,b,y);continue;case"html":m+=this.renderer.html(c.text);continue;case"paragraph":m+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(o=c.tokens?this.parseInline(c.tokens):c.text;v+1<w&&"text"===e[v+1].type;)o+="\\n"+((c=e[++v]).tokens?this.parseInline(c.tokens):c.text);m+=t?this.renderer.paragraph(o):o;continue;case"toc":x=!0;continue;default:var y=\'Token with "\'+c.type+\'" type was not found.\';if(this.options.silent)return void console.error(y);throw new Error(y)}return m=\'<div class="n-md-body" part="body">\'+m+"</div>",m=x?this.renderer.toTocHTML()+m:m},e.parseInline=function(e,t){t=t||this.renderer;for(var n,r="",i=e.length,s=0;s<i;s++)switch((n=e[s]).type){case"katexInline":r+=t.katexInline(n.text);break;case"colorFont":r+=t.colorFont(n.text,n.color,n.size,n.face,n.opacity);break;case"escape":r+=t.text(n.text);break;case"html":r+=t.html(n.text);break;case"link":r+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":r+=t.image(n.href,n.title,n.text);break;case"strong":r+=t.strong(this.parseInline(n.tokens,t));break;case"em":r+=t.em(this.parseInline(n.tokens,t));break;case"codespan":r+=t.codespan(n.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(n.tokens,t));break;case"text":r+=t.text(n.text);break;case"textEmoji":r+=t.textEmoji(n.text);break;case"codeEmoji":r+=t.codeEmoji(n.text);break;case"mark":r+=t.mark(n.text);break;case"sup":r+=t.sup(n.text);break;case"sub":r+=t.sub(n.text);break;case"s":r+=t.s(n.text);break;case"ins":r+=t.ins(n.text);break;default:var l=\'Token with "\'+n.type+\'" type was not found.\';if(this.options.silent)return void console.error(l);throw new Error(l)}return r},n}(),q=h,E=J,Z=t,k=e.getDefaults,se=e.changeDefaults,g=e.defaults;function O(e,n,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof n&&(r=n,n=null),n=q({},O.defaults,n||{}),E(n),r){var i,s=n.highlight;try{i=$.lex(e,n)}catch(e){return r(e)}var l=function(t){var e;if(!t)try{e=j.parse(i,n)}catch(e){t=e}return n.highlight=s,t?r(t):r(null,e)};if(!s||s.length<3)return l();if(delete n.highlight,!i.length)return l();var a=0;return O.walkTokens(i,function(n){"code"===n.type&&(a++,setTimeout(function(){s(n.text,n.lang,function(e,t){if(e)return l(e);null!=t&&t!==n.text&&(n.text=t,n.escaped=!0),0===--a&&l()})},0))}),void(0===a&&l())}try{var t=$.lex(e,n);return n.walkTokens&&O.walkTokens(t,n.walkTokens),j.parse(t,n)}catch(e){if(e.message+="\\nPlease report this to https://github.com/markedjs/marked.",n.silent)return"<p>An error occurred:</p><pre>"+Z(e.message+"",!0)+"</pre>";throw e}}return O.options=O.setOptions=function(e){return q(O.defaults,e),se(O.defaults),O},O.getDefaults=k,O.defaults=g,O.use=function(l){var t,e=q({},l);if(l.renderer){var n,a=O.defaults.renderer||new A;for(n in l.renderer)!function(i){var s=a[i];a[i]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=l.renderer[i].apply(a,t);return r=!1===r?s.apply(a,t):r}}(n);e.renderer=a}if(l.tokenizer){var r,o=O.defaults.tokenizer||new w;for(r in l.tokenizer)!function(i){var s=o[i];o[i]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=l.tokenizer[i].apply(o,t);return r=!1===r?s.apply(o,t):r}}(r);e.tokenizer=o}l.walkTokens&&(t=O.defaults.walkTokens,e.walkTokens=function(e){l.walkTokens(e),t&&t(e)}),O.setOptions(e)},O.walkTokens=function(e,t){for(var n,r=p(e);!(n=r()).done;){var i=n.value;switch(t(i),i.type){case"table":for(var s=p(i.tokens.header);!(l=s()).done;){var l=l.value;O.walkTokens(l,t)}for(var a,o=p(i.tokens.cells);!(a=o()).done;)for(var c=p(a.value);!(u=c()).done;){var u=u.value;O.walkTokens(u,t)}break;case"list":O.walkTokens(i.items,t);break;default:i.tokens&&O.walkTokens(i.tokens,t)}}},O.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=q({},O.defaults,t||{}),E(t);try{var n=$.lexInline(e,t);return t.walkTokens&&O.walkTokens(n,t.walkTokens),j.parseInline(n,t)}catch(e){if(e.message+="\\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Z(e.message+"",!0)+"</pre>";throw e}},O.Parser=j,O.parser=j.parse,O.Renderer=A,O.TextRenderer=I,O.Lexer=$,O.lexer=$.lex,O.Tokenizer=w,O.Slugger=R,O.parse=O});'],{type:"application/javascript"}))),!tt&&(tt=URL.createObjectURL(new Blob(["(".concat((function(){var e;self.importScripts("MARKED_URL"),self.addEventListener("message",function(t){var r;try{e||((e=new self.marked.Renderer).katexBlock=function(e){return'<n-katex display-mode="true" part="katex-block">'.concat(e,"</n-katex>")},e.katexInline=function(e){return'<n-katex part="katex-inline">'.concat(e,"</n-katex>")}),e.image=function(e,r,n){return'<n-img lazy="'.concat(t.data.lazyPicture,'" disabled="').concat(!t.data.pictureViewer,'" role="img" src="').concat(e,'" alt="').concat(n,'" ').concat(r?'title="'.concat(r,'"'):"","></n-img>")},e.code=function(e,r){if("treeview"===r)return'<n-tree data="'.concat(e,'" />');var n="";return t.data.codeTheme&&(n+=' theme="'.concat(t.data.codeTheme,'"')),void 0!==t.data.codeClassic&&(n+=' classic="'.concat(t.data.codeClassic,'"')),'<n-code class="n-code" toolbar="'.concat(t.data.langToolbar&&!!t.data.langToolbar.length,'" language="').concat(r,'" ').concat(n,">").concat(/<[^>]+>/.test(e)?encodeURIComponent(e):e,"</n-code>")},r=self.marked(t.data.text,Object.assign({renderer:e,headerPrefix:"# ",breaks:!0,pedantic:!1,smartLists:!0,smartypants:!0,xhtml:!0},t.data))}catch(e){r=e.message}self.postMessage(r)},!1)}).toString().replace("MARKED_URL",te),")(self)")],{type:"application/javascript"}))),tt));function s(e){o&&(o.innerHTML=e.data)}l.addEventListener("message",s),ty(function(){l.postMessage({text:a.text,langToolbar:a.tools,pictureViewer:a.pictureViewer,lazyPicture:a.lazyPicture,codeTheme:a.codeTheme,codeClassic:a.codeClassic})}),tA(function(){l.removeEventListener("message",s),l.terminate(),--u6<=0&&(URL.revokeObjectURL(te),te=null,URL.revokeObjectURL(tt),tt=null)});var c=[],u=[],d=[];function f(e){e.preventDefault(),e.stopPropagation();var t,r=e.target;r.hash?(null==o||null==(t=o.querySelector(decodeURIComponent(r.hash)))||t.scrollIntoView({behavior:"smooth",block:"nearest"}),c.forEach(function(e){e.classList.remove("active")}),r.classList.add("active")):window.open(r.href)}function p(e){e.forEach(function(e){var t=e.target.getAttribute("id"),r=e.target.querySelectorAll("a");if(c.forEach(function(e){e.hash==="#".concat(t)?n=e:e.hash||r.forEach(function(t){t.href===e.href&&(n=e)})}),n){var n,o,i=d.indexOf(n);d.forEach(function(e){e.classList.remove("active")}),e.isIntersecting?d.push(n):-1!==i&&d.splice(i,1),d[0]&&(d[0].classList.add("active"),null==(o=d[0].offsetParent)||o.scrollTo({top:d[0].offsetTop}))}})}return ty(function(){var e;o&&a.text.startsWith("[TOC]")&&(c=dt(o.querySelectorAll(".n-md-toc a[href]")),u=dt(o.querySelectorAll("h1, h2, h3, h4, h5, h6")),e=new IntersectionObserver(p,{rootMargin:"-50px 0px",threshold:.5}),u.forEach(function(t){e.observe(t)}),c.forEach(function(e){e.addEventListener("click",f)})),tA(function(){e&&(u.forEach(function(t){e.unobserve(t)}),e.disconnect()),c.forEach(function(e){e.removeEventListener("click",f)})})}),[(r=(t=u8()).firstChild,tm(function(){return r.data=i()}),t),((n=u9()).textContent=u5,n),tV(t2,{get when(){return a.css},get children(){var b=u8(),g=b.firstChild;return tm(function(){return g.data=nu(a.css)}),b}}),tV(t3,{get children(){return[tV(t4,{get when(){return(a.children||[]).length>0},get children(){var h=u7();return rg(h.firstChild,tV(t0,{get each(){return a.children},children:function(e){return e}})),h}}),tV(t4,{get when(){return a.text},get children(){var v=de(),m=o;return"function"==typeof m?rb(m,v):o=v,tm(function(){return rs(v,nf("n-md-box",a.class))}),v}})]}})]}dn.registry=function(){a0.registry(),og.registry(),nx("n-md",{class:void 0,pictureViewer:void 0,lazyPicture:void 0,text:void 0,tools:void 0,getAnchorContainer:void 0,css:void 0,children:void 0,notRender:void 0,codeTheme:void 0,codeClassic:void 0},function(e,t){var r,n=t.element,o=tX({text:!e.notRender&&n.textContent||n.text,css:n.css,tools:n.tools,getAnchorContainer:n.getAnchorContainer},e);return ty(function(){nA(n,["css","text"]),n.replaceChildren()}),[((r=u9()).textContent=nJ,r),tV(dn,o)]})};let di=dn;var da=document.documentElement,dl={x:0,y:0,width:0,height:0};da.addEventListener("click",function(e){Object.assign(dl,{x:da.clientWidth/2-e.clientX,y:da.clientHeight/2-e.clientY})},!0);var ds={};function dc(e){return"selectorText"in e&&"style"in e}function du(e){try{var t,r;return null!=(t=null==(r=document)||null==(r=r.styleSheets)?void 0:r.item(e))?t:null}catch(e){return null}}function dd(e,t){if("styleSheets"in document){var r=function(){try{var e,t;return null!=(e=null==(t=document)||null==(t=t.styleSheets)?void 0:t.length)?e:0}catch(e){return 0}}();0===r&&(!function(e){if(null!=(e=document)&&e.head){var t=document.createElement("style");t.setAttribute("crossorigin","anonymous"),document.head.appendChild(t)}}(),r=1);var n=du(0);if(n){var o=n,i=ds[t];if(!i)for(var a=1;a<r;a++){var l=du(a);if(l){o=l;var s=function(e,t){try{for(var r=e.cssRules,n=r.length,o=0;o<n;o++){var i=r[o];if(dc(i)&&i.selectorText===t)return i}return}catch(e){return}}(l,t);if(s){i=s;break}}}if(i||(i=function(e,t){try{var r=e.cssRules;e.insertRule("".concat(t," {}"),r.length);var n=r[r.length-1];return dc(n)?n:void 0}catch(e){return}}(o,t))){ds[t]=i;for(var c=i,u=0,d=Object.keys(e);u<d.length;u++){var f=d[u],p=e[f];if(null!==p){var b="number"==typeof p?String(p):p;c.style.setProperty(f,b)}else c.style.getPropertyValue(f)&&c.style.removeProperty(f)}}}}}function df(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let dp=th(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=tv(0))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return df(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?df(e,2):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4104
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1];return ty(function(){var e=r();0===e?dd({"overflow-y":""},"body"):1===e&&dd({"overflow-y":"hidden"},"body")}),{num:r,setNum:n}},tu);var
|
|
4103
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function dn(e){var t,r,n,o,i=nQ.baseStyle,a=tX({pictureViewer:!0,lazyPicture:!0,codeTheme:void 0,codeClassic:void 0,text:"",tools:["copy"],getAnchorContainer:function(){return window}},e),l=new Worker((u6++,!te&&(te=URL.createObjectURL(new Blob(['/**\n * marked - a markdown parser\n * Copyright (c) 2011-2025, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/markedjs/marked\n */\n!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).marked=t()}(this,function(){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n,r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length)return r&&(e=r),n=0,function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e){return F[e]}(function(t){function e(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",langLineNumber:null,langToolbar:null,mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1,emojiSource:null,emoji:{}}}t.exports={defaults:e(),getDefaults:e,changeDefaults:function(e){t.exports.defaults=e}}})(e={exports:{}});var e=e.exports,r=(e.defaults,e.getDefaults,e.changeDefaults,/[&<>"\']/),C=/[&<>"\']/g,U=/[<>"\']|&(?!#?\\w+;)/,L=/[<>"\']|&(?!#?\\w+;)/g,F={"&":"&","<":"<",">":">",\'"\':""","\'":"'"};var K=/&(#(?:\\d+)|(?:#x[0-9A-Fa-f]+)|(?:\\w+));?/gi;function l(e){return e.replace(K,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}var P=/(^|[^\\[])\\^/g;var B=/[^\\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var a={},N=/^[^:]+:\\/*[^/]*$/,M=/^([^:]+:)[\\s\\S]*$/,H=/^([^:]+:\\/*[^/]*)[\\s\\S]*$/;function X(e,t){a[" "+e]||(N.test(e)?a[" "+e]=e+"/":a[" "+e]=o(e,"/",!0));var n=-1===(e=a[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(M,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(H,"$1")+t:e+t}function o(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var s=e.charAt(r-i-1);if(s!==t||n){if(s===t||!n)break;i++}else i++}return e.substr(0,r-i)}var t=function(e,t){if(t){if(r.test(e))return e.replace(C,n)}else if(U.test(e))return e.replace(L,n);return e},G=l,c=function(n,e){n=n.source||n,e=e||"";var r={replace:function(e,t){return t=(t=t.source||t).replace(P,"$1"),n=n.replace(e,t),r},getRegex:function(){return new RegExp(n,e)}};return r},V=function(e,t,n){if(e){var r;try{r=decodeURIComponent(l(n)).replace(B,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!D.test(n)&&(n=X(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},u={exec:function(){}},h=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},g=function(e,t){var n=e.replace(/\\|/g,function(e,t,n){for(var r=!1,i=t;0<=--i&&"\\\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \\|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\\\\|/g,"|");return n},f=o,k=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1},J=function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")},Q=function(e,t){if(t<1)return"";for(var n="";1<t;)1&t&&(n+=e),t>>=1,e+=e;return n+e},W=e.defaults,d=f,b=g,x=t,Y=k;function m(e,t,n){var r=t.href,t=t.title?x(t.title):null,i=e[1].replace(/\\\\([\\[\\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:t,text:i}:{type:"image",raw:n,href:r,title:t,text:x(i)}}var w=function(){function e(e){this.options=e||W}var t=e.prototype;return t.space=function(e){e=this.rules.block.newline.exec(e);if(e)return 1<e[0].length?{type:"space",raw:e[0]}:{raw:"\\n"}},t.katexBlock=function(e,t){e=this.rules.block.katex.exec(e);if(e){t=t[t.length-1];if(t&&"paragraph"===t.type)return{raw:e[0],text:e[0].trimRight()};t=e[0].replace(/^ {4}/gm,"");return{type:"katexBlock",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:d(t,"\\n")}}},t.code=function(e,t){e=this.rules.block.code.exec(e);if(e){t=t[t.length-1];if(t&&"paragraph"===t.type)return{raw:e[0],text:e[0].trimRight()};t=e[0].replace(/^ {4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:d(t,"\\n")}}},t.fences=function(e){var t,n,e=this.rules.block.fences.exec(e);if(e)return n=function(e,t){if(null===(e=e.match(/^(\\s+)(?:```)/)))return t;var n=e[1];return t.split("\\n").map(function(e){var t=e.match(/^\\s+/);return null!==t&&t[0].length>=n.length?e.slice(n.length):e}).join("\\n")}(t=e[0],e[3]||""),{type:"code",raw:t,lang:e[2]&&e[2].trim(),text:n}},t.fencesKatex=function(e){var t,e=this.rules.block.fencesKatex.exec(e);if(e)return{type:"katexBlock",raw:t=e[0],text:function(e,t){if(null===(e=e.match(/^(\\s+)(?:\\$\\$)/)))return t;var n=e[1];return t.split("\\n").map(function(e){var t=e.match(/^\\s+/);return null!==t&&t[0].length>=n.length?e.slice(n.length):e}).join("\\n")}(t,e[3]||"")}},t.heading=function(e){var t,n,e=this.rules.block.heading.exec(e);if(e)return t=e[2].trim(),/#$/.test(t)&&(n=d(t,"#"),!this.options.pedantic&&n&&!/ $/.test(n)||(t=n.trim())),{type:"heading",raw:e[0],depth:e[1].length,text:t}},t.nptable=function(e){e=this.rules.block.nptable.exec(e);if(e){var t={type:"table",header:b(e[1].replace(/^ *| *\\| *$/g,"")),align:e[2].replace(/^ *|\\| *$/g,"").split(/ *\\| */),cells:e[3]?e[3].replace(/\\n$/,"").split("\\n"):[],raw:e[0]};if(t.header.length===t.align.length){for(var n=t.align.length,r=0;r<n;r++)/^ *-+: *$/.test(t.align[r])?t.align[r]="right":/^ *:-+: *$/.test(t.align[r])?t.align[r]="center":/^ *:-+ *$/.test(t.align[r])?t.align[r]="left":t.align[r]=null;for(n=t.cells.length,r=0;r<n;r++)t.cells[r]=b(t.cells[r],t.header.length);return t}}},t.hr=function(e){e=this.rules.block.hr.exec(e);if(e)return{type:"hr",raw:e[0]}},t.blockquote=function(e){var t,e=this.rules.block.blockquote.exec(e);if(e)return t=e[0].replace(/^ *> ?/gm,""),{type:"blockquote",raw:e[0],text:t}},t.blockquoteTip=function(e){var t,e=this.rules.block.blockquoteTip.exec(e);if(e)return t=e[0].replace(/^ *\\!> ?/gm,""),{type:"blockquoteTip",raw:e[0],text:t}},t.list=function(e){e=this.rules.block.list.exec(e);if(e){for(var t,n,r,i,s,l=e[0],a=e[2],o=1<a.length,c={type:"list",raw:l,ordered:o,start:o?+a.slice(0,-1):"",loose:!1,items:[]},u=e[0].match(this.rules.block.item),p=!1,h=u.length,g=this.rules.block.listItemStart.exec(u[0]),f=0;f<h;f++){if(l=t=u[f],f!==h-1){if((r=this.rules.block.listItemStart.exec(u[f+1]))[1].length>g[0].length||3<r[1].length){u.splice(f,2,u[f]+"\\n"+u[f+1]),f--,h--;continue}(!this.options.pedantic||this.options.smartLists?r[2][r[2].length-1]!==a[a.length-1]:o==(1===r[2].length))&&(n=u.slice(f+1).join("\\n"),c.raw=c.raw.substring(0,c.raw.length-n.length),f=h-1),g=r}n=t.length,~(t=t.replace(/^ *([*+-]|\\d+[.)]) ?/,"")).indexOf("\\n ")&&(n-=t.length,t=this.options.pedantic?t.replace(/^ {1,4}/gm,""):t.replace(new RegExp("^ {1,"+n+"}","gm"),"")),r=p||/\\n\\n(?!\\s*$)/.test(t),f!==h-1&&(p="\\n"===t.charAt(t.length-1),r=r||p),r&&(c.loose=!0),this.options.gfm&&(s=void 0,(i=/^\\[[ xX]\\] /.test(t))&&(s=" "!==t[1],t=t.replace(/^\\[[ xX]\\] +/,""))),c.items.push({type:"list_item",raw:l,task:i,checked:s,loose:r,text:t})}return c}},t.html=function(e){e=this.rules.block.html.exec(e);if(e)return{type:this.options.sanitize?"paragraph":"html",raw:e[0],pre:!this.options.sanitizer&&("pre"===e[1]||"script"===e[1]||"style"===e[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]}},t.def=function(e){e=this.rules.block.def.exec(e);if(e)return e[3]&&(e[3]=e[3].substring(1,e[3].length-1)),{tag:e[1].toLowerCase().replace(/\\s+/g," "),raw:e[0],href:e[2],title:e[3]}},t.table=function(e){e=this.rules.block.table.exec(e);if(e){var t={type:"table",header:b(e[1].replace(/^ *| *\\| *$/g,"")),align:e[2].replace(/^ *|\\| *$/g,"").split(/ *\\| */),cells:e[3]?e[3].replace(/\\n$/,"").split("\\n"):[]};if(t.header.length===t.align.length){t.raw=e[0];for(var n=t.align.length,r=0;r<n;r++)/^ *-+: *$/.test(t.align[r])?t.align[r]="right":/^ *:-+: *$/.test(t.align[r])?t.align[r]="center":/^ *:-+ *$/.test(t.align[r])?t.align[r]="left":t.align[r]=null;for(n=t.cells.length,r=0;r<n;r++)t.cells[r]=b(t.cells[r].replace(/^ *\\| *| *\\| *$/g,""),t.header.length);return t}}},t.lheading=function(e){e=this.rules.block.lheading.exec(e);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1]}},t.paragraph=function(e){e=this.rules.block.paragraph.exec(e);if(e)return{type:"paragraph",raw:e[0],text:"\\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1]}},t.text=function(e,t){e=this.rules.block.text.exec(e);if(e)return(t=t[t.length-1])&&"text"===t.type?{raw:e[0],text:e[0]}:{type:"text",raw:e[0],text:e[0]}},t.escape=function(e){e=this.rules.inline.escape.exec(e);if(e)return{type:"escape",raw:e[0],text:x(e[1])}},t.tag=function(e,t,n){e=this.rules.inline.tag.exec(e);if(e)return!t&&/^<a /i.test(e[0])?t=!0:t&&/^<\\/a>/i.test(e[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\\s|>)/i.test(e[0])?n=!0:n&&/^<\\/(pre|code|kbd|script)(\\s|>)/i.test(e[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:e[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]}},t.link=function(e){e=this.rules.inline.link.exec(e);if(e){var t=e[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;var n=d(t.slice(0,-1),"\\\\");if((t.length-n.length)%2==0)return}else{n=Y(e[2],"()");-1<n&&(i=(0===e[0].indexOf("!")?5:4)+e[1].length+n,e[2]=e[2].substring(0,n),e[0]=e[0].substring(0,i).trim(),e[3]="")}var r,n=e[2],i="";return this.options.pedantic?(r=/^([^\'"]*[^\\s])\\s+([\'"])(.*)\\2/.exec(n))&&(n=r[1],i=r[3]):i=e[3]?e[3].slice(1,-1):"",n=n.trim(),m(e,{href:(n=/^</.test(n)?this.options.pedantic&&!/>$/.test(t)?n.slice(1):n.slice(1,-1):n)&&n.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},e[0])}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e)))return(e=t[(e=(n[2]||n[1]).replace(/\\s+/g," ")).toLowerCase()])&&e.href?m(n,e,n[0]):{type:"text",raw:t=n[0].charAt(0),text:t}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)))return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,s="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(s.lastIndex=0;null!=(r=s.exec(t));)if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)))return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t,n,r,e=this.rules.inline.code.exec(e);if(e)return t=e[2].replace(/\\n/g," "),n=/[^ ]/.test(t),r=/^ /.test(t)&&/ $/.test(t),n&&r&&(t=t.substring(1,t.length-1)),t=x(t,!0),{type:"codespan",raw:e[0],text:t}},t.br=function(e){e=this.rules.inline.br.exec(e);if(e)return{type:"br",raw:e[0]}},t.del=function(e){e=this.rules.inline.del.exec(e);if(e)return{type:"del",raw:e[0],text:e[2]}},t.autolink=function(e,t){var n,e=this.rules.inline.autolink.exec(e);if(e)return t="@"===e[2]?"mailto:"+(n=x(this.options.mangle?t(e[1]):e[1])):n=x(e[1]),{type:"link",raw:e[0],text:n,href:t,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n,r,i,s;if(n=this.rules.inline.url.exec(e)){if("@"===n[2])i="mailto:"+(r=x(this.options.mangle?t(n[0]):n[0]));else{for(;s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0],s!==n[0];);r=x(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){e=this.rules.inline.text.exec(e);if(e)return t=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(e[0]):x(e[0]):e[0]:x(this.options.smartypants?n(e[0]):e[0]),{type:"text",raw:e[0],text:t}},t.textEmoji=function(e){e=this.rules.inline.textEmoji.exec(e);if(e&&1<e[0].length)return{type:"textEmoji",raw:e[0],text:e[1]}},t.codeEmoji=function(e){e=this.rules.inline.codeEmoji.exec(e);if(e&&1<e[0].length)return{type:"codeEmoji",raw:e[0],text:e[1]}},t.mark=function(e){e=this.rules.inline.mark.exec(e);if(e&&1<e[0].length)return{type:"mark",raw:e[0],text:e[1]}},t.sup=function(e){e=this.rules.inline.sup.exec(e);if(e&&1<e[0].length)return{type:"sup",raw:e[0],text:e[1]}},t.sub=function(e){e=this.rules.inline.sub.exec(e);if(e&&1<e[0].length)return{type:"sub",raw:e[0],text:e[1]}},t.s=function(e){e=this.rules.inline.s.exec(e);if(e&&1<e[0].length)return{type:"s",raw:e[0],text:e[1]}},t.ins=function(e){e=this.rules.inline.ins.exec(e);if(e&&1<e[0].length)return{type:"ins",raw:e[0],text:e[1]}},t.katexInline=function(e){e=this.rules.inline.katex.exec(e);if(e&&1<e[0].length)return{type:"katexInline",raw:e[0],text:e[1]}},t.colorFont=function(e){e=this.rules.inline.colorFont.exec(e);if(e&&1<e[0].length)return{type:"colorFont",raw:e[0],color:e[1],size:e[2],face:e[3],opacity:e[4],text:e[5]}},t.toc=function(e){e=this.rules.block.toc.exec(e);if(e)return{type:"toc",raw:e[0],text:e[1]}},e}(),f=u,g=c,k=h,u={newline:/^\\n+/,code:/^( {4}[^\\n]+\\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\\n]*\\n)|~{3,})([^\\n]*)\\n(?:|([\\s\\S]*?)\\n)(?: {0,3}\\1[~`]* *(?:\\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/,blockquoteTip:/^( {0,3}\\!> ?(paragraph|[^\\n]*)(?:\\n|$))+/,list:/^( {0,3})(bull) [\\s\\S]+?(?:hr|def|\\n{2,}(?! )(?! {0,3}bull )\\n*|\\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\\\s>][\\\\s\\\\S]*?(?:</\\\\1>[^\\\\n]*\\\\n+|$)|comment[^\\\\n]*(\\\\n+|$)|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>\\\\n*|$)|<![A-Z][\\\\s\\\\S]*?(?:>\\\\n*|$)|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?(?:\\\\]\\\\]>\\\\n*|$)|</?(tag)(?: +|\\\\n|/?>)[\\\\s\\\\S]*?(?:\\\\n{2,}|$)|<(?!script|pre|style)([a-z][\\\\w-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:\\\\n{2,}|$)|</(?!script|pre|style)[a-z][\\\\w-]*\\\\s*>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:\\\\n{2,}|$))",def:/^ {0,3}\\[(label)\\]: *\\n? *<?([^\\s>]+)>?(?:(?: +\\n? *| *\\n *)(title))? *(?:\\n+|$)/,nptable:f,table:f,lheading:/^([^\\n]+)\\n {0,3}(=+|-+) *(?:\\n+|$)/,_paragraph:/^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|fencesKatex|list|html|)[^\\n]+)*)/,text:/^<!\\[TOC\\]|[^\\n]+/,toc:/\\s*\\[TOC\\]/,fencesKatex:/^ {0,2}(\\${2,}(?=[^\\$\\n]*\\n)|~{2,})([^\\n]*)\\n(?:|([\\s\\S]*?)\\n)(?: {0,2}\\1[~\\$]* *(?:\\n+|$)|$)/,katex:/^\\$\\$(.+?)\\$\\$/,_label:/(?!\\s*\\])(?:\\\\[\\[\\]]|[^\\[\\]])+/,_title:/(?:"(?:\\\\"?|[^"\\\\])*"|\'[^\'\\n]*(?:\\n[^\'\\n]+)*\\n?\'|\\([^()]*\\))/},c=(u.def=g(u.def).replace("label",u._label).replace("title",u._title).getRegex(),u.bullet=/(?:[*+-]|\\d{1,9}[.)])/,u.item=/^( *)(bull) ?[^\\n]*(?:\\n(?! *bull ?)[^\\n]*)*/,u.item=g(u.item,"gm").replace(/bull/g,u.bullet).getRegex(),u.listItemStart=g(/^( *)(bull)/).replace("bull",u.bullet).getRegex(),u.list=g(u.list).replace(/bull/g,u.bullet).replace("hr","\\\\n+(?=\\\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\\\* *){3,})(?:\\\\n+|$))").replace("def","\\\\n+(?="+u.def.source+")").getRegex(),u._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",u._comment=/\x3c!--(?!-?>)[\\s\\S]*?(?:--\x3e|$)/,u.html=g(u.html,"i").replace("comment",u._comment).replace("tag",u._tag).replace("attribute",/ +[a-zA-Z:_][\\w.:-]*(?: *= *"[^"\\n]*"| *= *\'[^\'\\n]*\'| *= *[^\\s"\'=<>`]+)?/).getRegex(),u.paragraph=g(u._paragraph).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.blockquote=g(u.blockquote).replace("paragraph",u.paragraph).getRegex(),u.blockquoteTip=g(u.blockquoteTip).replace("paragraph",u.paragraph).getRegex(),u.normal=k({},u),u.gfm=k({},u.normal,{nptable:"^ *([^|\\\\n ].*\\\\|.*)\\\\n {0,3}([-:]+ *\\\\|[-| :]*)(?:\\\\n((?:(?!\\\\n|hr|heading|blockquote|code|fences|fencesKatex|list|html).*(?:\\\\n|$))*)\\\\n*|$)",table:"^ *\\\\|(.+)\\\\n {0,3}\\\\|?( *[-:]+[-| :]*)(?:\\\\n *((?:(?!\\\\n|hr|heading|blockquote|code|fences|fencesKatex|list|html).*(?:\\\\n|$))*)\\\\n*|$)"}),u.gfm.nptable=g(u.gfm.nptable).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("code"," {4}[^\\\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.gfm.table=g(u.gfm.table).replace("hr",u.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\\\n]*\\\\n)|~{3,})[^\\\\n]*\\\\n").replace("fencesKatex"," {0,2}(?:`{2,}(?=[^$\\\\n]*\\\\n)|~{2,})[^\\\\n]*\\\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",u._tag).getRegex(),u.pedantic=k({},u.normal,{html:g("^ *(?:comment *(?:\\\\n|\\\\s*$)|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)|<tag(?:\\"[^\\"]*\\"|\'[^\']*\'|\\\\s[^\'\\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))").replace("comment",u._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b").getRegex(),def:/^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +(["(][^\\n]+[")]))? *(?:\\n+|$)/,heading:/^(#{1,6})(.*)(?:\\n+|$)/,fences:f,fencesKatex:f,paragraph:g(u.normal._paragraph).replace("hr",u.hr).replace("heading"," *#{1,6} *[^\\n]").replace("lheading",u.lheading).replace("blockquote"," {0,3}>").replace("blockquoteTip"," {0,3}!>").replace("|fences","").replace("|fencesKatex","").replace("|list","").replace("|html","").getRegex()}),{escape:/^\\\\([!"#$%&\'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/,autolink:/^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/,url:f,tag:"^comment|^</[a-zA-Z][\\\\w:-]*\\\\s*>|^<[a-zA-Z][\\\\w-]*(?:attribute)*?\\\\s*/?>|^<\\\\?[\\\\s\\\\S]*?\\\\?>|^<![a-zA-Z]+\\\\s[\\\\s\\\\S]*?>|^<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>",link:/^!?\\[(label)\\]\\(\\s*(href)(?:\\s+(title))?\\s*\\)/,reflink:/^!?\\[(label)\\]\\[(?!\\s*\\])((?:\\\\[\\[\\]]?|[^\\[\\]\\\\])+)\\]/,nolink:/^!?\\[(?!\\s*\\])((?:\\[[^\\[\\]]*\\]|\\\\[\\[\\]]|[^\\[\\]])*)\\](?:\\[\\])?/,reflinkSearch:"reflink|nolink(?!\\\\()",strong:{start:/^(?:(\\*\\*(?=[*punctuation]))|\\*\\*)(?![\\s])|__/,middle:/^\\*\\*(?:(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)|\\*(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)*?\\*)+?\\*\\*$|^__(?![\\s])((?:(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\\s]\\*\\*(?!\\*)|[punctuation]\\*\\*(?!\\*)(?:(?=[punctuation_\\s]|$))/,endUnd:/[^\\s]__(?!_)(?:(?=[punctuation*\\s])|$)/},em:{start:/^(?:(\\*(?=[punctuation]))|\\*)(?![*\\s])|_/,middle:/^\\*(?:(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)|\\*(?:(?!overlapSkip)(?:[^*]|\\\\\\*)|overlapSkip)*?\\*)+?\\*$|^_(?![_\\s])(?:(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\\s]\\*(?!\\*)|[punctuation]\\*(?!\\*)(?:(?=[punctuation_\\s]|$))/,endUnd:/[^\\s]_(?!_)(?:(?=[punctuation*\\s])|$)/},code:/^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/,br:/^( {2,}|\\\\)\\n(?!\\s*$)/,del:f,text:/^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[\\`\\^\\~\\=\\+\\:\\*\\$]|\\b_|$)|[^ ](?= {2,}\\n)))/,punctuation:/^([\\s*punctuation])/,textEmoji:/^`([^a-zA-Z]+?)`/,codeEmoji:/^:([A-Za-z0-9_\\-\\+]+?):/,mark:/^\\=\\=(.+?)\\=\\=/,sup:/^\\^(.+?)\\^/,sub:/^\\~(.+?)\\~/,ins:/^\\+\\+(.+?)\\+\\+/,s:/^\\~\\~(.+?)\\~\\~/,katex:/^\\$(.+?)\\$/,colorFont:/^\\\\color{([^|}]*)\\|?([^|}]*)\\|?([^|}]*)\\|?([^}]*)}{([^}]*)}/,_punctuation:"!\\"#$%&\'()+\\\\-.,/:;<=>?@\\\\[\\\\]`^{|}~"}),f=(c.punctuation=g(c.punctuation).replace(/punctuation/g,c._punctuation).getRegex(),c._blockSkip="\\\\[[^\\\\]]*?\\\\]\\\\([^\\\\)]*?\\\\)|`[^`]*?`|<[^>]*?>",c._overlapSkip="__[^_]*?__|\\\\*\\\\*\\\\[^\\\\*\\\\]*?\\\\*\\\\*",c._comment=g(u._comment).replace("(?:--\\x3e|$)","--\\x3e").getRegex(),c.em.start=g(c.em.start).replace(/punctuation/g,c._punctuation).getRegex(),c.em.middle=g(c.em.middle).replace(/punctuation/g,c._punctuation).replace(/overlapSkip/g,c._overlapSkip).getRegex(),c.em.endAst=g(c.em.endAst,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.em.endUnd=g(c.em.endUnd,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.strong.start=g(c.strong.start).replace(/punctuation/g,c._punctuation).getRegex(),c.strong.middle=g(c.strong.middle).replace(/punctuation/g,c._punctuation).replace(/overlapSkip/g,c._overlapSkip).getRegex(),c.strong.endAst=g(c.strong.endAst,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.strong.endUnd=g(c.strong.endUnd,"g").replace(/punctuation/g,c._punctuation).getRegex(),c.blockSkip=g(c._blockSkip,"g").getRegex(),c.overlapSkip=g(c._overlapSkip,"g").getRegex(),c._escapes=/\\\\([!"#$%&\'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/g,c._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,c._email=/[a-zA-Z0-9.!#$%&\'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,c.autolink=g(c.autolink).replace("scheme",c._scheme).replace("email",c._email).getRegex(),c._attribute=/\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*"[^"]*"|\\s*=\\s*\'[^\']*\'|\\s*=\\s*[^\\s"\'=<>`]+)?/,c.tag=g(c.tag).replace("comment",c._comment).replace("attribute",c._attribute).getRegex(),c._label=/(?:\\[(?:\\\\.|[^\\[\\]\\\\])*\\]|\\\\.|`[^`]*`|[^\\[\\]\\\\`])*?/,c._href=/<(?:\\\\.|[^\\n<>\\\\])+>|[^\\s\\x00-\\x1f]*/,c._title=/"(?:\\\\"?|[^"\\\\])*"|\'(?:\\\\\'?|[^\'\\\\])*\'|\\((?:\\\\\\)?|[^)\\\\])*\\)/,c.link=g(c.link).replace("label",c._label).replace("href",c._href).replace("title",c._title).getRegex(),c.reflink=g(c.reflink).replace("label",c._label).getRegex(),c.reflinkSearch=g(c.reflinkSearch,"g").replace("reflink",c.reflink).replace("nolink",c.nolink).getRegex(),c.normal=k({},c),c.pedantic=k({},c.normal,{strong:{start:/^__|\\*\\*/,middle:/^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,endAst:/\\*\\*(?!\\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\\*/,middle:/^()\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)|^_(?=\\S)([\\s\\S]*?\\S)_(?!_)/,endAst:/\\*(?!\\*)/g,endUnd:/_(?!_)/g},link:g(/^!?\\[(label)\\]\\((.*?)\\)/).replace("label",c._label).getRegex(),reflink:g(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/).replace("label",c._label).getRegex()}),c.gfm=k({},c.normal,{escape:g(c.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\\s~])([\\s\\S]*?[^\\s~])\\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[\\`\\^\\~\\=\\+\\:\\*\\$]|\\b_|https?:\\/\\/|ftp:\\/\\/|www\\.|$)|[^ ](?= {2,}\\n)|[^a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-](?=[a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&\'*+\\/=?_`{\\|}~-]+@))/}),c.gfm.url=g(c.gfm.url,"i").replace("email",c.gfm._extended_email).getRegex(),c.breaks=k({},c.gfm,{br:g(c.br).replace("{2,}","*").getRegex(),text:g(c.gfm.text).replace("\\\\b_","\\\\b_| {2,}\\\\n").replace(/\\{2,\\}/g,"*").getRegex()}),{block:u,inline:c}),ee=e.defaults,v=f.block,y=f.inline,_=Q;function te(e){return e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\\u2014/(\\[{"\\s])\'/g,"$1‘").replace(/\'/g,"’").replace(/(^|[-\\u2014/(\\[{\\u2018\\s])"/g,"$1“").replace(/"/g,"”").replace(/\\.{3}/g,"…")}function z(e){for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),n+="&#"+(t=.5<Math.random()?"x"+t.toString(16):t)+";";return n}var $=function(){function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ee,this.options.tokenizer=this.options.tokenizer||new w,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;e={block:v.normal,inline:y.normal};this.options.pedantic?(e.block=v.pedantic,e.inline=y.pedantic):this.options.gfm&&(e.block=v.gfm,this.options.breaks?e.inline=y.breaks:e.inline=y.gfm),this.tokenizer.rules=e}n.lex=function(e,t){return new n(t).lex(e)},n.lexInline=function(e,t){return new n(t).inlineTokens(e)};var e,t,r=n.prototype;return r.lex=function(e){return e=e.replace(/\\r\\n|\\r/g,"\\n").replace(/\\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,n){var r,i,s,l;for(void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");e;)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.toc(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),r.type?t.push(r):((l=t[t.length-1]).raw+="\\n"+r.raw,l.text+="\\n"+r.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.fencesKatex(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.blockquoteTip(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),s=r.items.length,i=0;i<s;i++)r.items[i].tokens=this.blockTokens(r.items[i].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e,t))e=e.substring(r.raw.length),r.type?t.push(r):((l=t[t.length-1]).raw+="\\n"+r.raw,l.text+="\\n"+r.text);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return t},r.inline=function(e){for(var t,n,r,i,s,l=e.length,a=0;a<l;a++)switch((s=e[a]).type){case"paragraph":case"text":case"heading":s.tokens=[],this.inlineTokens(s.text,s.tokens);break;case"table":for(s.tokens={header:[],cells:[]},r=s.header.length,t=0;t<r;t++)s.tokens.header[t]=[],this.inlineTokens(s.header[t],s.tokens.header[t]);for(r=s.cells.length,t=0;t<r;t++)for(i=s.cells[t],s.tokens.cells[t]=[],n=0;n<i.length;n++)s.tokens.cells[t][n]=[],this.inlineTokens(i[n],s.tokens.cells[t][n]);break;case"blockquote":case"blockquoteTip":this.inline(s.tokens);break;case"list":for(r=s.items.length,t=0;t<r;t++)this.inline(s.items[t].tokens)}return e},r.inlineTokens=function(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1);var i,s,l,a=e;if(this.tokens.links){var o=Object.keys(this.tokens.links);if(0<o.length)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(a));)o.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(a=a.slice(0,i.index)+"["+_("a",i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(a));)a=a.slice(0,i.index)+"["+_("a",i[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(s||(l=""),s=!1,c=this.tokenizer.katexBlock(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.katexInline(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.colorFont(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.textEmoji(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.codeEmoji(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.mark(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.sup(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.s(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.sub(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.ins(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.escape(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.tag(e,n,r))e=e.substring(c.raw.length),n=c.inLink,r=c.inRawBlock,t.push(c);else if(c=this.tokenizer.link(e))e=e.substring(c.raw.length),"link"===c.type&&(c.tokens=this.inlineTokens(c.text,[],!0,r)),t.push(c);else if(c=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(c.raw.length),"link"===c.type&&(c.tokens=this.inlineTokens(c.text,[],!0,r)),t.push(c);else if(c=this.tokenizer.strong(e,a,l))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.em(e,a,l))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.codespan(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.br(e))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.del(e))e=e.substring(c.raw.length),c.tokens=this.inlineTokens(c.text,[],n,r),t.push(c);else if(c=this.tokenizer.autolink(e,z))e=e.substring(c.raw.length),t.push(c);else if(!n&&(c=this.tokenizer.url(e,z)))e=e.substring(c.raw.length),t.push(c);else if(c=this.tokenizer.inlineText(e,r,te))e=e.substring(c.raw.length),l=c.raw.slice(-1),s=!0,t.push(c);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}return t},r=n,t=[{key:"rules",get:function(){return{block:v,inline:y}}}],(e=null)&&i(r.prototype,e),t&&i(r,t),Object.defineProperty(r,"prototype",{writable:!1}),n}(),ne=e.defaults,S=V,T=t,A=function(){function e(e){this.options=e||ne,this.itoc=[],this.itocIndex=0}var t=e.prototype;return t.code=function(e,t,n){var r=(t=t||"").match(/\\S*/)[0],i="";if(this.options.langToolbar){for(var i=\'<div class="toolbar" data-lang="\'+r+\'">\',s=0,l=this.options.langToolbar.length;s<l;s++)i+=\'<button class="toolbar-\'+this.options.langToolbar[s]+\'"></button>\';i+="</div>"}this.options.highlight&&null!=(a=this.options.highlight(e,r))&&a!==e&&(n=!0,e=a);var a=this.options.langLineNumber?\' class="line-numbers"\':"";if(!r)return"<pre"+a+">"+i+"<code>"+(n?e:T(e,!0))+"</code></pre>";var o=this.options.langPrefix+r+(t.match(/\\s\\S *.+/g)||""),t=null;return\'<pre data-lang="\'+r+\'"\'+a+">"+i+\'<code class="\'+o+\'">\'+(n?e:T(e,!0))+"</code></pre>"},t.katexBlock=function(e,t){return\'<div class="n-katex-block">\'+(t?e:T(e,!0))+"</div>"},t.blockquote=function(e){return"<blockquote>"+e+"</blockquote>"},t.blockquoteTip=function(e){return\'<blockquote class="n-tip">\'+e+"</blockquote>"},t.html=function(e){return e},t.heading=function(e,t,n,r){var i="";return"<h"+t+(i=this.options.headerIds?\' data-prefix="\'+this.options.headerPrefix+\'"\':i)+\' role="heading" aria-level="\'+t+\'" id="\'+n+\'">\'+e+"</h"+t+">"},t.hr=function(){return this.options.xhtml?\'<hr role="separator"/>\':\'<hr role="separator">\'},t.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?\' start="\'+n+\'"\':"")+\' role="listbox">\'+e+"</"+r+">"},t.listitem=function(e){return\'<li role="option">\'+e+"</li>"},t.checkbox=function(e){return"<input "+(e?\'checked="" \':"")+\'disabled="" type="checkbox" role="checkbox"\'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>"},t.table=function(e,t){return\'<table role="grid"><thead>\'+e+"</thead>"+(t=t&&"<tbody>"+t+"</tbody>")+"</table>"},t.tablerow=function(e){return\'<tr role="row">\'+e+"</tr>"},t.tablecell=function(e,t){var n=t.header?\'th role="gridcell"\':\'td role="gridcell"\';return(t.align?"<"+n+\' align="\'+t.align+\'">\':"<"+n+">")+e+"</"+n+">"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(null===(e=S(this.options.sanitize,this.options.baseUrl,e)))return n;e=\'<a href="\'+T(e)+\'"\';return t&&(e+=\' title="\'+t+\'"\'),e+=\' target="__blank">\'+n+"</a>"},t.image=function(e,t,n){if(null===(e=S(this.options.sanitize,this.options.baseUrl,e)))return n;e=\'<img role="dialog" src="\'+e+\'" alt="\'+n+\'"\';return t&&(e+=\' title="\'+t+\'"\'),e+=this.options.xhtml?"/>":">"},t.text=function(e){return e},t.textEmoji=function(e){return e},t.codeEmoji=function(e){return this.options.emojiSource?\'<img class="n-emoji" style="width: 20px;height: 20px;" src="\'+this.options.emojiSource+e+\'.png" alt="\'+e+\'"/>\':this.options.emoji[e]||" :"+e+": "},t.mark=function(e){return"<mark>"+e+"</mark>"},t.sup=function(e){return"<sup>"+e+"</sup>"},t.sub=function(e){return"<sub>"+e+"</sub>"},t.s=function(e){return"<s>"+e+"</s>"},t.ins=function(e){return"<ins>"+e+"</ins>"},t.katexInline=function(e){return\'<span class="n-katex-inline">\'+e+"</span>"},t.colorFont=function(e,t,n,r,i){return"<font"+(t?\' color="\'+t+\'"\':"")+(n?\' size="\'+n+\'"\':"")+(r?\' face="\'+r+\'"\':"")+(i&&i.trim().length?\' style="opacity:\'+Number(i)+\';"\':"")+">"+e+"</font>"},t.addToc=function(e,t,n){return this.itoc.push({anchor:e,level:n,text:t}),e},t.toTocHTML=function(){function n(){s+="</ol>"}function r(e,t){s+=\'<li role="menuitemradio"><a href="#\'+e+\'">\'+t+"</a></li>"}var i=[],s="";for(this.itoc.forEach(function(e){var t=i.indexOf(e.level);if(-1===t)i.unshift(e.level),s.trim().length?s+="<ol>":s+=\'<ol class="n-md-toc" role="menubar" part="toc">\',r(e.anchor,e.text);else if(0===t)r(e.anchor,e.text);else{for(;t--;)i.shift(),n();r(e.anchor,e.text)}});i.length;)i.shift(),n();return this.itoc=[],this.itocIndex=0,s},e}(),I=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},t.mark=function(e){return e},t.sup=function(e){return e},t.sub=function(e){return e},t.ins=function(e){return e},t.s=function(e){return e},t.textEmoji=function(e){return e},t.codeEmoji=function(e){return e},t.katexInline=function(e){return e},t.colorFont=function(e,t,n,r,i){return e},e}(),R=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\\/a-z].*?>/gi,"").replace(/[\\u2000-\\u206F\\u2E00-\\u2E7F\\\\\'!"#$%&()*+,./:;<=>?@[\\]^`{|}~]/g,"").replace(/\\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n))for(r=this.seen[e];n=e+"-"+ ++r,this.seen.hasOwnProperty(n););return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});e=this.serialize(e);return this.getNextSafeSlug(e,t.dryrun)},e}(),re=e.defaults,ie=G,j=function(){function n(e){this.options=e||re,this.options.renderer=this.options.renderer||new A,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new I,this.slugger=new R}n.parse=function(e,t){return new n(t).parse(e)},n.parseInline=function(e,t){return new n(t).parseInline(e)};var e=n.prototype;return e.parse=function(e,t){void 0===t&&(t=!0);for(var n,r,i,s,l,a,o,c,u,p,h,g,f,k,d,b,x,m="",w=e.length,v=0;v<w;v++)switch((c=e[v]).type){case"space":continue;case"hr":m+=this.renderer.hr();continue;case"heading":d=this.parseInline(c.tokens),b=ie(this.parseInline(c.tokens,this.textRenderer)),b=this.slugger.slug(b)+(""+ ++this.renderer.itocIndex),x&&this.renderer.addToc(b,d,c.depth),m+=this.renderer.heading(d,c.depth,b,this.slugger);continue;case"code":m+=this.renderer.code(c.text,c.lang,c.escaped);continue;case"katexBlock":m+=this.renderer.katexBlock(c.text,c.escaped);continue;case"table":for(a=d="",i=c.header.length,n=0;n<i;n++)a+=this.renderer.tablecell(this.parseInline(c.tokens.header[n]),{header:!0,align:c.align[n]});for(d+=this.renderer.tablerow(a),o="",i=c.cells.length,n=0;n<i;n++){for(a="",s=(l=c.tokens.cells[n]).length,r=0;r<s;r++)a+=this.renderer.tablecell(this.parseInline(l[r]),{header:!1,align:c.align[r]});o+=this.renderer.tablerow(a)}m+=this.renderer.table(d,o);continue;case"blockquote":o=this.parse(c.tokens),m+=this.renderer.blockquote(o);continue;case"blockquoteTip":o=this.parse(c.tokens),m+=this.renderer.blockquoteTip(o);continue;case"list":for(b=c.ordered,y=c.start,u=c.loose,i=c.items.length,o="",n=0;n<i;n++)g=(h=c.items[n]).checked,f=h.task,p="",h.task&&(k=this.renderer.checkbox(g),u?0<h.tokens.length&&"text"===h.tokens[0].type?(h.tokens[0].text=k+" "+h.tokens[0].text,h.tokens[0].tokens&&0<h.tokens[0].tokens.length&&"text"===h.tokens[0].tokens[0].type&&(h.tokens[0].tokens[0].text=k+" "+h.tokens[0].tokens[0].text)):h.tokens.unshift({type:"text",text:k}):p+=k),p+=this.parse(h.tokens,u),o+=this.renderer.listitem(p,f,g);m+=this.renderer.list(o,b,y);continue;case"html":m+=this.renderer.html(c.text);continue;case"paragraph":m+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":for(o=c.tokens?this.parseInline(c.tokens):c.text;v+1<w&&"text"===e[v+1].type;)o+="\\n"+((c=e[++v]).tokens?this.parseInline(c.tokens):c.text);m+=t?this.renderer.paragraph(o):o;continue;case"toc":x=!0;continue;default:var y=\'Token with "\'+c.type+\'" type was not found.\';if(this.options.silent)return void console.error(y);throw new Error(y)}return m=\'<div class="n-md-body" part="body">\'+m+"</div>",m=x?this.renderer.toTocHTML()+m:m},e.parseInline=function(e,t){t=t||this.renderer;for(var n,r="",i=e.length,s=0;s<i;s++)switch((n=e[s]).type){case"katexInline":r+=t.katexInline(n.text);break;case"colorFont":r+=t.colorFont(n.text,n.color,n.size,n.face,n.opacity);break;case"escape":r+=t.text(n.text);break;case"html":r+=t.html(n.text);break;case"link":r+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":r+=t.image(n.href,n.title,n.text);break;case"strong":r+=t.strong(this.parseInline(n.tokens,t));break;case"em":r+=t.em(this.parseInline(n.tokens,t));break;case"codespan":r+=t.codespan(n.text);break;case"br":r+=t.br();break;case"del":r+=t.del(this.parseInline(n.tokens,t));break;case"text":r+=t.text(n.text);break;case"textEmoji":r+=t.textEmoji(n.text);break;case"codeEmoji":r+=t.codeEmoji(n.text);break;case"mark":r+=t.mark(n.text);break;case"sup":r+=t.sup(n.text);break;case"sub":r+=t.sub(n.text);break;case"s":r+=t.s(n.text);break;case"ins":r+=t.ins(n.text);break;default:var l=\'Token with "\'+n.type+\'" type was not found.\';if(this.options.silent)return void console.error(l);throw new Error(l)}return r},n}(),q=h,E=J,Z=t,k=e.getDefaults,se=e.changeDefaults,g=e.defaults;function O(e,n,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"==typeof n&&(r=n,n=null),n=q({},O.defaults,n||{}),E(n),r){var i,s=n.highlight;try{i=$.lex(e,n)}catch(e){return r(e)}var l=function(t){var e;if(!t)try{e=j.parse(i,n)}catch(e){t=e}return n.highlight=s,t?r(t):r(null,e)};if(!s||s.length<3)return l();if(delete n.highlight,!i.length)return l();var a=0;return O.walkTokens(i,function(n){"code"===n.type&&(a++,setTimeout(function(){s(n.text,n.lang,function(e,t){if(e)return l(e);null!=t&&t!==n.text&&(n.text=t,n.escaped=!0),0===--a&&l()})},0))}),void(0===a&&l())}try{var t=$.lex(e,n);return n.walkTokens&&O.walkTokens(t,n.walkTokens),j.parse(t,n)}catch(e){if(e.message+="\\nPlease report this to https://github.com/markedjs/marked.",n.silent)return"<p>An error occurred:</p><pre>"+Z(e.message+"",!0)+"</pre>";throw e}}return O.options=O.setOptions=function(e){return q(O.defaults,e),se(O.defaults),O},O.getDefaults=k,O.defaults=g,O.use=function(l){var t,e=q({},l);if(l.renderer){var n,a=O.defaults.renderer||new A;for(n in l.renderer)!function(i){var s=a[i];a[i]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=l.renderer[i].apply(a,t);return r=!1===r?s.apply(a,t):r}}(n);e.renderer=a}if(l.tokenizer){var r,o=O.defaults.tokenizer||new w;for(r in l.tokenizer)!function(i){var s=o[i];o[i]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=l.tokenizer[i].apply(o,t);return r=!1===r?s.apply(o,t):r}}(r);e.tokenizer=o}l.walkTokens&&(t=O.defaults.walkTokens,e.walkTokens=function(e){l.walkTokens(e),t&&t(e)}),O.setOptions(e)},O.walkTokens=function(e,t){for(var n,r=p(e);!(n=r()).done;){var i=n.value;switch(t(i),i.type){case"table":for(var s=p(i.tokens.header);!(l=s()).done;){var l=l.value;O.walkTokens(l,t)}for(var a,o=p(i.tokens.cells);!(a=o()).done;)for(var c=p(a.value);!(u=c()).done;){var u=u.value;O.walkTokens(u,t)}break;case"list":O.walkTokens(i.items,t);break;default:i.tokens&&O.walkTokens(i.tokens,t)}}},O.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=q({},O.defaults,t||{}),E(t);try{var n=$.lexInline(e,t);return t.walkTokens&&O.walkTokens(n,t.walkTokens),j.parseInline(n,t)}catch(e){if(e.message+="\\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+Z(e.message+"",!0)+"</pre>";throw e}},O.Parser=j,O.parser=j.parse,O.Renderer=A,O.TextRenderer=I,O.Lexer=$,O.lexer=$.lex,O.Tokenizer=w,O.Slugger=R,O.parse=O});'],{type:"application/javascript"}))),!tt&&(tt=URL.createObjectURL(new Blob(["(".concat((function(){var e;self.importScripts("MARKED_URL"),self.addEventListener("message",function(t){var r;try{e||((e=new self.marked.Renderer).katexBlock=function(e){return'<n-katex display-mode="true" part="katex-block">'.concat(e,"</n-katex>")},e.katexInline=function(e){return'<n-katex part="katex-inline">'.concat(e,"</n-katex>")}),e.image=function(e,r,n){return'<n-img lazy="'.concat(t.data.lazyPicture,'" disabled="').concat(!t.data.pictureViewer,'" role="img" src="').concat(e,'" alt="').concat(n,'" ').concat(r?'title="'.concat(r,'"'):"","></n-img>")},e.code=function(e,r){if("treeview"===r)return'<n-tree data="'.concat(e,'" />');var n="";return t.data.codeTheme&&(n+=' theme="'.concat(t.data.codeTheme,'"')),void 0!==t.data.codeClassic&&(n+=' classic="'.concat(t.data.codeClassic,'"')),'<n-code class="n-code" toolbar="'.concat(t.data.langToolbar&&!!t.data.langToolbar.length,'" language="').concat(r,'" ').concat(n,">").concat(/<[^>]+>/.test(e)?encodeURIComponent(e):e,"</n-code>")},r=self.marked(t.data.text,Object.assign({renderer:e,headerPrefix:"# ",breaks:!0,pedantic:!1,smartLists:!0,smartypants:!0,xhtml:!0},t.data))}catch(e){r=e.message}self.postMessage(r)},!1)}).toString().replace("MARKED_URL",te),")(self)")],{type:"application/javascript"}))),tt));function s(e){o&&(o.innerHTML=e.data)}l.addEventListener("message",s),ty(function(){l.postMessage({text:a.text,langToolbar:a.tools,pictureViewer:a.pictureViewer,lazyPicture:a.lazyPicture,codeTheme:a.codeTheme,codeClassic:a.codeClassic})}),tA(function(){l.removeEventListener("message",s),l.terminate(),--u6<=0&&(URL.revokeObjectURL(te),te=null,URL.revokeObjectURL(tt),tt=null)});var c=[],u=[],d=[];function f(e){e.preventDefault(),e.stopPropagation();var t,r=e.target;r.hash?(null==o||null==(t=o.querySelector(decodeURIComponent(r.hash)))||t.scrollIntoView({behavior:"smooth",block:"nearest"}),c.forEach(function(e){e.classList.remove("active")}),r.classList.add("active")):window.open(r.href)}function p(e){e.forEach(function(e){var t=e.target.getAttribute("id"),r=e.target.querySelectorAll("a");if(c.forEach(function(e){e.hash==="#".concat(t)?n=e:e.hash||r.forEach(function(t){t.href===e.href&&(n=e)})}),n){var n,o,i=d.indexOf(n);d.forEach(function(e){e.classList.remove("active")}),e.isIntersecting?d.push(n):-1!==i&&d.splice(i,1),d[0]&&(d[0].classList.add("active"),null==(o=d[0].offsetParent)||o.scrollTo({top:d[0].offsetTop}))}})}return ty(function(){var e;o&&a.text.startsWith("[TOC]")&&(c=dt(o.querySelectorAll(".n-md-toc a[href]")),u=dt(o.querySelectorAll("h1, h2, h3, h4, h5, h6")),e=new IntersectionObserver(p,{rootMargin:"-50px 0px",threshold:.5}),u.forEach(function(t){e.observe(t)}),c.forEach(function(e){e.addEventListener("click",f)})),tA(function(){e&&(u.forEach(function(t){e.unobserve(t)}),e.disconnect()),c.forEach(function(e){e.removeEventListener("click",f)})})}),[(r=(t=u8()).firstChild,tm(function(){return r.data=i()}),t),((n=u9()).textContent=u5,n),tV(t2,{get when(){return a.css},get children(){var g=u8(),b=g.firstChild;return tm(function(){return b.data=nu(a.css)}),g}}),tV(t3,{get children(){return[tV(t4,{get when(){return(a.children||[]).length>0},get children(){var h=u7();return rb(h.firstChild,tV(t0,{get each(){return a.children},children:function(e){return e}})),h}}),tV(t4,{get when(){return a.text},get children(){var v=de(),m=o;return"function"==typeof m?rg(m,v):o=v,tm(function(){return rs(v,nf("n-md-box",a.class))}),v}})]}})]}dn.registry=function(){a0.registry(),ob.registry(),nx("n-md",{class:void 0,pictureViewer:void 0,lazyPicture:void 0,text:void 0,tools:void 0,getAnchorContainer:void 0,css:void 0,children:void 0,notRender:void 0,codeTheme:void 0,codeClassic:void 0},function(e,t){var r,n=t.element,o=tX({text:!e.notRender&&n.textContent||n.text,css:n.css,tools:n.tools,getAnchorContainer:n.getAnchorContainer},e);return ty(function(){nA(n,["css","text"]),n.replaceChildren()}),[((r=u9()).textContent=nJ,r),tV(dn,o)]})};let di=dn;var da=document.documentElement,dl={x:0,y:0,width:0,height:0};da.addEventListener("click",function(e){Object.assign(dl,{x:da.clientWidth/2-e.clientX,y:da.clientHeight/2-e.clientY})},!0);var ds={};function dc(e){return"selectorText"in e&&"style"in e}function du(e){try{var t,r;return null!=(t=null==(r=document)||null==(r=r.styleSheets)?void 0:r.item(e))?t:null}catch(e){return null}}function dd(e,t){if("styleSheets"in document){var r=function(){try{var e,t;return null!=(e=null==(t=document)||null==(t=t.styleSheets)?void 0:t.length)?e:0}catch(e){return 0}}();0===r&&(!function(e){if(null!=(e=document)&&e.head){var t=document.createElement("style");t.setAttribute("crossorigin","anonymous"),document.head.appendChild(t)}}(),r=1);var n=du(0);if(n){var o=n,i=ds[t];if(!i)for(var a=1;a<r;a++){var l=du(a);if(l){o=l;var s=function(e,t){try{for(var r=e.cssRules,n=r.length,o=0;o<n;o++){var i=r[o];if(dc(i)&&i.selectorText===t)return i}return}catch(e){return}}(l,t);if(s){i=s;break}}}if(i||(i=function(e,t){try{var r=e.cssRules;e.insertRule("".concat(t," {}"),r.length);var n=r[r.length-1];return dc(n)?n:void 0}catch(e){return}}(o,t))){ds[t]=i;for(var c=i,u=0,d=Object.keys(e);u<d.length;u++){var f=d[u],p=e[f];if(null!==p){var g="number"==typeof p?String(p):p;c.style.setProperty(f,g)}else c.style.getPropertyValue(f)&&c.style.removeProperty(f)}}}}}function df(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let dp=th(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=tv(0))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||function(e){if(e){if("string"==typeof e)return df(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?df(e,2):void 0}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4104
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1];return ty(function(){var e=r();0===e?dd({"overflow-y":""},"body"):1===e&&dd({"overflow-y":"hidden"},"body")}),{num:r,setNum:n}},tu);var dg=nu(tr||(en=[`
|
|
4105
4105
|
.portal {
|
|
4106
4106
|
--opacity: 0;
|
|
4107
4107
|
--scale: 0;
|
|
@@ -4265,10 +4265,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4265
4265
|
pointer-events: none;
|
|
4266
4266
|
}
|
|
4267
4267
|
}
|
|
4268
|
-
`],eo||(eo=en.slice(0)),tr=Object.freeze(Object.defineProperties(en,{raw:{value:Object.freeze(eo)}})))),
|
|
4269
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var d_=((ei={}).closed="closed",ei.closeing="closeing",ei.open="open",ei);function d$(e){var t,r,n=document.documentElement,o=dp.setNum,i=tX({okText:"确认",cancelText:"取消"},e),a=dI(tv(!1),2),l=a[0],s=a[1],c=dI(tv(!1),2),u=c[0],d=c[1],f=dI(tv("closed"),2),p=f[0],
|
|
4268
|
+
`],eo||(eo=en.slice(0)),tr=Object.freeze(Object.defineProperties(en,{raw:{value:Object.freeze(eo)}})))),db=ri("<span class=modal-close>"),dh=ri("<n-button class=modal-close>",!0,!1,!1),dv=ri("<style> "),dm=ri("<style>"),dy=ri("<n-button class=modal-close>⛌",!0,!1,!1),dx=ri("<n-button>",!0,!1,!1),dw=ri("<n-button type=primary>",!0,!1,!1),dk=ri("<div class=modal-footer>"),dS=ri("<div class=portal><div class=modal-content><div class=modal-header><strong class=modal-title></strong></div><div class=modal-body>");function dA(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=Object.create((n&&n.prototype instanceof l?n:l).prototype);return dO(s,"_invoke",function(r,n,o){var i,l,s,c=0,u=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return i=t,l=0,s=e,f.n=r,a}};function p(r,n){for(l=r,s=n,t=0;!d&&c&&!o&&t<u.length;t++){var o,i=u[t],p=f.p,g=i[2];r>3?(o=g===n)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=r<2&&p<i[1])?(l=0,f.v=n,f.n=i[1]):p<g&&(o=r<3||i[0]>n||n>g)&&(i[4]=r,i[5]=n,f.n=g,l=0))}if(o||r>1)return a;throw d=!0,n}return function(o,u,g){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,g),l=u,s=g;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(c=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:r.call(n,f))!==a)break}catch(t){i=e,l=1,s=t}finally{c=1}}return{value:t,done:d}}}(r,o,i),!0),s}var a={};function l(){}function s(){}function c(){}t=Object.getPrototypeOf;var u=c.prototype=l.prototype=Object.create([][n]?t(t([][n]())):(dO(t={},n,function(){return this}),t));function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,dO(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return s.prototype=c,dO(u,"constructor",c),dO(c,"constructor",s),s.displayName="GeneratorFunction",dO(c,o,"GeneratorFunction"),dO(u),dO(u,o,"Generator"),dO(u,n,function(){return this}),dO(u,"toString",function(){return"[object Generator]"}),(dA=function(){return{w:i,m:d}})()}function dO(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(dO=function(e,t,r,n){function i(t,r){dO(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))})(e,t,r,n)}function dC(e){return(dC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dE(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dz(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dE(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=dC(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dC(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dC(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dE(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function dj(e,t,r,n,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function dT(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){dj(i,n,o,a,l,"next",e)}function l(e){dj(i,n,o,a,l,"throw",e)}a(void 0)})}}function dI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dP(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dP(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4269
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function dP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var d_=((ei={}).closed="closed",ei.closeing="closeing",ei.open="open",ei);function d$(e){var t,r,n=document.documentElement,o=dp.setNum,i=tX({okText:"确认",cancelText:"取消"},e),a=dI(tv(!1),2),l=a[0],s=a[1],c=dI(tv(!1),2),u=c[0],d=c[1],f=dI(tv("closed"),2),p=f[0],g=f[1],b=dI(tv(dl),2),h=b[0],v=b[1],m=[0,0],y=tx(function(){var e=h(),t=e.x,r=e.y,n=e.width,o=e.height;return".portal { --y: ".concat(-(r-o/2),"px;--x: ").concat(-(t-n/2),"px; --movement-x: ").concat(m[0],"px; --movement-y: ").concat(m[1],"px;}")});function x(e){return w.apply(this,arguments)}function w(){return(w=dT(dA().m(function e(t){var n;return dA().w(function(e){for(;;)switch(e.n){case 0:if(d(!1),t!==d_.closeing||(r.style.removeProperty("--x"),r.style.removeProperty("--y"),!oR(i.onCancel))){e.n=2;break}return d(!0),e.n=1,i.onCancel();case 1:if(e.v){e.n=2;break}return d(!1),e.a(2);case 2:g(t),null==(n=i.onOpenChange)||n.call(i,t);case 3:return e.a(2)}},e)}))).apply(this,arguments)}function k(e){e.preventDefault()}function S(e){k(e),"keydown"===e.type?i.escClosable&&"Escape"===e.key&&x(d_.closeing):x(d_.closeing)}function A(){p()===d_.closeing&&x(d_.closed)}function O(e){return C.apply(this,arguments)}function C(){return(C=dT(dA().m(function e(t){var r;return dA().w(function(e){for(;;)switch(e.n){case 0:if(k(t),!oR(i.onOk)){e.n=2;break}return d(!0),e.n=1,i.onOk(t);case 1:if(e.v){e.n=2;break}return d(!1),e.a(2);case 2:g(d_.closeing),null==(r=i.onOpenChange)||r.call(i,d_.closeing);case 3:return e.a(2)}},e)}))).apply(this,arguments)}function E(e){k(e),i.maskClosable&&e.target===t&&x(d_.closeing)}function z(e){v(function(t){return dz(dz({},t),{},{x:n.clientWidth/2-e.clientX,y:n.clientHeight/2-e.clientY})})}ty(function(){void 0!==i.open&&i.open!==tk(p)&&g(i.open)}),ty(function(){p()===d_.open?(o(function(e){return e+1}),n.addEventListener("mousewheel",k,{passive:oM}),i.escClosable&&n.addEventListener("keydown",S,!1)):p()===d_.closeing?o(function(e){return e-1}):n.addEventListener("click",z,!0),tA(function(){n.removeEventListener("mousewheel",k,!1),n.removeEventListener("keydown",S,!1),n.removeEventListener("click",z,!0)})});var j=tx(function(){return null===i.closeIcon||!1===i.closeIcon?null:["function","object"].includes(dC(i.closeIcon))?function(){var e,t;return rb(e=db(),(t=rr(function(){return!!oR(i.closeIcon)}),function(){return t()?i.closeIcon():i.closeIcon})),e}:function(){var e;return(e=dh()).$$click=S,e.danger=!0,e.circle=!0,e.flat=!0,e._$owner=tu,rb(e,function(){return i.closeIcon}),e}});function T(e){r&&(m[0]=m[0]+e.movementX,m[1]=m[1]+e.movementY,t.style.setProperty("--movement-x","".concat(m[0],"px")),t.style.setProperty("--movement-y","".concat(m[1],"px")),r.style.setProperty("--x","".concat(m[0],"px")),r.style.setProperty("--y","".concat(m[1],"px")))}function I(e){s(e.target===r)}function P(){s(!1)}ty(function(){l()&&document.body.addEventListener("mousemove",T,{passive:oM}),tA(function(){document.body.removeEventListener("mousemove",T,!1)})}),tS(function(){document.body.addEventListener("mouseup",P,{passive:oM})}),tA(function(){document.body.removeEventListener("mouseup",P,!1)});var _=tx(function(){return oR(i.title)?i.title():i.title}),$=tx(function(){return oR(i.content)?i.content():i.content});return tV(t2,{get when(){return p()!==d_.closed},get children(){return tV(rA,{useShadow:!0,get children(){var L,N,R,M,D,F,U,B,H,V;return[(N=(L=dv()).firstChild,tm(function(){return N.data=y()}),L),((R=dm()).textContent=dg,R),(U=(F=(D=(M=dS()).firstChild).firstChild).firstChild,B=F.nextSibling,rc(M,"click",E),rc(M,"animationend",A),"function"==typeof(H=t)?rg(H,M):t=M,rc(D,"mousedown",I),"function"==typeof(V=r)?rg(V,D):r=D,rb(U,_),rb(D,tV(t2,{get when(){return void 0===i.closeIcon},get fallback(){return j()},get children(){var Y=dy();return Y.$$click=S,Y.danger=!0,Y.circle=!0,Y.flat=!0,Y._$owner=tu,Y}}),B),rb(B,$),rb(D,tV(t2,{get when(){return i.cancelText||i.okText},get children(){var q=dk();return rb(q,tV(t2,{get when(){return i.cancelText},get children(){var G=dx();return rp(G,tX(function(){return i.cancelProps},{onClick:S}),!1,!0),G._$owner=tu,rb(G,function(){return i.cancelText}),G}}),null),rb(q,tV(t2,{get when(){return i.okText},get children(){var W=dw();return W.fill=!0,rp(W,tX(function(){return i.okProps},{get loading(){return u()},onClick:O}),!1,!0),W._$owner=tu,rb(W,function(){return i.okText}),W}}),null),q}}),null),tm(function(e){var t=p()===d_.open,r=p()!==d_.open,n=!!i.maskBlur,o=!!i.centered,a=!!l();return t!==e.e&&M.classList.toggle("open",e.e=t),r!==e.t&&M.classList.toggle("closeing",e.t=r),n!==e.a&&M.classList.toggle("mask-blur",e.a=n),o!==e.o&&D.classList.toggle("centered",e.o=o),a!==e.i&&D.classList.toggle("moveing",e.i=a),e},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),M)]}})}})}d$.registry=function(){nx("n-modal",{open:"closed",maskClosable:!0,escClosable:!0,onOpenChange:void 0,closeIcon:void 0,content:void 0,title:void 0,maskBlur:void 0,okText:void 0,cancelText:void 0,okProps:void 0,cancelProps:void 0,centered:void 0},function(e,t){var r=t.element,n=tX({onOpenChange:function(e){t.element.dispatchEvent(new CustomEvent("openchange",{detail:e}))}},e);return ty(function(){nA(r,["content"])}),tV(d$,n)})},d$.open=function(e){var t=ro(function(){return tV(dL,tX({maskClosable:!0,escClosable:!0},e,{open:"open",onOpenChange:function(e){"closed"===e&&t()}}))},document.createElement("div"))};let dL=d$;function dN(e){return(dN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function dR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function dM(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dR(Object(r),!0).forEach(function(t){var n,o,i;n=e,o=t,i=r[t],(o=function(e){var t=function(e,t){if("object"!=dN(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dN(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==dN(t)?t:t+""}(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dR(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function dD(e,t){if(e){if("string"==typeof e)return dF(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dF(e,t):void 0}}function dF(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}ra(["click"]);var dU=th(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=tv([]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(e)||dD(e,2)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4270
4270
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),r=t[0],n=t[1];return{list:r,add:function(e){n(function(t){return[].concat(function(e){if(Array.isArray(e))return dF(e)}(t)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||dD(t)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4271
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),[e])})},remove:function(e){n(function(t){return t.map(function(t){return t.uniqueId===e?dM(dM({},t),{},{closeing:!0}):t})});var t=setTimeout(function(){n(function(t){return t.filter(function(t){return t.uniqueId!==e})}),clearTimeout(t)},200)},clean:function(){n([])},update:function(e,t){n(function(r){return r.map(function(r){return r.uniqueId===e?dM(dM({},r),t):r})})}}}),
|
|
4271
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),[e])})},remove:function(e){n(function(t){return t.map(function(t){return t.uniqueId===e?dM(dM({},t),{},{closeing:!0}):t})});var t=setTimeout(function(){n(function(t){return t.filter(function(t){return t.uniqueId!==e})}),clearTimeout(t)},200)},clean:function(){n([])},update:function(e,t){n(function(r){return r.map(function(r){return r.uniqueId===e?dM(dM({},r),t):r})})}}}),dB=nu(tn||(ea=[`
|
|
4272
4272
|
:host {
|
|
4273
4273
|
display: flex;
|
|
4274
4274
|
flex-direction: column;
|
|
@@ -4363,7 +4363,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4363
4363
|
margin-block-start: -50px;
|
|
4364
4364
|
}
|
|
4365
4365
|
}
|
|
4366
|
-
`],el||(el=ea.slice(0)),tn=Object.freeze(Object.defineProperties(ea,{raw:{value:Object.freeze(el)}})))),
|
|
4366
|
+
`],el||(el=ea.slice(0)),tn=Object.freeze(Object.defineProperties(ea,{raw:{value:Object.freeze(el)}})))),dH=ri("<style> "),dV=ri("<style>"),dY=ri("<span class=close>"),dq=ri("<div><div class=content>"),dG="n-notification-box";let dW=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=tJ(),a=dU.list,l=dU.add,s=dU.remove,c=nQ.baseStyle,u=document.getElementById(dG);if(l({type:e,icon:o,children:t,close:n,uniqueId:i}),r&&r>0)var d=setTimeout(function(){s(i),clearTimeout(d)},r);if(!u){(u=document.createElement("div")).id=dG,u.style.position="fixed",u.style.insetBlockStart="16px",u.style.insetInlineStart="50%",u.style.transform="translateX(-50%)",u.attachShadow({mode:"open"});var f=ro(function(){return ty(function(){if(0===a().length){var e;f(),null==(e=u)||e.remove()}}),tV(t2,{get when(){return a().length},get children(){var e,t,r;return[(t=(e=dH()).firstChild,tm(function(){return t.data=c()}),e),((r=dV()).textContent=dB,r),tV(t0,{get each(){return a()},children:function(e){var t,r;return r=(t=dq()).firstChild,rb(t,tV(t2,{get when(){return e.icon},get children(){return e.icon}}),r),rb(r,function(){return e.children}),rb(t,tV(t2,{get when(){return e.close},get children(){var n=dY();return rc(n,"click",function(){s(e.uniqueId)}),n}}),null),tm(function(r){var n=nf("notification",e.type),o=!!e.closeing;return n!==r.e&&rs(t,r.e=n),o!==r.t&&t.classList.toggle("closeing",r.t=o),r},{e:void 0,t:void 0}),t}})]}})},u.shadowRoot);document.body.appendChild(u)}return i},dX={info:dW.bind(null,"info"),success:dW.bind(null,"success"),error:dW.bind(null,"error"),warning:dW.bind(null,"warning"),primary:dW.bind(null,"primary"),update:dU.update,destory:dU.clean};var dZ=nu(to||(es=[`
|
|
4367
4367
|
.pagination {
|
|
4368
4368
|
ul {
|
|
4369
4369
|
display: inline-flex;
|
|
@@ -4443,9 +4443,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4443
4443
|
}
|
|
4444
4444
|
}
|
|
4445
4445
|
`],ec||(ec=es.slice(0)),to=Object.freeze(Object.defineProperties(es,{raw:{value:Object.freeze(ec)}}))));function dK(e){return(dK="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var dJ=ri("<li>"),dQ=ri("<li><slot name=total-text><n-typography>共 <!> 项",!0,!1,!1),d0=ri("<style> "),d1=ri("<style>"),d2=ri('<nav aria-label=pagination class=pagination><ul><li><n-button class="pagination-item pagination-prev">〈</n-button></li><li><n-button class="pagination-item pagination-next">〉',!0,!1,!1),d3=ri("<li><n-button class=pagination-item>",!0,!1,!1);function d4(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d5(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d5(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4446
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function d5(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d6(e){var t=nQ.baseStyle,r=d4(tZ(e,["page","pageSize","total","css","totalText"]),2),n=r[0],o=r[1],i=d4(tv(1),2),a=i[0],l=i[1],s=d4(tv(20),2),c=s[0],u=s[1],d=d4(tv(0),2),f=d[0],p=d[1];ty(function(){tw(function(){"number"==typeof n.page&&n.page!==tk(a)&&l(n.page),"number"==typeof n.pageSize&&n.pageSize!==tk(c)&&u(n.pageSize),"number"==typeof n.total&&n.total!==tk(f)&&p(n.total)})});var
|
|
4447
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}function fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var fd=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],ff=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function fp(e){if(e<fh.VERSION.MIN||e>fh.VERSION.MAX)throw RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return fy(208<=t&&t<=29648),t}function fb(e,t){return Math.floor(fp(e)/8)-fd[t.ordinal][e]*ff[t.ordinal][e]}function fg(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285^(t>>>n&1)*e;return fy(r>>>8==0),r}var fh=function(){function e(t,r,n,o){if(fo(this,e),fl(this,"modules",[]),fl(this,"isFunction",[]),fl(this,"MASK_PATTERNS",[function(e,t){return(e+t)%2==0},function(e,t){return t%2==0},function(e){return e%3==0},function(e,t){return(e+t)%3==0},function(e,t){return(Math.floor(e/3)+Math.floor(t/2))%2==0},function(e,t){return e*t%2+e*t%3==0},function(e,t){return(e*t%2+e*t%3)%2==0},function(e,t){return((e+t)%2+e*t%3)%2==0}]),this.version=t,this.errorCorrectionLevel=r,t<e.VERSION.MIN||t>e.VERSION.MAX)throw RangeError("Version value out of range");if(o<-1||o>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var i=Array(this.size).fill(!1),a=0;a<this.size;a++)this.modules[a]=i.slice(),this.isFunction[a]=i.slice();this.drawFunctionPatterns();var l=this.addEccAndInterleave(n);this.drawCodewords(l),this.mask=this.selectMask(o),this.applyMask(this.mask),this.drawFormatBits(this.mask),this.isFunction=[]}return fa(e,[{key:"selectMask",value:function(e){if(-1!==e)return e;for(var t=0,r=1e9,n=0;n<8;n++){this.applyMask(n),this.drawFormatBits(n);var o=this.getPenaltyScore();o<r&&(t=n,r=o),this.applyMask(n)}return fy(0<=t&&t<=7),t}},{key:"getModule",value:function(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}},{key:"drawFunctionPatterns",value:function(){for(var e=0;e<this.size;e++){var t=e%2==0;this.setFunctionModule(6,e,t),this.setFunctionModule(e,6,t)}this.drawFinderPattern(3,3);var r=this.size-4;this.drawFinderPattern(r,3),this.drawFinderPattern(3,r);for(var n=this.getAlignmentPatternPositions(),o=n.length,i=0;i<o;i++)for(var a=0;a<o;a++)(0!==i||0!==a)&&(0!==i||a!==o-1)&&(i!==o-1||0!==a)&&this.drawAlignmentPattern(n[i],n[a]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,r=t,n=0;n<10;n++)r=r<<1^(r>>>9)*1335;var o=(t<<10|r)^21522;fy(o>>>15==0);for(var i=0;i<=5;i++)this.setFunctionModule(8,i,fm(o,i));this.setFunctionModule(8,7,fm(o,6)),this.setFunctionModule(8,8,fm(o,7)),this.setFunctionModule(7,8,fm(o,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,fm(o,a));for(var l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,fm(o,l));for(var s=8;s<15;s++)this.setFunctionModule(8,this.size-15+s,fm(o,s));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;fy(r>>>18==0);for(var n=0;n<18;n++){var o=fm(r,n),i=this.size-11+n%3,a=Math.floor(n/3);this.setFunctionModule(i,a,o),this.setFunctionModule(a,i,o)}}}},{key:"drawFinderPattern",value:function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var o=Math.max(Math.abs(n),Math.abs(r)),i=e+n,a=t+r;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!==o&&4!==o)}}},{key:"drawAlignmentPattern",value:function(e,t){for(var r=-2;r<=2;r++)for(var n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!==Math.max(Math.abs(n),Math.abs(r)))}},{key:"setFunctionModule",value:function(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}},{key:"addEccAndInterleave",value:function(e){var t=this.version,r=this.errorCorrectionLevel;if(e.length!==fb(t,r))throw RangeError("Invalid argument");for(var n=ff[r.ordinal][t],o=fd[r.ordinal][t],i=Math.floor(fp(t)/8),a=n-i%n,l=Math.floor(i/n),s=[],c=function(e){if(e<1||e>255)throw RangeError("Degree out of range");for(var t=[],r=0;r<e-1;r++)t.push(0);t.push(1);for(var n=1,o=0;o<e;o++){for(var i=0;i<t.length;i++)t[i]=fg(t[i],n),i+1<t.length&&(t[i]^=t[i+1]);n=fg(n,2)}return t}(o),u=0,d=0;u<n;u++){var f=e.slice(d,d+l-o+(u<a?0:1)),p=function(e,t){var r,n=t.map(function(){return 0}),o=fc(e);try{for(o.s();!(r=o.n()).done;)!function(){var e=r.value^n.shift();n.push(0),t.forEach(function(t,r){return n[r]^=fg(t,e)})}()}catch(e){o.e(e)}finally{o.f()}return n}(f,c);d+=f.length,u<a&&f.push(0),s.push(f.concat(p))}for(var b=[],g=function(e){s.forEach(function(t,r){(e!==l-o||r>=a)&&b.push(t[e])})},h=0;h<s[0].length;h++)g(h);return fy(b.length===i),b}},{key:"drawCodewords",value:function(e){if(e.length!==Math.floor(fp(this.version)/8))throw RangeError("Invalid argument");for(var t=0,r=8*e.length,n=this.size-1;n>=1;n-=2){6===n&&(n=5);for(var o=0;o<this.size;o++)for(var i=0;i<2;i++){var a=n-i,l=(n+1&2)==0?this.size-1-o:o;!this.isFunction[l][a]&&t<r&&(this.modules[l][a]=fm(e[t>>>3],7-(7&t)),t++)}}fy(t===r)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=this.MASK_PATTERNS[e],r=0;r<this.size;r++)for(var n=0;n<this.size;n++)!this.isFunction[r][n]&&t(n,r)&&(this.modules[r][n]=!this.modules[r][n])}},{key:"getPenaltyScore",value:function(){for(var t=0,r=0;r<this.size;r++){for(var n=!1,o=0,i=[0,0,0,0,0,0,0],a=0;a<this.size;a++)this.modules[r][a]===n?5==++o?t+=e.PENALTY.N1:o>5&&t++:(this.finderPenaltyAddHistory(o,i),n||(t+=this.finderPenaltyCountPatterns(i)*e.PENALTY.N3),n=this.modules[r][a],o=1);t+=this.finderPenaltyTerminateAndCount(n,o,i)*e.PENALTY.N3}for(var l=0;l<this.size;l++){for(var s=!1,c=0,u=[0,0,0,0,0,0,0],d=0;d<this.size;d++)this.modules[d][l]===s?5==++c?t+=e.PENALTY.N1:c>5&&t++:(this.finderPenaltyAddHistory(c,u),s||(t+=this.finderPenaltyCountPatterns(u)*e.PENALTY.N3),s=this.modules[d][l],c=1);t+=this.finderPenaltyTerminateAndCount(s,c,u)*e.PENALTY.N3}for(var f=0;f<this.size-1;f++)for(var p=0;p<this.size-1;p++){var b=this.modules[f][p];b===this.modules[f][p+1]&&b===this.modules[f+1][p]&&b===this.modules[f+1][p+1]&&(t+=e.PENALTY.N2)}var g,h=0,v=fc(this.modules);try{for(v.s();!(g=v.n()).done;)h=g.value.reduce(function(e,t){return e+ +!!t},h)}catch(e){v.e(e)}finally{v.f()}var m=this.size*this.size,y=Math.ceil(Math.abs(20*h-10*m)/m)-1;return fy(0<=y&&y<=9),fy(0<=(t+=y*e.PENALTY.N4)&&t<=2568888),t}},{key:"getAlignmentPatternPositions",value:function(){if(1===this.version)return[];for(var e=Math.floor(this.version/7)+2,t=2*Math.floor((8*this.version+3*e+5)/(4*e-4)),r=[6],n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}},{key:"finderPenaltyCountPatterns",value:function(e){var t=e[1];if(fy(t<=3*this.size),t<=0||e[2]!==t||e[3]!==3*t||e[4]!==t||e[5]!==t)return 0;var r=0;return e[0]>=4*t&&e[6]>=t&&r++,e[6]>=4*t&&e[0]>=t&&r++,r}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}},{key:"finderPenaltyAddHistory",value:function(e,t){0===t[0]&&(e+=this.size),t.pop(),t.unshift(e)}}])}();function fv(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var n=t-1;n>=0;n--)r.push(e>>>n&1)}function fm(e,t){return(e>>>t&1)!=0}function fy(e){if(!e)throw Error("Assertion error")}fl(fh,"VERSION",{MIN:1,MAX:40}),fl(fh,"PENALTY",{N1:3,N2:3,N3:40,N4:10});var fx=fa(function e(t,r,n){if(fo(this,e),this.mode=t,this.numChars=r,this.bitData=n,r<0)throw RangeError("Invalid argument");this.bitData=n.slice()},[{key:"getData",value:function(){return this.bitData.slice()}}]),fw=/^[0-9]*$/,fk=/^[A-Z0-9 $%*+./:-]*$/,fS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",fA=function(){function e(t,r){fo(this,e),this.ordinal=t,this.formatBits=r}return fa(e,null,[{key:"get",value:function(t){return e.LEVELS[t]}}])}();fl(fA,"LEVELS",{LOW:new fA(0,1),MEDIUM:new fA(1,0),QUARTILE:new fA(2,3),HIGH:new fA(3,2)});var fO=function(){function e(t,r){fo(this,e),this.modeBits=t,this.numBitsCharCount=r}return fa(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}],[{key:"get",value:function(t){return e.modes[t]}}])}();fl(fO,"modes",{NUMERIC:new fO(1,[10,12,14]),ALPHANUMERIC:new fO(2,[9,11,13]),BYTE:new fO(4,[8,16,16]),KANJI:new fO(8,[8,10,12]),ECI:new fO(7,[0,0,0])});var fC=ri('<svg><image preserveAspectRatio="xMidYMid meet"></svg>',!1,!0,!1),fE=ri("<svg xmlns=http://www.w3.org/2000/svg stroke=none shape-rendering=crispEdges role=img><path></path><path>"),fz=ri("<canvas role=img>"),fj=ri("<style>");function fT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var fI=function(e){var t,r,n,o,i=nQ.isDark,a=function(e){if(Array.isArray(e))return e}(t=tZ(tX({size:160,iconSize:7,border:1,ecl:"m",type:"svg"},e),["value","border","size","type","minVersion","maxVersion","mask","boostEcc","ecl","bgColor","color","iconSize","shape"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return fT(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fT(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4448
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),l=a[0],s=a[1],c={l:fA.get("LOW"),m:fA.get("MEDIUM"),q:fA.get("QUARTILE"),h:fA.get("HIGH")};return ty(function(e){i();var t,a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,i=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(fh.VERSION.MIN<=r&&r<=n&&n<=fh.VERSION.MAX)||o<-1||o>7)throw RangeError("Invalid value");var a,l,s=t;for(a=r;;a++){var c=8*
|
|
4446
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function d5(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d6(e){var t=nQ.baseStyle,r=d4(tZ(e,["page","pageSize","total","css","totalText"]),2),n=r[0],o=r[1],i=d4(tv(1),2),a=i[0],l=i[1],s=d4(tv(20),2),c=s[0],u=s[1],d=d4(tv(0),2),f=d[0],p=d[1];ty(function(){tw(function(){"number"==typeof n.page&&n.page!==tk(a)&&l(n.page),"number"==typeof n.pageSize&&n.pageSize!==tk(c)&&u(n.pageSize),"number"==typeof n.total&&n.total!==tk(f)&&p(n.total)})});var g=tx(function(){return Math.ceil(f()/c())}),b=tx(function(){var e=g(),t=[];if(e<=5)for(var r=1;r<=e;r++)t.push(r);else for(var n=Math.min(e,Math.max(1,a()-Math.floor(2.5))+5-1),o=n-5+1;o<=n;o++)t.push(o);if(t.length){var i=t[t.length-1],l=t[0];l>=2&&(2===l?t.splice(0,1,"p"):t.unshift("p"),t.unshift(1),i<e&&(i+=1,t.push(i))),i===e-1?(t.splice(t.length-1,1,"n"),t.push(e)):i<e-1&&(t.push("n"),t.push(e))}return t});function h(e){var t,r=tk(a),i="n"===e?r+5:"p"===e?r-5:e;i<1?i=1:i>tk(g)&&(i=tk(g)),r!==i&&(void 0===n.page&&l(i),null==(t=o.onChange)||t.call(o,i,tk(c)))}var v=function(){var e=tx(function(){return[(a()-1)*c()+1,a()*c()]});return tV(t2,{get when(){return!1!==n.totalText},get children(){var t,r=dJ();return rb(r,(t=rr(function(){return!!oR(n.totalText)}),function(){var r,o,i,a;return t()?n.totalText(f(),e()):((a=(i=(o=(r=dQ()).firstChild).firstChild).firstChild.nextSibling).nextSibling,o._$owner=tu,i._$owner=tu,rb(i,f,a),r)})),r}})};return tV(t2,{get when(){return b().length},get children(){var m,y,x,w,k,S,A,O,C;return[(y=(m=d0()).firstChild,tm(function(){return y.data=t()}),m),((x=d1()).textContent=dZ,x),tV(t2,{get when(){return n.css},get children(){var E=d0(),z=E.firstChild;return tm(function(){return z.data=nu(n.css)}),E}}),(A=(S=(k=(w=d2()).firstChild).firstChild).firstChild,C=(O=S.nextSibling).firstChild,rb(k,tV(v,{}),S),A.$$click=function(){h(tk(a)-1)},A.flat=!0,A.circle=!0,A._$owner=tu,rb(k,tV(t0,{get each(){return b()},children:function(e){var t,r,n=tx(function(){return e===a()});return(r=(t=d3()).firstChild).$$click=function(){h(e)},r.circle="number"!=typeof e,r._$owner=tu,rb(r,e),tm(function(t){var i,a,l,s,c=(a={},l="pagination-".concat(e),s="number"!=typeof e,(i=function(e,t){if("object"!=dK(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=dK(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(l,"string"),(l="symbol"==dK(i)?i:i+"")in a)?Object.defineProperty(a,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[l]=s,a),u=o.size,d=!n(),f=n()?"primary":"default",p=n(),g=n()&&"page";return t.e=ru(r,c,t.e),u!==t.t&&(r.size=t.t=u),d!==t.a&&(r.flat=t.a=d),f!==t.o&&(r.type=t.o=f),p!==t.i&&(r.fill=t.i=p),g!==t.n&&(r.ariaCurrent=t.n=g),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0}),t}}),O),C.$$click=function(){h(tk(a)+1)},C.flat=!0,C.circle=!0,C._$owner=tu,tm(function(e){var t=o.size,r=1===a(),n=o.size,i=a()===g();return t!==e.e&&(A.size=e.e=t),r!==e.t&&(A.disabled=e.t=r),n!==e.a&&(C.size=e.a=n),i!==e.o&&(C.disabled=e.o=i),e},{e:void 0,t:void 0,a:void 0,o:void 0}),w)]}})}d6.registry=function(){iG.registry(),oY.registry(),nx("n-pagination",{class:void 0,css:void 0,page:void 0,pageSize:void 0,total:0,size:void 0,onChange:void 0,totalText:void 0},function(e,t){var r,n=t.element,o=tX({css:n.css,onChange:function(e,t){n.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))}},e,{totalText:!!n.querySelector("[slot='total-text']")||e.totalText});return ty(function(){nA(n,["css"])}),[((r=d1()).textContent=nJ,r),tV(d6,o)]})};let d8=d6;ra(["click"]);var d9=r(643),d7=ri("<style> "),fe=ri("<slot>");function ft(e){var t,r,n,o=nQ.baseStyle,i=nQ.scheme,a=nQ.setScheme;return ty(function(){var t;null==(t=e.onScheme)||t.call(e,i())}),ty(function(){e.scheme&&a(e.scheme)}),[(r=(t=d7()).firstChild,tm(function(){return r.data=o()}),t),((n=fe())._$owner=tu,n)]}ft.registry=function(){nx("n-provider",function(e,t){nv();var r=t.element;return tV(ft,tX({onScheme:function(e){r.dispatchEvent(new CustomEvent("scheme",{detail:e}))}},e))})};let fr=ft;function fn(e){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fo(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function fi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,fs(n.key),n)}}function fa(e,t,r){return t&&fi(e.prototype,t),r&&fi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function fl(e,t,r){return(t=fs(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){var t=function(e,t){if("object"!=fn(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=fn(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==fn(t)?t:t+""}function fc(e,t){var r="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e){if(e){if("string"==typeof e)return fu(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fu(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4447
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}function fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var fd=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],ff=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]];function fp(e){if(e<fh.VERSION.MIN||e>fh.VERSION.MAX)throw RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return fy(208<=t&&t<=29648),t}function fg(e,t){return Math.floor(fp(e)/8)-fd[t.ordinal][e]*ff[t.ordinal][e]}function fb(e,t){if(e>>>8!=0||t>>>8!=0)throw RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285^(t>>>n&1)*e;return fy(r>>>8==0),r}var fh=function(){function e(t,r,n,o){if(fo(this,e),fl(this,"modules",[]),fl(this,"isFunction",[]),fl(this,"MASK_PATTERNS",[function(e,t){return(e+t)%2==0},function(e,t){return t%2==0},function(e){return e%3==0},function(e,t){return(e+t)%3==0},function(e,t){return(Math.floor(e/3)+Math.floor(t/2))%2==0},function(e,t){return e*t%2+e*t%3==0},function(e,t){return(e*t%2+e*t%3)%2==0},function(e,t){return((e+t)%2+e*t%3)%2==0}]),this.version=t,this.errorCorrectionLevel=r,t<e.VERSION.MIN||t>e.VERSION.MAX)throw RangeError("Version value out of range");if(o<-1||o>7)throw RangeError("Mask value out of range");this.size=4*t+17;for(var i=Array(this.size).fill(!1),a=0;a<this.size;a++)this.modules[a]=i.slice(),this.isFunction[a]=i.slice();this.drawFunctionPatterns();var l=this.addEccAndInterleave(n);this.drawCodewords(l),this.mask=this.selectMask(o),this.applyMask(this.mask),this.drawFormatBits(this.mask),this.isFunction=[]}return fa(e,[{key:"selectMask",value:function(e){if(-1!==e)return e;for(var t=0,r=1e9,n=0;n<8;n++){this.applyMask(n),this.drawFormatBits(n);var o=this.getPenaltyScore();o<r&&(t=n,r=o),this.applyMask(n)}return fy(0<=t&&t<=7),t}},{key:"getModule",value:function(e,t){return e>=0&&e<this.size&&t>=0&&t<this.size&&this.modules[t][e]}},{key:"drawFunctionPatterns",value:function(){for(var e=0;e<this.size;e++){var t=e%2==0;this.setFunctionModule(6,e,t),this.setFunctionModule(e,6,t)}this.drawFinderPattern(3,3);var r=this.size-4;this.drawFinderPattern(r,3),this.drawFinderPattern(3,r);for(var n=this.getAlignmentPatternPositions(),o=n.length,i=0;i<o;i++)for(var a=0;a<o;a++)(0!==i||0!==a)&&(0!==i||a!==o-1)&&(i!==o-1||0!==a)&&this.drawAlignmentPattern(n[i],n[a]);this.drawFormatBits(0),this.drawVersion()}},{key:"drawFormatBits",value:function(e){for(var t=this.errorCorrectionLevel.formatBits<<3|e,r=t,n=0;n<10;n++)r=r<<1^(r>>>9)*1335;var o=(t<<10|r)^21522;fy(o>>>15==0);for(var i=0;i<=5;i++)this.setFunctionModule(8,i,fm(o,i));this.setFunctionModule(8,7,fm(o,6)),this.setFunctionModule(8,8,fm(o,7)),this.setFunctionModule(7,8,fm(o,8));for(var a=9;a<15;a++)this.setFunctionModule(14-a,8,fm(o,a));for(var l=0;l<8;l++)this.setFunctionModule(this.size-1-l,8,fm(o,l));for(var s=8;s<15;s++)this.setFunctionModule(8,this.size-15+s,fm(o,s));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;fy(r>>>18==0);for(var n=0;n<18;n++){var o=fm(r,n),i=this.size-11+n%3,a=Math.floor(n/3);this.setFunctionModule(i,a,o),this.setFunctionModule(a,i,o)}}}},{key:"drawFinderPattern",value:function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var o=Math.max(Math.abs(n),Math.abs(r)),i=e+n,a=t+r;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!==o&&4!==o)}}},{key:"drawAlignmentPattern",value:function(e,t){for(var r=-2;r<=2;r++)for(var n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!==Math.max(Math.abs(n),Math.abs(r)))}},{key:"setFunctionModule",value:function(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}},{key:"addEccAndInterleave",value:function(e){var t=this.version,r=this.errorCorrectionLevel;if(e.length!==fg(t,r))throw RangeError("Invalid argument");for(var n=ff[r.ordinal][t],o=fd[r.ordinal][t],i=Math.floor(fp(t)/8),a=n-i%n,l=Math.floor(i/n),s=[],c=function(e){if(e<1||e>255)throw RangeError("Degree out of range");for(var t=[],r=0;r<e-1;r++)t.push(0);t.push(1);for(var n=1,o=0;o<e;o++){for(var i=0;i<t.length;i++)t[i]=fb(t[i],n),i+1<t.length&&(t[i]^=t[i+1]);n=fb(n,2)}return t}(o),u=0,d=0;u<n;u++){var f=e.slice(d,d+l-o+(u<a?0:1)),p=function(e,t){var r,n=t.map(function(){return 0}),o=fc(e);try{for(o.s();!(r=o.n()).done;)!function(){var e=r.value^n.shift();n.push(0),t.forEach(function(t,r){return n[r]^=fb(t,e)})}()}catch(e){o.e(e)}finally{o.f()}return n}(f,c);d+=f.length,u<a&&f.push(0),s.push(f.concat(p))}for(var g=[],b=function(e){s.forEach(function(t,r){(e!==l-o||r>=a)&&g.push(t[e])})},h=0;h<s[0].length;h++)b(h);return fy(g.length===i),g}},{key:"drawCodewords",value:function(e){if(e.length!==Math.floor(fp(this.version)/8))throw RangeError("Invalid argument");for(var t=0,r=8*e.length,n=this.size-1;n>=1;n-=2){6===n&&(n=5);for(var o=0;o<this.size;o++)for(var i=0;i<2;i++){var a=n-i,l=(n+1&2)==0?this.size-1-o:o;!this.isFunction[l][a]&&t<r&&(this.modules[l][a]=fm(e[t>>>3],7-(7&t)),t++)}}fy(t===r)}},{key:"applyMask",value:function(e){if(e<0||e>7)throw RangeError("Mask value out of range");for(var t=this.MASK_PATTERNS[e],r=0;r<this.size;r++)for(var n=0;n<this.size;n++)!this.isFunction[r][n]&&t(n,r)&&(this.modules[r][n]=!this.modules[r][n])}},{key:"getPenaltyScore",value:function(){for(var t=0,r=0;r<this.size;r++){for(var n=!1,o=0,i=[0,0,0,0,0,0,0],a=0;a<this.size;a++)this.modules[r][a]===n?5==++o?t+=e.PENALTY.N1:o>5&&t++:(this.finderPenaltyAddHistory(o,i),n||(t+=this.finderPenaltyCountPatterns(i)*e.PENALTY.N3),n=this.modules[r][a],o=1);t+=this.finderPenaltyTerminateAndCount(n,o,i)*e.PENALTY.N3}for(var l=0;l<this.size;l++){for(var s=!1,c=0,u=[0,0,0,0,0,0,0],d=0;d<this.size;d++)this.modules[d][l]===s?5==++c?t+=e.PENALTY.N1:c>5&&t++:(this.finderPenaltyAddHistory(c,u),s||(t+=this.finderPenaltyCountPatterns(u)*e.PENALTY.N3),s=this.modules[d][l],c=1);t+=this.finderPenaltyTerminateAndCount(s,c,u)*e.PENALTY.N3}for(var f=0;f<this.size-1;f++)for(var p=0;p<this.size-1;p++){var g=this.modules[f][p];g===this.modules[f][p+1]&&g===this.modules[f+1][p]&&g===this.modules[f+1][p+1]&&(t+=e.PENALTY.N2)}var b,h=0,v=fc(this.modules);try{for(v.s();!(b=v.n()).done;)h=b.value.reduce(function(e,t){return e+ +!!t},h)}catch(e){v.e(e)}finally{v.f()}var m=this.size*this.size,y=Math.ceil(Math.abs(20*h-10*m)/m)-1;return fy(0<=y&&y<=9),fy(0<=(t+=y*e.PENALTY.N4)&&t<=2568888),t}},{key:"getAlignmentPatternPositions",value:function(){if(1===this.version)return[];for(var e=Math.floor(this.version/7)+2,t=2*Math.floor((8*this.version+3*e+5)/(4*e-4)),r=[6],n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}},{key:"finderPenaltyCountPatterns",value:function(e){var t=e[1];if(fy(t<=3*this.size),t<=0||e[2]!==t||e[3]!==3*t||e[4]!==t||e[5]!==t)return 0;var r=0;return e[0]>=4*t&&e[6]>=t&&r++,e[6]>=4*t&&e[0]>=t&&r++,r}},{key:"finderPenaltyTerminateAndCount",value:function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}},{key:"finderPenaltyAddHistory",value:function(e,t){0===t[0]&&(e+=this.size),t.pop(),t.unshift(e)}}])}();function fv(e,t,r){if(t<0||t>31||e>>>t!=0)throw RangeError("Value out of range");for(var n=t-1;n>=0;n--)r.push(e>>>n&1)}function fm(e,t){return(e>>>t&1)!=0}function fy(e){if(!e)throw Error("Assertion error")}fl(fh,"VERSION",{MIN:1,MAX:40}),fl(fh,"PENALTY",{N1:3,N2:3,N3:40,N4:10});var fx=fa(function e(t,r,n){if(fo(this,e),this.mode=t,this.numChars=r,this.bitData=n,r<0)throw RangeError("Invalid argument");this.bitData=n.slice()},[{key:"getData",value:function(){return this.bitData.slice()}}]),fw=/^[0-9]*$/,fk=/^[A-Z0-9 $%*+./:-]*$/,fS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",fA=function(){function e(t,r){fo(this,e),this.ordinal=t,this.formatBits=r}return fa(e,null,[{key:"get",value:function(t){return e.LEVELS[t]}}])}();fl(fA,"LEVELS",{LOW:new fA(0,1),MEDIUM:new fA(1,0),QUARTILE:new fA(2,3),HIGH:new fA(3,2)});var fO=function(){function e(t,r){fo(this,e),this.modeBits=t,this.numBitsCharCount=r}return fa(e,[{key:"numCharCountBits",value:function(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}}],[{key:"get",value:function(t){return e.modes[t]}}])}();fl(fO,"modes",{NUMERIC:new fO(1,[10,12,14]),ALPHANUMERIC:new fO(2,[9,11,13]),BYTE:new fO(4,[8,16,16]),KANJI:new fO(8,[8,10,12]),ECI:new fO(7,[0,0,0])});var fC=ri('<svg><image preserveAspectRatio="xMidYMid meet"></svg>',!1,!0,!1),fE=ri("<svg xmlns=http://www.w3.org/2000/svg stroke=none shape-rendering=crispEdges role=img><path></path><path>"),fz=ri("<canvas role=img>"),fj=ri("<style>");function fT(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var fI=function(e){var t,r,n,o,i=nQ.isDark,a=function(e){if(Array.isArray(e))return e}(t=tZ(tX({size:160,iconSize:7,border:1,ecl:"m",type:"svg"},e),["value","border","size","type","minVersion","maxVersion","mask","boostEcc","ecl","bgColor","color","iconSize","shape"]))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return fT(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fT(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4448
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),l=a[0],s=a[1],c={l:fA.get("LOW"),m:fA.get("MEDIUM"),q:fA.get("QUARTILE"),h:fA.get("HIGH")};return ty(function(e){i();var t,a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:40,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,i=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(!(fh.VERSION.MIN<=r&&r<=n&&n<=fh.VERSION.MAX)||o<-1||o>7)throw RangeError("Invalid value");var a,l,s=t;for(a=r;;a++){var c=8*fg(a,s),u=function(e,t){var r,n=0,o=fc(e);try{for(o.s();!(r=o.n()).done;){var i=r.value,a=i.mode.numCharCountBits(t);if(i.numChars>=1<<a)return 1/0;n+=4+a+i.bitData.length}}catch(e){o.e(e)}finally{o.f()}return n}(e,a);if(u<=c){l=u;break}if(a>=n)throw RangeError("Data too long")}if(i)for(var d=0,f=[fA.get("MEDIUM"),fA.get("QUARTILE"),fA.get("HIGH")];d<f.length;d++){var p=f[d];l<=8*fg(a,p)&&(s=p)}var g,b=[],h=fc(e);try{for(h.s();!(g=h.n()).done;){var v=g.value;fv(v.mode.modeBits,4,b),fv(v.numChars,v.mode.numCharCountBits(a),b);var m,y=fc(v.getData());try{for(y.s();!(m=y.n()).done;){var x=m.value;b.push(x)}}catch(e){y.e(e)}finally{y.f()}}}catch(e){h.e(e)}finally{h.f()}fy(b.length===l);var w=8*fg(a,s);fy(b.length<=w),fv(0,Math.min(4,w-b.length),b),fv(0,(8-b.length%8)%8,b),fy(b.length%8==0);for(var k=236;b.length<w;k^=253)fv(k,8,b);for(var S=[];8*S.length<b.length;)S.push(0);return b.forEach(function(e,t){return S[t>>>3]|=e<<7-(7&t)}),new fh(a,s,S,o)}(function(e){var t,r;if(""===e)return[];if(t=e,fw.test(t))return[function(e){if(!fw.test(e))throw RangeError("String contains non-numeric characters");for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,3);fv(parseInt(e.substring(r,r+n),10),3*n+1,t),r+=n}return new fx(fO.get("NUMERIC"),e.length,t)}(e)];return(r=e,fk.test(r))?[function(e){if(!fk.test(e))throw RangeError("String contains unencodable characters in alphanumeric mode");var t,r=[];for(t=0;t+2<=e.length;t+=2){var n=45*fS.indexOf(e.charAt(t));fv(n+=fS.indexOf(e.charAt(t+1)),11,r)}return t<e.length&&fv(fS.indexOf(e.charAt(t)),6,r),new fx(fO.get("ALPHANUMERIC"),e.length,r)}(e)]:[function(e){var t,r=[],n=fc(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;fv(o,8,r)}}catch(e){n.e(e)}finally{n.f()}return new fx(fO.get("BYTE"),e.length,r)}(function(e){e=encodeURI(e);for(var t=[],r=0;r<e.length;r++)"%"!==e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substring(r+1,r+3),16)),r+=2);return t}(e))]}(l.value),c[l.ecl],l.minVersion,l.maxVersion,l.mask,l.boostEcc);if("canvas"===l.type){if(l.size<=0||l.border<0||!r)throw RangeError("Value out of range");var u=l.size/(a.size+2*l.border),d=u/2;r.width=l.size,r.height=l.size,t=window.getComputedStyle(r);var f=r.getContext("2d"),p=l.color||(null==e?void 0:e.color)||t.color,g=l.bgColor||(null==e?void 0:e.bg)||t.backgroundColor;f.clearRect(0,0,l.size,l.size),f.fillStyle=g,f.fillRect(0,0,l.size,l.size),f.fillStyle=p;for(var b=-l.border;b<a.size+l.border;b++)for(var h=(b+l.border)*u,v=-l.border;v<a.size+l.border;v++)if(a.getModule(v,b)){var m=(v+l.border)*u;switch(l.shape){case"circle":f.beginPath(),f.arc(m+d,h+d,d,0,2*Math.PI),f.fill();break;case"heart":f.beginPath(),f.moveTo(m+d,h+u/4),f.bezierCurveTo(m+.1*u,h-.2*u,m-.3*u,h+.6*u,m+d,h+u),f.bezierCurveTo(m+1.3*u,h+.6*u,m+.9*u,h-.2*u,m+d,h+u/4),f.closePath(),f.fill();break;case"rhombus":f.beginPath(),f.moveTo(m+d,h),f.lineTo(m+u,h+d),f.lineTo(m+d,h+u),f.lineTo(m,h+d),f.closePath(),f.fill();break;default:f.fillRect(Math.floor(m),Math.floor(h),Math.ceil(u),Math.ceil(u))}}s.icon&&(o||(o=new Image(l.iconSize,l.iconSize)),o.src=s.icon,o.onload=function(){var e=(l.size+l.border*u-l.iconSize)/2;f.drawImage(o,e,e,l.iconSize,l.iconSize)})}else{if(l.border<0)throw RangeError("Border must be non-negative");for(var y=[],x=0;x<a.size;x++)for(var w=0;w<a.size;w++)if(a.getModule(w,x))switch(l.shape){case"circle":y.push("M".concat(w+l.border+.5,",").concat(x+l.border+.5," m -0.5, 0 a 0.5,0.5 0 1,0 1,0 a 0.5,0.5 0 1,0 -1,0"));break;case"rhombus":y.push("M".concat(w+l.border+.5,",").concat(x+l.border," L").concat(w+l.border+1,",").concat(x+l.border+.5," L").concat(w+l.border+.5,",").concat(x+l.border+1," L").concat(w+l.border,",").concat(x+l.border+.5," Z"));break;case"heart":y.push("M".concat(w+l.border+.5,",").concat(x+l.border+.25," C").concat(w+l.border+.1,",").concat(x+l.border-.2," ").concat(w+l.border-.3,",").concat(x+l.border+.6," ").concat(w+l.border+.5,",").concat(x+l.border+1," C").concat(w+l.border+1.3,",").concat(x+l.border+.6," ").concat(w+l.border+.9,",").concat(x+l.border-.2," ").concat(w+l.border+.5,",").concat(x+l.border+.25," Z"));break;default:y.push("M".concat(w+l.border,",").concat(x+l.border,"h1v1h-1z"))}var k=null==n?void 0:n.querySelectorAll("path"),S=a.size+2*l.border;null==n||n.setAttribute("viewBox","0 0 ".concat(S," ").concat(S)),t=window.getComputedStyle(n),k.length>0&&(k[0].setAttribute("d","M0,0 h".concat(S,"v").concat(S,"H0z")),k[0].setAttribute("fill",l.bgColor||(null==e?void 0:e.bg)||t.backgroundColor),k[1].setAttribute("d",y.join(" ")),k[1].setAttribute("fill",l.color||(null==e?void 0:e.color)||t.color));var A=null==n?void 0:n.querySelector("image");if(A){var O="".concat((a.size+2*l.border-l.iconSize)/2);A.setAttribute("x",O),A.setAttribute("y",O),A.setAttribute("width","".concat(l.iconSize)),A.setAttribute("height","".concat(l.iconSize))}}return{color:t.color,bg:t.backgroundColor}}),tV(t2,{get when(){return"svg"===l.type},get fallback(){var u,d;return u=fz(),"function"==typeof(d=r)?rg(d,u):r=u,u},get children(){var f=fE();f.firstChild.nextSibling;var p=n;return"function"==typeof p?rg(p,f):n=f,rb(f,tV(t2,{get when(){return s.icon},get children(){var g=fC();return tm(function(){return rl(g,"href",s.icon)}),g}}),null),tm(function(e){var t=l.size,r=l.size;return t!==e.e&&rl(f,"width",e.e=t),r!==e.t&&rl(f,"height",e.t=r),e},{e:void 0,t:void 0}),f}})},fP={value:"",icon:void 0,color:void 0,bgColor:void 0,size:void 0,iconSize:void 0,ecl:void 0,minVersion:void 0,maxVersion:void 0,mask:void 0,boostEcc:!1,border:void 0,type:void 0,shape:void 0};fI.registry=function(){nx("n-qrcode",fP,function(e,t){var r,n=t.element;return ty(function(){nA(n,["value","icon"])}),[((r=fj()).textContent=nK,r),tV(fI,e)]})};let f_=fI;var f$=nu(ti||(eu=[`
|
|
4449
4449
|
.box {
|
|
4450
4450
|
position: relative;
|
|
4451
4451
|
display: flex;
|
|
@@ -4534,8 +4534,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4534
4534
|
}
|
|
4535
4535
|
}
|
|
4536
4536
|
}
|
|
4537
|
-
`],ed||(ed=eu.slice(0)),ti=Object.freeze(Object.defineProperties(eu,{raw:{value:Object.freeze(ed)}})))),fL=ri("<style> "),fN=ri("<style>"),fR=ri("<div>"),fM=ri("<input class=segmented type=radio>"),fD=ri("<span class=icon>"),fF=ri("<n-typography type=secondary>",!0,!1,!1),fU=ri("<label><span class=text>");function
|
|
4538
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function
|
|
4537
|
+
`],ed||(ed=eu.slice(0)),ti=Object.freeze(Object.defineProperties(eu,{raw:{value:Object.freeze(ed)}})))),fL=ri("<style> "),fN=ri("<style>"),fR=ri("<div>"),fM=ri("<input class=segmented type=radio>"),fD=ri("<span class=icon>"),fF=ri("<n-typography type=secondary>",!0,!1,!1),fU=ri("<label><span class=text>");function fB(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fH(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fH(e,t):void 0}}(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4538
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function fH(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function fV(e){var t,r,n,o,i,a,l,s,c,u,d=nQ.baseStyle,f=nQ.isDark,p=fB(tv(e.defaultValue),2),g=p[0],b=p[1],h=fB(tv(""),2),v=h[0],m=h[1],y=tx(function(){var e=f();return nu({":host":{"--segmented-bg":e?"#000":"var(--primary-details-bg)","--segmented-current-bg":e?"#1f1f1f":"#fff"}})}),x=tx(function(){return Object.assign({},nS,e.fieldNames)});function w(t){if(!e.disabled&&!t.disabled){var r=t[x().value];oR(e.onChange)&&e.onChange(r),void 0===e.value&&b(r)}}var k=tx(function(){return aw(e.options,x())});return ty(function(){b(void 0!==e.value&&e.value||e.defaultValue)}),ty(function(){var e=k().find(function(e){return e[x().value]===g()}),t=setTimeout(function(){clearTimeout(t);var r=null==e?void 0:e.ref;r?m(".box {--w: ".concat(r.offsetWidth,"px;--h: ").concat(r.offsetHeight,"px;--left: ").concat(r.offsetLeft,"px;}")):m("")},0)}),[(r=(t=fL()).firstChild,tm(function(){return r.data=d()}),t),(o=(n=fL()).firstChild,tm(function(){return o.data=y()}),n),((i=fN()).textContent=f$,i),(l=(a=fL()).firstChild,tm(function(){return l.data=v()}),a),tV(t2,{get when(){return e.css},get children(){var S=fL(),A=S.firstChild;return tm(function(){return A.data=nu(e.css)}),S}}),(s=fR(),"function"==typeof(c=u)?rg(c,s):u=s,rb(s,tV(t0,{get each(){return k()},children:function(t,r){var n,o,i,a,l=e.disabled||t.disabled,s=function(){w(t)},c=x();return[(rc(n=fM(),"change",s),n.disabled=l,tm(function(){return rl(n,"name",e.name)}),tm(function(){return n.value=t[c.value]}),tm(function(){return n.checked=t[c.value]===g()}),n),(i=(o=fU()).firstChild,"function"==typeof(a=k()[r()].ref)?rg(a,o):k()[r()].ref=o,rc(o,"click",s),rc(o,"keyup",function(e){var r;r=e.key,"Enter"===r&&w(t)}),rl(o,"tabindex",l?-1:0),rl(o,"aria-disabled",l),rb(o,tV(t2,{get when(){return t[c.icon]},get children(){var u=fD();return rb(u,function(){return t[c.icon]}),u}}),i),rb(i,function(){return t[c.label]}),rb(o,tV(t2,{get when(){return t[c.suffix]},get children(){var d=fF();return d._$owner=tu,rb(d,function(){return t[c.suffix]}),d}}),null),tm(function(){return rs(o,nf("label",t.class))}),o)]}})),tm(function(){return rs(s,nf("box",e.class))}),s)]}fV.registry=function(){oY.registry(),nx("n-segmented",{class:void 0,css:void 0,name:void 0,disabled:void 0,value:void 0,defaultValue:void 0,options:[],onChange:void 0,fieldNames:void 0},function(e,t){var r,n=t.element,o=tX({css:n.css,name:n.name,disabled:n.disabled,value:n.value,defaultValue:n.defaultValue,options:n.options,fieldNames:n.fieldNames,onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["options","css","fieldNames"])}),[((r=fN()).textContent=nK,r),tV(fV,o)]})};let fY=fV;var fq=ri("<style> "),fG=ri("<style>"),fW=ri("<div class=avatar>"),fX=ri("<div class=title>"),fZ=ri("<div><div class=body><div class=paragraph>"),fK=ri("<div>"),fJ=nu(ta||(ef=[`
|
|
4539
4539
|
:host {
|
|
4540
4540
|
display: block;
|
|
4541
4541
|
inline-size: 100%;
|
|
@@ -4605,7 +4605,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4605
4605
|
background-position-x: -20%;
|
|
4606
4606
|
}
|
|
4607
4607
|
}
|
|
4608
|
-
`],ep||(ep=ef.slice(0)),ta=Object.freeze(Object.defineProperties(ef,{raw:{value:Object.freeze(ep)}}))));function fQ(e){var t,r,n,o,i,a,l,s,c=nQ.baseStyle,u=nQ.isDark,d=tx(function(){return Array(e.rows).fill(0)}),f=tx(function(){var e=u();return nu({":host":{"--skeleton-bg":e?"rgb(255 255 255 / 6%)":"rgb(0 0 0 / 6%)","--skeleton-bg-active":e?"linear-gradient(100deg,rgb(255 255 255 / 5%) 40%,rgb(255 255 255 / 15%) 50%,rgb(255 255 255 / 5%) 60%) transparent 180%/200% 100%":"linear-gradient(100deg,rgb(0 0 0 / 5%) 40%,rgb(0 0 0 / 15%) 50%,rgb(0 0 0 / 5%) 60%) transparent 180%/200% 100%"}})});return[(r=(t=fq()).firstChild,tm(function(){return r.data=c()}),t),(o=(n=fq()).firstChild,tm(function(){return o.data=f()}),n),((i=fG()).textContent=fJ,i),tV(t2,{get when(){return e.css},get children(){var p=fq(),
|
|
4608
|
+
`],ep||(ep=ef.slice(0)),ta=Object.freeze(Object.defineProperties(ef,{raw:{value:Object.freeze(ep)}}))));function fQ(e){var t,r,n,o,i,a,l,s,c=nQ.baseStyle,u=nQ.isDark,d=tx(function(){return Array(e.rows).fill(0)}),f=tx(function(){var e=u();return nu({":host":{"--skeleton-bg":e?"rgb(255 255 255 / 6%)":"rgb(0 0 0 / 6%)","--skeleton-bg-active":e?"linear-gradient(100deg,rgb(255 255 255 / 5%) 40%,rgb(255 255 255 / 15%) 50%,rgb(255 255 255 / 5%) 60%) transparent 180%/200% 100%":"linear-gradient(100deg,rgb(0 0 0 / 5%) 40%,rgb(0 0 0 / 15%) 50%,rgb(0 0 0 / 5%) 60%) transparent 180%/200% 100%"}})});return[(r=(t=fq()).firstChild,tm(function(){return r.data=c()}),t),(o=(n=fq()).firstChild,tm(function(){return o.data=f()}),n),((i=fG()).textContent=fJ,i),tV(t2,{get when(){return e.css},get children(){var p=fq(),g=p.firstChild;return tm(function(){return g.data=nu(e.css)}),p}}),(s=(l=(a=fZ()).firstChild).firstChild,rb(a,tV(t2,{get when(){return e.avatar},get children(){var b=fW();return tm(function(){return b.classList.toggle("active",!!e.active)}),b}}),l),rb(l,tV(t2,{get when(){return e.title},get children(){var h=fX();return tm(function(){return h.classList.toggle("active",!!e.active)}),h}}),s),rb(s,tV(t0,{get each(){return d()},children:function(){var t;return t=fK(),tm(function(){return t.classList.toggle("active",!!e.active)}),t}})),tm(function(){return rs(a,nf("skeleton",e.class))}),a)]}fQ.registry=function(){nx("n-skeleton",{rows:3,active:void 0,avatar:void 0,title:void 0,css:void 0,class:void 0},function(e,t){var r,n=t.element,o=tX({rows:n.rows,active:n.active,avatar:n.avatar,title:n.title,css:n.css},e);return ty(function(){nA(n,["css"])}),[((r=fG()).textContent=nJ,r),tV(fQ,o)]})};let f0=fQ;var f1=nu(tl||(eg=[`
|
|
4609
4609
|
.switch {
|
|
4610
4610
|
position: relative;
|
|
4611
4611
|
display: inline-block;
|
|
@@ -4741,7 +4741,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4741
4741
|
transform: rotate(360deg);
|
|
4742
4742
|
}
|
|
4743
4743
|
}
|
|
4744
|
-
`],
|
|
4744
|
+
`],eb||(eb=eg.slice(0)),tl=Object.freeze(Object.defineProperties(eg,{raw:{value:Object.freeze(eb)}})))),f2=ri("<style> "),f3=ri("<style>"),f4=ri("<span>");function f5(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f6(e){var t,r,n,o,i,a=nQ.baseStyle,l=function(e){if(Array.isArray(e))return e}(t=tv(!1))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,i,a=[],l=!0,s=!1;try{o=(t=t.call(e)).next,!1;for(;!(l=(r=o.call(t)).done)&&(a.push(r.value),2!==a.length);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(s)throw n}}return a}}(t)||function(e){if(e){if("string"==typeof e)return f5(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f5(e,2):void 0}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4745
4745
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],c=l[1];function u(){if(!e.disabled&&!e.loading){var t;c(function(e){return!e}),null==(t=e.onChange)||t.call(e,s())}}return ty(function(){c(!!e.checked)}),[(n=(r=f2()).firstChild,tm(function(){return n.data=a()}),r),((o=f3()).textContent=f1,o),tV(t2,{get when(){return e.css},get children(){var d=f2(),f=d.firstChild;return tm(function(){return f.data=nu(e.css)}),d}}),(rc(i=f4(),"keyup",function(e){"Enter"===e.key&&u()}),rc(i,"click",u),tm(function(t){var r=nf("switch",e.class),n=!!s(),o=!!e.loading,a=e.checkedText,l=e.unCheckedText,c=e.disabled,u=e.disabled||e.loading?-1:0;return r!==t.e&&rs(i,t.e=r),n!==t.t&&i.classList.toggle("checked",t.t=n),o!==t.a&&i.classList.toggle("loading",t.a=o),a!==t.o&&rl(i,"text-on",t.o=a),l!==t.i&&rl(i,"text-off",t.i=l),c!==t.n&&rl(i,"aria-disabled",t.n=c),u!==t.s&&rl(i,"tabindex",t.s=u),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0}),i)]}f6.registry=function(){nx("n-switch",{class:void 0,css:void 0,checked:void 0,disabled:void 0,checkedText:void 0,unCheckedText:void 0,loading:!1,onChange:void 0},function(e,t){var r,n=t.element,o=tX({css:n.css,checked:n.checked,disabled:n.disabled,checkedText:n.checkedText,unCheckedText:n.unCheckedText,loading:n.loading,onChange:function(e){n.dispatchEvent(new CustomEvent("change",{detail:e}))}},e);return ty(function(){nA(n,["css"])}),[((r=f3()).textContent=nK,r),tV(f6,o)]})};let f8=f6;function f9(e){return"string"==typeof e&&"[object String]"==oC(e)}function f7(e){return(f7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pe=nu(ts||(eh=[`
|
|
4746
4746
|
:host {
|
|
4747
4747
|
--table-heading-bg: var(--border-color);
|
|
@@ -4862,9 +4862,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4862
4862
|
margin-block-start: 16px;
|
|
4863
4863
|
margin-inline-start: auto;
|
|
4864
4864
|
}
|
|
4865
|
-
`],ev||(ev=eh.slice(0)),ts=Object.freeze(Object.defineProperties(eh,{raw:{value:Object.freeze(ev)}}))));function pt(e){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pr=ri("<span>"),pn=ri("<style> "),po=ri("<style>"),pi=ri("<caption class=table-title><slot name=title>"),pa=ri("<th class=table-cell>"),pl=ri("<tfoot class=table-foot><tr>"),ps=ri("<table><thead><tr></tr></thead><tbody>"),pc=ri("<n-pagination class=table-pagination>",!0,!1,!1),pu=ri("<th>"),pd=ri("<tr>"),pf=ri("<span class=empty-val>"),pp=ri("<td>");function
|
|
4866
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pv(e,t){if(e){if("string"==typeof e)return pm(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pm(e,t):void 0}}function pm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var py={page:1,pageSize:20,total:0,totalText:void 0,size:void 0};function px(e){var t,r,n,o,i,a,l,s,c,u,d=nQ.baseStyle,f=ph(tZ(e,["class","css","loading","summary","summaryText","columns","data","emptyVal","title","align","char","charoff","valign","pagination","size"]),2),p=f[0],
|
|
4867
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()))}}return[(r=(t=pn()).firstChild,tm(function(){return r.data=d()}),t),((n=po()).textContent=pe,n),tV(t2,{get when(){return p.css},get children(){var P=pn(),_=P.firstChild;return tm(function(){return _.data=nu(p.css)}),P}}),(a=(i=(o=ps()).firstChild).firstChild,l=i.nextSibling,rp(o,tX(
|
|
4865
|
+
`],ev||(ev=eh.slice(0)),ts=Object.freeze(Object.defineProperties(eh,{raw:{value:Object.freeze(ev)}}))));function pt(e){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pr=ri("<span>"),pn=ri("<style> "),po=ri("<style>"),pi=ri("<caption class=table-title><slot name=title>"),pa=ri("<th class=table-cell>"),pl=ri("<tfoot class=table-foot><tr>"),ps=ri("<table><thead><tr></tr></thead><tbody>"),pc=ri("<n-pagination class=table-pagination>",!0,!1,!1),pu=ri("<th>"),pd=ri("<tr>"),pf=ri("<span class=empty-val>"),pp=ri("<td>");function pg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pb(e,t,r){var n;return(n=function(e,t){if("object"!=pt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pt(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==pt(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ph(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||pv(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4866
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pv(e,t){if(e){if("string"==typeof e)return pm(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pm(e,t):void 0}}function pm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var py={page:1,pageSize:20,total:0,totalText:void 0,size:void 0};function px(e){var t,r,n,o,i,a,l,s,c,u,d=nQ.baseStyle,f=ph(tZ(e,["class","css","loading","summary","summaryText","columns","data","emptyVal","title","align","char","charoff","valign","pagination","size"]),2),p=f[0],g=f[1],b=ph(tZ(p,["align","char","charoff","valign"]),1)[0],h=ph(tv(!1),2),v=h[0],m=h[1],y=ph(tv(1),2),x=y[0],w=y[1],k=ph(tv(20),2),S=k[0],A=k[1],O=ph(tv(0),2),C=O[0],E=O[1];function z(e){return{width:e.width,align:e.align,valign:e.valign,char:e.char,charoff:e.charoff,colspan:e.colspan,rowspan:e.rowspan}}ty(function(){tw(function(){p.pagination&&(w(p.pagination.page||1),A(p.pagination.pageSize||20),E(p.pagination.total||0))})});var j=tx(function(){return Object.assign(py,p.pagination)}),T=tx(function(){var e=[],t=!1;for(var r in p.columns)if(Object.prototype.hasOwnProperty.call(p.columns,r)){var n=p.columns[r],o=Object.assign({key:r,originKey:r,label:n.toString()},function(e){var t=f7(e);return null!==e&&("object"==t||"function"==t)}(n)&&function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pg(Object(r),!0).forEach(function(t){pb(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pg(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({label:"order"===n.type&&"序号"||r},n));"order"===o.type&&(t=!0,o.render=function(e,t,r){return function(){var e=pr();return rb(e,function(){return(x()-1)*S()+r+1}),e}()}),e.push(o)}return tk(v)!==t&&m(t),e});function I(e){if(p.pagination){var t,r,n;w(e.detail[0]),A(e.detail[1]),null==(t=(r=p.pagination).onChange)||t.call.apply(t,[r].concat(function(e){if(Array.isArray(e))return pm(e)}(n=e.detail)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||pv(n)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4867
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()))}}return[(r=(t=pn()).firstChild,tm(function(){return r.data=d()}),t),((n=po()).textContent=pe,n),tV(t2,{get when(){return p.css},get children(){var P=pn(),_=P.firstChild;return tm(function(){return _.data=nu(p.css)}),P}}),(a=(i=(o=ps()).firstChild).firstChild,l=i.nextSibling,rp(o,tX(g,pb((s={},c=function(){return nf("table",p.size)},(u={configurable:!0,enumerable:!0}).get=c,Object.defineProperty(s,"class",u)),"part","table")),!1,!0),rb(o,tV(t2,{get when(){return p.title},get children(){var $=pi(),L=$.firstChild;return L._$owner=tu,rb(L,function(){return p.title}),$}}),i),rp(i,tX(b,{class:"table-head"}),!1,!0),rb(a,tV(t0,{get each(){return T()},children:function(e){var t,r=z(e);return rp(t=pu(),tX(r,{class:"table-cell"}),!1,!0),rb(t,function(){return e.label}),t}})),rp(l,tX(b,{class:"table-body"}),!1,!0),rb(l,tV(t0,{get each(){return p.data},children:function(e,t){var r;return rb(r=pd(),tV(t0,{get each(){return T()},children:function(r){var n,o=z(r),i=tx(function(){if("order"===r.type){var n,o=j();return(o.page-1)*o.pageSize+t()+1}var i=e[r.key];return iw(i)||null===i?(rb(n=pf(),function(){return p.emptyVal}),n):i});return rp(n=pp(),tX(o,{class:"table-cell"}),!1,!0),rb(n,tV(t2,{get when(){return oR(r.render)},get fallback(){return tV(i,{})},get children(){return r.render(e[r.key],e,t())}})),n}})),r}})),rb(o,tV(t2,{get when(){var N;return null==(N=p.summary)?void 0:N.length},get children(){var R=pl(),M=R.firstChild;return rp(R,b,!1,!0),rb(M,tV(t2,{get when(){return v()},get children(){var D=pa();return rp(D,tX(function(){return z(T()[0])}),!1,!0),rb(D,function(){return p.summaryText}),D}}),null),rb(M,tV(t0,{get each(){return T().filter(function(e){return!e.type||!["order"].includes(e.type)})},children:function(e){var t,r=z(e),n=tx(function(){var t,r,n,o;return null!=(t=p.data)&&t.length&&null!=(r=p.summary)&&r.includes(e.originKey)?(n=p.data,o=e.key,n.reduce(function(e,t){var r=t[o];return f9(r)||iw(r)||null===r?e:e+t[o]},0)):null});return rp(t=pp(),tX(r,{class:"table-cell"}),!1,!0),rb(t,n),t}}),null),R}}),null),o),tV(t2,{get when(){return p.pagination},get children(){var F=pc();return F.addEventListener("change",I),F._$owner=tu,tm(function(e){var t=x(),r=S(),n=C(),o=j().totalText,i=j().size||p.size;return t!==e.e&&(F.page=e.e=t),r!==e.t&&(F.pageSize=e.t=r),n!==e.a&&(F.total=e.a=n),o!==e.o&&(F.totalText=e.o=o),i!==e.i&&(F.size=e.i=i),e},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),F}})]}var pw=((em=pw||{}).left="left",em.right="right",em.center="center",em.justify="justify",em.char="char",em),pk=((ey=pk||{}).top="top",ey.middle="middle",ey.bottom="bottom",ey.baseline="baseline",ey);px.registry=function(){d8.registry(),nx("n-table",{class:void 0,css:void 0,loading:!1,columns:{},data:[],emptyVal:"-",title:void 0,char:void 0,charoff:void 0,align:pw.left,valign:pk.middle,summary:void 0,summaryText:"合计",pagination:void 0,size:void 0},function(e,t){var r,n=t.element,o=tX({css:n.css,columns:n.columns,data:n.data,pagination:n.pagination,summary:n.summary,summaryText:n.summaryText},e,{title:!!n.querySelector("[slot='title']")||e.title});return ty(function(){nA(n,["css","columns","data","pagination","summary"])}),[((r=po()).textContent=nJ,r),tV(px,o)]})};let pS=px;var pA=nu(tc||(ex=[`
|
|
4868
4868
|
.tree {
|
|
4869
4869
|
--size: 8px;
|
|
4870
4870
|
|
|
@@ -5028,5 +5028,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5028
5028
|
}
|
|
5029
5029
|
`],ew||(ew=ex.slice(0)),tc=Object.freeze(Object.defineProperties(ex,{raw:{value:Object.freeze(ew)}}))));function pO(e){return(pO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var pC=ri("<li class=row>"),pE=ri("<span class=title>"),pz=ri("<span class=sub-title>"),pj=ri("<style> "),pT=ri("<style>"),pI=ri("<ul class=tree>");function pP(e){return function(e){if(Array.isArray(e))return pN(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pL(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
5030
5030
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function p_(e,t,r){var n;return(n=function(e,t){if("object"!=pO(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pO(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==pO(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p$(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||pL(e,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5031
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pL(e,t){if(e){if("string"==typeof e)return pN(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pN(e,t):void 0}}function pN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function pR(e){var t,r,n,o,i,a,l={small:6,normal:8,large:10},s=nQ.baseStyle,c=p$(tv([]),2),u=c[0],d=c[1],f=p$(tv([]),2),p=f[0],
|
|
5032
|
-
`),l=[p_(p_({},n,a[0]),r,a[0])],s=1;s<a.length;s++){var c=a[s].search(i);if(-1!==c){for(var u=p_(p_({},n,a[s].slice(c+3)),"depth",c);l.length&&c<=(l[l.length-1].depth||0);)l.pop();if(!l.length)return[];var d=l[l.length-1];d[o]||(d[o]=[]),u[r]="".concat(d[r],"-").concat(u[n],"-").concat(c,"-").concat(s),d[o].push(u),l.push(u)}}return[l[0]]}(e.data):e.data;d(pP(new Set(function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-1,o=t[n],i=t[0],a=[],l=h(),s=l.key,c=l.children,u=0,d=t.length;u<d;u++){var f=t[u],p=u===n;delete f[y],delete f[x],(0===u||p)&&(f[y]=i[s]+(1===t.length?"":">".concat(o[s])),p&&(f[x]=""),a.push(f[y])),f[c]&&(a=a.concat(e(f[c],r+1)))}return a}(t)))),
|
|
5031
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pL(e,t){if(e){if("string"==typeof e)return pN(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pN(e,t):void 0}}function pN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function pR(e){var t,r,n,o,i,a,l={small:6,normal:8,large:10},s=nQ.baseStyle,c=p$(tv([]),2),u=c[0],d=c[1],f=p$(tv([]),2),p=f[0],g=f[1],b={key:"key",name:"name",title:"title",subTitle:"subTitle",children:"children",description:"description"},h=tx(function(){return Object.assign(b,e.fieldNames)}),v=tx(function(){return"rtl"===e.direction}),m=tx(function(){return void 0!==e.value&&null!==e.value?Array.isArray(e.value)?e.value:[e.value]:[]}),y=Symbol("path"),x=Symbol("path-end");return ty(function(){var t=e.fromSchema?u$(e.data):f9(e.data)?function(e){for(var t=h(),r=t.key,n=t.title,o=t.children,i=/[^\s|`│├└]/,a=e.trim().split(`
|
|
5032
|
+
`),l=[p_(p_({},n,a[0]),r,a[0])],s=1;s<a.length;s++){var c=a[s].search(i);if(-1!==c){for(var u=p_(p_({},n,a[s].slice(c+3)),"depth",c);l.length&&c<=(l[l.length-1].depth||0);)l.pop();if(!l.length)return[];var d=l[l.length-1];d[o]||(d[o]=[]),u[r]="".concat(d[r],"-").concat(u[n],"-").concat(c,"-").concat(s),d[o].push(u),l.push(u)}}return[l[0]]}(e.data):e.data;d(pP(new Set(function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=t.length-1,o=t[n],i=t[0],a=[],l=h(),s=l.key,c=l.children,u=0,d=t.length;u<d;u++){var f=t[u],p=u===n;delete f[y],delete f[x],(0===u||p)&&(f[y]=i[s]+(1===t.length?"":">".concat(o[s])),p&&(f[x]=""),a.push(f[y])),f[c]&&(a=a.concat(e(f[c],r+1)))}return a}(t)))),g(t)}),ty(function(){var t=u(),r=e.size||"normal";a9(function(){var e=t.length;if(a&&e)for(var n=l[r],o=0;o<e;o++){var i=a.querySelectorAll('li[data-path="'.concat(t[o],'"]'));if(i.length){var s=i[0].getBoundingClientRect(),c=s.height/2+n;if(i.length>1){var u=i[1].getBoundingClientRect(),d=u.bottom,f=u.height,p=u.top;c=0===o?p-s.top:d-s.top-f/2+n,i[1].style.setProperty("--c","none")}else 0===o&&i[0].style.setProperty("--c","none");(1!==i.length||0!==o)&&i[0].style.setProperty("--line","".concat(Math.abs(c),"px"))}}})}),[(r=(t=pj()).firstChild,tm(function(){return r.data=s()}),t),((n=pT()).textContent=pA,n),tV(t2,{get when(){return e.css},get children(){var w=pj(),k=w.firstChild;return tm(function(){return k.data=nu(e.css)}),w}}),(o=pI(),"function"==typeof(i=a)?rg(i,o):a=o,rb(o,function(){return function t(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return tV(t0,{each:r,children:function(r){var o,i=h(),a=r[i.title],l=r[i.key],s=r[i.name],c=r[i.subTitle],u=r[i.children],d=s!==a&&s?[s,a]:[a];return[(rc(o=pC(),"dblclick",function(t){var n;return null==(n=e.onRowDoubleClick)?void 0:n.call(e,t,l,r)}),rc(o,"click",function(t){!function(t,r){var n,o=h(),i=r[o.key];if(!e.readonly&&oR(e.onChange)){var a=pP(m());if(e.multiple){var l=a.indexOf(i);-1===l?a.push(i):a.splice(l,1)}else a=e.toggle&&a[0]===i?[]:[i];e.onChange(e.multiple?a:a[0],r)}null==(n=e.onRowClick)||n.call(e,t,r[o.key],r)}(t,r)}),rb(o,function(){var t,n,o,i,a;return rb(t=pE(),function(){return(v()?d.reverse():d).join(": ")}),n=t,o=tV(t2,{when:c,get children(){var l=pz();return rb(l,c),l}}),a=(null==(i=e.renderRow)?void 0:i.call(e,r,n,o))||[n,o],v()?a.reverse():a}),tm(function(t){var i=!!m().includes(l),a=!!(e.readonly||!oR(e.onChange)),s=r[x],c=r[y];return i!==t.e&&o.classList.toggle("active",t.e=i),a!==t.t&&o.classList.toggle("non",t.t=a),t.a=rd(o,n?{"--depth":"".concat(2*n,"em")}:void 0,t.a),s!==t.o&&rl(o,"data-path-end",t.o=s),c!==t.i&&rl(o,"data-path",t.i=c),t},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0}),o),tV(t2,{when:u,get children(){return t(u,n+1)}})]}})}(p())}),tm(function(t){return ru(o,p_(p_(p_({},e.size||"normal",!0),e.class,!!e.class),"rtl",v()),t)}),o)]}pR.registry=function(){nx("n-tree",{fieldNames:{},fromSchema:void 0,size:void 0,data:[],multiple:void 0,value:void 0,onChange:void 0,class:void 0,css:void 0,readonly:void 0,toggle:void 0,direction:void 0,onRowClick:void 0,onRowDoubleClick:void 0,renderRow:void 0},function(e,t){var r,n=t.element,o=tX({data:n.data,value:n.value,multiple:n.multiple,fromSchema:n.fromSchema,size:n.size,css:n.css,readonly:n.readonly,toggle:n.toggle,direction:n.direction,onChange:function(e,t){n.dispatchEvent(new CustomEvent("change",{detail:[e,t]}))},onRowClick:function(e,t,r){n.dispatchEvent(new CustomEvent("rowclick",{detail:[e,t,r]}))},onRowDoubleClick:function(e,t,r){n.dispatchEvent(new CustomEvent("rowdoubleclick",{detail:[e,t,r]}))}},e);return ty(function(){nA(n,["css","fieldNames","data"])}),[((r=pT()).textContent=nJ,r),tV(pR,o)]})};let pM=pR;function pD(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(e){e.registry()})}})(),l})());
|