@senyao-design-system/editor 0.0.2 → 0.0.3
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.
- package/dist/assets/style.css +1 -0
- package/dist/components/Editor.d.ts +1 -1
- package/dist/components/GenericEditor.d.ts +1 -1
- package/dist/components/JSONEditor.d.ts +2 -3
- package/dist/components/SQLEditor.d.ts +1 -1
- package/dist/index.js +16 -15
- package/dist/index.mjs +1168 -994
- package/dist/types/index.d.ts +6 -1
- package/package.json +3 -2
- package/dist/index.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.senyao-editor{width:100%;border:1px solid #ddd;border-radius:4px;overflow:hidden;font-family:Menlo,Monaco,Courier New,monospace;transition:border-color .2s,box-shadow .2s}.senyao-editor:focus-within{border-color:#00ae87;box-shadow:0 0 0 2px #00ae8733}.senyao-editor .cm-editor{height:100%}.senyao-editor .cm-scroller{overflow:auto}.senyao-editor .cm-content{padding:8px 4px;text-align:left!important}.senyao-editor .cm-readonly{background-color:#f5f5f5}.senyao-editor .cm-readOnly{background-color:#0000000d!important;border-radius:2px;position:relative;pointer-events:all;transition:background-color .2s;border-left:2px solid rgba(0,0,0,.1);z-index:1}.senyao-editor .cm-readOnly:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;cursor:not-allowed!important;z-index:10;pointer-events:auto}.senyao-editor .cm-readOnly:hover:after{background-color:#00000005}.senyao-editor .cm-diagnosticError{text-decoration:wavy underline #ff4d4f;text-decoration-skip-ink:none}.senyao-editor .cm-diagnosticWarning{text-decoration:wavy underline #faad14;text-decoration-skip-ink:none}.senyao-editor .cm-keyword{color:#00f!important;z-index:2;position:relative;background-color:transparent!important}.senyao-editor .cb,.senyao-editor .cm-content span.cb,.senyao-editor span.cm-keyword{color:#00f;font-weight:700;position:relative;background-color:transparent}.senyao-editor .cm-operator{color:#777!important;z-index:2;position:relative}.senyao-editor .cm-number{color:#098658!important;z-index:2;position:relative}.senyao-editor .cm-string{color:#a31515!important;z-index:2;position:relative}.senyao-editor .cm-comment{color:green!important;z-index:2;position:relative}.senyao-editor .cm-propertyName{color:#0451a5!important;z-index:2;position:relative}.senyao-editor.disabled{opacity:.7;cursor:not-allowed}.senyao-editor.disabled .cm-content{cursor:not-allowed}.senyao-editor .cm-placeholder{color:#999}.senyao-editor .cm-activeLine{background-color:#0000000a}
|
|
@@ -5,7 +5,7 @@ import { ThemeType } from '../../../extensions';
|
|
|
5
5
|
* 通用编辑器组件
|
|
6
6
|
* 支持语言选择和主题切换
|
|
7
7
|
*/
|
|
8
|
-
export declare const Editor: ({ value, onChange, language, extensions, theme, ...rest }: EditorProps & {
|
|
8
|
+
export declare const Editor: ({ value, onChange, language, extensions, theme, showLineNumbers, ...rest }: EditorProps & {
|
|
9
9
|
theme?: ThemeType;
|
|
10
10
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default Editor;
|
|
@@ -4,5 +4,5 @@ import { EditorProps } from '../../../types';
|
|
|
4
4
|
* 通用编辑器组件
|
|
5
5
|
* 作为所有特定编辑器的基础组件
|
|
6
6
|
*/
|
|
7
|
-
export declare const GenericEditor: ({ value, onChange, extensions, height, disabled, className, style, placeholder: placeholderText, onEditorViewCreated, }: EditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const GenericEditor: ({ value, onChange, extensions, height, disabled, className, style, placeholder: placeholderText, showLineNumbers, onEditorViewCreated, }: EditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default GenericEditor;
|
|
@@ -2,7 +2,6 @@ import { JSONEditorProps } from '../../../types';
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* JSON 编辑器组件
|
|
5
|
-
*
|
|
5
|
+
* 支持 JSON 语法高亮和换行
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
export default JSONEditor;
|
|
7
|
+
export default function JSONEditor(props: JSONEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,5 @@ import { SQLEditorProps } from '../../../types';
|
|
|
4
4
|
* SQL 编辑器组件
|
|
5
5
|
* 提供 SQL 语法高亮和智能提示
|
|
6
6
|
*/
|
|
7
|
-
export declare const SQLEditor: ({ value, onChange, extensions, readOnlyRanges: externalReadOnlyRanges, manageReadOnlyRanges, ...rest }: SQLEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const SQLEditor: ({ value, onChange, extensions, readOnlyRanges: externalReadOnlyRanges, manageReadOnlyRanges, showLineNumbers, ...rest }: SQLEditorProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default SQLEditor;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),Hr=require("@codemirror/lang-sql"),Br=require("@codemirror/lang-json"),U=require("@codemirror/view"),cr=require("@codemirror/commands"),Lt=require("@codemirror/autocomplete"),Ir=require("@codemirror/lint"),fe=require("@codemirror/language"),V=require("@lezer/highlight"),ne=require("@codemirror/state");function Wt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const ue=Wt(C);var ur={exports:{}},Pe={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Fr;function Vt(){if(Fr)return Pe;Fr=1;var e=C,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function f(s,u,p){var g,d={},P=null,w=null;p!==void 0&&(P=""+p),u.key!==void 0&&(P=""+u.key),u.ref!==void 0&&(w=u.ref);for(g in u)a.call(u,g)&&!i.hasOwnProperty(g)&&(d[g]=u[g]);if(s&&s.defaultProps)for(g in u=s.defaultProps,u)d[g]===void 0&&(d[g]=u[g]);return{$$typeof:r,type:s,key:P,ref:w,props:d,_owner:o.current}}return Pe.Fragment=n,Pe.jsx=f,Pe.jsxs=f,Pe}var ke={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,34 +14,35 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var jr;function Yt(){return jr||(jr=1,process.env.NODE_ENV!=="production"&&function(){var e=C,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),x=Symbol.iterator,R="@@iterator";function y(t){if(t===null||typeof t!="object")return null;var c=x&&t[x]||t[R];return typeof c=="function"?c:null}var S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(t){{for(var c=arguments.length,h=new Array(c>1?c-1:0),E=1;E<c;E++)h[E-1]=arguments[E];_("error",t,h)}}function _(t,c,h){{var E=S.ReactDebugCurrentFrame,F=E.getStackAddendum();F!==""&&(c+="%s",h=h.concat([F]));var Y=h.map(function(k){return String(k)});Y.unshift("Warning: "+c),Function.prototype.apply.call(console[t],console,Y)}}var L=!1,l=!1,z=!1,A=!1,Se=!1,m;m=Symbol.for("react.module.reference");function T(t){return!!(typeof t=="string"||typeof t=="function"||t===a||t===i||Se||t===o||t===p||t===g||A||t===w||L||l||z||typeof t=="object"&&t!==null&&(t.$$typeof===P||t.$$typeof===d||t.$$typeof===f||t.$$typeof===s||t.$$typeof===u||t.$$typeof===m||t.getModuleId!==void 0))}function M(t,c,h){var E=t.displayName;if(E)return E;var F=c.displayName||c.name||"";return F!==""?h+"("+F+")":h}function $(t){return t.displayName||"Context"}function W(t){if(t==null)return null;if(typeof t.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case a:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case p:return"Suspense";case g:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case s:var c=t;return $(c)+".Consumer";case f:var h=t;return $(h._context)+".Provider";case u:return M(t,t.render,"ForwardRef");case d:var E=t.displayName||null;return E!==null?E:W(t.type)||"Memo";case P:{var F=t,Y=F._payload,k=F._init;try{return W(k(Y))}catch{return null}}}return null}var q=Object.assign,X=0,se,Fe,Re,je,Ce,De,Le;function We(){}We.__reactDisabledLog=!0;function Qe(){{if(X===0){se=console.log,Fe=console.info,Re=console.warn,je=console.error,Ce=console.group,De=console.groupCollapsed,Le=console.groupEnd;var t={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}X++}}function er(){{if(X--,X===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},t,{value:se}),info:q({},t,{value:Fe}),warn:q({},t,{value:Re}),error:q({},t,{value:je}),group:q({},t,{value:Ce}),groupCollapsed:q({},t,{value:De}),groupEnd:q({},t,{value:Le})})}X<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var xe=S.ReactCurrentDispatcher,we;function he(t,c,h){{if(we===void 0)try{throw Error()}catch(F){var E=F.stack.trim().match(/\n( *(at )?)/);we=E&&E[1]||""}return`
|
|
18
|
+
`+we+t}}var _e=!1,ge;{var rr=typeof WeakMap=="function"?WeakMap:Map;ge=new rr}function v(t,c){if(!t||_e)return"";{var h=ge.get(t);if(h!==void 0)return h}var E;_e=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Y;Y=xe.current,xe.current=null,Qe();try{if(c){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(Q){E=Q}Reflect.construct(t,[],k)}else{try{k.call()}catch(Q){E=Q}t.call(k.prototype)}}else{try{throw Error()}catch(Q){E=Q}t()}}catch(Q){if(Q&&E&&typeof Q.stack=="string"){for(var O=Q.stack.split(`
|
|
19
|
+
`),Z=E.stack.split(`
|
|
20
|
+
`),G=O.length-1,J=Z.length-1;G>=1&&J>=0&&O[G]!==Z[J];)J--;for(;G>=1&&J>=0;G--,J--)if(O[G]!==Z[J]){if(G!==1||J!==1)do if(G--,J--,J<0||O[G]!==Z[J]){var te=`
|
|
21
|
+
`+O[G].replace(" at new "," at ");return t.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",t.displayName)),typeof t=="function"&&ge.set(t,te),te}while(G>=1&&J>=0);break}}}finally{_e=!1,xe.current=Y,er(),Error.prepareStackTrace=F}var ve=t?t.displayName||t.name:"",de=ve?he(ve):"";return typeof t=="function"&&ge.set(t,de),de}function Te(t,c,h){return v(t,!1)}function pe(t){var c=t.prototype;return!!(c&&c.isReactComponent)}function le(t,c,h){if(t==null)return"";if(typeof t=="function")return v(t,pe(t));if(typeof t=="string")return he(t);switch(t){case p:return he("Suspense");case g:return he("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case u:return Te(t.render);case d:return le(t.type,c,h);case P:{var E=t,F=E._payload,Y=E._init;try{return le(Y(F),c,h)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,Sr={},Rr=S.ReactDebugCurrentFrame;function Ve(t){if(t){var c=t._owner,h=le(t.type,t._source,c?c.type:null);Rr.setExtraStackFrame(h)}else Rr.setExtraStackFrame(null)}function vt(t,c,h,E,F){{var Y=Function.call.bind(Oe);for(var k in t)if(Y(t,k)){var O=void 0;try{if(typeof t[k]!="function"){var Z=Error((E||"React class")+": "+h+" type `"+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[k]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}O=t[k](c,k,E,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(G){O=G}O&&!(O instanceof Error)&&(Ve(F),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",E||"React class",h,k,typeof O),Ve(null)),O instanceof Error&&!(O.message in Sr)&&(Sr[O.message]=!0,Ve(F),b("Failed %s type: %s",h,O.message),Ve(null))}}}var yt=Array.isArray;function tr(t){return yt(t)}function bt(t){{var c=typeof Symbol=="function"&&Symbol.toStringTag,h=c&&t[Symbol.toStringTag]||t.constructor.name||"Object";return h}}function Et(t){try{return Cr(t),!1}catch{return!0}}function Cr(t){return""+t}function xr(t){if(Et(t))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",bt(t)),Cr(t)}var wr=S.ReactCurrentOwner,St={key:!0,ref:!0,__self:!0,__source:!0},_r,Tr;function Rt(t){if(Oe.call(t,"ref")){var c=Object.getOwnPropertyDescriptor(t,"ref").get;if(c&&c.isReactWarning)return!1}return t.ref!==void 0}function Ct(t){if(Oe.call(t,"key")){var c=Object.getOwnPropertyDescriptor(t,"key").get;if(c&&c.isReactWarning)return!1}return t.key!==void 0}function xt(t,c){typeof t.ref=="string"&&wr.current}function wt(t,c){{var h=function(){_r||(_r=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",c))};h.isReactWarning=!0,Object.defineProperty(t,"key",{get:h,configurable:!0})}}function _t(t,c){{var h=function(){Tr||(Tr=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",c))};h.isReactWarning=!0,Object.defineProperty(t,"ref",{get:h,configurable:!0})}}var Tt=function(t,c,h,E,F,Y,k){var O={$$typeof:r,type:t,key:c,ref:h,props:k,_owner:Y};return O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(O,"_self",{configurable:!1,enumerable:!1,writable:!1,value:E}),Object.defineProperty(O,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O};function Ot(t,c,h,E,F){{var Y,k={},O=null,Z=null;h!==void 0&&(xr(h),O=""+h),Ct(c)&&(xr(c.key),O=""+c.key),Rt(c)&&(Z=c.ref,xt(c,F));for(Y in c)Oe.call(c,Y)&&!St.hasOwnProperty(Y)&&(k[Y]=c[Y]);if(t&&t.defaultProps){var G=t.defaultProps;for(Y in G)k[Y]===void 0&&(k[Y]=G[Y])}if(O||Z){var J=typeof t=="function"?t.displayName||t.name||"Unknown":t;O&&wt(k,J),Z&&_t(k,J)}return Tt(t,O,Z,F,E,wr.current,k)}}var nr=S.ReactCurrentOwner,Or=S.ReactDebugCurrentFrame;function me(t){if(t){var c=t._owner,h=le(t.type,t._source,c?c.type:null);Or.setExtraStackFrame(h)}else Or.setExtraStackFrame(null)}var ar;ar=!1;function or(t){return typeof t=="object"&&t!==null&&t.$$typeof===r}function Pr(){{if(nr.current){var t=W(nr.current.type);if(t)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+t+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+t+"`."}return""}}function Pt(t){return""}var kr={};function kt(t){{var c=Pr();if(!c){var h=typeof t=="string"?t:t.displayName||t.name;h&&(c=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+h+">.")}return
|
|
25
|
+
Check the top-level render call using <`+h+">.")}return c}}function $r(t,c){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var h=kt(c);if(kr[h])return;kr[h]=!0;var E="";t&&t._owner&&t._owner!==nr.current&&(E=" It was passed a child from "+W(t._owner.type)+"."),me(t),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',h,E),me(null)}}function Mr(t,c){{if(typeof t!="object")return;if(tr(t))for(var h=0;h<t.length;h++){var E=t[h];or(E)&&$r(E,c)}else if(or(t))t._store&&(t._store.validated=!0);else if(t){var F=y(t);if(typeof F=="function"&&F!==t.entries)for(var Y=F.call(t),k;!(k=Y.next()).done;)or(k.value)&&$r(k.value,c)}}}function $t(t){{var c=t.type;if(c==null||typeof c=="string")return;var h;if(typeof c=="function")h=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===u||c.$$typeof===d))h=c.propTypes;else return;if(h){var E=W(c);vt(h,t.props,"prop",E,t)}else if(c.PropTypes!==void 0&&!ar){ar=!0;var F=W(c);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mt(t){{for(var c=Object.keys(t.props),h=0;h<c.length;h++){var E=c[h];if(E!=="children"&&E!=="key"){me(t),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E),me(null);break}}t.ref!==null&&(me(t),b("Invalid attribute `ref` supplied to `React.Fragment`."),me(null))}}var Ar={};function Nr(t,c,h,E,F,Y){{var k=T(t);if(!k){var O="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Z=Pt();Z?O+=Z:O+=Pr();var G;t===null?G="null":tr(t)?G="array":t!==void 0&&t.$$typeof===r?(G="<"+(W(t.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):G=typeof t,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",G,O)}var J=Ot(t,c,h,F,Y);if(J==null)return J;if(k){var te=c.children;if(te!==void 0)if(E)if(tr(te)){for(var ve=0;ve<te.length;ve++)Mr(te[ve],t);Object.freeze&&Object.freeze(te)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Mr(te,t)}if(Oe.call(c,"key")){var de=W(t),Q=Object.keys(c).filter(function(Dt){return Dt!=="key"}),ir=Q.length>0?"{key: someKey, "+Q.join(": ..., ")+": ...}":"{key: someKey}";if(!Ar[de+ir]){var jt=Q.length>0?"{"+Q.join(": ..., ")+": ...}":"{}";b(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,ir,fe,Ft,fe),Ar[fe+ir]=!0}}return t===a?$t(G):kt(G),G}}function Mt(t,u,h){return Ir(t,u,h,!0)}function At(t,u,h){return Ir(t,u,h,!1)}var It=At,jt=Mt;Te.Fragment=a,Te.jsx=It,Te.jsxs=jt}()),Te}process.env.NODE_ENV==="production"?ur.exports=Yt():ur.exports=Wt();var Nr=ur.exports;function Vt(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function qt(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Ut=function(){function e(n){var a=this;this._insertTag=function(o){var i;a.tags.length===0?a.insertionPoint?i=a.insertionPoint.nextSibling:a.prepend?i=a.container.firstChild:i=a.before:i=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,i),a.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(a){a.forEach(this._insertTag)},r.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qt(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Vt(o);try{i.insertRule(a,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++},r.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},e}(),H="-ms-",Je="-moz-",A="-webkit-",Kr="comm",gr="rule",mr="decl",Gt="@import",Hr="@keyframes",Jt="@layer",zt=Math.abs,Be=String.fromCharCode,Bt=Object.assign;function Kt(e,r){return K(e,0)^45?(((r<<2^K(e,0))<<2^K(e,1))<<2^K(e,2))<<2^K(e,3):0}function Xr(e){return e.trim()}function Ht(e,r){return(e=r.exec(e))?e[0]:e}function I(e,r,n){return e.replace(r,n)}function fr(e,r){return e.indexOf(r)}function K(e,r){return e.charCodeAt(r)|0}function Pe(e,r,n){return e.slice(r,n)}function ne(e){return e.length}function yr(e){return e.length}function We(e,r){return r.push(e),e}function Xt(e,r){return e.map(r).join("")}var Ke=1,me=1,Zr=0,Q=0,z=0,ye="";function He(e,r,n,a,o,i,c){return{value:e,root:r,parent:n,type:a,props:o,children:i,line:Ke,column:me,length:c,return:""}}function Oe(e,r){return Bt(He("",null,null,"",null,null,0),e,{length:-e.length},r)}function Zt(){return z}function Qt(){return z=Q>0?K(ye,--Q):0,me--,z===10&&(me=1,Ke--),z}function ee(){return z=Q<Zr?K(ye,Q++):0,me++,z===10&&(me=1,Ke++),z}function oe(){return K(ye,Q)}function Ve(){return Q}function Me(e,r){return Pe(ye,e,r)}function ke(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Qr(e){return Ke=me=1,Zr=ne(ye=e),Q=0,[]}function et(e){return ye="",e}function qe(e){return Xr(Me(Q-1,lr(e===91?e+2:e===40?e+1:e)))}function en(e){for(;(z=oe())&&z<33;)ee();return ke(e)>2||ke(z)>3?"":" "}function rn(e,r){for(;--r&&ee()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return Me(e,Ve()+(r<6&&oe()==32&&ee()==32))}function lr(e){for(;ee();)switch(z){case e:return Q;case 34:case 39:e!==34&&e!==39&&lr(z);break;case 40:e===41&&lr(e);break;case 92:ee();break}return Q}function tn(e,r){for(;ee()&&e+z!==57;)if(e+z===84&&oe()===47)break;return"/*"+Me(r,Q-1)+"*"+Be(e===47?e:ee())}function nn(e){for(;!ke(oe());)ee();return Me(e,Q)}function an(e){return et(Ue("",null,null,null,[""],e=Qr(e),0,[0],e))}function Ue(e,r,n,a,o,i,c,s,d){for(var p=0,f=0,m=c,x=0,S=0,E=0,_=1,Y=1,T=1,b=0,$="",L=o,l=i,U=a,M=$;Y;)switch(E=b,b=ee()){case 40:if(E!=108&&K(M,m-1)==58){fr(M+=I(qe(b),"&","&\f"),"&\f")!=-1&&(T=-1);break}case 34:case 39:case 91:M+=qe(b);break;case 9:case 10:case 13:case 32:M+=en(E);break;case 92:M+=rn(Ve()-1,7);continue;case 47:switch(oe()){case 42:case 47:We(on(tn(ee(),Ve()),r,n),d);break;default:M+="/"}break;case 123*_:s[p++]=ne(M)*T;case 125*_:case 59:case 0:switch(b){case 0:case 125:Y=0;case 59+f:T==-1&&(M=I(M,/\f/g,"")),S>0&&ne(M)-m&&We(S>32?Dr(M+";",a,n,m-1):Dr(I(M," ","")+";",a,n,m-2),d);break;case 59:M+=";";default:if(We(U=Lr(M,r,n,p,f,o,s,$,L=[],l=[],m),i),b===123)if(f===0)Ue(M,r,U,U,L,i,m,s,l);else switch(x===99&&K(M,3)===110?100:x){case 100:case 108:case 109:case 115:Ue(e,U,U,a&&We(Lr(e,U,U,0,0,o,s,$,o,L=[],m),l),o,l,m,s,a?L:l);break;default:Ue(M,U,U,U,[""],l,0,s,l)}}p=f=S=0,_=T=1,$=M="",m=c;break;case 58:m=1+ne(M),S=E;default:if(_<1){if(b==123)--_;else if(b==125&&_++==0&&Qt()==125)continue}switch(M+=Be(b),b*_){case 38:T=f>0?1:(M+="\f",-1);break;case 44:s[p++]=(ne(M)-1)*T,T=1;break;case 64:oe()===45&&(M+=qe(ee())),x=oe(),f=m=ne($=M+=nn(Ve())),b++;break;case 45:E===45&&ne(M)==2&&(_=0)}}return i}function Lr(e,r,n,a,o,i,c,s,d,p,f){for(var m=o-1,x=o===0?i:[""],S=yr(x),E=0,_=0,Y=0;E<a;++E)for(var T=0,b=Pe(e,m+1,m=zt(_=c[E])),$=e;T<S;++T)($=Xr(_>0?x[T]+" "+b:I(b,/&\f/g,x[T])))&&(d[Y++]=$);return He(e,r,n,o===0?gr:s,d,p,f)}function on(e,r,n){return He(e,r,n,Kr,Be(Zt()),Pe(e,2,-2),0)}function Dr(e,r,n,a){return He(e,r,n,mr,Pe(e,0,a),Pe(e,a+1,-1),a)}function ge(e,r){for(var n="",a=yr(e),o=0;o<a;o++)n+=r(e[o],o,e,r)||"";return n}function sn(e,r,n,a){switch(e.type){case Jt:if(e.children.length)break;case Gt:case mr:return e.return=e.return||e.value;case Kr:return"";case Hr:return e.return=e.value+"{"+ge(e.children,a)+"}";case gr:e.value=e.props.join(",")}return ne(n=ge(e.children,a))?e.return=e.value+"{"+n+"}":""}function cn(e){var r=yr(e);return function(n,a,o,i){for(var c="",s=0;s<r;s++)c+=e[s](n,a,o,i)||"";return c}}function un(e){return function(r){r.root||(r=r.return)&&e(r)}}function fn(e){var r=Object.create(null);return function(n){return r[n]===void 0&&(r[n]=e(n)),r[n]}}var ln=function(r,n,a){for(var o=0,i=0;o=i,i=oe(),o===38&&i===12&&(n[a]=1),!ke(i);)ee();return Me(r,Q)},dn=function(r,n){var a=-1,o=44;do switch(ke(o)){case 0:o===38&&oe()===12&&(n[a]=1),r[a]+=ln(Q-1,n,a);break;case 2:r[a]+=qe(o);break;case 4:if(o===44){r[++a]=oe()===58?"&\f":"",n[a]=r[a].length;break}default:r[a]+=Be(o)}while(o=ee());return r},hn=function(r,n){return et(dn(Qr(r),n))},Yr=new WeakMap,pn=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var n=r.value,a=r.parent,o=r.column===a.column&&r.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(r.props.length===1&&n.charCodeAt(0)!==58&&!Yr.get(a))&&!o){Yr.set(r,!0);for(var i=[],c=hn(n,i),s=a.props,d=0,p=0;d<c.length;d++)for(var f=0;f<s.length;f++,p++)r.props[p]=i[d]?c[d].replace(/&\f/g,s[f]):s[f]+" "+c[d]}}},vn=function(r){if(r.type==="decl"){var n=r.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(r.return="",r.value="")}};function rt(e,r){switch(Kt(e,r)){case 5103:return A+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return A+e+Je+e+H+e+e;case 6828:case 4268:return A+e+H+e+e;case 6165:return A+e+H+"flex-"+e+e;case 5187:return A+e+I(e,/(\w+).+(:[^]+)/,A+"box-$1$2"+H+"flex-$1$2")+e;case 5443:return A+e+H+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return A+e+H+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return A+e+H+I(e,"shrink","negative")+e;case 5292:return A+e+H+I(e,"basis","preferred-size")+e;case 6060:return A+"box-"+I(e,"-grow","")+A+e+H+I(e,"grow","positive")+e;case 4554:return A+I(e,/([^-])(transform)/g,"$1"+A+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+H+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,A+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ne(e)-1-r>6)switch(K(e,r+1)){case 109:if(K(e,r+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+Je+(K(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~fr(e,"stretch")?rt(I(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(K(e,r+1)!==115)break;case 6444:switch(K(e,ne(e)-3-(~fr(e,"!important")&&10))){case 107:return I(e,":",":"+A)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(K(e,14)===45?"inline-":"")+"box$3$1"+A+"$2$3$1"+H+"$2box$3")+e}break;case 5936:switch(K(e,r+11)){case 114:return A+e+H+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return A+e+H+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return A+e+H+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return A+e+H+e+e}return e}var gn=function(r,n,a,o){if(r.length>-1&&!r.return)switch(r.type){case mr:r.return=rt(r.value,r.length);break;case Hr:return ge([Oe(r,{value:I(r.value,"@","@"+A)})],o);case gr:if(r.length)return Xt(r.props,function(i){switch(Ht(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ge([Oe(r,{props:[I(i,/:(read-\w+)/,":"+Je+"$1")]})],o);case"::placeholder":return ge([Oe(r,{props:[I(i,/:(plac\w+)/,":"+A+"input-$1")]}),Oe(r,{props:[I(i,/:(plac\w+)/,":"+Je+"$1")]}),Oe(r,{props:[I(i,/:(plac\w+)/,H+"input-$1")]})],o)}return""})}},mn=[gn],yn=function(r){var n=r.key;if(n==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(_){var Y=_.getAttribute("data-emotion");Y.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var o=r.stylisPlugins||mn,i={},c,s=[];c=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(_){for(var Y=_.getAttribute("data-emotion").split(" "),T=1;T<Y.length;T++)i[Y[T]]=!0;s.push(_)});var d,p=[pn,vn];{var f,m=[sn,un(function(_){f.insert(_)})],x=cn(p.concat(o,m)),S=function(Y){return ge(an(Y),x)};d=function(Y,T,b,$){f=b,S(Y?Y+"{"+T.styles+"}":T.styles),$&&(E.inserted[T.name]=!0)}}var E={key:n,sheet:new Ut({key:n,container:c,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:d};return E.sheet.hydrate(s),E},dr={exports:{}},F={};/** @license React v16.13.1
|
|
30
|
+
<%s key={someKey} {...props} />`,ir,de,jt,de),Ar[de+ir]=!0}}return t===a?Mt(J):$t(J),J}}function At(t,c,h){return Nr(t,c,h,!0)}function Nt(t,c,h){return Nr(t,c,h,!1)}var It=Nt,Ft=At;ke.Fragment=a,ke.jsx=It,ke.jsxs=Ft}()),ke}process.env.NODE_ENV==="production"?ur.exports=Vt():ur.exports=Yt();var Dr=ur.exports;function qt(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function Ut(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var zt=function(){function e(n){var a=this;this._insertTag=function(o){var i;a.tags.length===0?a.insertionPoint?i=a.insertionPoint.nextSibling:a.prepend?i=a.container.firstChild:i=a.before:i=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,i),a.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(a){a.forEach(this._insertTag)},r.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ut(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=qt(o);try{i.insertRule(a,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++},r.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},e}(),K="-ms-",Ge="-moz-",N="-webkit-",Kr="comm",mr="rule",vr="decl",Gt="@import",Xr="@keyframes",Jt="@layer",Ht=Math.abs,He=String.fromCharCode,Bt=Object.assign;function Kt(e,r){return B(e,0)^45?(((r<<2^B(e,0))<<2^B(e,1))<<2^B(e,2))<<2^B(e,3):0}function Zr(e){return e.trim()}function Xt(e,r){return(e=r.exec(e))?e[0]:e}function I(e,r,n){return e.replace(r,n)}function fr(e,r){return e.indexOf(r)}function B(e,r){return e.charCodeAt(r)|0}function Me(e,r,n){return e.slice(r,n)}function ae(e){return e.length}function yr(e){return e.length}function Ye(e,r){return r.push(e),e}function Zt(e,r){return e.map(r).join("")}var Be=1,be=1,Qr=0,ee=0,H=0,Ee="";function Ke(e,r,n,a,o,i,f){return{value:e,root:r,parent:n,type:a,props:o,children:i,line:Be,column:be,length:f,return:""}}function $e(e,r){return Bt(Ke("",null,null,"",null,null,0),e,{length:-e.length},r)}function Qt(){return H}function en(){return H=ee>0?B(Ee,--ee):0,be--,H===10&&(be=1,Be--),H}function re(){return H=ee<Qr?B(Ee,ee++):0,be++,H===10&&(be=1,Be++),H}function ie(){return B(Ee,ee)}function qe(){return ee}function Ie(e,r){return Me(Ee,e,r)}function Ae(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function et(e){return Be=be=1,Qr=ae(Ee=e),ee=0,[]}function rt(e){return Ee="",e}function Ue(e){return Zr(Ie(ee-1,lr(e===91?e+2:e===40?e+1:e)))}function rn(e){for(;(H=ie())&&H<33;)re();return Ae(e)>2||Ae(H)>3?"":" "}function tn(e,r){for(;--r&&re()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return Ie(e,qe()+(r<6&&ie()==32&&re()==32))}function lr(e){for(;re();)switch(H){case e:return ee;case 34:case 39:e!==34&&e!==39&&lr(H);break;case 40:e===41&&lr(e);break;case 92:re();break}return ee}function nn(e,r){for(;re()&&e+H!==57;)if(e+H===84&&ie()===47)break;return"/*"+Ie(r,ee-1)+"*"+He(e===47?e:re())}function an(e){for(;!Ae(ie());)re();return Ie(e,ee)}function on(e){return rt(ze("",null,null,null,[""],e=et(e),0,[0],e))}function ze(e,r,n,a,o,i,f,s,u){for(var p=0,g=0,d=f,P=0,w=0,x=0,R=1,y=1,S=1,b=0,_="",L=o,l=i,z=a,A=_;y;)switch(x=b,b=re()){case 40:if(x!=108&&B(A,d-1)==58){fr(A+=I(Ue(b),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:A+=Ue(b);break;case 9:case 10:case 13:case 32:A+=rn(x);break;case 92:A+=tn(qe()-1,7);continue;case 47:switch(ie()){case 42:case 47:Ye(sn(nn(re(),qe()),r,n),u);break;default:A+="/"}break;case 123*R:s[p++]=ae(A)*S;case 125*R:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+g:S==-1&&(A=I(A,/\f/g,"")),w>0&&ae(A)-d&&Ye(w>32?Wr(A+";",a,n,d-1):Wr(I(A," ","")+";",a,n,d-2),u);break;case 59:A+=";";default:if(Ye(z=Lr(A,r,n,p,g,o,s,_,L=[],l=[],d),i),b===123)if(g===0)ze(A,r,z,z,L,i,d,s,l);else switch(P===99&&B(A,3)===110?100:P){case 100:case 108:case 109:case 115:ze(e,z,z,a&&Ye(Lr(e,z,z,0,0,o,s,_,o,L=[],d),l),o,l,d,s,a?L:l);break;default:ze(A,z,z,z,[""],l,0,s,l)}}p=g=w=0,R=S=1,_=A="",d=f;break;case 58:d=1+ae(A),w=x;default:if(R<1){if(b==123)--R;else if(b==125&&R++==0&&en()==125)continue}switch(A+=He(b),b*R){case 38:S=g>0?1:(A+="\f",-1);break;case 44:s[p++]=(ae(A)-1)*S,S=1;break;case 64:ie()===45&&(A+=Ue(re())),P=ie(),g=d=ae(_=A+=an(qe())),b++;break;case 45:x===45&&ae(A)==2&&(R=0)}}return i}function Lr(e,r,n,a,o,i,f,s,u,p,g){for(var d=o-1,P=o===0?i:[""],w=yr(P),x=0,R=0,y=0;x<a;++x)for(var S=0,b=Me(e,d+1,d=Ht(R=f[x])),_=e;S<w;++S)(_=Zr(R>0?P[S]+" "+b:I(b,/&\f/g,P[S])))&&(u[y++]=_);return Ke(e,r,n,o===0?mr:s,u,p,g)}function sn(e,r,n){return Ke(e,r,n,Kr,He(Qt()),Me(e,2,-2),0)}function Wr(e,r,n,a){return Ke(e,r,n,vr,Me(e,0,a),Me(e,a+1,-1),a)}function ye(e,r){for(var n="",a=yr(e),o=0;o<a;o++)n+=r(e[o],o,e,r)||"";return n}function cn(e,r,n,a){switch(e.type){case Jt:if(e.children.length)break;case Gt:case vr:return e.return=e.return||e.value;case Kr:return"";case Xr:return e.return=e.value+"{"+ye(e.children,a)+"}";case mr:e.value=e.props.join(",")}return ae(n=ye(e.children,a))?e.return=e.value+"{"+n+"}":""}function un(e){var r=yr(e);return function(n,a,o,i){for(var f="",s=0;s<r;s++)f+=e[s](n,a,o,i)||"";return f}}function fn(e){return function(r){r.root||(r=r.return)&&e(r)}}function ln(e){var r=Object.create(null);return function(n){return r[n]===void 0&&(r[n]=e(n)),r[n]}}var dn=function(r,n,a){for(var o=0,i=0;o=i,i=ie(),o===38&&i===12&&(n[a]=1),!Ae(i);)re();return Ie(r,ee)},hn=function(r,n){var a=-1,o=44;do switch(Ae(o)){case 0:o===38&&ie()===12&&(n[a]=1),r[a]+=dn(ee-1,n,a);break;case 2:r[a]+=Ue(o);break;case 4:if(o===44){r[++a]=ie()===58?"&\f":"",n[a]=r[a].length;break}default:r[a]+=He(o)}while(o=re());return r},gn=function(r,n){return rt(hn(et(r),n))},Vr=new WeakMap,pn=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var n=r.value,a=r.parent,o=r.column===a.column&&r.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(r.props.length===1&&n.charCodeAt(0)!==58&&!Vr.get(a))&&!o){Vr.set(r,!0);for(var i=[],f=gn(n,i),s=a.props,u=0,p=0;u<f.length;u++)for(var g=0;g<s.length;g++,p++)r.props[p]=i[u]?f[u].replace(/&\f/g,s[g]):s[g]+" "+f[u]}}},mn=function(r){if(r.type==="decl"){var n=r.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(r.return="",r.value="")}};function tt(e,r){switch(Kt(e,r)){case 5103:return N+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return N+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+Ge+e+K+e+e;case 6828:case 4268:return N+e+K+e+e;case 6165:return N+e+K+"flex-"+e+e;case 5187:return N+e+I(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+K+"flex-$1$2")+e;case 5443:return N+e+K+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return N+e+K+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return N+e+K+I(e,"shrink","negative")+e;case 5292:return N+e+K+I(e,"basis","preferred-size")+e;case 6060:return N+"box-"+I(e,"-grow","")+N+e+K+I(e,"grow","positive")+e;case 4554:return N+I(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+K+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,N+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ae(e)-1-r>6)switch(B(e,r+1)){case 109:if(B(e,r+4)!==45)break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+Ge+(B(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~fr(e,"stretch")?tt(I(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(B(e,r+1)!==115)break;case 6444:switch(B(e,ae(e)-3-(~fr(e,"!important")&&10))){case 107:return I(e,":",":"+N)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+N+(B(e,14)===45?"inline-":"")+"box$3$1"+N+"$2$3$1"+K+"$2box$3")+e}break;case 5936:switch(B(e,r+11)){case 114:return N+e+K+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+K+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+K+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return N+e+K+e+e}return e}var vn=function(r,n,a,o){if(r.length>-1&&!r.return)switch(r.type){case vr:r.return=tt(r.value,r.length);break;case Xr:return ye([$e(r,{value:I(r.value,"@","@"+N)})],o);case mr:if(r.length)return Zt(r.props,function(i){switch(Xt(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ye([$e(r,{props:[I(i,/:(read-\w+)/,":"+Ge+"$1")]})],o);case"::placeholder":return ye([$e(r,{props:[I(i,/:(plac\w+)/,":"+N+"input-$1")]}),$e(r,{props:[I(i,/:(plac\w+)/,":"+Ge+"$1")]}),$e(r,{props:[I(i,/:(plac\w+)/,K+"input-$1")]})],o)}return""})}},yn=[vn],bn=function(r){var n=r.key;if(n==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(R){var y=R.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(R),R.setAttribute("data-s",""))})}var o=r.stylisPlugins||yn,i={},f,s=[];f=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(R){for(var y=R.getAttribute("data-emotion").split(" "),S=1;S<y.length;S++)i[y[S]]=!0;s.push(R)});var u,p=[pn,mn];{var g,d=[cn,fn(function(R){g.insert(R)})],P=un(p.concat(o,d)),w=function(y){return ye(on(y),P)};u=function(y,S,b,_){g=b,w(y?y+"{"+S.styles+"}":S.styles),_&&(x.inserted[S.name]=!0)}}var x={key:n,sheet:new zt({key:n,container:f,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:u};return x.sheet.hydrate(s),x},dr={exports:{}},j={};/** @license React v16.13.1
|
|
31
31
|
* react-is.production.min.js
|
|
32
32
|
*
|
|
33
33
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
34
|
*
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
|
-
*/var
|
|
37
|
+
*/var Yr;function En(){if(Yr)return j;Yr=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,P=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function _(l){if(typeof l=="object"&&l!==null){var z=l.$$typeof;switch(z){case r:switch(l=l.type,l){case u:case p:case a:case i:case o:case d:return l;default:switch(l=l&&l.$$typeof,l){case s:case g:case x:case w:case f:return l;default:return z}}case n:return z}}}function L(l){return _(l)===p}return j.AsyncMode=u,j.ConcurrentMode=p,j.ContextConsumer=s,j.ContextProvider=f,j.Element=r,j.ForwardRef=g,j.Fragment=a,j.Lazy=x,j.Memo=w,j.Portal=n,j.Profiler=i,j.StrictMode=o,j.Suspense=d,j.isAsyncMode=function(l){return L(l)||_(l)===u},j.isConcurrentMode=L,j.isContextConsumer=function(l){return _(l)===s},j.isContextProvider=function(l){return _(l)===f},j.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===r},j.isForwardRef=function(l){return _(l)===g},j.isFragment=function(l){return _(l)===a},j.isLazy=function(l){return _(l)===x},j.isMemo=function(l){return _(l)===w},j.isPortal=function(l){return _(l)===n},j.isProfiler=function(l){return _(l)===i},j.isStrictMode=function(l){return _(l)===o},j.isSuspense=function(l){return _(l)===d},j.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===a||l===p||l===i||l===o||l===d||l===P||typeof l=="object"&&l!==null&&(l.$$typeof===x||l.$$typeof===w||l.$$typeof===f||l.$$typeof===s||l.$$typeof===g||l.$$typeof===y||l.$$typeof===S||l.$$typeof===b||l.$$typeof===R)},j.typeOf=_,j}var D={};/** @license React v16.13.1
|
|
38
38
|
* react-is.development.js
|
|
39
39
|
*
|
|
40
40
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
41
|
*
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
|
-
*/var Vr;function bn(){return Vr||(Vr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,S=e?Symbol.for("react.memo"):60115,E=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,Y=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function $(g){return typeof g=="string"||typeof g=="function"||g===a||g===p||g===i||g===o||g===m||g===x||typeof g=="object"&&g!==null&&(g.$$typeof===E||g.$$typeof===S||g.$$typeof===c||g.$$typeof===s||g.$$typeof===f||g.$$typeof===Y||g.$$typeof===T||g.$$typeof===b||g.$$typeof===_)}function L(g){if(typeof g=="object"&&g!==null){var we=g.$$typeof;switch(we){case r:var he=g.type;switch(he){case d:case p:case a:case i:case o:case m:return he;default:var ue=he&&he.$$typeof;switch(ue){case s:case f:case E:case S:case c:return ue;default:return we}}case n:return we}}}var l=d,U=p,M=s,v=c,R=r,P=f,k=a,V=E,W=S,B=n,re=i,Ae=o,Ie=m,Ee=!1;function je(g){return Ee||(Ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),be(g)||L(g)===d}function be(g){return L(g)===p}function Fe(g){return L(g)===s}function Ne(g){return L(g)===c}function Le(g){return typeof g=="object"&&g!==null&&g.$$typeof===r}function Qe(g){return L(g)===f}function er(g){return L(g)===a}function Se(g){return L(g)===E}function Re(g){return L(g)===S}function le(g){return L(g)===n}function Ce(g){return L(g)===i}function de(g){return L(g)===o}function rr(g){return L(g)===m}N.AsyncMode=l,N.ConcurrentMode=U,N.ContextConsumer=M,N.ContextProvider=v,N.Element=R,N.ForwardRef=P,N.Fragment=k,N.Lazy=V,N.Memo=W,N.Portal=B,N.Profiler=re,N.StrictMode=Ae,N.Suspense=Ie,N.isAsyncMode=je,N.isConcurrentMode=be,N.isContextConsumer=Fe,N.isContextProvider=Ne,N.isElement=Le,N.isForwardRef=Qe,N.isFragment=er,N.isLazy=Se,N.isMemo=Re,N.isPortal=le,N.isProfiler=Ce,N.isStrictMode=de,N.isSuspense=rr,N.isValidElementType=$,N.typeOf=L}()),N}process.env.NODE_ENV==="production"?dr.exports=En():dr.exports=bn();var Sn=dr.exports,tt=Sn,Rn={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nt={};nt[tt.ForwardRef]=Rn;nt[tt.Memo]=Cn;var wn=!0;function xn(e,r,n){var a="";return n.split(" ").forEach(function(o){e[o]!==void 0?r.push(e[o]+";"):o&&(a+=o+" ")}),a}var at=function(r,n,a){var o=r.key+"-"+n.name;(a===!1||wn===!1)&&r.registered[o]===void 0&&(r.registered[o]=n.styles)},_n=function(r,n,a){at(r,n,a);var o=r.key+"-"+n.name;if(r.inserted[n.name]===void 0){var i=n;do r.insert(n===i?"."+o:"",i,r.sheet,!0),i=i.next;while(i!==void 0)}};function Tn(e){for(var r=0,n,a=0,o=e.length;o>=4;++a,o-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(n&65535)*1540483477+((n>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(a+2)&255)<<16;case 2:r^=(e.charCodeAt(a+1)&255)<<8;case 1:r^=e.charCodeAt(a)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var On={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Pn=/[A-Z]|^ms/g,kn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ot=function(r){return r.charCodeAt(1)===45},qr=function(r){return r!=null&&typeof r!="boolean"},sr=fn(function(e){return ot(e)?e:e.replace(Pn,"-$&").toLowerCase()}),Ur=function(r,n){switch(r){case"animation":case"animationName":if(typeof n=="string")return n.replace(kn,function(a,o,i){return ae={name:o,styles:i,next:ae},o})}return On[r]!==1&&!ot(r)&&typeof n=="number"&&n!==0?n+"px":n};function $e(e,r,n){if(n==null)return"";var a=n;if(a.__emotion_styles!==void 0)return a;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return ae={name:o.name,styles:o.styles,next:ae},o.name;var i=n;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)ae={name:c.name,styles:c.styles,next:ae},c=c.next;var s=i.styles+";";return s}return $n(e,r,n)}case"function":{if(e!==void 0){var d=ae,p=n(e);return ae=d,$e(e,r,p)}break}}var f=n;return f}function $n(e,r,n){var a="";if(Array.isArray(n))for(var o=0;o<n.length;o++)a+=$e(e,r,n[o])+";";else for(var i in n){var c=n[i];if(typeof c!="object"){var s=c;qr(s)&&(a+=sr(i)+":"+Ur(i,s)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&r==null)for(var d=0;d<c.length;d++)qr(c[d])&&(a+=sr(i)+":"+Ur(i,c[d])+";");else{var p=$e(e,r,c);switch(i){case"animation":case"animationName":{a+=sr(i)+":"+p+";";break}default:a+=i+"{"+p+"}"}}}return a}var Gr=/label:\s*([^\s;{]+)\s*(;|$)/g,ae;function Mn(e,r,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,o="";ae=void 0;var i=e[0];if(i==null||i.raw===void 0)a=!1,o+=$e(n,r,i);else{var c=i;o+=c[0]}for(var s=1;s<e.length;s++)if(o+=$e(n,r,e[s]),a){var d=i;o+=d[s]}Gr.lastIndex=0;for(var p="",f;(f=Gr.exec(o))!==null;)p+="-"+f[1];var m=Tn(o)+p;return{name:m,styles:o,next:ae}}var An=function(r){return r()},In=ce.useInsertionEffect?ce.useInsertionEffect:!1,jn=In||An,it=ce.createContext(typeof HTMLElement<"u"?yn({key:"css"}):null);it.Provider;var Fn=function(r){return C.forwardRef(function(n,a){var o=C.useContext(it);return r(n,o,a)})},Nn=ce.createContext({}),Er={}.hasOwnProperty,hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ln=function(r,n){var a={};for(var o in n)Er.call(n,o)&&(a[o]=n[o]);return a[hr]=r,a},Dn=function(r){var n=r.cache,a=r.serialized,o=r.isStringTag;return at(n,a,o),jn(function(){return _n(n,a,o)}),null},Yn=Fn(function(e,r,n){var a=e.css;typeof a=="string"&&r.registered[a]!==void 0&&(a=r.registered[a]);var o=e[hr],i=[a],c="";typeof e.className=="string"?c=xn(r.registered,i,e.className):e.className!=null&&(c=e.className+" ");var s=Mn(i,void 0,ce.useContext(Nn));c+=r.key+"-"+s.name;var d={};for(var p in e)Er.call(e,p)&&p!=="css"&&p!==hr&&(d[p]=e[p]);return d.className=c,n&&(d.ref=n),ce.createElement(ce.Fragment,null,ce.createElement(Dn,{cache:r,serialized:s,isStringTag:typeof o=="string"}),ce.createElement(o,d))}),Wn=Yn,Xe=function(r,n,a){return Er.call(n,"css")?Nr.jsx(Wn,Ln(r,n),a):Nr.jsx(r,n,a)};function st(e){switch(e.toLowerCase()){case"sql":return zr.sql();case"json":return Br.json();default:return[]}}function ct(e){return["sql","json"].includes(e.toLowerCase())}function ut(e={}){return Lt.autocompletion(e)}function Vn(e){return[Ge.lintGutter(),Ge.linter(e)]}function ft(){return J.keymap.of([cr.indentWithTab])}const qn=[ft(),ut()],pr=J.EditorView.theme({"&":{backgroundColor:"#ffffff",color:"#333333"},".cm-gutters":{backgroundColor:"#f5f5f5",color:"#999999",border:"none"},".cm-activeLine":{backgroundColor:"rgba(0, 0, 0, 0.05)"},".cm-activeLineGutter":{backgroundColor:"rgba(0, 0, 0, 0.05)"},".cm-selectionMatch":{backgroundColor:"rgba(0, 0, 0, 0.05)"},"&.cm-focused .cm-cursor":{borderLeftColor:"#333333"},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"rgba(0, 0, 255, 0.1)"}}),lt=J.EditorView.theme({"&":{backgroundColor:"#1e1e1e",color:"#d4d4d4"},".cm-gutters":{backgroundColor:"#1e1e1e",color:"#8a8a8a",border:"none"},".cm-activeLine":{backgroundColor:"rgba(255, 255, 255, 0.07)"},".cm-activeLineGutter":{backgroundColor:"rgba(255, 255, 255, 0.07)"},".cm-selectionMatch":{backgroundColor:"rgba(255, 255, 255, 0.07)"},"&.cm-focused .cm-cursor":{borderLeftColor:"#d4d4d4"},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"rgba(255, 255, 255, 0.1)"}});function dt(e){switch(e){case"light":return pr;case"dark":return lt;default:return pr}}const vr=e=>{const r={value:"",readOnlyRanges:[]};let n=0;return e.forEach(a=>{const{content:o,editable:i}=a,c=o.replace(/\r\n/g,`
|
|
45
|
-
`),s=n,
|
|
46
|
-
`},selection:{anchor:o+1}}),!0)}}]),
|
|
47
|
-
`&&o===i)){for(const
|
|
44
|
+
*/var qr;function Sn(){return qr||(qr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,f=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,P=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function _(v){return typeof v=="string"||typeof v=="function"||v===a||v===p||v===i||v===o||v===d||v===P||typeof v=="object"&&v!==null&&(v.$$typeof===x||v.$$typeof===w||v.$$typeof===f||v.$$typeof===s||v.$$typeof===g||v.$$typeof===y||v.$$typeof===S||v.$$typeof===b||v.$$typeof===R)}function L(v){if(typeof v=="object"&&v!==null){var Te=v.$$typeof;switch(Te){case r:var pe=v.type;switch(pe){case u:case p:case a:case i:case o:case d:return pe;default:var le=pe&&pe.$$typeof;switch(le){case s:case g:case x:case w:case f:return le;default:return Te}}case n:return Te}}}var l=u,z=p,A=s,Se=f,m=r,T=g,M=a,$=x,W=w,q=n,X=i,se=o,Fe=d,Re=!1;function je(v){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ce(v)||L(v)===u}function Ce(v){return L(v)===p}function De(v){return L(v)===s}function Le(v){return L(v)===f}function We(v){return typeof v=="object"&&v!==null&&v.$$typeof===r}function Qe(v){return L(v)===g}function er(v){return L(v)===a}function xe(v){return L(v)===x}function we(v){return L(v)===w}function he(v){return L(v)===n}function _e(v){return L(v)===i}function ge(v){return L(v)===o}function rr(v){return L(v)===d}D.AsyncMode=l,D.ConcurrentMode=z,D.ContextConsumer=A,D.ContextProvider=Se,D.Element=m,D.ForwardRef=T,D.Fragment=M,D.Lazy=$,D.Memo=W,D.Portal=q,D.Profiler=X,D.StrictMode=se,D.Suspense=Fe,D.isAsyncMode=je,D.isConcurrentMode=Ce,D.isContextConsumer=De,D.isContextProvider=Le,D.isElement=We,D.isForwardRef=Qe,D.isFragment=er,D.isLazy=xe,D.isMemo=we,D.isPortal=he,D.isProfiler=_e,D.isStrictMode=ge,D.isSuspense=rr,D.isValidElementType=_,D.typeOf=L}()),D}process.env.NODE_ENV==="production"?dr.exports=En():dr.exports=Sn();var Rn=dr.exports,nt=Rn,Cn={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xn={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},at={};at[nt.ForwardRef]=Cn;at[nt.Memo]=xn;var wn=!0;function _n(e,r,n){var a="";return n.split(" ").forEach(function(o){e[o]!==void 0?r.push(e[o]+";"):o&&(a+=o+" ")}),a}var ot=function(r,n,a){var o=r.key+"-"+n.name;(a===!1||wn===!1)&&r.registered[o]===void 0&&(r.registered[o]=n.styles)},Tn=function(r,n,a){ot(r,n,a);var o=r.key+"-"+n.name;if(r.inserted[n.name]===void 0){var i=n;do r.insert(n===i?"."+o:"",i,r.sheet,!0),i=i.next;while(i!==void 0)}};function On(e){for(var r=0,n,a=0,o=e.length;o>=4;++a,o-=4)n=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,r=(n&65535)*1540483477+((n>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(a+2)&255)<<16;case 2:r^=(e.charCodeAt(a+1)&255)<<8;case 1:r^=e.charCodeAt(a)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var Pn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},kn=/[A-Z]|^ms/g,$n=/_EMO_([^_]+?)_([^]*?)_EMO_/g,it=function(r){return r.charCodeAt(1)===45},Ur=function(r){return r!=null&&typeof r!="boolean"},sr=ln(function(e){return it(e)?e:e.replace(kn,"-$&").toLowerCase()}),zr=function(r,n){switch(r){case"animation":case"animationName":if(typeof n=="string")return n.replace($n,function(a,o,i){return oe={name:o,styles:i,next:oe},o})}return Pn[r]!==1&&!it(r)&&typeof n=="number"&&n!==0?n+"px":n};function Ne(e,r,n){if(n==null)return"";var a=n;if(a.__emotion_styles!==void 0)return a;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return oe={name:o.name,styles:o.styles,next:oe},o.name;var i=n;if(i.styles!==void 0){var f=i.next;if(f!==void 0)for(;f!==void 0;)oe={name:f.name,styles:f.styles,next:oe},f=f.next;var s=i.styles+";";return s}return Mn(e,r,n)}case"function":{if(e!==void 0){var u=oe,p=n(e);return oe=u,Ne(e,r,p)}break}}var g=n;return g}function Mn(e,r,n){var a="";if(Array.isArray(n))for(var o=0;o<n.length;o++)a+=Ne(e,r,n[o])+";";else for(var i in n){var f=n[i];if(typeof f!="object"){var s=f;Ur(s)&&(a+=sr(i)+":"+zr(i,s)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&r==null)for(var u=0;u<f.length;u++)Ur(f[u])&&(a+=sr(i)+":"+zr(i,f[u])+";");else{var p=Ne(e,r,f);switch(i){case"animation":case"animationName":{a+=sr(i)+":"+p+";";break}default:a+=i+"{"+p+"}"}}}return a}var Gr=/label:\s*([^\s;{]+)\s*(;|$)/g,oe;function An(e,r,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,o="";oe=void 0;var i=e[0];if(i==null||i.raw===void 0)a=!1,o+=Ne(n,r,i);else{var f=i;o+=f[0]}for(var s=1;s<e.length;s++)if(o+=Ne(n,r,e[s]),a){var u=i;o+=u[s]}Gr.lastIndex=0;for(var p="",g;(g=Gr.exec(o))!==null;)p+="-"+g[1];var d=On(o)+p;return{name:d,styles:o,next:oe}}var Nn=function(r){return r()},In=ue.useInsertionEffect?ue.useInsertionEffect:!1,Fn=In||Nn,st=ue.createContext(typeof HTMLElement<"u"?bn({key:"css"}):null);st.Provider;var jn=function(r){return C.forwardRef(function(n,a){var o=C.useContext(st);return r(n,o,a)})},Dn=ue.createContext({}),br={}.hasOwnProperty,hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ln=function(r,n){var a={};for(var o in n)br.call(n,o)&&(a[o]=n[o]);return a[hr]=r,a},Wn=function(r){var n=r.cache,a=r.serialized,o=r.isStringTag;return ot(n,a,o),Fn(function(){return Tn(n,a,o)}),null},Vn=jn(function(e,r,n){var a=e.css;typeof a=="string"&&r.registered[a]!==void 0&&(a=r.registered[a]);var o=e[hr],i=[a],f="";typeof e.className=="string"?f=_n(r.registered,i,e.className):e.className!=null&&(f=e.className+" ");var s=An(i,void 0,ue.useContext(Dn));f+=r.key+"-"+s.name;var u={};for(var p in e)br.call(e,p)&&p!=="css"&&p!==hr&&(u[p]=e[p]);return u.className=f,n&&(u.ref=n),ue.createElement(ue.Fragment,null,ue.createElement(Wn,{cache:r,serialized:s,isStringTag:typeof o=="string"}),ue.createElement(o,u))}),Yn=Vn,Xe=function(r,n,a){return br.call(n,"css")?Dr.jsx(Yn,Ln(r,n),a):Dr.jsx(r,n,a)};function ct(e){switch(e.toLowerCase()){case"sql":return Hr.sql();case"json":return Br.json();default:return[]}}function ut(e){return["sql","json"].includes(e.toLowerCase())}function ft(e={}){return Lt.autocompletion(e)}function qn(e){return[Ir.lintGutter(),Ir.linter(e)]}function lt(){return U.keymap.of([cr.indentWithTab])}const Un=[lt(),ft()],zn=fe.HighlightStyle.define([{tag:V.tags.keyword,color:"#1a1aa6",fontWeight:"bold"},{tag:V.tags.comment,color:"#008000",fontStyle:"italic"},{tag:V.tags.string,color:"#a31515"},{tag:V.tags.number,color:"#098658"},{tag:V.tags.operator,color:"#777777"},{tag:V.tags.propertyName,color:"#0451a5"},{tag:V.tags.variableName,color:"#001080"},{tag:V.tags.definition(V.tags.variableName),color:"#1a1aa6"},{tag:V.tags.typeName,color:"#267f99"},{tag:V.tags.className,color:"#267f99"},{tag:V.tags.meta,color:"#5c5c5c"},{tag:V.tags.regexp,color:"#811f3f"},{tag:V.tags.link,color:"#0563c1",textDecoration:"underline"}]),gr=[U.EditorView.theme({"&":{backgroundColor:"#ffffff",color:"#333333",fontSize:"14px",height:"100%"},".cm-scroller":{fontFamily:'"Menlo", "Monaco", "Courier New", monospace',overflow:"auto"},".cm-content":{padding:"8px 0",caretColor:"#333",textAlign:"left"},".cm-gutters":{backgroundColor:"#f8f9fa",color:"#6e7781",borderRight:"1px solid #ddd"},".cm-lineNumbers":{minWidth:"40px"},".cm-lineNumbers .cm-gutterElement":{padding:"0 8px 0 4px",textAlign:"right",fontSize:"12px"},".cm-activeLine":{backgroundColor:"rgba(0, 0, 0, 0.04)"},".cm-activeLineGutter":{backgroundColor:"rgba(0, 0, 0, 0.04)"},".cm-selectionMatch":{backgroundColor:"rgba(181, 213, 255, 0.3)"},"&.cm-focused .cm-cursor":{borderLeftColor:"#333333"},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"rgba(181, 213, 255, 0.5)"}}),fe.syntaxHighlighting(zn)],Gn=fe.HighlightStyle.define([{tag:V.tags.keyword,color:"#569cd6",fontWeight:"bold"},{tag:V.tags.comment,color:"#6A9955",fontStyle:"italic"},{tag:V.tags.string,color:"#ce9178"},{tag:V.tags.number,color:"#b5cea8"},{tag:V.tags.operator,color:"#d4d4d4"},{tag:V.tags.propertyName,color:"#9cdcfe"},{tag:V.tags.variableName,color:"#9cdcfe"},{tag:V.tags.definition(V.tags.variableName),color:"#4fc1ff"},{tag:V.tags.typeName,color:"#4ec9b0"},{tag:V.tags.className,color:"#4ec9b0"},{tag:V.tags.meta,color:"#d4d4d4"},{tag:V.tags.regexp,color:"#d16969"},{tag:V.tags.link,color:"#4e94ce",textDecoration:"underline"}]),dt=[U.EditorView.theme({"&":{backgroundColor:"#1e1e1e",color:"#d4d4d4",fontSize:"14px",height:"100%"},".cm-scroller":{fontFamily:'"Menlo", "Monaco", "Courier New", monospace',overflow:"auto"},".cm-content":{padding:"8px 0",caretColor:"#d4d4d4",textAlign:"left"},".cm-gutters":{backgroundColor:"#252526",color:"#858585",borderRight:"1px solid #404040"},".cm-lineNumbers":{minWidth:"40px"},".cm-lineNumbers .cm-gutterElement":{padding:"0 8px 0 4px",textAlign:"right",fontSize:"12px"},".cm-activeLine":{backgroundColor:"rgba(255, 255, 255, 0.07)"},".cm-activeLineGutter":{backgroundColor:"rgba(255, 255, 255, 0.07)"},".cm-selectionMatch":{backgroundColor:"rgba(255, 255, 255, 0.1)"},"&.cm-focused .cm-cursor":{borderLeftColor:"#d4d4d4"},"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:"rgba(255, 255, 255, 0.1)"}}),fe.syntaxHighlighting(Gn)];function ht(e){switch(e){case"light":return gr;case"dark":return dt;default:return gr}}const pr=e=>{const r={value:"",readOnlyRanges:[]};let n=0;return e.forEach(a=>{const{content:o,editable:i}=a,f=o.replace(/\r\n/g,`
|
|
45
|
+
`),s=n,u=s+f.length;r.value+=o,i||r.readOnlyRanges.push({start:s,end:u}),n=u}),r},Je=ne.StateEffect.define(),Jr=ne.StateField.define({create(){return U.Decoration.none},update(e,r){e=e.map(r.changes);for(const n of r.effects)if(n.is(Je))return console.log(2939),gt(n.value);return r.docChanged,e},provide(e){return U.EditorView.decorations.from(e)}});function gt(e){const r=[];return console.log(e,9999299),e.forEach(n=>{n.start<n.end&&r.push(U.Decoration.mark({inclusive:!0,attributes:{class:"cm-readOnly",style:"background-color: rgba(0, 0, 0, 0.05);"},priority:-100}).range(n.start,n.end))}),U.Decoration.set(r)}const Er=new WeakMap;function pt(e){let r=e.map(n=>({...n}));return[Jr.init(()=>gt(r)),U.keymap.of([{key:"Enter",run:n=>{const a=n.state.selection.main,{from:o,to:i}=a;if(o!==i){for(const s of r)if(o<s.end&&i>s.start)return!1}let f=!1;for(const s of r)if(o>s.start&&o<s.end){f=!0;break}return f?!1:(n.dispatch({changes:{from:o,to:i,insert:`
|
|
46
|
+
`},selection:{anchor:o+1}}),!0)}}]),ne.EditorState.transactionFilter.of(n=>{if(!n.docChanged||n.isUserEvent("input.type.Enter")||n.isUserEvent("input.enter"))return n;let a=!1;return n.changes.iterChanges((o,i,f,s)=>{if(!(n.newDoc.sliceString(f,s)===`
|
|
47
|
+
`&&o===i)){for(const g of r)if(o===i){if(o>g.start&&o<g.end){a=!0;break}}else if(o<g.end&&i>g.start||o===g.start&&i>o||i===g.end&&o<i){a=!0;break}}}),a?[]:n}),U.EditorView.updateListener.of(n=>{if(n.docChanged){const a=Hn(r,n);!Jn(r,a)?(r=a,Er.set(n.view,a),n.view.dispatch({effects:Je.of(a)})):n.view.dispatch({effects:Je.of(a)})}}),U.EditorView.updateListener.of(n=>{n.docChanged&&setTimeout(()=>{n.view.state.field(Jr,!1)&&n.view.dispatch({})},10)})]}function Jn(e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(e[n].start!==r[n].start||e[n].end!==r[n].end)return!1;return!0}function Hn(e,r){var o;if(!r.docChanged)return e;let n=!1;const a=e.map(i=>{const f={...i};return r.changes.iterChanges((s,u,p,g)=>{const d=g-p,P=u-s,w=d-P;if(s===0&&(n=!0),s===0&&d>0&&i.start===0){f.start=d,f.end+=w;return}if(u<=i.start)f.start+=w,f.end+=w;else if(s>=i.start&&s<i.end&&u>=i.end)f.end=s;else if(!(s>=i.start&&u<=i.end)){if(s<i.end&&u>i.end){const x=i.end-s;f.end=s+Math.min(x,d)}}}),f});if(n&&a.length>0){const i=((o=r.changes.newDoc)==null?void 0:o.toString())||"";let f=0;for(let s=0;s<i.length&&/\s/.test(i[s]);s++)f++;a[0].start===0&&f>0&&(a[0].start=f)}return a.filter(i=>i.start<i.end)}function mt(e){return Er.get(e)||[]}function ce(e,r){const n=r.map(a=>({...a}));Er.set(e,n),e.dispatch({effects:Je.of(n)}),setTimeout(()=>{e.dom&&document.contains(e.dom)&&e.dispatch({})},10)}const Ze=({value:e,onChange:r,extensions:n=[],height:a="300px",disabled:o=!1,className:i="",style:f={},placeholder:s="",showLineNumbers:u=!0,onEditorViewCreated:p})=>{const g=C.useRef(null),d=C.useRef();return C.useEffect(()=>{if(!g.current)return;const P=[U.keymap.of([cr.indentWithTab]),U.EditorView.lineWrapping,fe.syntaxHighlighting(fe.defaultHighlightStyle),ne.EditorState.allowMultipleSelections.of(!0),s?U.placeholder(s):[],u?U.lineNumbers():[],U.EditorView.updateListener.of(R=>{if(R.docChanged&&r){const y={value:R.state.doc.toString(),readOnlyRanges:[]};r(y)}})];o&&P.push(ne.EditorState.readOnly.of(!0));const w=ne.EditorState.create({doc:e,extensions:[...P,...n]}),x=new U.EditorView({state:w,parent:g.current});return d.current=x,p&&p(x),()=>{var R;(R=d.current)==null||R.destroy()}},[]),C.useEffect(()=>{d.current&&e!==d.current.state.doc.toString()&&d.current.dispatch({changes:{from:0,to:d.current.state.doc.length,insert:e}})},[e]),C.useEffect(()=>{if(!d.current||!g.current)return;const P=d.current.state.doc.toString();d.current.destroy();const w=[U.keymap.of([cr.indentWithTab]),U.EditorView.lineWrapping,fe.syntaxHighlighting(fe.defaultHighlightStyle),ne.EditorState.allowMultipleSelections.of(!0),s?U.placeholder(s):[],u?U.lineNumbers():[],U.EditorView.updateListener.of(y=>{if(y.docChanged&&r){const S={value:y.state.doc.toString(),readOnlyRanges:[]};r(S)}})];o&&w.push(ne.EditorState.readOnly.of(!0));const x=ne.EditorState.create({doc:P,extensions:[...w,...n]}),R=new U.EditorView({state:x,parent:g.current});d.current=R,p&&p(R)},[o,u]),Xe("div",{ref:g,className:`senyao-editor ${o?"disabled":""} ${i}`,style:{height:a,...f}})},Bn=({value:e,onChange:r,language:n="json",extensions:a=[],theme:o="light",showLineNumbers:i=!0,...f})=>{const s=C.useMemo(()=>{const u=ut(n)?ct(n):[],p=ht(o);return[u,p,...a]},[n,a,o]);return Xe(Ze,{value:e,onChange:r,extensions:s,showLineNumbers:i,...f})},Kn=({value:e,onChange:r,extensions:n=[],readOnlyRanges:a=[],manageReadOnlyRanges:o=!0,showLineNumbers:i=!0,...f})=>{const s=C.useRef(null),[u,p]=C.useState(a),g=C.useRef(e),[d,P]=C.useState(null),w=C.useRef(!1),x=C.useRef(new Map),R=C.useRef(!1);C.useEffect(()=>{if(o&&a.length>0&&!d){const m=[];let T=0;for(let M=0;M<a.length;M++){const $=a[M];$.start>T&&m.push({content:e.substring(T,$.start),editable:!0}),m.push({content:e.substring($.start,$.end),editable:!1}),T=$.end}T<e.length&&m.push({content:e.substring(T),editable:!0}),P(m)}},[o,a,e,d]),C.useEffect(()=>{if(e){const m=["SELECT","FROM","WHERE","GROUP","ORDER","HAVING","JOIN"],T=new Map;m.forEach(M=>{const $=e.indexOf(M);$>=0&&T.set(M,$)}),x.current=T}},[]);const y=C.useMemo(()=>{const m=[Hr.sql()];return u.length>0&&m.push(pt(u)),[...m,...n]},[n,u]),S=C.useCallback((m,T,M=0)=>{const $=m.indexOf(T,M);return $>=0?$:null},[]),b=C.useCallback((m,T)=>{if(!o||!m||m.length===0)return m;const M=[...m];let $=0;for(let q=0;q<m.length;q++){const X=m[q];if(!X.editable){const se=S(T,X.content,$);se!==null&&(q>0&&m[q-1].editable&&se>$&&(M[q-1]={...M[q-1],content:T.substring($,se)}),$=se+X.content.length)}}const W=m[m.length-1];return W.editable&&$<T.length&&(M[m.length-1]={...W,content:T.substring($)}),M},[o,S]),_=C.useCallback(m=>{let T=!1;return x.current.forEach((M,$)=>{const W=m.indexOf($);W>=0&&Math.abs(W-M)>0&&(x.current.set($,W),W>M&&(M===0||M<15)&&(T=!0))}),T},[]),L=C.useCallback(()=>{if(!s.current)return;const m=s.current,T=m.state.doc.toString(),M=["SELECT","FROM","WHERE","GROUP","ORDER","HAVING","JOIN"],$=m.state.selection;let W=!1;for(const q of M){const X=T.indexOf(q);if(X>=0){m.dispatch({selection:{anchor:X,head:X+q.length},scrollIntoView:!1}),W=!0;break}}W&&setTimeout(()=>{m.dom&&document.contains(m.dom)&&m.dispatch({selection:$,scrollIntoView:!1})},10)},[]),l=C.useCallback(()=>{if(!s.current)return;const m=s.current;u.length>0&&(ce(m,[]),setTimeout(()=>{m.dom&&document.contains(m.dom)&&(ce(m,u),setTimeout(()=>{m.dom&&document.contains(m.dom)&&m.dispatch({})},10))},10))},[u]),z=C.useCallback(m=>{const T=m.value,M=g.current;M!==T&&T.length>M.length&&!M.startsWith(T.substring(0,5))&&T.includes(M.substring(0,10))&&(w.current=!0,_(T)&&setTimeout(()=>{L()},10)),g.current=T;const $=s.current?mt(s.current):u;if(o&&d){const W=b(d,T);P(W);const{readOnlyRanges:q}=pr(W);p(q),s.current&&ce(s.current,q),r&&r({value:T,readOnlyRanges:q})}else r&&r({value:T,readOnlyRanges:$})},[r,o,d,u,b,_,L]);C.useEffect(()=>{!o&&JSON.stringify(a)!==JSON.stringify(u)&&(p(a),s.current&&ce(s.current,a))},[a,u,o]),C.useEffect(()=>{if(o&&d){const{readOnlyRanges:m}=pr(d);JSON.stringify(m)!==JSON.stringify(u)&&(p(m),s.current&&ce(s.current,m))}},[d,u,o]),C.useEffect(()=>{s.current&&w.current&&(w.current=!1,s.current.dispatch({}))},[e]),C.useEffect(()=>{s.current&&u.length>0&&!R.current&&(R.current=!0,setTimeout(()=>{l()},50),setTimeout(()=>{l()},200))},[l,u]);const A=C.useCallback(m=>{if(s.current=m,u.length>0&&(ce(m,u),setTimeout(()=>{ce(m,[]),setTimeout(()=>{ce(m,u)},10)},50)),e){const T=["SELECT","FROM","WHERE","GROUP","ORDER","HAVING","JOIN"],M=new Map;T.forEach($=>{const W=e.indexOf($);W>=0&&M.set($,W)}),x.current=M}},[u,e]),Se=C.useCallback(m=>{z(m),s.current&&setTimeout(()=>{s.current&&s.current.dispatch({})},0)},[z]);return Xe(Ze,{value:e,onChange:Se,extensions:y,onEditorViewCreated:A,showLineNumbers:i,...f})};function Xn(e){const{value:r,onChange:n,extensions:a=[],showLineNumbers:o=!0,enableFormatting:i=!1,...f}=e,s=C.useRef(!0),u=C.useRef(null),p=C.useCallback(y=>{try{return y===""||JSON.parse(y),!0}catch{return!1}},[]),g=C.useCallback(y=>{try{if(!y.trim())return"";const S=JSON.parse(y);return JSON.stringify(S,null,2)}catch{return y}},[]),d=C.useCallback(()=>{if(!u.current)return!1;const y=u.current,S=y.state.doc.toString(),b=g(S);if(b===S)return!1;const _=y.state.update({changes:{from:0,to:y.state.doc.length,insert:b}});return y.dispatch(_),!0},[g]),P=C.useMemo(()=>U.keymap.of([{key:"Enter",run:y=>{const S=y.state.selection.main,{from:b,to:_}=S,L=y.state.doc.lineAt(b);if(b===_&&b===L.to){const l=y.state.update({changes:{from:b,to:_,insert:`
|
|
48
|
+
`},selection:{anchor:b+1}});return y.dispatch(l),!0}return!1}},{key:"Alt-f",mac:"Mod-Alt-f",run:()=>d()}]),[d]),w=C.useCallback(y=>{if(n){const S=p(y.value);s.current=S,n(y)}},[n,p]),x=C.useMemo(()=>[Br.json(),ne.Prec.highest(P),...a],[P,a]),R=C.useCallback(y=>{u.current=y,i&&r&&setTimeout(()=>{d()},0)},[i,r,d]);return Xe(Ze,{value:r,showLineNumbers:o,onChange:w,extensions:x,onEditorViewCreated:R,...f})}exports.Editor=Bn;exports.GenericEditor=Ze;exports.JSONEditor=Xn;exports.SQLEditor=Kn;exports.blocksToEditorData=pr;exports.commonExtensions=Un;exports.createAutocompletionExtension=ft;exports.createKeymapExtension=lt;exports.createLintExtension=qn;exports.darkTheme=dt;exports.getCurrentReadOnlyRanges=mt;exports.getLanguageExtension=ct;exports.getThemeExtension=ht;exports.isSupportedLanguage=ut;exports.lightTheme=gr;exports.readOnlyRanges=pt;exports.updateReadOnlyRanges=ce;
|