@nocobase/app 1.3.42-beta → 1.3.43-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/client/501.e8db2401.async.js +1 -0
  2. package/dist/client/9210.ece4c1b8.async.js +66 -0
  3. package/dist/client/index.html +1 -1
  4. package/dist/client/index.html.tpl +1 -1
  5. package/dist/client/npm._at_ant-design.8385a159.async.js +111 -0
  6. package/dist/client/npm._at_formily.3ea3d9f9.async.js +101 -0
  7. package/dist/client/npm.antd.a2686812.async.js +475 -0
  8. package/dist/client/npm.buffer.fe16e7ac.async.js +1 -0
  9. package/dist/client/npm.mermaid.4531221b.async.js +1530 -0
  10. package/dist/client/{npm.postcss.368fceaf.async.js → npm.postcss.8cedfdbe.async.js} +2 -2
  11. package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.6ed38877.async.js} +1 -1
  12. package/dist/client/p__index.7a52cf56.async.js +1509 -0
  13. package/dist/client/{umi.489d34ed.js → umi.14065059.js} +2 -2
  14. package/package.json +6 -6
  15. package/dist/client/501.8710a04b.async.js +0 -1
  16. package/dist/client/6718.1e7fe05d.async.js +0 -66
  17. package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
  18. package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
  19. package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
  20. package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
  21. package/dist/client/npm.antd.91188318.async.js +0 -476
  22. package/dist/client/npm.buffer.9cce4593.async.js +0 -1
  23. package/dist/client/npm.html-tokenize.360bb6e8.async.js +0 -1
  24. package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
  25. package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
  26. package/dist/client/p__index.c0c3b9a2.async.js +0 -1509
@@ -5,14 +5,14 @@
5
5
  `+o+`
6
6
  `),this.name+": "+this.message+o}}E.exports=n,n.default=n},94258:function(E,P,h){let y=h(65631);class v extends y{constructor(u){u&&typeof u.value!="undefined"&&typeof u.value!="string"&&(u=B(F({},u),{value:String(u.value)})),super(u),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}E.exports=v,v.default=v},26461:function(E,P,h){let y=h(21019),v,n;class u extends y{constructor(p){super(F({type:"document"},p)),this.nodes||(this.nodes=[])}toResult(p={}){return new v(new n,this,p).stringify()}}u.registerLazyResult=o=>{v=o},u.registerProcessor=o=>{n=o},E.exports=u,u.default=u},50250:function(E,P,h){let y=h(94258),v=h(47981),n=h(69932),u=h(41353),o=h(5995),p=h(41025),O=h(31675);function w(l,c){if(Array.isArray(l))return l.map(r=>w(r));let a=l,{inputs:t}=a,s=Q(a,["inputs"]);if(t){c=[];for(let r of t){let i=B(F({},r),{__proto__:o.prototype});i.map&&(i.map=B(F({},i.map),{__proto__:v.prototype})),c.push(i)}}if(s.nodes&&(s.nodes=l.nodes.map(r=>w(r,c))),s.source){let e=s.source,{inputId:r}=e,i=Q(e,["inputId"]);s.source=i,r!=null&&(s.source.input=c[r])}if(s.type==="root")return new p(s);if(s.type==="decl")return new y(s);if(s.type==="rule")return new O(s);if(s.type==="comment")return new n(s);if(s.type==="atrule")return new u(s);throw new Error("Unknown node type: "+l.type)}E.exports=w,w.default=w},5995:function(E,P,h){let{SourceMapConsumer:y,SourceMapGenerator:v}=h(70209),{fileURLToPath:n,pathToFileURL:u}=h(87414),{isAbsolute:o,resolve:p}=h(99830),{nanoid:O}=h(96888),w=h(22868),l=h(42671),c=h(47981),t=Symbol("fromOffsetCache"),s=!!(y&&v),a=!!(p&&o);class e{constructor(i,f={}){if(i===null||typeof i=="undefined"||typeof i=="object"&&!i.toString)throw new Error(`PostCSS received ${i} instead of CSS string`);if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,f.from&&(!a||/^\w+:\/\//.test(f.from)||o(f.from)?this.file=f.from:this.file=p(f.from)),a&&s){let x=new c(this.css,f);if(x.text){this.map=x;let g=x.consumer().file;!this.file&&g&&(this.file=this.mapResolve(g))}}this.file||(this.id="<input css "+O(6)+">"),this.map&&(this.map.file=this.from)}error(i,f,x,g={}){let R,S,m;if(f&&typeof f=="object"){let C=f,b=x;if(typeof C.offset=="number"){let U=this.fromOffset(C.offset);f=U.line,x=U.col}else f=C.line,x=C.column;if(typeof b.offset=="number"){let U=this.fromOffset(b.offset);S=U.line,m=U.col}else S=b.line,m=b.column}else if(!x){let C=this.fromOffset(f);f=C.line,x=C.col}let d=this.origin(f,x,S,m);return d?R=new l(i,d.endLine===void 0?d.line:{column:d.column,line:d.line},d.endLine===void 0?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,g.plugin):R=new l(i,S===void 0?f:{column:x,line:f},S===void 0?x:{column:m,line:S},this.css,this.file,g.plugin),R.input={column:x,endColumn:m,endLine:S,line:f,source:this.css},this.file&&(u&&(R.input.url=u(this.file).toString()),R.input.file=this.file),R}fromOffset(i){let f,x;if(this[t])x=this[t];else{let R=this.css.split(`
7
7
  `);x=new Array(R.length);let S=0;for(let m=0,d=R.length;m<d;m++)x[m]=S,S+=R[m].length+1;this[t]=x}f=x[x.length-1];let g=0;if(i>=f)g=x.length-1;else{let R=x.length-2,S;for(;g<R;)if(S=g+(R-g>>1),i<x[S])R=S-1;else if(i>=x[S+1])g=S+1;else{g=S;break}}return{col:i-x[g]+1,line:g+1}}mapResolve(i){return/^\w+:\/\//.test(i)?i:p(this.map.consumer().sourceRoot||this.map.root||".",i)}origin(i,f,x,g){if(!this.map)return!1;let R=this.map.consumer(),S=R.originalPositionFor({column:f,line:i});if(!S.source)return!1;let m;typeof x=="number"&&(m=R.originalPositionFor({column:g,line:x}));let d;o(S.source)?d=u(S.source):d=new URL(S.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let C={column:S.column,endColumn:m&&m.column,endLine:m&&m.line,line:S.line,url:d.toString()};if(d.protocol==="file:")if(n)C.file=n(d);else throw new Error("file: protocol is not available in this PostCSS build");let b=R.sourceContentFor(S.source);return b&&(C.source=b),C}toJSON(){let i={};for(let f of["hasBOM","css","file","id"])this[f]!=null&&(i[f]=this[f]);return this.map&&(i.map=F({},this.map),i.map.consumerCache&&(i.map.consumerCache=void 0)),i}get from(){return this.file||this.id}}E.exports=e,e.default=e,w&&w.registerInput&&w.registerInput(e)},21939:function(E,P,h){let{isClean:y,my:v}=h(65513),n=h(48505),u=h(67088),o=h(21019),p=h(26461),O=h(72448),w=h(83632),l=h(66939),c=h(41025);const t={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},s={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},a={Once:!0,postcssPlugin:!0,prepare:!0},e=0;function r(S){return typeof S=="object"&&typeof S.then=="function"}function i(S){let m=!1,d=t[S.type];return S.type==="decl"?m=S.prop.toLowerCase():S.type==="atrule"&&(m=S.name.toLowerCase()),m&&S.append?[d,d+"-"+m,e,d+"Exit",d+"Exit-"+m]:m?[d,d+"-"+m,d+"Exit",d+"Exit-"+m]:S.append?[d,e,d+"Exit"]:[d,d+"Exit"]}function f(S){let m;return S.type==="document"?m=["Document",e,"DocumentExit"]:S.type==="root"?m=["Root",e,"RootExit"]:m=i(S),{eventIndex:0,events:m,iterator:0,node:S,visitorIndex:0,visitors:[]}}function x(S){return S[y]=!1,S.nodes&&S.nodes.forEach(m=>x(m)),S}let g={};class R{constructor(m,d,C){this.stringified=!1,this.processed=!1;let b;if(typeof d=="object"&&d!==null&&(d.type==="root"||d.type==="document"))b=x(d);else if(d instanceof R||d instanceof w)b=x(d.root),d.map&&(typeof C.map=="undefined"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=d.map);else{let U=l;C.syntax&&(U=C.syntax.parse),C.parser&&(U=C.parser),U.parse&&(U=U.parse);try{b=U(d,C)}catch(M){this.processed=!0,this.error=M}b&&!b[v]&&o.rebuild(b)}this.result=new w(m,b,C),this.helpers=B(F({},g),{postcss:g,result:this.result}),this.plugins=this.processor.plugins.map(U=>typeof U=="object"&&U.prepare?F(F({},U),U.prepare(this.result)):U)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(m){return this.async().catch(m)}finally(m){return this.async().then(m,m)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(m,d){let C=this.result.lastPlugin;try{d&&d.addToError(m),this.error=m,m.name==="CssSyntaxError"&&!m.plugin?(m.plugin=C.postcssPlugin,m.setMessage()):C.postcssVersion}catch(b){console&&console.error&&console.error(b)}return m}prepareVisitors(){this.listeners={};let m=(d,C,b)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([d,b])};for(let d of this.plugins)if(typeof d=="object")for(let C in d){if(!s[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${d.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!a[C])if(typeof d[C]=="object")for(let b in d[C])b==="*"?m(d,C,d[C][b]):m(d,C+"-"+b.toLowerCase(),d[C][b]);else typeof d[C]=="function"&&m(d,C,d[C])}this.hasListener=Object.keys(this.listeners).length>0}runAsync(){return ee(this,null,function*(){this.plugin=0;for(let m=0;m<this.plugins.length;m++){let d=this.plugins[m],C=this.runOnRoot(d);if(r(C))try{yield C}catch(b){throw this.handleError(b)}}if(this.prepareVisitors(),this.hasListener){let m=this.result.root;for(;!m[y];){m[y]=!0;let d=[f(m)];for(;d.length>0;){let C=this.visitTick(d);if(r(C))try{yield C}catch(b){let U=d[d.length-1].node;throw this.handleError(b,U)}}}if(this.listeners.OnceExit)for(let[d,C]of this.listeners.OnceExit){this.result.lastPlugin=d;try{if(m.type==="document"){let b=m.nodes.map(U=>C(U,this.helpers));yield Promise.all(b)}else yield C(m,this.helpers)}catch(b){throw this.handleError(b)}}}return this.processed=!0,this.stringify()})}runOnRoot(m){this.result.lastPlugin=m;try{if(typeof m=="object"&&m.Once){if(this.result.root.type==="document"){let d=this.result.root.nodes.map(C=>m.Once(C,this.helpers));return r(d[0])?Promise.all(d):d}return m.Once(this.result.root,this.helpers)}else if(typeof m=="function")return m(this.result.root,this.result)}catch(d){throw this.handleError(d)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let m=this.result.opts,d=u;m.syntax&&(d=m.syntax.stringify),m.stringifier&&(d=m.stringifier),d.stringify&&(d=d.stringify);let b=new n(d,this.result.root,this.result.opts).generate();return this.result.css=b[0],this.result.map=b[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let m of this.plugins){let d=this.runOnRoot(m);if(r(d))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let m=this.result.root;for(;!m[y];)m[y]=!0,this.walkSync(m);if(this.listeners.OnceExit)if(m.type==="document")for(let d of m.nodes)this.visitSync(this.listeners.OnceExit,d);else this.visitSync(this.listeners.OnceExit,m)}return this.result}then(m,d){return this.async().then(m,d)}toString(){return this.css}visitSync(m,d){for(let[C,b]of m){this.result.lastPlugin=C;let U;try{U=b(d,this.helpers)}catch(M){throw this.handleError(M,d.proxyOf)}if(d.type!=="root"&&d.type!=="document"&&!d.parent)return!0;if(r(U))throw this.getAsyncError()}}visitTick(m){let d=m[m.length-1],{node:C,visitors:b}=d;if(C.type!=="root"&&C.type!=="document"&&!C.parent){m.pop();return}if(b.length>0&&d.visitorIndex<b.length){let[M,A]=b[d.visitorIndex];d.visitorIndex+=1,d.visitorIndex===b.length&&(d.visitors=[],d.visitorIndex=0),this.result.lastPlugin=M;try{return A(C.toProxy(),this.helpers)}catch(j){throw this.handleError(j,C)}}if(d.iterator!==0){let M=d.iterator,A;for(;A=C.nodes[C.indexes[M]];)if(C.indexes[M]+=1,!A[y]){A[y]=!0,m.push(f(A));return}d.iterator=0,delete C.indexes[M]}let U=d.events;for(;d.eventIndex<U.length;){let M=U[d.eventIndex];if(d.eventIndex+=1,M===e){C.nodes&&C.nodes.length&&(C[y]=!0,d.iterator=C.getIterator());return}else if(this.listeners[M]){d.visitors=this.listeners[M];return}}m.pop()}walkSync(m){m[y]=!0;let d=i(m);for(let C of d)if(C===e)m.nodes&&m.each(b=>{b[y]||this.walkSync(b)});else{let b=this.listeners[C];if(b&&this.visitSync(b,m.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}R.registerPostcss=S=>{g=S},E.exports=R,R.default=R,c.registerLazyResult(R),p.registerLazyResult(R)},54715:function(E){let P={comma(h){return P.split(h,[","],!0)},space(h){let y=[" ",`
8
- `," "];return P.split(h,y)},split(h,y,v){let n=[],u="",o=!1,p=0,O=!1,w="",l=!1;for(let c of h)l?l=!1:c==="\\"?l=!0:O?c===w&&(O=!1):c==='"'||c==="'"?(O=!0,w=c):c==="("?p+=1:c===")"?p>0&&(p-=1):p===0&&y.includes(c)&&(o=!0),o?(u!==""&&n.push(u.trim()),u="",o=!1):u+=c;return(v||u!=="")&&n.push(u.trim()),n}};E.exports=P,P.default=P},48505:function(E,P,h){var y=h(48764).Buffer;let{SourceMapConsumer:v,SourceMapGenerator:n}=h(70209),{dirname:u,relative:o,resolve:p,sep:O}=h(99830),{pathToFileURL:w}=h(87414),l=h(5995),c=!!(v&&n),t=!!(u&&p&&o&&O);class s{constructor(e,r,i,f){this.stringify=e,this.mapOpts=i.map||{},this.root=r,this.opts=i,this.css=f,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
8
+ `," "];return P.split(h,y)},split(h,y,v){let n=[],u="",o=!1,p=0,O=!1,w="",l=!1;for(let c of h)l?l=!1:c==="\\"?l=!0:O?c===w&&(O=!1):c==='"'||c==="'"?(O=!0,w=c):c==="("?p+=1:c===")"?p>0&&(p-=1):p===0&&y.includes(c)&&(o=!0),o?(u!==""&&n.push(u.trim()),u="",o=!1):u+=c;return(v||u!=="")&&n.push(u.trim()),n}};E.exports=P,P.default=P},48505:function(E,P,h){var y=h(48764).lW;let{SourceMapConsumer:v,SourceMapGenerator:n}=h(70209),{dirname:u,relative:o,resolve:p,sep:O}=h(99830),{pathToFileURL:w}=h(87414),l=h(5995),c=!!(v&&n),t=!!(u&&p&&o&&O);class s{constructor(e,r,i,f){this.stringify=e,this.mapOpts=i.map||{},this.root=r,this.opts=i,this.css=f,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
9
9
  `;this.css.includes(`\r
10
10
  `)&&(r=`\r
11
11
  `),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),i=e.root||u(e.file),f;this.mapOpts.sourcesContent===!1?(f=new v(e.text),f.sourcesContent&&(f.sourcesContent=f.sourcesContent.map(()=>null))):f=e.consumer(),this.map.applySourceMap(f,r,this.toUrl(this.path(i)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),t&&c&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=n.fromSourceMap(e)}else this.map=new n({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new n({file:this.outputFile()});let e=1,r=1,i="<no source>",f={generated:{column:0,line:0},original:{column:0,line:0},source:""},x,g;this.stringify(this.root,(R,S,m)=>{if(this.css+=R,S&&m!=="end"&&(f.generated.line=e,f.generated.column=r-1,S.source&&S.source.start?(f.source=this.sourcePath(S),f.original.line=S.source.start.line,f.original.column=S.source.start.column-1,this.map.addMapping(f)):(f.source=i,f.original.line=1,f.original.column=0,this.map.addMapping(f))),x=R.match(/\n/g),x?(e+=x.length,g=R.lastIndexOf(`
12
12
  `),r=R.length-g):r+=R.length,S&&m!=="start"){let d=S.parent||{raws:{}};(!(S.type==="decl"||S.type==="atrule"&&!S.nodes)||S!==d.last||d.raws.semicolon)&&(S.source&&S.source.end?(f.source=this.sourcePath(S),f.original.line=S.source.end.line,f.original.column=S.source.end.column-1,f.generated.line=e,f.generated.column=r-2,this.map.addMapping(f)):(f.source=i,f.original.line=1,f.original.column=0,f.generated.line=e,f.generated.column=r-1,this.map.addMapping(f)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let i=this.opts.to?u(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(i=u(p(i,this.mapOpts.annotation)));let f=o(i,e);return this.memoizedPaths.set(e,f),f}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new l(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let i=r.source.input.from;if(i&&!e[i]){e[i]=!0;let f=this.usesFileUrls?this.toFileUrl(i):this.toUrl(this.path(i));this.map.setSourceContent(f,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return y?y.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(w){let i=w(e).toString();return this.memoizedFileURLs.set(e,i),i}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;O==="\\"&&(e=e.replace(/\\/g,"/"));let i=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,i),i}}E.exports=s},47647:function(E,P,h){let y=h(48505),v=h(67088),n=h(72448),u=h(66939);const o=h(83632);class p{constructor(w,l,c){l=l.toString(),this.stringified=!1,this._processor=w,this._css=l,this._opts=c,this._map=void 0;let t,s=v;this.result=new o(this._processor,t,this._opts),this.result.css=l;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let e=new y(s,t,this._opts,l);if(e.isMap()){let[r,i]=e.generate();r&&(this.result.css=r),i&&(this.result.map=i)}}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(w){return this.async().catch(w)}finally(w){return this.async().then(w,w)}sync(){if(this.error)throw this.error;return this.result}then(w,l){return this.async().then(w,l)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let w,l=u;try{w=l(this._css,this._opts)}catch(c){this.error=c}if(this.error)throw this.error;return this._root=w,w}get[Symbol.toStringTag](){return"NoWorkResult"}}E.exports=p,p.default=p},65631:function(E,P,h){let{isClean:y,my:v}=h(65513),n=h(42671),u=h(1062),o=h(67088);function p(w,l){let c=new w.constructor;for(let t in w){if(!Object.prototype.hasOwnProperty.call(w,t)||t==="proxyCache")continue;let s=w[t],a=typeof s;t==="parent"&&a==="object"?l&&(c[t]=l):t==="source"?c[t]=s:Array.isArray(s)?c[t]=s.map(e=>p(e,c)):(a==="object"&&s!==null&&(s=p(s)),c[t]=s)}return c}class O{constructor(l={}){this.raws={},this[y]=!1,this[v]=!0;for(let c in l)if(c==="nodes"){this.nodes=[];for(let t of l[c])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[c]=l[c]}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let c=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${c.input.from}:${c.start.line}:${c.start.column}$&`)}return l}after(l){return this.parent.insertAfter(this,l),this}assign(l={}){for(let c in l)this[c]=l[c];return this}before(l){return this.parent.insertBefore(this,l),this}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}clone(l={}){let c=p(this);for(let t in l)c[t]=l[t];return c}cloneAfter(l={}){let c=this.clone(l);return this.parent.insertAfter(this,c),c}cloneBefore(l={}){let c=this.clone(l);return this.parent.insertBefore(this,c),c}error(l,c={}){if(this.source){let{end:t,start:s}=this.rangeBy(c);return this.source.input.error(l,{column:s.column,line:s.line},{column:t.column,line:t.line},c)}return new n(l)}getProxyProcessor(){return{get(l,c){return c==="proxyOf"?l:c==="root"?()=>l.root().toProxy():l[c]},set(l,c,t){return l[c]===t||(l[c]=t,(c==="prop"||c==="value"||c==="name"||c==="params"||c==="important"||c==="text")&&l.markDirty()),!0}}}markDirty(){if(this[y]){this[y]=!1;let l=this;for(;l=l.parent;)l[y]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l,c){let t=this.source.start;if(l.index)t=this.positionInside(l.index,c);else if(l.word){c=this.toString();let s=c.indexOf(l.word);s!==-1&&(t=this.positionInside(s,c))}return t}positionInside(l,c){let t=c||this.toString(),s=this.source.start.column,a=this.source.start.line;for(let e=0;e<l;e++)t[e]===`
13
13
  `?(s=1,a+=1):s+=1;return{column:s,line:a}}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}rangeBy(l){let c={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:c.column+1,line:c.line};if(l.word){let s=this.toString(),a=s.indexOf(l.word);a!==-1&&(c=this.positionInside(a,s),t=this.positionInside(a+l.word.length,s))}else l.start?c={column:l.start.column,line:l.start.line}:l.index&&(c=this.positionInside(l.index)),l.end?t={column:l.end.column,line:l.end.line}:l.endIndex?t=this.positionInside(l.endIndex):l.index&&(t=this.positionInside(l.index+1));return(t.line<c.line||t.line===c.line&&t.column<=c.column)&&(t={column:c.column+1,line:c.line}),{end:t,start:c}}raw(l,c){return new u().raw(this,l,c)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...l){if(this.parent){let c=this,t=!1;for(let s of l)s===this?t=!0:t?(this.parent.insertAfter(c,s),c=s):this.parent.insertBefore(c,s);t||this.remove()}return this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}toJSON(l,c){let t={},s=c==null;c=c||new Map;let a=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||e==="parent"||e==="proxyCache")continue;let r=this[e];if(Array.isArray(r))t[e]=r.map(i=>typeof i=="object"&&i.toJSON?i.toJSON(null,c):i);else if(typeof r=="object"&&r.toJSON)t[e]=r.toJSON(null,c);else if(e==="source"){let i=c.get(r.input);i==null&&(i=a,c.set(r.input,a),a++),t[e]={end:r.end,inputId:i,start:r.start}}else t[e]=r}return s&&(t.inputs=[...c.keys()].map(e=>e.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=o){l.stringify&&(l=l.stringify);let c="";return l(this,t=>{c+=t}),c}warn(l,c,t){let s={node:this};for(let a in t)s[a]=t[a];return l.warn(c,s)}get proxyOf(){return this}}E.exports=O,O.default=O},66939:function(E,P,h){let y=h(21019),v=h(68867),n=h(5995);function u(o,p){let O=new n(o,p),w=new v(O);try{w.parse()}catch(l){throw l}return w.root}E.exports=u,u.default=u,y.registerParse(u)},68867:function(E,P,h){let y=h(94258),v=h(83852),n=h(69932),u=h(41353),o=h(41025),p=h(31675);const O={empty:!0,space:!0};function w(c){for(let t=c.length-1;t>=0;t--){let s=c[t],a=s[3]||s[2];if(a)return a}}class l{constructor(t){this.input=t,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let s=new u;s.name=t[1].slice(1),s.name===""&&this.unnamedAtrule(s,t),this.init(s,t[2]);let a,e,r,i=!1,f=!1,x=[],g=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),a=t[0],a==="("||a==="["?g.push(a==="("?")":"]"):a==="{"&&g.length>0?g.push("}"):a===g[g.length-1]&&g.pop(),g.length===0)if(a===";"){s.source.end=this.getPosition(t[2]),s.source.end.offset++,this.semicolon=!0;break}else if(a==="{"){f=!0;break}else if(a==="}"){if(x.length>0){for(r=x.length-1,e=x[r];e&&e[0]==="space";)e=x[--r];e&&(s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++)}this.end(t);break}else x.push(t);else x.push(t);if(this.tokenizer.endOfFile()){i=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(x),x.length?(s.raws.afterName=this.spacesAndCommentsFromStart(x),this.raw(s,"params",x),i&&(t=x[x.length-1],s.source.end=this.getPosition(t[3]||t[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),f&&(s.nodes=[],this.current=s)}checkMissedSemicolon(t){let s=this.colon(t);if(s===!1)return;let a=0,e;for(let r=s-1;r>=0&&(e=t[r],!(e[0]!=="space"&&(a+=1,a===2)));r--);throw this.input.error("Missed semicolon",e[0]==="word"?e[3]+1:e[2])}colon(t){let s=0,a,e,r;for(let[i,f]of t.entries()){if(a=f,e=a[0],e==="("&&(s+=1),e===")"&&(s-=1),s===0&&e===":")if(!r)this.doubleColon(a);else{if(r[0]==="word"&&r[1]==="progid")continue;return i}r=a}return!1}comment(t){let s=new n;this.init(s,t[2]),s.source.end=this.getPosition(t[3]||t[2]),s.source.end.offset++;let a=t[1].slice(2,-2);if(/^\s*$/.test(a))s.text="",s.raws.left=a,s.raws.right="";else{let e=a.match(/^(\s*)([^]*\S)(\s*)$/);s.text=e[2],s.raws.left=e[1],s.raws.right=e[3]}}createTokenizer(){this.tokenizer=v(this.input)}decl(t,s){let a=new y;this.init(a,t[0][2]);let e=t[t.length-1];for(e[0]===";"&&(this.semicolon=!0,t.pop()),a.source.end=this.getPosition(e[3]||e[2]||w(t)),a.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),a.raws.before+=t.shift()[1];for(a.source.start=this.getPosition(t[0][2]),a.prop="";t.length;){let g=t[0][0];if(g===":"||g==="space"||g==="comment")break;a.prop+=t.shift()[1]}a.raws.between="";let r;for(;t.length;)if(r=t.shift(),r[0]===":"){a.raws.between+=r[1];break}else r[0]==="word"&&/\w/.test(r[1])&&this.unknownWord([r]),a.raws.between+=r[1];(a.prop[0]==="_"||a.prop[0]==="*")&&(a.raws.before+=a.prop[0],a.prop=a.prop.slice(1));let i=[],f;for(;t.length&&(f=t[0][0],!(f!=="space"&&f!=="comment"));)i.push(t.shift());this.precheckMissedSemicolon(t);for(let g=t.length-1;g>=0;g--){if(r=t[g],r[1].toLowerCase()==="!important"){a.important=!0;let R=this.stringFrom(t,g);R=this.spacesFromEnd(t)+R,R!==" !important"&&(a.raws.important=R);break}else if(r[1].toLowerCase()==="important"){let R=t.slice(0),S="";for(let m=g;m>0;m--){let d=R[m][0];if(S.trim().indexOf("!")===0&&d!=="space")break;S=R.pop()[1]+S}S.trim().indexOf("!")===0&&(a.important=!0,a.raws.important=S,t=R)}if(r[0]!=="space"&&r[0]!=="comment")break}t.some(g=>g[0]!=="space"&&g[0]!=="comment")&&(a.raws.between+=i.map(g=>g[1]).join(""),i=[]),this.raw(a,"value",i.concat(t),s),a.value.includes(":")&&!s&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let s=new p;this.init(s,t[2]),s.selector="",s.raws.between="",this.current=s}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let s=this.input.fromOffset(t);return{column:s.col,line:s.line,offset:t}}init(t,s){this.current.push(t),t.source={input:this.input,start:this.getPosition(s)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let s=!1,a=null,e=!1,r=null,i=[],f=t[1].startsWith("--"),x=[],g=t;for(;g;){if(a=g[0],x.push(g),a==="("||a==="[")r||(r=g),i.push(a==="("?")":"]");else if(f&&e&&a==="{")r||(r=g),i.push("}");else if(i.length===0)if(a===";")if(e){this.decl(x,f);return}else break;else if(a==="{"){this.rule(x);return}else if(a==="}"){this.tokenizer.back(x.pop()),s=!0;break}else a===":"&&(e=!0);else a===i[i.length-1]&&(i.pop(),i.length===0&&(r=null));g=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),i.length>0&&this.unclosedBracket(r),s&&e){if(!f)for(;x.length&&(g=x[x.length-1][0],!(g!=="space"&&g!=="comment"));)this.tokenizer.back(x.pop());this.decl(x,f)}else this.unknownWord(x)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,s,a,e){let r,i,f=a.length,x="",g=!0,R,S;for(let m=0;m<f;m+=1)r=a[m],i=r[0],i==="space"&&m===f-1&&!e?g=!1:i==="comment"?(S=a[m-1]?a[m-1][0]:"empty",R=a[m+1]?a[m+1][0]:"empty",!O[S]&&!O[R]?x.slice(-1)===","?g=!1:x+=r[1]:g=!1):x+=r[1];if(!g){let m=a.reduce((d,C)=>d+C[1],"");t.raws[s]={raw:m,value:x}}t[s]=x}rule(t){t.pop();let s=new p;this.init(s,t[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(s,"selector",t),this.current=s}spacesAndCommentsFromEnd(t){let s,a="";for(;t.length&&(s=t[t.length-1][0],!(s!=="space"&&s!=="comment"));)a=t.pop()[1]+a;return a}spacesAndCommentsFromStart(t){let s,a="";for(;t.length&&(s=t[0][0],!(s!=="space"&&s!=="comment"));)a+=t.shift()[1];return a}spacesFromEnd(t){let s,a="";for(;t.length&&(s=t[t.length-1][0],s==="space");)a=t.pop()[1]+a;return a}stringFrom(t,s){let a="";for(let e=s;e<t.length;e++)a+=t[e][1];return t.splice(s,t.length-s),a}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,s){throw this.input.error("At-rule without name",{offset:s[2]},{offset:s[2]+s[1].length})}}E.exports=l},50020:function(E,P,h){let y=h(42671),v=h(94258),n=h(21939),u=h(21019),o=h(71723),p=h(67088),O=h(50250),w=h(26461),l=h(11728),c=h(69932),t=h(41353),s=h(83632),a=h(5995),e=h(66939),r=h(54715),i=h(31675),f=h(41025),x=h(65631);function g(...R){return R.length===1&&Array.isArray(R[0])&&(R=R[0]),new o(R)}g.plugin=function(S,m){let d=!1;function C(...U){console&&console.warn&&!d&&(d=!0,console.warn(S+`: postcss.plugin was deprecated. Migration guide:
14
14
  https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{NODE_ENV:"production",PUBLIC_PATH:"auto"}.LANG&&{NODE_ENV:"production",PUBLIC_PATH:"auto"}.LANG.startsWith("cn")&&console.warn(S+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
15
- https://www.w3ctech.com/topic/2226`));let M=m(...U);return M.postcssPlugin=S,M.postcssVersion=new o().version,M}let b;return Object.defineProperty(C,"postcss",{get(){return b||(b=C()),b}}),C.process=function(U,M,A){return g([C(A)]).process(U,M)},C},g.stringify=p,g.parse=e,g.fromJSON=O,g.list=r,g.comment=R=>new c(R),g.atRule=R=>new t(R),g.decl=R=>new v(R),g.rule=R=>new i(R),g.root=R=>new f(R),g.document=R=>new w(R),g.CssSyntaxError=y,g.Declaration=v,g.Container=u,g.Processor=o,g.Document=w,g.Comment=c,g.Warning=l,g.AtRule=t,g.Result=s,g.Input=a,g.Rule=i,g.Root=f,g.Node=x,n.registerPostcss(g),E.exports=g,g.default=g},47981:function(E,P,h){var y=h(48764).Buffer;let{SourceMapConsumer:v,SourceMapGenerator:n}=h(70209),{existsSync:u,readFileSync:o}=h(14777),{dirname:p,join:O}=h(99830);function w(c){return y?y.from(c,"base64").toString():window.atob(c)}class l{constructor(t,s){if(s.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let a=s.map?s.map.prev:void 0,e=this.loadMap(s.from,a);!this.mapFile&&s.from&&(this.mapFile=s.from),this.mapFile&&(this.root=p(this.mapFile)),e&&(this.text=e)}consumer(){return this.consumerCache||(this.consumerCache=new v(this.text)),this.consumerCache}decodeInline(t){let s=/^data:application\/json;charset=utf-?8;base64,/,a=/^data:application\/json;base64,/,e=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/;if(e.test(t)||r.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(s.test(t)||a.test(t))return w(t.substr(RegExp.lastMatch.length));let i=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let s=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!s)return;let a=t.lastIndexOf(s.pop()),e=t.indexOf("*/",a);a>-1&&e>-1&&(this.annotation=this.getAnnotationURL(t.substring(a,e)))}loadFile(t){if(this.root=p(t),u(t))return this.mapFile=t,o(t,"utf-8").toString().trim()}loadMap(t,s){if(s===!1)return!1;if(s){if(typeof s=="string")return s;if(typeof s=="function"){let a=s(t);if(a){let e=this.loadFile(a);if(!e)throw new Error("Unable to load previous source map: "+a.toString());return e}}else{if(s instanceof v)return n.fromSourceMap(s).toString();if(s instanceof n)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let a=this.annotation;return t&&(a=O(p(t),a)),this.loadFile(a)}}}startWith(t,s){return t?t.substr(0,s.length)===s:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}E.exports=l,l.default=l},71723:function(E,P,h){let y=h(47647),v=h(21939),n=h(26461),u=h(41025);class o{constructor(O=[]){this.version="8.4.32",this.plugins=this.normalize(O)}normalize(O){let w=[];for(let l of O)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))w=w.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)w.push(l);else if(typeof l=="function")w.push(l);else if(!(typeof l=="object"&&(l.parse||l.stringify)))throw new Error(l+" is not a PostCSS plugin");return w}process(O,w={}){return this.plugins.length===0&&typeof w.parser=="undefined"&&typeof w.stringifier=="undefined"&&typeof w.syntax=="undefined"?new y(this,O,w):new v(this,O,w)}use(O){return this.plugins=this.plugins.concat(this.normalize([O])),this}}E.exports=o,o.default=o,u.registerProcessor(o),n.registerProcessor(o)},83632:function(E,P,h){let y=h(11728);class v{constructor(u,o,p){this.processor=u,this.messages=[],this.root=o,this.opts=p,this.css=void 0,this.map=void 0}toString(){return this.css}warn(u,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let p=new y(u,o);return this.messages.push(p),p}warnings(){return this.messages.filter(u=>u.type==="warning")}get content(){return this.css}}E.exports=v,v.default=v},41025:function(E,P,h){let y=h(21019),v,n;class u extends y{constructor(p){super(p),this.type="root",this.nodes||(this.nodes=[])}normalize(p,O,w){let l=super.normalize(p);if(O){if(w==="prepend")this.nodes.length>1?O.raws.before=this.nodes[1].raws.before:delete O.raws.before;else if(this.first!==O)for(let c of l)c.raws.before=O.raws.before}return l}removeChild(p,O){let w=this.index(p);return!O&&w===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[w].raws.before),super.removeChild(p)}toResult(p={}){return new v(new n,this,p).stringify()}}u.registerLazyResult=o=>{v=o},u.registerProcessor=o=>{n=o},E.exports=u,u.default=u,y.registerRoot(u)},31675:function(E,P,h){let y=h(21019),v=h(54715);class n extends y{constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return v.comma(this.selector)}set selectors(o){let p=this.selector?this.selector.match(/,\s*/):null,O=p?p[0]:","+this.raw("between","beforeOpen");this.selector=o.join(O)}}E.exports=n,n.default=n,y.registerRule(n)},1062:function(E){const P={after:`
15
+ https://www.w3ctech.com/topic/2226`));let M=m(...U);return M.postcssPlugin=S,M.postcssVersion=new o().version,M}let b;return Object.defineProperty(C,"postcss",{get(){return b||(b=C()),b}}),C.process=function(U,M,A){return g([C(A)]).process(U,M)},C},g.stringify=p,g.parse=e,g.fromJSON=O,g.list=r,g.comment=R=>new c(R),g.atRule=R=>new t(R),g.decl=R=>new v(R),g.rule=R=>new i(R),g.root=R=>new f(R),g.document=R=>new w(R),g.CssSyntaxError=y,g.Declaration=v,g.Container=u,g.Processor=o,g.Document=w,g.Comment=c,g.Warning=l,g.AtRule=t,g.Result=s,g.Input=a,g.Rule=i,g.Root=f,g.Node=x,n.registerPostcss(g),E.exports=g,g.default=g},47981:function(E,P,h){var y=h(48764).lW;let{SourceMapConsumer:v,SourceMapGenerator:n}=h(70209),{existsSync:u,readFileSync:o}=h(14777),{dirname:p,join:O}=h(99830);function w(c){return y?y.from(c,"base64").toString():window.atob(c)}class l{constructor(t,s){if(s.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let a=s.map?s.map.prev:void 0,e=this.loadMap(s.from,a);!this.mapFile&&s.from&&(this.mapFile=s.from),this.mapFile&&(this.root=p(this.mapFile)),e&&(this.text=e)}consumer(){return this.consumerCache||(this.consumerCache=new v(this.text)),this.consumerCache}decodeInline(t){let s=/^data:application\/json;charset=utf-?8;base64,/,a=/^data:application\/json;base64,/,e=/^data:application\/json;charset=utf-?8,/,r=/^data:application\/json,/;if(e.test(t)||r.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(s.test(t)||a.test(t))return w(t.substr(RegExp.lastMatch.length));let i=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let s=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!s)return;let a=t.lastIndexOf(s.pop()),e=t.indexOf("*/",a);a>-1&&e>-1&&(this.annotation=this.getAnnotationURL(t.substring(a,e)))}loadFile(t){if(this.root=p(t),u(t))return this.mapFile=t,o(t,"utf-8").toString().trim()}loadMap(t,s){if(s===!1)return!1;if(s){if(typeof s=="string")return s;if(typeof s=="function"){let a=s(t);if(a){let e=this.loadFile(a);if(!e)throw new Error("Unable to load previous source map: "+a.toString());return e}}else{if(s instanceof v)return n.fromSourceMap(s).toString();if(s instanceof n)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let a=this.annotation;return t&&(a=O(p(t),a)),this.loadFile(a)}}}startWith(t,s){return t?t.substr(0,s.length)===s:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}E.exports=l,l.default=l},71723:function(E,P,h){let y=h(47647),v=h(21939),n=h(26461),u=h(41025);class o{constructor(O=[]){this.version="8.4.32",this.plugins=this.normalize(O)}normalize(O){let w=[];for(let l of O)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))w=w.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)w.push(l);else if(typeof l=="function")w.push(l);else if(!(typeof l=="object"&&(l.parse||l.stringify)))throw new Error(l+" is not a PostCSS plugin");return w}process(O,w={}){return this.plugins.length===0&&typeof w.parser=="undefined"&&typeof w.stringifier=="undefined"&&typeof w.syntax=="undefined"?new y(this,O,w):new v(this,O,w)}use(O){return this.plugins=this.plugins.concat(this.normalize([O])),this}}E.exports=o,o.default=o,u.registerProcessor(o),n.registerProcessor(o)},83632:function(E,P,h){let y=h(11728);class v{constructor(u,o,p){this.processor=u,this.messages=[],this.root=o,this.opts=p,this.css=void 0,this.map=void 0}toString(){return this.css}warn(u,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let p=new y(u,o);return this.messages.push(p),p}warnings(){return this.messages.filter(u=>u.type==="warning")}get content(){return this.css}}E.exports=v,v.default=v},41025:function(E,P,h){let y=h(21019),v,n;class u extends y{constructor(p){super(p),this.type="root",this.nodes||(this.nodes=[])}normalize(p,O,w){let l=super.normalize(p);if(O){if(w==="prepend")this.nodes.length>1?O.raws.before=this.nodes[1].raws.before:delete O.raws.before;else if(this.first!==O)for(let c of l)c.raws.before=O.raws.before}return l}removeChild(p,O){let w=this.index(p);return!O&&w===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[w].raws.before),super.removeChild(p)}toResult(p={}){return new v(new n,this,p).stringify()}}u.registerLazyResult=o=>{v=o},u.registerProcessor=o=>{n=o},E.exports=u,u.default=u,y.registerRoot(u)},31675:function(E,P,h){let y=h(21019),v=h(54715);class n extends y{constructor(o){super(o),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return v.comma(this.selector)}set selectors(o){let p=this.selector?this.selector.match(/,\s*/):null,O=p?p[0]:","+this.raw("between","beforeOpen");this.selector=o.join(O)}}E.exports=n,n.default=n,y.registerRule(n)},1062:function(E){const P={after:`
16
16
  `,beforeClose:`
17
17
  `,beforeComment:`
18
18
  `,beforeDecl:`
@@ -1,4 +1,4 @@
1
- (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2386],{76095:function(ht,pt,dt){var ct=dt(48764).Buffer;(function(O,p){ht.exports=p()})(typeof self!="undefined"?self:this,function(){return function(B){var O={};function p(P){if(O[P])return O[P].exports;var T=O[P]={i:P,l:!1,exports:{}};return B[P].call(T.exports,T,T.exports,p),T.l=!0,T.exports}return p.m=B,p.c=O,p.d=function(P,T,w){p.o(P,T)||Object.defineProperty(P,T,{configurable:!1,enumerable:!0,get:w})},p.n=function(P){var T=P&&P.__esModule?function(){return P.default}:function(){return P};return p.d(T,"a",T),T},p.o=function(P,T){return Object.prototype.hasOwnProperty.call(P,T)},p.p="",p(p.s=109)}([function(B,O,p){"use strict";Object.defineProperty(O,"__esModule",{value:!0});var P=p(17),T=p(18),w=p(19),m=p(45),y=p(46),c=p(47),o=p(48),t=p(49),e=p(12),u=p(32),l=p(33),a=p(31),r=p(1),i={Scope:r.Scope,create:r.create,find:r.find,query:r.query,register:r.register,Container:P.default,Format:T.default,Leaf:w.default,Embed:o.default,Scroll:m.default,Block:c.default,Inline:y.default,Text:t.default,Attributor:{Attribute:e.default,Class:u.default,Style:l.default,Store:a.default}};O.default=i},function(B,O,p){"use strict";var P=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var f in i)i.hasOwnProperty(f)&&(r[f]=i[f])};return function(r,i){a(r,i);function f(){this.constructor=r}r.prototype=i===null?Object.create(i):(f.prototype=i.prototype,new f)}}();Object.defineProperty(O,"__esModule",{value:!0});var T=function(a){P(r,a);function r(i){var f=this;return i="[Parchment] "+i,f=a.call(this,i)||this,f.message=i,f.name=f.constructor.name,f}return r}(Error);O.ParchmentError=T;var w={},m={},y={},c={};O.DATA_KEY="__blot";var o;(function(a){a[a.TYPE=3]="TYPE",a[a.LEVEL=12]="LEVEL",a[a.ATTRIBUTE=13]="ATTRIBUTE",a[a.BLOT=14]="BLOT",a[a.INLINE=7]="INLINE",a[a.BLOCK=11]="BLOCK",a[a.BLOCK_BLOT=10]="BLOCK_BLOT",a[a.INLINE_BLOT=6]="INLINE_BLOT",a[a.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",a[a.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",a[a.ANY=15]="ANY"})(o=O.Scope||(O.Scope={}));function t(a,r){var i=u(a);if(i==null)throw new T("Unable to create "+a+" blot");var f=i,n=a instanceof Node||a.nodeType===Node.TEXT_NODE?a:f.create(r);return new f(n,r)}O.create=t;function e(a,r){return r===void 0&&(r=!1),a==null?null:a[O.DATA_KEY]!=null?a[O.DATA_KEY].blot:r?e(a.parentNode,r):null}O.find=e;function u(a,r){r===void 0&&(r=o.ANY);var i;if(typeof a=="string")i=c[a]||w[a];else if(a instanceof Text||a.nodeType===Node.TEXT_NODE)i=c.text;else if(typeof a=="number")a&o.LEVEL&o.BLOCK?i=c.block:a&o.LEVEL&o.INLINE&&(i=c.inline);else if(a instanceof HTMLElement){var f=(a.getAttribute("class")||"").split(/\s+/);for(var n in f)if(i=m[f[n]],i)break;i=i||y[a.tagName]}return i==null?null:r&o.LEVEL&i.scope&&r&o.TYPE&i.scope?i:null}O.query=u;function l(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];if(a.length>1)return a.map(function(n){return l(n)});var i=a[0];if(typeof i.blotName!="string"&&typeof i.attrName!="string")throw new T("Invalid definition");if(i.blotName==="abstract")throw new T("Cannot register abstract class");if(c[i.blotName||i.attrName]=i,typeof i.keyName=="string")w[i.keyName]=i;else if(i.className!=null&&(m[i.className]=i),i.tagName!=null){Array.isArray(i.tagName)?i.tagName=i.tagName.map(function(n){return n.toUpperCase()}):i.tagName=i.tagName.toUpperCase();var f=Array.isArray(i.tagName)?i.tagName:[i.tagName];f.forEach(function(n){(y[n]==null||i.className==null)&&(y[n]=i)})}return i}O.register=l},function(B,O,p){var P=p(51),T=p(11),w=p(3),m=p(20),y=String.fromCharCode(0),c=function(o){Array.isArray(o)?this.ops=o:o!=null&&Array.isArray(o.ops)?this.ops=o.ops:this.ops=[]};c.prototype.insert=function(o,t){var e={};return o.length===0?this:(e.insert=o,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e))},c.prototype.delete=function(o){return o<=0?this:this.push({delete:o})},c.prototype.retain=function(o,t){if(o<=0)return this;var e={retain:o};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e)},c.prototype.push=function(o){var t=this.ops.length,e=this.ops[t-1];if(o=w(!0,{},o),typeof e=="object"){if(typeof o.delete=="number"&&typeof e.delete=="number")return this.ops[t-1]={delete:e.delete+o.delete},this;if(typeof e.delete=="number"&&o.insert!=null&&(t-=1,e=this.ops[t-1],typeof e!="object"))return this.ops.unshift(o),this;if(T(o.attributes,e.attributes)){if(typeof o.insert=="string"&&typeof e.insert=="string")return this.ops[t-1]={insert:e.insert+o.insert},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this;if(typeof o.retain=="number"&&typeof e.retain=="number")return this.ops[t-1]={retain:e.retain+o.retain},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this}}return t===this.ops.length?this.ops.push(o):this.ops.splice(t,0,o),this},c.prototype.chop=function(){var o=this.ops[this.ops.length-1];return o&&o.retain&&!o.attributes&&this.ops.pop(),this},c.prototype.filter=function(o){return this.ops.filter(o)},c.prototype.forEach=function(o){this.ops.forEach(o)},c.prototype.map=function(o){return this.ops.map(o)},c.prototype.partition=function(o){var t=[],e=[];return this.forEach(function(u){var l=o(u)?t:e;l.push(u)}),[t,e]},c.prototype.reduce=function(o,t){return this.ops.reduce(o,t)},c.prototype.changeLength=function(){return this.reduce(function(o,t){return t.insert?o+m.length(t):t.delete?o-t.delete:o},0)},c.prototype.length=function(){return this.reduce(function(o,t){return o+m.length(t)},0)},c.prototype.slice=function(o,t){o=o||0,typeof t!="number"&&(t=1/0);for(var e=[],u=m.iterator(this.ops),l=0;l<t&&u.hasNext();){var a;l<o?a=u.next(o-l):(a=u.next(t-l),e.push(a)),l+=m.length(a)}return new c(e)},c.prototype.compose=function(o){var t=m.iterator(this.ops),e=m.iterator(o.ops),u=[],l=e.peek();if(l!=null&&typeof l.retain=="number"&&l.attributes==null){for(var a=l.retain;t.peekType()==="insert"&&t.peekLength()<=a;)a-=t.peekLength(),u.push(t.next());l.retain-a>0&&e.next(l.retain-a)}for(var r=new c(u);t.hasNext()||e.hasNext();)if(e.peekType()==="insert")r.push(e.next());else if(t.peekType()==="delete")r.push(t.next());else{var i=Math.min(t.peekLength(),e.peekLength()),f=t.next(i),n=e.next(i);if(typeof n.retain=="number"){var s={};typeof f.retain=="number"?s.retain=i:s.insert=f.insert;var A=m.attributes.compose(f.attributes,n.attributes,typeof f.retain=="number");if(A&&(s.attributes=A),r.push(s),!e.hasNext()&&T(r.ops[r.ops.length-1],s)){var g=new c(t.rest());return r.concat(g).chop()}}else typeof n.delete=="number"&&typeof f.retain=="number"&&r.push(n)}return r.chop()},c.prototype.concat=function(o){var t=new c(this.ops.slice());return o.ops.length>0&&(t.push(o.ops[0]),t.ops=t.ops.concat(o.ops.slice(1))),t},c.prototype.diff=function(o,t){if(this.ops===o.ops)return new c;var e=[this,o].map(function(i){return i.map(function(f){if(f.insert!=null)return typeof f.insert=="string"?f.insert:y;var n=i===o?"on":"with";throw new Error("diff() called "+n+" non-document")}).join("")}),u=new c,l=P(e[0],e[1],t),a=m.iterator(this.ops),r=m.iterator(o.ops);return l.forEach(function(i){for(var f=i[1].length;f>0;){var n=0;switch(i[0]){case P.INSERT:n=Math.min(r.peekLength(),f),u.push(r.next(n));break;case P.DELETE:n=Math.min(f,a.peekLength()),a.next(n),u.delete(n);break;case P.EQUAL:n=Math.min(a.peekLength(),r.peekLength(),f);var s=a.next(n),A=r.next(n);T(s.insert,A.insert)?u.retain(n,m.attributes.diff(s.attributes,A.attributes)):u.push(A).delete(n);break}f-=n}}),u.chop()},c.prototype.eachLine=function(o,t){t=t||`
1
+ (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2386],{76095:function(ht,pt,dt){var ct=dt(48764).lW;(function(O,p){ht.exports=p()})(typeof self!="undefined"?self:this,function(){return function(B){var O={};function p(P){if(O[P])return O[P].exports;var T=O[P]={i:P,l:!1,exports:{}};return B[P].call(T.exports,T,T.exports,p),T.l=!0,T.exports}return p.m=B,p.c=O,p.d=function(P,T,w){p.o(P,T)||Object.defineProperty(P,T,{configurable:!1,enumerable:!0,get:w})},p.n=function(P){var T=P&&P.__esModule?function(){return P.default}:function(){return P};return p.d(T,"a",T),T},p.o=function(P,T){return Object.prototype.hasOwnProperty.call(P,T)},p.p="",p(p.s=109)}([function(B,O,p){"use strict";Object.defineProperty(O,"__esModule",{value:!0});var P=p(17),T=p(18),w=p(19),m=p(45),y=p(46),c=p(47),o=p(48),t=p(49),e=p(12),u=p(32),l=p(33),a=p(31),r=p(1),i={Scope:r.Scope,create:r.create,find:r.find,query:r.query,register:r.register,Container:P.default,Format:T.default,Leaf:w.default,Embed:o.default,Scroll:m.default,Block:c.default,Inline:y.default,Text:t.default,Attributor:{Attribute:e.default,Class:u.default,Style:l.default,Store:a.default}};O.default=i},function(B,O,p){"use strict";var P=this&&this.__extends||function(){var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var f in i)i.hasOwnProperty(f)&&(r[f]=i[f])};return function(r,i){a(r,i);function f(){this.constructor=r}r.prototype=i===null?Object.create(i):(f.prototype=i.prototype,new f)}}();Object.defineProperty(O,"__esModule",{value:!0});var T=function(a){P(r,a);function r(i){var f=this;return i="[Parchment] "+i,f=a.call(this,i)||this,f.message=i,f.name=f.constructor.name,f}return r}(Error);O.ParchmentError=T;var w={},m={},y={},c={};O.DATA_KEY="__blot";var o;(function(a){a[a.TYPE=3]="TYPE",a[a.LEVEL=12]="LEVEL",a[a.ATTRIBUTE=13]="ATTRIBUTE",a[a.BLOT=14]="BLOT",a[a.INLINE=7]="INLINE",a[a.BLOCK=11]="BLOCK",a[a.BLOCK_BLOT=10]="BLOCK_BLOT",a[a.INLINE_BLOT=6]="INLINE_BLOT",a[a.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",a[a.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",a[a.ANY=15]="ANY"})(o=O.Scope||(O.Scope={}));function t(a,r){var i=u(a);if(i==null)throw new T("Unable to create "+a+" blot");var f=i,n=a instanceof Node||a.nodeType===Node.TEXT_NODE?a:f.create(r);return new f(n,r)}O.create=t;function e(a,r){return r===void 0&&(r=!1),a==null?null:a[O.DATA_KEY]!=null?a[O.DATA_KEY].blot:r?e(a.parentNode,r):null}O.find=e;function u(a,r){r===void 0&&(r=o.ANY);var i;if(typeof a=="string")i=c[a]||w[a];else if(a instanceof Text||a.nodeType===Node.TEXT_NODE)i=c.text;else if(typeof a=="number")a&o.LEVEL&o.BLOCK?i=c.block:a&o.LEVEL&o.INLINE&&(i=c.inline);else if(a instanceof HTMLElement){var f=(a.getAttribute("class")||"").split(/\s+/);for(var n in f)if(i=m[f[n]],i)break;i=i||y[a.tagName]}return i==null?null:r&o.LEVEL&i.scope&&r&o.TYPE&i.scope?i:null}O.query=u;function l(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];if(a.length>1)return a.map(function(n){return l(n)});var i=a[0];if(typeof i.blotName!="string"&&typeof i.attrName!="string")throw new T("Invalid definition");if(i.blotName==="abstract")throw new T("Cannot register abstract class");if(c[i.blotName||i.attrName]=i,typeof i.keyName=="string")w[i.keyName]=i;else if(i.className!=null&&(m[i.className]=i),i.tagName!=null){Array.isArray(i.tagName)?i.tagName=i.tagName.map(function(n){return n.toUpperCase()}):i.tagName=i.tagName.toUpperCase();var f=Array.isArray(i.tagName)?i.tagName:[i.tagName];f.forEach(function(n){(y[n]==null||i.className==null)&&(y[n]=i)})}return i}O.register=l},function(B,O,p){var P=p(51),T=p(11),w=p(3),m=p(20),y=String.fromCharCode(0),c=function(o){Array.isArray(o)?this.ops=o:o!=null&&Array.isArray(o.ops)?this.ops=o.ops:this.ops=[]};c.prototype.insert=function(o,t){var e={};return o.length===0?this:(e.insert=o,t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e))},c.prototype.delete=function(o){return o<=0?this:this.push({delete:o})},c.prototype.retain=function(o,t){if(o<=0)return this;var e={retain:o};return t!=null&&typeof t=="object"&&Object.keys(t).length>0&&(e.attributes=t),this.push(e)},c.prototype.push=function(o){var t=this.ops.length,e=this.ops[t-1];if(o=w(!0,{},o),typeof e=="object"){if(typeof o.delete=="number"&&typeof e.delete=="number")return this.ops[t-1]={delete:e.delete+o.delete},this;if(typeof e.delete=="number"&&o.insert!=null&&(t-=1,e=this.ops[t-1],typeof e!="object"))return this.ops.unshift(o),this;if(T(o.attributes,e.attributes)){if(typeof o.insert=="string"&&typeof e.insert=="string")return this.ops[t-1]={insert:e.insert+o.insert},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this;if(typeof o.retain=="number"&&typeof e.retain=="number")return this.ops[t-1]={retain:e.retain+o.retain},typeof o.attributes=="object"&&(this.ops[t-1].attributes=o.attributes),this}}return t===this.ops.length?this.ops.push(o):this.ops.splice(t,0,o),this},c.prototype.chop=function(){var o=this.ops[this.ops.length-1];return o&&o.retain&&!o.attributes&&this.ops.pop(),this},c.prototype.filter=function(o){return this.ops.filter(o)},c.prototype.forEach=function(o){this.ops.forEach(o)},c.prototype.map=function(o){return this.ops.map(o)},c.prototype.partition=function(o){var t=[],e=[];return this.forEach(function(u){var l=o(u)?t:e;l.push(u)}),[t,e]},c.prototype.reduce=function(o,t){return this.ops.reduce(o,t)},c.prototype.changeLength=function(){return this.reduce(function(o,t){return t.insert?o+m.length(t):t.delete?o-t.delete:o},0)},c.prototype.length=function(){return this.reduce(function(o,t){return o+m.length(t)},0)},c.prototype.slice=function(o,t){o=o||0,typeof t!="number"&&(t=1/0);for(var e=[],u=m.iterator(this.ops),l=0;l<t&&u.hasNext();){var a;l<o?a=u.next(o-l):(a=u.next(t-l),e.push(a)),l+=m.length(a)}return new c(e)},c.prototype.compose=function(o){var t=m.iterator(this.ops),e=m.iterator(o.ops),u=[],l=e.peek();if(l!=null&&typeof l.retain=="number"&&l.attributes==null){for(var a=l.retain;t.peekType()==="insert"&&t.peekLength()<=a;)a-=t.peekLength(),u.push(t.next());l.retain-a>0&&e.next(l.retain-a)}for(var r=new c(u);t.hasNext()||e.hasNext();)if(e.peekType()==="insert")r.push(e.next());else if(t.peekType()==="delete")r.push(t.next());else{var i=Math.min(t.peekLength(),e.peekLength()),f=t.next(i),n=e.next(i);if(typeof n.retain=="number"){var s={};typeof f.retain=="number"?s.retain=i:s.insert=f.insert;var A=m.attributes.compose(f.attributes,n.attributes,typeof f.retain=="number");if(A&&(s.attributes=A),r.push(s),!e.hasNext()&&T(r.ops[r.ops.length-1],s)){var g=new c(t.rest());return r.concat(g).chop()}}else typeof n.delete=="number"&&typeof f.retain=="number"&&r.push(n)}return r.chop()},c.prototype.concat=function(o){var t=new c(this.ops.slice());return o.ops.length>0&&(t.push(o.ops[0]),t.ops=t.ops.concat(o.ops.slice(1))),t},c.prototype.diff=function(o,t){if(this.ops===o.ops)return new c;var e=[this,o].map(function(i){return i.map(function(f){if(f.insert!=null)return typeof f.insert=="string"?f.insert:y;var n=i===o?"on":"with";throw new Error("diff() called "+n+" non-document")}).join("")}),u=new c,l=P(e[0],e[1],t),a=m.iterator(this.ops),r=m.iterator(o.ops);return l.forEach(function(i){for(var f=i[1].length;f>0;){var n=0;switch(i[0]){case P.INSERT:n=Math.min(r.peekLength(),f),u.push(r.next(n));break;case P.DELETE:n=Math.min(f,a.peekLength()),a.next(n),u.delete(n);break;case P.EQUAL:n=Math.min(a.peekLength(),r.peekLength(),f);var s=a.next(n),A=r.next(n);T(s.insert,A.insert)?u.retain(n,m.attributes.diff(s.attributes,A.attributes)):u.push(A).delete(n);break}f-=n}}),u.chop()},c.prototype.eachLine=function(o,t){t=t||`
2
2
  `;for(var e=m.iterator(this.ops),u=new c,l=0;e.hasNext();){if(e.peekType()!=="insert")return;var a=e.peek(),r=m.length(a)-e.peekLength(),i=typeof a.insert=="string"?a.insert.indexOf(t,r)-r:-1;if(i<0)u.push(e.next());else if(i>0)u.push(e.next(i));else{if(o(u,e.next(1).attributes||{},l)===!1)return;l+=1,u=new c}}u.length()>0&&o(u,{},l)},c.prototype.transform=function(o,t){if(t=!!t,typeof o=="number")return this.transformPosition(o,t);for(var e=m.iterator(this.ops),u=m.iterator(o.ops),l=new c;e.hasNext()||u.hasNext();)if(e.peekType()==="insert"&&(t||u.peekType()!=="insert"))l.retain(m.length(e.next()));else if(u.peekType()==="insert")l.push(u.next());else{var a=Math.min(e.peekLength(),u.peekLength()),r=e.next(a),i=u.next(a);if(r.delete)continue;i.delete?l.push(i):l.retain(a,m.attributes.transform(r.attributes,i.attributes,t))}return l.chop()},c.prototype.transformPosition=function(o,t){t=!!t;for(var e=m.iterator(this.ops),u=0;e.hasNext()&&u<=o;){var l=e.peekLength(),a=e.peekType();if(e.next(),a==="delete"){o-=Math.min(l,o-u);continue}else a==="insert"&&(u<o||!t)&&(o+=l);u+=l}return o},B.exports=c},function(B,O){"use strict";var p=Object.prototype.hasOwnProperty,P=Object.prototype.toString,T=Object.defineProperty,w=Object.getOwnPropertyDescriptor,m=function(e){return typeof Array.isArray=="function"?Array.isArray(e):P.call(e)==="[object Array]"},y=function(e){if(!e||P.call(e)!=="[object Object]")return!1;var u=p.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&p.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!u&&!l)return!1;var a;for(a in e);return typeof a=="undefined"||p.call(e,a)},c=function(e,u){T&&u.name==="__proto__"?T(e,u.name,{enumerable:!0,configurable:!0,value:u.newValue,writable:!0}):e[u.name]=u.newValue},o=function(e,u){if(u==="__proto__")if(p.call(e,u)){if(w)return w(e,u).value}else return;return e[u]};B.exports=function t(){var e,u,l,a,r,i,f=arguments[0],n=1,s=arguments.length,A=!1;for(typeof f=="boolean"&&(A=f,f=arguments[1]||{},n=2),(f==null||typeof f!="object"&&typeof f!="function")&&(f={});n<s;++n)if(e=arguments[n],e!=null)for(u in e)l=o(f,u),a=o(e,u),f!==a&&(A&&a&&(y(a)||(r=m(a)))?(r?(r=!1,i=l&&m(l)?l:[]):i=l&&y(l)?l:{},c(f,{name:u,newValue:t(A,i,a)})):typeof a!="undefined"&&c(f,{name:u,newValue:a}));return f}},function(B,O,p){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.default=O.BlockEmbed=O.bubbleFormats=void 0;var P=function(){function h(d,k){for(var _=0;_<k.length;_++){var q=k[_];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(d,q.key,q)}}return function(d,k,_){return k&&h(d.prototype,k),_&&h(d,_),d}}(),T=function h(d,k,_){d===null&&(d=Function.prototype);var q=Object.getOwnPropertyDescriptor(d,k);if(q===void 0){var D=Object.getPrototypeOf(d);return D===null?void 0:h(D,k,_)}else{if("value"in q)return q.value;var C=q.get;return C===void 0?void 0:C.call(_)}},w=p(3),m=f(w),y=p(2),c=f(y),o=p(0),t=f(o),e=p(16),u=f(e),l=p(6),a=f(l),r=p(7),i=f(r);function f(h){return h&&h.__esModule?h:{default:h}}function n(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:h}function A(h,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);h.prototype=Object.create(d&&d.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(h,d):h.__proto__=d)}var g=1,b=function(h){A(d,h);function d(){return n(this,d),s(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return P(d,[{key:"attach",value:function(){T(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"attach",this).call(this),this.attributes=new t.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return new c.default().insert(this.value(),(0,m.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(_,q){var D=t.default.query(_,t.default.Scope.BLOCK_ATTRIBUTE);D!=null&&this.attributes.attribute(D,q)}},{key:"formatAt",value:function(_,q,D,C){this.format(D,C)}},{key:"insertAt",value:function(_,q,D){if(typeof q=="string"&&q.endsWith(`
3
3
  `)){var C=t.default.create(N.blotName);this.parent.insertBefore(C,_===0?this:this.next),C.insertAt(0,q.slice(0,-1))}else T(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"insertAt",this).call(this,_,q,D)}}]),d}(t.default.Embed);b.scope=t.default.Scope.BLOCK_BLOT;var N=function(h){A(d,h);function d(k){n(this,d);var _=s(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,k));return _.cache={},_}return P(d,[{key:"delta",value:function(){return this.cache.delta==null&&(this.cache.delta=this.descendants(t.default.Leaf).reduce(function(_,q){return q.length()===0?_:_.insert(q.value(),v(q))},new c.default).insert(`
4
4
  `,v(this))),this.cache.delta}},{key:"deleteAt",value:function(_,q){T(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"deleteAt",this).call(this,_,q),this.cache={}}},{key:"formatAt",value:function(_,q,D,C){q<=0||(t.default.query(D,t.default.Scope.BLOCK)?_+q===this.length()&&this.format(D,C):T(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"formatAt",this).call(this,_,Math.min(q,this.length()-_-1),D,C),this.cache={})}},{key:"insertAt",value:function(_,q,D){if(D!=null)return T(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"insertAt",this).call(this,_,q,D);if(q.length!==0){var C=q.split(`