text: !function(e){function t(t){for(var n,i,o=t[0],a=t[1],l=0,s=[];l<o.length;l++)i=o[l],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&s.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(c&&c(t);s.length;)s.shift()()}var n={},r={1:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var a,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+"dist/clunch-doc@v1.19.2-bundle"+({}[e]||e)+".js"}(e);var c=new Error;a=function(t){l.onerror=l.onload=null,clearTimeout(s);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",c.name="ChunkLoadError",c.type=i,c.request=o,n[1](c)}r[e]=void 0}};var s=setTimeout((function(){a({type:"timeout",target:l})}),12e4);l.onerror=l.onload=a,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],a=o.push.bind(o);o.push=t,o=o.slice();for(var l=0;l<o.length;l++)t(o[l]);var c=a;i(i.s=8)}([function(e,t,n){"use strict";(function(e){function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}
  /*!
  * quick-paper v0.4.1
  * (c) 2019-2021 你好2007 git+https://github.com/hai2007/quick-paper.git
  * License: MIT
  */!function(){var t=Object.prototype.toString;function o(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":t.call(e)}var a=function(e,t){return null!==t&&"object"===i(t)&&e.indexOf(t.nodeType)>-1&&!function(e){if(null===e||"object"!==i(e)||"[object Object]"!=o(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(t)},l=function(e){var t=i(e);return"string"===t||"object"===t&&null!=e&&!Array.isArray(e)&&"[object String]"===o(e)},c=function(e){if(!function(e){var t=i(e);return null!=e&&("object"===t||"function"===t)}(e))return!1;var t=o(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t},s=function(e){return Array.isArray(e)};function u(e){/^[_$]/.test(e)&&console.error("The beginning of _ or $ is not allowed："+e)}var f=1;function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r={},i=[];if(!l(e))return{type:"component",options:e,attrs:{},children:[]};for(var o in t)/^@/.test(o)?r[o.replace(/^@/,"q-on:")]=t[o]:/^:/.test(o)?r["q-bind"+o]=t[o]:r[o]=t[o];for(var a,c=0;c<n.length;c++)a=n[c],l(a)?/\{\{[^}]+\}\}/.test(a)?i.push({type:"bindText",content:('" '+a+' "').replace(/\{\{([^}]+)\}\}/g,'"+$1+"')}):i.push({type:"text",content:a}):i.push(a);return{type:"none",tagName:e,attrs:r,children:i}}function h(e){for(var t=(e+"").toLowerCase(),n=(e+"").toUpperCase(),r="",i=!1,o=0;o<e.length;o++)"-"!=e[o]?i?(r+=n[o],i=!1):r+=t[o]:i=!0;return r}var d={blankReg:new RegExp("[\\x20\\t\\r\\n\\f]"),blanksReg:/^[\x20\t\r\n\f]{0,}$/,identifier:/^[a-zA-Z_$][0-9a-zA-Z_$]{0,}$/},_=["+","-","*","/","%","&","|","!","?",":","[","]","(",")",">","<","="],g=["+","-","*","/","%","&","|","!","?",":",">","<","=","<=",">=","==","===","!=","!=="];function v(e,t,n){t=t.trim();var r=-1,i=null,o=function(){return i=r++<t.length-1?t[r]:null},a=function(e){return t.substring(r,e+r>t.length?t.length:e+r)};o();for(var c=[];!(r>=t.length);)if(_.indexOf(i)>-1)if(["&","|","="].indexOf(i)>-1)if(["==="].indexOf(a(3))>-1)c.push(a(3)),r+=2,o();else{if(!(["&&","||","=="].indexOf(a(2))>-1))throw new Error("Illegal expression : "+t+"\nstep='analyseExpress',index="+r);c.push(a(2)),r+=1,o()}else["!=="].indexOf(a(3))>-1?(c.push(a(3)),r+=2,o()):[">=","<=","!="].indexOf(a(2))>-1?(c.push(a(2)),r+=1,o()):(c.push(i),o());else if(['"',"'"].indexOf(i)>-1){var s="",u=i;for(o();i!=u;){if(r>=t.length)throw new Error("String unclosed error : "+t+"\nstep='analyseExpress',index="+r);s+=i,o()}c.push(s+"@string"),o()}else if(/\d/.test(i)){var f="no";for(s=i,o();r<t.length;){if(/\d/.test(i))s+=i,"error"==f&&(f="yes");else{if("."!=i||"no"!=f)break;s+=i,f="error"}o()}"error"==f&&(s+="0"),c.push(+s)}else if(["null","true"].indexOf(a(4))>-1)c.push({null:null,true:!0}[a(4)]),r+=3,o();else if(["false"].indexOf(a(5))>-1)c.push({false:!1}[a(5)]),r+=4,o();else if(["undefined"].indexOf(a(9))>-1)c.push({undefined:void 0}[a(9)]),r+=8,o();else if(d.blankReg.test(i))do{o()}while(d.blankReg.test(i)&&r<t.length);else{var p=!1;if("."==i&&(p=!0,o()),!d.identifier.test(i))throw new Error("Illegal express : "+t+"\nstep='analyseExpress',index="+r);for(var h=1;r+h<=t.length&&d.identifier.test(a(h));)h+=1;if(p)c.push("["),c.push(a(h-1)+"@string"),c.push("]");else{var v=a(h-1),m=v in n?n[v]:e[v];c.push(l(m)?m+"@string":m)}r+=h-2,o()}for(var b=0,y=0;y<c.length;y++)["+","-"].indexOf(c[y])>-1&&(0==y||g.indexOf(c[b-1])>-1)?(c[b++]=+(c[y]+c[y+1]),y+=1):c[b++]=c[y];return c.length=b,c}var m=function(e){return"string"==typeof e?e.replace(/@string$/,""):e};function b(e){for(var t,n=0,r=0;r<e.length;r++)"!"==e[r]?e[n]=!e[++r]:e[n]=e[r],n+=1;if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)"*"==e[r]?e[n-1]=m(e[n-1])*m(e[++r]):"/"==e[r]?e[n-1]=m(e[n-1])/m(e[++r]):"%"==e[r]?e[n-1]=m(e[n-1])%m(e[++r]):e[n++]=e[r];if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)"+"==e[r]?e[n-1]="string"==typeof(t=m(e[n-1])+m(e[++r]))?t+"@string":t:"-"==e[r]?e[n-1]=m(e[n-1])-m(e[++r]):e[n++]=e[r];if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)">"==e[r]?e[n-1]=m(e[n-1])>m(e[++r]):"<"==e[r]?e[n-1]=m(e[n-1])<m(e[++r]):"<="==e[r]?e[n-1]=m(e[n-1])<=m(e[++r]):">="==e[r]?e[n-1]=m(e[n-1])>=m(e[++r]):e[n++]=e[r];if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)"=="==e[r]?e[n-1]=m(e[n-1])==m(e[++r]):"==="==e[r]?e[n-1]=m(e[n-1])===m(e[++r]):"!="==e[r]?e[n-1]=m(e[n-1])!=m(e[++r]):"!=="==e[r]?e[n-1]=m(e[n-1])!==m(e[++r]):e[n++]=e[r];if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)"&&"==e[r]?(e[n-1]=m(e[n-1])&&m(e[1+r]),r+=1):"||"==e[r]?(e[n-1]=m(e[n-1])||m(e[1+r]),r+=1):e[n++]=e[r];if(1==n)return m(e[0]);for(e.length=n,n=0,r=0;r<e.length;r++)"?"==e[r]?(e[n-1]=m(e[n-1])?m(e[r+1]):m(e[r+3]),r+=3):e[n++]=e[r];if(1==n)return m(e[0]);throw e.length=n,new Error("Unrecognized expression : ["+e.toString()+"]")}var y=function(e){for(var t=[],n=[],r=0;r<e.length;r++)"["==e[r]?n=[]:"]"==e[r]?t.push(b(n)):n.push(e[r]);return t};function w(e,t,n){var r,i=function e(t,n,r){if(n.indexOf("(")>-1){for(var i=[],o=[],a=0,c=0;c<n.length;c++)if("("==n[c])a>0&&o.push("("),a+=1;else if(")"==n[c]){if(a>1&&o.push(")"),0==(a-=1)){var s=b(e(t,o));i.push(l(s)?s+"@string":s),o=[]}}else a>0?o.push(n[c]):i.push(n[c]);n=i}return function(e){for(var t=!0;t;){t=!1;for(var n=[],r=[],i=!1,o=0;o<e.length;o++)if("["==e[o]&&0!=o&&"]"!=e[o-1]){if(i){n.push("[");for(var a=0;a<r.length;a++)n.push(r[a])}else i=!0;r=[]}else if("]"==e[o]&&i){t=!0;var c=b(r),s=n[n.length-1][c];n[n.length-1]=l(s)?s+"@string":s,i=!1}else i?r.push(e[o]):n.push(e[o]);e=n}return e}(n)}(e,t);if("["!=i[0])r=[b(i)];else if("]"==i[i.length-1])r=y(i);else{var o=i.lastIndexOf("]"),a=y(i.slice(0,o+1)),c=i.slice(o+1);c.unshift(function(e,t,n){for(var r=(t[0]in n?n[t[0]]:e[t[0]]),i=1;i<t.length;i++)try{r=r[t[i]]}catch(r){throw console.error({target:e,scope:n,expressArray:t,index:i}),r}return r}(e,a,n)),r=[b(c)]}return r}
  /*!
     * 🔪 - 设置或获取指定对象上字符串表达式对应的值
     * https://github.com/hai2007/algorithm.js/blob/master/value.js
     *
     * author hai2007 < https://hai2007.gitee.io/sweethome >
     *
     * Copyright (c) 2020-present hai2007 走一步，再走一步。
     * Released under the MIT license
     */var x=function(e,t,n){arguments.length<3&&(n={});var r=v(e,t,n),i=w(e,r,n);if(i.length>1)throw new Error("Illegal expression : "+t+"\nstep='evalExpress',path="+i+",expressArray="+r);return i[0]};function N(e,t,n){window.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n,!1)}function A(e){if(!(this instanceof A))throw new Error("QuickPaper is a constructor and should be called with the `new` keyword");var t;this._name=e.name||"noname",this.$$lifecycle(e.beforeCreate),this.$$init(e),this.$$lifecycle("created"),t=this._el,a([1,9,11],t)&&this.$$mount()}!function(e){e.prototype.$$init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in this._options=e,this._uid=f++,this._data=c(e.data)?e.data():e.data,this._el=e.el,this.__isMounted=!1,this.__isDestroyed=!1,e.methods)u(t),this[t]=e.methods[t];for(var n in this._data)this[n]=this._data[n];for(var r in this.__componentLib_scope={},e.component)this.__componentLib_scope[r]=e.component[r];for(var i in this.__directiveLib_scope={},e.directive)this.__directiveLib_scope[i]=e.directive[i]}}(A),function(e){e.prototype.$$lifecycle=function(e){c(e)?e():["created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed"].indexOf(e)>-1&&c(this._options[e])&&this._options[e].call(this)}}(A),function(e){e.prototype.$$mountComponent=function(){this.$$lifecycle("beforeMount"),this._vnode=this.$$render(p),this.__directiveTask=[],this.__componentTask=[],this.__bindTextTask=[],function e(t,r,i,o){var a,l=x(t,r);if(l){if("none"==l.type){var c=h(l.tagName);t.__componentLib[c]||t.__componentLib_scope[c]?(l.options=t.__componentLib[c]||t.__componentLib_scope[c],l.type="component"):l.type="tag"}if("component"==l.type){a=document.createElement("quick-paper-component"),i.appendChild(a),l.options.el=a,"render"in l.options||(l.options.render=function(e){return e("quick-paper-component",{},[])}),l.instance=new o(l.options),l.instance.__parent=t;var s={};for(var u in l.attrs)/^data-quickpaper-/.test(u)||(/^:/.test(u)?s[u.replace("q-bind"+u)]=l.attrs[u]:/^@/.test(u)?s[u.replace(u.replace(/^@/,"q-on:"))]=l.attrs[u]:s[u]=l.attrs[u]);var f={attrs:s,instance:l.instance};if("component"==f.instance._name){var p=f.attrs["q-bind:is"];f.instance.lister(o,t[p])}t.__componentTask.push(f)}else if("tag"==l.type){for(var d in a=document.createElement(l.tagName),"Quick-Paper-COMPONENT"==i.nodeName||"Quick-Paper-COMPONENT"==i._nodeName?(y=a,(b=i).parentNode.replaceChild(y,b),t._el=a):i.appendChild(a),l.attrs){var _=l.attrs[d],g=(d+":").split(":"),v=t.__directiveLib[h(g[0])]||t.__directiveLib_scope[h(g[0])];v?t.__directiveTask.push(n(n({el:a},v),{},{value:_,type:g[1]})):a.setAttribute(d,_)}for(var m=0;m<l.children.length;m++)e(t,r+".children["+m+"]",a,o)}else"text"==l.type?((a=document.createTextNode("")).textContent=l.content.replace(/↵/g,"\n"),i.appendChild(a)):"bindText"==l.type?((a=document.createTextNode("")).textContent=x(t,l.content).replace(/↵/g,"\n"),i.appendChild(a),t.__bindTextTask.push({el:a,content:l.content})):console.error("Type not expected："+l.type);var b,y}else console.error("vnode is undefined!")}(this,"_vnode",this._el,e);for(var t=0;t<this.__directiveTask.length;t++){var r=this.__directiveTask[t];if(c(r.inserted)){var i=void 0;try{i=x(this,r.value)}catch(e){}r.inserted(r.el,{target:this,exp:r.value,value:i,type:r.type})}}!function(e){var t=function(t){u(t),c(e[t])&&console.error('Data property "'+t+'" has already been defined as a Method.');var n=e._data[t];e[t]=n,Object.defineProperty(e,t,{get:function(){return n},set:function(t){n=t,e.$$updateComponent()}})};for(var n in e._data)t(n)}(this),this.__isMounted=!0,this.$$lifecycle("mounted")},e.prototype.$$updateComponent=function(){this.$$lifecycle("beforeUpdate");for(var t=0;t<this.__directiveTask.length;t++){var n=this.__directiveTask[t];if(c(n.update)){var r=void 0;try{r=x(this,n.value)}catch(e){}n.update(n.el,{target:this,exp:n.value,value:r,type:n.type})}}for(var i=0;i<this.__bindTextTask.length;i++){var o=this.__bindTextTask[i],a=x(this,o.content).replace(/↵/g,"\n");o.el.textContent!=a&&(o.el.textContent=a)}for(var l=0;l<this.__componentTask.length;l++){var s=this.__componentTask[l];if("component"==s.instance._name){var u=s.attrs["q-bind:is"];s.instance.lister(e,this[u])}}this.$$lifecycle("updated")},e.prototype.$$destroyComponent=function(){this.$$lifecycle("beforeDestroy");for(var e=0;e<this.__directiveTask.length;e++){var t=this.__directiveTask[e];c(t.delete)&&t.delete(t.el,{target:this,exp:t.value,value:x(this,t.value),type:t.type})}this.$$lifecycle("destroyed")}}(A);var k=function(e,t){return function(e){function t(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){var n,o=Object.prototype.toString;function a(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o.call(e)}var l=function(e){if(!function(e){var t=i(e);return null!=e&&("object"===t||"function"===t)}(e))return!1;var t=a(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t},c=function(e){return function(e,t){return null!==t&&"object"===i(t)&&e.indexOf(t.nodeType)>-1&&!function(e){if(null===e||"object"!==i(e)||"[object Object]"!=a(e))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(t)}([1,9,11],e)},s={stopPropagation:function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0},preventDefault:function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1},bind:function(e,t,n){window.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n,!1)},trigger:function(e,t){var n;document.createEventObject?(n=document.createEventObject(),e.fireEvent("on"+t,n)):((n=document.createEvent("HTMLEvents")).initEvent(t,!0,!1),e.dispatchEvent(n))},toNode:function(e){var t=document.createElement("div");t.innerHTML=e;for(var n=t.childNodes,r=0;r<n.length;r++)if(c(n[r]))return n[r];return null},appendTo:function(e,t){var n=c(t)?t:this.toNode(t);return e.appendChild(n),n},prependTo:function(e,t){var n=c(t)?t:this.toNode(t);return e.insertBefore(n,e.childNodes[0]),n},remove:function(e){e.parentNode.removeChild(e)},after:function(e,t){var n=c(t)?t:this.toNode(t);return e.parentNode.insertBefore(n,e.nextSibling),n},css:function(e,t){for(var n in t)e.style[n]=t[n]},attr:function(e,t){for(var n in t)e.setAttribute(n,t[n])},position:function(e,t){t=t||window.event;var n=e.getBoundingClientRect();if(!t||!t.clientX)throw new Error("Event is necessary!");return{x:t.clientX-n.left+e.scrollLeft,y:t.clientY-n.top+e.scrollTop}},copy:function e(t,n,r){var i=this.appendTo(document.body,"<textarea>"+t+"</textarea>");i.select();try{window.document.execCommand("copy",!1,null)?l(n)&&n():l(r)&&r()}catch(e){l(r)&&r(e)}document.body.removeChild(i)}};function u(e){return{leftNum:e.__leftNum,lineNum:e.__lineNum,x:e.__cursorLeft,y:e.__cursorTop,lineHeight:21}}var f=(r(n={48:[0,")"],49:[1,"!"],50:[2,"@"],51:[3,"#"],52:[4,"$"],53:[5,"%"],54:[6,"^"],55:[7,"&"],56:[8,"*"],57:[9,"("],96:[0,0],97:1,98:2,99:3,100:4,101:5,102:6,103:7,104:8,105:9,106:"*",107:"+",109:"-",110:".",111:"/",65:["a","A"],66:["b","B"],67:["c","C"],68:["d","D"],69:["e","E"],70:["f","F"],71:["g","G"],72:["h","H"],73:["i","I"],74:["j","J"],75:["k","K"],76:["l","L"],77:["m","M"],78:["n","N"],79:["o","O"],80:["p","P"],81:["q","Q"],82:["r","R"],83:["s","S"],84:["t","T"],85:["u","U"],86:["v","V"],87:["w","W"],88:["x","X"],89:["y","Y"],90:["z","Z"],37:"left",38:"up",39:"right",40:"down",33:"page up",34:"page down",35:"end",36:"home",16:"shift",17:"ctrl",18:"alt",91:"command",92:"command",93:"command",9:"tab",20:"caps lock",32:"spacebar",8:"backspace",13:"enter",27:"esc",46:"delete",45:"insert",144:"number lock",145:"scroll lock",12:"clear"},"45","insert"),r(n,19,"pause"),r(n,112,"f1"),r(n,113,"f2"),r(n,114,"f3"),r(n,115,"f4"),r(n,116,"f5"),r(n,117,"f6"),r(n,118,"f7"),r(n,119,"f8"),r(n,120,"f9"),r(n,121,"f10"),r(n,122,"f11"),r(n,123,"f12"),r(n,189,["-","_"]),r(n,187,["=","+"]),r(n,219,["[","{"]),r(n,221,["]","}"]),r(n,220,["\\","|"]),r(n,186,[";",":"]),r(n,222,["'",'"']),r(n,188,[",","<"]),r(n,190,[".",">"]),r(n,191,["/","?"]),r(n,192,["`","~"]),n),p=["shift","ctrl","alt"];function h(e){var t=(e=e||window.event).keyCode||e.which,n=f[t]||t;if(n){n.constructor!==Array&&(n=[n,n]);var r=e.shiftKey?"shift+":"",i=e.altKey?"alt+":"",o="",a=(e.ctrlKey?"ctrl+":"")+r+i;p.indexOf(n[0])>=0&&(n[0]=n[1]="");var l=e.code=="Key"+e.key&&!r;return o=a+(""==a&&l?n[1]:n[0]),""==n[0]&&(o=o.replace(/\+$/,"")),o}}var d=function(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n].content!=t[n].content||e[n].color!=t[n].color)return!1;return!0};function _(e,t){for(var n=[],r=0,i=function(t){return e.substring(r,t+r>e.length?e.length:t+r)},o="",a="tag",l=function(){""!=o&&n.push({color:{tag:t.selector,attr:t.attrKey,string:t.attrValue}[a],content:o}),o=""};;)if("/*"==i(2)){for(l();"*/"!==i(2)&&r<e.length;)o+=e[r++];n.push({color:t.annotation,content:o+i(2)}),r+=2,o=""}else if(["'",'"'].indexOf(i(1))>-1){var c=i(1);l();do{o+=e[r++]}while(i(1)!=c&&r<e.length);i(1)!=c?c="":r+=1,n.push({color:t.attrValue,content:o+c}),o=""}else if([":","{","}",";"].indexOf(i(1))>-1)l(),n.push({color:t.insign,content:i(1)}),o="",a="{"==i(1)||";"==i(1)?"attr":"}"==i(1)?"tag":"string",r+=1;else{if(r>=e.length){l();break}o+=e[r++]}return n}var g=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"];function v(e,t){for(var n=[],r=0,i=function(t){return e.substring(r,t+r>e.length?e.length:t+r)},o="",a=function(){""!=o&&("("==o[0]&&(n.push({color:t.insign,content:"("}),o=o.substr(1)),n.push({color:t.text,content:o})),o=""};;)if("/*"==i(2)){for(a();"*/"!==i(2)&&r<e.length;)o+=e[r++];n.push({color:t.annotation,content:o+i(2)}),r+=2,o=""}else if("//"==i(2)){for(a();"\n"!==i(1)&&r<e.length;)o+=e[r++];n.push({color:t.annotation,content:o}),o=""}else if(["'",'"',"`"].indexOf(i(1))>-1){var l=i(1);a();do{o+=e[r++]}while(i(1)!=l&&r<e.length);i(1)!=l?l="":r+=1,n.push({color:t.string,content:o+l}),o=""}else if("("==i(1)&&(" "==o[0]||r-o.length-1>=0&&" "==e[r-o.length-1]))n.push({color:t.funName,content:o}),r+=1,o="(";else if("("==i(1))n.push({color:t.execName,content:o}),r+=1,o="(";else if([";","{","}","(",")",".","\n","=","+",">","<","[","]","-","*","/","^","*","!"].indexOf(i(1))>-1)a(),n.push({color:t.insign,content:i(1)}),o="",r+=1;else if(" "==i(1)&&g.indexOf(o.trim())>-1)n.push({color:t.key,content:o+" "}),o="",r+=1;else{if(r>=e.length){a();break}o+=e[r++]}return n}function m(e,t){for(var n=[],r=0,i=function(t){return e.substring(r,t+r>e.length?e.length:t+r)},o="",a=function(){""!=o&&n.push({color:t.text,content:o}),o=""},l=function(){var a=" ";'"'==i(1)&&(a='"'),"'"==i(1)&&(a="'");do{o+=e[r++]}while(i(1)!=a&&r<e.length);" "!=a&&r<e.length&&(o+=a,r+=1),n.push({color:t.attrValue,content:o}),o=""};;)if("\x3c!--"==i(4)){for(a();"--\x3e"!==i(3)&&r<e.length;)o+=e[r++];n.push({color:t.annotation,content:o+i(3)}),r+=3,o=""}else if("</"==i(2)){for(a(),n.push({color:t.insign,content:"</"}),r+=2;">"!==i(1)&&r<e.length;)o+=e[r++];""!=o&&(n.push({color:t.node,content:o}),o="",r<e.length&&(n.push({color:t.insign,content:">"}),r+=1))}else if("<"==i(1)&&"< "!=i(2)){var c="";for(a(),n.push({color:t.insign,content:"<"}),r+=1;">"!=i(1)&&" "!=i(1)&&r<e.length;)o+=e[r++];if(""!=o&&("style"!=o&&"script"!=o||(c="</"+o+">"),n.push({color:t.node,content:o}),o="",r<e.length))for(;r<e.length;){if(">"==i(1)){a(),n.push({color:t.insign,content:">"}),r+=1;break}if(" "!=i(1))if(a(),'"'!=i(1)&&"'"!=i(1)){for(;"="!=i(1)&&">"!=i(1)&&r<e.length&&" "!=i(1);)o+=e[r++];""!=o?(n.push({color:t.attrKey,content:o}),o="","="==i(1)&&(n.push({color:t.insign,content:"="}),(r+=1)<e.length&&" "!=i(1)&&">"!=i(1)&&l())):o+=e[r++]}else"="==i(1)?(n.push({color:t.insign,content:"="}),r+=1):r<e.length&&" "!=i(1)&&">"!=i(1)&&l();else o+=e[r++]}if(""!=c){for(var s=r,u=o;i(c.length)!=c&&r<e.length;)o+=e[r++];if(r<e.length){var f=c.replace(/<\//,"");({"style>":_,"script>":v})[f](o,{"style>":t._css,"script>":t._javascript}[f]).forEach((function(e){n.push(e)})),o=""}else o=u,r=s}}else{if(r>=e.length){a();break}o+=e[r++]}return n}var b=function(e){var t=[[]],n=0;return e.forEach((function(e){var r=e.content.split(/\n/);t[n].push({color:e.color,content:r[0]});for(var i=1;i<r.length;i++)n+=1,t.push([]),t[n].push({color:e.color,content:r[i]})})),t},y=function(e,t){for(var n in t)try{e[n]=t[n]}catch(e){throw new Error("Illegal property value！")}return e},w={text:"#000000",annotation:"#6a9955",insign:"#ffffff",node:"#1e50b3",attrKey:"#1e83b1",attrValue:"#ac4c1e"},x={annotation:"#6a9955",insign:"#ffffff",selector:"#1e50b3",attrKey:"#1e83b1",attrValue:"#ac4c1e"},N={text:"#000000",annotation:"#6a9955",insign:"#ffffff",key:"#ff0000",string:"#ac4c1e",funName:"#1e50b3",execName:"#1e83b1"};function A(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("html"==e)r._css=y(x,r.css),r._javascript=y(N,r.javascript),n=y(w,r),t=m;else if("css"==e)n=y(x,r),t=_;else{if("javascript"!=e)throw new Error("Language not supported:"+e+",The languages available include: html、css、javascript!");n=y(N,r),t=v}return function(e){return b(t(e,n))}}var k=function e(n){var r=this;if(!(this instanceof e))throw new Error("Open-Web-Editor is a constructor and should be called with the `new` keyword");if(!c(n.el))throw new Error("options.el is not a element!");this._el=n.el,this._el.owe_terminal="none",n.color=n.color||{},this._colorBackground=n.color.background||"#d6d6e4",this._colorText=n.color.text||"#000000",this._colorNumber=n.color.number||"#888484",this._colorEdit=n.color.edit||"#eaeaf1",this._colorCursor=n.color.cursor||"#ff0000",this._colorSelect=n.color.select||"#6c6cf1",this._fontFamily=n["font-family"]||"新宋体",this._fontWeight=n["font-weight"]||600,this._tabSpace=n.tabSpace||4,this._readonly=n.readonly||!1,this._noLineNumber=n.noLineNumber||!1,this._contentArray=function(e){var t=i(e);return"string"===t||"object"===t&&null!=e&&!Array.isArray(e)&&"[object String]"===a(e)}(n.content)?(this.$$filterText(n.content)+"").split("\n"):[""],this.$shader=l(n.shader)?n.shader:function(e){return Array.isArray(e)}(n.shader)?A.apply(void 0,t(n.shader)):function(){var e=[];return r._contentArray.forEach((function(t){e.push([{content:t,color:r._colorText}])})),e},this.$format=l(n.format)?n.format:function(e){return e},this.$input=l(n.input)?n.input:null,this.$$initDom(),this.__needUpdate=!0,this.__lineNum=this._contentArray.length-1,this.__leftNum=this._contentArray[this.__lineNum].length,this.__cursor1=this.__cursor2={leftNum:0,lineNum:0},this.__formatData=this.$$diff(this.$shader(this._contentArray.join("\n"))),this.$$initView(),this.$$updateView(),this.$$bindEvent(),this.__updated__=function(){},this.updated=function(e){r.__updated__=e},this.valueOf=function(){return r._contentArray.join("\n")},this.input=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;0!=t&&(0!=n&&(r._contentArray[r.__lineNum]=r._contentArray[r.__lineNum].substring(0,r.__leftNum+t)+r._contentArray[r.__lineNum].substring(r.__leftNum+t+n)),r.__leftNum+=t),r.__focusDOM.value=e,s.trigger(r.__focusDOM,"input"),r.__focusDOM.focus()},this.format=function(){r._contentArray=r.$format(r._contentArray.join("\n"),r._tabSpace).split("\n"),r.__lineNum=r._contentArray.length-1,r.__leftNum=r._contentArray[r.__lineNum].length,r.__formatData=r.$$diff(r.$shader(r._contentArray.join("\n"))),r.$$updateView(),r.$$initView()},this.copy=function(e,t){s.copy(r.valueOf(),e,t)}};k.prototype.$$textWidth=function(e){return this.__helpCalcDOM.innerText=e,this.__helpCalcDOM.offsetWidth},k.prototype.$$bestLeftNum=function(e,t){arguments.length<2&&(t=t||this.__lineNum);var n=this._contentArray[t];if(e<=40)return 0;if(e-40>=this.$$textWidth(n))return n.length;for(var r=e-40,i=1;i<n.length;i++){var o=Math.abs(e-40-this.$$textWidth(n.substr(0,i)));if(o>r)break;r=o}return i-1},k.prototype.$$calcCanvasXY=function(e,t){return{x:this.$$textWidth(this._contentArray[t].substr(0,e)),y:21*t}},k.prototype.$$selectIsNotBlank=function(){return this.__cursor1.lineNum!=this.__cursor2.lineNum||this.__cursor1.leftNum!=this.__cursor2.leftNum},k.prototype.$$filterText=function(e){for(var t="",n=0;n<this._tabSpace;n++)t+=" ";return e.replace(/\t/g,t)},k.prototype.$$toTemplate=function(e,t,n){var r=this,i="";return i+="<div style='min-width: fit-content;white-space: nowrap;line-height:21px;height:21px;'>",i+="<em style='"+(n?"font-size:0;":"")+"color:"+this._colorNumber+";user-select: none;display:inline-block;font-style:normal;width:35px;text-align:right;margin-right:5px;'>"+(t+1)+"</em>",e.forEach((function(e){var t=e.content;t=(t=(t=t.replace(/\&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),i+="<span style='user-select: none;font-weight:"+r._fontWeight+";white-space: pre;color:"+e.color+"'>"+t+"</span>"})),i+"</div>"},k.prototype.$$initDom=function(){var e=this;this._el.innerHTML="",s.css(this._el,{"font-size":"12px",position:"relative",cursor:"text","font-family":this._fontFamily,background:this._colorBackground,overflow:"auto"}),s.bind(this._el,"click",(function(){setTimeout((function(){e.__focusDOM.focus()}))})),this.__helpCalcDOM=s.appendTo(this._el,"<span></span>"),s.css(this.__helpCalcDOM,{position:"absolute","z-index":"-1","white-space":"pre",top:0,left:0,color:"rgba(0,0,0,0)","font-weight":this._fontWeight}),this.__helpInputDOM=s.appendTo(this._el,"<div></div>"),s.css(this.__helpInputDOM,{position:"absolute","z-index":1}),s.bind(this.__helpInputDOM,"click",(function(t){s.stopPropagation(t),s.preventDefault(t),e.__focusDOM.focus()})),this.__focusDOM=s.appendTo(this._el,"<textarea></textarea>"),s.css(this.__focusDOM,{position:"absolute",width:"6px","margin-top":"3px",height:"15px","line-height":"15px",resize:"none",overflow:"hidden",padding:"0",outline:"none",border:"none",background:"rgba(0,0,0,0)",color:this._colorCursor}),s.attr(this.__focusDOM,{wrap:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false"}),this._readonly&&s.attr(this.__focusDOM,{readonly:!0}),this.__showDOM=s.appendTo(this._el,"<div></div>"),s.css(this.__showDOM,{padding:"10px 0"}),this.__selectCanvas=s.appendTo(this._el,"<canvas></canvas>"),s.css(this.__selectCanvas,{position:"absolute",left:"40px",top:"10px",opacity:"0.5"}),this.$$updateCanvasSize(1,1)},k.prototype.$$initView=function(){s.css(this.__focusDOM,{left:40+this.$$textWidth(this._contentArray[this.__lineNum])+"px",top:10+21*this.__lineNum+"px"})},k.prototype.$$updateView=function(){var e=this;if(this.__diff&&this.__diff.beginNum+this.__diff.endNum>10){for(var t=this.__showDOM.childNodes,n=t.length-this.__diff.endNum-1;n>=this.__diff.beginNum;n--)s.remove(t[n]);if(this.__diff.beginNum>0)for(var r=this.__formatData.length-1-this.__diff.endNum;r>=this.__diff.beginNum;r--)s.after(t[this.__diff.beginNum-1],this.$$toTemplate(this.__formatData[r],r,this._noLineNumber));else for(var i=this.__formatData.length-this.__diff.endNum-1;i>=0;i--)s.prependTo(this.__showDOM,this.$$toTemplate(this.__formatData[i],i,this._noLineNumber));t=this.__showDOM.childNodes;for(var o=this.__diff.beginNum;o<this.__formatData.length;o++)t[o].getElementsByTagName("em")[0].innerText=o+1}else if("not update"!=this.__diff){var a="";this.__formatData.forEach((function(t,n){a+=e.$$toTemplate(t,n,e._noLineNumber)})),this.__showDOM.innerHTML=a}this.__diff="not update";var l=this.__showDOM.childNodes[this.__lineNum];!this._readonly&&this.__lineDom&&(this.__lineDom.style.backgroundColor="rgba(0, 0, 0, 0)",l.style.backgroundColor=this._colorEdit),this.__lineDom=l},k.prototype.$$updateSelectView=function(){var e=this,t=this.__selectCanvas.getContext("2d");t.fillStyle=this._colorSelect,t.clearRect(0,0,this.__selectCanvas.scrollWidth,this.__selectCanvas.scrollHeight);var n=function(n,r,i){var o=e.$$calcCanvasXY(n,i),a=e.$$calcCanvasXY(r,i);n==r&&0==n?t.fillRect(o.x,o.y,5,21):t.fillRect(o.x,o.y,a.x-o.x,21)};if(this.__cursor1.lineNum!=this.__cursor2.lineNum||this.__cursor1.leftNum!=this.__cursor2.leftNum)if(t.beginPath(),this.__cursor1.lineNum==this.__cursor2.lineNum)n(this.__cursor1.leftNum,this.__cursor2.leftNum,this.__cursor1.lineNum);else{var r,i;this.__cursor1.lineNum<this.__cursor2.lineNum?(r=this.__cursor1,i=this.__cursor2):(r=this.__cursor2,i=this.__cursor1),n(r.leftNum,this._contentArray[r.lineNum].length,r.lineNum),n(0,i.leftNum,i.lineNum);for(var o=r.lineNum+1;o<i.lineNum;o++)n(0,this._contentArray[o].length,o)}},k.prototype.$$updateCursorPosition=function(){this.__cursorTop=21*this.__lineNum+10,this.__cursorLeft=40+this.$$textWidth(this._contentArray[this.__lineNum].substring(0,this.__leftNum)),s.css(this.__focusDOM,{top:this.__cursorTop+"px",left:this.__cursorLeft+"px"})},k.prototype.$$updateCanvasSize=function(e,t){arguments.length<2&&(e=this._el.scrollWidth-40,t=this._el.scrollHeight-10),s.css(this.__selectCanvas,{width:e+"px",height:t+"px"}),s.attr(this.__selectCanvas,{width:e,height:t})},k.prototype.$$cancelSelect=function(){this.$$updateCanvasSize(1,1),this.__cursor1={leftNum:0,lineNum:0},this.__cursor2={leftNum:0,lineNum:0}},k.prototype.$$deleteSelect=function(){var e=this.__cursor2,t=this.__cursor1;(this.__cursor1.lineNum<this.__cursor2.lineNum||this.__cursor1.lineNum==this.__cursor2.lineNum&&this.__cursor1.leftNum<this.__cursor2.leftNum)&&(e=this.__cursor1,t=this.__cursor2);var n=this._contentArray[e.lineNum].substr(0,e.leftNum)+this._contentArray[t.lineNum].substr(t.leftNum);this._contentArray.splice(e.lineNum,t.lineNum-e.lineNum+1,n),this.__leftNum=this.__cursor1.leftNum=this.__cursor2.leftNum=e.leftNum,this.__lineNum=this.__cursor1.lineNum=this.__cursor2.lineNum=e.lineNum,this.$$cancelSelect()},k.prototype.$$bindEvent=function(){var e=this,n=!1,r=function(t){var n=s.position(e._el,t),r=Math.round((n.y-20.5)/21);return r<0&&(r=0),r>=e._contentArray.length&&(r=e._contentArray.length-1),{leftNum:e.$$bestLeftNum(n.x,r),lineNum:r}},i=function(){var t=e.__cursor2,n=e.__cursor1;if(e.__cursor1.lineNum<e.__cursor2.lineNum)t=e.__cursor1,n=e.__cursor2;else if(e.__cursor1.lineNum==e.__cursor2.lineNum)return e.__cursor1.leftNum<e.__cursor2.leftNum&&(t=e.__cursor1,n=e.__cursor2),e._contentArray[t.lineNum].substring(t.leftNum,n.leftNum);var r="";r+=e._contentArray[t.lineNum].substr(t.leftNum)+"\n";for(var i=t.lineNum+1;i<n.lineNum;i++)r+=e._contentArray[i]+"\n";return r+e._contentArray[n.lineNum].substr(0,n.leftNum)};s.bind(this._el,"mousedown",(function(t){n=!0,e.__cursor2=e.__cursor1=r(t),e.$$updateCanvasSize(),e.$$updateSelectView()})),s.bind(this._el,"mousemove",(function(t){n&&(e.__cursor2=r(t),e.$$updateSelectView())})),s.bind(this._el,"mouseup",(function(){return n=!1})),s.bind(this._el,"mouseout",(function(){return n=!1})),s.bind(this._el,"click",(function(t){e.__helpInputDOM.innerHTML="";var n=s.position(e._el,t),r=Math.round((n.y-20.5)/21);r<0||r>=e._contentArray.length||(e.__lineNum=r,e.__leftNum=e.$$bestLeftNum(n.x),e.$$updateCursorPosition(),e.$$updateView())}));var o=function(n){if(n=n||e.__focusDOM.value,n=e.$$filterText(n),e.__focusDOM.value="",e.$$selectIsNotBlank()&&e.$$deleteSelect(),/^\n$/.test(n))e.__leftNum>=e._contentArray[e.__lineNum].length?e._contentArray.splice(e.__lineNum+1,0,""):(e._contentArray.splice(e.__lineNum+1,0,e._contentArray[e.__lineNum].substring(e.__leftNum)),e._contentArray[e.__lineNum]=e._contentArray[e.__lineNum].substring(0,e.__leftNum)),e.__lineNum+=1,e.__leftNum=0;else{var r=n.split(/\n/);if(r.length<=1)e._contentArray[e.__lineNum]=e._contentArray[e.__lineNum].substring(0,e.__leftNum)+n+e._contentArray[e.__lineNum].substring(e.__leftNum),e.__leftNum+=n.length;else{var i,o=e._contentArray[e.__lineNum].substring(0,e.__leftNum),a=e._contentArray[e.__lineNum].substring(e.__leftNum);r[0]=o+r[0],r[r.length-1]+=a,(i=e._contentArray).splice.apply(i,[e.__lineNum,1].concat(t(r))),e.__lineNum+=r.length-1,e.__leftNum=r[r.length-1].length-a.length}}e.__formatData=e.$$diff(e.$shader(e._contentArray.join("\n"))),e.$$updateCursorPosition(),e.$$updateView(),e.__updated__()};s.bind(this.__focusDOM,"compositionstart",(function(){e.__needUpdate=!1,e.__focusDOM.style.color="rgba(0,0,0,0)",e.__focusDOM.style.borderLeft="1px solid "+e._colorCursor})),s.bind(this.__focusDOM,"compositionend",(function(){e.__needUpdate=!0,e.__focusDOM.style.color=e._colorCursor,e.__focusDOM.style.borderLeft="none",o(),null!=e.$input&&(e.__helpInputEvent=e.$input(e.__helpInputDOM,u(e),e._contentArray)||{})})),s.bind(this.__focusDOM,"input",(function(){e.__needUpdate&&(o(),null!=e.$input&&(e.__helpInputEvent=e.$input(e.__helpInputDOM,u(e),e._contentArray)||{}))}));var a=!1;s.bind(this._el,"keyup",(function(e){"command"==h(e)&&(a=!1)})),s.bind(this._el,"keydown",(function(t){var n=h(t);if("command"==n&&(a=!0),a&&["a","c","x"].indexOf(n)>-1&&(n="ctrl+"+n),""!=e.__helpInputDOM.innerHTML){var r=e.__helpInputEvent[n];if(l(r)){if(!r())return}else e.__helpInputDOM.innerHTML=""}if(!(e._readonly&&["ctrl+a","ctrl+c"].indexOf(n)<0))switch(n){case"ctrl+a":e.__cursor1={leftNum:0,lineNum:0},e.__cursor2={lineNum:e._contentArray.length-1,leftNum:e._contentArray[e._contentArray.length-1].length},e.$$updateSelectView();break;case"ctrl+c":e.$$selectIsNotBlank()&&(s.copy(i()),e.__focusDOM.focus());break;case"ctrl+x":e.$$selectIsNotBlank()&&(s.copy(i()),e.__focusDOM.focus(),e.$$deleteSelect(),e.__formatData=e.$$diff(e.$shader(e._contentArray.join("\n"))),e.$$updateCursorPosition(),e.$$updateView(),e.$$cancelSelect(),e.__updated__());break;case"tab":s.stopPropagation(t),s.preventDefault(t);for(var c="",u=0;u<e._tabSpace;u++)c+=" ";if(e.$$selectIsNotBlank()){var f=e.__cursor1.lineNum,p=e.__cursor2.lineNum;f>p&&(f=e.__cursor2.lineNum,p=e.__cursor1.lineNum);for(var d=f;d<=p;d++)e._contentArray[d]=c+e._contentArray[d];e.__cursor1.leftNum+=e._tabSpace,e.__cursor2.leftNum+=e._tabSpace,e.__leftNum+=e._tabSpace,e.__formatData=e.$$diff(e.$shader(e._contentArray.join("\n"))),e.$$updateCursorPosition(),e.$$updateView(),e.$$updateCanvasSize(),e.$$updateSelectView(),e.__updated__()}else o(c);break;case"up":if(e.__lineNum<=0)return;e.__lineNum-=1,e.__leftNum=e.$$bestLeftNum(e.$$textWidth(e._contentArray[e.__lineNum+1].substr(0,e.__leftNum))+40),e.$$updateCursorPosition(),e.$$updateView(),e.$$cancelSelect(),e._el.scrollTop-=21;break;case"down":if(e.__lineNum>=e._contentArray.length-1)return;e.__lineNum+=1,e.__leftNum=e.$$bestLeftNum(e.$$textWidth(e._contentArray[e.__lineNum-1].substr(0,e.__leftNum))+40),e.$$updateCursorPosition(),e.$$updateView(),e.$$cancelSelect(),e._el.scrollTop+=21;break;case"left":if(e.__leftNum<=0){if(e.__lineNum<=0)return;e.__lineNum-=1,e.__leftNum=e._contentArray[e.__lineNum].length}else e.__leftNum-=1;e.$$updateCursorPosition(),e.$$cancelSelect();break;case"right":if(e.__leftNum>=e._contentArray[e.__lineNum].length){if(e.__lineNum>=e._contentArray.length-1)return;e.__lineNum+=1,e.__leftNum=0}else e.__leftNum+=1;e.$$updateCursorPosition(),e.$$cancelSelect();break;case"backspace":if(e.$$selectIsNotBlank())e.$$deleteSelect();else if(e.__leftNum<=0){if(e.__lineNum<=0)return;e.__lineNum-=1,e.__leftNum=e._contentArray[e.__lineNum].length,e._contentArray[e.__lineNum]+=e._contentArray[e.__lineNum+1],e._contentArray.splice(e.__lineNum+1,1)}else e.__leftNum-=1,e._contentArray[e.__lineNum]=e._contentArray[e.__lineNum].substring(0,e.__leftNum)+e._contentArray[e.__lineNum].substring(e.__leftNum+1);e.__formatData=e.$$diff(e.$shader(e._contentArray.join("\n"))),e.$$updateCursorPosition(),e.$$updateView(),e.$$cancelSelect(),e.__updated__()}}))},k.prototype.$$diff=function(e){var t=this.__formatData;if(t){for(var n=0,r=0;r<t.length&&r<e.length&&d(t[r],e[r]);r++)n+=1;for(var i=0,o=1;o<=t.length&&o<=e.length&&d(t[t.length-o],e[e.length-o]);o++)i+=1;var a=Math.min(t.length,e.length);n+i>=a&&(i=a-n-1)<0&&(i=0),this.__diff={beginNum:n,endNum:i}}return e},"object"===i(e)&&"object"===i(e.exports)?e.exports=k:window.OpenWebEditor=k}()}(t={exports:{}}),t.exports}(),$=function(e,t){l(t.type)&&t.type.length>0?e.getAttribute(t.type)!=t.value&&e.setAttribute(t.type,t.value):e.value==t.value&&e.textContent==t.value||(e.value=e.textContent=t.value)},O={inserted:$,update:$},E={inserted:function(e,t){for(var n=t.type.split("."),r={prevent:!1,stop:!1,once:!1},i=1;i<n.length;i++)r[n[i]]=!0;N(e,n[0],(function i(o){r.stop&&function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0}(o),r.prevent&&function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1}(o);var a,l,c,s=/^([^(]+)(\([^)]{0,}\)){0,1}/.exec(t.exp),u=[],f=[];if(s[2]){var p=s[2].replace(/^\(/,"").replace(/\)$/,"").trim();p.length>0&&(f=p.split(","))}for(var h=0;h<f.length;h++){var d=f[h];d=x(t.target,d),u.push(d)}u.push(o),t.target[s[1]].apply(t.target,u),r.once&&(a=e,l=n[0],c=i,window.detachEvent?a.detachEvent("on"+l,c):a.removeEventListener(l,c,!1))}))}},j={inserted:function(e,t){e.value=t.value,N(e,"input",(function(){!function(e,t,n,r){arguments.length<3&&(r={});for(var i=v(e,t,r),o=w(e,i,r),a=e,l=0;l<o.length-1;l++)o[l]in a||(a[o[l]]=s(a)?[]:{}),a=a[o[l]];a[o[o.length-1]]=n}(t.target,"."+t.exp,e.value)}))},update:function(e,t){e.value=t.value}},C={stopPropagation:function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0},preventDefault:function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1},isNode:function(e){return e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType)},bind:function(e,t,n){if(e.constructor!==Array&&e.constructor!==NodeList)window.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n,!1);else for(var r=0;r<e.length;r++)this.bind(e[r],t,n)},unbind:function(e,t,n){if(e.constructor!==Array&&e.constructor!==NodeList)window.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener(t,n,!1);else for(var r=0;r<e.length;r++)this.unbind(e[r],t,n)},find:function(e,t,n){if(!this.isNode(e))return[];for(var r=e.getElementsByTagName(n||"*"),i=[],o=0;o<r.length;o++)this.isNode(r[o])&&("function"!=typeof t||t(r[o]))&&i.push(r[o]);return i},children:function(e,t){for(var n=e.childNodes,r=[],i=0;i<n.length;i++)this.isNode(n[i])&&("function"!=typeof t||t(n[i]))&&r.push(n[i]);return r},hasClass:function(e,t,n){t.constructor!==Array&&(t=[t]);for(var r=" "+(e.getAttribute("class")||"")+" ",i=0;i<t.length;i++)if(r.indexOf(" "+t[i]+" ")>=0){if(n)return!0}else if(!n)return!1;return!0},removeClass:function(e,t){var n=(" "+(e.getAttribute("class")||"")+" ").replace(" "+t.trim()+" "," ");e.setAttribute("class",n.trim())},addClass:function(e,t){if(!this.hasClass(e,t)){var n=e.getAttribute("class")||"";e.setAttribute("class",n+" "+t)}},toNode:function(e,t){var n;(n=t?document.createElementNS("http://www.w3.org/2000/svg","svg"):document.createElement("div")).innerHTML=e;for(var r=n.childNodes,i=0;i<r.length;i++)if(this.isNode(r[i]))return r[i]},trigger:function(e,t){if(document.createEventObject)e.fireEvent("on"+t,document.createEventObject());else{var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!1),e.dispatchEvent(n)}},getStyle:function(e,t){var n=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null):e.currentStyle;return"string"==typeof t?n.getPropertyValue(t):n},offsetPosition:function(e){var t=0,n=0;for(n=e.offsetTop,t=e.offsetLeft,e=e.offsetParent;e;)n+=e.offsetTop,t+=e.offsetLeft,e=e.offsetParent;return{left:t,top:n}},mousePosition:function(e,t){var n=e.getBoundingClientRect();if(!t||!t.clientX)throw new Error("Event is necessary!");return{x:t.clientX-n.left,y:t.clientY-n.top}},remove:function(e){e.parentNode.removeChild(e)},setStyles:function(e,t){for(var n in t)e.style[n]=t[n]},size:function(e,t){var n,r;return"content"==t?(r=e.clientWidth-(this.getStyle(e,"padding-left")+"").replace("px","")-(this.getStyle(e,"padding-right")+"").replace("px",""),n=e.clientHeight-(this.getStyle(e,"padding-top")+"").replace("px","")-(this.getStyle(e,"padding-bottom")+"").replace("px","")):"padding"==t?(r=e.clientWidth,n=e.clientHeight):"border"==t?(r=e.offsetWidth,n=e.offsetHeight):"scroll"==t?(r=e.scrollWidth,n=e.scrollHeight):(r=e.offsetWidth,n=e.offsetHeight),{width:r,height:n}},append:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.appendChild(n),n},prepend:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.insertBefore(n,e.childNodes[0]),n},after:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.parentNode.insertBefore(n,e.nextSibling),n},before:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.parentNode.insertBefore(n,e),n}},S={inserted:function(e,t){var n=e.innerHTML.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"),i=new k({el:e,content:n,readonly:"editor"!=t.type,shader:[t.exp||"javascript",{insign:"#000000",css:{insign:"#000000"},javascript:{insign:"#000000"}}],color:{background:"rgb(239, 235, 234)",text:"#000000",number:"#888484",edit:"#eaeaf1",cursor:"#ff0000",select:"gray"},noLineNumber:!/\n/.test(n)}),o=C.prepend(e,'<span class="copy-btn" title="复制到剪切板">复制<span></span></span>');C.bind(o,"click",(function(){i.copy((function(){alert("复制成功")}),(function(e){console.log(e),alert("复制失败")}))})),C.setStyles(o,r({position:"absolute",right:"10px",top:"6px",border:"none",outline:0,padding:"4p 10p",transition:"0.2s","font-size":"12px",cursor:"pointer","z-index":1,"line-height":"20px","background-color":"#f8f8f8"},"padding","5px 10px")),e.__owe__=i}};!function(e){e.prototype.__directiveLib={},e.prototype.__componentLib={},e.prototype.__OpenWebEditor=k,e.__OpenWebEditor=k,function(e){e.directive=function(t,n){e.prototype.__directiveLib[t]=n},e.component=function(t,n){e.prototype.__componentLib[t]=n}}(e),function(e){e.use=function(t){t.install.call(t,e)}}(e)}(A),A.directive("qBind",O),A.directive("qOn",E),A.directive("qModel",j),A.directive("qCode",S),A.component("component",{name:"component",data:function(){return{is:null}},methods:{lister:function(e,t){if(t!=this.is&&null!=t){var n=this._oldComponent;n&&n.$$lifecycle("beforeDestroy"),this.is=t;var r=t;r.el=this._el,r.el._nodeName="Quick-Paper-COMPONENT",this._oldComponent=new e(r),this._el=this._oldComponent._el,n&&(n.$$lifecycle("destroyed"),n=null)}}}}),A.urlFormat=function(e){var t,n,r=e.split("?"),i=(r[0]+"#").split("#")[1].replace(/^\//,"").replace(/\/$/,"").split("/"),o=r[1]||"";return""==o?t={}:(n=o.split("&"),t={},n.forEach((function(e){var n=e.split("=");t[n[0]]=n[1]}))),{router:""==i[0]?[]:i,params:t}},A.prototype.$$mount=function(){if(!c(this._options.render))throw new Error("options.render needs to be a function");this.$$render=this._options.render,this.$$mountComponent()},"object"===i(e)&&"object"===i(e.exports)?e.exports=A:window.QuickPaper=A}()}).call(this,n(6)(e))},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];null!=o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){"use strict";function r(e,t,n){var r=document.createElement("style"),i=document.head||document.getElementsByTagName("head")[0],o="";for(u=0;u<t.length;u++)o+="\n/* "+t[u][0]+" */\n",o+=t[u][1]+"\n\n";if(n){o=(o=o.replace(/( {0,}){/g,"{")).replace(/( {0,}),/g,",");for(var a="",l=!1,c=!1,s=!1,u=0;u<o.length;u++)":"!=o[u]||l||s||c?"{"!=o[u]||l?"}"!=o[u]||l?"/"==o[u]&&"*"==o[u+1]?l=!0:"*"==o[u]&&"/"==o[u+1]?l=!1:","!=o[u]||l||c||(s||(a+="["+e+"]"),s=!1):(c=!1,s=!1):(c=!0,s||(a+="["+e+"]")):(s=!0,a+="["+e+"]"),a+=o[u];o=a}r.innerHTML=o,r.setAttribute("type","text/css"),i.appendChild(r)}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t,n){"use strict";
  /*!
   * 💡 - 提供常用的DOM操作方法
   * https://github.com/hai2007/tool.js/blob/master/xhtml.js
   *
   * author hai2007 < https://hai2007.gitee.io/sweethome >
   *
   * Copyright (c) 2021-present hai2007 走一步，再走一步。
   * Released under the MIT license
   */var r="http://www.w3.org/2000/svg";t.a={stopPropagation:function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0},preventDefault:function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1},isNode:function(e){return e&&(1===e.nodeType||9===e.nodeType||11===e.nodeType)},bind:function(e,t,n){if(e.constructor!==Array&&e.constructor!==NodeList&&e.constructor!==HTMLCollection)window.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n,!1);else for(var r=0;r<e.length;r++)this.bind(e[r],t,n)},unbind:function(e,t,n){if(e.constructor!==Array&&e.constructor!==NodeList&&e.constructor!==HTMLCollection)window.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener(t,n,!1);else for(var r=0;r<e.length;r++)this.unbind(e[r],t,n)},find:function(e,t,n){if(!this.isNode(e))return[];for(var r=e.getElementsByTagName(n||"*"),i=[],o=0;o<r.length;o++)this.isNode(r[o])&&("function"!=typeof t||t(r[o]))&&i.push(r[o]);return i},children:function(e,t){for(var n=e.childNodes,r=[],i=0;i<n.length;i++)this.isNode(n[i])&&("function"!=typeof t||t(n[i]))&&r.push(n[i]);return r},hasClass:function(e,t,n){t.constructor!==Array&&(t=[t]);for(var r=" "+(e.getAttribute("class")||"")+" ",i=0;i<t.length;i++)if(r.indexOf(" "+t[i]+" ")>=0){if(n)return!0}else if(!n)return!1;return!0},removeClass:function(e,t){var n=(" "+(e.getAttribute("class")||"")+" ").replace(" "+t.trim()+" "," ");e.setAttribute("class",n.trim())},addClass:function(e,t){if(!this.hasClass(e,t)){var n=e.getAttribute("class")||"";e.setAttribute("class",n+" "+t)}},toNode:function(e,t){var n;(n=t?document.createElementNS(r,"svg"):document.createElement("div")).innerHTML=e;for(var i=n.childNodes,o=0;o<i.length;o++)if(this.isNode(i[o]))return i[o]},trigger:function(e,t){if(document.createEventObject)e.fireEvent("on"+t,document.createEventObject());else{var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!1),e.dispatchEvent(n)}},getStyle:function(e,t){var n=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null):e.currentStyle;return"string"==typeof t?n.getPropertyValue(t):n},offsetPosition:function(e){var t=0,n=0;for(n=e.offsetTop,t=e.offsetLeft,e=e.offsetParent;e;)n+=e.offsetTop,t+=e.offsetLeft,e=e.offsetParent;return{left:t,top:n}},mousePosition:function(e,t){var n=e.getBoundingClientRect();if(!t||!t.clientX)throw new Error("Event is necessary!");return{x:t.clientX-n.left,y:t.clientY-n.top}},remove:function(e){e.parentNode.removeChild(e)},setStyles:function(e,t){for(var n in t)e.style[n]=t[n]},size:function(e,t){var n,r;return"content"==t?(r=e.clientWidth-(this.getStyle(e,"padding-left")+"").replace("px","")-(this.getStyle(e,"padding-right")+"").replace("px",""),n=e.clientHeight-(this.getStyle(e,"padding-top")+"").replace("px","")-(this.getStyle(e,"padding-bottom")+"").replace("px","")):"padding"==t?(r=e.clientWidth,n=e.clientHeight):"border"==t?(r=e.offsetWidth,n=e.offsetHeight):"scroll"==t?(r=e.scrollWidth,n=e.scrollHeight):(r=e.offsetWidth,n=e.offsetHeight),{width:r,height:n}},append:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.appendChild(n),n},prepend:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.insertBefore(n,e.childNodes[0]),n},after:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.parentNode.insertBefore(n,e.nextSibling),n},before:function(e,t){var n=this.isNode(t)?t:this.toNode(t);return e.parentNode.insertBefore(n,e),n}}},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("The current environment is not known!")}();t.a=n}).call(this,n(9))},function(e,t,n){"use strict";e.exports=function(e,t){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)||t?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){e.exports=n.p+"dist/clunch.png"},function(e,t,n){e.exports=n(24)},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(11);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-29e77684",r,!0)},function(e,t,n){t=e.exports=n(1)(!1);var r=n(5),i=r(n(7)),o=r(n(12)),a=r(n(13));t.push([e.i,"\n #root-view{\n\nheight: 100vh;\n\noverflow: auto;\n\n}\n\n article>nav{\n\nline-height: .44rem;\n\nheight: .44rem;\n\nbackground-color: #fff;\n\nbox-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;\n\nfont-size: 0.2rem;\n\nbackground-image: url("+i+');\n\nbackground-position: .2rem center;\n\nbackground-size: 0.3rem auto;\n\nbackground-repeat: no-repeat;\n\ncolor: #2396b9;\n\npadding-left: .5rem;\n\nposition: fixed;\n\nmin-width: 100vw;\n\ntop: 0;\n\nz-index: 2;\n\n}\n\n article>div{\n\npadding-top: .44rem;\n\n}\n\n article>p{\n\nposition: fixed;\n\nwidth: 100vw;\n\nheight: 100vh;\n\nleft: 0;\n\ntop: 0;\n\ndisplay: none;\n\nz-index: 1;\n\nbackground-color: #b2b2c2;\n\nopacity: 0.9;\n\n}\n\n article>nav>span{\n\npadding-left: .1rem;\n\n}\n\n article>nav>ul{\n\ndisplay: inline-block;\n\nposition: absolute;\n\nright: .3rem;\n\ntop: 0;\n\n}\n\n article>nav>ul>li, article>nav>ul>li>a{\n\ncolor: #030303;\n\n}\n\n article>nav>ul>li.select{\n\nmargin-right: 20px;\n\nwhite-space: nowrap;\n\n}\n\n article>nav>ul>li.select>i::after{\n\ndisplay: inline-block;\n\nvertical-align: middle;\n\nmargin-top: -1px;\n\nmargin-left: 6px;\n\nmargin-right: -14px;\n\nwidth: 0;\n\nheight: 0;\n\nborder-left: 4px solid transparent;\n\nborder-right: 4px solid transparent;\n\nborder-top: 5px solid #4f5959;\n\ncontent: " ";\n\n}\n\n article>nav>ul>li.select>i{\n\nfont-style:normal;\n\n}\n\n article>nav>ul>li.select:hover>div{\n\ndisplay: block;\n\n}\n\n article>nav>ul>li.select{\n\nposition: relative;\n\n}\n\n article>nav>ul>li.select>div{\n\ndisplay: none;\n\nposition: absolute;\n\nbox-shadow: 1px 1px 6px 0px #858889;\n\npadding: 10px 20px;\n\ntop: 40px;\n\nright: 0px;\n\nbackground-color: white;\n\nline-height: 2em;\n\ncursor: default;\n\n}\n\n article>nav>ul>li.select>div>a{\n\ndisplay: block;\n\ncolor: black;\n\nfont-weight: 200;\n\n}\n\n article>nav>ul>li.select>div>a:hover{\n\ntext-decoration: underline;\n\n}\n\n article>nav>ul>li.select>div>h2{\n\nfont-size: 14px;\n\nmargin-top: 10px;\n\n}\n\n article>nav>ul>li>a{\n\nposition: relative;\n\nmargin-right: 20px;\n\n}\n\n article>nav>ul>li>a::after{\n\nposition: absolute;\n\nbackground-image: url('+o+");\n\nbackground-repeat: no-repeat;\n\ncontent: \" \";\n\ndisplay: inline-block;\n\nwidth: 11px;\n\nheight: 11px;\n\ntop: 3px;\n\nright: -16px;\n\n}\n\n article>nav>ul>li{\n\nvertical-align: top;\n\ndisplay: inline-block;\n\npadding: 0 0.05rem;\n\nfont-size: 0.12rem;\n\nmargin: 0 0.05rem;\n\ncursor: pointer;\n\nfont-weight: bold;\n\nheight: 100%;\n\n-webkit-user-select: none;\n\n   -moz-user-select: none;\n\n    -ms-user-select: none;\n\n        user-select: none;\n\n}\n\n article>nav>ul>li[active='yes']{\n\ncolor: #2396b9;\n\nborder-bottom: 3px solid red;\n\n}\n\n article>nav>ul>li.git-url{\n\nbackground-image: url("+a+");\n\nfont-size: 0;\n\nwidth: 1rem;\n\nbackground-size: 90% auto;\n\nbackground-repeat: no-repeat;\n\nbackground-position: center center;\n\n}\n\n div.footer{\n\ntext-align: center;\n\nbackground-color: #fafafa;\n\nborder-top: 1px solid #d3d0d0;\n\nline-height: 2em;\n\npadding: .2rem 0;\n\nfont-size: .14rem;\n\n}\n\n div.footer a{\n\npadding: 0 .05rem;\n\ntext-decoration: underline;\n\n}\n\n div.footer a:hover{\n\nfont-weight: 800;\n\ncolor: rgb(3, 132, 245);\n\n}\n",""])},function(e,t){e.exports="data:image/png;base64,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"},function(e,t,n){e.exports=n.p+"dist/github.png"},function(e,t,n){var r=n(15);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-12ddbf8e",r,!1)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,"/*!\n * 👁️ - 统一不同浏览器的基础样式\n * https://github.com/hai2007/style.css/blob/master/normalize.css\n *\n * author hai2007 < https://hai2007.gitee.io/sweethome >\n *\n * Copyright (c) 2020-present hai2007 走一步，再走一步。\n * Released under the MIT license\n */\n\nhtml {\n    /* 防止iPhone在坚屏转向横屏时放大文字 */\n    -ms-text-size-adjust: 100%;\n    -webkit-text-size-adjust: 100%;\n    /* 统一行高 */\n    line-height: 1.15;\n}\n\nbutton,\ninput {\n    /* 兼容部分手机下border不显示问题 */\n    border: 1px solid #b2b2bd;\n}\n\narticle,\nfooter,\nheader,\nnav,\nsection {\n    /* 修正旧浏览器未定义的块级元素 */\n    display: block;\n}\n\ncanvas,\nsvg {\n    /* 修正旧浏览器未定义的行内块元素 */\n    display: inline-block;\n}\n\n* {\n    /* 统一不同浏览器盒子尺寸计算方法 */\n    box-sizing: border-box;\n}\n\n::-ms-clear,\n::-ms-reveal {\n    /* 去掉IE浏览器输入框叉叉和眼睛 */\n    display: none;\n}\n\nimg {\n    /* 针对火狐浏览器在img标签没有src时候的差异修复 */\n    display: inline-block;\n}\n\nhtml {\n    /* 设置默认字体为统一的安全字体 */\n    font-family: sans-serif;\n}\n\na {\n    /* 默认去掉下划线 */\n    text-decoration: none;\n}\n\nli {\n    /* 去掉前置索引 */\n    list-style-type: none;\n}\n\nul,\nol,\nli,\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n    /* 去掉不喜欢的间距 */\n    -webkit-margin-before: 0;\n    -webkit-margin-after: 0;\n    -webkit-padding-start: 0;\n    /* 去掉不喜欢的间距，针对火狐浏览器等 */\n    margin-block-end: 0;\n    margin-block-start: 0;\n    padding-inline-start: 0;\n    /* 修改IE和其它浏览器不一致问题 */\n    padding: 0;\n    margin: 0;\n}\n\nbody {\n    /* 去掉默认的8px */\n    margin: 0;\n}\n\ntable {\n    /* 设置默认表格边框合并为一个单一的边框 */\n    border-collapse: collapse;\n}\n",""])},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-17ac4787",r,!1)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,"html {\n    font-size: 100px;\n}\n\nbody {\n    font-size: .16rem;\n}\n\n/* 底部切页 */\ndiv.bottom-link {\n    width: 100%;\n    margin-top: 50px;\n}\n\ndiv.bottom-link>a {\n    width: 50%;\n    display: inline-block;\n    padding: 10px;\n}\n\ndiv.bottom-link>a.left {\n    text-align: left;\n}\n\ndiv.bottom-link>a.right {\n    text-align: right;\n}\n\n\n/* webkit下滚动条样式 */\n\n::-webkit-scrollbar {\n    width: 0;\n    height: 0;\n    background-color: #eee;\n}\n\n::-webkit-scrollbar-thumb {\n    height: .3rem;\n    background-color: #2396b9;\n    border-radius: .05rem;\n}\n\n/* IE浏览器下 */\n\n* {\n    /*三角箭头的颜色*/\n    scrollbar-arrow-color: #2396b9;\n    /*滚动条滑块按钮的颜色*/\n    scrollbar-face-color: #eeeeee;\n    /*滚动条整体颜色*/\n    scrollbar-highlight-color: #fff;\n    /*滚动条阴影*/\n    scrollbar-shadow-color: #ccc;\n    /*滚动条轨道颜色*/\n    scrollbar-track-color: #fff;\n}\n",""])},function(e,t,n){var r=n(19);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-548e6fce",r,!1)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'.doc-view {\n    width: 7rem;\n    margin: auto;\n    padding: .3rem 0;\n}\n\n.doc-view>header {\n    font-size: .3rem;\n    padding: .3rem 0 .2rem 0;\n}\n\n.doc-view>h1 {\n    font-size: .18rem;\n    line-height: 2em;\n    margin-top: .2rem;\n}\n\n.sub-title {\n    color: #555;\n    font-size: .8em;\n    margin: .1em .3em;\n}\n\n.doc-view>h1::before {\n    content: "#";\n    color: #2396b9;\n    margin-right: .05rem;\n}\n\n\n.doc-view>h2 {\n    font-size: .16rem;\n    border-bottom: 1px solid gray;\n    padding: .1rem 0;\n    margin-top: .3rem;\n    color: rgb(83, 81, 81);\n    font-weight: 400;\n}\n\n.doc-view>h3 {\n    font-size: .16rem;\n    line-height: 2em;\n    margin-top: .2rem;\n}\n\n.doc-view>h4 {\n    font-size: .15rem;\n    line-height: 2em;\n    margin-top: .2rem;\n    padding-left: 1em;\n    color: #060606;\n}\n\n.doc-view>span.no-menu-title {\n    padding: .1rem;\n    display: block;\n    color: rgb(12, 12, 12);\n    font-weight: 800;\n}\n\n\n.doc-view>p {\n    line-height: 1.6em;\n    text-indent: 2em;\n    color: rgb(60, 57, 57);\n    font-weight: 400;\n    font-size: .14rem;\n    margin: .1rem 0;\n}\n\n.doc-view .important {\n    color: red;\n    font-weight: 800;\n    padding: 0 2px;\n}\n\n.doc-view .public {\n    color: #dac305;\n    font-weight: 800;\n    padding: 0 2px;\n}\n\n.doc-view .url {\n    text-decoration: underline;\n    color: rgb(2, 141, 2);\n}\n\n.doc-view .warn {\n    color: #030303;\n    font-weight: 800;\n    padding: 0 2px;\n    font-size: 12px;\n}\n\n.doc-view a {\n    color: #2396b9;\n    font-weight: 800;\n    text-decoration: underline;\n    padding: 0 2px;\n}\n\n.doc-view>div {\n    position: relative;\n}\n\n.doc-view>div>pre {\n    font-family: cursive;\n    font-weight: 400;\n    font-size: 0.14rem;\n    padding: .15rem .2rem;\n    line-height: 1.6em;\n}\n\n\n.doc-view>ul {\n    margin-left: .5rem;\n}\n\n.doc-view>ul li {\n    list-style-type: disc;\n    line-height: 2em;\n    font-size: .13rem;\n    color: #000000;\n}\n\n.beta {\n    position: relative;\n}\n\n.beta::after {\n    content: "beta";\n    background: red;\n    color: white;\n    font-size: 12px;\n    padding: 0 5px;\n    position: absolute;\n    display: inline-block;\n    height: 1.5em;\n    line-height: 1.5em;\n}\n',""])},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-2c7d64da",r,!1)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,"div.menu-view {\n    overflow: hidden;\n    height: calc(100vh - 0.44rem);\n    white-space: nowrap;\n}\n\ndiv.menu-view>div {\n    height:calc(100vh - 0.44rem);\n    overflow: auto;\n    display: inline-block;\n    vertical-align: top;\n    white-space: normal;\n}\n\n\ndiv.menu-view>div:first-child {\n    width: 2.8rem;\n    padding: .2rem;\n}\n\ndiv.menu-view>div:first-child h3,\ndiv.menu-view>div:first-child h4,\ndiv.menu-view>div:first-child h5 {\n    font-weight: 400;\n    font-size: .14rem;\n    color: #304455;\n    cursor: pointer;\n    display: inline-block;\n    margin: .07rem 0;\n    height: 1.2em;\n    color: #304455;\n}\n\ndiv.menu-view>div:first-child h3:hover,\ndiv.menu-view>div:first-child h4:hover,\ndiv.menu-view>div:first-child h5:hover {\n    border-bottom: 2px solid #2396b9;\n}\n\n\ndiv.menu-view>div:first-child h3[active='yes'] {\n    color: #2396b9;\n    font-weight: 800;\n    border-bottom: 2px solid #2396b9;\n}\n\ndiv.menu-view>div:first-child h3[active='yes']~ul {\n    display: block;\n}\n\n\ndiv.menu-view>div:first-child h3~ul {\n    display: none;\n}\n\ndiv.menu-view>div:first-child h2 {\n    padding: 10px 0;\n    font-size: .16rem;\n}\n\ndiv.menu-view>div:first-child li {\n    margin-left: 1em;\n}\n\n\ndiv.menu-view>div:last-child {\n    width: calc(100vw - 2.8rem);\n}\n",""])},function(e,t,n){var r=n(23);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(2).default)("data-quickpaper-4c5e71db",r,!1)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".code-view {\n    white-space: nowrap;\n}\n\n.code-view>div {\n    display: inline-block;\n    vertical-align: top;\n    white-space: normal;\n}\n\n.code-view>.code {\n    width: 40%;\n}\n\n.code-view>.code>pre {\n    margin: 0;\n    height: calc(50vh - 22px);\n    outline: 3px solid rgb(255, 255, 255);\n}\n\n.code-view>.view {\n    width: 60%;\n    line-height: calc(100vh - 44px);\n    height: calc(100vh - 44px);\n    text-align: center;\n    font-size: 50px;\n    color: gray;\n}\n",""])},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),o=n(4),a=function(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)},l=Object.prototype.toString,c=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l.call(e)},s=a,u=function(e){if(!a(e))return!1;var t=c(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t},f=function(e){return Array.isArray(e)};
  /*!
   * ✔️ - Promise
   * https://github.com/hai2007/polyfill.js/blob/master/Promise.js
   *
   * author hai2007 < https://hai2007.gitee.io/sweethome >
   *
   * Copyright (c) 2021-present hai2007 走一步，再走一步。
   * Released under the MIT license
   */
  function p(e){if(!(this instanceof p))throw new TypeError("undefined is not a promise");if(!u(e))throw new TypeError("Promise resolver "+e+" is not a function");this.__value=void 0,this.__hocks=[],this.__state="pending",function(e,t){var n=!1;try{e((function(e){n||(n=!0,t.$$changeState(e,"fulfilled"))}),(function(e){n||(n=!0,t.$$changeState(e,"rejected"))}))}catch(e){if(n)return;n=!0,t.$$changeState(e,"rejected")}}(e,this)}p.prototype.$$changeState=function(e,t){this.__state=t,this.__value=e,this.$$triggerEvent()},p.prototype.$$triggerEvent=function(){for(var e=null,t="fulfilled"==this.__state?0:1;this.__hocks.length>0;){if(u(this.__hocks[0][t])){e=this.__hocks.shift();break}u(this.__hocks[0][2])&&this.__hocks[0][2](),this.__hocks.shift()}if(null!==e){var n=e[t](this.__value);if(s(n)&&n.constructor===this.constructor){for(var r=0;r<this.__hocks.length;r++)n.__hocks.push(this.__hocks[r]),"pending"!=n.__state&&n.$$triggerEvent();this.then=function(e,t){n.then(e,t)},this.catch=function(e){n.catch(e)},this.finally=function(e){n.finally(e)}}else this.__value=n,this.__state="fulfilled",this.$$triggerEvent()}},p.prototype.then=function(e,t){return this.__hocks.push([e,t,void 0]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.prototype.catch=function(e){return this.__hocks.push([void 0,e,void 0]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.prototype.finally=function(e){return this.__hocks.push([void 0,void 0,e]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.resolve=function(e){return s(e)&&e.constructor===p?e:new p((function(t){t(e)}))},p.reject=function(e){return new p((function(t,n){n(e)}))},p.all=function(e){return new p((function(t,n){if(!f(e))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e),i=0;0==r.length&&t([]);for(var o=function(e,a){"pending"!==a.__state?(i+=1,"rejected"==a.__state?n(a.__value):(r[e]=a.__value,i==r.length&&t(r))):setTimeout((function(){o(e,a)}))},a=0;a<r.length;a++)o(a,r[a])}))},p.allSettled=function(e){return new p((function(t,n){if(!f(e))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(e),i=0;0==r.length&&t([]);for(var o=function(e,n){"pending"!==n.__state?(i+=1,r[e]={status:n.__state},"fulfilled"==n.__state?r[e].value=n.__value:r[e].reason=n.__value,i==r.length&&t(r)):setTimeout((function(){o(e,n)}))},a=0;a<r.length;a++)o(a,r[a])}))},p.any=function(e){return new p((function(t,n){if(!f(e))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=0;0==e.length&&t(void 0);for(var i=function(o,a){if("pending"!==a.__state)if(r+=1,"rejected"==a.__state){if(r==e.length)return n(new Error("All promises were rejected"))}else t(a.__value);else setTimeout((function(){i(o,a)}))},o=0;o<e.length;o++)i(o,e[o])}))},p.race=function(e){return new p((function(t,n){if(!f(e))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));0==e.length&&t(void 0);for(var r=function(e,i){"pending"!==i.__state?"rejected"==i.__state?n(i.__value):t(i.__value):setTimeout((function(){r(e,i)}))},i=0;i<e.length;i++)r(i,e[i])}))},"Promise"in o.a||(o.a.Promise=p);var h={data:function(){return{page:null}},mounted:function(){var e=this;this.loadRouter((function(t){return e.page=t}),1)},methods:{openRouter:function(e){var t=this;window.clunch_noRefresh=!0,this.goRouter((function(e){return t.page=e}),[e])}}};n(10);h.render=function(e){return e("div",{id:"root-view",quickpaper:"","data-quickpaper-29e77684":""},[e("article",{"data-quickpaper-29e77684":""},[e("nav",{id:"main-nav","data-quickpaper-29e77684":""},[e("span",{title:"提供更友好的数据可视化解决方案","data-quickpaper-29e77684":""},["clunch.js"]),e("ul",{"data-quickpaper-29e77684":""},[e("li",{title:"首页说明","@click":'openRouter("guide")',class:"menu-1 guide","data-quickpaper-29e77684":""},["首页"]),e("li",{title:"所有对外稳定的接口的说明文档","@click":'openRouter("api")',class:"menu-1 api","data-quickpaper-29e77684":""},["接口文档"]),e("li",{title:"带你一步步学习使用","@click":'openRouter("course")',class:"menu-1 course","data-quickpaper-29e77684":""},["教程"]),e("li",{title:"使用中经常遇到的问题或疑惑","@click":'openRouter("qa")',class:"menu-1 qa","data-quickpaper-29e77684":""},["常见问题"]),e("li",{class:"select","data-quickpaper-29e77684":""},[e("i",{"data-quickpaper-29e77684":""},["更多内容"]),e("div",{"data-quickpaper-29e77684":""},[e("h2",{"data-quickpaper-29e77684":""},["交流"]),e("a",{href:"https://clunch-contrib.github.io/community/",title:"你可以获得更多关于绘图的相关信息",target:"_blank","data-quickpaper-29e77684":""},["开发者社区"]),e("h2",{"data-quickpaper-29e77684":""},["绘图相关库"]),e("a",{href:"https://hai2007.gitee.io/image2d/",title:"💯 🍇 🌴💪 使用ECMAScript绘制二维图片。📊📈🎉Drawing Two-Dimensional Pictures Using ECMAScript.🚨 🙌",target:"_blank","data-quickpaper-29e77684":""},["image2D.js"]),e("a",{href:"https://hai2007.gitee.io/image3d/",title:"🍊 使用webGL绘制三维图片。📊📈🎉Drawing three-dimensional images using webGL.",target:"_blank","data-quickpaper-29e77684":""},["image3D.js"]),e("a",{href:"https://hai2007.github.io/cross-end-canvas/",title:"🦎 🎨 提供跨端的canvas画笔，保持一致的绘图方法和效果，包括普通的web端、uniapp框架、微信小程序等小程序等。",target:"_blank","data-quickpaper-29e77684":""},["Cross End Canvas"]),e("h2",{"data-quickpaper-29e77684":""},["快速开发"]),e("a",{href:"https://clunch-contrib.github.io/chart/",title:"一个比 Apache ECharts 更简单的开源可视化图表库",target:"_blank","data-quickpaper-29e77684":""},["Plain-Chart"]),e("h2",{"data-quickpaper-29e77684":""},["扩展&插件"]),e("a",{href:"https://github.com/clunch-contrib/Clunch-Browser-Extensions",title:"clunch在浏览器中的扩展插件",target:"_blank","data-quickpaper-29e77684":""},["Clunch Browser Extensions"]),e("a",{href:"https://github.com/clunch-contrib/clunch-language-vscode",title:"为vscode开发的.clunch文件扩展插件",target:"_blank","data-quickpaper-29e77684":""},["Clunch Language VSCode"]),e("h2",{"data-quickpaper-29e77684":""},["底层依赖"]),e("a",{href:"https://hai2007.github.io/algorithm.js/",title:"🔪 一些前端常用的算法实现合集。",target:"_blank","data-quickpaper-29e77684":""},["@hai2007/algorithm"]),e("a",{href:"https://hai2007.github.io/tool.js/",title:"💡 前端常用的工具类方法汇总。",target:"_blank","data-quickpaper-29e77684":""},["@hai2007/tool"])])]),e("li",{title:"issue","data-quickpaper-29e77684":""},[e("a",{href:"https://github.com/hai2007/clunch/issues",target:"_blank","data-quickpaper-29e77684":""},["联系我们"])]),e("li",{onclick:"window.location.href='https://github.com/hai2007/clunch'",class:"git-url",title:"clunch.js 源码","data-quickpaper-29e77684":""},["Fork-me-on-Github"]),e("li",{title:"Sponsors","data-quickpaper-29e77684":""},[e("a",{href:"https://hai2007.gitee.io/sweethome/#/Sponsors",target:"_blank","data-quickpaper-29e77684":""},["支持我们"])])])]),e("div",{id:"main-content","data-quickpaper-29e77684":""},[e("component",{":is":"page","data-quickpaper-29e77684":""},[])])]),e("div",{class:"footer","data-quickpaper-29e77684":""},["Copyright © 2018-2021",e("a",{href:"https://hai2007.gitee.io/sweethome/",target:"_blank","data-quickpaper-29e77684":""},["hai2007 走一步，再走一步。"]),"All rights reserved.",e("br",{"data-quickpaper-29e77684":""},[]),"本项目由“你好2007”设计、开发和维护"])])};var d=h,_=(n(14),n(16),n(18),n(20),n(22),{guide:{content:function(){return n.e(2).then(n.bind(null,93))}},api:{content:function(){return n.e(10).then(n.bind(null,94))},object:{content:function(){return n.e(5).then(n.bind(null,95))}},series:{content:function(){return n.e(7).then(n.bind(null,96))}},painter:{content:function(){return n.e(6).then(n.bind(null,97))}},directive:{content:function(){return n.e(4).then(n.bind(null,98))}},service:{content:function(){return n.e(8).then(n.bind(null,99))}},"series-list":{content:function(){return n.e(11).then(n.bind(null,100))}},"series-reuse":{content:function(){return n.e(12).then(n.bind(null,101))}},"enhance-platform":{content:function(){return n.e(9).then(n.bind(null,102))}},_default_:"object"},course:{content:function(){return n.e(15).then(n.bind(null,103))},author:{content:function(){return n.e(13).then(n.bind(null,104))}},install:{content:function(){return n.e(16).then(n.bind(null,105))}},introduce:{content:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,89))}},event:{content:function(){return Promise.all([n.e(0),n.e(14)]).then(n.bind(null,90))}},series:{content:function(){return Promise.all([n.e(0),n.e(18)]).then(n.bind(null,91))}},_default_:"introduce"},qa:{content:function(){return n.e(3).then(n.bind(null,106))}},examples:{content:function(){return n.e(23).then(n.bind(null,107))},"Data-Driven-Drawing":{content:function(){return Promise.all([n.e(0),n.e(21)]).then(n.bind(null,87))}},"Regional-Management":{content:function(){return Promise.all([n.e(0),n.e(19)]).then(n.bind(null,88))}},"Transition-Animation":{content:function(){return Promise.all([n.e(0),n.e(22)]).then(n.bind(null,92))}},_default_:"menu"},_default_:"guide"}),g=function(e){return e?e.content():n.e(20).then(n.bind(null,108))};var v=function(e,t){t.value==t.type?e.setAttribute("isactive","yes"):e.setAttribute("isactive","no")};i.a.directive("uiActive",{inserted:v,update:v});var m=n(3),b={arc:function(){return n.e(24).then(n.bind(null,78))},circle:function(){return n.e(25).then(n.bind(null,79))},path:function(){return n.e(28).then(n.bind(null,80))},rect:function(){return n.e(30).then(n.bind(null,81))},text:function(){return n.e(32).then(n.bind(null,82))},ruler:function(){return n.e(31).then(n.bind(null,83))},"polar-ruler":function(){return n.e(29).then(n.bind(null,84))},hover:function(){return n.e(27).then(n.bind(null,85))},"hover-enhance":function(){return n.e(26).then(n.bind(null,86))}};i.a.directive("uiGotoExample",{inserted:function(e,t){m.a.setStyles(e,{margin:"10px 30px",background:"red",color:"white",padding:"5px 10px",border:"none",outline:"none",cursor:"pointer"}),m.a.bind(e,"click",(function(){b[t.exp]().then((function(e){localStorage.setItem("hai2007-sweethome-editor-html-code",e.default),m.a.toNode('<a target="_blank" href="/sweethome/#/editor">打开在线代码演示页面</a>').click()}))}))}}),i.a.prototype.loadRouter=function(e,t){for(var n=(window.location.href+"#").split("#")[1].replace(/\?.{0,}$/,"").replace(/^\//,"").replace(/\/$/,"").split("/"),r=_,i=0;i<t;i++)r=r[n[i]]||r[r._default_];g(r).then((function(t){e(t.default)}))},i.a.prototype.goRouter=function(e,t){for(var n=_,r="#",i=0;i<t.length;i++)n=n[t[i]]||n[n._default_],r+="/"+t[i];g(n).then((function(t){e(t.default)})),window.location.href=r},i.a.prototype.reloadPage=function(e){window.clunch_noRefresh=!0,window.location.href=e,setTimeout((function(){window.location.reload()}))},window.addEventListener&&window.addEventListener("popstate",(function(e){setTimeout((function(){window.clunch_noRefresh?window.clunch_noRefresh=!1:window.location.reload()}))}),!1),window.quickPaper=new i.a({el:document.getElementById("root"),render:function(e){return e(d)}})}]);