((r,o)=>{var e,l="hljs-ln",s="hljs-ln-line",f="hljs-ln-code",c="hljs-ln-numbers",d="hljs-ln-n",h="data-line-number",t=/\r\n|\r|\n/g;function n(e){for(var t=e.toString(),n=e.anchorNode;"TD"!==n.nodeName;)n=n.parentNode;for(var r=e.focusNode;"TD"!==r.nodeName;)r=r.parentNode;var e=parseInt(n.dataset.lineNumber),o=parseInt(r.dataset.lineNumber);if(e==o)return t;var a,i=n.textContent,l=r.textContent;for(o<e&&(a=e,e=o,o=a,a=i,i=l,l=a);0!==t.indexOf(i);)i=i.slice(1);for(;-1===t.lastIndexOf(l);)l=l.slice(0,-1);for(var s=i,c=(e=>{for(var t=e;"TABLE"!==t.nodeName;)t=t.parentNode;return t})(n),d=e+1;d<o;++d){var u=v('.{0}[{1}="{2}"]',[f,h,d]);s+="\n"+c.querySelector(u).textContent}return s+="\n"+l}function a(e){try{var t,n=o.querySelectorAll("code.hljs,code.nohighlight");for(t in n)!n.hasOwnProperty(t)||n[t].classList.contains("nohljsln")||i(n[t],e)}catch(e){r.console.error("LineNumbers error: ",e)}}function i(e,t){"object"==typeof e&&r.setTimeout(function(){e.innerHTML=u(e,t)},0)}function u(e,t){var t={singleLine:(e=>e.singleLine||!1)(t=(t=t)||{}),startFrom:((e,t)=>{var n=1;return isFinite(t.startFrom)&&(n=t.startFrom),t=((e,t)=>e.hasAttribute(t)?e.getAttribute(t):null)(e,"data-ln-start-from"),n=null!==t?((e,t)=>e&&(e=Number(e),isFinite(e))?e:t)(t,1):n})(e,t)},e=(!function e(t){var n=t.childNodes;for(var r in n)n.hasOwnProperty(r)&&0<p((r=n[r]).textContent)&&(0<r.childNodes.length?e(r):m(r.parentNode))}(e),e.innerHTML),n=t,r=g(e);if(""===r[r.length-1].trim()&&r.pop(),1<r.length||n.singleLine){for(var o="",a=0,i=r.length;a<i;a++)o+=v('<tr><td class="{0} {1}" {3}="{5}"></td><td class="{0} {4}" {3}="{5}">{6}</td></tr>',[s,c,d,h,f,a+n.startFrom,0<r[a].length?r[a]:" "]);return v('<table class="{0}">{1}</table>',[l,o])}return e}function m(e){var t=e.className;if(/hljs-/.test(t)){for(var n=g(e.innerHTML),r=0,o="";r<n.length;r++)o+=v('<span class="{0}">{1}</span>\n',[t,0<n[r].length?n[r]:" "]);e.innerHTML=o.trim()}}function g(e){return 0===e.length?[]:e.split(t)}function p(e){return(e.trim().match(t)||[]).length}function v(e,n){return e.replace(/\{(\d+)\}/g,function(e,t){return void 0!==n[t]?n[t]:e})}r.hljs?(r.hljs.initLineNumbersOnLoad=function(e){"interactive"===o.readyState||"complete"===o.readyState?a(e):r.addEventListener("DOMContentLoaded",function(){a(e)})},r.hljs.lineNumbersBlock=i,r.hljs.lineNumbersValue=function(e,t){var n;if("string"==typeof e)return(n=document.createElement("code")).innerHTML=e,u(n,t)},(e=o.createElement("style")).type="text/css",e.innerHTML=v(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[l,d,h]),o.getElementsByTagName("head")[0].appendChild(e)):r.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var t=window.getSelection();(e=>{for(var t=e;t;){if(t.className&&-1!==t.className.indexOf("hljs-ln-code"))return 1;t=t.parentNode}})(t.anchorNode)&&(t=-1!==window.navigator.userAgent.indexOf("Edge")?n(t):t.toString(),e.clipboardData.setData("text/plain",t.replace(/(^\t)/gm,"")),e.preventDefault())})})(window,document);