performance.mark("js-parse-end:53336-28156f14c564d294.js"); "use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["53336"],{5077(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,c=1;function m(e){var t=e.match(r);t&&(p+=t.length);var n=e.lastIndexOf("\n");c=~n?e.length-n:c+e.length}function d(){var e={line:p,column:c};return function(t){return t.position=new f(e),h(n),t}}function f(e){this.start=e,this.end={line:p,column:c},this.source=l.source}function y(t){var r=Error(l.source+":"+p+":"+c+": "+t);if(r.reason=t,r.filename=l.source,r.line=p,r.column=c,r.source=e,l.silent);else throw r}function h(t){var r=t.exec(e);if(r){var n=r[0];return m(n),e=e.slice(n.length),r}}function v(e){var t;for(e=e||[];t=g();)!1!==t&&e.push(t);return e}function g(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return y("End of comment missing");var n=e.slice(2,r-2);return c+=2,m(n),e=e.slice(r),c+=2,t({type:"comment",comment:n})}}f.prototype.content=e,h(n);var x,w=[];for(v(w);x=function(){var e=d(),r=h(o);if(r){if(g(),!h(a))return y("property missing ':'");var n=h(i),l=e({type:"declaration",property:u(r[0].replace(t,"")),value:n?u(n[0].replace(t,"")):""});return h(s),l}}();)!1!==x&&(w.push(x),v(w));return w}},35229(e,t,r){var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(51133)),o=r(98917);function a(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)}),r}a.default=a,e.exports=a},98917(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||o.test(u)||r.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,l):e.replace(a,l)).replace(n,s))}},51133(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,o.default)(e),a="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:o}=e;a?t(n,o,e):o&&((r=r||{})[n]=o)}),r};let o=n(r(5077))},78619(e,t,r){r.d(t,{m:()=>o});let n=/[ \t\n\f\r]/g;function o(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(n,"")}},98379(e,t,r){r.d(t,{o:()=>U});var n=r(97471),o=r(72282);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,i=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s={};function l(e,t){return((t||s).jsx?i:a).test(e)}var u=r(78619),p=r(63234),c=r(91775);let m={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var d=r(72485),f=r(35229),y=r(5824),h=r(15946);let v={}.hasOwnProperty,g=new Map,x=/[A-Z]/g,w=new Set(["table","tbody","thead","tfoot","tr"]),b=new Set(["td","th"]),k="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function E(e,t,r){var a,i,s,l,y,g,E,I,L;let S,D,O,P,F,M,$,H,J,R,U;return"element"===t.type?(a=e,i=t,s=r,D=S=a.schema,"svg"===i.tagName.toLowerCase()&&"html"===S.space&&(a.schema=p.JW),a.ancestors.push(i),O=N(a,i.tagName,!1),P=function(e,t){let r,n,a={};for(n in t.properties)if("children"!==n&&v.call(t.properties,n)){let i=function(e,t,r){let n=(0,c.I)(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?(0,o.A)(r):(0,d.A)(r)),"style"===n.property){let t="object"==typeof r?r:function(e,t){try{return f(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new h.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=k+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)v.call(e,t)&&(r[function(e){let t=e.replace(x,T);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&n.space?m[n.property]||n.property:n.attribute,r]}}(e,n,t.properties[n]);if(i){let[n,o]=i;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof o&&b.has(t.tagName)?r=o:a[n]=o}}return r&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),a}(a,i),F=_(a,i),w.has(i.tagName)&&(F=F.filter(function(e){return"string"!=typeof e||!(0,u.m)(e)})),j(a,P,O,i),A(P,F),a.ancestors.pop(),a.schema=S,a.create(i,O,P,s)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return(0,n.ok)("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}C(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,y=t,g=r,$=M=l.schema,"svg"===y.name&&"html"===M.space&&(l.schema=p.JW),l.ancestors.push(y),H=null===y.name?l.Fragment:N(l,y.name,!0),J=function(e,t){let r={};for(let o of t.attributes)if("mdxJsxExpressionAttribute"===o.type)if(o.data&&o.data.estree&&e.evaluater){let t=o.data.estree.body[0];(0,n.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,n.ok)("ObjectExpression"===a.type);let i=a.properties[0];(0,n.ok)("SpreadElement"===i.type),Object.assign(r,e.evaluater.evaluateExpression(i.argument))}else C(e,t.position);else{let a,i=o.name;if(o.value&&"object"==typeof o.value)if(o.value.data&&o.value.data.estree&&e.evaluater){let t=o.value.data.estree.body[0];(0,n.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else C(e,t.position);else a=null===o.value||o.value;r[i]=a}return r}(l,y),R=_(l,y),j(l,J,H,y),A(J,R),l.ancestors.pop(),l.schema=M,l.create(y,H,J,g)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);C(e,t.position)}(e,t):"root"===t.type?(E=e,I=t,L=r,A(U={},_(E,I)),E.create(I,E.Fragment,U,L)):"text"===t.type?t.value:void 0}function j(e,t,r,n){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=n)}function A(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function _(e,t){let r=[],n=-1,o=e.passKeys?new Map:g;for(;++n for more info)");let g=h.parse(v),x=h.runSync(g,v);return a&&(x={type:"element",tagName:"div",properties:{className:a},children:"root"===x.type?x.children:[x]}),(0,F.YR)(x,function(e,n,o){if("raw"===e.type&&o&&"number"==typeof n)return m?o.children.splice(n,1):o.children[n]={type:"text",value:e.value},n;if("element"===e.type){let t;for(t in I)if(Object.hasOwn(I,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],n=I[t];(null===n||n.includes(e.tagName))&&(e.properties[t]=f(String(r||""),t,e))}}if("element"===e.type){let a=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!a&&r&&"number"==typeof n&&(a=!r(e,n,o)),a&&o&&"number"==typeof n)return d&&e.children?o.children.splice(n,1,...e.children):o.children.splice(n,1),n}}),function(e,t){var r,n,o,a;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=s,n=t.jsxDEV,i=function(e,t,o,a){let i=Array.isArray(o.children),s=(0,y.PW)(e);return n(t,o,a,i,{columnNumber:s?s.column-1:void 0,fileName:r,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");o=t.jsx,a=t.jsxs,i=function(e,t,r,n){let i=Array.isArray(r.children)?a:o;return n?i(t,r,n):i(t,r)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?p.JW:p.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=E(l,e,void 0);return u&&"string"!=typeof u?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}(x,{Fragment:L.Fragment,components:i,ignoreInvalidStyle:!0,jsx:L.jsx,jsxs:L.jsxs,passKeys:!0,passNode:!0})}function z(e){let t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),o=e.indexOf("/");return -1===t||-1!==o&&t>o||-1!==r&&t>r||-1!==n&&t>n||J.test(e.slice(0,t))?e:""}},87798(e,t,r){r.d(t,{A:()=>o});var n=r(86350);function o(e){let t=this;t.parser=function(r){return(0,n.Y)(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}}}]); //# sourceMappingURL=53336-28156f14c564d294-91aa0e5204b40605.js.map