difit 3.0.4 → 3.0.5
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/client/assets/{index-B0f4XJvh.js → index-B50dNO_K.js} +1 -1
- package/dist/client/assets/{index-BXrl8n3U.css → index-Cqq8ppie.css} +1 -1
- package/dist/client/assets/{prism-csharp-B-1teUnU.js → prism-csharp-Dc9gly1x.js} +1 -1
- package/dist/client/assets/{prism-hcl-BclbyXtV.js → prism-hcl-Cv91Cd6z.js} +1 -1
- package/dist/client/assets/{prism-java-94PqVB1S.js → prism-java-BxkFoZjf.js} +1 -1
- package/dist/client/assets/{prism-php-C1i3qVCF.js → prism-php-KTVLPyZ3.js} +1 -1
- package/dist/client/assets/{prism-ruby-DLhW5oCS.js → prism-ruby-BfQ5W8b2.js} +1 -1
- package/dist/client/assets/{prism-solidity-VnQS4C0y.js → prism-solidity-Ck9mTXkq.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ Error generating stack: `+l.message+`
|
|
|
11
11
|
|
|
12
12
|
"${T.body}"`)&&(c(T.id),p>=C.length-1&&p>0&&b(p-1))},[c,p,C.length]);R.useEffect(()=>(a?(S("comments-list"),y("navigation")):(S("navigation"),y("comments-list"),b(0)),()=>{S("navigation"),y("comments-list")}),[a,S,y]);const v={scopes:"comments-list",enableOnFormTags:!1};return Ye("escape",()=>r(),v,[r]),Ye("j, down",()=>b(T=>Math.min(T+1,C.length-1)),v,[C.length]),Ye("k, up",()=>b(T=>Math.max(T-1,0)),v,[]),Ye("enter",()=>{C[p]&&_(C[p])},v,[p,C,_]),Ye("d",()=>{C[p]&&x(C[p])},v,[p,C,x]),R.useEffect(()=>{m.current[p]&&m.current[p]?.scrollIntoView({behavior:"smooth",block:"nearest"})},[p]),a?h.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[h.jsx("div",{className:"absolute inset-0 bg-black/50",onClick:r}),h.jsxs("div",{className:"relative bg-github-bg-primary border border-github-border rounded-lg shadow-lg max-w-4xl w-full max-h-[80vh] overflow-hidden",children:[h.jsxs("div",{className:"sticky top-0 bg-github-bg-primary border-b border-github-border px-6 py-4",children:[h.jsxs("div",{className:"flex items-center justify-between mb-2",children:[h.jsx("h2",{className:"text-lg font-semibold text-github-text-primary",children:"All Comments"}),h.jsx("button",{onClick:r,className:"text-github-text-secondary hover:text-github-text-primary transition-colors","aria-label":"Close comments list",children:h.jsx(kc,{size:20})})]}),h.jsxs("div",{className:"text-xs text-github-text-secondary",children:[h.jsx("span",{className:"font-mono",children:"j/k"})," or ",h.jsx("span",{className:"font-mono",children:"↑/↓"})," to navigate • ",h.jsx("span",{className:"font-mono",children:"Enter"})," to jump •"," ",h.jsx("span",{className:"font-mono",children:"d"})," to delete • ",h.jsx("span",{className:"font-mono",children:"Esc"})," ","to close"]})]}),h.jsx("div",{className:"overflow-y-auto max-h-[calc(80vh-120px)]",children:h.jsx("div",{className:"p-6",children:C.length===0?h.jsx("p",{className:"text-github-text-secondary text-center",children:"No comments yet"}):h.jsxs(h.Fragment,{children:[h.jsx("div",{className:"space-y-2",children:C.map((T,N)=>h.jsx("div",{ref:A=>{m.current[N]=A},className:`${p===N?"ring-2 ring-blue-500 rounded":""}`,children:h.jsx(Dc,{comment:T,onGeneratePrompt:f,onRemoveComment:c,onUpdateComment:d,onClick:A=>{A.stopPropagation(),b(N),_(T)}})},T.id))}),C.length>0&&h.jsxs("div",{className:"mt-4 pt-4 border-t border-github-border text-xs text-github-text-secondary text-center",children:[p+1," of ",C.length," comments"]})]})})})]})]}):null}function gp(a){return a&&a.split(".").pop()?.toLowerCase()||null}function Fv(a){return a&&a.split("/").pop()||""}const qv=["jpg","jpeg","png","gif","bmp","svg","webp","ico","tiff","tif","avif","heic","heif"];function Gv(a){if(!a)return!1;const r=gp(a);return r?qv.includes(r):!1}class Yv{diff(r,s,o={}){let c;typeof o=="function"?(c=o,o={}):"callback"in o&&(c=o.callback);const f=this.castInput(r,o),d=this.castInput(s,o),p=this.removeEmpty(this.tokenize(f,o)),b=this.removeEmpty(this.tokenize(d,o));return this.diffWithOptionsObj(p,b,o,c)}diffWithOptionsObj(r,s,o,c){var f;const d=A=>{if(A=this.postProcess(A,o),c){setTimeout(function(){c(A)},0);return}else return A},p=s.length,b=r.length;let m=1,S=p+b;o.maxEditLength!=null&&(S=Math.min(S,o.maxEditLength));const y=(f=o.timeout)!==null&&f!==void 0?f:1/0,C=Date.now()+y,_=[{oldPos:-1,lastComponent:void 0}];let x=this.extractCommon(_[0],s,r,0,o);if(_[0].oldPos+1>=b&&x+1>=p)return d(this.buildValues(_[0].lastComponent,s,r));let v=-1/0,T=1/0;const N=()=>{for(let A=Math.max(v,-m);A<=Math.min(T,m);A+=2){let D;const z=_[A-1],L=_[A+1];z&&(_[A-1]=void 0);let Q=!1;if(L){const ce=L.oldPos-A;Q=L&&0<=ce&&ce<p}const Y=z&&z.oldPos+1<b;if(!Q&&!Y){_[A]=void 0;continue}if(!Y||Q&&z.oldPos<L.oldPos?D=this.addToPath(L,!0,!1,0,o):D=this.addToPath(z,!1,!0,1,o),x=this.extractCommon(D,s,r,A,o),D.oldPos+1>=b&&x+1>=p)return d(this.buildValues(D.lastComponent,s,r))||!0;_[A]=D,D.oldPos+1>=b&&(T=Math.min(T,A-1)),x+1>=p&&(v=Math.max(v,A+1))}m++};if(c)(function A(){setTimeout(function(){if(m>S||Date.now()>C)return c(void 0);N()||A()},0)})();else for(;m<=S&&Date.now()<=C;){const A=N();if(A)return A}}addToPath(r,s,o,c,f){const d=r.lastComponent;return d&&!f.oneChangePerToken&&d.added===s&&d.removed===o?{oldPos:r.oldPos+c,lastComponent:{count:d.count+1,added:s,removed:o,previousComponent:d.previousComponent}}:{oldPos:r.oldPos+c,lastComponent:{count:1,added:s,removed:o,previousComponent:d}}}extractCommon(r,s,o,c,f){const d=s.length,p=o.length;let b=r.oldPos,m=b-c,S=0;for(;m+1<d&&b+1<p&&this.equals(o[b+1],s[m+1],f);)m++,b++,S++,f.oneChangePerToken&&(r.lastComponent={count:1,previousComponent:r.lastComponent,added:!1,removed:!1});return S&&!f.oneChangePerToken&&(r.lastComponent={count:S,previousComponent:r.lastComponent,added:!1,removed:!1}),r.oldPos=b,m}equals(r,s,o){return o.comparator?o.comparator(r,s):r===s||!!o.ignoreCase&&r.toLowerCase()===s.toLowerCase()}removeEmpty(r){const s=[];for(let o=0;o<r.length;o++)r[o]&&s.push(r[o]);return s}castInput(r,s){return r}tokenize(r,s){return Array.from(r)}join(r){return r.join("")}postProcess(r,s){return r}get useLongestToken(){return!1}buildValues(r,s,o){const c=[];let f;for(;r;)c.push(r),f=r.previousComponent,delete r.previousComponent,r=f;c.reverse();const d=c.length;let p=0,b=0,m=0;for(;p<d;p++){const S=c[p];if(S.removed)S.value=this.join(o.slice(m,m+S.count)),m+=S.count;else{if(!S.added&&this.useLongestToken){let y=s.slice(b,b+S.count);y=y.map(function(C,_){const x=o[m+_];return x.length>C.length?x:C}),S.value=this.join(y)}else S.value=this.join(s.slice(b,b+S.count));b+=S.count,S.added||(m+=S.count)}}return c}}function Kh(a,r){let s;for(s=0;s<a.length&&s<r.length;s++)if(a[s]!=r[s])return a.slice(0,s);return a.slice(0,s)}function Jh(a,r){let s;if(!a||!r||a[a.length-1]!=r[r.length-1])return"";for(s=0;s<a.length&&s<r.length;s++)if(a[a.length-(s+1)]!=r[r.length-(s+1)])return a.slice(-s);return a.slice(-s)}function yc(a,r,s){if(a.slice(0,r.length)!=r)throw Error(`string ${JSON.stringify(a)} doesn't start with prefix ${JSON.stringify(r)}; this is a bug`);return s+a.slice(r.length)}function vc(a,r,s){if(!r)return a+s;if(a.slice(-r.length)!=r)throw Error(`string ${JSON.stringify(a)} doesn't end with suffix ${JSON.stringify(r)}; this is a bug`);return a.slice(0,-r.length)+s}function Mr(a,r){return yc(a,r,"")}function ao(a,r){return vc(a,r,"")}function Wh(a,r){return r.slice(0,Vv(a,r))}function Vv(a,r){let s=0;a.length>r.length&&(s=a.length-r.length);let o=r.length;a.length<r.length&&(o=a.length);const c=Array(o);let f=0;c[0]=0;for(let d=1;d<o;d++){for(r[d]==r[f]?c[d]=c[f]:c[d]=f;f>0&&r[d]!=r[f];)f=c[f];r[d]==r[f]&&f++}f=0;for(let d=s;d<a.length;d++){for(;f>0&&a[d]!=r[f];)f=c[f];a[d]==r[f]&&f++}return f}function zr(a){let r;for(r=a.length-1;r>=0&&a[r].match(/\s/);r--);return a.substring(r+1)}function bl(a){const r=a.match(/^\s*/);return r?r[0]:""}const Ph="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",Xv=new RegExp(`[${Ph}]+|\\s+|[^${Ph}]`,"ug");class Zv extends Yv{equals(r,s,o){return o.ignoreCase&&(r=r.toLowerCase(),s=s.toLowerCase()),r.trim()===s.trim()}tokenize(r,s={}){let o;if(s.intlSegmenter){const d=s.intlSegmenter;if(d.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');o=Array.from(d.segment(r),p=>p.segment)}else o=r.match(Xv)||[];const c=[];let f=null;return o.forEach(d=>{/\s/.test(d)?f==null?c.push(d):c.push(c.pop()+d):f!=null&&/\s/.test(f)?c[c.length-1]==f?c.push(c.pop()+d):c.push(f+d):c.push(d),f=d}),c}join(r){return r.map((s,o)=>o==0?s:s.replace(/^\s+/,"")).join("")}postProcess(r,s){if(!r||s.oneChangePerToken)return r;let o=null,c=null,f=null;return r.forEach(d=>{d.added?c=d:d.removed?f=d:((c||f)&&em(o,f,c,d),o=d,c=null,f=null)}),(c||f)&&em(o,f,c,null),r}}const Iv=new Zv;function hp(a,r,s){return Iv.diff(a,r,s)}function em(a,r,s,o){if(r&&s){const c=bl(r.value),f=zr(r.value),d=bl(s.value),p=zr(s.value);if(a){const b=Kh(c,d);a.value=vc(a.value,d,b),r.value=Mr(r.value,b),s.value=Mr(s.value,b)}if(o){const b=Jh(f,p);o.value=yc(o.value,p,b),r.value=ao(r.value,b),s.value=ao(s.value,b)}}else if(s){if(a){const c=bl(s.value);s.value=s.value.substring(c.length)}if(o){const c=bl(o.value);o.value=o.value.substring(c.length)}}else if(a&&o){const c=bl(o.value),f=bl(r.value),d=zr(r.value),p=Kh(c,f);r.value=Mr(r.value,p);const b=Jh(Mr(c,p),d);r.value=ao(r.value,b),o.value=yc(o.value,c,b),a.value=vc(a.value,c,c.slice(0,c.length-b.length))}else if(o){const c=bl(o.value),f=zr(r.value),d=Wh(f,c);r.value=ao(r.value,d)}else if(a){const c=zr(a.value),f=bl(r.value),d=Wh(c,f);r.value=Mr(r.value,d)}}function mp(a,r){const s=hp(a,r),o=[],c=[];for(const f of s)f.added?c.push({value:f.value,type:"added"}):f.removed?o.push({value:f.value,type:"removed"}):(o.push({value:f.value,type:"unchanged"}),c.push({value:f.value,type:"unchanged"}));return{oldSegments:o,newSegments:c}}function pp(a,r){if(!a.trim()||!r.trim()||a===r)return!1;const s=hp(a,r);let o=0,c=0;for(const d of s)c+=d.value.length,!d.added&&!d.removed&&(o+=d.value.length);return o/c>=.2}function bp({onSubmit:a,onCancel:r}){const[s,o]=R.useState(""),[c,f]=R.useState(!1),d=async m=>{if(m.preventDefault(),!!s.trim()){f(!0);try{await a(s.trim()),o("")}catch(S){console.error("Failed to submit comment:",S)}finally{f(!1)}}},p=m=>{m.key==="Enter"&&(m.metaKey||m.ctrlKey)?d(m):m.key==="Escape"&&r()},b=/Macintosh|Mac OS X/.test(navigator.userAgent)?"Cmd":"Ctrl";return h.jsxs("form",{className:"m-2 mx-3 p-3 bg-github-bg-tertiary border border-yellow-600/50 rounded-md border-l-4 border-l-yellow-400",onSubmit:d,"data-empty":!s.trim(),children:[h.jsxs("div",{className:"flex items-center justify-between mb-2",children:[h.jsx("span",{className:"text-sm font-medium",style:{color:"var(--color-yellow-path-text)"},children:"Add a comment"}),h.jsxs("span",{className:"text-xs text-github-text-muted",children:[b,"+Enter to submit • Escape to cancel"]})]}),h.jsx("textarea",{className:"w-full min-h-[60px] mb-2 resize-y bg-github-bg-secondary border border-github-border rounded px-3 py-2 text-github-text-primary text-sm leading-6 focus:outline-none focus:border-blue-600 focus:ring-2 focus:ring-blue-600/30 focus:min-h-[80px] disabled:opacity-50",value:s,onChange:m=>o(m.target.value),onKeyDown:p,placeholder:"Leave a comment...",rows:3,autoFocus:!0,disabled:c}),h.jsxs("div",{className:"flex gap-2 justify-end",children:[h.jsx("button",{type:"button",onClick:r,className:"text-xs px-3 py-1.5 bg-github-bg-tertiary text-github-text-primary border border-github-border rounded hover:opacity-80 transition-all disabled:opacity-50",disabled:c,children:"Cancel"}),h.jsx("button",{type:"submit",className:"text-xs px-3 py-1.5 rounded transition-all disabled:opacity-50",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",border:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:m=>{m.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",m.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:m=>{m.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",m.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},disabled:!s.trim()||c,children:c?"Submitting...":"Submit"})]})]})}const fo=Vn.memo(({onMouseDown:a,onMouseUp:r,title:s="Add a comment"})=>h.jsx("button",{className:"absolute -right-2 top-1/2 -translate-y-1/2 w-7 h-7 flex items-center justify-center rounded transition-all duration-150 hover:scale-110 z-10","data-comment-button":"true",style:{backgroundColor:"var(--color-yellow-btn-bg)",color:"var(--color-yellow-btn-text)",border:"1px solid var(--color-yellow-btn-border)"},onMouseEnter:o=>{o.currentTarget.style.backgroundColor="var(--color-yellow-btn-hover-bg)",o.currentTarget.style.borderColor="var(--color-yellow-btn-hover-border)"},onMouseLeave:o=>{o.currentTarget.style.backgroundColor="var(--color-yellow-btn-bg)",o.currentTarget.style.borderColor="var(--color-yellow-btn-border)"},onMouseDown:a,onMouseUp:r,title:s,children:h.jsx(cp,{className:"w-4 h-4"})}));fo.displayName="CommentButton";const $v=2,Qv=100;function Kv(a){return!(a.length<$v||a.length>Qv)}function tm(a){return a.toLowerCase()}function nm(a){const r=a.trim();return r?r.match(/^\w+$/)!==null&&Kv(r):!1}const Jv=200,yp=R.createContext(void 0);function Wv({children:a}){const[r,s]=R.useState(null),o=R.useRef(null),c=R.useCallback(()=>{o.current&&(clearTimeout(o.current),o.current=null)},[]),f=R.useCallback(m=>{const S=m.target;if(!S.classList.contains("word-token"))return;c();const y=S.getAttribute("data-word");y&&(o.current=setTimeout(()=>{s(y)},Jv))},[c]),d=R.useCallback(()=>{c(),s(null)},[c]),p=R.useCallback(m=>r?tm(m)===tm(r):!1,[r]);R.useEffect(()=>()=>{o.current&&clearTimeout(o.current)},[]);const b={highlightedWord:r,handleMouseOver:f,handleMouseOut:d,isWordHighlighted:p};return h.jsx(yp.Provider,{value:b,children:a})}function Pv(){const a=R.useContext(yp);if(!a)throw new Error("useWordHighlight must be used within a WordHighlightProvider");return a}function vp(a){var r,s,o="";if(typeof a=="string"||typeof a=="number")o+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(r=0;r<c;r++)a[r]&&(s=vp(a[r]))&&(o&&(o+=" "),o+=s)}else for(s in a)a[s]&&(o&&(o+=" "),o+=s);return o}function xp(){for(var a,r,s=0,o="",c=arguments.length;s<c;s++)(a=arguments[s])&&(r=vp(a))&&(o&&(o+=" "),o+=r);return o}var e1=Object.create,To=Object.defineProperty,t1=Object.defineProperties,n1=Object.getOwnPropertyDescriptor,l1=Object.getOwnPropertyDescriptors,Sp=Object.getOwnPropertyNames,go=Object.getOwnPropertySymbols,a1=Object.getPrototypeOf,Mc=Object.prototype.hasOwnProperty,Ep=Object.prototype.propertyIsEnumerable,lm=(a,r,s)=>r in a?To(a,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):a[r]=s,vn=(a,r)=>{for(var s in r||(r={}))Mc.call(r,s)&&lm(a,s,r[s]);if(go)for(var s of go(r))Ep.call(r,s)&&lm(a,s,r[s]);return a},Ro=(a,r)=>t1(a,l1(r)),wp=(a,r)=>{var s={};for(var o in a)Mc.call(a,o)&&r.indexOf(o)<0&&(s[o]=a[o]);if(a!=null&&go)for(var o of go(a))r.indexOf(o)<0&&Ep.call(a,o)&&(s[o]=a[o]);return s},r1=(a,r)=>function(){return r||(0,a[Sp(a)[0]])((r={exports:{}}).exports,r),r.exports},i1=(a,r)=>{for(var s in r)To(a,s,{get:r[s],enumerable:!0})},o1=(a,r,s,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let c of Sp(r))!Mc.call(a,c)&&c!==s&&To(a,c,{get:()=>r[c],enumerable:!(o=n1(r,c))||o.enumerable});return a},s1=(a,r,s)=>(s=a!=null?e1(a1(a)):{},o1(!a||!a.__esModule?To(s,"default",{value:a,enumerable:!0}):s,a)),u1=r1({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(a,r){var s=(function(){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,c=0,f={},d={util:{encode:function x(v){return v instanceof p?new p(v.type,x(v.content),v.alias):Array.isArray(v)?v.map(x):v.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(x){return Object.prototype.toString.call(x).slice(8,-1)},objId:function(x){return x.__id||Object.defineProperty(x,"__id",{value:++c}),x.__id},clone:function x(v,T){T=T||{};var N,A;switch(d.util.type(v)){case"Object":if(A=d.util.objId(v),T[A])return T[A];N={},T[A]=N;for(var D in v)v.hasOwnProperty(D)&&(N[D]=x(v[D],T));return N;case"Array":return A=d.util.objId(v),T[A]?T[A]:(N=[],T[A]=N,v.forEach(function(z,L){N[L]=x(z,T)}),N);default:return v}},getLanguage:function(x){for(;x;){var v=o.exec(x.className);if(v)return v[1].toLowerCase();x=x.parentElement}return"none"},setLanguage:function(x,v){x.className=x.className.replace(RegExp(o,"gi"),""),x.classList.add("language-"+v)},isActive:function(x,v,T){for(var N="no-"+v;x;){var A=x.classList;if(A.contains(v))return!0;if(A.contains(N))return!1;x=x.parentElement}return!!T}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(x,v){var T=d.util.clone(d.languages[x]);for(var N in v)T[N]=v[N];return T},insertBefore:function(x,v,T,N){N=N||d.languages;var A=N[x],D={};for(var z in A)if(A.hasOwnProperty(z)){if(z==v)for(var L in T)T.hasOwnProperty(L)&&(D[L]=T[L]);T.hasOwnProperty(z)||(D[z]=A[z])}var Q=N[x];return N[x]=D,d.languages.DFS(d.languages,function(Y,ce){ce===Q&&Y!=x&&(this[Y]=D)}),D},DFS:function x(v,T,N,A){A=A||{};var D=d.util.objId;for(var z in v)if(v.hasOwnProperty(z)){T.call(v,z,v[z],N||z);var L=v[z],Q=d.util.type(L);Q==="Object"&&!A[D(L)]?(A[D(L)]=!0,x(L,T,null,A)):Q==="Array"&&!A[D(L)]&&(A[D(L)]=!0,x(L,T,z,A))}}},plugins:{},highlight:function(x,v,T){var N={code:x,grammar:v,language:T};if(d.hooks.run("before-tokenize",N),!N.grammar)throw new Error('The language "'+N.language+'" has no grammar.');return N.tokens=d.tokenize(N.code,N.grammar),d.hooks.run("after-tokenize",N),p.stringify(d.util.encode(N.tokens),N.language)},tokenize:function(x,v){var T=v.rest;if(T){for(var N in T)v[N]=T[N];delete v.rest}var A=new S;return y(A,A.head,x),m(x,A,v,A.head,0),_(A)},hooks:{all:{},add:function(x,v){var T=d.hooks.all;T[x]=T[x]||[],T[x].push(v)},run:function(x,v){var T=d.hooks.all[x];if(!(!T||!T.length))for(var N=0,A;A=T[N++];)A(v)}},Token:p};function p(x,v,T,N){this.type=x,this.content=v,this.alias=T,this.length=(N||"").length|0}p.stringify=function x(v,T){if(typeof v=="string")return v;if(Array.isArray(v)){var N="";return v.forEach(function(Q){N+=x(Q,T)}),N}var A={type:v.type,content:x(v.content,T),tag:"span",classes:["token",v.type],attributes:{},language:T},D=v.alias;D&&(Array.isArray(D)?Array.prototype.push.apply(A.classes,D):A.classes.push(D)),d.hooks.run("wrap",A);var z="";for(var L in A.attributes)z+=" "+L+'="'+(A.attributes[L]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+z+">"+A.content+"</"+A.tag+">"};function b(x,v,T,N){x.lastIndex=v;var A=x.exec(T);if(A&&N&&A[1]){var D=A[1].length;A.index+=D,A[0]=A[0].slice(D)}return A}function m(x,v,T,N,A,D){for(var z in T)if(!(!T.hasOwnProperty(z)||!T[z])){var L=T[z];L=Array.isArray(L)?L:[L];for(var Q=0;Q<L.length;++Q){if(D&&D.cause==z+","+Q)return;var Y=L[Q],ce=Y.inside,ee=!!Y.lookbehind,oe=!!Y.greedy,le=Y.alias;if(oe&&!Y.pattern.global){var P=Y.pattern.toString().match(/[imsuy]*$/)[0];Y.pattern=RegExp(Y.pattern.source,P+"g")}for(var se=Y.pattern||Y,F=N.next,ae=A;F!==v.tail&&!(D&&ae>=D.reach);ae+=F.value.length,F=F.next){var E=F.value;if(v.length>x.length)return;if(!(E instanceof p)){var M=1,k;if(oe){if(k=b(se,ae,x,ee),!k||k.index>=x.length)break;var U=k.index,I=k.index+k[0].length,$=ae;for($+=F.value.length;U>=$;)F=F.next,$+=F.value.length;if($-=F.value.length,ae=$,F.value instanceof p)continue;for(var j=F;j!==v.tail&&($<I||typeof j.value=="string");j=j.next)M++,$+=j.value.length;M--,E=x.slice(ae,$),k.index-=ae}else if(k=b(se,0,E,ee),!k)continue;var U=k.index,X=k[0],re=E.slice(0,U),ie=E.slice(U+X.length),fe=ae+E.length;D&&fe>D.reach&&(D.reach=fe);var ue=F.prev;re&&(ue=y(v,ue,re),ae+=re.length),C(v,ue,M);var ge=new p(z,ce?d.tokenize(X,ce):X,le,X);if(F=y(v,ue,ge),ie&&y(v,F,ie),M>1){var de={cause:z+","+Q,reach:fe};m(x,v,T,F.prev,ae,de),D&&de.reach>D.reach&&(D.reach=de.reach)}}}}}}function S(){var x={value:null,prev:null,next:null},v={value:null,prev:x,next:null};x.next=v,this.head=x,this.tail=v,this.length=0}function y(x,v,T){var N=v.next,A={value:T,prev:v,next:N};return v.next=A,N.prev=A,x.length++,A}function C(x,v,T){for(var N=v.next,A=0;A<T&&N!==x.tail;A++)N=N.next;v.next=N,N.prev=v,x.length-=A}function _(x){for(var v=[],T=x.head.next;T!==x.tail;)v.push(T.value),T=T.next;return v}return d})();r.exports=s,s.default=s}}),W=s1(u1());W.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},W.languages.markup.tag.inside["attr-value"].inside.entity=W.languages.markup.entity,W.languages.markup.doctype.inside["internal-subset"].inside=W.languages.markup,W.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(W.languages.markup.tag,"addInlined",{value:function(a,o){var s={},s=(s["language-"+o]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:W.languages[o]},s.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:s}}),o=(s["language-"+o]={pattern:/[\s\S]+/,inside:W.languages[o]},{});o[a]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},W.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(W.languages.markup.tag,"addAttribute",{value:function(a,r){W.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:W.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),W.languages.html=W.languages.markup,W.languages.mathml=W.languages.markup,W.languages.svg=W.languages.markup,W.languages.xml=W.languages.extend("markup",{}),W.languages.ssml=W.languages.xml,W.languages.atom=W.languages.xml,W.languages.rss=W.languages.xml,(function(a){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o="(?:[^\\\\-]|"+s.source+")",o=RegExp(o+"-"+o),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};a.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:o,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":r,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(W),W.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},W.languages.javascript=W.languages.extend("clike",{"class-name":[W.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),W.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,W.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:W.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:W.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:W.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:W.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:W.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),W.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:W.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),W.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),W.languages.markup&&(W.languages.markup.tag.addInlined("script","javascript"),W.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),W.languages.js=W.languages.javascript,W.languages.actionscript=W.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),W.languages.actionscript["class-name"].alias="function",delete W.languages.actionscript.parameter,delete W.languages.actionscript["literal-property"],W.languages.markup&&W.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:W.languages.markup}}),(function(a){var r=/#(?!\{).+/,s={pattern:/#\{[^}]+\}/,alias:"variable"};a.languages.coffeescript=a.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:s}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),a.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:s}}}),a.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:a.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:s}}]}),a.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete a.languages.coffeescript["template-string"],a.languages.coffee=a.languages.coffeescript})(W),(function(a){var r=a.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(r,"addSupport",{value:function(s,o){(s=typeof s=="string"?[s]:s).forEach(function(c){var f=function(y){y.inside||(y.inside={}),y.inside.rest=o},d="doc-comment";if(p=a.languages[c]){var p,b=p[d];if((b=b||(p=a.languages.insertBefore(c,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[d])instanceof RegExp&&(b=p[d]={pattern:b}),Array.isArray(b))for(var m=0,S=b.length;m<S;m++)b[m]instanceof RegExp&&(b[m]={pattern:b[m]}),f(b[m]);else f(b)}})}}),r.addSupport(["java","javascript","php"],r)})(W),(function(a){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,r=(a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css,a.languages.markup);r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(W),(function(a){var r=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,r=(a.languages.css.selector={pattern:a.languages.css.selector.pattern,lookbehind:!0,inside:r={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+r.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[r,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},a.languages.css.atrule.inside["selector-function-argument"].inside=r,a.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),s={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};a.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:s,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:s})})(W),(function(a){var r=/[*&][^\s[\]{},]+/,s=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+s.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+s.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),f=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(p,b){b=(b||"").replace(/m/g,"")+"m";var m=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<value>>/g,function(){return p});return RegExp(m,b)}a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return o}).replace(/<<key>>/g,function(){return"(?:"+c+"|"+f+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:d(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:d(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:d(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:d(f),lookbehind:!0,greedy:!0},number:{pattern:d(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:s,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(W),(function(a){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function s(m){return m=m.replace(/<inner>/g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+m+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),f=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,d=(a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+f+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+f+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+f+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:s(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:s(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:s(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:s(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(m){["url","bold","italic","strike","code-snippet"].forEach(function(S){m!==S&&(a.languages.markdown[m].inside.content.inside[S]=a.languages.markdown[S])})}),a.hooks.add("after-tokenize",function(m){m.language!=="markdown"&&m.language!=="md"||(function S(y){if(y&&typeof y!="string")for(var C=0,_=y.length;C<_;C++){var x,v=y[C];v.type!=="code"?S(v.content):(x=v.content[1],v=v.content[3],x&&v&&x.type==="code-language"&&v.type==="code-block"&&typeof x.content=="string"&&(x=x.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),x="language-"+(x=(/[a-z][\w-]*/i.exec(x)||[""])[0].toLowerCase()),v.alias?typeof v.alias=="string"?v.alias=[v.alias,x]:v.alias.push(x):v.alias=[x]))}})(m.tokens)}),a.hooks.add("wrap",function(m){if(m.type==="code-block"){for(var S="",y=0,C=m.classes.length;y<C;y++){var _=m.classes[y],_=/language-(.+)/.exec(_);if(_){S=_[1];break}}var x,v=a.languages[S];v?m.content=a.highlight((function(T){return T=T.replace(d,""),T=T.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(N,A){var D;return(A=A.toLowerCase())[0]==="#"?(D=A[1]==="x"?parseInt(A.slice(2),16):Number(A.slice(1)),b(D)):p[A]||N})})(m.content),v,S):S&&S!=="none"&&a.plugins.autoloader&&(x="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),m.attributes.id=x,a.plugins.autoloader.loadLanguages(S,function(){var T=document.getElementById(x);T&&(T.innerHTML=a.highlight(T.textContent,a.languages[S],S))}))}}),RegExp(a.languages.markup.tag.pattern.source,"gi")),p={amp:"&",lt:"<",gt:">",quot:'"'},b=String.fromCodePoint||String.fromCharCode;a.languages.md=a.languages.markdown})(W),W.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:W.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},W.hooks.add("after-tokenize",function(a){if(a.language==="graphql")for(var r=a.tokens.filter(function(x){return typeof x!="string"&&x.type!=="comment"&&x.type!=="scalar"}),s=0;s<r.length;){var o=r[s++];if(o.type==="keyword"&&o.content==="mutation"){var c=[];if(y(["definition-mutation","punctuation"])&&S(1).content==="("){s+=2;var f=C(/^\($/,/^\)$/);if(f===-1)continue;for(;s<f;s++){var d=S(0);d.type==="variable"&&(_(d,"variable-input"),c.push(d.content))}s=f+1}if(y(["punctuation","property-query"])&&S(0).content==="{"&&(s++,_(S(0),"property-mutation"),0<c.length)){var p=C(/^\{$/,/^\}$/);if(p!==-1)for(var b=s;b<p;b++){var m=r[b];m.type==="variable"&&0<=c.indexOf(m.content)&&_(m,"variable-input")}}}}function S(x){return r[s+x]}function y(x,v){v=v||0;for(var T=0;T<x.length;T++){var N=S(T+v);if(!N||N.type!==x[T])return}return 1}function C(x,v){for(var T=1,N=s;N<r.length;N++){var A=r[N],D=A.content;if(A.type==="punctuation"&&typeof D=="string"){if(x.test(D))T++;else if(v.test(D)&&--T===0)return N}}return-1}function _(x,v){var T=x.alias;T?Array.isArray(T)||(x.alias=T=[T]):x.alias=T=[],T.push(v)}}),W.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},(function(a){var r=a.languages.javascript["template-string"],s=r.pattern.source,o=r.inside.interpolation,c=o.inside["interpolation-punctuation"],f=o.pattern.source;function d(y,C){if(a.languages[y])return{pattern:RegExp("((?:"+C+")\\s*)"+s),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:y}}}}function p(y,C,_){return y={code:y,grammar:C,language:_},a.hooks.run("before-tokenize",y),y.tokens=a.tokenize(y.code,y.grammar),a.hooks.run("after-tokenize",y),y.tokens}function b(y,C,_){var T=a.tokenize(y,{interpolation:{pattern:RegExp(f),lookbehind:!0}}),x=0,v={},T=p(T.map(function(A){if(typeof A=="string")return A;for(var D,z,A=A.content;y.indexOf((z=x++,D="___"+_.toUpperCase()+"_"+z+"___"))!==-1;);return v[D]=A,D}).join(""),C,_),N=Object.keys(v);return x=0,(function A(D){for(var z=0;z<D.length;z++){if(x>=N.length)return;var L,Q,Y,ce,ee,oe,le,P=D[z];typeof P=="string"||typeof P.content=="string"?(L=N[x],(le=(oe=typeof P=="string"?P:P.content).indexOf(L))!==-1&&(++x,Q=oe.substring(0,le),ee=v[L],Y=void 0,(ce={})["interpolation-punctuation"]=c,(ce=a.tokenize(ee,ce)).length===3&&((Y=[1,1]).push.apply(Y,p(ce[1],a.languages.javascript,"javascript")),ce.splice.apply(ce,Y)),Y=new a.Token("interpolation",ce,o.alias,ee),ce=oe.substring(le+L.length),ee=[],Q&&ee.push(Q),ee.push(Y),ce&&(A(oe=[ce]),ee.push.apply(ee,oe)),typeof P=="string"?(D.splice.apply(D,[z,1].concat(ee)),z+=ee.length-1):P.content=ee)):(le=P.content,Array.isArray(le)?A(le):A([le]))}})(T),new a.Token(_,T,"language-"+_,y)}a.languages.javascript["template-string"]=[d("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),d("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),d("svg",/\bsvg/.source),d("markdown",/\b(?:markdown|md)/.source),d("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),d("sql",/\bsql/.source),r].filter(Boolean);var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function S(y){return typeof y=="string"?y:Array.isArray(y)?y.map(S).join(""):S(y.content)}a.hooks.add("after-tokenize",function(y){y.language in m&&(function C(_){for(var x=0,v=_.length;x<v;x++){var T,N,A,D=_[x];typeof D!="string"&&(T=D.content,Array.isArray(T)?D.type==="template-string"?(D=T[1],T.length===3&&typeof D!="string"&&D.type==="embedded-code"&&(N=S(D),D=D.alias,D=Array.isArray(D)?D[0]:D,A=a.languages[D])&&(T[1]=b(N,A,D))):C(T):typeof T!="string"&&C([T]))}})(y.tokens)})})(W),(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var r=a.languages.extend("typescript",{});delete r["class-name"],a.languages.typescript["class-name"].inside=r,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),a.languages.ts=a.languages.typescript})(W),(function(a){var r=a.languages.javascript,s=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,o="(@(?:arg|argument|param|property)\\s+(?:"+s+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(o+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(o+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:r,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return s})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+s),lookbehind:!0,inside:{string:r.string,number:r.number,boolean:r.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:r,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)})(W),(function(a){a.languages.flow=a.languages.extend("javascript",{}),a.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),a.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete a.languages.flow.parameter,a.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(a.languages.flow.keyword)||(a.languages.flow.keyword=[a.languages.flow.keyword]),a.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(W),W.languages.n4js=W.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),W.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),W.languages.n4jsd=W.languages.n4js,(function(a){function r(d,p){return RegExp(d.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),a.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var s=["function","function-variable","method","method-variable","property-access"],o=0;o<s.length;o++){var f=s[o],c=a.languages.javascript[f],f=(c=a.util.type(c)==="RegExp"?a.languages.javascript[f]={pattern:c}:c).inside||{};(c.inside=f)["maybe-class-name"]=/^[A-Z][\s\S]*/}})(W),(function(a){var r=a.util.clone(a.languages.javascript),s=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function f(b,m){return b=b.replace(/<S>/g,function(){return s}).replace(/<BRACES>/g,function(){return o}).replace(/<SPREAD>/g,function(){return c}),RegExp(b,m)}c=f(c).source,a.languages.jsx=a.languages.extend("markup",r),a.languages.jsx.tag.pattern=f(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=r.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:f(/<SPREAD>/.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:f(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);function d(b){for(var m=[],S=0;S<b.length;S++){var y=b[S],C=!1;typeof y!="string"&&(y.type==="tag"&&y.content[0]&&y.content[0].type==="tag"?y.content[0].content[0].content==="</"?0<m.length&&m[m.length-1].tagName===p(y.content[0].content[1])&&m.pop():y.content[y.content.length-1].content!=="/>"&&m.push({tagName:p(y.content[0].content[1]),openedBraces:0}):0<m.length&&y.type==="punctuation"&&y.content==="{"?m[m.length-1].openedBraces++:0<m.length&&0<m[m.length-1].openedBraces&&y.type==="punctuation"&&y.content==="}"?m[m.length-1].openedBraces--:C=!0),(C||typeof y=="string")&&0<m.length&&m[m.length-1].openedBraces===0&&(C=p(y),S<b.length-1&&(typeof b[S+1]=="string"||b[S+1].type==="plain-text")&&(C+=p(b[S+1]),b.splice(S+1,1)),0<S&&(typeof b[S-1]=="string"||b[S-1].type==="plain-text")&&(C=p(b[S-1])+C,b.splice(S-1,1),S--),b[S]=new a.Token("plain-text",C,null,C)),y.content&&typeof y.content!="string"&&d(y.content)}}var p=function(b){return b?typeof b=="string"?b:typeof b.content=="string"?b.content:b.content.map(p).join(""):""};a.hooks.add("after-tokenize",function(b){b.language!=="jsx"&&b.language!=="tsx"||d(b.tokens)})})(W),(function(a){var r=a.util.clone(a.languages.typescript),r=(a.languages.tsx=a.languages.extend("jsx",r),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"],a.languages.tsx.tag);r.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+r.pattern.source+")",r.pattern.flags),r.lookbehind=!0})(W),W.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},W.languages.swift["string-literal"].forEach(function(a){a.inside.interpolation.inside=W.languages.swift}),(function(a){a.languages.kotlin=a.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete a.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:a.languages.kotlin}};a.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete a.languages.kotlin.string,a.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),a.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),a.languages.kt=a.languages.kotlin,a.languages.kts=a.languages.kotlin})(W),W.languages.c=W.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),W.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),W.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},W.languages.c.string],char:W.languages.c.char,comment:W.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:W.languages.c}}}}),W.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete W.languages.c.boolean,W.languages.objectivec=W.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete W.languages.objectivec["class-name"],W.languages.objc=W.languages.objectivec,W.languages.reason=W.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),W.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete W.languages.reason.function,(function(a){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,s=0;s<2;s++)r=r.replace(/<self>/g,function(){return r});r=r.replace(/<self>/g,function(){return/[^\s\S]/.source}),a.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},a.languages.rust["closure-params"].inside.rest=a.languages.rust,a.languages.rust.attribute.inside.string=a.languages.rust.string})(W),W.languages.go=W.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),W.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete W.languages.go["class-name"],(function(a){var r=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,s=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return r.source});a.languages.cpp=a.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return r.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:r,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),a.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return s})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),a.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:a.languages.cpp}}}}),a.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),a.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:a.languages.extend("cpp",{})}}),a.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},a.languages.cpp["base-clause"])})(W),W.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},W.languages.python["string-interpolation"].inside.interpolation.inside.rest=W.languages.python,W.languages.py=W.languages.python,W.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},W.languages.webmanifest=W.languages.json;var Qt={};i1(Qt,{dracula:()=>f1,duotoneDark:()=>g1,duotoneLight:()=>m1,github:()=>b1,gruvboxMaterialDark:()=>Z1,gruvboxMaterialLight:()=>$1,jettwaveDark:()=>U1,jettwaveLight:()=>F1,nightOwl:()=>v1,nightOwlLight:()=>S1,oceanicNext:()=>w1,okaidia:()=>A1,oneDark:()=>G1,oneLight:()=>V1,palenight:()=>T1,shadesOfPurple:()=>_1,synthwave84:()=>O1,ultramin:()=>D1,vsDark:()=>Np,vsLight:()=>L1});var c1={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},f1=c1,d1={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},g1=d1,h1={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},m1=h1,p1={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},b1=p1,y1={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},v1=y1,x1={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},S1=x1,$t={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},E1={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:$t.keyword}},{types:["attr-value"],style:{color:$t.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:$t.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:$t.primitive}},{types:["boolean"],style:{color:$t.boolean}},{types:["tag"],style:{color:$t.tag}},{types:["string"],style:{color:$t.string}},{types:["punctuation"],style:{color:$t.string}},{types:["selector","char","builtin","inserted"],style:{color:$t.char}},{types:["function"],style:{color:$t.function}},{types:["operator","entity","url","variable"],style:{color:$t.variable}},{types:["keyword"],style:{color:$t.keyword}},{types:["atrule","class-name"],style:{color:$t.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},w1=E1,N1={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},A1=N1,C1={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},T1=C1,R1={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},_1=R1,j1={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},O1=j1,k1={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},D1=k1,M1={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Np=M1,z1={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},L1=z1,B1={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},U1=B1,H1={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},F1=H1,q1={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},G1=q1,Y1={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},V1=Y1,X1={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},Z1=X1,I1={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},$1=I1,Q1=a=>R.useCallback(r=>{var s=r,{className:o,style:c,line:f}=s,d=wp(s,["className","style","line"]);const p=Ro(vn({},d),{className:xp("token-line",o)});return typeof a=="object"&&"plain"in a&&(p.style=a.plain),typeof c=="object"&&(p.style=vn(vn({},p.style||{}),c)),p},[a]),K1=a=>{const r=R.useCallback(({types:s,empty:o})=>{if(a!=null){{if(s.length===1&&s[0]==="plain")return o!=null?{display:"inline-block"}:void 0;if(s.length===1&&o!=null)return a[s[0]]}return Object.assign(o!=null?{display:"inline-block"}:{},...s.map(c=>a[c]))}},[a]);return R.useCallback(s=>{var o=s,{token:c,className:f,style:d}=o,p=wp(o,["token","className","style"]);const b=Ro(vn({},p),{className:xp("token",...c.types,f),children:c.content,style:r(c)});return d!=null&&(b.style=vn(vn({},b.style||{}),d)),b},[r])},J1=/\r\n|\r|\n/,am=a=>{a.length===0?a.push({types:["plain"],content:`
|
|
13
13
|
`,empty:!0}):a.length===1&&a[0].content===""&&(a[0].content=`
|
|
14
|
-
`,a[0].empty=!0)},rm=(a,r)=>{const s=a.length;return s>0&&a[s-1]===r?a:a.concat(r)},W1=a=>{const r=[[]],s=[a],o=[0],c=[a.length];let f=0,d=0,p=[];const b=[p];for(;d>-1;){for(;(f=o[d]++)<c[d];){let m,S=r[d];const C=s[d][f];if(typeof C=="string"?(S=d>0?S:["plain"],m=C):(S=rm(S,C.type),C.alias&&(S=rm(S,C.alias)),m=C.content),typeof m!="string"){d++,r.push(S),s.push(m),o.push(0),c.push(m.length);continue}const _=m.split(J1),x=_.length;p.push({types:S,content:_[0]});for(let v=1;v<x;v++)am(p),b.push(p=[]),p.push({types:S,content:_[v]})}d--,r.pop(),s.pop(),o.pop(),c.pop()}return am(p),b},im=W1,P1=({prism:a,code:r,grammar:s,language:o})=>R.useMemo(()=>{if(s==null)return im([r]);const c={code:r,grammar:s,language:o,tokens:[]};return a.hooks.run("before-tokenize",c),c.tokens=a.tokenize(r,s),a.hooks.run("after-tokenize",c),im(c.tokens)},[r,s,o,a]),ex=(a,r)=>{const{plain:s}=a,o=a.styles.reduce((c,f)=>{const{languages:d,style:p}=f;return d&&!d.includes(r)||f.types.forEach(b=>{const m=vn(vn({},c[b]),p);c[b]=m}),c},{});return o.root=s,o.plain=Ro(vn({},s),{backgroundColor:void 0}),o},tx=ex,nx=({children:a,language:r,code:s,theme:o,prism:c})=>{const f=r.toLowerCase(),d=tx(o,f),p=Q1(d),b=K1(d),m=c.languages[f],S=P1({prism:c,language:f,code:s,grammar:m});return a({tokens:S,className:`prism-code language-${f}`,style:d!=null?d.root:{},getLineProps:p,getTokenProps:b})},lx=a=>R.createElement(nx,Ro(vn({},a),{prism:a.prism||W,theme:a.theme||Np,code:a.code,language:a.language}));const ax="modulepreload",rx=function(a){return"/"+a},om={},At=function(r,s,o){let c=Promise.resolve();if(s&&s.length>0){let b=function(m){return Promise.all(m.map(S=>Promise.resolve(S).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");c=b(s.map(m=>{if(m=rx(m),m in om)return;om[m]=!0;const S=m.endsWith(".css"),y=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${y}`))return;const C=document.createElement("link");if(C.rel=S?"stylesheet":ax,S||(C.as="script"),C.crossOrigin="",C.href=m,p&&C.setAttribute("nonce",p),document.head.appendChild(C),S)return new Promise((_,x)=>{C.addEventListener("load",_),C.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return c.then(d=>{for(const p of d||[])p.status==="rejected"&&f(p.reason);return r().catch(f)})},ro={};function Ap(a){if(!ro[a]){const s={bash:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),sh:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),shell:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),php:async()=>(await At(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),At(()=>import("./prism-php-C1i3qVCF.js").then(o=>o.p),[])),sql:()=>At(()=>import("./prism-sql-AgAyy5H_.js"),[]),ruby:()=>At(()=>import("./prism-ruby-DLhW5oCS.js").then(o=>o.p),[]),java:()=>At(()=>import("./prism-java-94PqVB1S.js").then(o=>o.p),[]),scala:async()=>(await Ap("java"),At(()=>import("./prism-scala-BjNo2HkN.js"),[])),solidity:()=>At(()=>import("./prism-solidity-VnQS4C0y.js").then(o=>o.p),[]),vim:()=>At(()=>import("./prism-vim-uciLQ2PQ.js"),[]),dart:()=>At(()=>import("./prism-dart-MjriiaMt.js"),[]),csharp:()=>At(()=>import("./prism-csharp-B-1teUnU.js").then(o=>o.p),[]),protobuf:()=>At(()=>import("./prism-protobuf-DiQ_z8B5.js"),[]),hcl:()=>At(()=>import("./prism-hcl-BclbyXtV.js").then(o=>o.p),[])}[a];if(!s)return console.warn(`No loader available for language: ${a}`),Promise.reject(new Error(`Unsupported language: ${a}`));ro[a]=s().then(()=>{}).catch(o=>{throw delete ro[a],console.warn(`Failed to load language: ${a}`,o),o})}return ro[a]}typeof global<"u"?global.Prism=W:typeof window<"u"&&(window.Prism=W);const sm=["markup","html","xml","svg","javascript","js","typescript","ts","jsx","tsx","css","c","cpp","swift","kotlin","objectivec","reason","rust","go","graphql","yaml","yml","json","markdown","md","python","py"];function ix(a,r){const[s,o]=R.useState(()=>sm.includes(r)||!!W.languages[r]);return R.useEffect(()=>{if(!s){if(sm.includes(r)){o(!0);return}Ap(r).then(()=>{o(!0)}).catch(()=>{o(!1)})}},[r,s]),{ready:s,actualLang:s?r:"text"}}const um=[{id:"github",label:"GitHub Light"},{id:"vsLight",label:"VS Light"},{id:"oneLight",label:"One Light"},{id:"gruvboxMaterialLight",label:"Gruvbox Material Light"},{id:"nightOwlLight",label:"Night Owl Light"}],cm=[{id:"vsDark",label:"VS Dark"},{id:"oneDark",label:"One Dark"},{id:"gruvboxMaterialDark",label:"Gruvbox Material Dark"},{id:"nightOwl",label:"Night Owl"},{id:"dracula",label:"Dracula"},{id:"okaidia",label:"Okaidia"}];function ox(a){return{...a,styles:a.styles.map(r=>({...r,style:{...r.style,background:void 0,backgroundColor:void 0}}))}}function sx(a){let r;switch(a){case"github":r=Qt.github;break;case"vsLight":r=Qt.vsLight;break;case"oneLight":r=Qt.oneLight;break;case"gruvboxMaterialLight":r=Qt.gruvboxMaterialLight;break;case"nightOwlLight":r=Qt.nightOwlLight;break;case"vsDark":r=Qt.vsDark;break;case"oneDark":r=Qt.oneDark;break;case"gruvboxMaterialDark":r=Qt.gruvboxMaterialDark;break;case"nightOwl":r=Qt.nightOwl;break;case"dracula":r=Qt.dracula;break;case"okaidia":r=Qt.okaidia;break;default:r=Qt.vsDark}return ox(r)}function ux(a){const r=Fv(a).toLowerCase(),s=gp(a),o={dockerfile:"docker",makefile:"makefile",".gitignore":"git",".env":"bash",".bashrc":"bash",".zshrc":"bash",".bash_profile":"bash",".profile":"bash"};return o[r]?o[r]:{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",json:"json",css:"css",scss:"css",html:"html",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",yml:"yaml",yaml:"yaml",md:"markdown",py:"python",rb:"ruby",go:"go",rs:"rust",java:"java",cpp:"cpp",c:"c",php:"php",sql:"sql",xml:"xml",swift:"swift",kt:"kotlin",scala:"scala",svelte:"svelte",r:"r",lua:"lua",perl:"perl",dockerfile:"docker",makefile:"makefile",gitignore:"git",env:"bash",conf:"nginx",ini:"ini",toml:"toml",sol:"solidity",vim:"vim",dart:"dart",cs:"csharp",proto:"protobuf",tf:"hcl",tfvars:"hcl",hcl:"hcl"}[s||""]||"text"}const cx=Vn.memo(function({code:r,language:s,className:o,syntaxTheme:c="vsDark",filename:f="",renderToken:d,onMouseOver:p,onMouseOut:b}){const m=s||(f?ux(f):"text"),{actualLang:S}=ix(r,m),y=sx(c),C=R.useCallback(({style:_,tokens:x,getLineProps:v,getTokenProps:T})=>h.jsx("span",{className:o,style:{..._,background:"transparent",backgroundColor:"transparent"},onMouseOver:p,onMouseOut:b,children:x.map((N,A)=>h.jsx("span",{...v({line:N}),children:N.map((D,z)=>d?d(D,z,T):h.jsx("span",{...T({token:D})},z))},A))}),[o,p,b,d]);return h.jsx(lx,{code:r,language:S,theme:y,prism:W,children:C})}),xc=Vn.memo(function(r){const{handleMouseOver:s,handleMouseOut:o,isWordHighlighted:c}=Pv(),f=R.useCallback((d,p,b)=>{const m=b({token:d}),S=d.content.split(/( +)/);if(S.length===1&&S[0]&&!nm(S[0]))return h.jsx("span",{...m},p);const y=S.map((C,_)=>{if(!C)return null;if(nm(C)){const x=C.trim(),v=c(x);return h.jsx("span",{className:`word-token ${v?"word-highlight":""}`,"data-word":x,children:C},`${p}-${_}`)}return h.jsx("span",{children:C},`${p}-${_}`)});return h.jsx("span",{...m,children:y},p)},[c]);return h.jsx(cx,{...r,renderToken:f,onMouseOver:s,onMouseOut:o})}),Sc=Vn.memo(function({segments:r,className:s=""}){const o=R.useMemo(()=>r.map((c,f)=>{const d=c.type==="added"?"word-diff-added":c.type==="removed"?"word-diff-removed":"";return h.jsx("span",{className:d,children:c.value},f)}),[r]);return h.jsx("span",{className:s,children:o})}),fx=a=>{switch(a.type){case"add":return"bg-diff-addition-bg";case"delete":return"bg-diff-deletion-bg";default:return"bg-transparent"}},dx=a=>{switch(a.type){case"add":return"+";case"delete":return"-";default:return" "}},Cp=Vn.memo(({line:a,index:r,lineId:s,isCurrentLine:o=!1,hoveredLineIndex:c,selectedLineStyle:f,onMouseEnter:d,onMouseLeave:p,onMouseMove:b,onCommentButtonMouseDown:m,onCommentButtonMouseUp:S,syntaxTheme:y,onClick:C,filename:_,diffSegments:x})=>{const v=a.newLineNumber||a.oldLineNumber,T=c===r&&v,N=o?"keyboard-cursor":"";return h.jsxs("tr",{id:s,className:`group ${fx(a)} relative ${f} ${N} cursor-pointer`,onMouseEnter:d,onMouseLeave:p,onMouseMove:b,onClick:C,children:[h.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative",children:a.oldLineNumber||""}),h.jsxs("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible",children:[h.jsx("span",{className:"pr-5",children:a.newLineNumber||""}),T&&h.jsx(fo,{onMouseDown:m,onMouseUp:S})]}),h.jsx("td",{className:"p-0 w-full relative align-top",children:h.jsxs("div",{className:"flex items-center relative min-h-[16px]",children:[h.jsx("span",{className:`w-5 text-center text-github-text-muted flex-shrink-0 bg-github-bg-secondary border-r border-github-border ${a.type==="add"?"text-github-accent bg-diff-addition-bg":a.type==="delete"?"text-github-danger bg-diff-deletion-bg":""}`,children:dx(a)}),x?h.jsx(Sc,{segments:x,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:a.content,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:y,filename:_})]})})]})});Cp.displayName="DiffLineRow";function gx({chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,syntaxTheme:p,cursor:b=null,fileIndex:m=0,onLineClick:S,commentTrigger:y,onCommentTriggerHandled:C,filename:_}){const[x,v]=R.useState(null),[T,N]=R.useState(null),[A,D]=R.useState(!1),[z,L]=R.useState(null),[Q,Y]=R.useState(null);R.useEffect(()=>{if(y?.lineIndex!==void 0){const E=a.lines[y.lineIndex];if(E&&E.type!=="delete"){const M=E.newLineNumber;M&&(L({side:"new",lineNumber:M}),C?.())}}},[y,a.lines,C]),R.useEffect(()=>{if(A){const E=()=>{D(!1),v(null),N(null)};return document.addEventListener("mouseup",E),()=>{document.removeEventListener("mouseup",E)}}},[A]);const ce=R.useCallback((E,M)=>{z?.side===E&&z?.lineNumber===M?L(null):L({side:E,lineNumber:M})},[z]),ee=R.useCallback(()=>{L(null)},[]),oe=R.useCallback(async E=>{z!==null&&(await o(z.lineNumber,E,void 0,z.side),L(null))},[z,o]),le=(E,M)=>s.filter(k=>{const I=Array.isArray(k.line)?k.line[1]===E:k.line===E,$=!k.side||k.side===M;return I&&$}),P=E=>E.oldLine?.type==="delete"&&E.newLine?.type==="add"?E.newLineNumber?"right":"left":E.oldLine?.type==="delete"?"left":E.newLine?.type==="add"?"right":"full",se=(E,M)=>{const k=E==="old"?M.oldLineNumber:M.newLineNumber;if(!k)return"";if(A&&x&&T&&x.side===E&&T.side===E){const I=Math.min(x.lineNumber,T.lineNumber),$=Math.max(x.lineNumber,T.lineNumber);if(k>=I&&k<=$){let j="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return k===I&&(j+=" after:border-t-2"),k===$&&(j+=" after:border-b-2"),j}}if(z&&z.side===E){const I=Array.isArray(z.lineNumber)?z.lineNumber:[z.lineNumber,z.lineNumber],$=I[0],j=I[1];if($!==void 0&&j!==void 0&&k>=$&&k<=j)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""},F=R.useCallback(E=>{const M=[];let k=a.oldStart,I=a.newStart,$=0;for(;$<E.length;){const j=E[$];if(!j){$++;continue}if(j.type==="normal")M.push({oldLine:j,newLine:{...j},oldLineNumber:j.oldLineNumber??k,newLineNumber:j.newLineNumber??I,oldLineOriginalIndex:$,newLineOriginalIndex:$}),k++,I++,$++;else if(j.type==="delete"){let U=$+1;for(;U<E.length&&E[U]?.type==="delete";)U++;const X=E.slice($,U),re=$,ie=[],fe=U;for(;U<E.length&&E[U]?.type==="add";){const ge=E[U];ge&&ie.push(ge),U++}const ue=Math.max(X.length,ie.length);for(let ge=0;ge<ue;ge++){const de=X[ge],ye=ie[ge];let Ne;de&&ye&&pp(de.content,ye.content)&&(Ne=mp(de.content,ye.content)),M.push({oldLine:de,newLine:ye,oldLineNumber:de?de.oldLineNumber??k+ge:void 0,newLineNumber:ye?ye.newLineNumber??I+ge:void 0,oldLineOriginalIndex:de?re+ge:void 0,newLineOriginalIndex:ye?fe+ge:void 0,wordLevelDiff:Ne})}k+=X.length,I+=ie.length,$=U}else j.type==="add"&&(M.push({newLine:j,newLineNumber:j.newLineNumber??I,newLineOriginalIndex:$}),I++,$++)}return M},[a.oldStart,a.newStart]),ae=R.useMemo(()=>F(a.lines),[a.lines,F]);return h.jsx("div",{className:"bg-github-bg-primary border border-github-border rounded-md overflow-hidden",children:h.jsx("table",{className:"w-full border-collapse font-mono text-sm leading-5",children:h.jsx("tbody",{children:ae.map((E,M)=>{const k=E.oldLineNumber?le(E.oldLineNumber,"old"):[],I=E.newLineNumber?le(E.newLineNumber,"new"):[],$=[...k,...I],j=E.oldLineOriginalIndex??-1,U=E.newLineOriginalIndex??-1,X=b?b.side==="left"&&j>=0?b.chunkIndex===r&&b.lineIndex===j:b.side==="right"&&U>=0?b.chunkIndex===r&&b.lineIndex===U:!1:!1,re=j>=0?`file-${m}-chunk-${r}-line-${j}-left`:void 0,ie=U>=0?`file-${m}-chunk-${r}-line-${U}-right`:void 0,fe=X&&b?.side==="left",ue=X&&b?.side==="right",ge="keyboard-cursor";return h.jsxs(Vn.Fragment,{children:[h.jsxs("tr",{className:"group cursor-pointer",onClick:de=>{if(!A){const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&j>=0?S?.(m,r,j,"left"):pe&&U>=0&&S?.(m,r,U,"right")}},onMouseEnter:de=>{const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&E.oldLineNumber?Y({side:"old",lineNumber:E.oldLineNumber}):pe&&E.newLineNumber&&Y({side:"new",lineNumber:E.newLineNumber})},onMouseMove:de=>{const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&E.oldLineNumber?(Q?.side!=="old"||Q?.lineNumber!==E.oldLineNumber)&&Y({side:"old",lineNumber:E.oldLineNumber}):pe&&E.newLineNumber&&(Q?.side!=="new"||Q?.lineNumber!==E.newLineNumber)&&Y({side:"new",lineNumber:E.newLineNumber}),A&&x&&(x.side==="old"&&E.oldLineNumber?N({side:"old",lineNumber:E.oldLineNumber}):x.side==="new"&&E.newLineNumber&&N({side:"new",lineNumber:E.newLineNumber}))},onMouseLeave:()=>Y(null),children:[h.jsxs("td",{id:re,className:`w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible ${fe?ge:""}`,children:[h.jsx("span",{className:"pr-5",children:E.oldLineNumber||""}),Q?.side==="old"&&Q?.lineNumber===E.oldLineNumber&&h.jsx(fo,{onMouseDown:de=>{de.stopPropagation(),E.oldLineNumber&&(v({side:"old",lineNumber:E.oldLineNumber}),N({side:"old",lineNumber:E.oldLineNumber}),D(!0))},onMouseUp:de=>{if(de.stopPropagation(),!E.oldLineNumber||!x){D(!1),v(null),N(null);return}const ye=T&&T.side==="old"?T.lineNumber:E.oldLineNumber;if(x.side!=="old"||x.lineNumber===ye)ce("old",E.oldLineNumber);else{const Ne=Math.min(x.lineNumber,ye),pe=Math.max(x.lineNumber,ye);ce("old",[Ne,pe])}D(!1),v(null),N(null)}})]}),h.jsx("td",{className:`w-1/2 p-0 align-top border-r border-github-border relative ${E.oldLine?.type==="delete"?"bg-diff-deletion-bg":E.oldLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${se("old",E)} ${fe?ge:""}`,children:E.oldLine&&h.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:E.wordLevelDiff?h.jsx(Sc,{segments:E.wordLevelDiff.oldSegments,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:E.oldLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:p,filename:_})})}),h.jsxs("td",{id:ie,className:`w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible ${ue?ge:""}`,children:[h.jsx("span",{className:"pr-5",children:E.newLineNumber||""}),Q?.side==="new"&&Q?.lineNumber===E.newLineNumber&&h.jsx(fo,{onMouseDown:de=>{de.stopPropagation(),E.newLineNumber&&(v({side:"new",lineNumber:E.newLineNumber}),N({side:"new",lineNumber:E.newLineNumber}),D(!0))},onMouseUp:de=>{if(de.stopPropagation(),!E.newLineNumber||!x){D(!1),v(null),N(null);return}const ye=T&&T.side==="new"?T.lineNumber:E.newLineNumber;if(x.side!=="new"||x.lineNumber===ye)ce("new",E.newLineNumber);else{const Ne=Math.min(x.lineNumber,ye),pe=Math.max(x.lineNumber,ye);ce("new",[Ne,pe])}D(!1),v(null),N(null)}})]}),h.jsx("td",{className:`w-1/2 p-0 align-top relative ${E.newLine?.type==="add"?"bg-diff-addition-bg":E.newLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${se("new",E)} ${ue?ge:""}`,children:E.newLine&&h.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:E.wordLevelDiff?h.jsx(Sc,{segments:E.wordLevelDiff.newSegments,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:E.newLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:p,filename:_})})})]}),$.length>0&&h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:$.map(de=>{const ye=de.side||"new";let Ne;return ye==="old"&&E.oldLineNumber?Ne="left":ye==="new"&&E.newLineNumber?Ne="right":Ne=P(E),h.jsx("div",{className:`flex ${Ne==="left"?"justify-start":Ne==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${Ne==="full"?"w-full":"w-1/2"} m-2 mx-4`,children:h.jsx(Dc,{comment:de,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d})})},de.id)})})}),z&&(z.side==="old"&&z.lineNumber===E.oldLineNumber||z.side==="new"&&z.lineNumber===E.newLineNumber||Array.isArray(z.lineNumber)&&(z.side==="new"&&z.lineNumber[1]===E.newLineNumber||z.side==="old"&&z.lineNumber[1]===E.oldLineNumber))&&h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:4,className:"p-0",children:h.jsx("div",{className:`flex ${z.side==="old"?"justify-start":z.side==="new"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:"w-1/2",children:h.jsx(bp,{onSubmit:oe,onCancel:ee})})})})})]},M)})})})})}function hx({chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,mode:p="inline",syntaxTheme:b,cursor:m=null,fileIndex:S=0,onLineClick:y,commentTrigger:C,onCommentTriggerHandled:_,filename:x}){const[v,T]=R.useState(null),[N,A]=R.useState(null),[D,z]=R.useState(!1),[L,Q]=R.useState(null),[Y,ce]=R.useState(null);R.useEffect(()=>{if(C?.lineIndex!==void 0){const E=a.lines[C.lineIndex];if(E){const M=E.newLineNumber||E.oldLineNumber,k=E.type==="delete"?"old":"new";M&&(Q({side:k,lineNumber:M}),_?.())}}},[C,a.lines,_]),R.useEffect(()=>{if(D){const E=()=>{z(!1),T(null),A(null)};return document.addEventListener("mouseup",E),()=>{document.removeEventListener("mouseup",E)}}},[D]);const ee=R.useCallback((E,M)=>{L?.side===E&&L?.lineNumber===M?Q(null):Q({side:E,lineNumber:M})},[L]),oe=R.useCallback(()=>{Q(null)},[]),le=R.useCallback(async E=>{L!==null&&(await o(L.lineNumber,E,void 0,L.side),Q(null))},[L,o]),P=(E,M)=>s.filter(k=>{const I=Array.isArray(k.line)?k.line[1]===E:k.line===E,$=!k.side||k.side===M;return I&&$}),se=E=>{if(p==="inline")return"full";switch(E.type){case"delete":return"left";case"add":return"right";default:return"full"}},F=(E,M)=>{if(!E)return"";if(D&&v&&N){const k=Math.min(v,N),I=Math.max(v,N);if(E>=k&&E<=I){let $="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return E===k&&($+=" after:border-t-2"),E===I&&($+=" after:border-b-2"),$}}if(L&&L.side===M){const k=Array.isArray(L.lineNumber)?L.lineNumber[0]:L.lineNumber,I=Array.isArray(L.lineNumber)?L.lineNumber[1]:L.lineNumber;if(E>=k&&E<=I)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""},ae=R.useMemo(()=>{const E=new Map,M=a.lines;let k=0;for(;k<M.length;){const I=M[k];if(!I){k++;continue}if(I.type==="delete"){let $=k+1;for(;$<M.length&&M[$]?.type==="delete";)$++;const j=M.slice(k,$),U=k,X=[];for(;$<M.length&&M[$]?.type==="add";){const ie=M[$];ie&&X.push({line:ie,index:$}),$++}const re=Math.max(j.length,X.length);for(let ie=0;ie<re;ie++){const fe=j[ie],ue=X[ie];if(fe&&ue&&pp(fe.content,ue.line.content)){const ge=mp(fe.content,ue.line.content);E.set(U+ie,ge.oldSegments),E.set(ue.index,ge.newSegments)}}k=$}else k++}return E},[a.lines]);return p==="side-by-side"?h.jsx(gx,{chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,syntaxTheme:b,cursor:m,fileIndex:S,onLineClick:y,filename:x,commentTrigger:C,onCommentTriggerHandled:_}):h.jsx("div",{className:"bg-github-bg-primary",children:h.jsx("table",{className:"w-full border-collapse font-mono text-sm leading-5",children:h.jsx("tbody",{children:a.lines.map((E,M)=>{const k=E.newLineNumber||E.oldLineNumber||0,I=E.type==="delete"?"old":"new",$=L?Array.isArray(L.lineNumber)?L.lineNumber[1]:L.lineNumber:null,j=E.type==="delete"?E.oldLineNumber:E.newLineNumber,U=E.type==="delete"?"old":"new",X=j?P(j,U):[],re=`file-${S}-chunk-${r}-line-${M}`,ie=m&&m.chunkIndex===r&&m.lineIndex===M;return h.jsxs(Vn.Fragment,{children:[h.jsx(Cp,{line:E,index:M,lineId:re,isCurrentLine:ie||!1,hoveredLineIndex:Y,selectedLineStyle:F(E.newLineNumber||E.oldLineNumber,E.type==="delete"?"old":"new"),onMouseEnter:()=>{ce(M)},onMouseLeave:()=>ce(null),onMouseMove:()=>{if(D&&v){const fe=E.newLineNumber||E.oldLineNumber;fe&&A(fe)}},onCommentButtonMouseDown:fe=>{fe.stopPropagation();const ue=E.newLineNumber||E.oldLineNumber;ue&&(T(ue),A(ue),z(!0))},onCommentButtonMouseUp:fe=>{fe.stopPropagation();const ue=E.newLineNumber||E.oldLineNumber,ge=E.type==="delete"?"old":"new";if(!ue||!v){z(!1),T(null),A(null);return}const de=N||ue;if(v===de)ee(ge,ue);else{const ye=Math.min(v,de),Ne=Math.max(v,de);ee(ge,[ye,Ne])}z(!1),T(null),A(null)},syntaxTheme:b,filename:x,diffSegments:ae.get(M),onClick:()=>{const fe=E.type==="delete"?"left":"right";y?.(S,r,M,fe)}}),X.map(fe=>{const ue=se(E);return h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:3,className:"p-0 border-t border-github-border",children:h.jsx("div",{className:`flex ${ue==="left"?"justify-start":ue==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${ue==="full"?"w-full":"w-1/2"} m-2 mx-4`,children:h.jsx(Dc,{comment:fe,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d})})})})},fe.id)}),L&&L.side===I&&$===k&&h.jsx("tr",{className:"bg-[var(--bg-secondary)]",children:h.jsx("td",{colSpan:3,className:"p-0",children:h.jsx("div",{className:`flex ${se(E)==="left"?"justify-start":se(E)==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${se(E)==="full"?"w-full":"w-1/2"}`,children:h.jsx(bp,{onSubmit:le,onCancel:oe})})})})})]},M)})})})})}function mx({file:a,mode:r="inline",baseCommitish:s,targetCommitish:o}){const c=a.status==="deleted",f=a.status==="added",d=a.status==="modified"||a.status==="renamed",p=s||"HEAD~1",b=o||"HEAD",[m,S]=R.useState({}),[y,C]=R.useState({}),_=async(N,A)=>{try{const D=N.naturalWidth,z=N.naturalHeight,Y=(await(await fetch(N.src)).blob()).size;A({width:D,height:z,size:Y})}catch(D){console.error("Failed to get image info:",D)}},x=N=>N?N<1024?`${N} B`:N<1024*1024?`${(N/1024).toFixed(1)} KB`:`${(N/(1024*1024)).toFixed(1)} MB`:"",v=N=>!N.width||!N.height?"":`W: ${N.width}px | H: ${N.height}px`,T={backgroundImage:`
|
|
14
|
+
`,a[0].empty=!0)},rm=(a,r)=>{const s=a.length;return s>0&&a[s-1]===r?a:a.concat(r)},W1=a=>{const r=[[]],s=[a],o=[0],c=[a.length];let f=0,d=0,p=[];const b=[p];for(;d>-1;){for(;(f=o[d]++)<c[d];){let m,S=r[d];const C=s[d][f];if(typeof C=="string"?(S=d>0?S:["plain"],m=C):(S=rm(S,C.type),C.alias&&(S=rm(S,C.alias)),m=C.content),typeof m!="string"){d++,r.push(S),s.push(m),o.push(0),c.push(m.length);continue}const _=m.split(J1),x=_.length;p.push({types:S,content:_[0]});for(let v=1;v<x;v++)am(p),b.push(p=[]),p.push({types:S,content:_[v]})}d--,r.pop(),s.pop(),o.pop(),c.pop()}return am(p),b},im=W1,P1=({prism:a,code:r,grammar:s,language:o})=>R.useMemo(()=>{if(s==null)return im([r]);const c={code:r,grammar:s,language:o,tokens:[]};return a.hooks.run("before-tokenize",c),c.tokens=a.tokenize(r,s),a.hooks.run("after-tokenize",c),im(c.tokens)},[r,s,o,a]),ex=(a,r)=>{const{plain:s}=a,o=a.styles.reduce((c,f)=>{const{languages:d,style:p}=f;return d&&!d.includes(r)||f.types.forEach(b=>{const m=vn(vn({},c[b]),p);c[b]=m}),c},{});return o.root=s,o.plain=Ro(vn({},s),{backgroundColor:void 0}),o},tx=ex,nx=({children:a,language:r,code:s,theme:o,prism:c})=>{const f=r.toLowerCase(),d=tx(o,f),p=Q1(d),b=K1(d),m=c.languages[f],S=P1({prism:c,language:f,code:s,grammar:m});return a({tokens:S,className:`prism-code language-${f}`,style:d!=null?d.root:{},getLineProps:p,getTokenProps:b})},lx=a=>R.createElement(nx,Ro(vn({},a),{prism:a.prism||W,theme:a.theme||Np,code:a.code,language:a.language}));const ax="modulepreload",rx=function(a){return"/"+a},om={},At=function(r,s,o){let c=Promise.resolve();if(s&&s.length>0){let b=function(m){return Promise.all(m.map(S=>Promise.resolve(S).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");c=b(s.map(m=>{if(m=rx(m),m in om)return;om[m]=!0;const S=m.endsWith(".css"),y=S?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${y}`))return;const C=document.createElement("link");if(C.rel=S?"stylesheet":ax,S||(C.as="script"),C.crossOrigin="",C.href=m,p&&C.setAttribute("nonce",p),document.head.appendChild(C),S)return new Promise((_,x)=>{C.addEventListener("load",_),C.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return c.then(d=>{for(const p of d||[])p.status==="rejected"&&f(p.reason);return r().catch(f)})},ro={};function Ap(a){if(!ro[a]){const s={bash:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),sh:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),shell:()=>At(()=>import("./prism-bash-DTkDXsAh.js"),[]),php:async()=>(await At(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),At(()=>import("./prism-php-KTVLPyZ3.js").then(o=>o.p),[])),sql:()=>At(()=>import("./prism-sql-AgAyy5H_.js"),[]),ruby:()=>At(()=>import("./prism-ruby-BfQ5W8b2.js").then(o=>o.p),[]),java:()=>At(()=>import("./prism-java-BxkFoZjf.js").then(o=>o.p),[]),scala:async()=>(await Ap("java"),At(()=>import("./prism-scala-BjNo2HkN.js"),[])),solidity:()=>At(()=>import("./prism-solidity-Ck9mTXkq.js").then(o=>o.p),[]),vim:()=>At(()=>import("./prism-vim-uciLQ2PQ.js"),[]),dart:()=>At(()=>import("./prism-dart-MjriiaMt.js"),[]),csharp:()=>At(()=>import("./prism-csharp-Dc9gly1x.js").then(o=>o.p),[]),protobuf:()=>At(()=>import("./prism-protobuf-DiQ_z8B5.js"),[]),hcl:()=>At(()=>import("./prism-hcl-Cv91Cd6z.js").then(o=>o.p),[])}[a];if(!s)return console.warn(`No loader available for language: ${a}`),Promise.reject(new Error(`Unsupported language: ${a}`));ro[a]=s().then(()=>{}).catch(o=>{throw delete ro[a],console.warn(`Failed to load language: ${a}`,o),o})}return ro[a]}typeof global<"u"?global.Prism=W:typeof window<"u"&&(window.Prism=W);const sm=["markup","html","xml","svg","javascript","js","typescript","ts","jsx","tsx","css","c","cpp","swift","kotlin","objectivec","reason","rust","go","graphql","yaml","yml","json","markdown","md","python","py"];function ix(a,r){const[s,o]=R.useState(()=>sm.includes(r)||!!W.languages[r]);return R.useEffect(()=>{if(!s){if(sm.includes(r)){o(!0);return}Ap(r).then(()=>{o(!0)}).catch(()=>{o(!1)})}},[r,s]),{ready:s,actualLang:s?r:"text"}}const um=[{id:"github",label:"GitHub Light"},{id:"vsLight",label:"VS Light"},{id:"oneLight",label:"One Light"},{id:"gruvboxMaterialLight",label:"Gruvbox Material Light"},{id:"nightOwlLight",label:"Night Owl Light"}],cm=[{id:"vsDark",label:"VS Dark"},{id:"oneDark",label:"One Dark"},{id:"gruvboxMaterialDark",label:"Gruvbox Material Dark"},{id:"nightOwl",label:"Night Owl"},{id:"dracula",label:"Dracula"},{id:"okaidia",label:"Okaidia"}];function ox(a){return{...a,styles:a.styles.map(r=>({...r,style:{...r.style,background:void 0,backgroundColor:void 0}}))}}function sx(a){let r;switch(a){case"github":r=Qt.github;break;case"vsLight":r=Qt.vsLight;break;case"oneLight":r=Qt.oneLight;break;case"gruvboxMaterialLight":r=Qt.gruvboxMaterialLight;break;case"nightOwlLight":r=Qt.nightOwlLight;break;case"vsDark":r=Qt.vsDark;break;case"oneDark":r=Qt.oneDark;break;case"gruvboxMaterialDark":r=Qt.gruvboxMaterialDark;break;case"nightOwl":r=Qt.nightOwl;break;case"dracula":r=Qt.dracula;break;case"okaidia":r=Qt.okaidia;break;default:r=Qt.vsDark}return ox(r)}function ux(a){const r=Fv(a).toLowerCase(),s=gp(a),o={dockerfile:"docker",makefile:"makefile",".gitignore":"git",".env":"bash",".bashrc":"bash",".zshrc":"bash",".bash_profile":"bash",".profile":"bash"};return o[r]?o[r]:{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",json:"json",css:"css",scss:"css",html:"html",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",yml:"yaml",yaml:"yaml",md:"markdown",py:"python",rb:"ruby",go:"go",rs:"rust",java:"java",cpp:"cpp",c:"c",php:"php",sql:"sql",xml:"xml",swift:"swift",kt:"kotlin",scala:"scala",svelte:"svelte",r:"r",lua:"lua",perl:"perl",dockerfile:"docker",makefile:"makefile",gitignore:"git",env:"bash",conf:"nginx",ini:"ini",toml:"toml",sol:"solidity",vim:"vim",dart:"dart",cs:"csharp",proto:"protobuf",tf:"hcl",tfvars:"hcl",hcl:"hcl"}[s||""]||"text"}const cx=Vn.memo(function({code:r,language:s,className:o,syntaxTheme:c="vsDark",filename:f="",renderToken:d,onMouseOver:p,onMouseOut:b}){const m=s||(f?ux(f):"text"),{actualLang:S}=ix(r,m),y=sx(c),C=R.useCallback(({style:_,tokens:x,getLineProps:v,getTokenProps:T})=>h.jsx("span",{className:o,style:{..._,background:"transparent",backgroundColor:"transparent"},onMouseOver:p,onMouseOut:b,children:x.map((N,A)=>h.jsx("span",{...v({line:N}),children:N.map((D,z)=>d?d(D,z,T):h.jsx("span",{...T({token:D})},z))},A))}),[o,p,b,d]);return h.jsx(lx,{code:r,language:S,theme:y,prism:W,children:C})}),xc=Vn.memo(function(r){const{handleMouseOver:s,handleMouseOut:o,isWordHighlighted:c}=Pv(),f=R.useCallback((d,p,b)=>{const m=b({token:d}),S=d.content.split(/( +)/);if(S.length===1&&S[0]&&!nm(S[0]))return h.jsx("span",{...m},p);const y=S.map((C,_)=>{if(!C)return null;if(nm(C)){const x=C.trim(),v=c(x);return h.jsx("span",{className:`word-token ${v?"word-highlight":""}`,"data-word":x,children:C},`${p}-${_}`)}return h.jsx("span",{children:C},`${p}-${_}`)});return h.jsx("span",{...m,children:y},p)},[c]);return h.jsx(cx,{...r,renderToken:f,onMouseOver:s,onMouseOut:o})}),Sc=Vn.memo(function({segments:r,className:s=""}){const o=R.useMemo(()=>r.map((c,f)=>{const d=c.type==="added"?"word-diff-added":c.type==="removed"?"word-diff-removed":"";return h.jsx("span",{className:d,children:c.value},f)}),[r]);return h.jsx("span",{className:s,children:o})}),fx=a=>{switch(a.type){case"add":return"bg-diff-addition-bg";case"delete":return"bg-diff-deletion-bg";default:return"bg-transparent"}},dx=a=>{switch(a.type){case"add":return"+";case"delete":return"-";default:return" "}},Cp=Vn.memo(({line:a,index:r,lineId:s,isCurrentLine:o=!1,hoveredLineIndex:c,selectedLineStyle:f,onMouseEnter:d,onMouseLeave:p,onMouseMove:b,onCommentButtonMouseDown:m,onCommentButtonMouseUp:S,syntaxTheme:y,onClick:C,filename:_,diffSegments:x})=>{const v=a.newLineNumber||a.oldLineNumber,T=c===r&&v,N=o?"keyboard-cursor":"";return h.jsxs("tr",{id:s,className:`group ${fx(a)} relative ${f} ${N} cursor-pointer`,onMouseEnter:d,onMouseLeave:p,onMouseMove:b,onClick:C,children:[h.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative",children:a.oldLineNumber||""}),h.jsxs("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible",children:[h.jsx("span",{className:"pr-5",children:a.newLineNumber||""}),T&&h.jsx(fo,{onMouseDown:m,onMouseUp:S})]}),h.jsx("td",{className:"p-0 w-full relative align-top",children:h.jsxs("div",{className:"flex items-center relative min-h-[16px]",children:[h.jsx("span",{className:`w-5 text-center text-github-text-muted flex-shrink-0 bg-github-bg-secondary border-r border-github-border ${a.type==="add"?"text-github-accent bg-diff-addition-bg":a.type==="delete"?"text-github-danger bg-diff-deletion-bg":""}`,children:dx(a)}),x?h.jsx(Sc,{segments:x,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:a.content,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:y,filename:_})]})})]})});Cp.displayName="DiffLineRow";function gx({chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,syntaxTheme:p,cursor:b=null,fileIndex:m=0,onLineClick:S,commentTrigger:y,onCommentTriggerHandled:C,filename:_}){const[x,v]=R.useState(null),[T,N]=R.useState(null),[A,D]=R.useState(!1),[z,L]=R.useState(null),[Q,Y]=R.useState(null);R.useEffect(()=>{if(y?.lineIndex!==void 0){const E=a.lines[y.lineIndex];if(E&&E.type!=="delete"){const M=E.newLineNumber;M&&(L({side:"new",lineNumber:M}),C?.())}}},[y,a.lines,C]),R.useEffect(()=>{if(A){const E=()=>{D(!1),v(null),N(null)};return document.addEventListener("mouseup",E),()=>{document.removeEventListener("mouseup",E)}}},[A]);const ce=R.useCallback((E,M)=>{z?.side===E&&z?.lineNumber===M?L(null):L({side:E,lineNumber:M})},[z]),ee=R.useCallback(()=>{L(null)},[]),oe=R.useCallback(async E=>{z!==null&&(await o(z.lineNumber,E,void 0,z.side),L(null))},[z,o]),le=(E,M)=>s.filter(k=>{const I=Array.isArray(k.line)?k.line[1]===E:k.line===E,$=!k.side||k.side===M;return I&&$}),P=E=>E.oldLine?.type==="delete"&&E.newLine?.type==="add"?E.newLineNumber?"right":"left":E.oldLine?.type==="delete"?"left":E.newLine?.type==="add"?"right":"full",se=(E,M)=>{const k=E==="old"?M.oldLineNumber:M.newLineNumber;if(!k)return"";if(A&&x&&T&&x.side===E&&T.side===E){const I=Math.min(x.lineNumber,T.lineNumber),$=Math.max(x.lineNumber,T.lineNumber);if(k>=I&&k<=$){let j="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return k===I&&(j+=" after:border-t-2"),k===$&&(j+=" after:border-b-2"),j}}if(z&&z.side===E){const I=Array.isArray(z.lineNumber)?z.lineNumber:[z.lineNumber,z.lineNumber],$=I[0],j=I[1];if($!==void 0&&j!==void 0&&k>=$&&k<=j)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""},F=R.useCallback(E=>{const M=[];let k=a.oldStart,I=a.newStart,$=0;for(;$<E.length;){const j=E[$];if(!j){$++;continue}if(j.type==="normal")M.push({oldLine:j,newLine:{...j},oldLineNumber:j.oldLineNumber??k,newLineNumber:j.newLineNumber??I,oldLineOriginalIndex:$,newLineOriginalIndex:$}),k++,I++,$++;else if(j.type==="delete"){let U=$+1;for(;U<E.length&&E[U]?.type==="delete";)U++;const X=E.slice($,U),re=$,ie=[],fe=U;for(;U<E.length&&E[U]?.type==="add";){const ge=E[U];ge&&ie.push(ge),U++}const ue=Math.max(X.length,ie.length);for(let ge=0;ge<ue;ge++){const de=X[ge],ye=ie[ge];let Ne;de&&ye&&pp(de.content,ye.content)&&(Ne=mp(de.content,ye.content)),M.push({oldLine:de,newLine:ye,oldLineNumber:de?de.oldLineNumber??k+ge:void 0,newLineNumber:ye?ye.newLineNumber??I+ge:void 0,oldLineOriginalIndex:de?re+ge:void 0,newLineOriginalIndex:ye?fe+ge:void 0,wordLevelDiff:Ne})}k+=X.length,I+=ie.length,$=U}else j.type==="add"&&(M.push({newLine:j,newLineNumber:j.newLineNumber??I,newLineOriginalIndex:$}),I++,$++)}return M},[a.oldStart,a.newStart]),ae=R.useMemo(()=>F(a.lines),[a.lines,F]);return h.jsx("div",{className:"bg-github-bg-primary border border-github-border rounded-md overflow-hidden",children:h.jsx("table",{className:"w-full border-collapse font-mono text-sm leading-5",children:h.jsx("tbody",{children:ae.map((E,M)=>{const k=E.oldLineNumber?le(E.oldLineNumber,"old"):[],I=E.newLineNumber?le(E.newLineNumber,"new"):[],$=[...k,...I],j=E.oldLineOriginalIndex??-1,U=E.newLineOriginalIndex??-1,X=b?b.side==="left"&&j>=0?b.chunkIndex===r&&b.lineIndex===j:b.side==="right"&&U>=0?b.chunkIndex===r&&b.lineIndex===U:!1:!1,re=j>=0?`file-${m}-chunk-${r}-line-${j}-left`:void 0,ie=U>=0?`file-${m}-chunk-${r}-line-${U}-right`:void 0,fe=X&&b?.side==="left",ue=X&&b?.side==="right",ge="keyboard-cursor";return h.jsxs(Vn.Fragment,{children:[h.jsxs("tr",{className:"group cursor-pointer",onClick:de=>{if(!A){const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&j>=0?S?.(m,r,j,"left"):pe&&U>=0&&S?.(m,r,U,"right")}},onMouseEnter:de=>{const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&E.oldLineNumber?Y({side:"old",lineNumber:E.oldLineNumber}):pe&&E.newLineNumber&&Y({side:"new",lineNumber:E.newLineNumber})},onMouseMove:de=>{const ye=de.target,Ne=ye.closest("td:nth-child(1)")||ye.closest("td:nth-child(2)"),pe=ye.closest("td:nth-child(3)")||ye.closest("td:nth-child(4)");Ne&&E.oldLineNumber?(Q?.side!=="old"||Q?.lineNumber!==E.oldLineNumber)&&Y({side:"old",lineNumber:E.oldLineNumber}):pe&&E.newLineNumber&&(Q?.side!=="new"||Q?.lineNumber!==E.newLineNumber)&&Y({side:"new",lineNumber:E.newLineNumber}),A&&x&&(x.side==="old"&&E.oldLineNumber?N({side:"old",lineNumber:E.oldLineNumber}):x.side==="new"&&E.newLineNumber&&N({side:"new",lineNumber:E.newLineNumber}))},onMouseLeave:()=>Y(null),children:[h.jsxs("td",{id:re,className:`w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible ${fe?ge:""}`,children:[h.jsx("span",{className:"pr-5",children:E.oldLineNumber||""}),Q?.side==="old"&&Q?.lineNumber===E.oldLineNumber&&h.jsx(fo,{onMouseDown:de=>{de.stopPropagation(),E.oldLineNumber&&(v({side:"old",lineNumber:E.oldLineNumber}),N({side:"old",lineNumber:E.oldLineNumber}),D(!0))},onMouseUp:de=>{if(de.stopPropagation(),!E.oldLineNumber||!x){D(!1),v(null),N(null);return}const ye=T&&T.side==="old"?T.lineNumber:E.oldLineNumber;if(x.side!=="old"||x.lineNumber===ye)ce("old",E.oldLineNumber);else{const Ne=Math.min(x.lineNumber,ye),pe=Math.max(x.lineNumber,ye);ce("old",[Ne,pe])}D(!1),v(null),N(null)}})]}),h.jsx("td",{className:`w-1/2 p-0 align-top border-r border-github-border relative ${E.oldLine?.type==="delete"?"bg-diff-deletion-bg":E.oldLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${se("old",E)} ${fe?ge:""}`,children:E.oldLine&&h.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:E.wordLevelDiff?h.jsx(Sc,{segments:E.wordLevelDiff.oldSegments,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:E.oldLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:p,filename:_})})}),h.jsxs("td",{id:ie,className:`w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top relative overflow-visible ${ue?ge:""}`,children:[h.jsx("span",{className:"pr-5",children:E.newLineNumber||""}),Q?.side==="new"&&Q?.lineNumber===E.newLineNumber&&h.jsx(fo,{onMouseDown:de=>{de.stopPropagation(),E.newLineNumber&&(v({side:"new",lineNumber:E.newLineNumber}),N({side:"new",lineNumber:E.newLineNumber}),D(!0))},onMouseUp:de=>{if(de.stopPropagation(),!E.newLineNumber||!x){D(!1),v(null),N(null);return}const ye=T&&T.side==="new"?T.lineNumber:E.newLineNumber;if(x.side!=="new"||x.lineNumber===ye)ce("new",E.newLineNumber);else{const Ne=Math.min(x.lineNumber,ye),pe=Math.max(x.lineNumber,ye);ce("new",[Ne,pe])}D(!1),v(null),N(null)}})]}),h.jsx("td",{className:`w-1/2 p-0 align-top relative ${E.newLine?.type==="add"?"bg-diff-addition-bg":E.newLine?.type==="normal"?"bg-transparent":"bg-github-bg-secondary"} ${se("new",E)} ${ue?ge:""}`,children:E.newLine&&h.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:E.wordLevelDiff?h.jsx(Sc,{segments:E.wordLevelDiff.newSegments,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text"}):h.jsx(xc,{code:E.newLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word select-text [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit",syntaxTheme:p,filename:_})})})]}),$.length>0&&h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:$.map(de=>{const ye=de.side||"new";let Ne;return ye==="old"&&E.oldLineNumber?Ne="left":ye==="new"&&E.newLineNumber?Ne="right":Ne=P(E),h.jsx("div",{className:`flex ${Ne==="left"?"justify-start":Ne==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${Ne==="full"?"w-full":"w-1/2"} m-2 mx-4`,children:h.jsx(Dc,{comment:de,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d})})},de.id)})})}),z&&(z.side==="old"&&z.lineNumber===E.oldLineNumber||z.side==="new"&&z.lineNumber===E.newLineNumber||Array.isArray(z.lineNumber)&&(z.side==="new"&&z.lineNumber[1]===E.newLineNumber||z.side==="old"&&z.lineNumber[1]===E.oldLineNumber))&&h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:4,className:"p-0",children:h.jsx("div",{className:`flex ${z.side==="old"?"justify-start":z.side==="new"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:"w-1/2",children:h.jsx(bp,{onSubmit:oe,onCancel:ee})})})})})]},M)})})})})}function hx({chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,mode:p="inline",syntaxTheme:b,cursor:m=null,fileIndex:S=0,onLineClick:y,commentTrigger:C,onCommentTriggerHandled:_,filename:x}){const[v,T]=R.useState(null),[N,A]=R.useState(null),[D,z]=R.useState(!1),[L,Q]=R.useState(null),[Y,ce]=R.useState(null);R.useEffect(()=>{if(C?.lineIndex!==void 0){const E=a.lines[C.lineIndex];if(E){const M=E.newLineNumber||E.oldLineNumber,k=E.type==="delete"?"old":"new";M&&(Q({side:k,lineNumber:M}),_?.())}}},[C,a.lines,_]),R.useEffect(()=>{if(D){const E=()=>{z(!1),T(null),A(null)};return document.addEventListener("mouseup",E),()=>{document.removeEventListener("mouseup",E)}}},[D]);const ee=R.useCallback((E,M)=>{L?.side===E&&L?.lineNumber===M?Q(null):Q({side:E,lineNumber:M})},[L]),oe=R.useCallback(()=>{Q(null)},[]),le=R.useCallback(async E=>{L!==null&&(await o(L.lineNumber,E,void 0,L.side),Q(null))},[L,o]),P=(E,M)=>s.filter(k=>{const I=Array.isArray(k.line)?k.line[1]===E:k.line===E,$=!k.side||k.side===M;return I&&$}),se=E=>{if(p==="inline")return"full";switch(E.type){case"delete":return"left";case"add":return"right";default:return"full"}},F=(E,M)=>{if(!E)return"";if(D&&v&&N){const k=Math.min(v,N),I=Math.max(v,N);if(E>=k&&E<=I){let $="after:bg-blue-100 after:absolute after:inset-0 after:opacity-30 after:border-l-4 after:border-blue-500 after:pointer-events-none";return E===k&&($+=" after:border-t-2"),E===I&&($+=" after:border-b-2"),$}}if(L&&L.side===M){const k=Array.isArray(L.lineNumber)?L.lineNumber[0]:L.lineNumber,I=Array.isArray(L.lineNumber)?L.lineNumber[1]:L.lineNumber;if(E>=k&&E<=I)return"after:bg-diff-selected-bg after:absolute after:inset-0 after:border-l-5 after:border-l-diff-selected-border after:pointer-events-none"}return""},ae=R.useMemo(()=>{const E=new Map,M=a.lines;let k=0;for(;k<M.length;){const I=M[k];if(!I){k++;continue}if(I.type==="delete"){let $=k+1;for(;$<M.length&&M[$]?.type==="delete";)$++;const j=M.slice(k,$),U=k,X=[];for(;$<M.length&&M[$]?.type==="add";){const ie=M[$];ie&&X.push({line:ie,index:$}),$++}const re=Math.max(j.length,X.length);for(let ie=0;ie<re;ie++){const fe=j[ie],ue=X[ie];if(fe&&ue&&pp(fe.content,ue.line.content)){const ge=mp(fe.content,ue.line.content);E.set(U+ie,ge.oldSegments),E.set(ue.index,ge.newSegments)}}k=$}else k++}return E},[a.lines]);return p==="side-by-side"?h.jsx(gx,{chunk:a,chunkIndex:r,comments:s,onAddComment:o,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d,syntaxTheme:b,cursor:m,fileIndex:S,onLineClick:y,filename:x,commentTrigger:C,onCommentTriggerHandled:_}):h.jsx("div",{className:"bg-github-bg-primary",children:h.jsx("table",{className:"w-full border-collapse font-mono text-sm leading-5",children:h.jsx("tbody",{children:a.lines.map((E,M)=>{const k=E.newLineNumber||E.oldLineNumber||0,I=E.type==="delete"?"old":"new",$=L?Array.isArray(L.lineNumber)?L.lineNumber[1]:L.lineNumber:null,j=E.type==="delete"?E.oldLineNumber:E.newLineNumber,U=E.type==="delete"?"old":"new",X=j?P(j,U):[],re=`file-${S}-chunk-${r}-line-${M}`,ie=m&&m.chunkIndex===r&&m.lineIndex===M;return h.jsxs(Vn.Fragment,{children:[h.jsx(Cp,{line:E,index:M,lineId:re,isCurrentLine:ie||!1,hoveredLineIndex:Y,selectedLineStyle:F(E.newLineNumber||E.oldLineNumber,E.type==="delete"?"old":"new"),onMouseEnter:()=>{ce(M)},onMouseLeave:()=>ce(null),onMouseMove:()=>{if(D&&v){const fe=E.newLineNumber||E.oldLineNumber;fe&&A(fe)}},onCommentButtonMouseDown:fe=>{fe.stopPropagation();const ue=E.newLineNumber||E.oldLineNumber;ue&&(T(ue),A(ue),z(!0))},onCommentButtonMouseUp:fe=>{fe.stopPropagation();const ue=E.newLineNumber||E.oldLineNumber,ge=E.type==="delete"?"old":"new";if(!ue||!v){z(!1),T(null),A(null);return}const de=N||ue;if(v===de)ee(ge,ue);else{const ye=Math.min(v,de),Ne=Math.max(v,de);ee(ge,[ye,Ne])}z(!1),T(null),A(null)},syntaxTheme:b,filename:x,diffSegments:ae.get(M),onClick:()=>{const fe=E.type==="delete"?"left":"right";y?.(S,r,M,fe)}}),X.map(fe=>{const ue=se(E);return h.jsx("tr",{className:"bg-github-bg-secondary",children:h.jsx("td",{colSpan:3,className:"p-0 border-t border-github-border",children:h.jsx("div",{className:`flex ${ue==="left"?"justify-start":ue==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${ue==="full"?"w-full":"w-1/2"} m-2 mx-4`,children:h.jsx(Dc,{comment:fe,onGeneratePrompt:c,onRemoveComment:f,onUpdateComment:d})})})})},fe.id)}),L&&L.side===I&&$===k&&h.jsx("tr",{className:"bg-[var(--bg-secondary)]",children:h.jsx("td",{colSpan:3,className:"p-0",children:h.jsx("div",{className:`flex ${se(E)==="left"?"justify-start":se(E)==="right"?"justify-end":"justify-center"}`,children:h.jsx("div",{className:`${se(E)==="full"?"w-full":"w-1/2"}`,children:h.jsx(bp,{onSubmit:le,onCancel:oe})})})})})]},M)})})})})}function mx({file:a,mode:r="inline",baseCommitish:s,targetCommitish:o}){const c=a.status==="deleted",f=a.status==="added",d=a.status==="modified"||a.status==="renamed",p=s||"HEAD~1",b=o||"HEAD",[m,S]=R.useState({}),[y,C]=R.useState({}),_=async(N,A)=>{try{const D=N.naturalWidth,z=N.naturalHeight,Y=(await(await fetch(N.src)).blob()).size;A({width:D,height:z,size:Y})}catch(D){console.error("Failed to get image info:",D)}},x=N=>N?N<1024?`${N} B`:N<1024*1024?`${(N/1024).toFixed(1)} KB`:`${(N/(1024*1024)).toFixed(1)} MB`:"",v=N=>!N.width||!N.height?"":`W: ${N.width}px | H: ${N.height}px`,T={backgroundImage:`
|
|
15
15
|
linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%),
|
|
16
16
|
linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%)
|
|
17
17
|
`,backgroundSize:"20px 20px",backgroundPosition:"0 0, 10px 10px",backgroundColor:"white"};return c?h.jsx("div",{className:"bg-github-bg-primary p-4",children:h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-2",children:h.jsx("span",{className:"text-github-danger font-medium",children:"Deleted Image"})}),h.jsxs("div",{className:"inline-block border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),h.jsx("img",{src:`/api/blob/${a.oldPath||a.path}?ref=${p}`,alt:`Previous version of ${a.oldPath||a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,S),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(m.width||m.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(m),v(m)&&x(m.size)&&" | ",x(m.size)]})]})]})}):f?h.jsx("div",{className:"bg-github-bg-primary p-4",children:h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mb-2",children:h.jsx("span",{className:"text-github-accent font-medium",children:"Added Image"})}),h.jsxs("div",{className:"inline-block border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"New file:"}),h.jsx("img",{src:`/api/blob/${a.path}?ref=${b}`,alt:`New image ${a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,C),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(y.width||y.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(y),v(y)&&x(y.size)&&" | ",x(y.size)]})]})]})}):d?r==="side-by-side"?h.jsxs("div",{className:"bg-github-bg-primary p-4",children:[h.jsx("div",{className:"text-center mb-4",children:h.jsx("span",{className:"text-github-text-primary font-medium",children:"Modified Image"})}),h.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[h.jsx("div",{className:"text-center",children:h.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),h.jsx("img",{src:`/api/blob/${a.oldPath||a.path}?ref=${p}`,alt:`Previous version of ${a.oldPath||a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,S),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(m.width||m.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(m),v(m)&&x(m.size)&&" | ",x(m.size)]})]})}),h.jsx("div",{className:"text-center",children:h.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Current version:"}),h.jsx("img",{src:`/api/blob/${a.path}?ref=${b}`,alt:`Current version of ${a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,C),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(y.width||y.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(y),v(y)&&x(y.size)&&" | ",x(y.size)]})]})})]})]}):h.jsxs("div",{className:"bg-github-bg-primary p-4",children:[h.jsx("div",{className:"text-center mb-4",children:h.jsx("span",{className:"text-github-text-primary font-medium",children:"Modified Image"})}),h.jsxs("div",{className:"space-y-6",children:[h.jsx("div",{className:"text-center",children:h.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary inline-block",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Previous version:"}),h.jsx("img",{src:`/api/blob/${a.oldPath||a.path}?ref=${p}`,alt:`Previous version of ${a.oldPath||a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,S),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(m.width||m.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(m),v(m)&&x(m.size)&&" | ",x(m.size)]})]})}),h.jsx("div",{className:"text-center",children:h.jsxs("div",{className:"border border-github-border rounded-md p-4 bg-github-bg-secondary inline-block",children:[h.jsx("div",{className:"text-github-text-muted mb-2",style:{fontSize:"14px"},children:"Current version:"}),h.jsx("img",{src:`/api/blob/${a.path}?ref=${b}`,alt:`Current version of ${a.path}`,className:"max-w-full max-h-96 border border-github-border rounded mx-auto",style:T,onLoad:N=>_(N.currentTarget,C),onError:N=>{const A=N.target;A.style.display="none",A.nextElementSibling?.classList.remove("hidden")}}),h.jsx("div",{className:"hidden text-github-text-muted text-sm mt-2",children:"Image could not be loaded"}),(y.width||y.size)&&h.jsxs("div",{className:"text-github-text-muted mt-2",style:{fontSize:"14px"},children:[v(y),v(y)&&x(y.size)&&" | ",x(y.size)]})]})})]})]}):null}function px({file:a,comments:r,diffMode:s,reviewedFiles:o,onToggleReviewed:c,collapsedFiles:f,onToggleCollapsed:d,onToggleAllCollapsed:p,onAddComment:b,onGeneratePrompt:m,onRemoveComment:S,onUpdateComment:y,syntaxTheme:C,baseCommitish:_,targetCommitish:x,cursor:v=null,fileIndex:T=0,onLineClick:N,commentTrigger:A,onCommentTriggerHandled:D}){const z=f.has(a.path),[L,Q]=R.useState(!1),Y=ee=>{switch(ee){case"added":return h.jsx(sp,{size:16,className:"text-github-accent"});case"deleted":return h.jsx(up,{size:16,className:"text-github-danger"});case"renamed":return h.jsx(op,{size:16,className:"text-github-warning"});default:return h.jsx(ip,{size:16,className:"text-github-text-secondary"})}},ce=async(ee,oe,le,P,se)=>{try{await b(a.path,ee,oe,le,P,se)}catch(F){console.error("Failed to add comment:",F)}};return h.jsxs("div",{className:"bg-github-bg-primary",children:[h.jsxs("div",{className:"bg-github-bg-secondary border-t-2 border-t-github-accent border-b border-github-border px-5 py-4 flex items-center justify-between flex-wrap gap-3 sticky top-0 z-10",children:[h.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[h.jsx("button",{onClick:ee=>{ee.altKey?p(!z):d(a.path)},className:"text-github-text-muted hover:text-github-text-primary transition-colors cursor-pointer",title:z?"Expand file (Alt+Click to expand all)":"Collapse file (Alt+Click to collapse all)",children:z?h.jsx(ap,{size:16}):h.jsx(Co,{size:16})}),Y(a.status),h.jsx("h2",{className:"text-sm font-mono text-github-text-primary m-0 overflow-hidden text-ellipsis whitespace-nowrap",children:a.path}),h.jsx("button",{className:`bg-transparent border-none cursor-pointer px-1.5 py-1 rounded text-sm transition-all hover:bg-github-bg-tertiary ${L?"text-github-accent":"text-github-text-secondary hover:text-github-text-primary"}`,onClick:()=>{navigator.clipboard.writeText(a.path).then(()=>{console.log("File path copied to clipboard:",a.path),Q(!0),setTimeout(()=>Q(!1),2e3)}).catch(ee=>{console.error("Failed to copy file path:",ee)})},title:"Copy file path",children:L?h.jsx(Ur,{size:14}):h.jsx(rp,{size:14})}),a.oldPath&&a.oldPath!==a.path&&h.jsxs("span",{className:"text-xs text-github-text-muted italic",children:["(renamed from ",a.oldPath,")"]})]}),h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsxs("div",{className:"flex items-center gap-2 text-xs",children:[h.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-accent bg-green-100/10",children:["+",a.additions]}),h.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-danger bg-red-100/10",children:["-",a.deletions]})]}),h.jsxs("button",{onClick:()=>c(a.path),className:`flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all duration-200 ${o.has(a.path)?"bg-github-accent text-white":"dark:bg-slate-600 dark:text-white dark:border-slate-500 dark:hover:bg-slate-500 dark:hover:border-slate-400 bg-github-bg-secondary text-github-text-primary border border-github-border hover:bg-github-bg-tertiary hover:border-github-text-muted"}`,title:o.has(a.path)?"Mark as not reviewed":"Mark as reviewed",children:[o.has(a.path)?h.jsx(Ur,{size:14}):h.jsx(Mv,{size:14}),"Viewed"]})]})]}),!z&&h.jsx("div",{className:"overflow-y-auto",children:Gv(a.path)?h.jsx(mx,{file:a,mode:s,baseCommitish:_,targetCommitish:x}):a.chunks.map((ee,oe)=>h.jsxs("div",{id:`chunk-${a.path.replace(/[^a-zA-Z0-9]/g,"-")}-${oe}`,className:"border-b border-github-border",children:[h.jsx("div",{className:"bg-github-bg-tertiary px-3 py-2 border-b border-github-border",children:h.jsx("code",{className:"text-github-text-secondary text-xs font-mono",children:ee.header})}),h.jsx(hx,{chunk:ee,chunkIndex:oe,comments:r,onAddComment:(le,P,se,F)=>ce(le,P,se,ee.header,F),onGeneratePrompt:m,onRemoveComment:S,onUpdateComment:y,mode:s,syntaxTheme:C,cursor:v,fileIndex:T,onLineClick:N,commentTrigger:A?.chunkIndex===oe?A:null,onCommentTriggerHandled:D,filename:a.path})]},oe))})]})}function bx(a){const r={name:"",path:"",isDirectory:!0,children:[]};a.forEach(o=>{const c=o.path.split("/");let f=r;for(let d=0;d<c.length;d++){const p=c[d];if(!p)continue;const b=d===c.length-1,m=c.slice(0,d+1).join("/");f.children||(f.children=[]);let S=f.children.find(y=>y.name===p);S||(S={name:p,path:m,isDirectory:!b,children:b?void 0:[],file:b?o:void 0},f.children.push(S)),f=S}});const s=o=>{if(!o.isDirectory||!o.children)return o;if(o.children=o.children.map(s),o.children.length===1&&o.children[0]?.isDirectory&&o.children[0]?.children){const c=o.children[0];if(c)return o.name?{...o,name:`${o.name}/${c.name}`,path:c.path,children:c.children}:o}return o};return s(r)}function yx({files:a,onScrollToFile:r,comments:s,reviewedFiles:o,onToggleReviewed:c,selectedFileIndex:f}){const d=bx(a),p=L=>{if(!L.isDirectory||!L.children)return[];const Q=[];return L.path&&Q.push(L.path),L.children.forEach(Y=>{Q.push(...p(Y))}),Q},[b,m]=R.useState(()=>new Set(p(d))),[S,y]=R.useState(""),C=L=>s.filter(Q=>Q.file===L).length,_=L=>{if(!S.trim())return L;if(L.isDirectory&&L.children){const Q=L.children.map(Y=>_(Y)).filter(Y=>Y!==null);return Q.length>0?{...L,children:Q}:null}else if(L.file)return L.file.path.toLowerCase().includes(S.toLowerCase())?L:null;return null},x=_(d)||{...d,children:[]},v=L=>{switch(L){case"added":return h.jsx(sp,{size:16,className:"text-github-accent"});case"deleted":return h.jsx(up,{size:16,className:"text-github-danger"});case"renamed":return h.jsx(op,{size:16,className:"text-github-warning"});default:return h.jsx(ip,{size:16,className:"text-github-text-secondary"})}},T=L=>{m(Q=>{const Y=new Set(Q);return Y.has(L)?Y.delete(L):Y.add(L),Y})},N=p(d),A=b.size===N.length&&N.length>0,D=()=>{m(A?new Set:new Set(N))},z=(L,Q=0)=>{if(L.isDirectory&&L.children){const Y=b.has(L.path);return h.jsxs("div",{children:[L.name&&h.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer",style:{paddingLeft:`${Q*16+16}px`},onClick:()=>T(L.path),children:[Y?h.jsx(Co,{size:16}):h.jsx(ap,{size:16}),Y?h.jsx(hv,{size:16,className:"text-github-text-secondary"}):h.jsx(pv,{size:16,className:"text-github-text-secondary"}),h.jsx("span",{className:"text-sm text-github-text-primary font-medium flex-1 overflow-hidden text-ellipsis whitespace-nowrap",title:L.name,children:L.name})]}),(Y||!L.name)&&L.children.map(ce=>z(ce,Q+1))]},L.path)}else if(L.file){const Y=L.file,ce=C(Y.path),ee=o.has(Y.path),oe=a.findIndex(P=>P.path===Y.path),le=f!==null&&f===oe;return h.jsxs("div",{className:`flex items-center gap-2 px-4 py-2 hover:bg-github-bg-tertiary cursor-pointer transition-colors ${ee?"opacity-70":""} ${le?"bg-github-bg-tertiary":""}`,style:{paddingLeft:`${Q*16+16}px`},onClick:()=>r(Y.path),children:[h.jsx(dp,{checked:ee,onChange:()=>{c(Y.path)},title:ee?"Mark as not reviewed":"Mark as reviewed",className:"z-10"}),v(L.file.status),h.jsx("span",{className:`text-sm text-github-text-primary flex-1 overflow-hidden text-ellipsis whitespace-nowrap ${ee?"line-through text-github-text-muted":""}`,title:L.file.path,children:L.name}),ce>0&&h.jsxs("span",{className:"text-github-warning text-sm font-medium ml-auto flex items-center gap-1",children:[h.jsx(cp,{size:14}),ce]})]},Y.path)}return null};return h.jsxs("div",{className:"h-full flex flex-col",children:[h.jsxs("div",{className:"px-4 py-3 border-b border-github-border bg-github-bg-tertiary",children:[h.jsxs("div",{className:"flex items-center justify-between mb-3",children:[h.jsxs("h3",{className:"text-sm font-semibold text-github-text-primary m-0",children:["Files changed (",a.length,")"]}),h.jsx("button",{onClick:D,className:"p-1 hover:bg-github-bg-primary rounded transition-colors",title:A?"Collapse all":"Expand all",children:A?h.jsx(tv,{size:16,className:"text-github-text-secondary"}):h.jsx(lv,{size:16,className:"text-github-text-secondary"})})]}),h.jsxs("div",{className:"relative",children:[h.jsx(Ov,{size:16,className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-github-text-muted"}),h.jsx("input",{type:"text",placeholder:"Filter files...",value:S,onChange:L=>y(L.target.value),className:"w-full pl-9 pr-3 py-2 text-sm bg-github-bg-primary border border-github-border rounded-md focus:outline-none focus:border-github-accent text-github-text-primary placeholder-github-text-muted"})]})]}),h.jsx("div",{className:"flex-1 overflow-y-auto",children:x.children?.map(L=>z(L))})]})}function vx({style:a}){return h.jsx("svg",{width:"98",height:"96",viewBox:"0, 0, 98, 96",style:a,xmlns:"http://www.w3.org/2000/svg","aria-label":"GitHub",role:"img",children:h.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"currentColor"})})}function xx({isOpen:a,onClose:r}){const{enableScope:s,disableScope:o}=Ao();return Ye("escape",()=>r(),{enabled:a},[r,a]),R.useEffect(()=>(a?o("navigation"):s("navigation"),()=>{s("navigation")}),[a,s,o]),a?h.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[h.jsx("div",{className:"absolute inset-0 bg-black/50",onClick:r}),h.jsxs("div",{className:"relative bg-github-bg-primary border border-github-border rounded-lg shadow-lg max-w-4xl w-full mx-4 max-h-[80vh] overflow-y-auto",children:[h.jsxs("div",{className:"sticky top-0 bg-github-bg-primary border-b border-github-border px-6 py-4 flex items-center justify-between",children:[h.jsx("h2",{className:"text-lg font-semibold text-github-text-primary",children:"Keyboard Shortcuts"}),h.jsx("button",{onClick:r,className:"text-github-text-secondary hover:text-github-text-primary transition-colors","aria-label":"Close help modal",children:h.jsx(kc,{size:20})})]}),h.jsxs("div",{className:"px-6 py-4 grid grid-cols-1 lg:grid-cols-2 gap-6",children:[h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Line Navigation"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex gap-2",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"j"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"↓"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Next line"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex gap-2",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"k"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"↑"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Previous line"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"File Navigation"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"]"}),h.jsx("span",{className:"text-github-text-secondary",children:"Next file"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"["}),h.jsx("span",{className:"text-github-text-secondary",children:"Previous file"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"["})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Jump to first file"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"]"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Jump to last file"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Chunk Navigation"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"n"}),h.jsx("span",{className:"text-github-text-secondary",children:"Next change chunk (added/deleted lines)"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"p"}),h.jsx("span",{className:"text-github-text-secondary",children:"Previous change chunk (added/deleted lines)"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Comment Navigation"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"N"}),h.jsx("span",{className:"text-github-text-secondary",children:"Next comment"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"P"}),h.jsx("span",{className:"text-github-text-secondary",children:"Previous comment"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Side Navigation (Side-by-side mode)"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex gap-2",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"h"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"←"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Focus left side"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex gap-2",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"l"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"→"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Focus right side"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Comment Management"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"L"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"View all comments list"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"C"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Copy all comments prompt"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"D"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Delete all comments"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{className:"text-sm font-semibold text-github-text-primary mb-2",children:"Actions"}),h.jsxs("div",{className:"space-y-1",children:[h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"v"}),h.jsx("span",{className:"text-github-text-secondary",children:"Toggle viewed state of current file"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsxs("div",{className:"flex items-center gap-1",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"Shift"}),h.jsx("span",{className:"text-github-text-muted",children:"+"}),h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"R"})]}),h.jsx("span",{className:"text-github-text-secondary",children:"Refresh diff when changes detected"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"c"}),h.jsx("span",{className:"text-github-text-secondary",children:"Add comment at current line"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"."}),h.jsx("span",{className:"text-github-text-secondary",children:"Move cursor to center of viewport"})]}),h.jsxs("div",{className:"flex justify-between text-sm",children:[h.jsx("kbd",{className:"px-2 py-1 bg-github-bg-tertiary border border-github-border rounded text-github-text-primary font-mono",children:"?"}),h.jsx("span",{className:"text-github-text-secondary",children:"Show/hide this help"})]})]})]}),h.jsx("div",{className:"pt-4 border-t border-github-border lg:col-span-2",children:h.jsx("p",{className:"text-xs text-github-text-secondary",children:"Shortcuts are disabled when typing in input fields."})})]})]})]}):null}function Sx({style:a}){return h.jsxs("svg",{style:a,viewBox:"0 0 720 190",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"difit",role:"img",children:[h.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M440.487 5.90627C432.164 9.01695 427.318 16.2817 427.318 25.649C427.318 35.9474 433.206 43.6458 442.714 45.7819C451.336 47.7188 459.606 44.3893 464.84 36.8737C466.923 33.8843 467.35 32.4073 467.606 27.3105C467.773 23.9957 467.492 20.0154 466.983 18.4654C465.699 14.5629 460.869 9.13088 456.854 7.07513C452.57 4.88086 444.73 4.32102 440.487 5.90627ZM596.658 6.653C588.927 9.55794 584.572 15.4908 583.887 24.0465C583.17 33.0212 586.83 39.8868 594.382 43.7278C603.739 48.4877 615.574 44.5081 620.482 34.9515C625.35 25.4728 622.15 13.4916 613.37 8.32678C608.986 5.74808 601.154 4.96365 596.658 6.653ZM368.585 7.68006C367.464 8.80629 367.302 12.903 367.302 40.2286V71.4878L363.832 68.1329C353.432 58.0787 335.595 52.668 319.246 54.6082C310.542 55.641 299.81 59.1369 293.3 63.0607C278.56 71.9427 266.453 89.5576 263.139 106.945C261.765 114.155 261.602 129.431 262.825 136.365C265.723 152.796 274.795 168.36 286.716 177.355C298.275 186.077 310.237 190 325.274 190C340.687 190 353.943 185.273 362.869 176.594L367.302 172.284V178.215C367.302 186.902 366.946 186.724 384.303 186.709C392.243 186.702 399.29 186.347 399.964 185.919C401.04 185.236 401.189 174.47 401.189 97.1224C401.189 23.7236 401.003 8.87842 400.068 7.74809C398.433 5.77021 370.547 5.71037 368.585 7.68006ZM526.937 7.94153C519.783 10.0325 515.359 12.5834 510.029 17.6867C501.959 25.4129 498.766 34.4597 498.766 49.5975V58.8517H490.659C484.378 58.8517 482.263 59.1418 481.268 60.1394C480.214 61.1976 479.986 63.6558 479.986 73.91C479.986 82.5264 480.289 86.6977 480.966 87.3764C481.601 88.0141 484.903 88.36 490.356 88.36H498.766V136.692C498.766 183.638 498.811 185.048 500.345 185.873C502.433 186.994 529.394 186.994 531.482 185.873C533.016 185.048 533.061 183.638 533.061 136.692V88.36H549.334C563.038 88.36 565.809 88.1568 566.89 87.0723C568.782 85.1723 568.782 62.0394 566.89 60.1394C565.808 59.0541 563.029 58.8517 549.231 58.8517H532.856L533.216 51.9721C533.604 44.5499 534.721 41.9147 538.546 39.3958C540.377 38.1901 543.049 37.904 554.661 37.6737C562.626 37.5155 569.018 37.0343 569.602 36.5483C570.892 35.4761 571.046 10.3579 569.777 7.9776C568.978 6.47923 567.918 6.39562 550.384 6.45054C535.269 6.49808 530.93 6.77431 526.937 7.94153ZM654.931 26.4834C653.136 27.7662 653.094 28.1572 653.094 43.3245V58.8517H644.567C633.342 58.8517 633.497 58.6443 633.497 73.6059C633.497 88.5674 633.342 88.36 644.567 88.36H653.094V122.636C653.094 159.998 653.439 163.935 657.362 171.354C661.848 179.838 669.111 184.99 680.857 188.022C687.996 189.866 707.647 189.269 714.309 187.007C719.756 185.158 719.86 184.87 719.969 171.298C720.082 157.364 720.441 157.791 709.174 158.48C695.386 159.324 689.341 156.938 687.388 149.883C686.927 148.214 686.58 134.435 686.577 117.663L686.572 88.36H702.068H717.564L718.87 86.3592C719.946 84.7108 720.129 82.3461 719.91 72.9575C719.719 64.8279 719.321 61.1689 718.522 60.2041C717.553 59.0345 715.315 58.8517 701.987 58.8517H686.572L686.546 43.8926C686.526 31.8556 686.28 28.613 685.288 27.2941C684.156 25.7884 682.945 25.6351 670.412 25.4129C658.94 25.2088 656.476 25.3793 654.931 26.4834ZM431.459 60.1394C430.316 61.2877 430.178 68.0001 430.188 121.82C430.197 168.838 430.429 182.667 431.232 184.262L432.264 186.311L446.657 186.535C458.941 186.725 461.242 186.567 462.353 185.452C463.521 184.279 463.655 177.845 463.655 122.786C463.655 68.0985 463.515 61.2877 462.372 60.1394C460.469 58.2287 433.362 58.2287 431.459 60.1394ZM587.799 60.4369C587.238 61.4894 586.954 82.56 586.954 123.084C586.954 177.502 587.093 184.285 588.236 185.434C590.138 187.342 616.431 187.342 618.333 185.434C619.476 184.285 619.615 177.447 619.615 122.482C619.615 75.6149 619.38 60.5828 618.636 59.8353C617.947 59.1443 613.344 58.8517 603.15 58.8517C589.644 58.8517 588.586 58.9607 587.799 60.4369ZM347.956 87.3469C362.023 93.9543 369.138 107.306 367.775 124.535C366.623 139.097 359.678 149.866 347.83 155.463C337.073 160.544 325.541 160.523 315.049 155.403C293.381 144.83 288.765 112.315 306.417 94.5961C313.92 87.0641 322.021 84.1412 334.301 84.5354C341.49 84.7666 343.224 85.124 347.956 87.3469Z",fill:"currentColor"}),h.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42299 0.744751C4.61699 2.15275 2.03999 5.66375 0.956994 12.2768C-0.369006 20.3728 -0.294006 170.791 1.03899 176.572C2.29699 182.031 4.81699 185.308 9.65399 187.774C13.265 189.615 16.865 189.684 108.63 189.684C163.129 189.684 204.095 189.304 204.41 188.795C206 188.5 206 188.795 207.5 188C211.167 187.079 216.779 180.138 218.005 175.584C218.682 173.068 218.939 143.952 218.756 90.4718C218.487 11.7478 218.417 9.10275 216.535 6.62675C215.466 5.22075 213.441 3.19575 212.035 2.12675C209.546 0.23575 206.839 0.17975 110.978 0.0167504C55.373 -0.0782496 11.148 0.239751 9.42299 0.744751ZM203.778 14.8838C205.558 16.6638 205.509 172.577 203.728 175.005C202.577 176.574 198.865 176.688 156.978 176.446L111.478 176.184L111.226 138.684L110.974 101.184H84.059C69.255 101.184 56.808 101.52 56.397 101.931C55.986 102.343 60.674 107.82 66.814 114.104C72.954 120.388 77.978 126.202 77.978 127.026C77.978 129.577 74.769 134.267 71.896 135.916C69.609 137.229 68.75 137.278 66.704 136.217C63.533 134.572 28.705 99.1448 27.757 96.5998C27.36 95.5348 27.491 93.4308 28.049 91.9238C28.955 89.4768 68.498 49.6838 70.024 49.6838C70.366 49.6838 72.356 51.1627 74.447 52.9697C77.589 55.6867 78.118 56.6658 77.498 58.6198C77.086 59.9198 72.075 65.8308 66.363 71.7568C60.651 77.6818 55.978 83.0148 55.978 83.6068C55.978 84.3488 64.068 84.6838 81.952 84.6838H107.927H110.666C111.144 82.5 110.978 73.4537 110.978 46.2337V13.6838H156.778C191.067 13.6838 202.88 13.9858 203.778 14.8838ZM148.803 52.7217C146.51 54.0597 144.845 59.5997 145.74 62.9107C146.146 64.4107 150.657 69.9308 155.764 75.1788C161.411 80.9788 164.547 84.8988 163.764 85.1788C163.057 85.4318 151.549 85.7608 138.19 85.9108C117.896 86.1388 113.747 86.4308 112.956 87.6838C112.435 88.5088 112.002 91.7228 111.993 94.8268C111.982 99.0598 112.373 100.622 113.56 101.077C114.43 101.411 126.13 101.684 139.56 101.684C156.121 101.684 163.978 102.026 163.978 102.746C163.978 103.33 160.187 107.607 155.554 112.251C146.244 121.582 144.276 125.371 146.069 130.514C147.321 134.107 149.576 135.684 153.463 135.684C155.522 135.684 159.843 131.902 173.778 117.904C191.699 99.9008 194.978 96.0678 194.978 93.1208C194.978 91.1338 157.422 53.8238 154.163 52.5728C151.322 51.4818 150.908 51.4937 148.803 52.7217Z",fill:"currentColor"})]})}function Ex({shouldReload:a,isReloading:r,onReload:s,changeType:o,className:c=""}){if(!a)return null;const f=()=>{switch(o){case"commit":return"New commits available";case"staging":return"Staging changes detected";case"file":return"File changes detected";default:return"Changes detected"}};return h.jsxs("button",{onClick:s,disabled:r,className:`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-600:oklch(68.1% .162 75.834);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-github-bg-primary:#0d1117;--color-github-bg-secondary:#161b22;--color-github-bg-tertiary:#21262d;--color-github-border:#30363d;--color-github-text-primary:#f0f6fc;--color-github-text-secondary:#8b949e;--color-github-text-muted:#6e7681;--color-github-accent:#238636;--color-github-danger:#da3633;--color-github-warning:#d29922;--color-diff-addition-bg:#0d4429;--color-diff-addition-border:#1b7c3d;--color-diff-deletion-bg:#67060c;--color-diff-deletion-border:#da3633;--color-diff-neutral-bg:#21262d;--color-diff-selected-bg:#ae7c1426;--color-diff-selected-border:#ae7c1466;--color-comment-bg:#1c2128;--color-comment-border:#373e47;--color-comment-text:#e6edf3}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.-right-2{right:calc(var(--spacing)*-2)}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.m-2{margin:calc(var(--spacing)*2)}.mx-3{margin-inline:calc(var(--spacing)*3)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-7{height:calc(var(--spacing)*7)}.h-full{height:100%}.h-screen{height:100vh}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[400px\]{max-height:400px}.max-h-\[calc\(80vh-120px\)\]{max-height:calc(80vh - 120px)}.min-h-\[16px\]{min-height:16px}.min-h-\[20px\]{min-height:20px}.min-h-\[60px\]{min-height:60px}.w-1\/2{width:50%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-\[50px\]{width:50px}.w-\[60px\]{width:60px}.w-\[360px\]{width:360px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[150px\]{max-width:150px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-none{--tw-border-style:none;border-style:none}.border-github-accent{border-color:var(--color-github-accent)}.border-github-border{border-color:var(--color-github-border)}.border-github-text-muted{border-color:var(--color-github-text-muted)}.border-github-text-primary{border-color:var(--color-github-text-primary)}.border-yellow-600\/50{border-color:#cd890080}@supports (color:color-mix(in lab,red,red)){.border-yellow-600\/50{border-color:color-mix(in oklab,var(--color-yellow-600)50%,transparent)}}.border-t-github-accent{border-top-color:var(--color-github-accent)}.border-l-diff-selected-border{border-left-color:var(--color-diff-selected-border)}.border-l-yellow-400{border-left-color:var(--color-yellow-400)}.bg-\[var\(--bg-secondary\)\]{background-color:var(--bg-secondary)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-diff-addition-bg{background-color:var(--color-diff-addition-bg)}.bg-diff-deletion-bg{background-color:var(--color-diff-deletion-bg)}.bg-diff-selected-bg{background-color:var(--color-diff-selected-bg)}.bg-github-accent{background-color:var(--color-github-accent)}.bg-github-bg-primary{background-color:var(--color-github-bg-primary)}.bg-github-bg-secondary{background-color:var(--color-github-bg-secondary)}.bg-github-bg-tertiary{background-color:var(--color-github-bg-tertiary)}.bg-github-border{background-color:var(--color-github-border)}.bg-github-text-primary{background-color:var(--color-github-text-primary)}.bg-green-100\/10{background-color:#dcfce71a}@supports (color:color-mix(in lab,red,red)){.bg-green-100\/10{background-color:color-mix(in oklab,var(--color-green-100)10%,transparent)}}.bg-red-100\/10{background-color:#ffe2e21a}@supports (color:color-mix(in lab,red,red)){.bg-red-100\/10{background-color:color-mix(in oklab,var(--color-red-100)10%,transparent)}}.bg-transparent{background-color:#0000}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-px{padding-bottom:1px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-github-accent{color:var(--color-github-accent)}.text-github-bg-primary{color:var(--color-github-bg-primary)}.text-github-danger{color:var(--color-github-danger)}.text-github-text-muted{color:var(--color-github-text-muted)}.text-github-text-primary{color:var(--color-github-text-primary)}.text-github-text-secondary{color:var(--color-github-text-secondary)}.text-github-warning{color:var(--color-github-warning)}.text-green-600{color:var(--color-green-600)}.text-white{color:var(--color-white)}.lowercase{text-transform:lowercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.placeholder-github-text-muted::-moz-placeholder{color:var(--color-github-text-muted)}.placeholder-github-text-muted::placeholder{color:var(--color-github-text-muted)}.accent-github-accent{accent-color:var(--color-github-accent)}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-blue-500{--tw-ring-color:var(--color-blue-500)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.\!transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\!duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.\!ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}@media(hover:hover){.group-hover\:text-github-text-primary:is(:where(.group):hover *){color:var(--color-github-text-primary)}}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing)*0)}.after\:border-t-2:after{content:var(--tw-content);border-top-style:var(--tw-border-style);border-top-width:2px}.after\:border-b-2:after{content:var(--tw-content);border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.after\:border-l-4:after{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:4px}.after\:border-l-5:after{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:5px}.after\:border-blue-500:after{content:var(--tw-content);border-color:var(--color-blue-500)}.after\:border-l-diff-selected-border:after{content:var(--tw-content);border-left-color:var(--color-diff-selected-border)}.after\:bg-blue-100:after{content:var(--tw-content);background-color:var(--color-blue-100)}.after\:bg-diff-selected-bg:after{content:var(--tw-content);background-color:var(--color-diff-selected-bg)}.after\:opacity-30:after{content:var(--tw-content);opacity:.3}@media(hover:hover){.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:border-github-accent\/50:hover{border-color:#23863680}@supports (color:color-mix(in lab,red,red)){.hover\:border-github-accent\/50:hover{border-color:color-mix(in oklab,var(--color-github-accent)50%,transparent)}}.hover\:border-github-text-muted:hover{border-color:var(--color-github-text-muted)}.hover\:border-github-text-secondary:hover{border-color:var(--color-github-text-secondary)}.hover\:border-green-600:hover{border-color:var(--color-green-600)}.hover\:bg-diff-selected-bg:hover{background-color:var(--color-diff-selected-bg)}.hover\:bg-github-bg-primary:hover{background-color:var(--color-github-bg-primary)}.hover\:bg-github-bg-tertiary:hover{background-color:var(--color-github-bg-tertiary)}.hover\:bg-github-text-muted:hover{background-color:var(--color-github-text-muted)}.hover\:bg-green-500\/10:hover{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/10:hover{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:text-github-text-primary:hover{color:var(--color-github-text-primary)}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:min-h-\[80px\]:focus{min-height:80px}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-github-accent:focus{border-color:var(--color-github-accent)}.focus\:bg-diff-selected-bg:focus{background-color:var(--color-diff-selected-bg)}.focus\:bg-github-bg-tertiary:focus{background-color:var(--color-github-bg-tertiary)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-600\/30:focus{--tw-ring-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.focus\:ring-blue-600\/30:focus{--tw-ring-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:64rem){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\:border-slate-500{border-color:var(--color-slate-500)}.dark\:bg-slate-600{background-color:var(--color-slate-600)}.dark\:text-white{color:var(--color-white)}@media(hover:hover){.dark\:hover\:border-slate-400:hover{border-color:var(--color-slate-400)}.dark\:hover\:bg-slate-500:hover{background-color:var(--color-slate-500)}}}.\[\&_code\]\:\!bg-transparent code{background-color:#0000!important}.\[\&_code\]\:text-inherit code{color:inherit}.\[\&_pre\]\:m-0 pre{margin:calc(var(--spacing)*0)}.\[\&_pre\]\:\!bg-transparent pre{background-color:#0000!important}.\[\&_pre\]\:p-0 pre{padding:calc(var(--spacing)*0)}.\[\&_pre\]\:text-inherit pre{color:inherit}}:root{--app-font-size:14px;--app-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif}html,body{background-color:var(--color-github-bg-primary);color:var(--color-github-text-primary);font-family:var(--app-font-family);line-height:1.5;font-size:var(--app-font-size)}:root{interpolate-size:allow-keywords}button{cursor:pointer}@keyframes sparkle-rise{0%{opacity:0;transform:translateY(20px)scale(.5)}20%{opacity:1;transform:translateY(10px)scale(1)}80%{opacity:1;transform:translateY(-30px)scale(1)}to{opacity:0;transform:translateY(-40px)scale(.8)}}.animate-sparkle-rise{animation:.8s ease-out both sparkle-rise}html,body,.bg-github-bg-primary,.bg-github-bg-secondary,.bg-github-bg-tertiary,[class*=bg-github],[class*=text-github],[class*=border-github],[class*=bg-diff],[class*=border-diff]{transition:background-color .3s,color .3s,border-color .3s}tr.keyboard-cursor td{position:relative}tr.keyboard-cursor td:before{content:"";pointer-events:none;z-index:1;background-color:#fffd5433;position:absolute;inset:0}tr.keyboard-cursor td:first-child:before{box-shadow:inset 1px 0 #fffd5466,inset 0 1px #fffd5466,inset 0 -1px #fffd5466}tr.keyboard-cursor td:last-child:before{box-shadow:inset -1px 0 #fffd5466,inset 0 1px #fffd5466,inset 0 -1px #fffd5466}tr.keyboard-cursor td:not(:first-child):not(:last-child):before{box-shadow:inset 0 1px #fffd5466,inset 0 -1px #fffd5466}td.keyboard-cursor{position:relative}td.keyboard-cursor:before{content:"";pointer-events:none;z-index:1;background-color:#fffd5433;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #fffd5466}.word-token{cursor:pointer;transition:background-color .15s;position:relative}.word-highlight{background-color:var(--word-highlight-color,#fffd54);border-radius:2px}[data-theme=dark]{--word-highlight-color:#fffd544d}[data-theme=light]{--word-highlight-color:#fffd54}.word-diff-added{background-color:var(--word-diff-added-bg);border-radius:2px;padding:0 1px}.word-diff-removed{background-color:var(--word-diff-removed-bg);border-radius:2px;padding:0 1px}:root,[data-theme=dark]{--word-diff-added-bg:#3fb95066;--word-diff-removed-bg:#f8514966}[data-theme=light]{--word-diff-added-bg:#3fb95080;--word-diff-removed-bg:#f8514980}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
|
|
1
|
+
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-600:oklch(68.1% .162 75.834);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-github-bg-primary:#0d1117;--color-github-bg-secondary:#161b22;--color-github-bg-tertiary:#21262d;--color-github-border:#30363d;--color-github-text-primary:#f0f6fc;--color-github-text-secondary:#8b949e;--color-github-text-muted:#6e7681;--color-github-accent:#238636;--color-github-danger:#da3633;--color-github-warning:#d29922;--color-diff-addition-bg:#0d4429;--color-diff-addition-border:#1b7c3d;--color-diff-deletion-bg:#67060c;--color-diff-deletion-border:#da3633;--color-diff-neutral-bg:#21262d;--color-diff-selected-bg:#ae7c1426;--color-diff-selected-border:#ae7c1466;--color-comment-bg:#1c2128;--color-comment-border:#373e47;--color-comment-text:#e6edf3}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.-right-2{right:calc(var(--spacing)*-2)}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing)*0)}.m-2{margin:calc(var(--spacing)*2)}.mx-3{margin-inline:calc(var(--spacing)*3)}.mx-4{margin-inline:calc(var(--spacing)*4)}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-2{height:calc(var(--spacing)*2)}.h-4{height:calc(var(--spacing)*4)}.h-7{height:calc(var(--spacing)*7)}.h-full{height:100%}.h-screen{height:100vh}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[400px\]{max-height:400px}.max-h-\[calc\(80vh-120px\)\]{max-height:calc(80vh - 120px)}.min-h-\[16px\]{min-height:16px}.min-h-\[20px\]{min-height:20px}.min-h-\[60px\]{min-height:60px}.w-1\/2{width:50%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-\[50px\]{width:50px}.w-\[60px\]{width:60px}.w-\[360px\]{width:360px}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[150px\]{max-width:150px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-col-resize{cursor:col-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-none{--tw-border-style:none;border-style:none}.border-github-accent{border-color:var(--color-github-accent)}.border-github-border{border-color:var(--color-github-border)}.border-github-text-muted{border-color:var(--color-github-text-muted)}.border-github-text-primary{border-color:var(--color-github-text-primary)}.border-yellow-600\/50{border-color:#cd890080}@supports (color:color-mix(in lab,red,red)){.border-yellow-600\/50{border-color:color-mix(in oklab,var(--color-yellow-600)50%,transparent)}}.border-t-github-accent{border-top-color:var(--color-github-accent)}.border-l-diff-selected-border{border-left-color:var(--color-diff-selected-border)}.border-l-yellow-400{border-left-color:var(--color-yellow-400)}.bg-\[var\(--bg-secondary\)\]{background-color:var(--bg-secondary)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-diff-addition-bg{background-color:var(--color-diff-addition-bg)}.bg-diff-deletion-bg{background-color:var(--color-diff-deletion-bg)}.bg-diff-selected-bg{background-color:var(--color-diff-selected-bg)}.bg-github-accent{background-color:var(--color-github-accent)}.bg-github-bg-primary{background-color:var(--color-github-bg-primary)}.bg-github-bg-secondary{background-color:var(--color-github-bg-secondary)}.bg-github-bg-tertiary{background-color:var(--color-github-bg-tertiary)}.bg-github-border{background-color:var(--color-github-border)}.bg-github-text-primary{background-color:var(--color-github-text-primary)}.bg-green-100\/10{background-color:#dcfce71a}@supports (color:color-mix(in lab,red,red)){.bg-green-100\/10{background-color:color-mix(in oklab,var(--color-green-100)10%,transparent)}}.bg-red-100\/10{background-color:#ffe2e21a}@supports (color:color-mix(in lab,red,red)){.bg-red-100\/10{background-color:color-mix(in oklab,var(--color-red-100)10%,transparent)}}.bg-transparent{background-color:#0000}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-3{padding-right:calc(var(--spacing)*3)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-px{padding-bottom:1px}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-9{padding-left:calc(var(--spacing)*9)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-github-accent{color:var(--color-github-accent)}.text-github-bg-primary{color:var(--color-github-bg-primary)}.text-github-danger{color:var(--color-github-danger)}.text-github-text-muted{color:var(--color-github-text-muted)}.text-github-text-primary{color:var(--color-github-text-primary)}.text-github-text-secondary{color:var(--color-github-text-secondary)}.text-github-warning{color:var(--color-github-warning)}.text-green-600{color:var(--color-green-600)}.text-white{color:var(--color-white)}.lowercase{text-transform:lowercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.placeholder-github-text-muted::-moz-placeholder{color:var(--color-github-text-muted)}.placeholder-github-text-muted::placeholder{color:var(--color-github-text-muted)}.accent-github-accent{accent-color:var(--color-github-accent)}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-blue-500{--tw-ring-color:var(--color-blue-500)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.\!transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.\!duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.\!ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}@media(hover:hover){.group-hover\:text-github-text-primary:is(:where(.group):hover *){color:var(--color-github-text-primary)}}.after\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing)*0)}.after\:border-t-2:after{content:var(--tw-content);border-top-style:var(--tw-border-style);border-top-width:2px}.after\:border-b-2:after{content:var(--tw-content);border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.after\:border-l-4:after{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:4px}.after\:border-l-5:after{content:var(--tw-content);border-left-style:var(--tw-border-style);border-left-width:5px}.after\:border-blue-500:after{content:var(--tw-content);border-color:var(--color-blue-500)}.after\:border-l-diff-selected-border:after{content:var(--tw-content);border-left-color:var(--color-diff-selected-border)}.after\:bg-blue-100:after{content:var(--tw-content);background-color:var(--color-blue-100)}.after\:bg-diff-selected-bg:after{content:var(--tw-content);background-color:var(--color-diff-selected-bg)}.after\:opacity-30:after{content:var(--tw-content);opacity:.3}@media(hover:hover){.hover\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.hover\:border-github-accent\/50:hover{border-color:#23863680}@supports (color:color-mix(in lab,red,red)){.hover\:border-github-accent\/50:hover{border-color:color-mix(in oklab,var(--color-github-accent)50%,transparent)}}.hover\:border-github-text-muted:hover{border-color:var(--color-github-text-muted)}.hover\:border-github-text-secondary:hover{border-color:var(--color-github-text-secondary)}.hover\:border-green-600:hover{border-color:var(--color-green-600)}.hover\:bg-diff-selected-bg:hover{background-color:var(--color-diff-selected-bg)}.hover\:bg-github-bg-primary:hover{background-color:var(--color-github-bg-primary)}.hover\:bg-github-bg-tertiary:hover{background-color:var(--color-github-bg-tertiary)}.hover\:bg-github-text-muted:hover{background-color:var(--color-github-text-muted)}.hover\:bg-green-500\/10:hover{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/10:hover{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.hover\:bg-green-600:hover{background-color:var(--color-green-600)}.hover\:text-github-text-primary:hover{color:var(--color-github-text-primary)}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:min-h-\[80px\]:focus{min-height:80px}.focus\:border-blue-600:focus{border-color:var(--color-blue-600)}.focus\:border-github-accent:focus{border-color:var(--color-github-accent)}.focus\:bg-diff-selected-bg:focus{background-color:var(--color-diff-selected-bg)}.focus\:bg-github-bg-tertiary:focus{background-color:var(--color-github-bg-tertiary)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-600\/30:focus{--tw-ring-color:#155dfc4d}@supports (color:color-mix(in lab,red,red)){.focus\:ring-blue-600\/30:focus{--tw-ring-color:color-mix(in oklab,var(--color-blue-600)30%,transparent)}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:64rem){.lg\:col-span-2{grid-column:span 2/span 2}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\:border-slate-500{border-color:var(--color-slate-500)}.dark\:bg-slate-600{background-color:var(--color-slate-600)}.dark\:text-white{color:var(--color-white)}@media(hover:hover){.dark\:hover\:border-slate-400:hover{border-color:var(--color-slate-400)}.dark\:hover\:bg-slate-500:hover{background-color:var(--color-slate-500)}}}.\[\&_code\]\:\!bg-transparent code{background-color:#0000!important}.\[\&_code\]\:text-inherit code{color:inherit}.\[\&_pre\]\:m-0 pre{margin:calc(var(--spacing)*0)}.\[\&_pre\]\:\!bg-transparent pre{background-color:#0000!important}.\[\&_pre\]\:p-0 pre{padding:calc(var(--spacing)*0)}.\[\&_pre\]\:text-inherit pre{color:inherit}}:root{--app-font-size:14px;--app-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif}html,body{background-color:var(--color-github-bg-primary);color:var(--color-github-text-primary);font-family:var(--app-font-family);line-height:1.5;font-size:var(--app-font-size)}:root{interpolate-size:allow-keywords}button{cursor:pointer}@keyframes sparkle-rise{0%{opacity:0;transform:translateY(20px)scale(.5)}20%{opacity:1;transform:translateY(10px)scale(1)}80%{opacity:1;transform:translateY(-30px)scale(1)}to{opacity:0;transform:translateY(-40px)scale(.8)}}.animate-sparkle-rise{animation:.8s ease-out both sparkle-rise}html,body,.bg-github-bg-primary,.bg-github-bg-secondary,.bg-github-bg-tertiary,[class*=bg-github],[class*=text-github],[class*=border-github],[class*=bg-diff],[class*=border-diff]{transition:background-color .3s,color .3s,border-color .3s}tr.keyboard-cursor td{position:relative}tr.keyboard-cursor td:before{content:"";pointer-events:none;z-index:1;background-color:#fffd5433;position:absolute;inset:0}tr.keyboard-cursor td:first-child:before{box-shadow:inset 1px 0 #fffd5466,inset 0 1px #fffd5466,inset 0 -1px #fffd5466}tr.keyboard-cursor td:last-child:before{box-shadow:inset -1px 0 #fffd5466,inset 0 1px #fffd5466,inset 0 -1px #fffd5466}tr.keyboard-cursor td:not(:first-child):not(:last-child):before{box-shadow:inset 0 1px #fffd5466,inset 0 -1px #fffd5466}td.keyboard-cursor{position:relative}td.keyboard-cursor:before{content:"";pointer-events:none;z-index:1;background-color:#fffd5433;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #fffd5466}.word-token{cursor:pointer;transition:background-color .15s;position:relative}.word-highlight{background-color:var(--word-highlight-color,#fffd54);border-radius:2px}[data-theme=dark]{color-scheme:dark}[data-theme=light]{color-scheme:light}[data-theme=dark]{--word-highlight-color:#fffd544d}[data-theme=light]{--word-highlight-color:#fffd54}.word-diff-added{background-color:var(--word-diff-added-bg);border-radius:2px;padding:0 1px}.word-diff-removed{background-color:var(--word-diff-removed-bg);border-radius:2px;padding:0 1px}:root,[data-theme=dark]{--word-diff-added-bg:#3fb95066;--word-diff-removed-bg:#f8514966}[data-theme=light]{--word-diff-added-bg:#3fb95080;--word-diff-removed-bg:#f8514980}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as U}from"./index-
|
|
1
|
+
import{g as U}from"./index-B50dNO_K.js";function W(r,t){for(var e=0;e<t.length;e++){const a=t[e];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in r)){const u=Object.getOwnPropertyDescriptor(a,s);u&&Object.defineProperty(r,s,u.get?u:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var I={},O;function Z(){return O||(O=1,(function(r){function t(n,l){return n.replace(/<<(\d+)>>/g,function(f,M){return"(?:"+l[+M]+")"})}function e(n,l,f){return RegExp(t(n,l),"")}function a(n,l){for(var f=0;f<l;f++)n=n.replace(/<<self>>/g,function(){return"(?:"+n+")"});return n.replace(/<<self>>/g,"[^\\s\\S]")}var s={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function u(n){return"\\b(?:"+n.trim().replace(/ /g,"|")+")\\b"}var v=u(s.typeDeclaration),d=RegExp(u(s.type+" "+s.typeDeclaration+" "+s.contextual+" "+s.other)),T=u(s.typeDeclaration+" "+s.contextual+" "+s.other),z=u(s.type+" "+s.typeDeclaration+" "+s.other),g=a(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=a(/\((?:[^()]|<<self>>)*\)/.source,2),i=/@?\b[A-Za-z_]\w*\b/.source,b=t(/<<0>>(?:\s*<<1>>)?/.source,[i,g]),c=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[T,b]),y=/\[\s*(?:,\s*)*\]/.source,A=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[c,y]),K=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,h,y]),q=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[K]),p=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[q,c,y]),o={keyword:d,punctuation:/[<>()?,.:[\]]/},k=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,w=/"(?:\\.|[^\\"\r\n])*"/.source,F=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;r.languages.csharp=r.languages.extend("clike",{string:[{pattern:e(/(^|[^$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0},{pattern:e(/(^|[^@$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:e(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[c]),lookbehind:!0,inside:o},{pattern:e(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[i,p]),lookbehind:!0,inside:o},{pattern:e(/(\busing\s+)<<0>>(?=\s*=)/.source,[i]),lookbehind:!0},{pattern:e(/(\b<<0>>\s+)<<1>>/.source,[v,b]),lookbehind:!0,inside:o},{pattern:e(/(\bcatch\s*\(\s*)<<0>>/.source,[c]),lookbehind:!0,inside:o},{pattern:e(/(\bwhere\s+)<<0>>/.source,[i]),lookbehind:!0},{pattern:e(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[A]),lookbehind:!0,inside:o},{pattern:e(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[p,z,i]),inside:o}],keyword:d,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),r.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),r.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:e(/([(,]\s*)<<0>>(?=\s*:)/.source,[i]),lookbehind:!0,alias:"punctuation"}}),r.languages.insertBefore("csharp","class-name",{namespace:{pattern:e(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[i]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:e(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:o},"return-type":{pattern:e(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[p,c]),inside:o,alias:"class-name"},"constructor-invocation":{pattern:e(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[p]),lookbehind:!0,inside:o,alias:"class-name"},"generic-method":{pattern:e(/<<0>>\s*<<1>>(?=\s*\()/.source,[i,g]),inside:{function:e(/^<<0>>/.source,[i]),generic:{pattern:RegExp(g),alias:"class-name",inside:o}}},"type-list":{pattern:e(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[v,b,i,p,d.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:e(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,h]),lookbehind:!0,greedy:!0,inside:r.languages.csharp},keyword:d,"class-name":{pattern:RegExp(p),greedy:!0,inside:o},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var x=w+"|"+k,E=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),S=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[c,S]);r.languages.insertBefore("csharp","class-name",{attribute:{pattern:e(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:e(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:e(/\(<<0>>*\)/.source,[S]),inside:r.languages.csharp},"class-name":{pattern:RegExp(c),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var m=/:[^}\r\n]+/.source,C=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[E]),2),$=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[C,m]),R=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,m]);function j(n,l){return{interpolation:{pattern:e(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[n]),lookbehind:!0,inside:{"format-string":{pattern:e(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[l,m]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:r.languages.csharp}}},string:/[\s\S]+/}}r.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:e(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[$]),lookbehind:!0,greedy:!0,inside:j($,C)},{pattern:e(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:j(D,R)}],char:{pattern:RegExp(k),greedy:!0}}),r.languages.dotnet=r.languages.cs=r.languages.csharp})(Prism)),I}var B=Z();const G=U(B),J=W({__proto__:null,default:G},[B]);export{J as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as u}from"./index-
|
|
1
|
+
import{g as u}from"./index-B50dNO_K.js";function d(t,o){for(var a=0;a<o.length;a++){const e=o[a];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s={},n;function p(){return n||(n=1,Prism.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}),s}var l=p();const b=u(l),f=d({__proto__:null,default:b},[l]);export{f as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as u}from"./index-
|
|
1
|
+
import{g as u}from"./index-B50dNO_K.js";function p(t,a){for(var r=0;r<a.length;r++){const e=a[r];if(typeof e!="string"&&!Array.isArray(e)){for(const s in e)if(s!=="default"&&!(s in t)){const n=Object.getOwnPropertyDescriptor(e,s);n&&Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:()=>e[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={},i;function d(){return i||(i=1,(function(t){var a=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,e={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[e,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:e.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:e.inside}],keyword:a,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":e,keyword:a,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:e.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:e.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return a.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism)),o}var c=d();const l=u(c),w=p({__proto__:null,default:l},[c]);export{w as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as c}from"./index-
|
|
1
|
+
import{g as c}from"./index-B50dNO_K.js";function f(e,r){for(var n=0;n<r.length;n++){const t=r[n];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in e)){const i=Object.getOwnPropertyDescriptor(t,a);i&&Object.defineProperty(e,a,i.get?i:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var u={},d;function g(){return d||(d=1,(function(e){var r=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],t=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:r,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:t,operator:a,punctuation:i};var l={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:l}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:l}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:r,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:t,operator:a,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(s){if(/<\?/.test(s.code)){var p=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(s,"php",p)}}),e.hooks.add("after-tokenize",function(s){e.languages["markup-templating"].tokenizePlaceholders(s,"php")})})(Prism)),u}var b=g();const y=c(b),m=f({__proto__:null,default:y},[b]);export{m as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l}from"./index-
|
|
1
|
+
import{g as l}from"./index-B50dNO_K.js";function d(e,r){for(var n=0;n<r.length;n++){const t=r[n];if(typeof t!="string"&&!Array.isArray(t)){for(const i in t)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(t,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>t[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var a={},o;function g(){return o||(o=1,(function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",t=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+t),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+t+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby})(Prism)),a}var u=g();const p=l(u),b=d({__proto__:null,default:p},[u]);export{b as p};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as u}from"./index-
|
|
1
|
+
import{g as u}from"./index-B50dNO_K.js";function d(t,n){for(var i=0;i<n.length;i++){const e=n[i];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var o={},a;function c(){return a||(a=1,Prism.languages.solidity=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),Prism.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),Prism.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),Prism.languages.sol=Prism.languages.solidity),o}var l=c();const m=u(l),y=d({__proto__:null,default:m},[l]);export{y as p};
|
package/dist/client/index.html
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<link rel="icon" href="/favicon-white.svg" media="(prefers-color-scheme: dark)" />
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
9
9
|
<title>difit - Git Diff Viewer</title>
|
|
10
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
10
|
+
<script type="module" crossorigin src="/assets/index-B50dNO_K.js"></script>
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Cqq8ppie.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="root"></div>
|
package/package.json
CHANGED