2 lines
141 KiB
JavaScript
2 lines
141 KiB
JavaScript
|
(self.webpackChunkdash_table=self.webpackChunkdash_table||[]).push([[254],{540:u=>{"use strict";u.exports=function(u){var D=document.createElement("style");return u.setAttributes(D,u.attributes),u.insert(D,u.options),D}},1113:u=>{"use strict";u.exports=function(u,D){if(D.styleSheet)D.styleSheet.cssText=u;else{for(;D.firstChild;)D.removeChild(D.firstChild);D.appendChild(document.createTextNode(u))}}},1354:u=>{"use strict";u.exports=function(u){var D=u[1],e=u[3];if(!e)return D;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),a="/*# ".concat(t," */");return[D].concat([a]).join("\n")}return[D].join("\n")}},2006:u=>{function D(u,D){return function(u){if(Array.isArray(u))return u}(u)||function(u,D){var e=null==u?null:"undefined"!=typeof Symbol&&u[Symbol.iterator]||u["@@iterator"];if(null!=e){var n,t,a,r,i=[],s=!0,o=!1;try{if(a=(e=e.call(u)).next,0===D){if(Object(e)!==e)return;s=!1}else for(;!(s=(n=a.call(e)).done)&&(i.push(n.value),i.length!==D);s=!0);}catch(u){o=!0,t=u}finally{try{if(!s&&null!=e.return&&(r=e.return(),Object(r)!==r))return}finally{if(o)throw t}}return i}}(u,D)||function(u,D){if(u){if("string"==typeof u)return e(u,D);var n={}.toString.call(u).slice(8,-1);return"Object"===n&&u.constructor&&(n=u.constructor.name),"Map"===n||"Set"===n?Array.from(u):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(u,D):void 0}}(u,D)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(u,D){(null==D||D>u.length)&&(D=u.length);for(var e=0,n=Array(D);e<D;e++)n[e]=u[e];return n}function n(u){return u instanceof Map?u.clear=u.delete=u.set=function(){throw new Error("map is read-only")}:u instanceof Set&&(u.add=u.clear=u.delete=function(){throw new Error("set is read-only")}),Object.freeze(u),Object.getOwnPropertyNames(u).forEach(D=>{var e=u[D],t=typeof e;"object"!==t&&"function"!==t||Object.isFrozen(e)||n(e)}),u}class t{constructor(u){void 0===u.data&&(u.data={}),this.data=u.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function a(u){return u.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function r(u){var D=Object.create(null);for(var e in u)D[e]=u[e];for(var n=arguments.length,t=new Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];return t.forEach(function(u){for(var e in u)D[e]=u[e]}),D}var i=u=>!!u.scope;class s{constructor(u,D){this.buffer="",this.classPrefix=D.classPrefix,u.walk(this)}addText(u){this.buffer+=a(u)}openNode(u){if(i(u)){var D=(u=>{var D={prefix:this.classPrefix}.prefix;if(u.startsWith("language:"))return u.replace("language:","language-");if(u.includes(".")){var e=u.split(".");return["".concat(D).concat(e.shift()),...e.map((u,D)=>"".concat(u).concat("_".repeat(D+1)))].join(" ")}return"".concat(D).concat(u)})(u.scope);this.span(D)}}closeNode(u){i(u)&&(this.buffer+="</span>")}value(){return this.buffer}span(u){this.buffer+='<span class="'.concat(u,'">')}}var o=function(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},D={children:[]};return Object.assign(D,u),D};class F{constructor(){this.rootNode=o(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(u){this.top.children.push(u)}openNode(u){var D=o({scope:u});this.add(D),this.stack.push(D)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(u){return this.constructor._walk(u,this.rootNode)}static _walk(u,D){return"string"==typeof D?u.addText(D):D.children&&(u.openNode(D),D.children.forEach(D=>this._walk(u,D)),u.closeNode(D)),u}static _collapse(u){"string"!=typeof u&&u.children&&(u.children.every(u=>"string"==typeof u)?u.children=[u.children.join("")]:u.children.forEach(u=>{F._collapse(u)}))}}class l extends F{constructor(u){super(),this.optio
|
||
|
//# sourceMappingURL=async-highlight.js.map
|