text: !function(t){function e(e){for(var n,i,o=e[0],a=e[1],c=0,l=[];c<o.length;c++)i=o[c],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&l.push(r[i][0]),r[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(s&&s(e);l.length;)l.shift()()}var n={},r={0:0};function i(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var o=new Promise((function(e,i){n=r[t]=[e,i]}));e.push(n[2]=o);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(t){return i.p+"dist/tool-doc@v0.1.0-bundle"+({}[t]||t)+".js"}(t);var s=new Error;a=function(e){c.onerror=c.onload=null,clearTimeout(l);var n=r[t];if(0!==n){if(n){var i=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}r[t]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(e)},i.m=t,i.c=n,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i.oe=function(t){throw console.error(t),t};var o=window.webpackJsonp=window.webpackJsonp||[],a=o.push.bind(o);o.push=e,o=o.slice();for(var c=0;c<o.length;c++)e(o[c]);var s=a;i(i.s=7)}([function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"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(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];null!=o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];null!=a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){"use strict";function r(t,e,n){var r=document.createElement("style"),i=document.head||document.getElementsByTagName("head")[0],o="";for(u=0;u<e.length;u++)o+="\n/* "+e[u][0]+" */\n",o+=e[u][1]+"\n\n";if(n){o=(o=o.replace(/( {0,}){/g,"{")).replace(/( {0,}),/g,",");for(var a="",c=!1,s=!1,l=!1,u=0;u<o.length;u++)":"!=o[u]||c||l||s?"{"!=o[u]||c?"}"!=o[u]||c?"/"==o[u]&&"*"==o[u+1]?c=!0:"*"==o[u]&&"/"==o[u+1]?c=!1:","!=o[u]||c||s||(l||(a+="["+t+"]"),l=!1):(s=!1,l=!1):(s=!0,l||(a+="["+t+"]")):(l=!0,a+="["+t+"]"),a+=o[u];o=a}r.innerHTML=o,r.setAttribute("type","text/css"),i.appendChild(r)}n.r(e),n.d(e,"default",(function(){return r}))},function(t,e,n){"use strict";(function(t){function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){r(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
  /*!
  * quick-paper v1.0.0
  * (c) 2019-2021 你好2007 git+https://github.com/hai2007/quick-paper.git
  * License: MIT
  */!function(){var e=Object.prototype.toString;function r(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":e.call(t)}var o=function(t,e){return null!==e&&"object"===i(e)&&t.indexOf(e.nodeType)>-1&&!function(t){if(null===t||"object"!==i(t)||"[object Object]"!=r(t))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(e)},a=function(t){var e=i(t);return"string"===e||"object"===e&&null!=t&&!Array.isArray(t)&&"[object String]"===r(t)},c=function(t){if(!function(t){var e=i(t);return null!=t&&("object"===e||"function"===e)}(t))return!1;var e=r(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object Proxy]"===e},s=function(t){return Array.isArray(t)};function l(t){/^[_$]/.test(t)&&console.error("The beginning of _ or $ is not allowed："+t)}var u=1;function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r={},i=[];if(!a(t))return{type:"component",options:t,attrs:{},children:[]};for(var o in e)/^@/.test(o)?r[o.replace(/^@/,"q-on:")]=e[o]:/^:/.test(o)?r["q-bind"+o]=e[o]:r[o]=e[o];for(var c,s=0;s<n.length;s++)c=n[s],a(c)?/\{\{[^}]+\}\}/.test(c)?i.push({type:"bindText",content:('" '+c+' "').replace(/\{\{([^}]+)\}\}/g,'"+$1+"')}):i.push({type:"text",content:c}):i.push(c);return{type:"none",tagName:t,attrs:r,children:i}}function p(t){for(var e=(t+"").toLowerCase(),n=(t+"").toUpperCase(),r="",i=!1,o=0;o<t.length;o++)"-"!=t[o]?i?(r+=n[o],i=!1):r+=e[o]:i=!0;return r}var h={blankReg:new RegExp("[\\x20\\t\\r\\n\\f]"),blanksReg:/^[\x20\t\r\n\f]{0,}$/,identifier:/^[a-zA-Z_$][0-9a-zA-Z_$]{0,}$/},d=["+","-","*","/","%","&","|","!","?",":","[","]","(",")",">","<","="],_=["+","-","*","/","%","&","|","!","?",":",">","<","=","<=",">=","==","===","!=","!=="];function g(t,e,n){e=e.trim();var r=-1,i=null,o=function(){return i=r++<e.length-1?e[r]:null},c=function(t){return e.substring(r,t+r>e.length?e.length:t+r)};o();for(var s=[];!(r>=e.length);)if(d.indexOf(i)>-1)if(["&","|","="].indexOf(i)>-1)if(["==="].indexOf(c(3))>-1)s.push(c(3)),r+=2,o();else{if(!(["&&","||","=="].indexOf(c(2))>-1))throw new Error("Illegal expression : "+e+"\nstep='analyseExpress',index="+r);s.push(c(2)),r+=1,o()}else["!=="].indexOf(c(3))>-1?(s.push(c(3)),r+=2,o()):[">=","<=","!="].indexOf(c(2))>-1?(s.push(c(2)),r+=1,o()):(s.push(i),o());else if(['"',"'"].indexOf(i)>-1){var l="",u=i;for(o();i!=u;){if(r>=e.length)throw new Error("String unclosed error : "+e+"\nstep='analyseExpress',index="+r);l+=i,o()}s.push(l+"@string"),o()}else if(/\d/.test(i)){var f="no";for(l=i,o();r<e.length;){if(/\d/.test(i))l+=i,"error"==f&&(f="yes");else{if("."!=i||"no"!=f)break;l+=i,f="error"}o()}"error"==f&&(l+="0"),s.push(+l)}else if(["null","true"].indexOf(c(4))>-1)s.push({null:null,true:!0}[c(4)]),r+=3,o();else if(["false"].indexOf(c(5))>-1)s.push({false:!1}[c(5)]),r+=4,o();else if(["undefined"].indexOf(c(9))>-1)s.push({undefined:void 0}[c(9)]),r+=8,o();else if(h.blankReg.test(i))do{o()}while(h.blankReg.test(i)&&r<e.length);else{var p=!1;if("."==i&&(p=!0,o()),!h.identifier.test(i))throw new Error("Illegal express : "+e+"\nstep='analyseExpress',index="+r);for(var g=1;r+g<=e.length&&h.identifier.test(c(g));)g+=1;if(p)s.push("["),s.push(c(g-1)+"@string"),s.push("]");else{var v=c(g-1),m=v in n?n[v]:t[v];s.push(a(m)?m+"@string":m)}r+=g-2,o()}for(var y=0,b=0;b<s.length;b++)["+","-"].indexOf(s[b])>-1&&(0==b||_.indexOf(s[y-1])>-1)?(s[y++]=+(s[b]+s[b+1]),b+=1):s[y++]=s[b];return s.length=y,s}var v=function(t){return"string"==typeof t?t.replace(/@string$/,""):t};function m(t){for(var e,n=0,r=0;r<t.length;r++)"!"==t[r]?t[n]=!t[++r]:t[n]=t[r],n+=1;if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)"*"==t[r]?t[n-1]=v(t[n-1])*v(t[++r]):"/"==t[r]?t[n-1]=v(t[n-1])/v(t[++r]):"%"==t[r]?t[n-1]=v(t[n-1])%v(t[++r]):t[n++]=t[r];if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)"+"==t[r]?t[n-1]="string"==typeof(e=v(t[n-1])+v(t[++r]))?e+"@string":e:"-"==t[r]?t[n-1]=v(t[n-1])-v(t[++r]):t[n++]=t[r];if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)">"==t[r]?t[n-1]=v(t[n-1])>v(t[++r]):"<"==t[r]?t[n-1]=v(t[n-1])<v(t[++r]):"<="==t[r]?t[n-1]=v(t[n-1])<=v(t[++r]):">="==t[r]?t[n-1]=v(t[n-1])>=v(t[++r]):t[n++]=t[r];if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)"=="==t[r]?t[n-1]=v(t[n-1])==v(t[++r]):"==="==t[r]?t[n-1]=v(t[n-1])===v(t[++r]):"!="==t[r]?t[n-1]=v(t[n-1])!=v(t[++r]):"!=="==t[r]?t[n-1]=v(t[n-1])!==v(t[++r]):t[n++]=t[r];if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)"&&"==t[r]?(t[n-1]=v(t[n-1])&&v(t[1+r]),r+=1):"||"==t[r]?(t[n-1]=v(t[n-1])||v(t[1+r]),r+=1):t[n++]=t[r];if(1==n)return v(t[0]);for(t.length=n,n=0,r=0;r<t.length;r++)"?"==t[r]?(t[n-1]=v(t[n-1])?v(t[r+1]):v(t[r+3]),r+=3):t[n++]=t[r];if(1==n)return v(t[0]);throw t.length=n,new Error("Unrecognized expression : ["+t.toString()+"]")}var y=function(t){for(var e=[],n=[],r=0;r<t.length;r++)"["==t[r]?n=[]:"]"==t[r]?e.push(m(n)):n.push(t[r]);return e};function b(t,e,n){var r,i=function t(e,n,r){if(n.indexOf("(")>-1){for(var i=[],o=[],c=0,s=0;s<n.length;s++)if("("==n[s])c>0&&o.push("("),c+=1;else if(")"==n[s]){if(c>1&&o.push(")"),0==(c-=1)){var l=m(t(e,o));i.push(a(l)?l+"@string":l),o=[]}}else c>0?o.push(n[s]):i.push(n[s]);n=i}return function(t){for(var e=!0;e;){e=!1;for(var n=[],r=[],i=!1,o=0;o<t.length;o++)if("["==t[o]&&0!=o&&"]"!=t[o-1]){if(i){n.push("[");for(var c=0;c<r.length;c++)n.push(r[c])}else i=!0;r=[]}else if("]"==t[o]&&i){e=!0;var s=m(r),l=n[n.length-1][s];n[n.length-1]=a(l)?l+"@string":l,i=!1}else i?r.push(t[o]):n.push(t[o]);t=n}return t}(n)}(t,e);if("["!=i[0])r=[m(i)];else if("]"==i[i.length-1])r=y(i);else{var o=i.lastIndexOf("]"),c=y(i.slice(0,o+1)),s=i.slice(o+1);s.unshift(function(t,e,n){for(var r=(e[0]in n?n[e[0]]:t[e[0]]),i=1;i<e.length;i++)try{r=r[e[i]]}catch(r){throw console.error({target:t,scope:n,expressArray:e,index:i}),r}return r}(t,c,n)),r=[m(s)]}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 w=function(t,e,n){arguments.length<3&&(n={});var r=g(t,e,n),i=b(t,r,n);if(i.length>1)throw new Error("Illegal expression : "+e+"\nstep='evalExpress',path="+i+",expressArray="+r);return i[0]};function N(t,e,n){window.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n,!1)}function x(t){if(!(this instanceof x))throw new Error("QuickPaper is a constructor and should be called with the `new` keyword");var e;this._name=t.name||"noname",this.$$lifecycle(t.beforeCreate),this.$$init(t),this.$$lifecycle("created"),e=this._el,o([1,9,11],e)&&this.$$mount()}!function(t){t.prototype.$$init=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var e in this._options=t,this._uid=u++,this._data=c(t.data)?t.data():t.data,this._el=t.el,this.__isMounted=!1,this.__isDestroyed=!1,t.methods)l(e),this[e]=t.methods[e];for(var n in this._data)this[n]=this._data[n];for(var r in this.__componentLib_scope={},t.component)this.__componentLib_scope[r]=t.component[r];for(var i in this.__directiveLib_scope={},t.directive)this.__directiveLib_scope[i]=t.directive[i]}}(x),function(t){t.prototype.$$lifecycle=function(t){c(t)?t():["created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed"].indexOf(t)>-1&&c(this._options[t])&&this._options[t].call(this)}}(x),function(t){t.prototype.$$mountComponent=function(){this.$$lifecycle("beforeMount"),this._vnode=this.$$render(f),this.__directiveTask=[],this.__componentTask=[],this.__bindTextTask=[],function t(e,r,i,o){var a,c=w(e,r);if(c){if("none"==c.type){var s=p(c.tagName);e.__componentLib[s]||e.__componentLib_scope[s]?(c.options=e.__componentLib[s]||e.__componentLib_scope[s],c.type="component"):c.type="tag"}if("component"==c.type){a=document.createElement("quick-paper-component"),i.appendChild(a),c.options.el=a,"render"in c.options||(c.options.render=function(t){return t("quick-paper-component",{},[])}),c.instance=new o(c.options),c.instance.__parent=e;var l={};for(var u in c.attrs)/^data-quickpaper-/.test(u)||(/^:/.test(u)?l[u.replace("q-bind"+u)]=c.attrs[u]:/^@/.test(u)?l[u.replace(u.replace(/^@/,"q-on:"))]=c.attrs[u]:l[u]=c.attrs[u]);var f={attrs:l,instance:c.instance};if("component"==f.instance._name){var h=f.attrs["q-bind:is"];f.instance.lister(o,e[h])}e.__componentTask.push(f)}else if("tag"==c.type){for(var d in a=document.createElement(c.tagName),"Quick-Paper-COMPONENT"==i.nodeName||"Quick-Paper-COMPONENT"==i._nodeName?(b=a,(y=i).parentNode.replaceChild(b,y),e._el=a):i.appendChild(a),c.attrs){var _=c.attrs[d],g=(d+":").split(":"),v=e.__directiveLib[p(g[0])]||e.__directiveLib_scope[p(g[0])];v?e.__directiveTask.push(n(n({el:a},v),{},{value:_,type:g[1]})):a.setAttribute(d,_)}for(var m=0;m<c.children.length;m++)t(e,r+".children["+m+"]",a,o)}else"text"==c.type?((a=document.createTextNode("")).textContent=c.content.replace(/↵/g,"\n"),i.appendChild(a)):"bindText"==c.type?((a=document.createTextNode("")).textContent=w(e,c.content).replace(/↵/g,"\n"),i.appendChild(a),e.__bindTextTask.push({el:a,content:c.content})):console.error("Type not expected："+c.type);var y,b}else console.error("vnode is undefined!")}(this,"_vnode",this._el,t);for(var e=0;e<this.__directiveTask.length;e++){var r=this.__directiveTask[e];if(c(r.inserted)){var i=void 0;try{i=w(this,r.value)}catch(t){}r.inserted(r.el,{target:this,exp:r.value,value:i,type:r.type})}}!function(t){var e=function(e){l(e),c(t[e])&&console.error('Data property "'+e+'" has already been defined as a Method.');var n=t._data[e];t[e]=n,Object.defineProperty(t,e,{get:function(){return n},set:function(e){n=e,t.$$updateComponent()}})};for(var n in t._data)e(n)}(this),this.__isMounted=!0,this.$$lifecycle("mounted")},t.prototype.$$updateComponent=function(){this.$$lifecycle("beforeUpdate");for(var e=0;e<this.__directiveTask.length;e++){var n=this.__directiveTask[e];if(c(n.update)){var r=void 0;try{r=w(this,n.value)}catch(t){}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=w(this,o.content).replace(/↵/g,"\n");o.el.textContent!=a&&(o.el.textContent=a)}for(var s=0;s<this.__componentTask.length;s++){var l=this.__componentTask[s];if("component"==l.instance._name){var u=l.attrs["q-bind:is"];l.instance.lister(t,this[u])}}this.$$lifecycle("updated")},t.prototype.$$destroyComponent=function(){this.$$lifecycle("beforeDestroy");for(var t=0;t<this.__directiveTask.length;t++){var e=this.__directiveTask[t];c(e.delete)&&e.delete(e.el,{target:this,exp:e.value,value:w(this,e.value),type:e.type})}this.$$lifecycle("destroyed")}}(x);var A=function(t,e){a(e.type)&&e.type.length>0?t.getAttribute(e.type)!=e.value&&t.setAttribute(e.type,e.value):t.value==e.value&&t.textContent==e.value||(t.value=t.textContent=e.value)},M={inserted:A,update:A},$={inserted:function(t,e){for(var n=e.type.split("."),r={prevent:!1,stop:!1,once:!1},i=1;i<n.length;i++)r[n[i]]=!0;N(t,n[0],(function i(o){r.stop&&function(t){(t=t||window.event).stopPropagation?t.stopPropagation():t.cancelBubble=!0}(o),r.prevent&&function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1}(o);var a,c,s,l=/^([^(]+)(\([^)]{0,}\)){0,1}/.exec(e.exp),u=[],f=[];if(l[2]){var p=l[2].replace(/^\(/,"").replace(/\)$/,"").trim();p.length>0&&(f=p.split(","))}for(var h=0;h<f.length;h++){var d=f[h];d=w(e.target,d),u.push(d)}u.push(o),e.target[l[1]].apply(e.target,u),r.once&&(a=t,c=n[0],s=i,window.detachEvent?a.detachEvent("on"+c,s):a.removeEventListener(c,s,!1))}))}},k={inserted:function(t,e){t.value=e.value,N(t,"input",(function(){!function(t,e,n,r){arguments.length<3&&(r={});for(var i=g(t,e,r),o=b(t,i,r),a=t,c=0;c<o.length-1;c++)o[c]in a||(a[o[c]]=s(a)?[]:{}),a=a[o[c]];a[o[o.length-1]]=n}(e.target,"."+e.exp,t.value)}))},update:function(t,e){t.value=e.value}};!function(t){t.prototype.__directiveLib={},t.prototype.__componentLib={},function(t){t.directive=function(e,n){t.prototype.__directiveLib[e]=n},t.component=function(e,n){t.prototype.__componentLib[e]=n}}(t),function(t){t.use=function(e){e.install.call(e,t)}}(t)}(x),x.directive("qBind",M),x.directive("qOn",$),x.directive("qModel",k),x.component("component",{name:"component",data:function(){return{is:null}},methods:{lister:function(t,e){if(e!=this.is&&null!=e){var n=this._oldComponent;n&&n.$$lifecycle("beforeDestroy"),this.is=e;var r=e;r.el=this._el,r.el._nodeName="Quick-Paper-COMPONENT",this._oldComponent=new t(r),this._el=this._oldComponent._el,n&&(n.$$lifecycle("destroyed"),n=null)}}}}),x.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(t)&&"object"===i(t.exports)?t.exports=x:window.QuickPaper=x}()}).call(this,n(4)(t))},function(t,e,n){"use strict";(function(t){var n=function(){if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw new Error("The current environment is not known!")}();e.a=n}).call(this,n(8))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";t.exports=function(t,e){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)||e?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e,n){"use strict";(function(t){
  /*!
  * Open Web Editor - ✍️ An Editor Used on the Browser Side.
  * git+https://github.com/hai2007/Open-Web-Editor.git
  *
  * author 你好2007
  *
  * version 0.3.2
  *
  * Copyright (c) 2020-2021 hai2007 走一步，再走一步。
  * Released under the MIT license
  *
  * Date:Tue Jul 20 2021 13:18:11 GMT+0800 (中国标准时间)
  */
  function e(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var n=Object.prototype.toString;function i(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n.call(t)}var o=function(t,e){return null!==e&&"object"===r(e)&&t.indexOf(e.nodeType)>-1&&!function(t){if(null===t||"object"!==r(t)||"[object Object]"!=i(t))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(e)},a=function(t){var e=r(t);return"string"===e||"object"===e&&null!=t&&!Array.isArray(t)&&"[object String]"===i(t)},c=function(t){if(!function(t){var e=r(t);return null!=t&&("object"===e||"function"===e)}(t))return!1;var e=i(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object Proxy]"===e},s=function(t){return o([1,9,11],t)},l={stopPropagation:function(t){(t=t||window.event).stopPropagation?t.stopPropagation():t.cancelBubble=!0},preventDefault:function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1},bind:function(t,e,n){window.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n,!1)},trigger:function(t,e){var n;document.createEventObject?(n=document.createEventObject(),t.fireEvent("on"+e,n)):((n=document.createEvent("HTMLEvents")).initEvent(e,!0,!1),t.dispatchEvent(n))},toNode:function(t){var e=document.createElement("div");e.innerHTML=t;for(var n=e.childNodes,r=0;r<n.length;r++)if(s(n[r]))return n[r];return null},appendTo:function(t,e){var n=s(e)?e:this.toNode(e);return t.appendChild(n),n},prependTo:function(t,e){var n=s(e)?e:this.toNode(e);return t.insertBefore(n,t.childNodes[0]),n},remove:function(t){t.parentNode.removeChild(t)},after:function(t,e){var n=s(e)?e:this.toNode(e);return t.parentNode.insertBefore(n,t.nextSibling),n},css:function(t,e){for(var n in e)t.style[n]=e[n]},attr:function(t,e){for(var n in e)t.setAttribute(n,e[n])},position:function(t,e){e=e||window.event;var n=t.getBoundingClientRect();if(!e||!e.clientX)throw new Error("Event is necessary!");return{x:e.clientX-n.left+t.scrollLeft,y:e.clientY-n.top+t.scrollTop}},copy:function t(e,n,r){var i=this.appendTo(document.body,"<textarea>"+e+"</textarea>");i.select();try{window.document.execCommand("copy",!1,null)?c(n)&&n():c(r)&&r()}catch(t){c(r)&&r(t)}document.body.removeChild(i)}};function u(t){return{leftNum:t.__leftNum,lineNum:t.__lineNum,x:t.__cursorLeft,y:t.__cursorTop,lineHeight:21}}var f={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",19:"pause",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",189:["-","_"],187:["=","+"],219:["[","{"],221:["]","}"],220:["\\","|"],186:[";",":"],222:["'",'"'],188:[",","<"],190:[".",">"],191:["/","?"],192:["`","~"]},p=["shift","ctrl","alt"];function h(t){var e=(t=t||window.event).keyCode||t.which,n=f[e]||e;if(n){n.constructor!==Array&&(n=[n,n]);var r=n[0],i=t.shiftKey?"shift+":"",o=t.altKey?"alt+":"",a="",c=(t.ctrlKey?"ctrl+":"")+i+o;p.indexOf(n[0])>=0&&(n[0]=n[1]="");var s=t.code=="Key"+t.key&&!i;return a=c+(""==c&&s?n[1]:n[0]),""==n[0]&&(a=a.replace(/\+$/,"")),""==a?r:a}}var d=function(t,e){if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n].content!=e[n].content||t[n].color!=e[n].color)return!1;return!0};function _(t,e){for(var n=[],r=0,i=function(e){return t.substring(r,e+r>t.length?t.length:e+r)},o="",a="tag",c=function(){""!=o&&n.push({color:{tag:e.selector,attr:e.attrKey,string:e.attrValue}[a],content:o}),o=""};;)if("/*"==i(2)){for(c();"*/"!==i(2)&&r<t.length;)o+=t[r++];n.push({color:e.annotation,content:o+i(2)}),r+=2,o=""}else if(["'",'"'].indexOf(i(1))>-1){var s=i(1);c();do{o+=t[r++]}while(i(1)!=s&&r<t.length);i(1)!=s?s="":r+=1,n.push({color:e.attrValue,content:o+s}),o=""}else if([":","{","}",";"].indexOf(i(1))>-1)c(),n.push({color:e.insign,content:i(1)}),o="",a="{"==i(1)||";"==i(1)?"attr":"}"==i(1)?"tag":"string",r+=1;else{if(r>=t.length){c();break}o+=t[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(t,e){for(var n=[],r=0,i=function(e){return t.substring(r,e+r>t.length?t.length:e+r)},o="",a=function(){""!=o&&("("==o[0]&&(n.push({color:e.insign,content:"("}),o=o.substr(1)),n.push({color:e.text,content:o})),o=""};;)if("/*"==i(2)){for(a();"*/"!==i(2)&&r<t.length;)o+=t[r++];n.push({color:e.annotation,content:o+i(2)}),r+=2,o=""}else if("//"==i(2)){for(a();"\n"!==i(1)&&r<t.length;)o+=t[r++];n.push({color:e.annotation,content:o}),o=""}else if(["'",'"',"`"].indexOf(i(1))>-1){var c=i(1);a();do{o+=t[r++]}while(i(1)!=c&&r<t.length);i(1)!=c?c="":r+=1,n.push({color:e.string,content:o+c}),o=""}else if("("==i(1)&&(" "==o[0]||r-o.length-1>=0&&" "==t[r-o.length-1]))n.push({color:e.funName,content:o}),r+=1,o="(";else if("("==i(1))n.push({color:e.execName,content:o}),r+=1,o="(";else if([";","{","}","(",")",".","\n","=","+",">","<","[","]","-","*","/","^","*","!"].indexOf(i(1))>-1)a(),n.push({color:e.insign,content:i(1)}),o="",r+=1;else if(" "==i(1)&&g.indexOf(o.trim())>-1)n.push({color:e.key,content:o+" "}),o="",r+=1;else{if(r>=t.length){a();break}o+=t[r++]}return n}function m(t,e){for(var n=[],r=0,i=function(e){return t.substring(r,e+r>t.length?t.length:e+r)},o="",a=function(){""!=o&&n.push({color:e.text,content:o}),o=""},c=function(){var a=" ";'"'==i(1)&&(a='"'),"'"==i(1)&&(a="'");do{o+=t[r++]}while(i(1)!=a&&r<t.length);" "!=a&&r<t.length&&(o+=a,r+=1),n.push({color:e.attrValue,content:o}),o=""};;)if("\x3c!--"==i(4)){for(a();"--\x3e"!==i(3)&&r<t.length;)o+=t[r++];n.push({color:e.annotation,content:o+i(3)}),r+=3,o=""}else if("</"==i(2)){for(a(),n.push({color:e.insign,content:"</"}),r+=2;">"!==i(1)&&r<t.length;)o+=t[r++];""!=o&&(n.push({color:e.node,content:o}),o="",r<t.length&&(n.push({color:e.insign,content:">"}),r+=1))}else if("<"==i(1)&&"< "!=i(2)){var s="";for(a(),n.push({color:e.insign,content:"<"}),r+=1;">"!=i(1)&&" "!=i(1)&&r<t.length;)o+=t[r++];if(""!=o&&("style"!=o&&"script"!=o||(s="</"+o+">"),n.push({color:e.node,content:o}),o="",r<t.length))for(;r<t.length;){if(">"==i(1)){a(),n.push({color:e.insign,content:">"}),r+=1;break}if(" "!=i(1))if(a(),'"'!=i(1)&&"'"!=i(1)){for(;"="!=i(1)&&">"!=i(1)&&r<t.length&&" "!=i(1);)o+=t[r++];""!=o?(n.push({color:e.attrKey,content:o}),o="","="==i(1)&&(n.push({color:e.insign,content:"="}),(r+=1)<t.length&&" "!=i(1)&&">"!=i(1)&&c())):o+=t[r++]}else"="==i(1)?(n.push({color:e.insign,content:"="}),r+=1):r<t.length&&" "!=i(1)&&">"!=i(1)&&c();else o+=t[r++]}if(""!=s){for(var l,u=r,f=o;i(s.length)!=s&&r<t.length;)o+=t[r++];r<t.length?({"style>":_,"script>":v}[l=s.replace(/<\//,"")](o,{"style>":e._css,"script>":e._javascript}[l]).forEach((function(t){n.push(t)})),o=""):(o=f,r=u)}}else{if(r>=t.length){a();break}o+=t[r++]}return n}var y=function(t,e){var n;for(n in e)try{t[n]=e[n]}catch(t){throw new Error("Illegal property value！")}return t},b={text:"#000000",annotation:"#6a9955",insign:"#ffffff",node:"#1e50b3",attrKey:"#1e83b1",attrValue:"#ac4c1e"},w={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 x(t,e){var n,r;if(e=e||{},"html"==t)e._css=y(w,e.css),e._javascript=y(N,e.javascript),r=y(b,e),n=m;else if("css"==t)r=y(w,e),n=_;else{if("javascript"!=t)throw new Error("Language not supported:"+t+",The languages available include: html、css、javascript!");r=y(N,e),n=v}return function(t){return function(t){var e=[[]],n=0;return t.forEach((function(t){var r,i=t.content.split(/\n/);for(e[n].push({color:t.color,content:i[0]}),r=1;r<i.length;r++)n+=1,e.push([]),e[n].push({color:t.color,content:i[r]})})),e}(n(t,r))}}var A=function t(n){var r=this;if(!(this instanceof t))throw new Error("Open-Web-Editor is a constructor and should be called with the `new` keyword");if(!s(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=a(n.content)?(this.$$filterText(n.content)+"").split("\n"):[""],this.$shader=c(n.shader)?n.shader:function(t){return Array.isArray(t)}(n.shader)?x.apply(void 0,e(n.shader)):function(){var t=[];return r._contentArray.forEach((function(e){t.push([{content:e,color:r._colorText}])})),t},this.$format=c(n.format)?n.format:function(t){return t},this.$input=c(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(t){r.__updated__=t},this.valueOf=function(t){return(t||""==t)&&(r._contentArray=null,r.__focusDOM.value=t,l.trigger(r.__focusDOM,"input"),r.__focusDOM.focus()),r._contentArray.join("\n")},this.input=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;0!=e&&(0!=n&&(r._contentArray[r.__lineNum]=r._contentArray[r.__lineNum].substring(0,r.__leftNum+e)+r._contentArray[r.__lineNum].substring(r.__leftNum+e+n)),r.__leftNum+=e),r.__focusDOM.value=t,l.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(t,e){l.copy(r.valueOf(),t,e)}};A.prototype.$$textWidth=function(t){return this.__helpCalcDOM.innerText=t,this.__helpCalcDOM.offsetWidth},A.prototype.$$bestLeftNum=function(t,e){arguments.length<2&&(e=e||this.__lineNum);var n=this._contentArray[e];if(t<=40)return 0;if(t-40>=this.$$textWidth(n))return n.length;for(var r=t-40,i=1;i<n.length;i++){var o=Math.abs(t-40-this.$$textWidth(n.substr(0,i)));if(o>r)break;r=o}return i-1},A.prototype.$$calcCanvasXY=function(t,e){return{x:this.$$textWidth(this._contentArray[e].substr(0,t)),y:21*e}},A.prototype.$$selectIsNotBlank=function(){return this.__cursor1.lineNum!=this.__cursor2.lineNum||this.__cursor1.leftNum!=this.__cursor2.leftNum},A.prototype.$$filterText=function(t){for(var e="",n=0;n<this._tabSpace;n++)e+=" ";return t.replace(/\t/g,e)},A.prototype.$$toTemplate=function(t,e,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;'>"+(e+1)+"</em>",t.forEach((function(t){var e=t.content;e=(e=(e=e.replace(/\&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),i+="<span style='user-select: none;font-weight:"+r._fontWeight+";white-space: pre;color:"+t.color+"'>"+e+"</span>"})),i+"</div>"},A.prototype.$$initDom=function(){var t=this;this._el.innerHTML="",l.css(this._el,{"font-size":"12px",position:"relative",cursor:"text","font-family":this._fontFamily,background:this._colorBackground,overflow:"auto"}),l.bind(this._el,"click",(function(){setTimeout((function(){t.__focusDOM.focus()}))})),this.__helpCalcDOM=l.appendTo(this._el,"<span></span>"),l.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=l.appendTo(this._el,"<div></div>"),l.css(this.__helpInputDOM,{position:"absolute","z-index":1}),l.bind(this.__helpInputDOM,"click",(function(e){l.stopPropagation(e),l.preventDefault(e),t.__focusDOM.focus()})),this.__focusDOM=l.appendTo(this._el,"<textarea></textarea>"),l.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}),l.attr(this.__focusDOM,{wrap:"off",autocorrect:"off",autocapitalize:"off",spellcheck:"false"}),this._readonly&&l.attr(this.__focusDOM,{readonly:!0}),this.__showDOM=l.appendTo(this._el,"<div></div>"),l.css(this.__showDOM,{padding:"10px 0"}),this.__selectCanvas=l.appendTo(this._el,"<canvas></canvas>"),l.css(this.__selectCanvas,{position:"absolute",left:"40px",top:"10px",opacity:"0.5"}),this.$$updateCanvasSize(1,1)},A.prototype.$$initView=function(){l.css(this.__focusDOM,{left:40+this.$$textWidth(this._contentArray[this.__lineNum])+"px",top:10+21*this.__lineNum+"px"})},A.prototype.$$updateView=function(){var t=this;if(this.__diff&&this.__diff.beginNum+this.__diff.endNum>10){for(var e=this.__showDOM.childNodes,n=e.length-this.__diff.endNum-1;n>=this.__diff.beginNum;n--)l.remove(e[n]);if(this.__diff.beginNum>0)for(var r=this.__formatData.length-1-this.__diff.endNum;r>=this.__diff.beginNum;r--)l.after(e[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--)l.prependTo(this.__showDOM,this.$$toTemplate(this.__formatData[i],i,this._noLineNumber));e=this.__showDOM.childNodes;for(var o=this.__diff.beginNum;o<this.__formatData.length;o++)e[o].getElementsByTagName("em")[0].innerText=o+1}else if("not update"!=this.__diff){var a="";this.__formatData.forEach((function(e,n){a+=t.$$toTemplate(e,n,t._noLineNumber)})),this.__showDOM.innerHTML=a}this.__diff="not update";var c=this.__showDOM.childNodes[this.__lineNum];!this._readonly&&this.__lineDom&&(this.__lineDom.style.backgroundColor="rgba(0, 0, 0, 0)",c.style.backgroundColor=this._colorEdit),this.__lineDom=c},A.prototype.$$updateSelectView=function(){var t=this,e=this.__selectCanvas.getContext("2d");e.fillStyle=this._colorSelect,e.clearRect(0,0,this.__selectCanvas.scrollWidth,this.__selectCanvas.scrollHeight);var n=function(n,r,i){var o=t.$$calcCanvasXY(n,i),a=t.$$calcCanvasXY(r,i);n==r&&0==n?e.fillRect(o.x,o.y,5,21):e.fillRect(o.x,o.y,a.x-o.x,21)};if(this.__cursor1.lineNum!=this.__cursor2.lineNum||this.__cursor1.leftNum!=this.__cursor2.leftNum)if(e.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)}},A.prototype.$$updateCursorPosition=function(){this.__cursorTop=21*this.__lineNum+10,this.__cursorLeft=40+this.$$textWidth(this._contentArray[this.__lineNum].substring(0,this.__leftNum)),l.css(this.__focusDOM,{top:this.__cursorTop+"px",left:this.__cursorLeft+"px"})},A.prototype.$$updateCanvasSize=function(t,e){arguments.length<2&&(t=this._el.scrollWidth-40,e=this._el.scrollHeight-10),l.css(this.__selectCanvas,{width:t+"px",height:e+"px"}),l.attr(this.__selectCanvas,{width:t,height:e})},A.prototype.$$cancelSelect=function(){this.$$updateCanvasSize(1,1),this.__cursor1={leftNum:0,lineNum:0},this.__cursor2={leftNum:0,lineNum:0}},A.prototype.$$deleteSelect=function(){var t=this.__cursor2,e=this.__cursor1;(this.__cursor1.lineNum<this.__cursor2.lineNum||this.__cursor1.lineNum==this.__cursor2.lineNum&&this.__cursor1.leftNum<this.__cursor2.leftNum)&&(t=this.__cursor1,e=this.__cursor2);var n=this._contentArray[t.lineNum].substr(0,t.leftNum)+this._contentArray[e.lineNum].substr(e.leftNum);this._contentArray.splice(t.lineNum,e.lineNum-t.lineNum+1,n),this.__leftNum=this.__cursor1.leftNum=this.__cursor2.leftNum=t.leftNum,this.__lineNum=this.__cursor1.lineNum=this.__cursor2.lineNum=t.lineNum,this.$$cancelSelect()},A.prototype.$$bindEvent=function(){var t=this,n=!1,r=function(e){var n=l.position(t._el,e),r=Math.round((n.y-20.5)/21);return r<0&&(r=0),r>=t._contentArray.length&&(r=t._contentArray.length-1),{leftNum:t.$$bestLeftNum(n.x,r),lineNum:r}},i=function(){var e=t.__cursor2,n=t.__cursor1;if(t.__cursor1.lineNum<t.__cursor2.lineNum)e=t.__cursor1,n=t.__cursor2;else if(t.__cursor1.lineNum==t.__cursor2.lineNum)return t.__cursor1.leftNum<t.__cursor2.leftNum&&(e=t.__cursor1,n=t.__cursor2),t._contentArray[e.lineNum].substring(e.leftNum,n.leftNum);var r="";r+=t._contentArray[e.lineNum].substr(e.leftNum)+"\n";for(var i=e.lineNum+1;i<n.lineNum;i++)r+=t._contentArray[i]+"\n";return r+=t._contentArray[n.lineNum].substr(0,n.leftNum)};l.bind(this._el,"mousedown",(function(e){n=!0,t.__cursor2=t.__cursor1=r(e),t.$$updateCanvasSize(),t.$$updateSelectView()})),l.bind(this._el,"mousemove",(function(e){n&&(t.__cursor2=r(e),t.$$updateSelectView())})),l.bind(this._el,"mouseup",(function(){return n=!1})),l.bind(this._el,"click",(function(e){t.__helpInputDOM.innerHTML="";var n=l.position(t._el,e),r=Math.round((n.y-20.5)/21);r<0||r>=t._contentArray.length||(t.__lineNum=r,t.__leftNum=t.$$bestLeftNum(n.x),t.$$updateCursorPosition(),t.$$updateView())}));var o=function(n){if(n=n||t.__focusDOM.value,n=t.$$filterText(n),t.__focusDOM.value="",t.$$selectIsNotBlank()&&t.$$deleteSelect(),/^\n$/.test(n))t.__leftNum>=t._contentArray[t.__lineNum].length?t._contentArray.splice(t.__lineNum+1,0,""):(t._contentArray.splice(t.__lineNum+1,0,t._contentArray[t.__lineNum].substring(t.__leftNum)),t._contentArray[t.__lineNum]=t._contentArray[t.__lineNum].substring(0,t.__leftNum)),t.__lineNum+=1,t.__leftNum=0;else{var r=n.split(/\n/);if(null==t._contentArray)t._contentArray=r,t.__lineNum=t._contentArray.length-1,t.__leftNum=t._contentArray[t.__lineNum].length;else if(r.length<=1)t._contentArray[t.__lineNum]=t._contentArray[t.__lineNum].substring(0,t.__leftNum)+n+t._contentArray[t.__lineNum].substring(t.__leftNum),t.__leftNum+=n.length;else{var i,o=t._contentArray[t.__lineNum].substring(0,t.__leftNum),a=t._contentArray[t.__lineNum].substring(t.__leftNum);r[0]=o+r[0],r[r.length-1]+=a,(i=t._contentArray).splice.apply(i,[t.__lineNum,1].concat(e(r))),t.__lineNum+=r.length-1,t.__leftNum=r[r.length-1].length-a.length}}t.__formatData=t.$$diff(t.$shader(t._contentArray.join("\n"))),t.$$updateCursorPosition(),t.$$updateView(),t.__updated__()};l.bind(this.__focusDOM,"compositionstart",(function(){t.__needUpdate=!1,t.__focusDOM.style.color="rgba(0,0,0,0)",t.__focusDOM.style.borderLeft="1px solid "+t._colorCursor})),l.bind(this.__focusDOM,"compositionend",(function(){t.__needUpdate=!0,t.__focusDOM.style.color=t._colorCursor,t.__focusDOM.style.borderLeft="none",o(),null!=t.$input&&(t.__helpInputEvent=t.$input(t.__helpInputDOM,u(t),t._contentArray)||{})})),l.bind(this.__focusDOM,"input",(function(){t.__needUpdate&&(o(),null!=t.$input&&(t.__helpInputEvent=t.$input(t.__helpInputDOM,u(t),t._contentArray)||{}))}));var a=!1;l.bind(this._el,"keyup",(function(t){"command"==h(t)&&(a=!1)})),l.bind(this._el,"keydown",(function(e){var n=h(e);if("command"==n&&(a=!0),a&&["a","c","x"].indexOf(n)>-1&&(n="ctrl+"+n),""!=t.__helpInputDOM.innerHTML){var r=t.__helpInputEvent[n];if(c(r)){if(!r())return}else t.__helpInputDOM.innerHTML=""}if(!(t._readonly&&["ctrl+a","ctrl+c"].indexOf(n)<0))switch(n){case"ctrl+a":t.__cursor1={leftNum:0,lineNum:0},t.__cursor2={lineNum:t._contentArray.length-1,leftNum:t._contentArray[t._contentArray.length-1].length},t.$$updateSelectView();break;case"ctrl+c":t.$$selectIsNotBlank()&&(l.copy(i()),t.__focusDOM.focus());break;case"ctrl+x":t.$$selectIsNotBlank()&&(l.copy(i()),t.__focusDOM.focus(),t.$$deleteSelect(),t.__formatData=t.$$diff(t.$shader(t._contentArray.join("\n"))),t.$$updateCursorPosition(),t.$$updateView(),t.$$cancelSelect(),t.__updated__());break;case"tab":l.stopPropagation(e),l.preventDefault(e);for(var s="",u=0;u<t._tabSpace;u++)s+=" ";if(t.$$selectIsNotBlank()){var f=t.__cursor1.lineNum,p=t.__cursor2.lineNum;f>p&&(f=t.__cursor2.lineNum,p=t.__cursor1.lineNum);for(var d=f;d<=p;d++)t._contentArray[d]=s+t._contentArray[d];t.__cursor1.leftNum+=t._tabSpace,t.__cursor2.leftNum+=t._tabSpace,t.__leftNum+=t._tabSpace,t.__formatData=t.$$diff(t.$shader(t._contentArray.join("\n"))),t.$$updateCursorPosition(),t.$$updateView(),t.$$updateCanvasSize(),t.$$updateSelectView(),t.__updated__()}else o(s);break;case"up":if(t.__lineNum<=0)return;t.__lineNum-=1,t.__leftNum=t.$$bestLeftNum(t.$$textWidth(t._contentArray[t.__lineNum+1].substr(0,t.__leftNum))+40),t.$$updateCursorPosition(),t.$$updateView(),t.$$cancelSelect(),t._el.scrollTop-=21;break;case"down":if(t.__lineNum>=t._contentArray.length-1)return;t.__lineNum+=1,t.__leftNum=t.$$bestLeftNum(t.$$textWidth(t._contentArray[t.__lineNum-1].substr(0,t.__leftNum))+40),t.$$updateCursorPosition(),t.$$updateView(),t.$$cancelSelect(),t._el.scrollTop+=21;break;case"left":if(t.__leftNum<=0){if(t.__lineNum<=0)return;t.__lineNum-=1,t.__leftNum=t._contentArray[t.__lineNum].length}else t.__leftNum-=1;t.$$updateCursorPosition(),t.$$cancelSelect();break;case"right":if(t.__leftNum>=t._contentArray[t.__lineNum].length){if(t.__lineNum>=t._contentArray.length-1)return;t.__lineNum+=1,t.__leftNum=0}else t.__leftNum+=1;t.$$updateCursorPosition(),t.$$cancelSelect();break;case"backspace":if(t.$$selectIsNotBlank())t.$$deleteSelect();else if(t.__leftNum<=0){if(t.__lineNum<=0)return;t.__lineNum-=1,t.__leftNum=t._contentArray[t.__lineNum].length,t._contentArray[t.__lineNum]+=t._contentArray[t.__lineNum+1],t._contentArray.splice(t.__lineNum+1,1)}else t.__leftNum-=1,t._contentArray[t.__lineNum]=t._contentArray[t.__lineNum].substring(0,t.__leftNum)+t._contentArray[t.__lineNum].substring(t.__leftNum+1);t.__formatData=t.$$diff(t.$shader(t._contentArray.join("\n"))),t.$$updateCursorPosition(),t.$$updateView(),t.$$cancelSelect(),t.__updated__()}}))},A.prototype.$$diff=function(t){var e=this.__formatData;if(e){for(var n=0,r=0;r<e.length&&r<t.length&&d(e[r],t[r]);r++)n+=1;for(var i=0,o=1;o<=e.length&&o<=t.length&&d(e[e.length-o],t[t.length-o]);o++)i+=1;var a=Math.min(e.length,t.length);n+i>=a&&(i=a-n-1)<0&&(i=0),this.__diff={beginNum:n,endNum:i}}return t},"object"===r(t)&&"object"===r(t.exports)?t.exports=A:window.OpenWebEditor=A}()}).call(this,n(4)(t))},function(t,e,n){t.exports=n(22)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(10);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(1).default)("data-quickpaper-12ddbf8e",r,!1)},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"/*!\r\n * 👁️ - 统一不同浏览器的基础样式\r\n * https://github.com/hai2007/style.css/blob/master/normalize.css\r\n *\r\n * author hai2007 < https://hai2007.gitee.io/sweethome >\r\n *\r\n * Copyright (c) 2020-present hai2007 走一步，再走一步。\r\n * Released under the MIT license\r\n */\r\n\r\nhtml {\r\n    /* 防止iPhone在坚屏转向横屏时放大文字 */\r\n    -ms-text-size-adjust: 100%;\r\n    -webkit-text-size-adjust: 100%;\r\n    /* 统一行高 */\r\n    line-height: 1.15;\r\n}\r\n\r\nbutton,\r\ninput {\r\n    /* 兼容部分手机下border不显示问题 */\r\n    border: 1px solid #b2b2bd;\r\n}\r\n\r\narticle,\r\nfooter,\r\nheader,\r\nnav,\r\nsection {\r\n    /* 修正旧浏览器未定义的块级元素 */\r\n    display: block;\r\n}\r\n\r\ncanvas,\r\nsvg {\r\n    /* 修正旧浏览器未定义的行内块元素 */\r\n    display: inline-block;\r\n}\r\n\r\n* {\r\n    /* 统一不同浏览器盒子尺寸计算方法 */\r\n    box-sizing: border-box;\r\n}\r\n\r\n::-ms-clear,\r\n::-ms-reveal {\r\n    /* 去掉IE浏览器输入框叉叉和眼睛 */\r\n    display: none;\r\n}\r\n\r\nimg {\r\n    /* 针对火狐浏览器在img标签没有src时候的差异修复 */\r\n    display: inline-block;\r\n}\r\n\r\nhtml {\r\n    /* 设置默认字体为统一的安全字体 */\r\n    font-family: sans-serif;\r\n}\r\n\r\na {\r\n    /* 默认去掉下划线 */\r\n    text-decoration: none;\r\n}\r\n\r\nli {\r\n    /* 去掉前置索引 */\r\n    list-style-type: none;\r\n}\r\n\r\nul,\r\nol,\r\nli,\r\np,\r\nh1,\r\nh2,\r\nh3,\r\nh4,\r\nh5,\r\nh6 {\r\n    /* 去掉不喜欢的间距 */\r\n    -webkit-margin-before: 0;\r\n    -webkit-margin-after: 0;\r\n    -webkit-padding-start: 0;\r\n    /* 去掉不喜欢的间距，针对火狐浏览器等 */\r\n    margin-block-end: 0;\r\n    margin-block-start: 0;\r\n    padding-inline-start: 0;\r\n    /* 修改IE和其它浏览器不一致问题 */\r\n    padding: 0;\r\n    margin: 0;\r\n}\r\n\r\nbody {\r\n    /* 去掉默认的8px */\r\n    margin: 0;\r\n}\r\n\r\ntable {\r\n    /* 设置默认表格边框合并为一个单一的边框 */\r\n    border-collapse: collapse;\r\n}\r\n",""])},function(t,e,n){var r=n(12);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(1).default)("data-quickpaper-8baeb990",r,!1)},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n html{\n\nfont-size: 100px;\n\n}\n\n body{\n\nfont-size: .16rem;\n\n}\n\n div.doc-view>header{\n\nfont-size: 26px;\n\npadding: 30px 0;\n\nfont-weight: 800;\n\n}\n\n div.doc-view>h2{\n\nfont-size: 18px;\n\n}\n\n .link{\n\nmargin: 0 5px;\n\n}\n\n/* // 导航菜单页面 */\n\n .nav-view{\n\nwhite-space: nowrap;\n\n}\n\n .nav-view>div{\n\ndisplay: inline-block;\n\nvertical-align: top;\n\nwhite-space: normal;\n\nheight: calc(100vh - 60px);\n\noverflow: auto;\n\n}\n\n .nav-view>div.menu{\n\nwidth: 240px;\n\npadding: 20px 0;\n\n}\n\n .nav-view>div.menu [active='no']>li>ul{\n\ndisplay: none;\n\n}\n\n .nav-view>div.menu [active='yes']>li>h3{\n\nborder-left: 3px solid #a0db67;\n\n}\n\n .nav-view>div.menu [active='yes']>li>ul{\n\ndisplay: block;\n\n}\n\n/* // 标题 */\n\n .nav-view>div.menu h3, .nav-view>div.menu h4, .nav-view>div.menu h5{\n\npadding-left: 7px;\n\nline-height: 30px;\n\n}\n\n/* // 一级标题 */\n\n .nav-view>div.menu h3{\n\nfont-size: 16px;\n\ncursor: pointer;\n\nmargin-top: 15px;\n\n}\n\n/* // 二级和三级标题 */\n\n .nav-view>div.menu h4, .nav-view>div.menu h5{\n\nfont-size: 14px;\n\ncursor: pointer;\n\nfont-weight: 400;\n\n}\n\n .nav-view>div.menu>ul>li>ul{\n\nmargin-left: 20px;\n\n}\n\n .nav-view>div.menu>ul ul{\n\nmargin-left: 10px;\n\n}\n\n .nav-view>div.view{\n\nwidth: calc(100vw - 240px);\n\n}\n\n .nav-view>div.view>div{\n\nwidth: 700px;\n\nmargin: auto;\n\n}\n",""])},function(t,e,n){var r=n(14);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(1).default)("data-quickpaper-e841d690",r,!1)},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,'.doc-view {\n    color: #000000;\n    padding: 15px;\n}\n\n/* 文章标题 */\n.doc-view>h2 {\n    font-size: 30px;\n    padding: 30px 0;\n}\n\n/* 一级标题 */\n.doc-view>h3 {\n    font-size: 15px;\n    line-height: 2em;\n    padding: 20px 0;\n}\n\n.doc-view>h3::before {\n    content: "#";\n    color: #711e32;\n}\n\n/* 二级标题 */\n.doc-view>h4 {\n    font-size: 14px;\n    line-height: 2em;\n    padding: 15px 0;\n}\n\n/* 段落 */\n.doc-view>p {\n    line-height: 1.6em;\n    text-indent: 2em;\n    color: #3c3939;\n    font-weight: 400;\n    font-size: 14px;\n    margin: 10px 0;\n}\n\n/* 表格 */\n.doc-view>table {\n    width: 100%;\n    line-height: 30px;\n}\n\n.doc-view>table>tbody>tr>* {\n    border-width: 0 1px 1px 0;\n    border-style: solid;\n    border-color: #c1bcbc;\n}\n\n.doc-view>table>*>tr>td {\n    padding-left: 1em;\n}\n\n.doc-view>table>tbody>tr>*:first-child {\n    border-width: 0 1px 1px 1px;\n}\n\n.doc-view>table>tbody>tr:nth-child(2n) {\n    background-color: #F5F5F5;\n}\n\n.doc-view>table>tbody>tr:nth-child(2n+1) {\n    background-color: #fff;\n}\n\n.doc-view>table>thead>tr {\n    background-color: #c1bcbc;\n    border: 1px solid #c1bcbc;\n    color: #fff;\n}\n\n\n/* 列表 */\n\n.doc-view ul,\n.doc-view ol {\n    font-size: 13px;\n    line-height: 2.4em;\n}\n\n.doc-view ul {\n    margin-left: 1.5em;\n}\n\n.doc-view ol {\n    margin-left: 2.5em;\n}\n\n.doc-view ol>li {\n    list-style-type: decimal;\n}\n\n/* 重要内容 */\n\n.doc-view .important {\n    color: rgb(255, 0, 0);\n    font-weight: 800;\n}\n\n/* 可点击链接 */\n\n.doc-view .link {\n    color: rgb(59, 59, 180);\n    cursor: pointer;\n    text-decoration: underline;\n}\n\n.doc-view .link:hover {\n    color: rgb(0, 0, 255);\n    font-weight: 800;\n}\n\n/* 过时标记 */\n\n.doc-view .outdated {\n    text-decoration: line-through;\n    -webkit-text-decoration-color: red;\n            text-decoration-color: red;\n}\n',""])},function(t,e,n){var r=n(16);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(1).default)("data-quickpaper-d0648032",r,!0)},function(t,e,n){e=t.exports=n(0)(!1);var r=n(5)(n(17));e.push([t.i,"\n [quickpaper]{\n\ndisplay: inline-block;\n\n}\n\n input{\n\nheight: 30px;\n\nborder: none;\n\noutline: none;\n\npadding: 0 10px;\n\npadding-right: 35px;\n\nbackground-image: url("+r+");\n\nbackground-position: center right;\n\nbackground-repeat: no-repeat;\n\nborder-radius: 3px;\n\nbackground-color: rgb(243 240 240);\n\n}\n",""])},function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDBweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8ZyBpZD0ic2VhcmNoX2ljb24iIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9IjAuMzAwMDAwMDEyIj4KICAgICAgICA8ZyBpZD0iR3JvdXAtOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMy4wMDAwMDAsIDMuMDAwMDAwKSIgZmlsbD0iIzAwMDAwMCI+CiAgICAgICAgICAgIDxnIGlkPSJHcm91cC01Ij4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMi44OTg1Njk5LDEzLjkwMzkzMjEgQzExLjYwMTIz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eof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);(0,n(1).default)("data-quickpaper-29e77684",r,!0)},function(t,e,n){e=t.exports=n(0)(!1);var r=n(5),i=r(n(20)),o=r(n(21));e.push([t.i,"\n [quickpaper]>header{\n\nbackground-color: #fff;\n\nborder-bottom: 1px solid #eaecef;\n\nheight: 60px;\n\nline-height: 60px;\n\npadding-left: 80px;\n\npadding-right: 10px;\n\nbackground-image: url("+i+");\n\nbackground-size: auto 70%;\n\nbackground-position: 20px center;\n\nbackground-repeat: no-repeat;\n\nwhite-space: nowrap;\n\n}\n\n [quickpaper]>header>span{\n\nfont-family: cursive;\n\nfont-size: 20px;\n\nfont-weight: 200;\n\n}\n\n [quickpaper]>header>nav{\n\nposition: absolute;\n\nright: 10px;\n\ntop: 0;\n\nz-index: 2;\n\n}\n\n [quickpaper]>header>nav>span{\n\nmargin-right: 10px;\n\nfont-size: 14px;\n\ncursor: pointer;\n\npadding: 0 10px;\n\ndisplay: inline-block;\n\nvertical-align: top;\n\n}\n\n [quickpaper]>header>nav>span>a{\n\nposition: relative;\n\nmargin-right: 30px;\n\n}\n\n [quickpaper]>header>nav>span>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 [quickpaper]>header>nav>span[active='yes']{\n\nborder-bottom: 2px solid red;\n\nfont-weight: 800;\n\n}\n\n [quickpaper]>header>nav>span:hover{\n\nfont-weight: 800;\n\n}\n",""])},function(t,e,n){t.exports=n.p+"dist/logo.png"},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAIAAAAmzuBxAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQ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94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/sl0p8zAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACkSURBVHjahJAxCsUgEEQnYStFEMFa7DxBbpDLp0qTFDbB1gWxsM8v/ISQFJlq2TfLDDuc54mXUkrHcQDQWtO2bcx8Me+9c84YE2OstQIgZpZShhC6QwgBoJRSa9VaA6C+VUrdI5ZlmabJGFNKoXeDjp1zAJRS48MRY+w4pbSu6z/lrnme+9Ba601HfOnbQQCYed/3B7ieRNZaZs45v6+ttQB+AwDpDkmSbyks5gAAAABJRU5ErkJggg=="},function(t,e,n){"use strict";n.r(e);var r=n(2),i=n.n(r),o=n(3),a=function(t){var e=typeof t;return null!=t&&("object"===e||"function"===e)},c=Object.prototype.toString,s=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c.call(t)},l=a,u=function(t){if(!a(t))return!1;var e=s(t);return"[object Function]"===e||"[object AsyncFunction]"===e||"[object GeneratorFunction]"===e||"[object Proxy]"===e},f=function(t){return Array.isArray(t)};
  /*!
   * ✔️ - 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(t){if(!(this instanceof p))throw new TypeError("undefined is not a promise");if(!u(t))throw new TypeError("Promise resolver "+t+" is not a function");this.__value=void 0,this.__hocks=[],this.__state="pending",function(t,e){var n=!1;try{t((function(t){n||(n=!0,e.$$changeState(t,"fulfilled"))}),(function(t){n||(n=!0,e.$$changeState(t,"rejected"))}))}catch(t){if(n)return;n=!0,e.$$changeState(t,"rejected")}}(t,this)}p.prototype.$$changeState=function(t,e){this.__state=e,this.__value=t,this.$$triggerEvent()},p.prototype.$$triggerEvent=function(){for(var t=null,e="fulfilled"==this.__state?0:1;this.__hocks.length>0;){if(u(this.__hocks[0][e])){t=this.__hocks.shift();break}u(this.__hocks[0][2])&&this.__hocks[0][2](),this.__hocks.shift()}if(null!==t){var n=t[e](this.__value);if(l(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(t,e){n.then(t,e)},this.catch=function(t){n.catch(t)},this.finally=function(t){n.finally(t)}}else this.__value=n,this.__state="fulfilled",this.$$triggerEvent()}},p.prototype.then=function(t,e){return this.__hocks.push([t,e,void 0]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.prototype.catch=function(t){return this.__hocks.push([void 0,t,void 0]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.prototype.finally=function(t){return this.__hocks.push([void 0,void 0,t]),"pending"!=this.__state&&this.$$triggerEvent(),this},p.resolve=function(t){return l(t)&&t.constructor===p?t:new p((function(e){e(t)}))},p.reject=function(t){return new p((function(e,n){n(t)}))},p.all=function(t){return new p((function(e,n){if(!f(t))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t),i=0;0==r.length&&e([]);for(var o=function(t,a){"pending"!==a.__state?(i+=1,"rejected"==a.__state?n(a.__value):(r[t]=a.__value,i==r.length&&e(r))):setTimeout((function(){o(t,a)}))},a=0;a<r.length;a++)o(a,r[a])}))},p.allSettled=function(t){return new p((function(e,n){if(!f(t))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t),i=0;0==r.length&&e([]);for(var o=function(t,n){"pending"!==n.__state?(i+=1,r[t]={status:n.__state},"fulfilled"==n.__state?r[t].value=n.__value:r[t].reason=n.__value,i==r.length&&e(r)):setTimeout((function(){o(t,n)}))},a=0;a<r.length;a++)o(a,r[a])}))},p.any=function(t){return new p((function(e,n){if(!f(t))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));var r=0;0==t.length&&e(void 0);for(var i=function(o,a){if("pending"!==a.__state)if(r+=1,"rejected"==a.__state){if(r==t.length)return n(new Error("All promises were rejected"))}else e(a.__value);else setTimeout((function(){i(o,a)}))},o=0;o<t.length;o++)i(o,t[o])}))},p.race=function(t){return new p((function(e,n){if(!f(t))return n(new TypeError("undefined is not iterable (cannot read property Symbol(Symbol.iterator))"));0==t.length&&e(void 0);for(var r=function(t,i){"pending"!==i.__state?"rejected"==i.__state?n(i.__value):e(i.__value):setTimeout((function(){r(t,i)}))},i=0;i<t.length;i++)r(i,t[i])}))},"Promise"in o.a||(o.a.Promise=p);n(9),n(11),n(13);var h={data:function(){return{wd:""}},methods:{goSearch:function(t){13==t.keyCode&&this.loadPage("https://hai2007.gitee.io/sweethome/#/search?wd="+encodeURIComponent(this.wd))}}};n(15);h.render=function(t){return t("div",{quickpaper:"","data-quickpaper-d0648032":""},[t("input",{placeholder:"输入内容后回车查询","@keydown":"goSearch","q-model":"wd","data-quickpaper-d0648032":""},[])])};var d={begin:function(){return n.e(12).then(n.bind(null,48))},api:function(){return n.e(7).then(n.bind(null,47))}},_={data:function(){return{page:null,url:""}},mounted:function(){var t=this.urlFormat(window.location.href).router;this.loadpage(t[0]in d?t[0]:"begin")},methods:{loadpage:function(t,e){var n=this;d[t]().then((function(r){"no"==e&&(window.location.href="#/"+t),n.url=t,n.page=r.default}))}},component:{uiSearch:h}};n(18);_.render=function(t){return t("div",{quickpaper:"","data-quickpaper-29e77684":""},[t("header",{"data-quickpaper-29e77684":""},[t("span",{"data-quickpaper-29e77684":""},["@hai2007/tool"]),t("nav",{"data-quickpaper-29e77684":""},[t("span",{"@click":'loadpage("begin","no")',":active":'url=="begin"?"yes":"no"',"data-quickpaper-29e77684":""},["开始"]),t("span",{"@click":'loadpage("api","no")',":active":'url=="api"?"yes":"no"',"data-quickpaper-29e77684":""},["文档"]),t("span",{"data-quickpaper-29e77684":""},[t("a",{href:"https://github.com/hai2007/tool.js",target:"_blank","data-quickpaper-29e77684":""},["GitHub"])]),t("ui-search",{"data-quickpaper-29e77684":""},[])])]),t("div",{class:"content","data-quickpaper-29e77684":""},[t("component",{":is":"page","data-quickpaper-29e77684":""},[])])])};var g=_,v="http://www.w3.org/2000/svg",m={stopPropagation:function(t){(t=t||window.event).stopPropagation?t.stopPropagation():t.cancelBubble=!0},preventDefault:function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1},isNode:function(t){return t&&(1===t.nodeType||9===t.nodeType||11===t.nodeType)},bind:function(t,e,n){if(t.constructor!==Array&&t.constructor!==NodeList&&t.constructor!==HTMLCollection)window.attachEvent?t.attachEvent("on"+e,n):t.addEventListener(e,n,!1);else for(var r=0;r<t.length;r++)this.bind(t[r],e,n)},unbind:function(t,e,n){if(t.constructor!==Array&&t.constructor!==NodeList&&t.constructor!==HTMLCollection)window.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener(e,n,!1);else for(var r=0;r<t.length;r++)this.unbind(t[r],e,n)},find:function(t,e,n){if(!this.isNode(t))return[];for(var r=t.getElementsByTagName(n||"*"),i=[],o=0;o<r.length;o++)this.isNode(r[o])&&("function"!=typeof e||e(r[o]))&&i.push(r[o]);return i},children:function(t,e){for(var n=t.childNodes,r=[],i=0;i<n.length;i++)this.isNode(n[i])&&("function"!=typeof e||e(n[i]))&&r.push(n[i]);return r},hasClass:function(t,e,n){e.constructor!==Array&&(e=[e]);for(var r=" "+(t.getAttribute("class")||"")+" ",i=0;i<e.length;i++)if(r.indexOf(" "+e[i]+" ")>=0){if(n)return!0}else if(!n)return!1;return!0},removeClass:function(t,e){var n=(" "+(t.getAttribute("class")||"")+" ").replace(" "+e.trim()+" "," ");t.setAttribute("class",n.trim())},addClass:function(t,e){if(!this.hasClass(t,e)){var n=t.getAttribute("class")||"";t.setAttribute("class",n+" "+e)}},toNode:function(t,e){var n;if(e)n=document.createElementNS(v,"svg");else{var r="div";/^<tr[> ]/.test(t)?r="tbody":/^<th[> ]/.test(t)||/^<td[> ]/.test(t)?r="tr":(/^<thead[> ]/.test(t)||/^<tbody[> ]/.test(t))&&(r="table"),n=document.createElement(r)}n.innerHTML=t;for(var i=n.childNodes,o=0;o<i.length;o++)if(this.isNode(i[o]))return i[o]},trigger:function(t,e){if(document.createEventObject)t.fireEvent("on"+e,document.createEventObject());else{var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!1),t.dispatchEvent(n)}},getStyle:function(t,e){var n=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(t,null):t.currentStyle;return"string"==typeof e?n.getPropertyValue(e):n},offsetPosition:function(t){var e=0,n=0;for(n=t.offsetTop,e=t.offsetLeft,t=t.offsetParent;t;)n+=t.offsetTop,e+=t.offsetLeft,t=t.offsetParent;return{left:e,top:n}},mousePosition:function(t,e){var n=t.getBoundingClientRect();if(!e||!e.clientX)throw new Error("Event is necessary!");return{x:e.clientX-n.left,y:e.clientY-n.top}},remove:function(t){t.parentNode.removeChild(t)},setStyles:function(t,e){for(var n in e)t.style[n]=e[n]},size:function(t,e){var n,r;return"content"==e?(r=t.clientWidth-(this.getStyle(t,"padding-left")+"").replace("px","")-(this.getStyle(t,"padding-right")+"").replace("px",""),n=t.clientHeight-(this.getStyle(t,"padding-top")+"").replace("px","")-(this.getStyle(t,"padding-bottom")+"").replace("px","")):"padding"==e?(r=t.clientWidth,n=t.clientHeight):"border"==e?(r=t.offsetWidth,n=t.offsetHeight):"scroll"==e?(r=t.scrollWidth,n=t.scrollHeight):(r=t.offsetWidth,n=t.offsetHeight),{width:r,height:n}},append:function(t,e){var n=this.isNode(e)?e:this.toNode(e);return t.appendChild(n),n},prepend:function(t,e){var n=this.isNode(e)?e:this.toNode(e);return t.insertBefore(n,t.childNodes[0]),n},after:function(t,e){var n=this.isNode(e)?e:this.toNode(e);return t.parentNode.insertBefore(n,t.nextSibling),n},before:function(t,e){var n=this.isNode(e)?e:this.toNode(e);return t.parentNode.insertBefore(n,t),n}},y=n(6),b=n.n(y);
  /*!
   * 💡 - 提供常用的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 w={inserted:function(t,e){var n,r,i,o=t.innerHTML.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"),a=new b.a({el:t,content:o,readonly:"editor"!=e.type,shader:[e.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(o)}),c=m.prepend(t,'<span class="copy-btn" title="复制到剪切板">复制<span></span></span>');m.bind(c,"click",(function(){a.copy((function(){alert("复制成功")}),(function(t){console.log(t),alert("复制失败")}))})),m.setStyles(c,(i="5px 10px",(r="padding")in(n={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"})?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n)),t.__owe__=a}};i.a.directive("qCode",w),i.a.prototype.urlFormat=function(t){var e,n,r=t.split("?"),i=(r[0]+"#").split("#")[1].replace(/^\//,"").replace(/\/$/,"").split("/"),o=r[1]||"";return""==o?e={}:(n=o.split("&"),e={},n.forEach((function(t){var n=t.split("=");e[n[0]]=n[1]}))),{router:""==i[0]?[]:i,params:e}},i.a.prototype.loadPage=function(t){var e=document.createElement("a");e.setAttribute("href",t),e.setAttribute("target","_blank"),e.click()},window.quickPaper=new i.a({el:document.getElementById("root"),render:function(t){return t(g)}})}]);