(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[55250],{55250:function(){(function(u){if(typeof u.window!="undefined"&&u.document||u.require&&u.define)return;u.console||(u.console=function(){var a=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:a})},u.console.error=u.console.warn=u.console.log=u.console.trace=u.console),u.window=u,u.ace=u,u.onerror=function(a,s,t,e,r){postMessage({type:"error",data:{message:a,data:r&&r.data,file:s,line:t,col:e,stack:r&&r.stack}})},u.normalizeModule=function(a,s){if(s.indexOf("!")!==-1){var t=s.split("!");return u.normalizeModule(a,t[0])+"!"+u.normalizeModule(a,t[1])}if(s.charAt(0)=="."){var e=a.split("/").slice(0,-1).join("/");for(s=(e?e+"/":"")+s;s.indexOf(".")!==-1&&r!=s;){var r=s;s=s.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return s},u.require=function(s,t){if(t||(t=s,s=null),!t.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");t=u.normalizeModule(s,t);var e=u.require.modules[t];if(e)return e.initialized||(e.initialized=!0,e.exports=e.factory().exports),e.exports;if(!u.require.tlns)return console.log("unable to load "+t);var r=f(t,u.require.tlns);return r.slice(-3)!=".js"&&(r+=".js"),u.require.id=t,u.require.modules[t]={},importScripts(r),u.require(s,t)};function f(a,s){for(var t=a,e="";t;){var r=s[t];if(typeof r=="string")return r+e;if(r)return r.location.replace(/\/*$/,"/")+(e||r.main||r.name);if(r===!1)return"";var i=t.lastIndexOf("/");if(i===-1)break;e=t.substr(i)+e,t=t.slice(0,i)}return a}u.require.modules={},u.require.tlns={},u.define=function(a,s,t){if(arguments.length==2?(t=s,typeof a!="string"&&(s=a,a=u.require.id)):arguments.length==1&&(t=a,s=[],a=u.require.id),typeof t!="function"){u.require.modules[a]={exports:t,initialized:!0};return}s.length||(s=["require","exports","module"]);var e=function(r){return u.require(a,r)};u.require.modules[a]={exports:{},factory:function(){var r=this,i=t.apply(this,s.slice(0,t.length).map(function(n){switch(n){case"require":return e;case"exports":return r.exports;case"module":return r;default:return e(n)}}));return i&&(r.exports=i),r}}},u.define.amd={},u.require.tlns={},u.initBaseUrls=function(s){for(var t in s)this.require.tlns[t]=s[t]},u.initSender=function(){var s=u.require("ace/lib/event_emitter").EventEmitter,t=u.require("ace/lib/oop"),e=function(){};return function(){t.implement(this,s),this.callback=function(r,i){postMessage({type:"call",id:i,data:r})},this.emit=function(r,i){postMessage({type:"event",name:r,data:i})}}.call(e.prototype),new e};var y=u.main=null,l=u.sender=null;u.onmessage=function(a){var s=a.data;if(s.event&&l)l._signal(s.event,s.data);else if(s.command)if(y[s.command])y[s.command].apply(y,s.args);else if(u[s.command])u[s.command].apply(u,s.args);else throw new Error("Unknown command:"+s.command);else if(s.init){u.initBaseUrls(s.tlns),l=u.sender=u.initSender();var t=this.require(s.module)[s.classname];y=u.main=new t(l)}}})(this),ace.define("ace/lib/oop",[],function(u,f,y){"use strict";f.inherits=function(l,a){l.super_=a,l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}})},f.mixin=function(l,a){for(var s in a)l[s]=a[s];return l},f.implement=function(l,a){f.mixin(l,a)}}),ace.define("ace/apply_delta",[],function(u,f,y){"use strict";function l(t,e){throw console.log("Invalid Delta:",t),"Invalid Delta: "+e}function a(t,e){return e.row>=0&&e.row=0&&e.column<=t[e.row].length}function s(t,e){e.action!="insert"&&e.action!="remove"&&l(e,"delta.action must be 'insert' or 'remove'"),e.lines instanceof Array||l(e,"delta.lines must be an Array"),(!e.start||!e.end)&&l(e,"delta.start/end must be an present");var r=e.start;a(t,e.start)||l(e,"delta.start must be contained in document");var i=e.end;e.action=="remove"&&!a(t,i)&&l(e,"delta.end must contained in document for 'remove' actions");var n=i.row-r.row,o=i.column-(n==0?r.column:0);(n!=e.lines.length-1||e.lines[n].length!=o)&&l(e,"delta.range must match delta lines")}f.applyDelta=function(t,e,r){var i=e.start.row,n=e.start.column,o=t[i]||"";switch(e.action){case"insert":var c=e.lines;if(c.length===1)t[i]=o.substring(0,n)+e.lines[0]+o.substring(n);else{var h=[i,1].concat(e.lines);t.splice.apply(t,h),t[i]=o.substring(0,n)+t[i],t[i+e.lines.length-1]+=o.substring(n)}break;case"remove":var m=e.end.column,v=e.end.row;i===v?t[i]=o.substring(0,n)+o.substring(m):t.splice(i,v-i+1,o.substring(0,n)+t[v].substring(m));break}}}),ace.define("ace/lib/event_emitter",[],function(u,f,y){"use strict";var l={},a=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};l._emit=l._dispatchEvent=function(t,e){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[t]||[],i=this._defaultHandlers[t];if(!(!r.length&&!i)){(typeof e!="object"||!e)&&(e={}),e.type||(e.type=t),e.stopPropagation||(e.stopPropagation=a),e.preventDefault||(e.preventDefault=s),r=r.slice();for(var n=0;n ["+this.end.row+"/"+this.end.column+"]"},s.prototype.contains=function(t,e){return this.compare(t,e)==0},s.prototype.compareRange=function(t){var e,r=t.end,i=t.start;return e=this.compare(r.row,r.column),e==1?(e=this.compare(i.row,i.column),e==1?2:e==0?1:0):e==-1?-2:(e=this.compare(i.row,i.column),e==-1?-1:e==1?42:0)},s.prototype.comparePoint=function(t){return this.compare(t.row,t.column)},s.prototype.containsRange=function(t){return this.comparePoint(t.start)==0&&this.comparePoint(t.end)==0},s.prototype.intersects=function(t){var e=this.compareRange(t);return e==-1||e==0||e==1},s.prototype.isEnd=function(t,e){return this.end.row==t&&this.end.column==e},s.prototype.isStart=function(t,e){return this.start.row==t&&this.start.column==e},s.prototype.setStart=function(t,e){typeof t=="object"?(this.start.column=t.column,this.start.row=t.row):(this.start.row=t,this.start.column=e)},s.prototype.setEnd=function(t,e){typeof t=="object"?(this.end.column=t.column,this.end.row=t.row):(this.end.row=t,this.end.column=e)},s.prototype.inside=function(t,e){return this.compare(t,e)==0?!(this.isEnd(t,e)||this.isStart(t,e)):!1},s.prototype.insideStart=function(t,e){return this.compare(t,e)==0?!this.isEnd(t,e):!1},s.prototype.insideEnd=function(t,e){return this.compare(t,e)==0?!this.isStart(t,e):!1},s.prototype.compare=function(t,e){return!this.isMultiLine()&&t===this.start.row?ethis.end.column?1:0:tthis.end.row?1:this.start.row===t?e>=this.start.column?0:-1:this.end.row===t?e<=this.end.column?0:1:0},s.prototype.compareStart=function(t,e){return this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},s.prototype.compareEnd=function(t,e){return this.end.row==t&&this.end.column==e?1:this.compare(t,e)},s.prototype.compareInside=function(t,e){return this.end.row==t&&this.end.column==e?1:this.start.row==t&&this.start.column==e?-1:this.compare(t,e)},s.prototype.clipRows=function(t,e){if(this.end.row>e)var r={row:e+1,column:0};else if(this.end.rowe)var i={row:e+1,column:0};else if(this.start.rowthis.row)){var n=e(i,{row:this.row,column:this.column},this.$insertRight);this.setPosition(n.row,n.column,!0)}},r.prototype.setPosition=function(i,n,o){var c;if(o?c={row:i,column:n}:c=this.$clipPositionToDocument(i,n),!(this.row==c.row&&this.column==c.column)){var h={row:this.row,column:this.column};this.row=c.row,this.column=c.column,this._signal("change",{old:h,value:c})}},r.prototype.detach=function(){this.document.off("change",this.$onChange)},r.prototype.attach=function(i){this.document=i||this.document,this.document.on("change",this.$onChange)},r.prototype.$clipPositionToDocument=function(i,n){var o={};return i>=this.document.getLength()?(o.row=Math.max(0,this.document.getLength()-1),o.column=this.document.getLine(o.row).length):i<0?(o.row=0,o.column=0):(o.row=i,o.column=Math.min(this.document.getLine(o.row).length,Math.max(0,n))),n<0&&(o.column=0),o},r}();s.prototype.$insertRight=!1,l.implement(s.prototype,a);function t(r,i,n){var o=n?r.column<=i.column:r.column=c&&(n=c-1,o=void 0);var h=this.getLine(n);return o==null&&(o=h.length),o=Math.min(Math.max(o,0),h.length),{row:n,column:o}},i.prototype.clonePos=function(n){return{row:n.row,column:n.column}},i.prototype.pos=function(n,o){return{row:n,column:o}},i.prototype.$clipPosition=function(n){var o=this.getLength();return n.row>=o?(n.row=Math.max(0,o-1),n.column=this.getLine(o-1).length):(n.row=Math.max(0,n.row),n.column=Math.min(Math.max(n.column,0),this.getLine(n.row).length)),n},i.prototype.insertFullLines=function(n,o){n=Math.min(Math.max(n,0),this.getLength());var c=0;n0,h=o=0&&this.applyDelta({start:this.pos(n,this.getLine(n).length),end:this.pos(n+1,0),action:"remove",lines:["",""]})},i.prototype.replace=function(n,o){if(n instanceof t||(n=t.fromPoints(n.start,n.end)),o.length===0&&n.isEmpty())return n.start;if(o==this.getTextRange(n))return n.end;this.remove(n);var c;return o?c=this.insert(n.start,o):c=n.start,c},i.prototype.applyDeltas=function(n){for(var o=0;o=0;o--)this.revertDelta(n[o])},i.prototype.applyDelta=function(n,o){var c=n.action=="insert";(c?n.lines.length<=1&&!n.lines[0]:!t.comparePoints(n.start,n.end))||(c&&n.lines.length>2e4?this.$splitAndapplyLargeDelta(n,2e4):(a(this.$lines,n,o),this._signal("change",n)))},i.prototype.$safeApplyDelta=function(n){var o=this.$lines.length;(n.action=="remove"&&n.start.row0;)t&1&&(e+=s),(t>>=1)&&(s+=s);return e};var l=/^\s\s*/,a=/\s\s*$/;f.stringTrimLeft=function(s){return s.replace(l,"")},f.stringTrimRight=function(s){return s.replace(a,"")},f.copyObject=function(s){var t={};for(var e in s)t[e]=s[e];return t},f.copyArray=function(s){for(var t=[],e=0,r=s.length;e=e.$lines.length)throw m=new Error("Invalid delta"),m.data={path:i.$path,linesLength:e.$lines.length,start:h.start,end:h.end},m;e.applyDelta(h,!0)}if(i.$timeout)return r.schedule(i.$timeout);i.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(t){this.$timeout=t},this.setValue=function(t){this.doc.setValue(t),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(t){this.sender.callback(this.doc.getValue(),t)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(s.prototype)}),ace.define("ace/mode/json/json_parse",[],function(u,f,y){"use strict";var l,a,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` `,r:"\r",t:" "},t,e=function(p){throw{name:"SyntaxError",message:p,at:l,text:t}},r=function(p){return p&&p!==a&&e("Expected '"+p+"' instead of '"+a+"'"),a=t.charAt(l),l+=1,a},i=function(){var p,g="";for(a==="-"&&(g="-",r("-"));a>="0"&&a<="9";)g+=a,r();if(a===".")for(g+=".";r()&&a>="0"&&a<="9";)g+=a;if(a==="e"||a==="E")for(g+=a,r(),(a==="-"||a==="+")&&(g+=a,r());a>="0"&&a<="9";)g+=a,r();if(p=+g,isNaN(p))e("Bad number");else return p},n=function(){var p,g,d="",L;if(a==='"')for(;r();){if(a==='"')return r(),d;if(a==="\\")if(r(),a==="u"){for(L=0,g=0;g<4&&(p=parseInt(r(),16),!!isFinite(p));g+=1)L=L*16+p;d+=String.fromCharCode(L)}else if(typeof s[a]=="string")d+=s[a];else break;else{if(a==` `||a=="\r")break;d+=a}}e("Bad string")},o=function(){for(;a&&a<=" ";)r()},c=function(){switch(a){case"t":return r("t"),r("r"),r("u"),r("e"),!0;case"f":return r("f"),r("a"),r("l"),r("s"),r("e"),!1;case"n":return r("n"),r("u"),r("l"),r("l"),null}e("Unexpected '"+a+"'")},h,m=function(){var p=[];if(a==="["){if(r("["),o(),a==="]")return r("]"),p;for(;a;){if(p.push(h()),o(),a==="]")return r("]"),p;r(","),o()}}e("Bad array")},v=function(){var p,g={};if(a==="{"){if(r("{"),o(),a==="}")return r("}"),g;for(;a;){if(p=n(),o(),r(":"),Object.hasOwnProperty.call(g,p)&&e('Duplicate key "'+p+'"'),g[p]=h(),o(),a==="}")return r("}"),g;r(","),o()}}e("Bad object")};return h=function(){switch(o(),a){case"{":return v();case"[":return m();case'"':return n();case"-":return i();default:return a>="0"&&a<="9"?i():c()}},function(p,g){var d;return t=p,l=0,a=" ",d=h(),o(),a&&e("Syntax error"),typeof g=="function"?function L(b,$){var _,P,w=b[$];if(w&&typeof w=="object")for(_ in w)Object.hasOwnProperty.call(w,_)&&(P=L(w,_),P!==void 0?w[_]=P:delete w[_]);return g.call(b,$,w)}({"":d},""):d}}),ace.define("ace/mode/json_worker",[],function(u,f,y){"use strict";var l=u("../lib/oop"),a=u("../worker/mirror").Mirror,s=u("./json/json_parse"),t=f.JsonWorker=function(e){a.call(this,e),this.setTimeout(200)};l.inherits(t,a),function(){this.onUpdate=function(){var e=this.doc.getValue(),r=[];try{e&&s(e)}catch(n){var i=this.doc.indexToPosition(n.at-1);r.push({row:i.row,column:i.column,text:n.message,type:"error"})}this.sender.emit("annotate",r)}}.call(t.prototype)})}}]);