jupyter-ra-extension 1.4.201__tar.gz → 1.4.401__tar.gz

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 (34) hide show
  1. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/PKG-INFO +1 -1
  2. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/_version.py +1 -1
  3. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/labextension/package.json +2 -2
  4. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/labextension/schemas/jupyter-ra-extension/package.json.orig +1 -1
  5. jupyter_ra_extension-1.4.401/jupyter_ra_extension/labextension/static/277.a0c9a5ad5ef6ce24f6a0.js +1 -0
  6. jupyter_ra_extension-1.4.401/jupyter_ra_extension/labextension/static/44.ba89a1a3e62e50109d33.js +1 -0
  7. jupyter_ra_extension-1.4.401/jupyter_ra_extension/labextension/static/728.57c90243cf6592cdd1a0.js +1 -0
  8. jupyter_ra_extension-1.4.401/jupyter_ra_extension/labextension/static/remoteEntry.4a378af4813940129a65.js +1 -0
  9. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/labextension/static/third-party-licenses.json +2 -2
  10. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/package.json +1 -1
  11. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/yarn.lock +2272 -1100
  12. jupyter_ra_extension-1.4.201/jupyter_ra_extension/labextension/static/277.a152fe877726421b0951.js +0 -1
  13. jupyter_ra_extension-1.4.201/jupyter_ra_extension/labextension/static/44.5d69de4d0a5a5f1e3fa7.js +0 -1
  14. jupyter_ra_extension-1.4.201/jupyter_ra_extension/labextension/static/728.21199263c3af514a5f7b.js +0 -1
  15. jupyter_ra_extension-1.4.201/jupyter_ra_extension/labextension/static/remoteEntry.4f5edcc29988c1792805.js +0 -1
  16. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/.gitignore +0 -0
  17. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/.prettierignore +0 -0
  18. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/.yarnrc.yml +0 -0
  19. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/CHANGELOG.md +0 -0
  20. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/LICENSE +0 -0
  21. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/README.md +0 -0
  22. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/RELEASE.md +0 -0
  23. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/install.json +0 -0
  24. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/__init__.py +0 -0
  25. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/labextension/schemas/jupyter-ra-extension/plugin.json +0 -0
  26. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/jupyter_ra_extension/labextension/static/style.js +0 -0
  27. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/pyproject.toml +0 -0
  28. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/schema/plugin.json +0 -0
  29. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/setup.py +0 -0
  30. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/src/index.ts +0 -0
  31. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/style/base.css +0 -0
  32. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/style/index.css +0 -0
  33. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/style/index.js +0 -0
  34. {jupyter_ra_extension-1.4.201 → jupyter_ra_extension-1.4.401}/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jupyter_ra_extension
3
- Version: 1.4.201
3
+ Version: 1.4.401
4
4
  Summary: Relational Algebra Symbols in Jupyter Lab
5
5
  Project-URL: Homepage, https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb
6
6
  Project-URL: Bug Tracker, https://dbgit.prakinf.tu-ilmenau.de/ertr8623/jupyter-duckdb/issues
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '1.4.201'
4
+ __version__ = VERSION = '1.4.401'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyter-ra-extension",
3
- "version": "1.4.201",
3
+ "version": "1.4.401",
4
4
  "description": "Relational Algebra Symbols in Jupyter Lab",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -99,7 +99,7 @@
99
99
  "outputDir": "jupyter_ra_extension/labextension",
100
100
  "schemaDir": "schema",
101
101
  "_build": {
102
- "load": "static/remoteEntry.4f5edcc29988c1792805.js",
102
+ "load": "static/remoteEntry.4a378af4813940129a65.js",
103
103
  "extension": "./extension",
104
104
  "style": "./style"
105
105
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyter-ra-extension",
3
- "version": "1.4.201",
3
+ "version": "1.4.401",
4
4
  "description": "Relational Algebra Symbols in Jupyter Lab",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -0,0 +1 @@
1
+ (self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[]).push([[277],{277(e,t,s){"use strict";s.d(t,{Rv:()=>ke,fy:()=>he,ll:()=>me});var i=s(84),n=s(839),r=s(708),a=s(606);class o{constructor(e,t,s,i,n,r,a,o,l,c=0,h){this.p=e,this.stack=t,this.state=s,this.reducePos=i,this.pos=n,this.score=r,this.buffer=a,this.bufferBase=o,this.curContext=l,this.lookAhead=c,this.parent=h}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,s=0){let i=e.parser.context;return new o(e,[],t,s,s,0,[],0,i?new l(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let s=e>>19,i=65535&e,{parser:n}=this.p,r=this.reducePos<this.pos-25&&this.setLookAhead(this.pos),a=n.dynamicPrecedence(i);if(a&&(this.score+=a),0==s)return this.pushState(n.getGoto(this.state,i,!0),this.reducePos),i<n.minRepeatTerm&&this.storeNode(i,this.reducePos,this.reducePos,r?8:4,!0),void this.reduceContext(i,this.reducePos);let o=this.stack.length-3*(s-1)-(262144&e?6:0),l=o?this.stack[o-2]:this.p.ranges[0].from,c=this.reducePos-l;c>=2e3&&!(null===(t=this.p.parser.nodeSet.types[i])||void 0===t?void 0:t.isAnonymous)&&(l==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSize<c&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=l,this.p.lastBigReductionSize=c));let h=o?this.stack[o-1]:0,u=this.bufferBase+this.buffer.length-h;if(i<n.minRepeatTerm||131072&e){let e=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,e,u+4,!0)}if(262144&e)this.state=this.stack[o];else{let e=this.stack[o-3];this.state=n.getGoto(e,i,!0)}for(;this.stack.length>o;)this.stack.pop();this.reduceContext(i,l)}storeNode(e,t,s,i=4,n=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,i=this.buffer.length;if(0==i&&e.parent&&(i=e.bufferBase-e.parent.bufferBase,e=e.parent),i>0&&0==e.buffer[i-4]&&e.buffer[i-1]>-1){if(t==s)return;if(e.buffer[i-2]>=t)return void(e.buffer[i-2]=s)}}if(n&&this.pos!=s){let n=this.buffer.length;if(n>0&&(0!=this.buffer[n-4]||this.buffer[n-1]<0)){let e=!1;for(let t=n;t>0&&this.buffer[t-2]>s;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;n>0&&this.buffer[n-2]>s;)this.buffer[n]=this.buffer[n-4],this.buffer[n+1]=this.buffer[n-3],this.buffer[n+2]=this.buffer[n-2],this.buffer[n+3]=this.buffer[n-1],n-=4,i>4&&(i-=4)}this.buffer[n]=e,this.buffer[n+1]=t,this.buffer[n+2]=s,this.buffer[n+3]=i}else this.buffer.push(e,t,s,i)}shift(e,t,s,i){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=i,this.shiftContext(t,s),t<=this.p.parser.maxNode&&this.buffer.push(t,s,i,4);else{let n=e,{parser:r}=this.p;this.pos=i;let a=r.stateFlag(n,1);!a&&(i>s||t<=r.maxNode)&&(this.reducePos=i),this.pushState(n,a?s:Math.min(s,this.reducePos)),this.shiftContext(t,s),t<=r.maxNode&&this.buffer.push(t,s,i,4)}}apply(e,t,s,i){65536&e?this.reduce(e):this.shift(e,t,s,i)}useNode(e,t){let s=this.p.reused.length-1;(s<0||this.p.reused[s]!=e)&&(this.p.reused.push(e),s++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(t,i),this.buffer.push(s,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let s=e.buffer.slice(t),i=e.bufferBase+t;for(;e&&i==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,s,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let s=e<=this.p.parser.maxNode;s&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,s?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new c(this);;){let s=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==s)return!1;if(!(65536&s))return!0;t.reduce(s)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let s=[];for(let i,n=0;n<t.length;n+=2)(i=t[n+1])!=this.state&&this.p.parser.hasAction(i,e)&&s.push(t[n],i);if(this.stack.length<120)for(let e=0;s.length<8&&e<t.length;e+=2){let i=t[e+1];s.some((e,t)=>1&t&&e==i)||s.push(t[e],i)}t=s}let s=[];for(let e=0;e<t.length&&s.length<4;e+=2){let i=t[e+1];if(i==this.state)continue;let n=this.split();n.pushState(i,this.pos),n.storeNode(0,n.pos,n.pos,4,!0),n.shiftContext(t[e],this.pos),n.reducePos=this.pos,n.score-=200,s.push(n)}return s}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let s=t>>19,i=65535&t,n=this.stack.length-3*s;if(n<0||e.getGoto(this.stack[n],i,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],s=(i,n)=>{if(!t.includes(i))return t.push(i),e.allActions(i,t=>{if(393216&t);else if(65536&t){let s=(t>>19)-n;if(s>1){let i=65535&t,n=this.stack.length-3*s;if(n>=0&&e.getGoto(this.stack[n],i,!1)>=0)return s<<19|65536|i}}else{let e=s(t,n+1);if(null!=e)return e}})};return s(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new l(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){return!(e<=this.lookAhead||(this.emitLookAhead(),this.lookAhead=e,0))}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class l{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class c{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,s=e>>19;0==s?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(s-1);let i=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=i}}class h{constructor(e,t,s){this.stack=e,this.pos=t,this.index=s,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new h(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new h(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let s=null;for(let i=0,n=0;i<e.length;){let r=0;for(;;){let t=e.charCodeAt(i++),s=!1;if(126==t){r=65535;break}t>=92&&t--,t>=34&&t--;let n=t-32;if(n>=46&&(n-=46,s=!0),r+=n,s)break;r*=46}s?s[n++]=r:s=new t(r)}return s}class f{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const d=new f;class p{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=d,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let s=this.range,i=this.rangeIndex,n=this.pos+e;for(;n<s.from;){if(!i)return null;let e=this.ranges[--i];n-=s.from-e.to,s=e}for(;t<0?n>s.to:n>=s.to;){if(i==this.ranges.length-1)return null;let e=this.ranges[++i];n+=e.from-s.to,s=e}return n}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,s,i=this.chunkOff+e;if(i>=0&&i<this.chunk.length)t=this.pos+e,s=this.chunk.charCodeAt(i);else{let i=this.resolveOffset(e,1);if(null==i)return-1;if(t=i,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)s=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,i=this.range;for(;i.to<=t;)i=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>i.to&&(this.chunk2=this.chunk2.slice(0,i.to-t)),s=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),s}acceptToken(e,t=0){let s=t?this.resolveOffset(t,-1):this.pos;if(null==s||s<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=e,this.token.end=s}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos),t=this.pos+e.length;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=d,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let s="";for(let i of this.ranges){if(i.from>=t)break;i.to>e&&(s+=this.input.read(Math.max(i.from,e),Math.min(i.to,t)))}return s}}class m{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:s}=t.p;!function(e,t,s,i,n,r){let a=0,o=1<<i,{dialect:l}=s.p.parser;e:for(;0!=(o&e[a]);){let s=e[a+1];for(let i=a+3;i<s;i+=2)if((e[i+1]&o)>0){let s=e[i];if(l.allows(s)&&(-1==t.token.value||t.token.value==s||x(s,t.token.value,n,r))){t.acceptToken(s);break}}let i=t.next,c=0,h=e[a+2];if(!(t.next<0&&h>c&&65535==e[s+3*h-3])){for(;c<h;){let n=c+h>>1,r=s+n+(n<<1),o=e[r],l=e[r+1]||65536;if(i<o)h=n;else{if(!(i>=l)){a=e[r+2],t.advance();continue e}c=n+1}}break}a=e[s+3*h-1]}}(this.data,e,t,this.id,s.data,s.tokenPrecTable)}}m.prototype.contextual=m.prototype.fallback=m.prototype.extend=!1,m.prototype.fallback=m.prototype.extend=!1;class g{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}}function k(e,t,s){for(let i,n=t;65535!=(i=e[n]);n++)if(i==s)return n-t;return-1}function x(e,t,s,i){let n=k(s,i,t);return n<0||k(s,i,e)<n}const b=void 0!==a&&a.env&&/\bparse\b/.test(a.env.LOG);let v=null;function O(e,t,s){let i=e.cursor(r.IterMode.IncludeAnonymous);for(i.moveTo(t);;)if(!(s<0?i.childBefore(t):i.childAfter(t)))for(;;){if((s<0?i.to<t:i.from>t)&&!i.type.isError)return s<0?Math.max(0,Math.min(i.to-1,t-25)):Math.min(e.length,Math.max(i.from+1,t+25));if(s<0?i.prevSibling():i.nextSibling())break;if(!i.parent())return s<0?0:e.length}}class y{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?O(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?O(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let s=this.trees[t],i=this.index[t];if(i==s.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let n=s.children[i],a=this.start[t]+s.positions[i];if(a>e)return this.nextStart=a,null;if(n instanceof r.Tree){if(a==e){if(a<this.safeFrom)return null;let e=a+n.length;if(e<=this.safeTo){let t=n.prop(r.NodeProp.lookAhead);if(!t||e+t<this.fragment.to)return n}}this.index[t]++,a+n.length>=Math.max(this.safeFrom,e)&&(this.trees.push(n),this.start.push(a),this.index.push(0))}else this.index[t]++,this.nextStart=a+n.length}}}class _{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new f)}getActions(e){let t=0,s=null,{parser:i}=e.p,{tokenizers:n}=i,r=i.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,o=0;for(let i=0;i<n.length;i++){if(!(1<<i&r))continue;let l=n[i],c=this.tokens[i];if((!s||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=r||c.context!=a)&&(this.updateCachedToken(c,l,e),c.mask=r,c.context=a),c.lookAhead>c.end+25&&(o=Math.max(c.lookAhead,o)),0!=c.value)){let i=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(s=c,t>i))break}}for(;this.actions.length>t;)this.actions.pop();return o&&e.setLookAhead(o),s||e.pos!=this.stream.end||(s=new f,s.value=e.p.parser.eofTerm,s.start=s.end=e.pos,t=this.addActions(e,s.value,s.end,t)),this.mainToken=s,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new f,{pos:s,p:i}=e;return t.start=s,t.end=Math.min(s+1,i.stream.end),t.value=s==i.stream.end?i.parser.eofTerm:0,t}updateCachedToken(e,t,s){let i=this.stream.clipPos(s.pos);if(t.token(this.stream.reset(i,e),s),e.value>-1){let{parser:t}=s.p;for(let i=0;i<t.specialized.length;i++)if(t.specialized[i]==e.value){let n=t.specializers[i](this.stream.read(e.start,e.end),s);if(n>=0&&s.p.parser.dialect.allows(n>>1)){1&n?e.extended=n>>1:e.value=n>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,t,s,i){for(let t=0;t<i;t+=3)if(this.actions[t]==e)return i;return this.actions[i++]=e,this.actions[i++]=t,this.actions[i++]=s,i}addActions(e,t,s,i){let{state:n}=e,{parser:r}=e.p,{data:a}=r;for(let e=0;e<2;e++)for(let o=r.stateSlot(n,e?2:1);;o+=3){if(65535==a[o]){if(1!=a[o+1]){0==i&&2==a[o+1]&&(i=this.putAction(T(a,o+2),t,s,i));break}o=T(a,o+2)}a[o]==t&&(i=this.putAction(T(a,o+1),t,s,i))}return i}}class w{constructor(e,t,s,i){this.parser=e,this.input=t,this.ranges=i,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new p(t,i),this.tokens=new _(e,this.stream),this.topTerm=e.top[1];let{from:n}=i[0];this.stacks=[o.start(this,e.top[0],n)],this.fragments=s.length&&this.stream.end-n>4*e.bufferLength?new y(s,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,s=this.stacks,i=this.minStackPos,n=this.stacks=[];if(this.bigReductionCount>300&&1==s.length){let[e]=s;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let r=0;r<s.length;r++){let a=s[r];for(;;){if(this.tokens.mainToken=null,a.pos>i)n.push(a);else{if(this.advanceStack(a,n,s))continue;{e||(e=[],t=[]),e.push(a);let s=this.tokens.getMainToken(a);t.push(s.value,s.end)}}break}}if(!n.length){let t=e&&function(e){let t=null;for(let s of e){let e=s.p.stoppedAt;(s.pos==s.p.stream.end||null!=e&&s.pos>e)&&s.p.parser.stateFlag(s.state,2)&&(!t||t.score<s.score)&&(t=s)}return t}(e);if(t)return b&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw b&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&e){let s=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,n);if(s)return b&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let e=0;e<n.length-1;e++){let t=n[e];for(let s=e+1;s<n.length;s++){let i=n[s];if(t.sameState(i)||t.buffer.length>500&&i.buffer.length>500){if(!((t.score-i.score||t.buffer.length-i.buffer.length)>0)){n.splice(e--,1);continue e}n.splice(s--,1)}}}n.length>12&&(n.sort((e,t)=>t.score-e.score),n.splice(12,n.length-12))}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,s){let i=e.pos,{parser:n}=this,a=b?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,s=t?e.curContext.hash:0;for(let o=this.fragments.nodeAt(i);o;){let i=this.parser.nodeSet.types[o.type.id]==o.type?n.getGoto(e.state,o.type.id):-1;if(i>-1&&o.length&&(!t||(o.prop(r.NodeProp.contextHash)||0)==s))return e.useNode(o,i),b&&console.log(a+this.stackID(e)+` (via reuse of ${n.getName(o.type.id)})`),!0;if(!(o instanceof r.Tree)||0==o.children.length||o.positions[0]>0)break;let l=o.children[0];if(!(l instanceof r.Tree&&0==o.positions[0]))break;o=l}}let o=n.stateSlot(e.state,4);if(o>0)return e.reduce(o),b&&console.log(a+this.stackID(e)+` (via always-reduce ${n.getName(65535&o)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let r=0;r<l.length;){let o=l[r++],c=l[r++],h=l[r++],u=r==l.length||!s,f=u?e:e.split(),d=this.tokens.mainToken;if(f.apply(o,c,d?d.start:f.pos,h),b&&console.log(a+this.stackID(f)+` (via ${65536&o?`reduce of ${n.getName(65535&o)}`:"shift"} for ${n.getName(c)} @ ${i}${f==e?"":", split"})`),u)return!0;f.pos>i?t.push(f):s.push(f)}return!1}advanceFully(e,t){let s=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>s)return S(e,t),!0}}runRecovery(e,t,s){let i=null,n=!1;for(let r=0;r<e.length;r++){let a=e[r],o=t[r<<1],l=t[1+(r<<1)],c=b?this.stackID(a)+" -> ":"";if(a.deadEnd){if(n)continue;if(n=!0,a.restart(),b&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,s))continue}let h=a.split(),u=c;for(let e=0;e<10&&h.forceReduce()&&(b&&console.log(u+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,s));e++)b&&(u=this.stackID(h)+" -> ");for(let e of a.recoverByInsert(o))b&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,s);this.stream.end>a.pos?(l==a.pos&&(l++,o=0),a.recoverByDelete(o,l),b&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(o)})`),S(a,s)):(!i||i.score<h.score)&&(i=h)}return i}stackToTree(e){return e.close(),r.Tree.build({buffer:h.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(v||(v=new WeakMap)).get(e);return t||v.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}function S(e,t){for(let s=0;s<t.length;s++){let i=t[s];if(i.pos==e.pos&&i.sameState(e))return void(t[s].score<e.score&&(t[s]=e))}t.push(e)}class P{constructor(e,t,s){this.source=e,this.flags=t,this.disabled=s}allows(e){return!this.disabled||0==this.disabled[e]}}class C extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let s=0;s<e.repeatNodeCount;s++)t.push("");let s=Object.keys(e.topRules).map(t=>e.topRules[t][1]),i=[];for(let e=0;e<t.length;e++)i.push([]);function n(e,t,s){i[e].push([t,t.deserialize(String(s))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=r.NodeProp[e]);for(let s=1;s<t.length;){let i=t[s++];if(i>=0)n(i,e,t[s++]);else{let r=t[s+-i];for(let a=-i;a>0;a--)n(t[s++],e,r);s++}}}this.nodeSet=new r.NodeSet(t.map((t,n)=>r.NodeType.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:i[n],top:s.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let a=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(Q),this.states=u(e.states,Uint32Array),this.data=u(e.stateData),this.goto=u(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new m(a,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,s){let i=new w(this,e,t,s);for(let n of this.wrappers)i=n(i,e,t,s);return i}getGoto(e,t,s=!1){let i=this.goto;if(t>=i[0])return-1;for(let n=i[t+1];;){let t=i[n++],r=1&t,a=i[n++];if(r&&s)return a;for(let s=n+(t>>1);n<s;n++)if(i[n]==e)return a;if(r)return-1}}hasAction(e,t){let s=this.data;for(let i=0;i<2;i++)for(let n,r=this.stateSlot(e,i?2:1);;r+=3){if(65535==(n=s[r])){if(1!=s[r+1]){if(2==s[r+1])return T(s,r+2);break}n=s[r=T(s,r+2)]}if(n==t||0==n)return T(s,r+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let s=this.stateSlot(e,4),i=s?t(s):void 0;for(let s=this.stateSlot(e,1);null==i;s+=3){if(65535==this.data[s]){if(1!=this.data[s+1])break;s=T(this.data,s+2)}i=t(T(this.data,s+1))}return i}nextStates(e){let t=[];for(let s=this.stateSlot(e,1);;s+=3){if(65535==this.data[s]){if(1!=this.data[s+1])break;s=T(this.data,s+2)}if(!(1&this.data[s+2])){let e=this.data[s+1];t.some((t,s)=>1&s&&t==e)||t.push(this.data[s],e)}}return t}configure(e){let t=Object.assign(Object.create(C.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let s=this.topRules[e.top];if(!s)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=s}return e.tokenizers&&(t.tokenizers=this.tokenizers.map(t=>{let s=e.tokenizers.find(e=>e.from==t);return s?s.to:t})),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map((s,i)=>{let n=e.specializers.find(e=>e.from==s.external);if(!n)return s;let r=Object.assign(Object.assign({},s),{external:n.to});return t.specializers[i]=Q(r),r})),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),s=t.map(()=>!1);if(e)for(let i of e.split(" ")){let e=t.indexOf(i);e>=0&&(s[e]=!0)}let i=null;for(let e=0;e<t.length;e++)if(!s[e])for(let s,n=this.dialects[t[e]];65535!=(s=this.data[n++]);)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1;return new P(e,s,i)}static deserialize(e){return new C(e)}}function T(e,t){return e[t]|e[t+1]<<16}function Q(e){if(e.external){let t=e.extend?1:0;return(s,i)=>e.external(s,i)<<1|t}return e.get}var A=s(195);function R(e){let t=Object.keys(e).join(""),s=/\w/.test(t);return s&&(t=t.replace(/\w/g,"")),`[${s?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}s(24),"object"==typeof navigator&&navigator.platform;const N=new class extends A.RangeValue{};function z(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function I(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function B(e,t,s){for(let i=!1;;){if(e.next<0)return;if(e.next==t&&!i)return void e.advance();i=s&&!i&&92==e.next,e.advance()}}function U(e,t){for(;95==e.next||z(e.next);)null!=t&&(t+=String.fromCharCode(e.next)),e.advance();return t}function D(e,t){for(;48==e.next||49==e.next;)e.advance();t&&e.next==t&&e.advance()}function j(e,t){for(;;){if(46==e.next){if(t)break;t=!0}else if(e.next<48||e.next>57)break;e.advance()}if(69==e.next||101==e.next)for(e.advance(),43!=e.next&&45!=e.next||e.advance();e.next>=48&&e.next<=57;)e.advance()}function $(e){for(;!(e.next<0||10==e.next);)e.advance()}function q(e,t){for(let s=0;s<t.length;s++)if(t.charCodeAt(s)==e)return!0;return!1}N.startSide=1,N.endSide=-1,"object"==typeof navigator&&navigator.userAgent;const L=" \t\r\n";function X(e,t,s){let i=Object.create(null);i.true=i.false=5,i.null=i.unknown=6;for(let t of e.split(" "))t&&(i[t]=20);for(let e of t.split(" "))e&&(i[e]=21);for(let e of(s||"").split(" "))e&&(i[e]=24);return i}const E="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ",F="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ",Z={backslashEscapes:!1,hashComments:!1,spaceAfterDashes:!1,slashComments:!1,doubleQuotedStrings:!1,doubleDollarQuotedStrings:!1,unquotedBitLiterals:!1,treatBitsAsBytes:!1,charSetCasts:!1,plsqlQuotingMechanism:!1,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',caseInsensitiveIdentifiers:!1,words:X(F,E)};function M(e){return new g(t=>{var s;let{next:i}=t;if(t.advance(),q(i,L)){for(;q(t.next,L);)t.advance();t.acceptToken(36)}else if(36==i&&e.doubleDollarQuotedStrings){let e=U(t,"");36==t.next&&(t.advance(),function(e,t){e:for(;;){if(e.next<0)return;if(36==e.next){e.advance();for(let s=0;s<t.length;s++){if(e.next!=t.charCodeAt(s))continue e;e.advance()}if(36==e.next)return void e.advance()}else e.advance()}}(t,e),t.acceptToken(3))}else if(39==i||34==i&&e.doubleQuotedStrings)B(t,i,e.backslashEscapes),t.acceptToken(3);else if(35==i&&e.hashComments||47==i&&47==t.next&&e.slashComments)$(t),t.acceptToken(1);else if(45!=i||45!=t.next||e.spaceAfterDashes&&32!=t.peek(1))if(47==i&&42==t.next){t.advance();for(let e=1;;){let s=t.next;if(t.next<0)break;if(t.advance(),42==s&&47==t.next){if(e--,t.advance(),!e)break}else 47==s&&42==t.next&&(e++,t.advance())}t.acceptToken(2)}else if(101!=i&&69!=i||39!=t.next)if(110!=i&&78!=i||39!=t.next||!e.charSetCasts)if(95==i&&e.charSetCasts)for(let s=0;;s++){if(39==t.next&&s>1){t.advance(),B(t,39,e.backslashEscapes),t.acceptToken(3);break}if(!z(t.next))break;t.advance()}else if(e.plsqlQuotingMechanism&&(113==i||81==i)&&39==t.next&&t.peek(1)>0&&!q(t.peek(1),L)){let e=t.peek(1);t.advance(2),function(e,t){let s="[{<(".indexOf(String.fromCharCode(t)),i=s<0?t:"]}>)".charCodeAt(s);for(;;){if(e.next<0)return;if(e.next==i&&39==e.peek(1))return void e.advance(2);e.advance()}}(t,e),t.acceptToken(3)}else if(q(i,e.identifierQuotes))B(t,91==i?93:i,!1),t.acceptToken(19);else if(40==i)t.acceptToken(7);else if(41==i)t.acceptToken(8);else if(123==i)t.acceptToken(9);else if(125==i)t.acceptToken(10);else if(91==i)t.acceptToken(11);else if(93==i)t.acceptToken(12);else if(59==i)t.acceptToken(13);else if(e.unquotedBitLiterals&&48==i&&98==t.next)t.advance(),D(t),t.acceptToken(22);else if(98!=i&&66!=i||39!=t.next&&34!=t.next){if(48==i&&(120==t.next||88==t.next)||(120==i||88==i)&&39==t.next){let e=39==t.next;for(t.advance();I(t.next);)t.advance();e&&39==t.next&&t.advance(),t.acceptToken(4)}else if(46==i&&t.next>=48&&t.next<=57)j(t,!0),t.acceptToken(4);else if(46==i)t.acceptToken(14);else if(i>=48&&i<=57)j(t,!1),t.acceptToken(4);else if(q(i,e.operatorChars)){for(;q(t.next,e.operatorChars);)t.advance();t.acceptToken(15)}else if(q(i,e.specialVar))t.next==i&&t.advance(),function(e){if(39==e.next||34==e.next||96==e.next){let t=e.next;e.advance(),B(e,t,!1)}else U(e)}(t),t.acceptToken(17);else if(58==i||44==i)t.acceptToken(16);else if(z(i)){let n=U(t,String.fromCharCode(i));t.acceptToken(46==t.next||46==t.peek(-n.length-1)?18:null!==(s=e.words[n.toLowerCase()])&&void 0!==s?s:18)}}else{const s=t.next;t.advance(),e.treatBitsAsBytes?(B(t,s,e.backslashEscapes),t.acceptToken(23)):(D(t,s),t.acceptToken(22))}else t.advance(),B(t,39,e.backslashEscapes),t.acceptToken(3);else t.advance(),B(t,39,!0),t.acceptToken(3);else $(t),t.acceptToken(1)})}const G=M(Z),V=C.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,G],topRules:{Script:[0,25]},tokenPrec:0});function W(e){let t=e.cursor().moveTo(e.from,-1);for(;/Comment/.test(t.name);)t.moveTo(t.from,-1);return t.node}function Y(e,t){let s=e.sliceString(t.from,t.to),i=/^([`'"\[])(.*)([`'"\]])$/.exec(s);return i?i[2]:s}function K(e){return e&&("Identifier"==e.name||"QuotedIdentifier"==e.name)}function H(e,t){if("CompositeIdentifier"==t.name){let s=[];for(let i=t.firstChild;i;i=i.nextSibling)K(i)&&s.push(Y(e,i));return s}return[Y(e,t)]}function J(e,t){for(let s=[];;){if(!t||"."!=t.name)return s;let i=W(t);if(!K(i))return s;s.unshift(Y(e,i)),t=W(i)}}const ee=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function te(e,t,s){return s.map(s=>({...s,label:s.label[0]==e?s.label:e+s.label+t,apply:void 0}))}const se=/^\w*$/,ie=/^[`'"\[]?\w*[`'"\]]?$/;function ne(e){return e.self&&"string"==typeof e.self.label}class re{constructor(e,t){this.idQuote=e,this.idCaseInsensitive=t,this.list=[],this.children=void 0}child(e){let t=this.children||(this.children=Object.create(null));return t[e]||(e&&!this.list.some(t=>t.label==e)&&this.list.push(ae(e,"type",this.idQuote,this.idCaseInsensitive)),t[e]=new re(this.idQuote,this.idCaseInsensitive))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let t=this.list.findIndex(t=>t.label==e.label);t>-1?this.list[t]=e:this.list.push(e)}addCompletions(e){for(let t of e)this.addCompletion("string"==typeof t?ae(t,"property",this.idQuote,this.idCaseInsensitive):t)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):ne(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let t of Object.keys(e)){let s=e[t],i=null,n=t.replace(/\\?\./g,e=>"."==e?"\0":e).split("\0"),r=this;ne(s)&&(i=s.self,s=s.children);for(let e=0;e<n.length;e++)i&&e==n.length-1&&r.addCompletion(i),r=r.child(n[e].replace(/\\\./g,"."));r.addNamespace(s)}}}function ae(e,t,s,i){return new RegExp("^[a-z_][a-z_\\d]*$",i?"i":"").test(e)?{label:e,type:t}:{label:e,type:t,apply:s+e+oe(s)}}function oe(e){return"["===e?"]":e}function le(e,t,s){let n=Object.keys(e).map(i=>{return s(t?i.toUpperCase():i,21==(n=e[i])?"type":20==n?"keyword":"variable");var n});return r=["QuotedIdentifier","String","LineComment","BlockComment","."],a=function(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[s,i]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),s=Object.create(null);for(let{label:i}of e){t[i[0]]=!0;for(let e=1;e<i.length;e++)s[i[e]]=!0}let i=R(t)+R(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}(t);return e=>{let n=e.matchBefore(i);return n||e.explicit?{from:n?n.from:e.pos,options:t,validFor:s}:null}}(n),e=>{for(let t=(0,i.syntaxTree)(e.state).resolveInner(e.pos,-1);t;t=t.parent){if(r.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return a(e)};var r,a}let ce=V.configure({props:[i.indentNodeProp.add({Statement:(0,i.continuedIndent)()}),i.foldNodeProp.add({Statement:(e,t)=>({from:Math.min(e.from+100,t.doc.lineAt(e.from).to),to:e.to}),BlockComment:e=>({from:e.from+2,to:e.to-2})}),(0,n.styleTags)({Keyword:n.tags.keyword,Type:n.tags.typeName,Builtin:n.tags.standard(n.tags.name),Bits:n.tags.number,Bytes:n.tags.string,Bool:n.tags.bool,Null:n.tags.null,Number:n.tags.number,String:n.tags.string,Identifier:n.tags.name,QuotedIdentifier:n.tags.special(n.tags.string),SpecialVar:n.tags.special(n.tags.name),LineComment:n.tags.lineComment,BlockComment:n.tags.blockComment,Operator:n.tags.operator,"Semi Punctuation":n.tags.punctuation,"( )":n.tags.paren,"{ }":n.tags.brace,"[ ]":n.tags.squareBracket})]});class he{constructor(e,t,s){this.dialect=e,this.language=t,this.spec=s}get extension(){return this.language.extension}configureLanguage(e,t){return new he(this.dialect,this.language.configure(e,t),this.spec)}static define(e){let t=function(e,t,s,i){let n={};for(let t in Z)n[t]=(e.hasOwnProperty(t)?e:Z)[t];return t&&(n.words=X(t,s||"",i)),n}(e,e.keywords,e.types,e.builtin),s=i.LRLanguage.define({name:"sql",parser:ce.configure({tokenizers:[{from:G,to:M(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new he(t,s,e)}}function ue(e,t){return{label:e,type:t,boost:-1}}function fe(e,t=!1,s){return le(e.dialect.words,t,s||ue)}function de(e){return e.schema?function(e,t,s,n,r,a){var o;let l=(null===(o=null==a?void 0:a.spec.identifierQuotes)||void 0===o?void 0:o[0])||'"',c=new re(l,!!(null==a?void 0:a.spec.caseInsensitiveIdentifiers)),h=r?c.child(r):null;return c.addNamespace(e),t&&(h||c).addCompletions(t),s&&c.addCompletions(s),h&&c.addCompletions(h.list),n&&c.addCompletions((h||c).child(n).list),e=>{let{parents:t,from:s,quoted:r,empty:a,aliases:o}=function(e,t){let s=(0,i.syntaxTree)(e).resolveInner(t,-1),n=function(e,t){let s;for(let e=t;!s;e=e.parent){if(!e)return null;"Statement"==e.name&&(s=e)}let i=null;for(let t=s.firstChild,n=!1,r=null;t;t=t.nextSibling){let s="Keyword"==t.name?e.sliceString(t.from,t.to).toLowerCase():null,a=null;if(n)if("as"==s&&r&&K(t.nextSibling))a=Y(e,t.nextSibling);else{if(s&&ee.has(s))break;r&&K(t)&&(a=Y(e,t))}else n="from"==s;a&&(i||(i=Object.create(null)),i[a]=H(e,r)),r=/Identifier$/.test(t.name)?t:null}return i}(e.doc,s);return"Identifier"==s.name||"QuotedIdentifier"==s.name||"Keyword"==s.name?{from:s.from,quoted:"QuotedIdentifier"==s.name?e.doc.sliceString(s.from,s.from+1):null,parents:J(e.doc,W(s)),aliases:n}:"."==s.name?{from:t,quoted:null,parents:J(e.doc,s),aliases:n}:{from:t,quoted:null,parents:[],empty:!0,aliases:n}}(e.state,e.pos);if(a&&!e.explicit)return null;o&&1==t.length&&(t=o[t[0]]||t);let l=c;for(let e of t){for(;!l.children||!l.children[e];)if(l==c&&h)l=h;else{if(l!=h||!n)return null;l=l.child(n)}let t=l.maybeChild(e);if(!t)return null;l=t}let u=l.list;if(l==c&&o&&(u=u.concat(Object.keys(o).map(e=>({label:e,type:"constant"})))),r){let t=r[0],i=oe(t);return{from:s,to:e.state.sliceDoc(e.pos,e.pos+1)==i?e.pos+1:void 0,options:te(t,i,u),validFor:ie}}return{from:s,options:u,validFor:se}}}(e.schema,e.tables,e.schemas,e.defaultTable,e.defaultSchema,e.dialect||ge):()=>null}function pe(e){return e.schema?(e.dialect||ge).language.data.of({autocomplete:de(e)}):[]}function me(e={}){let t=e.dialect||ge;return new i.LanguageSupport(t.language,[pe(e),t.language.data.of({autocomplete:fe(t,e.upperCaseKeywords,e.keywordCompletion)})])}const ge=he.define({}),ke=he.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:F+"abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:E+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"})},606(e){var t,s,i=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(s){try{return t.call(null,e,0)}catch(s){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:n}catch(e){t=n}try{s="function"==typeof clearTimeout?clearTimeout:r}catch(e){s=r}}();var o,l=[],c=!1,h=-1;function u(){c&&o&&(c=!1,o.length?l=o.concat(l):h=-1,l.length&&f())}function f(){if(!c){var e=a(u);c=!0;for(var t=l.length;t;){for(o=l,l=[];++h<t;)o&&o[h].run();h=-1,t=l.length}o=null,c=!1,function(e){if(s===clearTimeout)return clearTimeout(e);if((s===r||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)t[s-1]=arguments[s];l.push(new d(e,t)),1!==l.length||c||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[]).push([[44],{509(e,a,t){t.r(a),t.d(a,{default:()=>m});var n=t(931),o=t(790),i=t(277),d=t(84),l=t(24),r=t(195);const m={id:"jupyter-ra-extension:plugin",description:"Relational Algebra Symbols in Jupyter Lab",autoStart:!0,requires:[o.IEditorLanguageRegistry,n.INotebookTracker],activate:(e,a,t)=>{console.log("JupyterLab extension jupyter-ra-extension is activated!");const n=e=>{t.currentWidget.content.activeCell.editor.replaceSelection(e)};e.commands.addCommand("ratui:text1",{label:"RA:",caption:"Relational Algebra",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:projection",{label:"π",caption:"Projection:\nπ [a, b] (R)\nAlternative: pi",execute:()=>n("π")}),e.commands.addCommand("ratui:selection",{label:"σ",caption:"Selection:\nσ [a=1] (R)\nAlternative: sigma",execute:()=>n("σ")}),e.commands.addCommand("ratui:attributerename",{label:"β",caption:"Rename Attribute:\nβ [a←b] (R)\nAlternative: beta",execute:()=>n("β")}),e.commands.addCommand("ratui:rename",{label:"ρ",caption:"Rename:\nρ [ S(A, B, C) ] (R)\nAlternative: rho",execute:()=>n("ρ")}),e.commands.addCommand("ratui:cross",{label:"×",caption:"Cross Product:\nR × S\nAlternative: times",execute:()=>n("×")}),e.commands.addCommand("ratui:join",{label:"⋈",caption:"Natural Join:\nR ⋈ S\nAlternative: join",execute:()=>n("⋈")}),e.commands.addCommand("ratui:left-outer-join",{label:"⟕",caption:"Left Outer Join:\nR ⟕ S\nAlternative: ljoin",execute:()=>n("⟕")}),e.commands.addCommand("ratui:right-outer-join",{label:"⟖",caption:"Right Outer Join:\nR ⟖ S\nAlternative: rjoin",execute:()=>n("⟖")}),e.commands.addCommand("ratui:full-outer-join",{label:"⟗",caption:"Full Outer Join:\nR ⟗ S\nAlternative: fjoin, ojoin",execute:()=>n("⟗")}),e.commands.addCommand("ratui:left-semi-join",{label:"⋉",caption:"Left Semi Join:\nR ⋉ S\nAlternative: lsjoin",execute:()=>n("⋉")}),e.commands.addCommand("ratui:right-semi-join",{label:"⋊",caption:"Right Semi Join:\nR ⋊ S\nAlternative: rsjoin",execute:()=>n("⋊")}),e.commands.addCommand("ratui:union",{label:"∪",caption:"Union:\nR ∪ S\nAlternative: cup",execute:()=>n("∪")}),e.commands.addCommand("ratui:intersection",{label:"∩",caption:"Intersect:\nR ∩ S\nAlternative: cap",execute:()=>n("∩")}),e.commands.addCommand("ratui:difference",{label:"-",caption:"Difference:\nR - S\nAlternative: \\",execute:()=>n("-")}),e.commands.addCommand("ratui:division",{label:"÷",caption:"Division:\nR ÷ S\nAlternative: :",execute:()=>n("÷")}),e.commands.addCommand("ratui:text2",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:arrowleft",{label:"←",caption:"Alternative: <-",execute:()=>n("←")}),e.commands.addCommand("ratui:text3",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:and",{label:"∧",caption:"Alternative: and",execute:()=>n("∧")}),e.commands.addCommand("ratui:or",{label:"∨",caption:"Alternative: or",execute:()=>n("∨")}),e.commands.addCommand("ratui:not",{label:"¬",caption:"Alternative: !",execute:()=>n("¬")}),e.commands.addCommand("ratui:text4",{label:"|",isEnabled:()=>!1,execute:()=>{}}),e.commands.addCommand("ratui:equal",{label:"=",execute:()=>n("=")}),e.commands.addCommand("ratui:unequal",{label:"≠",caption:"Alternative: !=",execute:()=>n("≠")}),e.commands.addCommand("ratui:lt",{label:"<",execute:()=>n("<")}),e.commands.addCommand("ratui:lte",{label:"≤",caption:"Alternative: <=",execute:()=>n("≤")}),e.commands.addCommand("ratui:gte",{label:"≥",caption:"Alternative: >=",execute:()=>n("≥")}),e.commands.addCommand("ratui:gt",{label:">",execute:()=>n(">")});const o=["π","σ","β","ρ","×","x","⋈","⟕","⟖","⟗","⋉","⋊","∪","∩","-","÷"],m=i.fy.define({...i.Rv.spec,keywords:`${i.Rv.spec.keywords} ${["create","of","name","load","name","copy","use","load_tests","test","all","all_rows","max_rows","query_max_rows","schema","only","store","sql","ra","analyze","all_ra","dc","all_dc","auto_parser","guess_parser","plotly","title","plotly_raw","title"].join(" ")} ${["pi","sigma","beta","rho","times","join","ljoin","rjoin","fjoin","ojoin","lsjoin","rsjoin","cup","cap"].join(" ")}`,operatorChars:`${i.Rv.spec.operatorChars}${["←","∧","∨","¬","=","≠","<","≤","≥",">"].join("")}`}),c=(0,i.ll)({dialect:m}),s=l.ViewPlugin.fromClass(class{constructor(e){this.decorations=this.buildDecorations(e.state)}update(e){e.docChanged&&(this.decorations=this.buildDecorations(e.state))}buildDecorations(e){const a=new r.RangeSetBuilder;for(let t=0;t<e.doc.length;t++)o.includes(e.doc.sliceString(t,t+1))&&a.add(t,t+1,l.Decoration.mark({class:"cm-keyword-ra"}));return a.finish()}},{decorations:e=>e.decorations}),u=new d.LanguageSupport(c.language,[s]),p=a.findByMIME("text/x-sql");p?p.support=u:a.addLanguage({name:"sql-with-bowtie",mime:"text/x-sql",extensions:[".sql"],support:u})}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[]).push([[728],{56(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var a={},s=[],c=0;c<e.length;c++){var i=e[c],u=r.base?i[0]+r.base:i[0],l=a[u]||0,p="".concat(u," ").concat(l);a[u]=l+1;var f=n(p),d={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var v=o(d,r);r.byIndex=c,t.splice(c,0,{identifier:p,updater:v,references:1})}s.push(p)}return s}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var a=r(e=e||[],o=o||{});return function(e){e=e||[];for(var s=0;s<a.length;s++){var c=n(a[s]);t[c].references--}for(var i=r(e,o),u=0;u<a.length;u++){var l=n(a[u]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}a=i}}},113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},314(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(r)for(var c=0;c<this.length;c++){var i=this[c][0];null!=i&&(s[i]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&s[l[0]]||(void 0!==a&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=a),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},475(e,t,n){n.d(t,{A:()=>c});var r=n(601),o=n.n(r),a=n(314),s=n.n(a)()(o());s.push([e.id,"/*\n See the JupyterLab Developer Guide for useful CSS Patterns:\n\n https://jupyterlab.readthedocs.io/en/stable/developer/css.html\n*/\n\n.cm-keyword-ra {\n color: #22863a;\n font-weight: bold;\n}\n",""]);const c=s},540(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},601(e){e.exports=function(e){return e[1]}},659(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},728(e,t,n){var r=n(72),o=n.n(r),a=n(825),s=n.n(a),c=n(659),i=n.n(c),u=n(56),l=n.n(u),p=n(540),f=n.n(p),d=n(113),v=n.n(d),h=n(475),m={};m.styleTagTransform=v(),m.setAttributes=l(),m.insert=i().bind(null,"head"),m.domAPI=s(),m.insertStyleElement=f(),o()(h.A,m),h.A&&h.A.locals&&h.A.locals},825(e){e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}}}]);
@@ -0,0 +1 @@
1
+ var _JUPYTERLAB;(()=>{"use strict";var e,r,t,n,o,a,i,u,l,s,f,d,p,c,h,v,g,m,b,y={141(e,r,t){var n={"./index":()=>Promise.all([t.e(277),t.e(44)]).then(()=>()=>t(509)),"./extension":()=>Promise.all([t.e(277),t.e(44)]).then(()=>()=>t(509)),"./style":()=>t.e(728).then(()=>()=>t(728))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},w={};function S(e){var r=w[e];if(void 0!==r)return r.exports;var t=w[e]={id:e,exports:{}};return y[e](t,t.exports,S),t.exports}S.m=y,S.c=w,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+"."+{44:"ba89a1a3e62e50109d33",277:"a0c9a5ad5ef6ce24f6a0",728:"57c90243cf6592cdd1a0"}[e]+".js?v="+{44:"ba89a1a3e62e50109d33",277:"a0c9a5ad5ef6ce24f6a0",728:"57c90243cf6592cdd1a0"}[e],S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="jupyter-ra-extension:",S.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,u;if(void 0!==o)for(var l=document.getElementsByTagName("script"),s=0;s<l.length;s++){var f=l[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+o){i=f;break}}i||(u=!0,(i=document.createElement("script")).charset="utf-8",S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),r)return r(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),u&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="jupyter-ra-extension",u=[];return"default"===t&&((e,r,t,n)=>{var o=a[e]=a[e]||{},u=o[r];(!u||!u.loaded&&(1!=!u.eager?n:i>u.from))&&(o[r]={get:()=>Promise.all([S.e(277),S.e(44)]).then(()=>()=>S(509)),from:i,eager:!1})})("jupyter-ra-extension","1.4.401"),e[t]=u.length?Promise.all(u).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),t=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],u=(typeof i)[0];if(a!=u)return"o"==a&&"n"==u||"s"==u||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(u=e[a]))[0]?"-":(n>0?".":"")+(n=2,u);return t}var i=[];for(a=1;a<e.length;a++){var u=e[a];i.push(0===u?"not("+l()+")":1===u?"("+l()+" || "+l()+")":2===u?i.pop()+" "+i.pop():o(u))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,u=1,l=!0;;u++,i++){var s,f,d=u<e.length?(typeof e[u])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!l||("u"==d?u>n&&!o:""==d!=o);if("u"==f){if(!l||"u"!=d)return!1}else if(l)if(d==f)if(u<=n){if(s!=e[u])return!1}else{if(o?s>e[u]:s<e[u])return!1;s!=e[u]&&(l=!1)}else if("s"!=d&&"n"!=d){if(o||u<=n)return!1;l=!1,u--}else{if(u<=n||f<d!=o)return!1;l=!1}else"s"!=d&&"n"!=d&&(l=!1,u--)}}var p=[],c=p.pop.bind(p);for(i=1;i<e.length;i++){var h=e[i];p.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),l=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),s=(e,r,t)=>{var o=t?l(e[r]):e[r];return Object.keys(o).reduce((e,r)=>!e||!o[e].loaded&&n(e,r)?r:e,0)},f=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",d=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},c=(e,r,t)=>t?t():((e,r)=>d("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),h=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})((e,r,t,n,o,l)=>{if(!i(r,t))return c(e,t,l);var d=s(r,t,n);return a(o,d)||p(f(r,t,d,o)),u(r[t][d])}),v={},g={24:()=>h("default","@codemirror/view",!1,[1,6,9,6]),84:()=>h("default","@codemirror/language",!1,[1,6,0,0]),195:()=>h("default","@codemirror/state",!1,[1,6,2,0]),708:()=>h("default","@lezer/common",!1,[1,1,0,0]),790:()=>h("default","@jupyterlab/codemirror",!1,[1,4,5,3]),839:()=>h("default","@lezer/highlight",!1,[1,1,0,0]),931:()=>h("default","@jupyterlab/notebook",!1,[1,4,5,3])},m={44:[24,84,195,708,790,839,931]},b={},S.f.consumes=(e,r)=>{S.o(m,e)&&m[e].forEach(e=>{if(S.o(v,e))return r.push(v[e]);if(!b[e]){var t=r=>{v[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};b[e]=!0;var n=r=>{delete v[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=g[e]();o.then?r.push(v[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}})},(()=>{var e={760:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,u]=t,l=0;if(a.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);u&&u(S)}for(r&&r(t);l<a.length;l++)o=a[l],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunkjupyter_ra_extension=self.webpackChunkjupyter_ra_extension||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(141);(_JUPYTERLAB=void 0===_JUPYTERLAB?{}:_JUPYTERLAB)["jupyter-ra-extension"]=j})();
@@ -2,7 +2,7 @@
2
2
  "packages": [
3
3
  {
4
4
  "name": "@codemirror/autocomplete",
5
- "versionInfo": "6.19.1",
5
+ "versionInfo": "6.20.0",
6
6
  "licenseId": "MIT",
7
7
  "extractedText": "MIT License\n\nCopyright (C) 2018-2021 by Marijn Haverbeke <marijn@haverbeke.berlin> and others\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
8
8
  },
@@ -14,7 +14,7 @@
14
14
  },
15
15
  {
16
16
  "name": "@lezer/lr",
17
- "versionInfo": "1.4.3",
17
+ "versionInfo": "1.4.8",
18
18
  "licenseId": "MIT",
19
19
  "extractedText": "MIT License\n\nCopyright (C) 2018 by Marijn Haverbeke <marijn@haverbeke.berlin> and others\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
20
20
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyter-ra-extension",
3
- "version": "1.4.201",
3
+ "version": "1.4.401",
4
4
  "description": "Relational Algebra Symbols in Jupyter Lab",
5
5
  "keywords": [
6
6
  "jupyter",