neatkit 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar-Belo7qAY.cjs +1 -0
- package/dist/Avatar-DjDCFqNG.js +55 -0
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +2 -52
- package/dist/Boundary.cjs +1 -0
- package/dist/Boundary.js +176 -0
- package/dist/Button-BV5OUXpc.js +101 -0
- package/dist/Button-DU4j_IED.cjs +1 -0
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/Checkbox.cjs +1 -1
- package/dist/Checkbox.js +213 -2
- package/dist/Code-B7s_rN0G.cjs +4 -0
- package/dist/Code-Bp2X1k-g.js +224 -0
- package/dist/Code.cjs +1 -1
- package/dist/Code.js +1 -1
- package/dist/Divider-C7XGlr26.cjs +1 -0
- package/dist/{Divider-BE15WVDI.js → Divider-DZgpYpr-.js} +1 -1
- package/dist/Divider.cjs +1 -1
- package/dist/Divider.js +1 -1
- package/dist/Icon-BIBzgznI.cjs +1 -0
- package/dist/{Icon-uQmpr5P2.js → Icon-CxK1wlGk.js} +194 -181
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +2 -35
- package/dist/Input.cjs +1 -1
- package/dist/Input.js +70 -79
- package/dist/Markdown.cjs +1 -31
- package/dist/Markdown.js +469 -18066
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +100 -122
- package/dist/PinInput.cjs +1 -1
- package/dist/PinInput.js +1 -1
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.js +171 -165
- package/dist/Radio.cjs +1 -1
- package/dist/Radio.js +86 -41
- package/dist/Select.cjs +1 -1
- package/dist/Select.js +326 -315
- package/dist/Sidebar.cjs +1 -0
- package/dist/Sidebar.js +490 -0
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.js +20 -16
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.js +1 -1
- package/dist/Table-CADupJEU.js +423 -0
- package/dist/Table-qetwZpTC.cjs +1 -0
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TextArea.cjs +1 -1
- package/dist/TextArea.js +1 -1
- package/dist/Tooltip-B2d5ss7S.cjs +1 -0
- package/dist/Tooltip-BK64rkxV.js +231 -0
- package/dist/Tooltip.cjs +1 -1
- package/dist/Tooltip.js +2 -3
- package/dist/albert-sans-cb3e34c4.woff2 +0 -0
- package/dist/aria-Bntn6ad_.cjs +1 -0
- package/dist/aria-CeA9QfD1.js +15 -0
- package/dist/components/Boundary/Boundary.d.ts +65 -0
- package/dist/components/Boundary/contexts/BoundaryContext.d.ts +28 -0
- package/dist/components/Boundary/hooks/useBoundary.d.ts +19 -0
- package/dist/components/Boundary/hooks/useBoundaryWidth.d.ts +23 -0
- package/dist/components/Boundary/index.d.ts +2 -0
- package/dist/components/Boundary/utils/width.d.ts +11 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -1
- package/dist/components/{CheckboxGroup → Checkbox/components}/CheckboxGroup.d.ts +2 -2
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/utils/checkbox-option.d.ts +17 -0
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/Icon/icons/GearIcon.d.ts +11 -0
- package/dist/components/Icon/icons/ImageIcon.d.ts +11 -0
- package/dist/components/Icon/index.d.ts +0 -33
- package/dist/components/Icon/utils/registry.d.ts +2 -0
- package/dist/components/Input/Input.d.ts +1 -9
- package/dist/components/Modal/Modal.d.ts +0 -4
- package/dist/components/PinInput/PinInput.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +2 -6
- package/dist/components/Portal/Portal.d.ts +11 -8
- package/dist/components/Portal/hooks/useDismissableLayer.d.ts +2 -0
- package/dist/components/Portal/hooks/useFloatingPosition.d.ts +4 -3
- package/dist/components/Portal/hooks/useFocusTrap.d.ts +2 -0
- package/dist/components/Portal/hooks/useScrollLock.d.ts +9 -3
- package/dist/components/Portal/utils/boundary-focus.d.ts +23 -0
- package/dist/components/Portal/utils/floating-position.d.ts +43 -9
- package/dist/components/Portal/utils/overlay-stack.d.ts +22 -10
- package/dist/components/Portal/utils/scroll-container.d.ts +13 -0
- package/dist/components/Radio/Radio.d.ts +9 -1
- package/dist/components/{RadioGroup → Radio/components}/RadioGroup.d.ts +9 -2
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Select/Select.d.ts +0 -2
- package/dist/components/Select/utils/listbox-position.d.ts +28 -0
- package/dist/components/Sidebar/Sidebar.d.ts +113 -0
- package/dist/components/Sidebar/components/SidebarFooter.d.ts +24 -0
- package/dist/components/Sidebar/components/SidebarGroup.d.ts +31 -0
- package/dist/components/Sidebar/components/SidebarHeader.d.ts +29 -0
- package/dist/components/Sidebar/components/SidebarItem.d.ts +46 -0
- package/dist/components/Sidebar/components/SidebarOverlay.d.ts +38 -0
- package/dist/components/Sidebar/components/SidebarPanel.d.ts +47 -0
- package/dist/components/Sidebar/components/SidebarTrigger.d.ts +47 -0
- package/dist/components/Sidebar/components/SidebarUser.d.ts +59 -0
- package/dist/components/Sidebar/hooks/usePresentation.d.ts +14 -0
- package/dist/components/Sidebar/hooks/useSidebar.d.ts +9 -0
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Sidebar/utils/presentation.d.ts +12 -0
- package/dist/components/Sidebar/utils/state.d.ts +62 -0
- package/dist/components/Skeleton/Skeleton.d.ts +21 -5
- package/dist/components/Table/Table.d.ts +21 -249
- package/dist/components/Table/components/TableAction.d.ts +18 -0
- package/dist/components/Table/components/TableActionCell.d.ts +15 -0
- package/dist/components/Table/components/TableActionHeaderCell.d.ts +13 -0
- package/dist/components/Table/components/TableBody.d.ts +27 -0
- package/dist/components/Table/components/TableCell.d.ts +42 -0
- package/dist/components/Table/components/TableFoot.d.ts +19 -0
- package/dist/components/Table/components/TableHead.d.ts +19 -0
- package/dist/components/Table/components/TableHeaderCell.d.ts +23 -0
- package/dist/components/Table/components/TableRow.d.ts +67 -0
- package/dist/components/Table/contexts/TableContext.d.ts +4 -0
- package/dist/components/Table/hooks/useHorizontalOverflow.d.ts +25 -0
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Table/utils/cell.d.ts +25 -0
- package/dist/components/Table/utils/children.d.ts +18 -0
- package/dist/components/Table/utils/trigger.d.ts +54 -0
- package/dist/components/Tooltip/Tooltip.d.ts +10 -4
- package/dist/components/Tooltip/TooltipProvider.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/effects-D5CWf-Pl.js +8 -0
- package/dist/effects-D85L_7zM.cjs +1 -0
- package/dist/floating-position-DIjh2wnP.cjs +1 -0
- package/dist/floating-position-DvR6e334.js +50 -0
- package/dist/style.css +1 -1
- package/dist/tokens.d.ts +1 -0
- package/dist/useFloatingPosition-B3ZC-v3v.js +43 -0
- package/dist/useFloatingPosition-GzkP9dCc.cjs +1 -0
- package/dist/useFocusTrap-BrFZdMqQ.cjs +1 -0
- package/dist/useFocusTrap-DhVnlboe.js +136 -0
- package/dist/usePresence-B5RYv4e1.cjs +1 -0
- package/dist/usePresence-CqegYqy4.js +221 -0
- package/dist/useScrollLock-Drd7OZRC.js +62 -0
- package/dist/useScrollLock-Dy8MZaSn.cjs +1 -0
- package/dist/utils/aria.d.ts +9 -0
- package/dist/utils/effects.d.ts +12 -0
- package/package.json +12 -16
- package/dist/Button-BAsLfA0D.js +0 -99
- package/dist/Button-D7JUO6Fs.cjs +0 -1
- package/dist/Checkbox-BvXM9VyY.js +0 -68
- package/dist/Checkbox-VQifZrZZ.cjs +0 -1
- package/dist/CheckboxGroup.cjs +0 -1
- package/dist/CheckboxGroup.js +0 -144
- package/dist/Code-BP2ZCmUf.js +0 -7446
- package/dist/Code-eispVOW3.cjs +0 -6
- package/dist/Content.cjs +0 -1
- package/dist/Content.js +0 -144
- package/dist/Divider-CJYbFcSX.cjs +0 -1
- package/dist/Icon-D8IZceys.cjs +0 -1
- package/dist/RadioGroup.cjs +0 -1
- package/dist/RadioGroup.js +0 -51
- package/dist/RadioGroupContext-BX9KnDek.cjs +0 -1
- package/dist/RadioGroupContext-DbKM4zPZ.js +0 -5
- package/dist/Table-83unQQOi.cjs +0 -1
- package/dist/Table-Cw8u-pEW.js +0 -403
- package/dist/Tooltip-BB82wNOE.cjs +0 -1
- package/dist/Tooltip-CqWK_GRD.js +0 -236
- package/dist/aria-DHnOMyYp.js +0 -10
- package/dist/aria-DKxpE8cA.cjs +0 -1
- package/dist/components/CheckboxGroup/index.d.ts +0 -2
- package/dist/components/Content/Content.d.ts +0 -60
- package/dist/components/Content/hooks/useContentLayout.d.ts +0 -18
- package/dist/components/Content/index.d.ts +0 -2
- package/dist/components/Content/utils/layout.d.ts +0 -11
- package/dist/components/RadioGroup/index.d.ts +0 -2
- package/dist/useFloatingPosition-CxzhAvy8.js +0 -73
- package/dist/useFloatingPosition-D1FqYy0l.cjs +0 -1
- package/dist/useFocusTrap--cgjy78G.cjs +0 -1
- package/dist/useFocusTrap-Da4nEash.js +0 -134
- package/dist/usePresence-DSPt6aKi.js +0 -210
- package/dist/usePresence-qe92UTvK.cjs +0 -1
- /package/dist/components/{CheckboxGroup → Checkbox}/contexts/CheckboxGroupContext.d.ts +0 -0
- /package/dist/components/{CheckboxGroup → Checkbox}/hooks/useCheckboxGroup.d.ts +0 -0
- /package/dist/components/{RadioGroup → Radio}/contexts/RadioGroupContext.d.ts +0 -0
- /package/dist/components/{RadioGroup → Radio}/hooks/useRadioGroup.d.ts +0 -0
package/dist/Code-eispVOW3.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";const me=require("react/jsx-runtime"),le=require("react"),st=require("./reference-C2guRuR0.cjs"),ot=require("./Card-CQ-8_1tO.cjs");function ct(n){const t=n.regex,r={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const _={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},A=n.inherit(n.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),p={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},u={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,r,_]};_.contains.push(u);const g={match:/\\"/},c={className:"string",begin:/'/,end:/'/},f={match:/\\'/},h={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,r]},y=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],N=n.SHEBANG({binary:`(${y.join("|")})`,relevance:10}),M={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},S=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],I={match:/(\/[a-z._-]+)+/},U=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],X=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],z=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],D=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:S,literal:v,built_in:[...U,...X,"set","shopt",...z,...D]},contains:[N,n.SHEBANG(),M,h,A,p,I,u,g,c,f,r]}}function lt(n){const t=n.regex,r=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",_="[a-zA-Z_]\\w*::",p="("+i+"|"+t.optional(_)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",u={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,n.C_BLOCK_COMMENT_MODE]},y={className:"title",begin:t.optional(_)+n.IDENT_RE,relevance:0},N=t.optional(_)+n.IDENT_RE+"\\s*\\(",v={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},I=[h,u,r,n.C_BLOCK_COMMENT_MODE,f,c],U={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:I.concat([{begin:/\(/,end:/\)/,keywords:v,contains:I.concat(["self"]),relevance:0}]),relevance:0},X={begin:"("+p+"[\\*&\\s]+)+"+N,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:v,relevance:0},{begin:N,returnBegin:!0,contains:[n.inherit(y,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[r,n.C_BLOCK_COMMENT_MODE,c,f,u,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",r,n.C_BLOCK_COMMENT_MODE,c,f,u]}]},u,r,n.C_BLOCK_COMMENT_MODE,h]};return{name:"C",aliases:["h"],keywords:v,disableAutodetect:!0,illegal:"</",contains:[].concat(U,X,I,[h,{begin:n.IDENT_RE+"::",keywords:v},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},n.TITLE_MODE]}]),exports:{preprocessor:h,strings:c,keywords:v}}}function ut(n){const t=n.regex,r=n.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",_="[a-zA-Z_]\\w*::",p="(?!struct)("+i+"|"+t.optional(_)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",u={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[n.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},n.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},f={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},n.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},r,n.C_BLOCK_COMMENT_MODE]},y={className:"title",begin:t.optional(_)+n.IDENT_RE,relevance:0},N=t.optional(_)+n.IDENT_RE+"\\s*\\(",M=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],S=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],I=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],z={type:S,keyword:M,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},D={className:"function.dispatch",relevance:0,keywords:{_hint:I},begin:t.concat(/\b/,`(?!${M.join("|")})`,n.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},k=[D,h,u,r,n.C_BLOCK_COMMENT_MODE,f,c],ee={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:z,contains:k.concat([{begin:/\(/,end:/\)/,keywords:z,contains:k.concat(["self"]),relevance:0}]),relevance:0},J={className:"function",begin:"("+p+"[\\*&\\s]+)+"+N,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:z,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:z,relevance:0},{begin:N,returnBegin:!0,contains:[y],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,f]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:[r,n.C_BLOCK_COMMENT_MODE,c,f,u,{begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:["self",r,n.C_BLOCK_COMMENT_MODE,c,f,u]}]},u,r,n.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:z,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(ee,J,D,k,[h,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:z,contains:["self",u]},{begin:n.IDENT_RE+"::",keywords:z},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}const dt=n=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:n.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},UNICODE_RANGE:{scope:"number",begin:/\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,4}(-[0-9A-Fa-f][0-9A-Fa-f]{0,4})?/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:n.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),gt=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],bt=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],pt=[...gt,...bt],ft=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),_t=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Et=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),mt=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","unicode-range","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function ht(n){const t=n.regex,r=dt(n),i={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},_="and or not only",A=/@-?\w[\w]*(-\w+)*/,p="[a-zA-Z-][a-zA-Z0-9_-]*",u=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,i,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+p,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+_t.join("|")+")"},{begin:":(:)?("+Et.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+mt.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,r.UNICODE_RANGE,...u,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...u,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:A},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:_,attribute:ft.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...u,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+pt.join("|")+")\\b"}]}}function Nt(n){const A={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:A,illegal:"</",contains:[n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,{className:"string",variants:[n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[n.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:A,illegal:/["']/}]}]}}const an="[A-Za-z$_][0-9A-Za-z$_]*",yt=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],St=["true","false","null","undefined","NaN","Infinity"],on=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],cn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ln=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Tt=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],At=[].concat(ln,on,cn);function Rt(n){const t=n.regex,r=(O,{after:$})=>{const H="</"+O[0].slice(1);return O.input.indexOf(H,$)!==-1},i=an,_={begin:"<>",end:"</>"},A=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(O,$)=>{const H=O[0].length+O.index,q=O.input[H];if(q==="<"||q===","){$.ignoreMatch();return}q===">"&&(r(O,{after:H})||$.ignoreMatch());let G;const se=O.input.substring(H);if(G=se.match(/^\s*=/)){$.ignoreMatch();return}if((G=se.match(/^\s+extends\s+/))&&G.index===0){$.ignoreMatch();return}}},u={$pattern:an,keyword:yt,literal:St,built_in:At,"variable.language":Tt},g="[0-9](_?[0-9])*",c=`\\.(${g})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${f})((${c})|\\.)?|(${c}))[eE][+-]?(${g})\\b`},{begin:`\\b(${f})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},N={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},M={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"css"}},S={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,y]},U={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},X=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,N,M,S,v,{match:/\$\d+/},h];y.contains=X.concat({begin:/\{/,end:/\}/,keywords:u,contains:["self"].concat(X)});const z=[].concat(U,y.contains),D=z.concat([{begin:/(\s*)\(/,end:/\)/,keywords:u,contains:["self"].concat(z)}]),k={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:D},ee={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,t.concat(i,"(",t.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},J={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...on,...cn]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ae={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},ue={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(O){return t.concat("(?!",O.join("|"),")")}const fe={match:t.concat(/\b/,de([...ln,"super","import","await"].map(O=>`${O}\\s*\\(`)),i,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ne={begin:t.concat(/\./,t.lookahead(t.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ge={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},be="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(be)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:J},illegal:/#(?![$_A-Za-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,N,M,S,v,U,{match:/\$\d+/},h,J,{scope:"attr",match:i+t.lookahead(":"),relevance:0},he,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[U,n.REGEXP_MODE,{className:"function",begin:be,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:A},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},ae,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,n.inherit(n.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},ne,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},fe,ue,ee,ge,{match:/\$[(.]/}]}}const wt="([-+]?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)|NaN|[-+]?Infinity",vt={scope:"number",match:wt,relevance:0};function Ot(n){const t={className:"attr",begin:/(("(\\.|[^\\"\r\n])*")|('(\\.|[^\\'\r\n])*'))(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},i=["true","false","null"],_={scope:"literal",beginKeywords:i.join(" ")};return{name:"JSON",aliases:["jsonc","json5"],keywords:{literal:i},contains:[t,r,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,_,vt,n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function xt(n){const t=n.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},_={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},A={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},p={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},u=/[A-Za-z][A-Za-z0-9+.-]*/,g={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,u,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},h=n.inherit(c,{contains:[]}),y=n.inherit(f,{contains:[]});c.contains.push(y),f.contains.push(h);let N=[r,g];return[c,f,h,y].forEach(I=>{I.contains=I.contains.concat(N)}),N=N.concat(c,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:N},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:N}]}]},r,A,c,f,{className:"quote",begin:"^>\\s+",contains:N,end:"$"},_,i,g,p,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Mt(n){const t=n.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),i=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:i,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},g={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},f={begin:/\{\{/,relevance:0},h={className:"string",contains:[n.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,g],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,g],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[n.BACKSLASH_ESCAPE,g,f,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[n.BACKSLASH_ESCAPE,g,f,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[n.BACKSLASH_ESCAPE,f,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,f,c]},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE]},y="[0-9](_?[0-9])*",N=`(\\b(${y}))?\\.(${y})|\\b(${y})\\.`,M=`\\b|${i.join("|")}`,S={className:"number",relevance:0,variants:[{begin:`(\\b(${y})|(${N}))[eE][+-]?(${y})[jJ]?(?=${M})`},{begin:`(${N})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${M})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${M})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${M})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${M})`},{begin:`\\b(${y})[jJ](?=${M})`}]},v={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},I={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",g,S,h,n.HASH_COMMENT_MODE]}]};return c.contains=[h,S,g],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:u,illegal:/(<\/|\?)|=>/,contains:[g,S,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},h,v,n.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[I]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[S,I,h]}]}}function Ct(n){const t=n.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),_=t.concat(i,/(::\w+)*/),p={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},u={className:"doctag",begin:"@[A-Za-z]+"},g={begin:"#<",end:">"},c=[n.COMMENT("#","$",{contains:[u]}),n.COMMENT("^=begin","^=end",{contains:[u],relevance:10}),n.COMMENT("^__END__",n.MATCH_NOTHING_RE)],f={className:"subst",begin:/#\{/,end:/\}/,keywords:p},h={className:"string",contains:[n.BACKSLASH_ESCAPE,f],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[n.BACKSLASH_ESCAPE,f]})]}]},y="[1-9](_?[0-9])*|0",N="[0-9](_?[0-9])*",M={className:"number",relevance:0,variants:[{begin:`\\b(${y})(\\.(${N}))?([eE][+-]?(${N})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},S={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:p}]},k=[h,{variants:[{match:[/class\s+/,_,/\s+<\s+/,_]},{match:[/\b(class|module)\s+/,_]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:p},{match:[/(include|extend)\s+/,_],scope:{2:"title.class"},keywords:p},{relevance:0,match:[_,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:i,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[S]},{begin:n.IDENT_RE+"::"},{className:"symbol",begin:n.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[h,{begin:r}],relevance:0},M,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:p},{begin:"("+n.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[n.BACKSLASH_ESCAPE,f],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(g,c),relevance:0}].concat(g,c);f.contains=k,S.contains=k;const ae=[{begin:/^\s*=>/,starts:{end:"$",contains:k}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:p,contains:k}}];return c.unshift(g),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:p,illegal:/\/\*/,contains:[n.SHEBANG({binary:"ruby"})].concat(ae).concat(c).concat(k)}}function kt(n){const t=n.regex,r=/(r#)?/,i=t.concat(r,n.UNDERSCORE_IDENT_RE),_=t.concat(r,n.IDENT_RE),A={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,_,t.lookahead(/\s*\(/))},p="([ui](8|16|32|64|128|size)|f(32|64))?",u=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],g=["true","false","Some","None","Ok","Err"],c=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],f=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:n.IDENT_RE+"!?",type:f,keyword:u,literal:g,built_in:c},illegal:"</",contains:[n.C_LINE_COMMENT_MODE,n.COMMENT("/\\*","\\*/",{contains:["self"]}),n.inherit(n.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+p},{begin:"\\b0o([0-7_]+)"+p},{begin:"\\b0x([A-Fa-f0-9_]+)"+p},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+p}],relevance:0},{begin:[/fn/,/\s+/,i],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,i],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,i,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,i],className:{1:"keyword",3:"title.class"}},{begin:n.IDENT_RE+"::",keywords:{keyword:"Self",built_in:c,type:f}},{className:"punctuation",begin:"->"},A]}}function It(n){const t=n.regex,r=n.COMMENT("--","$"),i={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},_={begin:/"/,end:/"/,contains:[{match:/""/}]},A=["true","false","unknown"],p=["double precision","large object","with timezone","without timezone"],u=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],g=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],f=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],h=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],y=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],N=f,M=[...c,...g].filter(D=>!f.includes(D)),S={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},I={match:t.concat(/\b/,t.either(...N),/\s*\(/),relevance:0,keywords:{built_in:N}};function U(D){return t.concat(/\b/,t.either(...D.map(k=>k.replace(/\s+/,"\\s+"))),/\b/)}const X={scope:"keyword",match:U(y),relevance:0};function z(D,{exceptions:k,when:ee}={}){const J=ee;return k=k||[],D.map(F=>F.match(/\|\d+$/)||k.includes(F)?F:J(F)?`${F}|0`:F)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:z(M,{when:D=>D.length<3}),literal:A,type:u,built_in:h},contains:[{scope:"type",match:U(p)},X,I,S,i,_,n.C_NUMBER_MODE,n.C_BLOCK_COMMENT_MODE,r,v]}}const ke="[A-Za-z$_][0-9A-Za-z$_]*",un=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],dn=["true","false","null","undefined","NaN","Infinity"],gn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],bn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],pn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],fn=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_n=[].concat(pn,gn,bn);function Lt(n){const t=n.regex,r=(O,{after:$})=>{const H="</"+O[0].slice(1);return O.input.indexOf(H,$)!==-1},i=ke,_={begin:"<>",end:"</>"},A=/<[A-Za-z0-9\\._:-]+\s*\/>/,p={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(O,$)=>{const H=O[0].length+O.index,q=O.input[H];if(q==="<"||q===","){$.ignoreMatch();return}q===">"&&(r(O,{after:H})||$.ignoreMatch());let G;const se=O.input.substring(H);if(G=se.match(/^\s*=/)){$.ignoreMatch();return}if((G=se.match(/^\s+extends\s+/))&&G.index===0){$.ignoreMatch();return}}},u={$pattern:ke,keyword:un,literal:dn,built_in:_n,"variable.language":fn},g="[0-9](_?[0-9])*",c=`\\.(${g})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",h={className:"number",variants:[{begin:`(\\b(${f})((${c})|\\.)?|(${c}))[eE][+-]?(${g})\\b`},{begin:`\\b(${f})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:u,contains:[]},N={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"xml"}},M={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"css"}},S={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[n.BACKSLASH_ESCAPE,y],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[n.BACKSLASH_ESCAPE,y]},U={className:"comment",variants:[n.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),n.C_BLOCK_COMMENT_MODE,n.C_LINE_COMMENT_MODE]},X=[n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,N,M,S,v,{match:/\$\d+/},h];y.contains=X.concat({begin:/\{/,end:/\}/,keywords:u,contains:["self"].concat(X)});const z=[].concat(U,y.contains),D=z.concat([{begin:/(\s*)\(/,end:/\)/,keywords:u,contains:["self"].concat(z)}]),k={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:D},ee={variants:[{match:[/class/,/\s+/,i,/\s+/,/extends/,/\s+/,t.concat(i,"(",t.concat(/\./,i),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,i],scope:{1:"keyword",3:"title.class"}}]},J={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...gn,...bn]}},F={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ae={variants:[{match:[/function/,/\s+/,i,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[k],illegal:/%/},ue={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(O){return t.concat("(?!",O.join("|"),")")}const fe={match:t.concat(/\b/,de([...pn,"super","import","await"].map(O=>`${O}\\s*\\(`)),i,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ne={begin:t.concat(/\./,t.lookahead(t.concat(i,/(?![0-9A-Za-z$_(])/))),end:i,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ge={match:[/get|set/,/\s+/,i,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},k]},be="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+n.UNDERSCORE_IDENT_RE+")\\s*=>",he={match:[/const|var|let/,/\s+/,i,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(be)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[k]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:u,exports:{PARAMS_CONTAINS:D,CLASS_REFERENCE:J},illegal:/#(?![$_A-Za-z])/,contains:[n.SHEBANG({label:"shebang",binary:"node",relevance:5}),F,n.APOS_STRING_MODE,n.QUOTE_STRING_MODE,N,M,S,v,U,{match:/\$\d+/},h,J,{scope:"attr",match:i+t.lookahead(":"),relevance:0},he,{begin:"("+n.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[U,n.REGEXP_MODE,{className:"function",begin:be,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:D}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:_.begin,end:_.end},{match:A},{begin:p.begin,"on:begin":p.isTrulyOpeningTag,end:p.end}],subLanguage:"xml",contains:[{begin:p.begin,end:p.end,skip:!0,contains:["self"]}]}]},ae,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+n.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[k,n.inherit(n.TITLE_MODE,{begin:i,className:"title.function"})]},{match:/\.\.\./,relevance:0},ne,{match:"\\$"+i,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[k]},fe,ue,ee,ge,{match:/\$[(.]/}]}}function Dt(n){const t=n.regex,r=Lt(n),i=ke,_=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],A={begin:[/namespace/,/\s+/,n.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},p={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:_},contains:[r.exports.CLASS_REFERENCE]},u={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},g=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:ke,keyword:un.concat(g),literal:dn,built_in:_n.concat(_),"variable.language":fn},f={className:"meta",begin:"@"+i},h=(S,v,I)=>{const U=S.contains.findIndex(X=>X.label===v);if(U===-1)throw new Error("can not find mode to replace");S.contains.splice(U,1,I)};Object.assign(r.keywords,c),r.exports.PARAMS_CONTAINS.push(f);const y=r.contains.find(S=>S.scope==="attr"),N=Object.assign({},y,{match:t.concat(i,t.lookahead(/\s*\?:/))});r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,y,N]),r.contains=r.contains.concat([f,A,p,N]),h(r,"shebang",n.SHEBANG()),h(r,"use_strict",u);const M=r.contains.find(S=>S.label==="func.def");return M.relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}function Bt(n){const t=n.regex,r=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),i=/[\p{L}0-9._:-]+/u,_={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},A={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},p=n.inherit(A,{begin:/\(/,end:/\)/}),u=n.inherit(n.APOS_STRING_MODE,{className:"string"}),g=n.inherit(n.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:i,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[_]},{begin:/'/,end:/'/,contains:[_]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[A,g,u,p,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[A,p,g,u]}]}]},n.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},_,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[g]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(r,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function Pt(n){const t="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",i={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},_={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},A={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},p={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[n.BACKSLASH_ESCAPE,_]},u=n.inherit(p,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),y={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},N={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},M={begin:/\{/,end:/\}/,contains:[N],illegal:"\\n",relevance:0},S={begin:"\\[",end:"\\]",contains:[N],illegal:"\\n",relevance:0},v=[i,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+n.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+n.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},n.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},y,{className:"number",begin:n.C_NUMBER_RE+"\\b",relevance:0},M,S,A,p],I=[...v];return I.pop(),I.push(u),N.contains=I,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}function En(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fe,rn;function Ut(){if(rn)return Fe;rn=1;function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(a=>{const o=e[a],R=typeof o;(R==="object"||R==="function")&&!Object.isFrozen(o)&&n(o)}),e}class t{constructor(a){a.data===void 0&&(a.data={}),this.data=a.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...a){const o=Object.create(null);for(const R in e)o[R]=e[R];return a.forEach(function(R){for(const K in R)o[K]=R[K]}),o}const _="</span>",A=e=>!!e.scope,p=(e,{prefix:a})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const o=e.split(".");return[`${a}${o.shift()}`,...o.map((R,K)=>`${R}${"_".repeat(K+1)}`)].join(" ")}return`${a}${e}`};class u{constructor(a,o){this.buffer="",this.classPrefix=o.classPrefix,a.walk(this)}addText(a){this.buffer+=r(a)}openNode(a){if(!A(a))return;const o=p(a.scope,{prefix:this.classPrefix});this.span(o)}closeNode(a){A(a)&&(this.buffer+=_)}value(){return this.buffer}span(a){this.buffer+=`<span class="${a}">`}}const g=(e={})=>{const a={children:[]};return Object.assign(a,e),a};class c{constructor(){this.rootNode=g(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(a){this.top.children.push(a)}openNode(a){const o=g({scope:a});this.add(o),this.stack.push(o)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(a){return this.constructor._walk(a,this.rootNode)}static _walk(a,o){return typeof o=="string"?a.addText(o):o.children&&(a.openNode(o),o.children.forEach(R=>this._walk(a,R)),a.closeNode(o)),a}static _collapse(a){typeof a!="string"&&a.children&&(a.children.every(o=>typeof o=="string")?a.children=[a.children.join("")]:a.children.forEach(o=>{c._collapse(o)}))}}class f extends c{constructor(a){super(),this.options=a}addText(a){a!==""&&this.add(a)}startScope(a){this.openNode(a)}endScope(){this.closeNode()}__addSublanguage(a,o){const R=a.root;o&&(R.scope=`language:${o}`),this.add(R)}toHTML(){return new u(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function h(e){return e?typeof e=="string"?e:e.source:null}function y(e){return S("(?=",e,")")}function N(e){return S("(?:",e,")*")}function M(e){return S("(?:",e,")?")}function S(...e){return e.map(o=>h(o)).join("")}function v(e){const a=e[e.length-1];return typeof a=="object"&&a.constructor===Object?(e.splice(e.length-1,1),a):{}}function I(...e){return"("+(v(e).capture?"":"?:")+e.map(R=>h(R)).join("|")+")"}function U(e){return new RegExp(e.toString()+"|").exec("").length-1}function X(e,a){const o=e&&e.exec(a);return o&&o.index===0}const z=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function D(e,{joinWith:a}){let o=0;return e.map(R=>{o+=1;const K=o;let Z=h(R),b="";for(;Z.length>0;){const d=z.exec(Z);if(!d){b+=Z;break}b+=Z.substring(0,d.index),Z=Z.substring(d.index+d[0].length),d[0][0]==="\\"&&d[1]?b+="\\"+String(Number(d[1])+K):(b+=d[0],d[0]==="("&&o++)}return b}).map(R=>`(${R})`).join(a)}const k=/\b\B/,ee="[a-zA-Z]\\w*",J="[a-zA-Z_]\\w*",F="\\b\\d+(\\.\\d+)?",ae="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ue="\\b(0b[01]+)",de="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",fe=(e={})=>{const a=/^#![ ]*\//;return e.binary&&(e.begin=S(a,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:a,end:/$/,relevance:0,"on:begin":(o,R)=>{o.index!==0&&R.ignoreMatch()}},e)},ne={begin:"\\\\[\\s\\S]",relevance:0},ge={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ne]},be={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ne]},he={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},O=function(e,a,o={}){const R=i({scope:"comment",begin:e,end:a,contains:[]},o);R.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const K=I("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return R.contains.push({begin:S(/[ ]+/,"(",K,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),R},$=O("//","$"),H=O("/\\*","\\*/"),q=O("#","$"),G={scope:"number",begin:F,relevance:0},se={scope:"number",begin:ae,relevance:0},re={scope:"number",begin:ue,relevance:0},mn={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ne,{begin:/\[/,end:/\]/,relevance:0,contains:[ne]}]},hn={scope:"title",begin:ee,relevance:0},Nn={scope:"title",begin:J,relevance:0},yn={begin:"\\.\\s*"+J,relevance:0};var Re=Object.freeze({__proto__:null,APOS_STRING_MODE:ge,BACKSLASH_ESCAPE:ne,BINARY_NUMBER_MODE:re,BINARY_NUMBER_RE:ue,COMMENT:O,C_BLOCK_COMMENT_MODE:H,C_LINE_COMMENT_MODE:$,C_NUMBER_MODE:se,C_NUMBER_RE:ae,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(a,o)=>{o.data._beginMatch=a[1]},"on:end":(a,o)=>{o.data._beginMatch!==a[1]&&o.ignoreMatch()}})},HASH_COMMENT_MODE:q,IDENT_RE:ee,MATCH_NOTHING_RE:k,METHOD_GUARD:yn,NUMBER_MODE:G,NUMBER_RE:F,PHRASAL_WORDS_MODE:he,QUOTE_STRING_MODE:be,REGEXP_MODE:mn,RE_STARTERS_RE:de,SHEBANG:fe,TITLE_MODE:hn,UNDERSCORE_IDENT_RE:J,UNDERSCORE_TITLE_MODE:Nn});function Sn(e,a){e.input[e.index-1]==="."&&a.ignoreMatch()}function Tn(e,a){e.className!==void 0&&(e.scope=e.className,delete e.className)}function An(e,a){a&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Sn,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Rn(e,a){Array.isArray(e.illegal)&&(e.illegal=I(...e.illegal))}function wn(e,a){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function vn(e,a){e.relevance===void 0&&(e.relevance=1)}const On=(e,a)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const o=Object.assign({},e);Object.keys(e).forEach(R=>{delete e[R]}),e.keywords=o.keywords,e.begin=S(o.beforeMatch,y(o.begin)),e.starts={relevance:0,contains:[Object.assign(o,{endsParent:!0})]},e.relevance=0,delete o.beforeMatch},xn=["of","and","for","in","not","or","if","then","parent","list","value"],Mn="keyword";function $e(e,a,o=Mn){const R=Object.create(null);return typeof e=="string"?K(o,e.split(" ")):Array.isArray(e)?K(o,e):Object.keys(e).forEach(function(Z){Object.assign(R,$e(e[Z],a,Z))}),R;function K(Z,b){a&&(b=b.map(d=>d.toLowerCase())),b.forEach(function(d){const T=d.split("|");R[T[0]]=[Z,Cn(T[0],T[1])]})}}function Cn(e,a){return a?Number(a):kn(e)?0:1}function kn(e){return xn.includes(e.toLowerCase())}const He={},Ne=e=>{console.error(e)},Ge=(e,...a)=>{console.log(`WARN: ${e}`,...a)},Se=(e,a)=>{He[`${e}/${a}`]||(console.log(`Deprecated as of ${e}. ${a}`),He[`${e}/${a}`]=!0)},we=new Error;function Ke(e,a,{key:o}){let R=0;const K=e[o],Z={},b={};for(let d=1;d<=a.length;d++)b[d+R]=K[d],Z[d+R]=!0,R+=U(a[d-1]);e[o]=b,e[o]._emit=Z,e[o]._multi=!0}function In(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Ne("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),we;if(typeof e.beginScope!="object"||e.beginScope===null)throw Ne("beginScope must be object"),we;Ke(e,e.begin,{key:"beginScope"}),e.begin=D(e.begin,{joinWith:""})}}function Ln(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Ne("skip, excludeEnd, returnEnd not compatible with endScope: {}"),we;if(typeof e.endScope!="object"||e.endScope===null)throw Ne("endScope must be object"),we;Ke(e,e.end,{key:"endScope"}),e.end=D(e.end,{joinWith:""})}}function Dn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Bn(e){Dn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),In(e),Ln(e)}function Pn(e){function a(b,d){return new RegExp(h(b),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(d?"g":""))}class o{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(d,T){T.position=this.position++,this.matchIndexes[this.matchAt]=T,this.regexes.push([T,d]),this.matchAt+=U(d)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const d=this.regexes.map(T=>T[1]);this.matcherRe=a(D(d,{joinWith:"|"}),!0),this.lastIndex=0}exec(d){this.matcherRe.lastIndex=this.lastIndex;const T=this.matcherRe.exec(d);if(!T)return null;const Q=T.findIndex((Ae,Le)=>Le>0&&Ae!==void 0),W=this.matchIndexes[Q];return T.splice(0,Q),Object.assign(T,W)}}class R{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(d){if(this.multiRegexes[d])return this.multiRegexes[d];const T=new o;return this.rules.slice(d).forEach(([Q,W])=>T.addRule(Q,W)),T.compile(),this.multiRegexes[d]=T,T}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(d,T){this.rules.push([d,T]),T.type==="begin"&&this.count++}exec(d){const T=this.getMatcher(this.regexIndex);T.lastIndex=this.lastIndex;let Q=T.exec(d);if(this.resumingScanAtSamePosition()&&!(Q&&Q.index===this.lastIndex)){const W=this.getMatcher(0);W.lastIndex=this.lastIndex+1,Q=W.exec(d)}return Q&&(this.regexIndex+=Q.position+1,this.regexIndex===this.count&&this.considerAll()),Q}}function K(b){const d=new R;return b.contains.forEach(T=>d.addRule(T.begin,{rule:T,type:"begin"})),b.terminatorEnd&&d.addRule(b.terminatorEnd,{type:"end"}),b.illegal&&d.addRule(b.illegal,{type:"illegal"}),d}function Z(b,d){const T=b;if(b.isCompiled)return T;[Tn,wn,Bn,On].forEach(W=>W(b,d)),e.compilerExtensions.forEach(W=>W(b,d)),b.__beforeBegin=null,[An,Rn,vn].forEach(W=>W(b,d)),b.isCompiled=!0;let Q=null;return typeof b.keywords=="object"&&b.keywords.$pattern&&(b.keywords=Object.assign({},b.keywords),Q=b.keywords.$pattern,delete b.keywords.$pattern),Q=Q||/\w+/,b.keywords&&(b.keywords=$e(b.keywords,e.case_insensitive)),T.keywordPatternRe=a(Q,!0),d&&(b.begin||(b.begin=/\B|\b/),T.beginRe=a(T.begin),!b.end&&!b.endsWithParent&&(b.end=/\B|\b/),b.end&&(T.endRe=a(T.end)),T.terminatorEnd=h(T.end)||"",b.endsWithParent&&d.terminatorEnd&&(T.terminatorEnd+=(b.end?"|":"")+d.terminatorEnd)),b.illegal&&(T.illegalRe=a(b.illegal)),b.contains||(b.contains=[]),b.contains=[].concat(...b.contains.map(function(W){return Un(W==="self"?b:W)})),b.contains.forEach(function(W){Z(W,T)}),b.starts&&Z(b.starts,d),T.matcher=K(T),T}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),Z(e)}function Ze(e){return e?e.endsWithParent||Ze(e.starts):!1}function Un(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(a){return i(e,{variants:null},a)})),e.cachedVariants?e.cachedVariants:Ze(e)?i(e,{starts:e.starts?i(e.starts):null}):Object.isFrozen(e)?i(e):e}var zn="11.11.2";class Fn extends Error{constructor(a,o){super(a),this.name="HTMLInjectionError",this.html=o}}const Ie=r,We=i,qe=Symbol("nomatch"),$n=7,Ye=function(e){const a=Object.create(null),o=Object.create(null),R=[];let K=!0;const Z="Could not find the language '{}', did you forget to load/include a language module?",b={disableAutodetect:!0,name:"Plain text",contains:[]};let d={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:f};function T(s){return d.noHighlightRe.test(s)}function Q(s){let m=s.className+" ";m+=s.parentNode?s.parentNode.className:"";const C=d.languageDetectRe.exec(m);if(C){const B=_e(C[1]);return B||(Ge(Z.replace("{}",C[1])),Ge("Falling back to no-highlight mode for this block.",s)),B?C[1]:"no-highlight"}return m.split(/\s+/).find(B=>T(B)||_e(B))}function W(s,m,C){let B="",Y="";typeof m=="object"?(B=s,C=m.ignoreIllegals,Y=m.language):(Se("10.7.0","highlight(lang, code, ...args) has been deprecated."),Se("10.7.0",`Please use highlight(code, options) instead.
|
|
2
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),Y=s,B=m),C===void 0&&(C=!0);const ie={code:B,language:Y};Oe("before:highlight",ie);const Ee=ie.result?ie.result:Ae(ie.language,ie.code,C);return Ee.code=ie.code,Oe("after:highlight",Ee),Ee}function Ae(s,m,C,B){const Y=Object.create(null);function ie(l,E){return l.keywords[E]}function Ee(){if(!w.keywords){V.addText(P);return}let l=0;w.keywordPatternRe.lastIndex=0;let E=w.keywordPatternRe.exec(P),x="";for(;E;){x+=P.substring(l,E.index);const L=ce.case_insensitive?E[0].toLowerCase():E[0],j=ie(w,L);if(j){const[pe,rt]=j;if(V.addText(x),x="",Y[L]=(Y[L]||0)+1,Y[L]<=$n&&(Ce+=rt),pe.startsWith("_"))x+=E[0];else{const it=ce.classNameAliases[pe]||pe;oe(E[0],it)}}else x+=E[0];l=w.keywordPatternRe.lastIndex,E=w.keywordPatternRe.exec(P)}x+=P.substring(l),V.addText(x)}function xe(){if(P==="")return;let l=null;if(typeof w.subLanguage=="string"){if(!a[w.subLanguage]){V.addText(P);return}l=Ae(w.subLanguage,P,!0,tn[w.subLanguage]),tn[w.subLanguage]=l._top}else l=De(P,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(Ce+=l.relevance),V.__addSublanguage(l._emitter,l.language)}function te(){w.subLanguage!=null?xe():Ee(),P=""}function oe(l,E){l!==""&&(V.startScope(E),V.addText(l),V.endScope())}function Je(l,E){let x=1;const L=E.length-1;for(;x<=L;){if(!l._emit[x]){x++;continue}const j=ce.classNameAliases[l[x]]||l[x],pe=E[x];j?oe(pe,j):(P=pe,Ee(),P=""),x++}}function je(l,E){return l.scope&&typeof l.scope=="string"&&V.openNode(ce.classNameAliases[l.scope]||l.scope),l.beginScope&&(l.beginScope._wrap?(oe(P,ce.classNameAliases[l.beginScope._wrap]||l.beginScope._wrap),P=""):l.beginScope._multi&&(Je(l.beginScope,E),P="")),w=Object.create(l,{parent:{value:w}}),w}function en(l,E,x){let L=X(l.endRe,x);if(L){if(l["on:end"]){const j=new t(l);l["on:end"](E,j),j.isMatchIgnored&&(L=!1)}if(L){for(;l.endsParent&&l.parent;)l=l.parent;return l}}if(l.endsWithParent)return en(l.parent,E,x)}function jn(l){return w.matcher.regexIndex===0?(P+=l[0],1):(ze=!0,0)}function et(l){const E=l[0],x=l.rule,L=new t(x),j=[x.__beforeBegin,x["on:begin"]];for(const pe of j)if(pe&&(pe(l,L),L.isMatchIgnored))return jn(E);return x.skip?P+=E:(x.excludeBegin&&(P+=E),te(),!x.returnBegin&&!x.excludeBegin&&(P=E)),je(x,l),x.returnBegin?0:E.length}function nt(l){const E=l[0],x=m.substring(l.index),L=en(w,l,x);if(!L)return qe;const j=w;w.endScope&&w.endScope._wrap?(te(),oe(E,w.endScope._wrap)):w.endScope&&w.endScope._multi?(te(),Je(w.endScope,l)):j.skip?P+=E:(j.returnEnd||j.excludeEnd||(P+=E),te(),j.excludeEnd&&(P=E));do w.scope&&V.closeNode(),!w.skip&&!w.subLanguage&&(Ce+=w.relevance),w=w.parent;while(w!==L.parent);return L.starts&&je(L.starts,l),j.returnEnd?0:E.length}function tt(){const l=[];for(let E=w;E!==ce;E=E.parent)E.scope&&l.unshift(E.scope);l.forEach(E=>V.openNode(E))}let Me={};function nn(l,E){const x=E&&E[0];if(P+=l,x==null)return te(),0;if(Me.type==="begin"&&E.type==="end"&&Me.index===E.index&&x===""){if(P+=m.slice(E.index,E.index+1),!K){const L=new Error(`0 width match regex (${s})`);throw L.languageName=s,L.badRule=Me.rule,L}return 1}if(Me=E,E.type==="begin")return et(E);if(E.type==="illegal"&&!C){const L=new Error('Illegal lexeme "'+x+'" for mode "'+(w.scope||"<unnamed>")+'"');throw L.mode=w,L}else if(E.type==="end"){const L=nt(E);if(L!==qe)return L}if(E.type==="illegal"&&x==="")return E.index===m.length||(P+=`
|
|
3
|
-
`),1;if(Ue>1e5&&Ue>E.index*3)throw new Error("potential infinite loop, way more iterations than matches");return P+=x,x.length}const ce=_e(s);if(!ce)throw Ne(Z.replace("{}",s)),new Error('Unknown language: "'+s+'"');const at=Pn(ce);let Pe="",w=B||at;const tn={},V=new d.__emitter(d);tt();let P="",Ce=0,ye=0,Ue=0,ze=!1;try{if(ce.__emitTokens)ce.__emitTokens(m,V);else{for(w.matcher.considerAll();;){Ue++,ze?ze=!1:w.matcher.considerAll(),w.matcher.lastIndex=ye;const l=w.matcher.exec(m);if(!l)break;const E=m.substring(ye,l.index),x=nn(E,l);ye=l.index+x}nn(m.substring(ye))}return V.finalize(),Pe=V.toHTML(),{language:s,value:Pe,relevance:Ce,illegal:!1,_emitter:V,_top:w}}catch(l){if(l.message&&l.message.includes("Illegal"))return{language:s,value:Ie(m),illegal:!0,relevance:0,_illegalBy:{message:l.message,index:ye,context:m.slice(ye-100,ye+100),mode:l.mode,resultSoFar:Pe},_emitter:V};if(K)return{language:s,value:Ie(m),illegal:!1,relevance:0,errorRaised:l,_emitter:V,_top:w};throw l}}function Le(s){const m={value:Ie(s),illegal:!1,relevance:0,_top:b,_emitter:new d.__emitter(d)};return m._emitter.addText(s),m}function De(s,m){m=m||d.languages||Object.keys(a);const C=Le(s),B=m.filter(_e).filter(Ve).map(te=>Ae(te,s,!1));B.unshift(C);const Y=B.sort((te,oe)=>{if(te.relevance!==oe.relevance)return oe.relevance-te.relevance;if(te.language&&oe.language){if(_e(te.language).supersetOf===oe.language)return 1;if(_e(oe.language).supersetOf===te.language)return-1}return 0}),[ie,Ee]=Y,xe=ie;return xe.secondBest=Ee,xe}function Hn(s,m,C){const B=m&&o[m]||C;s.classList.add("hljs"),s.classList.add(`language-${B}`)}function Be(s){let m=null;const C=Q(s);if(T(C))return;if(Oe("before:highlightElement",{el:s,language:C}),s.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",s);return}if(s.children.length>0&&(d.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(s)),d.throwUnescapedHTML))throw new Fn("One of your code blocks includes unescaped HTML.",s.innerHTML);m=s;const B=m.textContent,Y=C?W(B,{language:C,ignoreIllegals:!0}):De(B);s.innerHTML=Y.value,s.dataset.highlighted="yes",Hn(s,C,Y.language),s.result={language:Y.language,re:Y.relevance,relevance:Y.relevance},Y.secondBest&&(s.secondBest={language:Y.secondBest.language,relevance:Y.secondBest.relevance}),Oe("after:highlightElement",{el:s,result:Y,text:B})}function Gn(s){d=We(d,s)}const Kn=()=>{ve(),Se("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Zn(){ve(),Se("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Xe=!1;function ve(){function s(){ve()}if(document.readyState==="loading"){Xe||window.addEventListener("DOMContentLoaded",s,!1),Xe=!0;return}document.querySelectorAll(d.cssSelector).forEach(Be)}function Wn(s,m){let C=null;try{C=m(e)}catch(B){if(Ne("Language definition for '{}' could not be registered.".replace("{}",s)),K)Ne(B);else throw B;C=b}C.name||(C.name=s),a[s]=C,C.rawDefinition=m.bind(null,e),C.aliases&&Qe(C.aliases,{languageName:s})}function qn(s){delete a[s];for(const m of Object.keys(o))o[m]===s&&delete o[m]}function Yn(){return Object.keys(a)}function _e(s){return s=(s||"").toLowerCase(),a[s]||a[o[s]]}function Qe(s,{languageName:m}){typeof s=="string"&&(s=[s]),s.forEach(C=>{o[C.toLowerCase()]=m})}function Ve(s){const m=_e(s);return m&&!m.disableAutodetect}function Xn(s){s["before:highlightBlock"]&&!s["before:highlightElement"]&&(s["before:highlightElement"]=m=>{s["before:highlightBlock"](Object.assign({block:m.el},m))}),s["after:highlightBlock"]&&!s["after:highlightElement"]&&(s["after:highlightElement"]=m=>{s["after:highlightBlock"](Object.assign({block:m.el},m))})}function Qn(s){Xn(s),R.push(s)}function Vn(s){const m=R.indexOf(s);m!==-1&&R.splice(m,1)}function Oe(s,m){const C=s;R.forEach(function(B){B[C]&&B[C](m)})}function Jn(s){return Se("10.7.0","highlightBlock will be removed entirely in v12.0"),Se("10.7.0","Please use highlightElement now."),Be(s)}Object.assign(e,{highlight:W,highlightAuto:De,highlightAll:ve,highlightElement:Be,highlightBlock:Jn,configure:Gn,initHighlighting:Kn,initHighlightingOnLoad:Zn,registerLanguage:Wn,unregisterLanguage:qn,listLanguages:Yn,getLanguage:_e,registerAliases:Qe,autoDetection:Ve,inherit:We,addPlugin:Qn,removePlugin:Vn}),e.debugMode=function(){K=!1},e.safeMode=function(){K=!0},e.versionString=zn,e.regex={concat:S,lookahead:y,either:I,optional:M,anyNumberOfTimes:N};for(const s in Re)typeof Re[s]=="object"&&n(Re[s]);return Object.assign(e,Re),e},Te=Ye({});return Te.newInstance=()=>Ye({}),Fe=Te,Te.HighlightJS=Te,Te.default=Te,Fe}var zt=Ut();const Ft=En(zt),sn={},$t="hljs-";function Ht(n){const t=Ft.newInstance();return n&&A(n),{highlight:r,highlightAuto:i,listLanguages:_,register:A,registerAlias:p,registered:u};function r(g,c,f){const h=f||sn,y=typeof h.prefix=="string"?h.prefix:$t;if(!t.getLanguage(g))throw new Error("Unknown language: `"+g+"` is not registered");t.configure({__emitter:Gt,classPrefix:y});const N=t.highlight(c,{ignoreIllegals:!0,language:g});if(N.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:N.errorRaised});const M=N._emitter.root,S=M.data;return S.language=N.language,S.relevance=N.relevance,M}function i(g,c){const h=(c||sn).subset||_();let y=-1,N=0,M;for(;++y<h.length;){const S=h[y];if(!t.getLanguage(S))continue;const v=r(S,g,c);v.data&&v.data.relevance!==void 0&&v.data.relevance>N&&(N=v.data.relevance,M=v)}return M||{type:"root",children:[],data:{language:void 0,relevance:N}}}function _(){return t.listLanguages()}function A(g,c){if(typeof g=="string")t.registerLanguage(g,c);else{let f;for(f in g)Object.hasOwn(g,f)&&t.registerLanguage(f,g[f])}}function p(g,c){if(typeof g=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:g});else{let f;for(f in g)if(Object.hasOwn(g,f)){const h=g[f];t.registerAliases(typeof h=="string"?h:[...h],{languageName:f})}}}function u(g){return!!t.getLanguage(g)}}class Gt{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const r=this.stack[this.stack.length-1],i=r.children[r.children.length-1];i&&i.type==="text"?i.value+=t:r.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,r){const i=this.stack[this.stack.length-1],_=t.root.children;r?i.children.push({type:"element",tagName:"span",properties:{className:[r]},children:_}):i.children.push(..._)}openNode(t){const r=this,i=t.split(".").map(function(p,u){return u?p+"_".repeat(u):r.options.classPrefix+p}),_=this.stack[this.stack.length-1],A={type:"element",tagName:"span",properties:{className:i},children:[]};_.children.push(A),this.stack.push(A)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const Kt=Ht({bash:ct,c:lt,cpp:ut,css:ht,go:Nt,javascript:Rt,json:Ot,markdown:xt,python:Mt,ruby:Ct,rust:kt,sql:It,typescript:Dt,xml:Bt,yaml:Pt}),Zt={C:"c","C++":"cpp",CSS:"css",Go:"go",HTML:"xml",JSON:"json",JavaScript:"javascript",Markdown:"markdown",Python:"python",Ruby:"ruby",Rust:"rust",SQL:"sql",Shell:"bash",TypeScript:"typescript",YAML:"yaml"};function Wt(n){const t=[[]];function r(i,_){if(i.type==="text"){i.value.split(`
|
|
4
|
-
`).forEach((p,u)=>{u>0&&t.push([]),p&&t[t.length-1].push({className:_,text:p})});return}if(i.type==="element"){const A=i,p=Array.isArray(A.properties.className)?A.properties.className.join(" "):"",u=[_,p].filter(Boolean).join(" ")||void 0;A.children.forEach(g=>{r(g,u)})}}return n.children.forEach(i=>r(i)),t}function qt(n,t){try{const r=Kt.highlight(Zt[t],n);return Wt(r)}catch{return null}}const Yt=2e4,Xt=1e3;function Qt(n){return n.replace(/\r\n?/g,`
|
|
5
|
-
`).replace(/\n$/,"")}function Vt(n){return n===null?null:Number.isFinite(n)?Math.max(0,Math.floor(n)):0}function Jt(n){return n===null?null:Number.isFinite(n)?Math.max(0,Math.floor(n)):0}function jt(n,t){if(t===null)return!1;let r=1;for(let i=0;i<n.length;i+=1)if(n.charCodeAt(i)===10&&(r+=1),r>t)return!0;return r>t}const ea=le.forwardRef(function(t,r){const{"aria-label":i,className:_,code:A,codeProps:p,containerClassName:u,dangerouslySetInnerHTML:g,language:c,maxHighlightLength:f=Yt,maxLineCount:h=Xt,preProps:y,title:N,...M}=t,{className:S,dangerouslySetInnerHTML:v,...I}=p??{},{className:U,dangerouslySetInnerHTML:X,...z}=y??{},D=le.useRef(null),k=le.useRef(null),[ee,J]=le.useState(!1),F=le.useMemo(()=>Qt(A),[A]),ae=Vt(f),ue=Jt(h),de=le.useMemo(()=>!jt(F,ue),[F,ue]),fe=de&&(ae===null||F.length<=ae),ne=le.useMemo(()=>de?F.split(`
|
|
6
|
-
`):null,[de,F]),ge=le.useMemo(()=>c&&fe?qt(F,c):null,[fe,c,F]),be=i?`${i} scroll area`:"Scrollable source code",he=le.useCallback(O=>{st.assignElementReference(r,O)},[r]);return le.useEffect(()=>{const O=k.current,$=D.current;if(!O||!$)return;const H=O;function q(){J(H.scrollWidth>H.clientWidth)}q();const G=O.ownerDocument.defaultView;G==null||G.addEventListener("resize",q);const se=G==null?void 0:G.ResizeObserver,re=se?new se(q):void 0;return re==null||re.observe(O),re==null||re.observe($),()=>{G==null||G.removeEventListener("resize",q),re==null||re.disconnect()}},[]),me.jsx(ot.Card,{...M,ref:he,"aria-label":i,className:["nk-code",_].filter(Boolean).join(" "),header:N||c?{title:N??"",subtitle:c}:void 0,spacing:"none",children:me.jsx("div",{ref:k,"aria-label":ee?be:void 0,className:["nk-code__container",u].filter(Boolean).join(" "),role:ee?"region":void 0,tabIndex:ee?0:void 0,children:me.jsx("pre",{...z,className:["nk-code__pre",U].filter(Boolean).join(" "),children:me.jsx("code",{...I,ref:D,className:["nk-code__content",ne===null?"nk-code__content--plain":void 0,S].filter(Boolean).join(" "),"data-language":c,children:ne===null?F:ne.map((O,$)=>{const H=ge==null?void 0:ge[$];return me.jsxs("span",{className:"nk-code__line",children:[me.jsx("span",{"aria-hidden":"true",className:"nk-code__line-number",children:$+1}),me.jsx("span",{className:"nk-code__line-content",children:H!=null&&H.length?H.map((q,G)=>me.jsx("span",{className:q.className,children:q.text},G)):O||" "})]},$)})})})})})});exports.Code=ea;exports.getDefaultExportFromCjs=En;
|
package/dist/Content.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react"),l=require("./units-PzuiQNnw.cjs"),C=[{minWidth:l.breakpoint("xl"),marginPercent:32,preferredWidth:1200},{minWidth:l.breakpoint("lg"),marginPercent:20,preferredWidth:1100},{minWidth:l.breakpoint("md"),marginPercent:14,preferredWidth:l.breakpoint("md")},{minWidth:l.breakpoint("sm"),marginPercent:8,preferredWidth:650}],w=16;function W(e){for(const t of C)if(e>=t.minWidth)return t}function M(e,t){if(!Number.isFinite(e)||!Number.isFinite(t)||e<l.breakpoint("sm")||t<=0)return;const r=W(e);if(!r)return;const i=e*r.marginPercent/100,s=e-i*2,h=Math.min(r.preferredWidth,e-w),d=Math.max(s,h);let o=Math.floor(d/t);return o%2===0&&(o-=1),o=Math.max(o,1),Math.min((o-1)*t,e)}const k=typeof window>"u"?c.useEffect:c.useLayoutEffect;function R(e,t){if(typeof e=="function"){e(t);return}e&&(e.current=t)}function N(e){const t=window.getComputedStyle(e),r=Number.parseFloat(t.paddingLeft)+Number.parseFloat(t.paddingRight);return Math.max(e.clientWidth-r,0)}function P(e){const r=window.getComputedStyle(e).getPropertyValue("--nk-cell").trim().match(/^([+]?(?:\d+\.?\d*|\.\d+))px$/i);if(!r)return;const i=Number.parseFloat(r[1]);return Number.isFinite(i)&&i>0?i:void 0}function S(e,t){const r=c.useRef(null),i=c.useRef(null),s=c.useRef(void 0),[h,d]=c.useState(void 0),o=c.useCallback(n=>{if(!t){if(s.current===void 0)return;s.current=void 0,d(void 0);return}const u=N(n),f=P(n),m=f===void 0?void 0:M(u,f);s.current!==m&&(s.current=m,d(m))},[t]),a=c.useCallback(n=>{var f;if((f=i.current)==null||f.disconnect(),i.current=null,typeof ResizeObserver>"u")return;const u=new ResizeObserver(()=>o(n));u.observe(n),i.current=u},[o]),g=c.useCallback(n=>{var u;(u=i.current)==null||u.disconnect(),i.current=null,r.current=n,R(e,n),!(!n||typeof window>"u"||!t)&&(o(n),a(n))},[a,e,o,t]);return k(()=>{r.current&&o(r.current)}),c.useEffect(()=>(r.current&&t&&a(r.current),()=>{var n;(n=i.current)==null||n.disconnect(),i.current=null}),[a,t]),{rootReference:g,innerWidth:h}}const x=c.forwardRef(function(t,r){const{as:i,children:s,className:h,style:d,theme:o="light",accent:a,mode:g="grid",width:n="narrow",height:u="content",spacing:f="standard",...m}=t,{rootReference:v,innerWidth:p}=S(r,n==="narrow"),b=i??"div",y=a!==void 0?{...d,"--nk-accent":a}:d;return c.createElement(b,{...m,ref:v,className:["nk-content",h].filter(Boolean).join(" "),"data-theme":o,"data-mode":g,"data-width":n,"data-height":u,"data-spacing":f,style:y},c.createElement("div",{className:"nk-content__inner",style:p===void 0?void 0:{width:`${p}px`}},s))});exports.default=x;
|
package/dist/Content.js
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { useRef as g, useState as b, useCallback as p, useEffect as w, useLayoutEffect as N, forwardRef as R, createElement as y } from "react";
|
|
3
|
-
import { b as f } from "./units-BmjPCccF.js";
|
|
4
|
-
const x = [
|
|
5
|
-
{
|
|
6
|
-
minWidth: f("xl"),
|
|
7
|
-
marginPercent: 32,
|
|
8
|
-
preferredWidth: 1200
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
minWidth: f("lg"),
|
|
12
|
-
marginPercent: 20,
|
|
13
|
-
preferredWidth: 1100
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
minWidth: f("md"),
|
|
17
|
-
marginPercent: 14,
|
|
18
|
-
preferredWidth: f("md")
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
minWidth: f("sm"),
|
|
22
|
-
marginPercent: 8,
|
|
23
|
-
preferredWidth: 650
|
|
24
|
-
}
|
|
25
|
-
], P = 16;
|
|
26
|
-
function F(t) {
|
|
27
|
-
for (const e of x)
|
|
28
|
-
if (t >= e.minWidth) return e;
|
|
29
|
-
}
|
|
30
|
-
function L(t, e) {
|
|
31
|
-
if (!Number.isFinite(t) || !Number.isFinite(e) || t < f("sm") || e <= 0)
|
|
32
|
-
return;
|
|
33
|
-
const r = F(t);
|
|
34
|
-
if (!r) return;
|
|
35
|
-
const i = t * r.marginPercent / 100, u = t - i * 2, m = Math.min(
|
|
36
|
-
r.preferredWidth,
|
|
37
|
-
t - P
|
|
38
|
-
), d = Math.max(u, m);
|
|
39
|
-
let o = Math.floor(d / e);
|
|
40
|
-
return o % 2 === 0 && (o -= 1), o = Math.max(o, 1), Math.min((o - 1) * e, t);
|
|
41
|
-
}
|
|
42
|
-
const S = typeof window > "u" ? w : N;
|
|
43
|
-
function k(t, e) {
|
|
44
|
-
if (typeof t == "function") {
|
|
45
|
-
t(e);
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
t && (t.current = e);
|
|
49
|
-
}
|
|
50
|
-
function z(t) {
|
|
51
|
-
const e = window.getComputedStyle(t), r = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight);
|
|
52
|
-
return Math.max(t.clientWidth - r, 0);
|
|
53
|
-
}
|
|
54
|
-
function I(t) {
|
|
55
|
-
const r = window.getComputedStyle(t).getPropertyValue("--nk-cell").trim().match(
|
|
56
|
-
/^([+]?(?:\d+\.?\d*|\.\d+))px$/i
|
|
57
|
-
);
|
|
58
|
-
if (!r) return;
|
|
59
|
-
const i = Number.parseFloat(r[1]);
|
|
60
|
-
return Number.isFinite(i) && i > 0 ? i : void 0;
|
|
61
|
-
}
|
|
62
|
-
function O(t, e) {
|
|
63
|
-
const r = g(null), i = g(null), u = g(void 0), [m, d] = b(void 0), o = p((n) => {
|
|
64
|
-
if (!e) {
|
|
65
|
-
if (u.current === void 0) return;
|
|
66
|
-
u.current = void 0, d(void 0);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
const c = z(n), a = I(n), h = a === void 0 ? void 0 : L(c, a);
|
|
70
|
-
u.current !== h && (u.current = h, d(h));
|
|
71
|
-
}, [e]), s = p(
|
|
72
|
-
(n) => {
|
|
73
|
-
var a;
|
|
74
|
-
if ((a = i.current) == null || a.disconnect(), i.current = null, typeof ResizeObserver > "u") return;
|
|
75
|
-
const c = new ResizeObserver(
|
|
76
|
-
() => o(n)
|
|
77
|
-
);
|
|
78
|
-
c.observe(n), i.current = c;
|
|
79
|
-
},
|
|
80
|
-
[o]
|
|
81
|
-
), l = p(
|
|
82
|
-
(n) => {
|
|
83
|
-
var c;
|
|
84
|
-
(c = i.current) == null || c.disconnect(), i.current = null, r.current = n, k(t, n), !(!n || typeof window > "u" || !e) && (o(n), s(n));
|
|
85
|
-
},
|
|
86
|
-
[
|
|
87
|
-
s,
|
|
88
|
-
t,
|
|
89
|
-
o,
|
|
90
|
-
e
|
|
91
|
-
]
|
|
92
|
-
);
|
|
93
|
-
return S(() => {
|
|
94
|
-
r.current && o(r.current);
|
|
95
|
-
}), w(() => (r.current && e && s(r.current), () => {
|
|
96
|
-
var n;
|
|
97
|
-
(n = i.current) == null || n.disconnect(), i.current = null;
|
|
98
|
-
}), [s, e]), { rootReference: l, innerWidth: m };
|
|
99
|
-
}
|
|
100
|
-
const A = R(
|
|
101
|
-
function(e, r) {
|
|
102
|
-
const {
|
|
103
|
-
as: i,
|
|
104
|
-
children: u,
|
|
105
|
-
className: m,
|
|
106
|
-
style: d,
|
|
107
|
-
theme: o = "light",
|
|
108
|
-
accent: s,
|
|
109
|
-
mode: l = "grid",
|
|
110
|
-
width: n = "narrow",
|
|
111
|
-
height: c = "content",
|
|
112
|
-
spacing: a = "standard",
|
|
113
|
-
...h
|
|
114
|
-
} = e, { rootReference: C, innerWidth: v } = O(
|
|
115
|
-
r,
|
|
116
|
-
n === "narrow"
|
|
117
|
-
), W = i ?? "div", M = s !== void 0 ? { ...d, "--nk-accent": s } : d;
|
|
118
|
-
return y(
|
|
119
|
-
W,
|
|
120
|
-
{
|
|
121
|
-
...h,
|
|
122
|
-
ref: C,
|
|
123
|
-
className: ["nk-content", m].filter(Boolean).join(" "),
|
|
124
|
-
"data-theme": o,
|
|
125
|
-
"data-mode": l,
|
|
126
|
-
"data-width": n,
|
|
127
|
-
"data-height": c,
|
|
128
|
-
"data-spacing": a,
|
|
129
|
-
style: M
|
|
130
|
-
},
|
|
131
|
-
y(
|
|
132
|
-
"div",
|
|
133
|
-
{
|
|
134
|
-
className: "nk-content__inner",
|
|
135
|
-
style: v === void 0 ? void 0 : { width: `${v}px` }
|
|
136
|
-
},
|
|
137
|
-
u
|
|
138
|
-
)
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
);
|
|
142
|
-
export {
|
|
143
|
-
A as default
|
|
144
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),u=require("react"),f=u.forwardRef(function(o,l){const{"aria-hidden":t,"aria-label":n,"aria-labelledby":i,"aria-orientation":d,className:s,decorative:c=!1,orientation:a="horizontal",role:v,text:e,...b}=o,h=c?{"aria-hidden":!0,"aria-label":void 0,"aria-labelledby":void 0,role:void 0}:{"aria-hidden":t,"aria-label":n??(i===void 0&&a==="horizontal"?e:void 0),"aria-labelledby":i,"aria-orientation":d??a,role:v??"separator"};return r.jsx("div",{...b,...h,ref:l,className:["nk-divider",s].filter(Boolean).join(" "),"data-has-text":!!e||void 0,"data-orientation":a,children:e&&a==="horizontal"?r.jsx("span",{className:"nk-divider__text",children:e}):null})});exports.Divider=f;
|
package/dist/Icon-D8IZceys.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("react"),o=require("react/jsx-runtime"),v=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.5 0h1.6c.5.1 1 .3 1.3.6.3.4.5.8.5 1.3l.1 1.6v8.6c-.1.5-.3 1-.6 1.3a2 2 0 0 1-1.3.5l-1.6.1H1.9a2 2 0 0 1-1.3-.6A2 2 0 0 1 .1 12L0 10.5V1.9C.2 1.4.4.9.7.6A2 2 0 0 1 2 .1L3.5 0h7Zm-7 1.4H2.1c-.3 0-.4.1-.5.2l-.2.5v3.5a11.8 11.8 0 0 0 0 1l.4.3h.3l.7.1h1a1.4 1.4 0 0 1 .8.4l.4.4.1.4v.2l.2.3.1.4h3.2l.2-.5v-.2l.2-.6.4-.4.2-.2.6-.2h1a11.8 11.8 0 0 0 1 0l.3-.4v-.3l.1-.6V2.1c0-.3-.1-.4-.2-.5l-.5-.2H3.5Z",clipRule:"evenodd"})})}),f=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M5.75 10 3 7.25m0 0L5.75 4.5M3 7.25h8.5"})})}),g=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M8.25 10 11 7.25m0 0L8.25 4.5M11 7.25H2.5"})})}),u=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.633",d:"M5.955 11.616 2.177 8.838a.82.82 0 0 0-.32-.143l-.985-.2-.03-.007a.148.148 0 0 1-.026-.087V5.423c0-.049.014-.076.022-.087l.034-.005.984-.202a.818.818 0 0 0 .32-.142l3.78-2.78v9.41Z"}),o.jsx("path",{fill:"currentColor",d:"M9.383 5.053c-.192-.37-.635-.454-.93-.168l-.044.033a.737.737 0 0 0-.133.825c.162.337.266.724.266 1.144 0 .421-.104.808-.266 1.145a.737.737 0 0 0 .133.824l.044.034c.28.286.738.219.93-.168A4.214 4.214 0 0 0 9.81 6.87c0-.64-.162-1.263-.427-1.818Z"}),o.jsx("path",{fill:"currentColor",d:"M10.932 3.386c-.207-.336-.635-.387-.9-.117l-.03.033a.768.768 0 0 0-.088.91c.472.756.737 1.699.737 2.692 0 1.01-.28 1.935-.737 2.692a.768.768 0 0 0 .088.91l.03.033c.265.27.693.219.9-.118.62-.993.973-2.205.973-3.517 0-1.313-.354-2.525-.973-3.518Z"}),o.jsx("path",{fill:"currentColor",d:"M12.48 1.754c-.22-.32-.62-.37-.885-.1l-.044.033c-.236.235-.265.64-.074.925.797 1.195 1.254 2.676 1.254 4.275 0 1.599-.472 3.097-1.254 4.275-.191.286-.162.69.074.925l.044.034c.266.27.664.219.885-.101.96-1.43 1.52-3.214 1.52-5.15 0-1.901-.56-3.685-1.52-5.116Z"})]})}),J=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M13 2.229c0-.413-.112-.818-.324-1.17a2.2 2.2 0 0 0-.88-.822A2.15 2.15 0 0 0 9.51.441c-.325.246-.577.58-.726.964a2.27 2.27 0 0 0 .4 2.303c.27.308.618.534 1.006.652v.095c0 .507-.197.992-.548 1.35a1.86 1.86 0 0 1-1.325.559H5.82c-.675.007-1.33.23-1.874.636V4.36a2.2 2.2 0 0 0 1.218-.936A2.26 2.26 0 0 0 4.751.542 2.16 2.16 0 0 0 3.322 0c-.525 0-1.032.193-1.43.542a2.26 2.26 0 0 0-.413 2.882c.283.451.716.783 1.219.936v5.28a2.2 2.2 0 0 0-1.218.936 2.26 2.26 0 0 0 .413 2.882c.397.35.904.542 1.43.542.524 0 1.031-.193 1.428-.542a2.26 2.26 0 0 0 .413-2.882 2.2 2.2 0 0 0-1.218-.936v-.095c0-.507.198-.992.55-1.35a1.86 1.86 0 0 1 1.324-.559h2.497c.828 0 1.622-.335 2.208-.931a3.2 3.2 0 0 0 .914-2.25V4.36c.45-.137.846-.418 1.127-.802S13 2.708 13 2.229"})})}),x=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("rect",{width:"14",height:"2.1",y:"1.75",fill:"currentColor",rx:"1.05"}),o.jsx("rect",{width:"14",height:"2.1",y:"5.95",fill:"currentColor",rx:"1.05"}),o.jsx("rect",{width:"14",height:"2.1",y:"10.15",fill:"currentColor",rx:"1.05"})]})}),p=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.25 2.714h-1.313l-.437-.857C10.242 1.36 10.108 1 9.625 1h-5.25c-.483 0-.643.409-.875.857l-.438.857H1.75C.784 2.714 0 3.482 0 4.43v6.857C0 12.232.784 13 1.75 13h10.5c.966 0 1.75-.768 1.75-1.714V4.429c0-.947-.784-1.715-1.75-1.715ZM7 11.286c-1.933 0-3.5-1.535-3.5-3.429C3.5 5.964 5.067 4.43 7 4.43s3.5 1.535 3.5 3.428c0 1.894-1.567 3.429-3.5 3.429Z",clipRule:"evenodd"}),o.jsx("path",{fill:"currentColor",d:"M4.75 7.9a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0Z"})]})}),I=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M1.3 10.7c.1-.4 0-.7-.2-1A6 6 0 0 1 0 6.3C0 2.8 3.1 0 7 0s7 2.8 7 6.3-3.1 6.3-7 6.3c-.6 0-1.2 0-1.7-.2a1 1 0 0 0-.7 0l-3 1.5-.2.1a.7.7 0 0 1-.7-.9l.6-2.4Z"})})}),j=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.8",d:"m4 7.5 2 2L10.5 5"})})}),N=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M3.5 5.25 7 8.75l3.5-3.5"})})}),X=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M8.75 3.5 5.25 7l3.5 3.5"})})}),Y=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M5.25 3.5 8.75 7l-3.5 3.5"})})}),_=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M3.5 8.75 7 5.25l3.5 3.5"})})}),o1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.391 7.868a3.501 3.501 0 0 1-6.782 0 1 1 0 0 1-.109.007H.875a.875.875 0 1 1 0-1.75H3.5q.055 0 .109.007a3.501 3.501 0 0 1 6.782 0 1 1 0 0 1 .109-.007h2.625a.875.875 0 1 1 0 1.75H10.5a1 1 0 0 1-.109-.007M7 8.75a1.75 1.75 0 1 0 0-3.5 1.75 1.75 0 0 0 0 3.5",clipRule:"evenodd"})})}),C=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.6",d:"m4 4 6 6M10 4l-6 6"})})}),k=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M3.5 12.25h7M7 1.75v8.167m0 0L9.917 7M7 9.917 4.083 7"})})}),m=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M8.152.192c.35 0 .663 0 .92.02.268.023.548.074.82.215.398.205.718.532.918.93.137.273.187.553.209.822.018.223.019.487.02.783.302 0 .574.001.803.02.267.023.547.072.82.213.397.206.718.533.918.932.137.273.185.552.207.821.021.26.02.575.02.93v5.012c0 .356.001.671-.02.931-.022.27-.07.549-.207.822-.2.398-.52.725-.918.93a2.126 2.126 0 0 1-.82.214c-.258.021-.57.02-.921.02H5.848c-.35 0-.663.002-.92-.02a2.124 2.124 0 0 1-.82-.214 2.117 2.117 0 0 1-.919-.931 2.177 2.177 0 0 1-.208-.82 10.57 10.57 0 0 1-.018-.792c-.145-.002-.29-.004-.43-.01a6.939 6.939 0 0 1-.595-.05 1.89 1.89 0 0 1-.6-.165 2.117 2.117 0 0 1-.918-.932 2.176 2.176 0 0 1-.207-.821c-.021-.26-.02-.575-.02-.93V3.11c0-.356-.001-.671.02-.931.022-.27.07-.549.207-.822.2-.398.52-.725.918-.93.273-.141.553-.192.82-.214.258-.021.57-.02.921-.02h5.073ZM5.848 4.577c-.377 0-.611 0-.786.015-.166.014-.207.036-.212.039a.5.5 0 0 0-.217.22l-.017.053a1.207 1.207 0 0 0-.024.174c-.015.18-.015.419-.015.8v5.012c0 .382 0 .621.015.801.007.086.016.14.024.174l.017.053a.506.506 0 0 0 .151.18l.066.04c.005.003.046.025.212.039.175.014.409.015.786.015h5.073c.377 0 .612 0 .787-.015.166-.014.207-.036.212-.038a.501.501 0 0 0 .217-.221c.004-.01.026-.056.04-.227.014-.18.015-.419.015-.801V5.879c0-.382 0-.621-.015-.8-.014-.172-.036-.218-.04-.227a.501.501 0 0 0-.217-.221c-.005-.003-.046-.025-.212-.04-.175-.014-.41-.014-.787-.014H5.848Zm-2.769-2.77c-.377 0-.611.002-.787.016-.166.014-.207.036-.212.038a.502.502 0 0 0-.217.221c-.004.01-.026.056-.04.227-.014.18-.015.419-.015.801v5.011c0 .382 0 .621.015.8.007.086.016.14.024.175l.016.052c.044.087.111.156.19.204.017.003.05.011.101.018.116.016.27.028.453.036.114.005.234.007.355.009V5.879c0-.356-.001-.671.02-.93.021-.27.07-.55.207-.822.2-.4.521-.726.918-.932.273-.14.553-.19.82-.213.258-.021.57-.02.92-.02h3.575c0-.298-.001-.498-.014-.653-.014-.171-.036-.218-.04-.227a.501.501 0 0 0-.218-.22l-.046-.015a1.143 1.143 0 0 0-.166-.024c-.175-.014-.409-.015-.786-.015H3.08Z"})})}),M=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,fill:"none",height:c,viewBox:"0 0 14 14",width:r,xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M7.042 4.475c.49 0 .97.15 1.377.429.407.28.724.677.912 1.142.187.464.237.976.141 1.469a2.57 2.57 0 0 1-.676 1.303 2.5 2.5 0 0 1-1.035.637 2.42 2.42 0 0 1-2.293-.467 2.54 2.54 0 0 1-.719-.994 2.6 2.6 0 0 1 .23-2.389c.226-.348.534-.633.893-.83a2.4 2.4 0 0 1 1.17-.3m-.017 1.157c-.354 0-.694.145-.944.402s-.392.605-.393.968c0 .755.617 1.389 1.354 1.389.73 0 1.317-.627 1.317-1.389 0-.754-.598-1.37-1.334-1.37",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}),o.jsx("path",{d:"M7.023 2c2.73 0 5.303 1.51 6.656 4.154l.127.258.001.002.122.274.005.009v.007a.9.9 0 0 1 .066.303.9.9 0 0 1-.065.317v.005l-.004.008C12.665 10.313 9.904 12 6.997 12 4.09 12 1.333 10.318.066 7.349L.06 7.344l-.003-.01A1.1 1.1 0 0 1 0 7.016c0-.101.02-.202.057-.318L.06 6.69v-.002a7.7 7.7 0 0 1 2.797-3.415A7.43 7.43 0 0 1 7.023 2m0 1.284c-2.308 0-4.601 1.261-5.731 3.726 1.139 2.477 3.401 3.706 5.704 3.706 2.308 0 4.572-1.238 5.7-3.704-1.129-2.466-3.369-3.728-5.673-3.728",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})]})}),R=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,fill:"none",height:c,viewBox:"0 0 14 14",width:r,xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"m2.867 12.098 1.266.804 7-11-1.266-.804zM10.264 4.2c1.005.624 1.86 1.564 2.431 2.813-1.127 2.465-3.39 3.703-5.699 3.703q-.423-.002-.84-.06l-.745 1.17A7.5 7.5 0 0 0 6.996 12c2.907 0 5.669-1.687 6.936-4.663l.003-.008v-.005A.9.9 0 0 0 14 7.008a.9.9 0 0 0-.066-.304v-.008l-.005-.008-.121-.274-.001-.002-.127-.258h-.001a7.7 7.7 0 0 0-2.736-3.022zM7.022 2a7.43 7.43 0 0 0-4.166 1.274A7.7 7.7 0 0 0 .061 6.688L.06 6.69l-.003.007a1 1 0 0 0-.057.32q.005.163.058.317l.003.01.004.005c.658 1.54 1.718 2.73 2.99 3.523l.678-1.067C2.727 9.188 1.866 8.259 1.292 7.01c1.13-2.465 3.423-3.727 5.73-3.727q.416 0 .826.057l.743-1.17A7.4 7.4 0 0 0 7.022 2",fill:"currentColor"}),o.jsx("path",{d:"M8.343 7.219c-.061.408-.292.76-.616.968l-.872 1.369c.305.023.612-.01.906-.1.39-.123.747-.341 1.035-.638.346-.356.581-.81.677-1.303a2.6 2.6 0 0 0-.244-1.69zM7.042 4.475c-.408 0-.81.103-1.17.3-.36.198-.667.483-.893.83a2.61 2.61 0 0 0-.23 2.389q.027.063.058.124l.925-1.455a1.4 1.4 0 0 1 .472-.741l.92-1.444z",fill:"currentColor"})]})}),L=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6",d:"M7 9.25 9.25 7m0 0L7 4.75M9.25 7H1m0-3.564V3.4c0-.84 0-1.26.163-1.581a1.5 1.5 0 0 1 .656-.656C2.139 1 2.56 1 3.4 1h7.2c.84 0 1.26 0 1.58.163a1.5 1.5 0 0 1 .657.656c.163.32.163.74.163 1.579v7.205c0 .838 0 1.257-.163 1.578a1.5 1.5 0 0 1-.656.656c-.321.163-.74.163-1.579.163H3.398c-.839 0-1.259 0-1.58-.163a1.5 1.5 0 0 1-.655-.656C1 11.86 1 11.44 1 10.6v-.037"})})}),r1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M12 5.5v4.867c0 .746 0 1.12-.14 1.405a1.3 1.3 0 0 1-.562.583c-.275.145-.635.145-1.355.145H4.557c-.72 0-1.08 0-1.355-.145a1.3 1.3 0 0 1-.562-.583c-.14-.285-.14-.659-.14-1.405V3.633c0-.746 0-1.12.14-1.405.123-.25.32-.455.562-.583.275-.145.635-.145 1.355-.145h3.586M12 5.5l-3.857-4M12 5.5H8.786a.655.655 0 0 1-.643-.667V1.5"})})}),n1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M2.49 2.25H5.19c.413 0 .508.004.588.021q.133.03.243.093c.064.036.128.088.421.358l.098.09c.244.224.45.42.7.56q.232.13.486.205l.17.044c.278.061.564.058.912.058h2.702c.447 0 .74 0 .966.017.217.017.307.045.356.068a.75.75 0 0 1 .342.308c.013.024.04.084.056.27.018.198.019.459.019.872v5c0 .413-.001.675-.019.872-.016.186-.043.246-.056.27a.75.75 0 0 1-.342.309c-.049.023-.139.051-.356.067-.225.017-.52.018-.966.018H2.489c-.447 0-.74 0-.966-.018-.217-.016-.307-.044-.356-.067a.75.75 0 0 1-.342-.309c-.013-.024-.04-.084-.056-.27a11 11 0 0 1-.019-.872V3.786c0-.413.001-.675.019-.872.016-.186.043-.246.056-.27a.75.75 0 0 1 .342-.309c.049-.023.139-.051.356-.067.225-.017.52-.018.966-.018"})})}),e1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M6.293.818a1 1 0 0 1 1.414 0l5.586 5.585c.39.39.39 1.025 0 1.415l-5.586 5.585a1 1 0 0 1-1.414 0L.707 7.818a1 1 0 0 1 0-1.415L4.731 2.38l1.215 1.215a1.187 1.187 0 0 0 .554 1.68v4a1.187 1.187 0 1 0 .95 0V5.275q.06-.026.117-.06l1.865 1.864A1.186 1.186 0 0 0 10.537 8.7a1.188 1.188 0 1 0-.434-2.293L8.135 4.44a1.187 1.187 0 0 0-1.411-1.411l-1.32-1.32z"})})}),Z=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 0a7 7 0 0 1 7 7.2c0 3.1-2 5.8-4.8 6.8-.3 0-.5-.2-.5-.4v-2c0-.6-.2-1-.4-1.3 1.5-.1 3.2-.7 3.2-3.5a3 3 0 0 0-.8-2c.1-.1.4-.8 0-1.8 0 0-.6-.2-2 .7a6.6 6.6 0 0 0-3.5 0C4 2.7 3.3 3 3.3 3c-.4 1-.1 1.7 0 1.9-.5.5-.8 1.1-.8 1.9 0 2.8 1.7 3.4 3.2 3.5-.2.2-.4.5-.4 1-.4.2-1.4.5-2-.6 0 0-.4-.7-1.1-.7 0 0-.7 0 0 .4 0 0 .4.2.7 1 0 0 .4 1.3 2.4 1v1.2c0 .2-.2.5-.5.4A7.2 7.2 0 0 1 0 7.2 7 7 0 0 1 7 0Z",clipRule:"evenodd"})})}),P=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0ZM1.4 7.7c.3 2.2 1.9 4 4 4.7a9.7 9.7 0 0 1-1.9-4.7h-2Zm9 0c0 1.5-.6 3-1.8 4.7a5.6 5.6 0 0 0 4-4.7h-2.1ZM5 7.7c.2 1.4.8 3 2.1 4.6A8.7 8.7 0 0 0 9 7.7H5Zm.3-6c-2 .6-3.5 2.4-3.8 4.6h2.1l.1-.8a12 12 0 0 1 1.5-3.8Zm1.8 0A8.2 8.2 0 0 0 5 6.3h4.2v-.6a8.2 8.2 0 0 0-2.1-4Zm1.8 0a9.4 9.4 0 0 1 1.7 4.6h2c-.2-2.2-1.7-4-3.7-4.6Z",clipRule:"evenodd"})})}),H=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M9.71 0c.374 0 .678.304.678.678v.677h.677c.872 0 1.58.708 1.58 1.58v.678h.678a.678.678 0 0 1 0 1.355h-.678v1.355h.678a.677.677 0 0 1 0 1.355h-.678v1.354h.678a.678.678 0 0 1 0 1.356h-.678v.677c0 .872-.708 1.58-1.58 1.58h-.677v.678a.678.678 0 0 1-1.356 0v-.678H7.678v.678a.678.678 0 0 1-1.355 0v-.678H4.968v.678a.677.677 0 0 1-1.355 0v-.678h-.677a1.58 1.58 0 0 1-1.58-1.58v-.677H.677a.678.678 0 0 1 0-1.356h.677V7.678H.678a.678.678 0 0 1 0-1.355h.677V4.968H.678a.678.678 0 1 1 0-1.355h.677v-.677c0-.873.708-1.58 1.58-1.58h.678V.677a.678.678 0 0 1 1.355 0v.677h1.355V.678a.677.677 0 1 1 1.355 0v.677h1.354V.678c0-.374.304-.678.678-.678ZM2.936 2.71a.226.226 0 0 0-.226.226v8.128c0 .125.101.227.226.227h8.128a.228.228 0 0 0 .227-.226v-8.13a.227.227 0 0 0-.226-.225h-8.13Zm5.42 1.354c.872 0 1.58.709 1.58 1.582v2.71a1.58 1.58 0 0 1-1.58 1.58h-2.71c-.873 0-1.581-.708-1.582-1.58v-2.71c0-.873.709-1.582 1.582-1.582h2.71ZM5.645 5.42c-.125 0-.226.1-.226.226v2.71c0 .124.101.225.226.225h2.71a.226.226 0 0 0 .225-.226v-2.71a.226.226 0 0 0-.226-.225h-2.71Z"})})}),t1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M1 5.7v7.8h4.286v-3.467C5.286 9.076 6.053 8.3 7 8.3s1.714.776 1.714 1.733V13.5H13V5.7L7 .5z"})})}),B=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("circle",{cx:"7",cy:"7",r:"5.25",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("circle",{cx:"7",cy:"5",r:"0.75",fill:"currentColor",stroke:"none"}),o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.6",d:"M7 7v2.5"})]})}),V=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.254 7.814C11.323 7.814 13 6.177 13 4.157S11.323.5 9.254.5 5.507 2.137 5.507 4.157c0 .57.134 1.11.373 1.592a.55.55 0 0 1-.09.64l-4.423 4.318a.5.5 0 0 0 0 .715l1.779 1.737a.5.5 0 0 0 .698 0l.462-.45a.5.5 0 0 0 0-.716l-.585-.57a.5.5 0 0 1 0-.716l.605-.59a.5.5 0 0 1 .698 0l.62.604a.5.5 0 0 0 .698 0l.461-.45a.5.5 0 0 0 0-.716l-.584-.57a.5.5 0 0 1 0-.716l.761-.744a.55.55 0 0 1 .621-.085c.499.24 1.06.374 1.653.374m0-1.625c1.15 0 2.081-.91 2.081-2.032s-.932-2.032-2.081-2.032-2.082.91-2.082 2.032.932 2.032 2.082 2.032",clipRule:"evenodd"})})}),A=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14 14h-2.8V9.1c0-1.3-.6-2-1.7-2s-1.8.7-1.8 2V14H4.9V4.9h2.8v1s.9-1.5 2.9-1.5S14 5.6 14 8v6ZM1.7 3.4C.7 3.4 0 2.7 0 1.7S.8 0 1.7 0a1.7 1.7 0 0 1 0 3.4ZM0 14h3.5V4.9H0V14Z",clipRule:"evenodd"})})}),y=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"3 -2 16 22",fill:"none",children:[o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"m3 3.7 8 5.9 8-5.9"}),o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"M18 2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z"})]})}),W=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.6",d:"M3.5 7.121h7.243"})})}),b=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M9.534 2.136a1.784 1.784 0 0 1 1.944 2.91l-.26.258-2.522-2.522.259-.26c.166-.165.362-.297.579-.386ZM7.989 3.489 2.827 8.65a.5.5 0 0 0-.128.222l-.681 2.497a.5.5 0 0 0 .614.614l2.496-.681a.5.5 0 0 0 .222-.129l5.162-5.162L7.989 3.49Z"})})}),z=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.6",d:"M3.5 7.121h7.243M7.122 3.5v7.243"})})}),q=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("rect",{width:"6",height:"6",fill:"currentColor",rx:"1"}),o.jsx("rect",{width:"6",height:"6",x:"8",fill:"currentColor",rx:"1"}),o.jsx("rect",{width:"6",height:"6",y:"8",fill:"currentColor",rx:"1"}),o.jsx("rect",{width:"6",height:"6",x:"8",y:"8",fill:"currentColor",rx:"1"})]})}),S=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("path",{d:"M14 14h-3.111v-1.556h1.555V10.89H14V14ZM0 0h6.222v6.222H0V0Zm1.556 1.556v3.11h3.11v-3.11h-3.11ZM7.778 0H14v6.222H7.778V0Zm1.555 1.556v3.11h3.111v-3.11h-3.11ZM0 7.778h6.222V14H0V7.778Zm1.556 1.555v3.111h3.11v-3.11h-3.11Zm10.11-1.555H14V9h-2.333V7.778ZM9.333 10H7.778V7.778h1.555V10ZM9.31 12.444V14H7.779v-2H9.31v.444ZM9.3 11h1v1h-1zM10.3 11h1v1h-1z"}),o.jsx("path",{d:"M11.3 10H14v1h-2.7zM10.3 9h1v1h-1z"})]})})}),E=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.1 9.1a1 1 0 0 1-1-1c0-.7.5-1.2 1-1.2.6 0 1 .5 1 1.1 0 .6-.4 1.1-1 1.1Zm.2 2c-.5.5-1.3.8-2.3.8-1 0-1.8-.3-2.3-.8a.3.3 0 0 1 0-.4c.1-.1.3-.1.4 0 .4.4 1 .6 1.9.6.9 0 1.5-.2 1.9-.6 0-.1.3-.1.4 0v.4ZM3.9 8c0-.7.5-1.2 1-1.2s1 .5 1 1.1c0 .6-.5 1.1-1 1.1s-1-.5-1-1ZM14 6.8c0-1-.7-1.8-1.6-1.8-.4 0-.8.2-1 .5a6.8 6.8 0 0 0-4-1.3l.8-3 2.2.6c0 .8.8 1.5 1.5 1.5s1.4-.7 1.4-1.5c0-.7-.7-1.4-1.4-1.4-.6 0-1.2.4-1.4.9L7.8.7l-1 3.6c-1.6 0-3 .5-4.2 1.2-.3-.2-.6-.4-1-.4-.9 0-1.6.8-1.6 1.8 0 .6.3 1.1.8 1.5C.3 11 3.3 13.5 7 13.5s6.6-2.4 6.2-5.1c.5-.3.8-.9.8-1.5Z",clipRule:"evenodd"})})}),G=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 15",fill:"none",children:[o.jsx("path",{fill:"currentColor",d:"M4.875 10.65a.437.437 0 0 0-.437.438v2.625a.438.438 0 0 0 .68.364l1.07-.713 1.07.713a.438.438 0 0 0 .68-.364v-2.625a.437.437 0 0 0-.438-.438z"}),o.jsx("path",{fill:"currentColor",stroke:"currentColor",strokeWidth:".15",d:"M12.094.075a1.17 1.17 0 0 1 1.169 1.169V12.18a1.17 1.17 0 0 1-1.17 1.17h-2.63a.732.732 0 0 1 0-1.464H11.8V9.413H2.906a.58.58 0 0 0-.58.58v1.313a.58.58 0 0 0 .58.581h.069a.731.731 0 0 1 0 1.463h-.069a2.044 2.044 0 0 1-2.044-2.044V2.12A2.044 2.044 0 0 1 2.906.075zM2.906 1.538a.58.58 0 0 0-.58.58v5.917q.276-.084.58-.085H11.8V1.538z"})]})}),D=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M9.958 0c.194 0 .49.066.663.148 0 0-.112-.12.045.042.141.147 3.117 3.214 3.178 3.278.055.059.024.032.021.03.081.175.135.48.135.673v8.374c0 .62-.743 1.455-1.453 1.455l-2.436-.007A1.02 1.02 0 0 1 10 14H4c-.073 0-.144-.009-.212-.023l-2.345-.006A1.44 1.44 0 0 1 .01 12.56C-.022 11.696.04 2.202.04 1.454.04.708.646.031 1.524.031 2.404.031 9.958 0 9.958 0ZM1.471 1.435a.174.174 0 0 0-.057.037.173.173 0 0 0-.037.056.172.172 0 0 0-.014.067l.014 10.597c0 .193.158.35.352.352L3 12.55V8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4.592l1.3.008a.349.349 0 0 0 .351-.349l-.012-7.914a.476.476 0 0 0-.127-.297L9.948 1.56c-.07-.068-.126-.044-.126.052V4.69c0 .293-.406.8-.774.801H3.75c-.403 0-.838-.413-.838-.8l-.002-3.079a.177.177 0 0 0-.174-.176l-1.199-.014a.176.176 0 0 0-.067.013Zm2.69 11.122 5.679.029V8.16H4.16v4.397Zm.232-11.099a.175.175 0 0 0-.176.175v2.435c0 .097.079.176.176.176h3.92a.175.175 0 0 0 .174-.176V1.634a.176.176 0 0 0-.175-.176h-3.92Z"})})}),U=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("path",{fill:"currentColor",d:"M7 1.25c-2.29 0-4.584.943-6.297 2.838l-.434.485C-.08 4.956-.09 5.596.242 5.998c.335.403.888.415 1.237.032l.438-.482c2.7-2.988 7.466-2.988 10.166 0l.438.482c.349.383.902.37 1.237-.032.332-.402.322-1.042-.027-1.425l-.434-.489C11.584 2.194 9.29 1.25 7 1.25ZM6.973 5.3c-1.375.012-2.739.635-3.682 1.831l-.438.557a1.083 1.083 0 0 0-.229.726c.01.268.113.521.287.703.171.181.397.276.63.26a.828.828 0 0 0 .608-.332l.434-.552c1.118-1.417 3.64-1.512 4.834.004l.437.548c.154.202.373.32.606.332a.8.8 0 0 0 .632-.26c.17-.182.273-.435.284-.703a1.108 1.108 0 0 0-.23-.726l-.437-.553C9.728 5.888 8.343 5.288 6.973 5.3Z"}),o.jsx("circle",{cx:"7",cy:"11.05",r:"1.867",fill:"currentColor"})]})}),c1=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M4.031 4.031h.006M6.195 1.5H4.5c-1.05 0-1.575 0-1.976.204-.353.18-.64.467-.82.82-.204.4-.204.926-.204 1.976v1.695c0 .458 0 .688.052.904.046.19.121.374.224.542.116.189.278.35.603.675l2.937 2.938c.743.742 1.114 1.114 1.542 1.253.377.122.782.122 1.159 0 .428-.14.8-.51 1.542-1.253l1.695-1.695c.742-.743 1.114-1.114 1.253-1.542a1.88 1.88 0 0 0 0-1.159c-.14-.428-.51-.8-1.253-1.542L8.316 2.38c-.324-.325-.486-.487-.675-.603a1.9 1.9 0 0 0-.542-.224C6.883 1.5 6.653 1.5 6.195 1.5M4.344 4.031a.312.312 0 1 1-.625 0 .312.312 0 0 1 .625 0"})})}),F=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1.866a5.134 5.134 0 0 0-3.257 9.102C3.853 9.002 4.821 7.467 7 7.467c2.179 0 3.146 1.535 3.256 3.5A5.134 5.134 0 0 0 7 1.866ZM7 2.8a1.867 1.867 0 1 1-.001 3.733A1.867 1.867 0 0 1 7 2.8Z"})})}),K=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsxs("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:[o.jsx("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"1.4",d:"M7 1.5 1.5 11.5h11L7 1.5Z"}),o.jsx("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.6",d:"M7 6v2"}),o.jsx("circle",{cx:"7",cy:"9.75",r:"0.75",fill:"currentColor",stroke:"none"})]})}),O=s.forwardRef(function(e,t){const{height:c=14,width:r=14,...n}=e;return o.jsx("svg",{...n,ref:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:c,viewBox:"0 0 14 14",fill:"none",children:o.jsx("path",{fill:"currentColor",d:"M10.938 1.003c.196.003.376.007.538.018.331.023.668.074.998.216.488.211.918.56 1.199 1.027.199.33.27.672.3.987.028.297.027.655.027 1.035v5.428c0 .38.001.738-.027 1.035-.03.315-.101.657-.3.987a2.553 2.553 0 0 1-1.019.94l-.18.087c-.33.142-.667.193-.998.216-.324.022-.72.021-1.178.021H3.702c-.459 0-.854 0-1.178-.021a3.168 3.168 0 0 1-.874-.167l-.124-.05a2.583 2.583 0 0 1-1.199-1.026c-.199-.33-.27-.672-.3-.987C0 10.452 0 10.094 0 9.714V4.286c0-.38-.001-.738.027-1.035.03-.315.101-.657.3-.987l.112-.17a2.615 2.615 0 0 1 1.087-.857l.124-.049a3.17 3.17 0 0 1 .874-.167C2.848 1 3.244 1 3.702 1h6.596l.64.003ZM3.702 3c-.487 0-.8 0-1.04.017-.23.016-.312.043-.344.057a.596.596 0 0 0-.275.218c.01-.02-.01 0-.024.151C2 3.623 2 3.867 2 4.286v5.428c0 .42.001.664.019.843.008.091.019.134.024.15.044.07.13.157.274.219h.001c.032.014.113.041.344.057.24.017.553.017 1.04.017h6.596c.486 0 .8 0 1.04-.017.23-.016.312-.043.344-.057a.59.59 0 0 0 .274-.219.758.758 0 0 0 .025-.15c.018-.18.019-.424.019-.843V4.286c0-.42-.001-.664-.019-.843a.763.763 0 0 0-.025-.151.594.594 0 0 0-.274-.218c-.032-.014-.113-.041-.344-.057a7.799 7.799 0 0 0-.427-.015L10.298 3H3.702Zm4.24.5a1 1 0 0 1 0 2h-.008a1 1 0 0 1 0-2h.008Zm2.534 0a1 1 0 0 1 0 2h-.01a1 1 0 0 1 0-2h.01Z"})})}),s1={projects:q,chat:I,articles:v,mail:y,github:Z,globe:P,linkedin:A,reddit:E,exit:L,camera:p,"qr-code":S,download:k,save:D,pencil:b,"arrow-left":f,"arrow-right":g,cross:C,checkmark:j,plus:z,minus:W,window:O,user:F,duplicate:m,eye:M,"eye-off":R,signal:U,audio:u,hardware:H,burger:x,repository:G,"chevron-down":N,"chevron-up":_,"chevron-left":X,"chevron-right":Y,branch:J,commit:o1,folder:n1,file:r1,tag:c1,key:V,git:e1,home:t1,info:B,warning:K},l1=s.forwardRef(function(e,t){const{"aria-hidden":c,"aria-label":r,"aria-labelledby":n,color:i,role:Q,size:h=14,style:T,type:a,...$}=e,d=s1[a];if(!d)return console.warn(`Icon type "${a}" not found`),null;const w=r!==void 0||n!==void 0;return s.createElement(d,{...$,"aria-hidden":c??(w?void 0:!0),"aria-label":r,"aria-labelledby":n,ref:t,height:h,role:Q??(w?"img":void 0),style:{flexShrink:0,...T,...i?{color:i}:void 0},width:h})});exports.ArrowLeftIcon=f;exports.ArrowRightIcon=g;exports.ArticlesIcon=v;exports.AudioIcon=u;exports.BurgerIcon=x;exports.CameraIcon=p;exports.ChatIcon=I;exports.CheckmarkIcon=j;exports.CrossIcon=C;exports.DownloadIcon=k;exports.DuplicateIcon=m;exports.ExitIcon=L;exports.EyeIcon=M;exports.EyeOffIcon=R;exports.GithubIcon=Z;exports.GlobeIcon=P;exports.HardwareIcon=H;exports.Icon=l1;exports.InfoIcon=B;exports.KeyIcon=V;exports.LinkedInIcon=A;exports.MailIcon=y;exports.MinusIcon=W;exports.PencilIcon=b;exports.PlusIcon=z;exports.ProjectsIcon=q;exports.QRCodeIcon=S;exports.RedditIcon=E;exports.RepositoryIcon=G;exports.SaveIcon=D;exports.SignalIcon=U;exports.UserIcon=F;exports.WarningIcon=K;exports.WindowIcon=O;
|
package/dist/RadioGroup.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),R=require("react"),t=require("./aria-DKxpE8cA.cjs"),b=require("./field-control-NfLwcPj6.cjs"),j=require("./RadioGroupContext-BX9KnDek.cjs"),n=R.forwardRef(function(d,l){const{"aria-invalid":a,children:s,className:u,defaultValue:c,disabled:e=!1,invalid:i=!1,name:v,onChange:f,orientation:p="vertical",required:r=!1,value:m,...q}=d,g=i||t.hasInvalidState(a),x={defaultValue:c,disabled:e,name:v,onChange:f,required:r,value:m};return o.jsx(j.RadioGroupContext.Provider,{value:x,children:o.jsx("div",{...q,ref:l,"aria-disabled":e||void 0,"aria-invalid":t.resolveAriaInvalid(i,a),"aria-required":r||void 0,className:["nk-radio-group",u].filter(Boolean).join(" "),"data-disabled":e||void 0,"data-invalid":g||void 0,"data-orientation":p,role:"radiogroup",children:s})})});b.markFieldGroupControl(n,"group");exports.default=n;
|
package/dist/RadioGroup.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as R } from "react";
|
|
4
|
-
import { r as g, h as x } from "./aria-DHnOMyYp.js";
|
|
5
|
-
import { m as G } from "./field-control-XAn_FKks.js";
|
|
6
|
-
import { R as I } from "./RadioGroupContext-DbKM4zPZ.js";
|
|
7
|
-
const b = R(
|
|
8
|
-
function(d, l) {
|
|
9
|
-
const {
|
|
10
|
-
"aria-invalid": i,
|
|
11
|
-
children: n,
|
|
12
|
-
className: t,
|
|
13
|
-
defaultValue: s,
|
|
14
|
-
disabled: a = !1,
|
|
15
|
-
invalid: o = !1,
|
|
16
|
-
name: u,
|
|
17
|
-
onChange: v,
|
|
18
|
-
orientation: m = "vertical",
|
|
19
|
-
required: r = !1,
|
|
20
|
-
value: f,
|
|
21
|
-
...p
|
|
22
|
-
} = d, c = o || x(i), h = {
|
|
23
|
-
defaultValue: s,
|
|
24
|
-
disabled: a,
|
|
25
|
-
name: u,
|
|
26
|
-
onChange: v,
|
|
27
|
-
required: r,
|
|
28
|
-
value: f
|
|
29
|
-
};
|
|
30
|
-
return /* @__PURE__ */ e(I.Provider, { value: h, children: /* @__PURE__ */ e(
|
|
31
|
-
"div",
|
|
32
|
-
{
|
|
33
|
-
...p,
|
|
34
|
-
ref: l,
|
|
35
|
-
"aria-disabled": a || void 0,
|
|
36
|
-
"aria-invalid": g(o, i),
|
|
37
|
-
"aria-required": r || void 0,
|
|
38
|
-
className: ["nk-radio-group", t].filter(Boolean).join(" "),
|
|
39
|
-
"data-disabled": a || void 0,
|
|
40
|
-
"data-invalid": c || void 0,
|
|
41
|
-
"data-orientation": m,
|
|
42
|
-
role: "radiogroup",
|
|
43
|
-
children: n
|
|
44
|
-
}
|
|
45
|
-
) });
|
|
46
|
-
}
|
|
47
|
-
);
|
|
48
|
-
G(b, "group");
|
|
49
|
-
export {
|
|
50
|
-
b as default
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react"),o=t.createContext(void 0);exports.RadioGroupContext=o;
|