/**handles:prismatic-prism,prismatic-prism-toolbar,prismatic-copy-clipboard,prismatic-command-line,prismatic-prism-powershell**/ var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(u){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,e={},C={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof j?new j(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=i.reach);v+=m.value.length,m=m.next){var y=m.value;if(n.length>e.length)return;if(!(y instanceof j)){var k,x=1;if(h){if(!(k=N(p,v,e,g))||k.index>=e.length)break;var b=k.index,w=k.index+k[0].length,A=v;for(A+=m.value.length;A<=b;)A+=(m=m.next).value.length;if(v=A-=m.value.length,m.value instanceof j)continue;for(var P=m;P!==n.tail&&(Ai.reach&&(i.reach=O);var y=m.prev,O;S&&(y=M(n,y,S),v+=S.length),W(n,y,x),m=M(n,y,new j(l,c?C.tokenize(E,c):E,f,E)),L&&M(n,m,L),1i.reach&&(i.reach=O.reach))}}}}function i(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function M(e,n,t){var r=n.next,t={value:t,prev:n,next:r};return n.next=t,r.prev=t,e.length++,t}function W(e,n,t){for(var r=n.next,a=0;a"+a.content+""},!u.document)return u.addEventListener&&(C.disableWorkerMessageHandler||u.addEventListener("message",function(e){var n=JSON.parse(e.data),t=n.language,e=n.code,n=n.immediateClose;u.postMessage(C.highlight(e,C.languages[t],t)),n&&u.close()},!1)),C;var r=C.util.currentScript(),e;function a(){C.manual||C.highlightAll()}return r&&(C.filename=r.src,r.hasAttribute("data-manual")&&(C.manual=!0)),C.manual||("loading"===(e=document.readyState)||"interactive"===e&&r&&r.defer?document.addEventListener("DOMContentLoaded",a):window.requestAnimationFrame?window.requestAnimationFrame(a):window.setTimeout(a,16)),C}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); !function(){var o,i,l,e,t;"undefined"!=typeof Prism&&"undefined"!=typeof document&&(o=[],i={},l=function(){},Prism.plugins.toolbar={},e=Prism.plugins.toolbar.registerButton=function(e,n){var t,t="function"==typeof n?n:function(e){var t;return"function"==typeof n.onClick?((t=document.createElement("button")).type="button",t.addEventListener("click",function(){n.onClick.call(this,e)})):"string"==typeof n.url?(t=document.createElement("a")).href=n.url:t=document.createElement("span"),n.className&&t.classList.add(n.className),t.textContent=n.text,t};e in i?console.warn('There is a button with the key "'+e+'" registered already.'):o.push(i[e]=t)},t=Prism.plugins.toolbar.hook=function(n){var e=n.element.parentNode,t,a,r,e;e&&/pre/i.test(e.nodeName)&&!e.parentNode.classList.contains("code-toolbar")&&((t=document.createElement("div")).classList.add("code-toolbar"),e.parentNode.insertBefore(t,e),t.appendChild(e),(a=document.createElement("div")).classList.add("toolbar"),r=o,(r=(e=function(e){for(;e;){var t=e.getAttribute("data-toolbar-order");if(null!=t)return(t=t.trim()).length?t.split(/\s*,\s*/g):[];e=e.parentElement}}(n.element))?e.map(function(e){return i[e]||l}):r).forEach(function(e){var t=e(n),e;t&&((e=document.createElement("div")).classList.add("toolbar-item"),e.appendChild(t),a.appendChild(e))}),t.appendChild(a))},e("label",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-label")){var n,a,r=t.getAttribute("data-label");try{a=document.querySelector("template#"+r)}catch(e){}return a?n=a.content:(t.hasAttribute("data-url")?(n=document.createElement("a")).href=t.getAttribute("data-url"):n=document.createElement("span"),n.textContent=r),n}}),Prism.hooks.add("complete",t))}(); !function(){function a(t){var e=document.createElement("textarea");e.value=t.getText(),e.style.top="0",e.style.left="0",e.style.position="fixed",document.body.appendChild(e),e.focus(),e.select();try{var o=document.execCommand("copy");setTimeout(function(){o?t.success():t.error()},1)}catch(e){setTimeout(function(){t.error(e)},1)}document.body.removeChild(e)}"undefined"!=typeof Prism&&"undefined"!=typeof document&&(Prism.plugins.toolbar?Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(t){var e=t.element,o=function(t){var e={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},o;for(o in e){for(var n="data-prismjs-"+o,r=t;r&&!r.hasAttribute(n);)r=r.parentElement;r&&(e[o]=r.getAttribute(n))}return e}(e),n=document.createElement("button");n.className="copy-to-clipboard-button",n.setAttribute("type","button");var r=document.createElement("span"),c,i;return n.appendChild(r),s("copy"),i={getText:function(){return e.textContent},success:function(){s("copy-success"),u()},error:function(){s("copy-error"),setTimeout(function(){var t;t=e,window.getSelection().selectAllChildren(t)},1),u()}},n.addEventListener("click",function(){var t;t=i,navigator.clipboard?navigator.clipboard.writeText(t.getText()).then(t.success,function(){a(t)}):a(t)}),n;function u(){setTimeout(function(){s("copy")},o["copy-timeout"])}function s(t){r.textContent=o[t],n.setAttribute("data-copy-state",t)}}):console.warn("Copy to Clipboard plugin loaded before Toolbar plugin."))}(); !function(){var g,b,p,f;function N(e){var e=e.vars=e.vars||{};return e["command-line"]=e["command-line"]||{}}"undefined"!=typeof Prism&&"undefined"!=typeof document&&(g=/(?:^|\s)command-line(?:\s|$)/,b="command-line-prompt",p="".startsWith?function(e,t){return e.startsWith(t)}:function(e,t){return 0===e.indexOf(t)},f="".endsWith?function(e,t){return e.endsWith(t)}:function(e,t){var n=e.length;return e.substring(n-t.length,n)===t},Prism.hooks.add("before-highlight",function(e){var t=N(e);if(!t.complete&&e.code){var n=e.element.parentElement;if(n&&/pre/i.test(n.nodeName)&&(g.test(n.className)||g.test(e.element.className))){var a=e.element.querySelector("."+b);a&&a.remove();var r=e.code.split("\n");t.numberOfLines=r.length;var i=t.outputLines=[],a=n.getAttribute("data-output"),o=n.getAttribute("data-filter-output");if(null!==a)a.split(",").forEach(function(e){var t=e.split("-"),e=parseInt(t[0],10),n=2===t.length?parseInt(t[1],10):e;if(!isNaN(e)&&!isNaN(n)){e<1&&(e=1),n>r.length&&(n=r.length),n--;for(var a=--e;a<=n;a++)i[a]=r[a],r[a]=""}});else if(o)for(var s=0;s'+Prism.util.encode(a[r])+"":n[r]=''+n[r]+"";e.highlightedCode=n.join("\n")}}),Prism.hooks.add("complete",function(e){if("command-line"in(e.vars=e.vars||{})){var t=N(e);if(!t.complete){var n=e.element.parentElement;g.test(e.element.className)&&(e.element.className=e.element.className.replace(g," ")),g.test(n.className)||(n.className+=" command-line");for(var a,r="",i=t.numberOfLines||0,o=v("data-prompt",""),a=""!==o?'':'',s=t.continuationLineIndicies||new Set,l='")+'">',m=0;m/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};e.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}}(Prism);